text stringlengths 2 1.04M | meta dict |
|---|---|
namespace makuappu{
export class IconForm extends ComponentForm{
constructor(){
super();
// group main
let groupMain: GroupField = new GroupField();
groupMain.name = "Main";
groupMain.fields.push(new Inp... | {
"content_hash": "5958fed3a0298652a495fbec316cb142",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 32.64,
"alnum_prop": 0.5159313725490197,
"repo_name": "ruihbanki/makuappu",
"id": "db28e9f03340934ed1bc696dc8216af0aa99d4a3",
"size": "874",
"binar... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b45ca830ac6e487b2ba53a07da6ae308",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "c7a631a44637c499ed3ac7097926f226f74fc58d",
"size": "179... |
package org.apache.lucene.search;
import java.io.IOException;
import org.apache.lucene.index.*;
abstract class PhraseScorer extends Scorer {
private Weight weight;
protected byte[] norms;
protected float value;
private boolean firstTime = true;
private boolean more = true;
protected PhraseQueue pq;
... | {
"content_hash": "aafb4e6d6e6a687cfdc3870d340ef60d",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 90,
"avg_line_length": 27.35,
"alnum_prop": 0.5625489683990598,
"repo_name": "lpxz/grail-lucene358684",
"id": "311b20e5122f62870fb52f4539566aa4a1b3bc99",
"size": "4443",
... |
/**
*
* @author xiaoping (edwardhjp@gmail.com)
* @type js
*
*/
const
koa = require('koa'),
onerror = require('koa-onerror'),
cors = require('koa-cors'),
requestLog = require('./middlewares/requestLog'),
execTime = require('./middlewares/execTime'),
api = require('./routes/api'),
config = require('./... | {
"content_hash": "428b72ba36051e704694237f31b82b29",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 53,
"avg_line_length": 19.571428571428573,
"alnum_prop": 0.6326034063260341,
"repo_name": "excaliburhan/api-es6",
"id": "d4a1cc45f01c7af4798005ec82f6d7209606a899",
"size": ... |
<!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" xml:lang="fr"
lang="fr" dir="ltr">
<!-- Mirrored from 2012.pgday.fr/utilisation_de_foreign_data_wrappers_dans_differents_contextes?do=index by HTTrack W... | {
"content_hash": "d1c602c5475117283fa964f1959fa168",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 444,
"avg_line_length": 54.545801526717554,
"alnum_prop": 0.6779091736057659,
"repo_name": "postgresqlfr/2012.pgday.fr",
"id": "f93a454fe9774af2035ccd52e183b382b92931a8",
... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Gradient Fill 1</title>
<link rel="stylesheet" href="../include/style.css">
</head>
<body>
<header>
Example from <a href="http://amzn.com/1430236655?tag=html5anim-20"><em>Foundation HTML5 Animation with JavaScript</em></a>
</h... | {
"content_hash": "1863a0bb1816f9ea2153ed5ea9cb82bc",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 128,
"avg_line_length": 31.225806451612904,
"alnum_prop": 0.5785123966942148,
"repo_name": "yangjunjun/examples",
"id": "cf9f3be1598bf4111ecc30ab30f1139f5842e925",
"size": ... |
package org.apache.cassandra.tools;
import java.io.IOException;
import java.io.PrintStream;
import java.lang.management.ManagementFactory;
import java.lang.management.MemoryMXBean;
import java.lang.management.MemoryUsage;
import java.lang.management.RuntimeMXBean;
import java.net.InetAddress;
import java.net.UnknownH... | {
"content_hash": "95b18fd00c11039e603735e48dbfa25b",
"timestamp": "",
"source": "github",
"line_count": 1339,
"max_line_length": 280,
"avg_line_length": 33.42419716206124,
"alnum_prop": 0.6386102111495923,
"repo_name": "guanxi55nba/db-improvement",
"id": "d495786bd9c1979e46a056d76e04f4ab7d2c6960",
... |
import { Http, Response, Headers,RequestOptions } from '@angular/http';
import 'rxjs/add/operator/map'
import { Observable } from 'rxjs/Observable';
import {Injectable} from '@angular/core';
import {Configuration} from './config';
@Injectable()
export class EventService {
private config = new Configuration();
... | {
"content_hash": "62f582653f042f7537b453f065d9698d",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 209,
"avg_line_length": 59.6687898089172,
"alnum_prop": 0.6520068317677199,
"repo_name": "collab-uniba/scriba",
"id": "884869ab303a955594d777040b38021d258c7a12",
"size": "... |
import pandas as pd
import numpy as np
data = pd.read_csv("data.csv")
# TODO: Separate the features and the labels into arrays called X and y
X = None
y = None | {
"content_hash": "5a9490456d2cffd854669be7f22bd0da",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 71,
"avg_line_length": 18,
"alnum_prop": 0.7222222222222222,
"repo_name": "hetaodie/hetaodie.github.io",
"id": "2015822421b9ed892cd2c214ebe8e24a6a46bbad",
"size": "162",
"... |
module Pageflow
module ActiveAdminPatches
module Views
module AttributesTable
def boolean_status_tag_row(name, yes_state = :warning)
status_tag_row(name,
[I18n.t('active_admin.status_tag.yes'), '-'],
[yes_state, nil])
end
p... | {
"content_hash": "3560f7bc8107be8b6359e8a997462b63",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 97,
"avg_line_length": 27.161290322580644,
"alnum_prop": 0.48812351543942994,
"repo_name": "codevise/pageflow",
"id": "cf2dce10fac624c77d5b6bdf36be5966b4791704",
"size": "8... |
@charset "UTF-8";
/* CSS Document */
<style type="text/css">
#tfheader{
background-color:#c3dfef;
}
#tfnewsearch{
float:right;
padding:20px;
}
.tftextinput{
margin: 0;
padding: 5px 15px;
font-family: Arial, Helvetica, sans-serif;
font-size:14px;
border:1px solid #0076a3; border-right:0px;
border... | {
"content_hash": "8711cca2758849182ffe688bff1c90db",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 87,
"avg_line_length": 24.372549019607842,
"alnum_prop": 0.6790024135156878,
"repo_name": "guy00030/ecommerce-website",
"id": "8e8b5026bb8050f005aeec7a06338062f8dedd35",
"s... |
close all
data_load = 0;
if data_load ~= 0
load_data;
end
% get the models from test data set
[linear_model,linear_lower_limit,linear_upper_limit,...
non_linear_model,ref_levels,ref_indexes] = calculate_pixel_models(model_pixels,light_level);
figure('Name','Linear model');
plot(linear_model);
figure('Name','N... | {
"content_hash": "6ce99430bdac00a9c95dce386b21d784",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 96,
"avg_line_length": 25.857142857142858,
"alnum_prop": 0.7209944751381215,
"repo_name": "danielojames/4yp",
"id": "8a0cd7146467f6d24aaf1c8733518d42798ad917",
"size": "362... |
* Add a config for the method name (#6)
### [ver 0.0.2](https://github.com/shiraji/new-instance-inspection/releases/tag/v0.0.2)
* Fix #2
### [ver 0.0.1](https://github.com/shiraji/new-instance-inspection/releases/tag/v0.0.1)
* Initial release
| {
"content_hash": "86ba849482536b63bf3b0ea119e14280",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 87,
"avg_line_length": 27.444444444444443,
"alnum_prop": 0.6923076923076923,
"repo_name": "shiraji/new-instance-inspection",
"id": "4df547b4c0447fc1737d9dee19a86539df221d75",
... |
<?xml version="1.0" encoding="utf-8"?>
<com.ce.game.myapplication.view.pincode.RippleView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/pin_code_keyboard_button_ripple"
android:layout_width="wrap_content"
android:layou... | {
"content_hash": "fcc2a25cd794eeb11733ffbf90146bff",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 65,
"avg_line_length": 40.6764705882353,
"alnum_prop": 0.6999276934201012,
"repo_name": "KyleCe/MyTestApplication",
"id": "ed000d31892c9d96020e55e2904c494ac12bb4b5",
"size"... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "shell.h"
#include "jerryscript.h"
#include "jerryscript-ext/handler.h"
#include "jerryscript-port.h"
/**
* Standalone Jerry exit codes
*/
#define JERRY_STANDALONE_EXIT_CODE_OK (0)
#define JERRY_STANDALONE_EXIT_CODE_FAIL (1)
/**
* Register a J... | {
"content_hash": "a095bb990cf525f04f13312cecf8ed8b",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 103,
"avg_line_length": 24.53061224489796,
"alnum_prop": 0.6501663893510815,
"repo_name": "akosthekiss/jerryscript",
"id": "28b9df84ad9ed35924024b9410af73f2e362269b",
"size... |
// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FROM_PYTHON_AUX_DATA_DWA2002128_HPP
# define FROM_PYTHON_AUX_DATA_DWA2002128_HPP
# include <boost/python/converter... | {
"content_hash": "91a6eef0c4eac8c52555843945de0299",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 105,
"avg_line_length": 43.45,
"alnum_prop": 0.7167516028275522,
"repo_name": "Owldream/Ginseng",
"id": "0b446e39561340e12e6b708b8b932776552dd437",
"size": "6083",
"bina... |
package at.ac.tuwien.inso.integration_tests;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;
import org.springframework.boot.test.context.... | {
"content_hash": "a72c6ab0ae2249d605a65a5468515200",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 115,
"avg_line_length": 34.76699029126213,
"alnum_prop": 0.7581681094666294,
"repo_name": "university-information-system/uis",
"id": "17e8c307046994305241b15ffc72d68e3ef2771... |
(function() {
'use strict';
angular
.module('localbiz.wordpress', [
'ionic',
'localbiz.common'
])
.config(function($stateProvider) {
$stateProvider
.state('app.wordpress-articles', {
url: '/wordpress-articles',
views: {
'menuContent': {
templateUrl: 'scripts/wordpress/wordpr... | {
"content_hash": "7209928117da71c32bd6c3d6d8ad2d7e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 64,
"avg_line_length": 22.933333333333334,
"alnum_prop": 0.5988372093023255,
"repo_name": "skounis/ionic-stage",
"id": "e50e5e003dbe92c89e52237f2381e2145d661ca6",
"size": "... |
package gov.hhs.fha.nhinc.docsubmission.adapter.deferred.response;
import javax.annotation.Resource;
import javax.xml.ws.BindingType;
import javax.xml.ws.WebServiceContext;
import javax.xml.ws.soap.Addressing;
/**
*
* @author JHOPPESC
*/
@BindingType(value = javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_BINDING)
@Add... | {
"content_hash": "23a5a0449dc32e732477d8ea6601bbaa",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 108,
"avg_line_length": 34.869565217391305,
"alnum_prop": 0.7955112219451371,
"repo_name": "AurionProject/Aurion",
"id": "f239dee4dd55f3be228d0697c2b59b3694ac07ea",
"size":... |
"""Invoke tasks. To run a task, run ``$ invoke <COMMAND>``. To see a list of
commands, run ``$ invoke --list``.
"""
import os
import sys
import json
import platform
import subprocess
import logging
from time import sleep
import invoke
from invoke import Collection
from website import settings
from .utils import pip_i... | {
"content_hash": "5f468d1ea3d274bef4d23eb84e2f69d5",
"timestamp": "",
"source": "github",
"line_count": 985,
"max_line_length": 183,
"avg_line_length": 30.363451776649747,
"alnum_prop": 0.6368530159154742,
"repo_name": "crcresearch/osf.io",
"id": "63845570742f64c9a1392a1d26b6686bd5d97276",
"size": ... |
using System;
using System.Linq;
using System.Text.RegularExpressions;
/*Write a program that extracts from given HTML file its title (if available), and its body text without the HTML tags.
Example input: Output:
<html>
<head><title>News</title></head> ... | {
"content_hash": "66de58f8f272e2aa26738026af8ddbbe",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 270,
"avg_line_length": 42.17948717948718,
"alnum_prop": 0.5252279635258359,
"repo_name": "baretata/CSharpPartTwo",
"id": "15858837048edd5cd0df4e1044f6e2199f9da231",
"size"... |
package com.corejsf.util;
import javax.el.MethodExpression;
import javax.faces.component.UIComponent;
import javax.faces.event.FacesEvent;
import javax.faces.event.FacesListener;
public class MethodEvent extends FacesEvent {
private MethodExpression method;
private Object[] args;
public MethodEvent(UICom... | {
"content_hash": "427a53d4020212a217cabc9aa6c7e16d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 84,
"avg_line_length": 28.72,
"alnum_prop": 0.745125348189415,
"repo_name": "thescouser89/snippets",
"id": "ba3f605dbfcfcee1a32f540461ab7678123c08d0",
"size": "735",
"bin... |
UPDATE meta SET meta_value='61' WHERE meta_key='schema_version';
# Patch identifier
INSERT INTO meta (species_id, meta_key, meta_value)
VALUES (NULL, 'patch', 'patch_60_61_a.sql|schema_version');
| {
"content_hash": "a66388c43c514fa7ef4abe58a038bcc7",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 64,
"avg_line_length": 39.8,
"alnum_prop": 0.7236180904522613,
"repo_name": "willmclaren/ensembl",
"id": "fa3ee1c9747c8def8cf6b82a9f2bd9e2e45b189c",
"size": "985",
"binary... |
.. Pysllo documentation master file, created by
sphinx-quickstart on Tue May 31 19:45:48 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Pysllo's documentation!
**********************************
Pysllo is set of useful python l... | {
"content_hash": "38c9fd04dc178db4a2506fb588dc6a05",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 86,
"avg_line_length": 30.089285714285715,
"alnum_prop": 0.7056379821958457,
"repo_name": "kivio/pysllo",
"id": "5e6b778285feabf54d8a0b1c1a3b4b633445ecc9",
"size": "3370",... |
package main
import (
"fmt"
"time"
"github.com/golang/glog"
"github.com/yangsf5/claw/center"
"github.com/yangsf5/claw/service"
"github.com/yangsf5/moba/server/handler"
"github.com/yangsf5/moba/server/hero"
myService "github.com/yangsf5/moba/server/service"
"github.com/yangsf5/moba/server/service/room"
)
va... | {
"content_hash": "f2e421c63823f967cda7d19ae250badf",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 73,
"avg_line_length": 19.348837209302324,
"alnum_prop": 0.7055288461538461,
"repo_name": "yangsf5/moba",
"id": "1f85749bfefb7301839ba885eeea59eff1b05aef",
"size": "832",
... |
import numpy as np
import matplotlib.pyplot as plt
GREEN = '#009900'
# Read the training data into a numpy array.
data = np.loadtxt('train.csv', delimiter=',', skiprows=1)
# Extract elevation and classes.
elevations = data[:,1]
classes = data[:,55]
# Plot.
plt.plot(elevations, classes, color=GREEN, linestyle='None'... | {
"content_hash": "8ee8ffce6e7cb64ac6fc10b3b709f9aa",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 22.476190476190474,
"alnum_prop": 0.7033898305084746,
"repo_name": "aclissold/Forest-Cover",
"id": "61ea62253421036ed89fc0c85236cebf607bf191",
"size"... |
#include "tensorflow/lite/micro/all_ops_resolver.h"
#include "tensorflow/lite/micro/kernels/micro_ops.h"
namespace tflite {
namespace ops {
namespace micro {
namespace custom {
TfLiteRegistration* Register_ETHOSU();
const char* GetString_ETHOSU();
} // namespace custom
} // namespace micro
} // namespace ops
Al... | {
"content_hash": "a9e0db2de180538634198b44216c79ca",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 76,
"avg_line_length": 19.253012048192772,
"alnum_prop": 0.6714643304130162,
"repo_name": "davidzchen/tensorflow",
"id": "d722ec146fb5ac9a982319c5edb936785f9c7c72",
"size":... |
package com.github.pockethub.android.ui.issue;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.view.MenuItemCompat;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.SearchView;
import android.... | {
"content_hash": "92e121f1b83b272f8d3008336b013ff7",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 95,
"avg_line_length": 34.61417322834646,
"alnum_prop": 0.6956323930846224,
"repo_name": "KishorAndroid/PocketHub",
"id": "55b9cf02007fabaa485ec48b646a34f01b0c9f6e",
"size... |
#ifndef __ARRAY_H__
#define __ARRAY_H__
#include <stdexcept>
#include <iostream>
#include <sstream>
#include <initializer_list>
#include "exception.h"
/* Fierz ****************************
Diese Art den Array zu implementieren ist nicht sehr flexible, da Array's nur compatible sind, falls sie dieselbe ... | {
"content_hash": "45bd694c2101560697baca47cd59926c",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 129,
"avg_line_length": 22.781420765027324,
"alnum_prop": 0.41400815543295755,
"repo_name": "sosterwalder/bti7503",
"id": "e0b29701b75961361ed67232d571e4c9c4713a9a",
"size... |
using System.ComponentModel;
using DotNetNuke.UI.WebControls;
#endregion
namespace DotNetNuke.Security.Membership
{
/// -----------------------------------------------------------------------------
/// Project: DotNetNuke
/// Namespace: DotNetNuke.Security.Membership
/// Class: MembershipPro... | {
"content_hash": "5794b305e409dfdb457723471d926b0e",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 98,
"avg_line_length": 34.7265306122449,
"alnum_prop": 0.3804654442877292,
"repo_name": "robsiera/Dnn.Platform",
"id": "0b2a500d80abf329e1e48dcfdf7e7b5916d28c79",
"size": ... |
Promise based queue with rich API.
[](https://travis-ci.org/lividum/promise-que)
[](https://coveralls.io/github/lividum/promise-que?branch=master)... | {
"content_hash": "68e7c5be5a08a09bc7d298ca69fe31dd",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 460,
"avg_line_length": 33.62987012987013,
"alnum_prop": 0.7165475960610156,
"repo_name": "lividum/promise-que",
"id": "55efff747a899ebb90bf2495a94d410b029f7c7d",
"size": ... |
//Version: 002
/* NOTE: When compiling on windows, ensure that the linker search paths
include both freeglut\bin and freeglut\lib
*/
#include "Game.h"
#include <time.h>
void runMainLoop( int val );
/*
Pre Condition:
-Initialized freeGLUT
Post Condition:
-Calls the main loop functions and sets i... | {
"content_hash": "02e25dfc3282a0e13d367f93d48c5300",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 115,
"avg_line_length": 22.445945945945947,
"alnum_prop": 0.6688741721854304,
"repo_name": "dshavoc/StarSpar",
"id": "32e80426182d788c3deaed22583ff7f9d9eec458",
"size": "17... |
/**
* Module dependencies.
*/
var Task = require('./task')
, Namespace = require('./namespace')
, TargetCtx = require('./targetctx')
, debug = require('debug')('rivet');
/**
* `Rivet` constructor.
*
* @api public
*/
function Rivet() {
this.argv = {};
this.scratch = {};
this._tasks = {};
this._desc... | {
"content_hash": "78c8f527ff3307df9b916446e1c78955",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 87,
"avg_line_length": 21.276243093922652,
"alnum_prop": 0.6055569981822904,
"repo_name": "jaredhanson/rivet",
"id": "c3e16f5f970f8a996825f54fc4573b5dfbdc6d19",
"size": "3... |
namespace morphie {
namespace util {
using std::vector;
// A Record object consists of a vector of strings and a status object. If the
// status is ok(), the vector contains fields obtained by parsing one line of
// CSV input. If the status is not ok(), an error occurred when the Record was
// being populated. Both f... | {
"content_hash": "ede7fdb37be62dd3bf28e01298f2d5f4",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 80,
"avg_line_length": 39.090090090090094,
"alnum_prop": 0.6888684028578014,
"repo_name": "google/morphie",
"id": "8ea09be0848d59a0885410a08eac24d1f2709bd0",
"size": "6410... |
package com.haxademic.core.draw.image;
import com.haxademic.core.app.P;
import com.haxademic.core.draw.context.PG;
import processing.core.PConstants;
import processing.core.PGraphics;
public class TiledGrid {
protected PGraphics gridCell;
protected int tileSize;
protected int colorBg;
protected int colorStroke... | {
"content_hash": "cdd35fc6577c4e7e3a62249c5e83aeb3",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 91,
"avg_line_length": 27.789473684210527,
"alnum_prop": 0.7003787878787879,
"repo_name": "cacheflowe/haxademic",
"id": "b9dd25be639ef18cc428cd95f7e13cc3e032badb",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Linq2TwitterSample
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optional... | {
"content_hash": "dcc28da19aa0881a6b9bc1aa83aad202",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 102,
"avg_line_length": 30.595744680851062,
"alnum_prop": 0.7600834492350487,
"repo_name": "SotoiGhost/Linq2TwitterSample",
"id": "4197deb07c8adc0a020d77dec7abc30d27d93584",
... |
layout: update
date: 2018-07-12
title: Windows images update on July 12, 2018
platform: windows
---
## What's new
* [#2508](https://github.com/appveyor/ci/issues/2508) .NET Core 2.1.2
* [#2509](https://github.com/appveyor/ci/issues/2509) PostgreSQL 9.6.9 and 10.4
* [#2510](https://github.com/appveyor/ci/issues/2510) ... | {
"content_hash": "8871967dd1f54fef3a25bdfa48db125b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 135,
"avg_line_length": 40.92857142857143,
"alnum_prop": 0.7452006980802792,
"repo_name": "appveyor/website",
"id": "1ad1f6e2e596edf5c6dacccb963fd6f62102d2e1",
"size": "115... |
<?php
namespace SilverStripe\CMS\Tests\Model;
use Page;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Control\HTTPResponse_Exception;
use SilverStripe\Dev\FunctionalTest;
use SilverStripe\Security\Group;
use SilverStripe\Security\Member;
use SilverStripe\Security\Security;
use SilverStripe\SiteConfig\SiteConf... | {
"content_hash": "8c60bc303a43a1e9547db5e1e4593e23",
"timestamp": "",
"source": "github",
"line_count": 478,
"max_line_length": 186,
"avg_line_length": 41.12970711297071,
"alnum_prop": 0.631586978636826,
"repo_name": "silverstripe/silverstripe-cms",
"id": "24f1cb2b617a8f4736d1eafff74bda30d2057ce0",
... |
package org.codehaus.griffon.runtime.rmi;
import griffon.annotations.core.Nonnull;
import griffon.annotations.core.Nullable;
import griffon.plugins.rmi.RmiClient;
import griffon.plugins.rmi.RmiClientCallback;
import griffon.plugins.rmi.RmiClientFactory;
import griffon.plugins.rmi.RmiClientStorage;
import griffon.plug... | {
"content_hash": "a4ae380ddeecbc0fcfecc8e2b59da4c0",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 123,
"avg_line_length": 35.38666666666666,
"alnum_prop": 0.6857573474001507,
"repo_name": "griffon-plugins/griffon-rmi-plugin",
"id": "b1f72b3970df0d031f13db78dbac288c830cd58... |
SYNONYM
#### According to
Index Fungorum
#### Published in
Lich. Exkurs. Vestra Becking 17 (1872)
#### Original name
Bacidia antricola Hulting
### Remarks
null | {
"content_hash": "aedb63721590523a9bd9c3c83ae78eca",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 38,
"avg_line_length": 12.538461538461538,
"alnum_prop": 0.7177914110429447,
"repo_name": "mdoering/backbone",
"id": "dbda24152252648eecb76bc7b48b410a85bb6992",
"size": "21... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | {
"content_hash": "23a9fd9f51e73aabf86a9c21b56748ec",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 135,
"avg_line_length": 31.677685950413224,
"alnum_prop": 0.588051134881294,
"repo_name": "changweihua/ProjectStudy",
"id": "fca005eeafbba5a164509e748bbd446174f08582",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="list_text_size">16dp</dimen>
<dimen name="list_time_text_size">16dp</dimen>
<dimen name="date_text_size">12pt</dimen>
</resources> | {
"content_hash": "bf6512ec8e409dd625693f1766e5bbba",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 50,
"avg_line_length": 34.5,
"alnum_prop": 0.6570048309178744,
"repo_name": "xtien/motogymkhana-android",
"id": "8b97c76691cf7912ddc87c5e75d5ce1c99a6ff71",
"size": "207",
... |
namespace rubinius {
class SharedState;
namespace agent {
class VariableAccess;
class Output;
}
class Thread;
class QueryAgent : public thread::Thread {
struct Client {
enum State {
eUnknown,
eWaitingAuth,
eRunning
} state;
int socket;
int auth_k... | {
"content_hash": "67d1cd899e7f7fd8560c4a00e7f6e3e7",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 44,
"avg_line_length": 15.827586206896552,
"alnum_prop": 0.5246187363834423,
"repo_name": "takano32/rubinius",
"id": "9c71beeb90759867e8570ee9c9b69942b1eab56e",
"size": "2... |
package hu.sch.postprocessing.db;
import com.sun.identity.authentication.spi.AuthLoginException;
import com.sun.identity.shared.debug.Debug;
import java.sql.Connection;
import java.sql.SQLException;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.D... | {
"content_hash": "6d8c009a4d70b90a54757974404bacfb",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 96,
"avg_line_length": 36,
"alnum_prop": 0.6633333333333333,
"repo_name": "kir-dev/vir_postprocessing",
"id": "c97464ba1c93ec2867ce2b48be27432c96779593",
"size": "1800",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Thu Jun 18 14:08:37 EDT 2015 -->
<title>org.apache.cassandra.db.context Class Hierarchy (apache-cassandra API)</title>
<meta nam... | {
"content_hash": "7cc8335fbd2bf60b4a540a9ba0b146af",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 409,
"avg_line_length": 40.17123287671233,
"alnum_prop": 0.6363171355498721,
"repo_name": "anuragkapur/cassandra-2.1.2-ak-skynet",
"id": "d83c6bc69ca5ccb3f6247519ae5dd561a8c... |
<?php
/**
* Doctrine_Search_Analyzer
*
* @package Doctrine
* @subpackage Search
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @version $Revision$
* @link www.doctrine-project.org
* @since 1.0
... | {
"content_hash": "c7408a39915b5458f2775fe3b5daa4b3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 76,
"avg_line_length": 22.928571428571427,
"alnum_prop": 0.5950155763239875,
"repo_name": "hybmg57/jobeet",
"id": "18ce2ba0c33bcd9a71ccf22d30e2c35f0fe37f32",
"size": "1646"... |
 2
To use the casino skill, try saying...
* *A... | {
"content_hash": "1c49871b4d35346677000587d51dd0f8",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 274,
"avg_line_length": 42.56,
"alnum_prop": 0.6823308270676691,
"repo_name": "dale3h/alexa-skills-list",
"id": "8f218ed8d11b7dc99e186e6faaf03922cb3a2a72",
"size": "1161",
... |
package gong.audio;
/**
* This represents the audio data exception.
* @version 4.2, 13/05/2011
* @author Gibson Lam
*/
public class AudioDataException extends Exception {
/**
* Creates a new instance of the exception
* @param message the error message
*/
public AudioDa... | {
"content_hash": "ebaca6e1efae2d77d9e513183a2b5644",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 51,
"avg_line_length": 19.6,
"alnum_prop": 0.6045918367346939,
"repo_name": "obiba/nanogong",
"id": "fbce893de78238aeed42052e7556a21e974e13a9",
"size": "1034",
"binary": ... |
<?php
namespace app\controllers;
use Yii;
use yii\web\Controller;
use app\services\ToolService;
class HtmlController extends Controller
{
public function actionIndex()
{
$post = $_POST;
$html = $post['html'] ? $post['html'] : '';
$html = ToolService::noxxs($html);
return $this-... | {
"content_hash": "8bc8e94634fff0baf7f556eececc9db7",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 51,
"avg_line_length": 20.31578947368421,
"alnum_prop": 0.5647668393782384,
"repo_name": "flyflyhe/yii2-test",
"id": "aa13e4041a296d0116b4d3579a8537254d3e9c96",
"size": "38... |
package org.elasticsearch.search.runtime;
import static org.hamcrest.Matchers.equalTo;
public class GeoPointScriptFieldExistsQueryTests extends AbstractGeoPointScriptFieldQueryTestCase<GeoPointScriptFieldExistsQuery> {
@Override
protected GeoPointScriptFieldExistsQuery createTestInstance() {
return ... | {
"content_hash": "43b78bcf481c48eeaac5c1d9300c4a7b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 135,
"avg_line_length": 40.86486486486486,
"alnum_prop": 0.7453703703703703,
"repo_name": "robin13/elasticsearch",
"id": "4099fc9df7675c4174f5e261609de74b00d41a23",
"size":... |
<!DOCTYPE html>
<html>
<head>
<script src="../jspsych.js"></script>
<script src="../plugins/jspsych-survey-text.js"></script>
<link rel="stylesheet" href="../css/jspsych.css"></link>
</head>
<body></body>
<script>
var survey_page1 = {
type: 'survey-text',
questions: [
... | {
"content_hash": "1d95ccd2f06e2503017767a4fd89a75c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 120,
"avg_line_length": 26.470588235294116,
"alnum_prop": 0.5777777777777777,
"repo_name": "prosodylab/prosodylab-experimenter",
"id": "6702255d252bbdad3bdbf255b06295631af951... |
<?php
declare(strict_types=1);
namespace BEAR\Resource\Module;
use BEAR\Resource\Anchor;
use BEAR\Resource\AnchorInterface;
use BEAR\Resource\ExtraMethodInvoker;
use BEAR\Resource\Factory;
use BEAR\Resource\FactoryInterface;
use BEAR\Resource\HalLink;
use BEAR\Resource\Invoker;
use BEAR\Resource\InvokerInterface;
us... | {
"content_hash": "236bfd7a965830a4821d9efa32e32fd7",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 99,
"avg_line_length": 32.72727272727273,
"alnum_prop": 0.7472222222222222,
"repo_name": "bearsunday/BEAR.Resource",
"id": "8848918a037e3b27d87984e54b5ac0c19d58905f",
"size... |
package Paws::ElasticBeanstalk::DescribeEnvironmentHealthResult;
use Moose;
has ApplicationMetrics => (is => 'ro', isa => 'Paws::ElasticBeanstalk::ApplicationMetrics');
has Causes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
has Color => (is => 'ro', isa => 'Str');
has EnvironmentName => (is => 'ro', isa =>... | {
"content_hash": "bcb1b75050218a9c1e68585ce0d52092",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 94,
"avg_line_length": 23.84285714285714,
"alnum_prop": 0.6932294787297784,
"repo_name": "ioanrogers/aws-sdk-perl",
"id": "6748c278f9d379282345c0e77d752717b83cce5a",
"size"... |
wid=$(xdotool search --classname urxvtq)
if [ -z "$wid" ]; then
urxvt -name urxvtq -geometry 80x28 &
sleep 0.1
wid=$(xdotool search --classname urxvtq)
xdotool windowactive $wid
xdotool windowmove $wid 0 0
xdotool windowfocus $wid
#xdotool key Control_L+l
elif [ -z "$(xdotool search --onlyvisible --class... | {
"content_hash": "c6a95a400a3aca21b42f4241d9940809",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 82,
"avg_line_length": 27.705882352941178,
"alnum_prop": 0.7133757961783439,
"repo_name": "moraisaugusto/another-dotfiles",
"id": "5193fc7eb8a564735a042822a7cc1ebecd7fc057",
... |
package org.tensorflow.demo.video.video;
import java.io.IOException;
import org.tensorflow.demo.video.SessionBuilder;
import org.tensorflow.demo.video.rtp.H263Packetizer;
import android.graphics.ImageFormat;
import android.hardware.Camera.CameraInfo;
import android.media.MediaRecorder;
import android.service.textse... | {
"content_hash": "45d3e2a5bcd7e7e7ed1f504a2b61c774",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 129,
"avg_line_length": 30,
"alnum_prop": 0.7357843137254902,
"repo_name": "ran5515/DeepDecision",
"id": "3031ec415d0260c9cce7f7a2ba1fbf9e871549ba",
"size": "2911",
"bina... |
package org.frameworkset.nosql.mongodb;
import java.net.UnknownHostException;
import java.util.ArrayList;
import java.util.List;
import org.apache.log4j.Logger;
import com.frameworkset.util.StringUtil;
import com.mongodb.Bytes;
import com.mongodb.DBCollection;
import com.mongodb.DBObject;
import com.mong... | {
"content_hash": "c150008e3fd49f7930538795ab6d64ad",
"timestamp": "",
"source": "github",
"line_count": 458,
"max_line_length": 191,
"avg_line_length": 32.751091703056765,
"alnum_prop": 0.6788666666666666,
"repo_name": "lewis-ing/bbossgroups-3.5",
"id": "052b0f2624e3f9d9396123833f1bf5d2cf625ff8",
"... |
module Pageflow
# Options to be defined in the pageflow initializer of the main app.
class Configuration
# Default options for paperclip attachments which are supposed to
# use filesystem storage.
attr_accessor :paperclip_filesystem_default_options
# Default options for paperclip attachments which ... | {
"content_hash": "cefcf8766e49c91bdd9bcd6d1707c6ba",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 146,
"avg_line_length": 33.65413533834587,
"alnum_prop": 0.6662198391420912,
"repo_name": "Modularfield/pageflow",
"id": "7e72c22f6e1fcf8e04bafea505de7bbd8eddd66a",
"size"... |
require 'spec_helper'
describe SlackRubyBot::Commands do
let! :command do
Class.new(SlackRubyBot::Commands::Base) do
command 'nil_text'
def self.call(_client, data, _match)
send_message cilent, data.channel, nil
end
end
end
def app
SlackRubyBot::App.new
end
let(:client)... | {
"content_hash": "85f609d2e4e8edd581a001c2112a19e4",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 79,
"avg_line_length": 28,
"alnum_prop": 0.672360248447205,
"repo_name": "maclover7/slack-ruby-bot",
"id": "ec11abd043195d8566c723b2b4a3c8c99a65ef8a",
"size": "644",
"bin... |
class AddCaloriesToBeer < ActiveRecord::Migration
def change
add_column :beers, :calories, :integer
end
end
| {
"content_hash": "db8287a68644812c952bb2f640be1d19",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 49,
"avg_line_length": 23.2,
"alnum_prop": 0.75,
"repo_name": "Linell/BrewData",
"id": "981f41cddfc3b3ac0af53e98dcd3e708111de534",
"size": "116",
"binary": false,
"copie... |
import sys, os
# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
sys.path.insert(0, os.path.abspath('../../lib'))
sys.path.insert(0, os.path.abspath('../../examples'))
sys.path.insert(0, os.p... | {
"content_hash": "7d1a60d2e8eda9ee274383f03793242e",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 90,
"avg_line_length": 32.446236559139784,
"alnum_prop": 0.7143330571665286,
"repo_name": "simplegeo/sqlalchemy",
"id": "64d5c3ed32b08073476b890c1dfa043caa352c2b",
"size":... |
package com.esri.samples.statistical_query_group_and_sort;
import javafx.beans.binding.Bindings;
import javafx.beans.property.SimpleObjectProperty;
import javafx.beans.property.SimpleStringProperty;
import com.esri.arcgisruntime.data.QueryParameters;
/**
* Convenience bean class for representing OrderBy in a TableV... | {
"content_hash": "0f818516a2a72706963b69296fa71db3",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 111,
"avg_line_length": 29.903225806451612,
"alnum_prop": 0.7621359223300971,
"repo_name": "Esri/arcgis-runtime-samples-java",
"id": "5ad83ccb75b50c169ab2714d877c6d534111ade5... |
<?php
namespace Waldo\OpenIdConnect\ProviderBundle\Tests\Handler;
use Waldo\OpenIdConnect\ProviderBundle\Handler\AuthenticationSuccessHandler;
use Symfony\Component\HttpFoundation\Request;
/**
* AuthenticationSuccessHandlerTest
*
* @author valérian Girard <valerian.girard@educagri.fr>
*/
class AuthenticationSucc... | {
"content_hash": "3a81b7dc414d2df85ea8a19cf5a65e32",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 122,
"avg_line_length": 38.94,
"alnum_prop": 0.5749015579524054,
"repo_name": "waldo2188/OpenIdConnectProvider",
"id": "94356a16b78e59a6c4c9cbf84352ab2762140b53",
"size": ... |
package com.p4u.android.utils;
/**
* @ClassName: LogUtils
*
* @Description: Log的工具类
*
* @author ShaoZhen
*
* @date 2015-2-25 上午11:10:20
*/
public class LogUtils {
// log开关
public static boolean isDebug = true;
public static void v(String tag, String msg) {
if (isDebug)
android.util... | {
"content_hash": "52667cd7a66baccfc02b0b141abd0fdd",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 60,
"avg_line_length": 20.045454545454547,
"alnum_prop": 0.6439909297052154,
"repo_name": "ShaoZhen1005/DemoList",
"id": "0a6c559911690dfff861ed20db94e7337c3c84a3",
"size":... |
DRY_RUN=${DRY_RUN:-0}
GPG="gpg --pinentry-mode loopback --no-tty --batch"
YETUS_VERSION=${YETUS_VERSION:-0.11.1}
set -x
function error {
echo "$*"
exit 1
}
function read_config {
local PROMPT="$1"
local DEFAULT="$2"
local REPLY=
read -p "$PROMPT [$DEFAULT]: " REPLY
local RETVAL="${REPLY:-$DEFAULT}"
i... | {
"content_hash": "6380209b7fb90e77e667fc912d08cbbb",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 133,
"avg_line_length": 32.84,
"alnum_prop": 0.6361347949654892,
"repo_name": "francisliu/hbase",
"id": "471e7b2dfd72bdc94fca34dfda67211747f2e266",
"size": "13120",
"bin... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Sat Jan 10 13:59:26 CET 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... | {
"content_hash": "34c209aade8af052bf671732c146fbd6",
"timestamp": "",
"source": "github",
"line_count": 489,
"max_line_length": 352,
"avg_line_length": 55.42740286298569,
"alnum_prop": 0.6805268595041323,
"repo_name": "PhilippGrulich/HAW-SE2-projecthorse",
"id": "9d29dcc7cb324ced60b1cac5895cd084b8b65... |
class EventFlagHistory < ApplicationRecord
include AlertTags
has_paper_trail
belongs_to :event
belongs_to :user
def status=(string)
raise StandardError if (string != 'Active') && (string != 'Closed')
self.is_active = true if string == 'Active'
self.is_active = false if string == 'Closed'
end... | {
"content_hash": "46de577e8f6e5084ff8ad4dae6a28ad3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 71,
"avg_line_length": 21.666666666666668,
"alnum_prop": 0.676923076923077,
"repo_name": "ConOnRails/ConOnRails",
"id": "3cc4a6647a37f15a29079c95df01ed7413c94035",
"size": ... |
const int ABOUTDIALOG_COPYRIGHT_YEAR = 2013;
AboutDialog::AboutDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::AboutDialog)
{
ui->setupUi(this);
// Set current copyright year
ui->copyrightLabel->setText(tr("Copyright") + QString(" © 2009-%1 ").arg(COPYRIGHT_YEAR) + tr("The Bitcoin devel... | {
"content_hash": "9d083eee8e7d2f7fe97b6442a43bd81e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 261,
"avg_line_length": 24.551724137931036,
"alnum_prop": 0.6615168539325843,
"repo_name": "mybrocoin/mybrocoin",
"id": "40170e78f124ecf7d76413228a4fa283f55af73e",
"size": ... |
<?php
namespace Longman\TelegramBot\Commands\AdminCommands;
use Longman\TelegramBot\Request;
use Longman\TelegramBot\Conversation;
use Longman\TelegramBot\Commands\AdminCommand;
use Longman\TelegramBot\Entities\Message;
use Longman\TelegramBot\Entities\ReplyKeyboardHide;
use Longman\TelegramBot\Entities\ReplyKeyboar... | {
"content_hash": "f52b32aa96850545730cff0fd68a0d04",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 166,
"avg_line_length": 42.9079754601227,
"alnum_prop": 0.47369173577352014,
"repo_name": "mrXCray/XCrataPult.php",
"id": "0b4164becb86c98b8191356a5f6d9ff7a8ddd1f3",
"size... |
import sys
import os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.append(os.path.abspath('..'))
os.environ['DJANGO_SE... | {
"content_hash": "d0b43185dd16486700776f9a649c959c",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 97,
"avg_line_length": 32.86413043478261,
"alnum_prop": 0.7082851000496114,
"repo_name": "epicserve/django-categories",
"id": "0ffb72f78f23bd63818432b7e20f55826a3db3fc",
"... |
<!-- Services Section -->
<section id="services">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading">Waarom kijkdoos?</h2>
<h3 class="section-subheading text-muted"></h3>
... | {
"content_hash": "3d39d90f61228cbbfb1468b4d3586baf",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 163,
"avg_line_length": 51.108108108108105,
"alnum_prop": 0.45901639344262296,
"repo_name": "antoinekooren/antoinekooren.github.io",
"id": "21191605974b2c4668597ad33c6598a471... |
@implementation NSString (Fish)
+ (NSString *)generateRandomFishWithLength:(NSUInteger)length {
NSString *dictString = @"Уравнение времени мгновенно Часовой угол а там действительно могли быть видны звезды о чем свидетельствует Фукидид жизненно меняет экваториальный перигелий Движение несмотря на внешние воздейств... | {
"content_hash": "9e7fe6e89a04807583d7abd032588139",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 712,
"avg_line_length": 54.41379310344828,
"alnum_prop": 0.7319391634980988,
"repo_name": "DimaAvvakumov/DMTableTools",
"id": "9042ef247620b5512287c58095e1103e7ae8eee5",
"s... |
<?php
namespace Jy_Test\Controller;
use Think\Controller;
use Think\Model;
class ChannelDataController extends Controller {
public function index(){
//统计时间
$time = strtotime('2017-12-18',time());
$day = 24*60*60;
$model = new Model();
//渠道列表
$ChannelInfo = D('Jy_scri... | {
"content_hash": "cb7c93c06ad169632a437c348bc71a4e",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 110,
"avg_line_length": 49.601851851851855,
"alnum_prop": 0.4584655590815755,
"repo_name": "YeGithubAdmin/JYHD",
"id": "de26776fae9afe7573a951e014899dcade0fe07e",
"size": ... |
//
// KCSCachedStore.h
// KinveyKit
//
// Copyright (c) 2012-2013 Kinvey, Inc. All rights reserved.
//
// This software is licensed to you under the Kinvey terms of service located at
// http://www.kinvey.com/terms-of-use. By downloading, accessing and/or using this
// software, you hereby accept such terms of servi... | {
"content_hash": "d71f3852d6613f78e50f2fcb8304eb14",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 752,
"avg_line_length": 74.05172413793103,
"alnum_prop": 0.7881257275902211,
"repo_name": "KinveyApps/Scrumptious-iOS",
"id": "68d5ea3cb6859a0d3fddbde2fba049b557e889b6",
"... |
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/imagebuilder/model/EbsVolumeType.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
names... | {
"content_hash": "6c3a9c4eac198b385a2788cd5ffb02eb",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 135,
"avg_line_length": 31.78544061302682,
"alnum_prop": 0.6674300867888139,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "8d2c0c5ee884f4c4b06e6078ad30badbd5aecf08",
"size": ... |
package thesis.pointsandlinesmethods;
//A method to implement an Approximation Algorithm for reconstruction of heavy point configurations. See Ray Grossman's Princeton senior thesis for details.
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOExcep... | {
"content_hash": "4c202dab4baab4ae0d09ee4eb2fe6bcd",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 156,
"avg_line_length": 40.46913580246913,
"alnum_prop": 0.5250152532031727,
"repo_name": "Ray-Gr/On-Finding-and-Recovering-Heavy-Point-Configurations-Algorithmically",
"id"... |
{% load i18n %}
<div class="image_select">
<div class="row">
{% for choice_with_image in choices_with_images %}
{% with choice=choice_with_image.0 image=choice_with_image.1 %}
<div class="image_select-item">
<input id="{{ choice.id_for_label }}" name="{{ choice.data.name }}" class="filled... | {
"content_hash": "ca078f44fd2c8f4107f4dd5de19854b2",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 192,
"avg_line_length": 48.18181818181818,
"alnum_prop": 0.5858490566037736,
"repo_name": "UITools/saleor",
"id": "376e90f1558a03385e51b38418d429076f422630",
"size": "1060"... |
'use strict';
var mailgun = require('../lib/mailgun.js');
/*
======== A Handy Little Nodeunit Reference ========
https://github.com/caolan/nodeunit
Test methods:
test.expect(numAssertions)
test.done()
Test assertions:
test.ok(value, [message])
test.equal(actual, expected, [message])
test.... | {
"content_hash": "379490f5f80ab46e5a6a3a4340fcf93e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 67,
"avg_line_length": 25.694444444444443,
"alnum_prop": 0.6367567567567568,
"repo_name": "feltnerm/node-mailgun",
"id": "3981a8b4e12bbe7137e6f30abe2c10814706e4ea",
"size":... |
require 'arjdbc/railtie'
ArJdbc.deprecate "require 'arjdbc/railtie' instead of 'arjdbc/jdbc/railtie'" | {
"content_hash": "23bfc48e67eeb922da226949582b43d0",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 76,
"avg_line_length": 50.5,
"alnum_prop": 0.801980198019802,
"repo_name": "keeguon/activerecord-jdbc-adapter",
"id": "b15c3a5759fb0477a9dbae647bb7431cc311b5ae",
"size": "10... |
<?php
namespace Drupal\diff\Form;
use Drupal\Component\Utility\Xss;
use Drupal\Core\Entity\Query\QueryFactory;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\Core\Language\LanguageManagerInterface;
use Drupal\Core\Link;
use Drupal\diff\DiffEntityComparison... | {
"content_hash": "b253100e22d25e5626839e36b859ea49",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 315,
"avg_line_length": 34.355450236966824,
"alnum_prop": 0.5942198923989516,
"repo_name": "rlnorthcutt/acquia-cd-demo",
"id": "fcb6d50ed94644a312c5b35d3a6736972814951e",
... |
{% extends "bootstrap/base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block title %}
Demeter - AskMe SEO Service
{% endblock %}
{% block navbar %}
<div class="navbar navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class... | {
"content_hash": "51256a68d7e65bc10806aa026fec3cd9",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 136,
"avg_line_length": 49,
"alnum_prop": 0.4931972789115646,
"repo_name": "nitinmanchanda/demeter-ui",
"id": "5d275cee9c187e58ec88cd606483a8f2119123f5",
"size": "2940",
... |
mcollective_server_package = 'mcollective-1.3.1-2.el6'
mcollective_server_filename = 'mcollective-1.3.1-2.el6.noarch.rpm'
mcollective_server_local_path = "#{Chef::Config[:file_cache_path]}/#{mcollective_server_filename}"
mcollective_server_remote_path = "#{node[:mcollective][:package_host]}/#{mcollective_server_filenam... | {
"content_hash": "3dd6e92decbe2940de6754f8ac598a6b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 102,
"avg_line_length": 31.857142857142858,
"alnum_prop": 0.7376681614349776,
"repo_name": "tomcz/aws_rb",
"id": "01d2b21d5659d8027f7334a7345b4ecd43851bd7",
"size": "892",
... |
package com.teamwizardry.inhumanresources.common.entity.render;
import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelSlime;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.util.ResourceLocation;
import com.team... | {
"content_hash": "d7346da4693500642d3fcc867206af51",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 122,
"avg_line_length": 33.06976744186046,
"alnum_prop": 0.7623066104078763,
"repo_name": "murapix/Essence-Armory-2",
"id": "19e8a24c094787334366267aa9e6ed1a7668bb56",
"siz... |
from typing import List
import collections
class Solution:
def leastInterval(self, tasks: List[str], n: int) -> int:
histogram = collections.Counter(tasks)
sorted_histogram = histogram.most_common()
_, max_num_occ = sorted_histogram[0]
num_shared_occ = 0
for _, num_occ in so... | {
"content_hash": "064a3e9494d0a0a1eba59d44f69297a2",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 73,
"avg_line_length": 31,
"alnum_prop": 0.5448028673835126,
"repo_name": "AustinTSchaffer/DailyProgrammer",
"id": "58a373e817a58bab3d9496edfa16a4f0016a9da1",
"size": "558"... |
using System.Collections.Generic;
using UnityEngine;
namespace GameBuilder
{
// Some utilities for terrain.
public static class TerrainUtil
{
public const int BlockEdgeLength = 10;
public const int InstancesPerBlock = BlockEdgeLength * BlockEdgeLength * BlockEdgeLength;
const int L = BlockEdgeLeng... | {
"content_hash": "d3491b43dc0744249d2ec8b205d67bf9",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 99,
"avg_line_length": 26.628140703517587,
"alnum_prop": 0.5299113040196264,
"repo_name": "googlearchive/gamebuilder",
"id": "a03c7db548516f14f69c9c7b8009467e569b3604",
"s... |
namespace palo {
const char* ExprContext::_s_llvm_class_name = "class.palo::ExprContext";
ExprContext::ExprContext(Expr* root) :
_fn_contexts_ptr(NULL),
_root(root),
_is_clone(false),
_prepared(false),
_opened(false),
_closed(false) {
}
ExprContext::~ExprContext() {
... | {
"content_hash": "646e38f9f3e80a0e3984a35a57ddc004",
"timestamp": "",
"source": "github",
"line_count": 414,
"max_line_length": 95,
"avg_line_length": 30.497584541062803,
"alnum_prop": 0.5799144622208142,
"repo_name": "lingbin/palo",
"id": "594a3962c8ac93a9a7a626b8d91ab40b21e14ecb",
"size": "13825"... |
set -e
ROOTDIR=$(dirname "$0")/..
TARGET="${TARGET:-"//:scion"}"
bazel build $TARGET
DSTDIR=${1:-$ROOTDIR/licenses/data}
EXECROOT=$(bazel info execution_root 2>/dev/null)
rm -rf $DSTDIR
(cd $EXECROOT/external; find -L . -iregex '.*\(LICENSE\|COPYING\).*') | while IFS= read -r path ; do
dst=$DSTDIR/$(dirname $p... | {
"content_hash": "985c8511626f28549f5bdfe2a652ad9e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 100,
"avg_line_length": 28.857142857142858,
"alnum_prop": 0.7091584158415841,
"repo_name": "Oncilla/scion",
"id": "41510f46599c524c877a4c59b1c1d5a3de5ce356",
"size": "821",... |
http://ssokurenko.github.io/iphone-chats-app/
## Screenshot
![iphone chats screenshot][iphone]
[iphone]: /image_src/iphone-chats.png "iphone chats screenshot"
## Usage
1. Press the home button to reset
2. Type a message text to the input field and press enter or click the "Send" button
3. Create some messages
4. When... | {
"content_hash": "c4ceba45a1ef9d50017672dc91828b3e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 108,
"avg_line_length": 29.7,
"alnum_prop": 0.7171717171717171,
"repo_name": "ssokurenko/iphone-chats-app",
"id": "306fe63a6fd6896c0b6efc98dd9f62c623031c12",
"size": "940",... |
<?php
namespace Zend\Math;
use RandomLib;
/**
* Pseudorandom number generator (PRNG)
*/
abstract class Rand
{
/**
* Alternative random byte generator using RandomLib
*
* @var RandomLib\Generator
*/
protected static $generator = null;
/**
* Generate rando... | {
"content_hash": "b34df15527e094e8773ffa64ac425749",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 91,
"avg_line_length": 32.48019801980198,
"alnum_prop": 0.5206523395823808,
"repo_name": "trivan/ZF2-Dynamic-Routing",
"id": "393a64ce25b89d3b76ba32dcf4b668d9050821dc",
"s... |
<!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 : Variable Reference: $packet</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-print.css"... | {
"content_hash": "3a408ec11c4fdb26fabf086b4c9af43c",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 253,
"avg_line_length": 51.916666666666664,
"alnum_prop": 0.6663322632423756,
"repo_name": "inputx/code-ref-doc",
"id": "c493aba14bc93da2c745fa88f171288c32d8b480",
"size": ... |
{% if site.owner.disqus-shortname %}
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
//var disqus_shortname = 'leopoemaepapel'; // required: replace example with your forum shortname
var disqus_shortname = '{{ site.owner.disqus-shortname }}'; // ... | {
"content_hash": "a922f165d87fcd6a188af1ab14622102",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 131,
"avg_line_length": 53.4,
"alnum_prop": 0.6449438202247191,
"repo_name": "leopoemaepapel/leopoemaepapel.github.io",
"id": "bf765514bacacb22daf9a1e1e25c99942abc3ddf",
"s... |
package kvq
import (
"sync"
"testing"
"time"
"github.com/johnsto/go-kvq/kvq/backend"
"github.com/johnsto/go-kvq/kvq/internal"
"github.com/stretchr/testify/assert"
)
type MockBucket struct {
mutex sync.Mutex
data map[string][]byte
}
func NewMockBucket() *MockBucket {
return &MockBucket{
data: map[string]... | {
"content_hash": "76e9b7a3ef136b7a0b3bd09ecd1c1645",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 80,
"avg_line_length": 34.30534351145038,
"alnum_prop": 0.6779038718291055,
"repo_name": "johnsto/go-kvq",
"id": "dc2e96f30dd479c7e92a5a96fe7103e7d6271536",
"size": "8988"... |
import { Meteor } from 'meteor/meteor';
import { TemplateRenderer } from './../server_side_templates/TemplateRenderer';
import { MailFactory } from './MailFactory';
import { GlobalSettings } from '../config/GlobalSettings';
import { InfoItemFactory } from '../InfoItemFactory';
import { Topic } from '../topic';
export ... | {
"content_hash": "986b770c84775c8640d29552ab511a50",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 116,
"avg_line_length": 34.56603773584906,
"alnum_prop": 0.5646834061135371,
"repo_name": "Huggle77/4minitz",
"id": "4a5972daaedc90214be24a9b945d5108de26c3b1",
"size": "36... |
/**
* window.c.AdminExternalAction component
* Makes arbitrary ajax requests and update underlying
* data from source endpoint.
*
* Example:
* m.component(c.AdminExternalAction, {
* data: {},
* item: rowFromDatabase
* })
*/
import m from 'mithril';
import _ from 'underscore';
import h from '../h';
co... | {
"content_hash": "86d530d6fa25d003840c861fa6321e48",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 111,
"avg_line_length": 29.7,
"alnum_prop": 0.463973063973064,
"repo_name": "mikesmayer/citizensupported_english.js",
"id": "0040fec5aff09e0b9b7817c7f37b1beceffaa71f",
"si... |
echo "Restoring BigQuery output"
cp data/data_top30_projects_20200101_20210101.csv data/unlimited.csv
echo "Adding Linux kernel data"
ruby add_linux.rb data/unlimited.csv data/data_linux.csv 2020-01-01 2021-01-01
# Don't forget to add exception to map/ranges.csv when adding projects pulled with different BigQuery (spec... | {
"content_hash": "74a1e64a32323911e869f0279dc6aa88",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 184,
"avg_line_length": 66.67213114754098,
"alnum_prop": 0.8082124416031473,
"repo_name": "cncf/velocity",
"id": "82ebfe94377be81c2e89cd7e1560b1129311bd9a",
"size": "4077",... |
Editable Lists for Meteor
-------------------------
This package provides a widget for rendering the array (of strings) fields of documents as editable lists.
Example app: [http://editable-text-demo.meteor.com](http://editable-text-demo.meteor.com) (the tags on posts are editable lists)
Example app repo: [https://gi... | {
"content_hash": "36885869eeb35a50623bc4868eb42005",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 567,
"avg_line_length": 69.46153846153847,
"alnum_prop": 0.767718715393134,
"repo_name": "rclai/meteor-editable-list",
"id": "5b9b7cca65e1f215caa8ca71cc463abe095a578b",
"s... |
namespace remoting {
BackoffTimer::BackoffTimer() = default;
BackoffTimer::~BackoffTimer() = default;
void BackoffTimer::Start(const base::Location& posted_from,
base::TimeDelta delay,
base::TimeDelta max_delay,
const base::RepeatingClosure& ... | {
"content_hash": "964e9c7585c7ca2a37c5e326324fe4d5",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 75,
"avg_line_length": 29.17391304347826,
"alnum_prop": 0.6698956780923994,
"repo_name": "nwjs/chromium.src",
"id": "e4046e7ccab4378d0718a35b3ffd843e36cf1477",
"size": "159... |
using System;
using System.IO;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using OrchardCore.Environment.Shell;
using OrchardCore.Environment.Shell.Scope;
namespace OrchardCore.... | {
"content_hash": "35d221dd4ec127cd673b2adcf08347b4",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 156,
"avg_line_length": 33.486666666666665,
"alnum_prop": 0.5707744375870993,
"repo_name": "xkproject/Orchard2",
"id": "cf039840bdc7ebbd343d9640e26dbc883572bad8",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height=... | {
"content_hash": "2815ee67b7a8b4ef6c37397dd8fa94ca",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 107,
"avg_line_length": 41.44,
"alnum_prop": 0.696911196911197,
"repo_name": "gzuddas/currency-excange-rates",
"id": "944ec65153c570e0e7a1d9452a01f8addeacbffb",
"size": "10... |
package org.apache.camel.component.bean;
import javax.naming.Context;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.support.jndi.JndiContext;
import org.junit.Test;
public class BeanImplicitMethodTest extends ContextTestSupport {
@Test
pub... | {
"content_hash": "78b2aaf179b30da37c23c3ed482ad923",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 86,
"avg_line_length": 25.865384615384617,
"alnum_prop": 0.6490706319702603,
"repo_name": "kevinearls/camel",
"id": "d024f36f6fff317201102fb3ec8169a5ec311ee2",
"size": "214... |
package engine
import (
"encoding/json"
)
// transform node.value, node.**.nodes[].value, prevNode.value, prevNode.**.nodes[].value.
func (engine *Engine) TransformEtcdJsonResponse(jsonData []byte) ([]byte, error) {
var data interface{}
json.Unmarshal(jsonData, &data)
root, ok := data.(map[string]interface{})
i... | {
"content_hash": "63e2d5875cc1c71b9eb5b1b989635f93",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 94,
"avg_line_length": 21.942857142857143,
"alnum_prop": 0.6236979166666666,
"repo_name": "sorah/etcvault",
"id": "762c94d29fff18a23d7154b641d227ab461e8f64",
"size": "1536"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.