text stringlengths 2 1.04M | meta dict |
|---|---|
package http
type Link struct {
Rel string
Link string
}
type ResponseEntity struct {
Entity interface{}
Links []Link
}
func MakeHateos(entity interface{}, links []Link) *ResponseEntity {
return &ResponseEntity{
Entity: entity,
Links: links,
}
} | {
"content_hash": "9a28037eb02985991ff7dd25046e0ddb",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 67,
"avg_line_length": 13.631578947368421,
"alnum_prop": 0.7181467181467182,
"repo_name": "kevinbayes/clairs-server",
"id": "4e7ce500fc7d06247ddd463cc4755ce782e82d53",
"siz... |
//===--- ParseType.cpp - Swift Language Parser for Types ------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | {
"content_hash": "79c026a563a3d5456a1c1c44a8d60804",
"timestamp": "",
"source": "github",
"line_count": 1765,
"max_line_length": 90,
"avg_line_length": 33.50084985835694,
"alnum_prop": 0.6323124016979824,
"repo_name": "jckarter/swift",
"id": "443f572c04acb79dc75ac469fa3c4bf10511ee39",
"size": "5912... |
#include "types.h"
#include "qpid/Msg.h"
#include "qpid/broker/Message.h"
#include "qpid/broker/Queue.h"
#include "qpid/Exception.h"
#include <algorithm>
#include <iostream>
#include <iterator>
#include <assert.h>
namespace qpid {
namespace ha {
using namespace std;
const string QPID_REPLICATE("qpid.replicate");
c... | {
"content_hash": "f21d21cc471937097f1fbe5958e3b91d",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 91,
"avg_line_length": 27.88235294117647,
"alnum_prop": 0.6347197106690777,
"repo_name": "mbroadst/debian-qpid-cpp",
"id": "3088661c954598de1fa21e93a4e568376e1b2305",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
xsi:type="TaskPaneApp">
<Id>25606e74-f0f5-4020-bea8-b45f8c1e8b7... | {
"content_hash": "02e8d846e84d364bacc4c6749216f6c2",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 184,
"avg_line_length": 57.900826446280995,
"alnum_prop": 0.620610904938624,
"repo_name": "OfficeDev/office-js-snippet-explorer",
"id": "a00bcd0234c0a949ff45d2ce45c7209ae017... |
// Copyright (c) 2012-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <clientversion.h>
#include <tinyformat.h>
/**
* Name of client reported in the 'version' message. Report the sam... | {
"content_hash": "6a4a9c7e6dc374346fd045ce0a54d5d2",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 147,
"avg_line_length": 37.18627450980392,
"alnum_prop": 0.6873187450566833,
"repo_name": "gjhiggins/vcoincore",
"id": "bf73599e50d1c9f2702f388125ebd8ccbb30aa02",
"size": ... |
namespace Google.Cloud.Gaming.V1Beta.Snippets
{
// [START gameservices_v1beta_generated_GameServerConfigsService_GetGameServerConfig_async_flattened_resourceNames]
using Google.Cloud.Gaming.V1Beta;
using System.Threading.Tasks;
public sealed partial class GeneratedGameServerConfigsServiceClientSnippets... | {
"content_hash": "4e64f7cb1fba14a3ea02c9fa112cda57",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 152,
"avg_line_length": 56.714285714285715,
"alnum_prop": 0.7216624685138538,
"repo_name": "googleapis/google-cloud-dotnet",
"id": "7bab11bfc1d504b98890d16f3815559449b46627",... |
import * as Enums from '../enums/index';
import * as Models from './index';
/**
* TextCase info for input address
* @export
* @interface AddressValidationInfo
*/
export interface AddressValidationInfo {
/**
* @type {string}
* @memberof AddressValidationInfo
*/
line1?: string;
/**
... | {
"content_hash": "6ddfb33d581c621cc3481a5293d21a57",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 41,
"avg_line_length": 20.258064516129032,
"alnum_prop": 0.5414012738853503,
"repo_name": "avadev/AvaTax-REST-V2-JS-SDK",
"id": "8512163e8c25d62b01e499df4996233d7210f4e3",
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Diagnostics.Runtime.DacInterface;
using Microsoft.Diagnostics.Runtime.Implementation;
namespace Mi... | {
"content_hash": "f299d9537018d20ba1e7c8316741778f",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 71,
"avg_line_length": 31.173076923076923,
"alnum_prop": 0.6224552745219001,
"repo_name": "Microsoft/clrmd",
"id": "3f3808267d94450de333687c8daabbd1beb654d0",
"size": "1623... |
# grunt-dss2json
> Runs [DSS](https://github.com/darcyclarke/dss) over a set of files and builds a JSON file as output.
Use [grunt-dss](https://github.com/darcyclarke/grunt-dss) if you want a built in templating option to build documentation. This plugin is inteneded to be used with any templating option you'd like. ... | {
"content_hash": "f344e425531ce698f95b3fdc1d2fe192",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 351,
"avg_line_length": 32.87301587301587,
"alnum_prop": 0.7213906325446644,
"repo_name": "ericponto/grunt-dss2json",
"id": "1dfd372c893a27dec17bbf246d8fce572a4065b9",
"siz... |
{% extends 'base.html' %}
{% load i18n %}
{% block title %}{% trans "Signup almost done!" %}{% endblock %}
{% block content_title %}<h2>{% trans "Signup" %}</h2>{% endblock %}
{% block content_main %}
<p>{% trans "Thank you for signing up with us!" %}</p>
{% if userena_activation_required %}
<p>{% blocktrans %}You ... | {
"content_hash": "ca97f7d03e86914e7f4b3ace9c7fe04e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 134,
"avg_line_length": 40.1764705882353,
"alnum_prop": 0.6486090775988287,
"repo_name": "rvanlaar/easy-transifex",
"id": "a10c9db686a59054344c6dfdb1b9b4d74613d233",
"size"... |
RSpec.describe RuboCop::CLI, :isolated_environment do
include_context 'cli spec behavior'
subject(:cli) { described_class.new }
before do
RuboCop::ConfigLoader.default_configuration = nil
end
it 'does not correct ExtraSpacing in a hash that would be changed back' do
create_file('.rubocop.yml', <<~Y... | {
"content_hash": "4b1f277a1641ff8729a3b4850c28559d",
"timestamp": "",
"source": "github",
"line_count": 1564,
"max_line_length": 145,
"avg_line_length": 28.515345268542198,
"alnum_prop": 0.5399793712722544,
"repo_name": "vergenzt/rubocop",
"id": "e36ee082a12e2680829567c3baf88b4257720bc0",
"size": "... |
package org.apache.camel.component.file.remote;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.Message;
import org.apache.camel.Processor;
import org.apache.camel.component.file.GenericFi... | {
"content_hash": "aa41949035cce1da67c63d145a32da7b",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 117,
"avg_line_length": 37.223076923076924,
"alnum_prop": 0.6765860715023765,
"repo_name": "adessaigne/camel",
"id": "d19294a0c7195859d3e9026a2cd6f2879f708859",
"size": "5... |
(function( global, factory ) {
if ( typeof module === "object" && typeof module.exports === "object" ) {
// For CommonJS and CommonJS-like environments where a proper `window`
// is present, execute the factory and get jQuery.
// For environments that do not have a `window` with a `document`
// (such as Nod... | {
"content_hash": "05d6d97922c38bd386b6411fd555b8a5",
"timestamp": "",
"source": "github",
"line_count": 10603,
"max_line_length": 222,
"avg_line_length": 26.94916533056682,
"alnum_prop": 0.6112087127548628,
"repo_name": "billyshena/tedx",
"id": "554d7d1fc7359c24f77bfbd2a6c4b813ab9d60d4",
"size": "2... |
;(function() {
'use strict';
console.log('Default components.js');
})();
| {
"content_hash": "3fe199e01b4db2d8815eb146374124d8",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 39,
"avg_line_length": 15.6,
"alnum_prop": 0.5897435897435898,
"repo_name": "AndreyYegorov/Frontend-Template",
"id": "98bf49b35ff105369661a9ad5a4cae2d35dab73d",
"size": "78"... |
namespace clang {
namespace ast_matchers {
TEST(DeclarationMatcher, hasMethod) {
EXPECT_TRUE(matches("class A { void func(); };",
cxxRecordDecl(hasMethod(hasName("func")))));
EXPECT_TRUE(notMatches("class A { void func(); };",
cxxRecordDecl(hasMethod(isPublic()))));
}... | {
"content_hash": "421449fed5921cdc311a1e6b5a685a05",
"timestamp": "",
"source": "github",
"line_count": 2631,
"max_line_length": 108,
"avg_line_length": 39.29532497149373,
"alnum_prop": 0.6003520786179947,
"repo_name": "llvm-mirror/clang",
"id": "693962919051ee8a0ffba0bd80815f2fd514fea9",
"size": "... |
img: https://storage.googleapis.com/mail-attachments
subject: "Isha Yoga Center"
preview: https://rawgit.com/ishacrm/emails/master/dist/hk/2017/iyc-mailer.html
---
<container>
<row class="collapse no-vpad">
<columns>
<wrapper>
<a href="http://www.ishafoundation.org/" target="_... | {
"content_hash": "25478c3a5fbd8a6e155be275d9f7b83d",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 533,
"avg_line_length": 74.09876543209876,
"alnum_prop": 0.6371209596801066,
"repo_name": "ishacrm/emails",
"id": "0a1f59107a1bd90f6d49fbddd8ad83973c483f36",
"size": "6006"... |
{-# OPTIONS_GHC -fno-warn-type-defaults #-}
import Data.Foldable (for_)
import Test.Hspec (Spec, describe, it, shouldBe)
import Test.Hspec.Runner (configFastFail, defaultConfig, hspecWith)
import PrimeFactors (primeFactors)
main :: IO ()
main = hspecWith defaultConfig {configFastFail = True} specs
specs ... | {
"content_hash": "ebcf183d4533060a28660d7eceef6db4",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 83,
"avg_line_length": 42.15384615384615,
"alnum_prop": 0.49178832116788324,
"repo_name": "c19/Exercism-Haskell",
"id": "878f84d2d70d633fea22962b2d7299b56c2cff83",
"size": ... |
<?php
class FileStorageUtils {
/**
* Gaufrette Vendor Classloader
*
* @param string $class Classname to be loaded
* @return void
*/
public static function gaufretteLoader($class) {
$base = Configure::read('FileStorage.GaufretteLib');
if (empty($base)) {
$base = CakePlugin::path('FileStorage') . 'Vendor' ... | {
"content_hash": "3aea5e3bd678f34400715eddf27e9043",
"timestamp": "",
"source": "github",
"line_count": 1135,
"max_line_length": 160,
"avg_line_length": 39.202643171806166,
"alnum_prop": 0.5990560737161479,
"repo_name": "zuha/FileStorage-Zuha-Cakephp-Plugin",
"id": "1354e418ad77f2db67450e15c9e0ea31e9... |
namespace Microsoft.Azure.CognitiveServices.Vision.Face
{
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Extension methods for PersonGroupOperations.
/// </summary>
public static parti... | {
"content_hash": "a9938b285081f551b7d5caf3c122a1b1",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 285,
"avg_line_length": 54.54625550660793,
"alnum_prop": 0.5903731222742691,
"repo_name": "stankovski/azure-sdk-for-net",
"id": "46b59d755701837b8791a83802dd9cc4522f2244",
... |
package org.apache.ambari.server.controller.internal;
import static org.easymock.EasyMock.createMock;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.ambari.server.controller.ivory.IvoryService;
import org.apache.ambari.server.controller.spi.Resourc... | {
"content_hash": "5fc5c62e673e67ca7ce1fc1d9e3d0e35",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 82,
"avg_line_length": 27.84090909090909,
"alnum_prop": 0.7420408163265306,
"repo_name": "sekikn/ambari",
"id": "2aa6efabbdeea4b8276fd904d05165323458d630",
"size": "2030",
... |
'use strict';
var $ = require('../internals/export');
var createHTML = require('../internals/create-html');
var forcedStringHTMLMethod = require('../internals/string-html-forced');
// `String.prototype.fontcolor` method
// https://tc39.es/ecma262/#sec-string.prototype.fontcolor
$({ target: 'String', proto: true, force... | {
"content_hash": "a124bd695cd80e859c506725278e2903",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 83,
"avg_line_length": 38.833333333333336,
"alnum_prop": 0.703862660944206,
"repo_name": "BigBoss424/portfolio",
"id": "f96ebb4eb55a2ed3541292537a10d651c0d055db",
"size": "... |
(function(){
var
/* jStorage version */
JSTORAGE_VERSION = "0.3.2",
/* detect a dollar object or create one if not found */
$ = window.jQuery || window.$ || (window.$ = {}),
/* check for a JSON handling support */
JSON = {
parse:
windo... | {
"content_hash": "c5518de816713a936bad41d7a9171700",
"timestamp": "",
"source": "github",
"line_count": 1119,
"max_line_length": 137,
"avg_line_length": 31.483467381590707,
"alnum_prop": 0.48021572523417544,
"repo_name": "Karpec/gizd",
"id": "07c499225118fd92bda0f4bdd02696aba26c168d",
"size": "3656... |
using HarshPoint;
using HarshPoint.ShellployGenerator.Builders;
using HarshPoint.ShellployGenerator.CodeGen;
using HarshPoint.Tests;
using System;
using System.CodeDom;
using Xunit;
using Xunit.Abstractions;
namespace CodeGen
{
public class Fixed_property_assignment : SeriloggedTest
{
private readonly... | {
"content_hash": "1228a54d79437b6f96dc98f16029e281",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 81,
"avg_line_length": 27.294117647058822,
"alnum_prop": 0.6221264367816092,
"repo_name": "NaseUkolyCZ/HarshPoint",
"id": "4eddf348e2de45dee44fde91db15f57d3b049aef",
"size"... |
package net.brennheit.mcashapi.listener;
import net.brennheit.mcashapi.resource.ShortlinkLastScan;
/**
*
* @author fiLLLip
*/
public interface IListenForShortlinkScan {
public void shortlinkScanned(ShortlinkLastScan shortlinkScan);
}
| {
"content_hash": "fe226a48a1686b51703dc1da21b652d9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 66,
"avg_line_length": 18.846153846153847,
"alnum_prop": 0.7877551020408163,
"repo_name": "fiLLLip/java-mapi-client",
"id": "8a0965630d3f43d2a500a38a5d5540d78653cf60",
"siz... |
import { HeroListComponent } from './hero-list.component';
import { HeroDetailComponent } from './hero-detail.component';
export const HeroesRoutes = [
{ path: '/heroes', component: HeroListComponent },
{ path: '/hero/:id', component: HeroDetailComponent }
];
| {
"content_hash": "c10ea8540d877e24327ce91d7c52c4e5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 64,
"avg_line_length": 30.444444444444443,
"alnum_prop": 0.6897810218978102,
"repo_name": "born2net/ng2-minimal",
"id": "a46525ac47a02bcbab26928bcc9b1e182824af2e",
"size": "... |
The `testserver` package helps running cockroachDB binary with tests. It
automatically downloads the latest stable cockroach binary for your runtimeOS
(Linux-amd64 and Darwin-amd64 only for now), or attempts to run "cockroach" from your PATH.
### Example
To run the test server, call `NewTestServer(opts)` and with te... | {
"content_hash": "5e60f59c1ae5eadfa89d1b844d0d8330",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 116,
"avg_line_length": 39.171875,
"alnum_prop": 0.7267650578380535,
"repo_name": "cockroachdb/cockroach-go",
"id": "3a11dd4d414e6c4fbffae53890a2acbbd460b868",
"size": "253... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>samples - neotoma Database</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1,... | {
"content_hash": "7d26d606e6994c8950e4ec3cb1c13873",
"timestamp": "",
"source": "github",
"line_count": 669,
"max_line_length": 386,
"avg_line_length": 82.14200298953662,
"alnum_prop": 0.5111822830418722,
"repo_name": "NeotomaDB/neotomadb.github.io",
"id": "53dfe06f4b7a3f68bf60f249352e8fe0497bdd93",
... |
from __future__ import absolute_import
from traits.api import List, Str, HasTraits, Float, Int
# =============standard library imports ========================
from numpy import random, char
import time
# =============local library imports ==========================
from pychron.hardware.gauges.base_controller impor... | {
"content_hash": "333cca1c5e5718c8173106421dbef65d",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 97,
"avg_line_length": 28.671755725190838,
"alnum_prop": 0.5332800851970181,
"repo_name": "UManPychron/pychron",
"id": "2cea69e0db6cd4bd09e2dca6fedda43d106aa17a",
"size": ... |
<?php
namespace tests\domain\domain\RssItem;
use vsc\domain\domain\RssItem;
/**
* @covers \vsc\domain\domain\RssItem::buildObj()
*/
class buildObj extends \BaseUnitTest
{
public function testBuildRssItemFromString()
{
$domdoc = new \DOMDocument('1.0');
$domdoc->load(VSC_MOCK_PATH . 'static/sample-rss-2.xml');
... | {
"content_hash": "2b5030eb10ba138032d441e0c5766472",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 274,
"avg_line_length": 42.41463414634146,
"alnum_prop": 0.6814261069580219,
"repo_name": "mariusor/vsc",
"id": "e8c74c9bb00b97257a8b4a6fec8d7fcd756e24ee",
"size": "1739",
... |
<?php
namespace Drupal\system\Tests\Entity;
use Drupal\language\Entity\ConfigurableLanguage;
use Drupal\simpletest\WebTestBase;
/**
* Tests the entity form.
*
* @group Entity
*/
class EntityFormTest extends WebTestBase {
/**
* Modules to enable.
*
* @var array
*/
public static $modules = ['entit... | {
"content_hash": "bc757d383242e689ad0bf03286801fdf",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 202,
"avg_line_length": 42.791666666666664,
"alnum_prop": 0.6585060509111142,
"repo_name": "IrvinAyala/fase2hdp",
"id": "2ebc35061782bebc71f06d3f3dabd6afeeeb7463",
"size":... |
var redis = require('redis');
exports.redis={
name: 'redis',
group: 'redis',
title:'Redis',
units: '',
slope: 'zero',
type: 'uint32',
description:'Metrics for Redis Info',
interval:15000,
tmax:90,
dmax:120,
run:function(api,metric,send){
var client = redis.createClient... | {
"content_hash": "5fa7583471914d9be8a9e92d549ae553",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 75,
"avg_line_length": 36.41818181818182,
"alnum_prop": 0.581461141620902,
"repo_name": "alligator-io/alligator-metrics",
"id": "b413f372eebbe2f030bb375d211f354991694d1f",
... |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
C++ class header boilerplate exported from UnrealHeaderTool.
This is automatically generated by the tools.
DO NOT modify this manually! Edit the corresponding .h files instea... | {
"content_hash": "3fbc99be8999b13fe01aa1647e7d0182",
"timestamp": "",
"source": "github",
"line_count": 312,
"max_line_length": 103,
"avg_line_length": 34.32051282051282,
"alnum_prop": 0.7065745237205827,
"repo_name": "Aitordev/MultiUserTool",
"id": "84b79e0749e42b32a25ef176673c231993bd1bf0",
"size... |
% test_IsSameScene_BIN_SURF_imagePair_Oxford- testing IsSameScene_BIN_SURF
% function for comparision if 2 images are of the
% same scene (Oxford dataset)
%**************************************************************************
% author: Elena Ranguelova, NLeSc
% date creat... | {
"content_hash": "556a10471493fd0f6b37fccdb659f4b0",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 111,
"avg_line_length": 37.514084507042256,
"alnum_prop": 0.5397033977848695,
"repo_name": "NLeSC/LargeScaleImaging",
"id": "7535cb83df4cbce20d58bc33a8115df3931b3d9f",
"si... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="Python元类" name="description">
<meta name="keywords" content="Python,metaclass">
<meta name="a... | {
"content_hash": "da77154a9774f95218f66ce760cdf4ea",
"timestamp": "",
"source": "github",
"line_count": 744,
"max_line_length": 727,
"avg_line_length": 54.704301075268816,
"alnum_prop": 0.5812776412776413,
"repo_name": "ilty/ilty.github.io",
"id": "22cf23f55532e4d7e966b505d702a365abe343de",
"size":... |
// Copyright 2011-2016 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | {
"content_hash": "06097485e2a579fcd14e3a078146bfd1",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 85,
"avg_line_length": 31.27906976744186,
"alnum_prop": 0.7278810408921933,
"repo_name": "google/binnavi",
"id": "1b6e0f37aeed430b1dd53ae278925de19ddc5b1f",
"size": "1345",... |
package com.sap.hcp.cf.logging.servlet.dynlog;
import javax.servlet.ServletException;
import com.auth0.jwt.exceptions.JWTVerificationException;
public class DynamicLogLevelException extends ServletException {
private static final long serialVersionUID = 1L;
public DynamicLogLevelException(String ... | {
"content_hash": "bd9db54457c59d6cee7042b0785ebc1e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 85,
"avg_line_length": 26.157894736842106,
"alnum_prop": 0.7344064386317908,
"repo_name": "ChristophEichhorn/cf-java-logging-support",
"id": "b89218cdaca0f8e3aaeb85a7ab5e4606... |
from __future__ import unicode_literals, division, absolute_import
from difflib import SequenceMatcher
import logging
import re
import urllib
import requests
from sqlalchemy import Table, Column, Integer, String, Unicode, Boolean, func
from sqlalchemy.orm import relation
from sqlalchemy.schema import ForeignKey
from ... | {
"content_hash": "581b8fe9051d4ae87553acc22536da66",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 116,
"avg_line_length": 40.89333333333333,
"alnum_prop": 0.5841212911640039,
"repo_name": "voriux/Flexget",
"id": "cc95851925484ee131e00806c713eec4d20d03f4",
"size": "1226... |
// Copyright 2015 Google Inc. All Rights Reserved.
//
// 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... | {
"content_hash": "66742d47a720081fbcf589ea37eaab97",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 100,
"avg_line_length": 35.45454545454545,
"alnum_prop": 0.6943589743589743,
"repo_name": "taimir/dashboard",
"id": "c333559215e6d56869be1cbc03d9fa62248a5ca0",
"size": "195... |
/* eslint complexity:0 */
import isNumber from 'lodash/fp/isNumber';
import isString from 'lodash/fp/isString';
import isArray from 'lodash/fp/isArray';
import isObject from 'lodash/fp/isObject';
import isEmpty from 'lodash/fp/isEmpty';
import isUndefined from 'lodash/fp/isUndefined';
import defaultsDeep from 'lodash/f... | {
"content_hash": "4c789ec051cd827a432d8dab9c98e916",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 95,
"avg_line_length": 23.97196261682243,
"alnum_prop": 0.5693957115009747,
"repo_name": "mshick/libpiggy",
"id": "111b607836123f3574f847fd1eaff1329db1b62b",
"size": "5130... |
package org.apache.camel.component.platform.http.vertx;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;
import org.apache.camel.CamelContext;
import org.apache.camel.CamelContextAware;
import org.apache.camel.Consu... | {
"content_hash": "3a55c722709644e01717496fe53fcdd2",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 114,
"avg_line_length": 30.08823529411765,
"alnum_prop": 0.7129358097100033,
"repo_name": "ullgren/camel",
"id": "d0769d6096cf83a4a784007a8d027f2821de2f49",
"size": "3871"... |
using System;
using TweetLib.Browser.CEF.Interfaces;
using Xilium.CefGlue;
namespace TweetImpl.CefGlue.Adapters {
sealed class CefErrorCodeAdapter : IErrorCodeAdapter<CefErrorCode> {
public static CefErrorCodeAdapter Instance { get; } = new ();
private CefErrorCodeAdapter() {}
public bool IsAborted(CefErrorCo... | {
"content_hash": "941fa0c3d533fbb5b94e3f17a736c2ca",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 72,
"avg_line_length": 27.263157894736842,
"alnum_prop": 0.7606177606177607,
"repo_name": "chylex/TweetDuck",
"id": "7f856ce0771fcc9bd6b9f4c07604cc784c094f97",
"size": "518... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_95) on Sat Apr 09 08:38:34 CEST 2016 -->
<title>PreSetDef.PreSetDefinition (Apache Ant API)</title>
<meta name="date" content="2016-04-... | {
"content_hash": "4430a7644adfa36e4a85ddfeffd7d1df",
"timestamp": "",
"source": "github",
"line_count": 580,
"max_line_length": 692,
"avg_line_length": 52,
"alnum_prop": 0.6735742705570292,
"repo_name": "jstrassburg/solr-jenkins-cicd",
"id": "8cc1397475aa3b8d4d001c29b68e343bf2b8882e",
"size": "3016... |
package com.cloudera.oryx.app.traffic;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.Invocation;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.Response;
import java.net.URI;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
imp... | {
"content_hash": "ea2e8377aedd2d5e5ef78ed5ceabe463",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 100,
"avg_line_length": 37.525925925925925,
"alnum_prop": 0.6650217133833399,
"repo_name": "bikash/oryx-1",
"id": "8b0c6ecafc9c4b89519c492d0ed003ffdd2fd65b",
"size": "5634... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class Listcv extends MY_Controller {
var $_myData;
public function __construct() {
parent::__construct();
$this->load->library('form_validation');
$this->load->model('resumes_online_model');
$this->... | {
"content_hash": "7f980db45b662d21a02abda27be7d0bc",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 98,
"avg_line_length": 31.476744186046513,
"alnum_prop": 0.51865533801256,
"repo_name": "chrisshayan/japanworks",
"id": "fcf6265fea11ac9eeeb8391683996501daeae556",
"size": ... |
<?php
namespace EloquentSearcher\Test;
use Illuminate\Database\Eloquent\Model;
use EloquentSearcher\SearchableTrait;
class Dummy extends Model
{
use SearchableTrait;
protected $searcher = DummySearcher::class;
protected $table = 'dummies';
public $timestamps = false;
protected $dates = [
... | {
"content_hash": "390fdb8269aa401fe34d85cb48372fc3",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 60,
"avg_line_length": 21.081632653061224,
"alnum_prop": 0.5614714424007744,
"repo_name": "odoku/EloquentSearcher",
"id": "dfcc7f773f2a54626558bc42df0c933eabb59162",
"size"... |
<?php
use Goteo\Core\View,
Goteo\Library\Text;
$level = (int) $this['level'] ?: 3;
$project = $this['project'];
?>
<div class="widget project-support collapsable" id="project-support">
<h<?php echo $level + 1 ?> class="supertitle"><?php echo Text::get('project-support-supertitle'); ?></h<?php echo $level ... | {
"content_hash": "d84882348af9e5bdb1ea42e31d4009a6",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 193,
"avg_line_length": 43.729166666666664,
"alnum_prop": 0.5454978561219629,
"repo_name": "nguyendev/LoveSharing",
"id": "d8029f0de2e0f82b79f648503add6d4b7ddabfdd",
"size"... |
var _ = require('lodash');
var jwt = require('jwt-simple');
var debug = require('debug')('4front:http-host:dev-sandbox');
require('simple-errors');
var defaultDevOptions = {
port: '3000', // The localhost port
buildType: 'debug',
autoReload: '0'
};
module.exports = function(options) {
options = _.defaults(op... | {
"content_hash": "1963e0e409e0b4d6ae4589bec91e68e2",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 95,
"avg_line_length": 32.28481012658228,
"alnum_prop": 0.6216428151342874,
"repo_name": "4front/apphost",
"id": "8297a987236e780b70288e277b23e1016cc179ad",
"size": "5101"... |
package org.apache.camel.component.mllp;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import static org.junit.jupiter.api.Assertions.assertSame;
import static org.junit.jupiter.api.Assertions.assertTrue... | {
"content_hash": "886ddd6f59567d20546fa694d7dacb84",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 128,
"avg_line_length": 34.92307692307692,
"alnum_prop": 0.697136563876652,
"repo_name": "christophd/camel",
"id": "2edab4415bf429f23370157857d686011de00117",
"size": "3526... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
# Module API
def check_required(constraint, value):
if not (constraint and value is None):
return True
return False
| {
"content_hash": "0345ce3353c73e8c3e9c6652eefd893e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 42,
"avg_line_length": 23.666666666666668,
"alnum_prop": 0.7183098591549296,
"repo_name": "okfn/jsontableschema-py",
"id": "c164388dd86443558e614f31a139047c4f9e1e67",
"size... |
```bash
git init
```
Transforma el directorio actual en un repositorio Git. Esto agrega una carpeta oculta `.git` en el directorio actual haciendo posible empezar a guardar las reviciones del proyecto. | {
"content_hash": "1dff9b5fe029a30fd7785ace6b658132",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 180,
"avg_line_length": 40.4,
"alnum_prop": 0.7920792079207921,
"repo_name": "sinaptica/curso-git",
"id": "15e1a402c2760783dc1e10498c2ece531560d08d",
"size": "217",
"binar... |
import { test } from 'qunit';
import moduleForAcceptance from 'adlet/tests/helpers/module-for-acceptance';
import AWS from 'npm:aws-sdk';
import Ember from 'ember';
let s3Mock = Ember.Service.extend({
listAll(){
return { Contents: [
{Key: "Article1", Body: [77,121,32,83,101,120,121,32,66,101,97,99,104,32,6... | {
"content_hash": "1ddc2a60fc241dae62cddee20acd218c",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 108,
"avg_line_length": 30.612244897959183,
"alnum_prop": 0.6713333333333333,
"repo_name": "A-Helberg/adlet",
"id": "78bc56061d9344e39b79d171ea3a59f847f054de",
"size": "150... |
<?php
namespace Rcms\Core\Widget;
use Rcms\Core\InfoFile;
/**
* Stores metadata about a widget definition, comes from a widget info file.
*/
final class WidgetMeta {
private $widgetName;
/**
* @var InfoFile File with metadata of the widget.
*/
private $infoFile;
public function __constr... | {
"content_hash": "4a7299141b68972fd5e1e444065639df",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 81,
"avg_line_length": 23.392156862745097,
"alnum_prop": 0.6311818943839062,
"repo_name": "rutgerkok/rCMS",
"id": "d9eecd5255835134cc743c8c8c7d0cd620d2fb8e",
"size": "1193"... |
package com.sleepycat.je.utilint;
/**
* A long stat which maintains a minimum value. It is intialized to
* Long.MAX_VALUE. The setMin() method assigns the counter to
* MIN(counter, new value).
*/
public class LongMinStat extends LongStat {
private static final long serialVersionUID = 1L;
public LongMinS... | {
"content_hash": "0e0957ca677cd9debd8278e6fb26db90",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 68,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.5944444444444444,
"repo_name": "prat0318/dbms",
"id": "f79bdec206c79507b93957dae76fc54bf05a6440",
"size": "1409",... |
package de.baywa.tecb2bwebgwt.server;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.tuckey.web.filters.urlrewrite.UrlRewriteFilter;
/**
* configuration of the url filter, ... | {
"content_hash": "71eb46fb1984b68eaa70538d50bb768b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 95,
"avg_line_length": 30.735294117647058,
"alnum_prop": 0.769377990430622,
"repo_name": "ManfredTremmel/gwtp-training",
"id": "6cbb29022005673fe531321e7bb98271c31a074b",
"... |
DOCKER_VERSION="1.9.1"
DOCKER_MACHINE_VERSION="0.5.5"
#DOCKER_COMPOSE_VERSION="1.5.0rc1"
RED='\033[0;31m'
GREEN='\033[0;32m'
NC='\033[0m' # No Color
do_install() {
os=$(uname -s)
arch=$(uname -m)
# Install Docker client
docker_bin_url="https://test.docker.com/builds/$os/$arch/docker-$DOCKER_VERSION"
echo... | {
"content_hash": "001f6e28f63340f8e94f2a6f7fc1d459",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 164,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.6717948717948717,
"repo_name": "pointcom/docker-local-dev",
"id": "10213745c52ae68b8505836ededb27b376cd1ef9",
"... |
package com.dytech.edge.admin.wizard.walkers;
import com.dytech.edge.admin.wizard.model.Control;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/** @author Nicholas Read */
public class IterateControls extends ControlTreeWalker {
private final List<Control> controls = new ArrayList<... | {
"content_hash": "1cb56c4f0409841cda9b25295d42bd66",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 66,
"avg_line_length": 21.606060606060606,
"alnum_prop": 0.7096774193548387,
"repo_name": "equella/Equella",
"id": "81539cb396fda414fb9f3301890a04b5ed76ed18",
"size": "1516... |
#region Copyright
#endregion
#region
using Autodesk.DesignScript.Runtime;
using Dynamo.Models;
using System.Collections.Generic;
using Dynamo.Nodes;
using Dynamo.Graph.Nodes;
#endregion
namespace Concrete.ACI318
{
/// <summary>
/// Flexural strength
/// Category: Concrete.ACI318_14.Flexure
/// </sum... | {
"content_hash": "d34199dbbab05d4509df2729514e53d5",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 49,
"avg_line_length": 13.909090909090908,
"alnum_prop": 0.6258169934640523,
"repo_name": "Kodestruct/Kodestruct.Dynamo",
"id": "a77699673cf3733179d24b790331b5b2035a56f8",
... |
using GraphicsEngine.Datatypes;
using GraphicsEngine.Meshes;
using Jitter.Dynamics;
using Jitter.LinearMath;
namespace GraphicsEngine.Tests
{
public class PyramidPhysics3D : GraphicsApp
{
public PyramidPhysics3D() : base("PyramidPhysics3D Tests") {}
public static void Main()
{
new PyramidPhysics3D().Run(R... | {
"content_hash": "25b9866024bc9cb2389aa72ccd7d8a35",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 94,
"avg_line_length": 31.660714285714285,
"alnum_prop": 0.7106598984771574,
"repo_name": "BenjaminNitschke/PhysicsCourse",
"id": "81fbe9b7893a7b4b2ec24a5c65458fb7e85f5e74",
... |
/*!
* \file Surface.cpp
* \brief Surface configuration information.
*
* A surface consists of a name with associated placement frames and points of interest.
*
* \author Russell Toris, WPI - rctoris@wpi.edu
* \date March 18, 2015
*/
#include <interactive_world_tools/Surface.h>
#include <stdexcept>
using names... | {
"content_hash": "7a1e8deeceac5fbb14c0af2290a338a7",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 105,
"avg_line_length": 20.461111111111112,
"alnum_prop": 0.6959000814553353,
"repo_name": "WPI-RAIL/interactive_world",
"id": "4e24d1f1788e506116e36399d7bd2327edcecb7b",
... |
package com.coolweather.android;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCr... | {
"content_hash": "fc8f4c2be803d0d6ad3c4f719afbe801",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 86,
"avg_line_length": 35.25,
"alnum_prop": 0.7328605200945626,
"repo_name": "616342178/coolweather",
"id": "7410d31ec0bcde527a3002d45aa01ad01e0cc98b",
"size": "956",
"bi... |
package org.apache.zookeeper.metrics;
import java.util.Properties;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.function.BiConsumer;
import org.apache.zookeeper.metrics.impl.NullMetricsProvider;
/**
* Simple MetricsProvider for tests.
*/
publ... | {
"content_hash": "b1dd99711de04bc0eee71b7feb96fa37",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 99,
"avg_line_length": 28.790697674418606,
"alnum_prop": 0.6674744211093161,
"repo_name": "maoling/zookeeper",
"id": "7ce361cfe2a254abc834ee49bf9a89b48083de4a",
"size": "4... |
/**
* Copyright (c) 2014, ControlsFX
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of... | {
"content_hash": "adfc4a4aa2e6a8a5cd1b3cf68dddd225",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 82,
"avg_line_length": 35.1,
"alnum_prop": 0.67673314339981,
"repo_name": "Haixing-Hu/javafx-widgets",
"id": "400ffbef60fef636f2a12819ab4603dd5ab14697",
"size": "5842",
... |
package com.hazelcast.map.impl.proxy;
import com.hazelcast.aggregation.Aggregator;
import com.hazelcast.config.MapConfig;
import com.hazelcast.core.EntryListener;
import com.hazelcast.core.EntryView;
import com.hazelcast.core.ExecutionCallback;
import com.hazelcast.core.HazelcastException;
import com.hazelcast.core.... | {
"content_hash": "3c93f5a380acb54c50aee46116018bc2",
"timestamp": "",
"source": "github",
"line_count": 1054,
"max_line_length": 129,
"avg_line_length": 39.91935483870968,
"alnum_prop": 0.6950920974450386,
"repo_name": "tkountis/hazelcast",
"id": "1d84b27bf907447f55985d4e325355a1ab602bf0",
"size": ... |
package name.chengchao.leetcode;
import org.junit.Test;
import junit.framework.Assert;
public class ReverseInteger_007 {
@Test
public void judge() {
Assert.assertEquals(789, reverse(987));
Assert.assertEquals(321, reverse(123));
Assert.assertEquals(0, reverse(0));
Assert.asse... | {
"content_hash": "b15b0fdad6e3d01e9473f258ac8f798d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 105,
"avg_line_length": 26.896551724137932,
"alnum_prop": 0.5923076923076923,
"repo_name": "ichengchao/java-practice",
"id": "455dfcca268adb4d6be4fee5011ed5c909038b5e",
"si... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta property="og:title" content="room">
<meta property="og:type" content="website">
<m... | {
"content_hash": "4c977ffff7b5481ec6953f53c6cccf94",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 144,
"avg_line_length": 34.24576271186441,
"alnum_prop": 0.6483543677307597,
"repo_name": "satoshun/satoshun.github.io",
"id": "ace5c3c0b3d62acf884aada52b205a0222a71e73",
... |
French Language
================
| {
"content_hash": "0ee9b21d5c9d726025fcfcfa1c8850ae",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 16,
"avg_line_length": 11.333333333333334,
"alnum_prop": 0.4117647058823529,
"repo_name": "h4labs/lang",
"id": "bdecc422faaf0d32a36d40ecb5c14c048668d2a3",
"size": "34",
"b... |
package com.opengamma.analytics.financial.model.finitedifference;
import static org.testng.AssertJUnit.assertEquals;
import org.apache.commons.lang.Validate;
import org.testng.annotations.Test;
import com.opengamma.analytics.financial.model.option.pricing.fourier.FFTPricer;
import com.opengamma.analytics.financial.... | {
"content_hash": "f83dd60ec3ce734e9fc6e82b962dd0f8",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 137,
"avg_line_length": 37.80788177339902,
"alnum_prop": 0.673485342019544,
"repo_name": "McLeodMoores/starling",
"id": "b0dece8ba9f26d4878f572fcf5c0b29314cee2e9",
"size":... |
This directory contains implementation of layout objects. It covers the
following document lifecycle states:
* LayoutSubtreeChange (`InLayoutSubtreeChange` and `LayoutSubtreeChangeClean`)
* PreLayout (`InPreLayout`)
* PerformLayout (`InPerformLayout`)
* AfterPerformLayout (`AfterPerformLayout` and `LayoutClean`)
Note... | {
"content_hash": "b4b1ff884144e954de64af497d495042",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 131,
"avg_line_length": 46.399339933993396,
"alnum_prop": 0.6650544135429263,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "4cdf2f0b60212fb25e0e5e295d2d77a349df309... |
@interface RSMainViewController : UIViewController
@end
| {
"content_hash": "73e70ff8c9b94405ed9683f98adcf4b2",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 50,
"avg_line_length": 19,
"alnum_prop": 0.8421052631578947,
"repo_name": "vrao423/CustomDynamicTypeFont",
"id": "c8c6cb60b634ae9e222690822f81d237e6347b8d",
"size": "236",
... |
package consent
import (
"net/http"
"github.com/ory/fosite"
)
var _ Strategy = new(DefaultStrategy)
type Strategy interface {
HandleOAuth2AuthorizationRequest(w http.ResponseWriter, r *http.Request, req fosite.AuthorizeRequester) (*HandledConsentRequest, error)
HandleOpenIDConnectLogout(w http.ResponseWriter,... | {
"content_hash": "057f80abe5bea489a5e97a5687b5516f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 136,
"avg_line_length": 22.6875,
"alnum_prop": 0.7823691460055097,
"repo_name": "ory-am/hydra",
"id": "fa2f9eebfed53a984fff135cb4182846ea2b3516",
"size": "1128",
"binary"... |
package coloring.commands;
import org.terasology.codecity.world.map.MapObject;
public class BuildInformation {
private int x;
private int y;
private int z;
private int height;
private int width;
private int[] lineLength;
private MapObject info;
public BuildInformation(int x,int y, int z, int height, int wid... | {
"content_hash": "31dbb5e780116319f58d253b497657db",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 86,
"avg_line_length": 17.75,
"alnum_prop": 0.6803900325027086,
"repo_name": "CC4401-TeraCity/TeraCity",
"id": "ee3bd1c472fc39f9d293cb03f7ac218c340646c5",
"size": "923",
... |
from paasta_tools.autoscaling import cluster_boost
from paasta_tools.cli.utils import execute_paasta_cluster_boost_on_remote_master
from paasta_tools.cli.utils import lazy_choices_completer
from paasta_tools.utils import DEFAULT_SOA_DIR
from paasta_tools.utils import list_clusters
from paasta_tools.utils import load_sy... | {
"content_hash": "de6f0b25a7d3656b688b9054e91eb8e8",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 103,
"avg_line_length": 37.822429906542055,
"alnum_prop": 0.6209537929330368,
"repo_name": "somic/paasta",
"id": "3d51c2fbbd2dbb713de05e33044727eabf9105e4",
"size": "4647"... |
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia Site Renderer 1.8.1 at 2018-11-14
| Rendered using Apache Maven Fluido Skin 1.6
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0... | {
"content_hash": "cd62ca232bdf728ff74e83c82320c5a6",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 171,
"avg_line_length": 55.906474820143885,
"alnum_prop": 0.6140779822416678,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "e4ad98c46c4edffdd6ceb1f7... |
/* jshint node: true */
module.exports = function(environment) {
var ENV = {
modulePrefix: 'dummy',
environment: environment,
baseURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g. 'with-contr... | {
"content_hash": "deb87760e7a416e985577e0d06a66bd1",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 77,
"avg_line_length": 25.11111111111111,
"alnum_prop": 0.5935524652338812,
"repo_name": "basz/ember-cli-materialize",
"id": "f6a270f6243e4f720cf3e7f81c9ea7d12c729859",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... | {
"content_hash": "820d5bcad540285b01092e3cca97cf2c",
"timestamp": "",
"source": "github",
"line_count": 453,
"max_line_length": 999,
"avg_line_length": 40.437086092715234,
"alnum_prop": 0.6018670160497871,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "8099991e2570d6b5e059e041f9687fd352ae82... |
package com.amazonaws.services.ec2.model;
import java.io.Serializable;
/**
* <p>
* Describes the status of a volume.
* </p>
*/
public class VolumeStatusInfo implements Serializable, Cloneable {
/**
* <p>
* The status of the volume.
* </p>
*/
private String status;
/**
* <p>... | {
"content_hash": "158280bc353450fef7aac201efbf822f",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 88,
"avg_line_length": 25.72983870967742,
"alnum_prop": 0.5453690644099671,
"repo_name": "dump247/aws-sdk-java",
"id": "140d48e1457397a6511ad4a40776ad0f1e2c0f8d",
"size": ... |
namespace yocto {
#define YOCTO_JSON_SAX 1
using njson = nlohmann::ordered_json;
// load/save json
bool load_json(const string& filename, njson& json, string& error) {
// error helpers
auto parse_error = [filename, &error]() {
error = filename + ": parse error in json";
return false;
};
auto text = "... | {
"content_hash": "52e58452f243092f393b6e37c175cd3d",
"timestamp": "",
"source": "github",
"line_count": 1018,
"max_line_length": 80,
"avg_line_length": 33.09430255402751,
"alnum_prop": 0.5651825467497774,
"repo_name": "jing-interactive/Cinder-portfolio",
"id": "95a41b5bbac9ce16cfb3886bfe0f48c5a493a54... |
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Ji Young Hong, BFA Illustration Senior Thesis 2016 - 2017</title>
<meta name="description" content="">
<meta name="viewport" content="widt... | {
"content_hash": "56a110dff838a7effaeb73255bc5e26c",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 282,
"avg_line_length": 68.30841121495327,
"alnum_prop": 0.5413873306881927,
"repo_name": "clarissaong/clarissaong.github.io",
"id": "6adf1b9c75212ff2a3ab2cc9fbad0a247670107... |
'use strict';
/**
* Module dependencies
*/
var path = require('path'), mongoose = require('mongoose'), Medium = mongoose.model('Medium'), errorHandler = require(path.resolve('./modules/core/server/controllers/errors.server.controller'));
/**
* Create an medium
*/
exports.create = function (req, res) {
var mediu... | {
"content_hash": "ecb6eb97d01eece3b5bd5bc6255ad245",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 194,
"avg_line_length": 27.471153846153847,
"alnum_prop": 0.5463773188659433,
"repo_name": "p3t3revans/MaristOnline",
"id": "1204fdbda671cba52d00d220c333f9e8ad086eed",
"si... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TeleTurk.Core.Auth;
using TeleTurk.Core.MTProto;
using TeleTurk.Core.MTProto.Crypto;
using TeleTurk.Core.Network;
namespace TeleTurk.Core.Handlers
{
class ContactsHandlers
{
}
}
| {
"content_hash": "174a91ccc511e6917aa17073f2c8a09d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 35,
"avg_line_length": 19.625,
"alnum_prop": 0.7770700636942676,
"repo_name": "ShanalTeam/TeleTurk",
"id": "5d891f65e4cb2ffa2207b05a4b072e9fad695a63",
"size": "316",
"bin... |
<?php
/**
* Template for single operation in group.
*
* @author: Andrii Birev
*/
defined('BEXEC')or die('No direct access!');
use \Brilliant\CMS\BLang;
$fields=array();
if(empty($this->operation)){
$fields['amount']=0;
$fields['peritem']='';
}
else{
$fields['amount']=$this->operation->amountformat();
$fields[... | {
"content_hash": "ec5d04f9da06ff5a71d94461f78f34c5",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 229,
"avg_line_length": 51.57446808510638,
"alnum_prop": 0.6344884488448845,
"repo_name": "konservs/financello",
"id": "187cdf82200bc9ef340f2e0eff4631ce4ea79810",
"size": "... |
package com.tw.qa.plugin.sample;
import com.google.gson.GsonBuilder;
import com.thoughtworks.go.plugin.api.GoApplicationAccessor;
import com.thoughtworks.go.plugin.api.GoPlugin;
import com.thoughtworks.go.plugin.api.GoPluginIdentifier;
import com.thoughtworks.go.plugin.api.annotation.Extension;
import com.thoughtwor... | {
"content_hash": "7124d65f3fe5b9b8d24a4b0c98b81780",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 115,
"avg_line_length": 35.27777777777778,
"alnum_prop": 0.7452755905511811,
"repo_name": "gocd/go-plugins",
"id": "1a8e463d537554fdda3d71ada4220991d15495f9",
"size": "3286... |
..
..
.. Licensed under the Apache License, Version 2.0 (the "License");
.. you may not use this file except in compliance with the License.
.. You may obtain a copy of the License at
..
.. http://www.apache.org/licenses/LICENSE-2.0
..
.. Unless required by applicable law or agreed to in writing, software
.. di... | {
"content_hash": "35c26c0460309e390719b101d3af62ef",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 158,
"avg_line_length": 30.032258064516128,
"alnum_prop": 0.7314715359828142,
"repo_name": "serDrem/incubator-trafficcontrol",
"id": "ecabe1de58ef053fdf29c9af547cedff6ae5b435... |
package org.mones.chartjsgenj;
import static org.junit.Assert.fail;
import junit.framework.Assert;
import org.junit.Test;
public class ThemeTest {
@Test
public void testTheme() {
try {
new Theme(null);
} catch (NullPointerException npe) {
// ok!
} catch (Exception e) {
e.printStackTrace();
fail... | {
"content_hash": "087eb7054fa06572141b9dc1df5c4ba5",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 83,
"avg_line_length": 34.24175824175824,
"alnum_prop": 0.6854942233632862,
"repo_name": "mones/chartjsgenj",
"id": "59d77abd4952b18bdf6cd3c3b6b48aaf806ed73b",
"size": "332... |
$H ${artifactId}
${artifactId} description
$H$H Configuration
Before building ${artifactId} you need to define the following environment variables to point to the local DataFlow update site [dataflow-p2-site](https://github.com/ActianCorp/dataflow-p2-site) root directory and the DataFlow version.
export DATAFLO... | {
"content_hash": "fd7324c0dde42e55ed0a7f4ceb133b1c",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 235,
"avg_line_length": 30.91111111111111,
"alnum_prop": 0.7548526240115025,
"repo_name": "ActianCorp/df-newextension-archetype",
"id": "4feaf8ef463f3c450bf63b28802be2247ad22... |
<?php
/**
* @var string $token
* @var string $user_name
* @var string $new_password
* @var string $url
*/
$url = \yii\helpers\Url::to(['/user/account/activate', 'token' => $token], true);
?>
<p><?= Yii::t('mail', 'Hello, ') . $user_name . '!' ?></p>
<p><?= Yii::t('mail', 'You are receiving this email because you... | {
"content_hash": "b724beef7ed84853082ed3c4e2e60746",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 159,
"avg_line_length": 50.31578947368421,
"alnum_prop": 0.6317991631799164,
"repo_name": "vetoni/toko",
"id": "116f2f1034e0606eaaa11e11170d666021e5b445",
"size": "956",
... |
from django.contrib.auth.models import AnonymousUser
from django.db import models
from django.db.models.aggregates import Count
from polymorphic.manager import PolymorphicManager
from shop.order_signals import processing
from shop.util.compat.db import atomic
#========================================================... | {
"content_hash": "409fcf52d7744c0909425d5391a25753",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 79,
"avg_line_length": 36.141975308641975,
"alnum_prop": 0.5772843723313408,
"repo_name": "febsn/django-shop",
"id": "134033087bdaba26d39dd2d265e396aaa47d798e",
"size": "5... |
package org.ohdsi.webapi.tag.domain;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.OneToOne;
import javax.persistence.Table;
@Entity(name = "ReusableTag")
@Table(name = "reusable_tag")
public clas... | {
"content_hash": "c7602747780bc825dc342bf831d625d5",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 81,
"avg_line_length": 23.25,
"alnum_prop": 0.6893667861409797,
"repo_name": "OHDSI/WebAPI",
"id": "cf26ead9b6f9ed573eacbd8f11e90a89abf58bd8",
"size": "837",
"binary": fa... |
<?php
namespace test\i\d;
class a { } | {
"content_hash": "7ec1492924409448a29a332294a64d39",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 19,
"avg_line_length": 12.333333333333334,
"alnum_prop": 0.6486486486486487,
"repo_name": "theosyspe/levent_01",
"id": "94197b710bc912328ef44ae3afb0041f31fe3a15",
"size": "3... |
'use strict';
const Generator = require('yeoman-generator');
const chalk = require('chalk');
const yosay = require('yosay');
module.exports = class extends Generator {
prompting() {
// Have Yeoman greet the user.
this.log(yosay(
'Welcome to the primo ' + chalk.red('generator-swagger-es-6') + ' generato... | {
"content_hash": "38096cee846ab5748dd0c8bd054c76f7",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 104,
"avg_line_length": 25.561904761904763,
"alnum_prop": 0.5406110283159463,
"repo_name": "Eskalol/generator-swagger-es-6",
"id": "e631f50ef30655f192fb8716b43a85e3076acd0e"... |
package org.ehcache.clustered.common.internal.messages;
import org.ehcache.clustered.common.internal.exceptions.ClusterException;
import org.ehcache.clustered.common.internal.store.Util;
import org.terracotta.runnel.Struct;
import org.terracotta.runnel.StructBuilder;
import org.terracotta.runnel.decoding.Enm;
import... | {
"content_hash": "7b218529b101c0d59147ff49da4fd054",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 117,
"avg_line_length": 51.243478260869566,
"alnum_prop": 0.7280671983709486,
"repo_name": "akomakom/ehcache3",
"id": "b1919369230966286a0b232d591e015e58aba397",
"size": "... |
namespace Microsoft.Azure.Commands.Management.DeviceProvisioningServices.Models
{
using Microsoft.Rest.Azure;
using Newtonsoft.Json;
/// <summary>
/// Description of the response of the verification code.
/// </summary>
public partial class PSVerificationCodeResponse : IResource
{
/... | {
"content_hash": "45eb89a0a6268f753426e91fc1eeb528",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 27.580645161290324,
"alnum_prop": 0.5350877192982456,
"repo_name": "ClogenyTechnologies/azure-powershell",
"id": "302dd2a7d1c45f13e3cd6516d50988476ba6e... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... | {
"content_hash": "891fceab4669bc450b788836076e5dcb",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 317,
"avg_line_length": 48.64383561643836,
"alnum_prop": 0.7271191213742608,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "08dffd062cd99921443b9cb4372d24340041d8a5",
"s... |
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.KITKAT;
import static android.os.Build.VERSION_CODES.LOLLIPOP;
import android.graphics.PixelFormat;
import android.graphics.Point;
import android.graphics.Rect;
import android.util.DisplayMetrics;
import android.view.Display;
import android... | {
"content_hash": "ddf1b9e0af42ebc61fc7db4fa35c72ec",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 80,
"avg_line_length": 21.55399061032864,
"alnum_prop": 0.7105205837508168,
"repo_name": "ChengCorp/robolectric",
"id": "49214ef769fe699e580ec6568c88c605ddcffef7",
"size":... |
gradle-examples
===============
Gradle Build Examples
| {
"content_hash": "34743e59c620af53b3f98cb69ceaee90",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 21,
"avg_line_length": 13.75,
"alnum_prop": 0.6,
"repo_name": "ethankhall/gradle-examples",
"id": "d751f2b3ba74abe74e69d96680b0503d881ad696",
"size": "55",
"binary": false... |
<br><br><br>
<center>
<h3>Average consumption by car brand</h3><br><br>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<div id="chart_div"></div>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/ja... | {
"content_hash": "be66e7ead5b226213521ce48a0d3cc98",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 96,
"avg_line_length": 30.830882352941178,
"alnum_prop": 0.5475792988313857,
"repo_name": "vencelem/company",
"id": "9ce57186e04b78e0c50dbdb8376075157225b3d5",
"size": "41... |
<?php
/**
* Created by ra on 6/13/2015.
*/
td_demo_media::add_image_to_media_gallery('td_pic_13', "http://demo_content.tagdiv.com/Newspaper_6/tech/13.jpg");
td_demo_media::add_image_to_media_gallery('td_pic_14', "http://demo_content.tagdiv.com/Newspaper_6/tech/14.jpg");
//post ima... | {
"content_hash": "8309388d8d754054df102b1988e49e90",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 130,
"avg_line_length": 48.833333333333336,
"alnum_prop": 0.6228668941979523,
"repo_name": "tuanlibra/thptxuanang",
"id": "8c49fe5b5cbb223a8580a225573b7c87fc091c9a",
"size"... |
package com.calendarfx.app;
import com.calendarfx.model.Calendar;
import com.calendarfx.model.CalendarSource;
import com.calendarfx.view.MonthSheetView;
import de.jensd.fx.glyphs.weathericons.WeatherIcon;
import de.jensd.fx.glyphs.weathericons.WeatherIconView;
import javafx.application.Application;
import javafx.bea... | {
"content_hash": "0a274a6d1694c0992e7bf68995295ece",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 137,
"avg_line_length": 35.94488188976378,
"alnum_prop": 0.5699890470974809,
"repo_name": "dlemmermann/CalendarFX",
"id": "d54819d62744cdb613b15eab320e7f2644587d0a",
"size... |
/////// //////////////////
/////// PROJECT: MTA iLife - German Fun Reallife Gamemode
/////// VERSION: 1.7.2
/////// DEVELOPERS: See DEVELOPERS.md in the top folder
/////// LICENSE: See LICENSE.md in the top folder
/////// /////////////////
]]
--[[
DoneastyShader = {
[1] = dxCreateShader("res/shader/texture.fx... | {
"content_hash": "d941c0df255759c66efcaacf59cb9ba3",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 139,
"avg_line_length": 32.13513513513514,
"alnum_prop": 0.6984861227922624,
"repo_name": "Noneatme/iLife-SA",
"id": "86e7d374ae24ec1d7a61bc78d8a96ad2acb403bb",
"size": "23... |
package com.hotf.client.action;
import net.customware.gwt.dispatch.shared.Action;
import com.hotf.client.action.result.AccountResult;
public class SaveAccountAction implements Action<AccountResult> {
private AccountResult account;
public SaveAccountAction() {
super();
}
public SaveAccountActio... | {
"content_hash": "8d9410c9ded0864ce7b4f4d0a86bb640",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 65,
"avg_line_length": 18.37037037037037,
"alnum_prop": 0.7016129032258065,
"repo_name": "jeffgager/heroesofthefall",
"id": "30d62bcef12e016d0ad497369252d194fbcf5415",
"siz... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.