text stringlengths 2 1.04M | meta dict |
|---|---|
package haproxy
import (
"log"
"os"
"os/exec"
"strconv"
"sync"
"time"
)
type Event int
type Action int
// Events that can be fired from the event channel
const (
HasStarted Event = 1 << iota
HasStopped
HasReloaded
)
// Actions that can be received from the action channel
const (
WantsReload Action = 1 << ... | {
"content_hash": "e62093701a81ad26c79707c0a538898a",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 75,
"avg_line_length": 19.948529411764707,
"alnum_prop": 0.6752672318466643,
"repo_name": "stevencorona/elastic-haproxy",
"id": "19046ff55f2636fbe4d6120087d53f55932085be",
... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.net;
import android.content.Context;
import android.os.Build;
import android.os.ConditionVariable;
import android.os.Handler;
import... | {
"content_hash": "5240e35242142262bdb34dcb40d4558d",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 89,
"avg_line_length": 34.10798122065728,
"alnum_prop": 0.64280798348245,
"repo_name": "sgraham/nope",
"id": "e03568c020fa499b6132a81affc3df342184296b",
"size": "7265",
... |
import inspect
import six
import collections
__all__ = [
'is_simple_callable',
'is_iterable',
'force_str',
'get_object_by_source',
'filter_list',
]
def is_simple_callable(obj):
'''
True if the object is a callable and takes no arguments, else False.
'''
function = inspect.isfunct... | {
"content_hash": "9aaee13289e4db6cf8d65554dace189b",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 72,
"avg_line_length": 26.202380952380953,
"alnum_prop": 0.5856428895956384,
"repo_name": "localmed/pyserializer",
"id": "6149cc497f644e7a859391eab1a47820377017be",
"size":... |
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
/* line 9, ../sass/normalize.scss */
html {
font-family: sans-serif;
/* 1 */
-ms-text-size-adjust: 100%;... | {
"content_hash": "5d344de6955d8233eaed95015774f012",
"timestamp": "",
"source": "github",
"line_count": 435,
"max_line_length": 90,
"avg_line_length": 21.406896551724138,
"alnum_prop": 0.6083548109965635,
"repo_name": "Ely-S/ODEtoJS",
"id": "f33d5186683361134175ea274acb58c56d4447e0",
"size": "9312"... |
using Moq;
using Peasy.Synchronous;
using Shouldly;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Peasy.Extensions;
using System;
namespace Peasy.Core.Tests.Extensions
{
public class ICommandExtensions
{
[Fact]
public async Task ValidateAsync_Supports_ICommand()
{... | {
"content_hash": "81c0563ccc764c7fbee9189c269aa1d4",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 143,
"avg_line_length": 41.6123595505618,
"alnum_prop": 0.6465505602808155,
"repo_name": "ahanusa/Peasy.NET",
"id": "e1b0cc687f61f7f03bd3058b36cde0001a1e267e",
"size": "74... |
<?php
declare(strict_types=1);
namespace Sylius\Bundle\ApiBundle\Provider;
use Sylius\Bundle\ApiBundle\Context\UserContextInterface;
use Sylius\Component\Core\Model\AdminUserInterface;
use Sylius\Component\Core\Model\ShopUserInterface;
use Symfony\Component\Security\Core\User\UserInterface;
/** @experimental */
f... | {
"content_hash": "d9a4325bb2cf0ad72e8a45106452d879",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 106,
"avg_line_length": 25.649122807017545,
"alnum_prop": 0.6333789329685362,
"repo_name": "Sylius/Sylius",
"id": "3fd2e9d783d291a6d0f9690f2f9f5350e9b8fca6",
"size": "1673"... |
.. SPDX-License-Identifier: BSD-3-Clause
Copyright (c) 2021 NVIDIA Corporation & Affiliates
Overview of GPU Drivers
=======================
General-Purpose computing on Graphics Processing Unit (GPGPU)
is the use of GPU to perform parallel computation.
.. include:: overview_feature_table.txt
| {
"content_hash": "01ae0daf9c98e775b6154c6f188fd6cc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 61,
"avg_line_length": 29.9,
"alnum_prop": 0.7190635451505016,
"repo_name": "john-mcnamara-intel/dpdk",
"id": "48303488185549c2e02768a580bf3cd9bf62a7d8",
"size": "299",
"... |
#include "security_manager.h"
#include <string.h>
#include "security_dispatcher.h"
#include "peer_database.h"
#include "ble_conn_state.h"
#define MAX_REGISTRANTS 3 /**< The number of user that can register with the module. */
#define MODULE_INITIALIZED (m_sm.n_registrants >... | {
"content_hash": "5ea6baacac29648bd81912b9adbc91bf",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 141,
"avg_line_length": 32.07909604519774,
"alnum_prop": 0.5086297992250792,
"repo_name": "Jewelbots/nordic-flash-data-storage",
"id": "b12628e8863dfc7fa6688d27de45a886aa6ed... |
[](https://travis-ci.org/caolan/async)
Async is a utility module which provides straight-forward, powerful functions
for working with asynchronous JavaScript. Although originally designed for
use with [Node.js](http://nodejs.org) and i... | {
"content_hash": "5e0d37904275d65e9f062a9b6bda6da9",
"timestamp": "",
"source": "github",
"line_count": 1325,
"max_line_length": 314,
"avg_line_length": 32.82566037735849,
"alnum_prop": 0.6766450544902746,
"repo_name": "wenjoy/homePage",
"id": "b19a49ade5cbb9907710a1fea20faf076860a924",
"size": "43... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Class Echosign\Creators\Reminder | Echosign V3</title>
<link rel="stylesheet" href="resources/style.css?e99947befd7bf673c6b43ff75e9e0f170c88a60e">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</sp... | {
"content_hash": "da6b95a2daa1ef7dcbee33e7d8debd27",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 234,
"avg_line_length": 23.600591715976332,
"alnum_prop": 0.6268020559107433,
"repo_name": "nsbucky/echosignv3",
"id": "1400226a8e8d8387365bd7f6f32e1ece6d3de3f0",
"size": ... |
Got Scripts? Test’em!
=================
[](http://travis-ci.org/airportyh/testem)
Unit testing in Javascript can be tedious and painful, but Testem makes it so easy that you will actually *want* to write tests.
Features
--------
* Test-framewo... | {
"content_hash": "73efde22562fa88023fc0ae109c4dfe1",
"timestamp": "",
"source": "github",
"line_count": 504,
"max_line_length": 460,
"avg_line_length": 39.595238095238095,
"alnum_prop": 0.7144217278011625,
"repo_name": "wiredgms/contacts",
"id": "90f003dac28af82f8a56c4784d5a0618f5a2d502",
"size": "... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.easyrong.manage.db.dao.LogDAO">
<resultMap id="BaseResultMap"
type="com.easyrong.manage.db.model.Log">
<id column="id" property="id" jdbcType="... | {
"content_hash": "c315c37c0ccae42d721e8543dc6b6ab5",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 111,
"avg_line_length": 35.69230769230769,
"alnum_prop": 0.6267241379310344,
"repo_name": "wxiwei/manage",
"id": "68a5ffb07215401b3ccaaaca8710f4cc569a7983",
"size": "2320",... |
package org.wildfly.swarm.microprofile.jwtauth;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.A... | {
"content_hash": "9542f3de7987947d60a776a95201c1f7",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 111,
"avg_line_length": 48.34920634920635,
"alnum_prop": 0.7035456336178595,
"repo_name": "juangon/wildfly-swarm",
"id": "5e7e4e1cf1c57a0998ef60a2474f476d7737f9db",
"size":... |
id: bad87fee1348bd9aedc08826
title: Individuare elementi per classe usando jQuery
challengeType: 6
forumTopicId: 18316
required:
-
link: 'https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.2.0/animate.css'
dashedName: target-elements-by-class-using-jquery
---
# --description--
Vedi come abbiamo fatto rimbalz... | {
"content_hash": "2f3e412cde00ac50c0eb208a13297a06",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 189,
"avg_line_length": 31.357142857142858,
"alnum_prop": 0.655751708428246,
"repo_name": "FreeCodeCamp/FreeCodeCamp",
"id": "df72cb1da15d2f6aa5348030d273d57eadcdfc46",
"s... |
#pragma once
#ifndef GLSL_OPTIMIZER_H
#define GLSL_OPTIMIZER_H
/*
Main GLSL optimizer interface.
See ../../README.md for more instructions.
General usage:
ctx = glslopt_initialize();
for (lots of shaders) {
shader = glslopt_optimize (ctx, shaderType, shaderSource, options);
if (glslopt_get_status (shader)... | {
"content_hash": "3e9bde50a65df67a10e9a88417decd2c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 122,
"avg_line_length": 31.06153846153846,
"alnum_prop": 0.7449232293214463,
"repo_name": "kakashidinho/HQEngine",
"id": "6f95f4608b2cc7c2913a5352f3b5cfa8872c9243",
"size":... |
#include "ast.hpp"
#include "object.hpp"
#include <memory>
#include <map>
class Memory {
public:
std::shared_ptr<Double> get_value(std::string variable_name) {
return memory[variable_name];
}
void store_value(std::string variable_name, std::shared_ptr<Double> value) {
memory[va... | {
"content_hash": "f67c50a8413339b1adda2864dc900549",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 80,
"avg_line_length": 22.653846153846153,
"alnum_prop": 0.6383701188455009,
"repo_name": "helton-hcs/toy_language_cpp",
"id": "437d432b2bf8c2dff8485e6857c2cb1c0361fc1d",
"... |
package com.xpn.xwiki.plugin.lucene.textextraction;
/**
* A text extractor for a specific mime type.
*/
public interface MimetypeTextExtractor
{
public String getText(byte[] data) throws Exception;
}
| {
"content_hash": "518af8bcc98a228b21d370021503af3f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 56,
"avg_line_length": 20.8,
"alnum_prop": 0.75,
"repo_name": "i2geo/i2gCurriki",
"id": "31eff0dc1d14762b35d95ce08eb954972079265d",
"size": "919",
"binary": false,
"cop... |
#ifndef __Ogre_Volume_Chunk_H__
#define __Ogre_Volume_Chunk_H__
#include "OgreSimpleRenderable.h"
#include "OgreResourceGroupManager.h"
#include "OgreFrameListener.h"
#include "OgreEntity.h"
#include "OgreVolumePrerequisites.h"
namespace Ogre {
namespace Volume {
class Source;
class MeshBuilderCallback;
... | {
"content_hash": "da1550cef2314c279fb580792b7e48d7",
"timestamp": "",
"source": "github",
"line_count": 428,
"max_line_length": 248,
"avg_line_length": 36.27336448598131,
"alnum_prop": 0.607085346215781,
"repo_name": "MTASZTAKI/ApertusVR",
"id": "b9f57d07214629b182139516f74f24cd9e56fff1",
"size": "... |
__all__ = ['AutoARIMAProphet']
# %% ../../nbs/adapters.prophet.ipynb 3
import sys
from copy import deepcopy
import pandas as pd
from ..arima import AutoARIMA
if sys.version_info.minor != 6 or (sys.platform not in ["win32", "cygwin"]):
try:
from prophet import Prophet
except ModuleNotFoundError as e:
... | {
"content_hash": "d04682a31b8724ce9bff7d9ec31c45b1",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 204,
"avg_line_length": 35.7043795620438,
"alnum_prop": 0.5834611060002044,
"repo_name": "Nixtla/statsforecast",
"id": "ae4dea87d9a826a35a6a036d20bdf78a5eef505b",
"size": ... |
package org.apache.camel.component.jetty;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
public class HttpBridgeAsyncRouteTest extends HttpBridgeRouteTest {
@Override
protected RouteBuilder createRouteBuilder() {
return new RouteBui... | {
"content_hash": "81686cf224f7d1d856407bf0d1500029",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 117,
"avg_line_length": 38.46875,
"alnum_prop": 0.5857026807473599,
"repo_name": "cunningt/camel",
"id": "b0795e6808a0ba6c2d025cb521a5a40d2892f9f9",
"size": "2033",
"bina... |
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Linq.Expressions;
[module: SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "LinqKit")]
namespace LinqKit
{
/// <summary>
/// See http://www.albahari.com/expressions for... | {
"content_hash": "844577eda26e58b6d345590cfc0a512e",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 124,
"avg_line_length": 41.06666666666667,
"alnum_prop": 0.5844155844155844,
"repo_name": "giacomelli/AutoFilter",
"id": "c34c7f43398f63cbba886498b2647a238171d0bc",
"size":... |
package com.coolweather.app.activity;
import java.util.ArrayList;
import java.util.List;
import com.coolweather.app.db.CoolWeatherDB;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
import com.coolweather.app.model.Province;
import com.coolweather.app.util.HttpCallbackListener;
import ... | {
"content_hash": "cd0deaa071da5f0a69b4ac3e5be5dd7f",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 94,
"avg_line_length": 25.921487603305785,
"alnum_prop": 0.6947234178224135,
"repo_name": "PrinceChou/coolweather",
"id": "53f3f95d1583270ad72db0d8466f64eea69eedc9",
"size... |
"""Command-line sample app demonstrating customer-supplied encryption keys.
This sample demonstrates uploading an object while supplying an encryption key,
retrieving that object's contents, and finally rotating that key to a new
value.
This sample is used on this page:
https://cloud.google.com/storage/docs/json... | {
"content_hash": "adef7e04060042722780d2ebab118538",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 79,
"avg_line_length": 39.20979020979021,
"alnum_prop": 0.6873550918494739,
"repo_name": "GoogleCloudPlatform/python-docs-samples",
"id": "4ddd4e78ccaac44e0570fc942598c859d1... |
var express = require('express');
var querystring = require('querystring');
var http = require('http');
var util = require('util');
var env = process.env.NODE_ENV || 'development';
var config = require('../config');
var servers = {
java: config('java'),
cloud: config('cloud'),
php: config('php')
};
var request =... | {
"content_hash": "97ac80729f7c09a21148ed939f5262be",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 125,
"avg_line_length": 24.5207100591716,
"alnum_prop": 0.5675675675675675,
"repo_name": "justinyueh/express-react",
"id": "39c37bb035a6f0daf4fdf2a4f85247d5c582494b",
"siz... |
package pr.tongson.packutil.task;
import org.gradle.api.DefaultTask;
import org.gradle.api.tasks.TaskAction;
/**
* <b>Project:</b> ${file_name}<br>
* <b>Create Date:</b> 2017/2/22<br>
* <b>Author:</b> mmc_Kongming_Tongson<br>
* <b>Description:</b> <br>
*/
public class HelloGradleTask extends DefaultTask {
@... | {
"content_hash": "b48c5fcbab21699a64e1d871ce44e75d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 55,
"avg_line_length": 24.36842105263158,
"alnum_prop": 0.67170626349892,
"repo_name": "gepriniusce/TongsonPlay",
"id": "5bc06ceb457c9cc86c8b82ae476741b4900ccc6a",
"size": ... |
SUBDIR+= ipf ipfs ipfstat ipftest ipmon ipnat ippool ipresend
SUBDIR+= ipsend iptest
.include <bsd.subdir.mk>
| {
"content_hash": "b24099361a776f4d8fdcb97d5467db78",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 61,
"avg_line_length": 27.75,
"alnum_prop": 0.7837837837837838,
"repo_name": "execunix/vinos",
"id": "dc287d79a73be2ce4616e7382df414919185f515",
"size": "173",
"binary": f... |
<h1>This is where content will be projected</h1>
<ng-content select=".test-1"></ng-content>
<h1>Another projection</h1>
<ng-content select=".test-2"></ng-content> | {
"content_hash": "d9a833cf81ea7cf06a79b7ad434769ed",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 48,
"avg_line_length": 41.5,
"alnum_prop": 0.6987951807228916,
"repo_name": "shopOFF/TelerikAcademyCourses",
"id": "d03eb9e7e512cd7ae16ee32b60d7ec8c68015059",
"size": "166",... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "62bccae2cdeed4f9f54c6cfc0681a734",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "WangSongAA/WS_MVVM_RAC",
"id": "ac2aa6e3901a61d4737429780f8d2b7310f02a2d",
"size": "329",
"bin... |
package com.example.tests;
public class Sample {
public static void main(String[] args) {
String line = "name1929093184,header258853482,footer999643423";
System.out.println(line.split(",").length);
}
}
| {
"content_hash": "b4a4a001dc6250ffd67bc6715955dd11",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 20.9,
"alnum_prop": 0.7368421052631579,
"repo_name": "alisakhaliullina/JavaHomeWork",
"id": "f08a5cdce54c9aca469832d7159f73f0df439e83",
"size": "209"... |
.class Landroid/support/v4/content/q;
.super Ljava/util/concurrent/FutureTask;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/concurrent/FutureTask",
"<TResult;>;"
}
.end annotation
# instance fields
.field final synthetic a:Landroid/suppor... | {
"content_hash": "e9fbb13f928dc03921c7bd9150dae289",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 140,
"avg_line_length": 29.5625,
"alnum_prop": 0.6888653981677237,
"repo_name": "machinahub/MiBandDecompiled",
"id": "e890866f02227a50807cc5fb1ea89982a780ab81",
"size": "28... |
package com.yalin.fidoclient.net;
import com.android.volley.Request;
import com.android.volley.Response;
import com.yalin.fidoclient.net.response.BaseResponse;
import java.util.Map;
/**
* Created by 雅麟 on 2015/3/21.
*/
public class GetRequest<T extends BaseResponse> extends BaseRequest<T> {
public GetReque... | {
"content_hash": "47dd0e765ae37ea53d5345940cfecaaf",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 143,
"avg_line_length": 28.36,
"alnum_prop": 0.7404795486600846,
"repo_name": "jinkg/UAFClient",
"id": "7ffe4a186fea434f56400dacdc04df8c8563d2e4",
"size": "1304",
"binary... |
<?php
namespace Symfony\Component\Form;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
interface FormTypeInterface
{
/**
* Builds the form.
*
* This method is called for each type in the hierarchy starting from the
... | {
"content_hash": "1007df7ff957ca07b2615d85f5535480",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 95,
"avg_line_length": 36.13131313131313,
"alnum_prop": 0.6594911937377691,
"repo_name": "OndraM/symfony",
"id": "3c095ab2bb01e3858b8efc0fd5330b4de99e438a",
"size": "3806",... |
<?php
class Nexcessnet_Turpentine_Model_PageCache_Container_Notices
extends Enterprise_PageCache_Model_Container_Abstract {
/**
* Generate placeholder content before application was initialized and apply to page content if possible
*
* @param string $content
* @return boolean
*/
... | {
"content_hash": "139e8a9bfa209316036e798fff654a8a",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 108,
"avg_line_length": 23.137931034482758,
"alnum_prop": 0.6333830104321908,
"repo_name": "mikrotikAhmet/mbe-cpdev",
"id": "670aac48f3b8fd94e43d6ef82bd19878005af693",
"siz... |
package jsonconf
import (
"bytes"
"encoding/json"
"io/ioutil"
)
var (
dQuto = byte('"')
slash = byte('/')
backslash = byte('\\')
lineBreak = []byte{'\n'}
comment = []byte{slash, slash}
)
// ParseJSONFile parse config from file
func ParseJSONFile(filename string, v interface{}) error {
data, err :=... | {
"content_hash": "2d892977cf77a6ca21a2a9c9baab4a9d",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 81,
"avg_line_length": 18.50588235294118,
"alnum_prop": 0.6268277177368087,
"repo_name": "iyidan/http-proxy-amqp",
"id": "59011dd002a3076b77d7b3152123fdd28efd4125",
"size":... |
/*
Look into a directory, analyze source code files and returns a json object with code metrics and relations.
*/
"use strict";
var fs = require('fs')
var path = require('path')
var decomment = require('decomment');
var recursive = require('recursive-readdir')
var util = require('./util.js')
var xml2js = require('xml2j... | {
"content_hash": "2ef3f636f153f4d879be8f64189755dd",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 120,
"avg_line_length": 23.3574297188755,
"alnum_prop": 0.5895804676753783,
"repo_name": "ORC-RIS/cf-code-metrics",
"id": "6ebb1327bb3e941bbeef17977191239fc8a8c5e5",
"size... |
@echo off
rem Author: Andrey Dibrov (andry at inbox dot ru)
rem Description:
rem Script detects native Windows cmd.exe.
rem Returns 0 if it is, and 1 - if not.
if not defined COMSPEC exit /b 1
call :CHECK "%%COMSPEC%%"
exit /b
:CHECK
if not "%~nx1" == "cmd.exe" exit /b 2
exit /b 0
| {
"content_hash": "bb83e911f45d45c5f56a21f616ad3d78",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 51,
"avg_line_length": 19.3125,
"alnum_prop": 0.6375404530744336,
"repo_name": "andry81/contools",
"id": "ce0dd23b1e2f16e87eb6d5386240cb44a7918cdb",
"size": "309",
"binar... |
<!DOCTYPE html>
<html>
<head>
<title>Sing a Song of Sixpence | Nursery Rhymes and Traditional Poems | Traditional | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="ht... | {
"content_hash": "187315ba77fe9a8d6498e4a6a4be4f6a",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 584,
"avg_line_length": 47.15289256198347,
"alnum_prop": 0.5724301112961178,
"repo_name": "adrianosb/maprecude_team_adriano_barbosa_and_andre_matsuda",
"id": "9c434890ca2834... |
package com.google.cloud.datastore;
/**
* A full entity is a {@link BaseEntity} that holds all the properties associated with a
* Datastore entity (as opposed to {@link ProjectionEntity}).
*/
public class FullEntity<K extends IncompleteKey> extends BaseEntity<K> {
private static final long serialVersionUID = 4... | {
"content_hash": "6c62069d2051c925944d581f25a749eb",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 98,
"avg_line_length": 22.229508196721312,
"alnum_prop": 0.6703539823008849,
"repo_name": "aozarov/gcloud-java",
"id": "aa88a92d35547819ad403305b8bd360566a760e6",
"size": "... |
package org.openqa.selenium.grid.node.local;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableSet;
import org.junit.jupiter.api.Test;
import org.openqa.selenium.Capabilities;
import org.openqa.selenium.ImmutableCapabilities;
import org.openqa.selenium.WebDriverException;
import ... | {
"content_hash": "88994cab294c6f17a89462d6b700ee3a",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 134,
"avg_line_length": 37.65482233502538,
"alnum_prop": 0.7123213804259908,
"repo_name": "valfirst/selenium",
"id": "a7d31090a9426d8a410e5efd354deef743a68c5b",
"size": "8... |
package pl.project13.janbanery.util.predicates;
import com.google.common.base.Predicate;
import pl.project13.janbanery.resources.Task;
/**
* @author Konrad Malawski
*/
public class TaskByTitlePredicate implements Predicate<Task> {
private String taskTitle;
public TaskByTitlePredicate(String taskTitle) {
... | {
"content_hash": "c3d81546e5c95979e63c58a5e505a398",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 62,
"avg_line_length": 19.82608695652174,
"alnum_prop": 0.75,
"repo_name": "ktoso/janbanery",
"id": "49c3c677a0dbb2d621b3a9458a253a69f32560be",
"size": "1085",
"binary": ... |
<?php
?>
<?php echo ajax_modal_template(__('Edit Version'),get_partial('form', array('form' => $form))) ?>
| {
"content_hash": "3d64aa93693edcaa6f39a0bd531632e2",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 98,
"avg_line_length": 27.25,
"alnum_prop": 0.5963302752293578,
"repo_name": "arokia/oasis",
"id": "2bd1426718c09d043858dd4949601f9773c1dd7d",
"size": "973",
"binary": fal... |
from __future__ import absolute_import, division, print_function
def update_attributes(obj, dictionary, keys):
if not dictionary:
return
for key in keys:
if key not in dictionary:
continue
value = dictionary[key]
if getattr(obj, key) is not None and value is None... | {
"content_hash": "3f46eca852679cbc8bb5a56716c27b3f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 64,
"avg_line_length": 22.05,
"alnum_prop": 0.5963718820861678,
"repo_name": "fuzeman/trakt.py",
"id": "98be8ad35c9da8ef5fd9dc716ffdd5e3cf2aca8d",
"size": "441",
"binary"... |
#include <psych.h>
VALUE cPsychParser;
VALUE ePsychSyntaxError;
static ID id_read;
static ID id_empty;
static ID id_start_stream;
static ID id_end_stream;
static ID id_start_document;
static ID id_end_document;
static ID id_alias;
static ID id_scalar;
static ID id_start_sequence;
static ID id_end_sequence;
static ID ... | {
"content_hash": "5163f55b417b9e393e356948354c56a4",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 86,
"avg_line_length": 27.266862170087975,
"alnum_prop": 0.6457302645730264,
"repo_name": "nuclearsandwich/rubinius",
"id": "a69f2763bc98f4c5a8a977abaad5e66118fa2b8c",
"si... |
.medium-toolbar-arrow-under:after {
border-color: #000 transparent transparent transparent;
top: 40px; }
.medium-toolbar-arrow-over:before {
border-color: transparent transparent #000 transparent; }
.medium-editor-toolbar {
background-color: #000;
border: none;
border-radius: 50px; }
.medium-... | {
"content_hash": "c66b5cc230e750cbcd296ef2489c87c9",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 89,
"avg_line_length": 33.42307692307692,
"alnum_prop": 0.6425009589566552,
"repo_name": "Esri/shortlist-storytelling-template-js",
"id": "615851024053951119b73740eff8cc51b0e... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Page - Photon Admin Panel Theme</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp... | {
"content_hash": "b65084de293bde65e707012dc1fd3481",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 228,
"avg_line_length": 83.89010989010988,
"alnum_prop": 0.739324076499869,
"repo_name": "user-tony/photon-rails",
"id": "ff1c0a94c74813b0fc2be43743ba7390d3a57198",
"size"... |
// Copyright 2010-2022 Google LLC
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | {
"content_hash": "f4d35a5a7e2ef2d894f8996e753b5c8d",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 80,
"avg_line_length": 38.57142857142857,
"alnum_prop": 0.6551111111111111,
"repo_name": "google/or-tools",
"id": "f4301a2a136f61f39d7af5a5b4c65240174f890c",
"size": "6750... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace Csla.Blazor.Test.Fakes
{
public class FakePersonEmailAddress : BusinessBase<FakePersonEmailAddress>
{
public static Csla.PropertyInfo<string> EmailAddressProperty = RegisterProperty<string... | {
"content_hash": "74e0bfdc5f19dca5d6799a95cef46c47",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 114,
"avg_line_length": 20.45945945945946,
"alnum_prop": 0.7001321003963011,
"repo_name": "MarimerLLC/csla",
"id": "82014f307536b6d0b0e27eecb2ff32043c07e47c",
"size": "759"... |
#include <set>
class CVarDefCont
{
private:
CGString m_Key; // reference to map key
public:
static const char *m_sClassName;
CVarDefCont( LPCTSTR pszKey );
virtual ~CVarDefCont();
private:
CVarDefCont(const CVarDefCont& copy);
CVarDefCont& operator=(const CVarDefCont& other);
public:
LPC... | {
"content_hash": "8f1bd29fb7042f16137eb7fdd37eeccc",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 109,
"avg_line_length": 25.05389221556886,
"alnum_prop": 0.7012428298279159,
"repo_name": "drk84/Source",
"id": "0fb77f322f94b09fc199cb7ab67358d564700217",
"size": "4252",... |
<div class="content" ng-controller="blogArticleUpdateController">
<form ng-submit="update()" ng-model='article'>
<div class="input-prepend">
<span class="add-on"><i class="icon-bookmark"></i></span>
<input type=text placeholder="Titre" name="title" ng-model='article.title'>
</div>
... | {
"content_hash": "1c26f41ae1596bafcefbd5a6f5dcb840",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 139,
"avg_line_length": 49.225806451612904,
"alnum_prop": 0.5865006553079948,
"repo_name": "gulian/fuzzy-octo-hipster",
"id": "7f446b21734e4f359880624b9e67a0ab4f1b7173",
"s... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_02) on Tue Apr 29 11:29:42 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>BuildBinaryTask (G... | {
"content_hash": "c61483d29fa1066cd3d5a7ddcbe3746d",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 318,
"avg_line_length": 32.88625592417062,
"alnum_prop": 0.6280443867992506,
"repo_name": "Pushjet/Pushjet-Android",
"id": "43b1c69dbab55fe5644cf5b9b40bba93870f8d40",
"siz... |
<?php
namespace PHPExiftool\Driver\Tag\Olympus;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class AFAreas extends AbstractTag
{
protected $Id = 772;
protected $Name = 'AFAreas';
protected $FullName = 'Olympus::CameraSettings';... | {
"content_hash": "40643ca80e1fc000221144736e2353d6",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 52,
"avg_line_length": 16.025,
"alnum_prop": 0.6645865834633385,
"repo_name": "bburnichon/PHPExiftool",
"id": "c18f3561a11616f98b1e08adc3d79a09a1d059ce",
"size": "865",
"... |
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "6371E80F268951A6155954FACA293918"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18408
//
// Changes to this f... | {
"content_hash": "bfeb20a0134a9d61c8b87c649fc82992",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 110,
"avg_line_length": 32.42028985507246,
"alnum_prop": 0.6119803308001788,
"repo_name": "noah95/RGB_LED_Controller",
"id": "1fac99f03938447a3e61a0746a904108e0390f35",
"si... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | {
"content_hash": "0838e8acc0b1f20505ba1cb1768438ee",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 139,
"avg_line_length": 22.233333333333334,
"alnum_prop": 0.6218890554722639,
"repo_name": "stdlib-js/www",
"id": "271a051a1aba755ffbdc88e4d8162e4436acaf5d",
"size": "3335... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="activity_masterdetail" type="layout">@layout/activity_base</item>
</resources> | {
"content_hash": "211ec3fe05b5c98718646202c2b29f49",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 81,
"avg_line_length": 36.25,
"alnum_prop": 0.7034482758620689,
"repo_name": "twisstosin/UdacityBakingAndroid",
"id": "6b354b7e021ab3c22183806ae7ffc8fefc2fafcc",
"size": "14... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="content-type">
<title>Radius of gyration</title>
<link rel="stylesheet" type="text/css" href="Help.css">
</head>
... | {
"content_hash": "fb129ef2186836eca26f68cdfe87d064",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 90,
"avg_line_length": 44.59090909090909,
"alnum_prop": 0.5616717635066258,
"repo_name": "jblindsay/jblindsay.github.io",
"id": "6ca9ad4be19c1aa60959c62eff12f452f5944a87",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Create and initialize new event base</title>
</head>
<body><div class="manualnavbar" style="text-align: center;">
<div ... | {
"content_hash": "cbf3b1c00f68defe3003f6c3c3a6165c",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 196,
"avg_line_length": 49.55357142857143,
"alnum_prop": 0.6897297297297297,
"repo_name": "dpkshrma/phpdox",
"id": "8f1f0d5f63f8e9a9e68059eaece56887218ef189",
"size": "2775... |
import { Component, ViewChild, Input, Output, OnInit, EventEmitter } from '@angular/core';
import { Ng2Bs3ModalModule } from 'ng2-bs3-modal/ng2-bs3-modal';
import { OrderWindowComponent } from '../order-window/order-window.component';
import { DoctorsListComponent } from '../doctorsList/doctors-list.component';
import... | {
"content_hash": "7c0e8cfed1a3a67d739f16676295a8a5",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 120,
"avg_line_length": 32.2463768115942,
"alnum_prop": 0.701123595505618,
"repo_name": "rawnics/mesomeds-ng2",
"id": "3d43740f5270e861a8ab3a3c9400d3ea4698b847",
"size": "2... |
extern NSString *const UpdateProgressNotification;
@interface CustomTableViewController : UITableViewController
@end
| {
"content_hash": "726856ec190ac8f8b5667c5875302abf",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 60,
"avg_line_length": 23.8,
"alnum_prop": 0.865546218487395,
"repo_name": "hanks/Multi_Status_Checklist_Demo",
"id": "f2609aa2c23a40ee7ae72e2e1227ed7b351081e8",
"size": "14... |
package us.kbase.wholegenomealignment;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
import com... | {
"content_hash": "6dacdf7fa243d2341389364c3e3ea741",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 227,
"avg_line_length": 29.936,
"alnum_prop": 0.6932121859967931,
"repo_name": "levinas/kb_wga",
"id": "41066cd995ad4e61fc2cd12e182102fa26cbf2c6",
"size": "3742",
"binar... |
*New console commands*:
Basic stuff you can call by typing `/<command>` in OA game console.
```
- bet <horse>[red,blue] <amount> <currency>[BTC,OAC]
- unbet <bet_ID>
- pastBets
- pastBets elder
- betsSummary
- ready
- help
- shareBalance
- shareBalance <currency>[BTC,OAC]
... | {
"content_hash": "a3dfc1c7be24b53112bf870b40058f7c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 92,
"avg_line_length": 33.61538461538461,
"alnum_prop": 0.6670480549199085,
"repo_name": "GuildDio/oatot",
"id": "8ec550a86e7db816b42b765a390d8a364642a8ad",
"size": "1748",... |
@interface GPPromotion : NSObject
@property (copy, nonatomic) NSString *color;
@property (copy, nonatomic) NSString *icon_url;
@property (copy, nonatomic) NSString *ID;
@property (copy, nonatomic) NSString *target_url;
@property (copy, nonatomic) NSString *title;
@end
| {
"content_hash": "faa7bcd6410d06b1cfa32692a208165a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 38.42857142857143,
"alnum_prop": 0.758364312267658,
"repo_name": "yslwjj/GiftPick",
"id": "03546046f967c1ae67cb539da6ebf046e77883c5",
"size": "439",
... |
class Text < ActiveRecord::Base
attr_accessible :title, :text, :section_title, :section_order
def Text.mission_statement_sections
#get distinct mission statement sections
statements = Text.where(:section_title => "Mission Statement").order(:section_order)
statement_ids = Hash[statements.map{|statement|... | {
"content_hash": "fc953816f9b91226976bf51fec2f117e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 90,
"avg_line_length": 39.5,
"alnum_prop": 0.7443037974683544,
"repo_name": "eabartlett/ratemypup",
"id": "eee9da8caaceb40d992080b4dcf595fea5c4db4e",
"size": "395",
"bina... |
package demo.catalog.coursera.org.courserademoapp.network;
import com.google.gson.Gson;
import java.util.List;
import javax.inject.Inject;
import demo.catalog.coursera.org.courserademoapp.BuildConfig;
import retrofit.RestAdapter;
import retrofit.converter.GsonConverter;
import retrofit.http.GET;
import rx.Observabl... | {
"content_hash": "06c8f5e3d37f05c5ee7ddbe0bd2b0e01",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 80,
"avg_line_length": 30.7,
"alnum_prop": 0.7125407166123778,
"repo_name": "Eagles2F/CourseraDemoApp",
"id": "ffd0e69144f06208e80d3ee0c36cdc935362ae17",
"size": "1228",
... |
const context = {};
global.w = Object.create(context);
w.proto = context;
const Module = require('module');
//const orig_require = Module.prototype.require;
//Module.prototype.require = function(id){ return orig_require(id); }
//Module.prototype.require = function(id){ return orig_require.call(this, id); }
//create ... | {
"content_hash": "a3c35a2a6911c09e5a605338e99f1ece",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 88,
"avg_line_length": 22.663716814159294,
"alnum_prop": 0.6548223350253807,
"repo_name": "workjs/workjs",
"id": "6ad0f2874ab9377b4345570e07ecea20d8834158",
"size": "2635"... |
Store app settings
[](https://travis-ci.org/woodstage/node-app-settings)
[](https://coveralls.io/github/woodstage/node-app-settings)
[![n... | {
"content_hash": "f25f47bb00f212207e75bf9d16dbc211",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 211,
"avg_line_length": 42.8,
"alnum_prop": 0.7470794392523364,
"repo_name": "woodstage/node-app-settings",
"id": "f078f8760e4ef11d43d51970433acec5dcb2fc29",
"size": "1732"... |
package org.apache.accumulo.test.continuous;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map.Entry;
import java.util.Random;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import org.apache.accumulo.core.cli.BatchScannerOpts;
i... | {
"content_hash": "038e2826982b0b58bb0ca1c2f9c4ee7e",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 144,
"avg_line_length": 31.41875,
"alnum_prop": 0.6781380545056693,
"repo_name": "dhutchis/accumulo",
"id": "dc77f37cc33cb0b049fe7ea815e9deab2cda554f",
"size": "5828",
"... |
. /etc/profile
# disable ipv6 to bypass Linode apt issue
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
apt-get -y update && apt-get -y upgrade
## File : update_ubuntu_system.sh ends
| {
"content_hash": "f35ff877b1a6d08bad44268d5ebd17f7",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 46,
"avg_line_length": 37.666666666666664,
"alnum_prop": 0.7433628318584071,
"repo_name": "TOTVS/mdmpublic",
"id": "eda46b0411fc21cfbcbaa07668c0f2dabd353478",
"size": "561",... |
using System;
using Microsoft.TeamFoundation.Client;
using NSubstitute;
using Rainbow.Tfs.Tests.SourceControl.Helpers;
using Xunit;
namespace Rainbow.Tfs.Tests.SourceControl
{
public class TfsFileHandlerTests
{
private const string Filename = "edit-me.yml";
private readonly Uri _uri = new Uri("http://google.com... | {
"content_hash": "766a2e5b71ce18145162123ee3c24f12",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 89,
"avg_line_length": 30.793388429752067,
"alnum_prop": 0.7428878153515834,
"repo_name": "PetersonDave/Rainbow.Tfs",
"id": "06f32708e206d6cae9fe360d6b59448ab8c2ad7c",
"si... |
import numpy as np
import cv2
import sys
from video import Video
import os
if __name__ == "__main__":
videopath = sys.argv[1]
video = Video(videopath)
video.negate()
| {
"content_hash": "a26068e4ff5c81b8cdaa194fc6aa4050",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 28,
"avg_line_length": 15.153846153846153,
"alnum_prop": 0.5989847715736041,
"repo_name": "adobe-research/video-lecture-summaries",
"id": "da8c04e4d49673a02332477243ae8ad89fa... |
#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_GPU_THUNK_H_
#define TENSORFLOW_COMPILER_XLA_SERVICE_GPU_THUNK_H_
#include <memory>
#include <vector>
#include "tensorflow/compiler/xla/service/gpu/buffer_allocations.h"
#include "tensorflow/compiler/xla/service/hlo_instruction.h"
#include "tensorflow/core/lib/core/status.h"
... | {
"content_hash": "22ac78b462e3d372b5f835d4b81d20bd",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 80,
"avg_line_length": 34.26732673267327,
"alnum_prop": 0.7243571222190118,
"repo_name": "nburn42/tensorflow",
"id": "931c0bffab850362dbd2df975657dd47d9cbd3ae",
"size": "4... |
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensi... | {
"content_hash": "65d259a03a469cdc96161de39b819728",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 80,
"avg_line_length": 28.267080745341616,
"alnum_prop": 0.6855636123928807,
"repo_name": "diefenbach/django-cba",
"id": "52b040a94ac639291fbedee56e7edc34d940facf",
"size"... |
'use strict';
timing_test(function() {
var polyfillCircle = document.getElementById('polyfillCircle');
var nativeCircle = document.getElementById('nativeCircle');
at(0, 'cx', 300, polyfillCircle, nativeCircle);
at(1000, 'cy', 275, polyfillCircle, nativeCircle);
at(2000, 'r', 150, polyfillCircle, nativeCircl... | {
"content_hash": "c46fc1d85f690b25214a0a8dce8db2a6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 76,
"avg_line_length": 40.76470588235294,
"alnum_prop": 0.7085137085137085,
"repo_name": "smil-in-javascript/smil-in-javascript",
"id": "736471cbc10ef7fdda084f6a79cfbd240f663... |
drop table if exists `sys_user`;;
drop table if exists `sys_user_status_history`;;
drop trigger if exists `trigger_sys_user_off_online`;;
drop table if exists `sys_user_online`;;
drop table if exists `sys_user_last_online`;;
drop table if exists `sys_organization`;;
drop table if exists `sys_job`;;
drop table ... | {
"content_hash": "034ed334ada4189b77115296f25f99b3",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 114,
"avg_line_length": 38.77358490566038,
"alnum_prop": 0.6337712895377129,
"repo_name": "xxs/es-shop",
"id": "3e1d766e6dae698bccf56a2cf4ff803d80e65d55",
"size": "10332",... |
<?xml version="1.0"?>
<!--
The MIT License
Copyright (c) 2014-2016 Ilkka Seppälä
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitat... | {
"content_hash": "07e761534469e8a59b6dbd22101d2e59",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 149,
"avg_line_length": 41.07692307692308,
"alnum_prop": 0.7176966292134831,
"repo_name": "StefanHeimberg/java-design-patterns",
"id": "c69db95005476b7f837b6345f9ef88741ac58f... |
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['jquery'], factory);
} else if (typeof module === 'object' && module.exports) {
// Node/CommonJS
module.exports = function( root, jQuery ) {
if ( jQuery === undefined... | {
"content_hash": "2d1da5a057badf465f7604fd7067a364",
"timestamp": "",
"source": "github",
"line_count": 4628,
"max_line_length": 164,
"avg_line_length": 28.98076923076923,
"alnum_prop": 0.5448879014039352,
"repo_name": "cdnjs/cdnjs",
"id": "cdd493a335395f468942ad5d10d7be073bc56370",
"size": "134268... |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | {
"content_hash": "e5aea489dd3154ba5ccf845619a41029",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 112,
"avg_line_length": 38.44736842105263,
"alnum_prop": 0.6262833675564682,
"repo_name": "umyuu/Sample",
"id": "bcdfdfd812320a48dd50cee247ccc1305b78510b",
"size": "1463",
... |
package org.apache.pdfbox.examples.pdmodel;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.pdmodel.PDDocumentCatalog;
import org.apache.pdfbox.pdmodel.PDDocumentInformation;
import org.apache.pdfbox.pdmodel.common.PDMetadata;
import java.io.File;
import java.io.IOException;
import java.text.Si... | {
"content_hash": "e9674cbed5a1699ee28847622427eef6",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 113,
"avg_line_length": 31.00900900900901,
"alnum_prop": 0.5950029052876235,
"repo_name": "ChunghwaTelecom/pdfbox",
"id": "284c6bfb4f386231ee41b6734fa7316694ad8950",
"size... |
{% extends "base.html" %}
{% block content %}
<div class="row">
<div class="col-md-6 col-md-offset-3">
<h1 class="page-heading">{% block heading %}{% endblock %}</h1>
{% block config-content %}
{% endblock %}
</div>
</div>
{% endblock %}
| {
"content_hash": "947040b427b87bc158394625e5f4f7ce",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 67,
"avg_line_length": 23.545454545454547,
"alnum_prop": 0.555984555984556,
"repo_name": "Kvoti/ditto",
"id": "90d9094bcccd9582f3b9b69c933020ad1ef496fc",
"size": "259",
"... |
.class public Lcom/nvidia/NvCamera;
.super Landroid/hardware/Camera;
.source "NvCamera.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/nvidia/NvCamera$NvParameters;,
Lcom/nvidia/NvCamera$NvVideoPreviewFps;,
Lcom/nvidia/NvCamera$NvWindow;,
Lco... | {
"content_hash": "5c00b22e0a1fd244727a0028942e068b",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 106,
"avg_line_length": 22.95299145299145,
"alnum_prop": 0.6907466021225098,
"repo_name": "baidurom/devices-Coolpad8720L",
"id": "73145ccaf3c8aa2223906f8c6d00d9f65fdec625",
... |
package net.jeremycasey.hamiltonheatalert.heatstatus;
import net.jeremycasey.hamiltonheatalert.datetime.TimeProvider;
import org.joda.time.DateTime;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
public class ServerHeatStatusIsImportantCheckerTest {
... | {
"content_hash": "0cdaef643d4b3f383028196dc719d000",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 85,
"avg_line_length": 39.20987654320987,
"alnum_prop": 0.7030856423173804,
"repo_name": "jeremy8883/hamilton-heat-alert",
"id": "eec305426a2878900213d6c094ba257b56e1506b",
... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-change-detection-page',
templateUrl: './change-detection-page.component.html',
styleUrls: ['./change-detection-page.component.css']
})
export class ChangeDetectionPageComponent {
selectedIndex: number = 0;
}
| {
"content_hash": "3fd3aa88a14977a6d0f38a57fc7d374a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 27,
"alnum_prop": 0.7306397306397306,
"repo_name": "awerlang/angular-show-off",
"id": "abf601ab1f668e25e0e540d7d5a972633b1fd294",
"size": "297",
"b... |
stanza.ml package
=================
stanza.ml.tensorflow_utils module
---------------------------------
.. automodule:: stanza.ml.tensorflow_utils
:members:
:special-members:
:show-inheritance:
| {
"content_hash": "e2790518a31b24cedf410ddd65edccc3",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 42,
"avg_line_length": 20.8,
"alnum_prop": 0.5432692307692307,
"repo_name": "arunchaganty/presidential-debates",
"id": "7dde105257882926bb74c16dec2d2543ad7a385c",
"size": "... |
package it.wsie.twitteranalyzer.model.tasks.classification.sentiment;
/**
* @author Simone Papandrea
*
*/
public enum Sentiment {
SUPPORTER, OPPONENT, NEUTRAL;
} | {
"content_hash": "019a6dbd7ef6c7b8b56ffcb1281a47ef",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 69,
"avg_line_length": 16.7,
"alnum_prop": 0.7485029940119761,
"repo_name": "SIMON3P/TwitterAnalyzer",
"id": "c8899693a5a9b313c1b81db1b4ae8004cb7f9288",
"size": "167",
"b... |
'use strict';
const expect = require('chai').expect;
const sinon = require('sinon');
const proxyquire = require('proxyquire');
require('chai').use(require('sinon-chai'));
describe('getPlaylists', () => {
let system;
let resultMock;
let success;
const getPlaylists = require('../../../../lib/prototypes/SonosSy... | {
"content_hash": "7f6b4e97663e9773ce6de81da1cd4dd0",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 89,
"avg_line_length": 21.96,
"alnum_prop": 0.5801457194899818,
"repo_name": "jishi/node-sonos-discovery",
"id": "9d551e912b14c044ed5b15651bc3ec79b1aa71ca",
"size": "1098",... |
'use strict';
const nock = require('nock');
const expect = require('expect');
const fastly = require('fastly-promises');
const domains = require('../src/domains');
const services = require('./response/services.response');
const response = require('./response/domains.response');
describe('domains.js', () => {
descri... | {
"content_hash": "7744cb1e6855d4c0ef0c26aa9af2f653",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 104,
"avg_line_length": 28.291666666666668,
"alnum_prop": 0.5957290132547864,
"repo_name": "philippschulte/fastly-domains",
"id": "7ed748ec1abb32c8a8b9c7b0e0f697d7ced1b619",
... |
// -------------------------------------------------------------------------- \\
// File: Tap.js \\
// Module: Touch \\
// Requires: Gesture.js ... | {
"content_hash": "8637cccb852f4a4b3f0d91132f503b0c",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 81,
"avg_line_length": 36.74233128834356,
"alnum_prop": 0.4857238270161964,
"repo_name": "adityab/overture",
"id": "316c93ff9a4ef9be1e28bccada071c9725e3c2e3",
"size": "599... |
package org.sakaiproject.nakamura.session;
import static org.easymock.EasyMock.and;
import static org.easymock.EasyMock.capture;
import static org.easymock.EasyMock.createMock;
import static org.easymock.EasyMock.eq;
import static org.easymock.EasyMock.expect;
import static org.easymock.EasyMock.expectLastCall;
impor... | {
"content_hash": "1d1ceb4d3cd430938e19082dd65055ff",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 97,
"avg_line_length": 40.842592592592595,
"alnum_prop": 0.7560643844933121,
"repo_name": "dylanswartz/nakamura",
"id": "63c9a89a25ba73b47199e742b0c9ce66fbf6f292",
"size":... |
package org.elasticsearch.search.internal;
import org.elasticsearch.action.IndicesRequest;
import org.elasticsearch.action.OriginalIndices;
import org.elasticsearch.action.search.SearchRequest;
import org.elasticsearch.action.search.SearchTask;
import org.elasticsearch.action.search.SearchType;
import org.elasticsea... | {
"content_hash": "b4f2c776c4210a9c901397e4c44efb81",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 144,
"avg_line_length": 31.379518072289155,
"alnum_prop": 0.7204837780764062,
"repo_name": "naveenhooda2000/elasticsearch",
"id": "e841172448993c656971c884bf0ac69dbffca2fb",... |
#define NISERR() VISERR(nfa->v)
#define NERR(e) VERR(nfa->v, (e))
/*
* newnfa - set up an NFA
*/
static struct nfa * /* the NFA, or NULL */
newnfa(struct vars *v,
struct colormap *cm,
struct nfa *parent) /* NULL if primary NFA */
{
struct nfa *nfa;
nfa = (struct nfa *) MALLOC(sizeof(struct nfa));
... | {
"content_hash": "31105b6b6f05ce6fcddf89608395fd56",
"timestamp": "",
"source": "github",
"line_count": 3145,
"max_line_length": 78,
"avg_line_length": 25.11001589825119,
"alnum_prop": 0.626255207607856,
"repo_name": "lisakowen/gpdb",
"id": "92c9c4d795d1a4d32a4677c4e00e25123506b072",
"size": "80681... |
package org.springframework.boot.actuate.autoconfigure.amqp;
import org.junit.Test;
import org.springframework.boot.actuate.amqp.RabbitHealthIndicator;
import org.springframework.boot.actuate.autoconfigure.health.HealthIndicatorAutoConfiguration;
import org.springframework.boot.actuate.health.ApplicationHealthIndic... | {
"content_hash": "0d85cd18c947b6ec5ec867e1ccac6bdf",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 94,
"avg_line_length": 35.72093023255814,
"alnum_prop": 0.8248697916666666,
"repo_name": "hello2009chen/spring-boot",
"id": "dad54f968eef2793bd40d7fc0e2fec8b0c5b02aa",
"siz... |
set( MANIFEST
${SOURCE_DIR}/totalisator.cpp
${SOURCE_DIR}/detail/totalisator_impl.cpp
)
| {
"content_hash": "ddea622df92e8bfcc4765d9f9e226581",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 46,
"avg_line_length": 24.5,
"alnum_prop": 0.6836734693877551,
"repo_name": "ben-crowhurst/tote-betting-totalisator",
"id": "3320aadc4f8b21efc6bffe6038d9f7f3b97f6375",
"size... |
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Information about MPEG-4 files, Descriptors
//
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//---------------------------------------------------------------------------
#ifndef MediaInfo_Mpe... | {
"content_hash": "ea18477ccf9ec909105e0db5768b06a8",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 77,
"avg_line_length": 31.553072625698324,
"alnum_prop": 0.5440864022662889,
"repo_name": "MediaArea/MediaInfoLib",
"id": "026fa65c33e52e6cc941295c96044f2f98132054",
"size... |
$(function () { SUBMITTER.options.init(); });
| {
"content_hash": "6805879e366edff8fd239dedcaf63cab",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 45,
"avg_line_length": 46,
"alnum_prop": 0.6086956521739131,
"repo_name": "pshevtsov/chrome-submitter",
"id": "2ee5a8a8e9a64219d4322ad0e48f5aacaf809c2f",
"size": "46",
"bi... |
package org.springframework.cloud.cli.command.url;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
/**
* Capture output from Sy... | {
"content_hash": "633d632be8163e16b4008ef63c9fcc93",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 72,
"avg_line_length": 20.893805309734514,
"alnum_prop": 0.7098686997035154,
"repo_name": "spring-cloud/spring-cloud-cli",
"id": "fcb141ee799cf303180bdf9988766c24fd7c77f0",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2012 Google Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
... | {
"content_hash": "84a664716121c1f6e4282c3f9e235460",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 120,
"avg_line_length": 36.01020408163265,
"alnum_prop": 0.5613488240294701,
"repo_name": "seoulcoin/seoulcoin-bitcoinj",
"id": "dcbf9c7c2a0583f9ffe4a350f95cbaedb74db918",
... |
import * as assert from 'assert'
import { symbol, InvalidSymbolError } from '../../rulr'
test('symbol should allow symbol', () => {
const input = Symbol()
const output: symbol = symbol(input)
assert.strictEqual(output, input)
})
test('symbol should allow non-symbol value', () => {
assert.throws(() => symbol(''), ... | {
"content_hash": "c824b1644176800ea3e685959c4d64f8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 55,
"avg_line_length": 28.583333333333332,
"alnum_prop": 0.6763848396501457,
"repo_name": "ryansmith94/rulr",
"id": "ba80ea960ee91cbab86aa157e1dbd32c59e92ee9",
"size": "343... |
title: 25/09/17
layout: post
author: nivethan.thavaraj
permalink: /25/09/17/
source-id: 1Qhg-cAT0tXW8X65EkvooqjIhOe29uD3jjQEzKO8D54w
published: true
---
<table>
<tr>
<td>25/09/17</td>
</tr>
<tr>
<td>Coding with sheets
</td>
</tr>
<tr>
<td>Today we carried on with our 'Order Form' sheet. Today we a... | {
"content_hash": "bf79e6a68ac67b815afb59192c53faa9",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 909,
"avg_line_length": 49.583333333333336,
"alnum_prop": 0.7504201680672269,
"repo_name": "me-and-IT/me-and-it.github.io",
"id": "db87c75817b36f3725976b4eed04260cefb41422",
... |
This is very much an educational project in javascript heavy web apps. This is my attempt at creating a simple launch list web app. There are many check list apps out there but this is mine. I wouldn't take anything here and use in production as I'm new to js heavy apps, js templates, Backbone.js, etc. This is a person... | {
"content_hash": "446274765f21d29ee82683f3c4b26c29",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 338,
"avg_line_length": 67.14285714285714,
"alnum_prop": 0.7851063829787234,
"repo_name": "fleeting/Launch-Status-Check",
"id": "b2ef2fb62abb322c5896a0e663c361748819f318",
"... |
package com.iflytek.rocket.spark.streaming
import com.iflytek.rocket.uitl.KafkaProducer
import org.apache.spark.streaming._
import org.apache.spark.streaming.StreamingContext._
import org.apache.spark.streaming.kafka._
import org.apache.spark.SparkConf
import java.util.Calendar
//import spray.json._
//import Default... | {
"content_hash": "5d8e23317ead7e3790a86ccaab04855e",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 95,
"avg_line_length": 36.483333333333334,
"alnum_prop": 0.6683417085427136,
"repo_name": "seawalkermiaoer/rocket",
"id": "450c770e678e611b8f91e53edbcdb9d673956919",
"size"... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("04... | {
"content_hash": "5b86d243b2e27fc6596544b2750930cd",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.861111111111114,
"alnum_prop": 0.7441029306647605,
"repo_name": "b-slavov/Telerik-Software-Academy",
"id": "5c2bec700d56f06eb873bc0eaf22ca3ada9c945f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.