text stringlengths 2 1.04M | meta dict |
|---|---|
utils.extend(CanvasRenderingContext2D.prototype, {
fillOverlapText:function(text, x, y, hook) {
var canvas = this;
var width = this.measureText(text).width;
var height = parseInt(/^(\d*)px.*$/i.exec(this.font)[1]);
if(hook !== undefined) {
hook.call(this, x, y, width, height);
}
this.... | {
"content_hash": "cfdf9300970788f537cd52a2f852de1c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 80,
"avg_line_length": 30.083333333333332,
"alnum_prop": 0.6218836565096952,
"repo_name": "jtkDvlp/patternGen",
"id": "dc84605296109ae39dc59764b701e1d10bc656ab",
"size": "7... |
declare namespace Jymfony.Component.DateTime.Exception {
export class UnknownTimeZoneException extends global.Exception {
}
}
| {
"content_hash": "9923fb6fef082974ac5b981a622c4e5e",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 68,
"avg_line_length": 33.5,
"alnum_prop": 0.7910447761194029,
"repo_name": "jymfony/jymfony",
"id": "fde91d0f3585ecd5e5e5692c8d88c6065380f4a5",
"size": "134",
"binary": f... |
<!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_20) on Thu Feb 24 01:10:10 PST 2011 -->
<TITLE>
Uses of Class org.apache.hadoop.io.compress.CompressorStream (Hadoop 0.20.2-cdh3u0-SNAPSHOT API)
</TI... | {
"content_hash": "24e095bfffa14e9553e469282931ba81",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 377,
"avg_line_length": 48.19024390243902,
"alnum_prop": 0.6418665856868104,
"repo_name": "simplegeo/hadoop",
"id": "2f10786bc10e03ec21ff0e3932d189a87a1bd649",
"size": "98... |
a, .outline-btn, .btn-link, .owl-nav > div:hover:after,
header .navbar-default .navbar-nav li.active a, header .navbar-default .navbar-nav li.active a:hover, header .navbar-default .navbar-nav li.active a:focus,
header #navigation .navbar-default .navbar-nav li ul.sub-menu li a:hover, header #navigation .navbar-def... | {
"content_hash": "17a944c9007c040f03df4d5d4fdefde0",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 441,
"avg_line_length": 77.23529411764706,
"alnum_prop": 0.7090632140137091,
"repo_name": "MikeLockz/safe-exchange",
"id": "3d9f975394b17a0207fe7e40a8cc20d7e053912e",
"size... |
import React from 'react';
import ReactDOM from 'react-dom';
import { Router, Route, Link, hashHistory } from 'react-router'
import App from './App';
import Repo from './RepoPanel';
import RepoOps from './RepoOps';
import CommitTree from './CommitTreePanel';
import StagingArea from './StagingAreaPanel';
const Routes ... | {
"content_hash": "65bb7a76b9bc007cf4e8268bf036d83c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 69,
"avg_line_length": 27.48148148148148,
"alnum_prop": 0.6671159029649596,
"repo_name": "cynicaldevil/gitrobotic",
"id": "422b8b7d839700d4678fa458ff92b1be61852621",
"size"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Trees shrubs Japan ed. 2:665, fig. 300. 1927
#### Original name
null
### Remarks
null | {
"content_hash": "b8b002631eca0c02322a23f9768b365e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 44,
"avg_line_length": 13.384615384615385,
"alnum_prop": 0.6954022988505747,
"repo_name": "mdoering/backbone",
"id": "8d719e325608da575eba537873ea6341a2e0c0be",
"size": "24... |
<?php
namespace Zilf\Console;
use Illuminate\Console\GeneratorCommand;
use Illuminate\Support\Str;
use Symfony\Component\Console\Input\InputOption;
class PolicyMakeCommand extends GeneratorCommand
{
/**
* The console command name.
*
* @var string
*/
protected $name = 'make:policy';
/... | {
"content_hash": "91cb281cb79d5a082b611e1147a0c178",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 106,
"avg_line_length": 23.805555555555557,
"alnum_prop": 0.5396732788798133,
"repo_name": "txj123/zilf",
"id": "79d60e68f3444fd5e55876a92f650fc932bf39e8",
"size": "3428",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1146a1253f781b837b3980ce276eac5b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f7079b005b26ad2c83a69068c39e61622341f017",
"size": "190... |
package com.advancedpwr.record;
public interface ObjectRecorder
{
public abstract <T> T record( T inObject );
} | {
"content_hash": "9144eff296a86bc7bdcfb4b87156153f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 44,
"avg_line_length": 11.8,
"alnum_prop": 0.7372881355932204,
"repo_name": "hani/jtor",
"id": "4267e3a0d38100d1e817915f88fea64d9ff54d74",
"size": "741",
"binary": false,... |
"""
A simple gauge with a label that is suitable for use in places like a
status bar. It can be used in either an automatic indeterminant
(pulse) mode or in determinante mode where the programmer will need to
update the position of the progress bar. The indicator can be set to
hide itself when it is not active... | {
"content_hash": "fc97d47278b3e12da3b310c57aba158c",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 78,
"avg_line_length": 30.382978723404257,
"alnum_prop": 0.4992997198879552,
"repo_name": "ktan2020/legacy-automation",
"id": "30ab13edf8c885d1e41419bc99095d636bf9aa92",
"... |
[javascript-redux-generating-containers-with-connect-from-react-redux-visibletodolist](https://egghead.io/lessons/javascript-redux-generating-containers-with-connect-from-react-redux-visibletodolist)
### note bug
- target is not a DOM element => DOM haven't rendered
- Unknown DOM property class. Did you mean className... | {
"content_hash": "9d143455599865cd8675cf79b9300cf1",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 309,
"avg_line_length": 30.671641791044777,
"alnum_prop": 0.7250608272506083,
"repo_name": "BizShuk/code_sandbox",
"id": "9f6d1cefcba6e9a47e91e4bb99fad619d7771bd7",
"size":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a4a28211c455dd42f8fd73f22108f81d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "9036a7ad142b0fba2960adbe5779ae946e4c914a",
"size": "187... |
#include<sstream>
#include"ast.h"
#include"ast_pp.h"
#include"ast_ll_pp.h"
#include"buffer.h"
#include"warning.h"
#include"string_buffer.h"
#include"ast_util.h"
#include"ast_smt2_pp.h"
// -----------------------------------
//
// parameter
//
// -----------------------------------
parameter::~parameter() {
if (m... | {
"content_hash": "dd35f4d0cbe4cbd80c2f1049bd7d6f91",
"timestamp": "",
"source": "github",
"line_count": 3255,
"max_line_length": 196,
"avg_line_length": 36.125960061443934,
"alnum_prop": 0.5351135300620801,
"repo_name": "jirislaby/z3",
"id": "111f1df78bb7c332b9ca01742989b10f79f4a95b",
"size": "1177... |
package com.intellij.openapi.vcs.changes.ui;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.vcs.FilePath;
import com.intellij.openapi.vcs.changes.Change;
import com.intellij.openapi.vfs.VirtualFile;
import org.jetbrains.annotations.N... | {
"content_hash": "09abb9c36e1f9741f4c0a62d698d5e32",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 90,
"avg_line_length": 33.338235294117645,
"alnum_prop": 0.6775474194971328,
"repo_name": "ThiagoGarciaAlves/intellij-community",
"id": "630a453d499d6209807d0c0b592b7de5e548... |
package org.springframework.context.annotation;
import org.springframework.beans.factory.parsing.Location;
import org.springframework.beans.factory.parsing.ProblemReporter;
import org.springframework.core.type.MethodMetadata;
/**
* @author Chris Beams
* @since 3.1
*/
abstract class ConfigurationMethod {
protec... | {
"content_hash": "46c508d97ed95460ce880728dd578c0a",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 102,
"avg_line_length": 25.482142857142858,
"alnum_prop": 0.7834618079887876,
"repo_name": "leogoing/spring_jeesite",
"id": "b359be7d64b8bb46daf39792b2342ec88ae97132",
"siz... |
<menu>
<VPN>
<Stunnel cssClass="fa fa-dot-circle-o fa-fw" order="110">
<Configuration url="/ui/stunnel/services/"/>
<LogFile VisibleName="Log File" url="/ui/diagnostics/log/core/stunnel"/>
</Stunnel>
</VPN>
</menu>
| {
"content_hash": "f6847916008d8f8db7ac6d0566938ab2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 84,
"avg_line_length": 33,
"alnum_prop": 0.5681818181818182,
"repo_name": "fraenki/plugins",
"id": "6cd50fa8c7570503ec3fe2b9e8a17a5c83382f8b",
"size": "264",
"binary": fal... |
using System;
using System.Numerics;
class FactorialExpression1
{
static void Main()
{
int n, k;
BigInteger factorial = 1;
string consoleInput;
do
{
Console.Write("Enter valid number n=");
consoleInput = Console.ReadLine();
}
whil... | {
"content_hash": "6dbafb824386e51cb3e68154850d7f3c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 79,
"avg_line_length": 25.93103448275862,
"alnum_prop": 0.488031914893617,
"repo_name": "madbadPi/TelerikAcademy",
"id": "1cae16edcd8e7cc6609b36830cd9daa3ae61d2ec",
"size":... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Hist. Class. Discom. Eur. (Paris) 126 (1907)
#### Original name
Hyaloscypha hyalina var. hyalina
### Remarks
null | {
"content_hash": "974cd85b277d04bbbe7786c937bf59b2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 44,
"avg_line_length": 13.615384615384615,
"alnum_prop": 0.7005649717514124,
"repo_name": "mdoering/backbone",
"id": "aebcec6439deed0ed7cf70e32bbb789d860ab1f6",
"size": "23... |
package channel;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
import java.nio.channels.FileLock;
import java.util.concurrent.TimeUnit;
/**
* Created by Administrator on 2014/12/19.
*/
public class FileLockTest {
public ... | {
"content_hash": "d908e9168b08d7712766d1cc93ffce07",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 85,
"avg_line_length": 28,
"alnum_prop": 0.5706349206349206,
"repo_name": "edgar615/javase-study",
"id": "3c54572db49378373d01836fe89f5ccb1fddaaee",
"size": "1260",
"bina... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE369_Divide_by_Zero__int_zero_modulo_32.c
Label Definition File: CWE369_Divide_by_Zero__int.label.xml
Template File: sources-sinks-32.tmpl.c
*/
/*
* @description
* CWE: 369 Divide by Zero
* BadSource: zero Fixed value of zero
* GoodSource: Non-zero
* Sinks:... | {
"content_hash": "3767be2f97ba9390633058aa9e2d342b",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 91,
"avg_line_length": 24.253968253968253,
"alnum_prop": 0.569371727748691,
"repo_name": "JianpingZeng/xcc",
"id": "4ba36798fdd4cdc4cffcc4734a8372e8faca5b58",
"size": "305... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="gu_IN" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About WOOLFCOIN</source>
<translation>બીટકોઈન વિષે</translation>
</... | {
"content_hash": "33cfd62ed3059e5314c8f4c3f8f594ad",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.089475488515596,
"alnum_prop": 0.5853276973125298,
"repo_name": "woocoins/wooo",
"id": "983d9ae0d980a925ce6f914bdb5926d75b90e8de",
"size": "965... |
/***************************************************************************
RTCP.h - description
-------------------
(C) 2007 Ahmed Ayadi <ahmed.ayadi@sophia.inria.fr>
(C) 2001 Matthias Oppitz <Matthias.Oppitz@gmx.de>
**************************************... | {
"content_hash": "d32107e9504057db79de44543086c51c",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 132,
"avg_line_length": 27.788,
"alnum_prop": 0.6221390528285591,
"repo_name": "googleinterns/vectio",
"id": "178dd7b783ccd88e984f5fd6a480aa9a48667c48",
"size": "6947",
... |
from django.core.management.base import BaseCommand
from optparse import make_option
from sam.models import Quote
import os
class Command(BaseCommand):
help = 'This creates Quote objects from text file input or writes Quotes to text file'
option_list = BaseCommand.option_list + (
make_option('-r',
... | {
"content_hash": "a87bc1bbcb639c13273f6732655f4398",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 90,
"avg_line_length": 37.35,
"alnum_prop": 0.500669344042838,
"repo_name": "samolds/samster",
"id": "5e37ab7b25882c7bc3a265e6b0218dbb3b55644b",
"size": "1494",
"binary":... |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2014
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restrict... | {
"content_hash": "034a21ffe67af4580ca0eeff313c6d93",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 116,
"avg_line_length": 40.833333333333336,
"alnum_prop": 0.5970845481049563,
"repo_name": "abukres/Dnn.Platform",
"id": "a68d1eadfe6b83ac2f44b11e0a831c76910d5e02",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="phpucMergeCodeTest" file="/home/manu/Projects/workspace.zend-studio/phpUnderControl/trunk/docs/log-merge/MergeCodeTest.php" fullPackage="PhpUnderControl.Documentation" category="QualityAssurance" package="PhpUnderControl" subpackage="Documentation" ... | {
"content_hash": "d9e288f6bc3bae4e79a9fc808846295a",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 319,
"avg_line_length": 91.37234042553192,
"alnum_prop": 0.7492141110723017,
"repo_name": "manuelpichler/phpUnderControl-copy-fork-and-follow-organization-repo",
"id": "88e7f... |
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('cs-editor-switch', 'Integration | Component | cs editor switch', {
integration: true
});
test('it renders', function(assert) {
this.render(hbs`{{cs-editor-switch}}`);
assert.equal(this.$('la... | {
"content_hash": "741871aeffb8b205d9d6343f8e3c2449",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 86,
"avg_line_length": 34,
"alnum_prop": 0.7085561497326203,
"repo_name": "courajs/cardstack",
"id": "b4c18e3c5e5065eeb177658f0949df69e00c2692",
"size": "374",
"binary": ... |
FROM balenalib/ccimx8x-sbc-pro-ubuntu:cosmic-run
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apt-... | {
"content_hash": "c56a980b402a0ac6a7fc4f96f6a6c0b8",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 709,
"avg_line_length": 51.98717948717949,
"alnum_prop": 0.7082614056720099,
"repo_name": "nghiant2710/base-images",
"id": "7e6d8339d2785cb22d16b67843a436f7e4e73fa9",
"size... |
/* global QUnit */
sap.ui.define([
"sap-ui-integration-editor",
"sap/ui/integration/editor/Editor",
"sap/ui/integration/Host",
"sap/ui/thirdparty/sinon-4",
"./../../../../ContextHost",
"sap/base/util/deepEqual",
"sap/ui/core/Core",
"sap/base/util/deepClone",
"sap/base/util/merge"
], function (
x,
Editor,
Ho... | {
"content_hash": "643e9b5673623228c89af275497faefc",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 186,
"avg_line_length": 43.57507082152974,
"alnum_prop": 0.6531010271746197,
"repo_name": "SAP/openui5",
"id": "624f5625a710c55f4be6982ea64cd9e22aab43b6",
"size": "15407",... |
using System;
using Newtonsoft.Json;
namespace WebExtras.JQPlot.SubOptions
{
/// <summary>
/// Legend options
/// </summary>
[Serializable]
public class LegendOptions
{
/// <summary>
/// Whether to display the legend on the graph
/// </summary>
public bool? show;
/... | {
"content_hash": "5b2e1a7ad3af528896c2e9134e1e51b9",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 89,
"avg_line_length": 32.56617647058823,
"alnum_prop": 0.6220365771054414,
"repo_name": "monemihir/webextras",
"id": "e6f6d21be6523524faf8ec7f26b66fe02335c2e8",
"size": "... |
package com.oneops.notification;
/**
* Notification message type severity
*/
public enum NotificationSeverity {
/**
* Critical event type
*/
critical("critical", 3),
/**
* Warning event type
*/
warning("warning", 2),
/**
* Info event type
*/
info("info", 1),
/**
* None. Added for... | {
"content_hash": "f9d97c47e0ecfbf44d1e8cd60c5c8138",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 48,
"avg_line_length": 14.796875,
"alnum_prop": 0.5797254487856388,
"repo_name": "oneops/OneOps",
"id": "e353186522114142b4e23cfafcf9e3cd5bbb87a3",
"size": "1725",
"binar... |
<Module specificationVersion='2'>
<ModulePrefs title="SAMLBearerAssertion">
<Require feature="dynamic-height"/>
<Require feature="osapi"/>
<Locale lang="all">
<msg name="title">My Groups</msg>
</Locale>
<OAuth2>
<Service name="YOUR_OAUTH_SERVICE_NAME">
<!-- Gadget Calling SAP J... | {
"content_hash": "527c4cf26f5252b4510290aa47fcff28",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 78,
"avg_line_length": 34.705882352941174,
"alnum_prop": 0.6254237288135593,
"repo_name": "shanaithal/SAPJamSampleCode",
"id": "868f2ed39c0607515f73e838496a1ca309571c5f",
"... |
<a name="Environment-Access"></a>
<div class="header">
<p>
Next: <a href="Standard-Environment.html#Standard-Environment" accesskey="n" rel="next">Standard Environment</a>, Up: <a href="Environment-Variables.html#Environment-Variables" accesskey="u" rel="up">Environment Variables</a> [<a href="index.html#SEC_Con... | {
"content_hash": "52ea30030081033d5af4a2f131cd1685",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 406,
"avg_line_length": 45.964285714285715,
"alnum_prop": 0.7312687312687313,
"repo_name": "elmerland/elmerland",
"id": "87aab7f8bc0cc1eccc3a899676a9de2def49cfd0",
"size":... |
<?php
declare(strict_types=1);
namespace ApiPlatform\Core\Hal\Serializer;
use ApiPlatform\Core\Exception\RuntimeException;
use ApiPlatform\Core\Serializer\AbstractItemNormalizer;
use ApiPlatform\Core\Serializer\ContextTrait;
/**
* Converts between objects and array including HAL metadata.
*
* @author Kévin Dun... | {
"content_hash": "79d2cdb4aee9b6cdc56f61ad27d192f6",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 156,
"avg_line_length": 29.89814814814815,
"alnum_prop": 0.5329823474759987,
"repo_name": "safy-group/safy-api",
"id": "4fcc1e2f3a8fb618a5096d6c5862808767cf2bc5",
"size": ... |
package org.zstack.core.thread;
import java.util.concurrent.Callable;
/**
* Created by mingjian.deng on 2019/10/15.
*/
public class PendingProperty {
private int maxPendingSize = -1;
private Callable<Boolean> callable = new Callable<Boolean>() {
@Override
public Boolean call() {
... | {
"content_hash": "546f3ef491600adb8f6e87660c57b9be",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 66,
"avg_line_length": 22.28125,
"alnum_prop": 0.6395511921458625,
"repo_name": "MatheMatrix/zstack",
"id": "2736339495f87ee90a63efbd7c1be4d251b3f948",
"size": "713",
"bi... |
package macbury.forge.octree;
/**
* Created by macbury on 21.10.14.
*/
public enum OctreePart {
FrontTopLeft(0), FrontTopRight(1), FrontBottomLeft(2), FrontBottomRight(3),
BackTopLeft(4), BackTopRight(5), BackBottomLeft(6), BackBottomRight(7);
private final int index;
OctreePart(int ni) {
this.index = n... | {
"content_hash": "7fde407517ad804291c60291ff659c90",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 77,
"avg_line_length": 21,
"alnum_prop": 0.6851851851851852,
"repo_name": "macbury/ForgE",
"id": "c3d2b594df4093884fe0c3368784f8b601c69b6a",
"size": "378",
"binary": fals... |
$hash = .\New-AzureSql.ps1 -SubscriptionName "Visual Studio Ultimate with MSDN" -DatabaseName HeroVsXmen_db -UserName taborro -Password "MrT!bbl3$" -FirewallRuleName HeroVsXmenFirewallRule -Location "East US"
$hash | {
"content_hash": "2cb191d973152af1c3f7e56680c01824",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 208,
"avg_line_length": 71.66666666666667,
"alnum_prop": 0.8,
"repo_name": "LearnVisualStudio/HeroVsRobot",
"id": "58a4c2084984bfc9c579663dc6b9ee529a53cceb",
"size": "215",
... |
<?xml version="1.0" encoding="utf-8"?>
<!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">
<head>
<title>polymorphic_routes.rb</title>
<meta http-equiv="Content-Type" con... | {
"content_hash": "06d21d6d035e2262c8c0fe6c7f729a81",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 162,
"avg_line_length": 26.941747572815533,
"alnum_prop": 0.4666666666666667,
"repo_name": "delta/DalalStreet",
"id": "1b2b7855866852f7637b9bebb6d6b00716052c9f",
"size": "... |
package action_test
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/cloudfoundry/bosh-agent/agent/action"
"github.com/cloudfoundry/bosh-agent/platform/platformfakes"
boshdirs "github.com/cloudfoundry/bosh-agent/settings/directories"
boshassert "github.com/cloudfoundry/bosh-utils/asser... | {
"content_hash": "d62c8ffd71e2aeadd1212397d9ef54ee",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 72,
"avg_line_length": 32.11904761904762,
"alnum_prop": 0.7776130467012602,
"repo_name": "cloudfoundry/bosh-agent",
"id": "ca61ad189414ab88f84d37bd7d7690096acb34b5",
"size"... |
#ifndef __CPU_O3_COMMIT_HH__
#define __CPU_O3_COMMIT_HH__
#include <queue>
#include "base/statistics.hh"
#include "cpu/exetrace.hh"
#include "cpu/inst_seq.hh"
#include "cpu/timebuf.hh"
struct DerivO3CPUParams;
template <class>
struct O3ThreadState;
/**
* DefaultCommit handles single threaded and SMT commit. Its... | {
"content_hash": "cccdd5389ffd800d4ce5e05d2732db47",
"timestamp": "",
"source": "github",
"line_count": 456,
"max_line_length": 80,
"avg_line_length": 32.478070175438596,
"alnum_prop": 0.6793382849426064,
"repo_name": "shenyy/lily2-gem5",
"id": "b5539c702d2e14de2a80ecb73b9c1ce0d20be010",
"size": "1... |
package org.jivesoftware.openfire.spi;
import org.jivesoftware.openfire.PacketDeliverer;
import org.jivesoftware.openfire.PacketException;
import org.jivesoftware.openfire.XMPPServer;
import org.jivesoftware.openfire.auth.UnauthorizedException;
import org.jivesoftware.openfire.container.BasicModule;
import org.jives... | {
"content_hash": "5fbd6d1d0f2ecf1b47ca41f2504aba8b",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 98,
"avg_line_length": 31.615384615384617,
"alnum_prop": 0.7128953771289538,
"repo_name": "qyj415/openfire",
"id": "0245248e306a3c2073b0d2941f431dfcaa8ef991",
"size": "2395... |
define("arale/events/1.1.0/events-debug", [], function() {
// Events
// -----------------
// Thanks to:
// - https://github.com/documentcloud/backbone/blob/master/backbone.js
// - https://github.com/joyent/node/blob/master/lib/events.js
// Regular expression used to split event strings
var... | {
"content_hash": "b5eb305ce6b9c82c7f363aa37eed2dc7",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 131,
"avg_line_length": 41.03787878787879,
"alnum_prop": 0.5292597378622854,
"repo_name": "smeagonline-developers/OnlineEducationPlatform---SMEAGonline",
"id": "62d87b3837dd... |
class UsersController < ApplicationController
def index
end
def show
@user = User.find(params[:id])
render json: @user
end
def create
@user = User.new(user_params)
if @user.save
flash[:success] = "Welcome to the SVSP training log"
render json: flash[:success]
end
end
private
def user_params
... | {
"content_hash": "3ad8fedb9bf9129e8121b84c9f015708",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 111,
"avg_line_length": 17.68,
"alnum_prop": 0.7013574660633484,
"repo_name": "jzuiches/patrol_app",
"id": "137af3122329d90738f2d38824b0413f6071b78f",
"size": "442",
"bin... |
namespace boost {
namespace interprocess {
namespace ipcdetail{
class file_wrapper
{
/// @cond
BOOST_MOVABLE_BUT_NOT_COPYABLE(file_wrapper)
/// @endcond
public:
//!Default constructor.
//!Represents an empty file_wrapper.
file_wrapper();
//!Creates a file object with name "name" and mode "mod... | {
"content_hash": "ab0bbe30488f4c0d64fa872fca468150",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 119,
"avg_line_length": 28.939560439560438,
"alnum_prop": 0.657300170875261,
"repo_name": "scen/ionlib",
"id": "586e20db4dcbd34f11dc4d4b9e12691e48cc7b65",
"size": "6086",
... |
function process(tag, timestamp, record)
local __field_0 = (function()
return record["agent.googleapis.com/log_file_path"]
end)();
local __field_1 = (function()
if record["logging.googleapis.com/labels"] == nil
then
return nil
end
return record["logging.googleapis.com/labels"]["compute.googleapis.com/resource_name"]
en... | {
"content_hash": "dbfb3c09deb4713d0e476c4c6ad403fb",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 87,
"avg_line_length": 28.634146341463413,
"alnum_prop": 0.7206132879045997,
"repo_name": "GoogleCloudPlatform/ops-agent",
"id": "7864dc004b84b5c50925a7bfac8df0f3ab8ceea4",
... |
package org.springframework.boot.autoconfigure.condition;
import java.util.ArrayList;
import java.util.List;
import org.springframework.boot.autoconfigure.condition.ConditionMessage.Style;
import org.springframework.context.annotation.Condition;
import org.springframework.context.annotation.ConditionContext;
import... | {
"content_hash": "9b1eb3c68095fdb769c4895ba04dc12f",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 82,
"avg_line_length": 35.53731343283582,
"alnum_prop": 0.7719445611087778,
"repo_name": "jvz/spring-boot",
"id": "b36627dd1be81cbc5ba65971f8d3ed5c649375c9",
"size": "3001"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_05) on Mon Aug 18 21:34:49 IST 2014 -->
<title>Uses of Class android.support.v7.appcompat.R.integer</title>
<meta name="date" content="2014-08-... | {
"content_hash": "6b54b423e00c6a90eba3abbc6711d829",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 139,
"avg_line_length": 35.46774193548387,
"alnum_prop": 0.6091405184174625,
"repo_name": "rohanagarwal94/Mobile-applications",
"id": "9a9160685143101b497ce22034a25f275e0737... |
<Record>
<Term>Eye Infections</Term>
<SemanticType>Disease or Syndrome</SemanticType>
<ParentTerm>Infection</ParentTerm>
<ParentTerm>Eye Diseases</ParentTerm>
<ClassificationPath>Eye Diseases/Eye Infections</ClassificationPath>
<ClassificationPath>Bacterial Infections and Mycoses/Infection/Eye Infections</Classif... | {
"content_hash": "c46839623ee57413cb6b3472da011b82",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 229,
"avg_line_length": 50.30434782608695,
"alnum_prop": 0.8038029386343993,
"repo_name": "detnavillus/modular-informatic-designs",
"id": "1f87d63eebfa463a92cbda10852bfaa133e... |
#if !defined(FUSION_INCLUDE_DEQUE)
#define FUSION_INCLUDE_DEQUE
#include <boost/fusion/container/deque.hpp>
#endif
| {
"content_hash": "a922ea0f3076dd2481b46dd5c252263b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 43,
"avg_line_length": 17.857142857142858,
"alnum_prop": 0.728,
"repo_name": "pennwin2013/netsvr",
"id": "2df2648fd6f2c3035ac49bd7fc421cb56e36ba4f",
"size": "489",
"binary... |
/*
Leaflet.markercluster, Provides Beautiful Animated Marker Clustering functionality for Leaflet, a JS library for interactive maps.
https://github.com/Leaflet/Leaflet.markercluster
(c) 2012-2013, Dave Leaver, smartrak
*/
(function (window, document, undefined) {/*
* L.MarkerClusterGroup extends L.FeatureGroup by ... | {
"content_hash": "ba69a451019b980409b7421fea894c72",
"timestamp": "",
"source": "github",
"line_count": 2163,
"max_line_length": 164,
"avg_line_length": 30.12528895053167,
"alnum_prop": 0.6153987814797195,
"repo_name": "johan--/polarmap.js",
"id": "075c4f557e3c80cb0658ade5a76ed2a8fc782684",
"size":... |
@interface PaginationAPI : GetAPI
@property (nonatomic, readonly) NSUInteger page;
@property (nonatomic) NSUInteger objectsPerPage;
@property (nonatomic, readonly) BOOL isFirstPage, isLastPage;
// Requests next page of objects
- (void)requestNextPage;
// Resets API to first page and requests next page
- (void)reque... | {
"content_hash": "e5b3752455f0a193748132bc64752d99",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 61,
"avg_line_length": 23.41176470588235,
"alnum_prop": 0.7738693467336684,
"repo_name": "alkozin/iOS-API-Wrapper",
"id": "6ce43deec3842b3cb59062cf813b57e502635f29",
"size"... |
package freemarker.ext.beans;
import freemarker.template.Configuration;
public class DefaultObjectWrapperInc2003021 extends DefaultObjectWrapperWithSortedMethods {
public DefaultObjectWrapperInc2003021() {
super(Configuration.VERSION_2_3_21, false);
}
}
| {
"content_hash": "522f16cb00b84eae58d87d8cd6d2d7dc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 91,
"avg_line_length": 21.23076923076923,
"alnum_prop": 0.7862318840579711,
"repo_name": "vicre/dsl-appliance",
"id": "f3811a93ffe84c8aa1e0fa6669bdcd7be0524168",
"size": "9... |
<html>
<head>
<title></title>
<script type="text/javascript">
function convertCrLf(str) {
return "'" + str.replace(/\r/g, "\\r").replace(/\n/g, "\\n") + "'";
}
window.onload = function() {
var pre1 = document.getElementById("pre1");
var pre2 = documen... | {
"content_hash": "bdbc8f0e25bc0355a24d07b68cd9eddc",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 160,
"avg_line_length": 33.857142857142854,
"alnum_prop": 0.5881856540084388,
"repo_name": "GerHobbelt/Rangy",
"id": "3cc9285cceb28b974d15c4b5046f94e0f88ebec7",
"size": "11... |
int unify(Terms &, Terms &, Substitutions &);
int unify(Literal &, Literal &, Substitutions &);
// unify lists of literals
int unify(List<Literal> &, Substitutions &);
#endif
| {
"content_hash": "d1de09bbfc5055ab6499b51a47725d07",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 25.285714285714285,
"alnum_prop": 0.6949152542372882,
"repo_name": "ombt/ombt",
"id": "3a3a92b64a465e0c4abc0172aa3ae72a45c026bd",
"size": "463",
"bi... |
@import url(http://fonts.googleapis.com/css?family=Raleway:400,700);
@font-face {
font-weight: normal;
font-style: normal;
font-family: 'codropsicons';
src:url('../fonts/codropsicons/codropsicons.eot');
src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
url('../fonts/codropsico... | {
"content_hash": "ac0e3c07edd1dc071c7fac90e2bb83b3",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 86,
"avg_line_length": 17.807407407407407,
"alnum_prop": 0.6722129783693843,
"repo_name": "Seba7159/myHaum",
"id": "4922d8eab30030dca51952058ae7b27ea0b60dc1",
"size": "240... |
Parâmetros de entrada:
- value
Valor de saída:
- Boolean
Definição:
A função só deve retornar `true` caso o valor passado seja diferente de `undefined` ou `null`
Função:
```js
'use strict';
module.exports = (value) => {
if (value === null || value === undefined) return false;
return true;
};
```
Uso:
Al... | {
"content_hash": "de52f433450a2064a6b79bd168c1f526",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 168,
"avg_line_length": 15.653061224489797,
"alnum_prop": 0.6649282920469362,
"repo_name": "Webschool-io/Node-Atomic-Design_QUARKS",
"id": "8b6cb72dc089ce278795ddeca54a1ee97f... |
package com.sketchpunk.shared;
import android.support.v7.widget.RecyclerView;
import android.view.View;
public abstract class ViewBindHolder extends RecyclerView.ViewHolder{
public ViewBindHolder(View itemView){ super(itemView); }
public abstract void bindData(int pos);
}//func
| {
"content_hash": "8e650e2be492053c781a5cb9251a31f2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 69,
"avg_line_length": 31.444444444444443,
"alnum_prop": 0.8127208480565371,
"repo_name": "sketchpunk/android3dblendermouse",
"id": "18b7eddd0e6244831b8da1ebd6d02ba453ab5fcc",... |
double carg(double complex z)
{
return atan2(cimag(z), creal(z));
}
| {
"content_hash": "e318704869af4b7eee75b165a6107b2f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 34,
"avg_line_length": 17.25,
"alnum_prop": 0.6811594202898551,
"repo_name": "tenpoku1000/UEFI_Ver_CPUID",
"id": "d2d1b4623a7fc77b2d413c363fd2ccef8d892939",
"size": "88",
... |
* <img src='https://avatars1.githubusercontent.com/u/5435782?v=3&s=40' height='20' width='20'>[
Ramotion
/
navigation-stack
](https://github.com/Ramotion/navigation-stack):
NavigationStack is a stack-modeled navigation controller
* <img src='https://avatars0.githubusercontent.com/u/41431?v... | {
"content_hash": "012c13fe98abb93e23d1becbdc579091",
"timestamp": "",
"source": "github",
"line_count": 889,
"max_line_length": 343,
"avg_line_length": 35.47019122609674,
"alnum_prop": 0.6583896235689595,
"repo_name": "josephyzhou/github-trending",
"id": "5a5bdda46b4f98b244451aeef323dd63d7e5ef5e",
... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/headerbar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:background="@drawable/header_bg" ... | {
"content_hash": "c00b563c233d1f9d42b6d2c0f43049a7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 36.41935483870968,
"alnum_prop": 0.6421612046058459,
"repo_name": "emop/EmopAndroid",
"id": "f82a9723921fc43c614d3d4b028abbd5a027d26c",
"size": "1133... |
package org.zstack.sdk;
public class QueryAccessControlRuleResult {
public java.util.List inventories;
public void setInventories(java.util.List inventories) {
this.inventories = inventories;
}
public java.util.List getInventories() {
return this.inventories;
}
public java.la... | {
"content_hash": "fd220abf472ecb0a65eb08c9b490f31a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 60,
"avg_line_length": 22.40909090909091,
"alnum_prop": 0.6612576064908722,
"repo_name": "MatheMatrix/zstack",
"id": "347e05d48b53b543044ad34af263ca921120a78b",
"size": "49... |
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<link rel="stylesheet" type="text/css" href="jspm_packages/npm/font-awesome@4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="styles/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</he... | {
"content_hash": "9d5ea6740da30125ea0bbe5e79b050c9",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 112,
"avg_line_length": 27.75,
"alnum_prop": 0.592020592020592,
"repo_name": "Revya/TriplePlay",
"id": "4ea35213f8a7f8eae2b76b2a8c48335e4536fbde",
"size": "777",
"binary"... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="fa_500px">fa-500px</string>
<string name="fa_adjust">fa-adjust</string>
<string name="fa_adn">fa-adn</string>
<string name="fa_align_center">fa-align-center</string>
<string name="fa_align_justify">fa-align-justify</string>
<string name="fa_... | {
"content_hash": "f1f80d0b4023972e1a7d723ad38c39c7",
"timestamp": "",
"source": "github",
"line_count": 733,
"max_line_length": 103,
"avg_line_length": 51.98090040927694,
"alnum_prop": 0.7061046664217101,
"repo_name": "shifarshifz/FACG",
"id": "f8d64eb9d8f0620b20f7114763e3382912aa1f01",
"size": "38... |
#import "BackRow-Structs.h"
#import "BRControl.h"
__attribute__((visibility("hidden")))
@interface BRMetadataDetailChunkControl : BRControl {
}
- (void)dealloc; // 0x315a6971
- (void)layoutSubcontrols; // 0x315e4f65
- (void)setDetails:(id)details withLabel:(id)label; // 0x315a36e9
- (CGSize)sizeThatFits:(CGSize)fit... | {
"content_hash": "daf23f2259e809752a6416b4b42fa74e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 65,
"avg_line_length": 22.866666666666667,
"alnum_prop": 0.7288629737609329,
"repo_name": "tandrup/eyetv4atv",
"id": "8acb30dc62d5a4edd14f9d4572b5b5e42f56b6d4",
"size": "54... |
using System;
namespace ModernMoleculeViewer.Model
{
/// <summary>
/// <see cref="Atom "/> subclass for alpha carbon protein backbone atoms.
/// </summary>
/// <remarks>
/// Adds functionality to manage the atom's backbone 3D model.
/// </remarks>
internal class CAlpha : ChainAtom
{
... | {
"content_hash": "6c0168a7883390a4ced64a3630daf8d3",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 97,
"avg_line_length": 32.72463768115942,
"alnum_prop": 0.5748449955713021,
"repo_name": "kobush/ModernMoleculeViewer",
"id": "f3cf7f49a94a830561a97d25b42024efdae9589b",
"s... |
"""Grow.dev setup."""
import re
from setuptools import find_packages
from setuptools import setup
DEP_RE = re.compile(r'([\S]*)\s?=\s? [\"\']?([^\'\"]*)[\"\']?', re.IGNORECASE)
INSTALL_REQ = []
with open('Pipfile') as pipfile:
in_dep_section = False
for line in pipfile.readlines():
line = line.strip... | {
"content_hash": "c32c63a0aef3df61c495c7e43b7de964",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 87,
"avg_line_length": 29.191176470588236,
"alnum_prop": 0.5546599496221662,
"repo_name": "grow/grow",
"id": "199e2ed5543d4da0c60d840c75a44290666b7aba",
"size": "1985",
"... |
package com.rethinkdb.gen.ast;
import com.rethinkdb.gen.proto.TermType;
import com.rethinkdb.gen.exc.ReqlDriverError;
import com.rethinkdb.model.Arguments;
import com.rethinkdb.model.OptArgs;
import com.rethinkdb.ast.ReqlAst;
public class Ceil extends ReqlExpr {
public Ceil(Object arg) {
this(new Argu... | {
"content_hash": "85bdc043d7481b4c4bfd983717256121",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 50,
"avg_line_length": 21.458333333333332,
"alnum_prop": 0.6990291262135923,
"repo_name": "JackieXie168/rethinkdb",
"id": "53afd64a0dc18ea16b529023442aaad62c8023ce",
"size"... |
<?php
namespace Gentor\BnpPF\Facades;
use Illuminate\Support\Facades\Facade;
/**
* Class Bnp
*
* @package Gentor\BnpPF\Facades
*/
class Bnp extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
... | {
"content_hash": "402c989d78cd881c1a7613d90535a0fd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 49,
"avg_line_length": 14.956521739130435,
"alnum_prop": 0.6162790697674418,
"repo_name": "gentor/bnp-paribas-pf",
"id": "897e684b458fd36fb8512c61b4214636a4720d0b",
"size":... |
import json
import os
import pstats
import shutil
import sys
import tempfile
import unittest
from io import StringIO
from subprocess import Popen, PIPE
from scrapy.utils.test import get_testenv
class CmdlineTest(unittest.TestCase):
def setUp(self):
self.env = get_testenv()
self.env['SCRAPY_SETTI... | {
"content_hash": "0ad22808ff5ce08a57ce405cb91362b4",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 81,
"avg_line_length": 37.68181818181818,
"alnum_prop": 0.5930840369923602,
"repo_name": "eLRuLL/scrapy",
"id": "da99a6be8289471b0ae8337d0795263ae633fa05",
"size": "2487",
... |
Copies files from a filesystem location and mass-copies them to all available flash drives
| {
"content_hash": "06014501a8092e1ddc23d85ee9e274da",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 90,
"avg_line_length": 91,
"alnum_prop": 0.8351648351648352,
"repo_name": "jpsenior/usb-copy-tool",
"id": "4e3ce8e630734ca578d6fb89a500567a10ea4ac2",
"size": "107",
"binar... |
#pragma once
#include <cstdint>
#include <type_traits>
#include "Export.hpp"
namespace acid {
template<typename T>
class Vector3;
/**
* @brief Holds a 2-tuple vector.
* @tparam T The value type.
*/
template<typename T>
class Vector2 {
public:
/**
* Constructor for Vector2.
*/
constexpr Vector2() = default;... | {
"content_hash": "4914e32a3375756454c7b8c7ffc32ba5",
"timestamp": "",
"source": "github",
"line_count": 320,
"max_line_length": 99,
"avg_line_length": 26.615625,
"alnum_prop": 0.6947281906774686,
"repo_name": "Equilibrium-Games/Flounder",
"id": "199fc55ca095d43cd4c4987a6a0c9ad41d903cda",
"size": "8... |
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, co... | {
"content_hash": "21422de3f498618316476562d7b16195",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 148,
"avg_line_length": 31.69090909090909,
"alnum_prop": 0.6921973608720596,
"repo_name": "trnglina/Papillon",
"id": "440b06e1c994117ed1cce1b85d3c570ffd84673b",
"size": "3... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4a63b95c96b28a7811eac36c7aec76f9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "f5074b34fe02c3ca21c8070e0dfa25e6a7aeb146",
"size": "191... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using OmniSharp.Eventing;
u... | {
"content_hash": "162d57639bf3c6d97d0185b187f59203",
"timestamp": "",
"source": "github",
"line_count": 275,
"max_line_length": 169,
"avg_line_length": 36.47636363636364,
"alnum_prop": 0.5283620775595653,
"repo_name": "OmniSharp/omnisharp-roslyn",
"id": "ebd527b0b29c6acf6d74c9898d02e2fdfcfaed94",
"... |
from plantcv.plantcv._debug import _debug
from plantcv.plantcv import dilate
from plantcv.plantcv import params
from plantcv.plantcv import fatal_error
from skimage import feature
import numpy as np
import cv2
import os
def canny_edge_detect(img, mask=None, sigma=1.0, low_thresh=None, high_thresh=None, thickness=1,
... | {
"content_hash": "120b978c95e45612f5c2423de97473e3",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 120,
"avg_line_length": 40.71764705882353,
"alnum_prop": 0.6579023403640566,
"repo_name": "danforthcenter/plantcv",
"id": "753dab985d5ba58e2b82411c42ec95d611a6388e",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace MiniHttp.RequestHandlers.Processing
{
public class StreamLineSource : LineSource
{
private readonly Stream _stream;
public StreamLineSource(Stream stream, ISourceResolver resolver)... | {
"content_hash": "054ef8fae36331cb51cc4f38c501211e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 101,
"avg_line_length": 28.790697674418606,
"alnum_prop": 0.5767366720516963,
"repo_name": "lord-executor/MiniHttp",
"id": "0d7f67839bdaa1f0773d034257ef3c2046e7cde9",
"size... |
package org.apache.hadoop.hbase.procedure;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration;
import org.apache... | {
"content_hash": "3a8f14fa14ecefff5254b5846687d00a",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 79,
"avg_line_length": 30.58,
"alnum_prop": 0.697187704381949,
"repo_name": "intel-hadoop/hbase-rhino",
"id": "bcd87bbd7291cd3dc91b0aefc8d197266728614d",
"size": "3864",
... |
use discrete::{DiscreteDist32};
use env::{Env, DiscreteEnv, EnvInputRepr, EnvRepr, EnvConvert, Action, DiscreteAction, Response, Value, Episode, EpisodeStep};
use opt::pg_new::{BasePolicyGrad};
use densearray::prelude::*;
use operator::prelude::*;
use operator::rw::{ReadBuffer, ReadAccumulateBuffer, WriteBuffer, Accum... | {
"content_hash": "fc185401b4b838768b06adc28cab3004",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 233,
"avg_line_length": 41.72568093385214,
"alnum_prop": 0.6257751666899799,
"repo_name": "peterhj/genrl",
"id": "6c7404f09f3db00d1df5e9aaea77319dfe9bc333",
"size": "21447... |
DROP TABLE IF EXISTS format_scheme;
DROP TABLE IF EXISTS client_database;
DROP TABLE IF EXISTS database_owner;
CREATE TABLE format_scheme (
id INT NOT NULL,
name VARCHAR(8) NOT NULL,
description VARCHAR(4000) NOT NULL,
PRIMARY KEY (id)
);
CREATE UNIQUE INDEX name_idx ON format_scheme(name);
CREATE TABLE dat... | {
"content_hash": "c9b31a7cfa00406eae30b0636c51ebca",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 140,
"avg_line_length": 46.35849056603774,
"alnum_prop": 0.7517297517297518,
"repo_name": "networknt/light-java",
"id": "4b084ad7af037c278bb3d9346c1ce108cad369af",
"size": ... |
import sys
import os
import bpy
from bpy_extras.io_utils import ExportHelper
bl_info = {
"name": "treeface exporter",
"author": "Xi Yang",
"location": "File > Export",
"description": "export scene to treeface JSON format",
"category": "Import-Export",
}
def format_matrix(mat):
... | {
"content_hash": "0f4024c1dd29e7ba7dfec3a4eacd08e0",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 160,
"avg_line_length": 34.67624020887728,
"alnum_prop": 0.516301483322039,
"repo_name": "jiandingzhe/treeface",
"id": "5554b0f4f1e3a5312823aff9ca24aff30959ddd6",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layo... | {
"content_hash": "722b6d53d701766e92b645c9ff315665",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 44.32258064516129,
"alnum_prop": 0.5676855895196506,
"repo_name": "AzureAD/microsoft-authentication-library-for-dotnet",
"id": "da9a2cc1448ac30fd9614f8... |
package org.michenux.yourappidea.home;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.widget.Toolbar;
import android.util.Log;
import android.view.... | {
"content_hash": "06a636f3a0a224d321af20bf54a2dca6",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 140,
"avg_line_length": 33.85204081632653,
"alnum_prop": 0.6863602110022607,
"repo_name": "Stahlisen/YourAppIdea",
"id": "43dd55794411651cd07cef9c19b8ad5126877887",
"size"... |
const request = require('request');
const promise = require('bluebird');
const logger = require('./logger');
const qs = require('querystring');
const config = require('config');
const moment = require('moment');
const fs = require('fs');
const path = require('path');
const uuid = require('uuid');
promise.promisifyAll(r... | {
"content_hash": "fc7006518815e9d3c5d44adb8f336518",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 141,
"avg_line_length": 38.31730769230769,
"alnum_prop": 0.5125470514429109,
"repo_name": "mudiyouyou/waimai-crawler",
"id": "2b665d028708bfee439548d8beb7bf578abfdcd1",
"s... |
Package `scss` provides a Gonzo stage for compiling SCSS files to CSS.
| {
"content_hash": "ea17f0f117023c7f512b12cbd1643649",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 70,
"avg_line_length": 71,
"alnum_prop": 0.7887323943661971,
"repo_name": "go-gonzo/scss",
"id": "d0533a754f7fde76208aae4c278625639051f8f1",
"size": "205",
"binary": false... |
class CleanExtraneousVisionPreferences < ActiveRecord::Migration
def up
execute "DELETE FROM preferences WHERE owner_type = 'Identification' and name = 'vision' and value is null"
end
def down
say "Can't be undone"
end
end
| {
"content_hash": "0f20605a94aa54ffd68ccf6d19dfa1b4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 111,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.7375,
"repo_name": "calonso-conabio/inaturalist",
"id": "2cae7a4cbd0f5090764b379895b7734158a32c13",
"size": "240"... |
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('reddit', '0005_auto_20180726_2126'),
]
operations = [
migrations.AlterField(
model_name='post',
name='status',
field=models.CharField(choices=[('accepted... | {
"content_hash": "003a439ca6428c2cbd4673405679442c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 179,
"avg_line_length": 28.9375,
"alnum_prop": 0.5831533477321814,
"repo_name": "vaniakosmos/memes-reposter",
"id": "105a198e3e7922ca84631193c5207200ed840353",
"size": "512... |
jQuery( document ).ready( function ($) {
//'use strict';
// Instantiates the variable that holds the media library frame.
var $wpmedia;
var $parent;
// Runs when the image button is clicked.
jQuery('.wallpaperbug-upload-image').click(function(e){
// Prevents the default action from occuring... | {
"content_hash": "adf9e4b14672d9e52db260c4d0ab5c09",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 93,
"avg_line_length": 32.76086956521739,
"alnum_prop": 0.5500995355009953,
"repo_name": "ryanrphillips/wallpaperbug",
"id": "29aebbcfde4617b193525ea69e8d28815ef83884",
"si... |
package cmd
import (
"encoding/json"
"fmt"
"io"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"k8s.io/klog"
"sigs.k8s.io/yaml"
apimachineryversion "k8s.io/apimachinery/pkg/version"
kubeadmutil "k8s.io/kubernetes/cmd/kubeadm/app/util"
"k8s.io/kubernetes/cmd/kubeadm/app/version"
)
// Version provides t... | {
"content_hash": "3bb33b11d418f9cd2581d121a06f7b6e",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 106,
"avg_line_length": 24.30263157894737,
"alnum_prop": 0.6859772604223064,
"repo_name": "Hui-Zhi/kubernetes",
"id": "e66f05af57a18c65aa3db660b74c2f259e15bd6e",
"size": "2... |
Imports System
Imports System.Reflection
Imports System.Runtime.InteropServices
' General Information about an assembly is controlled through the following
' set of attributes. Change these attribute values to modify the information
' associated with an assembly.
' Review the values of the assembly attributes
<Ass... | {
"content_hash": "4703963e91a24217950f3b65d88063b4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 83,
"avg_line_length": 33.97142857142857,
"alnum_prop": 0.7502102607232969,
"repo_name": "patkub/visual-basic-intro",
"id": "d0974ec1c1073cf60318877f4cedff9e2290f156",
"siz... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Standards Tree
|--------------------------------------------------------------------------
|
| Versioning an API with Dingo revolves around content negotiation and
| custom MIME types. A custom ... | {
"content_hash": "80037f3aefee7bd5964901affab2b189",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 90,
"avg_line_length": 32.30622009569378,
"alnum_prop": 0.41113744075829384,
"repo_name": "milvergithub/sqlgenerator",
"id": "eca4b60b8b5b1d1d348ef2f92316a72dacd72830",
"s... |
# freelint
[](https://travis-ci.org/zslucky/freelint)
a lint tool based on standard-engine and rules follow the [Airbnb javascript standard](https://github.com/airbnb/javascript).
We are followed [SamVer 2.0](http://semver.org/), this started ... | {
"content_hash": "09bcf7566c4ed902eaae21255229a482",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 382,
"avg_line_length": 24.54022988505747,
"alnum_prop": 0.6908665105386417,
"repo_name": "zslucky/freelint",
"id": "bd1a43dd5d38a2258c020a296bcceaa6a0f2e410",
"size": "213... |
CFLAGS+= -Wall
PROG= tcpstream
MAN=
.include <bsd.prog.mk>
| {
"content_hash": "7695735d0c52ade2983ca4512c54ab55",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 22,
"avg_line_length": 12,
"alnum_prop": 0.7,
"repo_name": "jrobhoward/SCADAbase",
"id": "37cbcc030c8898c70f457fd3218fa0f9ffc1a6b2",
"size": "77",
"binary": false,
"copi... |
package com.informatica.surf.sources.kinesis;
import com.amazonaws.services.kinesis.clientlibrary.interfaces.IRecordProcessor;
import com.amazonaws.services.kinesis.clientlibrary.interfaces.IRecordProcessorFactory;
import com.lmax.disruptor.RingBuffer;
/**
*
* @author Informatica Corp
*/
public class RecordProces... | {
"content_hash": "435debf53aecc2243713f2f242bc4c5a",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 87,
"avg_line_length": 25.84,
"alnum_prop": 0.7616099071207431,
"repo_name": "InformaticaCorp/Surf",
"id": "6fed42b85cf0fdbeffa243761b86d600e6c6ef4a",
"size": "1248",
"bi... |
layout: post
title: Setup Common Lisp Development Environment by SLIME and Emacs
category: ComputerScience
tags: [CLisp]
---
<div class="message">
SLIME is the "Superior Lisp Interaction Mode for Emacs".SLIME extends Emacs with support for interactive programming in Common Lisp.The Features are centered around slime... | {
"content_hash": "187e9a35a25fdd5c4b4f79709564b17b",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 529,
"avg_line_length": 28.97969543147208,
"alnum_prop": 0.765458048695043,
"repo_name": "akitsukikiritsugu/akitsukikiritsugu.github.io",
"id": "0c704ebca1ad9028aeefab9bb12d... |
<?php
final class LegalpadSignatureSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'legalpad.signature.search';
}
public function newSearchEngine() {
return new LegalpadDocumentSignatureSearchEngine();
}
public function getMethodSummar... | {
"content_hash": "14268fa463c22e36173ade5f3c1a9ff4",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 62,
"avg_line_length": 23.294117647058822,
"alnum_prop": 0.7626262626262627,
"repo_name": "wikimedia/phabricator",
"id": "b96337e9cef7eb95f08a28ce2fbc4e863d58a845",
"size":... |
layout: atom
title: nil
---
{% for post in page.posts %}
<item>
<title>{{ post.title }}</title>
<link>{{ site.baseurl }}{{ post.url }}</link>
<author>{{ page.author }}</author>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<guid>{{ site.baseurl }}{{ post.url }}</guid>
<description><![CDATA[
... | {
"content_hash": "2b151edab8e3656d107902d4c4fe63b2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 57,
"avg_line_length": 27.533333333333335,
"alnum_prop": 0.5690072639225182,
"repo_name": "chugly/chugly.github.io",
"id": "47e10718a71e25ec89c22d0e76b25b7cc711ea50",
"size... |
package org.trvedata.crdt.operation;
import org.trvedata.crdt.ItemID;
public abstract class ChangingOperation implements Operation {
private ItemID operationID;
public ChangingOperation(ItemID operationID) {
this.operationID = operationID;
}
public abstract long logicalTs();
public ItemID getOperationID() ... | {
"content_hash": "87d043306cfb71d53eabcddb0854bb70",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 81,
"avg_line_length": 22.02173913043478,
"alnum_prop": 0.7038499506416585,
"repo_name": "ept/op-crdt",
"id": "9d123bd1cf890bc90cfa266faa7a034743415e2b",
"size": "1013",
... |
<?php
namespace Application\Controller;
use Zend\Mvc\Controller\AbstractActionController;
class BaseController extends AbstractActionController
{
protected $entityManager;
public function onDispatch(\Zend\Mvc\MvcEvent $e)
{
$this->setEntityManager($this->getServiceLocator()->get('Doctrine\ORM\E... | {
"content_hash": "0e8f4f69b278a2a4eeb534440a76c8d6",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 95,
"avg_line_length": 22.77777777777778,
"alnum_prop": 0.6991869918699187,
"repo_name": "M1kefly/Myblog2Zend2.3.0_my_blog",
"id": "2fb2811bec529230f7d0a93d8e69662d00f1566b",... |
"""
Gateway for Binance Crypto Exchange.
"""
import urllib
import hashlib
import hmac
import time
from copy import copy
from datetime import datetime
from enum import Enum
from threading import Lock
from vnpy.api.rest import RestClient, Request
from vnpy.api.websocket import WebsocketClient
from vnpy.trader.constant ... | {
"content_hash": "49a61d37fb5c47ffa15adf5c22686103",
"timestamp": "",
"source": "github",
"line_count": 679,
"max_line_length": 84,
"avg_line_length": 27.197349042709867,
"alnum_prop": 0.5262359885200628,
"repo_name": "andrewchenshx/vnpy",
"id": "b3454d711384882394cb2a7214c2804e588924e5",
"size": "... |
:man_page: bson_json_opts_new
bson_json_opts_new()
====================
Synopsis
--------
.. code-block:: c
bson_json_opts_t *
bson_json_opts_new (bson_json_mode_t mode, int32_t max_len);
Parameters
----------
* ``mode``: A bson_json_mode_t.
* ``max_len``: An int32_t.
Description
-----------
The :symbol:`bs... | {
"content_hash": "b89fb158d37e16fb168b3971b205050f",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 221,
"avg_line_length": 25.806451612903224,
"alnum_prop": 0.665,
"repo_name": "rcsanchez97/mongo-c-driver",
"id": "a41cc59dac40791eec2fc8095161f37487898108",
"size": "800",... |
==================================
How to extend django SHOP models
==================================
(Instead of the default ones)
Some people might feel like the django SHOP models are not suitable for their
project, or want to extend functionality for their specific needs.
This is a rather advanced use case, and... | {
"content_hash": "5e074be225cc924e097f31ef16e07b5a",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 82,
"avg_line_length": 32.37735849056604,
"alnum_prop": 0.6701631701631702,
"repo_name": "bmihelac/django-shop",
"id": "76d6c92a10123a77c806a566b38c03a4255f592a",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.