text stringlengths 2 1.04M | meta dict |
|---|---|
class DeviseCreateUsers < ActiveRecord::Migration
def change
create_table(:users) do |t|
## Database authenticatable
t.string :email, :null => false, :default => ""
t.string :encrypted_password, :null => false, :default => ""
## Role
t.integer :roles_mask
## Reco... | {
"content_hash": "da91aa35ac5215e67ec85dbe5ba7d252",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 94,
"avg_line_length": 31.122448979591837,
"alnum_prop": 0.6078688524590163,
"repo_name": "paulocesar/template-rails",
"id": "a657b066f9b7ceeb9d73006191e20026bb767b9a",
"si... |
package com.hearthproject.oneclient.fx.contentpane.base;
import com.hearthproject.oneclient.Main;
import javafx.scene.layout.VBox;
public enum ButtonDisplay {
TOP(Main.mainController.topButtonBox), ABOVE_DIVIDER(Main.mainController.aboveDividerButtonBox), BELOW_DIVIDER(Main.mainController.belowDividerButtonBox), NON... | {
"content_hash": "166233a6e46d30365f50f826ab2a1b10",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 167,
"avg_line_length": 26.11111111111111,
"alnum_prop": 0.7978723404255319,
"repo_name": "HearthProject/OneClient",
"id": "e06328cf9c63a1775cbd3c7cca543e1defa0109a",
"size... |
Mac
===
```bash
$ qlmanage -p <image>
```
```bash
$ screencapture -c <image>
$ screencapture -i <image>
# Capture the contents of the screen, including the cursor, and attach the resulting image to a new Mail message
$ screencapture -C -M <image>.png
# Select a window using your mouse, then capture its contents witho... | {
"content_hash": "af623cda662b0a867861619ec7a4e823",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 130,
"avg_line_length": 28.954545454545453,
"alnum_prop": 0.7346938775510204,
"repo_name": "knakayama/my-fuc",
"id": "d323ae2a2494d69684e7487537650cc96ef8c9b8",
"size": "19... |
#ifndef _LINUX_HASH_H
#define _LINUX_HASH_H
/* Fast hashing routine for ints, longs and pointers.
(C) 2002 William Lee Irwin III, IBM */
/*
* Knuth recommends primes in approximately golden ratio to the maximum
* integer representable by a machine word for multiplicative hashing.
* Chuck Lever verified the effe... | {
"content_hash": "1b3ace3278493116ba6a1f282a7d8b14",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 75,
"avg_line_length": 27.314285714285713,
"alnum_prop": 0.6778242677824268,
"repo_name": "taviso/ctypes.sh",
"id": "00cfd41117d852f3eab93eb0bd8cfc2a27412bf1",
"size": "191... |
package org.jimmutable.cloud.cache;
import org.jimmutable.core.exceptions.ValidationException;
import org.jimmutable.core.objects.Stringable;
import org.jimmutable.core.utils.Validator;
/**
*
* Stringable, the format is path://name
*
* Cache path(s) are / separated elements. Elements are normalized to lower cas... | {
"content_hash": "72dc4fcc79399ede1bb2d9073c461d38",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 111,
"avg_line_length": 27.78021978021978,
"alnum_prop": 0.7037183544303798,
"repo_name": "jimmutable/core",
"id": "c0d9ef6ab4d6db3df3c2ce72a50f879c6100b6bb",
"size": "2528... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>angles: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "ad608d1b7d24728184ebb1ec3bf2a66d",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 212,
"avg_line_length": 43.16959064327485,
"alnum_prop": 0.5582497968030344,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "9b2f794c5b47b1fc0884c2b1ce610f052cc004b4",
... |
package samples
//go:generate go-bindata -o samples.go -pkg samples source
| {
"content_hash": "01a8541e9164bf779a903f1e6fd2d449",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 58,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.7763157894736842,
"repo_name": "wy-z/tspec",
"id": "926644f5a9762925aa77626507696c1ec8e5ee81",
"size": "76",
"bi... |
using System.Web.Mvc;
using System.Web.Routing;
using Nop.Web.Framework.Mvc.Routes;
namespace Nop.Plugin.Payments.Simplify
{
public partial class RouteProvider : IRouteProvider
{
public void RegisterRoutes(RouteCollection routes)
{
//HostedPaymentRedirect - redirect to hosted payme... | {
"content_hash": "26461595155fb2b596adc248958aa1f2",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 86,
"avg_line_length": 34.44117647058823,
"alnum_prop": 0.5952177625960717,
"repo_name": "simplifycom/simplify-nopcommerce-module",
"id": "3f4cc659633eeed512ea8a3505ea8af0ae2... |
use super::RuntimeContext;
use crate::{
beam::disp_result::DispatchResult,
defs::Arity,
emulator::{process::Process, vm::VM},
fail::{self, RtResult},
term::{boxed, *},
};
fn module() -> &'static str {
"runtime_ctx.call_closure: "
}
/// The `closure` is a callable closure with some frozen variables made wi... | {
"content_hash": "80677f97bd8f1dd6acffec107c499642",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 89,
"avg_line_length": 27.208955223880597,
"alnum_prop": 0.6330224904004388,
"repo_name": "kvakvs/ErlangRT",
"id": "c3cfdacf526b23e09279103c501896ce0adea079",
"size": "1823... |
<HTML>
<HEAD>
<TITLE>
EMBOSS: textget
</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" text="#000000">
<table align=center border=0 cellspacing=0 cellpadding=0>
<tr><td valign=top>
<A HREF="/" ONMOUSEOVER="self.status='Go to the EMBOSS home page';return true"><img border=0 src="/images/emboss_icon.jpg" alt="" width=150 ... | {
"content_hash": "5133ae41b804aa31a37a47649c4c46a4",
"timestamp": "",
"source": "github",
"line_count": 719,
"max_line_length": 203,
"avg_line_length": 19.478442280945757,
"alnum_prop": 0.6666190646197786,
"repo_name": "lauringlab/CodonShuffle",
"id": "aa7f580b86c852171cee529151b2d324ae002a84",
"si... |
import unittest, random, sys, time
sys.path.extend(['.','..','py'])
import h2o, h2o_cmd, h2o_hosts, h2o_browse as h2b, h2o_import as h2i, h2o_gbm, h2o_jobs as h2j, h2o_import
DO_PLOT = True
print "This will also test set_column_names into GBM, with changing col names per test"
def write_syn_dataset(csvPathname, rowC... | {
"content_hash": "5bdde0316cb097a31abbc76ccceaf459",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 106,
"avg_line_length": 39.27918781725889,
"alnum_prop": 0.5067200827087103,
"repo_name": "woobe/h2o",
"id": "67fbad3e1543d7063d6f276d1536a23c57580ca6",
"size": "7738",
... |
"""
Test cases for L{twisted.words.protocols.msn}.
"""
# System imports
import StringIO
# Twisted imports
# t.w.p.msn requires an HTTP client
try:
# So try to get one - do it directly instead of catching an ImportError
# from t.w.p.msn so that other problems which cause that module to fail
# to import do... | {
"content_hash": "93380ac16f0ea28b243da8cd00bc7fab",
"timestamp": "",
"source": "github",
"line_count": 519,
"max_line_length": 134,
"avg_line_length": 40.554913294797686,
"alnum_prop": 0.6266628658304827,
"repo_name": "Varriount/Colliberation",
"id": "ece580fedd45ec48ca18bb7729c75cbdaf823164",
"si... |
#import <UIKit/UIKit.h>
#import <QuickLook/QuickLook.h>
#import "DirectoryWatcher.h"
@interface DITableViewController : UITableViewController <QLPreviewControllerDataSource,
QLPreviewControllerDelegate,
... | {
"content_hash": "c29ad72136f20d860518e7112f23604d",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 98,
"avg_line_length": 37.75,
"alnum_prop": 0.5253863134657837,
"repo_name": "jcamiel/radars",
"id": "83860696de18932ca2b9f03e6b52ef64ee56731f",
"size": "2946",
"binary":... |
package alt.beanmapper.compile.primitive;
/**
*
* @author Albert Shift
*
*/
public class PrimitiveSource {
private boolean booleanValue;
private byte byteValue;
private char charValue;
private short shortValue;
private int intValue;
private long longValue;
private float floatValue;
private double double... | {
"content_hash": "10f70d664c34c17e4694f2d07ddf772d",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 52,
"avg_line_length": 17.05952380952381,
"alnum_prop": 0.732728541521284,
"repo_name": "albertshift/beanmapper",
"id": "4b54ac7bb74b30c3f56a354b9c2be215bd7ededd",
"size": ... |
FROM balenalib/aarch64-alpine:edge-run
ENV NODE_VERSION 15.14.0
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 \
6A010C5166006599AA17F08146C2130DFD2497F... | {
"content_hash": "67d797793167bfc4f443a16de63f8822",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 697,
"avg_line_length": 62.520833333333336,
"alnum_prop": 0.7074308563812063,
"repo_name": "nghiant2710/base-images",
"id": "58b25c3b2c29c5d04b3c441dd88149811b5674f0",
"siz... |
#ifndef NACL_TRUSTED_BUT_NOT_TCB
#error("This file is not meant for use in the TCB")
#endif
/*
* cpu_x86_test.c
* test main and subroutines for cpu_x86
*/
#include "native_client/src/include/build_config.h"
#include "native_client/src/include/portability.h"
#include <stdio.h>
#include "native_client/src/trusted/c... | {
"content_hash": "e260df5c8e78e9fc2a60833d92e72cff",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 29.975609756097562,
"alnum_prop": 0.6908055329536208,
"repo_name": "cohortfsllc/cohort-cocl2-sandbox",
"id": "61bac8ca34e5d9a86a21e21445dc662a3eeda5d2"... |
#pragma once
#include "IPv6Map.h"
#include "Global.h"
#include <stdint.h>
#include "CPH_Threads.h"
#include <stdbool.h>
#include <openssl/ossl_typ.h>
#include "DNS.h"
#define PROXY_IDENTIFIER_LEN 32
typedef enum _PROXY_TYPE {
PROXY_TYPE_HTTP = 1,
PROXY_TYPE_HTTPS = 2,
PROXY_TYPE_SOCKS4 = 4,
PROXY_TYPE_SOCKS4A = ... | {
"content_hash": "9b22598f016e887fe2edbf83321cae0f",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 146,
"avg_line_length": 27.284153005464482,
"alnum_prop": 0.7292209092729822,
"repo_name": "TETYYS/LiveProxies",
"id": "77ae0a6b7e6286a4bc62acacd2b7c4bf8a740846",
"size": ... |
package com.nulabinc.backlog4j.internal.json.activities;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.comm... | {
"content_hash": "96d9cd469fbcbba7f68432e9cae11649",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 65,
"avg_line_length": 26.41269841269841,
"alnum_prop": 0.6105769230769231,
"repo_name": "nulab/backlog4j",
"id": "8bf0dc2db387a1262240961175aa4dd89716dee7",
"size": "1664"... |
package edu.uw.apl.tupelo.fuse;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
import java.util.ArrayList;
import java.util.List;
import java.util.HashMap;
import java.util.Map;
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;... | {
"content_hash": "a3f032ed28453df58d0e8dae515a057b",
"timestamp": "",
"source": "github",
"line_count": 471,
"max_line_length": 78,
"avg_line_length": 29.912951167728238,
"alnum_prop": 0.6610121371282561,
"repo_name": "uw-dims/tupelo",
"id": "7031dc48c7144b7709309ffb2e45abf2d4b0b4d3",
"size": "1572... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Management.Automation;
using System.Management.Automation.Provider;
using System.Text;
namespace ProviderFramework_1_TheNullProvider
{
/// <summary>
/// The provider class.
///... | {
"content_hash": "76f99e74d62caf74eb5ccb61c90f7a83",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 105,
"avg_line_length": 33.4,
"alnum_prop": 0.5755988023952096,
"repo_name": "SpotLabsNET/p2f",
"id": "3df71dd2e4fb7f58da549746faa774f37e05e5bf",
"size": "1338",
"binary"... |
from django.core.management.base import BaseCommand
from django.core.urlresolvers import reverse
from rest_framework.test import APIClient
class Command(BaseCommand):
args = 'no arguments'
help = 'Display YAML for airports.'
def handle(self, *args, **options):
client = APIClient()
respons... | {
"content_hash": "088349b1cb9a8e35852055ffd77c946c",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 64,
"avg_line_length": 33.42857142857143,
"alnum_prop": 0.655982905982906,
"repo_name": "wking/swc-amy",
"id": "3d24a27c36311203c0fb64e331ba8f94107b64b5",
"size": "468",
... |
<!DOCTYPE html>
<html>
<head>
<title>Blog | Arrays and Hashes</title>
<meta charset="UTF-8">
<meta name="description" content="Arrays and Hashes">
<link rel="stylesheet" type="text/css" href="../stylesheets/default.css">
<link rel="stylesheet" type="text/css" href="../stylesheets/blog.css">
<meta name="auth... | {
"content_hash": "be91f480cce72cb09598364648bad28d",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 328,
"avg_line_length": 68.32394366197182,
"alnum_prop": 0.6538857967429396,
"repo_name": "ifricker/ifricker.github.io",
"id": "8b9617c48d104bd9febef408e58a4b1f2cf6add1",
"... |
require 'spec_helper'
module MockModuleToInclude
def self.included(dsl)
end
end
describe ActiveAdmin::DSL do
let(:config){ mock }
let(:application) { ActiveAdmin::Application.new }
let(:namespace) { ActiveAdmin::Namespace.new application, :admin }
let(:resource_config) { ActiveAdmin::Resource.new namesp... | {
"content_hash": "c0aaf980325dabbe2033025f7e299472",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 80,
"avg_line_length": 23.262295081967213,
"alnum_prop": 0.6758280479210712,
"repo_name": "piousbox/microsites2-cities",
"id": "2b048bf8a2b58aa47002e3a4ca78345e4b5b78c4",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Sun Jun 06 00:15:53 JST 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
インタフェース org.apache.mina.handler.c... | {
"content_hash": "2aef64f691f99fb9b1b2a7bba157999f",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 362,
"avg_line_length": 53.60424028268551,
"alnum_prop": 0.6484508899143046,
"repo_name": "sardine/mina-ja",
"id": "14686ca70950296b01ea5153ee4f5b7e929a2aba",
"size": "160... |
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="../stylesheets/blog-stylesheet.css">
<title>Integrity and Openness</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createEle... | {
"content_hash": "d361b4d084b0d90ae7f99f3957a17b25",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 470,
"avg_line_length": 54.21686746987952,
"alnum_prop": 0.6513333333333333,
"repo_name": "stefanosc/stefanosc.github.io",
"id": "27a04cef4e7b960eb569ff4609237f466848f069",
... |
[](https://waffle.io/guaka/radio-meteor)
radio-meteor
============
**Radio Meteor** is an Internet Radio player based on HTML5 and
[Meteor](http://meteor.com). Currently there are only [ad-free](http://moneyless.org/tags/adve... | {
"content_hash": "7c4810f3d6c8d6360081f0cf58098448",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 131,
"avg_line_length": 39.303030303030305,
"alnum_prop": 0.7370855821125675,
"repo_name": "simison/radio-meteor",
"id": "6590e11a400d6bed0f37bad8ba300d25bb1e34a2",
"size":... |
#ifndef _CK_SPINLOCK_HCLH_H
#define _CK_SPINLOCK_HCLH_H
#include <ck_cc.h>
#include <ck_pr.h>
#include <stdbool.h>
#include <stddef.h>
#ifndef CK_F_SPINLOCK_HCLH
#define CK_F_SPINLOCK_HCLH
struct ck_spinlock_hclh {
unsigned int wait;
unsigned int splice;
int cluster_id;
struct ck_spinlock_hclh *previous;
};
typ... | {
"content_hash": "03dc5c6a6feb39f7d3e646c2e80b37de",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 80,
"avg_line_length": 27.183333333333334,
"alnum_prop": 0.700797057020233,
"repo_name": "GregBowyer/softheap",
"id": "edaeacaa3c1925d56645a69515aefe1e36d3a6b5",
"size": "... |
require "active_record/attribute_methods"
module ActiveRecord
module ConnectionAdapters
module SQLServer
module CoreExt
module AttributeMethods
private
def attributes_for_update(attribute_names)
return super unless self.class.connection.adapter_name == "SQLServer"
... | {
"content_hash": "26a0ea2829ef7dbcb3ddbe2c1f22daeb",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 81,
"avg_line_length": 26.384615384615383,
"alnum_prop": 0.6501457725947521,
"repo_name": "rails-sqlserver/activerecord-sqlserver-adapter",
"id": "af0e6a4e70b315f65e5c4677d33... |
package com.vatril.fluffy.bot.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@Retention(RetentionPolicy.RUNTIME)
public @interface SelfAction {
public int value() default 0;
} | {
"content_hash": "4f0acc7b65d25fe9dcb0941e064701df",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 44,
"avg_line_length": 22.8,
"alnum_prop": 0.8114035087719298,
"repo_name": "Vatril/FluffyBot2.0",
"id": "97c6db07b98de9051176a018a6643fe918b90a52",
"size": "228",
"binar... |
#ifndef FEBlend_h
#define FEBlend_h
#include "platform/graphics/filters/FilterEffect.h"
#include "public/platform/WebBlendMode.h"
namespace blink {
class PLATFORM_EXPORT FEBlend final : public FilterEffect {
public:
static FEBlend* create(Filter*, WebBlendMode);
WebBlendMode blendMode() const;
bool se... | {
"content_hash": "7ef5305a170990acc3b566a40cddf358",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 82,
"avg_line_length": 21.066666666666666,
"alnum_prop": 0.7563291139240507,
"repo_name": "was4444/chromium.src",
"id": "0ac88ab8d245a0a78cb6318131d495c360b9bcf8",
"size": ... |
package org.team2168.utils;
import edu.wpi.first.wpilibj.Timer;
/**
* Compensates for "jumps" in analog signals sources.
*
* Original source from:
* https://github.com/Team254/FRC-2013/blob/master/src/com/team254/lib/util/Debouncer.java
*
* Modified to add comments and to auto-reset if update hasn't been call... | {
"content_hash": "9a64eb5027085540663c30b6a759cb13",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 90,
"avg_line_length": 23.140625,
"alnum_prop": 0.6617150573936529,
"repo_name": "Team2168/FRC2014_Main_Robot",
"id": "d5bf1afa038ccfb020004f40c2068d48035d2809",
"size": "1... |
CREATE TABLE person (
id INTEGER PRIMARY KEY,
first_name TEXT,
last_name Text,
age INTEGER
);
| {
"content_hash": "78c1838b658186edc10dd515ee8502a3",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 35,
"avg_line_length": 21,
"alnum_prop": 0.5634920634920635,
"repo_name": "nfiles/Learn_SQL_The_Hard_Way",
"id": "c619a03700f6fc261818a9100a076b3cd3f1d899",
"size": "210",
... |
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
<persistence-unit name="MicPersistenceUnit">
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<class>com.fpt.mic.micweb.model.entity.AccidentEntity</class>
<c... | {
"content_hash": "8a2b3b90a0afa63616867d4d99538768",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 138,
"avg_line_length": 63.63636363636363,
"alnum_prop": 0.6933333333333334,
"repo_name": "trungdq88/insurance-card",
"id": "70624ef9b123b0a68df9f1a59ae8dd75aa12f7c1",
"siz... |
require 'test_helper'
class LinksControllerTest < ActionController::TestCase
test "should get index" do
get :index
assert_response :success
assert_not_nil assigns(:links)
end
test "should get new" do
get :new
assert_response :success
end
test "should create link" do
assert_differenc... | {
"content_hash": "be20a2efe946b3a173bed6e7ba9a35d2",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 54,
"avg_line_length": 21.444444444444443,
"alnum_prop": 0.6621761658031088,
"repo_name": "YaleSTC/shifts",
"id": "6e303df81ba6918180b75385a353509ffb69a44d",
"size": "965",... |
package com.hazelcast.topic.impl.reliable;
import com.hazelcast.config.Config;
import com.hazelcast.config.ReliableTopicConfig;
import com.hazelcast.config.RingbufferConfig;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.test.HazelcastParallelClassRunner;
import com.hazelcast.test.annotation.Paral... | {
"content_hash": "9435b34b18521b918145a9f5dc6405a0",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 104,
"avg_line_length": 44.02040816326531,
"alnum_prop": 0.770978210477515,
"repo_name": "mesutcelik/hazelcast",
"id": "a01e036461c8190e5a8717e7cd5d127084587614",
"size": "... |
#include "config.h"
#include "bindings/core/v8/ArrayValue.h"
#include "bindings/core/v8/DictionaryHelperForBindings.h"
#include "bindings/core/v8/ExceptionMessages.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/V8ArrayBufferView.h"
#include "bindings/core/v8/V8Binding.h"
#include "binding... | {
"content_hash": "d8b4f67857627b9266a3a33f3a9f904d",
"timestamp": "",
"source": "github",
"line_count": 388,
"max_line_length": 175,
"avg_line_length": 33.04381443298969,
"alnum_prop": 0.7032992746275641,
"repo_name": "Bysmyyr/chromium-crosswalk",
"id": "455f60404129a0b458370941758663ef9fb5e312",
"... |
import pLimit from 'p-limit';
import _ from 'lodash';
import { DepGraph } from 'dependency-graph';
import { promisify } from 'util';
import strings from '../../resources';
import { Plugin } from '../../types';
function validatePlugins(plugins: unknown[]): asserts plugins is Plugin[] {
for (let idx = 0; idx < plugin... | {
"content_hash": "7f35f1003f2b2ff5822be4d02de7cebe",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 75,
"avg_line_length": 25.338582677165356,
"alnum_prop": 0.6252330640149161,
"repo_name": "opentable/oc",
"id": "029ca02acf1bd1e02a68c2835323beacc392138f",
"size": "3218",... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e83cb14b54ebfddc99722ad46dd68662",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "b30406f4931ea033dbdb54dd0c2e3917f8b0c0c8",
"size": "187... |
package org.apache.struts2.util;
import com.opensymphony.xwork2.Action;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import java.util.*;
/**
* A bean that takes a source and comparator then attempt to sort the source
* utilizing the comparator. It is being used in SortIter... | {
"content_hash": "1e77c1fe3b115be4aa57cfbcce4370e5",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 98,
"avg_line_length": 27.223529411764705,
"alnum_prop": 0.5345721694036301,
"repo_name": "Ile2/struts2-showcase-demo",
"id": "b5850ff2989df30f3fc13560a4d41e74f1e637cf",
"s... |
namespace webkit_media {
class StreamTextureProxyFactory {
public:
virtual ~StreamTextureProxyFactory() { }
static StreamTextureProxyFactory* Create(int view_id, int player_id);
virtual WebKit::WebStreamTextureProxy* CreateProxy(
int stream_id, int width, int height) = 0;
virtual void ReestablishPeer... | {
"content_hash": "194c30034a2d87868a941cf966fe13e6",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 71,
"avg_line_length": 24.15,
"alnum_prop": 0.7453416149068323,
"repo_name": "paul99/clank",
"id": "b04739939c8bab4a96a9358dcfcb301ffb130e1e",
"size": "857",
"binary": fa... |
require 'spec_helper'
describe ProxyList do
it 'has a version number' do
expect(ProxyList::VERSION).not_to be nil
end
it 'get proxy list' do
puts ProxyList.get_lists
expect(ProxyList.get_lists.count).to be > 0
puts ProxyList.get_lists('GB')
expect(ProxyList.get_lists.count).to be > 0
put... | {
"content_hash": "d5a51f2309fe55f7d0f5928ebacbd6f4",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 48,
"avg_line_length": 32.642857142857146,
"alnum_prop": 0.6739606126914661,
"repo_name": "tatsu07/proxy_list",
"id": "9f698f01f268466b5d770a8f371a88d806e971e5",
"size": "9... |
<?php
namespace App\Controllers;
use Silex\Application;
use Silex\Api\ControllerProviderInterface;
use Silex\ControllerCollection;
class IndexController implements ControllerProviderInterface {
public function connect(Application $app) {
$index = $app['controllers_factory'];
$index->get('/', function() use ($... | {
"content_hash": "7115add636ca966d6b09b713f72088d6",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 62,
"avg_line_length": 20.517241379310345,
"alnum_prop": 0.6588235294117647,
"repo_name": "msfidelis/TDD-Multi-Ambiente-Docker",
"id": "a4810569a334804595bcc9ce4f09d90589bbce... |
<?php
namespace App\Utils;
/**
* Utility :
*
* @category Awesomeness
* @package Utility
* @author euonymus
* @license euonymus
* @version 1.0.0
*/
use Cake\Cache\Cache;
use Cake\Cache\Engine\FileEngine;
use Cake\Log\Log;
class U
{
public function __construct(array $token = array(), array $consumer = a... | {
"content_hash": "d84925a7aa1268e014e07ac13d7e4d2c",
"timestamp": "",
"source": "github",
"line_count": 882,
"max_line_length": 219,
"avg_line_length": 34.012471655328795,
"alnum_prop": 0.5740191339711324,
"repo_name": "euonymus/belongsto",
"id": "b4216bb2ac43e387b64ce94dfaa44d88d2d5edf7",
"size": ... |
<assembly>
<id>cli</id>
<formats>
<format>tar.gz</format>
<!--
<format>zip</format>
-->
<format>dir</format>
</formats>
<fileSets>
<fileSet>
<directory>target/appassembler/bin</directory>
<outputDirectory>bin</outputDirectory>
<includes>
<include>*.bat</include>
<... | {
"content_hash": "dab8ba173f2a17fd1ce3efa8e9d41656",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 52,
"avg_line_length": 24.558139534883722,
"alnum_prop": 0.6107954545454546,
"repo_name": "cygri/vocidex",
"id": "939f86674ccc172c487a7fa251652d416ff9b476",
"size": "1056",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2fd193187ad2cf2414d039c2554d9873",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "479ca7855227f15f2132b81851c9d123c6d77bdd",
"size": "178... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_60-ea) on Mon Oct 03 10:36:49 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly... | {
"content_hash": "050a17104412922f692fc4e81ff0c07f",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 565,
"avg_line_length": 56.67171717171717,
"alnum_prop": 0.6785491489172089,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "a9dd40913f2f5efcd2bc51d43fcd119a8ed5... |
package org.raistlic.common.taskqueue;
import org.raistlic.common.precondition.InvalidContextException;
import org.raistlic.common.precondition.InvalidParameterException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
/**
* This interface defines the API of a single thread run... | {
"content_hash": "7e7d686728eb83e37a9c15efa2dac0a6",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 135,
"avg_line_length": 46.693333333333335,
"alnum_prop": 0.655197030268418,
"repo_name": "raistlic/raistlic-lib-commons-core",
"id": "58ef021ecc46132c18fa4b36ede57e67edd8c7... |
<!DOCTYPE html>
<html class="reftest-wait">
<title>WebVTT rendering, set align start and the cue contains two lines with different writing directions</title>
<link rel="match" href="start_alignment-ref.html">
<style>
html { overflow:hidden }
body { margin:0 }
::cue {
font-family: sans-serif;
color: green;
}
</s... | {
"content_hash": "3e8795b00c73e278defd521a207363ba",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 113,
"avg_line_length": 35,
"alnum_prop": 0.6962406015037594,
"repo_name": "nwjs/chromium.src",
"id": "2b6cd76c20109c39c2a5ed06540a92c782f639b1",
"size": "665",
"binary":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a1e3d61ddefa22ec4d2a84af2b69d72c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "ff3f11cc1918b205d73dabeecae9b2970b4a73f0",
"size": "178... |
monitor Windows(32 bit or 64 bit) services by heartbeat.
restart service when heartbeat stopped or configuration changed.
status:
- OK (heartbeat is OK)
- not OK
- app heartbeat timeout
- no response (PC power off) / supervisor heartbeat timeout | {
"content_hash": "8d51ec30105d0159a1adf0e63e2c696d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 25.1,
"alnum_prop": 0.7649402390438247,
"repo_name": "mabotech/mabo_sup",
"id": "51fe1f5095d0c1502640af22b5e94f8b32b5558a",
"size": "267",
"binary"... |
#region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the a... | {
"content_hash": "00d7963ddf41bfa1b942a397951cee33",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 150,
"avg_line_length": 28.258666666666667,
"alnum_prop": 0.6871756157403038,
"repo_name": "KidFashion/boo",
"id": "27443ab28fee75b2ca5fe5f42c03a5960affabf9",
"size": "105... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>tortoise-hare-algorithm: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../b... | {
"content_hash": "3acd8729c63e2a2af30f00c4383e33ea",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 159,
"avg_line_length": 42.23728813559322,
"alnum_prop": 0.5571161048689138,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "c37407233574baaae5539b99e0e57b4bcd08d9bf",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This file documents the GNU Assembler "as".
Copyright (C) 1991-2017 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Do... | {
"content_hash": "cb8b0ffff506c4b2c25bb58da1de6883",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 508,
"avg_line_length": 47.58139534883721,
"alnum_prop": 0.7331378299120235,
"repo_name": "ATM-HSW/mbed_target",
"id": "64c51000ee6dcbda871ee649eb904dd727afc0c9",
"size": "... |
<?php
/**
* @package silverstripe-multisites
*/
class MultisitesFileFieldExtension extends Extension {
/**
* prepends an assets/currentsite folder to the upload folder name.
**/
public function useMultisitesFolder(){
$site = Multisites::inst()->getActiveSite();
$multisiteFolder = $site->Folder();
if(!$m... | {
"content_hash": "92770ef2078c1fece3ee5afc5cf70942",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 92,
"avg_line_length": 23.041666666666668,
"alnum_prop": 0.6853526220614828,
"repo_name": "Zauberfisch/silverstripe-multisites",
"id": "d619e895f79cbbd4e1e94044886e0e82539070... |
These examples demonstrate how to perform several Amazon Relational Database Service (Amazon RDS) operations using the developer preview version of the AWS SDK for Rust.
Amazon RDS is a web service that makes it easier to set up, operate, and scale a relational database in the cloud.
## Code examples
- [Describe ins... | {
"content_hash": "ffdf7d89e14fe68e7386130f85634046",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 189,
"avg_line_length": 42.75925925925926,
"alnum_prop": 0.7652663490688609,
"repo_name": "awsdocs/aws-doc-sdk-examples",
"id": "4363bd35daa0fbee9f96ad9712dcc54edd8dbfb1",
... |
<!DOCTYPE html>
<html>
<head>
<!-- Required meta tags-->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Color theme for statusb... | {
"content_hash": "a810988499e2c427e204efac5d765280",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 168,
"avg_line_length": 49.486111111111114,
"alnum_prop": 0.6424361493123772,
"repo_name": "alapanme/Maths-Easy",
"id": "b86ef97091fc06a13e77104a0daa957536265fa9",
"size": ... |
package org.msgpack.template.builder;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.lang.reflect.Type;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.msgpack.MessageTypeException;
import org.msgpack.packer.Packer;
import org.msg... | {
"content_hash": "3d7fc79fbe379a97459bdfa90992d302",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 102,
"avg_line_length": 34.79679144385027,
"alnum_prop": 0.5506377747041648,
"repo_name": "mikolak-net/msgpack-java",
"id": "1db9752314e0f3d25812ac0556df6fe36a9bf8f2",
"si... |
<?php
/**
* Credit Card (Payflow Pro) Payment method xml renderer
*
* @category Mage
* @package Mage_XmlConnect
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_XmlConnect_Block_Checkout_Payment_Method_Paypal_Payflow extends Mage_Payment_Block_Form_Ccsave
{
/**
* Prevent... | {
"content_hash": "c14b1a4a1e8befa0c593ad4466fffdda",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 148,
"avg_line_length": 31.08823529411765,
"alnum_prop": 0.5137180700094608,
"repo_name": "5452/durex",
"id": "97b9bb7cc2b944f22875ee806098dd839812855f",
"size": "5187",
... |
static std::string getJavaStirng(JNIEnv *env, jstring str)
{
const char* tmp = env->GetStringUTFChars(str, NULL);
std::string result(tmp);
env->ReleaseStringUTFChars(str, tmp);
return result;
}
extern "C" {
using namespace vmf;
//n_delete(long nativeObj);
JNIEXPORT void JNICALL Java_com_intel_vmf_Com... | {
"content_hash": "8c979bfc8c21e81993285884e44b4653",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 122,
"avg_line_length": 42.833333333333336,
"alnum_prop": 0.6710116731517509,
"repo_name": "apavlenko/vmf",
"id": "5d4dddbc794d35cd3cdd590d6c66837a83a22ebb",
"size": "5278... |
//---------------------------------------------------------------------------
// Pre-compilation
#include "MediaInfo/PreComp.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
//---------------------------------------------------------------------------
//----------------------------------------------------... | {
"content_hash": "5cb5d51365cf89ec2d3a7527b21aad39",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 165,
"avg_line_length": 43.55339805825243,
"alnum_prop": 0.3504235399019171,
"repo_name": "MediaArea/MediaInfoLib",
"id": "9f7f17e0dd70f4ca55ac4836bf84d6a4f07f7309",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2013 Evolveum
~
~ 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... | {
"content_hash": "2adf8bb18d0bb23deec39bd0d6a24323",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 114,
"avg_line_length": 41.81818181818182,
"alnum_prop": 0.7050724637681159,
"repo_name": "gureronder/midpoint",
"id": "0ea5dc1e159571539af5a532ebf1230801e8af96",
"size": "... |
package com.google.firebase.database;
import static com.google.firebase.database.TestHelpers.fromSingleQuotedString;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import com.google.firebase.database.utilities.encoding.CustomClassMapper;
... | {
"content_hash": "b6910ba0c6c6f62439b84ac763f8359b",
"timestamp": "",
"source": "github",
"line_count": 2059,
"max_line_length": 100,
"avg_line_length": 26.528411850412823,
"alnum_prop": 0.6691992237559957,
"repo_name": "firebase/firebase-admin-java",
"id": "941fbde9d1835b8bd438030adbbf69864676eda3",... |
Rails.application.config.session_store :cookie_store, key: '_chalmersit_session'
| {
"content_hash": "d24667f4e76245a02c9073b4db470f90",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 80,
"avg_line_length": 81,
"alnum_prop": 0.8024691358024691,
"repo_name": "cthit/chalmersit-account-rails",
"id": "7bb717e24563fde047d9edf311f43f1097eb12e2",
"size": "142",
... |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class io.permazen.parse.expr.MethodReferenceNode (Permazen 4.1.... | {
"content_hash": "4bb7f0e3585273ab8262d761095179f8",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 315,
"avg_line_length": 41.89142857142857,
"alnum_prop": 0.6452052925930978,
"repo_name": "permazen/permazen",
"id": "93b0c615dfbb7402c42f8194c19517c61d6ac2f5",
"size": "7... |
package com.sleepycat.util;
import java.io.IOException;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
/**
* A replacement for ByteArrayOutputStream that does not synchronize every
* byte read.
*
* <p>This class extends {@link OutputStream} and its <code>write()</code>
* methods allo... | {
"content_hash": "af15861876430673bbb1fba999eb7f5d",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 78,
"avg_line_length": 23.634057971014492,
"alnum_prop": 0.593131994481067,
"repo_name": "prat0318/dbms",
"id": "a9b4f95f8a3b1f3d069fc2d68ed60a876d5bff4b",
"size": "8115",... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Rambo (Ed. ), Iheringia, Sér. Bot. 5: 170 (1959)
#### Original name
Pseudasterodon griseoglaucus Rick
### Remarks
null | {
"content_hash": "9b9eb8aec4f4ec9426d9543511e20f18",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 51,
"avg_line_length": 14.23076923076923,
"alnum_prop": 0.6972972972972973,
"repo_name": "mdoering/backbone",
"id": "d74be4b0b0af9e665ec1bee31f8df31d79fd8227",
"size": "243... |
"""Setup file for pip installation."""
from setuptools import setup
setup(
name="jax-particles",
version="0.1",
description="a 2D physics simulator for circles",
packages=["jax_particles"],
python_requires=">=3.7",
install_requires=["jax", "inputs"],
)
| {
"content_hash": "e511d7cf2f15259519c2e2aa6af18b26",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 53,
"avg_line_length": 25.272727272727273,
"alnum_prop": 0.6546762589928058,
"repo_name": "google-research/google-research",
"id": "bcfb86097875b2797ac31def04f4554434f4983e",... |
{% extends "layout.html" %}
{% block page_title %}
GOV.UK prototyping kit
{% endblock %}
{% block propositionHeader %}
{% include "includes/propositional_navigation.html" %}
{% endblock %}
{% block content %}
<main id="content" role="main">
<div class="grid-row">
<div class="column-quarter g... | {
"content_hash": "fca53ff5f0644c86705341114281ff60",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 129,
"avg_line_length": 35.337899543378995,
"alnum_prop": 0.45005814704742214,
"repo_name": "dwpdigitaltech/ejs-prototype",
"id": "c5d586399ca4c941e94ba378637cc531d6bfa460",... |
#ifndef WEBDRIVER_IE_MOUSEMOVETOCOMMANDHANDLER_H_
#define WEBDRIVER_IE_MOUSEMOVETOCOMMANDHANDLER_H_
#include "interactions.h"
#include "Session.h"
namespace webdriver {
class MouseMoveToCommandHandler : public CommandHandler {
public:
MouseMoveToCommandHandler(void) {
}
virtual ~MouseMoveToCommand... | {
"content_hash": "00c90de3b48eb3d47d85311da1b73274",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 184,
"avg_line_length": 38.70967741935484,
"alnum_prop": 0.7080555555555555,
"repo_name": "akiellor/selenium",
"id": "b1caddfb67cdfb9f1fec74dee1782a2c59dee095",
"size": "42... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" co... | {
"content_hash": "77fbe164c8a5777495ea4be9f95d552f",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 277,
"avg_line_length": 70.08275862068966,
"alnum_prop": 0.7244636882503445,
"repo_name": "distrakt/OmEspHelpers",
"id": "492269b0e4fc74695f4a66388be20612dc0219e6",
"size"... |
package cf_command_test
import (
"testing"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
func TestCfCommand(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "CfCommand Suite")
}
| {
"content_hash": "6174e9ea30081ff1dce9da761038b1ab",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 34,
"avg_line_length": 15.461538461538462,
"alnum_prop": 0.7114427860696517,
"repo_name": "cloudfoundry-incubator/cf-networking-release",
"id": "15d04fefaa61f6422a42a4fe8866e... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.duration.hazard_regression.PHReg.efron_hessian — statsmodels v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet"... | {
"content_hash": "0e4e2cf64b248792efe6fc221b7ec679",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 498,
"avg_line_length": 47.18674698795181,
"alnum_prop": 0.6501978807608835,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "ac086f17fdee53db41889272ac5c5cb307d0ef0... |
package sculture.models.response;
import sculture.dao.TagStoryDao;
import sculture.dao.UserDao;
import sculture.dao.VoteStoryDao;
import sculture.models.tables.Story;
import sculture.models.tables.User;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
public class St... | {
"content_hash": "7dd4270ebfc6deefed0ce489cef1daa9",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 150,
"avg_line_length": 23.818713450292396,
"alnum_prop": 0.6164988951632703,
"repo_name": "bounswe/bounswe2015group7",
"id": "2d0f8dd0d7ec1cf881b87fd1af1955cae3ba9d67",
"... |
Applying on-demand learning strategies for self-paced "learning in the wild" can augment professional learning from massively open online courses (MOOC) such as EdX, Udacity, and videos available from YouTube and other sources.
### Using Resources and Technology to Optimize Your Productivity
A forthcoming article wi... | {
"content_hash": "fbc67abd77627475ba26ca7b2dc8a0f4",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 633,
"avg_line_length": 60.73913043478261,
"alnum_prop": 0.7967072297780959,
"repo_name": "william76/betterscientificsoftware.github.io",
"id": "0f9a3f6ea04ceefb13aad10e11c3e... |
package org.apache.dubbo.rpc.protocol.hessian;
import org.apache.dubbo.common.Constants;
import org.apache.dubbo.rpc.RpcContext;
import com.caucho.hessian.client.HessianConnection;
import com.caucho.hessian.client.HessianURLConnectionFactory;
import java.io.IOException;
import java.net.URL;
public class DubboHess... | {
"content_hash": "9bf08d1f42b1a52a29ff167c26c822aa",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 96,
"avg_line_length": 29.884615384615383,
"alnum_prop": 0.749034749034749,
"repo_name": "alibaba/dubbo",
"id": "21c566fe0fbd322c18b90e85e638e3837977af2b",
"size": "1578",
... |
const webpack = require('webpack');
let config = require('./webpack.config.es6.js');
config.plugins = config.plugins || [];
config.plugins.push(new webpack.optimize.UglifyJsPlugin());
module.exports = config;
| {
"content_hash": "2711b379768fbf6cd52afc062cd6380f",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 59,
"avg_line_length": 35,
"alnum_prop": 0.7333333333333333,
"repo_name": "mdittmer/web-apis",
"id": "10b987ab2fff754dc1d1e780c6e6cd3b9ff4aaba",
"size": "210",
"binary": f... |
<?php
/* @WebProfiler/Profiler/base_js.html.twig */
class __TwigTemplate_3efd1bacc3519295227295bf49d30d640097945474b88d764074b0e746bb9987 extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = arra... | {
"content_hash": "847e22f251bac463c5905eeb2f0237ae",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 189,
"avg_line_length": 32.06204379562044,
"alnum_prop": 0.44223107569721115,
"repo_name": "CarmeloRP93/Prueba",
"id": "07e8929de263d0c792315a7c336184f185496a4c",
"size": ... |
---
title: Dynamic Throw Type Extensions
---
To support [precise try-catch-finally analysis](/blog/precise-try-catch-finally-analysis), you can write a dynamic throw type extension to describe functions and methods that might throw an exception only when specific types of arguments are passed during a call.
The imple... | {
"content_hash": "2abc3e2469a8ef1fd9972fd6d4ab856c",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 263,
"avg_line_length": 31.229166666666668,
"alnum_prop": 0.7681787858572382,
"repo_name": "phpstan/phpstan",
"id": "6870e4d1eb41106733b9022a6c37c7398c3c697a",
"size": "299... |
import bandicoot as bc
from bandicoot.helper.group import group_records
from bandicoot.core import User, Record
from bisect import bisect_right
from functools import partial
import datetime as dt
import itertools
import csv
import math
def create_punchcards(user, split_interval=60):
"""
Computes raw indicato... | {
"content_hash": "c74c1dead18ec1815f71b8f314695ebb",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 117,
"avg_line_length": 35.20322580645161,
"alnum_prop": 0.6292495189223861,
"repo_name": "econandrew/bandicoot",
"id": "50e421f5ac1bbebbef956d80dfa68d29954afd92",
"size":... |
{% extends "base.html" %}
{% block content %}
<div class="row">
<div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">
<form id="loginform" method="POST" action="">
{% csrf_token %}
<h2 class="text-center">로그인</h2>
{% if error %}
<h3>* {{ error }}</h3>
{%... | {
"content_hash": "513c120cb4b885fc872703448ef7ba4a",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 119,
"avg_line_length": 30.88888888888889,
"alnum_prop": 0.6223021582733813,
"repo_name": "bestgunman/Gitwaxingproduct",
"id": "4a213ff37baae54c7f2e09c4034efa7d86b99e68",
"... |
'use strict';
describe('TreeFactory', function () {
var TreeFactory;
var trees;
var formattedTrees;
beforeEach(function () {
module('okra');
});
beforeEach(inject(function (_TreeFactory_) {
TreeFactory = _TreeFactory_;
trees = [{
"Name": "Monthly 12/14",
... | {
"content_hash": "d1354a15923a58dc6c3e7c724ae1dcb4",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 99,
"avg_line_length": 30.385964912280702,
"alnum_prop": 0.49364896073903003,
"repo_name": "dmonay/okra_client",
"id": "775fc74c7dd6b027ffdda1e32f3a4482b7d92ef8",
"size": "... |
import { Component } from '@angular/core';
import { Router } from '@angular/router';
// import { FormGroup, FormControl, Validators, FormBuilder } from '@angular/forms';
import { AlertService, UserService } from '../../services/index';
import { ToastComponent } from "app/shared/toast/toast.component";
// import { DataS... | {
"content_hash": "2300e8223c228ab3471276355e4aec1b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 113,
"avg_line_length": 34.717948717948715,
"alnum_prop": 0.6617429837518464,
"repo_name": "jaecuong/LinkReview",
"id": "1fc6e9ea078867e0aa8ec89818c69571e04ce304",
"size": ... |
// Copyright (c) Jeremy W. Kuhne. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using WInterop.Registry;
using WInterop.Errors;
using WInterop.Shell;
namespace ShellTests;
public class AssociationTests
{
[Fact]
public void GetTextA... | {
"content_hash": "83c66b1eb5c6ccf1736cd307679ec303",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 127,
"avg_line_length": 35.325581395348834,
"alnum_prop": 0.6357801184990125,
"repo_name": "JeremyKuhne/WInterop",
"id": "ceff503ee40d7a2162f95fea2e2ba86f1a8d2ad0",
"size"... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.W... | {
"content_hash": "ff6976e8aa184cb67e417178426aee3c",
"timestamp": "",
"source": "github",
"line_count": 444,
"max_line_length": 229,
"avg_line_length": 47.207207207207205,
"alnum_prop": 0.5864503816793893,
"repo_name": "stewart-itopia/ExportToExcel",
"id": "beffdb6dbcf6ebb0f2c97e63e4416acb3c06dc63",
... |
import { connect } from 'react-redux'
import { fetchQuestionnaires } from '../modules/counter'
/* This is a container component. Notice it does not contain any JSX,
nor does it import React. This component is **only** responsible for
wiring in the actions and state necessary to render a presentational
com... | {
"content_hash": "d08d3a648a856bf2346a901196c17b66",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 93,
"avg_line_length": 40,
"alnum_prop": 0.7324324324324324,
"repo_name": "tkshi/q",
"id": "2ace54f487c21c7d2a19322cbebae58b5d38c28d",
"size": "1480",
"binary": false,
... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace CodeJewelApi.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// <s... | {
"content_hash": "fc6d472979a4abce79559a047abf0dbc",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 175,
"avg_line_length": 39.00561797752809,
"alnum_prop": 0.5679101253060637,
"repo_name": "niki-funky/Telerik_Academy",
"id": "b860a9b636505ec0eefbb0c1547e70979ba479e5",
"... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFeaturetypeIdToFeaturesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('fea... | {
"content_hash": "d54d11549f04e6033cbb64597731bcd6",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 81,
"avg_line_length": 21.242424242424242,
"alnum_prop": 0.5934379457917262,
"repo_name": "UnrulyNatives/helpers-for-laravel-projects",
"id": "1a89d74a653c4f95f13dadba717705e... |
<?php
namespace Intacct\Functions\AccountsReceivable;
use Intacct\Xml\XMLWriter;
use InvalidArgumentException;
/**
* @coversDefaultClass \Intacct\Functions\AccountsReceivable\ArAccountLabelUpdate
*/
class ArAccountLabelUpdateTest extends \PHPUnit\Framework\TestCase
{
public function testConstruct(): void
... | {
"content_hash": "51f20260635d12d823a84d3e8620de1e",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 81,
"avg_line_length": 26.446153846153845,
"alnum_prop": 0.6242001163467132,
"repo_name": "Intacct/intacct-sdk-php",
"id": "c814758d5ad78d95ab911f8b3edc981c04a606e3",
"size... |
FROM balenalib/intel-nuc-alpine:3.11-run
# remove several traces of python
RUN apk del python*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# install python dependencies
RUN apk add --no-cache ca-certifi... | {
"content_hash": "70d6c501da2c41cfe6f3239ff2fc221c",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 728,
"avg_line_length": 53.44155844155844,
"alnum_prop": 0.7110571081409478,
"repo_name": "nghiant2710/base-images",
"id": "0a8d9c2b7fb046a3508a4b20c9d9a0b8c59be5f0",
"size... |
/**
*
*/
package com.ocean.test;
/**
* @author junfang
*
*/
public class BB {
public static String getString() {
System.out.println("1111");
return " dggdgdgdgdg";
}
public static String getString2() {
System.out.println("222");
return " wwwwwwwwwwwwwww";
}
public String getString3() {
Syste... | {
"content_hash": "d970ac4d874eb2decf1b7a7a81c3d1ee",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 47,
"avg_line_length": 14.477272727272727,
"alnum_prop": 0.631083202511774,
"repo_name": "zhangjunfang/eclipse-dir",
"id": "08f82ceb57a0b5291fc312618b1b8dfb8f46d02b",
"size... |
require "mkmf"
create_makefile "fast_secure_compare/fast_secure_compare"
| {
"content_hash": "efb46e99b4ae49c8bf8d0b6919b5a45b",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 57,
"avg_line_length": 24.666666666666668,
"alnum_prop": 0.7972972972972973,
"repo_name": "daxtens/fast_secure_compare",
"id": "adbad7cbce7021b4dce6ac16e9a786b533f8ab51",
"s... |
layout: page
title: Morales - Hayden Wedding
date: 2016-05-24
author: Kelly Sexton
tags: weekly links, java
status: published
summary: Etiam eu sapien rutrum, ornare.
banner: images/banner/office-01.jpg
booking:
startDate: 01/28/2016
endDate: 02/01/2016
ctyhocn: TLAREHX
groupCode: MHW
published: true
---
Sed et... | {
"content_hash": "10a542ab913d806488b0af59ed7762f0",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 530,
"avg_line_length": 61.375,
"alnum_prop": 0.8065173116089613,
"repo_name": "KlishGroup/prose-pogs",
"id": "acba4e7aa3698f1dd3c902ea1996fc662cb8d205",
"size": "1477",
... |
"""
Key manager implementation for Barbican
"""
import array
import base64
import binascii
from barbicanclient import client as barbican_client
from keystoneauth1 import loading as ks_loading
from keystoneauth1 import session
from oslo_log import log as logging
from oslo_utils import excutils
import nova.conf
from ... | {
"content_hash": "cfa949f5dd6a6eed710a943560a9d681",
"timestamp": "",
"source": "github",
"line_count": 325,
"max_line_length": 79,
"avg_line_length": 40.89230769230769,
"alnum_prop": 0.5577125658389767,
"repo_name": "zhimin711/nova",
"id": "50faf8ea29af581562461c432d0302bac9b7ae7d",
"size": "13965... |
use BaselinePosition;
use Buildable;
use Container;
use Orientable;
use PositionType;
use Widget;
use ffi;
use glib;
use glib::StaticType;
use glib::Value;
use glib::object::Downcast;
use glib::object::IsA;
use glib::signal::SignalHandlerId;
use glib::signal::connect;
use glib::translate::*;
use glib_ffi;
use gobject_f... | {
"content_hash": "af63da6b9796a9298b73ee62c07cc3d1",
"timestamp": "",
"source": "github",
"line_count": 392,
"max_line_length": 172,
"avg_line_length": 35.954081632653065,
"alnum_prop": 0.581311196253725,
"repo_name": "EPashkin/rust-gnome-gtk",
"id": "0c3c03ffaeb360c4d3008d482549944085f44bf2",
"siz... |
// $Id: xxRareModeSavePrompts.cc 4497 2012-05-27 00:33:09Z flaterco $
#include "xtide.hh"
#include "xxHorizDialog.hh"
#include "xxMultiChoice.hh"
#include "xxTimestampDialog.hh"
#include "xxTimestamp.hh"
#include "xxRareModeSavePrompts.hh"
#include "xxTextMode.hh"
static void xxRareModeSavePromptsCallback (
... | {
"content_hash": "ba0c60bc8c8a2da501b748e1bba891fe",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 79,
"avg_line_length": 33.88741721854305,
"alnum_prop": 0.6068008598788353,
"repo_name": "lobrien/TideMonkey",
"id": "9f4e2cbd1a2bca45d44dc36d8724a03749be3b25",
"size": "5... |
<ul class="nav nav-pills nav-stacked">
<li><a href="http://news.baidu.com" target="navTab" data-tabid="external"><i class="icon-file"></i>url页面</a></li>
<li><a href="newpage_2.html" target="navTab" data-tabid="iframe" data-external="true"><i class="icon-file"></i>iframe页面</a></li>
<li><a href="newpage_1.html" targe... | {
"content_hash": "4f3fbb7bda9993b4509c11b840afd8a2",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 129,
"avg_line_length": 70.85714285714286,
"alnum_prop": 0.655241935483871,
"repo_name": "ruoyousi/js-spa",
"id": "51b22270474bccb3ccc1ec3d1971c75a732250dc",
"size": "512",
... |
Safe Integer
===
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Dependencies][dependencies-image]][dependencies-url]
> Validates if a value is a [safe integer](http://www.2ality.com/2013/10/safe-integers.html).
## Installation
... | {
"content_hash": "e8eba76ead458286596543a1cb55bda7",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 204,
"avg_line_length": 25.328244274809162,
"alnum_prop": 0.7221217600964437,
"repo_name": "validate-io/safe-integer",
"id": "687ea8b9f2f2a3d84f2e66d503ea815d7780b986",
"s... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<LinearLayout
android:id="@+id/zoneViewLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
andro... | {
"content_hash": "67256a641433580fc11d246db174d979",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 77,
"avg_line_length": 40.458333333333336,
"alnum_prop": 0.6992790937178167,
"repo_name": "lukacsd/aws-scheme",
"id": "f66901198f60482776354b03176dad03e38ead01",
"size": "9... |
package light
import (
"fmt"
"github.com/tmacychen/UFG/font"
"github.com/tmacychen/UFG/framework"
"github.com/tmacychen/UFG/theme/basic"
"github.com/tmacychen/UFG/widget/tools"
)
func CreateTheme(driver framework.Driver) framework.Theme {
defaultFont, err := font.CreateFont(font.Default, 12)
if err == nil {
... | {
"content_hash": "dfa39ea88209cab1b9d91254ff06694b",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 109,
"avg_line_length": 49.88059701492537,
"alnum_prop": 0.7211250748055057,
"repo_name": "tmacychen/UFG",
"id": "85bef2e437249cdd334fa9acc2dc5681cc67be56",
"size": "3502",... |
package edu.northwestern.bioinformatics.studycalendar.service.presenter;
import edu.northwestern.bioinformatics.studycalendar.StudyCalendarSystemException;
import org.restlet.routing.Template;
import org.springframework.util.StringUtils;
import java.util.HashMap;
import java.util.Map;
/**
* @author Rhett Sutphin
... | {
"content_hash": "8a55b1bc9ef189294273e8a4a56a748d",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 155,
"avg_line_length": 37.281879194630875,
"alnum_prop": 0.6531053105310531,
"repo_name": "NCIP/psc",
"id": "fd1dc1b37656d2a107db5371f5292a2be70d6907",
"size": "5721",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.