text stringlengths 2 1.04M | meta dict |
|---|---|
'use strict';
var fs = require('fs')
var assert = require('assert');
describe('Site generation works', function () {
it('It should generate index', function (cb) {
fs.exists('_build/index.html', function (exists) {
assert(exists);
cb();
});
});
it('It should generate RSS', function (cb) {
... | {
"content_hash": "3cf49353e702d3c82ad1abb15c7d2b30",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 100,
"avg_line_length": 22.75,
"alnum_prop": 0.5519864750633982,
"repo_name": "danielhusar/metalsmith-jekyll",
"id": "d20db6bd51488c070ce7c94d3f87f94abef984a5",
"size": "11... |
import d3 from 'd3';
/**
* Check if a variable has a given type.
* Freely inspired from http://bonsaiden.github.io/JavaScript-Garden/fr/#types
*
* @param {Any} obj - checked variable
* @param {String} type - type name
* @return {Boolean} true if variable has the expected type, false otherwise
*/
export const is... | {
"content_hash": "d63dfeb9f17dbd5c91cc847d286dbf75",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 141,
"avg_line_length": 34.92424242424242,
"alnum_prop": 0.6511930585683298,
"repo_name": "worldline/binex-tree",
"id": "13ff21dd8b908c4776e05dc3de8c6ce9817aa86b",
"size":... |
<html>
<head>
<script src="/lib/jquery-2.0.3.min.js"></script>
<script src="/lib/knockout-2.3.0.debug.js"></script>
<script src="../pager.js"></script>
</head>
<body>
<div data-bind="page: {id: 'ignite', title: 'Greetings', role: 'start'}">
<!--
Sportif: <input type="checkbox" data-bind="checked: pe... | {
"content_hash": "6e7e9c819278e054c0ba22368a27d136",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 87,
"avg_line_length": 27.95,
"alnum_prop": 0.5268336314847942,
"repo_name": "nelsonmenezes/pagerjs",
"id": "e340dcfebed15ecf20e48dea1e2c5f3ab2ab489c",
"size": "2236",
"b... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.EnhancedPatternLayout">
<... | {
"content_hash": "9a9ca54d155fe799258f464b52af968d",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 82,
"avg_line_length": 32.36842105263158,
"alnum_prop": 0.624390243902439,
"repo_name": "elahrvivaz/geomesa",
"id": "0394198cc74f9d3f4579a395a4dae6cb5616c8f0",
"size": "615... |
#ifndef MAGMA_CPU_BLAS
#define MAGMA_CPU_BLAS
#include <err_opencl.hpp>
#include <defines.hpp>
#include "magma_types.h"
#ifdef USE_MKL
#include <mkl_cblas.h>
#else
#ifdef __APPLE__
#include <Accelerate/Accelerate.h>
#else
extern "C" {
#include <cblas.h>
}
#endif
#e... | {
"content_hash": "23ad83cb88f1663617130985f3c36e46",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 76,
"avg_line_length": 33.855670103092784,
"alnum_prop": 0.5313641900121803,
"repo_name": "shehzan10/arrayfire",
"id": "6d06b2caae188fffc1db75a0993a239976a23f2b",
"size": "... |
package spire.math.algebraic
import spire.algebra.Sign
import spire.algebra.Sign.{ Positive, Zero, Negative }
import java.math.MathContext
import scala.math.ScalaNumber
trait RealLike[A <: RealLike[A]] extends ScalaNumber { self: A =>
implicit def coexpr: Coexpr[A]
def sign: Sign
def signum: Int = sign.toIn... | {
"content_hash": "b76a55534dec507ee59c35336ef1883e",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 85,
"avg_line_length": 25.72151898734177,
"alnum_prop": 0.6151574803149606,
"repo_name": "lrytz/spire",
"id": "827e071b83a9dec4edcc7cace0b89b9d6f96ea7f",
"size": "2032",
... |
<?php
namespace Test\Synapse\User;
use Synapse\TestHelper\MapperTestCase;
use Synapse\User\UserRolePivotMapper;
use Synapse\User\UserEntity;
class UserRolePivotMapperTest extends MapperTestCase
{
const USER_ID = 24398;
const ROLE_NAME = 'ROLE_ADMIN';
public function setUp()
{
parent::setUp()... | {
"content_hash": "8b1ec4cd2dd7b464aba74934a574b1bb",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 110,
"avg_line_length": 27.303797468354432,
"alnum_prop": 0.6277236903106166,
"repo_name": "synapsestudios/synapse-base",
"id": "ac1963c91e7e3829e83336d2fb785b9505ce7aae",
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\Classroom */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="col-md-12">
<div class="grid simple">
<div class="grid-body no-border"> <br>
<div class="row">
<d... | {
"content_hash": "52d111cd6232763c30b8ee29abf7941a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 166,
"avg_line_length": 31.545454545454547,
"alnum_prop": 0.4610951008645533,
"repo_name": "asrulsibaoel/umeac",
"id": "05b963ed30ea89b90e84b499d197b958366c399c",
"size": "... |
let threePanZoom = require('three.map.control')
let THREE = require('three')
export default render
function render(dgraph, container) {
var max = Math.max(2000, dgraph.nodes.length * 15)
var camera = new THREE.PerspectiveCamera(60, container.clientWidth / container.clientHeight, 1, max)
var scene = new THREE.S... | {
"content_hash": "e286c74efdb5a94150c3622cb6d003c5",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 102,
"avg_line_length": 25.326315789473686,
"alnum_prop": 0.6828761429758936,
"repo_name": "anvaka/allytrelated",
"id": "50fbf0edc6809470d539271a326d646546a26373",
"size": ... |
using System.Collections.Generic;
using System.Linq;
using TobascoV2.Enums;
using TobascoV2.Extensions;
namespace TobascoV2.Builder.BusinessRules
{
public static class BusinessRuleManager
{
private static IDictionary<string, List<IRule>> _rules = new Dictionary<string, List<IRule>>
{
... | {
"content_hash": "542559b1553deec998e446570c3bf66f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 100,
"avg_line_length": 30.026315789473685,
"alnum_prop": 0.5503943908851884,
"repo_name": "VictordeBaare/Tobasco",
"id": "18773c09fe051c01af7179d529fee67d3abba001",
"size"... |
#define _GNU_SOURCE
#include <stdio.h>
#include <locale.h>
#include <getopt.h>
#include <csptr/smalloc.h>
#include "criterion/criterion.h"
#include "criterion/options.h"
#include "criterion/internal/ordered-set.h"
#include "compat/posix.h"
#include "compat/strtok.h"
#include "core/runner.h"
#include "io/output.h"
#inc... | {
"content_hash": "6254b1d49f7a4af50429560772c0f437",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 121,
"avg_line_length": 34.71917808219178,
"alnum_prop": 0.5062800026303675,
"repo_name": "am11/Criterion",
"id": "04fd47b69f47ba0e2d0de35f1ca39dcb1199084a",
"size": "1639... |
insert into auth_user (id,username, name,email, password, salt,status) values(1,'admin','管理员','aa@aa.com','691b14d79bf0fa2215f155235df5e670b64394cc','7efbd59d9741d34f','enabled');
insert into auth_user (id,username, name,email, password, salt,status) values(2,'user','普通用户','bb@bb.com','2488aa0c31c624687bd9928e0a5d29e7d... | {
"content_hash": "224dc1704ddcf252f676bcc2cc60dbff",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 180,
"avg_line_length": 50.406976744186046,
"alnum_prop": 0.7215686274509804,
"repo_name": "oakhole/journal",
"id": "825b3cb7bc7ed07191ac50e2df1260c58324ad6d",
"size": "450... |
<?xml version="1.0" encoding="UTF-8"?>
<servico versao="2" xmlns="http://servicos.gov.br/cartas-servico/v2/schema/servico" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://servicos.gov.br/cartas-servico/v2/schema/servico ../servico.xsd">
<nome>
Inscrição junto à Previdência Social
</... | {
"content_hash": "ebe450690077163dd0e7a0dd22f25348",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 230,
"avg_line_length": 23.382978723404257,
"alnum_prop": 0.6587807097361238,
"repo_name": "nitaibezerra/cartas-de-servico",
"id": "3ae07f0d3f9d613019c307c8dddbabd1f95c530a",... |
<div class="col-md-9">
<h1><span class="glyphicon glyphicon glyphicon-earphone"></span> Contact Us</h1>
<p><abbr title="Email"><span class="glyphicon glyphicon glyphicon-envelope"></span></abbr> <a href="mailto:info@cheviot-consulting.co.uk">info@cheviot-consulting.co.uk</a></p>
<abbr title="Email"><span clas... | {
"content_hash": "49294fe42944b0c1f52e9850a740cfd5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 176,
"avg_line_length": 41.05,
"alnum_prop": 0.6894031668696712,
"repo_name": "Rammesses/cheviot-consulting.co.uk",
"id": "6a993f49449391ad7e7d5a22ef6b0fede6aa6403",
"size"... |
Well well, I finally made all my blog available under Jekyll.
## Technologies I'm using
- Jekyll
- Poole
- GitHub Pages
- Rake
- Tapir.js (future)
## Run, debug, study my code
Just download this repository, and serve the content using the Jekyll built-in webserver.
```bash
$ git clone git@github.com:dottorblaster/do... | {
"content_hash": "16c103da61e159b4c0145a9e0381218f",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 89,
"avg_line_length": 23.176470588235293,
"alnum_prop": 0.748730964467005,
"repo_name": "rosaci/rosaci.github.io",
"id": "2e181c802b25e206ca5c8490e10502609874e621",
"size"... |
import json
from tempest.common import rest_client
from tempest.services.network import network_client_base
class NetworkClientJSON(network_client_base.NetworkClientBase):
"""
Tempest REST client for Neutron. Uses v2 of the Neutron API, since the
V1 API has been removed from the code base.
Implemen... | {
"content_hash": "1e96cb302b9e64b783c6d62e51df2b75",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 79,
"avg_line_length": 40.151612903225804,
"alnum_prop": 0.5826303526954286,
"repo_name": "cloudbase/lis-tempest",
"id": "16a4f5cb0cce157a9769cf3df5594a45a22d7d0e",
"size"... |
/*char *getSerial(){
Serial.println("Serial .. ");
char serial[21]; // ^fr:10,to:11,ac:12$ plus \0
String serial_string = "";
boolean start = false;
boolean end = false;
int i = 0;
while (Serial.available () > 0) {
// https://www.arduino.cc/en/Reference/ASCIIchart... | {
"content_hash": "6686131e9d5d939a1a75984b48236387",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 115,
"avg_line_length": 28.973684210526315,
"alnum_prop": 0.46684831970935514,
"repo_name": "hvos234/raspberrypi.home.website",
"id": "96dd23137633c76560570c026c11a96c073e3e... |
//---------------------------------------------------------------------------
// Pre-compilation
#include "MediaInfo/PreComp.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
//---------------------------------------------------------------------------
//--------------------------------------------------------------... | {
"content_hash": "f98e9024e8fc5f13fe4c1136f39b25f0",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 130,
"avg_line_length": 44.36040609137056,
"alnum_prop": 0.4024487927680513,
"repo_name": "ericgriffin/metasort",
"id": "9a6a64db4da08f7e6e05a50ff0fbcb62efb3c0ba",
"size":... |
package org.uberfire.ext.plugin.type;
import javax.enterprise.context.ApplicationScoped;
import org.uberfire.ext.plugin.model.PluginType;
import org.uberfire.workbench.type.ResourceTypeDefinition;
@ApplicationScoped
public class PerspectivePluginResourceTypeDefinition extends BasePluginResourceTypeDefinition impleme... | {
"content_hash": "d99b4a68b2df1f5375d09c300db3da61",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 129,
"avg_line_length": 25.96153846153846,
"alnum_prop": 0.7407407407407407,
"repo_name": "Rikkola/uberfire-extensions",
"id": "bae8f61d40b73ac5e9590159a4da5708edf1c8ba",
"... |
package org.apache.ambari.logfeeder.metrics;
import org.apache.ambari.logfeeder.util.LogFeederUtil;
import org.apache.ambari.logfeeder.util.SSLUtil;
import org.apache.commons.lang3.StringUtils;
import org.apache.hadoop.metrics2.sink.timeline.AbstractTimelineMetricsSink;
import org.apache.hadoop.metrics2.sink.timelin... | {
"content_hash": "35a55bb7a16d0037b06b2725b808a240",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 116,
"avg_line_length": 29.51685393258427,
"alnum_prop": 0.7521888085268367,
"repo_name": "alexryndin/ambari",
"id": "2d1bf4040317a92a430074eb4ff787844a2b0d3c",
"size": "34... |
using System;
using System.Collections.Generic;
using System.Text;
namespace System.IO
{
public class StringReader : TextReader
{
// [Steve] Impl copied from https://github.com/Microsoft/referencesource/blob/master/mscorlib/system/io/stringreader.cs
private String _s;
private int _pos... | {
"content_hash": "3f9438ae8567d67da4a674ec32102906",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 127,
"avg_line_length": 34.154411764705884,
"alnum_prop": 0.5031216361679225,
"repo_name": "ncave/dotnet-js",
"id": "5807ee058f843a6b56ffcdd128f24bf40d8370c5",
"size": "46... |
<?php namespace sgoendoer\Sonic\Model;
use sgoendoer\Sonic\Date\XSDDateTime;
use sgoendoer\Sonic\Model\ConversationMessageObjectBuilder;
use sgoendoer\Sonic\Model\ConversationMessageObject;
use sgoendoer\Sonic\Model\ConversationMessageStatusObject;
class ConversationMessageObject extends ReferencingRemoteObject
{
c... | {
"content_hash": "ae292d767695d9ce309f3deb0eadda7c",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 72,
"avg_line_length": 21.124324324324323,
"alnum_prop": 0.6154042988741044,
"repo_name": "sgoendoer/sonic",
"id": "c07a0e41746127cf0aa5c6b7935489c6411e3ce0",
"size": "409... |
// -----------------------------------------------------------------------
// <copyright file="DatabaseLog.cs" company="">
// Copyright (c) 2014-2015 OSky. All rights reserved.
// </copyright>
// <site>http://www.OSky.org</site>
// <last-editor>Lmf</last-editor>
// <last-date>2015-09-23 9:08</last-date>
// -... | {
"content_hash": "e682b0d13b5464bf34dbc0794000ae5d",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 111,
"avg_line_length": 28.625,
"alnum_prop": 0.5030021834061136,
"repo_name": "liumeifu/OSky",
"id": "77f6e5592e7611454e01fdc22ac314541f6e9c35",
"size": "3986",
"binary... |
"""Gradients for operators defined in math_ops.py."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
from tensorflow.python.client import pywrap_tf_session as c_api
from tensorflow.python.eager import context
from tensorflow.python.frame... | {
"content_hash": "8d584e33c2a610bb89fb8e1e5521c75f",
"timestamp": "",
"source": "github",
"line_count": 2029,
"max_line_length": 112,
"avg_line_length": 34.6781665845244,
"alnum_prop": 0.6610670532389642,
"repo_name": "petewarden/tensorflow",
"id": "f618732a5ca7a274614e4887c7a5a6f0c20d1ee3",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable
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
... | {
"content_hash": "f51d05228e89115446eac629ba2387e6",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 138,
"avg_line_length": 34.02439024390244,
"alnum_prop": 0.7261648745519713,
"repo_name": "freeVM/freeVM",
"id": "247b5f52aa7e1291fa78abb5c0f06e1bede8dfd8",
"size": "1395",... |
/*
Place all the styles related to the matching controller here.
They will automatically be included in application.css.
*/
body {
margin: 30px;
}
| {
"content_hash": "bec8cfcc152746f9f7b595d58b4de99c",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 63,
"avg_line_length": 19.25,
"alnum_prop": 0.7272727272727273,
"repo_name": "nirname/simple_tree",
"id": "d1eafc65fb417a7a55d06897986d87473d3add45",
"size": "154",
"binar... |
/*
* TimeUtils.cpp
*
* Created on: 2016年5月11日
* Author: light
*/
#include <sys/time.h>
#include <time.h>
#include <string.h>
#include <stdio.h>
#include <utils/TimeUtils.h>
namespace UTILS {
TimeUtils::TimeUtils() {
// TODO Auto-generated constructor stub
}
TimeUtils::~TimeUtils() {
// TODO Aut... | {
"content_hash": "2fda55b5167d5397cae7e5054cb4d9c6",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 103,
"avg_line_length": 19,
"alnum_prop": 0.6631578947368421,
"repo_name": "glee0413/dot2fsm",
"id": "2100cba4e050f0ef17bc3b102aab43d504d2cfba",
"size": "984",
"binary": ... |
package org.javaboi.sprites;
import java.util.HashMap;
import java.util.Map;
import org.javaboi.lib.graphics.Animation;
import org.javaboi.sprites.behavior.Jump;
public final class Player extends Creature {
public static final float MOVE_SPEED = 0.5F;
private static final int LEFT = -1;
private static ... | {
"content_hash": "37f9675d022ce3396e6bef53bbd85a1c",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 76,
"avg_line_length": 20.076923076923077,
"alnum_prop": 0.5988505747126437,
"repo_name": "osmanpub/java-games",
"id": "2a5fef216495db4f33714c5ac2deb8e579a350c4",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_79) on Fri Jan 15 20:28:45 PST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.fa... | {
"content_hash": "278ac744ebbc7851754371b21a3e1958",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 476,
"avg_line_length": 54.205128205128204,
"alnum_prop": 0.6817407757805108,
"repo_name": "FasterXML/jackson-databind",
"id": "ac90cc9706ebf4132f9f1a4751716bddb31a44c8",
... |
package org.apache.camel.component.jms.issues;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.test.junit4.CamelSpringTestSupport;
import org.junit.Test;
import org.springframework.context.support.AbstractXmlApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContex... | {
"content_hash": "27d28d4e99f285620458fd0a63f471e0",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 130,
"avg_line_length": 29.704545454545453,
"alnum_prop": 0.7230298393267024,
"repo_name": "chicagozer/rheosoft",
"id": "d113b9deef87a95f33dd7a7d6c8b0a6f40bf803b",
"size": ... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<resources>
<resource name="oHoe" type="RESOURCE"/>
</resources>
| {
"content_hash": "767cc3c08ded13ecf686e266a1329dfb",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 54,
"avg_line_length": 30.5,
"alnum_prop": 0.6721311475409836,
"repo_name": "Widdershin/old-game-maker-games",
"id": "84004caf65bc39ca9731baeff75f6916c3f7fa17",
"size": "122... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_1965 {
}
| {
"content_hash": "225923e597623699b4b5bc5a893c40bc",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 21.571428571428573,
"alnum_prop": 0.8079470198675497,
"repo_name": "lesaint/experimenting-annotation-processing",
"id": "83305c60f0d8bf5d48114c77bd0abff... |
/*
* This file is part of synconv.
*
* © 2013 Fernando Tarlá Cardoso Lemos
*
* Refer to the LICENSE file for licensing information.
*
*/
#import "SCVDecoder.h"
#import "SCVEncoder.h"
#import "SCVPlugin.h"
@interface SCVLamePlugin : SCVPlugin <SCVDecoder, SCVEncoder>
@end
| {
"content_hash": "33580f2148b92e1606e3e3bd22fb265f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 61,
"avg_line_length": 17.625,
"alnum_prop": 0.7092198581560284,
"repo_name": "fernandotcl/synconv",
"id": "8f23a9930f2a66aacc2341ad76e2d290b47d9cd9",
"size": "284",
"bin... |
:: Purpose: Installs a package
:: Requirements: Run this script with a network admin account
:: Author: reddit.com/user/vocatus ( vocatus.gate@gmail.com ) // PGP key: 0x07d1490f82a211a2
:: History: 1.2.3-TRON ! Fix bug where we'd install the new 7-Zip alongside an old existing version. Old versions ... | {
"content_hash": "7d9ad5ecf549d94e4ebfce3e6349c2b8",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 186,
"avg_line_length": 42.244680851063826,
"alnum_prop": 0.6643162931251574,
"repo_name": "bmrf/tron",
"id": "e6cd1e52f62e2c8e0f5182bbeb9ef5b7bb75a5c1",
"size": "3971",
... |
import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
... | {
"content_hash": "6e035121c3a88108d14c3ebf7e6c81a9",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 74,
"avg_line_length": 22.59090909090909,
"alnum_prop": 0.5492957746478874,
"repo_name": "kuwa72/sblitz",
"id": "4af844181db9f7406d868e6376d027f5213b3d4b",
"size": "497",
... |
/**
* This example makes sure that multiple processes can be created, managed, and
* destroyed using the process_manager library.
**/
// Require npm modules
var q = require('q');
// Create a new process manager object
var process_manager = require('LabJack-process_manager');
// Create the first master_process obj... | {
"content_hash": "3ea6218f5baea9903cb23cd1a333b540",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 80,
"avg_line_length": 28.35,
"alnum_prop": 0.6953262786596119,
"repo_name": "chrisJohn404/LabJack-process_manager",
"id": "1af89497bc698065018bd5c1f9b9fa94a52326fc",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Jul 17 13:50:46 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.ma... | {
"content_hash": "f82c5cba5306f7db496dc26cd3704d77",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 173,
"avg_line_length": 57.074074074074076,
"alnum_prop": 0.7021414665801428,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "4aa622ee305b1b4503a78de161113c56ca9d... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/addTaskDialog"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="1">
<EditText
androi... | {
"content_hash": "20110a98ec275b54c38c50625107a449",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 72,
"avg_line_length": 32.714285714285715,
"alnum_prop": 0.6004366812227074,
"repo_name": "rogermelich/Todos",
"id": "5b99d76c77952c0821c4c30ea757677d549d69de",
"size": "18... |
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-comp-3801',
templateUrl: './comp-3801.component.html',
styleUrls: ['./comp-3801.component.css']
})
export class Comp3801Component implements OnInit {
constructor() { }
ngOnInit() {
}
}
| {
"content_hash": "4862bd2eb8330b17cd42606316d36d08",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 50,
"avg_line_length": 16.58823529411765,
"alnum_prop": 0.6666666666666666,
"repo_name": "angular/angular-cli-stress-test",
"id": "e50aa0a7ff98d4ce4fc0d7ec14800971274301f2",
... |
#include "forced_rotation_detection.h"
#include "internal.h"
#include "timer.h"
#include <config/config.h>
#include <string.h>
static struct state
{
int direction_votes; ///< + forward, - reverse, 0 none
int comm_step_index;
uint64_t last_step_ts;
} _state;
static struct precomputed_params
{... | {
"content_hash": "4ed41900656db64b0d0441872ac76500",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 109,
"avg_line_length": 29.639455782312925,
"alnum_prop": 0.6896947440899701,
"repo_name": "pireerliu/px4esc",
"id": "600812c396699a1496432a99db8dd9ce7b938253",
"size": "6... |
<?xml version="1.0" encoding="utf-8"?>
<data-map xmlns="http://cayenne.apache.org/schema/7/modelMap"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://cayenne.apache.org/schema/7/modelMap http://cayenne.apache.org/schema/7/modelMap.xsd"
project-version="7">
... | {
"content_hash": "c61a6289b9a93bf0e8def7c581b8dd80",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 155,
"avg_line_length": 63.42857142857143,
"alnum_prop": 0.6886261261261262,
"repo_name": "atomashpolskiy/link-rest",
"id": "b63843d9a9116bb73a82cad356b61a98e3254f0d",
"siz... |
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.58.3" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Full Stack Skill | k317h</title>
<meta property="o... | {
"content_hash": "0ea14c7f0fe240ef522700365a1c62ef",
"timestamp": "",
"source": "github",
"line_count": 520,
"max_line_length": 191,
"avg_line_length": 29.81346153846154,
"alnum_prop": 0.5691156550345094,
"repo_name": "keithzeng/keithzeng.github.io",
"id": "044d51539241679b6ca5e9c2964611dbcde2248b",
... |
dnl x86 mpn_divrem_1 -- mpn by limb division extending to fractional quotient.
dnl Copyright 1999, 2000, 2001, 2002, 2003, 2007 Free Software Foundation,
dnl Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or
dnl modify it under the t... | {
"content_hash": "d3a87fc1dabfef5498015516569263d4",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 79,
"avg_line_length": 23.23766816143498,
"alnum_prop": 0.7026244693168661,
"repo_name": "execunix/vinos",
"id": "a5fb88071d6b414095d546ec44f9630128c96ff5",
"size": "5182"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ 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... | {
"content_hash": "fdc742b16930e7a5e47941fc90cbaf50",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 154,
"avg_line_length": 44.31906614785992,
"alnum_prop": 0.5500438981562774,
"repo_name": "nwnpallewela/developer-studio",
"id": "7ac40f776e957aa4642b2fc7c7d8687d61fafa2f",
... |
package gs
import (
"context"
"fmt"
"io"
"net/http"
"os"
"path"
"strings"
"github.com/pkg/errors"
"github.com/restic/restic/internal/backend"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/restic"
"golang.org/x/oauth2"
"golang.org/x/oauth2/google"
"google.golang.org/api/go... | {
"content_hash": "2cb27edb517cbfe7ec9e0a648342abdd",
"timestamp": "",
"source": "github",
"line_count": 458,
"max_line_length": 124,
"avg_line_length": 25.766375545851528,
"alnum_prop": 0.6819761037200237,
"repo_name": "middelink/restic",
"id": "feea05d0794c3ba57d93176a5433a009d6bdf0e2",
"size": "1... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<br>
<div class="container">
<div class="col-md-9 center-block no-float">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $panel_title ?></h3>
</div>
<div class="panel-body">
<di... | {
"content_hash": "ce0f99130317dcf4924c9a41e06e1a88",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 350,
"avg_line_length": 54.83116883116883,
"alnum_prop": 0.6267171956418759,
"repo_name": "soluciones2000/manna",
"id": "c46113f198a626a7460fa4362f2a85453dabd2b6",
"size": ... |
var wysihtml5 = {
version: "0.4.0pre",
// namespaces
commands: {},
dom: {},
quirks: {},
toolbar: {},
lang: {},
selection: {},
views: {},
INVISIBLE_SPACE: "\uFEFF",
EMPTY_FUNCTION: function() {
},
ELEMENT_NODE: 1,
TEXT_NODE: 3,
BACKSPACE_KEY: 8,
ENTER... | {
"content_hash": "c855964b2318fdc09eb7793e760ca3a9",
"timestamp": "",
"source": "github",
"line_count": 9731,
"max_line_length": 250,
"avg_line_length": 37.783064433254545,
"alnum_prop": 0.5323948029058904,
"repo_name": "evanilsonsilva/gabweb",
"id": "d42b2b9b40d6aec45d316e97f22c73cb2f4ff694",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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="match_parent"
android:paddin... | {
"content_hash": "1dbfb806a4cb5a5f92a3eeb54e9653c7",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 74,
"avg_line_length": 43.75,
"alnum_prop": 0.72,
"repo_name": "LiuchangDuan/demo",
"id": "73990d82323177eba7f6aef748667de6950e877d",
"size": "875",
"binary": false,
"c... |
@implementation RoundedRectView
// Interface Builder uses this when it creates the preview.
- (id)initWithFrame:(CGRect)frame {
self = [super initWithFrame:frame];
if (self) {
[self commonInit];
}
return self;
}
// UIStoryboard uses this when it runs in your app.
- (id)initWithCoder:(NSCoder *... | {
"content_hash": "03b20c3fe393e2533fcfaa8c9cc42a54",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 93,
"avg_line_length": 25.634615384615383,
"alnum_prop": 0.6781695423855963,
"repo_name": "hunterbridges/blasting-off-with-ib",
"id": "b7c222e669b67cc40b7a9c27801f4c6092f7e50... |
All bug fixes since the last release should be noted here. Simply noting the github issue # should suffice.
Example:
- #94
- #96
- #99 - some important note about this issue
## Improvements
Any improvements or bug fixes that do not have an issue attached to them should be noted here.
Example:
- fixed the width of th... | {
"content_hash": "de1473d03e00e1cd4410842fb00e282b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 107,
"avg_line_length": 27.55,
"alnum_prop": 0.764065335753176,
"repo_name": "addisonwebb/documentation",
"id": "58dc5099356dca5dcd7fad399d760a0ea21eaa9d",
"size": "589",
... |
import json
import time
import zmq
class Base(object):
def __init__(self, ip='127.0.0.1', port='5678', topic='', verbose=False, *args, **kwargs):
if ip is None:
self.ip = '127.0.0.1'
else:
self.ip = ip
if port is None:
self.port = '5678'
else:
... | {
"content_hash": "9b5956c9f64dbd1f04c61353821fbbaa",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 94,
"avg_line_length": 23.742574257425744,
"alnum_prop": 0.5066722268557131,
"repo_name": "smartt/pyrun",
"id": "bc26261a1f8bd28f1aacd3e23c2e8724f7bd6346",
"size": "2398",... |
package org.sagebionetworks.web.client.widget.entity.editor;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import org.sagebionetworks.repo.model.Reference;
import org.sagebionetworks.repo.model.entitybundle.v2.EntityBundle;
import org.sagebionetworks.repo.model.entityb... | {
"content_hash": "00af2dfee11c16655691db4b6f3fe048",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 119,
"avg_line_length": 33.38961038961039,
"alnum_prop": 0.731492285751329,
"repo_name": "jay-hodgson/SynapseWebClient",
"id": "d378a6dde0e51b9e06c4880d00f88ae7c7acfa05",
... |
.. _deployment:
=================================
Deployment to a production server
=================================
.. note:: This text was taken from `official PyWPS documentation <http://pywps.readthedocs.io/en/latest/deployment.html>`_
Deployment on Apache2 httpd server
----------------------------------
First... | {
"content_hash": "5f9f39256535e93849e424d890692abb",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 122,
"avg_line_length": 31.83783783783784,
"alnum_prop": 0.631578947368421,
"repo_name": "PyWPS/pywps-4-demo",
"id": "85dadab1a32c5bdfff5e479b41ee41a81be29a9c",
"size": "11... |
package io.fabric8.forge.camel.commands.project.projecttypes;
import org.jboss.forge.addon.maven.projects.archetype.CustomMavenArchetypeProjectType;
/**
* A project type for a Go project
*/
public class GoProjectType extends CustomMavenArchetypeProjectType {
public GoProjectType() {
super(GoProjectArc... | {
"content_hash": "58433224646474358af5568b09abe3be",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 86,
"avg_line_length": 22.15,
"alnum_prop": 0.7178329571106095,
"repo_name": "fabric8io/fabric8-forge",
"id": "55ec84f8706675d413ea711fccf621263d2902d6",
"size": "1081",
... |
GameNode::GameNode()
{
cout << "GameNode()" << endl;
g_pKeyManager->Setup();
g_pLogManager->Setup("\\Log\\");
m_pImgBackBuffer = g_pImgManager->AddImage("back-buffer", W_WIDTH, W_HEIGHT);
}
GameNode::~GameNode()
{
g_pKeyManager->ReleaseInstance();
g_pLogManager->ReleaseInstance();
g_pImgM... | {
"content_hash": "2581356e697d827f9a033ec737db455e",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 81,
"avg_line_length": 22.084745762711865,
"alnum_prop": 0.6032233307751343,
"repo_name": "komastar/SGA",
"id": "213848a65947dbc7665ae935fa442bb500a36001",
"size": "1347",
... |
package org.gradle.test.performance.mediummonolithicjavaproject.p264;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test5293 {
Production5293 objectUnderTest = new Production5293();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... | {
"content_hash": "10f2e130bc70372e904452fba83ab697",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 69,
"avg_line_length": 26.72151898734177,
"alnum_prop": 0.6447181430601611,
"repo_name": "oehme/analysing-gradle-performance",
"id": "a7bf8a06cf044d4516ca07e68f0a4e2dc2339761... |
using NBitcoin;
using System.Net;
using WalletWasabi.Helpers;
namespace WalletWasabi.BitcoinCore.Endpointing
{
public class EndPointStrategy
{
private EndPointStrategy(EndPointStrategyType endPointStrategyType, EndPoint endPoint)
{
EndPointStrategyType = endPointStrategyType;
EndPoint = Guard.NotNull(nameo... | {
"content_hash": "772760e5f0a0fe75f7a8acb062793068",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 125,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.7951456310679612,
"repo_name": "nopara73/HiddenWallet",
"id": "1ffec6980c8195d93b77cef363af90c6b4591644",
"size"... |
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml.Linq;
using Dematt.Airy.Nhibernate.Extensions.Linq;
using Dematt.Airy.Tests.Extensions.Entities;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Mapping.ByCode;
using NHibernate.Tool.hbm2ddl;
... | {
"content_hash": "31eae2da5c5b9bde3a65a07b673e4402",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 136,
"avg_line_length": 36.84023668639053,
"alnum_prop": 0.5289110183103116,
"repo_name": "MatthewRudolph/Airy-Nhibernate-Extensions",
"id": "bd9430fb8b8152ef3b66a6a1d73bdb7... |
/**
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License 2
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
... | {
"content_hash": "fa772ce38b0895f9f053e42246180a63",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 165,
"avg_line_length": 28.76279069767442,
"alnum_prop": 0.693078913324709,
"repo_name": "tomka/imglib",
"id": "cc9c1886a7f9564c52215631103739c4b4ab6159",
"size": "6184",
... |
namespace BehaviorTree
{
class DecoratorRoot;
class DecoratorFactoryRoot : public TaskFactory<DecoratorRoot, std::string>
{
public:
DecoratorFactoryRoot()
: TaskFactory<DecoratorRoot, std::string>("ROOT", "name")
{}
};
class DecoratorRoot : public Decorator
{
public:
DecoratorRoot(const std::string &... | {
"content_hash": "fe31648dd2a083e2571603b2a836cc1c",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.7202380952380952,
"repo_name": "mlangkabel/BehaviorTree",
"id": "752c9d01bfe39c091f46aeaad6ddd9fdf03c8140",
"size... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.18444
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto... | {
"content_hash": "a11258cdc79f17a079a87c3758580cc5",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 182,
"avg_line_length": 39.788381742738586,
"alnum_prop": 0.5359265825424966,
"repo_name": "batbuild/duality",
"id": "420d1ce6b8d01acbc9828d4bc311ec2fcb7d6d7b",
"size": "9... |
import { GlSprintf } from '@gitlab/ui';
import { shallowMount } from '@vue/test-utils';
import SnippetTitle from '~/snippets/components/snippet_title.vue';
import SnippetDescription from '~/snippets/components/snippet_description_view.vue';
describe('Snippet header component', () => {
let wrapper;
const title = 'T... | {
"content_hash": "3cf4d72ab82236fabc147f8d0ceb8e95",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 100,
"avg_line_length": 28.066666666666666,
"alnum_prop": 0.6247030878859857,
"repo_name": "mmkassem/gitlabhq",
"id": "f201cfb19b7dd7852f4c8313a51b039b244950c5",
"size": "2... |
<?php
namespace Mts\Request\V20140618;
class ListJobRequest extends \RpcAcsRequest
{
function __construct()
{
parent::__construct("Mts", "2014-06-18", "ListJob");
}
private $ownerId;
private $resourceOwnerAccount;
private $resourceOwnerId;
private $nextPageToken;
private $maximumPageSiz... | {
"content_hash": "0230feccd7971f362c6cc968bd467d1c",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 83,
"avg_line_length": 24.5,
"alnum_prop": 0.7303445968551355,
"repo_name": "houdunwang/hdphp",
"id": "dcaf012e978b90e04be8ca4ab7e4f4b3fa336c7c",
"size": "3798",
"binary... |
{-# LANGUAGE DeriveFunctor #-}
{-# OPTIONS_GHC -fno-warn-incomplete-uni-patterns #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.Algorithm.Diff
-- Copyright : (c) Sterling Clover 2008-2011, Kevin Charter 2011
-- License : BSD 3 Clause
-- Maintainer ... | {
"content_hash": "0745d974ca170e6ade6b6c6af40c1ce1",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 91,
"avg_line_length": 40.65217391304348,
"alnum_prop": 0.5366844919786097,
"repo_name": "hspec/hspec",
"id": "12026e78565c18a0525490e3107a26425ea64329",
"size": "4675",
... |
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "d7b0e827917d4ca672d44c46819abbd3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 60,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.7796610169491526,
"repo_name": "erickingxu/MetalImage",
"id": "4df7d71440a8b04bcb1fb0637e31428393d1157d",
"size": ... |
import argparse
import json
import os
import re
import urllib.request
_REPO_URL = 'https://dl.google.com/dl/android/maven2'
_GROUP_NAME = 'android/arch/lifecycle'
_MODULE_NAME = 'common-java8'
_FILE_EXT = 'jar'
_OVERRIDE_LATEST = None
_PATCH_VERSION = 'cr1'
def do_latest():
if _OVERRIDE_LATEST is not None:
... | {
"content_hash": "e75204c1aea709b86f45550a5f74ed3f",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 79,
"avg_line_length": 31.585714285714285,
"alnum_prop": 0.5947535052012664,
"repo_name": "chromium/chromium",
"id": "982456c784907fefd251104936bcf19934d608e3",
"size": "24... |
__source__ = 'https://leetcode.com/problems/super-washing-machines/'
# Time: O()
# Space: O()
#
# Description: Leetcode # 517. Super Washing Machines
# You have n super washing machines on a line. Initially, each washing machine has some dresses or is empty.
#
# For each move, you could choose any m (1 ≤ m ≤ n) washi... | {
"content_hash": "4b24442a0ebb3d9e1d4661f2a90c7145",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 119,
"avg_line_length": 34.6,
"alnum_prop": 0.597027250206441,
"repo_name": "JulyKikuAkita/PythonPrac",
"id": "69fcb8aa812c24efc1585a028d5512f276042e56",
"size": "4848",
... |
<?php
namespace AndKirby\ModmanGenerator\Vcs;
/**
* Class Git adapter
*
* @package AndKirby\ModmanGenerator\Vcs
*/
class Git implements AdapterInterface
{
/**
* Get files list from VCS
*
* @param array $ignoreFiles
* @param bool $asPlainText
* @return array
*/
public function... | {
"content_hash": "df004cd1ec67f666523576f091db7e4a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 85,
"avg_line_length": 22.914285714285715,
"alnum_prop": 0.5773067331670823,
"repo_name": "JGMAgency/modman-generator",
"id": "6c25a0a3fa12cc85569ae9e6b48059d4177a611d",
"s... |
"""
Copyright (c) 2010, John Burwell
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the ... | {
"content_hash": "ba9b5a1489737efefc47681b09a90d9b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 80,
"avg_line_length": 55,
"alnum_prop": 0.7824675324675324,
"repo_name": "jburwell/file-text-replacement",
"id": "05fbd9298d2fa7bb98acf60f42671095d5de8a6d",
"size": "1540"... |
package com.kk.taurus.avplayer.cover;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import com.kk.taurus.avplayer.R;
import com.kk.taurus.avplayer.play.DataInter;
import com.kk.taurus.playerbase.event.EventKey;
im... | {
"content_hash": "0c65363bdbfa689f5db63ac97b51cfc7",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 160,
"avg_line_length": 34.04216867469879,
"alnum_prop": 0.6397097858786056,
"repo_name": "jiajunhui/PlayerBase",
"id": "dfc89fcf0450e82bb27a78e1e6328348cbff2984",
"size":... |
<!doctype html>
<title>track CORS: Use Credentials, same-origin, with headers</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id=log></div>
<script src=/common/utils.js></script>
<script src=support/common.js?pipe=sub></script>
<script>
var expected... | {
"content_hash": "8a31554fd9349977faec56ad6e807092",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 69,
"avg_line_length": 38.7,
"alnum_prop": 0.7131782945736435,
"repo_name": "youtube/cobalt",
"id": "0444a83085fe0864782f50a5d1c3f2dca7815053",
"size": "387",
"binary": f... |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = R... | {
"content_hash": "5029bd08d379d411c3f5448017df531f",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 907,
"avg_line_length": 65.92857142857143,
"alnum_prop": 0.6439147706753341,
"repo_name": "henr007c/supersport",
"id": "42279e3c52feff53d09d4ddac9421ce666af0e8c",
"size": "... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='Command',
fields=[
('id', models.AutoField(verbose_name='ID', serialize... | {
"content_hash": "c1d768a1d82c28619c0c49240477ee11",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 114,
"avg_line_length": 29.419354838709676,
"alnum_prop": 0.5427631578947368,
"repo_name": "ilique/webpushkin",
"id": "285c8d966799250406719ee47ee20999b8324074",
"size": "9... |
"""
jinja2.exceptions
~~~~~~~~~~~~~~~~~
Jinja exceptions.
:copyright: 2008 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
class TemplateError(Exception):
"""Baseclass for all template errors."""
class TemplateNotFound(IOError, LookupError, TemplateError):
"""Raised... | {
"content_hash": "3c43d00453f31fe5b480506269a77d13",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 77,
"avg_line_length": 29.023255813953487,
"alnum_prop": 0.6294070512820513,
"repo_name": "harperreed/drydrop",
"id": "5bfca660d0158198b57c609be95f8472ce2a0208",
"size": "2... |
#ifndef PCL_FEATURES_IMPL_NORMAL_3D_OMP_H_
#define PCL_FEATURES_IMPL_NORMAL_3D_OMP_H_
#include <pcl/features/normal_3d_omp.h>
///////////////////////////////////////////////////////////////////////////////////////////
template <typename PointInT, typename PointOutT> void
pcl::NormalEstimationOMP<PointInT, PointOutT... | {
"content_hash": "96ac90206f1a6664e36bbae6d8f1148a",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 173,
"avg_line_length": 36.69892473118279,
"alnum_prop": 0.6079695282742456,
"repo_name": "drmateo/pcl",
"id": "390addad85736d6da1c5346115801dcbca80742d",
"size": "5205",
... |
'use strict';
const path = require('path');
const fs = require('fs');
const config = require('config');
const utils = require('./utils');
const view = require('../lib/view');
const dot = require('dot-object');
const extend = require('extend');
const express = require('express');
// eslint-disable-next-line
const route... | {
"content_hash": "879dc8fb26b42f994e06e3c8173f2465",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 110,
"avg_line_length": 23.986842105263158,
"alnum_prop": 0.6659352715304443,
"repo_name": "namics/generator-nitro",
"id": "b392205873298e318c9b6293b5794ce00a1137e3",
"siz... |
{% extends "base.html" %}
{% block head %}
{{ super() }}
<script src="/javascript/block.js"></script>
{% endblock %}
{% block title %}{{ title }}{% endblock %}
{% block content %}
<div id="headline" class="col">
<h1>{{ title }}</h1>
<h3>Attachment: {{ class }}</h3>
<!-- Blueprint Schema Version: {{ ve... | {
"content_hash": "74c1f79b22bcb6f3c1df0466fda942ca",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 190,
"avg_line_length": 33.6972972972973,
"alnum_prop": 0.5128328521013795,
"repo_name": "dmcgrath/starmade-blueprint-library",
"id": "326eae03906bf1ace08ac702d1d7fbf65aa5ed... |
<!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_65) on Wed Nov 12 13:03:00 UTC 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>com.hazelcast.hiber... | {
"content_hash": "22d34150c7c3e1b0d4397fa0230b0ab5",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 339,
"avg_line_length": 51.220689655172414,
"alnum_prop": 0.6768547192675374,
"repo_name": "SoCe/SoCe",
"id": "eaa248ba40f2b1e2eaf901c9fca56851c369b069",
"size": "7427",
... |
var loginButtonsSession = Accounts._loginButtonsSession;
Template._loginButtonsLoggedOutSingleLoginButton.events({
'click .login-button': function () {
var serviceName = this.name;
loginButtonsSession.resetMessages();
var callback = function (err) {
if (!err) {
loginButtonsSession.closeDrop... | {
"content_hash": "3bfbceb4ed820491b878adb1ac4458e5",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 90,
"avg_line_length": 37,
"alnum_prop": 0.7170787809085681,
"repo_name": "mcrider/aiga-5-0",
"id": "511dd61be9551a96036b6e02a3ec448478234d6c",
"size": "1758",
"binary": ... |
package org.assertj.core.api;
import static org.assertj.core.error.ShouldBeEqualByComparingFieldByFieldRecursively.shouldBeEqualByComparingFieldByFieldRecursively;
import static org.assertj.core.error.ShouldNotBeEqualComparingFieldByFieldRecursively.shouldNotBeEqualComparingFieldByFieldRecursively;
import java.util.... | {
"content_hash": "98336aaf3de8dfe1989493a31a35fe95",
"timestamp": "",
"source": "github",
"line_count": 1365,
"max_line_length": 248,
"avg_line_length": 44.843223443223444,
"alnum_prop": 0.6695201842806031,
"repo_name": "hazendaz/assertj-core",
"id": "a6554af2704edc0dd675fa2b6d949d7371ea443d",
"siz... |
% This is part of the TFTB Tutorial.
% Copyright (C) 1996 CNRS (France) and Rice University (US).
% See the file tutorial.tex for copying conditions.
This chapter presents some useful definitions that constitute the
background of time-frequency analysis (most of the information presented in
this tutorial are extract... | {
"content_hash": "64da5f02f95285d23ea60f118170300a",
"timestamp": "",
"source": "github",
"line_count": 451,
"max_line_length": 80,
"avg_line_length": 44.02439024390244,
"alnum_prop": 0.7223369428355578,
"repo_name": "HaizhaoYang/SST_compare",
"id": "11766ff3c6e19fdc8b514b3e8a9ffcf864abe867",
"size... |
\documentclass[numbers=enddot,12pt,final,onecolumn,notitlepage]{scrartcl}%
\usepackage[headsepline,footsepline,manualmark]{scrlayer-scrpage}
\usepackage[all,cmtip]{xy}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{framed}
\usepackage{comment}
\usepackage{color}
\usepackage{hyperref}... | {
"content_hash": "3d62b1265bc180ab4349ada38abfa1f1",
"timestamp": "",
"source": "github",
"line_count": 316,
"max_line_length": 804,
"avg_line_length": 40.427215189873415,
"alnum_prop": 0.6779647749510763,
"repo_name": "darijgr/nogra",
"id": "ea87e459c81530fa8756cf541aeda37578bc71c3",
"size": "1277... |
module IpsWalet
module Util
class << self
def hash_to_query_string(hash)
hash.collect do |key, value|
if value.is_a?(Hash)
hash_to_query_string value, key
elsif value.is_a?(Array)
array_to_query_string value
else
url_encode(key) + "="... | {
"content_hash": "2d9c3225928c352c2876f8afc533b179",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 76,
"avg_line_length": 24.344827586206897,
"alnum_prop": 0.5198300283286119,
"repo_name": "stratogee/ips_wallet",
"id": "2793a0b7188ab665755179d68b5b07037e38e6ce",
"size": ... |
from urllib.parse import urlparse
from django.conf import settings
from django.db import migrations
def create_default_robots_txt(apps, schema_editor):
Site = apps.get_model("sites", "Site")
Url = apps.get_model("robots", "Url")
Rule = apps.get_model("robots", "Rule")
domain = urlparse(settings.SITE... | {
"content_hash": "750f6547ed33bbb99a13080ab027c54d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 94,
"avg_line_length": 29.02777777777778,
"alnum_prop": 0.6698564593301436,
"repo_name": "mitodl/cookiecutter-djangoapp",
"id": "2eba032677ebb5e1f14a6f6aa20d0b45711937d8",
... |
package fr.univ_lille.cristal.emeraude.chasqui.core.synchronization
import akka.actor.{Actor, ActorRef, ActorSystem, ExtendedActorSystem, Extension, ExtensionId, ExtensionIdProvider, Props}
import akka.pattern.ask
import akka.util.Timeout
import fr.univ_lille.cristal.emeraude.chasqui.core.Node._
import fr.univ_lille.c... | {
"content_hash": "76bd71c8120eb724b00fd51d645ac862",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 201,
"avg_line_length": 42.45355191256831,
"alnum_prop": 0.7607156648217274,
"repo_name": "guillep/chasqui",
"id": "bcbbabfbefc31da93bdab53f42f2eea45565c0c4",
"size": "776... |
from django.conf.urls import patterns, url
from status import views
urlpatterns = patterns('',
url(r'^ups$', views.ups_status, name='ups_status'),
url(r'^tor$', views.tor_status, name='tor_status'),
)
| {
"content_hash": "141323173b8e3f4fa3a1c7ad70420618",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 29.142857142857142,
"alnum_prop": 0.7009803921568627,
"repo_name": "Khryptooo/infra_api",
"id": "67ce55c048774bb454c705b23d4003d7370d1d13",
"size": "2... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.10.27 at 06:20... | {
"content_hash": "d36e8f63c041b41caf564c58a8767fd5",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 111,
"avg_line_length": 26.95138888888889,
"alnum_prop": 0.616851326977583,
"repo_name": "web-education/cas-server-async",
"id": "8d7c9e9be04583c3e6fa7a4d248b742cddf5a71c",
... |
`libStorage` provides a vendor agnostic storage orchestration model, API, and
reference client and server implementations.
## Overview
`libStorage` enables storage consumption by leveraging methods commonly
available, locally and/or externally, to an operating system (OS).
### The Past
The `libStorage` project and it... | {
"content_hash": "76f9da1859370e4764465d0f463aa0eb",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 144,
"avg_line_length": 48.57692307692308,
"alnum_prop": 0.8161124307205068,
"repo_name": "oppodeldoc/rexray",
"id": "14ba28d6dc1fcdc0401f997e10164dac42dbd598",
"size": "5... |
Here are some sample apps for [**nw.js**](https://github.com/nwjs/nw.js). <br/>
Some of them are modified from [GoogleChrome/**chrome-app-samples**](https://github.com/GoogleChrome/chrome-app-samples). <br/>
Some other example apps can be found at [Sapioit-com/**nwjs-example-apps**](https://github.com/Sapioit-com/nwjs-... | {
"content_hash": "c1d45f239b4ac9f98472f1cda4bd6c37",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 127,
"avg_line_length": 42.972972972972975,
"alnum_prop": 0.7754716981132076,
"repo_name": "sapioit/nw-sample-apps",
"id": "42ca6c54f3895cefc382b5db41900baeba64ef5d",
"size... |
Normally, index locking is an invisible process. Exclusive write access is
controlled via lockfiles within the index directory and problems only arise
if multiple processes attempt to acquire the write lock simultaneously;
search-time processes do not ordinarily require locking at all.
On shared volumes, however, the... | {
"content_hash": "4a00c6fab3391ee94de276ac1fdb501c",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 94,
"avg_line_length": 50.61538461538461,
"alnum_prop": 0.786727456940223,
"repo_name": "rbevers/lucy",
"id": "b28eb722fa2e9bbf740ec3f28fcf64602791bb89",
"size": "3985",
... |
<?php
namespace Lthrt\UserBundle\Tests\Controller;
use Lthrt\UserBundle\Entity\Role;
use Lthrt\UserBundle\Tests\Entity\TestUser;
use Lthrt\UserBundle\Tests\TestWithFixtures;
use Symfony\Component\Security\Core\Encoder\BCryptPasswordEncoder;
class EntityTest extends TestWithFixtures
{
public function tearDown()
... | {
"content_hash": "66710e225043ea917e58effdc57c7b0c",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 135,
"avg_line_length": 39.75675675675676,
"alnum_prop": 0.5838205302515296,
"repo_name": "lthrt/UserBundle",
"id": "3fb2d563cb2f9c2c47cc57ca5c9f79cbd86c5a46",
"size": "73... |
<?php
/*
* MarvelComicsLib
*
* This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ) on 06/10/2016
*/
namespace MarvelComicsLib\Controllers;
use MarvelComicsLib\APIException;
use MarvelComicsLib\APIHelper;
use MarvelComicsLib\Configuration;
use MarvelComicsLib\Models;
use MarvelComicsLib\... | {
"content_hash": "94ac00b579d6b81f10cbb356bdd6c51d",
"timestamp": "",
"source": "github",
"line_count": 571,
"max_line_length": 302,
"avg_line_length": 47.75656742556918,
"alnum_prop": 0.5848765998019729,
"repo_name": "thehappybug/mavel-new-testsgen",
"id": "419f376c711f26d4ad94e588ece06ed66afe0dce",... |
<!DOCTYPE html>
<html lang="en" ng-app="mesos">
<head>
<meta charset="utf-8">
<title>Mesos</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="static/css/bootstrap-3.3.6.min.css" rel="s... | {
"content_hash": "a090530ceca009ac439d875a1a212b24",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 93,
"avg_line_length": 37.17460317460318,
"alnum_prop": 0.5373612297181896,
"repo_name": "zmalik/mesos",
"id": "46cb2843c2221ccebb7d811c0045be2c124afec1",
"size": "4684",
... |
package mssql
import (
"encoding/binary"
"errors"
"io"
)
type packetType uint8
type header struct {
PacketType packetType
Status uint8
Size uint16
Spid uint16
PacketNo uint8
Pad uint8
}
// tdsBuffer reads and writes TDS packets of data to the transport.
// The write and read buffer... | {
"content_hash": "b8d7364b82a508c79490c1e27f05c705",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 84,
"avg_line_length": 20.612546125461254,
"alnum_prop": 0.6577157178660938,
"repo_name": "vdbt/gitea",
"id": "bad2b00de5425589c5550560ceecb879a64253f0",
"size": "5586",
... |
package org.adaptlab.chpir.android.survey.receivers;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.util.Log;
import org.adaptlab.chpir.android.activerecordcl... | {
"content_hash": "da6af63ef97ee10b5e0d741aa6c7c18c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 89,
"avg_line_length": 34.666666666666664,
"alnum_prop": 0.7788461538461539,
"repo_name": "DukeMobileTech/AndroidSurvey",
"id": "3d9311b1159cd67a265c43c5a7e74b675404eea9",
... |
Use Weka ML library to train and test a dataset, then output a prediction.
## Usage
```
Usage:
com.github.r351574nc3.amex.assignment2.App -t <test data.arff> -i <input data.arff> -o <output arff>
-t <test data.arff> : Test data used for training and testing the model.
-i <input data.arf... | {
"content_hash": "782f6a40a3d201099aedf1907586244f",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 237,
"avg_line_length": 49.65909090909091,
"alnum_prop": 0.5757437070938215,
"repo_name": "r351574nc3/amex-assignments",
"id": "8ad39ebab78d9a3c0e2a2826c3e0efb453de2433",
"... |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<context-param>
<param-name>contextConfigLocation</param-name>
... | {
"content_hash": "54fb067151f23eed5a42b5f8ad5d7f11",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 113,
"avg_line_length": 34.94202898550725,
"alnum_prop": 0.6329323931978432,
"repo_name": "ordinary/smile",
"id": "c78c5c76b3d32e986fb8cd37bdb0096868275cf5",
"size": "2411"... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-11030746-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('co... | {
"content_hash": "f48134ef22c9f9206ff3b208e699232a",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 163,
"avg_line_length": 33.492753623188406,
"alnum_prop": 0.6412808308091735,
"repo_name": "tuvokki/tuvokki.github.com",
"id": "b5b0b4736179607f329bb50499f40f5242ccabae",
"... |
module LemonadeStand
class StreetWorkEvent < Event
def modify choice
rand(4) == 3 ? choice.glasses_made : 0
end
end
end
| {
"content_hash": "3453f6d5461c8c1332021e940b87f36a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 12.909090909090908,
"alnum_prop": 0.647887323943662,
"repo_name": "darrencauthon/lemonade_stand",
"id": "7246a500f1f1772dc1dc25f7ac3b2895d6e792cb",
"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Uromyces cladomanes Traverso
### Remarks
null | {
"content_hash": "1c1dd00939d9507a6aa536d99c0f8e81",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 28,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.7218045112781954,
"repo_name": "mdoering/backbone",
"id": "072785c54f56879e524e7441d15e6527a0a76ee2",
"size": "185... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.