text stringlengths 2 1.04M | meta dict |
|---|---|
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | {
"content_hash": "88cc7be55c17ebc9f48addb100add602",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 99,
"avg_line_length": 30.57037037037037,
"alnum_prop": 0.676762781681609,
"repo_name": "bayandin/selenium",
"id": "9eafd58de8bd98d68188c66acb4c2a65adf1b8a0",
"size": "412... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Nov 26 15:39:03 EST 2010 -->
<TITLE>
XML Schema API: Package org.apache.xerces.xs.datatypes
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF... | {
"content_hash": "a3e6dd29814acb33d12b41d365cf8c63",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 138,
"avg_line_length": 33.78947368421053,
"alnum_prop": 0.6479750778816199,
"repo_name": "jsalla/jatintest",
"id": "eb2845e2228e6e3345a59e34e50c70feb405876c",
"size": "128... |
from django.conf.urls.defaults import url, patterns, include
from .app.views import TestView
urlpatterns = patterns(
'',
url('^', include('mob.urls', namespace = 'mob')),
url('^$', TestView.as_view()),
)
| {
"content_hash": "ae63432e504ff77e3de283c24652ba13",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 60,
"avg_line_length": 27.125,
"alnum_prop": 0.6497695852534562,
"repo_name": "caffeinehit/django-mob",
"id": "8edfa6f30a941ac06ac03514a611f2f072324514",
"size": "217",
"b... |
<?php
$english = array(
/**
* Menu items and titles
*/
'item:object:reported_content' => 'Reported items',
'reportedcontent' => 'Reported content',
'reportedcontent:this' => 'Report this',
'reportedcontent:none' => 'There is no reported content',
'reportedcontent:report' => '... | {
"content_hash": "b4415acec1bc182655d50fffd296f612",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 87,
"avg_line_length": 41,
"alnum_prop": 0.6679174484052532,
"repo_name": "namaggarwal/elgg",
"id": "d4941e0301a134be973f2107d67af0107c3e2a84",
"size": "1890",
"binary": ... |
package netana
//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 writing, software
//distri... | {
"content_hash": "2d421a0980c882608cd14a411306f149",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 183,
"avg_line_length": 40.785714285714285,
"alnum_prop": 0.7773642732049036,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "4a2b38cfa2d763e0f6d5d85e1ce0977f5f347bb8",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Kongl. Svenska Vetensk. Akad. Handl. ser. 2, 35(1):69. 1901
#### Original name
null
### Remarks
null | {
"content_hash": "fd409535c84782c25b99f4552292ef01",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 59,
"avg_line_length": 14.538461538461538,
"alnum_prop": 0.6878306878306878,
"repo_name": "mdoering/backbone",
"id": "1dea5a0cc021274ae12c09cc5efdc0f0c8e5e9da",
"size": "24... |
require 'whois/record/parser/base_afilias'
module Whois
class Record
class Parser
# Parser for the whois.nic.ag server.
class WhoisNicAg < BaseAfilias
end
end
end
end
| {
"content_hash": "749aeea945c86176be49d2617e4b1126",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 43,
"avg_line_length": 14.357142857142858,
"alnum_prop": 0.6666666666666666,
"repo_name": "owenwarner/whois",
"id": "4ac55f8faa748d31e95b2230b868bf74ba30d243",
"size": "342... |
**This repository has been deprecated and is no longer maintained. For future releases, please go to:**
https://github.com/ni/niveristand-engine-simulation-toolkit-custom-device
## Engine Simulation Toolkit Custom Device ##
**Engine Simulation Toolkit Custom Device** is a insert description of IP
### LabVIEW Versio... | {
"content_hash": "d664537c1e850f8eaf85a89abd7789e0",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 490,
"avg_line_length": 45.05,
"alnum_prop": 0.781354051054384,
"repo_name": "NIVeriStandAdd-Ons/Engine-Simulation-Toolkit-Custom-Device",
"id": "ca3b58e98ccb1cee3b264c7f9c07... |
if ! type "npm" > /dev/null; then
echo "NPM is not installed, installing...\n"
curl -L https://www.npmjs.com/install.sh | sh
fi
if ! type "http-server" > /dev/null; then
echo "http-server module is not installed, installing...\n"
npm install http-server -g
fi
http-server -p 9042 ./json | {
"content_hash": "1ae30a3aca90ee693fec3cbc43a353c1",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 60,
"avg_line_length": 26.545454545454547,
"alnum_prop": 0.684931506849315,
"repo_name": "SoneeJohn/WWDC",
"id": "69490e56d0681ffae68af65d6296ddd9a4378385",
"size": "305",
... |
#ifndef __PLUGIN_JNI_HELPER_H__
#define __PLUGIN_JNI_HELPER_H__
#include <jni.h>
#include <string>
#include <map>
namespace cocos2d {
typedef struct PluginJniMethodInfo_
{
JNIEnv * env;
jclass classID;
jmethodID methodID;
} PluginJniMethodInfo;
class PluginJniHelper
{
public:
static Java... | {
"content_hash": "deda7badfb2a72017e8b35dacf3995e2",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 139,
"avg_line_length": 29.844444444444445,
"alnum_prop": 0.6604616530156366,
"repo_name": "bianfeng-shenbin/plugin",
"id": "e5f5fa4f2d94850ad7bde78f0f6280e0ad410f67",
"siz... |
package org.apache.accumulo.core.file.rfile;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.accumulo.core.data.ArrayByteSequence;
im... | {
"content_hash": "663eb965e45dcaaeca06aadc8de62e00",
"timestamp": "",
"source": "github",
"line_count": 544,
"max_line_length": 98,
"avg_line_length": 34.501838235294116,
"alnum_prop": 0.6652458841707071,
"repo_name": "mjwall/accumulo",
"id": "8f7620f5b5e89ad944c6c9af7a6cc1e1835269fd",
"size": "195... |
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.M;
import static android.os.Build.VERSION_CODES.N;
import static android.os.Build.VERSION_CODES.N_MR1;
import static android.os.Build.VERSION_CODES.O;
import static org.robolectric.shadow.api.Shadow.directlyOn;
import static org.robolectric.... | {
"content_hash": "a2a89db369f5a1ca7a83bd9f6f6d0aa7",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 153,
"avg_line_length": 38.92307692307692,
"alnum_prop": 0.743647656691135,
"repo_name": "spotify/robolectric",
"id": "6575f98e6c27cb953e04a15ff4aca2829c6c043b",
"size": "... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for lib/src/utils/generic.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" content="width=device-width, initial-scale... | {
"content_hash": "cd7383d21108aca5459be4d583a711f9",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 143,
"avg_line_length": 28.422018348623855,
"alnum_prop": 0.6378308586184636,
"repo_name": "esschul/udp.github.io",
"id": "dce50555502270bb0db9848cd3c3d423be0f913f",
"size... |
# The *_FORMAT strings use the Django date format syntax,
# see http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date
DATE_FORMAT = 'j ខែ F ឆ្នាំ Y'
TIME_FORMAT = 'G:i:s'
DATETIME_FORMAT = 'j ខែ F ឆ្នាំ Y, G:i:s'
# YEAR_MONTH_FORMAT =
MONTH_DAY_FORMAT = 'j F'
SHORT_DATE_FORMAT = 'j M Y'
SHORT_DAT... | {
"content_hash": "e48f6645426b704db7e88a0f6e313ff7",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 77,
"avg_line_length": 33.9,
"alnum_prop": 0.672566371681416,
"repo_name": "marcosmodesto/django-testapp",
"id": "7a39d92ead90c79fe2a82c80aea5240763597c70",
"size": "810",
... |
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Setting up an optimization engine — IBM® Decision Optimization CPLEX® Modeling for Pyt... | {
"content_hash": "02fdb01708f8789229550cac9490a654",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 296,
"avg_line_length": 64.11578947368422,
"alnum_prop": 0.721884747988836,
"repo_name": "IBMDecisionOptimization/docplex-doc",
"id": "b45e6b4de42a5e8b40e58294fb3db2fa820273... |
/*
* W.J. van der Laan 2011-2012
* The Pulse Developers 2013
*/
#include "bitcoingui.h"
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "guiutil.h"
#include "init.h"
#include "ui_interface.h"
#include "qtipcserver.h"
#include <QApplication>
#include <QMessageBox>
#include <QTex... | {
"content_hash": "b9e1330c8f13c5e5e92380e201959da9",
"timestamp": "",
"source": "github",
"line_count": 306,
"max_line_length": 202,
"avg_line_length": 31.669934640522875,
"alnum_prop": 0.6023114229697658,
"repo_name": "elcrypto/Pulse",
"id": "b2fe425e683326e3d4cfd457de7690571f313c39",
"size": "969... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3517ba9699fe452176a76335a37e7a16",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "bfe705b71c65f1548e2bc08a14147e5d44893ac1",
"size": "211... |
// This file was generated by Mendix Modeler.
//
// WARNING: Only the following code will be retained when actions are regenerated:
// - the import list
// - the code between BEGIN USER CODE and END USER CODE
// - the code between BEGIN EXTRA CODE and END EXTRA CODE
// Other code you write will be lost the next time yo... | {
"content_hash": "c6d1d1e791b948a7634c6c01c6831a4d",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 82,
"avg_line_length": 28.27659574468085,
"alnum_prop": 0.7516930022573364,
"repo_name": "ako/OracleConnector",
"id": "ccd1222391343d640794930ceb515517906346d1",
"size": "1... |
import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'
Vue.use(Vuex)
export default new Vuex.Store({
strict: true,
plugins: [
createPersistedState()
],
state: {
token: null,
user: null,
isUserLoggedIn: false
},
mutations: {
setToken (state,... | {
"content_hash": "5431e75c62210d8cad05efabc7b5d502",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 54,
"avg_line_length": 18.42105263157895,
"alnum_prop": 0.5757142857142857,
"repo_name": "miyabiya/tracker",
"id": "0435d224463ce73c0415e115dd1128c465bb2bd3",
"size": "700"... |
<?xml version="1.0" encoding="WINDOWS-1252"?>
<safe_pregnancy xmlns="http://www.commcare.org/MVP/safe_motherhood/close_v0.1">
<Meta>
<formName>LUAOEAAQJ</formName>
<formVersion>VVIWF</formVersion>
<DeviceID>ZNPL</DeviceID>
<TimeStart>2009-05-15T01:00:00.000</TimeStart>
<TimeEnd>2009-10-07T01:00:00.000</TimeEnd>
<userna... | {
"content_hash": "8023c8a9b8f869794121bfdaebb25e8a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 79,
"avg_line_length": 44.535714285714285,
"alnum_prop": 0.8107457898957497,
"repo_name": "commtrack/commtrack-old-to-del",
"id": "708796493aa71fbed1ec57b63b36db2d2e548396",
... |
#pragma once
#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
#include <aws/elastictranscoder/model/Pipeline.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/elastictranscoder/model/Warning.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
... | {
"content_hash": "67bf640677a7cd71eb132b004e35e51b",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 316,
"avg_line_length": 48.62376237623762,
"alnum_prop": 0.7316228873956424,
"repo_name": "bmanc2000/aws-sdk-cpp",
"id": "c6b79de55cfffeec2c1d0f750ffcd92e970dc947",
"size"... |
using System;
public class DifferentTypesOfValue
{
public static void Main()
{
string type = Console.ReadLine();
if (type == "int")
{
int first = int.Parse(Console.ReadLine());
int second = int.Parse(Console.ReadLine());
int result = GetMax(first, s... | {
"content_hash": "46de007fc94ba9f4bc247118815f4c67",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 67,
"avg_line_length": 22.305555555555557,
"alnum_prop": 0.4726027397260274,
"repo_name": "AJMitev/CSharp-Programming-Fundamentals",
"id": "d27e6cb94388be312e0b1a68cedabb0fa9... |
import jmespath
import logging
import time
from botocore_eb.exceptions import WaiterError
logger = logging.getLogger(__name__)
class Waiter(object):
"""Wait for a resource to reach a certain state.
In addition to creating this class manually, you can
also use ``botocore.service.Service.get_waiter`` t... | {
"content_hash": "5c977963bd07233d1c00b798ba69381d",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 86,
"avg_line_length": 40.0253164556962,
"alnum_prop": 0.5653067678684377,
"repo_name": "ianblenke/awsebcli",
"id": "6e920b060b9dd7faae0664e5d9172cc02b2d67ec",
"size": "68... |
namespace search_provider_logos {
// The maximum number of milliseconds that a logo can be cached.
extern const int64_t kMaxTimeToLiveMS;
struct LogoMetadata {
LogoMetadata();
LogoMetadata(const LogoMetadata& other);
~LogoMetadata();
// For use by the client --------------------------------------------------... | {
"content_hash": "cafd8c4835564bde0bdc20cf7a661608",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 80,
"avg_line_length": 29.322580645161292,
"alnum_prop": 0.66996699669967,
"repo_name": "ds-hwang/chromium-crosswalk",
"id": "ce94005f904f81d311d1ce9b4181a1e17202f7d4",
"si... |
namespace {
// Delay on first fetch so we don't interfere with startup.
const int kStartResourceFetchDelayMs = 60 * 1000;
// Delay between calls to update the cache 1 day and 2 minutes in testing mode.
const int kCacheUpdateDelayMs = 24 * 60 * 60 * 1000;
const char kPluginsServerUrl[] =
"https://www.gstatic.com/... | {
"content_hash": "01f1c707001baca1a731b0291fabc00b",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 79,
"avg_line_length": 31.311475409836067,
"alnum_prop": 0.7188481675392671,
"repo_name": "js0701/chromium-crosswalk",
"id": "5426c6630ae89d239ddc83d787ea3b91c0ec4fc3",
"si... |
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path... | {
"content_hash": "8a0c6263e74e93cd951baade01053f3a",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 101,
"avg_line_length": 17.26829268292683,
"alnum_prop": 0.6800847457627118,
"repo_name": "GeekCollege/Project-SSA",
"id": "b1acea839d1e630fbfd9f6cadbfa330b467240a2",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#FFFFFF">
<ImageView
android:layout_width="wrap_content"
android:layout_height="... | {
"content_hash": "8862226b690c41def1bdd5fb18b63db0",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 74,
"avg_line_length": 38.48,
"alnum_prop": 0.6715176715176715,
"repo_name": "prasadsawant5/The-Football-Maniac",
"id": "769272f1c92fa3171ccbebc927190faa09d2a860",
"size": ... |
import os
import time
from arnold import *
testNumber = "test_0001"
print("[FabricArnold::TestSuite] Generating reference image for {0}...".format(testNumber))
start = time.clock()
AiBegin()
# create a sphere
sphere = AiNode("sphere")
AiNodeSetStr(sphere, "name", "mysphere")
AiNodeSetFlt(sphere, "radi... | {
"content_hash": "9d45befdeb1f30c0afd4df343ae66b93",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 91,
"avg_line_length": 29.318181818181817,
"alnum_prop": 0.7085271317829457,
"repo_name": "wildparky/FabricArnold",
"id": "e093c8a942cffdaad7a3c1972f415bb1d9e61350",
"size"... |
function matrix(n) {
const results = [];
for (let i = 0; i < n; i++) {
results.push([]);
}
let counter = 1;
let startColumn = 0;
let endColumn = n - 1;
let startRow = 0;
let endRow = n - 1;
while (startColumn <= endColumn && startRow <= endRow) {
// Top row
for (let i = startColumn; i <=... | {
"content_hash": "6845853c2317bf025a109d0dc5d5a925",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 58,
"avg_line_length": 19.782608695652176,
"alnum_prop": 0.5274725274725275,
"repo_name": "spiresd55/code-playground",
"id": "f1d0651e482f080e54421cf74e0c08079627ac1c",
"si... |
import React from 'react';
import { mount } from 'enzyme';
import Jumbotron from '../src/Jumbotron';
describe('<Jumbotron>', () => {
it('Should output a div with content', () => {
mount(
<Jumbotron>
<strong>Content</strong>
</Jumbotron>,
).assertSingle('div.jumbotron strong');
});
i... | {
"content_hash": "85dae7005bac10f3f72e1e38a8b087fa",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 61,
"avg_line_length": 23.571428571428573,
"alnum_prop": 0.5863636363636363,
"repo_name": "glenjamin/react-bootstrap",
"id": "027741fc54f4c643e719076b7610c0915141cff9",
"si... |
import os
import sys
import hashlib
import configparser
import random
import binascii
ERR_PASSWD = "__err_passwd__"
INF_SERDOWN = "__info_serverdown__"
CL_HELLO = "__client_hello__"
CL_EXIT = "__client_bye__"
VERSION = '0.91.5 AES'
CODENAME = 'Pockenberg'
AUTHOR = 'Anna-Sophia Schroeck <pba3h11aso@t-online.de>'
PYMD... | {
"content_hash": "4a932a44a3e99031e3424cd658801ac4",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 70,
"avg_line_length": 33.828125,
"alnum_prop": 0.5480369515011547,
"repo_name": "RoseLeBlood/pyMD",
"id": "daef02842c805ecf989f0947c1c06e8fb93cc57f",
"size": "5222",
"b... |
function [ f,qualMeasOut] = PCSD(proj,geo,angles,maxiter,varargin)
%PCSD solves the reconstruction problem using projection-controlled steepest descent method
%
% PCSD(PROJ,GEO,ALPHA,NITER) solves the reconstruction problem using
% the projection data PROJ taken over ALPHA angles, corresponding to the
% geom... | {
"content_hash": "4e75bac8273628b9fb995990bfeaa051",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 153,
"avg_line_length": 36.36857142857143,
"alnum_prop": 0.49289025060884595,
"repo_name": "CERN/TIGRE",
"id": "8e6d243f2f2750eaff825ac7133fa035f4b7caf0",
"size": "12733",... |
@interface VMPCurrencyPair : NSObject {
}
@property (copy, nonatomic) NSString *currencyFrom;
@property (copy, nonatomic) NSString *currencyTo;
#pragma mark - Root
+ (instancetype)pairFrom:(NSString *)from to:(NSString *)to;
@end
| {
"content_hash": "1ebca09d246e336e922cfa1b15bc8bb2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 60,
"avg_line_length": 18.46153846153846,
"alnum_prop": 0.7208333333333333,
"repo_name": "GDXRepo/VoltMobiProject",
"id": "6938d336ef0a7f4975d3b40d003e03b51296edfa",
"size"... |
package api
import (
"context"
"errors"
"net/http"
"net/http/httptest"
"strconv"
"strings"
"testing"
"time"
"github.com/apache/trafficcontrol/lib/go-rfc"
"github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/auth"
"github.com/apache/trafficcontrol/traffic_ops/traffic_ops_golang/config"
"githu... | {
"content_hash": "3694100c4aa0dadd3bd581a43c09f193",
"timestamp": "",
"source": "github",
"line_count": 320,
"max_line_length": 239,
"avg_line_length": 31.65,
"alnum_prop": 0.6804897314375987,
"repo_name": "hbeatty/incubator-trafficcontrol",
"id": "508881defdd0ac4dca78edd399355ff6a7e4ba02",
"size":... |
'use strict';
/**************************************************************************************************
* This sample is a complex REST API with authentication, permissions, and business logic.
* It also demonstrates a modular coding style, by splitting the Swagger definition and JavaScript
* code into sep... | {
"content_hash": "955792224191b2644f7da31eb97eb519",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 100,
"avg_line_length": 39.46666666666667,
"alnum_prop": 0.5920608108108109,
"repo_name": "BigstickCarpet/swagger-server",
"id": "78560ae07fff2096c7d343dc9ace9acc92cd0381",
... |
import { _AbstractConstructor } from '@angular/material/core';
import { AriaDescriber } from '@angular/cdk/a11y';
import { BooleanInput } from '@angular/cdk/coercion';
import { CanDisable } from '@angular/material/core';
import { _Constructor } from '@angular/material/core';
import { ElementRef } from '@angular/core';
... | {
"content_hash": "e614228622e4e298cb438697a1fbbaa1",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 344,
"avg_line_length": 43.626168224299064,
"alnum_prop": 0.6874464438731791,
"repo_name": "angular/material-builds",
"id": "f32e5a3b7302a5d3998f0c8c2927a8a5748f4307",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<!-- required because all the links are pseudo-absolute -->
<base href="../..">
<link hre... | {
"content_hash": "0fab086c58f4c817b9a0008bdf7b6f59",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 161,
"avg_line_length": 36.17123287671233,
"alnum_prop": 0.5943950009467904,
"repo_name": "kyorohiro/dart_hetimatorrent",
"id": "9bd6455778427322e42fc62cd05ef892a30860bd",
... |
var parser = require('../index.js');
var expect = require('expect.js');
var helpers = require('./helpers.js');
var encode = parser.encode;
var decode = parser.decode;
describe('parser', function() {
it('encodes a Buffer', function() {
helpers.test_bin({
type: parser.BINARY_EVENT,
data: new Buff... | {
"content_hash": "b7a92b95b586d89b59b2443d31916be6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 53,
"avg_line_length": 24.08,
"alnum_prop": 0.5481727574750831,
"repo_name": "AlexanderDzhoganov/p2pt-client",
"id": "dd274604332e916af87fd7d5941f34695ccc30e8",
"size": "60... |
<?php
namespace Numa\DOAAdminBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ListingFieldLists
*/
class ListingFieldLists
{
/**
* @var integer
*/
private $id;
/**
* @var integer
*/
private $listing_field_id;
/**
* @var integer
*/
... | {
"content_hash": "4c912f505bdecbb5cf11c78a28362b68",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 98,
"avg_line_length": 16.522988505747126,
"alnum_prop": 0.4782608695652174,
"repo_name": "genjerator13/doa",
"id": "7cbae054b288d95c21e2b622a47a94ff8ff5ec19",
"size": "28... |
package com.graphhopper.routing.util.spatialrules;
import com.graphhopper.util.shapes.Polygon;
import java.util.List;
/**
* Defines rules that are valid for a certain region, e.g. a country.
* A rule defines access, max-speed, etc. dependent on this region.
* <p>
* Every SpatialRule has a set of borders. The ru... | {
"content_hash": "0dce7934c684e929ee38d32b6c5bd019",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 116,
"avg_line_length": 28.27848101265823,
"alnum_prop": 0.6289167412712623,
"repo_name": "komoot/graphhopper",
"id": "975e64fa9f094d962a325b7c493c03886bb1ee7d",
"size": "3... |
pass="your pass here"
googleKey="you 16 bit key"
aliMFAKey="you ali mfa key"
| {
"content_hash": "f96d4a947b0028eb856211011e92932f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 27,
"avg_line_length": 25.666666666666668,
"alnum_prop": 0.7402597402597403,
"repo_name": "wuxiaoxiong/common-setting",
"id": "ca868182e2c194953cca69987a54d5342e0c2164",
"si... |
{% load staticfiles %}
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<link href="{% static 'subs/skeleton.css' %}" rel="stylesheet" type="text/css">
<link href="{% static 'subs/stylesheets.css' %}" rel="stylesheet" type="text/css">
<title>{% block title_block %}{% endblock %}</title>
</head>
... | {
"content_hash": "e23d0959a01c4225b3f509b84a377a70",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 86,
"avg_line_length": 27,
"alnum_prop": 0.5633528265107213,
"repo_name": "fsxfreak/alternative-soundcloud-stream",
"id": "3a7ec90f12ac91317e2046a4f640d381a9fa842b",
"size"... |
/**
* DisapproveOrders.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201511;
/**
* The action used for disapproving {@link Order} objects. All {@link
* LineItem}
* objects within the ... | {
"content_hash": "ab730e73c8b685fd171af3716c77d459",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 132,
"avg_line_length": 29.953488372093023,
"alnum_prop": 0.6187888198757764,
"repo_name": "gawkermedia/googleads-java-lib",
"id": "10926c3af7bba9545e6ac88c2ce92a7e0230c591",... |
import { ReactPortal, createElement } from 'react';
import { createPortal } from 'react-dom';
import { ComponentType, AgPromise } from '@ag-grid-community/core';
import { AgGridReact } from "./agGridReact";
import { ReactComponent } from './reactComponent';
import generateNewKey from "./keyGenerator";
import { renderTo... | {
"content_hash": "daea8a8f539b3fd8e5fc88a5e3abb4d2",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 117,
"avg_line_length": 36.706896551724135,
"alnum_prop": 0.6420854861437294,
"repo_name": "ceolter/ag-grid",
"id": "c6637774bbc33cad7b90e27ba527b983f89c07b4",
"size": "42... |
using namespace std;
using namespace boost;
using namespace boost::asio;
using namespace json_spirit;
//
// HTTP protocol
//
// This ain't Apache. We're just using HTTP header for the length field
// and to be compatible with other JSON-RPC implementations.
//
string HTTPPost(const string& strMsg, const map<string,s... | {
"content_hash": "14d7c2c3e748cac23ecba4c03036ca6c",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 90,
"avg_line_length": 30.820083682008367,
"alnum_prop": 0.5832202009231605,
"repo_name": "latinumcoin/latinumcoin",
"id": "adff9673e50598693ee3320e1d2d42bdb5b7b020",
"siz... |
import string
import types
from module_info import *
from module_mission_templates import *
from process_common import *
from process_operations import *
mission_template_name_pos = 0
mission_template_flags_pos = 1
mission_template_types_pos = 2
mission_template_desc_pos = 3
mission_template_groups_pos ... | {
"content_hash": "1fb4cbb17f3aa1bf362d9fc6ad93879a",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 392,
"avg_line_length": 61.29824561403509,
"alnum_prop": 0.6853176874642244,
"repo_name": "nycz/useful-sisters",
"id": "80360c483f168169a18da16cdc82047b2a71bcd7",
"size": ... |
define("p3/widget/ContainerActionBar", [
'dojo/_base/declare', './ActionBar',
'dojo/dom-construct'
], function (
declare, ActionBar,
domConstruct
) {
return declare([ActionBar], {
path: null,
'class': 'WSContainerActionBar',
tooltipPosition: ['above', 'below'],
_setPathAttr: function (p) {
... | {
"content_hash": "91496555067742c1440bb31def626d1c",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 117,
"avg_line_length": 31.2,
"alnum_prop": 0.5418552036199095,
"repo_name": "dmachi/p3_web",
"id": "64d4989071d95967478bf5b8971adce5b06c9965",
"size": "2652",
"binary": ... |
<?php
namespace Composer\IO;
use Composer\Question\StrictConfirmationQuestion;
use Symfony\Component\Console\Helper\HelperSet;
use Symfony\Component\Console\Helper\ProgressBar;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\ConsoleOutputInterface;
use Symfony\Component\Cons... | {
"content_hash": "2b5baf88360882b18c33c3aa6472fda9",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 139,
"avg_line_length": 30.7816091954023,
"alnum_prop": 0.5796303211351755,
"repo_name": "localheinz/composer",
"id": "d756d9b9ddcf2f9dfc93306ab3b29f745105b69c",
"size": "... |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.trainings.demo">
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
andro... | {
"content_hash": "1b409b883859b5df3e57b06f8d7604ed",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 76,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.6238317757009346,
"repo_name": "IstiN/android-training-2017",
"id": "2f8af973a7c1834953956f70b4a6cbf9a5579426",
"... |
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import sinon from 'sinon';
import { default as webviewHelpers,
NATIVE_WIN, WEBVIEW_BASE, WEBVIEW_WIN, CHROMIUM_WIN } from '../../../lib/webview-helpers';
import { setupNewChromedriver } from '../../../lib/commands/context';
import AndroidD... | {
"content_hash": "506382ede8cdad9df0be48bb5afe381f",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 123,
"avg_line_length": 47.63210702341137,
"alnum_prop": 0.692318494593456,
"repo_name": "vmaxim/appium-android-driver",
"id": "a3e91594f42368ae16d2fa75de826fff7fe93bcf",
... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route } from 'react-router';
import createHistory from 'history/lib/createBrowserHistory';
import Home from './components/layout/home';
import Install from './components/layout/install';
import Main from './components/layout/main';
const ap... | {
"content_hash": "188cc7bbf6f7ad50bc002254ced025bb",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 61,
"avg_line_length": 26.384615384615383,
"alnum_prop": 0.6865889212827988,
"repo_name": "VACO-GitHub/vaco-components-library",
"id": "ca4db8e245470f820006c12588c6fd4ab530cf... |
Qiita API v2 client for Swift
## Example
```swift
let client = Qiita.Client(accessToken: "...")
// let client = Qiita.Client(accessToken: "...", baseURLString: "http://*.qiita.com/api/v2")
let parameters = ["query": "user:naoty_k"]
let request = client.getItems(parameters: parameters)
request.onComplete { items in
... | {
"content_hash": "56cc18938c70c3831fc57b459403f395",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 92,
"avg_line_length": 28.428571428571427,
"alnum_prop": 0.6750418760469011,
"repo_name": "naoty/qiita-swift",
"id": "6fe2b39981326d92b572a709f26eb09e08226676",
"size": "12... |
package io.druid.query.search.search;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import java.util.Comparator;
/**
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = LexicographicSearchSortSpec.class)
@JsonSubTypes(value = ... | {
"content_hash": "c04318d2bc802984530713755157decd",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 109,
"avg_line_length": 28.8,
"alnum_prop": 0.7760416666666666,
"repo_name": "mangeshpardeshiyahoo/druid",
"id": "c23fc1cf5d62ca5fd5ae77736b78584e5f8343ac",
"size": "1381",... |
package org.apache.geode.internal.cache.execute;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collections;
import jav... | {
"content_hash": "f2c94b0ef9af00c7271a671d00799175",
"timestamp": "",
"source": "github",
"line_count": 1104,
"max_line_length": 127,
"avg_line_length": 37.34057971014493,
"alnum_prop": 0.685207646031438,
"repo_name": "masaki-yamakawa/geode",
"id": "a76a7157b8649c1a2df7a1cfee3c838ab5020cab",
"size"... |
package org.apache.hadoop.yarn.server.nodemanager.containermanager;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.doNothing;
import static org.mockito.Matchers.any;
import static org.mockito.Matchers.anyBoolean;
import static org.mockito.Matchers.any... | {
"content_hash": "aa6d27c84d5086a07634d929b2a9b23b",
"timestamp": "",
"source": "github",
"line_count": 559,
"max_line_length": 106,
"avg_line_length": 42.470483005366724,
"alnum_prop": 0.7465144686407481,
"repo_name": "hopshadoop/hops",
"id": "f5a10feed595657a53f6921727dd64af091bf134",
"size": "24... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using NUnit.Framework;
using NServiceKit.Common;
using NServiceKit.Common.Utils;
using NServiceKit.Html;
using NServiceKit.Markdown;
using NServiceKit.ServiceInterface.Testing;
using NServiceKit.Text;
using NServiceKit.VirtualPath;
usin... | {
"content_hash": "e991375862087e2c783f16944fade595",
"timestamp": "",
"source": "github",
"line_count": 1027,
"max_line_length": 173,
"avg_line_length": 29.515092502434275,
"alnum_prop": 0.608174980205859,
"repo_name": "nataren/NServiceKit",
"id": "14b8c26a30d3148444a2188da0eae7dc8f0595db",
"size":... |
// .NAME vtkGenericEnSightReader - class to read any type of EnSight files
// .SECTION Description
// The class vtkGenericEnSightReader allows the user to read an EnSight data
// set without a priori knowledge of what type of EnSight data set it is.
#ifndef vtkGenericEnSightReader_h
#define vtkGenericEnSightReader_h
... | {
"content_hash": "e75f3378da1201a10d92578c41235d60",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 95,
"avg_line_length": 33.97191011235955,
"alnum_prop": 0.747478088308252,
"repo_name": "keithroe/vtkoptix",
"id": "9b874651b2e5c4bfc19742de457cd42298349de0",
"size": "126... |
package org.apereo.cas.services;
import org.apereo.cas.authentication.principal.Principal;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.val;
import org.apache.commons.io.FileUtils;
import org.apereo.services.persondir.util.CaseCanonicalizationMode;
import org.junit.jupiter.api.Test;
import java.... | {
"content_hash": "bf136ac698c973f187119ecdc7506141",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 134,
"avg_line_length": 36.279411764705884,
"alnum_prop": 0.7397648966355898,
"repo_name": "rrenomeron/cas",
"id": "83a88f7d1b7435e88b72a95f623029e6293c8ad5",
"size": "2467... |
/**
* @class ExtendedLocalStorage
* @description constructor of ExtendedLocalStorage
* @param {String} url your other domain HTML url
*/
var ExtendedLocalStorage = function(url) {
this.__init(url);
};
ExtendedLocalStorage.prototype = {
/**
* @function
* @description initialize ExtendedLocalStora... | {
"content_hash": "01285e23ba40cd5e8943d55f0c6661db",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 65,
"avg_line_length": 29.431578947368422,
"alnum_prop": 0.4905221745350501,
"repo_name": "thujikun/extended-local-storage",
"id": "3aef152417c06199592ae367ddd41b51369f4353"... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Main', '0004_auto_20170903_2029'),
]
operations = [
migrations.RenameField(
model_name='article',
old_name='category_id',
... | {
"content_hash": "623ffa819e933bc929a0fb5621eda97f",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 85,
"avg_line_length": 25,
"alnum_prop": 0.53375,
"repo_name": "Lobo-Prix/Blog",
"id": "be124357e070e6961fbbdc247b6a56c39a22483d",
"size": "873",
"binary": false,
"copi... |
.. _api-transform-index:
:mod:`menpofit.transform`
=========================
Model Driven Transforms
-----------------------
.. toctree::
:maxdepth: 1
OrthoMDTransform
LinearOrthoMDTransform
Homogeneous Transforms
----------------------
.. toctree::
:maxdepth: 1
DifferentiableAffine
Diffe... | {
"content_hash": "0a77ac524fadca1f6b27516bd882522e",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 37,
"avg_line_length": 15.095238095238095,
"alnum_prop": 0.6403785488958991,
"repo_name": "yuxiang-zhou/menpofit",
"id": "1a069fbd0b85ba3718349b6af4ac686616bd4ecc",
"size":... |
/* crypto/asn1/evp_asn1.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commerci... | {
"content_hash": "7aff6e16b778909537165b9a86d612c8",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 80,
"avg_line_length": 34.07936507936508,
"alnum_prop": 0.6784660766961652,
"repo_name": "caidongyun/nginx-openresty-windows",
"id": "443f787ec2e30388b775a1e2cf644ac0c69e751... |
define([
"dojo/_base/declare",
"dojo/Evented",
"dojo/string",
"dojo/_base/lang",
"dojo/_base/array",
"dijit/_WidgetBase",
"dijit/_TemplatedMixin",
"dijit/_WidgetsInTemplateMixin",
"dgrid/Grid",
"application/builder/RefreshMixin",
"dgrid/Selection",
"dgrid/extensions/Pagination",
"dojo/query",
... | {
"content_hash": "719545e8a094ba5f676e4fe07dd826f4",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 126,
"avg_line_length": 33.35964912280702,
"alnum_prop": 0.5270838811464633,
"repo_name": "tpdance/geoform-template-js",
"id": "9475359ce2b585d512ea3578d2ed674b4b6b3477",
... |
<project name="x-sass-impl">
<!--
Uses the compiler to generate the top-level scss file for the app
by using the current set of js files to determine the Components
used by the app, then including the corresponding scss files into the
app's style
-->
<target name="-compile-sass" depend... | {
"content_hash": "f847c714567e1b917a66eda504478e1f",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 111,
"avg_line_length": 41.733668341708544,
"alnum_prop": 0.3872366044551475,
"repo_name": "hpartidas1990/godrive360",
"id": "4f9bceba8389af01c4c52733a2197c5b600c91f2",
"s... |
'use strict';
// Gruntfile.js
module.exports = function (grunt) {
//loads the various task configuration files
require('load-grunt-tasks')(grunt);
// path to tasks and global variables
var options = {
// tasks pasth
config : {
src: "grunt/*.*"
},
pkg : grun... | {
"content_hash": "043801978b2a7ac64c735043e79a5f72",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 134,
"avg_line_length": 29.46875,
"alnum_prop": 0.584305408271474,
"repo_name": "Cloudoki/casperStarter",
"id": "e6b775111b4b2445d98f3df1aaa1b0ce228234a2",
"size": "943",
... |
package lib
import (
"fmt"
"os"
"path"
"github.com/appc/spec/aci"
"github.com/coreos/rkt/pkg/fileutil"
"github.com/coreos/rkt/pkg/user"
)
// CopyToDir will copy all elements specified in the froms slice into the
// directory inside the current ACI specified by the to string.
func (a *ACBuild) CopyToDir(froms [... | {
"content_hash": "1a09f4f44e83174fe7af4d6ae956777f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 77,
"avg_line_length": 21.62162162162162,
"alnum_prop": 0.648125,
"repo_name": "jonboulle/acbuild",
"id": "993d8b95f0e1a7187892ec63c9d91329eef72b7b",
"size": "2194",
"bin... |
@interface XMASObjcMethodDeclarationParameter : NSObject
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithType:(NSString *)type
localName:(NSString *)localName NS_DESIGNATED_INITIALIZER;
@property (nonatomic, readonly) NSString *type;
@property (nona... | {
"content_hash": "8ce31aafbca12f97a0dd426ce7854e9b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 77,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.7554945054945055,
"repo_name": "andymoe/Xcode-Better-Refactor-Tools",
"id": "6ed90486201ee3d7ec44879d2eece71b7ae732... |
package com.pushtorefresh.storio.sqlite.annotations.processor.generate;
import com.pushtorefresh.storio.sqlite.annotations.processor.introspection.StorIOSQLiteTypeMeta;
import com.squareup.javapoet.ClassName;
import com.squareup.javapoet.JavaFile;
import com.squareup.javapoet.MethodSpec;
import com.squareup.javapoet.P... | {
"content_hash": "92c80fc0e5c136e2a68efcb506c61a79",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 174,
"avg_line_length": 51.145161290322584,
"alnum_prop": 0.6814884894355093,
"repo_name": "sylsi/storio",
"id": "0bc564f76df9f091a3d9ba89ba69ad9dda515de1",
"size": "3171",... |
import React, { Component } from "react";
import "../style/app.css";
import Search from "./Search";
import Filters from "./Filters";
import Restaurants from "./Restaurants";
import algoliaSearch from "algoliasearch";
import algoliaSearchHelper from "algoliasearch-helper";
const client = algoliaSearch("L0UMXPISE0", "4d... | {
"content_hash": "a6cab8cf6f2f3453f0fd62298a7b98c7",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 79,
"avg_line_length": 24.875,
"alnum_prop": 0.5742043551088777,
"repo_name": "sohilpandya/alg-t-tst",
"id": "23ddd56da9b966ab27ef1dfad7c783194dc0fd4c",
"size": "2985",
... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">PrivacyDiaryNotMalware</string>
<string name="diary_instructions">Enter text here</string>
<string name="menu_settings">Settings</string>
</resources> | {
"content_hash": "14fd776669fb240f632b381d074d1a77",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 62,
"avg_line_length": 29.875,
"alnum_prop": 0.7071129707112971,
"repo_name": "d9w/6858-android-intents",
"id": "7d13a370d654fcb3a892659bd7f5194f975eaf93",
"size": "239",
... |
DATE=`date +%Y%m%d%H%M%S`
export JBOSS_HOME=${jboss.home}
export SERVER_HOME=${server.home}
export SERVER_NAME=${server.name}
export PARTITION_NAME=${partition.name}
export MULTICAST_ADDR=228.1.4.1
export BIND_ADDR=${bind.address}
export PORT_BINDING=${bind.port}
export JAVA_OPTS="-Dsun.rmi.dgc.client.gcInterval=3600... | {
"content_hash": "aa0b5a3b7a8abc3f9a6df8bbde4be1ba",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 143,
"avg_line_length": 43.97872340425532,
"alnum_prop": 0.7164973391388486,
"repo_name": "OpenSourceConsulting/athena-chameleon",
"id": "e82c705a1ce17758b8b243d2cc47c623f05c... |
Title: Hipster in Japan #1: New beginnings
Date: 2013-12-01
License: CC BY-SA 3.0
Tags: Japan
As I sit on the plane, contemplating the nearly 24 hours of travel ahead of me,
I think back to all the effort it has taken to get here. The numbing hum of the
turbines is blanking my senses as I recall the las... | {
"content_hash": "d1f7349e206af21c2bedbeb115d5981c",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 109,
"avg_line_length": 61.10687022900763,
"alnum_prop": 0.7817613991255465,
"repo_name": "alxbl/segfault.me",
"id": "e86d6049181124f6f3e0b7d05940747bae49fcac",
"size": "8... |
(function () {
'use strict';
function cdApplyForEventCtrl($scope, $window, $state, $stateParams, $translate, $location, $uibModal,
alertService, cdEventsService, cdUsersService, cdDojoService, usSpinnerService, dojoUtils, eventUtils) {
var dojoEvents = $scope.dojoRowIndexExpandedCurr;
var eventIndex = ... | {
"content_hash": "52b8c725f021111a3ac5dadcca9a2419",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 171,
"avg_line_length": 40.180952380952384,
"alnum_prop": 0.592083432092913,
"repo_name": "CoderDojo/cp-zen-platform",
"id": "041318c828759b9fb6a4fd6ff574630b6e1fef46",
"s... |
<?php
/**
* Smarty Internal Plugin Smarty Template Compiler Base
* This file contains the basic classes and methods for compiling Smarty templates with lexer/parser
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Main abstract compiler class
*
* @package Smarty
* @subpackag... | {
"content_hash": "652b01f49245b30e7a76bc6d9fb7587c",
"timestamp": "",
"source": "github",
"line_count": 825,
"max_line_length": 271,
"avg_line_length": 41.67636363636364,
"alnum_prop": 0.5019631794782305,
"repo_name": "sbromfield/kiwipie",
"id": "da4a542d52e3be6f1dd0f1b65c7383f267f18c96",
"size": "... |
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c9f427207ec9102901930d8cd34284d7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 8.692307692307692,
"alnum_prop": 0.6814159292035398,
"repo_name": "mdoering/backbone",
"id": "bca2e11e5786ac1299a74f6bf5af0c5dd33b297a",
"size": "165... |
package org.kuali.rice.kim.web.struts.action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.kuali.rice.core.api.util.RiceConstants;
import org.kuali.rice.kim.service.KIMServiceLocatorInternal;
import org.kuali.rice.... | {
"content_hash": "c2376065bcf7234ab255fd1bc6e58116",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 222,
"avg_line_length": 45.16216216216216,
"alnum_prop": 0.791442250149611,
"repo_name": "ua-eas/ksd-kc5.2.1-rice2.3.6-ua",
"id": "d1ff33b26e4989fed736ca7dba1d02bd2b42b033",
... |
[](https://github.com/quchao/nutshells/) [](https://hub.docker.com/r/nutshells/) [:
... | {
"content_hash": "fca40a8f5b41ba8e005cc3696421927b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 80,
"avg_line_length": 31.432835820895523,
"alnum_prop": 0.6885090218423552,
"repo_name": "klenks/jobsportal",
"id": "51e1d5320108a80d288c258e051fa0aa8c03feb6",
"size": "21... |
package org.kaaproject.examples.storm.storm.server.common;
import org.apache.flume.node.MaterializedConfiguration;
import java.util.Map;
/**
Class for testing
*/
public class MaterializedConfigurationProvider {
public MaterializedConfiguration get(String name, Map<String, String> properties) {
Memory... | {
"content_hash": "f603f1e010d0163a2f666ad1fcd78f89",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 87,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.7520833333333333,
"repo_name": "kaaproject/kaa-storm-sample",
"id": "8d0bbfa6cc305f71f943f6da890338a087cf399f",
"... |
Imports System
Imports System.Collections.Generic
Imports System.Runtime.InteropServices
Namespace Examples
Friend Class Program
<STAThread>
Shared Sub Main(ByVal args() As String)
Dim application As SolidEdgeFramework.Application = Nothing
Dim documents As SolidEdgeFramewo... | {
"content_hash": "fda750b0f8dc5df2a2fb6607678b12a4",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 122,
"avg_line_length": 41.189189189189186,
"alnum_prop": 0.639763779527559,
"repo_name": "SolidEdgeCommunity/docs",
"id": "c25a245f3aa77b5d9818e9d34eb645a9d87adc05",
"size... |
from interviewcake.tree_binary import *
def largest(node):
while node.right:
node = node.right
return node
def second_largest(node):
prev_largest = None
while node:
if node.right:
prev_largest = node
node = node.right
continue
if node.left... | {
"content_hash": "3211e9d36a98179074ec0daf63d50fcd",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 39,
"avg_line_length": 18.62295081967213,
"alnum_prop": 0.4744718309859155,
"repo_name": "JDFagan/InterviewInPython",
"id": "6aa12d5c21bc6ea8f18af872b7501ecf5ba7ec66",
"siz... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FST - Dedi Gun</title>
<meta name="description" content="Keep track of the statistics from Dedi Gun. Average... | {
"content_hash": "8d815deebfb2223477ec712f4536e990",
"timestamp": "",
"source": "github",
"line_count": 284,
"max_line_length": 295,
"avg_line_length": 39.25704225352113,
"alnum_prop": 0.6307292133823661,
"repo_name": "chicofilho/fst",
"id": "a13c7308511752bc9ac0f1ad9a27184c6aac5767",
"size": "1114... |
{% extends "index.html" %}
{% block content %}
<script src="../static/js/filters.core.js"></script>
<script src="../static/js/selectors.core.js"></script>
<div class="container">
{% if not current_user.is_authenticated %}
<div class="row">
<p class="lead text-center" style="color:white">
Your fight his... | {
"content_hash": "4e1e97bfe0b8a8180098682f3c9b40b1",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 117,
"avg_line_length": 41.99052132701422,
"alnum_prop": 0.42844243792325054,
"repo_name": "tydonk/fight_simulator",
"id": "a1bdace9b54a99404af4da0ad4a46c352770b4f0",
"siz... |
(function( window, undefined ) {
// Can't do this because several apps including ASP.NET trace
// the stack via arguments.caller.callee and Firefox dies if
// you try to trace through "use strict" call chains. (#13335)
// Support: Firefox 18+
//"use strict";
var
// A central reference to the root jQuery(document)
r... | {
"content_hash": "a367b13b99bc63fa0a754e328a74aed4",
"timestamp": "",
"source": "github",
"line_count": 5650,
"max_line_length": 189,
"avg_line_length": 27.253097345132744,
"alnum_prop": 0.6121314456422912,
"repo_name": "michaelBenin/jquery-builder",
"id": "08579aa1d391f1276d0a05a29b356aabd16d0b86",
... |
require File.dirname(__FILE__) + '/../../spec_helper'
require File.dirname(__FILE__) + '/fixtures/classes'
describe "Kernel.rand" do
it "is a private method" do
Kernel.private_instance_methods.should include("rand")
end
it "returns a random float less than 1 if no max argument is passed" do
rand.kind_... | {
"content_hash": "2ceac37c0b2dc8a961c8d9e82494dda8",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 110,
"avg_line_length": 28.634146341463413,
"alnum_prop": 0.682282793867121,
"repo_name": "chad/rubinius",
"id": "9c332bf1bc5edc28ea6b57267216f89fd1450268",
"size": "1174",... |
Introduction
============
PyLodge is a framework that integrates the automated tests with Test Lodge. PyLodge is developed to take advantage of
the rich features of Test Lodge. When automated scripts are executed, there should always be a way to precisely
reflect the metrics of the automation scripts . One could eith... | {
"content_hash": "9c9ce632627f1a39053b8e5d3d14e098",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 132,
"avg_line_length": 40.55747126436781,
"alnum_prop": 0.712342355108403,
"repo_name": "gettalent/pylodge",
"id": "9fadc40243de3c267da2e68211c13e5f3dcf4ee9",
"size": "14... |
package com.alexvasilkov.gestures;
import android.graphics.Matrix;
/**
* Represents 2d transformation state
*/
public class State {
public static final float EPSILON = 0.0001f;
private final Matrix matrix = new Matrix();
private final float[] tmp = new float[9];
private float x, y;
private fl... | {
"content_hash": "1e518dd29640d3064afd2c83274b2017",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 98,
"avg_line_length": 27.502487562189053,
"alnum_prop": 0.5524602026049205,
"repo_name": "BubbleOctopus/Album",
"id": "a39b4056fc4c4aedb06d025bf5dd2c3ede50d7ed",
"size": ... |
<?php
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class AppRefreshCommand extends Command {
/**
* The console command name.
*
* @var string
*/
protected $name = 'app:refresh';
/**
* The console command description.
... | {
"content_hash": "d97816b10fdfab175bb76e6b44ce3197",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 108,
"avg_line_length": 15.845070422535212,
"alnum_prop": 0.64,
"repo_name": "dwoodard/MediaCloud",
"id": "5e45851390653c1eba19c2e11baa0f950cbfd948",
"size": "1125",
"bin... |
from collections import OrderedDict
from glob import glob
import os
from agate.table import Table
@classmethod
def from_csv(cls, dir_path, column_names=None, column_types=None, row_names=None, header=True, **kwargs):
"""
Create a new :class:`TableSet` from a directory of CSVs.
See :meth:`.Table.from_csv... | {
"content_hash": "4e61c8298cea88f8e22b1e5ed3a0787e",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 117,
"avg_line_length": 30.17948717948718,
"alnum_prop": 0.6448598130841121,
"repo_name": "flother/agate",
"id": "81af9b490e678ece4bc591534ae7bfd36ae3dc2e",
"size": "1200",... |
package org.hsqldb.test;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
public class TestTextTables extends TestBase {
static String url =
"jdbc:hsqldb:file:/hsql/testtext/test;sql.enforce_strict_size=true";
public TestTextTabl... | {
"content_hash": "0544b4f573d23107998afcc52313aa5f",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 86,
"avg_line_length": 25.05078125,
"alnum_prop": 0.5835022610322782,
"repo_name": "bhargavkumar040/android-source-browsing.platform--external--hsqldb",
"id": "c97565477f7f4... |
package gobblin.converter;
import java.io.IOException;
import org.apache.avro.Schema;
import org.apache.avro.generic.GenericRecord;
import com.google.common.base.Preconditions;
import gobblin.configuration.WorkUnitState;
import gobblin.kafka.schemareg.KafkaSchemaRegistry;
import gobblin.kafka.schemareg.KafkaSchem... | {
"content_hash": "0ba1e598a795147917fd002851070c75",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 111,
"avg_line_length": 33.80327868852459,
"alnum_prop": 0.7778855480116392,
"repo_name": "sahilTakiar/gobblin",
"id": "8465e1787943342582078135d5ed1e9b6fb03ed4",
"size": "... |
from msrest.serialization import Model
from msrest.exceptions import HttpOperationError
class Error(Model):
"""Error.
:param status:
:type status: int
:param message:
:type message: str
:param parent_error:
:type parent_error: :class:`Error
<Fixtures.AcceptanceTestsModelFlattening.mo... | {
"content_hash": "ff98952635120bcf929a7bb372f7fc5b",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 83,
"avg_line_length": 27.92105263157895,
"alnum_prop": 0.6352497643732328,
"repo_name": "tbombach/autorest",
"id": "f4119b0cfaede686ea7bc55626769aa3d516a9b7",
"size": "153... |
layout: base
title: 'Statistics of Voice in UD_English-GUMReddit'
udver: '2'
---
## Treebank Statistics: UD_English-GUMReddit: Features: `Voice`
This feature is universal.
It occurs with 1 different values: `Pass`.
97 tokens (1%) have a non-empty value of `Voice`.
1 types (0) occur at least once with a non-empty va... | {
"content_hash": "9208805b1653eda2cc1f76ea0a44aa28",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 512,
"avg_line_length": 50.80769230769231,
"alnum_prop": 0.6691900075700227,
"repo_name": "UniversalDependencies/docs",
"id": "c57c9876012e36308bfe06bfd9531a9cfaa5986d",
"s... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ef9f169e51ecaff9a11d0b3dfed1006b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "555528662f0d244d77cabeb511b70910e9687262",
"size": "17... |
#pragma once
#include <aws/iotwireless/IoTWireless_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace IoTWireless
{
namespace Model
{
/**
* <p>... | {
"content_hash": "7c87297f14e897b8cd20f1e9a4a6541b",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 107,
"avg_line_length": 24.82857142857143,
"alnum_prop": 0.6835443037974683,
"repo_name": "aws/aws-sdk-cpp",
"id": "304435974a8b4d28650c95056b4f1991212ebdad",
"size": "1857... |
=begin
#EVE Swagger Interface
#An OpenAPI for EVE Online
OpenAPI spec version: 0.4.6.dev11
Generated by: https://github.com/swagger-api/swagger-codegen.git
=end
require 'spec_helper'
require 'json'
require 'date'
# Unit tests for ESIClient::GetOpportunitiesTasksTaskIdInternalServerError
# Automatically generated ... | {
"content_hash": "e31448d84da158143f3ffee8ca632281",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 103,
"avg_line_length": 27.317073170731707,
"alnum_prop": 0.7785714285714286,
"repo_name": "EmberSands/esi_client",
"id": "d3a1ff333555ef208b6bfce585f513bb98f49238",
"size"... |
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Moq;
using AjaxControlToolkit.Reference.Core.Rendering;
namespace AjaxControlToolkit.Tests {
[TestFixture]
public class GitHubDocRendererTests {
Mock<Localization> _moqLocalization = new Mock<Localization>();
IDocRen... | {
"content_hash": "0fa90cd1dc39482e40853856e1362403",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 135,
"avg_line_length": 33.03243243243243,
"alnum_prop": 0.5493372606774669,
"repo_name": "DevExpress/AjaxControlToolkit",
"id": "00b7a87034fa26c92125828a4919d568ffa92a2c",
... |
class AddPurposeColumnToGroup < ActiveRecord::Migration
def change
add_column :groups, :purpose, :string
end
end
| {
"content_hash": "616826cb1177c056b8f36961381dff1e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 55,
"avg_line_length": 24.2,
"alnum_prop": 0.7603305785123967,
"repo_name": "jbarrieault/swear-jar",
"id": "5a480af176edf8c7217edd026a0c1f32feac559e",
"size": "121",
"bina... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_23) on Fri Nov 23 14:03:50 GMT 2012 -->
<TITLE>
Uses of Class org.apache.nutch.scoring.webgraph.NodeDumper.Dumper (apache-nutch 1.6 API)
</TITLE>
<M... | {
"content_hash": "586c5a589b13b1521c3e875a45510bc3",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 244,
"avg_line_length": 42.9375,
"alnum_prop": 0.6166909267345948,
"repo_name": "kkllwww007/anthelion",
"id": "8ca62abf011790c522bf0a655abf9147201769b3",
"size": "6183",
... |
"""
pygments.lexers.textfmts
~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for various text formats.
:copyright: Copyright 2006-2015 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
"""
import re
from pygments.lexer import RegexLexer, bygroups
from pygments.token import Text, Comment... | {
"content_hash": "59e2c24789d707b3e3f986718c5f5b5d",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 89,
"avg_line_length": 36.58108108108108,
"alnum_prop": 0.5026782415958626,
"repo_name": "GarySparrow/mFlaskWeb",
"id": "cab9add544648d63129cb8d0632b7f412caa6712",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.