text stringlengths 2 1.04M | meta dict |
|---|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.tommytcchan.propertiesdiff;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
... | {
"content_hash": "d1e02d3701615c4b67ada6b0fb7d8486",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 118,
"avg_line_length": 33.024,
"alnum_prop": 0.7478197674418605,
"repo_name": "tommytcchan/properties-file-differ-netbeans",
"id": "4e34191a7052ba3c547e495462ff3a907462cc73... |
class ServerSession < ActiveRecord::Base
# translate pseudo session id received from other gofreerev server to pseudo session id used on this gofreerev server
# (online users message)
# create_table "server_sessions", force: true do |t|
# t.integer "server_id", null: false
# t.integer "session... | {
"content_hash": "202fe26aa936dcf60fb7d9a9065f01a5",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 129,
"avg_line_length": 45.275862068965516,
"alnum_prop": 0.7105864432597105,
"repo_name": "jaros1/gofreerev-lo",
"id": "86f0c11afb2ed31904f9daec68ce21d798895331",
"size": ... |
<!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_45) on Fri Mar 06 22:11:40 CST 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.f... | {
"content_hash": "2402aebf08a9d2c8c081a7fc9d232f4e",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 226,
"avg_line_length": 43.13103448275862,
"alnum_prop": 0.6258394627438439,
"repo_name": "jsrudani/HadoopHDFSProject",
"id": "98e331fbe8999b95f1d1844f63efb983db946f4e",
"... |
<objectAnimator
xmlns:android="http://schemas.android.com/apk/res/android"
android:propertyName="trimPathStart"
android:valueFrom="1"
android:valueTo="0"
android:valueType="floatType"
android:duration="500"
android:interpolator="@android:interpolator/linear_out_slow_in" /> | {
"content_hash": "b56419c22bf4689a54fdae9d4f46febd",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 70,
"avg_line_length": 37.625,
"alnum_prop": 0.7308970099667774,
"repo_name": "xingui66/keer",
"id": "22c66b5258975f0d296c04c26445031fdb24939b",
"size": "301",
"binary": f... |
import {remote} from "./remote";
import {CORE_API} from "../common/services/core-api-utils";
export function mkSurveyTemplateStore() {
const findAll = (force = false) => remote.fetchViewList(
"GET",
"api/survey-template",
[],
{force});
const getByQuestionId = (id, force = fa... | {
"content_hash": "0d7638589d657cbec4d4b4b8fab8cc95",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 73,
"avg_line_length": 21.884615384615383,
"alnum_prop": 0.5869947275922671,
"repo_name": "khartec/waltz",
"id": "65b1d732349f2f6d04e879cdb446754e1d15f85d",
"size": "1206",... |
/*!
* vue-i18n v9.0.0-beta.14
* (c) 2020 kazuya kawaguchi
* Released under the MIT License.
*/
import { getGlobalThis, format, makeSymbol, isPlainObject, isArray, isString, isFunction, isObject, isBoolean, isRegExp, isNumber, warn, isEmptyObject } from '@intlify/shared';
import { setupDevtoolsPlugin } from '@vu... | {
"content_hash": "ecc48d649ab65871de2bfb91e8987130",
"timestamp": "",
"source": "github",
"line_count": 2089,
"max_line_length": 428,
"avg_line_length": 34.43992340832934,
"alnum_prop": 0.5341441378831051,
"repo_name": "cdnjs/cdnjs",
"id": "147d00ab1046ee810727d4305ed36b34fdb1aa03",
"size": "71973"... |
HOMOTYPIC_SYNONYM
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "509bf7e14cb3eda93d1779cdfd40924f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 9.384615384615385,
"alnum_prop": 0.6967213114754098,
"repo_name": "mdoering/backbone",
"id": "02dcdd51cbb20f65378a59ca32426e448ec4732b",
"size": "204... |
module SimpleState
module Mixins
def self.included(klass)
klass.class_eval <<-RUBY, __FILE__, __LINE__ + 1
attr_reader :state unless method_defined?(:state)
@@states = {}
@@initial_state = nil
unless method_defined?(:state=)
attr_writer :state
private :st... | {
"content_hash": "f1b19ae592e80c46279f1d843a8a29e7",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 78,
"avg_line_length": 23.70769230769231,
"alnum_prop": 0.5781959766385464,
"repo_name": "antw/simple_state",
"id": "dab4ff26f8cc8b8d00caec6a33ded033c1451b26",
"size": "154... |
<?php
// Creating the widget
class rcity_more_posts_widget extends WP_Widget {
function __construct() {
parent::__construct(
// Base ID of your widget
'rcity_more_posts_widget',
// Widget name will appear in UI
__('#:More Posts', 'rcity_more_posts_widget_domain'),
// Widget description
array( 'desc... | {
"content_hash": "22d2884400d81f65aee3a09dfbec4571",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 194,
"avg_line_length": 34.18811881188119,
"alnum_prop": 0.6200405444540978,
"repo_name": "juzhax/rcity",
"id": "029de96649b65c040c6b38a562992759c4e8a668",
"size": "3453",... |
A Home Dashboard using IoT Edison Board
| {
"content_hash": "efc653d0516fa484fdce601f242173f1",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 39,
"avg_line_length": 40,
"alnum_prop": 0.825,
"repo_name": "zerooneit/houservis",
"id": "6138cb9c026f03296fd21a11b89410565e59cc1a",
"size": "52",
"binary": false,
"cop... |
package org.caleydo.vis.lineup.model.mapping;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
import org.caleydo.vis.lineup.data.ADoubleFunction;
/**
* @author Samuel Gratzl
*
*/
public class BaseCategoricalMappingFunction<T> extends ADoubleFunction<T> implements ICategoricalMappingFu... | {
"content_hash": "955dc5cbe1a676a8e7df543b0ffab39d",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 116,
"avg_line_length": 22.158730158730158,
"alnum_prop": 0.7048710601719198,
"repo_name": "Caleydo/caleydo",
"id": "5c6a98533decff636ee8c9c4a42d5f9fceed4b0b",
"size": "176... |
// Copyright 2021 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | {
"content_hash": "fb2db6427979d3d2efbc86177fff4c06",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 116,
"avg_line_length": 38.559322033898304,
"alnum_prop": 0.5905494505494505,
"repo_name": "GoogleCloudPlatform/dotnet-docs-samples",
"id": "2e0c4fab1f8c1dcf982e8f87a471c796... |
function service_worker_unregister_and_register(test, url, scope) {
if (!scope || scope.length == 0)
return Promise.reject(new Error('tests must define a scope'));
var options = { scope: scope };
return service_worker_unregister(test, scope)
.then(function() {
return navigator.serviceWorker.regis... | {
"content_hash": "96ae780740b9fc42676b3da14940e486",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 80,
"avg_line_length": 34.67156862745098,
"alnum_prop": 0.6305669447193553,
"repo_name": "was4444/chromium.src",
"id": "1859b2aff52e4ef8f23f16dabb76e4bd820e5a50",
"size": ... |
package com.avanza.astrix.versioning.core;
public interface ObjectSerializerFactory {
public AstrixObjectSerializer create(ObjectSerializerDefinition serializerDefinition);
}
| {
"content_hash": "110d3fdf946c1cb6e18de676db2ca6b3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 87,
"avg_line_length": 22.625,
"alnum_prop": 0.850828729281768,
"repo_name": "kerlandsson/astrix",
"id": "dd805f2fd36e8bd12a0a9c0bc8ca21d1de7f7bfb",
"size": "779",
"binary... |
<?php
/**
* Created by PhpStorm.
* User: hp
* Date: 26/12/2014
* Time: 10:51
*/
namespace Sise\Bundle\CoreBundle\Repository;
use Doctrine\ORM\EntityRepository;
class OrientationFilieresportRepository extends EntityRepository
{
public function getOrientationFilieresport($items)
{
return $this->c... | {
"content_hash": "d4f911a52ebae6290258226ef57e5898",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 66,
"avg_line_length": 28.09090909090909,
"alnum_prop": 0.5976267529665588,
"repo_name": "fareh/sise",
"id": "65bb84203d31c93d61ab2c945d2ebf8261e85841",
"size": "927",
"b... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.schneider.utils</groupId>
<artifactId>file</artifactId>
... | {
"content_hash": "c1cb8a4b7dd10918a2243afbf3330da4",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 104,
"avg_line_length": 31.303030303030305,
"alnum_prop": 0.6786060019361084,
"repo_name": "donaldmcdougal/file",
"id": "3fc92c2a4f234dce00adc7cd256befaac1918e3a",
"size": ... |
template <class TYPE>
void invokeAdlSwap(TYPE& a, TYPE& b)
// Exchange the values of the specified 'a' and 'b' objects using the
// 'swap' method found by ADL (Argument Dependent Lookup). The behavior
// is undefined unless 'a' and 'b' were created with the same allocator.
{
BSLS_ASSERT_OPT(a.allocator... | {
"content_hash": "986f6eb8f92a430b64fa62553ecf0056",
"timestamp": "",
"source": "github",
"line_count": 3820,
"max_line_length": 79,
"avg_line_length": 42.758115183246076,
"alnum_prop": 0.4652250575500808,
"repo_name": "apaprocki/bde",
"id": "8a6b066309ed8feea47fc72292e759d9d8e2ce9d",
"size": "1642... |
package decor
import (
"fmt"
"math"
"time"
"github.com/VividCortex/ewma"
)
type TimeNormalizer func(time.Duration) time.Duration
// EwmaETA exponential-weighted-moving-average based ETA decorator.
//
// `style` one of [ET_STYLE_GO|ET_STYLE_HHMMSS|ET_STYLE_HHMM|ET_STYLE_MMSS]
//
// `age` is the previous N sample... | {
"content_hash": "5ccee0fa2768a00d3175099c8efe24ab",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 115,
"avg_line_length": 25.601941747572816,
"alnum_prop": 0.6971937808115283,
"repo_name": "dcos/dcos-cli",
"id": "e8dc979b433ff1d163626ab2162097eaf0fadb92",
"size": "5274... |
FROM python:3.9 AS build
LABEL maintainer="EclecticIQ <opentaxii@eclecticiq.com>"
RUN apt-get update \
&& apt-get install -y libmariadb-dev-compat
RUN python3 -m venv /venv && /venv/bin/pip install -U pip setuptools
COPY ./requirements.txt ./requirements-docker.txt /opentaxii/
RUN /venv/bin/pip install -r /opentaxi... | {
"content_hash": "a2880dd4712b15ee99b8aa0184f08f02",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 94,
"avg_line_length": 30.305555555555557,
"alnum_prop": 0.7076076993583869,
"repo_name": "EclecticIQ/OpenTAXII",
"id": "82486a696df04659190e787722f50419da345820",
"size": ... |
#!/usr/bin/env node
'use strict';
/*eslint no-console: 0, no-sync: 0*/
// UMD bundler
// simple and yet reusable system.js bundler
// bundles, minifies and gzips
const fs = require('fs');
const del = require('del');
const path = require('path');
const zlib = require('zlib');
const async = require('async');
const Bu... | {
"content_hash": "04f04de76823da221f260f8617e5379c",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 107,
"avg_line_length": 24.179775280898877,
"alnum_prop": 0.6096654275092936,
"repo_name": "travelist/angular2-fontawesome",
"id": "f7ee392086eae9edb89acb0b516a8ebc257c46e5",... |
package org.hisp.dhis.schema.descriptors;
import com.google.common.collect.Lists;
import org.hisp.dhis.dashboard.DashboardItem;
import org.hisp.dhis.schema.Authority;
import org.hisp.dhis.schema.AuthorityType;
import org.hisp.dhis.schema.Schema;
import org.hisp.dhis.schema.SchemaDescriptor;
import org.springframewor... | {
"content_hash": "687618f0756945e4cba9ac90b19dbc46",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 132,
"avg_line_length": 29.37837837837838,
"alnum_prop": 0.7322907083716651,
"repo_name": "kakada/dhis2",
"id": "ccf13c1b45a98a7c0b0c287e9a2ffb2fe703c5f4",
"size": "2643",
... |
export = ZipFile;
declare function ZipFile(): void;
declare class ZipFile {
open(path: string, mode: string): void;
close(): void;
write(paths: string | any[]): void;
writeString(string: string, fileName: string): void;
extract(path: string, pathToExtract: string): void;
extractAll(path: string)... | {
"content_hash": "5f82b491e878756222137a53b8df7bed",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 32.45454545454545,
"alnum_prop": 0.6666666666666666,
"repo_name": "markogresak/DefinitelyTyped",
"id": "07da53cdb895a9af85abbbe6e206b25a54c40f21",
"s... |
using Microsoft.WindowsAzure.Storage.Table;
namespace FunctionAppSample
{
public class BotStatus : EventSourceState
{
public string Location { get; set; }
public string CurrentApp { get; set; }
public BotStatus() { }
}
}
| {
"content_hash": "58dcee429ed59963a6209fb9955b5fd7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 46,
"avg_line_length": 21.666666666666668,
"alnum_prop": 0.65,
"repo_name": "pierre3/LineMessagingApi",
"id": "d7da16de82c680b480f8e5c2194ed3c2c25eafe1",
"size": "262",
"... |
export { Action, createAction, Dispatch } from "./common";
export { editorAction, EditorActionTypes, EditorPayload } from "./editor";
export { parseAction, ParseActionTypes, ParsePayload } from "./parse";
export { partAction, PartActionTypes, PartPayload } from "./part";
export { partTreeAction, PartTreeActionTypes, Pa... | {
"content_hash": "24f81d1a72896fdb36b00dd8ef2bcd8b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 82,
"avg_line_length": 69.66666666666667,
"alnum_prop": 0.7559808612440191,
"repo_name": "defvar/toyctron",
"id": "2e239cbfe4853f4014e21a592449943f014b0bc4",
"size": "418",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>gem5: cpu/o3/decode.cc File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</he... | {
"content_hash": "d1aa08e7b2f6c1e3e59d0b7c7c7441ea",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 153,
"avg_line_length": 45.41860465116279,
"alnum_prop": 0.6175115207373272,
"repo_name": "wnoc-drexel/gem5-stable",
"id": "a6bfaf2820bb26be5780ad82b285736af808e63b",
"size... |
import cgi
import unittest
from six.moves import xmlrpc_client as xmlrpclib
from six.moves.urllib.parse import urlparse
from pyrake.http import Request, FormRequest, XmlRpcRequest, Headers, HtmlResponse
class RequestTest(unittest.TestCase):
request_class = Request
default_method = 'GET'
default_headers ... | {
"content_hash": "e8db54eae46114c78c6b688aae43bab5",
"timestamp": "",
"source": "github",
"line_count": 716,
"max_line_length": 105,
"avg_line_length": 42.70670391061452,
"alnum_prop": 0.5660278631695991,
"repo_name": "elkingtowa/pyrake",
"id": "1ebae3156a1a7588fdbe54425a213895b31340f2",
"size": "3... |
/* globals Engine, THREE, ObjectControls, $, THREEx, console */
'use strict';
Engine.createView = function( options ){
var that = {};
var renderWidth = window.innerWidth;
var renderHeight = window.innerHeight;
var camera = new THREE.PerspectiveCamera( 60, renderWidth/renderHeight, 0.1, 1000 );
// some d... | {
"content_hash": "b5a8c9ad3231159c5da3e27d53cf5de5",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 86,
"avg_line_length": 22.781990521327014,
"alnum_prop": 0.6076555023923444,
"repo_name": "mflux/antler",
"id": "3fb9e5b5d4af67a8b4bf9ea57778cfd6b3da9a74",
"size": "4807",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0260b67a5cef4af9373526a2c2ba3df8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "f135e382a62ddaab38ecb706722473741172617c",
"size": "191... |
import unittest
from mock import mock
from oslo_utils import units
from cinder import coordination
from cinder.tests.unit.volume.drivers.dell_emc.unity \
import fake_exception as ex
from cinder.volume.drivers.dell_emc.unity import client
########################
#
# Start of Mocks
#
########################
... | {
"content_hash": "3abcb23719c71e0fca4816d2fb93affe",
"timestamp": "",
"source": "github",
"line_count": 547,
"max_line_length": 78,
"avg_line_length": 32.90859232175503,
"alnum_prop": 0.5978556746847398,
"repo_name": "phenoxim/cinder",
"id": "9a444dd5fc455e4a04d0625c11df28ecde2220c3",
"size": "1862... |
<?php
namespace common\module\jrbac\backend\controllers;
use common\module\jrbac\src\RoleForm;
use yii\data\ActiveDataProvider;
use yii\data\ArrayDataProvider;
/**
* 角色管理
* Class RoleController
* @package jext\jrbac\controllers
*/
class RoleController extends ControllerJrbac
{
/** 角色列表 */
public function... | {
"content_hash": "d6f93748f655c3c2275e1a02d1a2fe45",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 90,
"avg_line_length": 31.761702127659575,
"alnum_prop": 0.44560557341907825,
"repo_name": "JeanWolf/plat",
"id": "aa8e2b42c118e58a7bd2de50247f195f0480b277",
"size": "7614... |
<?php
namespace Algolia\AlgoliaSearch\Model\Indexer;
use Algolia\AlgoliaSearch\Helper\ConfigHelper;
use Algolia\AlgoliaSearch\Helper\Data;
use Algolia\AlgoliaSearch\Model\Queue;
use Magento;
use Magento\Framework\Message\ManagerInterface;
use Magento\Store\Model\StoreManagerInterface;
use Symfony\Component\Console\Ou... | {
"content_hash": "880937647aaf20f02d8cf3f2d69ecf15",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 181,
"avg_line_length": 30.606060606060606,
"alnum_prop": 0.6658415841584159,
"repo_name": "aligent/algoliasearch-magento-2",
"id": "851b10c429a3d3f7923da9733b25d093d853c3f8"... |
package elasticache_test
import (
"fmt"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
"github.com/aws/aws-sdk-go/aws/session"
"github.com/aws/aws-sdk-go/service/elasticache"
)
var _ time.Duration
var _ strings.Reader
var _ aws.Config
func parseTime(layout, value stri... | {
"content_hash": "8804da69ad4281cd0b993a08048cc0ec",
"timestamp": "",
"source": "github",
"line_count": 1953,
"max_line_length": 97,
"avg_line_length": 37.40552995391705,
"alnum_prop": 0.7637331800199855,
"repo_name": "ironcladlou/origin",
"id": "105b551579af59ed301b57edbec3e2733b5e1883",
"size": "... |
To install in your home, just link (or copy) the language definition file in ~/.local/share/gtksourceview-2.0/language-specs
# syntaxhighlighter
Nit brush for the Alex Gorbatchev's JS syntaxhighlighter.
To install the JS syntaxhighlighter, please refer to http://alexgorbatchev.com/SyntaxHighlighter/
Then can add th... | {
"content_hash": "dd47cf95ac9d7fff48796f37e234c45e",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 124,
"avg_line_length": 35.291666666666664,
"alnum_prop": 0.7629279811097993,
"repo_name": "ablondin/nit",
"id": "9b4bf06c21a6f51a41896b80a384b044740c532e",
"size": "4281"... |
<header>
<div class="navbar">
<div class="navbar-inner">
<a class="brand" href="index.php">GP/FP SNOMED CT RefSet and ICPC-2 mapping project - Field Test</a>
<?php
if($_SESSION["logged"]){
?>
<ul class="nav pull-right">
<li class="dropdown">
<a class="dropdown-toggl... | {
"content_hash": "ac2b057a7adbce43998295603e625d98",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 236,
"avg_line_length": 46.92307692307692,
"alnum_prop": 0.55,
"repo_name": "IHTSDO/field-test-tool",
"id": "803b9199a2675af5073d03f57789699dd6afceea",
"size": "1220",
"b... |
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/sysfs.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/mutex.h>
#include <linux/mod_devicetable.h>
#include <linux/spi/spi.h>
... | {
"content_hash": "1b28b44a87e5008a9e2494d39d9cf7df",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 74,
"avg_line_length": 24.056338028169016,
"alnum_prop": 0.6539812646370023,
"repo_name": "AlbandeCrevoisier/ldd-athens",
"id": "69e0bb97e5973911e1fdbfba07a36420b585894b",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mo... | {
"content_hash": "925d65143daaefa03b1fcb713bc4892c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 93,
"avg_line_length": 40.241379310344826,
"alnum_prop": 0.7566409597257926,
"repo_name": "MobiliTips/MvxPlugins",
"id": "ecb5c52e2033f538f15a762b44b57f84f9255636",
"size":... |
package gov.hhs.fha.nhinc.docquery.xdsb.helper;
import gov.hhs.fha.nhinc.nhinclib.NhincConstants;
import gov.hhs.fha.nhinc.docquery.xdsb.helper.XDSbConstants.RegistryStoredQueryParameter;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import oasis.names.tc... | {
"content_hash": "908cc75c35429a098fd4acdab10f7bab",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 128,
"avg_line_length": 36,
"alnum_prop": 0.6171063149480416,
"repo_name": "beiyuxinke/CONNECT",
"id": "0c35d767b895b7af8ae1bcb9d500a92c37fd5ae8",
"size": "6679",
"binar... |
package org.apache.camel.component.ironmq.integrationtest;
import org.apache.camel.EndpointInject;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit5.CamelTestSupport;
import org.junit.jupiter... | {
"content_hash": "daabec0c797430ff901eb58514cd36fe",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 99,
"avg_line_length": 35.1875,
"alnum_prop": 0.6933096506808762,
"repo_name": "adessaigne/camel",
"id": "e763097b6b2a4990b858d8a11d48328e621a02bf",
"size": "2491",
"bina... |
import {
GET_ALL_TEMPLATES,
SET_TEMPLATES,
TEMPLATE_GET_DISKS,
TEMPLATE_GET_NICS,
TEMPLATE_SET_DISKS,
TEMPLATE_SET_NICS,
} from '_/constants'
export function getTemplateDisks (templateId) {
return {
type: TEMPLATE_GET_DISKS,
payload: {
templateId,
},
}
}
export function getTemplateNi... | {
"content_hash": "1edb28f969e0e18a36d3e92f08034007",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 54,
"avg_line_length": 15.830508474576272,
"alnum_prop": 0.6220556745182013,
"repo_name": "mareklibra/userportal",
"id": "38d409d356691239efe84b599d460a8207f031d2",
"size":... |
package org.strangeforest.tcb.stats.model.core;
import java.util.*;
import static org.strangeforest.tcb.stats.model.core.SetRules.*;
public class MatchRules {
public static final MatchRules BEST_OF_3_MATCH = new MatchRules(3, COMMON_SET);
public static final MatchRules BEST_OF_5_MATCH = new MatchRules(5, COMMON_S... | {
"content_hash": "a2f468a744ceec65387b2ad51522d302",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 116,
"avg_line_length": 26.5,
"alnum_prop": 0.7232704402515723,
"repo_name": "mcekovic/tennis-crystal-ball",
"id": "90aa7555b5b4f7b4be453bb61df0fae4f82a5efa",
"size": "1749... |
'use strict';
/* global ace */
module.exports = function(keyMap) {
if (keyMap === 'default')
return this._Ace.setKeyboardHandler('ace/keyboard/hash_handler');
if (keyMap === 'vim') {
ace.config.loadModule('ace/keybinding/vim', () => {
const {CodeMirror} = ace.require('ace/keyb... | {
"content_hash": "5146af33443323a3893e607c631e0f7c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 73,
"avg_line_length": 30.3,
"alnum_prop": 0.5363036303630363,
"repo_name": "cloudcmd/edward",
"id": "4f24ee6875bd44626f896fd90cd5faa805e8f00c",
"size": "606",
"binary": ... |
ZendFramework1-App-Skeleton
===========================
Composer Zend Framework 1.* App Skeletton with composer dependencies manager
| {
"content_hash": "8386c937286a6b6219f4bab3f7393a9b",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 76,
"avg_line_length": 33.5,
"alnum_prop": 0.6716417910447762,
"repo_name": "arzola/ZendFramework1-App-Skeleton",
"id": "9a38a4a131b52703b5cd2b3f14bd79e147617e7a",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.sonatype.oss</gro... | {
"content_hash": "220bbd3ebf02e4a073145d68c205e236",
"timestamp": "",
"source": "github",
"line_count": 432,
"max_line_length": 129,
"avg_line_length": 31.256944444444443,
"alnum_prop": 0.6649633414796712,
"repo_name": "WiQuery/wiquery",
"id": "6f8184754067a3a03e74b8696b529d45562fcab2",
"size": "13... |
// Copyright 2007 The Apache Software Foundation
//
// 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 l... | {
"content_hash": "9c9b2c91ab50cdda496ce2962f9c3bca",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 117,
"avg_line_length": 34.21052631578947,
"alnum_prop": 0.7446153846153846,
"repo_name": "safarijv/tapestry-compat",
"id": "382ad2356c3ce3f51a53d09f17cb36a5c7380137",
"siz... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from ray.rllib.offline.off_policy_estimator import OffPolicyEstimator, \
OffPolicyEstimate
from ray.rllib.utils.annotations import override
class ImportanceSamplingEstimator(OffPolicyEstimator):
"""Th... | {
"content_hash": "a2b8c204e3e4167f9ab1ec462afe5f6e",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 79,
"avg_line_length": 31.91304347826087,
"alnum_prop": 0.5756130790190735,
"repo_name": "ujvl/ray-ng",
"id": "55678c9511c6708a37d91c499ec5cb7c99bc34eb",
"size": "1468",
... |
from ctypes import *
import unittest
import struct
def valid_ranges(*types):
# given a sequence of numeric types, collect their _type_
# attribute, which is a single format character compatible with
# the struct module, use the struct module to calculate the
# minimum and maximum value allowed for this... | {
"content_hash": "e763cd7288b8710efe6f4a3863c1e77e",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 78,
"avg_line_length": 32.15523465703971,
"alnum_prop": 0.5564163017851128,
"repo_name": "MalloyPower/parsing-python",
"id": "c0732decd763c511d14d6db783278ec405d62088",
"s... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">UseMediaStoreProvider</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
</resources>
| {
"content_hash": "2c42d9cd5fc7f9392cd85d94bbfc55bb",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 28.875,
"alnum_prop": 0.6926406926406926,
"repo_name": "Android518-2015/week11-contentproviders",
"id": "bef7328e8d4b9e9852abbdbaddd4f42df969e018",
"s... |
(function($) {
$.extend($, {lightBoxFu: {}});
$.extend($.lightBoxFu, {
initialize: function (o) {
if($('#lightboxfu').length == 0) {
options = {stylesheetsPath: '/stylesheets/', imagesPath: '/images/'};
jQuery.extend(options, o);
html = '<div id="lightboxfu" style="display: none"><div id... | {
"content_hash": "efe9da6ac6e3ed077b0dfad065cb8a38",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 218,
"avg_line_length": 36.65,
"alnum_prop": 0.5493406093678945,
"repo_name": "slawosz/content-slice",
"id": "756046f84ceb62d4ff3b93d4ad1f0a564ce5c9c1",
"size": "2371",
"... |
<?php
namespace Bolt\Storage\Entity;
/**
* Entity for relations.
*/
class Relations extends Entity
{
/** @var int */
protected $id;
/** @var string */
protected $from_contenttype;
/** @var int */
protected $from_id;
/** @var string */
protected $to_contenttype;
/** @var int */
... | {
"content_hash": "3fd6993cadcc69f2310dcc2d47273787",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 57,
"avg_line_length": 16.21969696969697,
"alnum_prop": 0.4932274638019617,
"repo_name": "electrolinux/bolt",
"id": "47ca09b63e2bf1886c08d4f06034459048688310",
"size": "21... |
package io.renthell.eventstoresrv.web.events;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;
/**
* Created by cfhernandez on 28/8/17.
*/
@Getter
@Setter
@ToString
public class PropertyTransactionConfirmEvent extends BaseEvent {
private String identifier;
private... | {
"content_hash": "8f4a184e5ede4e3c84901c9446f842fd",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 64,
"avg_line_length": 17.375,
"alnum_prop": 0.7410071942446043,
"repo_name": "charques/renthell",
"id": "cc45efe7cd3c60db1356c3cb42698a80d63a69b1",
"size": "417",
"binar... |
testA = "UDDDUDUU" #1
testB = "DDUUDDUDUUUD" #2
def countValleys(steps)
steps = steps.split("")
elevation = 0
lastStep = 0
valleys = 0
steps.each_with_index do |x, i|
## Track the current elevation from sea level (0)
if x == "U"
elevation += 1
elsif x == "D"
elevation -= 1
end
... | {
"content_hash": "29a2adae50cbea8100defb32677ab1e5",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 91,
"avg_line_length": 21.258064516129032,
"alnum_prop": 0.6191198786039454,
"repo_name": "masharp/algorithm-challenges-n-stuff",
"id": "142ec96ca7ee2827b200d6a466d27e3d4c3e8... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>checker: Error with dependencies</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | {
"content_hash": "2e9d277848d2fe046d5b0e6b3cd80552",
"timestamp": "",
"source": "github",
"line_count": 708,
"max_line_length": 260,
"avg_line_length": 38.271186440677965,
"alnum_prop": 0.6562592264540892,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "b4655b0b51c936e06b3a0350c94087343e7579bc",... |
package org.jgrades.security.service;
import org.jgrades.admin.api.accounts.UserMgntService;
import org.jgrades.data.api.entities.User;
import org.jgrades.security.api.dao.PasswordDataRepository;
import org.jgrades.security.api.entities.PasswordData;
import org.jgrades.security.api.service.PasswordMgntService;
impor... | {
"content_hash": "53870646224d556eba12dba4d4506306",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 93,
"avg_line_length": 36.596774193548384,
"alnum_prop": 0.753195240193918,
"repo_name": "jgrades/jgrades",
"id": "d8cec26bc724fadf1fdbb5e6bcf7a402cf6cc8fd",
"size": "2553"... |
<com.tle.beans.mime.MimeEntry>
<id>47953</id>
<institution>
<id>47824</id>
<uniqueId>0</uniqueId>
<enabled>true</enabled>
</institution>
<extensions class="list">
<string>aifc</string>
<string>aiff</string>
<string>aif</string>
</extensions>
<type>audio/x-aiff</type>
<description>A... | {
"content_hash": "ff7971e4413397ffd5300160ae294cf1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 38,
"avg_line_length": 23.952380952380953,
"alnum_prop": 0.6461232604373758,
"repo_name": "equella/Equella",
"id": "3a07e18d6073f4b2468bc8b8cbe1c9d83ffe57c9",
"size": "503"... |
python -m unittest discover -p "*_test.py" | {
"content_hash": "fb609cfd567bd021e5f93a21c1dfc12f",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 42,
"avg_line_length": 42,
"alnum_prop": 0.7142857142857143,
"repo_name": "y-usuzumi/survive-the-course",
"id": "2d8ff1ab2b8f52c4149478b6451ebfc0d958336d",
"size": "52",
"... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* --------------------------------------------------------------------... | {
"content_hash": "9061d364f2952e029e13dcc31fdd3bcc",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 151,
"avg_line_length": 70.15294117647059,
"alnum_prop": 0.5483816870702667,
"repo_name": "LabAixBidouille/EmbeddedTeam",
"id": "041525cb38246bef37d04b870ed526e1780c15e8",
... |
<HTML><HEAD>
<TITLE>Review for Loss of Sexual Innocence, The (1999)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0126859">Loss of Sexual Innocence, The (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR... | {
"content_hash": "a55498bc9dbcba43bcd35f0eca2b8c1e",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 219,
"avg_line_length": 59.25,
"alnum_prop": 0.7510548523206751,
"repo_name": "xianjunzhengbackup/code",
"id": "bd0f065f5bb4f97b4f9d7c493926df4541a6b5b0",
"size": "3081",
... |
import requests
from bs4 import BeautifulSoup
import os
import string #for zfill
from PIL import ImageFont, Image, ImageDraw, ImageOps
import os
import sys
from image_utils import ImageText
#takes in the image source, and local filename then downloads the image to out/localname
def download(src, localname):
ima... | {
"content_hash": "cea49abd605c5ca8702f158bcc1eb57a",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 183,
"avg_line_length": 38.4375,
"alnum_prop": 0.5232158988256549,
"repo_name": "antoniocarlosortiz/webcomic-image-parser",
"id": "e5d4fdb43359e2d9a42bc11f9245ea264335bf31",... |
require 'adwords_api'
require 'date'
def add_site_links(campaign_id)
# AdwordsApi::Api will read a config file from ENV['HOME']/adwords_api.yml
# when called without parameters.
adwords = AdwordsApi::Api.new
# To enable logging of SOAP requests, set the log_level value to 'DEBUG' in
# the configuration file... | {
"content_hash": "c00c9aef38ad9ef5628c9ce93e528c3e",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 80,
"avg_line_length": 30.41899441340782,
"alnum_prop": 0.5963269054178145,
"repo_name": "Invoca/google-api-ads-ruby",
"id": "bd0d23a1b898698faa21ef01a1a20e7db3b6a834",
"s... |
package gitattr
type MacroProcessor struct {
macros map[string][]*Attr
}
// NewMacroProcessor returns a new MacroProcessor object for parsing macros.
func NewMacroProcessor() *MacroProcessor {
macros := make(map[string][]*Attr)
// This is built into Git.
macros["binary"] = []*Attr{
&Attr{K: "diff", V: "false"}... | {
"content_hash": "0d6166d6c59a5eaebb2d6da2573622ed",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 80,
"avg_line_length": 24.660714285714285,
"alnum_prop": 0.6350470673425054,
"repo_name": "github/git-lfs",
"id": "6413ac6b4c1b28a109fb5d6a2932b8010d7fa39c",
"size": "1381"... |
using System;
using Newtonsoft.Json;
using System.Collections.Generic;
using RestSharp;
using System.Text;
using Gx.Conclusion;
using Gx.Rs.Api.Util;
using Gx.Links;
using System.Net;
using System.Linq;
using Gx.Records;
using Gx.Common;
using Gedcomx.Model;
using Gedcomx.Support;
using System.Diagnostics;
namespace G... | {
"content_hash": "f2230ae2c45c68a74fabf517b1f1dd64",
"timestamp": "",
"source": "github",
"line_count": 977,
"max_line_length": 231,
"avg_line_length": 47.16069600818833,
"alnum_prop": 0.6033075787828804,
"repo_name": "weitzhandler/gedcomx-csharp",
"id": "ae34bcd684cc58850b8b3835840c807cf790d7a9",
... |
*Don't worry! Form Editor works right out of the box without any scheduled jobs running. At the time of writing, the only feature that requires a scheduled job to work is the [automatic deletion of expired submissions](install.md#automatic-deletion-of-expired-submissions).*
## Authenticating
When running scheduled job... | {
"content_hash": "e08167891b634fb42880e006fb8e008d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 274,
"avg_line_length": 50.2972972972973,
"alnum_prop": 0.7576571735626008,
"repo_name": "kjac/FormEditor",
"id": "3f4a95a60a26f61511e6bcdf83601d26b7c49b93",
"size": "1890"... |
GoLearn
=======
<img src="http://talks.golang.org/2013/advconc/gopherhat.jpg" width=125><br>
[](https://godoc.org/github.com/sjwhitworth/golearn)
[](https://travis-ci.org/sjw... | {
"content_hash": "4f9b09be87e1cd6a00c95df8c8a8ed26",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 127,
"avg_line_length": 34.63855421686747,
"alnum_prop": 0.7530434782608696,
"repo_name": "ghs11/golearn",
"id": "95e2038c673d92464c1e2819afe0da71b7b4ef0c",
"size": "2875",... |
HpwRewrite.CategoryNames = HpwRewrite.CategoryNames or { }
HpwRewrite.CategoryNames.DestrExp = HpwRewrite.Language:GetWord("#category_destrexp")
HpwRewrite.CategoryNames.Fight = HpwRewrite.Language:GetWord("#category_fight")
HpwRewrite.CategoryNames.Generic = HpwRewrite.Language:GetWord("#category_generic")
HpwRewrite... | {
"content_hash": "c1ea4e34a9676a3d85cb6ce6095ac115",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 93,
"avg_line_length": 75.54545454545455,
"alnum_prop": 0.8351383874849578,
"repo_name": "Ayditor/HPW_Rewrite",
"id": "fe711316f1876699bdf59369cdb0215e63aff91d",
"size": "8... |
require 'bicycle_orm/model/actions'
require 'bicycle_orm/model/attributes'
module BicycleOrm
class Model
include BicycleOrm::Connection
extend BicycleOrm::Model::Actions
extend BicycleOrm::Model::Attributes
def initialize(attributes = nil)
@attributes = attributes
end
def [](name)
... | {
"content_hash": "8ba3a6e54d4e97bb9a3b43ce3f7e9fa5",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 40,
"avg_line_length": 18.956521739130434,
"alnum_prop": 0.6674311926605505,
"repo_name": "vaihtovirta/bicycle_orm",
"id": "1bca7290f6b13ca19c23ab0ecd70363fbe7cc1f5",
"size... |
/**
*/
package bpsim.impl;
import bpsim.BPSimDataType;
import bpsim.BpsimPackage;
import bpsim.Scenario;
import java.util.Collection;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObjec... | {
"content_hash": "1e7b0e9f5a3223d3193538c306f1558b",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 107,
"avg_line_length": 23.29381443298969,
"alnum_prop": 0.6483735339676919,
"repo_name": "romartin/jbpm",
"id": "44afd8073cd6dcbbe1d30ccb9f6efc8273252d50",
"size": "5138"... |
package main_test
import (
"testing"
"github.com/neofight/govps"
"github.com/neofight/govps/io"
"github.com/neofight/govps/mock"
)
func setupMockFile(file string) {
mockFS := mock.NewFileSystem()
mockFS.DirectoryEntries = append(mockFS.DirectoryEntries, mock.FileInfo{FileName: file})
io.FileSystem = mockFS... | {
"content_hash": "7766e43a57f5d64a1dfa672974099f79",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 89,
"avg_line_length": 21.619402985074625,
"alnum_prop": 0.7117707973765964,
"repo_name": "neofight/govps",
"id": "9c08c00093a718562eb33f6ec866ab033a7455a5",
"size": "2897... |
<?php
namespace Gnugat\SearchEngine\Criteria;
class Embeding
{
public $relations;
public function __construct(array $relations)
{
$this->relations = $relations;
}
public static function fromQueryParameters(array $queryParameters) : self
{
if (false === isset($queryParameter... | {
"content_hash": "934f21c07dd86e088fc41d23cedcb116",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 19.82758620689655,
"alnum_prop": 0.6017391304347826,
"repo_name": "gnugat/search-engine",
"id": "0a0348bddd3a4765f03b854ed5e81ee9314234c9",
"size": "... |
/* $OpenBSD: msdosfs_lookup.c,v 1.11 1999/02/19 17:26:17 art Exp $ */
/* $NetBSD: msdosfs_lookup.c,v 1.34 1997/10/18 22:12:27 ws Exp $ */
/*-
* Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
* Original code by Paul Popelka (paulp@uts.amdahl.com... | {
"content_hash": "6f256dc46467b93af97c3ea2221bb8f3",
"timestamp": "",
"source": "github",
"line_count": 1125,
"max_line_length": 82,
"avg_line_length": 27.165333333333333,
"alnum_prop": 0.633683452766598,
"repo_name": "MarginC/kame",
"id": "1a6baa0233b8bd229f7144a776728e4a96fbe3b8",
"size": "30561"... |
using System;
namespace GitMind.Utils.UI
{
internal class BusyProgress : IDisposable
{
private readonly BusyIndicator busyIndicator;
private readonly string statusText;
private Timing timing;
public BusyProgress(BusyIndicator busyIndicator, string statusText)
{
timing = new Timing();
timing.Log("St... | {
"content_hash": "57e7761171852fb2709947ccd2493fca",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 69,
"avg_line_length": 19.74074074074074,
"alnum_prop": 0.726078799249531,
"repo_name": "michael-reichenauer/GitMind",
"id": "c109697ebcfdc7edb08fb6f2ecc2c09a7e27e664",
"si... |
#import <Foundation/Foundation.h>
#import "TiUtils.h"
#import "ApplicationDefaults.h"
@implementation ApplicationDefaults
+ (NSMutableDictionary*) copyDefaults
{
NSMutableDictionary * _property = [[NSMutableDictionary alloc] init];
[_property setObject:[TiUtils stringValue:@"system"] forKey:@"ti.ui.defau... | {
"content_hash": "ae19497791467eceaee91da28df9e26c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 95,
"avg_line_length": 26.823529411764707,
"alnum_prop": 0.7368421052631579,
"repo_name": "markofevil3/truyenClient",
"id": "c81f90989f5dca972f7f873be52a482156fea94d",
"siz... |
package org.springframework.boot.devtools.restart;
/**
* Strategy used to handle launch failures.
*
* @author Phillip Webb
* @since 1.3.0
*/
@FunctionalInterface
public interface FailureHandler {
/**
* {@link FailureHandler} that always aborts.
*/
FailureHandler NONE = (failure) -> Outcome.ABORT;
/**
... | {
"content_hash": "f7a87839b12b513b4225a837509ae5f2",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 87,
"avg_line_length": 16.181818181818183,
"alnum_prop": 0.6629213483146067,
"repo_name": "lburgazzoli/spring-boot",
"id": "84c490405df1d88f1793dee56f927cca592b81d7",
"size... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ren.CMS.CORE.Helper
{
public static class ArrayHelper
{
public static int IndexOfElement<T>(this IEnumerable<T> source, T value)
{
int index = 0;
... | {
"content_hash": "6792d743060708c52b968d80fa519f8f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 84,
"avg_line_length": 25.73913043478261,
"alnum_prop": 0.5709459459459459,
"repo_name": "nfMalde/Ren.CMS.NET",
"id": "95081ef37cbcd656530afb852717d64ec66911df",
"size": "5... |
from parsl.app.app import bash_app, python_app
from parsl.data_provider.files import File
import os
@bash_app
def echo(message, outputs=[]):
return 'echo {m} &> {o}'.format(m=message, o=outputs[0])
@python_app
def cat(inputs=[]):
with open(inputs[0].filepath) as f:
return f.readlines()
def test_s... | {
"content_hash": "efbcec8947552a03d8aea377f833e4e7",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 62,
"avg_line_length": 21.766666666666666,
"alnum_prop": 0.6416539050535988,
"repo_name": "Parsl/parsl",
"id": "09f5e86f938749c6b1d9a31077034397b137bea8",
"size": "653",
... |
package io.dropwizard.testing;
import io.dropwizard.configuration.UrlConfigurationSourceProvider;
import io.dropwizard.setup.Environment;
import io.dropwizard.testing.app.TestApplication;
import io.dropwizard.testing.app.TestConfiguration;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
... | {
"content_hash": "908b58466e23a9eba63866174e9cce40",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 143,
"avg_line_length": 34.31111111111111,
"alnum_prop": 0.7396373056994818,
"repo_name": "dropwizard/dropwizard",
"id": "ee8c1ba3135a5816a9ff58d2f8acfacbf5583c55",
"size":... |
cask 'textmate' do
version '2.0-beta.12.20'
sha256 '332fb7b30a07a8cbaad9d8fb6893c8eae9f65e1397fd3b4c7781ed066f2df7f9'
# github.com/textmate/textmate was verified as official when first introduced to the cask
url "https://github.com/textmate/textmate/releases/download/v#{version}/TextMate_#{version}.tbz"
appc... | {
"content_hash": "b53d7e02526e8309e5d72d16c7be0ae1",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 98,
"avg_line_length": 47.16,
"alnum_prop": 0.6997455470737913,
"repo_name": "forevergenin/homebrew-cask",
"id": "4e75cf5905cf6935be26a905aae505c1b00e5664",
"size": "1179",... |
describe('MockWebServer', function () {
const base = this;
beforeEach(() => {
injector().inject(function (MockWebServer) {
base.MockWebServer = MockWebServer;
});
});
it('should exist', () => {
expect(this.MockWebServer).to.exist;
});
});
| {
"content_hash": "4bcdca18290dc270528e97564811f8ad",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 48,
"avg_line_length": 20.692307692307693,
"alnum_prop": 0.5947955390334573,
"repo_name": "opentable/spur-mockserver",
"id": "c092804a8da6086ca6fbb480571a7ea3c4f3aaf1",
"si... |
using System.Threading.Tasks;
using CrystalQuartz.Application;
using CrystalQuartz.Core;
using CrystalQuartz.Core.SchedulerProviders;
using CrystalQuartz.WebFramework;
using CrystalQuartz.WebFramework.HttpAbstractions;
using Microsoft.AspNetCore.Http;
namespace CrystalQuartz.AspNetCore
{
public class CrystalQuart... | {
"content_hash": "5eea1cfb3571a2203155306840077205",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 154,
"avg_line_length": 33.666666666666664,
"alnum_prop": 0.7186468646864687,
"repo_name": "guryanovev/CrystalQuartz",
"id": "6278b1a15d0cfee14c1d43d9d8fa7e6d64f977cf",
"si... |
package publicsuffix // import "golang.org/x/net/publicsuffix"
// TODO: specify case sensitivity and leading/trailing dot behavior for
// func PublicSuffix and func EffectiveTLDPlusOne.
import (
"fmt"
"net/http/cookiejar"
"strings"
)
// List implements the cookiejar.PublicSuffixList interface by calling ... | {
"content_hash": "7d95a648127a3ee47450eeef663a71ba",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 101,
"avg_line_length": 31.38888888888889,
"alnum_prop": 0.606826801517067,
"repo_name": "spacexnice/ctlplane",
"id": "8d9b86f333388bb8b5bf2eed5ea58bb9457c2945",
"size": "... |
package pstoreds
import (
"context"
"fmt"
"io"
"time"
"github.com/libp2p/go-libp2p/core/peer"
"github.com/libp2p/go-libp2p/core/peerstore"
pstore "github.com/libp2p/go-libp2p/p2p/host/peerstore"
ds "github.com/ipfs/go-datastore"
"github.com/ipfs/go-datastore/query"
"github.com/multiformats/go-base32"
)
//... | {
"content_hash": "94d2a997a2ae3df8d30e2c352956cb5f",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 118,
"avg_line_length": 25.272251308900522,
"alnum_prop": 0.6909053242179407,
"repo_name": "libp2p/go-libp2p",
"id": "bd5476812928cf516cebb5006e59a886285318b5",
"size": "4... |
<?php
/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $exception Exception */
use yii\helpers\Html;
$this->title = $name;
?>
<div class="site-error">
<h1><?= Html::encode($this->title) ?></h1>
<div class="alert alert-danger">
<?= nl2br(Html::encode($message))... | {
"content_hash": "b30d57febf8935253918e153e029e7fb",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 82,
"avg_line_length": 20.576923076923077,
"alnum_prop": 0.577570093457944,
"repo_name": "gcdong/basic",
"id": "9a49b8e5612165b6fab2670619da2f35d7550038",
"size": "535",
... |
<style>
.guides-banner {
display: block;
box-sizing: border-box;
padding: 20px 40px;
width: 1160px;
height: 150px;
background-color: #0066FF;
background-image: url({{ "/images/backgrounds/guides_banner.svg" }});
background-position: top right;
... | {
"content_hash": "dfe820c0caa96b5ddb4fff8169beec6d",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 77,
"avg_line_length": 27.736842105263158,
"alnum_prop": 0.5464895635673624,
"repo_name": "flant/dapp",
"id": "d46ece3b30cc3713067a8a80e984ee236baea828",
"size": "1054",
... |
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml;
using System.Xml.Serialization;
namespace MusicXMLUtils.Structure
{
[GeneratedCode("xsd", "4.0.30319.18020")]
[Serializable]
[DebuggerStepThrough]
[DesignerCategory("code")]
[XmlT... | {
"content_hash": "ff3f830d916fd5e8d5b834dd6401ef0a",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 62,
"avg_line_length": 25.59259259259259,
"alnum_prop": 0.6015436565364206,
"repo_name": "nanase/MusicXMLUtils",
"id": "41e1db24e5ffae509387bb91742452704066172e",
"size": "... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f9cc94c97ac4d0ee1ba44ac7c33d5300",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "fd6b1a9dc9bc866135f877b418e83950da401273",
"size": "18... |
'use strict';
const graphql = require('graphql');
const expect = require('chai').expect;
const DB = require('../../support/db');
const SimpleType = require('../../support/types/simple');
const TestUser = require('../../support/types/user');
const TestGroup = require('../../support/types/group');
module.exports = fu... | {
"content_hash": "4f7661264cdaa29a068ee362bda35990",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 156,
"avg_line_length": 39.29213483146067,
"alnum_prop": 0.5993708893337146,
"repo_name": "larsbs/graysql",
"id": "3fa3a5a91e32f44115291911c7c8ed131373bad6",
"size": "3497"... |
using namespace Lvd;
using namespace std;
using namespace TestSystem;
namespace Test {
namespace LinearEmbedding {
void AddTests1 (Directory &parent)
{
Directory &dir = parent.GetSubDirectory("linearembedding");
typedef float Scalar;
typedef Tenh::BasedVectorSpace_c<Tenh::VectorSpace_c<Tenh::RealField,1... | {
"content_hash": "d66b4970eaa7fdd0df643da04a05e6b3",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 123,
"avg_line_length": 42.03703703703704,
"alnum_prop": 0.7330396475770925,
"repo_name": "leapmotion/tensorheaven",
"id": "0bb81be11f8cfe4ced1b2ed1b5931be020395279",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.... | {
"content_hash": "5e5d0b6f55e2acb0c4c0639b031f0a20",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 204,
"avg_line_length": 36.263888888888886,
"alnum_prop": 0.7146687093067791,
"repo_name": "ilgrosso/syncope",
"id": "f3b7012e3c5be59306930483355a19afd68ee85c",
"size": "26... |
package model;
public class Point {
public static final Point ZERO_ZERO = new Point(0, 0);
private final int x;
private final int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}
public int getX() {
return x;
}
public int getY() {
return y;
... | {
"content_hash": "53c1ab8a0b9f76958358389e3e05cf19",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 58,
"avg_line_length": 17.9375,
"alnum_prop": 0.47038327526132406,
"repo_name": "patryk-imielinski/fusta",
"id": "28af19479da6d0624de1414024638a45e0d732b9",
"size": "861",
... |
typedef void (^WVJBResponseCallback)(id responseData);
typedef void (^WVJBHandler)(id data, WVJBResponseCallback responseCallback);
typedef NSDictionary WVJBMessage;
@protocol WebViewJavascriptBridgeBaseDelegate <NSObject>
- (NSString*) _evaluateJavascript:(NSString*)javascriptCommand;
@end
// 提供了与js类似的一套交互的工具类
@inte... | {
"content_hash": "078e367f9cfb98163e612eb38ee4e5e5",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 117,
"avg_line_length": 28.473684210526315,
"alnum_prop": 0.8102279728897104,
"repo_name": "mengxiangyue/MShare_Salon",
"id": "55d2d774df8ca4bb3754e0c789d8976192a734b5",
"s... |
layout: posts
title: Api - IMeasureMap Interface
---
<div class="container container-main toggle-visibilityprivate toggle-public">
<section class="tsd-panel tsd-comment">
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>A map of measurements.</p>
</div>
</div>
</section>
<section class="tsd-panel... | {
"content_hash": "a111cabc8d7543cc4318f8e8aa9bcd13",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 258,
"avg_line_length": 60.0989010989011,
"alnum_prop": 0.7039678186140063,
"repo_name": "Microsoft/maker.js",
"id": "1ec127de87523ebbd3520ebc4198a8f7475aa5eb",
"size": "54... |
package mr.chaining;
import static mr.chaining.support.SampleJobFactory.createGrep;
import static mr.chaining.support.SampleJobFactory.createWordCount;
import static mr.chaining.support.SampleJobFactory.randomTextWriter;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.conf.Configured;
import org... | {
"content_hash": "261690cf41b3559abd2b1ec644192914",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 107,
"avg_line_length": 38.74,
"alnum_prop": 0.6974703149199794,
"repo_name": "gliptak/hadoop-course",
"id": "7461bc39dcff332f6686dbab9ececc71aa2171fa",
"size": "1937",
"... |
'use strict';
var express = require('express');
var api = require('../../api/api');
var router = express.Router();
router.post('/', api.tictactoe);
router.post('/fourbyfour', api.fourbyfour);
module.exports = router; | {
"content_hash": "bacd030674b3ce95cb7d10cb389c74f2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 43,
"avg_line_length": 18.416666666666668,
"alnum_prop": 0.669683257918552,
"repo_name": "nongaap/minimax",
"id": "3e4e5c229357a39c8474599d6607c57b6cbb6ff4",
"size": "221",... |
@extends('layouts.main')
@section('title', '基本信息 - 为生活添欢乐')
@section('styles')
{{HTML::style('css/user.setting.css')}}
@stop
@section('header_type')
navbar-fixed-top
@stop
@section('content')
<div class="col-xs-3" id="sidebar" role="navigation">
<div class="list-group">
<a href="{{URL::to('/user/setting... | {
"content_hash": "7ef1172615a1e21332b31a8f7718b0f1",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 156,
"avg_line_length": 30.012048192771083,
"alnum_prop": 0.49779205138498595,
"repo_name": "kimhwawoon/xiaoxiao",
"id": "022b71b000d5aa67fa62e176b7acc387bcd13e71",
"size":... |
<?php
$docPath = realpath(getcwd() . '/doc');
$rdi = new RecursiveDirectoryIterator($docPath . '/html');
$rii = new RecursiveIteratorIterator($rdi, RecursiveIteratorIterator::SELF_FIRST);
$files = new RegexIterator($rii, '/\.html$/', RecursiveRegexIterator::GET_MATCH);
$process = function () use ($files) {
$fil... | {
"content_hash": "24060e1409f2183740cf5518937b49c0",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 82,
"avg_line_length": 27.02857142857143,
"alnum_prop": 0.5570824524312896,
"repo_name": "weierophinney/zf-mkdoc-theme",
"id": "210dd60d96aee8b820ac1fe4054a57cd2013cedf",
"... |
package mockit;
import java.io.*;
import java.net.*;
import java.util.*;
import org.junit.*;
import static org.junit.Assert.*;
import mockit.internal.*;
public final class ExpectationsTest
{
static class Collaborator
{
private int value;
Collaborator() {}
Collaborator(... | {
"content_hash": "1719bdfc79ebf25f8fca9c79352b7de1",
"timestamp": "",
"source": "github",
"line_count": 451,
"max_line_length": 114,
"avg_line_length": 25.024390243902438,
"alnum_prop": 0.5904660641502747,
"repo_name": "royosherove/javatdddemo",
"id": "f01e9cc31310d3c4135b6b93d9972c538ca666c0",
"si... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Lichen dispersus Pers.
### Remarks
null | {
"content_hash": "82e7891b69e00de90b065d088e811440",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 22,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "6e0154a7bdf2ae78e3e1a0990a93c2f701b3a3ec",
"size": "185"... |
<?php
/* InventarisatiesVerslag Fixture generated on: 2011-04-15 15:04:13 : 1302873493 */
class InventarisatiesVerslagFixture extends CakeTestFixture
{
public $name = 'InventarisatiesVerslag';
public $table = 'inventarisaties_verslagen';
public $import = array(
'model' => 'InventarisatiesVersla... | {
"content_hash": "471e149a87321f1743ca1a104addbf25",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 83,
"avg_line_length": 32,
"alnum_prop": 0.6586538461538461,
"repo_name": "accelcloud/ecd",
"id": "2a764163aa7c318759daf2d48d06357f56884ab9",
"size": "416",
"binary": fal... |
<Type Name="QTCaptureInput" FullName="MonoMac.QTKit.QTCaptureInput">
<TypeSignature Language="C#" Value="public class QTCaptureInput : MonoMac.Foundation.NSObject" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit QTCaptureInput extends MonoMac.Foundation.NSObject" />
<AssemblyInfo... | {
"content_hash": "97f0944e9b8904636ca3f8d843d03089",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 436,
"avg_line_length": 52.93975903614458,
"alnum_prop": 0.6902594446973145,
"repo_name": "dlech/monomac",
"id": "a8ed1f8650752d0e38d48f06e6a6fdcb4a1fb3da",
"size": "8788"... |
// # label component
/*
Just the label for a field.
*/
'use strict';
import createReactClass from 'create-react-class';
import cx from 'classnames';
import HelperMixin from '@/src/mixins/helper';
/** @jsx jsx */
import jsx from '@/src/jsx';
export default createReactClass({
displayName: 'Label',
mixins: [Hel... | {
"content_hash": "94bb48746fb69d42b5a430e7c516a99d",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 67,
"avg_line_length": 20.6125,
"alnum_prop": 0.537901758641601,
"repo_name": "zapier/formatic",
"id": "288537fd00165754458aff2ac409e821ff5d92a0",
"size": "1649",
"binary... |
import React, { PureComponent } from 'react';
import classNames from 'classnames';
import AudioPlayer from '../../AudioPlayer/AudioPlayer';
import styles from './Voice.css';
export type Props = {
className?: string,
duration: number,
fileUrl: ?string,
isUploading: boolean,
maxWidth: number
};
class Voice ... | {
"content_hash": "a91275da948e3e7313f2d03a517133ab",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 61,
"avg_line_length": 22.18918918918919,
"alnum_prop": 0.6443361753958587,
"repo_name": "nolawi/champs-dialog-sg",
"id": "950f53d17bd7e7f949a6e723b292cbca7ca93985",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.