text stringlengths 2 1.04M | meta dict |
|---|---|
"""
The Tornado Framework
By Ali Pesaranghader
University of Ottawa, Ontario, Canada
E-mail: apesaran -at- uottawa -dot- ca / alipsgh -at- gmail -dot- com
---
*** The Cumulative Sum (CUSUM) Method Implementation ***
Paper: Page, Ewan S. "Continuous inspection schemes."
Published in: Biometrika 41.1/2 (1954): 10... | {
"content_hash": "3427bb2c643fbc0773149f3037b4f810",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 98,
"avg_line_length": 30.206349206349206,
"alnum_prop": 0.5643720441408303,
"repo_name": "alipsgh/tornado",
"id": "924f8dd801ae83a58b56e0228f112759ab0a8c5a",
"size": "1903... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using Microsoft.WindowsAPICodePack.Shell.Resources;
using MS.WindowsAPICodePack.Internal;
namespace Microsoft.WindowsAPICodePack.Shell
{
/// <summary>
/// An exception throw... | {
"content_hash": "1381b51842a67d5e0b016ee8ce659382",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 102,
"avg_line_length": 36.358024691358025,
"alnum_prop": 0.5955857385398982,
"repo_name": "manuth/EnhanceForm",
"id": "fe5da6622fb4a6668b783f59b3ac6fe6f1f3d4e4",
"size": "... |
package io.github.takzhanov.umbrella.hw01;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class Main {
private static final Logger LOGGER = LoggerFactory.getLogger(Main.class);
public static void main(String[] args) {
final Double deltaDefault = 0.001;
final Double delta = (a... | {
"content_hash": "be341638a9c0b870544f154994db131e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 92,
"avg_line_length": 34.266666666666666,
"alnum_prop": 0.688715953307393,
"repo_name": "takzhanov/otus-java-2017-10-takzhanov-yury",
"id": "a4e3e70d8a801b669406d2e6749dfe9c... |
FROM balenalib/odroid-xu4-alpine:3.10-run
ENV NODE_VERSION 14.15.4
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN buildDeps='curl' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD24... | {
"content_hash": "2e0d2a35411a7b8edae7b414dd68d674",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 697,
"avg_line_length": 62.583333333333336,
"alnum_prop": 0.7067243675099867,
"repo_name": "nghiant2710/base-images",
"id": "d934fe52cf38d5e896d99a5780ac28be35bfde0c",
"siz... |
/**
@module ember-data
*/
import Ember from 'ember';
import {
RecordArray,
FilteredRecordArray,
AdapterPopulatedRecordArray
} from "ember-data/-private/system/record-arrays";
import OrderedSet from "ember-data/-private/system/ordered-set";
const {
get,
MapWithDefault,
run: emberRun
} = Ember;
const {
... | {
"content_hash": "1f65da1114a86281a4e302cb954532cb",
"timestamp": "",
"source": "github",
"line_count": 414,
"max_line_length": 93,
"avg_line_length": 27.00966183574879,
"alnum_prop": 0.6986227866213558,
"repo_name": "aldolipani/VisualPool",
"id": "a1196df38a0437468113f3673efe452b9aa44c2d",
"size":... |
<div ng-controller="AboutCtrl">
<div class="main-container">
{{description}}
</div>
</div> | {
"content_hash": "f1daab1f9ee6fd5933b1753cb5ece6cd",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 32,
"avg_line_length": 21.4,
"alnum_prop": 0.5794392523364486,
"repo_name": "makingsensetraining/angular-webapi",
"id": "ac08fa48c44499a930abdafb10faa183801c43b7",
"size": "... |
describe ApplicationHelper::Button::StoragePerf do
let(:view_context) { setup_view_context_with_sandbox({}) }
let(:record) { FactoryBot.create(:storage) }
let(:button) { described_class.new(view_context, {}, {'record' => record}, {}) }
it_behaves_like 'a performance button', 'Datastore'
end
| {
"content_hash": "d06e29d4947c84405364b36df12761e7",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 82,
"avg_line_length": 43,
"alnum_prop": 0.6943521594684385,
"repo_name": "ManageIQ/manageiq-ui-classic",
"id": "356e200a7aba082ebd16852497737e5618b17bdd",
"size": "301",
... |
<div ng-controller="AuthenticationController">
<!--Seccion de encabezado -->
<div class="text-center "><br><br>
<div class="col-md-6 col-lg-6">
<img ng-src="/modules/core/client/img/logo_horizontal.jpg" width="100%" height="50%">
</div>
<div class="col-md-6 col-lg-6">
<img ng-src="/modules/... | {
"content_hash": "03d5545dd7616e378b93d9972e1707f3",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 153,
"avg_line_length": 46.833333333333336,
"alnum_prop": 0.6151499745805795,
"repo_name": "jcmosqued/CDMI",
"id": "efe56111bfb88470c1efd5c2659afac112a1a315",
"size": "1971... |
export { LoaderComponent } from './loader.component';
| {
"content_hash": "3110f0aafb91489e66eea959bdbb6a32",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 53,
"avg_line_length": 54,
"alnum_prop": 0.7407407407407407,
"repo_name": "chantid/CovalentsShowcase",
"id": "e8392a506d01c25e836afaacf4440997811fefef",
"size": "54",
"bin... |
from framework import *
root.title("Normal/disabled outline color ($Revision: 1.3 $)")
n = 200
for i in xrange(n):
color = "blue"
if randint(0, 1000) > 200:
canv.create_line(coord(), coord(), coord(), coord(),
fill=color)
else:
canv.create_line(coord(), coord(), coord(), coord(),
fill=color, disabledfil... | {
"content_hash": "2aed9044f049929be5d5287c61f8bd29",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 62,
"avg_line_length": 27.733333333333334,
"alnum_prop": 0.65625,
"repo_name": "WojciechMula/canvas2svg",
"id": "b222483ff15ac8277419f2e0d8456301af6d4a9a",
"size": "416",
... |
// Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "init.h"
#include "util.h"
#include "sync.h"
#include "ui_interface.h"
#includ... | {
"content_hash": "b1d9caf7fea7c356a1bcaa426b83fec5",
"timestamp": "",
"source": "github",
"line_count": 1292,
"max_line_length": 159,
"avg_line_length": 35.856037151702786,
"alnum_prop": 0.5850278461339204,
"repo_name": "information-coin/informationcoin",
"id": "6d9400a4ec2807baf93824b241e4755dc34ad3... |
"""
All layers just related to the detection neural network.
"""
import paddle
from .layer_function_generator import templatedoc
from ..layer_helper import LayerHelper
from ..framework import Variable, _non_static_mode, static_only, in_dygraph_mode
from .. import core
from .loss import softmax_with_cross_entropy
from... | {
"content_hash": "19f89758992dde3603ed903fd5071a6e",
"timestamp": "",
"source": "github",
"line_count": 4087,
"max_line_length": 224,
"avg_line_length": 41.393931979447025,
"alnum_prop": 0.5962394415316503,
"repo_name": "luotao1/Paddle",
"id": "b7a3b2aba9c882f915897a53f29ccceffe48b041",
"size": "16... |
/**
* @file f_bent_cigar.c
* @brief Implementation of the bent cigar function and problem.
*/
#include <stdio.h>
#include <assert.h>
#include "coco.h"
#include "coco_problem.c"
#include "suite_bbob_legacy_code.c"
#include "transform_obj_shift.c"
#include "transform_vars_affine.c"
#include "transform_vars_asymmetri... | {
"content_hash": "a4b9664e0865ae2d52085f000e4c53cd",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 94,
"avg_line_length": 34.350515463917525,
"alnum_prop": 0.6476590636254502,
"repo_name": "oaelhara/numbbo",
"id": "b1187e8d420853252e5cfcdd5d3b7ac72b317a2e",
"size": "3332... |
#include "Client.h"
#include <iostream>
#include <string>
#include "FileCopier.h"
#include <chrono>
#include <iomanip>
Client::Client(){
recSizeInBytes = 0;
initWinsock();
initSocket();
start();
}
Client::~Client(){}
int Client::initWinsock(){
if (WSAStartup(MAKEWORD(2, 2), &WsaData) != 0){
std::... | {
"content_hash": "7649145634fb93f6d297e87b8afb5c11",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 165,
"avg_line_length": 30.112903225806452,
"alnum_prop": 0.6357793251205142,
"repo_name": "FrankBotos/CPP-SocketsFileTransfer",
"id": "4794409be2d3c8c7afc3b5031d6be3108bc2d... |
package controllers;
import java.util.Collection;
import java.util.Map;
import org.apache.commons.collections.map.HashedMap;
import org.plannifico.PlannificoFactory;
import org.plannifico.PlannificoFactoryProvider;
import org.plannifico.data.PlanningSet;
import org.plannifico.data.UniverseNotExistException;
import or... | {
"content_hash": "09eb52cb580d6551d6f04a9b30605767",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 104,
"avg_line_length": 27.090534979423868,
"alnum_prop": 0.6700592435060003,
"repo_name": "plannifico/plannifico-app",
"id": "1f14ed86fbc1ae146197692d1fbef3ab8cda6373",
"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "fabe65002c587da29074434e65b4be0b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "6cbfa0216ba835f44b009e486afb381aedbb3f79",
"size": "181... |
/*
* The IEEE hereby grants a general, royalty-free license to copy, distribute,
* display and make derivative works from this material, for all purposes,
* provided that any use of the material contains the following
* attribution: "Reprinted with permission from IEEE 1516.1(TM)-2010".
* Should you require additi... | {
"content_hash": "e88cd9b533680d3953a1adf2f9f95a49",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 81,
"avg_line_length": 28.875,
"alnum_prop": 0.7673160173160173,
"repo_name": "MSG134/IVCT",
"id": "0e6cd39d14626591afe1adee4b8351e87cfea8dd",
"size": "924",
"binary": fa... |
require "spec_helper"
describe Mongoid::Contextual::Mongo do
[ :blank?, :empty? ].each do |method|
describe "##{method}" do
before do
Band.create(name: "Depeche Mode")
end
context "when the count is zero" do
let(:criteria) do
Band.where(name: "New Order")
... | {
"content_hash": "547852ca802a81fa55de2125fbdda46f",
"timestamp": "",
"source": "github",
"line_count": 1475,
"max_line_length": 84,
"avg_line_length": 21.309830508474576,
"alnum_prop": 0.5533532705523034,
"repo_name": "jamesjn/mongoid",
"id": "d485881495e68b558a09dfe7e8ada9b2f15f9ed4",
"size": "31... |
package com.nokia.springboot.training.d01.s03.repository;
import org.springframework.stereotype.Repository;
/**
* A simple product repository
*
* @author bogdan.solga
*/
@Repository
public class ProductRepository {
public void displayProducts() {
System.out.println("Displaying all the products");
... | {
"content_hash": "dcad4657b272cfd7bc8791cc6c69a15e",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 58,
"avg_line_length": 20.3125,
"alnum_prop": 0.7292307692307692,
"repo_name": "bogdansolga/nokia-spring-boot-training",
"id": "12728e27ee971738189fc95ac994ff28a065385d",
"... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.tlkzzz.jeesite.modules.cw.dao.FPaymentDao">
<sql id="fPaymentColumns">
a.id AS "id",
a.payment_date AS "paymentDate",
a.payment_code AS "paym... | {
"content_hash": "6638ddece5ad1e0b21aa80d6c67eaa56",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 107,
"avg_line_length": 25.788844621513945,
"alnum_prop": 0.6493125289664762,
"repo_name": "tlkzzz/xpjfx",
"id": "e4d96b07bcb1116f9eaba72be24bf0728f96447b",
"size": "6473"... |
#include "mod_proxy.h"
#include "scoreboard.h"
#include "ap_mpm.h"
#include "apr_version.h"
#include "ap_hooks.h"
module AP_MODULE_DECLARE_DATA lbmethod_bytraffic_module;
static int (*ap_proxy_retry_worker_fn)(const char *proxy_function,
proxy_worker *worker, server_rec *s) = NULL;
/*
* The idea behind th... | {
"content_hash": "43b535a5e6208adc5a886474340008fb",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 112,
"avg_line_length": 34.329032258064515,
"alnum_prop": 0.5540311971433941,
"repo_name": "ZHYfeng/malicious-code-conceal",
"id": "b3fe556a55050dcf58c65887ca91ebc0793eaaab"... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | {
"content_hash": "ec7f9d5877d226095ac4881294ceb038",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 129,
"avg_line_length": 34.3375,
"alnum_prop": 0.6082999635966508,
"repo_name": "miguelhidrogo/moodle_auth_cors",
"id": "68b75a94a58d9475ba56dabbc8a5c765571b2b0a",
"size": ... |
/* 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
* dist... | {
"content_hash": "ba88a15b9c55d494df43a390f5163797",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 139,
"avg_line_length": 34.949367088607595,
"alnum_prop": 0.6896052155016299,
"repo_name": "paulstapleton/flowable-engine",
"id": "a87ff315a1db289293a7daaf6eb3508b6ca2f541",
... |
layout: post
title: "An Illustrative Guide to Coffee"
excerpt: "One of the things I love about being in the 9rules Network is the community of bloggers it encompasses. While reading the Bright Meadow blog today I stumbled across a flickr picture she ran across."
modified:
categories: opinions
tags: [Opinion]
image:
... | {
"content_hash": "e3475f0913c7e35dbaa00680bd2d3978",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 208,
"avg_line_length": 40.72727272727273,
"alnum_prop": 0.7834821428571429,
"repo_name": "coffeedrinkers/coffeedrinkers.github.com",
"id": "ea9df33a41f46f7d6bbcd58dd275477be... |
typedef NS_ENUM(NSInteger, ChannelSectionHeaderViewType) {
ChannelSectionHeaderViewTypeClose = 1 << 0,
ChannelSectionHeaderViewTypeOpen = 1 << 1
};
@protocol ChannelSectionHeaderViewDelegate <NSObject>
- (void)foldChannel:(ChannelSectionHeaderViewType)type tag:(NSInteger)tag;
@end
@interface ChannelSectionH... | {
"content_hash": "67c82686797fa58ffd40f56816ff317b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 26.105263157894736,
"alnum_prop": 0.7903225806451613,
"repo_name": "fmok/FMChannelManageDemo",
"id": "52e1f1e4b46e278b89a1e430def66edd2eaaf2ca",
"siz... |
from dragonflow.db.db_common import DbUpdate
from dragonflow.db import pub_sub_api
from dragonflow.db.pubsub_drivers.redis_db_pubsub_driver \
import RedisPublisherAgent
from dragonflow.db.pubsub_drivers.redis_db_pubsub_driver \
import RedisSubscriberAgent
from dragonflow.tests import base as tests_base
import m... | {
"content_hash": "25be7efc456afe14b8c8959c90ea4535",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 74,
"avg_line_length": 41.3,
"alnum_prop": 0.6343825665859564,
"repo_name": "FrankDuan/df_code",
"id": "922303cf125dc9e9b60508009379c84517274ec6",
"size": "2663",
"binary... |
import sys
from setuptools import setup, find_packages
from fabric_encrypt.version import get_version
with open("README.rst") as f:
readme = f.read()
long_description = readme
install_requires = ["fab-classic==1.18.0"]
setup(
name="Fabric-encrypt",
version=get_version("short"),
description="Fabr... | {
"content_hash": "9528ff6d3f650ad25b7bb01b31916afe",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 75,
"avg_line_length": 31.545454545454547,
"alnum_prop": 0.6340057636887608,
"repo_name": "jtrain/fabric-encrypt",
"id": "cbbed7965cbf6dd71d4113bce57665e1f83ee9ba",
"size":... |
[](https://travis-ci.org/iisador/jBTCE)
[](https://coveralls.io/github/iisador/jBTCE?branch=master)
jBTCE
=====
---
NOTE: Uses java version >= 1.8
---
Brief ... | {
"content_hash": "682c194ae8d067bda709634ac27134d5",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 277,
"avg_line_length": 30.852459016393443,
"alnum_prop": 0.6657810839532412,
"repo_name": "iisador/jBTCE",
"id": "87a2fa875261a778c0567905915f754514103bb0",
"size": "1882"... |
using System;
namespace Storm.Mvvm.Navigation
{
[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public sealed class NavigationParameterAttribute : Attribute
{
public NavigationParameterAttribute()
{
Name = null;
Mode = NavigationParameterMode.Required;
}
public N... | {
"content_hash": "38c100aa5aedbb85c50034c92b6decac",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 21.75,
"alnum_prop": 0.7413793103448276,
"repo_name": "Julien-Mialon/StormXamarin",
"id": "26878fdc506cce224972179f0ace3c40882da038",
"size": "524",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>graph-basics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "33636aee03d166d2cc99ba384b18d316",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 232,
"avg_line_length": 43.15976331360947,
"alnum_prop": 0.5512750205648478,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "97448b49ed9cb30fdc9b1ccbabcfb3dbe0bcfa35",
... |
<?php
namespace PlaygroundGame\Service\Factory;
use PlaygroundGame\Controller\Frontend\TradingCardController;
use Laminas\ServiceManager\Factory\FactoryInterface;
use Interop\Container\ContainerInterface;
class FrontendTradingCardControllerFactory implements FactoryInterface
{
public function __invoke(ContainerIn... | {
"content_hash": "7eb767a3b3ed96d627ec312552ff237e",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 92,
"avg_line_length": 29.8125,
"alnum_prop": 0.790356394129979,
"repo_name": "gregorybesson/PlaygroundGame",
"id": "2cf623baedfc7e6ca8a931c4215c3a88b409a4cb",
"size": "477... |
import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { ItemState } from '../shared/item-state';
import { Item } from '../shared/item';
@Component({
selector: 'app-item',
templateUrl: './item.component.html',
styleUrls: ['./item.component.css']
})
export class ItemComponent imple... | {
"content_hash": "4a6cd69c95bff3dda70e340ffb236227",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 79,
"avg_line_length": 21.225806451612904,
"alnum_prop": 0.6504559270516718,
"repo_name": "railsstudent/angular-30",
"id": "7d4a3bcd2cf2db1ac0bac6ae388051116f7816a6",
"size... |
PROJECT_NAME=$1
GIT_TARGET_URL=$2
GIT_TARGET_BRANCH=$3
GIT_TARGET_SSH_KEY=$4
BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
WORKING_PATH="$BASE_DIR/repos/$PROJECT_NAME/${GIT_TARGET_BRANCH}"
export GIT_SSH_KEY="$GIT_TARGET_SSH_KEY"
export GIT_SSH="$BASE_DIR/git-ssh-helper.sh"
if [ -d "$WORKING_PATH" ]; ... | {
"content_hash": "502ff81c7f1fe4135a96b13e9f15296e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 65,
"avg_line_length": 27.9,
"alnum_prop": 0.6559139784946236,
"repo_name": "larsxschneider/git-p4-bridge",
"id": "8aed9a2b07f5fae35b9d18ad1dde59aa7d3081ba",
"size": "728",... |
define(function () {
'use strict';
return {
local: {
path: 'text!tests/assets/text/local.html',
result: '<!--\n/**\n * Copyright © 2016 Magento. All rights reserved.\n * See COPYING.txt for license details.\n */\n-->\n<span>Local Template</span>'
},
external: {
... | {
"content_hash": "90e50a5f92a5366776a3f39832d458b3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 165,
"avg_line_length": 37.666666666666664,
"alnum_prop": 0.552212389380531,
"repo_name": "enettolima/magento-training",
"id": "d20ecb0c87f40962b8a03b9dfd036663baf5b0dc",
"... |
"""misc functions that have no real home."""
import logging
import gzip
from typing import Tuple, Iterator, Any
from collections import defaultdict
def init_logging(log):
log.setLevel(logging.INFO)
ch = logging.StreamHandler()
ch.setLevel(logging.INFO)
log.addHandler(ch)
def try_len(o: Any) -> int:... | {
"content_hash": "dc0ea3f63d3e055014d8c7b99c0701f8",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 80,
"avg_line_length": 26.111940298507463,
"alnum_prop": 0.5724492712203487,
"repo_name": "mikethebeer/cr8",
"id": "898661323de74a4142134e799c2728a3318618ed",
"size": "349... |
module Jasonette
class Base
include Properties
attr_reader :context
attr_reader :attributes
def initialize context
@context = context
@attributes = {}
encode(&::Proc.new) if ::Kernel.block_given?
end
# Fixed for below error :
# IOError - not opened for reading:
# ... | {
"content_hash": "4d33e873a2d738f131fc63d830e5ea57",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 118,
"avg_line_length": 25.823293172690764,
"alnum_prop": 0.5528771384136858,
"repo_name": "mwlang/jasonette-rails",
"id": "0fa288ea94802f52c32f2f322629c380af22749b",
"siz... |
/* -*- mode: C -*- */
/* vim:set ts=2 sw=2 sts=2 et: */
/*
IGraph library.
Copyright (C) 2007-2012 Gabor Csardi <csardi.gabor@gmail.com>
334 Harvard street, Cambridge, MA 02139 USA
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... | {
"content_hash": "ba664f4e2b69d9835ffabfc336bd37ee",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 73,
"avg_line_length": 32.87078651685393,
"alnum_prop": 0.7378225944283029,
"repo_name": "hlzz/dotfiles",
"id": "1466b9a2fa8c4d12c99e4108662446c64b9a47f8",
"size": "5851",... |
'use strict';
exports.__generic = function (t, a) {
var iterator = t.call(this);
a.deep(iterator.next(), { value: [0, '1'], done: false });
a.deep(iterator.next(), { value: [1, '2'], done: false });
a.deep(iterator.next(), { value: [2, '3'], done: false });
a.deep(iterator.next(), { value: undefined, done: true }... | {
"content_hash": "ecb4b6cda0d8c4763885d3c64c7f6020",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 59,
"avg_line_length": 33.45454545454545,
"alnum_prop": 0.6086956521739131,
"repo_name": "patelsan/fetchpipe",
"id": "353f2c312f746d6c5f316e8e01c519ed9f3a163b",
"size": "36... |
<bill session="110" type="h" number="4239" updated="2009-01-09T01:41:16-05:00">
<status><introduced date="1195102800" datetime="2007-11-15"/></status>
<introduced date="1195102800" datetime="2007-11-15"/>
<titles>
<title type="short" as="introduced">Establishing the House Independent Commission on Standards Act</... | {
"content_hash": "6b74a9bac92d3d25b50e8923d8302408",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 544,
"avg_line_length": 54.90909090909091,
"alnum_prop": 0.7649006622516556,
"repo_name": "hashrocket/localpolitics.in",
"id": "47c23496c9e6ecd56b1475d531263d516bfd1966",
"... |
module Azure::ARM::Logic
module Models
#
# Model object.
#
#
class RecurrenceSchedule
include MsRestAzure
# @return [Array<Integer>] The minutes.
attr_accessor :minutes
# @return [Array<Integer>] The hours.
attr_accessor :hours
# @return [Array<DaysOfWeek>]... | {
"content_hash": "5527a82b422afff07266d84a1894ec75",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 81,
"avg_line_length": 28.82051282051282,
"alnum_prop": 0.3858244365361803,
"repo_name": "devigned/azure-sdk-for-ruby",
"id": "8f27876bf5af06d9513a92de782b5556b258b913",
"... |
/**
* Module dependencies
*/
var Lifecycle = require('./helpers/lifecycle'),
Uploader = require('./helpers/uploader'),
_ = require('lodash'),
util = require('util'),
path = require('path'),
assert = require('assert'),
toValidateTheHTTPResponse = require('./helpers/toValidateTheHTTPResponse'),
fsx = req... | {
"content_hash": "8f8b3f17bea76c1ec65f5ec1f0398083",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 26.37878787878788,
"alnum_prop": 0.6582423894313613,
"repo_name": "listepo/skipper-adapter-tests",
"id": "6c788aeac85c0fdef27d3f8aaebd632e4bb4e2c9",
... |
class Org::Settings::Crm::ImportStubsController < Org::OrgController
before_action :load_crm
def new
@stub = @crm.import_stubs.build
respond_to do |format|
format.js { render 'new'}
end
end
def create
@stub = @crm.import_stubs.build(import_stub_params)
respond_to do |format|
fo... | {
"content_hash": "cec84652651cb9b9baa0f050b9352889",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 77,
"avg_line_length": 19.3953488372093,
"alnum_prop": 0.6187050359712231,
"repo_name": "controlshift/prague-server",
"id": "d899682ff2bf530820ab12a2b25150268a88bc9c",
"siz... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... | {
"content_hash": "a8eab3a94740a3f6a1ace5ab4652282b",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 99,
"avg_line_length": 38.698113207547166,
"alnum_prop": 0.6128717698683569,
"repo_name": "paultaele/srl-research-hub",
"id": "7c41b37bd073976ff954cf7c13af0bc420c3dde3",
"... |
<div class="trainers-default-index">
<h1><?= $this->context->action->uniqueId ?></h1>
<p>
This is the view content for action "<?= $this->context->action->id ?>".
The action belongs to the controller "<?= get_class($this->context) ?>"
in the "<?= $this->context->module->id ?>" module.
... | {
"content_hash": "c5aa2cf0ccc08f78806715673ce12af8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 80,
"avg_line_length": 38.25,
"alnum_prop": 0.5533769063180828,
"repo_name": "wanyos2005/smartLearn",
"id": "5b3990afb3dd6ac235afab274e0edb9d308a7a14",
"size": "459",
"bi... |
```{include} _templates/nav.html
```
# censusbatchgeocoder
A simple Python wrapper for the [U.S. Census Geocoding Services API batch service](https://www.documentcloud.org/documents/3894452-Census-Geocoding-Services-API.html)
```{contents} Table of contents
:local:
:depth: 2
```
## Installation
```bash
pipenv inst... | {
"content_hash": "096d484438746611f05d1b6188a8dfe5",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 188,
"avg_line_length": 28.08712121212121,
"alnum_prop": 0.6302090357383682,
"repo_name": "datadesk/python-censusbatchgeocoder",
"id": "ae9db9562c16b5fb75d49fd188434d2f06500... |
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple... | {
"content_hash": "4ab179f3d126ce6cb5abfa07745a47a7",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 187,
"avg_line_length": 39.36065573770492,
"alnum_prop": 0.5593502707205331,
"repo_name": "diafour/canvas-oscilloscope",
"id": "6a2fa3ba90b188d298d954e0b069e0ba7020247a",
"... |
package org.jboss.resteasy.test.asynch;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.container.test.api.RunAsClient;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.restea... | {
"content_hash": "7ada3e847a8cad0fc0aba870e0e3c5d6",
"timestamp": "",
"source": "github",
"line_count": 553,
"max_line_length": 143,
"avg_line_length": 38.495479204339965,
"alnum_prop": 0.6296974821495678,
"repo_name": "awhitford/Resteasy",
"id": "aab43626690c2845079ed72e9881d11babcb46b2",
"size": ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package pl.altkom.spring.spring.capgemini;
import java.util.List;
import org.junit.Test;
import org.springframework.beans.factory.ann... | {
"content_hash": "129241d5a8faf1e41cb1d971d5608045",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 93,
"avg_line_length": 26.13235294117647,
"alnum_prop": 0.6736072031513787,
"repo_name": "cocoJamboo/spring-tutorials",
"id": "d59a0a8ab714bb57c0d06a4c1ffdd3364a852354",
"s... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>Category Property</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
... | {
"content_hash": "6b16ac7b1650c0f17a76f834ccd09f40",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 688,
"avg_line_length": 63.92307692307692,
"alnum_prop": 0.6558363417569194,
"repo_name": "npruehs/slash-framework",
"id": "766de568ce281cba611f6050a39abc6a8f1a18e0",
"size... |
package server // import "github.com/docker/infrakit/pkg/rpc/server"
import (
"io/ioutil"
"net/http"
"path"
"testing"
rpc_flavor "github.com/docker/infrakit/pkg/rpc/flavor"
rpc_instance "github.com/docker/infrakit/pkg/rpc/instance"
"github.com/docker/infrakit/pkg/spi/flavor"
"github.com/docker/infrakit/pkg/te... | {
"content_hash": "07dc312b47d0435e6fc9a2f5ef966870",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 107,
"avg_line_length": 24.016806722689076,
"alnum_prop": 0.6665500349895032,
"repo_name": "thebsdbox/infrakit",
"id": "95d3dbc9ec8c0508eb2f4a0f76426d2964e7c7a0",
"size": ... |
<!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 Mon Jul 20 03:32:03 AEST 2015 -->
<title>infodynamics.measures.mixed</title>
<meta name="date" content="2015-07-20">
<link rel="... | {
"content_hash": "27afdc35a56b5064d1787ddb4cce1957",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 228,
"avg_line_length": 63.92,
"alnum_prop": 0.7715894868585732,
"repo_name": "kamir/WikiExplorer.NG",
"id": "1c7f5ab10aa5228f54f423b0e2ab42c10c8b5c16",
"size": "1598",
"... |
import nls = require('vs/nls');
import { TPromise } from 'vs/base/common/winjs.base';
import { RunOnceScheduler } from 'vs/base/common/async';
import lifecycle = require('vs/base/common/lifecycle');
import env = require('vs/base/common/platform');
import uri from 'vs/base/common/uri';
import { IAction, Action } from ... | {
"content_hash": "cc5241eb6ba673d299eb30ba22ceb797",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 230,
"avg_line_length": 42.45982142857143,
"alnum_prop": 0.7565976238040164,
"repo_name": "bsmr-x-script/vscode",
"id": "3b4f88d8d4331b37cb72c0434e3a60ed6763b205",
"size":... |
package com.example.young.backup;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.os.Bundle;
import android.os.Environment;
import android.os.... | {
"content_hash": "7f8595e26ce9b0ff032fdc552ee97c25",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 102,
"avg_line_length": 32.055865921787706,
"alnum_prop": 0.5428720808644127,
"repo_name": "AntikYoung/Backup",
"id": "92ea5b970d5da97e4c10596e9496331069f18e9e",
"size": "... |
package com.techshroom.unplanned.test;
import static org.junit.Assert.*;
import java.util.function.Supplier;
import org.junit.Test;
import com.flowpowered.math.vector.Vector4f;
import com.flowpowered.math.vector.Vector4i;
import com.techshroom.unplanned.core.util.Color;
public class ColorTest {
@Test
pu... | {
"content_hash": "222e40e1ef1342b6e2b308a405f43a01",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 83,
"avg_line_length": 34.13907284768212,
"alnum_prop": 0.5885548011639186,
"repo_name": "TechShroom/UnplannedDescent",
"id": "0a2facf62c9c89ca745dc01abb1fcc4628db69db",
"... |
"""
Cohorte Web Admin Servlet
:authors: Bassem Debbabi
:copyright: Copyright 2014, isandlaTech
:license: Apache Software License 2.0
"""
# iPOPO decorators
from pelix.ipopo.decorators import ComponentFactory, Provides, Property, Instantiate, \
Validate, Invalidate, Requires, RequiresMap, Bind, BindField, Unbind... | {
"content_hash": "95196328c13b962d1d170114d9ff1533",
"timestamp": "",
"source": "github",
"line_count": 912,
"max_line_length": 124,
"avg_line_length": 38.07127192982456,
"alnum_prop": 0.44932461622649117,
"repo_name": "isandlaTech/cohorte-demos",
"id": "b233dd0ff69bbf086fbe6924014564e368b5c8e7",
"... |
#include <csignal>
#include <ctime>
#include <thread>
#include <osquery/core.h>
#include <osquery/database.h>
#include <osquery/flags.h>
#include <osquery/sql.h>
#include "osquery/core/json.h"
#include "osquery/core/process.h"
#include "osquery/tests/test_additional_util.h"
#include "osquery/tests/test_util.h"
na... | {
"content_hash": "357e6dbee4cba72e61a93f8ec5f242ef",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 79,
"avg_line_length": 28.563106796116504,
"alnum_prop": 0.6240652617267165,
"repo_name": "jedi22/osquery",
"id": "310284e920509e3425a65cf863aebf26bd5ee7ab",
"size": "3324... |
#include "pch.hpp"
#include "main_application.hpp"
#include "python27_interface_test.hpp"
#include "core_generic_plugin/interfaces/i_command_line_parser.hpp"
#include "core_generic_plugin/interfaces/i_component_context.hpp"
#include <cassert>
namespace wgt
{
MainApplication::MainApplication( IComponentContext & con... | {
"content_hash": "5606e49728b763515d633f292478e800",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 70,
"avg_line_length": 21,
"alnum_prop": 0.7361647361647362,
"repo_name": "dava/wgtf",
"id": "6aa1a6413c4baa8272a235ed2d341691d83a3847",
"size": "777",
"binary": false,
... |
import _plotly_utils.basevalidators
class SizeValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(self, plotly_name="size", parent_name="scatter.marker", **kwargs):
super(SizeValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
... | {
"content_hash": "0f968cef4dd171e6dc7b6aefaa059c79",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 83,
"avg_line_length": 38.13333333333333,
"alnum_prop": 0.5769230769230769,
"repo_name": "plotly/python-api",
"id": "60713a89cd124827c549c8bb482971d6b88ec7f3",
"size": "572... |
package com.example.fragments;
//check import support.v4
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v7.app.ActionBarActivity;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity exte... | {
"content_hash": "2a5c1d3d6dcf1149d1608cd6f7c20091",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 84,
"avg_line_length": 32.736111111111114,
"alnum_prop": 0.6945269410267289,
"repo_name": "nishtahir/Mektory-BeginnersAndroid",
"id": "784b69e3e34e57c8256aa27769eb0861128d7e7... |
var router = require('express').Router({mergeParams: true});
var app = module.exports = router;
app.callbacks = require('./controllers/index');
app.socket = require('./modules/tattler');
// routes
app.post('/rooms', app.callbacks.postRooms);
app.get('/emit', app.callbacks.getEmit);
app.post('/emit', app.callbacks.p... | {
"content_hash": "a8fe74e6c973f03b914aef299e80234e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 60,
"avg_line_length": 27.416666666666668,
"alnum_prop": 0.7082066869300911,
"repo_name": "grohman/tattler",
"id": "9cb6ef3e7df1f1e8bd99a25628c581684876a14a",
"size": "329"... |
<?php
$this->breadcrumbs = array(
Yii::app()->getModule('user')->getCategory() => array(),
Yii::t('UserModule.user', 'Users') => array('/user/userBackend/index'),
Yii::t('UserModule.user', 'Create'),
);
$this->pageTitle = Yii::t('UserModule.user', 'Users - create');
$this->menu... | {
"content_hash": "1ee0c16e29d1c232edcef9d84a1cd8c1",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 138,
"avg_line_length": 42.642857142857146,
"alnum_prop": 0.541038525963149,
"repo_name": "itrustam/yode",
"id": "f99d80a30ae24f64893fbe8978b71079715768de",
"size": "1194",... |
"""Support for HomematicIP Cloud binary sensor."""
import logging
from homematicip.aio.device import (
AsyncContactInterface,
AsyncDevice,
AsyncFullFlushContactInterface,
AsyncMotionDetectorIndoor,
AsyncMotionDetectorOutdoor,
AsyncMotionDetectorPushButton,
AsyncPresenceDetectorIndoor,
A... | {
"content_hash": "ce77da853166d70e0369dcb3fe17c125",
"timestamp": "",
"source": "github",
"line_count": 394,
"max_line_length": 88,
"avg_line_length": 34.15736040609137,
"alnum_prop": 0.6613909942041908,
"repo_name": "fbradyirl/home-assistant",
"id": "7bb7718f0b3584183bea726d763b49f08749de0d",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login</title>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"... | {
"content_hash": "86d960c1620d13e154c70e01ed16531e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 83,
"avg_line_length": 26.4,
"alnum_prop": 0.6041666666666666,
"repo_name": "cleggatt/gift-tracker",
"id": "80bcbc207247d59f621f55ad7626283c90d65dca",
"size": "528",
"bin... |
package repo
import (
"github.com/CapillarySoftware/gostat/stat"
log "github.com/cihub/seelog"
"github.com/gocql/gocql"
"time"
)
type StatRepo struct {
rawStats <-chan *stat.Stat // Stats to be persisted are read from this channel
shutdown <-chan bool // signals a graceful shutdown
}
// NewStatRepo const... | {
"content_hash": "6725d003ab50aa134f4dd8aa4df745d8",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 121,
"avg_line_length": 27.0234375,
"alnum_prop": 0.6808326105810928,
"repo_name": "CapillarySoftware/gostat",
"id": "ba4a3f30ea210f5ecef124ebc31b1e54adf22a4b",
"size": "3... |
#ifndef UTILDG_H_INC
#define UTILDG_H_INC
/*
*Give a number interval and returns a random number from that interval
*Parameter: int MIN, int MAX
*Return: INT
*/
int Randomizer(int min, int max);
/*
* Give a text to show, and returns the number the user entered. Only returns numbers, no text
* Parameter: char* to show... | {
"content_hash": "1a49eff7a58d8ddbf549acd59bd0231b",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 93,
"avg_line_length": 19.228571428571428,
"alnum_prop": 0.7176820208023774,
"repo_name": "dicamarques14/ProjectosProgramacao",
"id": "5013e3cebfab4d45a3bdd379c24ead7c26cc474... |
package com.dytech.edge.admin.script.ifmodel;
import com.dytech.edge.admin.script.model.Clause;
import com.dytech.edge.admin.script.model.Node;
public class Block extends Node {
protected Clause clause;
protected Node parent;
public Clause getClause() {
return clause;
}
public void setClause(Clause ... | {
"content_hash": "2497296109eac0a571dbbd6097427821",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 53,
"avg_line_length": 19.666666666666668,
"alnum_prop": 0.6305084745762712,
"repo_name": "equella/Equella",
"id": "d8ea248aad756d632509d3b6bd3c5271009b0284",
"size": "1688... |
<html>
<head>
<link rel="stylesheet" href="stylesheets/test.css">
</head>
<body>
<div class="b-text-center">Congratulations! Now this text has been aligned both horizontal center and vertical center running on cross browser!</div>
<div class="cs-border-radius" style="padding: 30px; background-color: r... | {
"content_hash": "9b81a5c4b9db4dce984fc2cc7f221df8",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 195,
"avg_line_length": 94.2,
"alnum_prop": 0.7289455060155697,
"repo_name": "phatly27/cross-style",
"id": "9f01cb803bd1eda9a35e3650d250a54bcb69eb26",
"size": "1413",
"bi... |
<?php
namespace WP_AMP_Themes\Admin;
use \WP_AMP_Themes\Includes\Options;
use \WP_AMP_Themes\Core\Themes_Config;
/**
* Admin_Ajax class for managing Ajax requests from the admin area of the plugin
*/
class Admin_Ajax {
/**
* Update theme settings.
*/
public function settings() {
if ( current_user_can( 'ma... | {
"content_hash": "05344fd899f41d48a8026c13bdd89c8f",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 126,
"avg_line_length": 25.343915343915345,
"alnum_prop": 0.6050104384133612,
"repo_name": "appticles/wp-amp-themes",
"id": "9a4b3f59492d99bd0f99d2eb11fe815f346fd0f0",
"si... |
import React from 'react';
import PropTypes from 'prop-types';
import watermark from 'watermark-dom';
import { seafileAPI } from '../../utils/seafile-api';
import { siteName } from '../../utils/constants';
import { Utils } from '../../utils/utils';
import toaster from '../toast';
import FileInfo from './file-info';
imp... | {
"content_hash": "32b8d676b425a5028e07d398756521f3",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 92,
"avg_line_length": 27.764705882352942,
"alnum_prop": 0.5962806026365348,
"repo_name": "miurahr/seahub",
"id": "7f0a61ecb1821b8ddd502580be6e958e7539b47e",
"size": "4248... |
package org.cloudfoundry.jvmkill;
import java.util.concurrent.CountDownLatch;
final class Spawner extends Thread {
private final CountDownLatch latch;
Spawner(CountDownLatch latch) {
this.latch = latch;
}
@Override
@SuppressWarnings("InfiniteLoopStatement")
public void run() {
... | {
"content_hash": "1ded3d65c69094b56dc0436cf0e80efa",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 49,
"avg_line_length": 19.61111111111111,
"alnum_prop": 0.5212464589235127,
"repo_name": "glyn/jvmkill",
"id": "fe74386770541668a4534da4b2c9b1fb21b980ea",
"size": "1326",
... |
package br.com.thiagomoreira.liferay.plugins.notfound.services.model;
import com.liferay.portal.model.PersistedModel;
/**
* The extended model interface for the NotFound service. Represents a row in the "TM_NF_NotFound" database table, with each column mapped to a property of this class.
*
* @author Thi... | {
"content_hash": "1baeb433cb1980bec9be5b47d8688ef1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 236,
"avg_line_length": 43.142857142857146,
"alnum_prop": 0.7748344370860927,
"repo_name": "tmoreira2020/liferay-thiagomoreira-plugins",
"id": "cbcc76ab1d422efa9c2b7cc2bf95bc... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yii message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | {
"content_hash": "59fc4b6cd339f5f2890ca2c6ad36adfb",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 76,
"avg_line_length": 35.04545454545455,
"alnum_prop": 0.7211413748378729,
"repo_name": "LeonidLyalin/vova",
"id": "423b20365c2828f4c42d46d3fc55d5747021770f",
"size": "815... |
@implementation Amplitude (Test)
@dynamic backgroundQueue;
@dynamic initializerQueue;
@dynamic eventsData;
@dynamic initialized;
@dynamic sessionId;
@dynamic lastEventTime;
- (void)flushQueue {
[self flushQueueWithQueue:[self backgroundQueue]];
}
- (void)flushQueueWithQueue:(NSOperationQueue*) queue {
[queue... | {
"content_hash": "e4f101892922a3f39f2a9b306ed550fb",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 81,
"avg_line_length": 24.931818181818183,
"alnum_prop": 0.6946216955332726,
"repo_name": "lopper/Amplitude-iOS",
"id": "b05d4240fa7bcc2b4df41177810bff38f28650bc",
"size": ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "815c886c25c97b674553c34eba4f067a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a4a48aef4004dac4feef2e85c740c2a8ce6ebdbd",
"size": "18... |
"""
Control Navigation Features
"""
import constants
from pixy import Pixy
class Navigation():
def __init__(self, arduino):
self.pixy = Pixy()
self.arduino = arduino
def stop(self):
self.arduino.set_motors(0, 0)
def forward(self):
self.arduino.set_motors(constants.FORWARD_SPEED_LEFT, constants... | {
"content_hash": "51a960a4c9358e47edb406ec348c7bdd",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 98,
"avg_line_length": 28.65432098765432,
"alnum_prop": 0.6331322705730289,
"repo_name": "zacharylawrence/ENEE408I-Team-9",
"id": "bfc850ea3fe6cbb1e8372d58292bc96fe8a04325",... |
<?php
namespace <%= project.namespace %>\<%= module.namespace %>\Controllers\View;
use \<%= project.namespace %>\<%= module.namespace %>\Library\Controllers\ModuleViewController;
/**
* Concrete implementation of <%= module.namespace %> module controller
*
* @RoutePrefix("/<%= module.slug %>/view")
*/
class <%= c... | {
"content_hash": "7dc03a47295fce9bd8532bd73ccff26f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 150,
"avg_line_length": 28.19047619047619,
"alnum_prop": 0.6317567567567568,
"repo_name": "michaelkrone/generator-phalcon",
"id": "ed33a27a7c4475b93037e8965fd2a106b105414b",
... |
package android.support.v4.view;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.database.DataSetObserver;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Build;
impor... | {
"content_hash": "c61fffe2d1f8cfe93ee8496817b0f23a",
"timestamp": "",
"source": "github",
"line_count": 3139,
"max_line_length": 108,
"avg_line_length": 39.37145587766805,
"alnum_prop": 0.5574858197059561,
"repo_name": "simplezhli/ChangeTabLayout",
"id": "2bb0eb6a1231c539475438ba0e9ed363160a7a81",
... |
BEGIN;
ALTER SEQUENCE signatureinfo_id_seq AS INT;
ALTER TABLE SignatureInfo
ALTER id TYPE INT,
ALTER signing_key TYPE VARCHAR(500),
ALTER signing_key_version TYPE VARCHAR(100),
ALTER signing_key_id TYPE VARCHAR(50);
DROP INDEX IF EXISTS signatureinfo_thru_timestamp;
END;
| {
"content_hash": "38cd1a5419dedaa5fc7e8755bc03dace",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 50,
"avg_line_length": 23.666666666666668,
"alnum_prop": 0.7711267605633803,
"repo_name": "google/exposure-notifications-server",
"id": "e62d7b02b1ea233fce49f49fc8f6d81733953... |
Originally published: 2012-04-27 02:10:55
Last updated: 2012-04-27 02:10:56
Author: James Coliins
A method for allocating costs 'fairly' amongst a group of friends who cooperate to their mutual advantage. | {
"content_hash": "79aab902df76200b3ff5a6048e387af3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 106,
"avg_line_length": 42.6,
"alnum_prop": 0.7652582159624414,
"repo_name": "ActiveState/code",
"id": "fafcee41ce01404b095bc4caa4ce9fe95a9109d4",
"size": "237",
"binary":... |
#include <linux/netdevice.h>
#include "igb.h"
/* This is the only thing that needs to be changed to adjust the
* maximum number of ports that the driver can manage.
*/
#define IGB_MAX_NIC 32
#define OPTION_UNSET -1
#define OPTION_DISABLED 0
#define OPTION_ENABLED 1
#define MAX_NUM_LIST_OPTS 15
/* All param... | {
"content_hash": "0f80d9645bc64b1a45ec8259177a8009",
"timestamp": "",
"source": "github",
"line_count": 822,
"max_line_length": 106,
"avg_line_length": 25.570559610705597,
"alnum_prop": 0.6101146581664209,
"repo_name": "ipdcode/containerdns",
"id": "c922ca2fc9dae4f3adffd33fe4d281a0a2d79e87",
"size"... |
package ca.uhn.fhir.rest.param;
import ca.uhn.fhir.i18n.Msg;
import ca.uhn.fhir.model.api.ICompositeDatatype;
import ca.uhn.fhir.model.api.IElement;
import ca.uhn.fhir.model.api.IQueryParameterType;
import ca.uhn.fhir.model.api.annotation.Child;
import ca.uhn.fhir.model.api.annotation.Description;
import ca.uhn.fhir... | {
"content_hash": "f35e496a12ae5702f410a9e0055aca4f",
"timestamp": "",
"source": "github",
"line_count": 298,
"max_line_length": 433,
"avg_line_length": 35.43288590604027,
"alnum_prop": 0.7126621839189318,
"repo_name": "aemay2/hapi-fhir",
"id": "c5f8c725e5ad9a123c24ca4f2902c50d962386f2",
"size": "11... |
@echo off
pushd %~dp0
"%VS120COMNTOOLS%..\IDE\mstest" /test:Microsoft.Protocols.TestSuites.MS_ASCMD.S16_Settings.MSASCMD_S16_TC02_Settings_DevicePassword_Status2 /testcontainer:..\..\MS-ASCMD\TestSuite\bin\Debug\MS-ASCMD_TestSuite.dll /runconfig:..\..\MS-ASCMD\MS-ASCMD.testsettings /unique
pause | {
"content_hash": "228b7ff1b2ea236b31580e878fd932d0",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 268,
"avg_line_length": 74,
"alnum_prop": 0.7871621621621622,
"repo_name": "XinwLi/Interop-TestSuites-1",
"id": "13be80a1d303082ef652762728c3ba9b9291d0ea",
"size": "296",
... |
<?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">
<parent>
<artifactId>geomesa-arrow_2.11</artifactId>
<g... | {
"content_hash": "ef2d91d4ea4b0d444b7db12ed79ea91c",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 204,
"avg_line_length": 34.52777777777778,
"alnum_prop": 0.5374094931617055,
"repo_name": "ddseapy/geomesa",
"id": "698265f9e27aefd4110594fb8cb3fbb2cc3e7464",
"size": "2486... |
A Wrapper for Box2D API inside Cocos2D-X V3, Use Box2D in Cocos2DX Easily
# Why You Need This?
As you know Cocos2DX uses chipmunk 7 as built-in physics engine, also they provide a nice API to simplify usage of chipmunk physics Engine
But What if you love Box2D, Just Like me :), This Wrapper Will Give you what you wan... | {
"content_hash": "a899b1f57370590c0116765750c4ca39",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 193,
"avg_line_length": 28.26277372262774,
"alnum_prop": 0.7425103305785123,
"repo_name": "xCodeSoul/XCBox2D",
"id": "1be984304cf59b776453ba0e274cbf8184488bfd",
"size": "3... |
dtPathQueue::dtPathQueue() :
m_nextHandle(1),
m_maxPathSize(0),
m_queueHead(0),
m_navquery(0)
{
for (int i = 0; i < MAX_QUEUE; ++i)
m_queue[i].path = 0;
}
dtPathQueue::~dtPathQueue()
{
purge();
}
void dtPathQueue::purge()
{
dtFreeNavMeshQuery(m_navquery);
m_navquery = 0;
for (int i = 0; i < MAX_QUEUE; ++i)... | {
"content_hash": "961b978aad4e59c28803821fa67c1cd1",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 106,
"avg_line_length": 21.068181818181817,
"alnum_prop": 0.6445523193096009,
"repo_name": "PopCap/GameIdea",
"id": "b499ba25485204be3e150b33eda00d39eb12b7ea",
"size": "49... |
@implementation PuntoAcopio
- (instancetype)initWithData:(NSDictionary *)data
{
self = [super init];
if (self) {
if (!data[@"id"]) {
return nil;
} else {
_uid = data[@"id"];
}
_latitude = data[@"latitud"] ? data [@"latitud"] : @(0);
... | {
"content_hash": "70ff404b96daa8f8c2aa562b95b2c0e4",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 76,
"avg_line_length": 35,
"alnum_prop": 0.5064935064935064,
"repo_name": "cegonya/EulaliaiOS",
"id": "a3d9dece48667a6d0c628dc014f59104018657f5",
"size": "1699",
"binary"... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
#if !PORTABLE
using System.Security.Cryptography;
#endif
using System.Text;
namespace Zirpl
{
public static class StringExtensions
{
public static String Substitute(this String originalText,... | {
"content_hash": "721bf6403a11eadd331d27f671d4f590",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 130,
"avg_line_length": 35.03781512605042,
"alnum_prop": 0.5278810408921933,
"repo_name": "zirplsoftware/ZAppEngine",
"id": "d6a6120d20b6a8d109c7c49e9cc068d08d9afc84",
"si... |
package datafusion
| {
"content_hash": "d726107ab666176ac032477885308359",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 18,
"avg_line_length": 19,
"alnum_prop": 0.8947368421052632,
"repo_name": "GoogleCloudPlatform/k8s-config-connector",
"id": "4e1f434147ad4bb81ac9adc3efc8c700e8fa465f",
"size... |
package org.springframework.security.oauth2.client.endpoint;
import org.springframework.core.convert.converter.Converter;
import org.springframework.http.RequestEntity;
import org.springframework.http.ResponseEntity;
import org.springframework.http.converter.FormHttpMessageConverter;
import org.springframework.http.c... | {
"content_hash": "709d301295d5cde5d68fcad2895a04f7",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 145,
"avg_line_length": 47.142857142857146,
"alnum_prop": 0.8037433155080214,
"repo_name": "eddumelendez/spring-security",
"id": "0efd37d8ebd43c7536a5aaa91d2d988a4237c415",
... |
package io.siddhi.core.executor.function;
import io.siddhi.annotation.Example;
import io.siddhi.annotation.Extension;
import io.siddhi.annotation.Parameter;
import io.siddhi.annotation.ReturnAttribute;
import io.siddhi.annotation.util.DataType;
import io.siddhi.core.config.SiddhiQueryContext;
import io.siddhi.core.ex... | {
"content_hash": "93283dc54efc22b04728950b2ec8d3bd",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 119,
"avg_line_length": 46.46188340807175,
"alnum_prop": 0.45893253546954926,
"repo_name": "ramindu90/siddhi",
"id": "a5198d7c139dab595a93dc5a8da3490d40d53e53",
"size": "1... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq: 13 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="sty... | {
"content_hash": "4d98a7b472b8d40100e50cd3eb81c6e6",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 159,
"avg_line_length": 43.81764705882353,
"alnum_prop": 0.5555108068197073,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "426175d9aea64d8fad78425387dfba5c26550cbb",
... |
package com.opengamma.core.id;
import static org.testng.Assert.assertEquals;
import java.util.Arrays;
import java.util.List;
import org.testng.annotations.Test;
import com.opengamma.id.ExternalId;
import com.opengamma.id.ExternalIdBundle;
import com.opengamma.util.test.TestGroup;
/**
* Tests the {@link ExternalI... | {
"content_hash": "9fdc8c4e0ee8922b770dd94d1e532e9b",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 151,
"avg_line_length": 37.70666666666666,
"alnum_prop": 0.7146393210749646,
"repo_name": "McLeodMoores/starling",
"id": "863152d31610e99317b35c39f5a87cac703b6568",
"size":... |
package com.wwq.genesisfreelander.view.fragment.home;
import com.wwq.genesisfreelander.view.base.BaseOrderFragment;
import cn.bingoogolapple.refreshlayout.BGARefreshLayout;
/**
* 进行中
* Created by wwq on 2017/6/7.
*/
public class OngoingFragment extends BaseOrderFragment {
@Override
public void onBGARefre... | {
"content_hash": "b7ac8a63402b598272816e32be8cf99e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 87,
"avg_line_length": 21.85185185185185,
"alnum_prop": 0.7389830508474576,
"repo_name": "weiwenqiang/GenesisFreelander",
"id": "0e5d02836631a84cbf1602775cb3c2adad5dbfe2",
... |
@interface ChimeIndex : NSObject
@property (nonatomic, readonly) NSArray *symbols;
// Designated initializer is init.
@end
| {
"content_hash": "3a213799885a64140cdd35fd8243a582",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 18,
"alnum_prop": 0.7619047619047619,
"repo_name": "johndpope/Chime",
"id": "a6b508cd55a4d38fcdfbcd42569212c288ad1fdd",
"size": "363",
"binary": fal... |
import Symbol from 'core-js-pure/full/symbol';
QUnit.test('Symbol.dispose', assert => {
assert.true('dispose' in Symbol, 'Symbol.dispose available');
assert.true(Object(Symbol.dispose) instanceof Symbol, 'Symbol.dispose is symbol');
});
| {
"content_hash": "ab59787a954b4c1abe52435177154bc7",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 84,
"avg_line_length": 40.333333333333336,
"alnum_prop": 0.731404958677686,
"repo_name": "zloirock/core-js",
"id": "12cb13730c0522fe541dcc765f23be792737cf8b",
"size": "242",... |
require 'omniauth-oauth2'
module OmniAuth
module Strategies
class Oauth51 < OmniAuth::Strategies::OAuth2
option :name, :oauth51
option :client_options, {
site: 'https://www.oauth51.com',
authorize_url: '/oauth/authorize'
}
uid { raw_info['id'] }
def authorize_para... | {
"content_hash": "5c163508da0ce9c2368d32b772dc8304",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 70,
"avg_line_length": 20.485714285714284,
"alnum_prop": 0.5397489539748954,
"repo_name": "coders51/omniauth-oauth51",
"id": "c113c60a014da7f3d27d7a09cea6b6d3f44edb24",
"si... |
var Hoek = require('hoek');
exports.register = function (server, options, next) {
options = Hoek.applyToDefaults({ basePath: '' }, options);
server.route({
method: 'DELETE',
path: options.basePath + '/logout',
config: {
auth: {
mode: 'try',
strategy: 'session'
},
p... | {
"content_hash": "2a2bbea2941d3648383d61eb38c75c3f",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 72,
"avg_line_length": 20.173076923076923,
"alnum_prop": 0.5386081982840801,
"repo_name": "williamle8300/aqua",
"id": "dd8d5f97cce6e81e0e3a6b0a36ee38b556023c4b",
"size": "1... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Placodium circinatum f. ocellata Bagl. & Carestia
### Remarks
null | {
"content_hash": "134c04419bb6dd7b0a6600e2a9cb7795",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 49,
"avg_line_length": 11.846153846153847,
"alnum_prop": 0.7142857142857143,
"repo_name": "mdoering/backbone",
"id": "b34526a0a4b16522ea65cc710bdd770a069119e0",
"size": "23... |
package com.frostwire.jlibtorrent.alerts;
import com.frostwire.jlibtorrent.swig.dht_bootstrap_alert;
/**
* This alert is posted when the initial DHT bootstrap is done.
*
* @author gubatron
* @author aldenml
*/
public final class DhtBootstrapAlert extends AbstractAlert<dht_bootstrap_alert> {
public DhtBootst... | {
"content_hash": "aeceea3d0ef0a3dd32e9fba52e501472",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 81,
"avg_line_length": 24.25,
"alnum_prop": 0.7396907216494846,
"repo_name": "tchoulihan/frostwire-jlibtorrent",
"id": "2b227dbbb390faf8bc06541d63d6ee9a6ddf2bac",
"size": "... |
static const char UNUSED *bitcoin_strings[] = {
QT_TRANSLATE_NOOP("bitcoin-core", ""
"%s, you must set a rpcpassword in the configuration file:\n"
" %s\n"
"It is recommended you use the following random password:\n"
"rpcuser=novacoinrpc\n"
"rpcpassword=%s\n"
"(you do not need to remember this password)\n"
"If the file ... | {
"content_hash": "3d02cb22937362c408eeb5520ede77d1",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 119,
"avg_line_length": 69.10169491525424,
"alnum_prop": 0.7398413866405036,
"repo_name": "elambert2014/novacoin",
"id": "9b44e9ace67ef7b29ba079a553f8a752c20cdd8c",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.