text stringlengths 2 1.04M | meta dict |
|---|---|
var colors = require('colors');
var when = require('when');
var nodefn = require('when/node');
var fs = nodefn.liftAll(require('fs'));
var child_process = require('child_process');
colors.setTheme({
known: 'green',
warning: 'yellow',
unknown: 'red',
inactive: 'grey'
});
function InventoryCLI(inventory){
this.db ... | {
"content_hash": "ed5711b67a06a0caa3e4362f394c374f",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 267,
"avg_line_length": 32.82403433476395,
"alnum_prop": 0.658342050209205,
"repo_name": "closure-poland/dhcp-inventory",
"id": "45e6bf43ed94c697ac8db8e88fed2859a38e44c8",
... |
<?php
namespace Proxies\__CG__\Pes\FrontBundle\Entity;
/**
* THIS CLASS WAS GENERATED BY THE DOCTRINE ORM. DO NOT EDIT THIS FILE.
*/
class TypeCompetition extends \Pes\FrontBundle\Entity\TypeCompetition implements \Doctrine\ORM\Proxy\Proxy
{
private $_entityPersister;
private $_identifier;
public $__isI... | {
"content_hash": "520e6e173314d922825bc4c8f350513c",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 106,
"avg_line_length": 27.30188679245283,
"alnum_prop": 0.5383552176917761,
"repo_name": "TomGet/PronoEsport",
"id": "027c6c6e04a099da4c820b5206ad219cf4bd53b8",
"size": "... |
ACCEPTED
#### According to
The National Checklist of Taiwan
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e8ead2c43998db0e09b7bfd56b82a148",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "ea17275fb59d43a69616037ce0a0af85b664c68d",
"size": "191"... |
namespace {
constexpr uint32_t kInvalidSegmentIndex = std::numeric_limits<uint32_t>::max();
} // namespace
namespace crashpad {
MachOImageReader::MachOImageReader()
: segments_(),
segment_map_(),
module_name_(),
module_info_(),
dylinker_name_(),
uuid_(),
address_(0),
s... | {
"content_hash": "f8f6be13d1a40cc1d542e7e00412f7da",
"timestamp": "",
"source": "github",
"line_count": 700,
"max_line_length": 80,
"avg_line_length": 34.995714285714286,
"alnum_prop": 0.6206882475405152,
"repo_name": "scheib/chromium",
"id": "5c5bcb00f2d7c87e9cea452280f369d5bbf6491d",
"size": "256... |
"""
Forest Plot
===========
_thumb: .5, .8
_example_title: Forest plot
"""
import matplotlib.pyplot as plt
import arviz as az
az.style.use("arviz-darkgrid")
centered_data = az.load_arviz_data("centered_eight")
non_centered_data = az.load_arviz_data("non_centered_eight")
axes = az.plot_forest(
[centered_data, no... | {
"content_hash": "20c3dbfec533a030d84095828075f116",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 98,
"avg_line_length": 22.476190476190474,
"alnum_prop": 0.690677966101695,
"repo_name": "mcmcplotlib/mcmcplotlib",
"id": "a7a1499d984a62865bc41897fbe707f8af415c3e",
"size"... |
package it.jaschke.alexandria.receiver;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.support.v4.content.LocalBroadcastManager;
import android.util.Log;
import android.widget.Toast;
import org.parceler.Par... | {
"content_hash": "889034f8a56d838a3da0fb822f576b18",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 90,
"avg_line_length": 42.352380952380955,
"alnum_prop": 0.6939509781875421,
"repo_name": "adolfogp/SuperDuo",
"id": "210dcff62c9cc63bd05fe51ad2a763c63ef798b7",
"size": "5... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/*
/ Sandro: manually adjusted so to support the MSVC compiler
/ using the OsGeo4W libraries
*/
/* Should be defined in order to enable LWGEOM support. */
#undef ENABLE_LWGEOM
/* Should... | {
"content_hash": "963f90396540caf66b3d107bc8dc428c",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 78,
"avg_line_length": 29.06756756756757,
"alnum_prop": 0.6906865024019836,
"repo_name": "zhm/node-spatialite",
"id": "740f31c9c071e347ba6c3a64191308af2159b59f",
"size": "... |
/**
* External dependencies
*/
import { fireEvent, screen, within } from '@testing-library/react';
import MockDate from 'mockdate';
import { setAppElement } from '@googleforcreators/design-system';
import { renderWithTheme } from '@googleforcreators/test-utils';
/**
* Internal dependencies
*/
import StoryContext... | {
"content_hash": "4dcf9b06c302b86de20f16f43885f89b",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 83,
"avg_line_length": 27.341346153846153,
"alnum_prop": 0.6433972217337788,
"repo_name": "GoogleForCreators/web-stories-wp",
"id": "f561fc10b2c9129df952b4e42de866e44931a44d... |
package net.kemitix.kxssh.scp;
import java.io.UnsupportedEncodingException;
class ScpDirectoryCommand extends ScpTransferCommand {
public ScpDirectoryCommand() {
setLength(0);
}
public ScpDirectoryCommand(String commandLine) throws UnsupportedEncodingException {
super(commandLine);
... | {
"content_hash": "e912509f2edda83decf5dfc5e6c8773e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 88,
"avg_line_length": 22.88888888888889,
"alnum_prop": 0.5323624595469255,
"repo_name": "kemitix/kxssh",
"id": "733da5e8ab4c911e66de62f0ea79beb260734d22",
"size": "618",
... |
<?xml version="1.0" encoding="UTF-8"?>
<CustomFieldTranslation xmlns="http://soap.sforce.com/2006/04/metadata">
<name>MailingCountry__c</name>
<label>País de correu postal</label>
</CustomFieldTranslation>
| {
"content_hash": "9139c92e836bdcb82ae256600a2deee9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 72,
"avg_line_length": 42.8,
"alnum_prop": 0.7242990654205608,
"repo_name": "SalesforceFoundation/HEDAP",
"id": "e61102b25717a7d8e4c69d288e8ea8a2ebf60b12",
"size": "215",
... |
A presentation created by some CS students somewhere... | {
"content_hash": "e1e04d233ca5cf9bdd13a4925616788f",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 55,
"avg_line_length": 55,
"alnum_prop": 0.8181818181818182,
"repo_name": "kbotnen/presentasjon_inf143",
"id": "2ff0c31b86ea2a37c99cd15eaef2eac8484192bb",
"size": "55",
"b... |
@class DBTEAMLOGShowcaseChangeEnabledPolicyDetails;
@class DBTEAMLOGShowcaseEnabledPolicy;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `ShowcaseChangeEnabledPolicyDetails` struct.
///
/// Enabled/disabled Dropbox Showcase for team.
///
/// This class implements the `DBSerializable` protocol (serial... | {
"content_hash": "7cada704aa20edb2aaf6eaa74265757f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 109,
"avg_line_length": 30.84,
"alnum_prop": 0.7803718115002162,
"repo_name": "dropbox/dropbox-sdk-obj-c",
"id": "4194d7d885826347bfae1c3a7df01dd0018d3a11",
"size": "2499",... |
package com.google.fleetengine.auth.sample;
import com.google.fleetengine.auth.AuthTokenMinter;
import com.google.fleetengine.auth.client.FleetEngineClientSettingsModifier;
import com.google.fleetengine.auth.client.FleetEngineTokenProvider;
import com.google.fleetengine.auth.token.factory.FleetEngineTokenFactory;
impo... | {
"content_hash": "841f5e57a9ddc1c8aff98d4cfb3fd4ee",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 100,
"avg_line_length": 42.74716981132075,
"alnum_prop": 0.6964159604519774,
"repo_name": "googlemaps/java-fleetengine-auth",
"id": "98d7b176e44deafdb66e9fd0546e197d8ad4a035... |
var express = require('express'); // eslint-disable-line
var browserCapabilities = require('browser-capabilities'); // eslint-disable-line
const app = express();
const basedir = __dirname + '/build/'; // eslint-disable-line
function getSourcesPath(request) {
let clientCapabilities = browserCapabilities.browserCapab... | {
"content_hash": "938229b8bf34bde4a3d2f1a67119418b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 103,
"avg_line_length": 31.53846153846154,
"alnum_prop": 0.6902439024390243,
"repo_name": "unicef/etools-dashboard",
"id": "5bc1c0d6a449bb427641cbad9790080fe0e2a9ce",
"size... |
This pattern allows you to easily add tooltips with a variety of behaviours to your website.
## Documentation
Tooltips are intended to display contextual information and function about the trigger element.
### Markup structure
<label>Website address
<a href="#" title="Please enter the full URL for the web... | {
"content_hash": "258f689d9e6f4dfa513bd8d99dd18485",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 418,
"avg_line_length": 46.79375,
"alnum_prop": 0.7136369707492988,
"repo_name": "garbas/Patterns",
"id": "98809faf145cd0f635ea5624cf7e85c518e44b55",
"size": "7519",
"bi... |
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blog of Feeling Responsive</title>
<link rel="stylesheet" type="text/css" href="http://localhost:4000/assets/css/styles_feeling_responsive.css">
<scrip... | {
"content_hash": "cbc8bea5f2fea2b483c151ec67af2dcf",
"timestamp": "",
"source": "github",
"line_count": 462,
"max_line_length": 338,
"avg_line_length": 26.352813852813853,
"alnum_prop": 0.5512936344969199,
"repo_name": "izykstewart/izykstewart.github.io",
"id": "8d4deeb6f5ab730e752052d13d2d1d92b0ed24... |
namespace nana
{
class unicode_bidi
{
public:
typedef wchar_t char_type;
enum class directional_override_status
{
neutral, right_to_left, left_to_right
};
enum class bidi_char
{
L, LRE, LRO, R, AL, RLE, RLO,
PDF = 0x1000, EN, ES, ET, AN, CS, NSM, BN,
B = 0x2000, S, WS, ON
};
enum cl... | {
"content_hash": "d866eacbe5ba4dd0f4b5907637263746",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 96,
"avg_line_length": 23.87323943661972,
"alnum_prop": 0.671976401179941,
"repo_name": "Greentwip/Windy",
"id": "acd2b05783521a0e77c78d032761740519e10842",
"size": "1774",... |
import copy
import datetime
import decimal
import re
import time
import math
from itertools import tee
from django.db import connection
from django.db.models.query_utils import QueryWrapper
from django.conf import settings
from django import forms
from django.core import exceptions, validators
from django.utils.datast... | {
"content_hash": "b0332bf1976315c53db299569410352f",
"timestamp": "",
"source": "github",
"line_count": 1177,
"max_line_length": 166,
"avg_line_length": 38.000849617672046,
"alnum_prop": 0.6046683211482997,
"repo_name": "mitsuhiko/django",
"id": "4707cb4a4cf0234f35d81b60ec393c055f055bbb",
"size": "... |
import os
import pprint
import pytzdata
from cleo import Command
class ZonesCommand(Command):
"""
Dumps available timezones to the _timezone.py file.
zones:dump
"""
TEMPLATE = """# -*- coding: utf-8 -*-
timezones = {}
"""
def handle(self):
zones = pytzdata.get_timezones()
... | {
"content_hash": "f69fcc8c8f4c76da92afb1d49275ddcf",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 71,
"avg_line_length": 19.08823529411765,
"alnum_prop": 0.5315870570107858,
"repo_name": "sdispater/pytzdata",
"id": "ef3e33a56ca6345c0a114d8f761458845625862f",
"size": "67... |
<?php
/**
* Piwik - Open source web analytics
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
* @version $Id: testMinimumPhpVersion.php 6300 2012-05-23 21:19:25Z SteveG $
*
* @category Piwik
* @package Piwik
*/
/**
* This file is executed before anything else.... | {
"content_hash": "101137e30c3308c800ac6daa45ee8c6a",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 208,
"avg_line_length": 41.526315789473685,
"alnum_prop": 0.6924376848331221,
"repo_name": "mrmgee/dev-evtouch",
"id": "12cb262a056caf90da0566ed4696beb156b31690",
"size": ... |
const fs = require('graceful-fs');
const mkdirp = require('mkdirp');
const destroy = require('destroy');
const rmdir = require('rmdir');
const tmp = require('tmp');
const request = require('request');
const path = require('path');
const cp = require('cp');
const cpr = require('cpr');
const Promise = require('./promise... | {
"content_hash": "a23699edec78945a1c6bf2c8fbcd6145",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 79,
"avg_line_length": 21.888235294117646,
"alnum_prop": 0.6345068529965063,
"repo_name": "tshoper/gitbook",
"id": "17b2ebb905e9c2f56df4dcf6a84cb914eeefd788",
"size": "372... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "932910c1c47aca08659d383ced78507e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "8393b0e83275fb772765f2f22689ae7419426018",
"size": "182... |
#ifndef SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_MOBILE_CREATE_INTERACTION_CHOICE_SET_RESPONSE_H_
#define SRC_COMPONENTS_APPLICATION_MANAGER_RPC_PLUGINS_SDL_RPC_PLUGIN_INCLUDE_SDL_RPC_PLUGIN_COMMANDS_MOBILE_CREATE_INTERACTION_CHOICE_SET_RESPONSE_H_
#include "appli... | {
"content_hash": "82ac086c442f9e0388d1f4eb0b574846",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 153,
"avg_line_length": 32.38775510204081,
"alnum_prop": 0.7655954631379962,
"repo_name": "smartdevicelink/sdl_core",
"id": "0bfc0e5cdf95e2199f3b3c8a28eaec93ccecf4d4",
"siz... |
{{<govuk_template}}
{{$head}}
{{>includes/elements_head}}
{{>includes/elements_scripts}}
{{/head}}
{{$propositionHeader}}
{{>includes/propositional_navigation4}}
{{/propositionHeader}}
{{$headerClass}}with-proposition{{/headerClass}}
{{$content}}
<header class="page-header">
<style type="text/css">
.border... | {
"content_hash": "150dde86a388249b8e64579c021a6efb",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 202,
"avg_line_length": 32.878787878787875,
"alnum_prop": 0.6105990783410138,
"repo_name": "MylesStevens/express_prototype_coa_ext",
"id": "2a04f718526cfc6bc7d3b4f01f02195df... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_65) on Wed Nov 05 15:44:19 CET 2014 -->
<title>org.schema.game.client.view.buildhelper</title>
<meta name="date" content="2014-11-05">
... | {
"content_hash": "7b0c4478ffb6da35f69034814e776162",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 173,
"avg_line_length": 51.3,
"alnum_prop": 0.6988304093567251,
"repo_name": "Megacrafter127/SMDoc",
"id": "a4ab004d55f23da81bac62f1933a8d9604462734",
"size": "1026",
"bi... |
require 'spec_helper'
describe DumpMailerWorker do
let(:project) { double(id: 1) }
let(:worker_class) do
Class.new do
include DumpWorker
include DumpMailerWorker
attr_reader :project, :medium
def initialize(project, medium)
@project = project
@medium = medium
en... | {
"content_hash": "739322963745745d367b217aa93efc8e",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 85,
"avg_line_length": 26.317073170731707,
"alnum_prop": 0.6506024096385542,
"repo_name": "cientopolis/collaboratory",
"id": "f81ca62f3567ecd51d9d57821f0e29d81a3318ca",
"si... |
package com.consol.citrus.ssh.server;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Optional;
import com.consol.citrus.endpoint.AbstractPollableEndpointC... | {
"content_hash": "7555576658e9129d3223c0ff11601ff0",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 191,
"avg_line_length": 31.55491329479769,
"alnum_prop": 0.6677962996885877,
"repo_name": "christophd/citrus",
"id": "2385c62fd553f09cb134953602e6f9b7976ca0b2",
"size": "1... |
package org.elmlang.intellijplugin.psi;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
import java.util.stream.Stream;
public interface ElmWithValueDeclarations extends PsiElement {
@NotNull
Stream<ElmValueDeclarationBase> getValueDeclarations();
}
| {
"content_hash": "50325c175fe4b3fbc67a7d0f8e55e9a8",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 62,
"avg_line_length": 26.454545454545453,
"alnum_prop": 0.8178694158075601,
"repo_name": "durkiewicz/elm-plugin",
"id": "2d8ace27abf0cd69de9a14c3bbef3f141884a89a",
"size":... |
"use strict";
var some = function () {
var count = arguments[0] === undefined ? "30" : arguments[0];
console.log("count", count);
};
some();
| {
"content_hash": "f63d8f4bc8c8261ba6fe749987fdebbe",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 63,
"avg_line_length": 16.444444444444443,
"alnum_prop": 0.5878378378378378,
"repo_name": "jaredly/babel",
"id": "f857152487fd270d3ef6c455d534c537e07b8150",
"size": "148",
... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="kk_KZ" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Purplecoin</source>
<translation type="unfinished"/>
</message>
<message>
<location ... | {
"content_hash": "f5d12d738dda0e692446ce669a8ca3bf",
"timestamp": "",
"source": "github",
"line_count": 3285,
"max_line_length": 395,
"avg_line_length": 32.842313546423135,
"alnum_prop": 0.584277994568391,
"repo_name": "elgenioroshan/purplecoin",
"id": "a4454d2a21276c371d864e5745bf19c8e3e70ff0",
"s... |
namespace Auth.Api.Migrations.ClientConfiguration
{
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
[GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")]
public sealed partial class Update... | {
"content_hash": "c9eaaa68912f824f4d3a828c1d86e9a0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 92,
"avg_line_length": 28.75,
"alnum_prop": 0.6186335403726708,
"repo_name": "MAOliver/Enterprise-Toolbox",
"id": "8fbb1caaaa38f6da18f64de4c83d674d2c0a39d6",
"size": "827",... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "EngineMessages.h"
/* Private dependencies
*****************************************************************************/
#include "ModuleManager.h"
| {
"content_hash": "8fe7881e32a4c49e8e31ce19cc0be8be",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 79,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.4957983193277311,
"repo_name": "PopCap/GameIdea",
"id": "9dcebca6441280369a6778816365bc76c40fc809",
"size": "238"... |
<component name="libraryTable">
<library name="Maven: com.fasterxml.jackson.core:jackson-databind:2.5.0">
<CLASSES>
<root url="jar://$USER_HOME$/m2/repository/com/fasterxml/jackson/core/jackson-databind/2.5.0/jackson-databind-2.5.0.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$USER_HOME$/m2... | {
"content_hash": "17626293f46b6983f18ae5929194c1cf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 139,
"avg_line_length": 48.61538461538461,
"alnum_prop": 0.680379746835443,
"repo_name": "yungoo/apple-qos",
"id": "787a5750dd783f5e13053efdc24aca880da316d8",
"size": "632"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "64beb856f2ee2ed828a7184382380ab3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "561ba27161ec74b1f6bf6926e2a54e38ffceb2a4",
"size": "192... |
'use strict';
import * as assert from 'assert';
import {workspace, window, ViewColumn, TextEditorViewColumnChangeEvent, Uri} from 'vscode';
import {join} from 'path';
import {cleanUp, pathEquals} from './utils';
suite('window namespace tests', () => {
teardown(cleanUp);
test('editor, active text editor', () => ... | {
"content_hash": "a9a5e347540a29d8af15b09c953275dc",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 122,
"avg_line_length": 29.914634146341463,
"alnum_prop": 0.6803913575214023,
"repo_name": "sifue/vscode",
"id": "c52ed3333eb77de530a9fff9414ef232e0175e03",
"size": "2804",... |
// This file was automatically generated by lister-gen
package internalversion
import (
"k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/labels"
"github.com/hyperhq/client-go/tools/cache"
core "k8s.io/kubernetes/pkg/apis/core"
)
// SecretLister helps list Secrets.
type SecretLister interface {
//... | {
"content_hash": "55ac6db54b03c1e8fd0ce23cebee6bed",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 95,
"avg_line_length": 31.1375,
"alnum_prop": 0.753512645523886,
"repo_name": "hyperhq/kubernetes",
"id": "8a8fe5977c3b05ad32f839add643257d765fc0fa",
"size": "3060",
"bin... |
import scrapy
from cookieSpider import CookieSpider as Spider
from scrapy.selector import Selector
from dirbot.items import Website
class DmozSpider(Spider):
name = "dmoz"
allowed_domains = ["baidu.com"]
start_urls = [
"http://tieba.baidu.com/f?kw=阅兵"
]
def parse_next_page(self, respons... | {
"content_hash": "5c8dcc8d6c8ba4a89a18b5094eef0395",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 96,
"avg_line_length": 31.416666666666668,
"alnum_prop": 0.6091954022988506,
"repo_name": "jingzhou123/tieba-crawler",
"id": "98e21ef6a245d809d8a579804abb8e3326df9811",
"si... |
import os
class ChangeSet:
def __init__(self, **kwargs):
if 'file' in kwargs:
splits = kwargs['file'].split('/')
if len(splits) == 3:
splits.insert(2, '')
if len(splits) != 4:
raise ValueError('Incorrect file format for % ' % kw... | {
"content_hash": "adf8dc843a30000a75536a7611fee731",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 114,
"avg_line_length": 41.63636363636363,
"alnum_prop": 0.490174672489083,
"repo_name": "davidkempers/db-migrate",
"id": "538c70eba60b60eecc146c59c6efff05e9c94e19",
"size"... |
{
pageTitle: 'Client UI JS',
content: Html.h2('NWT Client UI JS') +
Html.p('A powerful internal JS framework comes bundled with NWT. Use of these methods on your own are optional.')
} | {
"content_hash": "d0f760097207e29dd23196c1d7fe6bbb",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 115,
"avg_line_length": 31.333333333333332,
"alnum_prop": 0.7127659574468085,
"repo_name": "nwtjs/nodeworx",
"id": "255ced0ab1bf486a2326cabf69bc2b78d9f4804c",
"size": "188",... |
namespace http
{
namespace server
{
connection_manager::connection_manager()
{
}
void
connection_manager::start(connection_ptr c)
{
mutex_.lock();
connections_.insert(c);
c->start();
mutex_.unlock();
}
void
connection_manager::stop(connection_ptr c)
{
mutex_.lock();
connections_.erase(c);
c->stop();
mu... | {
"content_hash": "f10902e2bab42b8f13508b405ca70c91",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 43,
"avg_line_length": 13.45945945945946,
"alnum_prop": 0.6485943775100401,
"repo_name": "bubichain/blockchain",
"id": "7c2eb695d75b96da265cd8a01b777788178d779c",
"size": "... |
/* Stub file provided for C extensions that expect it. All regular
* defines and prototypes are in ruby.h
*/
#define RUBY 1
#define RUBINIUS 1
#define HAVE_STDARG_PROTOTYPES 1
/* These are defines directly related to MRI C-API symbols that the
* ... | {
"content_hash": "9286b908ee55f52f0ce1d43ed04e9c9f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 67,
"avg_line_length": 36.5,
"alnum_prop": 0.6178082191780822,
"repo_name": "rkh/rubinius",
"id": "c7a2d310119f9516ef698b2fd94e2a7bf60945d7",
"size": "730",
"binary": fal... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/v2/version.proto
package com.google.cloud.dialogflow.v2;
/**
*
*
* <pre>
* The request message for [Versions.CreateVersion][google.cloud.dialogflow.v2.Versions.CreateVersion].
* </pre>
*
* Protobuf type {@code googl... | {
"content_hash": "b893bc88e8d48d0e57961328812f8600",
"timestamp": "",
"source": "github",
"line_count": 927,
"max_line_length": 109,
"avg_line_length": 31.240560949298814,
"alnum_prop": 0.6428867403314917,
"repo_name": "googleapis/java-dialogflow",
"id": "4252142070c9d3e882afd017b73dad1d1d9a78a7",
... |
<?php
/**
* @namespace
*/
namespace Zend\Controller\Dispatcher;
/**
* @uses \Zend\Controller\Exception
* @category Zend
* @package Zend_Controller
* @subpackage Dispatcher
* @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com... | {
"content_hash": "3ec20e974704b60d34ce7252690f3b30",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 87,
"avg_line_length": 21.894736842105264,
"alnum_prop": 0.6850961538461539,
"repo_name": "TrafeX/zf2",
"id": "af58a170cabcbd960dbaa56ca996864746b44dc1",
"size": "1118",
... |
/* global process */
/**
* @file JSforce API root object
* @author Shinichi Tomita <shinichi.tomita@gmail.com>
*/
exports.Connection = require('./connection');
exports.OAuth2 = require('./oauth2');
exports.Date = exports.SfDate = require("./date");
exports.RecordStream = require('./record-stream');
| {
"content_hash": "f75cf31413394bf1966e98da6fd8b2fd",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 33.666666666666664,
"alnum_prop": 0.6996699669966997,
"repo_name": "rdietrick/jsforce",
"id": "10ee6d53a3258707566090bea85d779d0dad69c4",
"size": "303... |
// Copyright (c) 2002-2019 "Neo4j,"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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... | {
"content_hash": "9ee9740656c1b4ba2bf81ea5f076d448",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 108,
"avg_line_length": 38.12903225806452,
"alnum_prop": 0.6178793006204174,
"repo_name": "ali-ince/neo4j-dotnet-driver",
"id": "1f75143693d531c1ebfc51507a600d44978a4b4d",
... |
package com.google.api.ads.adwords.jaxws.v201509.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for mutateResponse element declaration.
*
* <p>The... | {
"content_hash": "0bdb13f4e32bcbbfeaa7fadbe09ee55e",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 127,
"avg_line_length": 24.640625,
"alnum_prop": 0.6309448319594166,
"repo_name": "gawkermedia/googleads-java-lib",
"id": "3be5e8472d526dd4a326b5faea5efa5882b35810",
"size"... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE bulletml SYSTEM "bulletml.dtd">
<bulletml>
<action label="top">
<vanish/>
</action>
</bulletml>
| {
"content_hash": "ddd9100d6382bd4800dadea2f7c63393",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 41,
"avg_line_length": 21.857142857142858,
"alnum_prop": 0.6405228758169934,
"repo_name": "dmanning23/BulletMLLib",
"id": "3475ec39ea1c97133b6523734626978bccb57338",
"size":... |
DECLARE_bool(color);
namespace paddle {
namespace string {
inline std::string black() { return FLAGS_color ? "\e[30m" : ""; }
inline std::string red() { return FLAGS_color ? "\e[31m" : ""; }
inline std::string b_red() { return FLAGS_color ? "\e[41m" : ""; }
inline std::string green() { return FLAGS_color ? "\e[32m" ... | {
"content_hash": "183ce3ee3f2061da579d9e7db477b585",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 71,
"avg_line_length": 39.343283582089555,
"alnum_prop": 0.6077389984825493,
"repo_name": "luotao1/Paddle",
"id": "9de7ce24abd72d96708d970afe1ee41d476e8c27",
"size": "3418"... |
package com.jeff.game.models.components;
import com.badlogic.ashley.core.Component;
import com.jeff.game.models.util.Tag;
/**
* IdentityComponent component property bag.
*/
public class IdentityComponent implements Component {
public final Tag tag;
public final int id;
/**
* Constructor.
*
... | {
"content_hash": "39fd1f3df714f7c7323adb0d500a888b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 53,
"avg_line_length": 21.583333333333332,
"alnum_prop": 0.6486486486486487,
"repo_name": "jregistr/Academia",
"id": "5b2d9712565f64c7da6c526b760834190426d97c",
"size": "51... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>template-coq: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | {
"content_hash": "ffef9ea63c96fa71f230ec39e58d30cc",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 157,
"avg_line_length": 40.38922155688623,
"alnum_prop": 0.5337286879169756,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "5bc15756c6c745c39e95a3f95f6935b416e6f9b7",
... |
\echo Use "CREATE EXTENSION vrptools" to load this file. \quit
---------------------------------------------------------------------
-- Core functions to access vrptools from postgresql
-- Authoe: Stephen Woodbridge <woodbri@swoodbridge.com>
-- Date: 2014-10-17
---------------------------------------------------------... | {
"content_hash": "11062009d8b7147f458f8e8b431352bc",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 69,
"avg_line_length": 33.54761904761905,
"alnum_prop": 0.5968772178850248,
"repo_name": "cvvergara/vrp-trash-collection",
"id": "2ae961ff6020b35dc4cc8c046652ec191e1e9274",
... |
class SchoolDetail < ActiveRecord::Base
has_attached_file :logo,
:styles => { :original=> "150x110#"},
:url => "/system/:class/:attachment/:id_partition/:style/:basename.:extension",
:path => ":rails_root/public/system/:class/:attachment/:id_partition/:style/:basename.:extension",
:default_url => 'applicatio... | {
"content_hash": "9d9ec0b9058643ad73732da92305b943",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 100,
"avg_line_length": 51.5,
"alnum_prop": 0.6856796116504854,
"repo_name": "prafula/FedenaT",
"id": "da1369bcd3c619536a96cbd7171398a4132c93d1",
"size": "1516",
"binary"... |
/**
* @license AngularJS v1.2.10
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, document, undefined) {'use strict';
/**
* @description
*
* This object provides a utility for producing rich Error messages within
* Angular. It can be called as follows:
*
* va... | {
"content_hash": "364626e4a4d64d9d18fd9dbd8c925316",
"timestamp": "",
"source": "github",
"line_count": 20560,
"max_line_length": 502,
"avg_line_length": 36.31527237354086,
"alnum_prop": 0.5914400743595993,
"repo_name": "jasonlarke-uwa/git-sync",
"id": "7df09ea2ac2fade68c320b9e5c765e3310134518",
"s... |
namespace CGFF {
GLFramebuffer2D::GLFramebuffer2D(int width, int height, const TextureParameters& params)
: m_glTexture(nullptr)
, m_width(width)
, m_height(height)
, m_clearColor(0, 0, 0, 0)
, m_textureParams(params)
{
init();
}
GLFramebuffer2D::~GLFramebuffer2D()
{
}
void GLFramebuff... | {
"content_hash": "32928e03494d90b95678b25018ed8b45",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 107,
"avg_line_length": 26.189873417721518,
"alnum_prop": 0.7046882551957467,
"repo_name": "GaoCHEN1988/CGFF",
"id": "8b47deb21040eaa5477eec94a80127096c1432bf",
"size": "20... |
package com.qxcmp.exception;
/**
* 黑名单异常
*
* @author Aaric
*/
public class BlackListException extends RuntimeException {
}
| {
"content_hash": "eec915bad96333fd158beb215d875da4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 58,
"avg_line_length": 14.222222222222221,
"alnum_prop": 0.71875,
"repo_name": "AaricChen/qxcmp-framework",
"id": "19eb094caafe1a7260a0961dae627ccfa37b7f98",
"size": "138",
... |
namespace dxil2spirv
{
namespace spirv
{
class Inst;
class Function;
class Block
{
public:
void setReturn(Handle returnValue);
void setReturn();
Block(const Block&) = delete;
Block(Block&&) = delete;
private:
Handle nextHadle();
Function& _func;
Handle blockHandle;
Block(Handle ... | {
"content_hash": "e9798d4456b46ccfd35b348d62c50d1b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 46,
"avg_line_length": 16.258064516129032,
"alnum_prop": 0.6607142857142857,
"repo_name": "zzzzRuby/Skuld",
"id": "4503080e4ca6e3dcc8f16d88c58e2ffd795273e5",
"size": "577",... |
from Box2D import *
from OpenGL.GL import *
from rocket.player import *
from rocket.object import Object
from utils import Clock, Timer
class LevelBase(b2ContactListener):
def __init__(self, keyAdapter, world, name=""):
super(LevelBase, self).__init__()
self.keyAdapter = keyAdapter
self.w... | {
"content_hash": "eab35faac8d8cbf38d68d3177d65a9bc",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 191,
"avg_line_length": 37.90829694323144,
"alnum_prop": 0.5476327612026264,
"repo_name": "markusd/rocket",
"id": "e528bda0369f5d7262bcda2f3409214b2a0c28ce",
"size": "8681... |
package com.gmts.museum_of_transport_greater_manchester;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextVie... | {
"content_hash": "feeb67ee10c856bc458a52daa19e3116",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 112,
"avg_line_length": 36.72727272727273,
"alnum_prop": 0.5825082508250825,
"repo_name": "HUFGhani/Museum_Of_Transport_Greater_Manchester",
"id": "6226837bc0c09bc7bdc10ed58c... |
import { moduleForModel, test } from 'ember-qunit';
import { testForBelongsTo } from '../../helpers/relationship';
moduleForModel('user-category', 'Unit | Model | user category', {
// Specify the other units that are required for this test.
needs: ['model:user', 'model:category']
});
test('it exists', function(as... | {
"content_hash": "47b0576f55ccafea20a948b3fbc38c3a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 65,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.6926315789473684,
"repo_name": "jderr-mx/code-corps-ember",
"id": "07a9e490616a21411369a384a64add12ad4243dc",
"si... |
namespace pirulo {
class ConsumerOffsetReader {
public:
using StorePtr = std::shared_ptr<OffsetStore>;
using EofCallback = std::function<void()>;
using TopicCommitCallback = std::function<void(const std::string&, int)>;
ConsumerOffsetReader(StorePtr store, std::chrono::milliseconds consumer_offset_coo... | {
"content_hash": "e65b741b426d1cf6684088feef9d021a",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 94,
"avg_line_length": 30.96551724137931,
"alnum_prop": 0.7048997772828508,
"repo_name": "mfontanini/pirulo",
"id": "3f363b156599f33dc386ed24ce1053e13d1ed0b1",
"size": "107... |
package poa.exercices.feedPigeons.interfaces;
import java.awt.*;
public class BirdShape extends EntityShape {
public BirdShape(Point position) {
super(position, new Rectangle(position.x, position.y, 25, 25), Color.DARK_GRAY);
}
}
| {
"content_hash": "5f235d7ef4d1a70f64a76c85265597b3",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 88,
"avg_line_length": 22.727272727272727,
"alnum_prop": 0.716,
"repo_name": "skornous/feedPigeons",
"id": "06152080afbae349e8c1aac0f52ced0febc2c4cd",
"size": "250",
"bin... |
const debug = require('debug')('filebin:s3-handler');
const objectAssign = require('object-assign');
const LRU = require('lru-cache');
const del = require('del');
const S3 = require('aws-sdk/clients/s3');
const fs = require('fs');
const Promise = require('bluebird');
module.exports = function (options) {
options.s3... | {
"content_hash": "e4880346d20d55324eb3d0bf585f0e28",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 78,
"avg_line_length": 28.375,
"alnum_prop": 0.5935122146575891,
"repo_name": "Sanji-IO/express-filebin",
"id": "bfc8304cee4e01d0e2fcaf505b5300cc84060ee8",
"size": "2497",
... |
<!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 Dec 03 19:50:47 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class net.s... | {
"content_hash": "67afd1cd605bc500d3e76b89604d5ca1",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 149,
"avg_line_length": 38.0940170940171,
"alnum_prop": 0.6223917433251066,
"repo_name": "byronka/xenos",
"id": "a44e7da57539a5d86c1f02114346c97634a4bcd7",
"size": "4457",... |
/*
* MinIO Java SDK for Amazon S3 Compatible Cloud Storage, (C) 2020 MinIO, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | {
"content_hash": "273a5e62f1f9789ee4f26b13f3e10248",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 80,
"avg_line_length": 29.324675324675326,
"alnum_prop": 0.6465899025686448,
"repo_name": "balamurugana/minio-java",
"id": "7824254e6c95259f39e508f2e97f94b449929e54",
"size... |
#import <SAObjects/SAAnswerAbstractSocialPost.h>
@class NSArray;
@interface SAAnswerSocialQuestion : SAAnswerAbstractSocialPost
{
}
+ (id)socialQuestionWithDictionary:(id)arg1 context:(id)arg2;
+ (id)socialQuestion;
@property(copy, nonatomic) NSArray *socialAnswers;
- (id)encodedClassName;
- (id)groupIdentifier;
... | {
"content_hash": "7c839c11e1774ff29e860649a3363fc6",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 62,
"avg_line_length": 18.11111111111111,
"alnum_prop": 0.7822085889570553,
"repo_name": "matthewsot/CocoaSharp",
"id": "df70cfb1adaf36c4bdc8a61be86adaa8506f356f",
"size": ... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for src/lokijs.js</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../prettify.css" />
<link rel="stylesheet" href="../base.css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type='t... | {
"content_hash": "6331d0e3a42678af77ebe78a28905bd0",
"timestamp": "",
"source": "github",
"line_count": 19496,
"max_line_length": 257,
"avg_line_length": 32.336171522363564,
"alnum_prop": 0.67062748046559,
"repo_name": "PeopleStream/PeopleStreamQHacks",
"id": "9ab233933a520ed81af96b669da93b75cb9fc2ca... |
<HTML><HEAD>
<TITLE>Review for Godzilla (1998)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0120685">Godzilla (1998)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Alex+Siegel">Alex Sie... | {
"content_hash": "b4c77f787f7e722c3d79d27e1efb0424",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 192,
"avg_line_length": 60.77142857142857,
"alnum_prop": 0.7590503055947344,
"repo_name": "xianjunzhengbackup/code",
"id": "ca7e3a3a1c0096748a949a49713dc92b199fcbce",
"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 Sun Mar 17 11:03:40 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | {
"content_hash": "268fce30ca3b7d1eaf92876e2e09926f",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 493,
"avg_line_length": 48.98809523809524,
"alnum_prop": 0.6563791008505467,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "2f4fda2246e218f1685f0245d116b349d6c1... |
package no.stelar7.api.r4j.pojo.lol.liveclient;
import java.util.Objects;
public class ActiveGameClientPlayer
{
private ActiveGameClientPlayerAbilities abilities;
private ActiveGameClientPlayerStats championStats;
private float currentGold;
private ActiveGameClientPlayerP... | {
"content_hash": "0eb1efff3571bd811684e5e86757ccc2",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 99,
"avg_line_length": 26.804878048780488,
"alnum_prop": 0.5564149226569609,
"repo_name": "stelar7/L4J8",
"id": "5406069427a9cdccfb0c6ada1776ab4d9f4cff0d",
"size": "2198",
... |
package oap.io;
import oap.io.content.ContentReader;
import oap.util.Strings;
import org.slf4j.Logger;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;
import java.net.SocketException;
import static org.slf4j.LoggerFactory.get... | {
"content_hash": "61dd765cd730c6ecb290b2b7d7214520",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 88,
"avg_line_length": 31.776119402985074,
"alnum_prop": 0.5819633630812588,
"repo_name": "oaplatform/oap",
"id": "937c50f5b2152a6bc276a03c0d20ba49643bb007",
"size": "3289"... |
require 'gooddata'
APP_STORE_ROOT = File.expand_path('../../../..', __FILE__)
$LOAD_PATH.unshift(APP_STORE_ROOT)
require './apps/user_filters_brick/user_filters_brick'
include GoodData::Bricks
describe GoodData::Bricks::UserFiltersBrick do
before(:all) do
logger = Logger.new(STDOUT)
logger.level = Logger::... | {
"content_hash": "b3cb1412c69dfc55bc2060d6ee585b8a",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 153,
"avg_line_length": 40.64971751412429,
"alnum_prop": 0.6061153578874218,
"repo_name": "korczis/app_store",
"id": "6633afc5e91a7b75e9f0670de796a5cf6ba87e8d",
"size": "7... |
package barbarahliskov.cambialibros;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RatingBar;
import android.widget.Toast;
public class PerfilUsuarios extends AppCompatActivity {
... | {
"content_hash": "278f001dd99e57630605d6dff3cb71cd",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 97,
"avg_line_length": 35.626506024096386,
"alnum_prop": 0.5853905985796415,
"repo_name": "UNIZAR-30226-2017-03/Proyecto_Software_2017",
"id": "d6f2597d7b22aaebb897b42060c603... |
<audio controls="controls" id="audio_player">
<source src="/assets/audio/{{ include.id }}.ogg" type="audio/ogg" />
<source src="/assets/audio/{{ include.id }}.mp3" type="audio/mpeg" />
Your browser does not support the audio element.
</audio> | {
"content_hash": "e7565240fa6d02478828b116dae667db",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 71,
"avg_line_length": 49.6,
"alnum_prop": 0.6774193548387096,
"repo_name": "bseymour/bseymour.github.io",
"id": "5c838fe10d9f9d494cb09b217809931e09aa5be5",
"size": "248",
... |
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.comci</groupId>
<... | {
"content_hash": "dbda20a67fdead5b7c9351c95727cc23",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 204,
"avg_line_length": 40.5,
"alnum_prop": 0.6225749559082893,
"repo_name": "maiers/equality-collection",
"id": "729e6e126ea80395798e8d4714f74080d530cd33",
"size": "1134",... |
@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&subset=greek,latin-ext');
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, sa... | {
"content_hash": "d5f944d93855e19edb4606743262722a",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 139,
"avg_line_length": 22.226027397260275,
"alnum_prop": 0.6110939907550077,
"repo_name": "michaelbontyes/ekogito",
"id": "58d8340b682fd5c6c4eb82e08a712098b1e0a5d4",
"siz... |
package com.cafejeunesse.android.fragment.cafe;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.cafejeunesse.android.fragment.BasicFragment;
import com.cafejeunesse.android.navigationdrawer.R;
/**
* Created by David Levayer on 07/04/1... | {
"content_hash": "d2128cb7b919a387e6f5f238ccd03dab",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 103,
"avg_line_length": 27.818181818181817,
"alnum_prop": 0.7794117647058824,
"repo_name": "cafejeunesse/application-cafe-jeunesse-android",
"id": "b86c39763ea3bff8ebc122f8ee... |
#ifndef CALACS_INCL
#define CALACS_INCL
#include "trlbuf.h"
#include "hstcal.h"
/* calacs -- integrated calacs reduction
Warren Hack, 1998 May 12: Initial version.
Pey Lian Lim, 2013 Aug 9: Separated PCTECORR from ACSCCD.
*/
typedef struct {
/* name of association table exposure comes from */
char asn_table[... | {
"content_hash": "5634d3d1531fedadeeac6d22eab573a8",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 76,
"avg_line_length": 39.425925925925924,
"alnum_prop": 0.6542977923907938,
"repo_name": "jhunkeler/hstcal",
"id": "7aec3585176cd9cf82c9b484b47c7158f5077982",
"size": "212... |
// ResourcePump.cs
//
// Author:
// Allis Tauri <allista@gmail.com>
//
// Copyright (c) 2016 Allis Tauri
using System;
using UnityEngine;
namespace AT_Utils
{
public class ResourcePump
{
const float eps = 1e-7f;
const float min_request = 1e-5f;
readonly Part part;
p... | {
"content_hash": "fc82a5bfe057aff174b2fdddd832cace",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 98,
"avg_line_length": 28.45945945945946,
"alnum_prop": 0.5389363722697056,
"repo_name": "allista/AT_Utils",
"id": "5d266bdd298dcd2b3f8fb4c44c2353e93ac9d987",
"size": "2108... |
//-----------------------------------------------------------------------
// <copyright company="Metamorphic">
// Copyright (c) Metamorphic. All rights reserved.
// Licensed under the Apache License, Version 2.0 license. See LICENCE.md file in the project root for full license information.
// </copyright>
//----------... | {
"content_hash": "b3c0a1980ff9bf7a7d64a31e625adfd2",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 156,
"avg_line_length": 34.18260869565217,
"alnum_prop": 0.5797506995675401,
"repo_name": "pvandervelde/Metamorphic",
"id": "5143480019e1455e8e04c95546f5866f8db10627",
"si... |
import {Services} from '#service';
import {createCustomEvent} from '../event-helper';
import {whenContentIniLoadMeasure} from '../ini-load';
/**
* Registers ini-load listener that will fire custom 'amp-ini-load' event
* on window (accessible if creative is friendly to ad tag) and postMessage to
* window parent.
*... | {
"content_hash": "ef0ab09bad577ecec137e055a62bd559",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 80,
"avg_line_length": 26.23913043478261,
"alnum_prop": 0.6677713338856669,
"repo_name": "smartadserver/amphtml",
"id": "25d25794d9fb1e07722ef22026f299d491cf5593",
"size": ... |
@interface DemoViewController : UIViewController <ALPickerViewDelegate> {
NSArray *entries;
NSMutableDictionary *selectionStates;
ALPickerView *pickerView;
}
@end
| {
"content_hash": "8ee450824ae87181b36eee0e0e0cbfb0",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 73,
"avg_line_length": 21.125,
"alnum_prop": 0.8047337278106509,
"repo_name": "yasuoza/ALPickerView",
"id": "90c5b1a05213a987907524c1bf2bed65bf9f1e6c",
"size": "364",
"bin... |
@interface ViewController : UIViewController
@end
| {
"content_hash": "b7f77af379b1ea11a69589c732bef02a",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 44,
"avg_line_length": 10.6,
"alnum_prop": 0.7924528301886793,
"repo_name": "276452915/OC-SHA",
"id": "2f747c24885a545472ec6b4a0a96aa0b15818cc3",
"size": "221",
"binary": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using Syste... | {
"content_hash": "9fe7a88ead43db6e58e97f44f806c7d0",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 108,
"avg_line_length": 38.404761904761905,
"alnum_prop": 0.6092684438933664,
"repo_name": "flyingoverclouds/Clorofeel",
"id": "b70c71cd1a4db2eb94a8b70a08e7e0e37acb0cac",
... |
<!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.5.0_05) on Thu Jul 10 12:59:59 PDT 2008 -->
<TITLE>
RepositoryCacheTest
</TITLE>
<META NAME="keywords" CONTENT="edu.sdsc.inca.agent.RepositoryCacheTest ... | {
"content_hash": "3e5a068d2d56b2ee3b932d12bd04f2f1",
"timestamp": "",
"source": "github",
"line_count": 509,
"max_line_length": 470,
"avg_line_length": 38.153241650294696,
"alnum_prop": 0.6449536560247168,
"repo_name": "IncaProject/IncaProject.github.io",
"id": "6f1cd7b9fe110c0d1e4f0236ab6c3bf6e7b5dd... |
<ux-icon name="search"></ux-icon>
<div class="nav-bar-search-container" *ngIf="searching === true" (click)="$event.stopPropagation()">
<input #searchInput type="text" class="nav-bar-search-input"
[ngModel]="query | async" (ngModelChange)="query.next($event)" (blur)="hideSearch()"
(keydown.escape)="... | {
"content_hash": "472866b52ab7cdea99238348f1ae41a1",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 113,
"avg_line_length": 52.6875,
"alnum_prop": 0.6227758007117438,
"repo_name": "UXAspects/UXAspects",
"id": "478a727cdfc499b09d451942235b5adc3f34fe70",
"size": "843",
"b... |
<?php
class M_propiedad extends CI_Model {
public function __construct(){
$this->load->database();
}
public function get_propiedad($slug = FALSE) {
if($slug === FALSE){
$query = $this->db->get('propiedades');
return $query->result_array();
}
$... | {
"content_hash": "6d833e9d24e9edd4ad0fab0002a49959",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 19.217391304347824,
"alnum_prop": 0.5113122171945701,
"repo_name": "ecalderon0805/colonos_monteverde",
"id": "7b4a2ceed1628e9c9403169605513e280e4d41b8"... |
using System;
using System.Buffers;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using ManagedBass;
using osu.Framework.Utils;
using osu.Framework.Audio.Callbacks;
using osu.Framework.Extensions;
using osu.Framework.Logging;
namespace osu.Framework.Audio.Track
{
... | {
"content_hash": "f8a8e67e60b64e434b5349ccf6a2efd4",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 159,
"avg_line_length": 40.81038961038961,
"alnum_prop": 0.5335412423625254,
"repo_name": "ppy/osu-framework",
"id": "99e3b25b77d5d99205721e5d975fa873bd9509f2",
"size": "1... |
view = {
header: {
show: function() {
clearTimeout($(window).data("timeout"));
if (visible.photo()) {
lychee.imageview.removeClass("full");
lychee.loadingBar.css("opacity", 1);
lychee.header.removeClass("hidden");
if ($("#imageview #image.small").length>0) {
$("#imageview #image").cs... | {
"content_hash": "8dfbca8a22643013ab181af7a83470fc",
"timestamp": "",
"source": "github",
"line_count": 469,
"max_line_length": 190,
"avg_line_length": 22.204690831556505,
"alnum_prop": 0.5735548300364893,
"repo_name": "massyas/lychee_ynh",
"id": "34a6fb04aad15c279e43a51376f709a020d6d98d",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>poltac: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "6b5e94388da29dea97f4216412c1d73b",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 159,
"avg_line_length": 38.69090909090909,
"alnum_prop": 0.5238095238095238,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "5f0820f7c252ebdc82b48e74a9b7b90188cf5c49",
... |
Place your unit tests in this directory.
| {
"content_hash": "8355a5ce030318be6740080b8a307431",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 40,
"avg_line_length": 41,
"alnum_prop": 0.8048780487804879,
"repo_name": "magetut/module-advanced-search",
"id": "e7680c93d0ed4c31bf718a0e2a5b473a0a1cdcc7",
"size": "41",
... |
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>livelessons</group... | {
"content_hash": "84bedd5e98cbb29b3b3f3dc88ca65e4f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 104,
"avg_line_length": 35.857142857142854,
"alnum_prop": 0.7264276228419655,
"repo_name": "livelessons-spring/building-microservices",
"id": "8ea6f48cf188a261fe2f8aacf323493... |
YYSYNTH_DUMMY_CLASS(UIView_YYAdd)
@implementation UIView (YYAdd)
- (UIImage *)snapshotImage {
UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.opaque, self.layer.contentsScale * 3);
[self.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *snap = UIGraphicsGetImageFromCurrentImage... | {
"content_hash": "7ec34d7d9d0991451bc5be88876346d1",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 104,
"avg_line_length": 29.233463035019454,
"alnum_prop": 0.6560628244376414,
"repo_name": "baienda/xiaoyan_ios",
"id": "3fadc4a8908a63375d844774d87136d042e2ad44",
"size":... |
package org.optaplanner.examples.projectjobscheduling.domain;
import org.optaplanner.examples.common.domain.AbstractPersistable;
import org.optaplanner.examples.projectjobscheduling.domain.resource.Resource;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("PjsResourceRequirement")
public clas... | {
"content_hash": "b1d04a857bf8140057f1eed7ed18e908",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 79,
"avg_line_length": 27.06382978723404,
"alnum_prop": 0.6360062893081762,
"repo_name": "tkobayas/optaplanner",
"id": "1f3547864c014f56086716008a28799138c6450c",
"size": "... |
CREATE DATABASE burgers_db;
USE burgers_db;
CREATE TABLE burgers (
ID INT(100) AUTO_INCREMENT NOT NULL,
burger_name VARCHAR(255) NOT NULL,
devoured BOOLEAN DEFAULT false,
ts TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (ID)
);
SELECT * FROM burgers;
| {
"content_hash": "ec11e4a5b1d740003e4eab58d667d8cb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 68,
"avg_line_length": 22.307692307692307,
"alnum_prop": 0.7655172413793103,
"repo_name": "PocketThi3f/burger-restaurant",
"id": "4b6ea00b511c3e6434fd41e7ecd8f09b5055d0ed",
... |
package aws
import (
"bytes"
"crypto/hmac"
"crypto/sha256"
"encoding/base64"
"fmt"
"io/ioutil"
"net/http"
"net/url"
"path"
"sort"
"strings"
"time"
)
// AWS specifies that the parameters in a signed request must
// be provided in the natural order of the keys. This is distinct
// from the natural order of ... | {
"content_hash": "3507d181ab7bdb6bd74d1b43f6a01873",
"timestamp": "",
"source": "github",
"line_count": 472,
"max_line_length": 146,
"avg_line_length": 29.375,
"alnum_prop": 0.6825099170573387,
"repo_name": "shakamunyi/distribution",
"id": "d1640d4498c14e483da1106e0e4e0de233f77d2a",
"size": "13865"... |
<div class="oppia-audio-container e2e-test-audio-upload-container">
<form #inputForm>
<input type="file"
class="e2e-test-upload-audio-input"
(change)="this.addAudio($event)"
#fileInput>
</form>
<div class="license-warning">
Please only upload audio files that you created y... | {
"content_hash": "03bc2f5f5e1924b6b281d9dd1398b8f7",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 113,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.618421052631579,
"repo_name": "oppia/oppia",
"id": "08f23817848ab0734ce74b441484a55de4038e30",
"size": "1292",
... |
template '/etc/securetty' do
source 'securetty.erb'
mode '0400'
owner 'root'
group 'root'
variables(
ttys: node['os-hardening']['auth']['root_ttys'].join("\n")
)
end
| {
"content_hash": "26c9dcac0740d8c12c7d3b439a2382f3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 62,
"avg_line_length": 20.22222222222222,
"alnum_prop": 0.6263736263736264,
"repo_name": "rollbrettler/chef-os-hardening",
"id": "a270556e365c70fc8ba7b03f3281f429d9d11509",
... |
import { request, runTargetSpec } from '@angular-devkit/architect/testing';
import { from } from 'rxjs';
import { concatMap, take, tap } from 'rxjs/operators';
import { DevServerBuilderOptions } from '../../src';
import { devServerTargetSpec, host } from '../utils';
describe('Dev Server Builder serve path', () => {... | {
"content_hash": "c5c1fd8e31139e8ae57b14c4763744fc",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 82,
"avg_line_length": 43,
"alnum_prop": 0.6683893195521102,
"repo_name": "hansl/devkit",
"id": "b49bc8c4c5e74630e5bc70fa7147402f8104abf1",
"size": "1363",
"binary": fals... |
package org.pentaho.hadoop.mapreduce.test;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.Counters.Counter;
import org.apache.hadoop.mapred... | {
"content_hash": "fefa7a26da04481d3a5c4295449c2f61",
"timestamp": "",
"source": "github",
"line_count": 805,
"max_line_length": 139,
"avg_line_length": 39.46583850931677,
"alnum_prop": 0.690210890777463,
"repo_name": "brosander/big-data-plugin",
"id": "001c39c0acf819dabf2a2d5569b5802a6a49e0d9",
"si... |
package com.itwheel.edigate.pricat.processor;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import org.milyn.edi.unedifact.d96a.PRICAT.Pricat;
import org.milyn.edi.unedifact.d96a.PRICAT.SegmentGroup1;
import org.milyn.edi.unedifact.d96a.PRICAT.SegmentGroup16;
import org.mily... | {
"content_hash": "3bad9508338e9d0700afbb64dfd51877",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 109,
"avg_line_length": 54.69206349206349,
"alnum_prop": 0.5415022057116322,
"repo_name": "itwheels/firstgate",
"id": "5a56f546b319ce72c7950dd16275da611a6c90ea",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.