text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
namespace Rocketeer\Console;
use Rocketeer\Dummies\DummyPromptingCommand;
use Rocketeer\TestCases\RocketeerTestCase;
class RocketeerStyleTest extends RocketeerTestCase
{
public function testDisplaysWarningInNonInteractiveMode()
{
$command = new DummyPromptingCommand();
$tester = $this... | {
"content_hash": "5ed9289e0ec45a740ebfdf08add88591",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 93,
"avg_line_length": 27.88888888888889,
"alnum_prop": 0.6918990703851262,
"repo_name": "rocketeers/rocketeer",
"id": "e11abe4f500f69b406aec32886c685bbf3d42614",
"size": "... |
package org.backbone.orm.mybatis.dao;
import org.backbone.orm.EntityAccessor;
import org.backbone.orm.mybatis.DatabaseRouter;
/**
* @author bianliang (05/07/2017)
*/
public interface DatabaseRouterDao extends EntityAccessor {
DatabaseRouter getDatabaseRouter();
}
| {
"content_hash": "dbfdc0f87de6b1f1938608e01ecd9b40",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 59,
"avg_line_length": 22.75,
"alnum_prop": 0.7802197802197802,
"repo_name": "cyanqueen/backbone",
"id": "4e24156362f2e7821929a0a2d80ec15f9d5c712b",
"size": "273",
"binar... |
using ENode.Messaging;
namespace ENode.Commanding
{
/// <summary>Represents a command.
/// </summary>
public interface ICommand : IMessage
{
/// <summary>Represents the associated aggregate root string id.
/// </summary>
string AggregateRootId { get; }
}
}
| {
"content_hash": "68ef4ec5b0071da70031843a7c179efa",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 23.307692307692307,
"alnum_prop": 0.6204620462046204,
"repo_name": "tangxuehua/enode",
"id": "f78f07c54953e2aa39e8a7b154afcb361393d206",
"size": "305... |
module Elmas
class Item
include Elmas::Resource
def base_path
"logistics/Items"
end
def mandatory_attributes
[:code, :description]
end
def other_attributes # rubocop:disable Metrics/MethodLength
[
:class_01, :class_02, :class_03, :class_04, :class_05, :copy_remarks... | {
"content_hash": "83ec86e6f3b3f009948b262178241750",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 99,
"avg_line_length": 48.121212121212125,
"alnum_prop": 0.6479848866498741,
"repo_name": "mistaguy/exactonline-api-ruby-client",
"id": "2575c7034426484651c305d6d7827194e96a1... |
import { TestBed, inject } from '@angular/core/testing';
import { RecipesService } from './recipes.service';
describe('RecipesService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [RecipesService]
});
});
it('should ...', inject([RecipesService], (service: RecipesServic... | {
"content_hash": "55fd11acf18cef16824f16c0784b964a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 74,
"avg_line_length": 24.866666666666667,
"alnum_prop": 0.6300268096514745,
"repo_name": "WindMay/angular-tablita",
"id": "b9a012cb4777b715439e51cbf1bf192304773c48",
"size... |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>withFlippedAroundX</title>
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../";</script>
<script type="text/javascript" src="../../../s... | {
"content_hash": "7d77b896605e582b390ea0ee4c0427fd",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 627,
"avg_line_length": 86.19354838709677,
"alnum_prop": 0.655875748502994,
"repo_name": "Hexworks/zircon",
"id": "069964931336923d465f1cbc27a8a7b1a8d36898",
"size": "5345"... |
<!DOCTYPE html>
<!--
The MIT License (MIT)
Copyright (c) 2015 Mickael Jeanroy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
t... | {
"content_hash": "ca4e713c45219f5d0ed914b920b80fe4",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 114,
"avg_line_length": 37.36477987421384,
"alnum_prop": 0.5707793300791113,
"repo_name": "mjeanroy/wafflejs",
"id": "37ff2b1c1485fa96d086205a21875f40ddc2008d",
"size": "5... |
layout: page
title: Stephen Oconnor's 62nd Birthday
date: 2016-05-24
author: Keith Haley
tags: weekly links, java
status: published
summary: Vestibulum sed velit iaculis, venenatis neque at, cursus odio.
banner: images/banner/people.jpg
booking:
startDate: 10/23/2018
endDate: 10/28/2018
ctyhocn: MDTYSHX
groupCo... | {
"content_hash": "54b6b0d51a15b38d6af7112a39af1e8b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 652,
"avg_line_length": 84.30434782608695,
"alnum_prop": 0.8107271789582259,
"repo_name": "KlishGroup/prose-pogs",
"id": "754f015c41b7790acc5c5a0ba92e7a76c673fd50",
"size":... |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include <folly/futures/Future.h>
#include <folly/futures/Promise.h>
#include <folly/Unit.h>
#include <cstdint>
#include <functional>
#include <map>
#include <memory>
#include <set>
#... | {
"content_hash": "3496db90c551c60149eec89cfe7ef189",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 67,
"avg_line_length": 16.608695652173914,
"alnum_prop": 0.7068062827225131,
"repo_name": "getyourguide/fbthrift",
"id": "21e3ca2a7af053bbdee41165b806a74ed8f21a8c",
"size":... |
package com.autochime.autochimeapplication.fragments;
import android.app.LoaderManager;
import android.content.CursorLoader;
import android.content.Loader;
import android.database.Cursor;
import android.net.Uri;
import android.os.Bundle;
import android.provider.ContactsContract;
import android.app.DialogFragment;
impo... | {
"content_hash": "408c67beeb53886351e7f52d62940f07",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 89,
"avg_line_length": 31.628318584070797,
"alnum_prop": 0.661723559037493,
"repo_name": "yuwilbur/autochime",
"id": "ae7aa134f33c758020f5b94ad5b857e29a1de86c",
"size": "3... |
/*
* Author : Shujia Huang & Siyang Liu
* Date : 2013-11-22 14:37:13
*
* Modfiy from '~/Bin/software_pip/Reapr/Reapr_1.0.16/src/task_stats.cpp' wrote by Matin Hunt
* 2013-11-26 23:02:07 I shift to calculate the read coverage instead of fragment coverage!!
*
*/
#include <iostream>
#include <fstream>
#include <... | {
"content_hash": "587f5356dd7a4f88427a2d6f2d327cb3",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 151,
"avg_line_length": 43.60829493087557,
"alnum_prop": 0.605938920004227,
"repo_name": "ShujiaHuang/AsmVar",
"id": "711c260b7be1a1563c5223e5414546f7e96c8184",
"size": "9... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.Graphing.Util;
using UnityEditor.ShaderGraph.Drawing.Controls;
using UnityEditor.UIElements;
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing
{
class PBRSettingsView : VisualElement... | {
"content_hash": "621975d6707944172ea1ccdb2314b962",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 83,
"avg_line_length": 32.51578947368421,
"alnum_prop": 0.5150534153447718,
"repo_name": "Unity-Technologies/ScriptableRenderLoop",
"id": "b92e40832a94b3352c7a71978041d445e5c... |
module Exercises.ChapterSeven
( chop8
, mychop8
, mymap
, altMap
, anyLuhn
, myiterate
, encode
, decode
, encodeWithParity
, decodeWithParity
, transmit
, transmitWithParity
, faultyTransmit
) where
import Data.Char
import Exercises.ChapterOneToFive (luhnDouble)
unfold :: (a -> Bool) -> ... | {
"content_hash": "60dc724641d5a21a7e3e548a4b59c6e0",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 74,
"avg_line_length": 22.70754716981132,
"alnum_prop": 0.6202742002492729,
"repo_name": "philipcraig/hutton",
"id": "2721a6121774aa7b8260a3e4b330be5fb3c0a63a",
"size": "2... |
package org.robovm.samples.uicatalog.viewcontrollers;
import org.robovm.apple.foundation.NSArray;
import org.robovm.apple.uikit.UIColor;
import org.robovm.apple.uikit.UIImage;
import org.robovm.apple.uikit.UIImageView;
import org.robovm.apple.uikit.UIViewContentMode;
import org.robovm.apple.uikit.UIViewController;
im... | {
"content_hash": "ee66c4a778cc73fe7b7163b3863228f3",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 93,
"avg_line_length": 37.44186046511628,
"alnum_prop": 0.7006211180124223,
"repo_name": "robovm/robovm-samples",
"id": "755e6677a78daa2353dec340104b648fdb795872",
"size": ... |
from pkg_resources import get_distribution
__version__ = get_distribution('rvo').version
| {
"content_hash": "cf9fb4abc6937286b744fa143f15af1e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 45,
"avg_line_length": 44.5,
"alnum_prop": 0.7752808988764045,
"repo_name": "noqqe/rvo",
"id": "a5603ab3fe8374a1042109aa6dd6dbd748b2715d",
"size": "114",
"binary": false,
... |
namespace llvm {
class AliasAnalysis;
class DataLayout;
class MDNode;
/// isSafeToLoadUnconditionally - Return true if we know that executing a load
/// from this value cannot trap. If it is not obviously safe to load from the
/// specified pointer, we do a quick local scan of the basic block containing
/// ScanFrom... | {
"content_hash": "f65ecfa7b51b8d7b3cc3c50ce7bacbe5",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 78,
"avg_line_length": 47.275,
"alnum_prop": 0.6795346377578001,
"repo_name": "Fairly/opencor",
"id": "010fee99c266ec13647d61ec3933a9988a817086",
"size": "2481",
"binary"... |
//---------------------------------------------------------------------
// <copyright file="DataServicePagingProviderWrapper.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <summary>
// Wrapper for IDataServicePagingProvider discovery by service insta... | {
"content_hash": "6c0f0df5ca8dac0fe219d20f9d8e8314",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 117,
"avg_line_length": 33.78823529411765,
"alnum_prop": 0.5543175487465181,
"repo_name": "mind0n/hive",
"id": "ff25d5e5b8bde67855549ee5fc88551857b3575e",
"size": "2874",
... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Comp2304Component } from './comp-2304.component';
describe('Comp2304Component', () => {
let component: Comp2304Component;
let fixture: ComponentFixture<Comp2304Component>;
beforeEach(async(() => {
TestBed.configureTestingM... | {
"content_hash": "e724a3eed173f1cc1b263380b2216890",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 73,
"avg_line_length": 23.88888888888889,
"alnum_prop": 0.6744186046511628,
"repo_name": "angular/angular-cli-stress-test",
"id": "efe2be2e248bfa8725fc4d500b59e48d7db47a2c",
... |
#include <common.h>
#include <asm/io.h>
#include <asm/mpc512x.h>
/*
* MDDRC Config Runtime Settings
*/
ddr512x_config_t default_mddrc_config = {
.ddr_sys_config = CONFIG_SYS_MDDRC_SYS_CFG,
.ddr_time_config0 = CONFIG_SYS_MDDRC_TIME_CFG0,
.ddr_time_config1 = CONFIG_SYS_MDDRC_TIME_CFG1,
.ddr_time_config2 = CONF... | {
"content_hash": "7e936ba31f28f6862dacbb1d2fd8d5d5",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 78,
"avg_line_length": 36.11920529801324,
"alnum_prop": 0.7165383204987166,
"repo_name": "guileschool/BEAGLEBONE-tutorials",
"id": "6451ea9a4aa5abef6712cc1359ca2db9a052e33f"... |
import testtools
import taskflow.engines
from taskflow import exceptions as exc
from taskflow.patterns import graph_flow as gf
from taskflow.patterns import linear_flow as lf
from taskflow.patterns import unordered_flow as uf
from taskflow import retry
from taskflow import states as st
from taskflow import test
from t... | {
"content_hash": "9551c4155db032d2e2f4c19f76fe98c7",
"timestamp": "",
"source": "github",
"line_count": 1313,
"max_line_length": 79,
"avg_line_length": 42.428027418126426,
"alnum_prop": 0.4711352049974869,
"repo_name": "jimbobhickville/taskflow",
"id": "3eb5b2085c34dc0b1ee6c8e0766244d75700dc5f",
"s... |
.class Lcom/android/server/sec/ClippedDataPickerDialog$ClearConfirmDialog;
.super Landroid/app/AlertDialog;
.source "ClippedDataPickerDialog.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/sec/ClippedDataPickerDialog;
.end annotation
.annotation system Ldalvi... | {
"content_hash": "2129d038f4ea575daf1635fd8678c482",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 192,
"avg_line_length": 34.41958041958042,
"alnum_prop": 0.7673709874034945,
"repo_name": "baidurom/devices-n7108",
"id": "dd0f0b13e195856cda5dd965b9e95d783b5653e5",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coalgebras: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "e995965c72cbb43f06e87d7d136d7cb9",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 399,
"avg_line_length": 42.06896551724138,
"alnum_prop": 0.5579234972677596,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "914f2c5df7bfc7f9c39bd5ac2b191dd86ce57bf9",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using System.Reflection;
namespace FakeThat.Engine
{
/// <summary>
/// Encapsulates a lambda expression that is used to identify a property
/// (e.g. an expression like `() => fake.Object.S... | {
"content_hash": "23cdde892d407dd3ef10ef446f502df8",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 127,
"avg_line_length": 32.68518518518518,
"alnum_prop": 0.5994334277620397,
"repo_name": "eteeselink/fakethat",
"id": "78ff065ce5e984ac2f72d59078acc6c85b224f8e",
"size": "... |
{% extends "base.html" %}
{% block title %}FlaskApp - Confirm your accont{% endblock %}
{% block page_content %}
<div class="page-header">
<h1>
Hello, {{ current_user.username }}!
</h1>
<h3>You have not confirmed your account yet.</h3>
<p>
Before you can access this site you need to co... | {
"content_hash": "de75fed2dcb77cd07aadb74eeba94626",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 85,
"avg_line_length": 29.5,
"alnum_prop": 0.6084745762711864,
"repo_name": "jykntr/flaskapp",
"id": "a06270bd35963f25dd06e4f1ce146d2a7b3136ed",
"size": "590",
"binary": ... |
<VerticalLayout captionMargin="0" margin="true" width="100%" height="100%" spacing="true">
<ValidationSettings withApply="true" withAttach="true" withPrint="true" />
<GuiTable title="TRANSACTION CONFIGURATION" name="WF_ASSIGNEMENT" dataPath="DATAROOT" inLineEditable="true" addEnabled="false" deleteEnabled="false"... | {
"content_hash": "538848438a7b3673d87505a14aae4535",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 186,
"avg_line_length": 93.69565217391305,
"alnum_prop": 0.7183294663573085,
"repo_name": "FOC-framework/framework",
"id": "917de757924e74f705303d69a1e1795b14a9daea",
"size... |
ROOTDIR=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
# Base path used to install.
DESTDIR=/usr/local
# Used to populate version variable in main package.
VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always)
PROJECT_ROOT=github.com/vdemeester/docker-volume-ipfs
# Race detector is only supported on... | {
"content_hash": "817b9b7e3fae70b503e7886b54e8f8b1",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 180,
"avg_line_length": 33.95454545454545,
"alnum_prop": 0.6548862115127175,
"repo_name": "vdemeester/docker-volume-ipfs",
"id": "21217afcad1eb0ef8059eb35f8836bf7bebb920b",
... |
using Lucene.Net.Support;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace Lucene.Net.Util
{
/// <summary>
/// Represents <see cref="T:char[]"/>, as a slice (offset + Length) into an existing <see cref="T:char[]"/>.
/// The <se... | {
"content_hash": "644b1ed843671f7740e4673f1ccc813e",
"timestamp": "",
"source": "github",
"line_count": 416,
"max_line_length": 157,
"avg_line_length": 32.875,
"alnum_prop": 0.4708979233694063,
"repo_name": "laimis/lucenenet",
"id": "b47cb0b93878f75a3340c9b5de8012d63cf8130f",
"size": "14537",
"bi... |
FROM balenalib/armv7hf-debian:sid-run
LABEL io.balena.device-type="artik533s"
RUN apt-get update && apt-get install -y --no-install-recommends \
less \
kmod \
nano \
net-tools \
ifupdown \
iputils-ping \
i2c-tools \
usbutils \
&& rm -rf /var/lib/apt/lists/*
RUN [ ! -d /.balena/messages ] && mkdir -p ... | {
"content_hash": "c4f83593222559d43fc251f3c04ee53b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 608,
"avg_line_length": 54.1,
"alnum_prop": 0.7005545286506469,
"repo_name": "nghiant2710/base-images",
"id": "72488f645519d1b05ed99f6f32963477cfd6fe88",
"size": "1082",
... |
var app = require('../');
var Definition = app.models.Definition;
var TestDataBuilder = require('./helpers/test-data-builder');
describe('Definition', function() {
});
| {
"content_hash": "c32c00a5b24a18b4614d5e2a47cdc4f1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 24.285714285714285,
"alnum_prop": 0.6941176470588235,
"repo_name": "tsiry95/openshift-strongloop-cartridge",
"id": "c5d2f34947edb0595ce850203fbd1dafccee... |
classdef substrTest < TestCase
methods
function this = substrTest(methodName)
this = this@TestCase(methodName);
end
function testEmptyString(~)
s = '';
assertEqual(s(1:0), substr('', 1, 0));
assertExceptionThrown(@() subst... | {
"content_hash": "d2e1924ea588f885ce5ebb12e9e16ff4",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 79,
"avg_line_length": 30.533333333333335,
"alnum_prop": 0.509825327510917,
"repo_name": "navoj/WholeCell",
"id": "3bfe35ae0e9f87a00796ea053e7a83bd67c809fd",
"size": "916",... |
namespace blink {
class ExecutionContext;
// FetchFormDataConsumerHandle is a handle made from an EncodedFormData. It
// provides drainAsFormData in the associated Reader.
class MODULES_EXPORT FetchFormDataConsumerHandle final : public FetchDataConsumerHandle {
WTF_MAKE_NONCOPYABLE(FetchFormDataConsumerHandle);
p... | {
"content_hash": "05c6d772228716a183a1415a677d217b",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 146,
"avg_line_length": 38,
"alnum_prop": 0.7851897184822522,
"repo_name": "wuhengzhi/chromium-crosswalk",
"id": "ab25ff88bd32c094ca1a00a158067270e7275622",
"size": "2322",... |
package com.pzybrick.iote2e.stream.email;
import java.io.IOException;
import java.util.Properties;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax... | {
"content_hash": "7b6a5e0f01fc6daa202db6ba633d0501",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 164,
"avg_line_length": 34.846846846846844,
"alnum_prop": 0.7158738366080661,
"repo_name": "petezybrick/iote2e",
"id": "1c1226a5e4c720991b799dbaa4bfe105a0c2f3e5",
"size": ... |
import { renderMathjax } from '../libs/mathjax.js';
import { default as Potmum } from '../legacy';
function newAction() {
Potmum.createArtcleEditor('.js-article-editor')
}
function editAction() {
Potmum.createArtcleEditor('.js-article-editor')
}
function showAction() {
Potmum.createCommentForm('.js-comme... | {
"content_hash": "f5a83e7e5e9af8cb415904e4c22c9478",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 51,
"avg_line_length": 23.708333333333332,
"alnum_prop": 0.6977152899824253,
"repo_name": "rutan/potmum",
"id": "b2d5c2262ea6f36329d8f592b3c7c100cf6bab58",
"size": "569",
... |
class SessionsController < ApplicationController
skip_before_action :verify_authenticity_token
def new
end
def create
if @user = User.find_by(email: user_params[:email])
if @user.authenticate(user_params[:password])
session[:user_id] = @user.id
if @user.admin?
redirect_to u... | {
"content_hash": "7984c3b8d9fe86bd763ca8e00f700c60",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 55,
"avg_line_length": 19.444444444444443,
"alnum_prop": 0.6157142857142858,
"repo_name": "Aaron1515/WorkOutTracker",
"id": "5f8616ad1578efcf01f05f4e3a900d9f1b4176a7",
"siz... |
#include "config.h"
#include "JSHTMLCollection.h"
#include "HTMLAllCollection.h"
#include "HTMLCollection.h"
#include "HTMLFormControlsCollection.h"
#include "HTMLOptionsCollection.h"
#include "JSDOMBinding.h"
#include "JSHTMLAllCollection.h"
#include "JSHTMLFormControlsCollection.h"
#include "JSHTMLOptionsCollectio... | {
"content_hash": "8dfbc8b066b95c2fbddcd8f9393c7393",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 103,
"avg_line_length": 30,
"alnum_prop": 0.7461111111111111,
"repo_name": "applesrc/WebCore",
"id": "acef6d8bbee1eaacf04d768fdc8bb0d401fa6ea5",
"size": "2641",
"binary":... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Wed Apr 17 10:23:49 UTC 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
... | {
"content_hash": "6753512b49175898e55449f2a1a29ac9",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 256,
"avg_line_length": 53.932944606414,
"alnum_prop": 0.5331098978323152,
"repo_name": "ladygagapowerbot/bachelor-thesis-implementation",
"id": "e319258624e7e5fb3c5b3365564... |
import flask
import os.path
import tempfile
import urllib2
from npactflask import app
from npactflask.views import getrelpath
from pynpact import util, entrez, parsing
from flask import url_for, redirect, request, flash
logger = app.logger
def mksavefile(prefix):
"""Wrapper around creating the file to save uplo... | {
"content_hash": "a352188287d72ee55d58a4223cb89e82",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 76,
"avg_line_length": 30.367088607594937,
"alnum_prop": 0.6192163401417258,
"repo_name": "NProfileAnalysisComputationalTool/npact",
"id": "a1b3d92742d1872c557da5e157c70a90b... |
class EngineBuilder < ErrorsApi
def read_base_image_from_dockerfile
dockerfile = File.open("#{basedir}/Dockerfile", 'r')
begin
from_line = dockerfile.gets("\n", 100)
from_line.gsub!(/^FROM[ ]*/, '')
ensure
dockerfile.close
end
from_line
end
def get_base_image
base_image_name = read_base_image... | {
"content_hash": "e2b3dbbbf1d84eb6284ce1a92f5c3d71",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 110,
"avg_line_length": 26.807692307692307,
"alnum_prop": 0.7087517934002869,
"repo_name": "EnginesOS/System",
"id": "6b541cb0abd09e715aee3406144a5e462eaff2e7",
"size": "69... |
package geometry.diagram.edit.parts;
import geometry.diagram.edit.policies.LineItemSemanticEditPolicy;
import org.eclipse.draw2d.Connection;
import org.eclipse.draw2d.PolygonDecoration;
import org.eclipse.draw2d.RotatableDecoration;
import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.... | {
"content_hash": "a56992a1face7adf1b4a03af5b427f5d",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 116,
"avg_line_length": 26.926380368098158,
"alnum_prop": 0.6351105035315562,
"repo_name": "albertfdp/petrinet",
"id": "80e5c4051888abf7278117ec80174b821bf7620c",
"size": ... |
#ifndef UMM_MALLOC_H
#define UMM_MALLOC_H
/* ------------------------------------------------------------------------ */
#include "umm_malloc_cfg.h" /* user-dependent */
#ifdef __cplusplus
extern "C" {
#endif
typedef struct UMM_HEAP_INFO_t {
unsigned short int totalEntries;
unsigned short int usedEntries;
... | {
"content_hash": "b6afd8d02da555a6fcf488dedfa8dac5",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 78,
"avg_line_length": 20.47826086956522,
"alnum_prop": 0.5881104033970276,
"repo_name": "vvzvlad/Iuppiter",
"id": "0019b0ec500fbbd317ac8a28a48b38b0e823c550",
"size": "1224... |
<!DOCTYPE html>
<html lang=sl>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Vnes-el/la sem pravilno geslo, vendar se še vedno ne morem povezati</title>
<link rel="stylesheet" type="text/css" href="../vodnik_1404.css">
<script type="text/javascript" src="jquery.js"></script><script t... | {
"content_hash": "58c5461698c47bdc6848acb1791348d3",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 678,
"avg_line_length": 97.75,
"alnum_prop": 0.7347826086956522,
"repo_name": "ubuntu-si/ubuntu.si",
"id": "859cb2d5b4e11b3a43b44ba860ead2655c2815d3",
"size": "7974",
"bi... |
/*********************************************************************
** Program Filename: Stack.cpp
** Author: Jason Goldfine-Middleton
** Date: 10/29/15
** Description: Contains the implementation for the Stack class
** member functions.
************************************************************... | {
"content_hash": "656ce6c26e23505956455df8a5f4dbd3",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 71,
"avg_line_length": 29.304761904761904,
"alnum_prop": 0.47611309717257067,
"repo_name": "jrgoldfinemiddleton/cs162",
"id": "ee3667840d584510159e12e3a2f3f1d174d9196b",
"... |
IF (F77_FUNC)
SET(F77_BLAS_MANGLE_DEFAULT ${F77_FUNC})
ELSE()
SET(F77_BLAS_MANGLE_DEFAULT "UNDEFINED")
ENDIF()
IF(WIN32 AND NOT CYGWIN)
SET(F77_BLAS_MANGLE_DEFAULT "${F77_FUNC}")
ENDIF()
# Set options so that users can change these!
SET(F77_BLAS_MANGLE ${F77_BLAS_MANGLE_DEFAULT} CACHE STRING
"Name mangling t... | {
"content_hash": "6add76573f80b4db3991aa1417666f45",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 65,
"avg_line_length": 25.1875,
"alnum_prop": 0.7295285359801489,
"repo_name": "wawiesel/BootsOnTheGround",
"id": "7215ccf7f683322f28f680265c4c69891f97384e",
"size": "2471"... |
package uk.co.baconi.secure.base.lock;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import uk.co.baconi.secure.base.BaseIntegrationTest;
import uk.co.baconi.secure.base.bag.Bag;
import uk.co.baconi.secure.base.password.Password;
import static org.hamcrest.MatcherAssert.asser... | {
"content_hash": "aa6eeb9369ed32606d123e98a520c26f",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 85,
"avg_line_length": 35.68181818181818,
"alnum_prop": 0.7012738853503184,
"repo_name": "beercan1989/secure-my-bacon",
"id": "4ed24c6ca2f0532e5d06e7cb2594c50a44e0501d",
"s... |
package org.yy.base.util;
import org.apache.commons.beanutils.ConversionException;
import org.apache.commons.beanutils.Converter;
import org.apache.commons.lang.StringUtils;
import java.text.DecimalFormat;
import java.text.ParseException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* This class is ... | {
"content_hash": "6e874bb5c9dd541116849629f75c2993",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 100,
"avg_line_length": 34.32394366197183,
"alnum_prop": 0.5662700041034058,
"repo_name": "yyitsz/myjavastudio",
"id": "e8482f521c17668ec73bc9a61ef64ee969d74d22",
"size": "... |
Average of Atmospheric Temperature
18.66957664489746 °C
Average of Atmospheric Temperature without continents
17.746984481811523 °C
Average of Atmospheric Zonal component - Uwind
0.017930543050169945 m/s
Average of Atmospheric Zonal component without continents
0.40107759833335876 m/s
Average of Atmospheric Meridio... | {
"content_hash": "fd12e8f6d8730e8b6d1518dfd9ab64bd",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 62,
"avg_line_length": 23.5609756097561,
"alnum_prop": 0.8405797101449275,
"repo_name": "Herpinemmanuel/Oceanography",
"id": "3594b809923bc4ccc5a865dbeda97a7e7f300b54",
"si... |
/**
* @file LPC214x/hal_spi_lld.h
* @brief LPC214x low level SPI driver header.
*
* @addtogroup SPI
* @{
*/
#ifndef HAL_SPI_LLD_H
#define HAL_SPI_LLD_H
#if HAL_USE_SPI || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. ... | {
"content_hash": "f9fa18caede7cb36acb2ec9fb7636ce3",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 79,
"avg_line_length": 27.523316062176164,
"alnum_prop": 0.46442018072289154,
"repo_name": "netik/dc26_spqr_badge",
"id": "05b4f8a06d7605a9109254c94dc3fbf525e4c356",
"size... |
package it.agilelab.bigdata.spark.search.impl
import scala.reflect.ClassTag
import it.agilelab.bigdata.spark.search._
import it.agilelab.bigdata.spark.search.dsl.DslQuery
import it.agilelab.bigdata.spark.search.utils._
import org.apache.lucene.document.StoredField
import org.apache.lucene.index.IndexWriter
import org... | {
"content_hash": "41d9e04421af1958ab90e6e0a92923c7",
"timestamp": "",
"source": "github",
"line_count": 704,
"max_line_length": 238,
"avg_line_length": 43.46022727272727,
"alnum_prop": 0.6886194273761276,
"repo_name": "agile-lab-dev/sparksearchengine",
"id": "e677bbd2dbd4c1a978322313772a963a8af2d44a"... |
#ifndef PEGR_SHORENDERER_HPP
#define PEGR_SHORENDERER_HPP
#ifdef PGG_OPENGL
#include "pegr/video/ShoRendererOpenGL.hpp"
#endif
#ifdef PGG_VULKAN
#include "pegr/video/ShoRendererVulkan.hpp"
#endif
#endif // PEGR_SHORENDERER_HPP
| {
"content_hash": "edc263e2e5da6aa2b0c6f965a28fa3db",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 43,
"avg_line_length": 16.571428571428573,
"alnum_prop": 0.7801724137931034,
"repo_name": "Naftoreiclag/PepperGrains",
"id": "27fd59afcfba5c65fbece15756a3c1545262c329",
"si... |
package cn.dreampie.common.http;
import cn.dreampie.common.Constant;
import cn.dreampie.common.http.result.HttpStatus;
import cn.dreampie.common.util.properties.Prop;
import cn.dreampie.common.util.properties.Proper;
import cn.dreampie.log.Logger;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
... | {
"content_hash": "2b952b43a8c233d8c72737dacc93d3ff",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 100,
"avg_line_length": 39.92198581560284,
"alnum_prop": 0.7008349618049388,
"repo_name": "SeaYellow/neo4j-demo",
"id": "1f35ca0c22baa30033c0c6040bb1f1dbb97f33b5",
"size":... |
import layout from '../../../templates/components/light-table/columns/base-with-filter'
import ColumnsBase from 'ember-light-table/components/columns/base'
export default ColumnsBase.extend({
layout,
classNames: ['lt-column', 'nowrap']
})
| {
"content_hash": "5ad8bb9e871cc45c577f572129c36c82",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 87,
"avg_line_length": 34.857142857142854,
"alnum_prop": 0.75,
"repo_name": "gte451f/ember-cli-table-pagination",
"id": "18546d4f840f4021ee99a8abdf250ad6b8041f08",
"size": "... |
import json
from django.conf import settings
from django.test import TestCase
from requests import Response
from mock import patch
from .ripple_api import trust_set, RippleApiError
sequence = 12
destination_account = u'rJobmmpNqozqY7MzwGkRs1VLEBJ7H5Pjrp'
wrong_secret = "somesecret"
data = {
u"engine_result": ... | {
"content_hash": "7b6cfaa84006b3631bc884b26c860ba0",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 76,
"avg_line_length": 29.378947368421052,
"alnum_prop": 0.5689716947330706,
"repo_name": "nitr0man/ripple_api",
"id": "40aab71c86cb50ed520f27b891296d6ff9c561b5",
"size": "... |
flask prose is an extension to generate various kinds of prose from a corpus of text.
basically you upload a largish text file with unique text and out comes prose.
from there you can explore the how composed text can be expressed as randomized prose.
the extention exposes a set of endpoints that can be used to auth... | {
"content_hash": "94f066f59b66ab4aeffd629f3d202793",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 96,
"avg_line_length": 24.47222222222222,
"alnum_prop": 0.7673098751418842,
"repo_name": "slippers/Flask-Prose",
"id": "dcd04e97f7493c8552bba29afda1427b08344b7a",
"size": "... |
package com.ctrip.zeus.dao.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class SlbConfSlbVersionExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
protected Integer offset;
prote... | {
"content_hash": "2a43899d2fc79ea99761a1a55348723f",
"timestamp": "",
"source": "github",
"line_count": 771,
"max_line_length": 120,
"avg_line_length": 35.42153047989624,
"alnum_prop": 0.5962651043573782,
"repo_name": "ctripcorp/zeus",
"id": "a8b076c30e2d7a1266324ff35bc4f0e3453e734d",
"size": "2731... |
import crossSpawn from 'cross-spawn';
export default function spawn(command, args, std={}) {
return function() {
return crossSpawn.sync(command, args, Object.assign({
stdio: [std.stdin||process.stdin, std.stdout||process.stdout, std.stderr||"inherit"]
}, std||{}));
}
}
| {
"content_hash": "8ed9dd852915bf1bd2e79269966867e9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 91,
"avg_line_length": 32.333333333333336,
"alnum_prop": 0.6632302405498282,
"repo_name": "morulus/erector",
"id": "9f3ad433fb2303e1cc7945c8396d62bc9c01323e",
"size": "291",... |
<?xml version="1.0" encoding="UTF-8"?>
<SAXEvents>
<startDocument/>
<processingInstruction>
<target>_</target>
<data>an only legal per 5th edition char #x0d45
 in PITarget </data>
</processingInstruction>
<startElement>
<namespaceURI/>
<loca... | {
"content_hash": "88b942ecf2d75bd7755a9794dc3da14d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 126,
"avg_line_length": 29,
"alnum_prop": 0.6775862068965517,
"repo_name": "reznikmm/matreshka",
"id": "6bb1ad5de0be0a00381f29b15758c2b7de21ea82",
"size": "582",
"binary"... |
const arccore = require("@encapsule/arccore");
const httpIntegrationFiltersFactoryRequestSpec = require("./iospecs/http-integration-filters-factory-request-spec");
const httpIntegrationFiltersFactoryResultSpec = require("./iospecs/http-integration-filters-factory-result-spec");
const httpServerAgentResultSpec = requir... | {
"content_hash": "d465fe8b244d60c61c889b44406db0b4",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 147,
"avg_line_length": 61.73809523809524,
"alnum_prop": 0.5654647126880061,
"repo_name": "Encapsule/polytely",
"id": "5ac20c887a6c6c3d2fbd34514bf9ff2fd30ed321",
"size": "... |
package ldapauthserver
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"net"
"sync"
"time"
log "github.com/golang/glog"
"github.com/youtube/vitess/go/mysql"
"github.com/youtube/vitess/go/netutil"
querypb "github.com/youtube/vitess/go/vt/proto/query"
"github.com/youtube/vitess/go/vt/vttls"
"gopkg.in/l... | {
"content_hash": "21e3a4fd2754879633195d73a0662886",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 180,
"avg_line_length": 29.044444444444444,
"alnum_prop": 0.7146136189747513,
"repo_name": "sougou/vitess",
"id": "01fc8c1565e13d3954bf12cb2adf0a931a319561",
"size": "7091... |
module ApplicationHelper
def title(title)
content_for(:title, title)
end
def gravatar_tag(email, options={})
id = Digest::MD5::hexdigest(email).downcase
size = options[:size] || 128
image_tag("https://secure.gravatar.com/avatar/#{id}?s=#{size}", options)
end
end | {
"content_hash": "a7bd9d2e97a10e27394aa9c9e53c31a4",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 76,
"avg_line_length": 26.272727272727273,
"alnum_prop": 0.6643598615916955,
"repo_name": "grounds/grounds.io",
"id": "e93ea81bc6df6e60a8725400c1a2a2e30f5873d8",
"size": "2... |
title: Overview
meta_title: Overview
meta_description: description.
slug: overview
tags:overview
publish:True
---
#
This chapter covers the most common end-user work flows in the usage of the Telerik's __RadScheduleView__.
* [Create Appointment](6FF9911E-35C8-4ED6-910E-CB43DCE581DB)
* [Edit Appointment](FBFB41F6-... | {
"content_hash": "8c17336a8be6702a93b47f8c6f40d02c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 106,
"avg_line_length": 24.818181818181817,
"alnum_prop": 0.7802197802197802,
"repo_name": "TsvetinaIvanova/xaml-docs",
"id": "ef72b7d321df2f62d21aed7d1e05f1bde11ad557",
"s... |
{% extends "job_base.html" %}
{% set active_tab = "home" %}
{% block subcontents %}
<div class="row">
<div class="span12">
<center>
<a href="{{url_for('.show_latest', id=id)}}" class="btn btn-large">Latest Build</a>
<a href="{{url_for('.show_success', id=id)}}" class="btn btn-large">Last Success</a>
... | {
"content_hash": "fd19da278d20e831fe80cb8c974a0648",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 103,
"avg_line_length": 36.30769230769231,
"alnum_prop": 0.576271186440678,
"repo_name": "boivie/sci",
"id": "09a29d1b746bbcb91ec29ff974fffd68f1df5b57",
"size": "472",
"b... |
export {default as run} from './run.js'
| {
"content_hash": "a96449b534a45b679380a1ede4d67794",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 39,
"avg_line_length": 40,
"alnum_prop": 0.675,
"repo_name": "vinsonchuong/create-npm",
"id": "673b531ec11dfc362d1e031d0eada6ff8cbf1a1d",
"size": "40",
"binary": false,
... |
package jgpml.covariancefunctions;
import Jama.Matrix;
public interface CovarianceFunction {
/**
* Returns the number of hyperparameters of this<code>CovarianceFunction</code>
* @return number of hyperparameters
*/
public int numParameters();
/**
* Compute covariance matrix of a d... | {
"content_hash": "2a7c9c0bfec993d05437de15d28785e5",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 84,
"avg_line_length": 28.431818181818183,
"alnum_prop": 0.6650679456434853,
"repo_name": "renzodenardi/jpgml",
"id": "08dde1389d433f467d75cf51e80383cc47151d4f",
"size": "2... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "e94b6ddbdb95c093514261c0863d1854",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 197,
"avg_line_length": 50.52287581699346,
"alnum_prop": 0.7561448900388098,
"repo_name": "prestodb/presto",
"id": "438f199f09ca6af918a275cc212172e36118c932",
"size": "773... |
<?xml version="1.0"?>
<package>
<name>cougarbot</name>
<version>0.0.0</version>
<description>The cougarbot package</description>
<maintainer email="gerkey@osrfoundation.org">Brian Gerkey</maintainer>
<license>BSD</license>
<author email="gerkey@osrfoundation.org">Brian Gerkey</author>
<buildtool_depend>ca... | {
"content_hash": "275225da12aad14eb07e6c2d34196a11",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 34.23076923076923,
"alnum_prop": 0.7280898876404495,
"repo_name": "osrf/rosbook",
"id": "a148c51b8ed2468d6cc4671f8494249506eac9f5",
"size": "445",
... |
from instagram.client import InstagramAPI
import requests
#http://nbviewer.ipython.org/github/katychuang/Pyladies-ImageAnalysis/blob/master/Instagram%20Image%20Analysis.ipynb
#private keys given by instagram
INSTAGRAM_CLIENT_ID =
INSTAGRAM_CLIENT_SECRET =
api = InstagramAPI(client_id = INSTAGRAM_CLIENT_ID,
clien... | {
"content_hash": "fab3571373e1ee4e9082b2e98c805162",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 116,
"avg_line_length": 28.142857142857142,
"alnum_prop": 0.7626903553299492,
"repo_name": "jkgiesler/571",
"id": "77d813d003d0ab7a031a28e501854faacbfdbe77",
"size": "788",... |
import Component from '@ember/component';
import { computed } from '@ember/object';
import { reads } from '@ember/object/computed';
import { typeOf } from '@ember/utils';
export default Component.extend({
selectedPlanPrice: reads('selectedPlan.price'),
price: computed('totalPrice', 'selectedPlanPrice', function ... | {
"content_hash": "3dfc47787dd0ae740e619bfff29a60bc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 133,
"avg_line_length": 36,
"alnum_prop": 0.7072649572649573,
"repo_name": "travis-ci/travis-web",
"id": "20342dec3b1c9f94cd4c32df9a09529b1ad3378d",
"size": "468",
"binar... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1c2a7597f1cfafa4d8ebc4396d53e54c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "9fe93cd951d24a2d23249966eb9b6ea3a6e788f0",
"size": "177... |
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>aot-native</artifactId>
<build>
<plugins>
<!-- tag::aot-native[] -->
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>or... | {
"content_hash": "a1938ca210f99fc3f97f57620ff6eeef",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 53,
"avg_line_length": 23.142857142857142,
"alnum_prop": 0.6460905349794238,
"repo_name": "htynkn/spring-boot",
"id": "05a1b5acabe99540e8229cd67810a3eac0c6b567",
"size": "4... |
const program = require('commander');
const inquirer = require('inquirer');
const fs = require('fs');
const request = require('request');
const PATHS = require('./paths');
const readFile = require('./fs/read-file');
const writeFile = require('./fs/write-file');
const prettyJSONStringify = require('./helpers/pretty-jso... | {
"content_hash": "bb895c558dca868fea895fdb66dfd07b",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 88,
"avg_line_length": 26.7375,
"alnum_prop": 0.6587190275829827,
"repo_name": "andrew--r/frontendbookshelf-data",
"id": "2451e4f5f6bc19e54cdf507c482e9f03a04a9255",
"size":... |
package org.apache.hadoop.yarn.server.timelineservice.reader.filter;
import java.io.IOException;
import java.util.HashSet;
import java.util.Set;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.hbase.filter.BinaryComparator;
import org.apache.hadoop.hbase... | {
"content_hash": "0e7ff6451fc60be9ef4dbc843cf9fcc2",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 81,
"avg_line_length": 37.97810218978102,
"alnum_prop": 0.7087257351527965,
"repo_name": "WIgor/hadoop",
"id": "cccae267d8899ffa4d21c3585091a4035d863271",
"size": "11212",... |
package org.apache.camel.openapi;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.util.List;
import java.util.stream.Collectors;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databin... | {
"content_hash": "0e772c38a8e760fe49b9ac34e86cabbf",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 119,
"avg_line_length": 42.11038961038961,
"alnum_prop": 0.6377794911333847,
"repo_name": "tdiesler/camel",
"id": "5aeaceaae74e5f58af429003c44d78f79ab907d8",
"size": "7287... |
require "ebisu_connection/replica"
require "ebisu_connection/load_balancer"
module EbisuConnection
class ConnectionManager < FreshConnection::AbstractConnectionManager
class AllReplicaHasGoneError < StandardError; end
def initialize(spec_name = nil)
super
@replicas = replica_conf.map do |conf|
... | {
"content_hash": "97e362507d16fbc0761343448b388539",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 70,
"avg_line_length": 21.25862068965517,
"alnum_prop": 0.6520681265206812,
"repo_name": "tsukasaoishi/ebisu_connection",
"id": "da0ed8de24a87def4a7208c205b4d0d04d90b738",
... |
//Server starten
var express = require('express');
var app = express();
var server = app.listen(3000,function(){
console.log('Server wurde gestartet');
});
app.use(express.static('websites'));
//Module für die Get/Post etc aufrufe
var _ = require('underscore');
var players = require('./generated.json');
//
//
//Soc... | {
"content_hash": "1310c7cedcaa018928ba07bfca9a2fa3",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 68,
"avg_line_length": 25.18018018018018,
"alnum_prop": 0.6182468694096601,
"repo_name": "JannisMD/HyperSexyScriptSquad",
"id": "fc38a46248d90fd47aa463a7a54149b0975d0d82",
... |
<?php
namespace RKuzovlev\GoogleAPI\Service;
use RKuzovlev\GoogleAPI\Service as Google_Service;
use RKuzovlev\GoogleAPI\Service\Resource as Google_Service_Resource;
use RKuzovlev\GoogleAPI\Collection as Google_Collection;
use RKuzovlev\GoogleAPI\Model as Google_Model;
use RKuzovlev\GoogleAPI\Client as Google_Client;... | {
"content_hash": "75367a7e561718fbba5f45320b0b3e6b",
"timestamp": "",
"source": "github",
"line_count": 2277,
"max_line_length": 130,
"avg_line_length": 26.87878787878788,
"alnum_prop": 0.5704132150384785,
"repo_name": "rkuzovlev/google-api-php-client",
"id": "866f3386cd9dbee2f8bdc76e9c9d99989dcefb8e... |
<div>
<a href="https://www.aboutobjects.com"><img src="ao-logo.png" height=18 style="height: 18px;"/></a>
</div>
# Swift 4 Examples
Explores a number of new capabilities in Swift 4, including:
* Smart key paths
* Key-Value Coding (KVC)
* JSON encoding and decoding
* Key-Value Observing (KVO)
## Author
Jonathan L... | {
"content_hash": "9a4207d7423e27ed26a959ce4767e7ef",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 100,
"avg_line_length": 20.5,
"alnum_prop": 0.7148217636022514,
"repo_name": "AboutObjectsTraining/Swift4Examples",
"id": "9ef2b40c020cbca2a59d76ebf2108cb4e6593c6a",
"size"... |
using System.Linq;
using System.Web.Mvc;
using Quintsys.Web.ThemeableRazorViewEngine.Annotations;
namespace Quintsys.Web.ThemeableRazorViewEngine
{
/// <summary>
/// Razor view engine with themes support.
/// Caching is allowed since the structure of the FinApp project allows for only one Theme by... | {
"content_hash": "ae8dc1dad25ea3ff364c77af3eba8925",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 129,
"avg_line_length": 40.522222222222226,
"alnum_prop": 0.5892514395393474,
"repo_name": "QuintSys/ThemeableRazorViewEngine",
"id": "72c1a7670a926311fc2b77677ba97585732ac7... |
class AccountFetcherService;
class ChildAccountInfoFetcherAndroid {
public:
static std::unique_ptr<ChildAccountInfoFetcherAndroid> Create(
AccountFetcherService* service,
const CoreAccountId& account_id);
~ChildAccountInfoFetcherAndroid();
static void InitializeForTests();
private:
ChildAccount... | {
"content_hash": "88c1994dfaf04701dbcd9d80096c0043",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 92,
"avg_line_length": 33.63636363636363,
"alnum_prop": 0.727027027027027,
"repo_name": "endlessm/chromium-browser",
"id": "2b08d1229fb07e0ce8788efc2291ea193efd04d0",
"size... |
<!doctype html>
<html lang="en">
<head>
<style>body { margin: 0; overflow: hidden; }</style>
</head>
<body>
<script src="../../src/lib/three.js"></script>
<script src="../../src/lib/Detector.js"></script>
<script src="../../src/lib/TrackballControls.js"></script>
<scr... | {
"content_hash": "2fc3ab780a8fbb148c003f3fdf2d6a56",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 35.111111111111114,
"alnum_prop": 0.5126582278481012,
"repo_name": "filgf/grow3.js",
"id": "8fe9c12b649a4614535e9651572effd918e6d911",
"size": "948",... |
package com.baomidou.mybatisplus.test.phoenix.mapper;
import com.baomidou.mybatisplus.test.phoenix.PhoenixBaseMapper;
import com.baomidou.mybatisplus.test.phoenix.entity.PhoenixTestInfo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
/**
* @author fly
* @date 2019/5/22 17:5... | {
"content_hash": "9da22d6c1f999a72783be6342a04e2ff",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 83,
"avg_line_length": 30.095238095238095,
"alnum_prop": 0.6772151898734177,
"repo_name": "baomidou/mybatis-plus",
"id": "552c82729b3c25e4a10f6c9cc58593fc093fb7f5",
"size":... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.googlecode.d2j</groupId>
<artifactId>dex2jar</artifact... | {
"content_hash": "1e840c8d72473f9a1be5658879241100",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 104,
"avg_line_length": 38.739837398373986,
"alnum_prop": 0.49464847848898214,
"repo_name": "jslhs/dex2jar",
"id": "d38f0b8dea61cdc6e6f5c0a75a2eb561d4df8445",
"size": "476... |
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
'use strict';
var util = require('util');
var msRest = require('ms-rest');
var msRestAzure = require('ms-rest-azure');
var ServiceClient = msRestAzure.AzureServiceClient;
var models = require('./models');
var operations = require('./ope... | {
"content_hash": "d339dfeb3246d8e8abce4c212c201b99",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 170,
"avg_line_length": 39.78048780487805,
"alnum_prop": 0.7461679950950337,
"repo_name": "smithab/azure-sdk-for-node",
"id": "fd39c42d2f37d760b4d7dfe75a096afc3c0e17f0",
"s... |
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
class UserFactory {
private $_ci;
//funcao construtora da biblioteca
function __construct() {
$this->_ci = & get_instance();
}
//funcao que recupera todos os users do banco
public function getAll (){
... | {
"content_hash": "4fa786d9c7448dc62f52ba4b0d2c7421",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 208,
"avg_line_length": 31.114754098360656,
"alnum_prop": 0.5210748155953635,
"repo_name": "Hendrixcosta/cadastro",
"id": "bba48ec36d3abfea18dac9f3c90dc621339d4816",
"size"... |
package org.fusesource.scalate.support
/**
* Implements the Groovy style Elvis operator in Scala
*
* @version $Revision: 1.1 $
*/
class Elvis(val defaultValue: Any) {
def ?:(value: Any) = if (value != null) value else defaultValue
}
/**
* A helper class useful for implicit conversions when legacy code iterat... | {
"content_hash": "735ec9098495912bd24fbb728edf6842",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 105,
"avg_line_length": 24.5,
"alnum_prop": 0.7040816326530612,
"repo_name": "janurag/scalate",
"id": "75f5f319c2d33223d946492f5a04506eaf6e27e3",
"size": "1228",
"binary"... |
package com.google.errorprone.bugpatterns.time;
import static com.google.errorprone.BugPattern.SeverityLevel.WARNING;
import static com.google.errorprone.bugpatterns.time.NearbyCallers.containsCallToSameReceiverNearby;
import static com.google.errorprone.matchers.Matchers.allOf;
import static com.google.errorprone.ma... | {
"content_hash": "21dee370253d92b0f802d3e192558f9c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 100,
"avg_line_length": 42.6,
"alnum_prop": 0.754588134869825,
"repo_name": "cushon/error-prone",
"id": "8a73148ed295fc9c1027fbc5436a68a779a404c5",
"size": "2950",
"binar... |
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent">
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:h5="urn:import:org.rest.client.ui.html5">
<g:HTMLPanel addStyleNames="layout vertical flex" ui:field="root">
<section class="Saved... | {
"content_hash": "bf70e3d639f0cc15f6bd9236ea6b0f5f",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 146,
"avg_line_length": 41.294117647058826,
"alnum_prop": 0.707977207977208,
"repo_name": "2947721120/ChromeRestClient",
"id": "a88710744424f07dcbac84196bf0cdd44fb1ba1f",
"... |
export interface OpenSpecContact {
/**
* The identifying name of the contact person/organization.
*/
name?: string;
/**
* The email address of the contact person/organization. MUST be in the format of an email address.
*/
email?: string;
/**
* The URL pointing to the contact information. MUST b... | {
"content_hash": "fc5dbe07a24c37f379dc5ad9f40ce0b1",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 223,
"avg_line_length": 27.057692307692307,
"alnum_prop": 0.6687988628287136,
"repo_name": "Romakita/ts-express-decorators",
"id": "fd92f7079a8a16d359418ff365a793a1f9529324",... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="fi.harism.wallpaper.botz"
android:installLocation="auto"
android:versionCode="2"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="8" />
<uses-feature android:glEsVer... | {
"content_hash": "a9ad2b6024ca7759949ba6ef96beeebe",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 84,
"avg_line_length": 34.064516129032256,
"alnum_prop": 0.6193181818181818,
"repo_name": "harism/android_wallpaper_botz",
"id": "9a463f4a6c37712e4ef367849d5306061231cf0d",
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Corner, Trans. Bot. Soc. Edinb. , 150th anniversary supplement 43: 312 (1981)
#### Original name
Ochrolechia tartarea var. lapuënsis Vain.
### Remarks
null | {
"content_hash": "3f65db77b4f3e2c64e712bd087c52093",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 80,
"avg_line_length": 17.076923076923077,
"alnum_prop": 0.7207207207207207,
"repo_name": "mdoering/backbone",
"id": "d25fb146b82f8c8abd9a7f2b076944ffadf566f4",
"size": "29... |
namespace PokerTell.Repository.NHibernate
{
using System;
using global::NHibernate;
using Infrastructure.Events;
using Infrastructure.Interfaces.DatabaseSetup;
using Infrastructure.Interfaces.Repository;
using Microsoft.Practices.Composite.Events;
/// <summary>
/// Singl... | {
"content_hash": "46c4b2073a60e04d4fa6c9c9f3937ae0",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 114,
"avg_line_length": 28.580645161290324,
"alnum_prop": 0.590293453724605,
"repo_name": "thlorenz/pokertell",
"id": "0ad07db932bb005baa884138a8179a1b3f188e1c",
"size": "1... |
package com.cardpay.pccredit.intopieces.dao;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.cardpay.pccredit.intopieces.filter.AddIntoPiecesFilter;
import com.cardpay.pccredit.intopieces.filter.XmNewSqFilter;
import com.cardpay.pccredit.intopieces.model.LocalImage;
import com.... | {
"content_hash": "a51b51590d5979be4ce6de84f8fed690",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 71,
"avg_line_length": 34.78947368421053,
"alnum_prop": 0.8245083207261724,
"repo_name": "qkhj/PCCREDIT",
"id": "db66c640fe051ffd9c4a44e73758c32627d6b356",
"size": "661",
... |
<?php
App::uses('ReserindivistatusesController', 'Controller');
/**
* ReserindivistatusesController Test Case
*
*/
class ReserindivistatusesControllerTest extends ControllerTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.reserindivistatus',
'app.reserindividuale',
'app.tipocli... | {
"content_hash": "1cb145faab913d076be3c62eb202cdbe",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 68,
"avg_line_length": 16.92207792207792,
"alnum_prop": 0.6830391404451266,
"repo_name": "kster007/CUBETECH-SOLTERA",
"id": "da56337a7625d76f6cef763cca2df16ab0cc97a9",
"siz... |
<?php
namespace PHPixie\Tests\Security\Tokens\Storage;
/**
* @coversDefaultClass \PHPixie\Security\Tokens\Storage\Database
*/
abstract class DatabaseTest extends \PHPixie\Test\Testcase
{
protected $tokens;
protected $connection;
protected $storage;
public function setUp()
{
$th... | {
"content_hash": "7878880f8714ef274ec1e46933600f81",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 88,
"avg_line_length": 28.3125,
"alnum_prop": 0.4934778246036524,
"repo_name": "PHPixie/Security",
"id": "aaef940458557f0e43ce7daa38f225ce70504180",
"size": "4983",
"bin... |
require 'spec_helper'
describe ApplicationController do
controller do
def index
render text: 'hello'
end
end
describe "#set_locale" do
it "sets locale to the one stored in cookie if it's avaialble in the app" do
cookies[:locale] = :ja
get :index
expect(I18n.locale).to eq(:ja)... | {
"content_hash": "4afa8fa5141480f601abecd6b0902e44",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 101,
"avg_line_length": 26.885714285714286,
"alnum_prop": 0.638682252922423,
"repo_name": "kinopyo/quoty",
"id": "e6481fbc5f172cf1f1052a5ec78d9e7b212c32c7",
"size": "941",
... |
using System;
using System.Linq;
using Dnn.PersonaBar.Library.Prompt;
using Dnn.PersonaBar.Library.Prompt.Attributes;
using Dnn.PersonaBar.Library.Prompt.Models;
using Dnn.PersonaBar.Prompt.Components.Repositories;
using DotNetNuke.Instrumentation;
namespace Dnn.PersonaBar.Prompt.Components.Commands.Commands
{
[C... | {
"content_hash": "a50e641661280e0efbae73dad1087ae0",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 122,
"avg_line_length": 37.76315789473684,
"alnum_prop": 0.624390243902439,
"repo_name": "dnnsoftware/Dnn.AdminExperience.Extensions",
"id": "34d4465b8082d5fd50b37150812c0bd6... |
import { graphql } from 'gatsby';
import React from 'react';
import LinkedHeading from '../../components/LinkedHeading';
import ComponentApi from '../../components/ComponentApi';
import ReactPlayground from '../../components/ReactPlayground';
import Figure from '../../examples/Figure';
import withLayout from '../../wi... | {
"content_hash": "aa98d5ee342b32b293d62dc8a8c18e8f",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 82,
"avg_line_length": 28.35185185185185,
"alnum_prop": 0.6387981711299804,
"repo_name": "glenjamin/react-bootstrap",
"id": "3a18222e22709eb5bee50098f033ad8c5da1df25",
"siz... |
import debounce from './debounce';
import delegateEvents from './delegate-events';
import emitter from './emitter';
import eventBus from './event-bus';
import heartbeat from './heartbeat';
export default {
debounce,
delegateEvents,
emitter,
eventBus,
heartbeat
};
| {
"content_hash": "44ce3a25704a9bd151ec19663004559a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 21.923076923076923,
"alnum_prop": 0.7052631578947368,
"repo_name": "ianmcgregor/usfl",
"id": "622424261aad9e7ccec9fc62131787dc3d9fb3c5",
"size": "285... |
sap.ui.define([
"sap/ui/core/Control",
"sap/m/RangeSlider",
"sap/ui/model/base/ManagedObjectModel"
], function (Control, RangeSlider, ManagedObjectModel) {
"use strict";
var CustomRangeSlider = Control.extend("sap.ui.v4demo.controls.CustomRangeSlider", {
metadata: {
interfaces : ["sap.ui.core.IFormContent"],... | {
"content_hash": "6a8fc8e67896a7ec773885b2465ed8e1",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 116,
"avg_line_length": 29.137096774193548,
"alnum_prop": 0.6667589261001937,
"repo_name": "SAP/openui5",
"id": "036a5005e3474750abcf490d0a435c81be1d12fc",
"size": "3613",... |
package com.github.itimur.utils;
import com.github.itimur.downloader.Download;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.MissingFormatArgumentException;
import static com.github.itimur.utils.CommonUtils.requireNonEmpty;
import static java.util.Objects.requireNonNull;
/**
* @autho... | {
"content_hash": "615dd0d7217f847e3eac71e44fd8b5aa",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 111,
"avg_line_length": 34.878787878787875,
"alnum_prop": 0.6403127715030409,
"repo_name": "timur86/console-downloader",
"id": "fc551f1f4955f5df8d806c5db0af9087edd43d79",
"... |
import { AccessibilityManager, InteractionManager } from 'pixi.js';
import { CanvasRenderer, canvasUtils } from '@pixi/canvas-renderer';
import { CanvasMeshRenderer } from '@pixi/canvas-mesh';
import { CanvasGraphicsRenderer } from '@pixi/canvas-graphics';
import { CanvasSpriteRenderer } from '@pixi/canvas-sprite';
imp... | {
"content_hash": "3081cfbc3236c414a0a2717ff65fe0a8",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 69,
"avg_line_length": 40.9375,
"alnum_prop": 0.7809160305343511,
"repo_name": "pixijs/pixi.js",
"id": "3da0fb39338f1f44b385fc1901235fe3c773e8b7",
"size": "1310",
"binary... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.