text stringlengths 2 1.04M | meta dict |
|---|---|
<!doctype html>
<html lang="en">
<head>
<title>Leaflet Provider - layer bounds check page</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="//cdnjs.cloudflare.co... | {
"content_hash": "fa28c172b1679fcce247c71740f316d7",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 154,
"avg_line_length": 26.137931034482758,
"alnum_prop": 0.6512752858399297,
"repo_name": "tomhughes/leaflet-providers",
"id": "50aa246e4d756aec3466479b140f4dedd966f76c",
... |
namespace Lucene
{
const int32_t Token::MIN_BUFFER_SIZE = 10;
Token::Token()
{
ConstructToken(0, 0, DEFAULT_TYPE(), 0);
}
Token::Token(int32_t start, int32_t end)
{
ConstructToken(start, end, DEFAULT_TYPE(), 0);
}
Token::Token(int32_t start, int32_t end, co... | {
"content_hash": "fb328a410573fa91992b28f8007aac71",
"timestamp": "",
"source": "github",
"line_count": 519,
"max_line_length": 166,
"avg_line_length": 32.27938342967245,
"alnum_prop": 0.5889691398555482,
"repo_name": "ustramooner/LucenePlusPlus",
"id": "46404ae30591c203a509230a1d785b5b6c5f2c9c",
"... |
class BluePing {
public:
static int ping(std::string target);
};
#endif
| {
"content_hash": "3111fd5e381b1997502bd2a658848822",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 38,
"avg_line_length": 8.777777777777779,
"alnum_prop": 0.6582278481012658,
"repo_name": "marc-despland/alarm",
"id": "14e7ed24d42bf63a510fef4ab8f0dab629a2caec",
"size": "15... |
""" unit tests for the model and descriptor packager """
from rdkit import RDConfig
from rdkit.ML.Data import DataUtils
import unittest,os,sys
import io
from rdkit.six.moves import cPickle
from rdkit.ML.ModelPackage import Packager
from rdkit import Chem
import random
def feq(a,b,tol=1e-4):
return abs(a-b)<=tol
cl... | {
"content_hash": "a862268180ef3e9f03e5a1801a2dba3e",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 81,
"avg_line_length": 35.62406015037594,
"alnum_prop": 0.5844238075137189,
"repo_name": "strets123/rdkit",
"id": "b4dce747630637d9b7597360f47705409dc59925",
"size": "4877... |
package com.gaojin.test;
public class Test {
public static void main(String[] args) {
System.out.println();
System.out.println();
}
}
class MyThread implements Runnable {
public void run() {
}
} | {
"content_hash": "d5b7a151a44e6274add566bbd787ddcc",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 44,
"avg_line_length": 16.266666666666666,
"alnum_prop": 0.5778688524590164,
"repo_name": "gaojinjake/util",
"id": "a277346cfb240a2772124cda7429aaf12af79d2c",
"size": "244"... |
'use strict';
const express = require('express');
const router = express.Router();
const bodyparser = require('../bodyparser');
const ensureAuth = require('../ensureAuth');
const token = require('../token.js');
const User = require('../models/user');
module.exports = router
.post('/signup', bodyparser, (req, res) ... | {
"content_hash": "ab852c5f563526b57467feae76fd319f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 91,
"avg_line_length": 27.026666666666667,
"alnum_prop": 0.592501233349778,
"repo_name": "InsertCleverNameHere/cleverjobserver",
"id": "0aafaae4169980e5e7ad5b4568889b72f98c17... |
main = interact wordCount
where wordCount input = ((++) . show . length . lines) input "\n"
| {
"content_hash": "58e2b552386285b5d08d1426a247e261",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 68,
"avg_line_length": 47.5,
"alnum_prop": 0.6421052631578947,
"repo_name": "adz/real_world_haskell",
"id": "95e570c9b29dea8a08538cf08d8f67cc1ca2fa4d",
"size": "159",
"bin... |
import mock
from neutron.api import extensions as neutron_extensions
from neutron.api.v2 import attributes
from neutron import context
import neutron.db.api as db
from neutron.extensions import portbindings
from neutron import manager
from neutron.plugins.cisco.common import cisco_constants as c_const
from neutron.plu... | {
"content_hash": "4c6d21cedf6735c75d620161bc02b7cb",
"timestamp": "",
"source": "github",
"line_count": 808,
"max_line_length": 79,
"avg_line_length": 49.14108910891089,
"alnum_prop": 0.5516546617639652,
"repo_name": "virtualopensystems/neutron",
"id": "0d71bf4ab99e6493507132d9e815e9efb76440d5",
"s... |
<h1 mat-dialog-title>{{pageHeader}}</h1>
<div mat-dialog-content>
<div class="form-group">
<mat-form-field>
<input matInput placeholder="TagID" [(ngModel)]="data.currentTag._id" name="tagid" class="form-control" required>
</mat-form-field>
</div>
<div class="form-group">
<mat-form-field>
<in... | {
"content_hash": "680b8aa2c06f97a47cfbe478921bb7db",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 138,
"avg_line_length": 42.5,
"alnum_prop": 0.6705882352941176,
"repo_name": "hshn-labsw-nfc/schnitzel",
"id": "2d72401cea3d2bc63319fa2bbea63b9ab0b81e0e",
"size": "1021",
... |
#region License
#endregion
using System;
namespace WebSocketSharp {
/// <summary>
/// Provides the credentials for HTTP authentication (Basic/Digest).
/// </summary>
public class WsCredential {
#region Private Fields
string _domain;
string _password;
string _userName;
#endregion
... | {
"content_hash": "6fb712e56c8fc3b2b69c16e01401790f",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 108,
"avg_line_length": 21.094736842105263,
"alnum_prop": 0.593812375249501,
"repo_name": "NIAEFEUP/Kommando",
"id": "918755590565de23cee25dfdf3297c1ca97a4a49",
"size": "31... |
package com.amazonaws.codesamples.document;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import com.amazonaws.A... | {
"content_hash": "d247c85308e34e9568a7de6ebb664edf",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 160,
"avg_line_length": 38.549019607843135,
"alnum_prop": 0.6019328585961343,
"repo_name": "awslabs/aws-dynamodb-examples",
"id": "84b7d0988706e2be463a9631441cd3583b22b2c4",... |
package com.azure.resourcemanager.desktopvirtualization.implementation;
import com.azure.core.management.SystemData;
import com.azure.core.util.Context;
import com.azure.resourcemanager.desktopvirtualization.fluent.models.MsixPackageInner;
import com.azure.resourcemanager.desktopvirtualization.models.MsixPackage;
impo... | {
"content_hash": "880f77ad2f5403186e6494d11e2e6ddf",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 117,
"avg_line_length": 32.26739926739927,
"alnum_prop": 0.6613690543762062,
"repo_name": "Azure/azure-sdk-for-java",
"id": "ec574fed95777ff5426e117d070a1d33579afba8",
"si... |
import argparse
import os
from scheduled_bots.utils import make_deletion_templates, create_rfd
from wikidataintegrator import wdi_core, wdi_helpers
try:
from scheduled_bots.local import WDUSER, WDPASS
except ImportError:
if "WDUSER" in os.environ and "WDPASS" in os.environ:
WDUSER = os.environ['WDUSER... | {
"content_hash": "f08707a635b3f7451d8d4e25fbc46853",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 119,
"avg_line_length": 38.71084337349398,
"alnum_prop": 0.6308745720510427,
"repo_name": "SuLab/scheduled-bots",
"id": "f2c0ae848262c8778c9d6e227c6658ad132d6865",
"size": ... |
class CBlockIndex;
class CZMQAbstractNotifier;
typedef CZMQAbstractNotifier* (*CZMQNotifierFactory)();
class CZMQAbstractNotifier
{
public:
CZMQAbstractNotifier() : psocket(0) { }
virtual ~CZMQAbstractNotifier();
template <typename T>
static CZMQAbstractNotifier* Create()
{
return new T()... | {
"content_hash": "d470534e08c6ff357ebe18bcce136b71",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 68,
"avg_line_length": 25.916666666666668,
"alnum_prop": 0.6913183279742765,
"repo_name": "litecoinz-project/litecoinz",
"id": "8873b71d80477c489e357c110d95c9e2a1183f7c",
"... |
'use strict';
module.exports = function(grunt) {
//--------------------------------------------------------------------------
// SETUP CONFIG
//--------------------------------------------------------------------------
// setup task config
var config = {
// Arrays of relevant code classified by type
... | {
"content_hash": "bb00d46cdcadc9525b0e651fd753dd54",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 78,
"avg_line_length": 23.55,
"alnum_prop": 0.3970276008492569,
"repo_name": "gremy/kalabox-app-pantheon",
"id": "6afb25797677e1fc81694ac9ec86c6e1bed13def",
"size": "1884",... |
package org.apache.ignite.loadtests.cache;
import org.apache.ignite.*;
import org.apache.ignite.cache.*;
import org.apache.ignite.cache.store.*;
import org.apache.ignite.configuration.*;
import org.apache.ignite.internal.*;
import org.apache.ignite.internal.util.typedef.internal.*;
import org.apache.ignite.spi.disco... | {
"content_hash": "2382529e35ba63d9938560f8e57a96d5",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 108,
"avg_line_length": 26.823529411764707,
"alnum_prop": 0.6008771929824561,
"repo_name": "gridgain/apache-ignite",
"id": "de703acb454424f1cff6a22e210564d262be2682",
"siz... |
mkdir -p build
cd build
cmake -DCMAKE_CXX_COMPILER=$CXX -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DBUILD_SHARED_LIBS=OFF -G "Unix Makefiles" ..
make
# Compile fuzzer.
$CXX $CXXFLAGS -I../include $LIB_FUZZING_ENGINE \
../src/test_lib_json/fuzz.cpp -o $OUT/jsoncpp_fuzzer \
lib/libjsoncpp.a
# Add dictionary.
cp $SR... | {
"content_hash": "ddb7d00edb9485962008077a91c06a12",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 68,
"avg_line_length": 29.46153846153846,
"alnum_prop": 0.7023498694516971,
"repo_name": "FeliciaLim/oss-fuzz",
"id": "6c55653c10724eb1cf727e60e2ebd282728437a7",
"size": "1... |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>JK.Common Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="JK.Common Documentation ">
<m... | {
"content_hash": "b4e02ee16a0bca28763352c77313a195",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 432,
"avg_line_length": 41.98795180722892,
"alnum_prop": 0.6035389765662362,
"repo_name": "digital-lagniappe/DL.Common",
"id": "6153895ec4fe72a4c1332b4e201e9b7eaa4beea0",
... |
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>KNX - Log</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js... | {
"content_hash": "e3cdf9f2d97d6fcad3a3d6168985d1e3",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 93,
"avg_line_length": 30.012820512820515,
"alnum_prop": 0.5296881674498077,
"repo_name": "heia-fr/wot_gateways",
"id": "b95924657a20598b665c6a4f18c7f0a848190965",
"size": ... |
<?php
namespace app;
use alkemann\h2l\{ Request, Response, Router, Log };
use alkemann\h2l\exceptions\InvalidUrl;
use alkemann\h2l\util\Http;
use alkemann\jsonapi\exceptions\InvalidRequestContainer;
use alkemann\jsonapi\response\{Result, Error};
use alkemann\jsonapi\Controller;
use app\People;
class Api extends Cont... | {
"content_hash": "9f1698be2b5bdb15b7290ee99ee705a7",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 80,
"avg_line_length": 31.758064516129032,
"alnum_prop": 0.5403758252920264,
"repo_name": "alkemann/jsonapi",
"id": "2f8b451ef4ef40bcf85cff3e1a591aaabc4c3842",
"size": "196... |
{% extends "blogs/base.html" %}
{% block ext_head %}
<title>易先生的世界</title>
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="/static/bootstrap/css/bootstrap.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
padding-... | {
"content_hash": "8767e532edf74eb40f3e127eaac4db49",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 117,
"avg_line_length": 34.41379310344828,
"alnum_prop": 0.6117234468937875,
"repo_name": "yijingping/django-blogs",
"id": "a7aeb84c9d01744db7463cf2fede24f761eb2a36",
"size... |
<div class="pagination-container">
<ul>
<li class="prev-btn" (click)="onPreviousClick()"><a href="#"><</a></li>
<li><input name="pages" [(ngModel)]="page" (change)="onPageChange($event)"><span>  /  {{noOfPages}}</span></li>
<li class="next-btn" (click)="onNextClick()"><a href="#... | {
"content_hash": "37be8ad9ea4dc3db959db9675ae1cf25",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 139,
"avg_line_length": 50.142857142857146,
"alnum_prop": 0.584045584045584,
"repo_name": "sanuradhag/angular-switchable-grid",
"id": "ce90e64f24b4e6381e0796b7ed0bd1161f91a6fd... |
import { addType } from 'src/util/typerenderer';
const status = {
100: {
description: 'Order to confirm',
color: 'orange'
},
200: {
description: 'Product to order',
color: 'lightblue'
},
300: {
description: 'Product ordered',
color: 'lightblue'
},
400: {
description: 'Product ... | {
"content_hash": "470368322361024a62b84bc0099c0df5",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 61,
"avg_line_length": 20.08823529411765,
"alnum_prop": 0.6332357247437774,
"repo_name": "cheminfo-js/visualizer-helper",
"id": "70af2c3c1099d4d57c74defb173db46f2035c1aa",
... |
http_path = "/"
css_dir = ""
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
# You can select your preferred output style here (can be overridden via the command line):
output_style = :compressed
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
# To d... | {
"content_hash": "963b188774ee233eafe0733f21359c28",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 96,
"avg_line_length": 33.23809523809524,
"alnum_prop": 0.7320916905444126,
"repo_name": "fmitchell/d8apifuncnyccamp2014",
"id": "b434946b07990ce53b3f3dfb243bbbf3a0f0c949",
... |
window.GM_Log = function(message)
{
return UpgradrShell.Log(message);
}
window.GM_SetValue = function(key, value)
{
return UpgradrShell.SetValue(key, value);
}
window.GM_GetValue = function(key, defaultValue)
{
if (!UpgradrShell.HasValue(key)) return defaultValue;
return UpgradrShell.GetV... | {
"content_hash": "76efc9ace7960385c52741cfa78f7aa0",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 55,
"avg_line_length": 20.8125,
"alnum_prop": 0.6936936936936937,
"repo_name": "darwin/upgradr",
"id": "041738cd7d4bacf0070b0eecd49b80c44ffac3e0",
"size": "508",
"binary"... |
module Azure::ServiceFabric::V6_4_0_36
module Models
#
# Information about service package deployed on a Service Fabric node.
#
class DeployedServicePackageInfo
include MsRestAzure
# @return [String] The name of the service package as specified in the
# service manifest.
attr... | {
"content_hash": "258f39cff86a617d62b8a10d39ae3b63",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 78,
"avg_line_length": 31.511904761904763,
"alnum_prop": 0.5323007177937288,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "97bec42407fef4432b4d00120c789b781083e14e",
"siz... |
<?php
// No direct access
defined('_HZEXEC_') or die();
/**
* Helper class for reviews
*/
class PlgPublicationsReviewsHelper extends \Hubzero\Base\Obj
{
/**
* Execute an action
*
* @return void
*/
public function execute()
{
// Incoming action
$action = Request::getString('action', '');
$this->l... | {
"content_hash": "5c03555c8e64c268c982cce1de2cfa1c",
"timestamp": "",
"source": "github",
"line_count": 465,
"max_line_length": 129,
"avg_line_length": 22.974193548387095,
"alnum_prop": 0.5964616680707666,
"repo_name": "zooley/hubzero-cms",
"id": "5bb1175d20a77b2e3b16010a85580f82b74f2bb4",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra">
<info organisation="default"
module="fpps-week04-assign01-build"
revision="0.1-SNAPSHOT"
status="integration"
publication="20170106145812"
e:sbtVersion="0.13" e:scalaVersion="2.10"
>
<description>
... | {
"content_hash": "f57a6cb39fc8f150c33226748759e34c",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 157,
"avg_line_length": 62.25,
"alnum_prop": 0.7111780455153949,
"repo_name": "juliocnsouzadev/scala_datascience",
"id": "621b9aab21607ff05c5669277e3bcec6cea564e8",
"size":... |
package org.antlr.intellij.plugin.profiler;
import com.intellij.openapi.editor.CaretModel;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.ScrollType;
import com.intellij.openapi.editor.ScrollingModel;
import com.intellij.openapi.editor.event.EditorMouseEvent;
import com.intellij.openapi.... | {
"content_hash": "77ad70b9027ea9aa1e4aa2ff922a1200",
"timestamp": "",
"source": "github",
"line_count": 552,
"max_line_length": 310,
"avg_line_length": 46.130434782608695,
"alnum_prop": 0.7604853911404336,
"repo_name": "rojaster/intellij-plugin-v4",
"id": "a7cc56a98ed06262c87dcc81ce040466f2d9781f",
... |
#ifndef MAP_AREA_HPP
#define MAP_AREA_HPP
#include <SFML/System.hpp>
#include <SFML/Graphics.hpp>
/* regroupe the tile of a common zone */
/* T is a tile class */
#define MAP_AREA_SIZE 8//2 4 8 16 32 64 128
namespace map
{
template<class T> class AreaManager;
template<class T> class AreaLoader;
templ... | {
"content_hash": "8bc85dbe31e5f87b689d56b425f861de",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 100,
"avg_line_length": 25.471698113207548,
"alnum_prop": 0.562962962962963,
"repo_name": "Krozark/2D-infinite-map",
"id": "2d01d71f8b915bce5f0104f560f41949434e09a0",
"size... |
<Type Name="TempFileMFDStream" FullName="Manos.Server.TempFileMFDStream">
<TypeSignature Language="C#" Value="public class TempFileMFDStream : Manos.Server.IMFDStream" />
<AssemblyInfo>
<AssemblyName>Manos</AssemblyName>
<AssemblyVersion>0.0.4.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName... | {
"content_hash": "edf916e3f6180ae654d55a8f1cc09975",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 129,
"avg_line_length": 35.08181818181818,
"alnum_prop": 0.6284011401917595,
"repo_name": "jacksonh/manos",
"id": "a9c041d2885af3169ff567309297925d326dd4ad",
"size": "3859... |
#ifndef __PYX_HAVE__lxml__etree
#define __PYX_HAVE__lxml__etree
struct LxmlDocument;
struct LxmlElement;
struct LxmlElementTree;
struct LxmlElementTagMatcher;
struct LxmlElementIterator;
struct LxmlElementBase;
struct LxmlElementClassLookup;
struct LxmlFallbackElementClassLookup;
/* "/home/stefan/source/Python/lxml/l... | {
"content_hash": "baeb133379685af1f6cd7a8c0e685570",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 153,
"avg_line_length": 44.009389671361504,
"alnum_prop": 0.6992745892895242,
"repo_name": "neumerance/cloudloon2",
"id": "40b01b6c5bebf3b9a30f975b69a11e94675d3bbc",
"size... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>钱国正博客</title>
<link>http://example.org/</link>
<description>Recent content on 钱国正博客</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</languag... | {
"content_hash": "46b1d6c8bb085981ceaba11de3140258",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 91,
"avg_line_length": 36.583333333333336,
"alnum_prop": 0.6514806378132119,
"repo_name": "qianguozheng/qianguozheng.github.io",
"id": "e0b31ffd9654673c23d3b74fe8271b5c21f8bf... |
// Import the bullshit module
var bs = require('nabg');
// Import the Twitter API module - see https://www.npmjs.com/package/twitter
var Twitter = require('twit');
// Import the Cron module for post scheduling.
var cron = require('cron').CronJob;
// HTTP server module to serve profile page redirect
var http = require('... | {
"content_hash": "39325a71e4e9e4315e1becccbfeb1a35",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 150,
"avg_line_length": 37.308724832214764,
"alnum_prop": 0.6337470768123763,
"repo_name": "ctrezevant/new-age-bs-bot",
"id": "22d78695db9b2e98bcab22214184cfe257610c50",
"... |
package supermarket.model.checkout;
import java.math.BigDecimal;
import java.util.List;
public class Receipt {
private List<BookingLine> bookings;
private List<TaxLine> taxLines;
private BigDecimal total;
public List<BookingLine> getBookings() {
return bookings;
}
public void setBookings(List<BookingLine> b... | {
"content_hash": "ae97a15f5010482283b05f98647909e8",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 54,
"avg_line_length": 18.470588235294116,
"alnum_prop": 0.7372611464968153,
"repo_name": "paulroho/SupermarketKata",
"id": "6905495388190d79b369a4cdab005f1e38b439b4",
"siz... |
module PrestaShop
class Contact < Model
resource :contacts
end
end | {
"content_hash": "0036be710e11325dbb147ec572621bf0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 26,
"avg_line_length": 12,
"alnum_prop": 0.6547619047619048,
"repo_name": "iaintshine/presta_shop",
"id": "81f23cdfee2d1bfc05e64d614fd65a9130e995c7",
"size": "84",
"binary... |
<?php
namespace Cerad\Bundle\GameBundle\Tests\EntityRepository;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class ProjectRepositoryTest extends WebTestCase
{
protected $managerId = 'cerad.project.repository';
public function testService()
{
$client = static::createClient();
... | {
"content_hash": "cf4da8a6dc269beeeb69e62aea9a842c",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 111,
"avg_line_length": 32.13157894736842,
"alnum_prop": 0.5809445809445809,
"repo_name": "cerad/cerad",
"id": "ad8eee5ce21a0fa9344b603d36f9c16506d9db9e",
"size": "3663",
... |
/* MACHINE GENERATED FILE, DO NOT EDIT */
#include <jni.h>
#include "extgl.h"
typedef void (APIENTRY *glDrawElementsBaseVertexPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid * indices, GLint basevertex);
typedef void (APIENTRY *glDrawRangeElementsBaseVertexPROC) (GLenum mode, GLuint start, GLuint e... | {
"content_hash": "65e85dd087db512b5b8c0151c826b213",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 243,
"avg_line_length": 72.74452554744525,
"alnum_prop": 0.793096528195866,
"repo_name": "mk12/mycraft",
"id": "0b5c20f62f570a65d6f18a799a7cc9788d6adeb6",
"size": "9966",
... |
package dk.statsbiblioteket.doms.transformers.fileenricher;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URISyntaxException;
import static org.hamcrest.CoreMatchers.is;
import stati... | {
"content_hash": "e9e4079e32b02c183ac3b5c77c9f0b3a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 126,
"avg_line_length": 28.194444444444443,
"alnum_prop": 0.6758620689655173,
"repo_name": "statsbiblioteket/doms-transformers",
"id": "9e8a0de96235f2af7ac840d30c61ba1b46cdfc... |
'''
Clipboard Gtk3: an implementation of the Clipboard using Gtk3.
'''
__all__ = ('ClipboardGtk3',)
from kivy.utils import platform
from kivy.support import install_gobject_iteration
from kivy.core.clipboard import ClipboardBase
if platform != 'linux':
raise SystemError('unsupported platform for gtk3 clipboard')... | {
"content_hash": "4107dbb2447fb6e25252963072b0c7e7",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 64,
"avg_line_length": 26.6,
"alnum_prop": 0.6265664160401002,
"repo_name": "el-ethan/kivy",
"id": "ce53a3d1b974bc971adda77832c3a46728650d4b",
"size": "1197",
"binary": f... |
title: graduation
---
{% include authoring/image.html
image_path = "assets/collections/photography/preview/graduation.jpeg"
link = "assets/collections/photography/full-res/graduation.jpeg"
caption = "The Grand County High School Class of 2020 graduated in [an unusual ceremony](https://www.moabtimes.co... | {
"content_hash": "5566fd81e000777f1a667adab542248f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 179,
"avg_line_length": 53.416666666666664,
"alnum_prop": 0.7410296411856474,
"repo_name": "CarterPape/CarterPape.github.io",
"id": "96d0e6fe85ab332f375c313756b82d6ceb7be569"... |
<?php
namespace yii\log;
use Yii;
use yii\base\InvalidConfigException;
use yii\di\Instance;
use yii\mail\MailerInterface;
/**
* EmailTarget sends selected log messages to the specified email addresses.
*
* You may configure the email to be sent by setting the [[message]] property, through which
* you can set th... | {
"content_hash": "2066a3ea43d0b4c19ddb844084fe4ec5",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 112,
"avg_line_length": 31.432989690721648,
"alnum_prop": 0.5746146277468023,
"repo_name": "meishichao/yii2test",
"id": "0e2b1b8a9044d038515bbf195a5c6edab12ad492",
"size": ... |
/* Override widget.css */
.top-bar.expanded {
width: 100%;
}
/* Alerts */
.alert.alert-error,
.alert.alert-info,
.alert.alert-warning,
.alert.alert-success {
border: 1px solid #b2b2b2;
box-shadow: 0 1px 1px #aaaaa7;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
padding: 8px 35px 8px 14px;
po... | {
"content_hash": "4f22cc4db0964e070b89cabc0639b4d7",
"timestamp": "",
"source": "github",
"line_count": 664,
"max_line_length": 141,
"avg_line_length": 19.329819277108435,
"alnum_prop": 0.6782236073237242,
"repo_name": "julianprabhakar/eden_car",
"id": "6bb21c62d6ba034ad829192e3d83ea989c248d44",
"s... |
package model
import (
"fmt"
"time"
"github.com/insionng/zenpress/helper"
"github.com/casbin/casbin"
)
// User 用户基本信息表。存放系统所有用户基本信息。
type User struct {
ID uint64 `gorm:"primary_key"`
Token string //`orm:"unique"`
UserLogin string `gorm:"not null default '' index VA... | {
"content_hash": "8cb44093a2f7f8b874b9ec585dbecd9a",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 103,
"avg_line_length": 27.393939393939394,
"alnum_prop": 0.6754424778761062,
"repo_name": "insionng/zenpress",
"id": "f633eb2813565f45228bebde62082a7ec761bd62",
"size": "... |
interface CssExports {
'entry': string;
'filterView': string;
'search': string;
'separator': string;
}
export const cssExports: CssExports;
export default cssExports;
| {
"content_hash": "931cb659353d9c04cd83f4c3dfcff5d8",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 36,
"avg_line_length": 21.875,
"alnum_prop": 0.7257142857142858,
"repo_name": "DestinyItemManager/DIM",
"id": "1b309cc040fd29e468fafe1b41ba91e40c5ad846",
"size": "251",
"b... |
import { Path } from 'slate'
export const input = {
path: [0, 1, 2],
another: [1],
}
export const test = ({ path, another }) => {
return Path.isChild(path, another)
}
export const output = false
| {
"content_hash": "4f25aeda4efe692a114cc7517d463841",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 44,
"avg_line_length": 20.2,
"alnum_prop": 0.6237623762376238,
"repo_name": "ianstormtaylor/slate",
"id": "0960d6612401f96363d5b4665d1f6166c8182689",
"size": "202",
"bina... |
package main
import (
"encoding/json"
"github.com/garyburd/redigo/redis"
"log"
"time"
)
var ErrCacheNotFound = redis.ErrNil
type Cache interface {
Set(string, interface{}) error
Get(string, interface{}) error
Del(string) error
Init() error
}
type RedisCache struct {
Prefix string `json:"prefix"`
Host st... | {
"content_hash": "3b93221289cbfe5637df907a353c0fcf",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 67,
"avg_line_length": 18.958904109589042,
"alnum_prop": 0.634393063583815,
"repo_name": "hyperboloide/fe",
"id": "e8ad2aa43f9af87726b2586a480f84921783aa7c",
"size": "1605"... |
\hypertarget{classIir_1_1LowPassTransform}{}\doxysubsection{Iir\+::Low\+Pass\+Transform Class Reference}
\label{classIir_1_1LowPassTransform}\index{Iir::LowPassTransform@{Iir::LowPassTransform}}
{\ttfamily \#include $<$Pole\+Filter.\+h$>$}
\doxysubsubsection{Detailed Description}
s-\/plane to z-\/plane transforms
... | {
"content_hash": "5954fe216ea052e734028313f507f8b0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 326,
"avg_line_length": 48.88235294117647,
"alnum_prop": 0.779783393501805,
"repo_name": "berndporr/iir1",
"id": "50a748bf676629623bfb8fa798664fa716f8d8ff",
"size": "831",
... |
#include "StackedSet.h"
#include "OverlayItemInternal.h"
#include "MapProjection.h"
#include "OverlayItemZoomSpec.h"
#include "OverlayViewLayerInterface.h"
#include "OverlayItemVisualSpec.h"
#include "ImageSpec.h"
#include "PrecisionScalingConstants.h"
#include "OverlayItemUtil.h"
#include "MapProjectionAdapter.h"
... | {
"content_hash": "889b8af98b42ace9581192dcc8bf286c",
"timestamp": "",
"source": "github",
"line_count": 488,
"max_line_length": 78,
"avg_line_length": 29.868852459016395,
"alnum_prop": 0.6208836443468716,
"repo_name": "wayfinder/Wayfinder-CppCore-v2",
"id": "45549cdf258530de0b68ff87786d003d632fea36",... |
"""
Maximum cardinality matching in general graphs.
This module implements the general matching algorithm given in "The General
Maximum Matching Algorithm of Micali and Vazirani" by Paul A. Peterson and
Michael C. Loui, Algorithmica, 1988.
Many terms used in the code comments are explained in the paper by... | {
"content_hash": "bc9bfed16d142bd439f98a724bfcc0d1",
"timestamp": "",
"source": "github",
"line_count": 702,
"max_line_length": 123,
"avg_line_length": 38.13247863247863,
"alnum_prop": 0.5050244686017408,
"repo_name": "AlexanderSoloviev/mv-matching",
"id": "b41e3290386625dea1cf5827618413c1ca75606f",
... |
<?php
namespace VerticalResponse\Client;
use Psr\Http\Message\ResponseInterface;
class HttpException extends Exception
{
/**
* HttpException constructor.
* @param ResponseInterface $response
* @param Exception|null $previous
*/
public function __construct(ResponseInterface $response, E... | {
"content_hash": "f5187443f6e511c65ee1db91e01a31a6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 88,
"avg_line_length": 28.157894736842106,
"alnum_prop": 0.685981308411215,
"repo_name": "navarr/verticalresponse",
"id": "1c513d2f678b6e3541bb47883b9b1a2fe1ba49d0",
"size"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "62918ca33437ddf51df4c163a9f4481a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "03e242c168fb6fe01f7da935dca54f7f9cde5647",
"size": "171... |
import {
SchematicTestRunner,
UnitTestTree,
} from '@angular-devkit/schematics/testing';
import { getFileContent } from '@schematics/angular/utility/test';
import * as path from 'path';
import { Schema as StoreDevtoolsOptions } from './schema';
import {
getTestProjectPath,
createWorkspace,
} from '@ngrx/schemat... | {
"content_hash": "eecd7f8100adecb42dd077ac3fac4bba",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 89,
"avg_line_length": 30.886524822695037,
"alnum_prop": 0.6473019517795637,
"repo_name": "brandonroberts/platform",
"id": "5f6c1c3b56cab423322b408504be8f105c34de6c",
"siz... |
/*
* MinIO Cloud Storage, (C) 2019-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
*
* Unless required by applicab... | {
"content_hash": "a78cd9c2f7d14733492ec7bcb36ccc5d",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 139,
"avg_line_length": 27.65573770491803,
"alnum_prop": 0.6953171310017783,
"repo_name": "fwessels/minio",
"id": "0f6ff9c610c4b8fd49df04760ef641dcee2d0083",
"size": "5061... |
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef MediaKeySystemMediaCapability_h
#define MediaKeySystemMediaCapability_h
#include "modules/ModulesExport.h"
#include "platform/heap/Handle.h"
#include "wtf/text/WTFString.h"
namespace blink {
class MODULES_EXPORT MediaK... | {
"content_hash": "2a0d7398d625e55131b9de4dec18536b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 76,
"avg_line_length": 28.054054054054053,
"alnum_prop": 0.7138728323699421,
"repo_name": "weolar/miniblink49",
"id": "1fd792adedde4b91fc105f23bb6a2840eb7840a0",
"size": "1... |
package net.orange_box.storebox.example.proguard;
import net.orange_box.storebox.annotations.method.ClearMethod;
import net.orange_box.storebox.annotations.method.DefaultValue;
import net.orange_box.storebox.annotations.method.KeyByResource;
import net.orange_box.storebox.annotations.method.KeyByString;
import net.ora... | {
"content_hash": "ed2bcb8d50d729b4ca07361383ffb6f8",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 81,
"avg_line_length": 36.09375,
"alnum_prop": 0.7948051948051948,
"repo_name": "martino2k6/StoreBox",
"id": "f83d9a91d5ae8636d0acbeba6c53a8e330847d2c",
"size": "1155",
"... |
Refactor a tree building algorithm.
Some web-forums have a tree layout, so posts are presented as a tree. However
the posts are typically stored in a database as an unsorted set of records. Thus
when presenting the posts to the user the tree structure has to be
reconstructed.
Your job will be to refactor a working bu... | {
"content_hash": "2a22dc51ecc5db0912d09fc93c0d7fed",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 110,
"avg_line_length": 37.108695652173914,
"alnum_prop": 0.7445811364967779,
"repo_name": "robphoenix/exercism-go",
"id": "65e6229e8b6c2d91e0046e10625aacbc8f3bcdb4",
"size... |
<?xml version='1.0' encoding='UTF-8'?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Description of Free Library of Philadelphia, Lewis T277: Grant</title>
<respStmt>
<resp>contributor</resp>
<persName>David Kalish</persName>
... | {
"content_hash": "7caf494b7c9e29c06de1ea7de6ea8cb7",
"timestamp": "",
"source": "github",
"line_count": 760,
"max_line_length": 506,
"avg_line_length": 37.86578947368421,
"alnum_prop": 0.49655987212453956,
"repo_name": "leoba/VisColl",
"id": "8f5aa3aebd8657011b06aafd241e70987bbb3f72",
"size": "2877... |
package ec;
/*
* Group.java
*
* Created: Tue Aug 10 20:49:45 1999
* By: Sean Luke
*/
/**
* Groups are used for populations and subpopulations. They are slightly
* different from Prototypes in a few important ways.
*
* A Group instance typically is set up with setup(...) and then <i>used</i>
* (unlike ... | {
"content_hash": "1c084c7f4072deb77fb6fd9f8692d592",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 76,
"avg_line_length": 27.75609756097561,
"alnum_prop": 0.6810193321616872,
"repo_name": "vaisaghvt/gameAnalyzer",
"id": "9426ccf2658f0e23bfda67143237a19bf5587e20",
"size":... |
/* tslint:disable:no-unused-variable */
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { DebugElement } from '@angular/core';
import { LandingComponent } from './landing.component';
describe('LandingComponent', () => {
let component: ... | {
"content_hash": "56f0698a155615c184f720accd11f689",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 73,
"avg_line_length": 28.357142857142858,
"alnum_prop": 0.6599496221662469,
"repo_name": "ShamanisTe/samples-angular2",
"id": "b022e9b3062e85567d4e507c7db2387be1d7f222",
"... |
package action
import (
"testing"
"github.com/stretchr/testify/assert"
"helm.sh/helm/v3/pkg/release"
"helm.sh/helm/v3/pkg/storage"
)
func TestListStates(t *testing.T) {
for input, expect := range map[string]ListStates{
"deployed": ListDeployed,
"uninstalled": ListUninstalled,
"uninst... | {
"content_hash": "40246cbe862cec1a132cfca0a97e261d",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 86,
"avg_line_length": 24.80225988700565,
"alnum_prop": 0.6780182232346241,
"repo_name": "bacongobbler/helm",
"id": "73009d52341dbadb59801db2b51ac054a172bb12",
"size": "93... |
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2021. Adventech <info@adventech.io>
~
~ 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 witho... | {
"content_hash": "40ae017c7cf4eddd76434dbd1161a345",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 81,
"avg_line_length": 33.482142857142854,
"alnum_prop": 0.6188444444444444,
"repo_name": "Adventech/sabbath-school-android-2",
"id": "d3a7b2a0f1bf974c416288473e381a98e5d415... |
// Copyright (C) 2012 The Android Open Source Project
//
// 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 ... | {
"content_hash": "bfcd81f2b5432113742f869c34c04904",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 100,
"avg_line_length": 34.43142144638404,
"alnum_prop": 0.6925472586369233,
"repo_name": "WANdisco/gerrit",
"id": "02be8c763990effb11b40850d7918ccfbb0c80d1",
"size": "138... |
/*
* 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": "91942b6897520931ccf3b81a2f3e951b",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 136,
"avg_line_length": 31.216216216216218,
"alnum_prop": 0.670995670995671,
"repo_name": "youngwookim/presto",
"id": "adc1d7c442f3bbf7904b2c897bf76da533243546",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5b870aaf604761acb5fb168df00fe6f9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "29ed7e07260bbe1cc8cbdd7c2f2948417c61bdf9",
"size": "177... |
// ==========================================================================
// SeqAn - The Library for Sequence Analysis
// ==========================================================================
// Copyright (c) 2006-2016, Knut Reinert, FU Berlin
// All rights reserved.
//
// Redistribution and us... | {
"content_hash": "5e2b0e6590d5a5f7c7e55776292b4ccc",
"timestamp": "",
"source": "github",
"line_count": 794,
"max_line_length": 247,
"avg_line_length": 47.65491183879093,
"alnum_prop": 0.596384586923199,
"repo_name": "bestrauc/seqan",
"id": "c970e74a23879398d16ec47dc06d776075f087d7",
"size": "37838... |
package etcd
import (
"testing"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/rest/resttest"
"k8s.io/kubernetes/pkg/api/testapi"
"k8s.io/kubernetes/pkg/registry/registrytest"
"k8s.io/kubernetes/pkg/runtime"
"k8s.io/kubernetes/pkg/tools"
"k8s.io/kubernetes/pkg/tools/etcdtest"
"k8s.io/kubernetes/pkg... | {
"content_hash": "fb7170c00ad9eed55f0705470dd89cf3",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 88,
"avg_line_length": 27.622340425531913,
"alnum_prop": 0.699210475640285,
"repo_name": "cgvarela/kubernetes",
"id": "cd446a9c0e160b384f4728d7a3c40fc119dbd49a",
"size": "... |
( function ( w, d ) {
'use strict';
w.chrome = ( ( typeof browser != 'undefined' ) && browser.runtime ) ? browser : chrome;
var SCRIPT_NAME = 'twMediaDownloader',
DEBUG = false,
MANIFEST_VERSION = chrome.runtime.getManifest().manifest_version,
CONTENT_TAB_INFOS = {};
/*
//if ( 2 < MANIFEST_VERSION ) {
/... | {
"content_hash": "626547b1ba39490dcfa1162b64a75827",
"timestamp": "",
"source": "github",
"line_count": 451,
"max_line_length": 161,
"avg_line_length": 34.629711751662974,
"alnum_prop": 0.47253169419900115,
"repo_name": "furyutei/twMediaDownloader",
"id": "d28ca3fd9a05d2b983b192dc7b213336fd9bbe8a",
... |
<h3>Hours of Umbraco training videos are only a click away</h3>
<p>Want to master Umbraco? Spend a couple of minutes learning some best practices by watching one of these videos about using Umbraco, then visit <a class="btn-link -underline" href="http://umbraco.tv" target="_blank">umbraco.tv</a> for even more Umbraco ... | {
"content_hash": "6c1e29870ab7289bbe1afcf42ce36371",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 267,
"avg_line_length": 55.388888888888886,
"alnum_prop": 0.6328986960882648,
"repo_name": "Mivaweb/Notely",
"id": "ad56db111a4d5c4b6c4c4f0553b0a3e361db744f",
"size": "997"... |
<!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_17) on Mon Dec 02 20:33:05 CET 2013 -->
<title>Uses of Interface org.lwjgl.opengl.GLUConstants (LWJGL API)</title>
<meta name="date" co... | {
"content_hash": "0f1600074b9a987a254acdaff3a324f0",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 129,
"avg_line_length": 35.974137931034484,
"alnum_prop": 0.6149053438773064,
"repo_name": "Craigspaz/Flying-Ferris-Wheel-Engine",
"id": "0fa7efe50bc21b504bee502186fcb57dc3d... |
from django.http import HttpResponse
def home(request):
return HttpResponse("Hello world!") | {
"content_hash": "1c1101cef2585ad5b91a7eaf6dc51825",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 39,
"avg_line_length": 19.4,
"alnum_prop": 0.7628865979381443,
"repo_name": "alex/tracebin",
"id": "1b5680c8b2dd626a52a534a3bb5cdc8a50867e8d",
"size": "97",
"binary": fals... |
#ifndef LTP_H
#define LTP_H
#include "coder.h"
void LtpInit(faacEncHandle hEncoder);
void LtpEnd(faacEncHandle hEncoder);
int LtpEncode(faacEncHandle hEncoder,
CoderInfo *coderInfo,
LtpInfo *ltpInfo,
TnsInfo *tnsInfo,
double *p_spectrum,
... | {
"content_hash": "71f7489c9cfafeb1f82a0bbe01c17747",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 80,
"avg_line_length": 25.391304347826086,
"alnum_prop": 0.6318493150684932,
"repo_name": "PeterXu/livepusher",
"id": "76fc1be93c508b019ce3e85c1d938180e05d1f0d",
"size": "1... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#ifndef __GCCOVER_H__
#define __GCCOVER_H__
#ifdef HAVE_GCCOVER
/***********************************************... | {
"content_hash": "e47f2999e8b08518e2e2944a281514c2",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 127,
"avg_line_length": 35.467032967032964,
"alnum_prop": 0.6523625096824167,
"repo_name": "wtgodbe/coreclr",
"id": "42b093f4cea3acce217ac2a8a94bbf63bf87208f",
"size": "64... |
<html>
<head>
<title>GB18030 lead 823184</title>
<meta http-equiv='content-type' content='text/html;charset=GB18030'>
<link rel='stylesheet' href='tests.css'>
</head>
<body>
<table>
<caption>Four-byte lead 823184</caption>
<tr><th colspan=2>GB18030<th colspan=3>Unicode
<tr><td>=82318430<td> 10 <t... | {
"content_hash": "8d24087efb6167b1ccce4dd2e0c54284",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 408,
"avg_line_length": 96.88,
"alnum_prop": 0.7031379025598679,
"repo_name": "Ms2ger/presto-testo",
"id": "dc0f4c21dd1a1f5227952fc413969b7c15a8f21e",
"size": "2422",
"bi... |
#include "OutMgr.h"
#include <algorithm>
#include <iostream>
#include <cassert>
#include "AudioOut.h"
#include "Engine.h"
#include "EngineMgr.h"
#include "InMgr.h"
#include "WavEngine.h"
#include "../Misc/Util.h" //for interpolate()
using namespace std;
OutMgr &OutMgr::getInstance()
{
static OutMgr instance;
... | {
"content_hash": "5fa1194ab56b3118bf569f5ac220f2b7",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 96,
"avg_line_length": 25.05699481865285,
"alnum_prop": 0.5913978494623656,
"repo_name": "wtrsltnk/libzynth",
"id": "8e29d120df487af66939f551ec7a508c8545eed9",
"size": "48... |
craftEd.controller('OldLikeController', ['$scope', '$http', '$location', '$state', function($scope, $http, $location, $state){
var config = {
headers: {
'content-type': 'application/json'
}
};
var tokens = {
headers: {
"access-token": window.sessionStorage.token,
"token-type": "Bea... | {
"content_hash": "d57fdc641de43ebf64fb8a9cc52fd107",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 126,
"avg_line_length": 26.857142857142858,
"alnum_prop": 0.6170212765957447,
"repo_name": "TallOrderDev/HowToTrainYourPalateFrontEnd",
"id": "f8453f5bf9f5344583101b324de714f... |
all: ethereum-base ethereum-node ethereum-bootnode ethereum-netstats
nodes: ethereum-node ethereum-bootnode
ethereum-base:
docker build -t ethereum-base base
docker tag ethereum-base enettet/ethereum-base
ethereum-node: ethereum-base
docker build -t ethereum-node node
docker tag ethereum-node enettet/ethereum-node
... | {
"content_hash": "08cd314c99bd85c3673565a5e7be6436",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 68,
"avg_line_length": 41.77272727272727,
"alnum_prop": 0.8324265505984766,
"repo_name": "e-nettet/CustomerConsentEthereum",
"id": "060dd44bb6c0e22ab694669ccc19f9fcc980a83b",... |
.. _config_http_filters:
HTTP filters
============
.. toctree::
:maxdepth: 2
buffer_filter
cors_filter
fault_filter
dynamodb_filter
grpc_http1_bridge_filter
grpc_json_transcoder_filter
grpc_web_filter
health_check_filter
rate_limit_filter
router_filter
lua_filter
| {
"content_hash": "480eadd912a38bd903bb8e4abccb1739",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 29,
"avg_line_length": 15.31578947368421,
"alnum_prop": 0.6941580756013745,
"repo_name": "rshriram/envoy-api",
"id": "3469bd8d6a4a45b7870646db749c734ac9442c87",
"size": "29... |
# Serialization guide
## JSON serialization
In most cases, this library uses `indexedDB` storage, which allows any value type.
But in special cases (like in Firefox private mode,
see the [browser support guide](./BROWSERS_SUPPORT.md) for details),
the library will fall back to `localStorage`, where JSON serialization... | {
"content_hash": "2527878b8489c82a9ab415c2c6548b02",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 103,
"avg_line_length": 26.233333333333334,
"alnum_prop": 0.662007623888183,
"repo_name": "cyrilletuzi/angular2-async-local-storage",
"id": "fe70290b9596cf3ce09bf9b8467af13dc... |
package com.weygo.common.base;
/**
* Created by muma on 2016/11/29.
*/
public class JHResponse extends JHObject {
public boolean reLogin() {
return false;
}
}
| {
"content_hash": "b35c3bd910cb2eccfe2c70296578f147",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 42,
"avg_line_length": 16.272727272727273,
"alnum_prop": 0.6424581005586593,
"repo_name": "mumabinggan/WeygoPhone",
"id": "46e5c1f04ee276ea49f7e4dbe9161fad5c3d60b6",
"size"... |
FROM dockerhubtrial/base5
RUN mkdir -p /opt/app && cd /opt/app && git init && git pull https://github.com/arun-sfdc/Analytics-API.git
WORKDIR /opt/app/MassEmail
RUN cd src/ && npm install
EXPOSE 443
CMD service nginx start && nodejs ./src/index.js
| {
"content_hash": "1cb5cbe243f3fd25c058a0941eaa9488",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 107,
"avg_line_length": 41.5,
"alnum_prop": 0.7309236947791165,
"repo_name": "geeljire/Analytics-API",
"id": "8624fd727c0479d35ef494d34cba559cf284fcd8",
"size": "249",
"bi... |
var express = require('express');
var router = express.Router();
var session = require('../modules/sessions/sessionUtils');
var userUtils = require('../modules/auth/userUtils');
/* GET home page. */
router.route('/').get(function (req, res) {
userUtils.logOutUser(session, req, function(err){
res.redirect(... | {
"content_hash": "b809919176038531f63aa0f4d5ab7db6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 26.285714285714285,
"alnum_prop": 0.6603260869565217,
"repo_name": "rockdragon/cloud-drive",
"id": "49093f6576c44320974c26e1347f1e7dccb02a86",
"size"... |
package com.google.common.collect;
import static com.google.common.base.Preconditions.checkNotNull;
import com.google.common.annotations.GwtCompatible;
import java.io.Serializable;
import java.util.Iterator;
/** An ordering that uses the reverse of the natural order of the values. */
@GwtCompatible(serializable = ... | {
"content_hash": "2b9189702a60d35e2644ad5ff6f93782",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 93,
"avg_line_length": 26.517241379310345,
"alnum_prop": 0.7069787602947551,
"repo_name": "EdwardLee03/guava",
"id": "612d846a772752c81547683876544c5e9cbc768e",
"size": "29... |
package codingbo.fishdaily.data.source.local;
import android.support.test.InstrumentationRegistry;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.ArrayList;
import java.util.List;
import codingbo.fishdaily.data.entity.Daily;
import codingbo.fishdaily.data.entity.Task;
impor... | {
"content_hash": "693e1b4f634e3250a5fbb5b7e040825b",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 109,
"avg_line_length": 25.69924812030075,
"alnum_prop": 0.6021064950263312,
"repo_name": "codingbooo/FishDaily",
"id": "a8a87e66d932f3c94d7ab216c2ae9c36163b2c26",
"size":... |
#import "UIView+WebCache.h"
#import "objc/runtime.h"
#import "UIView+WebCacheOperation.h"
NSString * const SDWebImageInternalSetImageGroupKey = @"internalSetImageGroup";
NSString * const SDWebImageExternalCustomManagerKey = @"externalCustomManager";
const int64_t SDWebImageProgressUnitCountUnknown = 1LL;
static ch... | {
"content_hash": "bf29d507b9546b9a4ec2fe416a55aade",
"timestamp": "",
"source": "github",
"line_count": 360,
"max_line_length": 247,
"avg_line_length": 43.19444444444444,
"alnum_prop": 0.6227009646302251,
"repo_name": "gs01md/ColorfulWoodUIBase",
"id": "112a5e1d612282d79f680a39f7c4a6e178308848",
"s... |
"""
based on a Java version:
Based on original version written in BCPL by Dr Martin Richards
in 1981 at Cambridge University Computer Laboratory, England
and a C++ version derived from a Smalltalk version written by
L Peter Deutsch.
Java version: Copyright (C) 1995 Sun Microsystems, Inc.
Translation from C++, Ma... | {
"content_hash": "32fa503c7bbb28ae534f6b59aac1ecbf",
"timestamp": "",
"source": "github",
"line_count": 423,
"max_line_length": 83,
"avg_line_length": 22.55082742316785,
"alnum_prop": 0.5377922214068561,
"repo_name": "python/performance",
"id": "b9167d1e5574007e89694fc38ac0b19ce25d4fdb",
"size": "9... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
/* This binding is specified se... | {
"content_hash": "1dcb8b1bff474e01b27db25f723bd740",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 99,
"avg_line_length": 45.05555555555556,
"alnum_prop": 0.750924784217016,
"repo_name": "freesamael/npu-moboapp-programming-fall-2015",
"id": "6fc40666d723303db47126d3ea17d9b... |
'''
Functions to start and configure the Flask
application. Loads routes from the routes.py
script.
'''
import flask
from app.classes.ckan import CKAN
from app.routes.users import blueprint_users
from app.routes.queues import blueprint_queues
from app.routes.status import blueprint_status
from app.routes.datasets imp... | {
"content_hash": "a2bb743fc220c53e3e0a687bfa65ee4f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 60,
"avg_line_length": 31.435897435897434,
"alnum_prop": 0.800978792822186,
"repo_name": "luiscape/hdx-monitor-sql-collect",
"id": "6df3da4c0e05f97264ef865d4ac13c3de86668d7",... |
<?php defined('BASEPATH') OR exit('No direct script access allowed.');
// Load the url helper too!
if (!function_exists('url_title')) {
load_class('Loader', 'core')->helper('url');
}
if (!function_exists('clean_file_name')) {
// For UTF-8 encoded sites only.
function clean_file_name($file_name, $separato... | {
"content_hash": "9f340fc11317b2b94c4e7c380a0cbccb",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 113,
"avg_line_length": 27.845849802371543,
"alnum_prop": 0.5053229240596168,
"repo_name": "jaffarsolo/starter-public-edition-4",
"id": "a3f77336c6e4324719dfcb015a6385d64450... |
package org.pico.fp.impl.syntax.toOps
import org.pico.fp.ToOps
trait ToMonadOps extends ToOps
with ToApplicativeOps
with ToBindOps
| {
"content_hash": "33a9f039649cbac6ee227a91c46f55cc",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 37,
"avg_line_length": 20.142857142857142,
"alnum_prop": 0.7872340425531915,
"repo_name": "newhoggy/pico-fp",
"id": "bf308163d713ab6e3af89cf9a9e26b1367a1fd48",
"size": "141"... |
<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>L4AllPortal</groupId>
<artifactId>L4AllPortal</artifactId>
<ver... | {
"content_hash": "22d58048235e972afe6f4c38fcb725f7",
"timestamp": "",
"source": "github",
"line_count": 307,
"max_line_length": 204,
"avg_line_length": 35.729641693811075,
"alnum_prop": 0.7095450815935819,
"repo_name": "gsalab/L4AllPortal",
"id": "be11ae81484580ec4c9c32a0df4ec70ba9ef712c",
"size": ... |
from __future__ import unicode_literals, absolute_import
import six
from collections import namedtuple
from decimal import Decimal as D
from dateutil.parser import parse
from . import base
from . import stores
from . import devices
Price = namedtuple('Price', ['value', 'currency'])
class Product(base.AppFigureObj... | {
"content_hash": "d465c5a8d9878c4c5c47a768bc2de671",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 76,
"avg_line_length": 29.985507246376812,
"alnum_prop": 0.6075398743354278,
"repo_name": "mobify/python-appfigures",
"id": "e29df54310eb684821c2d1ad4a989720754eb04d",
"si... |
package com.example.jerry.testing.ptr;
public class HeaderState
{
public static final int drag = 0; //正在下拉,且高度处于刷新线之前
public static final int over = 1; //下拉超过刷新线
public static final int release = 2; //从超过刷新线返回到刷新线
public static final int refreshing = 3;//正在刷新线
public static final int finish = 4;//... | {
"content_hash": "0e09ce6a07834c503aec5fbc73088d32",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 56,
"avg_line_length": 36.25,
"alnum_prop": 0.7034482758620689,
"repo_name": "LiuZhangRed/Android-Testing",
"id": "2e83fbe59a918212a94cda9cfd12ed55a66aeb52",
"size": "569",... |
package weixin.popular.support.msg.handle;
import weixin.popular.support.msg.beans.receive.Msg;
import weixin.popular.support.msg.beans.receive.MsgImage;
import weixin.popular.support.msg.beans.receive.MsgLink;
import weixin.popular.support.msg.beans.receive.MsgLocation;
import weixin.popular.support.msg.beans.r... | {
"content_hash": "6cd5be10a63d12ce2fc143e55ac53699",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 62,
"avg_line_length": 20.205882352941178,
"alnum_prop": 0.6557496360989811,
"repo_name": "moyq5/weixin-popular",
"id": "9bf784d7a71eb2a02692c14f4cf24417691dd46d",
"size": ... |
package org.tensorflow.lite;
import java.nio.ByteBuffer;
/**
* Extension of NativeInterpreterWrapper that adds support for experimental methods.
*
* <p><b>WARNING:</b> Resources consumed by the {@code NativeInterpreterWrapperExperimental} object
* must be explicitly freed by invoking the {@link #close()} method... | {
"content_hash": "a445769ed2c475ab3cd75c0ca1e3aeae",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 99,
"avg_line_length": 29.82051282051282,
"alnum_prop": 0.7807394668959587,
"repo_name": "frreiss/tensorflow-fred",
"id": "eccf39ff7f6e20463477ccb1ce3b0d2c4a9f5aaa",
"size"... |
//go:build e2e
// +build e2e
package conformance
import (
"log"
"os"
"testing"
"knative.dev/eventing-kafka/test"
eventingTest "knative.dev/eventing/test"
testlib "knative.dev/eventing/test/lib"
"knative.dev/pkg/system"
"knative.dev/pkg/test/zipkin"
)
var channelTestRunner testlib.ComponentsTestRunner
fun... | {
"content_hash": "094de5df7565f5fc082016deb2f0df1d",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 98,
"avg_line_length": 24.743589743589745,
"alnum_prop": 0.755440414507772,
"repo_name": "knative-sandbox/eventing-kafka-broker",
"id": "2b7c1ca53f141ae3e118dd1846a974796d5f7... |
package org.springframework.cloud.app;
import java.util.Map;
/**
* Information about the application instance.
*
* Except for the instance and application id, everything else is loosely
* defined as a map holding properties to allow each cloud to define in
* whatever way it suits them.
*
* @author Ramnivas... | {
"content_hash": "a2baf91e80325a8821439db648c828ab",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 73,
"avg_line_length": 21.625,
"alnum_prop": 0.6936416184971098,
"repo_name": "spring-cloud/spring-cloud-connectors",
"id": "7bc3d2a339790ad96e070672a8e1a5e36b4c6310",
"siz... |
subdir=src/backend/cdb
top_builddir=../../../..
include $(top_builddir)/src/Makefile.global
TARGETS= cdbdistributedsnapshot
TARGETS += cdbappendonlyxlog
include $(top_srcdir)/src/backend/mock.mk
cdbdistributedsnapshot.t: $(MOCK_DIR)/backend/access/transam/distributedlog_mock.o \
$(MOCK_DIR)/backend/access/hash/has... | {
"content_hash": "ff82436e0df793619f9d17ef75bbbcd2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 84,
"avg_line_length": 31.105263157894736,
"alnum_prop": 0.7445008460236887,
"repo_name": "greenplum-db/gpdb",
"id": "f47af88065f43d328097fbedd74882fa87a63524",
"size": "59... |
layout: post
title: Mr Porter, grooming campaign
img: mrporter-grooming-featured.jpg
---
Grooming is an important category for Mr Porter. I was tasked with producing a shoot that would be used on the Journal and for various marketing uses, showing the breadth of product on offer.
<div><img src="{{ site.baseur... | {
"content_hash": "7a0239565c5a467302e250bcd5aefa7a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 192,
"avg_line_length": 44.6,
"alnum_prop": 0.6995515695067265,
"repo_name": "sampsonpete/jessruiz",
"id": "8b792f8670e13ab8d985ca3aff4f567507882c8d",
"size": "897",
"bin... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2014 Google, 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
Unless requi... | {
"content_hash": "8641772c59cb5993293481bf4161ed09",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 104,
"avg_line_length": 31.36263736263736,
"alnum_prop": 0.6758934828311143,
"repo_name": "MaTriXy/auto",
"id": "8f8eba371ceedb417fc0bb470c660f43bde69abc",
"size": "2854",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.