text stringlengths 2 1.04M | meta dict |
|---|---|
import _plotly_utils.basevalidators
class CminValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name="cmin", parent_name="scatter3d.marker.line", **kwargs
):
super(CminValidator, self).__init__(
plotly_name=plotly_name,
parent_name=pare... | {
"content_hash": "4f3ee75ae931250848b2ed129964fc2b",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 79,
"avg_line_length": 34.92857142857143,
"alnum_prop": 0.5991820040899796,
"repo_name": "plotly/plotly.py",
"id": "41440f586c1018078ab2a1588ff7dbd91f8381f9",
"size": "489"... |
#pragma once
#include <map>
#include <vector>
#include <list>
#include "compound-config/compound-config.hpp"
namespace problem
{
class Shape
{
public:
typedef unsigned FactorizedDimensionID;
unsigned NumFactorizedDimensions = 0;
std::map<FactorizedDimensionID, std::string> FactorizedDimensionIDToName;
... | {
"content_hash": "22782a6234a14a70834a6704146f03ef",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 110,
"avg_line_length": 37.397260273972606,
"alnum_prop": 0.7721611721611722,
"repo_name": "NVlabs/timeloop",
"id": "f78aa6dc1c2e5275e94f758b1f006962e9b78294",
"size": "429... |
@interface TableViewController : UITableViewController
@end
| {
"content_hash": "ba4d6ac2a4b34f7f426b9f678eda61de",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 54,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.8524590163934426,
"repo_name": "yfGit/2017-day-by-day",
"id": "f301c1e32e1a932f01d97fb5d316a40d1c05fba2",
"size": ... |
package org.frikadelki.ash.telegram.api.chat.keyboard;
import com.google.gson.annotations.SerializedName;
import lombok.*;
import java.util.List;
@Builder(builderClassName = "Builder")
@AllArgsConstructor
@RequiredArgsConstructor
public final class TgmReplyKeyboardMarkup {
/**
* Required. Array of button rows... | {
"content_hash": "1a02d7b60ed0bb3072beac5de6c83483",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 116,
"avg_line_length": 36.765957446808514,
"alnum_prop": 0.75,
"repo_name": "frikadelki/telegram-bot-api",
"id": "9d2912369bbd4ffd2ca7c3c12a764289bfcc3393",
"size": "1822"... |
@implementation NSDictionary (SimpleGetters)
- (NSString *) stringForKey: (id) key {
NSString *string = [self objectForKey: key];
if (string == nil) {
return @"";
}
if ([string isKindOfClass: [NSString class]]) {
return string;
}
if ([string isKindOfClass: [NSNumber class]]) {
... | {
"content_hash": "e36c9d124965a089ccf7705196fa9410",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 160,
"avg_line_length": 34.435374149659864,
"alnum_prop": 0.6011457921770051,
"repo_name": "DimaAvvakumov/DMCategories",
"id": "c63df2012687296601dade397f82d3a821897951",
... |
/*
* YtemChangedListener.java
* -- documented
*
* Interface that tells other classes that they should contain an ytemChanged method
*/
package oj.processor.events;
public interface YtemChangedListenerOJ {
public void ytemChanged(YtemChangedEventOJ evt);
}
| {
"content_hash": "4e65ae599158f85ced45dc5ff2953db2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 84,
"avg_line_length": 19.533333333333335,
"alnum_prop": 0.6996587030716723,
"repo_name": "steliann/objectj",
"id": "24a9f1e10ca98b4a77006be4310d8accb57f0b56",
"size": "293... |
/**
* New node file
*/
var fs = require('fs');
function readData(filename, contentType, response)
{
console.log('providing ' + filename);
fs.exists(filename, function(exists) {
if (exists) {
fs.readFile(filename, function(error, data) {
if (!error) {
response.writeHead(200, contentType);
... | {
"content_hash": "95d1a653299d88231f467029f9fa5be3",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 73,
"avg_line_length": 22.644444444444446,
"alnum_prop": 0.5765456329735035,
"repo_name": "thebravoman/software_engineering_2016",
"id": "1bfbaf36dcee1658aa0cedd2cd3a34ac5b45... |
/**
* php-asio/resolver.cpp
*
* @author CismonX<admin@cismon.net>
*/
#include "resolver.hpp"
#include "future.hpp"
namespace asio
{
template <typename Protocol>
zval* resolver<Protocol>::handler(const boost::system::error_code& error,
iterator iter, zval* callback, zval* argument)
{
it... | {
"content_hash": "bdaa4e840ee7293365d6adf1ab752a42",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 85,
"avg_line_length": 30.985714285714284,
"alnum_prop": 0.5919778699861687,
"repo_name": "CismonX/php-asio",
"id": "e7ec6c7abb1ef9dd180a15a037bbafbb3bbb3312",
"size": "216... |
/
} /* UIKit*/
////////////////////////////////////////////////////////////////////////////////////
// ObjectiveC Interop
////////////////////////////////////////////////////////////////////////////////////
UIKIT_XAML_EXPORT IInspectable* XamlCreateTextBox() {
return InspectableFromObject(ref new UIKit::Xaml::Tex... | {
"content_hash": "fc72e066135d21fa274913048985803f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 84,
"avg_line_length": 32.63636363636363,
"alnum_prop": 0.3732590529247911,
"repo_name": "vkvenkat/WinObjC",
"id": "bd2117cafe6b702f9fb13f224e9ea641e8b92161",
"size": "1632... |
/**
*
*/
package hydrograph.engine.core.component.entity.elements;
import java.io.Serializable;
/**
* The Class MapField.
*
* @author Bitwise
*
*/
public class MapField implements Serializable{
private String sourceName;
private String targetName;
private String inSocketId;
/**
* @param sourceName
... | {
"content_hash": "13c0842d8d7849bc9dea31d6267cbf5c",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 72,
"avg_line_length": 17,
"alnum_prop": 0.6882352941176471,
"repo_name": "capitalone/Hydrograph",
"id": "d3c045d3442254f63ce1de655b0ea73a4e986850",
"size": "1618",
"bina... |
package cn.rkang.wxgate.util;
import java.lang.reflect.InvocationTargetException;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import javax.validation.ConstraintViolation;
import javax.validation.Validator;
import javax.validation.groups.Default;
import org.apache... | {
"content_hash": "6df3a6f38877069b26663ce392162d75",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 106,
"avg_line_length": 32.319148936170215,
"alnum_prop": 0.7300855826201448,
"repo_name": "liyingquan/work",
"id": "e32a1ef6a6665214d8d7e28ed55984a915ad6aab",
"size": "329... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6751ab5fe3540d247ceccffe333304ef",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "3e4dbd0999ab5b11204d543b5cd6becaff7f829a",
"size": "177... |
package antw.common.model;
public class Counter {
private int _counter = 0;
public int increment() {
return ++_counter;
}
public int getCounter() {
return _counter;
}
}
| {
"content_hash": "b947707371001f370ec41e3279404e89",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 29,
"avg_line_length": 14,
"alnum_prop": 0.5761904761904761,
"repo_name": "mbauhardt/antw",
"id": "4de86e955fe0b3243f79942fee68207b14e986cc",
"size": "210",
"binary": fal... |
module Examples
class ObjectDefinitions
include JSON::SchemaBuilder
def example
object do
definitions positiveInt: positive_int
entity :one, ref: '#/definitions/positiveInt'
end
end
def positive_int
integer do
minimum 0
exclusive_minimum true
e... | {
"content_hash": "3a4c3abd070e1100f6909a1d1e6b175b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 53,
"avg_line_length": 17.94736842105263,
"alnum_prop": 0.6275659824046921,
"repo_name": "parrish/json-schema_builder",
"id": "03bbdfea1dcfd56848c617215fa3529d270ef5d0",
"s... |
/**
* @fileoverview Utility functions for the toolbox and flyout.
*/
'use strict';
/**
* Utility functions for the toolbox and flyout.
* @namespace Blockly.utils.toolbox
*/
goog.module('Blockly.utils.toolbox');
const Xml = goog.require('Blockly.Xml');
const userAgent = goog.require('Blockly.utils.userAgent');
... | {
"content_hash": "46bea3f0d79de1c3e4a549e37f90d116",
"timestamp": "",
"source": "github",
"line_count": 455,
"max_line_length": 79,
"avg_line_length": 29.923076923076923,
"alnum_prop": 0.6611090708777084,
"repo_name": "mark-friedman/blockly",
"id": "0324c0b29342358a49782f026b5142548327d8c1",
"size"... |
/********************************************************/
/* */
/* Copley Motion Libraries */
/* */
/* Copyright (c) 2002 Copley Controls Corp. */
/* ... | {
"content_hash": "1cb63ef53d5f0aa6445a81113792d29b",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 90,
"avg_line_length": 31.041095890410958,
"alnum_prop": 0.5335392762577229,
"repo_name": "DJGCrusader/ParallelScissorManipulator",
"id": "2347bffabca7a42798255abb70a6c922724... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="ApiGen 2.8.0" />
<title>Class Sensio\Bundle\FrameworkExtraBundle\Tests\Templating\Fixture\FooBundle\Controller\FooController | seip</title>
<script type="text/javascript" src="resour... | {
"content_hash": "dfc32de8ca8d80cac606add217659800",
"timestamp": "",
"source": "github",
"line_count": 3367,
"max_line_length": 698,
"avg_line_length": 46.002079002079,
"alnum_prop": 0.6500203371446649,
"repo_name": "Tecnocreaciones/VzlaGovernmentTemplateDeveloperSeed",
"id": "62f881830e95af9440862b... |
package com.hortonworks.streamline.streams.cluster.service.metadata;
import com.google.common.collect.ImmutableList;
import com.hortonworks.streamline.streams.cluster.service.EnvironmentService;
import org.apache.hadoop.conf.Configuration;
import com.hortonworks.streamline.streams.catalog.exception.ServiceConfigurati... | {
"content_hash": "ce76848a449d39500d5df1e73735912c",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 109,
"avg_line_length": 44.45,
"alnum_prop": 0.7913385826771654,
"repo_name": "hmcl/Streams",
"id": "bbef80da2a7c6e9051b24c5fc964e59d4604a9d2",
"size": "2380",
"binary": ... |
require 'spec_helper'
describe NonRootword do
context 'validations and serializations' do
it { should validate_uniqueness_of(:word) }
it { should validate_presence_of(:word) }
it { should serialize(:usages) }
it { should serialize(:meaning) }
end
context 'associations' do
... | {
"content_hash": "2b41c387f9fa8d74ef14e16c4b27778e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 51,
"avg_line_length": 26.714285714285715,
"alnum_prop": 0.6363636363636364,
"repo_name": "vishnun/etymology",
"id": "59eded36b269e3e0a63a5c320f2338a6bfcc9dfc",
"size": "37... |
import os
import sys
sys.path.insert(0, os.path.abspath('../pycondor'))
sys.path.insert(0, os.path.abspath('_themes'))
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# Add any Sphinx extensio... | {
"content_hash": "9e763bf622b9945f14b791a5f2364c62",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 79,
"avg_line_length": 29.77720207253886,
"alnum_prop": 0.6502523055507221,
"repo_name": "jrbourbeau/pycondor",
"id": "1fc1caadb65792f894ac80ea3f7cb5bed3b2315d",
"size": "... |
package iso20022
// General information about the corporate action event.
type CorporateActionGeneralInformation6 struct {
// Reference assigned by the account servicer to unambiguously identify a corporate action event.
CorporateActionEventIdentification *Max35Text `xml:"CorpActnEvtId"`
// Official and unique re... | {
"content_hash": "934711b8b265dc4e38fb575e5b0e3d16",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 143,
"avg_line_length": 41.857142857142854,
"alnum_prop": 0.8341296928327645,
"repo_name": "fgrid/iso20022",
"id": "0519d958e5ddfd01b43c7019f1cc844bbad028a7",
"size": "1465... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2012-2012 The Novacoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#inclu... | {
"content_hash": "895e63dbe450f4dbe2f3e24ed8738a54",
"timestamp": "",
"source": "github",
"line_count": 1290,
"max_line_length": 159,
"avg_line_length": 35.83410852713178,
"alnum_prop": 0.5844330030718643,
"repo_name": "auscoin/maples",
"id": "a70f2db2b70d8064d3880396272b9f8cc2c13d40",
"size": "462... |
class InxType(InteractionType):
def __init__(self, inx_attr=None):
super().__init__(attr_dict=inx_attrs)
_feature_families = INX_FEATURE_FAMILIES
feature_families = _feature_families
_feature1_key = 'Key1'
_feature2_key = 'Key2'
_feature_types = INX_FEATURE_TYPES
feature_type = _fea... | {
"content_hash": "9b8720b5caa312245b5e9eecdd317b40",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 82,
"avg_line_length": 27.096,
"alnum_prop": 0.5603779155594921,
"repo_name": "salotz/mast",
"id": "3802ecb4296a788e0d3e284c31e74dcc9701f0f8",
"size": "3387",
"binary": ... |
/* eslint-disable */
;(function(root, factory) {
if (typeof define === 'function' && define.amd) { // AMD
define(['Blockly'], factory);
} else if (typeof exports === 'object') { // Node.js
module.exports = factory();
} else { // Browser
var messages = factory();
for (var key in messages) {
r... | {
"content_hash": "6367b2744f2678f2fa67093df22de8e9",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 262,
"avg_line_length": 83.79318181818182,
"alnum_prop": 0.7245653530065909,
"repo_name": "cdnjs/cdnjs",
"id": "c0085f294736c44500e55098ba7323c85cf24edf",
"size": "37517",... |
module Quickblox
module Api
module Authorization
extend self
extend ::Quickblox::Api::RequestHelper
def authorize(options = {})
data = normalize(options)
Connection.connect.post do |request|
request.url '/auth.json'
request.body = "#{data}&signature=#{sig... | {
"content_hash": "084e919c6b30fe8e84f4081bf197b239",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 64,
"avg_line_length": 20.88888888888889,
"alnum_prop": 0.5930851063829787,
"repo_name": "revans/quickblox",
"id": "fa6e21c79374c8477e31e49f1622bc26b1c6b8b3",
"size": "377"... |
<!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_27-ea) on Mon May 14 12:37:34 IST 2012 -->
<TITLE>
URLHelper
</TITLE>
<META NAME="date" CONTENT="2012-05-14">
<LINK REL ="stylesheet" TYPE="text/cs... | {
"content_hash": "7833e1542a2978df6506047ddd213947",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 182,
"avg_line_length": 37.58846153846154,
"alnum_prop": 0.6188478461066202,
"repo_name": "inbloom/datastore-portal",
"id": "8d7abeaaae4a7c276bbb9c3a8767ac6b9a8433a8",
"si... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Mirrored from bvs.wikidot.com/forum/t-863975/retail:truck-loading by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 10 Jul 2... | {
"content_hash": "762aaa2a6b890ad22d904c1618436ce4",
"timestamp": "",
"source": "github",
"line_count": 637,
"max_line_length": 328,
"avg_line_length": 43.98744113029827,
"alnum_prop": 0.5960742326909351,
"repo_name": "tn5421/tn5421.github.io",
"id": "35c5faba19f2fabf8e228c37ed95fe4a63a9d09a",
"siz... |
package net.seiko_comb.combS8214808.joiss2016;
public interface BinaryLearner {
}
| {
"content_hash": "471fe305cb7864f108b5064582add6aa",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 46,
"avg_line_length": 21.75,
"alnum_prop": 0.7816091954022989,
"repo_name": "combS8214808/JOIss2016",
"id": "618e037f5881c1b9c25989dab6e71c623a575129",
"size": "87",
"bin... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "af627bff87f267ace11f64119a234faa",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "7bdfaa675c327a9f524b4f686c703357bdc8c0b5",
"size": "192... |
from rest_framework import serializers
from gameGap.models import Post, Comment
class PostSerializer(serializers.ModelSerializer):
class Meta:
model = Post
class CommentSerializer(serializers.ModelSerializer):
class Meta:
model = Comment | {
"content_hash": "a4b932146bd7651343a8e6e4ad869f4e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 24,
"alnum_prop": 0.7575757575757576,
"repo_name": "chackett87/GameGap",
"id": "2e28ed7eaa566959fdd3e0e21517489905265016",
"size": "264",
"binary":... |
package com.example.chengqi.mycoderepo.widgets;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import com.example.chengqi.mycoderepo.R;
public class CheckBoxActivity extends AppCompatActivity {
... | {
"content_hash": "e35fd5e463f76782f6ce066b87c6ca42",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 88,
"avg_line_length": 32.07142857142857,
"alnum_prop": 0.7126948775055679,
"repo_name": "firstbytegithub/MyCodeRepo",
"id": "5bd2f4c247f2d6fc0fa4aed89ea171843f1b67f7",
"si... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Leptostroma myriospermum C. Massal., 1889
### Remarks
null | {
"content_hash": "95f28ac31e8646a5bafd911403d5a427",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 13.076923076923077,
"alnum_prop": 0.7176470588235294,
"repo_name": "mdoering/backbone",
"id": "a89b433b871e6b2f90432d6605f1955f332bc197",
"size": "23... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Sep 10 11:28:15 PDT 2004 -->
<TITLE>
ChoiceCallback (GNU cryptographic primitives and tools)
</TITLE>
<META NAME="keywords" CONTENT="javax.security.auth... | {
"content_hash": "b4d92b885cb0c34314f09aa77308b363",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 259,
"avg_line_length": 39.29796839729119,
"alnum_prop": 0.643977253144925,
"repo_name": "maddenp/bluebook",
"id": "c955b8be9e788e5adb9d906b9e976d8e6e8037e9",
"size": "174... |
require 'rails/generators'
module WhatsWrong
module Generators
class InstallGenerator < Rails::Generators::Base
def install
create_file("config/initializers/whats_wrong.rb", <<-RUBY)
WhatsWrong.enabled = true
RUBY
end
end
end
end
| {
"content_hash": "b774b99e5ae612bf8fd5307f94cc18fb",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 66,
"avg_line_length": 19.428571428571427,
"alnum_prop": 0.6801470588235294,
"repo_name": "bastengao/whats-wrong",
"id": "3bda82f2d67008cb18ff1a1899e001f5a85504bc",
"size":... |
namespace ChilliSource
{
CS_DEFINE_NAMEDTYPE(HttpRequestSystem);
//-------------------------------------------------------
//-------------------------------------------------------
HttpRequestSystemUPtr HttpRequestSystem::Create()
{
#ifdef CS_TARGETPLATFORM_IOS
return HttpRequestSystemU... | {
"content_hash": "116df9bce87c97e0d6f045d662b34d4f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 104,
"avg_line_length": 39.973684210526315,
"alnum_prop": 0.45687952600395,
"repo_name": "ChilliWorks/ChilliSource",
"id": "cdc9a46f80b2cbd592c49b9bb044ecbbb1e4c0ef",
"size... |
Collaboration folder for creating IR system on social networks with analytics information
This project was done under course requirement "Information retrieval" by "Prof. Rohini Srihari".
The main objective of this project is to implement and evaluate a multi-lingual search system using twitter data.
We named our p... | {
"content_hash": "0dd83ef8deb6b3536488b3b00b3574c8",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 137,
"avg_line_length": 53.43636363636364,
"alnum_prop": 0.7975501871384825,
"repo_name": "jaideepcoder/IR_System",
"id": "426549751b60a14149708d90b4f5f487559c6d33",
"size"... |
package herddb.index.brin;
import herddb.core.Page;
import herddb.core.Page.Metadata;
import herddb.core.PageReplacementPolicy;
import herddb.storage.DataStorageManagerException;
import herddb.utils.EnsureLongIncrementAccumulator;
import herddb.utils.SizeAwareObject;
import java.io.IOException;
import java.util.Abst... | {
"content_hash": "3fdccb371fe27ca6aa97e9ed0edf5f95",
"timestamp": "",
"source": "github",
"line_count": 1164,
"max_line_length": 155,
"avg_line_length": 36.70189003436426,
"alnum_prop": 0.4881205964279862,
"repo_name": "diennea/herddb",
"id": "0c53a148e8a5564a46b46ab5970467b160fde9eb",
"size": "434... |
import {Promise} from 'es6-promise'
import * as fs from 'fs'
import * as path from 'path'
let baseAssetfolder = path.join(__dirname, 'assets');
/**
* Get all the assets in the system
*/
export function getAllAssets(): Promise<Sco.Model.Assets[]> {
return new Promise((resolve, reject) => {
fs.readdir(baseAsset... | {
"content_hash": "1d8020af6f56b71bc6ded8f26eaeb760",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 74,
"avg_line_length": 27.20689655172414,
"alnum_prop": 0.6476552598225602,
"repo_name": "itajaja/sco",
"id": "4d3d4ede0869ed92efb183c68e1cc95205a1f239",
"size": "789",
"... |
<html><body>
<style>
body, h1, h2, h3, div, span, p, pre, a {
margin: 0;
padding: 0;
border: 0;
font-weight: inherit;
font-style: inherit;
font-size: 100%;
font-family: inherit;
vertical-align: baseline;
}
body {
font-size: 13px;
padding: 1em;
}
h1 {
font-size: 26px;
margin-bottom: 1em;
}
h2... | {
"content_hash": "d4d896004de7f39b09e905f8bf067859",
"timestamp": "",
"source": "github",
"line_count": 434,
"max_line_length": 765,
"avg_line_length": 66.71658986175115,
"alnum_prop": 0.7001554135727853,
"repo_name": "googleapis/google-api-python-client",
"id": "8d88639bfb74195bdd9312cec009a89ea62e8... |
'use strict';
const models = require('./index');
/**
* An server Active Directory Administrator.
*
* @extends models['ProxyResource']
*/
class ServerAzureADAdministrator extends models['ProxyResource'] {
/**
* Create a ServerAzureADAdministrator.
* @member {string} login The server administrator login v... | {
"content_hash": "c094be0ea6953a3f8755bf1f6e715180",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 77,
"avg_line_length": 23.43877551020408,
"alnum_prop": 0.48323900740095777,
"repo_name": "lmazuel/azure-sdk-for-node",
"id": "42085b04b868d7e1577b544e4098480eb0d6d067",
"s... |
<?php
namespace Magento\ConfigurableProduct\Block\Adminhtml\Product\Steps;
class AttributeValues extends \Magento\Ui\Block\Component\StepsWizard\StepAbstract
{
/**
* {@inheritdoc}
*/
public function getCaption()
{
return __('Attribute Values');
}
}
| {
"content_hash": "69896a611b200cef79178e1600b2b7e7",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 82,
"avg_line_length": 20.357142857142858,
"alnum_prop": 0.6736842105263158,
"repo_name": "enettolima/magento-training",
"id": "d3b848480c6368c41275e72feb18425d4da2955a",
"... |
package org.trello4j.model;
import java.util.Date;
import java.util.List;
public class Card extends TrelloObject {
// TODO: idChecklists
// TODO: checkItemStates
// TODO: badges
private String name;
private String desc;
private boolean closed;
private Long idShort;
private String idList;
private String idB... | {
"content_hash": "92456b98e45157775f086a39bec319d5",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 59,
"avg_line_length": 15.56020942408377,
"alnum_prop": 0.6729475100942126,
"repo_name": "dtrott/trello4j",
"id": "cd0739402367eb41dfabbdaca8097c898816918c",
"size": "2972... |
from utils.codegen import format_declaration, format_statement, format_expr, format_type, gen_format_type, get_method_call_env
from utils.extern import get_smem_name
from compiler_log_warnings_errors import addError, addWarning
from compiler_common import types, generate_var_name, get_hdrfld_name, unique_everseen
#[ ... | {
"content_hash": "f5018102aaf1a3a709831f10e919f412",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 167,
"avg_line_length": 44.96,
"alnum_prop": 0.6681494661921709,
"repo_name": "P4ELTE/t4p4s",
"id": "fd679f01098c7f449a80e940796540b30094da86",
"size": "1224",
"binary": ... |
#if defined(USE_TI_UIIPADDOCUMENTVIEWER) || defined(USE_TI_UIIOSDOCUMENTVIEWER)
#import "TiUIiOSDocumentViewerProxy.h"
#import "TiUtils.h"
#import "TiBlob.h"
#import "TiApp.h"
#import "TiViewProxy.h"
@implementation TiUIiOSDocumentViewerProxy
-(void)_destroy
{
controller.delegate = nil;
RELEASE_TO_NIL(controller);... | {
"content_hash": "0323af2512c2931d49d42f36944d6a56",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 124,
"avg_line_length": 23.39766081871345,
"alnum_prop": 0.741314671332167,
"repo_name": "Rolflouisdor/2015-03_InfoApp_Louisdor_Rolf",
"id": "67985dd192817242daa83925f7467f7... |
import os
import pysam
import subprocess
from collections import defaultdict, Counter
import glob
import random
import numpy as np
from bx.intervals.intersection import IntervalTree
from athena.mlib import util
from athena.mlib.fq_idx import FastqIndex
# NOTE must be in path
idbabin_path = 'idba_subasm'
SEED_SELF_AS... | {
"content_hash": "233bb7d8e068b2687359d0ef292f8451",
"timestamp": "",
"source": "github",
"line_count": 590,
"max_line_length": 110,
"avg_line_length": 31.498305084745763,
"alnum_prop": 0.5920684459750323,
"repo_name": "abishara/athena_meta",
"id": "43efe7cce8ad2f4c3fd43999c8614adf1b73da1b",
"size"... |
"""
@brief test log(time=0s)
"""
import os
import unittest
from pyquickhelper.loghelper import fLOG
from pyquickhelper.filehelper import explore_folder_iterfile
from pyquickhelper.ipythonhelper import upgrade_notebook, remove_execution_number
class TestConvertNotebooks(unittest.TestCase):
def test_convert_n... | {
"content_hash": "358223c749c81f74dd69c4bb7ab4a7a5",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 81,
"avg_line_length": 31.92105263157895,
"alnum_prop": 0.5696619950535862,
"repo_name": "sdpython/pymyinstall",
"id": "c1a211120595235b1799fb5fb8aa336396b056db",
"size": "... |
// Copyright (c) 2009, Tom Lokovic
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list of co... | {
"content_hash": "fd091107843f00c37a81a77649d05b9f",
"timestamp": "",
"source": "github",
"line_count": 439,
"max_line_length": 99,
"avg_line_length": 37.066059225512525,
"alnum_prop": 0.5338618485742379,
"repo_name": "DigitalPlatform/dp2",
"id": "1ecd28ae5f88db5b788a7e99ba3f295c72b9af96",
"size": ... |
<!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">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<!-- Site Title -->
<title><... | {
"content_hash": "1bdaa05a0c927f77db39ecac8560fea1",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 383,
"avg_line_length": 45.7356608478803,
"alnum_prop": 0.5533260632497273,
"repo_name": "ArmstrongYang/hiShare",
"id": "cd2990ccc7ba8c72ed7e874f83d6843c5ba6dc2c",
"size":... |
require 'rubeus'
module Rubeus
module Util
autoload :JavaMethodName, 'rubeus/util/java_method_name'
autoload :NameAccessArray, 'rubeus/util/name_access_array'
end
end
| {
"content_hash": "32d479fb75489ec1a3ccc6aefc8a788f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 62,
"avg_line_length": 22.5,
"alnum_prop": 0.75,
"repo_name": "akm/rubeus",
"id": "4a82a5afc49c85e7af00fbb5e7b48ab11a32fbe4",
"size": "180",
"binary": false,
"copies": "... |
class ProviderType < ActiveRecord::Base
acts_as_paranoid
has_many :providers
validates_presence_of :name
end
| {
"content_hash": "a87389f5d35ed150d60cc43f6b110a3e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 39,
"avg_line_length": 23,
"alnum_prop": 0.7739130434782608,
"repo_name": "mgurley/inav",
"id": "84e9c43edb7b745e8b1f89d377ae78540af1bf74",
"size": "115",
"binary": false,... |
from django.contrib.sites.managers import CurrentSiteManager as DjangoCSM
from sitesngine.hosts.utils import current_site_id
__author__ = 'fearless' # "from birth till death"
class CurrentSiteManager(DjangoCSM):
"""
Extends Django's site manager to first look up site by ID stored in
the request, the sess... | {
"content_hash": "f97d01adaccf8017cca526c6b7f65588",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 73,
"avg_line_length": 43.08,
"alnum_prop": 0.669452181987001,
"repo_name": "eggforsale/django-sitesngine",
"id": "3805a975c020737425e0b72bd571ef22aa99686d",
"size": "1077"... |
using std::fstream;
using std::nothrow;
using std::string;
using std::vector;
using apache::thrift::transport::TProcessor;
namespace palo {
HeartbeatServer::HeartbeatServer(TMasterInfo* master_info) :
_master_info(master_info),
_epoch(0) {
_olap_rootpath_instance = OLAPRootPath::get_instance();
}
... | {
"content_hash": "253011e509f9d3ef0a10981f3cf0f4a9",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 94,
"avg_line_length": 41.015037593984964,
"alnum_prop": 0.5792850595783685,
"repo_name": "morningman/palo",
"id": "ae5cce5e1ad196fd5601cd713c2cec76cca4c79f",
"size": "633... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="hr-HR">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="14"/>
<source>About Paycoin</source>
<translation type="unfinished">... | {
"content_hash": "c67392d538be7364fdd84d81e13ca710",
"timestamp": "",
"source": "github",
"line_count": 3037,
"max_line_length": 432,
"avg_line_length": 41.00526835693118,
"alnum_prop": 0.6282752362827524,
"repo_name": "coinkeeper/20150416_paycoin_fixes",
"id": "e7d1d1e42ad3d76bb835934aaea1ca24ddf802... |
use pact_matching::models::*;
use pact_matching::models::matchingrules::{MatchingRules, Category};
use std::collections::HashMap;
use prelude::*;
use util::GetDefaulting;
/// Builder for `Response` objects. Normally created via `PactBuilder`.
pub struct ResponseBuilder {
response: Response,
}
impl ResponseBuilde... | {
"content_hash": "7c7a3d826b9810250c73c10000973f41",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 104,
"avg_line_length": 27.179775280898877,
"alnum_prop": 0.5977676725919802,
"repo_name": "AssafKatz3/pact-reference",
"id": "c37c9249aa1c519e7ad65020f206ec54e3e98d6a",
"s... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Comp3427Component } from './comp-3427.component';
describe('Comp3427Component', () => {
let component: Comp3427Component;
let fixture: ComponentFixture<Comp3427Component>;
beforeEach(async(() => {
TestBed.configureTestingM... | {
"content_hash": "213bd09cbc4be04d96edfc5b45501a7c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 73,
"avg_line_length": 23.88888888888889,
"alnum_prop": 0.6744186046511628,
"repo_name": "angular/angular-cli-stress-test",
"id": "bde089737a4c9c2fa798f87ffa84947e414dbe27",
... |
//
// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802
// Vedere <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine.
// Gene... | {
"content_hash": "ade53f88aef8554b1f989ed564899970",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 126,
"avg_line_length": 28.564814814814813,
"alnum_prop": 0.6392220421393842,
"repo_name": "fgaudenzi/testManager",
"id": "c4a8633d591dff5ffedb99f67a15ec448233ab66",
"size... |
#ifndef WebIDBKey_h
#define WebIDBKey_h
#include "WebCommon.h"
#include "WebData.h"
#include "WebIDBTypes.h"
#include "WebPrivatePtr.h"
#include "WebString.h"
#include "WebVector.h"
namespace WebCore { class IDBKey; }
namespace blink {
class WebIDBKey {
public:
// Please use one of the factory methods. This i... | {
"content_hash": "605ab1b587aa60f8208fd4280d686788",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 85,
"avg_line_length": 31.529411764705884,
"alnum_prop": 0.7159514925373134,
"repo_name": "lordmos/blink",
"id": "b76d49087a0729fb17a1c97467f55bbb2cbc0cd8",
"size": "3492",... |
<?php
namespace Drupal\Core\Menu;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Cache\CacheCollector;
use Drupal\Core\Lock\LockBackendInterface;
use Drupal\Core\Routing\RouteMatchInterface;
/**
* Provides the default implementation of the active menu trail service.
*
* It uses the current route nam... | {
"content_hash": "413fd30219d46dbf3e4b2709d86dc35a",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 168,
"avg_line_length": 31.776223776223777,
"alnum_prop": 0.6685739436619719,
"repo_name": "MGApcDev/MGApcDevCom",
"id": "b99a0e48c316dc114eefdb6eed513441159f441f",
"size"... |
FROM node:6
ENV INSTALL_TARGET=cloud
# Copy everything (excluding what's in .dockerignore) into an empty dir
COPY . /home
WORKDIR /home
# This installs global dependencies, then in the postinstall script, runs lerna
# bootstrap to install and link cloud-api, cloud-core, and cloud-workers.
# We need the --unsafe-perm ... | {
"content_hash": "eaad62e91846f2f3d4fe289689666bd1",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 88,
"avg_line_length": 38.22727272727273,
"alnum_prop": 0.7847800237812128,
"repo_name": "nylas/nylas-mail",
"id": "e1ae9ecdf31a06ccb880cd83b03ba857bc56b5c7",
"size": "1105... |
package com.bricechou.weiboclient.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.bricechou.weiboclient.R;
import com.bricechou.weiboclient.api.LoginAuthListener;
import com.bricechou.weiboclient.config.... | {
"content_hash": "6632ce7fed50cd680cae17af91458b5b",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 99,
"avg_line_length": 37.09090909090909,
"alnum_prop": 0.6586134453781513,
"repo_name": "BriceChou/WeiboClient",
"id": "ad46f58e4e72ddde5272b9b982cc82db09e1221d",
"size": ... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="lang... | {
"content_hash": "d60837890dfc206bcbe8411b87cb332d",
"timestamp": "",
"source": "github",
"line_count": 410,
"max_line_length": 999,
"avg_line_length": 42.59512195121951,
"alnum_prop": 0.6075355016032982,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "65984b80368eaeeedd8a9a4a360616d4de9040d... |
package com.fullcontact.sstable.index;
import org.apache.hadoop.io.Writable;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
public class LongWritablePair implements Writable {
private long l1;
private long l2;
public LongWritablePair() {
}
public LongWritableP... | {
"content_hash": "624e428d585127b0bf7fe5f10242b51c",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 68,
"avg_line_length": 20.510204081632654,
"alnum_prop": 0.5870646766169154,
"repo_name": "fullcontact/hadoop-sstable",
"id": "db6335e7e84d07f5b2b71d59f84a2adaa1f66dd8",
"s... |
package gov.nasa.arc.spife.ui;
import org.eclipse.core.runtime.Plugin;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
public class Activator extends AbstractUIPlugin {
public static final String PLUGIN_ID = "gov.nasa.arc.spife.ui";
private static Activator plugin;
publi... | {
"content_hash": "464e12bb9e1418a1f40ac1bdd9c8026d",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 64,
"avg_line_length": 19.84375,
"alnum_prop": 0.7464566929133858,
"repo_name": "nasa/OpenSPIFe",
"id": "131db1d2af4bdbe8397e95e243a8dba67f50ff00",
"size": "1515",
"binar... |
@class NSString, UISearchBar, UISearchDisplayController;
@interface MMSearchBarDisplayController : MMUIViewController <UISearchDisplayDelegate, UISearchBarDelegate>
{
long long m_statusBarStyle;
UISearchBar *m_searchBar;
UISearchDisplayController *m_searchDisplayController;
}
@property(retain, nonatomic) ... | {
"content_hash": "87787c2e3805614ccd6a1a4a6dbcf217",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 146,
"avg_line_length": 46.92156862745098,
"alnum_prop": 0.8094442122858336,
"repo_name": "walkdianzi/DashengHook",
"id": "71641eae1ed0d7d728668ec26ee2ed24dd4868b9",
"size"... |
package dockertools
import (
"fmt"
"math/rand"
"net/http"
"path"
"strconv"
"strings"
"github.com/docker/docker/pkg/jsonmessage"
"github.com/docker/docker/pkg/parsers"
docker "github.com/fsouza/go-dockerclient"
"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/credentialprovider... | {
"content_hash": "7e2a07fa1ab19610b048dabeb9a17e1a",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 139,
"avg_line_length": 33.096952908587255,
"alnum_prop": 0.7345162370271175,
"repo_name": "ejemba/kubernetes",
"id": "7e194274e2bd8b17be3fa00521c8448a5c9c18fe",
"size": "... |
package jp.ac.nii.prl.mape.monitoring.service;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.PostConstruct;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.amazonaws.regions.Region;
import com.amazonaws.services.ec... | {
"content_hash": "2623af62ec86ddc53de41ba433702b3f",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 93,
"avg_line_length": 30.5,
"alnum_prop": 0.7855191256830601,
"repo_name": "prl-tokyo/MAPE-monitoring-service",
"id": "9c8e919c0252297cbdad15f1102e91a43baf1c68",
"size": "... |
from __future__ import absolute_import, division, print_function, unicode_literals
from builtins import open
from textwrap import dedent
from pants.base.build_file import BuildFile
from pants.base.file_system_project_tree import FileSystemProjectTree
from pants.build_graph.address import Address
from pants_test.test_... | {
"content_hash": "afa4925dbb466b7f437fd46f248fa1d3",
"timestamp": "",
"source": "github",
"line_count": 381,
"max_line_length": 92,
"avg_line_length": 27.813648293963254,
"alnum_prop": 0.5451542889497027,
"repo_name": "twitter/pants",
"id": "491ff3450568ba04d382080834379284820e5739",
"size": "10744... |
@interface PodsDummy_Fingertips : NSObject
@end
@implementation PodsDummy_Fingertips
@end
| {
"content_hash": "5d5855bccffe922a230cc0cd3c6d149a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 42,
"avg_line_length": 22.5,
"alnum_prop": 0.8333333333333334,
"repo_name": "ludawei/TestIOSLibs",
"id": "185ec8f6ae5e031366e3cc3e60dfb017eb3bcb2c",
"size": "124",
"binary... |
local utils = require "environ.utils"
local reg = require "environ.win32.reg"
local core = require "environ.core"
local function get_env_type(value)
if nil ~= string.find(value, '%', 1, true) then
return reg.EXPAND_SZ
end
return reg.SZ
end
---
-- Environment function
--
local PATHS = {
user = [[HK... | {
"content_hash": "f2680a4c54887cc24b88b88265ee4247",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 98,
"avg_line_length": 23.069767441860463,
"alnum_prop": 0.6643145161290323,
"repo_name": "moteus/lua-environ",
"id": "96a30880e4baf084573203088d66855482f6dfc0",
"size": "2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Microsoft.USD.ComponentLibrary
{
public sealed class OnVisibleEventArgs : EventArgs
{
// Fields
internal bool _Visible;
// Properties
public bool Visible
{
get
... | {
"content_hash": "1b32e38e75286ba8e7caef3ff340902f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 54,
"avg_line_length": 17.52173913043478,
"alnum_prop": 0.5533498759305211,
"repo_name": "jaymepechan/USDComponentLibrary",
"id": "8257150b437f56ed7a48d2ad692ec895a86fee05",
... |
package org.apache.flink.runtime.webmonitor.handlers;
import org.apache.flink.configuration.Configuration;
import org.apache.flink.runtime.jobgraph.jsonplan.JsonPlanGenerator;
import org.apache.flink.runtime.rest.handler.HandlerRequest;
import org.apache.flink.runtime.rest.messages.JobPlanInfo;
import org.apache.fli... | {
"content_hash": "66e5575aa5da37d78144feb02ff8eb6c",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 120,
"avg_line_length": 36.12,
"alnum_prop": 0.8034330011074197,
"repo_name": "mylog00/flink",
"id": "1e496bff897206ffca76cf398e935e1dae1eae11",
"size": "4417",
"binary"... |
.myTable{
width: 100%;
font-size: 130%;
border: 1px solid #f8fdfb;
}
.myTable tr:nth-child(odd){
background-color: #ffffff;
}
.myTable tr:nth-child(even){
background-color: #f8fdfb;
}
.myTable td:nth-child(odd) {
width: 5%;
}
.myTable td:nth-child(even) {
width: 95%;
}
.myTable td{
bor... | {
"content_hash": "a776c7905ff8c3cd6680e1bd1cc26ec8",
"timestamp": "",
"source": "github",
"line_count": 538,
"max_line_length": 130,
"avg_line_length": 25.343866171003718,
"alnum_prop": 0.6767143381004768,
"repo_name": "HoaNP/talent_pool",
"id": "72ac090152810e01053cef171bdbfcfc9267252c",
"size": "... |
import {Destination, DestinationOrigin, NativeLayerCrosImpl, PrinterStatusReason, PrinterStatusSeverity, PrintPreviewDestinationListItemElement} from 'chrome://print/print_preview.js';
import {assert} from 'chrome://resources/js/assert.m.js';
import {flush} from 'chrome://resources/polymer/v3_0/polymer/polymer_bundled.... | {
"content_hash": "9f906e1c9984e09710fbbbebc98e653a",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 184,
"avg_line_length": 37.5886524822695,
"alnum_prop": 0.6916981132075471,
"repo_name": "nwjs/chromium.src",
"id": "a3e896250729151e9994fa83c2d55bc3701141af",
"size": "54... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "85b81ac0cd40dbefd8307b5dca72baf5",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.7796610169491526,
"repo_name": "felipejfc/owl",
"id": "b3a3e0cd4170bf1ad01eeb640988c2af93555103",
"size": "287",
... |
module Approved
module Authentication
# 認証処理
def judgment(url, user_id = nil)
judg = false
if user_id.present?
role_users = Approved::RoleAndUser.where(user_id: user_id).load
role_users.each do |i|
judg = select_role(i.role, url)
end
else
role = Appr... | {
"content_hash": "bd4699bb33a4245c5a244c265206cf84",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 71,
"avg_line_length": 22.666666666666668,
"alnum_prop": 0.5067873303167421,
"repo_name": "takahiron/Approved",
"id": "12d7958919860e7de644839da69ee773c99542c7",
"size": "8... |
/* 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
* distributed... | {
"content_hash": "7d92ff6a0359bd58292f39483a31d117",
"timestamp": "",
"source": "github",
"line_count": 622,
"max_line_length": 196,
"avg_line_length": 40.51768488745981,
"alnum_prop": 0.6445520196809778,
"repo_name": "yvoswillens/flowable-engine",
"id": "7316041dd98e4ecf59e4aa7a4d40ad2fd17bb911",
... |
.. _admin_configure_synerty_peek:
Configuring Platform :file:`config.json`
----------------------------------------
Update config.json files. This tells the peek platform services how to connect to each
other, connect to the database, which plugins to load, etc.
.. note:: Running the services of Peek will automatica... | {
"content_hash": "c290080219e1a5f66a8f61ea90655cb8",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 101,
"avg_line_length": 24.45,
"alnum_prop": 0.6059986366734833,
"repo_name": "Synerty/synerty-peek",
"id": "c79ecd729ad6b32c4a77baeacecb705088479be2",
"size": "4402",
"... |
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="xeBuz">
<meta name="description" content="Personal Website">
<meta name="genera... | {
"content_hash": "3c470fbdfe385f8504506449d5ee6e4e",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 275,
"avg_line_length": 33.76,
"alnum_prop": 0.6244075829383886,
"repo_name": "xeBuz/blog",
"id": "83e840b6065133fd7d897257f75e9c3b82716838",
"size": "2535",
"binary": fa... |
class AP_MotorsTri : public AP_Motors {
public:
/// Constructor
AP_MotorsTri(RC_Channel& rc_roll, RC_Channel& rc_pitch, RC_Channel& rc_throttle, RC_Channel& rc_yaw, RC_Channel& rc_tail, uint16_t loop_rate, uint16_t speed_hz = AP_MOTORS_SPEED_DEFAULT) :
AP_Motors(rc_roll, rc_pitch, rc_throttle, rc_yaw, ... | {
"content_hash": "17d1a3aa5abe4e48a8c377d700f9291e",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 192,
"avg_line_length": 41.575,
"alnum_prop": 0.6380036079374625,
"repo_name": "Yndal/ArduPilot-SensorPlatform",
"id": "9ec9a0cedd5bd75b8df7e6aa165e344844184646",
"size": "... |
<?php
/**
* Created by PhpStorm.
* User: KRONOS
* Date: 3/5/2017
* Time: 01:33
*/
namespace app\models;
use app\components\Constants;
use app\modules\user\models\AuthenticationModel;
use app\modules\user\models\ProfileModel;
use yii\web\IdentityInterface;
class LoginModel extends AuthenticationModel implements... | {
"content_hash": "62136fa6b61fe363cf413344c85ba34c",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 100,
"avg_line_length": 21.70394736842105,
"alnum_prop": 0.5689602909972719,
"repo_name": "fatelord/esda-portal",
"id": "ca67579f9f1fbafde32fbd32577c5ee354cf3c1a",
"size":... |
require('coffee-script/register');
module.exports = require('./src/configuration-generator');
| {
"content_hash": "2d796d16b91093e9867e8f8428952165",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 58,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.7578947368421053,
"repo_name": "octoblu/nanocyte-configuration-generator",
"id": "82aa77c295780716957f567b894d3f917a... |
<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution PIVersion="1.0.0.0" href="http://devinfo/sites/sdk/netengdt/NetEngDtSample/Forms/template.xsn" language="en-us" name="urn:schemas-microsoft-com:office:infopath:NETEngDtSample:" solutionVersion="9.4.0.667" productVersion="11.0.8034" ?><?mso-application progid=... | {
"content_hash": "763f6c62889abbf61f21ee88d375a6f0",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 602,
"avg_line_length": 38.909604519774014,
"alnum_prop": 0.661826629882387,
"repo_name": "Esri/arcobjects-sdk-community-samples",
"id": "335eab6d04cb58cebdce213446ae0345979... |
<div class="commune_descr limited">
<p>
Caubon-Saint-Sauveur est
un village
géographiquement positionné dans le département de Lot-et-Garonne en Aquitaine. Elle comptait 235 habitants en 2008.</p>
<p>Le parc d'habitations, à Caubon-Saint-Sauveur, était réparti en 2011 en un appartements et 123 maisons s... | {
"content_hash": "f633dc495c827f28a8886917b897156c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 148,
"avg_line_length": 80.41176470588235,
"alnum_prop": 0.7439648866130212,
"repo_name": "donaldinou/frontend",
"id": "a2d50494b22d4c835c790dbe40329012705df0df",
"size": "... |
package com.elphin.framework.util.date;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.*;
/**
Building block class for an immutable date-time, with no time zone.
<P>
This class is provided as an alternative to jav... | {
"content_hash": "0717c6bfb2996ffd81e0802314483060",
"timestamp": "",
"source": "github",
"line_count": 1566,
"max_line_length": 194,
"avg_line_length": 40.68582375478927,
"alnum_prop": 0.678061336597922,
"repo_name": "elphinkuo/lightDroid",
"id": "2d91d03ff0a75eacbd5250f908288108e10b57c9",
"size":... |
package java.io;
/**
* Signals that an attempt to open the file denoted by a specified pathname
* has failed.
*
* <p> This exception will be thrown by the {@link FileInputStream}, {@link
* FileOutputStream}, and {@link RandomAccessFile} constructors when a file
* with the specified pathname does not exist. I... | {
"content_hash": "deb25765b4f31b554beefb0f81490ef4",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 79,
"avg_line_length": 31.1864406779661,
"alnum_prop": 0.6440217391304348,
"repo_name": "ArcherSys/ArcherSys",
"id": "278fa1d4f74d3e6046aef406a81144ed61623939",
"size": "30... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
<OptionsSetting value="true" id="Add" />
<OptionsSetting value="true" id="Remove" />
<OptionsSetting value="true" id="Checkout" />
<OptionsSetting value="true" id="Upda... | {
"content_hash": "a412355b7e2abb7b2aa8a3063778f146",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 161,
"avg_line_length": 37.473684210526315,
"alnum_prop": 0.625,
"repo_name": "prt2121/gradle-exercise",
"id": "10e38f88fc633e3e490e82b88bde4897d76f4a55",
"size": "1424",
... |
@interface TTColorViewController : UIViewController
@property (strong, nonatomic) IBOutlet UILabel * colorLabel;
@property (nonatomic) TTColor * color;
- (instancetype)initWithColor:(TTColor *)color;
@end
| {
"content_hash": "88d8a212d3b970437583696dcf737b27",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 60,
"avg_line_length": 26,
"alnum_prop": 0.7836538461538461,
"repo_name": "chefnobody/Colors",
"id": "5fb4b3cb2ae16d9689716f7cd88677a1bdf059bb",
"size": "407",
"binary": f... |
"""AutomaBot package."""
import sys
if sys.version_info < (3, 6):
raise ImportError("automabot requires Python 3.6+ because f-str/asyncio. "
"<3")
| {
"content_hash": "73b590c9d7451acb608133bc7bbd2384",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 78,
"avg_line_length": 22,
"alnum_prop": 0.5852272727272727,
"repo_name": "WyllVern/AutomaBot",
"id": "13291138abfe7fbb719a038d6ebeeb1b034477a0",
"size": "176",
"binary": ... |
<?php
namespace Magento\Bundle\Model\Product;
/**
* @magentoDataFixture Magento/Bundle/_files/product_with_tier_pricing.php
*/
class PriceTest extends \PHPUnit_Framework_TestCase
{
/**
* @var \Magento\Bundle\Model\Product\Price
*/
protected $_model;
protected function setUp()
{
$t... | {
"content_hash": "a7c1d95e29f27a07b9e15da501666c2d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 92,
"avg_line_length": 31.89189189189189,
"alnum_prop": 0.6338983050847458,
"repo_name": "webadvancedservicescom/magento",
"id": "d218cb5237a055337f75beb2934b4ae44a370649",
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Valsa coenobitica f. parvula Sacc.
### Remarks
null | {
"content_hash": "63d7afbeed8360583e8271f298387907",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 34,
"avg_line_length": 10.692307692307692,
"alnum_prop": 0.7050359712230215,
"repo_name": "mdoering/backbone",
"id": "6df63684455d61ede44446258a8fb0ac5f9d3777",
"size": "19... |
from django.test import TestCase
from ratings.models import Media
from ratings.tests.factories import MediaFactory
class MediaTestCase(TestCase):
"""Test basic Media class behavior"""
def test_create_media(self):
"""You should be able to create a Media record"""
# Create a Media object & assoc... | {
"content_hash": "7a7632d03d07cd5c5a694660d51c9a1a",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 77,
"avg_line_length": 34.205882352941174,
"alnum_prop": 0.641444539982803,
"repo_name": "daltonamitchell/rating-dashboard",
"id": "70f2d8afdfe097ac75553347761c329e44231e40",... |
SYNONYM
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6198df420fb5bba64ff48169ac1d9360",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.846153846153847,
"alnum_prop": 0.7163120567375887,
"repo_name": "mdoering/backbone",
"id": "ef92948d9b6d48ee046329dd66fb89ee6947ae45",
"size": "17... |
from __future__ import print_function
import RPi.GPIO as GPIO
import time, threading
try:
#python3
import tkinter
except ImportError:
#python2
import Tkinter as tkinter
#------------------------------------------------------------------------
# using an list to hold the gpio numbers
gpioList = [11, 12, ... | {
"content_hash": "4b1dffad95302dfcddc3d3d862c01769",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 105,
"avg_line_length": 30.823529411764707,
"alnum_prop": 0.6038167938931298,
"repo_name": "meigrafd/Sample-Code",
"id": "c20b2534d4660cb4e99613ca393e4bcc3f587a90",
"size":... |
require 'spec_helper'
describe Tempo::Context do
let(:resource) { double(:title => 'Demo', :content => 'Demo Content') }
let(:context) do
Class.new(Tempo::Context).tap do |klass|
klass.allows :title
end
end
subject { context.new(resource) }
describe '#initialize' do
it 'should accept a ... | {
"content_hash": "446379420a26eff0b7b0321a54cafe90",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 76,
"avg_line_length": 24.34328358208955,
"alnum_prop": 0.6425505824647455,
"repo_name": "benedikt/tempo",
"id": "9346dbe60594d30a8a21cfdd94d281fdf9d311bf",
"size": "1631",... |
package me.bianbian.worldclock.webapp.controller;
import org.appfuse.Constants;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org... | {
"content_hash": "46b9b63c0e9b42afc994317ee93815da",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 118,
"avg_line_length": 34.41284403669725,
"alnum_prop": 0.6638229805385231,
"repo_name": "bianbian/worldclock",
"id": "4eed06dd3900007bb41190f752cc836c9ba1c9c0",
"size": ... |
package leakybuf
type LeakyBuf struct {
bufSize int // size of each buffer
freeList chan []byte
}
// NewLeakyBuf creates a leaky buffer which can hold at most n buffer, each
// with bufSize bytes.
func NewLeakyBuf(n, bufSize int) *LeakyBuf {
return &LeakyBuf{
bufSize: bufSize,
freeList: make(chan []byte, n),... | {
"content_hash": "a4c917256ae12c66a4a5afeec864cfd5",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 78,
"avg_line_length": 23.304347826086957,
"alnum_prop": 0.6856343283582089,
"repo_name": "chinaboard/coral",
"id": "096c9cb42daf2d4cc697e8083f679a67e474e86c",
"size": "113... |
cask 'xdm' do
version '7.2.7'
sha256 'b28d3aac96fe9a2ce161bdd4462fe270eac3dd3ce91828f0e308b9d77aa811b4'
# downloads.sourceforge.net/xdman/ was verified as official when first introduced to the cask
url 'https://downloads.sourceforge.net/xdman/xdm-setup.dmg'
appcast 'https://sourceforge.net/projects/xdman/rss... | {
"content_hash": "b42f838725f6cffc5297f5095628a8bc",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 95,
"avg_line_length": 33.27272727272727,
"alnum_prop": 0.6079234972677595,
"repo_name": "morganestes/homebrew-cask",
"id": "81c065b532bd4d01118198ddd732e7b8c2931077",
"siz... |
import createRouter from 'sharp-router';
const router = createRouter({
'/': 'Gremlint - Query formatter',
'/style-guide': 'Gremlint - Style guide',
});
export default router;
| {
"content_hash": "3b202c68d07f1046ff7564bab144cef7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 43,
"avg_line_length": 18.3,
"alnum_prop": 0.6830601092896175,
"repo_name": "apache/tinkerpop",
"id": "29e47d5818446bce336b773c769acf8d06946147",
"size": "989",
"binary":... |
from page_sets.system_health import platforms
from page_sets.system_health import story_tags
from page_sets.system_health import system_health_story
LONG_TEXT = """Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla
suscipit enim ut nunc vestibulum, vitae porta dui eleifend. Donec
condimentum ante malesuad... | {
"content_hash": "097c9e7ccf841cff7fdf7ade16aa55e3",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 96,
"avg_line_length": 40.723684210526315,
"alnum_prop": 0.7411954765751212,
"repo_name": "chromium/chromium",
"id": "a21c32ee25a0422f75f117f7fce949f8310b7ab6",
"size": "32... |
<?php
namespace Common\UserBundle\Repository;
use Backend\UserBundle\Security\Clusterpoint\User;
use Common\AppBundle\Repository\ClusterpointRepository;
class UserRepository extends ClusterpointRepository {
protected $passwordEncoder;
public function __construct(\CPS_Connection $connection, $passwordEncoder)
{
... | {
"content_hash": "7cd4b828dbdeab78dbebbfc230a543ee",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 78,
"avg_line_length": 20.852459016393443,
"alnum_prop": 0.6658805031446541,
"repo_name": "inwhite/deino",
"id": "2518feeb27b5907750ad3d11a6a6c00228751bf7",
"size": "1272",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.