text stringlengths 2 1.04M | meta dict |
|---|---|
module Mutant
class Mutator
class Node
# OrAsgn mutator
class OrAsgn < self
handle(:or_asgn)
children :left, :right
private
# Emit mutations
#
# @return [undefined]
def dispatch
emit_singletons
emit_right_mutations
... | {
"content_hash": "43e8ff83635643e3b7d73dff32eafc94",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 64,
"avg_line_length": 18.724137931034484,
"alnum_prop": 0.5395948434622467,
"repo_name": "kbrock/mutant",
"id": "2a1088887b17c590ebf9bd2d0f80112911458ac7",
"size": "543",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Upload上传</title>
<!-- Fine Uploader New/Modern CSS file
====================================================================== -->
<link href="fine-uploader/... | {
"content_hash": "eefc1c317a211f72a7ec066ddc7bd1e2",
"timestamp": "",
"source": "github",
"line_count": 429,
"max_line_length": 179,
"avg_line_length": 36.172494172494176,
"alnum_prop": 0.46236628431498905,
"repo_name": "jm-team/fly",
"id": "e4b8e326534e6591f84acc9fc165d40d51f6f80c",
"size": "15924... |
package net.sf.mmm.util.transferobject.base.example.common.to;
import net.sf.mmm.util.transferobject.api.EntityTo;
import net.sf.mmm.util.transferobject.base.example.common.Person;
/**
* This is the {@link EntityTo ETO} implementing {@link Person}.
*
* @author Joerg Hohwiller (hohwille at users.sourceforge.net)
... | {
"content_hash": "86c7131c94bfab33142a323b16bf642f",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 65,
"avg_line_length": 16.940298507462686,
"alnum_prop": 0.6951541850220264,
"repo_name": "m-m-m/util",
"id": "1aa7425444b2d6d13cd7695a8e4a4ed7887a4504",
"size": "1263",
... |
package org.apache.druid.segment.realtime.appenderator;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Function;
import com.google.common.base.Supplier;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.I... | {
"content_hash": "a1a9cec76d7679452eab45192135eee5",
"timestamp": "",
"source": "github",
"line_count": 526,
"max_line_length": 119,
"avg_line_length": 31.59315589353612,
"alnum_prop": 0.6539896497773499,
"repo_name": "liquidm/druid",
"id": "79b575434bc9215dbb665accef411512460a64fc",
"size": "17425... |
<?php
/**
* Created by PhpStorm.
* User: tomes
* Date: 4/23/2016
* Time: 4:53 PM.
*/
namespace Command;
use Broadway\CommandHandling\CommandHandler;
/**
* Class CreatePostCommandHandler.
*/
class CreatePostCommandHandler extends CommandHandler
{
/**
* @param CreatePostCommand $createPostCommand
*... | {
"content_hash": "6d2e1540829335e7830dab2f71c1b5b9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 81,
"avg_line_length": 20.4,
"alnum_prop": 0.6941176470588235,
"repo_name": "tstuttard/ddd-blog",
"id": "35811f49829e5023c669da2ab3243954f416071f",
"size": "510",
"binary... |
package com.example.chhavi.swiftintern;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.animation.Animation;
import android.widget.ImageView;
import com.chhavi.swiftintern.R;
import com.example.chhavi.swiftintern.Utility.AppPreferences;
/**
* Created by chha... | {
"content_hash": "76c0e67d637a717ea17c60c3868af65e",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 82,
"avg_line_length": 28.242424242424242,
"alnum_prop": 0.6030042918454935,
"repo_name": "Swiftintern/PlacementPapers",
"id": "9ebf7d05722e8e4a7984d5fa839d6ee39e428107",
"... |
require 'em-resolv-replace' | {
"content_hash": "ad55ad57daf81f9095b57ba5e7b983ff",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 27,
"avg_line_length": 27,
"alnum_prop": 0.8148148148148148,
"repo_name": "mtvillwock/hummingbird",
"id": "4e6eeaccf1db17b7a61dc6518187973b0a8c66db",
"size": "27",
"binary... |
<?php
namespace DeliciousBrains\WP_Offload_SES\Aws3\GuzzleHttp;
use DeliciousBrains\WP_Offload_SES\Aws3\GuzzleHttp\Handler\CurlHandler;
use DeliciousBrains\WP_Offload_SES\Aws3\GuzzleHttp\Handler\CurlMultiHandler;
use DeliciousBrains\WP_Offload_SES\Aws3\GuzzleHttp\Handler\Proxy;
use DeliciousBrains\WP_Offload_S... | {
"content_hash": "bad9bf74409b061f486912e5f776ab99",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 272,
"avg_line_length": 36.58843537414966,
"alnum_prop": 0.6264757832109324,
"repo_name": "mandino/nu",
"id": "7f82bc496b31d97c383016357d3fea59e8effd25",
"size": "10757",
... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using Newtonsoft.Json;
using osu.Framework.Bindables;
namespace osu.Framework.IO.Serialization
{
/// <summary>
/// An interface which allows <see cref="Bindable... | {
"content_hash": "202145a35bce9e63ef69d0d1e4fbbc3e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 95,
"avg_line_length": 35.55555555555556,
"alnum_prop": 0.728125,
"repo_name": "DrabWeb/osu-framework",
"id": "7805823c88084d56bc5b4ec3b68d8697c167a589",
"size": "642",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/... | {
"content_hash": "186e0f2300b3a0e9ffaa7f4baf735ef2",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 116,
"avg_line_length": 49.81818181818182,
"alnum_prop": 0.7737226277372263,
"repo_name": "freme-project/e-services",
"id": "1e11e968c89ebb9a452ba3cd29dee0ab76389ca9",
"siz... |
package org.elasticsearch.action.support;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.tasks.Task;
import org.elasticsearch.transport.TransportRequest;
import java.io.IOException;
/**
* Base class for requests that can have... | {
"content_hash": "371190f32f380d120c770328b8d4c578",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 94,
"avg_line_length": 26.914893617021278,
"alnum_prop": 0.7201581027667984,
"repo_name": "tebriel/elasticsearch",
"id": "59ebb476703e8ccfb845bd57b7311c6da4eeed5a",
"size":... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly... | {
"content_hash": "e518fe2b990689d577e19b451aa439de",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 84,
"avg_line_length": 37.911764705882355,
"alnum_prop": 0.7579519006982157,
"repo_name": "ProfessionalCSharp/ProfessionalCSharp7",
"id": "bf7056f63ed382aeb54dd8946b47ffe8501... |
package org.apache.flink.client.cli;
import org.apache.flink.annotation.PublicEvolving;
import org.apache.flink.configuration.ConfigOption;
import org.apache.flink.configuration.ConfigOptions;
import java.time.Duration;
/** Describes a client configuration parameter. */
@PublicEvolving
public class ClientOptions {... | {
"content_hash": "5b07ab4fa070a712a4c42054aabc29ba",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 130,
"avg_line_length": 41.1,
"alnum_prop": 0.6293592862935928,
"repo_name": "gyfora/flink",
"id": "33cda70d91da9e3f92564d1fb948283b406bd051",
"size": "2033",
"binary": f... |
var proj4 = require("proj4");
module.exports = function(Geozone) {
Geozone.generateGeoAlarms = function(geozones, messages, cb) {
// alarms collection
var events = {};
var persistenceEvents = [];
var emailEvents = [];
var smsEvents = [];
geozones.forEach(function(g... | {
"content_hash": "fccd4bc487f15da25281122a68eb7500",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 121,
"avg_line_length": 42.666666666666664,
"alnum_prop": 0.43345905172413796,
"repo_name": "thingtrack/node-sensor-api",
"id": "5c030fb759e78c8423a2c446ec118c44f34877cd",
... |
import { deepEqual, equal } from 'assert';
import { WindowsExternalTerminalService, LinuxExternalTerminalService, MacExternalTerminalService, DEFAULT_TERMINAL_OSX } from 'vs/workbench/contrib/externalTerminal/node/externalTerminalService';
suite('ExternalTerminalService', () => {
let mockOnExit: Function;
let mock... | {
"content_hash": "859ad7f1acadc177dc49d36cbce8eccc",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 196,
"avg_line_length": 27.00921658986175,
"alnum_prop": 0.6625149291929705,
"repo_name": "joaomoreno/vscode",
"id": "821460d6eb7e07320eacf49eba4879d9b0a86b78",
"size": "6... |
@implementation UMERedView
- (id)initWithFrame:(NSRect)frame {
if (self = [super initWithFrame:frame]) {
}
return self;
}
- (BOOL)isOpaque {
return YES;
}
- (void)drawRect:(NSRect)r {
NSDrawWindowBackground(r);
[super drawRect:r];
// [[NSColor redColor] set];
// NSRectFill(r);
}
@en... | {
"content_hash": "2c3fad1c52414bfd78a724dc8bbc73f8",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 45,
"avg_line_length": 14,
"alnum_prop": 0.6149068322981367,
"repo_name": "nagyistoce/umekit",
"id": "205f22dd9370fb93ecea595c18eb6f94d1862bf3",
"size": "946",
"binary": ... |
package com.ohmdb.impl;
import com.ohmdb.abstracts.Any;
import com.ohmdb.api.Table;
public class AnySearch<E> implements Any<E> {
private final Table<E> table;
public AnySearch(Table<E> table) {
this.table = table;
}
@Override
public long[] ids() {
return null;
}
@Override
public long[] all() {
re... | {
"content_hash": "6ab0965c3c1faa137c7e16c5931f62c9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 45,
"avg_line_length": 13.142857142857142,
"alnum_prop": 0.6543478260869565,
"repo_name": "gitblit/ohmdb",
"id": "50ca0183f67d68788ff3fd241c0fe6e240de524a",
"size": "1114",... |
namespace installer {
class Product;
}
class BrowserDistribution {
public:
enum Type {
CHROME_BROWSER,
CHROME_FRAME,
CHROME_BINARIES,
CHROME_APP_HOST,
NUM_TYPES
};
// Flags to control what to show in the UserExperiment dialog.
enum ToastUIflags {
kUninstall = 1, // Uninsta... | {
"content_hash": "4e978d3872814d50e4677a1333ea29a9",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 80,
"avg_line_length": 36.19496855345912,
"alnum_prop": 0.6830582102519548,
"repo_name": "Crystalnix/BitPop",
"id": "96360a9e0d1bcfef8519744397885f1c0752b585",
"size": "63... |
cMooshroom::cMooshroom(void) :
super("Mooshroom", mtMooshroom, "mob.cow.hurt", "mob.cow.hurt", 0.9, 1.3)
{
}
void cMooshroom::GetDrops(cItems & a_Drops, cEntity * a_Killer)
{
unsigned int LootingLevel = 0;
if (a_Killer != nullptr)
{
LootingLevel = a_Killer->GetEquippedWeapon().m_Enchantments.GetLevel(cEnchan... | {
"content_hash": "187854c8f7dcbcb1c716376c80337e94",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 99,
"avg_line_length": 22.5,
"alnum_prop": 0.6674074074074074,
"repo_name": "Tri125/MCServer",
"id": "3b2fbad57972072521bfa7228248ebb3179cedbe",
"size": "1512",
"binary":... |
package com.demonwav.ectotokens.action;
import com.demonwav.ectotokens.EctoTokens;
import com.demonwav.ectotokens.TokensManager;
import com.demonwav.ectotokens.config.shop.actions.RepairItemsActionConfig;
import com.demonwav.ectotokens.gui.Window;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import or... | {
"content_hash": "a2b338b2f7aa05cc97de51659ed2aeb1",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 108,
"avg_line_length": 39.24193548387097,
"alnum_prop": 0.604603370324702,
"repo_name": "DemonWav/EctoTokens",
"id": "84c5c249bed7f4f4fffa1859db103990045c2901",
"size": "2... |
permalink: /speaker/profile/30/
title: Barbara Shaurette | DjangoCon in Austin, TX
---
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8"/>
<title>Barbara Shaurette | DjangoCon in Austin, TX</title>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta content="DjangoCon US 2015 ... | {
"content_hash": "b1f3c4fbfb2002d2b76550f32f227544",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 405,
"avg_line_length": 33.53629032258065,
"alnum_prop": 0.654082000721414,
"repo_name": "djangocon/2015.djangocon.us",
"id": "2bb7b0ec102366ddf0acb2ffe3ece702c1e2c8ba",
"... |
classdef graphViz4Matlab < handle
% Visualize a graph in a Matlab figure window by specifying an
% adjacency matrix and optionally node labels, descriptions, colors and the
% the layout algorithm. The best layout algorithms require that graphViz be
% installed, available free at <http://www.graphviz... | {
"content_hash": "d423851836ef35cb4a6831ca2db6c5dd",
"timestamp": "",
"source": "github",
"line_count": 1028,
"max_line_length": 171,
"avg_line_length": 42.63813229571984,
"alnum_prop": 0.48389304617630957,
"repo_name": "echanthe/hydiag",
"id": "e3e8c54c34bd93e283c3428797e566d842a6b600",
"size": "4... |
import pandas as pd
from sklearn import model_selection
from sklearn.ensemble import GradientBoostingClassifier
url = "https://archive.ics.uci.edu/ml/machine-learning-databases/pima-indians-diabetes/pima-indians-diabetes.data"
names = ['preg', 'plas', 'pres', 'skin', 'test', 'mass', 'pedi', 'age', 'class']
df = pd.re... | {
"content_hash": "e6a0d60036931babef05f81abd8e5b0a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 114,
"avg_line_length": 32.13636363636363,
"alnum_prop": 0.7256011315417256,
"repo_name": "sindresf/The-Playground",
"id": "77888f51e949298f0f8a1a69a71b3a090a45ff95",
"size... |
<?php
declare(strict_types=1);
namespace ApiPlatform\Core\DataPersister;
/**
* Manages data persistence.
*
* @author Baptiste Meyer <baptiste.meyer@gmail.com>
*/
interface DataPersisterInterface
{
/**
* Is the data supported by the persister?
*/
public function supports($data): bool;
/**... | {
"content_hash": "dcc5ee642d9e4d43ca84212c743268e3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 108,
"avg_line_length": 18.3125,
"alnum_prop": 0.6382252559726962,
"repo_name": "teohhanhui/DunglasApiBundle",
"id": "a8ab88c04c8fc3ad8ea936e9103ffb86c7fcc45c",
"size": "81... |
'use strict'; //eslint-disable-line strict
//-------------------------------------------------------------------------------
// Requires
//-------------------------------------------------------------------------------
const gulp = require('gulp');
const babel = require('gulp-babel');
const eslint ... | {
"content_hash": "3123cbe80be01338875b89678aa50748",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 81,
"avg_line_length": 28.048780487804876,
"alnum_prop": 0.3695652173913043,
"repo_name": "brianneisler/gulp-recipe",
"id": "76c013ccd9d34dffe681f10353cff02675c5cf0e",
"siz... |
package io.opentracing.tag;
import io.opentracing.Span;
public interface Tag<T> {
String getKey();
void set(Span span, T value);
}
| {
"content_hash": "6923f67f53adbff5b697cbdad48816b7",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 33,
"avg_line_length": 15.777777777777779,
"alnum_prop": 0.6901408450704225,
"repo_name": "opentracing/opentracing-java",
"id": "755dc0d3ce0e24e81e4145ff04ee0d30f50200a4",
"... |
<!-- <activity-photo activity-id="{{how to get this? I have it in the route}}"></activity-photo> -->
<activity-photo></activity-photo> | {
"content_hash": "bf265b785e9ea1615d64f8dd4e191e4f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 100,
"avg_line_length": 45,
"alnum_prop": 0.674074074074074,
"repo_name": "sethladd/dart-snap-booth-chat",
"id": "bc08d63c95c665126e06db5e29926dc84971f5cf",
"size": "135",
... |
import {expect} from "chai";
import {Metadata} from "../../../../src/core";
function logger(target: any, method?: any, descriptor?: any) {
return descriptor;
}
@logger
class Test {
@logger
attribut: string = "";
constructor(private type?: string) {
}
@logger
method(type: string): boole... | {
"content_hash": "ca1cca000da8af175374ea5d241b0066",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 94,
"avg_line_length": 29.36904761904762,
"alnum_prop": 0.5397243615727605,
"repo_name": "lwallent/ts-express-decorators",
"id": "4cf89cd6372f7f21dd2b7518fbb00c3a0b91af58",
... |
/* r1620 Remove unused options */
DELETE FROM `cot_config` WHERE `config_owner` = 'core' AND `config_cat` = 'performance' AND `config_name` = 'theme_consolidate'; | {
"content_hash": "bdf1570d8ff7dea2983be97dabce0b3e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 128,
"avg_line_length": 81,
"alnum_prop": 0.7098765432098766,
"repo_name": "Velm14/dribascorp",
"id": "71f2bc8f316608f4d13718eb9dfcbfceb58ea593",
"size": "162",
"binary": ... |
<?php if (!defined('APPLICATION')) exit(); ?>
<div class="Profile">
<?php
if ($this->Data['Balance']) {
?>
<ul class="DataList KarmaBank Karma">
<li class="Item KarmaTitles">
<div class="ItemContent">
<div class="Item"><?php echo T('KarmaBank.Transaction','Transaction') ?></div>
<div class="Description"><?php echo T('K... | {
"content_hash": "9a5879f08b414f37355c83fda5b5efa3",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 177,
"avg_line_length": 37.513888888888886,
"alnum_prop": 0.6319881525360977,
"repo_name": "x00/KarmaBank-Vanilla-Plugin",
"id": "c83280f379f8775ea2c6587b1f77875be6d1c9d2",
... |
<?php
/*
*---------------------------------------------------------------
* APPLICATION ENVIRONMENT
*---------------------------------------------------------------
*
* You can load different configurations depending on your
* current environment. Setting the environment also influences
* things like logging a... | {
"content_hash": "b46041b8b712dc1f0ae803a8ef96e185",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 158,
"avg_line_length": 31.90661478599222,
"alnum_prop": 0.5604878048780488,
"repo_name": "kbrohkahn/sixsided.com",
"id": "d811622e76a2cdb2ef0d40063a0dc116ce0fcfe5",
"size... |
package za.org.grassroot.core.domain.notification;
import za.org.grassroot.core.domain.User;
import za.org.grassroot.core.domain.task.TodoLog;
import za.org.grassroot.core.enums.AlertPreference;
import za.org.grassroot.core.enums.NotificationDetailedType;
import javax.persistence.DiscriminatorValue;
import javax.pers... | {
"content_hash": "1878ec5eb1ee9e43aeca18afc546adb9",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 81,
"avg_line_length": 28.03125,
"alnum_prop": 0.8015607580824972,
"repo_name": "grassrootza/grassroot-platform",
"id": "b6ee45f89d85d1d3aacf8d04709d19679a8bd4ec",
"size": ... |
<div class="u-mdlayout " id="dicttype-mdlayout">
<div class="u-mdlayout-btn u-row">
<div id="dicttype_list_button_2" class="u-col-4 user-actions">
<div class=" u-button-group margin-0 padding-0">
<!--兼容ie9以下enter问题-->
<!--[if lt IE 10]><button style="display:blo... | {
"content_hash": "94cb7756815cd48cd9f53e4676244f79",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 230,
"avg_line_length": 60.06976744186046,
"alnum_prop": 0.4899341850561363,
"repo_name": "uba-templates/uba-boilerplate-webapp",
"id": "0cc07a4ed15d7c1b900199c94cd7d9475f202... |
<?php
declare(strict_types=1);
namespace ZendTest\Expressive\Tooling\MigrateInteropMiddleware;
use org\bovigo\vfs\vfsStream;
use PHPUnit\Framework\TestCase;
use Zend\Expressive\Tooling\MigrateInteropMiddleware\ConvertInteropMiddleware;
class ConvertInteropMiddlewareTest extends TestCase
{
use ProjectSetupTrait... | {
"content_hash": "3d3d62fcf5977dea018e6a7cc33f7b8b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 78,
"avg_line_length": 24.96551724137931,
"alnum_prop": 0.7140883977900553,
"repo_name": "zendframework/zend-expressive-tooling",
"id": "5ec913a7a318cf768d89ab9010ae95fb41922... |
namespace Google.Cloud.OsLogin.V1Beta.Snippets
{
// [START oslogin_v1beta_generated_OsLoginService_ImportSshPublicKey_sync_flattened2_resourceNames]
using Google.Cloud.OsLogin.Common;
using Google.Cloud.OsLogin.V1Beta;
public sealed partial class GeneratedOsLoginServiceClientSnippets
{
/// ... | {
"content_hash": "1e46db72f677210b89aea1a6074a351c",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 123,
"avg_line_length": 50.36666666666667,
"alnum_prop": 0.6909331568497684,
"repo_name": "googleapis/google-cloud-dotnet",
"id": "6259ed28c4c299857579c7070db8164094306e92",
... |
namespace Framework.Reflection.Impl
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Framework.Ioc;
using Framework.Refle... | {
"content_hash": "2ee60f7b48803c0dd2932994dc454e3e",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 176,
"avg_line_length": 33.72727272727273,
"alnum_prop": 0.48602638672152076,
"repo_name": "anwarjaved/Innosparx",
"id": "7e13b3fc1703989dfece40855b14857002d77711",
"size"... |
namespace Rosalia.Core.Api
{
using Rosalia.Core.Tasks;
public static partial class Extensions
{
public static ITask<T> ToTask<T>(this ITaskRegistry<T> registry) where T : class
{
return new SubflowTask<T>(registry, Identities.Empty);
}
public static ITask<TResu... | {
"content_hash": "609e4ef70bbcedf733c3370059b499bd",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 119,
"avg_line_length": 27.545454545454547,
"alnum_prop": 0.6122112211221122,
"repo_name": "rosaliafx/Rosalia",
"id": "51a4c283669344cde6c5881f3ae4cf5abd519a99",
"size": "6... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
using Newtonsoft.Json;
using System.Linq;
using STEP;
namespace IFC
{
/// <summary>
/// <see href="http://www.buildingsmart-tech.org/ifc/IFC4/final/html/link/ifcpredefinedpropertyset.htm"/>
/// </summary>
public abstract partial class If... | {
"content_hash": "ec61deaa96877f0ca4b0cc0cb4737aba",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 171,
"avg_line_length": 27.91891891891892,
"alnum_prop": 0.7734753146176185,
"repo_name": "ikeough/IFC-gen",
"id": "58bf84e7c99baf81480d7f179098e6b6b90821a3",
"size": "1035... |
<?php
namespace ExpressiveLogger;
class LoggerSystemErrorHandler implements ILoggerErrorHandler
{
public function __invoke(\Throwable $e)
{
error_log((string)$e, 0);
}
}
| {
"content_hash": "89bdf7fd6b9c322b7aaa4906fed4c066",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 61,
"avg_line_length": 17.454545454545453,
"alnum_prop": 0.6875,
"repo_name": "davidburger/expressive-logger",
"id": "10af333409238e060196b17e453e2efec5829364",
"size": "19... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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/html; charset=UTF-8" />
<title>faust... | {
"content_hash": "d61ddee0a20886b3b1d5e8267938e6e8",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 160,
"avg_line_length": 43.481751824817515,
"alnum_prop": 0.5949303340607689,
"repo_name": "ketchupok/csound.github.io",
"id": "a0c14116fb3823cb7726a6dc77c59655870e9748",
... |
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* @ClassName: ListFileServlet
* @Description: ... | {
"content_hash": "db20e07b998e8753ecdf71b8773684fb",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 103,
"avg_line_length": 34.63636363636363,
"alnum_prop": 0.6452318460192475,
"repo_name": "yuSniper/FileUpLoad-android-web",
"id": "675523795077d3e9a70b06c1dbeb7e593f5e8cda",... |
/*
Css Framework
=============
- see http://www.contentwithstyle.co.uk/Articles/17/a-css-framework
for more info.
*/
@import url("tools.css");
@import url("typo.css");
@import url("forms.css");
/*
Swap layout stylesheet:
layout-navtop-localleft.css
layout-navtop-subright.css
layou... | {
"content_hash": "69113af56db3ea00e5d95ae9f8922e53",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.6427145708582834,
"repo_name": "mrdon/gae-sandbox",
"id": "f142b702880afc660847e79512726a8881ebae4b",
"size": "50... |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : /bonfire/modules/migrations/</title>
<link rel="stylesheet" href="../../../sample.css" type="text/css">
<link rel="stylesheet" href="../../../samp... | {
"content_hash": "513e7b582eb068b46df3b2345cc74bbf",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 268,
"avg_line_length": 61.14563106796116,
"alnum_prop": 0.6617973959987298,
"repo_name": "inputx/code-ref-doc",
"id": "4aa8333bbcbe02ffa77dd58a42a7c6ad09470405",
"size": ... |
package com.alipay.api.request;
import com.alipay.api.domain.KoubeiQualityTestCloudacptCheckresultSubmitModel;
import java.util.Map;
import com.alipay.api.AlipayRequest;
import com.alipay.api.internal.util.AlipayHashMap;
import com.alipay.api.response.KoubeiQualityTestCloudacptCheckresultSubmitResponse;
import com.al... | {
"content_hash": "125f05ac897874d5bb3ba116f2d6a79b",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 143,
"avg_line_length": 22.605839416058394,
"alnum_prop": 0.7420083952211818,
"repo_name": "wendal/alipay-sdk",
"id": "271b63879e06944fb61871b55493fae87a651556",
"size": "... |
<?php
/**
* Configuration options for the link on an place
*/
return array(
/**
* Determines whether the link fields are shown in the administrator screens and whether they are seeded in the
* fake seeder
*/
'show' => true,
); | {
"content_hash": "bca4699233e520129f495c4ccedaca59",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 112,
"avg_line_length": 17.071428571428573,
"alnum_prop": 0.6778242677824268,
"repo_name": "FbF/Laravel-Places",
"id": "0e8983efd77274ac8442144422e16c7480c38f5e",
"size": "... |
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL,ALLOW_INVALID_DATES';
DROP SCHEMA IF EXISTS `espehel_ubilearn` ;
CREATE SCHEMA IF NOT EXISTS `espehel_ubilearn` DEFAULT CHARACTER SET utf8... | {
"content_hash": "c73d1cf11b299d149ce46cbba7d82358",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 99,
"avg_line_length": 36.53658536585366,
"alnum_prop": 0.6068090787716955,
"repo_name": "espehel/UbiLearn",
"id": "b0cfd9fa10900045ed3f07050d02d9580741eace",
"size": "1498... |
import sys, re
import math
import fileinput
from subprocess import *
from nlputil import *
import itertools
import time
import os.path
import traceback
############################################################################
# Quick Start #
#############... | {
"content_hash": "24e8b80c73dbe2c504eb48e46f391445",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 126,
"avg_line_length": 44.96491228070175,
"alnum_prop": 0.5562817011314866,
"repo_name": "utcompling/fieldspring",
"id": "3d20a77051781493a4e3569a2d271821aa41f4c3",
"size... |
layout: page
title: AhkIni()
tagline: Fast Ini lib with standard comment-linked support
ghlink: https://github.com/aviaryan/autohotkey-scripts/blob/master/Functions/AhkIni.ahk
---
<a href="http://www.autohotkey.com/board/topic/95162-">Ahk Board Topic</a>
<br /><br />
Class to perform Ini reading and writing op... | {
"content_hash": "c8f434d1b67a83d98ea79141a9cb3620",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 138,
"avg_line_length": 38.0989010989011,
"alnum_prop": 0.6700317277184886,
"repo_name": "aviaryan/aviaryan.github.com",
"id": "5868088ba0a738a9a87a89d1f0af9f48fa7a8078",
"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mém. Soc. Émul. Montbéliard, Sér. 2 5: 246 (1872)
#### Original name
Agaricus algidus Fr., 1821
### Remarks
null | {
"content_hash": "915e8ee2380119fc9d94e458413291ac",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 49,
"avg_line_length": 15.384615384615385,
"alnum_prop": 0.69,
"repo_name": "mdoering/backbone",
"id": "ce119a0ee2447b97fc48a969816f71b78f011c9d",
"size": "264",
"binary"... |
#region Copyright
//
// DotNetNuke® - http://www.dotnetnuke.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restric... | {
"content_hash": "9781a9a87241ceffe3dd34790057a37a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 116,
"avg_line_length": 42.08064516129032,
"alnum_prop": 0.6588731314679954,
"repo_name": "dnnsoftware/Dnn.AdminExperience.Extensions",
"id": "f4eb239592d60bf101602a51deca486... |
Small executable for invoking .NET methods in an assembly.
Useful in build steps.
NuGet package: https://www.nuget.org/packages/AssemblyInvoker/
## Usage
```
AssemblyInvoker.exe [assembly] [class] [method] [args...]
```
## Example
```
AssemblyInvoker.exe MyAssembly.dll SomeNamespace.MyClass RunThatCode "42"
``` | {
"content_hash": "0eec2378ed1845cc305b0a9086b445d3",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 73,
"avg_line_length": 18.764705882352942,
"alnum_prop": 0.7335423197492164,
"repo_name": "rasmuskl/AssemblyInvoker",
"id": "4c8ff68ae7026967fe47c3bd0d5fcd0d44afa448",
"siz... |
<?xml version="1.0"?>
<response><id>1200</id><name>Posséder un pouvoir magique lancé à un NLS supérieur</name><link></link><feat><id>519</id><nameId>pouvoir-magique-rapide</nameId><name>Pouvoir magique rapide</name><description>La créature peut utiliser un de ses pouvoirs magiques quasiment san... | {
"content_hash": "d148c97641aca33d3d2fa2f9490cfa9f",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 644,
"avg_line_length": 43.51851851851852,
"alnum_prop": 0.7165957446808511,
"repo_name": "KmeCnin/icosahedron",
"id": "358a39fffac86490a93b9b34c68ce85cdaa532e4",
"size": "... |
class AddReceiverEmailToMessage < ActiveRecord::Migration
def up
add_column :messages, :receiver_email, :string
execute(<<-SQL)
UPDATE messages SET receiver_email = users.email
FROM users
WHERE messages.receiver_id = users.id
SQL
change_column :messages, :receiver_email, :string, n... | {
"content_hash": "b962f1a767129a4b8cdd4f4927f8a541",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 22.5,
"alnum_prop": 0.6938271604938272,
"repo_name": "orchardpie/nochat",
"id": "de1b2afe2e59a10ea0f465713eb1703224c2378e",
"size": "405",
"binary"... |
import sys
import os
import urllib.parse
import requests
from deconstrst.builder import DeconstJSONBuilder
from sphinx.application import Sphinx
from sphinx.builders import BUILTIN_BUILDERS
def build(srcdir, destdir):
"""
Invoke Sphinx with locked arguments to generate JSON content.
"""
# I am a ter... | {
"content_hash": "9c6e241ad243d1403e70b4cb5ff102af",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 79,
"avg_line_length": 30.906666666666666,
"alnum_prop": 0.5763589301121657,
"repo_name": "ktbartholomew/preparer-sphinx",
"id": "8f5c5e37946dea3e89a3d599681295ad2175cf48",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<title>Digital Land Charges</title>
<head>
<link rel="stylesheet" href="/public/stylesheets/styles.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,700' rel='stylesheet' type='text/css'>
</head>
<body>
{{>includes/header}}
<... | {
"content_hash": "859cdc762bc3ca3aedfd470cfb9c9f3f",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 159,
"avg_line_length": 37.09375,
"alnum_prop": 0.4443508377796499,
"repo_name": "LandRegistry/lc-prototype",
"id": "4d30fde4e38767ec8bd965dee3b63544ed1eab82",
"size": "10... |
license: Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version ... | {
"content_hash": "92eeba3f8f383b4e81ef1458f305a746",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 315,
"avg_line_length": 35.26262626262626,
"alnum_prop": 0.6092810083070753,
"repo_name": "kant2002/cordova-docs",
"id": "5831039c7fb1ed081f4ee081db3a7ec4ed55dca9",
"size":... |
<!-- %APPDATA%\Notepad++\userDefineLang.xml -->
<!-- <NotepadPlus> -->
<UserLang name="protobuf" ext="proto" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" K... | {
"content_hash": "608d8c7269bd33d4c95ec30dec184af8",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 143,
"avg_line_length": 88.3076923076923,
"alnum_prop": 0.6395470383275261,
"repo_name": "ichenq/gist",
"id": "afcb972d61df67ac2b10185d4c94f1c8e1d65c37",
"size": "5740",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<style>
.button {
background-color: #FA58F4;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;... | {
"content_hash": "5fe8f5d153cd27a362025ba442a3f87d",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 140,
"avg_line_length": 45.84782608695652,
"alnum_prop": 0.7159791370317686,
"repo_name": "majaradichevich/majaradichevich.github.io",
"id": "7ed025a1c9e8db3faad7a92693291f6f... |
[](https://badge.fury.io/js/xgallerify)
[](https://badge.fury.io/bo/xGallerify)
[](https://www.jsdelivr.com/package/npm/xgallerify)
[![Status Depr... | {
"content_hash": "3d961c428d44fde1fda3cb01e29c75c5",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 265,
"avg_line_length": 40.50810810810811,
"alnum_prop": 0.692020282892981,
"repo_name": "xremix/xGallerify",
"id": "8a979d831078082ef4d52c24d3a1563a5b66c3d6",
"size": "75... |
import Data.List
--------------------------------------------------------------------------------
type RomanDigit = Char
type RomanNumber = [RomanDigit]
--------------------------------------------------------------------------------
digitValue :: RomanDigit -> Int
digitValue 'I' = 1
digitValue 'V' = 5
digitValue ... | {
"content_hash": "87ff66dacc2244e59a41949d19c9fe81",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 80,
"avg_line_length": 36.64912280701754,
"alnum_prop": 0.4155098133078028,
"repo_name": "dpieroux/euler",
"id": "226cc0415adca030d0f0e1e2ede4bb2c7d58486f",
"size": "2089",... |
package com.planet_ink.coffee_mud.Commands;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.pla... | {
"content_hash": "d3f1d06a0e3fbed84b651b6e9715fa4b",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 162,
"avg_line_length": 31.052325581395348,
"alnum_prop": 0.5942707358172626,
"repo_name": "bozimmerman/CoffeeMud",
"id": "9ec7df7cdb545358f3f1cb45bc862e134ee18db1",
"size... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Pr... | {
"content_hash": "bf72770ae67f3dc5fa02973b3b3c313a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.416666666666664,
"alnum_prop": 0.7425885755603759,
"repo_name": "LazarDL/TelerikHomeworks",
"id": "a4f669cd41e0a2301823e75601c1f992297b1cf2",
"siz... |
/*
* ESO Archive
*
* $Id: FITSCodec.java 4414 2004-02-03 16:21:36Z brighton $
*
* who when what
* -------------- ---------- ----------------------------------------
* Allan Brighton 1999/05/03 Created
*/
package jsky.image.fits.codec;
import java.io.BufferedInputStream;
import java.io.I... | {
"content_hash": "53ecfb579e43e3a30f6f5d0972e51442",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 91,
"avg_line_length": 32.9625,
"alnum_prop": 0.6069397042093287,
"repo_name": "arturog8m/ocs",
"id": "a02c7100d802ff0f0c2970efc4c39ad3c16cd8c6",
"size": "5274",
"binary... |
package main
import (
"fmt"
"io"
"io/ioutil"
"net/http"
"os"
"os/exec"
"path/filepath"
"strconv"
"syscall"
"github.com/gorilla/mux"
"github.com/lxc/lxd/shared"
)
func containerFileHandler(d *Daemon, r *http.Request) Response {
name := mux.Vars(r)["name"]
c, err := containerLXDLoad(d, name)
if err != n... | {
"content_hash": "1af3d28433390a4e8c14aaef86c5ff35",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 95,
"avg_line_length": 22.880281690140844,
"alnum_prop": 0.6565096952908587,
"repo_name": "rcj4747/lxd",
"id": "5001dadd8882ad2c7e5faa07c200db8c088bc151",
"size": "3249",
... |
/**
* Boot up the Vue instance and wire up the router.
*/
var hn = {}
var Vue = require('vue')
var Router = require('director').Router
hn.app = new Vue(require('./app.vue'))
hn.router = new Router()
console.log('Initializing HAcker News Web Application....');
Vue.config.debug = false
hn.router.on('/', function () ... | {
"content_hash": "0191fbc6d9531fbaf2f146eba9cf939f",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 60,
"avg_line_length": 19.754716981132077,
"alnum_prop": 0.6332378223495702,
"repo_name": "denismars/hackernews",
"id": "2a9b368176ed24862e2559236c602b2ed2044ddd",
"size": ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("WC... | {
"content_hash": "f22071d838640eb2611b2fd89a2f87e5",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.52777777777778,
"alnum_prop": 0.7433309300648883,
"repo_name": "rohansen/Code-Examples",
"id": "8b18a70c0cd9801c752b63c3d437471b63cac4f5",
"size":... |
from django.core.exceptions import ImproperlyConfigured
from django.db import models
from django.template.loader import render_to_string
from django.utils.translation import ugettext_lazy as _
from feincms_simplegallery.util.mixins import OrderableMixin
try:
from feincms.admin.item_editor import FeinCMSInline
ex... | {
"content_hash": "68ea60a9c51772158e661525ccedbed1",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 69,
"avg_line_length": 28.305732484076433,
"alnum_prop": 0.5562556255625563,
"repo_name": "paramono/feincms_simplegallery",
"id": "247820a60c88b56208515dbbc8c5f965b9f3962a",... |
// Copyright 2007-2016 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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": "245064c5480ec6d797eac4aaed877f36",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 96,
"avg_line_length": 45.3109756097561,
"alnum_prop": 0.6616875252321357,
"repo_name": "SanSYS/MassTransit",
"id": "3649e2f63ae0b3c00ccb76e60251a36f04cd2e44",
"size": "74... |
from __future__ import unicode_literals
import re
from collections import namedtuple
from six import string_types
from prompt_toolkit.document import Document
from prompt_toolkit.filters import to_filter
from .base import Completer, Completion
from .word_completer import WordCompleter
__all__ = [
'FuzzyComplete... | {
"content_hash": "e679741a6612d58467c73e6d1fc51ba5",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 90,
"avg_line_length": 36.87134502923977,
"alnum_prop": 0.6413957176843775,
"repo_name": "lmregus/Portfolio",
"id": "83e602495a3ca41e62808b1b04390d59bdc5aa99",
"size": "63... |
/*
Use to fix hidden section headers behind the navbar when using links with targets
See: http://stackoverflow.com/questions/10732690/offsetting-an-html-anchor-to-adjust-for-fixed-header
*/
$jqTheme(document).ready(function() {
$jqTheme('a[href*=#]:not([href=#])').on('click', function() {
if (locati... | {
"content_hash": "9884e5d7f40cc6974bf18d4ea4124b20",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 109,
"avg_line_length": 38.96551724137931,
"alnum_prop": 0.588495575221239,
"repo_name": "ekoi/DANS-DVN-4.6.1",
"id": "fac5d6056f2aa4bb50ebb7a2b11c815968286905",
"size": "1... |
QUnit.module('Db');
QUnit.test("DB.collection() :: Create Collection", function() {
base.dbUp();
user = db.collection('user');
organisation = db.collection('organisation');
ok(user !== undefined, "Complete");
base.dbDown();
});
QUnit.test("DB.collection() :: Check that passing a collection to get a collection r... | {
"content_hash": "30471b5a25a84624440543baf924d89b",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 125,
"avg_line_length": 26.19047619047619,
"alnum_prop": 0.683030303030303,
"repo_name": "anywhichway/frx-example",
"id": "17901fa37d89f6819096ff8907e8ca2439a7c5f7",
"size"... |
const authenticate = require('./functions/authenticate.js');
const getMetadata = require('./functions/getMetadata.js');
const remoteRenameProject = require('./functions/remoteRenameProject.js');
const error = require('./functions/error.js');
const checkbox = require('./functions/checkbox.js');
const readline = require(... | {
"content_hash": "6f49ba6b683bd66621238910cc075675",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 107,
"avg_line_length": 39.292682926829265,
"alnum_prop": 0.6561142147734327,
"repo_name": "MaartenDesnouck/google-apps-script",
"id": "f00d2f4110d284d32053dff0c683738338de54... |
#ifndef __DISJOINTSETS_H__
#define __DISJOINTSETS_H__
class Roadmap;
class RoadmapNode;
struct DisjointSetsNode
{
friend class DisjointSets;
friend class RoadmapNode;
private:
DisjointSetsNode():
disjointSetsParent(this),
disjointSetsRank(0)
{
}
DisjointSetsNode* disjointSe... | {
"content_hash": "6c2a4515aa95353a274c4bb2895f4ba5",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 79,
"avg_line_length": 19.903225806451612,
"alnum_prop": 0.5623987034035657,
"repo_name": "qroph/motion-solver",
"id": "398c8ad3d11260bb1b611d7c0d2bfb920cbe6a85",
"size": "... |
<?php
require("crud.php");
delete(array('username'=>$_POST['username'])); | {
"content_hash": "28a78ccc8ca1e7fb46c0eadaa4d48199",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 46,
"avg_line_length": 18.5,
"alnum_prop": 0.6486486486486487,
"repo_name": "dnaextrim/ajax-crud-bootstrap",
"id": "289584c2896a1f2b2988a515e0a6328380a0d1e0",
"size": "74",
... |
CU_ErrorCode add_test_cut_rod();
#endif
| {
"content_hash": "9b7430db96dc7c49eb7524cf8289a2b7",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 32,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.7073170731707317,
"repo_name": "jungor/algorithms",
"id": "3a6d3af1e4840b18959333c4c6a49968a2325b8a",
"size": "110... |
AFSpritz
=======================
A complete Spritz SDK for iOS

##CocoaPods
AFSpritz is on [CocoaPods](http://cocoapods.org), so you can get the pod by adding this line to your Podfile
pod 'AFSpritz', '~> 1.3'
If not, just i... | {
"content_hash": "e4f53c3d36acabd1d1ebf5d72d4c4484",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 293,
"avg_line_length": 32.71559633027523,
"alnum_prop": 0.7120022434099832,
"repo_name": "sumitmundra/AFSpritz",
"id": "f1626dd8262eacbe3ba2835619098c500075ecec",
"size":... |
"""generated automatically by auto_dao.py"""
class DBChangeParameter(object):
vtType = 'changeParameter'
def __init__(self, moduleId=None, alias=None, functionId=None, function=None, parameterId=None, parameter=None, type=None, value=None):
self.__db_moduleId = moduleId
self.__db_alias = alia... | {
"content_hash": "0cde2962949e864950b0475889e6869f",
"timestamp": "",
"source": "github",
"line_count": 841,
"max_line_length": 149,
"avg_line_length": 33.72294887039239,
"alnum_prop": 0.6011071541906139,
"repo_name": "CMUSV-VisTrails/WorkflowRecommendation",
"id": "ccc0198c70be9785335dd0c00a4860486a... |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef _FX_FONT_H_
#define _FX_FONT_H_
#ifndef _FXCRT_EXTENSION_
#include "../../include/fxcrt/fx_ext.h"
#endif
#ifndef _FX_DIB_H_
#include "fx_dib.h"
#endif
typedef struct FT_FaceRec_* FXFT_Face;
typedef void* FXFT_Library;
class IFX_... | {
"content_hash": "72c5d6303273f18b1211616364ec6348",
"timestamp": "",
"source": "github",
"line_count": 433,
"max_line_length": 146,
"avg_line_length": 31.993071593533486,
"alnum_prop": 0.6539377752111456,
"repo_name": "CTSRD-SOAAP/chromium-42.0.2311.135",
"id": "bf9bb40500a60aa1d9fc1f59dec35715a169b... |
package freemarker.core;
import freemarker.template.TemplateModel;
import freemarker.template.TemplateSequenceModel;
/**
* Indicates that a {@link TemplateSequenceModel} value was expected, but the value had a different type.
*
* @since 2.3.21
*/
public class NonSequenceException extends UnexpectedTypeExceptio... | {
"content_hash": "bafdac181d1840c0e727a1f1109723ed",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 118,
"avg_line_length": 30.829787234042552,
"alnum_prop": 0.694271911663216,
"repo_name": "ekollof/DarkUniverse",
"id": "1fd9b797ca2f949ba78c4b5e53fc79fcf145fa83",
"size": ... |
class RailsExceptionHandler
class InstallGenerator < Rails::Generators::Base
desc "Copy initialization file"
source_root File.expand_path('../templates', __FILE__)
class_option :template_engine
def copy_initializer
copy_file 'rails_exception_handler.rb', 'config/initializers/rails_exception_han... | {
"content_hash": "d4f8d1a6955363d96bc916f7ab59abcc",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 94,
"avg_line_length": 31.545454545454547,
"alnum_prop": 0.729106628242075,
"repo_name": "Sharagoz/rails_exception_handler",
"id": "88cff4e733cb6ac7257191757957312048fd8ed4",... |
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading;
using Correspondence.Mementos;
namespace Correspondence.UnitTest
{
[TestClass]
public class ThreadSafeHashCodeTest
{
private const int K... | {
"content_hash": "c8715a9cfb93475f9cd77d751a3ff8da",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 102,
"avg_line_length": 27.698630136986303,
"alnum_prop": 0.5613254203758655,
"repo_name": "michaellperry/Correspondence",
"id": "96b7aa5ff8be3a7d863d5e3d7c133e93a56495f0",
... |
package org.shaolin.bmdp.designtime.orm;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.shaolin.bmdp.datamodel.bediagram.BEListType;
import org.shaolin.bmdp.datamodel.bediagram.BEObjRefType;
import org.shaolin.bmdp.datamodel.bediagram... | {
"content_hash": "65d67eead625a7e4fcb6df0d83fa8684",
"timestamp": "",
"source": "github",
"line_count": 410,
"max_line_length": 109,
"avg_line_length": 35.646341463414636,
"alnum_prop": 0.6704071159767362,
"repo_name": "shaolinwu/uimaster",
"id": "77bdc4da56533ef28ea08df42001b170342ef1fb",
"size": ... |
require File.expand_path("../../Abstract/abstract-php-extension", __FILE__)
class Php55Kafka < AbstractPhp55Extension
init
desc "PHP extension for Apache Kafka"
homepage "https://github.com/EVODelavega/phpkafka/"
url "https://github.com/EVODelavega/phpkafka/archive/6a0908803ab6e9d862097e99f84aeb0fff9ecf03.tar.... | {
"content_hash": "a4e3a7c8d1748c171f12ccb025d89801",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 103,
"avg_line_length": 33.44,
"alnum_prop": 0.6985645933014354,
"repo_name": "dguyon/homebrew-php",
"id": "b9944bd30ef1cd6604e11ce04f362cde6524291e",
"size": "836",
"bin... |
// Copyright 2014 Frank A. Krueger
//
// 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 ... | {
"content_hash": "3a1e0070319a6d3cff8e65ff4051602e",
"timestamp": "",
"source": "github",
"line_count": 4119,
"max_line_length": 210,
"avg_line_length": 28.615440640932267,
"alnum_prop": 0.6365479735634232,
"repo_name": "praeclarum/Netjs",
"id": "9e45ebaf479636cb170aeb12497440fdfabc2fd4",
"size": "... |
<?php
namespace Ongoing;
class ArticleClass
{
/**
* @var int $SystemId
*/
protected $SystemId = null;
/**
* @var string $Name
*/
protected $Name = null;
/**
* @var string $ArticleNumber
*/
protected $ArticleNumber = null;
/**
* @var string $ProductCod... | {
"content_hash": "bb2d75d9f78ad1c06f6b5d18f78194b6",
"timestamp": "",
"source": "github",
"line_count": 775,
"max_line_length": 68,
"avg_line_length": 18.587096774193547,
"alnum_prop": 0.5628601180145782,
"repo_name": "starweb/ongoing",
"id": "f2a7e409538cd86154c45019c409a9804dc175d5",
"size": "144... |
package io.github.ibuildthecloud.gdapi.id;
import io.github.ibuildthecloud.gdapi.factory.SchemaFactory;
import java.util.Collections;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.WeakHashMap;
import javax.inject.Inject;
public class TypeIdFormatter implements IdFormatter {
... | {
"content_hash": "f43fcd6da2b494d1fcb76996be0caff3",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 107,
"avg_line_length": 25.243243243243242,
"alnum_prop": 0.5724482512491078,
"repo_name": "gpndata/cattle",
"id": "ad8bce82f00ce54fe055558c93cfa806f222fadb",
"size": "280... |
package dagger.hilt.android.processor.internal.customtestapplication;
import static net.ltgt.gradle.incap.IncrementalAnnotationProcessorType.ISOLATING;
import com.google.auto.service.AutoService;
import com.google.common.collect.ImmutableSet;
import dagger.hilt.processor.internal.BaseProcessor;
import dagger.hilt.p... | {
"content_hash": "9dd88798f24882ef751ddbcb60d1082e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 85,
"avg_line_length": 38.5,
"alnum_prop": 0.8238636363636364,
"repo_name": "google/dagger",
"id": "fd1a6c87dc6018232fe056c8d2bb155f332acc43",
"size": "1834",
"binary": f... |
using System;
using System.Xml;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Globalization;
using System.Diagnostics;
using System.Reflection;
using MS.Utility;
#if !PBTCOMPILER
using System.Windows;
using System.Windows.Navigation;
using System.Windows.Threading;
#endif
#i... | {
"content_hash": "ecaf372102fde4b58aa12024ad23978b",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 132,
"avg_line_length": 36.07471264367816,
"alnum_prop": 0.5879400987732993,
"repo_name": "lindexi/lindexi_gd",
"id": "6980a358e3824e57f1f033f529b93204f3a790cc",
"size": "... |
package scenes;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import org.jbox2d.collision.AABB;
import org.jbox2d.common.Vec2;
import org.jbox2d.dynamics.World;
import org.mt4j.MTApplication;
import org.mt4j.components.MTComponent;
import org.mt4j.components.Trans... | {
"content_hash": "32f9cbb3598470ce8f642b7415a3ff84",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 154,
"avg_line_length": 37.33003300330033,
"alnum_prop": 0.7231014057112546,
"repo_name": "Multec/Multec_IM_13_1",
"id": "a260e35e44109973900c8640384505d2a23c062a",
"size"... |
package com.datastax.driver.core;
import com.datastax.driver.core.utils.Bytes;
import org.testng.annotations.Test;
import java.nio.ByteBuffer;
import java.util.List;
import static org.assertj.core.api.Assertions.assertThat;
public class RPTokenFactoryTest {
Token.Factory factory = Token.RPToken.FACTORY;
@... | {
"content_hash": "8ede0592c051028be18b5e93d4dec801",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 135,
"avg_line_length": 37.554054054054056,
"alnum_prop": 0.6527527887729399,
"repo_name": "tolbertam/java-driver",
"id": "42c3b78f00ee440731560c47510be5d58cb432ce",
"size"... |
author: "Adam Presley"
date: 2009-12-17T16:41:00Z
tags: ["development", "coldfusion", "openbd"]
title: "SES URLs with OpenBD and Google App Engine"
slug: "ses-urls-with-openbd-and-google-app-engine"
---
A little tidbit that I though I'd share. While playing with the Google
App Engine (GAE) version of the OpenBD CFML e... | {
"content_hash": "ac76a6ca02d54d874e214b79155058cf",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 82,
"avg_line_length": 37.4,
"alnum_prop": 0.7677616501145913,
"repo_name": "adampresley/adampresley.github.io",
"id": "df11a88f9b8e67a968b7e30ca8c1220abbda66bf",
"size": "... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | {
"content_hash": "8c4bcf4bac0c06d9f088c5716bac9a7e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 83,
"avg_line_length": 35.31578947368421,
"alnum_prop": 0.6676602086438153,
"repo_name": "mbrowne/typescript-dci",
"id": "a5ae89491af00620a4f6c228f0c4fa482059e418",
"size":... |
function ClusterConfig(params) {
var self = this;
self.clusterConfig = undefined;
self.loading = true;
var refreshConfig = function () {
ApiHelper.getInstance().getClusterConfig(params).done(function (data) {
if (data.status === 0) {
self.loading = false;
self.clusterConfig = data;
... | {
"content_hash": "13a83d4a97fe0c711ae6314b8af1d8e5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 75,
"avg_line_length": 28.18918918918919,
"alnum_prop": 0.6395014381591563,
"repo_name": "xq262144/hue",
"id": "c35f880fbf1d995cf4591b131993e293f1839a1b",
"size": "1829",
... |
<?php defined('BX_DOL') or die('hack attempt');
bx_import('BxBaseModTextGridAdministration');
class BxPostsGridAdministration extends BxBaseModTextGridAdministration
{
public function __construct ($aOptions, $oTemplate = false)
{
$this->MODULE = 'bx_posts';
parent::__construct ($aOptions, $oTemp... | {
"content_hash": "b3eebe65f03d7cb2f145a0aff84fb161",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 71,
"avg_line_length": 23.066666666666666,
"alnum_prop": 0.6705202312138728,
"repo_name": "boonex/trident",
"id": "dbad54436081838bf115a1d07e4589de5d88ee33",
"size": "549",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "0f49116b5f551c23649efa5d82ab2e54",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c3dade443f1155c7f0d711f00d5bdff969219f2e",
"size": "175... |
"""
This file contains the class definition for the sampler MCMCSample classes.
"""
__author__ = 'Brandon C. Kelly'
import numpy as np
from matplotlib import pyplot as plt
import scipy.stats
import acor
class MCMCSample(object):
"""
Class for parameter samples generated by a yamcmc++ sampler. This class con... | {
"content_hash": "980848820bd3a467977f2cca42438c73",
"timestamp": "",
"source": "github",
"line_count": 408,
"max_line_length": 120,
"avg_line_length": 44.97794117647059,
"alnum_prop": 0.597896572393875,
"repo_name": "brandonckelly/carma_pack",
"id": "057afae722b9581e6d0186bfd2cd44395214b0dc",
"siz... |
package com.connectsdk.service.netcast;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
public class NetcastApplicationsParser extends DefaultHandler {
public JSONArra... | {
"content_hash": "68ce7f17417ccb330caaaf63560ba0ec",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 117,
"avg_line_length": 30.355263157894736,
"alnum_prop": 0.6042479410489814,
"repo_name": "david-fenton/Connect-SDK-Cordova-Plugin-Android",
"id": "6b04090e5209e686226c29945... |
using System;
using System.Globalization;
namespace Cauldron
{
/// <summary>
/// Provides useful methods regarding <see cref="DateTime"/>
/// </summary>
public static class Utilities
{
/// <summary>
/// Returns the <see cref="DateTime"/> representation of the year and week of year
... | {
"content_hash": "9ff49df65b4eabed00b9a1bde6b5a49c",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 146,
"avg_line_length": 41.13559322033898,
"alnum_prop": 0.6279357231149567,
"repo_name": "Capgemini/Cauldron",
"id": "c972de0f6e1fa14108c047b80166288804a9a452",
"size": "2... |
using TermWin
tshow( Main, title="Main" )
| {
"content_hash": "815febf15f1b81936c73ead77808eaab",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 27,
"avg_line_length": 11,
"alnum_prop": 0.6818181818181818,
"repo_name": "JuliaPackageMirrors/TermWin.jl",
"id": "6b605cd987ac19e48f8a9ba8d979a43ec6a86ab8",
"size": "44",
... |
<?php
declare(strict_types=1);
namespace ProxyManager\ProxyGenerator\LazyLoadingGhost\MethodGenerator;
use ProxyManager\Generator\MagicMethodGenerator;
use Zend\Code\Generator\ParameterGenerator;
use ProxyManager\ProxyGenerator\LazyLoadingGhost\PropertyGenerator\PrivatePropertiesMap;
use ProxyManager\ProxyGenerator... | {
"content_hash": "60561ca2269013dfa7d14ec23300fa0f",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 111,
"avg_line_length": 32.67857142857143,
"alnum_prop": 0.6170491803278688,
"repo_name": "rainlike/justshop",
"id": "20e352f3406e94a67e33bb68403367837a17b5f3",
"size": "5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.