text stringlengths 2 1.04M | meta dict |
|---|---|
require 'intercom/service/base_service'
require 'intercom/api_operations/load'
require 'intercom/api_operations/list'
require 'intercom/api_operations/find'
require 'intercom/api_operations/find_all'
require 'intercom/api_operations/save'
require 'intercom/api_operations/scroll'
require 'intercom/api_operations/convert... | {
"content_hash": "2be9878fcb36037b53778baa9e07d4c8",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 53,
"avg_line_length": 28,
"alnum_prop": 0.7426739926739927,
"repo_name": "intercom/intercom-ruby",
"id": "7c243e9f50e6ad1e151a6a7d69900755a56c416b",
"size": "1123",
"bin... |
define([
"dojo/_base/array", // array.forEach
"dojo/dom", // dom.isDescendant
"dojo/_base/lang", // lang.isArray
"dojo/topic", // publish
"dojo/_base/window", // win.doc win.doc.selection win.global win.global.getSelection win.withGlobal
"../focus",
"../main" // for exporting symbols to dijit
], function(array, ... | {
"content_hash": "29deef16cc01366422640519db04ddfd",
"timestamp": "",
"source": "github",
"line_count": 323,
"max_line_length": 123,
"avg_line_length": 32.56656346749226,
"alnum_prop": 0.6392242608612986,
"repo_name": "aguadev/aguadev",
"id": "304d6626867c9a84db42f01fa4dab67c35e80941",
"size": "105... |
@interface DCPaymentAlert()<DCPasswordDelegate>
@property (nonatomic, strong) UIButton *closeBtn;
@property (nonatomic, strong) UILabel *titleLabel, *line, *detailLabel, *amountLabel;
@property (nonatomic, strong) DCPwdTextField *inputView;
@end
@implementation DCPaymentAlert
- (void)completeInput:(NSString *)pwd{... | {
"content_hash": "86a15ea5a57722e9f64aa05a4c5acd92",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 182,
"avg_line_length": 32.92929292929293,
"alnum_prop": 0.6877300613496933,
"repo_name": "guojianfeng01/MNPayDemo",
"id": "af2393747b5d8bdeb2c530127649d067c461627c",
"size... |
namespace {
const int kPaddingVertical = 19;
class DateDefaultView : public views::View,
public views::ButtonListener {
public:
explicit DateDefaultView(ash::user::LoginStatus login)
: help_(NULL),
shutdown_(NULL),
lock_(NULL) {
SetLayoutManager(new views::FillLayo... | {
"content_hash": "a46b2ac177d46fd7aafedfd3eff76c0d",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 80,
"avg_line_length": 27.304054054054053,
"alnum_prop": 0.6552833457065083,
"repo_name": "leighpauls/k2cro4",
"id": "47945994f830016c5e84b6cc1b3147d306d733ed",
"size": "5... |
package v1
import (
time "time"
monitoringv1 "github.com/coreos/prometheus-operator/pkg/apis/monitoring/v1"
internalinterfaces "github.com/coreos/prometheus-operator/pkg/client/informers/externalversions/internalinterfaces"
v1 "github.com/coreos/prometheus-operator/pkg/client/listers/monitoring/v1"
versioned "gi... | {
"content_hash": "13067dc83f5d506643348c77ab0b4240",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 221,
"avg_line_length": 43.28169014084507,
"alnum_prop": 0.8018223234624146,
"repo_name": "jescarri/prometheus-operator",
"id": "5bac3f1e06fbf92a6ace9a6b0004464cab371ddd",
... |
<?php
/**
* Configuration file generated by ZFTool
* The previous configuration file is stored in application.config.old
*
* @see https://github.com/zendframework/ZFTool
*/
return array(
'modules' => array(
'Application',
),
'module_listener_options' => array(
'module_paths' => array(
... | {
"content_hash": "8036f61924edd1dfe9e54cbd8461635c",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 70,
"avg_line_length": 23.238095238095237,
"alnum_prop": 0.5471311475409836,
"repo_name": "ppetdotcom/website",
"id": "37b1ebeeea8f8c4e40148fc27cc6d7c1969fbebd",
"size": "4... |
rem This script builds the audio data needed for ZeldaDS. After running it, from
rem the output directory, copy the 'bin files to Game/ZeldaDS/nitrofiles/Audio/
rem and the 'h' files to Game/ZeldaDS/arm9/source/data/
@echo off
setlocal
make clean
make
| {
"content_hash": "98a6e79119ba9acd685d250c7180695f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 80,
"avg_line_length": 31.625,
"alnum_prop": 0.7865612648221344,
"repo_name": "amaiorano/ZeldaDS",
"id": "0dc67c6c9e8cb40fc37cd0a90691f060cf070ff1",
"size": "253",
"binary... |
import sys
import json
import asyncio
import argparse
from decimal import Decimal
from aioconsole import ainput
from aiosocks import SocksConnectionError
from aiohttp.client_exceptions import ClientConnectorError
from pycoin.tx.Tx import Tx
import nowallet
class WalletDaemon:
def __init__(self, _loop):
s... | {
"content_hash": "62724c46220afa82dd7ea0a887733f63",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 96,
"avg_line_length": 36.817708333333336,
"alnum_prop": 0.5931532041307116,
"repo_name": "metamarcdw/nowallet",
"id": "78bf7e4e9b60f27bb0fd80f78118a045e0f721be",
"size": ... |
FreeVoteBot
===========
A vote bot for #freecode on irc.rizon.net
| {
"content_hash": "431a2939e3d2c080c207c780a01d38b2",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 41,
"avg_line_length": 16.75,
"alnum_prop": 0.6417910447761194,
"repo_name": "freecode/FreeVoteBot",
"id": "4c7f2b9d2df11fbe5022c2c458ca2fa833407999",
"size": "67",
"binar... |
package es.lnsd.citikey.core.datasource.realm.mappers;
import android.support.annotation.NonNull;
import es.lnsd.citikey.core.datasource.realm.RealmMapper;
import es.lnsd.citikey.core.datasource.realm.entities.BeaconRealm;
import es.lnsd.citikey.core.datasource.realm.entities.PathRealm;
import es.lnsd.citikey.core.da... | {
"content_hash": "bb1ab7808c19f0b23bac0a0b02b5e1c2",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 81,
"avg_line_length": 31.73134328358209,
"alnum_prop": 0.6538099717779868,
"repo_name": "Citikey/citikey-android",
"id": "e13305d1d770d46a3f71c2e08594c181f492b10e",
"size... |
@font-face {
font-family: 'setareh';
src: url('setareh.eot');
/* IE9 Compat Modes */
src: url('setareh.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('setareh.woff2') format('woff2'), /* Modern Browsers */
url('setareh.woff') format('woff'), /* Modern Browsers */
url('setareh.... | {
"content_hash": "f3a8ff13b87787af894392ceefd6396a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 77,
"avg_line_length": 32.2,
"alnum_prop": 0.5942028985507246,
"repo_name": "neacodin/fontchi",
"id": "0017155ad2a7f14be6940e2bfdbeb7c2ea7c43e3",
"size": "572",
"binary":... |
namespace {
FX_BOOL _IsIgnoreSpaceCharacter(FX_WCHAR curChar) {
if (curChar < 255) {
return FALSE;
}
if ((curChar >= 0x0600 && curChar <= 0x06FF) ||
(curChar >= 0xFE70 && curChar <= 0xFEFF) ||
(curChar >= 0xFB50 && curChar <= 0xFDFF) ||
(curChar >= 0x0400 && curChar <= 0x04FF) ||
(cur... | {
"content_hash": "83c0439f4f9211ff117ccf99e3d0c319",
"timestamp": "",
"source": "github",
"line_count": 2719,
"max_line_length": 80,
"avg_line_length": 31.12798823096727,
"alnum_prop": 0.5772180015832319,
"repo_name": "azunite/libpdfium",
"id": "b81d9677768a69e475525a4424236f54150c339a",
"size": "8... |
package org.supercsv.cellprocessor.constraint;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.supercsv.TestConstants;
import org.supercsv.cellprocessor.Optional;
import org.supercsv.cellprocessor.ift.CellProcessor;
import org.supercsv.exception.SuperCSVException;
import or... | {
"content_hash": "f10f9bcb8f2054d591184042c4989a2a",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 85,
"avg_line_length": 25.541666666666668,
"alnum_prop": 0.7414355628058727,
"repo_name": "magro/supercsv",
"id": "f7572c716ba65e3cde3478f8b190fd19a8b1a2ef",
"size": "1226"... |
"""
mbed SDK
Copyright (c) 2011-2015 ARM Limited
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 wr... | {
"content_hash": "e9d9e0f5bffc3dc39e74ef976dd0586b",
"timestamp": "",
"source": "github",
"line_count": 376,
"max_line_length": 121,
"avg_line_length": 35.88563829787234,
"alnum_prop": 0.5514711331801675,
"repo_name": "0xc0170/mbed-ls",
"id": "d1e2275628f7b2401dd0d70b2f822e2ec7597573",
"size": "134... |
/**
* SECTION:element-zbar
* @title: zbar
*
* Detect bar codes in the video streams and send them as element messages to
* the #GstBus if .#GstZBar:message property is %TRUE.
* If the .#GstZBar:attach-frame property is %TRUE, the posted barcode message
* includes a sample of the frame where the barcode was det... | {
"content_hash": "9ba6591aba5931b52e7cfa802c168592",
"timestamp": "",
"source": "github",
"line_count": 357,
"max_line_length": 107,
"avg_line_length": 29.680672268907564,
"alnum_prop": 0.6676104190260476,
"repo_name": "google/aistreams",
"id": "6591d1968d63bf73692b78af0862299f91e8609b",
"size": "1... |
<!DOCTYPE html>
<html>
<head>
<title>Game</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="application.js"></script>
<script src="controller.js"></script>
<link rel="stylesheet" type="text/css" href="application.css">
</head>
<body>
<h1>Use the... | {
"content_hash": "205fd29c99b70356f59bc78913e77fc7",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 92,
"avg_line_length": 38.82051282051282,
"alnum_prop": 0.6697490092470277,
"repo_name": "NoahHeinrich/Game-testing",
"id": "c51ad79417147cce120fc21a07584e76fdcf2787",
"siz... |
require "test_helper"
require "models/firm"
require "models/account"
require "models/department"
module ActiveRecord
module Associations
class HasOneTest < SpannerAdapter::TestCase
include SpannerAdapter::Associations::TestHelper
attr_accessor :firm, :account
def setup
super
... | {
"content_hash": "3b9289373d750983d886d58d7e148887",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 108,
"avg_line_length": 25.422535211267604,
"alnum_prop": 0.6387811634349031,
"repo_name": "googleapis/ruby-spanner-activerecord",
"id": "0189dce9e3ef3f56094d8113682cae7053db... |
require "thor/shell/basic"
module GemSuit
class CLI < Thor
module Base
module Shell
def self.included(base)
base.send :include, InstanceMethods
end
module InstanceMethods
def shell
@shell ||= Thor::Shell::Basic.new
end
def is?(... | {
"content_hash": "c3c725cf7a09a0058b37eb6e254f74b6",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 99,
"avg_line_length": 25.073170731707318,
"alnum_prop": 0.52431906614786,
"repo_name": "archan937/gem_suit",
"id": "0ea62ac9b385ccb0c618540c7294016fd9ce5dd8",
"size": "102... |

[](https://travis-ci.org/nodaguti/word-quiz-generator-webapp)
[](https://david-dm.org/nodaguti/word-quiz-genera... | {
"content_hash": "178465189bb2aab231d9c8ecd093c8e4",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 275,
"avg_line_length": 32.205128205128204,
"alnum_prop": 0.7380573248407644,
"repo_name": "nodaguti/word-quiz-generator-webapp",
"id": "d3b3977caaebdbae7198196e25feb9396b51... |
SUPHARNT_IMPORT_SYSCALL(NtAllocateVirtualMemory, 24)
SUPHARNT_IMPORT_SYSCALL(NtClearEvent, 4)
SUPHARNT_IMPORT_SYSCALL(NtClose, 4)
SUPHARNT_IMPORT_SYSCALL(NtCreateEvent, 20)
SUPHARNT_IMPORT_SYSCALL(NtCreateFile, 44)
SUPHARNT_IMPORT_SYSCALL(NtCreateSymbolicLinkObject, 16)
SUPHARNT_IMPORT_SYSCALL(NtDelayExecution, 8)
SUPH... | {
"content_hash": "1a3c684670ffb55007bcecab73e40aef",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 77,
"avg_line_length": 48.23711340206186,
"alnum_prop": 0.854028638597991,
"repo_name": "egraba/vbox_openbsd",
"id": "c9b7f7b83356a5b6dbe7a07202747655ad5c216a",
"size": "46... |
<html><head><meta charset = 'UTF-8'/><title></title></head><body><center><h1>Fausto Ferreira Gomes</h1></center><ul>
<center><p> , 1969-05-12</p><p>Uma certidão militar, foi o documento que foi exigido ao
senhor Fausto Ferreira Gomes para poder tirar a carta de
condução</p><img src="fotos/069-D-01.jp... | {
"content_hash": "a4e275bea3d3292cdc104df5c9bc1d02",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 116,
"avg_line_length": 87.5,
"alnum_prop": 0.6828571428571428,
"repo_name": "rgllm/uminho",
"id": "f61d6e73df18558055a9b2b66745bf80f7839ebe",
"size": "350",
"binary": fal... |
{-# LANGUAGE TupleSections, OverloadedStrings, QuasiQuotes, TemplateHaskell, TypeFamilies, RecordWildCards,
DeriveGeneric ,MultiParamTypeClasses ,FlexibleInstances #-}
module Protocol.ROC.PointTypes.PointType40 where
import GHC.Generics
import qualified Data.ByteString as BS
import Data.Word
import Data... | {
"content_hash": "de6cb1ecde4daaad43eb19d0a92ac1a6",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 174,
"avg_line_length": 63.29864253393665,
"alnum_prop": 0.47229966402173135,
"repo_name": "jqpeterson/roc-translator",
"id": "fa846cdf3003480c8805002a6185ff25288e346c",
"... |
* How I Put My Life on Hold and Survived Bootcamp / School / Self Education
* True Tales of Interviews
* What I Didn't Know
| {
"content_hash": "856bf285784d4eeeffa2e9d1d0568199",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 75,
"avg_line_length": 41.333333333333336,
"alnum_prop": 0.7419354838709677,
"repo_name": "anvaka/2015.cascadiajs.com",
"id": "3f3fb61a6bdd761b47aa3ef9635c18a9f293feee",
"si... |
/**
* @provides aphront-error-view-css
*/
.aphront-error-view,
.aphront-error-view-dialogue {
border-style: solid;
border-width: 1px;
}
form.aphront-dialog-view .aphront-error-view {
margin: 8px 0;
}
.aphront-error-view {
margin: 20px;
}
.aphront-error-view-dialogue {
margin: 0px 0px 16px 0px;
}
.device... | {
"content_hash": "b34a5c0f9e51d4e9f9da614517d50d1b",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 58,
"avg_line_length": 16.790123456790123,
"alnum_prop": 0.674264705882353,
"repo_name": "telerik/phabricator",
"id": "df6f9fa9302c5757b9cb0e55f7bbb06a720e7f73",
"size": "1... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "fa2c451b57e8388fc78b1023ff41b380",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "325b939e89c420e1b2467d26781af695563bf177",
"size": "180... |
package prometheus
import (
"bytes"
"fmt"
"hash"
"sync"
)
// MetricVec is a Collector to bundle metrics of the same name that
// differ in their label values. MetricVec is usually not used directly but as a
// building block for implementations of vectors of a given metric
// type. GaugeVec, CounterVec, SummaryVe... | {
"content_hash": "44e955bfb2ed4f1a020fe87fc3c4e8c8",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 82,
"avg_line_length": 31.982456140350877,
"alnum_prop": 0.7165386725178278,
"repo_name": "soundcloud/roshi",
"id": "899aace962f9491988f67f58547c7b2e9674d095",
"size": "78... |
<tr class="board-swimlane-columns-first">
<?php foreach ($swimlane['columns'] as $column): ?>
<th class="board-column-header board-column-header-first board-column-header-<?= $column['id'] ?>" data-column-id="<?= $column['id'] ?>">
<!-- column in collapsed mode -->
<div class="board-column-coll... | {
"content_hash": "75e6ce0a2824477d9408821b63aade8c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 141,
"avg_line_length": 30.85,
"alnum_prop": 0.5380875202593193,
"repo_name": "renothing/kanboard",
"id": "6a2e1e8ae17ff127d14d987ad767cfd565e6a336",
"size": "617",
"bina... |
<?php
// src/Acme/DemoBundle/Admin/PostAdmin.php
namespace Fiscalite\GestionFiscaliteBundle\Admin;
use Sonata\AdminBundle\Admin\Admin;
use Sonata\AdminBundle\Datagrid\ListMapper;
use Sonata\AdminBundle\Datagrid\DatagridMapper;
use Sonata\AdminBundle\Form\FormMapper;
class ArticleAdmin extends Admin
{
// Fields t... | {
"content_hash": "41af008535a2cb5dc19dc1e3df6838a8",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 24.38095238095238,
"alnum_prop": 0.650390625,
"repo_name": "chadyred/fiscalite",
"id": "86adf71da1e424403475c873a86f7796d3e12868",
"size": "1024",
... |
static const char *kImageType = "public.png";
static const char *kPNGSoftwareValue = "AmazeKit";
@interface AKFileManager() {
NSFileManager *_fileManager;
NSOperationQueue *_imageIOQueue;
NSCache *_renderedImageCache;
}
- (NSString *)cacheKeyForHash:(NSString *)hash
atSize:(CGSize)size
wi... | {
"content_hash": "000b11c9856c9c0b98e735016bcff3a5",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 133,
"avg_line_length": 27.531328320802004,
"alnum_prop": 0.6752844788347747,
"repo_name": "detroit-labs/AmazeKit",
"id": "5fc2853fef3791dc0c0deda0e6cfb0a15f73c49f",
"size... |
from helper_bot.settings import ErrorReply
async def set_alert(chat, **kwargs):
redis = kwargs.get('redis')
info = kwargs.get('info')
msg = chat.message['text'].split(' ')
if len(msg) != 3:
return await chat.reply(ErrorReply.INCORRECT_SYNTAX.format('/setalert nomeoggetto prezzomassimo'))
i... | {
"content_hash": "e24a644879387f848c9217f27bd2a75a",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 109,
"avg_line_length": 39.28169014084507,
"alnum_prop": 0.6030835424883471,
"repo_name": "akita8/helper_bot",
"id": "a4a539956c57ce34eb9a820877afc6cd7a5dd040",
"size": "27... |
<?xml version="1.0" standalone="no"?>
<NetConnectResponse>
<CompletionCode>4000</CompletionCode>
<ErrorMessage>System error. Call Experian Technical Support at 1-800-854-7201.</ErrorMessage>
<ReferenceId>userabc001</ReferenceId>
</NetConnectResponse>
| {
"content_hash": "e81aa2acb69096e6f5de37a265235437",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 95,
"avg_line_length": 42.833333333333336,
"alnum_prop": 0.7782101167315175,
"repo_name": "sittercity/experian",
"id": "01711c24105e9124f8eee6afff6d04bb6f59c3e2",
"size": "2... |
#ifndef _PVRTGLES2EXT_H_
#define _PVRTGLES2EXT_H_
#include "CC3PVROpenGLFoundation.h" // patched for Cocos3D by Bill Hollings
#if CC3_OGLES_2 // patched for Cocos3D by Bill Hollings
#ifdef __APPLE__
#if defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE==1
#import <OpenGLES/ES2/gl.h>
#import <OpenGLES/ES2/glext.... | {
"content_hash": "b8e75f741144597c12c62ebb3fc2b247",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 168,
"avg_line_length": 46.888888888888886,
"alnum_prop": 0.5992417061611375,
"repo_name": "cocos3d/cocos3d",
"id": "ea93d2b44e2071ffc8e60d696f52f7943de7ab5b",
"size": "10... |
USE [msdb]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[MaintenanceConfig](
[ConfigurationType] [varchar](50) NOT NULL,
[ConfigurationSettings] [xml] NULL,
CONSTRAINT [pk_MaintenanceConfig_ConfigurationType] PRIMARY KEY CLUSTERED (
[ConfigurationType] ASC)
WITH (PAD_INDEX = OFF, STAT... | {
"content_hash": "10f5231d79a30f85b37508e4f6971371",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 122,
"avg_line_length": 26,
"alnum_prop": 0.75,
"repo_name": "empiricaldataman/DB2LS",
"id": "23c325f9c613a2f39b9f1a6e070de0483aadd234",
"size": "416",
"binary": false,
... |
package dk.nversion.copybook.annotations;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Repeatable(CopyBookLines.class)
public @interface CopyBookLine {
String value();
}
| {
"content_hash": "fd2c199bf73f70b49d5b4353d0931d56",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 41,
"avg_line_length": 17.615384615384617,
"alnum_prop": 0.7816593886462883,
"repo_name": "tlbdk/copybook4java",
"id": "b72403451961d22fd19cbd2df11f469896e0533c",
"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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<arti... | {
"content_hash": "c3b828b24b5f0bbdb74d1447d1929f1e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 108,
"avg_line_length": 31.862068965517242,
"alnum_prop": 0.6904761904761905,
"repo_name": "lgrill-pentaho/pentaho-kettle",
"id": "046a75f8f24bc5f64cf22bbc57d707935b0b4d02",
... |
<!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_26) on Mon Nov 21 10:31:10 CST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
类 com.teleca.jamendo.activ... | {
"content_hash": "6c0d4c8122dc92fe3e50ed8ebe756b60",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 244,
"avg_line_length": 43.186206896551724,
"alnum_prop": 0.6106675183647396,
"repo_name": "LiTingchang/jamendo",
"id": "158319bcc9ca63b871854775237682e7e90e4323",
"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:13:00 CST 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.apache.hadoop.hdfs.server.jou... | {
"content_hash": "469b6d8077db2e719a86b3e7594e96e0",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 307,
"avg_line_length": 45.8719512195122,
"alnum_prop": 0.6347201914130002,
"repo_name": "jsrudani/HadoopHDFSProject",
"id": "3d45d02c8050bc9a3af74bd3f29e4379f4469d46",
"s... |
package org.springframework.remoting.jaxws;
import javax.annotation.Resource;
import javax.jws.WebService;
import javax.xml.ws.WebServiceContext;
import org.springframework.util.Assert;
/**
* @author Juergen Hoeller
*/
@WebService(serviceName="OrderService", portName="OrderService", endpointInterface = "org.spri... | {
"content_hash": "4018dfce0e09c0a514018cb35dffbb3f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 135,
"avg_line_length": 25.724137931034484,
"alnum_prop": 0.7788203753351206,
"repo_name": "shivpun/spring-framework",
"id": "b109cdcd6da467128c0cd09f85a70db62ee705c1",
"si... |
/*
* Do not modify this file. This file is generated from the codepipeline-2015-07-09.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.CodePipeline.Model;
using Amazon.Runtime;
... | {
"content_hash": "a739395d67cdb269f8395eb384a02ece",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 110,
"avg_line_length": 30.983606557377048,
"alnum_prop": 0.6433862433862434,
"repo_name": "mwilliamson-firefly/aws-sdk-net",
"id": "ec289e14b6342efd58f2200c7aa2a3601a28f405"... |
import os
import win32com.client
xl = win32com.client.Dispatch('Excel.Application')
wb = xl.Workbooks.Open(os.path.realpath('book3.xlsx'))
ws = wb.Worksheets(1)
ws.Cells(6,5).Value = "XXX"
ws.Cells(6,6).Formula = "=E1"
wb.SaveAs(os.path.realpath('book4.xlsx'))
wb.Close(True) | {
"content_hash": "c913e36c334181cfc0e984d3a01714b8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 54,
"avg_line_length": 23.25,
"alnum_prop": 0.7168458781362007,
"repo_name": "frederick623/HTI",
"id": "d2e2502937719e35fa5dda0fe4cfe535dceea664",
"size": "279",
"binary"... |
package bluebot.commands.fun;
import bluebot.utils.Command;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import java.util.Random;
/**
* @file CyanideHapinessCommand.java
* @author Blue
* @version 0.2
* @brief Posts a Cyanide & Hapiness comic
*/
public class CyanideHapinessCommand implements C... | {
"content_hash": "b1bb27dd6156d56dae541c58c7e2e4d0",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 192,
"avg_line_length": 31,
"alnum_prop": 0.6300197498354181,
"repo_name": "thibautbessone/DiscordBlueBot",
"id": "6bd21778a28530aaf5102326c09365694a6dc587",
"size": "1519"... |
package org.apache.storm.mqtt;
import java.io.Serializable;
import java.net.URI;
import java.util.Arrays;
import org.apache.activemq.broker.BrokerService;
import org.apache.storm.Config;
import org.apache.storm.LocalCluster;
import org.apache.storm.LocalCluster.LocalTopology;
import org.apache.storm.generated.StormT... | {
"content_hash": "55e95d5eb56930c266f56dedc7efd0a2",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 103,
"avg_line_length": 36.02255639097744,
"alnum_prop": 0.6727196827384679,
"repo_name": "hmcl/storm-apache",
"id": "f1e0a2304542f95dcb0ef0e0b9d2b150a02c7cca",
"size": "5... |
package us.kbase.integrateprobableannotation;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonInclude;
imp... | {
"content_hash": "711240f973c54f8435764d0da423e753",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 127,
"avg_line_length": 28.18032786885246,
"alnum_prop": 0.7341477603257708,
"repo_name": "janakagithub/IntegrateMissingAnnotation",
"id": "80e793ced51e4ff41b4b756d099e7baa95... |
require 'uri'
require 'yaml'
require 'socket'
class Service
attr_reader :base_uri
attr_accessor :name
attr_accessor :auth_scheme
def initialize(name, options)
options = options.symbolize_keys
self.name = name.to_s
self.base_uri = options.delete(:uri)
self.auth_scheme = options.delete(:auth_sc... | {
"content_hash": "cb9bc124723df94d03bd3a44ddc5f8e3",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 128,
"avg_line_length": 21.867346938775512,
"alnum_prop": 0.5905272981801213,
"repo_name": "wesabe/pfc",
"id": "87730957d1d52ce902ff0d145ea4fa2467eba009",
"size": "4286",
... |
namespace JelloScrum.Model.Tests.Model
{
using Entities;
using Enumerations;
using NUnit.Framework;
[TestFixture]
public class GebruikerSprintGebruikerTest : TestBase
{
private Sprint sprint;
public override void SetUp()
{
sprint = new Sprint();
b... | {
"content_hash": "e2f8f1611af83d6190ac5f052dc496f4",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 89,
"avg_line_length": 26.125,
"alnum_prop": 0.5711722488038278,
"repo_name": "auxilium/JelloScrum",
"id": "a0673e3774d611175c0150208bf963efc700fbdc",
"size": "2292",
"bi... |
"""
Copyright (c) 2016 Gabriel Esteban
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute... | {
"content_hash": "a35fad3b02529d8bba9e7be2a814960b",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 120,
"avg_line_length": 39.875,
"alnum_prop": 0.774294670846395,
"repo_name": "galaxyfeeder/CodeSubmission",
"id": "dc6e5775e3a764a4b7ac949930c2aaff1fb3b246",
"size": "1595... |
package h2o.common.thirdparty.spring.transaction;
import org.springframework.transaction.TransactionStatus;
public interface TransactionCallbackWithoutResult {
void doInTransaction(TransactionStatus status);
}
| {
"content_hash": "39e6aeef17d93f19cb95d7ee26854474",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 57,
"avg_line_length": 24.22222222222222,
"alnum_prop": 0.8440366972477065,
"repo_name": "sixshot626/h2o",
"id": "64c1994487442e69467b361f3fb845c2b92a8136",
"size": "218",
... |
use yaml_rust::{YamlLoader,Yaml};
use yaml_rust::yaml;
use std::path::PathBuf;
use std::net::SocketAddr;
use std::io::Error as IoError;
use std::fs::File;
use std::io::prelude::*;
use std::str::FromStr;
#[derive(Debug)]
pub struct Config {
path:String,
uris:Vec<SocketAddr>,
fs_name: String
}
static CONFIG_FILE:&'s... | {
"content_hash": "361a8ae96d778574c9ac22b2153b2448",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 85,
"avg_line_length": 25.807692307692307,
"alnum_prop": 0.6058122205663189,
"repo_name": "tupshin/dsefs-rs",
"id": "50fbd55d1336044b7f8fac542be9b5e1b284cca4",
"size": "134... |
using UnityEngine;
using System.Collections;
public class Enemy2 : MonoBehaviour {
private float moveSpeed = 0.5f;
// Use this for initialization
void Start () {
GetComponent<Rigidbody> ().freezeRotation = true;
}
// Update is called once per frame
void Update () {
var MovePoint3 = GameObject.Find("MoveP... | {
"content_hash": "60ecc5c97a95b287ced3c6f8d00b8432",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 104,
"avg_line_length": 24.09090909090909,
"alnum_prop": 0.7320754716981132,
"repo_name": "yeukfei02/3Dgame",
"id": "180143b601dad662ca0333cc275fe3d23e645c92",
"size": "532... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dba2b03aacdd9bdb70e802e1d42c3fbf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "9567a0c745bdd982a926bcdcbcce0ccd7bb3ca2a",
"size": "183... |
from __future__ import print_function
import sys, os
sys.path.insert(1, os.path.join("..","..",".."))
import h2o
from tests import pyunit_utils
def deepLearningDemo():
# Training data
train_data = h2o.import_file(path=pyunit_utils.locate("smalldata/gbm_test/ecology_model.csv"))
train_data = train_data.drop('Si... | {
"content_hash": "ec682a82da5ec5aa8cfad8bfbc336863",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 96,
"avg_line_length": 28.529411764705884,
"alnum_prop": 0.5484536082474227,
"repo_name": "nilbody/h2o-3",
"id": "0dba35f738b317475217b5a250a638f072e89b98",
"size": "1455",... |
"""
File metadata management
------------------------
The `trac.mimeview` package centralizes the intelligence related to
file metadata, principally concerning the `type` (MIME type) of the
content and, if relevant, concerning the text encoding (charset) used
by the content.
There are primarily two approaches for get... | {
"content_hash": "01ca24cbececa5abd5cd96294b50232d",
"timestamp": "",
"source": "github",
"line_count": 1160,
"max_line_length": 79,
"avg_line_length": 38.75603448275862,
"alnum_prop": 0.5805325088417822,
"repo_name": "trac-ja/trac-ja",
"id": "1e2e37e3d0d38a80c2f4ea02b64af59495b6689d",
"size": "457... |
class TaskProvider
{
public:
TaskProvider();
~TaskProvider();
void addTask(const Task&);
void markUsed(const Task&);
const std::list<const Task*>& getRecentTasks() const;
std::list<const Task*> findTasksByName(const std::string& name) const;
private:
void updateRecentTasks();
private:
... | {
"content_hash": "f208530442ce90b62b19055ca08e8dc6",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 74,
"avg_line_length": 20.65,
"alnum_prop": 0.6731234866828087,
"repo_name": "alex-under/yatt",
"id": "41880bbcfcdbf5fc28063b0b4072df5554a9ba09",
"size": "495",
"binary":... |
<html><head><meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>Student Seeking Mentor</title>
<link href="/static/spreadsheets/client/css/2761485455-embedded_form_compiled.css" type="text/css" rel="stylesheet">
<style type="text/css">
</style><style type="text/css"></style></head>
<body class... | {
"content_hash": "56ef3f190bbb245af0147fcb7c6e4ea5",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 797,
"avg_line_length": 86.01538461538462,
"alnum_prop": 0.7057771418350921,
"repo_name": "shinymayhem/imago-dei-college",
"id": "16367c8e44ec2d020e254f13204922ae4c930213",
... |
describe('Filter: localizeNumber', function () {
beforeEach(module('ngTools'));
var filter;
beforeEach(inject(function ($filter) {
filter = $filter('localizeNumber');
}));
it('should give us a string formatted according to national setting of the browser', function () {
expect(filter(21598.489)).toEqual('21... | {
"content_hash": "26476037a9a728a9300641d88267647d",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 99,
"avg_line_length": 24.357142857142858,
"alnum_prop": 0.6891495601173021,
"repo_name": "capaj/ng-tools",
"id": "948268f7700eb393e5440bae5a5298655049f496",
"size": "342",... |
package com.bitdubai.android_core.app.common.version_1.navigation_drawer;
import android.content.Context;
import android.graphics.Typeface;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.wi... | {
"content_hash": "c146bcef941ac79d286747b4a47aa671",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 147,
"avg_line_length": 35.152866242038215,
"alnum_prop": 0.5522739626743975,
"repo_name": "fvasquezjatar/fermat-unused",
"id": "f13d45a30f122052650da2378a7bb5bf5afcda77",
... |
import unittest
from mesonwrap import version
class VersionTest(unittest.TestCase):
def test_semantic(self):
versions = [
('1.2.3', 8),
('1.2.11', 1),
('1.2.11', 2),
('11.2.3', 9),
('11.2.3', 11),
]
sorted_versions = sorted(vers... | {
"content_hash": "28d8e17d45099d9c1f388390b1ff9fc8",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 57,
"avg_line_length": 26.82,
"alnum_prop": 0.47054436987322895,
"repo_name": "mesonbuild/wrapweb",
"id": "ff932f0f3b5b12eba6b30ba3e4e94aa3b6aee70f",
"size": "1341",
"bin... |
namespace FrwSoftware
{
partial class SimpleHtmlTextEditDialog
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... | {
"content_hash": "a1a5edfadd611103ade305939a88d9d2",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 156,
"avg_line_length": 38.51898734177215,
"alnum_prop": 0.5987512323365101,
"repo_name": "frwsoftware/FrwSimpleWinCRUD",
"id": "d2ec23ab415bb4de1329834c4e251153cc66868b",
... |
package net.dv8tion.jda.core.handle;
import gnu.trove.map.TLongIntMap;
import gnu.trove.map.TLongObjectMap;
import gnu.trove.map.hash.TLongIntHashMap;
import gnu.trove.map.hash.TLongObjectHashMap;
import net.dv8tion.jda.core.entities.impl.JDAImpl;
import org.json.JSONArray;
import org.json.JSONObject;
import java.u... | {
"content_hash": "9aac9f17543d332269031e019fd5112d",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 143,
"avg_line_length": 33,
"alnum_prop": 0.674333698430084,
"repo_name": "mentlerd/JDA",
"id": "0c3e611619f632993549985f48640d6c7869ac60",
"size": "3378",
"binary": fals... |
#ifndef __domPhysics_model_h__
#define __domPhysics_model_h__
#include <dom/domTypes.h>
#include <dom/domElements.h>
#include <dom/domAsset.h>
#include <dom/domRigid_body.h>
#include <dom/domRigid_constraint.h>
#include <dom/domInstance_physics_model.h>
#include <dom/domExtra.h>
/**
* This element allows for build... | {
"content_hash": "0888b48a2b5765de1625219919787062",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 167,
"avg_line_length": 32.81656804733728,
"alnum_prop": 0.72304363505229,
"repo_name": "palestar/medusa",
"id": "54a1d6f0217597c427103be0beab1e19c2bc857c",
"size": "6180"... |
package com.dihanov.musiq.models;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Albummatches {
@SerializedName("album")
@Expose
private List<Album> album = null;
public List<Album> getAlbum() {
return album;... | {
"content_hash": "d3cc8f680ddd3c85f989693dceb8d8cc",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 50,
"avg_line_length": 19.523809523809526,
"alnum_prop": 0.6804878048780488,
"repo_name": "DDihanov/musiQ",
"id": "c0acbbe5a984018994944639737734edd6f3f35b",
"size": "411",... |
package org.onlab.packet;
import org.onlab.packet.pim.PIMHello;
import org.onlab.packet.pim.PIMJoinPrune;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Map;
import static com.google.common.base.MoreObjects.toStringHelper;
import static org.onlab.packet.PacketUtils.checkInput;
/**
* Implem... | {
"content_hash": "314cfb01f3c934ee0ac66455dc8c4fde",
"timestamp": "",
"source": "github",
"line_count": 296,
"max_line_length": 100,
"avg_line_length": 27.37162162162162,
"alnum_prop": 0.5620834361885954,
"repo_name": "sdnwiselab/onos",
"id": "df55318c3234538be4abbb4e8ceadb30e7ab08f6",
"size": "871... |
package cellularAutomata.cellState.view;
import java.awt.Color;
import java.awt.Shape;
import java.awt.geom.Point2D;
import cellularAutomata.cellState.model.CellState;
import cellularAutomata.cellState.model.IntegerVectorState;
import cellularAutomata.graphics.colors.ColorScheme;
import cellularAutomata.... | {
"content_hash": "025cb407385308aaef242c8534e5bf8f",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 78,
"avg_line_length": 36.35897435897436,
"alnum_prop": 0.6702397743300423,
"repo_name": "KEOpenSource/CAExplorer",
"id": "a34738b37dfd93cad3a73c81fe68d3dd7a8c1147",
"size... |
package armcompute_test
import (
"context"
"log"
"time"
"github.com/Azure/azure-sdk-for-go/sdk/azcore/to"
"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v4"
)
// Generated from example definition: https://github.com/Azure/azure-rest... | {
"content_hash": "275226fc0d9eddbc910e2018caef4b19",
"timestamp": "",
"source": "github",
"line_count": 1032,
"max_line_length": 295,
"avg_line_length": 47.998062015503876,
"alnum_prop": 0.7164977591149514,
"repo_name": "Azure/azure-sdk-for-go",
"id": "4d0f58e10fa6fdaacd78ce0070ca4083358a9e4e",
"si... |
define(function(require, exports, module){
var StatusBar = brackets.getModule('widgets/StatusBar'),
MainViewManager = brackets.getModule('view/MainViewManager'),
Dialogs = brackets.getModule('widgets/Dialogs'),
ExtensionUtils = brackets.getModule('utils/ExtensionUtils'),
ThemeManager... | {
"content_hash": "b4e5107320460d920926f9a5a725a7a0",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 141,
"avg_line_length": 40.46808510638298,
"alnum_prop": 0.6114616193480547,
"repo_name": "dnbard/brackets-raml",
"id": "b88c0d5d78734baaf8bd5708d4e1036c3774935f",
"size": ... |
from .sub_resource import SubResource
class Probe(SubResource):
"""A load balancer probe.
All required parameters must be populated in order to send to Azure.
:param id: Resource Identifier.
:type id: str
:param load_balancing_rules: The load balancer rules that use this probe.
:type load_ba... | {
"content_hash": "84d6a125e2d8932d3b49c3c99b8da77d",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 98,
"avg_line_length": 48.743589743589745,
"alnum_prop": 0.6614939505523408,
"repo_name": "lmazuel/azure-sdk-for-python",
"id": "d59bc78e4c896b2ab3803838f0e6bf024e56b176",
... |
package natlab.tame.builtin.isComplexInfoProp.ast;
import java.util.List;
import natlab.tame.builtin.isComplexInfoProp.ArgICType;
import natlab.tame.builtin.isComplexInfoProp.isComplexInfoPropMatch;
import natlab.tame.valueanalysis.value.Value;
public class ICTypeA extends ICType{
public ICTypeA()
{
}
... | {
"content_hash": "fb63cc2e02034ce2279e9133ddb0456a",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 103,
"avg_line_length": 25.13131313131313,
"alnum_prop": 0.667604501607717,
"repo_name": "Sable/mclab-core",
"id": "5de3097cf9d13fa0834851b9920ba937af5a98e9",
"size": "2488... |
/*Please dont change it */
/*Common*/
.animation_results,
.animation_results .x-panel-body {
background-color: #dfe8f7;
}
.tryit_results,
.tryit_results .x-panel-body {
background-color: #dfe8f7;
overflow: auto;
}
.center-exp {
margin-left: auto;
margin-right: auto;
display: table;
}
/* Ani... | {
"content_hash": "d0c75878929d91ab9b51b040aa4b23fb",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 95,
"avg_line_length": 21.215686274509803,
"alnum_prop": 0.6497227356746765,
"repo_name": "Bryukh-Checkio-Tasks/checkio-mission-pep8-break",
"id": "8aeac5def54fa77678dae65c1... |
title: "Zero downtime deployments with Go and Kubernetes"
date: 2018-08-06T19:40:55+01:00
url: "graceful-shutdown"
pinned: true
---
If you’re writing Go then you’re probably aware that graceful shutdown was added to the http package in 1.8.
> The HTTP server also adds support for [graceful shutdown](https://golang.or... | {
"content_hash": "f3b8a751b01857002d8501732dd0a98c",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 392,
"avg_line_length": 36.196911196911195,
"alnum_prop": 0.7410133333333333,
"repo_name": "wayneashleyberry/wayne.cloud",
"id": "71077b4fbd6af1082fac6b2cdca5a9128c0ee992",
... |
package http.client.response
import play.api.libs.json.JsValue
trait HttpResponse {
val status: Int
val headers: Seq[HttpHeader]
val statusText: String
val body: String
val bodyAsBytes: Array[Byte]
def json: JsValue
}
| {
"content_hash": "91ee7e883e5e32454e74ca6b5baa297a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 33,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.75,
"repo_name": "SocialOrra/social4s",
"id": "408d8ff647dda584abf46a4387ac37f68a96186c",
"size": "232",
"binar... |
var Lab = require('lab');
var Hapi = require('hapi');
var cheerio = require('cheerio');
var Path = require('path');
var Inert = require('inert');
var Vision = require('vision');
// Declare internals
var internals = {
bootstrapServer: function (server, plugins, options, callback) {
if (typeof options === ... | {
"content_hash": "8fa1f120871848621cfb2c3eea188894",
"timestamp": "",
"source": "github",
"line_count": 926,
"max_line_length": 116,
"avg_line_length": 30.711663066954642,
"alnum_prop": 0.5040613242378424,
"repo_name": "evdevgit/lout",
"id": "3283dd70b4b8701143603c42a41a2084459cfdd8",
"size": "2845... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>advmod:neg</title>
<link re... | {
"content_hash": "7bbacc9e98803e422ca9aa35dcc87b95",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 616,
"avg_line_length": 42.55609756097561,
"alnum_prop": 0.6282668500687758,
"repo_name": "UniversalDependencies/universaldependencies.github.io",
"id": "dff66f22be806615dae... |
var Themis = require('../src/themis');
var util = require('util');
describe('The pre validation data transformers', function() {
before(function () {
Themis.registerTransformer('pad', 'pre', function(data, transformer) {
if (transformer === true) {
return " " + data + " ";
} else {
r... | {
"content_hash": "26d3fe833b9f959d8ecea57abb247d32",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 75,
"avg_line_length": 21.4609375,
"alnum_prop": 0.4757917728431016,
"repo_name": "playlyfe/themis",
"id": "f15b05b98af9bbe7af07276908ef1b553ac22757",
"size": "2747",
"b... |
<?php
namespace Light\ObjectService\Resource\Operation;
use Light\ObjectAccess\Resource\ResolvedResource;
/**
* An operation encapsulates the parameters and the logic of an action to be performed on a resource.
*
*/
abstract class Operation
{
/**
* Executes the operation.
* @param ResolvedResource $resource... | {
"content_hash": "dbe1f2bfadf356fbfb771496096476f0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 101,
"avg_line_length": 26,
"alnum_prop": 0.7670940170940171,
"repo_name": "szymanp/light-objectservice",
"id": "3540b322f7cce684acaf00bc7536062863b66fc9",
"size": "468",
... |
// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from ripple_like_wallet.djinni
#include "RippleConfigurationDefaults.hpp" // my header
#include "Marshal.hpp"
namespace djinni_generated {
RippleConfigurationDefaults::RippleConfigurationDefaults() : ::djinni::JniInterface<::ledger::core::api::... | {
"content_hash": "d330601703fed6fe34dce67d6332d91f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 220,
"avg_line_length": 42.36363636363637,
"alnum_prop": 0.7811158798283262,
"repo_name": "LedgerHQ/lib-ledger-core",
"id": "90adaf71a92a202dc49b6444098f138691449c65",
"siz... |
<?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, Ver... | {
"content_hash": "4583ec23257fb02d491c1c665c0669f1",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 125,
"avg_line_length": 40.01923076923077,
"alnum_prop": 0.691494473810668,
"repo_name": "apache/forrest",
"id": "c37bf2867dc0f58f41c08ab279e81b2f94e2a424",
"size": "2081",... |
<?php
namespace Lib\Radius\Mapper;
use Zend\Db\TableGateway\TableGateway;
use Lib\Model\AbstractMapper;
use Lib\Model\AbstractEntity;
use Lib\Model\Exception as Exception;
class UserGroupMapper extends AbstractMapper
{
/**
* Overwrite MapperAbstract primaryKey
* The db primary key's column name
*... | {
"content_hash": "081680a1c2debd2be81964f16833e00d",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 103,
"avg_line_length": 31.965217391304346,
"alnum_prop": 0.5057127312295974,
"repo_name": "kanalfred/apigility",
"id": "934e22625a8c15b55408b969b3255b7a33eecec2",
"size":... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | {
"content_hash": "dd740eeaf86f3f776133e72848f7a432",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 84,
"avg_line_length": 37.73529411764706,
"alnum_prop": 0.7552611067809821,
"repo_name": "ytabuchi/BuildInsider_DeviceMotion",
"id": "e8d6d968f7d51d6f96cb2266e3a1df6e158d67ed... |
package org.deeplearning4j.graph.models.embeddings;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.deeplearning4j.graph.api.IGraph;
import org.deeplearning4j.graph.api.Vertex;
import org.deeplearning4j.graph.models.GraphVectors;
import org.nd4j.linalg.api.blas.Level1;
import org.nd4j.l... | {
"content_hash": "222505e8213decf34668a14f155aa859",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 115,
"avg_line_length": 30.366071428571427,
"alnum_prop": 0.6639223757718318,
"repo_name": "RobAltena/deeplearning4j",
"id": "0fc0e5a6065025fa7e0298e4fec50b5d18d9e45d",
"s... |
<?php
namespace App\Http\Controllers;
use App\Http\Requests\CreateActivityRequest;
use App\Http\Requests\UpdateActivityRequest;
use App\Repositories\ActivityRepository;
use App\Http\Controllers\AppBaseController;
use Illuminate\Http\Request;
use Flash;
use Prettus\Repository\Criteria\RequestCriteria;
use Response;
c... | {
"content_hash": "fd2810689637d40f51c76ec1fc13d569",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 79,
"avg_line_length": 23.954838709677418,
"alnum_prop": 0.5970913008349044,
"repo_name": "chelopezlo/backend-congreso",
"id": "3b86edc2e870f4867cdd9d69c54b7c8acd669227",
... |
require 'rgeo'
# RGeo is a spatial data library for Ruby, provided by the "rgeo" gem.
#
# The optional RGeo::GeoJSON module provides a set of tools for GeoJSON
# encoding and decoding.
module RGeo
# This is a namespace for a set of tools that provide GeoJSON encoding.
# See http://geojson.org/ for more informa... | {
"content_hash": "973b04940ce50ef35e3a047d12d1c8e3",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 74,
"avg_line_length": 20.576923076923077,
"alnum_prop": 0.7495327102803738,
"repo_name": "ynelin/rgeo-geojson",
"id": "98dcc2bd05bc1c0b03dee17406bad707eebb1b5e",
"size": "... |
import * as React from "react";
import { FBSelect, DropDownItem } from "../../ui/index";
import { updateMCU } from "../../devices/actions";
import { isNumber } from "lodash";
import { t } from "../../i18next_wrapper";
import {
pinDropdowns, celery2DropDown, PinGroupName, PERIPHERAL_HEADING,
} from "../../sequences/st... | {
"content_hash": "ec29bbf3f03fbaedace9f3bfa2be28e5",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 80,
"avg_line_length": 35.03225806451613,
"alnum_prop": 0.6899938612645795,
"repo_name": "gabrielburnworth/Farmbot-Web-App",
"id": "164036a2495d3bd336c43f475726320107092fb8",... |
package Paws::Route53::CreateHostedZoneResponse;
use Moose;
has ChangeInfo => (is => 'ro', isa => 'Paws::Route53::ChangeInfo', required => 1);
has DelegationSet => (is => 'ro', isa => 'Paws::Route53::DelegationSet', required => 1);
has HostedZone => (is => 'ro', isa => 'Paws::Route53::HostedZone', required => 1... | {
"content_hash": "7498c54b2cb3178c2e5776bc593c9498",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 116,
"avg_line_length": 24.10909090909091,
"alnum_prop": 0.6870286576168929,
"repo_name": "ioanrogers/aws-sdk-perl",
"id": "0ee93ffc324edd9011e092d99b927dc4a8851445",
"size... |
import { Glue42Core } from "../../../../glue";
import { SubscriptionInner } from "../../types";
import ClientRepository from "../../client/repository";
export class UserSubscription implements Glue42Core.Interop.Subscription {
public get requestArguments() {
return this.subscriptionData.params.arguments ||... | {
"content_hash": "caedd24d3ab9b0cf058793664e2c73e1",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 113,
"avg_line_length": 35.815384615384616,
"alnum_prop": 0.647766323024055,
"repo_name": "StBozov/Core",
"id": "6b3c63b13035144306c5e25a1038e266c0358736",
"size": "2328",
... |
package com.amazonaws.services.opsworks.model;
import java.io.Serializable;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
*/
public class RebootInstanceRequest extends AmazonWebServiceRequest implements
Serializable, Cloneable {
/**
* <p>
* The instance ID.
* </p>
*/
pr... | {
"content_hash": "0b8ac25111a5aaff911a5948e20e27ad",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 79,
"avg_line_length": 22.875,
"alnum_prop": 0.5565964090554254,
"repo_name": "mhurne/aws-sdk-java",
"id": "4c1c282dec9b4da5f8a8cb7008408554b1fc9b07",
"size": "3149",
"b... |
var _ = require('underscore');
var TaskList = require('./taskList');
var TaskForm = require('./taskForm');
var TaskBox = React.createClass({ displayName: 'TaskBox',
loadTasksFromServer: function() {
$.ajax({
url: this.props.tasksUrl + '/tasks.json',
dataType: 'json',
success: function(data) {
... | {
"content_hash": "40d3eba474c72bc86c43d1159bc52316",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 122,
"avg_line_length": 27.628205128205128,
"alnum_prop": 0.5930394431554524,
"repo_name": "yongpeishi/todolist-app",
"id": "6fdedace95fcda5237a0f7b0068e2650ed5da41a",
"siz... |
require 'spec_helper'
RSpec.describe NotifySubjectSelectorOfSeenWorker do
let(:worker) { described_class.new }
let(:workflow) { create(:workflow) }
let(:subject_id) { 2 }
let(:user_id) { 1 }
it "should be retryable 3 times" do
retry_count = worker.class.get_sidekiq_options['retry']
expect(retry_coun... | {
"content_hash": "7917590a0e7633ffb80efca6898f6ea1",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 86,
"avg_line_length": 30.103448275862068,
"alnum_prop": 0.631729667812142,
"repo_name": "srallen/Panoptes",
"id": "8c054ab18f98e5e9f65ee5cb98f997fee9a2342b",
"size": "1746... |
namespace pw::analog {
class GmockMicrovoltInput : public MicrovoltInput {
public:
MOCK_METHOD(pw::Result<int32_t>,
TryReadUntil,
(pw::chrono::SystemClock::time_point deadline),
(override));
MOCK_METHOD(Limits, GetLimits, (), (const, override));
MOCK_METHOD(References... | {
"content_hash": "d55f509d0bac08c3469655dc1b593c95",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 64,
"avg_line_length": 26.133333333333333,
"alnum_prop": 0.6326530612244898,
"repo_name": "google/pigweed",
"id": "a6ce9227eddee9adfe3bf3d5fd565c19f666b1e4",
"size": "1068"... |
"use strict";
/**
* Hackathon @ J On The Beach 2017
* VOS (Value ObjectS) file
* Path: valo/src/visualizations_js/src/vo/map_point.js
* @license MIT
* @author Danilo Rossi <drossi@itrsgroup.com>
* @author Andres Ramirez <aramirez@itrsgroup.com>
* @author Zuri Pabón <zpabon@itrsgroup.com>
*/
import {
runSi... | {
"content_hash": "a1cd83bec26574a6a47e80835d178ca0",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 82,
"avg_line_length": 30.26984126984127,
"alnum_prop": 0.708442579968537,
"repo_name": "ITRS-Group/hackathon2017",
"id": "89f4c6609fa2a45718aad4a117a060d559273b5b",
"size"... |
import PropTypes from 'prop-types';
import React from 'react';
import {sortByString} from '../helpers/SortHelpers';
// This is a sorted table, pass in a list of objects as `rows`,
// and then `columns` to describe how to sort and label columns.
class FlexibleRoster extends React.Component {
constructor(props) {
... | {
"content_hash": "a718ab08bbe1ef02c369bc1c7889dfad",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 115,
"avg_line_length": 26.98802395209581,
"alnum_prop": 0.5726647437319725,
"repo_name": "studentinsights/studentinsights",
"id": "d9c3441483ae4f77b754a0c6029378f0c6c9ba84"... |
/* fficonfig.h. Generated from fficonfig.h.in by configure. */
/* fficonfig.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. Thi... | {
"content_hash": "632e1dd7b19f2dfaae231ae8387a47fc",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 78,
"avg_line_length": 29.01826484018265,
"alnum_prop": 0.6887490165224233,
"repo_name": "coapp-packages/libffi",
"id": "75cac14146cd50bda5510bea6715d95240f08c1f",
"size":... |
"""
version.py module
The version set here will be automatically incorporated into setup.py
and also set as the __version__ attribute for the package.
"dev", "rc", and other verison tags should be added using the
``setup.py egg_info`` command when creating distributions.
"""
from __future__ import (
absolute_impo... | {
"content_hash": "0f541f9c07acf943693733155e182400",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 69,
"avg_line_length": 30.8,
"alnum_prop": 0.7034632034632035,
"repo_name": "ihiji/falcon-marshmallow",
"id": "dda59551f5dccbca68b366245f42d63417348889",
"size": "486",
"... |
describe User do
before do
@user = User.new(name: "example", password: "foobar", password_confirmation: "foobar")
end
subject { @user }
it { should respond_to(:name) }
it { should respond_to(:password_digest) }
it { should respond_to(:password) }
it { should respond_to(:password_confirmation) }
i... | {
"content_hash": "14d58149776bb92749dce452ed6ce181",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 90,
"avg_line_length": 26.023255813953487,
"alnum_prop": 0.6519213583556747,
"repo_name": "cristianjd/contextbeats",
"id": "91f9f239fe4974835957f3f03726e9ec70c503e0",
"size... |
package com.github.dstapen.sshmavenplugin;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.io.File;
import java.util.concurrent.TimeUnit;
@RunWith(Parameterized.class)
public class DownloadFileMojoTest extends ParametrizedTransferTest {
@Test
publi... | {
"content_hash": "8966ec83ccfb3784fc51f10ad74d66cc",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 103,
"avg_line_length": 31.733333333333334,
"alnum_prop": 0.6817226890756303,
"repo_name": "dstapen/ssh-maven-plugin",
"id": "a51c0b8d890354f3c4ea3be000f164d9e623555b",
"si... |
package in.ceeq.help;
import in.ceeq.R;
import java.util.ArrayList;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.NavUtils;
import android.view.LayoutInflater;
import android.view.Me... | {
"content_hash": "19c2bb13b2d678f7d2cd1663d1c776f3",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 81,
"avg_line_length": 26.79591836734694,
"alnum_prop": 0.734958111195735,
"repo_name": "ceeq/project-ceeq",
"id": "dcb803566b49b2bd1617849c9f1e801586fd0fae",
"size": "536... |
<?php
namespace iio\phplibphone\Library;
use iio\phplibphone\Exception;
use SimpleXMLElement;
use iio\phplibphone\CarrierLookupInterface;
/**
* Fetch carrier information for swedish phone numbers from api.pts.se
*
* @author Hannes Forsgård <hannes.forsgard@gmail.com>
* @package phplibphone
*/
class CarriersSe... | {
"content_hash": "8fca19d067add61238763538f90b8c9a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 26.016129032258064,
"alnum_prop": 0.6007439553626782,
"repo_name": "hanneskod/phplibphone",
"id": "ce97a9e74a366cc0ee5a7f5e03e338732bd3114f",
"size":... |
require "benchmark"
require "abstract_controller/logger"
module ActionController
# Adds instrumentation to several ends in ActionController::Base. It also provides
# some hooks related with process_action. This allows an ORM like Active Record
# and/or DataMapper to plug in ActionController and show related info... | {
"content_hash": "fae6c592c1cf030910096d8574d2c24f",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 109,
"avg_line_length": 31.672897196261683,
"alnum_prop": 0.6674535261138979,
"repo_name": "bogdanvlviv/rails",
"id": "62e0c351fce39fdc07b538e78dde0064c30d8ad8",
"size": "... |
Browser base64 Session Description<br />
<textarea id="localSessionDescription" readonly="true"></textarea> <br />
<button onclick="window.copySDP()">
Copy browser SDP to clipboard
</button>
<br />
<br />
Golang base64 Session Description<br />
<textarea id="remoteSessionDescription"></textarea> <br/>
<button onclick... | {
"content_hash": "7ef1c6bd76dfec6cb9da186e73ac8798",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 26.63157894736842,
"alnum_prop": 0.6976284584980237,
"repo_name": "pion/webrtc",
"id": "363b3fb2d2a85479cf3205523d1678020cbf128d",
"size": "506",
"... |
<!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_79) on Thu Sep 17 01:49:46 IST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>org.apache.solr.morp... | {
"content_hash": "9ea2a0742c5918cad0d3c7b32326c8dd",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 172,
"avg_line_length": 55.86363636363637,
"alnum_prop": 0.7152156224572823,
"repo_name": "TitasNandi/Summer_Project",
"id": "ebedf4dbbca37adbfdb81f7226a00ed0689b142c",
"si... |
package com.github.kelebra.security.identifier.factory;
import com.github.kelebra.security.identifier.exceptions.UnknownSecurityIdentifierType;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
import static org.asser... | {
"content_hash": "895d33b2dd512d907f7559ea92ee534c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 116,
"avg_line_length": 36.24324324324324,
"alnum_prop": 0.7576435495898584,
"repo_name": "kelebra/security-identifier",
"id": "123268f95896015f8f55332785479f99fcc45d33",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.