text stringlengths 2 1.04M | meta dict |
|---|---|
Decimal128: [decq641] fold-down full sequence (Clamped)
--DESCRIPTION--
Generated by scripts/convert-bson-corpus-tests.php
DO NOT EDIT THIS FILE
--FILE--
<?php
require_once __DIR__ . '/../utils/tools.php';
$canonicalBson = hex2bin('1800000013640000A0724E18090000000000000000FE5F00');
$canonicalExtJson = '{"d" : {"$nu... | {
"content_hash": "3259ba4a4500d16ed417c510ae39fb12",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 77,
"avg_line_length": 30.571428571428573,
"alnum_prop": 0.7373831775700934,
"repo_name": "derickr/mongo-php-driver",
"id": "a1d071c102149653a6209d2983ace6bd781d3423",
"siz... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Wed Mar 04 22:48:16 CET 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Package org.optaplanner.e... | {
"content_hash": "491e48007986b15682ab11e704e59368",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 159,
"avg_line_length": 41.88275862068966,
"alnum_prop": 0.6267083813601185,
"repo_name": "jormunmor/doctorado",
"id": "61df4354b2f494e87c97312fed2bbb6c0c20cde7",
"size": ... |
""" This module defines a Python-level wrapper around the C++
AsyncTaskManager interface. It replaces the old full-Python
implementation of the Task system. """
__all__ = ['Task', 'TaskManager',
'cont', 'done', 'again', 'pickup', 'exit',
'sequence', 'loop', 'pause']
from direct.directnotify.Dir... | {
"content_hash": "ea875bfc644620199d5eb6198b68f104",
"timestamp": "",
"source": "github",
"line_count": 1282,
"max_line_length": 117,
"avg_line_length": 38.968798751950075,
"alnum_prop": 0.5783458104808039,
"repo_name": "tobspr/panda3d",
"id": "215b240d16fcf9b688968ba911a3e379d888076b",
"size": "49... |
'use strict';
var bcrypt = require('bcrypt');
exports.genSalt = function genSlat (rounds) {
return function (cb) {
return bcrypt.genSalt(rounds, cb);
}
};
exports.hash = function hash (value, salt) {
return function (cb) {
return bcrypt.hash(value, salt, cb);
}
};
exports.compare = f... | {
"content_hash": "3808b59b1ba5279f6ac705dcdd780a80",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 50,
"avg_line_length": 20.761904761904763,
"alnum_prop": 0.6146788990825688,
"repo_name": "elementron/elementron",
"id": "8e89b976be9888c62e6d69c9619d89d3b464b51a",
"size":... |
FROM docker.io/richarvey/nginx-php-fpm:latest
# Add application artifacts
ADD userguide/. /var/app/userguide/
ADD scripts/* /var/scripts/
# Install the requirements
RUN apk update && \
apk add postgresql-dev && \
docker-php-ext-install pdo pdo_pgsql && \
mkdir /var/app/userguide/data && \
ls -la /var/... | {
"content_hash": "c8a5ada4bb830553ebe8806a25e08401",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 45,
"avg_line_length": 27.842105263157894,
"alnum_prop": 0.6899810964083176,
"repo_name": "haiku/userguide-translator",
"id": "37a274a2c7097be9828b90a350c0e78b8e780557",
"s... |
<!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 (1.8.0_271) on Tue Jun 07 11:07:31 CEST 2022 -->
<title>DataModel.NoPrimaryKeyException (Jailer Subsetter API)</title>
<meta name="date" content... | {
"content_hash": "68e8b688c8b218d1ee7424c7d843301c",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 360,
"avg_line_length": 37.22049689440994,
"alnum_prop": 0.6324572382144347,
"repo_name": "Wisser/Jailer",
"id": "646f7894cdc096d3193008eab511af09c99fe451",
"size": "11985... |
using autofill::PasswordForm;
using content::BrowserThread;
// Handles requests to WebDataService.
class PasswordStoreWin::DBHandler : public WebDataServiceConsumer {
public:
DBHandler(WebDataService* web_data_service,
PasswordStoreWin* password_store)
: web_data_service_(web_data_service),
... | {
"content_hash": "e46370224253e9c5a38ba2582e6eae00",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 80,
"avg_line_length": 34.50769230769231,
"alnum_prop": 0.701441521771437,
"repo_name": "anirudhSK/chromium",
"id": "c50509b793857d2e52cf26c7b266d5acb08fc520",
"size": "73... |
@class DBTEAMLOGOutdatedLinkViewReportFailedType;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// The `OutdatedLinkViewReportFailedType` struct.
///
/// This class implements the `DBSerializable` protocol (serialize and
/// deserialize instance methods), which is required for all Obj-C SDK API route
/// ob... | {
"content_hash": "332ba96db9bb8ef7ab801c7acf3613bd",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 107,
"avg_line_length": 28.19402985074627,
"alnum_prop": 0.7691900476442562,
"repo_name": "dropbox/dropbox-sdk-obj-c",
"id": "66a538d3efbb98c9910dce85e89502f97faa402a",
"si... |
<!--
Copyright (C) 2015 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 require... | {
"content_hash": "b8ef405d0f62ef9423ed7690ef9ea3be",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 77,
"avg_line_length": 40.131147540983605,
"alnum_prop": 0.5812908496732027,
"repo_name": "ThomasJacob-IdentityMine/SunshineV2",
"id": "4feba315c11713d8ff2ff94ee119fb4e039bb... |
namespace NorthWind
{
using System;
using System.Collections.Generic;
public partial class Sales_by_Category
{
public int CategoryID { get; set; }
public string CategoryName { get; set; }
public string ProductName { get; set; }
public Nullable<decimal> ProductSales {... | {
"content_hash": "e25c6fd86a58703d02a6f8cca4876e69",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 59,
"avg_line_length": 26.23076923076923,
"alnum_prop": 0.6275659824046921,
"repo_name": "StoikoNeykov/Telerik",
"id": "1ca152f584da66fab63ccec005ab9e201dba2207",
"size": "... |
var Board = require("./board"),
Pin = require("./pin.js"),
lcdCharacters = require("./lcd-chars.js"),
converter = require("color-convert")();
var priv = new Map();
/**
* This atrocitity is unfortunately necessary.
* If any other approach can be found, patches
* will gratefully be accepted.
*/
function sleep... | {
"content_hash": "24cde972bb3fa334efba3cf74962a21b",
"timestamp": "",
"source": "github",
"line_count": 1025,
"max_line_length": 181,
"avg_line_length": 21.85560975609756,
"alnum_prop": 0.5352200696366396,
"repo_name": "MaxZoosk/johnny-five-build-light",
"id": "09d3f204ff076438fd5d4e6737ff79f5e8fe477... |
from django.db import models
from django.contrib.auth.models import User
from django.contrib import admin
from contests.models import Contest, Tag
class Quiz(models.Model):
name = models.CharField(max_length=50, unique=True)
slug = models.SlugField(max_length=25, unique=True)
description = models.CharFie... | {
"content_hash": "72e17e59a784e8f7031df6e0939ef468",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 133,
"avg_line_length": 34.795180722891565,
"alnum_prop": 0.6897506925207756,
"repo_name": "super1337/Super1337-CTF",
"id": "598fdc716edc2ca8253985f5a63883f30b30566b",
"siz... |
package mtail
import (
"fmt"
"runtime"
"testing"
)
func TestBuildInfo(t *testing.T) {
buildInfo := BuildInfo{
Branch: "foo",
Version: "bar",
Revision: "baz",
}
buildInfoWant := fmt.Sprintf(
"mtail version bar git revision baz go version %s go arch %s go os %s",
runtime.Version(),
runtime.GOARCH,... | {
"content_hash": "fc6278e96daba7738829d4f3ae4e7d7b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 90,
"avg_line_length": 18.85185185185185,
"alnum_prop": 0.6699410609037328,
"repo_name": "SuperQ/mtail",
"id": "ec4665b29610ac96b3d82892c20e730da2b293b7",
"size": "613",
... |
package pt.org.apec.services.users.common.json
import play.api.libs.json._
import play.api.libs.functional.syntax._
import pt.org.apec.services.users.common._
trait JsonProtocol {
implicit val userREgistrationFormat = Json.format[UserRegistration]
implicit val userCredentialsFormat = Json.format[UserCredentials]
... | {
"content_hash": "a080d78682bce584425fee8eff70f3c7",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 121,
"avg_line_length": 56.256410256410255,
"alnum_prop": 0.7739288969917958,
"repo_name": "ragb/apec-users-service",
"id": "634647703b661b4d9ae20c68458c4b064eb5679c",
"siz... |
module ProblemsHelper
def problem_confirm
Errbit::Config.confirm_resolve_err === false ? nil : 'Seriously?'
end
def truncated_problem_message(problem)
unless (msg = problem.message).blank?
# Truncate & insert invisible chars so that firefox can emulate 'word-wrap: break-word' CSS rule
truncat... | {
"content_hash": "2fbfefb952e7e2d805007b1069336eaa",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 102,
"avg_line_length": 33.18518518518518,
"alnum_prop": 0.6473214285714286,
"repo_name": "smonsalve/lacasona-errbit",
"id": "0e0c8070ccff3093f2714f184d2c6e1ee86c1399",
"si... |
Add folders to your current project by right clicking on them in the tree view

| {
"content_hash": "e804cf376764ca5c3aed766aafdbdedf",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 78,
"avg_line_length": 42,
"alnum_prop": 0.7698412698412699,
"repo_name": "forivall/atom-promote-folder-to-project",
"id": "97b81da2e9fc43ce61a7f671f2eca95046595d80",
"size"... |
import urllib
import json
import os
from flask import Flask
from flask import request
from flask import make_response
# Flask app should start in global layout
app = Flask(__name__)
@app.route('/webhook', methods=['POST'])
def webhook():
req = request.get_json(silent=True, force=True)
print("Request:")
... | {
"content_hash": "efd0626fc5d2f39a13a935781cbbe4b4",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 118,
"avg_line_length": 27.280575539568346,
"alnum_prop": 0.509493670886076,
"repo_name": "isitkonferensen2016/isitkonferensen2016",
"id": "ab5c747b034b9007be5ae86c5b7c9c988... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using OpenLiveWriter.HtmlParser.Parser;
using OpenLiveWriter.PostEditor.ContentSources;
namespace OpenLiveWriter.PostEditor.PostHtmlEditing
{
/// <summary>
/// The WYSIWYG editor mangles some types of HTML.... | {
"content_hash": "808bddeb493da5f8136bd91a908e7c2c",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 107,
"avg_line_length": 36.06956521739131,
"alnum_prop": 0.4720347155255545,
"repo_name": "timheuer/OpenLiveWriter-1",
"id": "87104cac7c9ff089ccafc2eaac719e495b44564e",
"s... |
@!(model, intf)
var @(model.Service.toLowerCase()) = {};
module.exports = @(model.Service.toLowerCase());
@for(var i=0; i<model.Types.length; i++) {
@{ var typ=model.Types[i];
var typPrms=Object.getOwnPropertyNames(typ.Parameters);}
@(model.Service.toLowerCase()).@(typ.Name) = function _@(typ.Name)() {
var th... | {
"content_hash": "7b8f24b3606a7d5a97cc5f369378362d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 70,
"avg_line_length": 25.055555555555557,
"alnum_prop": 0.6407982261640798,
"repo_name": "rravuri/tidl_noderestify",
"id": "33f088ba32e5eccb29cd0482db8ed9a902a8446b",
"siz... |
title: ':/2 (colon)'
predicates:
- {sig: ':/2', desc: 'calls a goal in the specified module'}
---
## FORMS
```
Module : Goal
```
## DESCRIPTION
'Module' should be instantiated to a name of a an existing, loaded module, and `Goal` should be instantiated to a non-variable term. The `Goal` will be executed as if the cal... | {
"content_hash": "195ef530439a3cbaa90732ba3c7da755",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 481,
"avg_line_length": 24.919354838709676,
"alnum_prop": 0.6990291262135923,
"repo_name": "AppliedLogicSystems/ALSProlog",
"id": "d9c8f3c6c4d1eb0cb7b1f94b2796ab137a3878e1",
... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | {
"content_hash": "374d3619ff75396007a6ab2dd972a8ac",
"timestamp": "",
"source": "github",
"line_count": 552,
"max_line_length": 177,
"avg_line_length": 45.13768115942029,
"alnum_prop": 0.4709825012040456,
"repo_name": "mufaddalq/cloudstack-datera-driver",
"id": "339e74edfdb1c5fc32c159626be77b89fdd3e6... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true">
<shape>
<solid android:color="#E3F2FD"/>
<corners android:radius="@dimen/padding3"/>
</shape>
</item>
<item>
<shap... | {
"content_hash": "3958bfadee5c4583b2070bc393080f01",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 69,
"avg_line_length": 29,
"alnum_prop": 0.5538793103448276,
"repo_name": "skyofthinking/AndRapid",
"id": "b65e551298b37a82280ac97b03d4b7c357618454",
"size": "464",
"bina... |
package org.opensingular.flow.core.renderer;
import com.google.common.math.StatsAccumulator;
import javax.annotation.Nonnull;
import java.util.Date;
import java.util.Optional;
/**
* Represents the execution statistics of the flow as whole.
*
* @author Daniel C. Bordin
* @since 2018-08-28
*/
public final class S... | {
"content_hash": "442d7cad4c3bcf36cc12f8f3290abb4c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 105,
"avg_line_length": 27.72222222222222,
"alnum_prop": 0.7047428189712759,
"repo_name": "opensingular/singular-core",
"id": "77f699a34a53ddff529c34ed9b0ce77d94067cb3",
"s... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Example article resource (full-featured example) -->
<resource primaryKey="id" xmlns:flora="urn:flora:options">
<!-- Primary DataSource (without name) -->
<flora:dataSource type="mysql" database="contents" table="article"/>
<!-- Select body from separate table w... | {
"content_hash": "8a578edf83e17d2ac6861edfeecb931a",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 128,
"avg_line_length": 44.27439024390244,
"alnum_prop": 0.6548684754166093,
"repo_name": "godmodelabs/flora",
"id": "7efbaf9f0be2eff093e8e179b6a06fce3aa3f3d6",
"size": "7... |
@import "../tokens/tokens";
@import "custom-properties";
@import "custom-media";
@import "mixin"; | {
"content_hash": "0e2f1705745af4949b316f6019882117",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 28,
"avg_line_length": 24.25,
"alnum_prop": 0.7010309278350515,
"repo_name": "nabaroa/nakDS-core",
"id": "8960eba16498947ca3dde85a535c9173fc6e8449",
"size": "97",
"binary"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "357935d91004eda116887c766e6a492c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "77eb48ac987b57498b928526762e77f576fcb08b",
"size": "17... |
var searchData=
[
['pointmass',['PointMass',['../class_fractal_tree_1_1_point_mass.html',1,'FractalTree']]]
];
| {
"content_hash": "bf86f75fc99d3891da34683a3c4b01c7",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 91,
"avg_line_length": 28.25,
"alnum_prop": 0.6548672566371682,
"repo_name": "GandhiGames/fractal_trees_with_spring",
"id": "2daee1a5132f2a5ccb22a3e1944f329e3e7e61a5",
"size... |
<?php
echo '<?xml version="1.0" encoding="UTF-8"?>' . PHP_EOL;
?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<?php foreach ($urls as $url): ?>
<url>
... | {
"content_hash": "fe0d5f7c7e655184f7eb45e7a59c88d7",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 116,
"avg_line_length": 53.46774193548387,
"alnum_prop": 0.41990950226244345,
"repo_name": "katech91/yii2-sitemap-module",
"id": "e1301432036b5b6a33695b389fd02326b7b756c2",
... |
require "LuaScripts/Utilities/Sample"
local scene_ = nil
local cameraNode = nil
local yaw = 0.0
local pitch = 0.0
local drawDebug = false
function Start()
-- Execute the common startup for samples
SampleStart()
-- Create the scene content
CreateScene()
-- Create the UI content
CreateInstruct... | {
"content_hash": "66dc1eafd9aedd042337c707cccacff8",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 124,
"avg_line_length": 42.41004184100419,
"alnum_prop": 0.7032359905288083,
"repo_name": "nonconforme/Urho3DEditor",
"id": "da12ad338e8dfe62050c7d10f25e6b1c2d1b284c",
"si... |
"""
If you know error code, use `get_for_code(code)` to retrieve exception instance.
"""
__all__ = ['Success', 'InvalidOperation', 'HostNotFound', 'ConnectionRefused',
'SendError', 'ReceiveError', 'RecordExists', 'RecordNotFound',
'MiscellaneousError', 'get_for_code']
class TyrantError(Exceptio... | {
"content_hash": "921c6f97667c618cad7dec36bf9cba96",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 81,
"avg_line_length": 22.86111111111111,
"alnum_prop": 0.6476306196840826,
"repo_name": "Reflejo/pyrant",
"id": "d2531db4c8b80aeff70abc952f2c29495bf11e09",
"size": "1671",... |
@implementation FEMObjectMapping
#pragma mark - Init
- (id)initWithObjectClass:(Class)objectClass rootPath:(NSString *)rootPath {
self = [self initWithRootPath:rootPath];
if (self) {
_objectClass = objectClass;
}
return self;
}
- (id)initWithObjectClass:(Class)objectClass {
return [self initWithObjectClass:ob... | {
"content_hash": "6c8878d6dab0013c610e0a3a776ea27f",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 117,
"avg_line_length": 29.516129032258064,
"alnum_prop": 0.7519125683060109,
"repo_name": "xslim/iOS-Mappers-Tests",
"id": "cf4f39ffa4163973b7ef26a8df7298aee89b6b07",
"siz... |
import logging
from django.http import Http404
from rest_framework import exceptions
from rest_framework.settings import api_settings
from mimeparser import MIMEParser
log = logging.getLogger('api.common.negotiation')
class ContentNegotiation(MIMEParser):
def __init__(self):
MIMEParser.__init__(self)... | {
"content_hash": "517da0a03b575dbb8b990059e403c633",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 75,
"avg_line_length": 32.34782608695652,
"alnum_prop": 0.6263440860215054,
"repo_name": "cnobile2012/inventory",
"id": "a884d5a35ff789f2de1ae9093d1131a95df069b4",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="service_name" msgid="4841491635055379553">"Багц хандалтын тусламж"</string>
</resources>
| {
"content_hash": "4b35af5fbcc34261040fada3f1545806",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 93,
"avg_line_length": 31.77777777777778,
"alnum_prop": 0.6958041958041958,
"repo_name": "Ant-Droid/android_frameworks_base_OLD",
"id": "d9fe6477ca11e4a167703657319920f761b909... |
module Cuba::Sugar
module As
# Public: Sugar to do some common response tasks
#
# http_code - Response status code (default: 200)
# extra_headers - Extra headers hash (default: {})
#
# Examples:
#
# on post, "users" do
# as 201 do
# "User successfully created!"
... | {
"content_hash": "379ec806358379e6be754d482df78124",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 61,
"avg_line_length": 27.44736842105263,
"alnum_prop": 0.5675934803451582,
"repo_name": "cj/cuba-tracks",
"id": "52948a77dc54339036e5636288122b7f63d15964",
"size": "1043",... |
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="utf-8">
<title>Software | ContentMine</title>
<meta name="description" content="">
<meta name="author" content="Cottage Labs">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements... | {
"content_hash": "1516f7c6741f843a03bed3c38fde7d59",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 168,
"avg_line_length": 36.23076923076923,
"alnum_prop": 0.6480891719745223,
"repo_name": "tarrow/canary",
"id": "5933d50f7887dde2787028c04af970235ae6a032",
"size": "3768"... |
use libfuzzer_sys::fuzz_target;
use manticore::mem::BumpArena;
use manticore::protocol::Command;
use manticore::protocol::wire::FromWire;
use manticore::protocol::cerberus::DeviceCapabilities as C;
fuzz_target!(|data: &[u8]| {
let mut arena = vec![0; data.len()];
let arena = BumpArena::new(&mut arena);
l... | {
"content_hash": "109005861f5c251b6d401ef16ca4c7d5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 67,
"avg_line_length": 27.533333333333335,
"alnum_prop": 0.6634382566585957,
"repo_name": "lowRISC/manticore",
"id": "77f77c96c9deaac8dce1fc264a2b548eef2ed591",
"size": "68... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.312
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... | {
"content_hash": "e383323d949c02c9c6be51c97f8390e8",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 150,
"avg_line_length": 41.92307692307692,
"alnum_prop": 0.5660550458715596,
"repo_name": "google-code/banshee32",
"id": "84fe5647e0373e30e4aac24d3f8e1bd10ab086f1",
"size":... |
<?php
declare(strict_types=1);
namespace Atk4\Data\Tests\ContainsMany;
use Atk4\Data\Model;
/**
* @property string $name @Atk4\Field()
* @property int $rate @Atk4\Field()
*/
class VatRate extends Model
{
public $table = 'vat_rate';
protected function init(): void
{
parent::init();
... | {
"content_hash": "95716ce6727a4fccfc4a123cfc5c0ac5",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 73,
"avg_line_length": 18.625,
"alnum_prop": 0.6017897091722595,
"repo_name": "atk4/data",
"id": "1b62ceaaa5bfe26df54e46b342af10230f3e31b0",
"size": "447",
"binary": fals... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Arr. Brit. Pl. (London), Edn 3 4: 78 (1796)
#### Original name
Tremella sarcoides With.
### Remarks
null | {
"content_hash": "50599d3a962e231b5d8761752c6e311b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 12.923076923076923,
"alnum_prop": 0.6726190476190477,
"repo_name": "mdoering/backbone",
"id": "845f131e2c852da628c10c028ceb67740e81113d",
"size": "21... |
'use strict';
const jwt = require('jsonwebtoken');
const env = require('../config/envVariables');
const rolesConfig = require('../config/rolesConfig');
function createUserToken(user) {
let scopes = [];
rolesConfig.forEach((role) => {
if (user[role.name]) {
scopes.push(role.name);
}
})
// Sign the J... | {
"content_hash": "c7027067127d928b6ed67a09dd0268d2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 130,
"avg_line_length": 25.842105263157894,
"alnum_prop": 0.6578411405295316,
"repo_name": "zdizzle6717/universal-react-movie-app",
"id": "5badc699397083d074e9f7e2e9c6e40e0a8... |
// Code generated by go-swagger; DO NOT EDIT.
// Copyright 2017-2021 Authors of Cilium
// SPDX-License-Identifier: Apache-2.0
package endpoint
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the generate command
import (
"net/http"
"github.com/go-openapi/ru... | {
"content_hash": "378db3f33c5cba7d33c2908ab80cf706",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 104,
"avg_line_length": 29.15625,
"alnum_prop": 0.7792068595927116,
"repo_name": "tgraf/cilium",
"id": "b3d5728f2e748bc58a8e756df4e3aeb59a144fd1",
"size": "1866",
"binary... |
package org.schedoscope.dsl.transformations
import org.scalatest.{FlatSpec, Matchers}
import org.schedoscope.dsl.View
import org.schedoscope.dsl.transformations.Export.BigQuery
import org.schedoscope.dsl.transformations.HiveTransformation._
case class HiveView() extends View {
val f = fieldOf[String]
transformV... | {
"content_hash": "5f79f5e52d96eaae47ef75a25683ac22",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 68,
"avg_line_length": 25,
"alnum_prop": 0.7264285714285714,
"repo_name": "utzwestermann/schedoscope",
"id": "e03c324fc39b7ba74c873d072e8230724130c2ab",
"size": "1400",
"... |
/*!!
* @atlassian/aui - Atlassian User Interface Framework
* @version v7.7.0-beta-3
* @link https://docs.atlassian.com/aui/latest/
* @license SEE LICENSE IN LICENSE.md
* @author Atlassian Pty Ltd.
*/
// src/js/aui/header-async.js
(typeof window === 'undefined' ? global : window).__f4243cbdeeb31de2885ed6caf30d3f96... | {
"content_hash": "39de972fa52ea0944991505f44884295",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 101,
"avg_line_length": 25.870967741935484,
"alnum_prop": 0.655860349127182,
"repo_name": "cdnjs/cdnjs",
"id": "cd60aeac1066bb2f5b2e3da6be483b21159c9270",
"size": "1604",
... |
package game.control.packets;
import game.control.GameClient;
import game.control.GameServer;
/**
* Packet sent when a player takes damage.
*
* DAMAGE - 04 + "," + String hitPlayer + "," + String attacker + "," + double
* damage
*
* @author Cameron Bryers 300326848 MMXV
*
*/
public class Packet04Damage extend... | {
"content_hash": "4fc372639933de3b84f075e63fa7c98a",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 78,
"avg_line_length": 20.151515151515152,
"alnum_prop": 0.6546365914786968,
"repo_name": "Cambis/SWEN222_Game",
"id": "27ad92fd285db06450685789f75383143050b1b5",
"size": "... |
package com.sksamuel.elastic4s
import com.sksamuel.elastic4s.mappings.FieldType.StringType
import com.sksamuel.elastic4s.testkit.ElasticSugar
import org.scalatest.mock.MockitoSugar
import org.scalatest.{ FlatSpec, Matchers }
import com.sksamuel.elastic4s.ElasticDsl._
/** @author Stephen Samuel */
class PercolateTest ... | {
"content_hash": "1a7ca4d792dff3b8d7780471f6213222",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 98,
"avg_line_length": 24.307692307692307,
"alnum_prop": 0.6746835443037975,
"repo_name": "muuki88/elastic4s",
"id": "07adb05ff241f3f1b7614e57ef873e405f4e3b0f",
"size": "15... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Auxano.Osm.Api
{
/// <summary>
/// Manager for working with terms.
/// </summary>
public class TermManager
{
private readonly Connection connection;
internal TermManager(Connection connect... | {
"content_hash": "cc97b0ba6f1dbf9544a001df308665b1",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 140,
"avg_line_length": 33.53191489361702,
"alnum_prop": 0.5793147208121827,
"repo_name": "craigsammisutherland/osm.api",
"id": "93e1f3969efb10bf3bc7b5420308b0261e78e1d7",
... |
using System.Linq.Expressions;
using GlobalsFramework.Linq.ExpressionProcessing;
using GlobalsFramework.Linq.Helpers;
using GlobalsFramework.Utils.InstanceCreation;
namespace GlobalsFramework.Linq.QueryProcessing
{
internal sealed class ElementAtOrDefaultQueryProcessor : IQueryProcessor
{
pub... | {
"content_hash": "ab58ed558d05a75f6ca24b5107270e66",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 124,
"avg_line_length": 35.484848484848484,
"alnum_prop": 0.6498719043552519,
"repo_name": "intersystems-ru/Globals-EF",
"id": "5a2f0350418a88e16ea362909116ef0e14972546",
"... |
package org.slf4j.simple;
import org.junit.rules.TestRule;
import org.junit.runner.Description;
import org.junit.runners.model.Statement;
import org.slf4j.LoggerFactory;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import static org.junit.Assert.assertEquals;
import static org.slf4j.simple.Simple... | {
"content_hash": "60d085c2c4008b6e23098c8cdf25bdc1",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 94,
"avg_line_length": 30.29032258064516,
"alnum_prop": 0.7108626198083067,
"repo_name": "OpenFeign/feign",
"id": "169ad14bde62e25063f3d33185943c0140078010",
"size": "2473"... |
from __future__ import unicode_literals
import os
import sys
from datetime import datetime
import shutil
import tempfile
import time
from nose.plugins.skip import SkipTest
sys.path.insert(0, os.path.abspath(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__)))))))
sys.path.inse... | {
"content_hash": "87f6b41d9bfeb8390126e6e1dfe3c0ac",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 131,
"avg_line_length": 31.8,
"alnum_prop": 0.6740790655884995,
"repo_name": "jmathai/elodie",
"id": "dd391ee1eb2c227adc368b737641e109cd3c185c",
"size": "13406",
"binary... |
#ifndef ASF_H
#define ASF_H
/*
* This file includes all API header files for the selected drivers from ASF.
* Note: There might be duplicate includes required by more than one driver.
*
* The file is automatically generated and will be re-written when
* running the ASF driver selector tool. Any changes will be ... | {
"content_hash": "2ef540f9c281df58f6f9f4b23721cb0b",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 79,
"avg_line_length": 26.04225352112676,
"alnum_prop": 0.7160627366143861,
"repo_name": "femtoio/femto-usb-blink-example",
"id": "e3012543fc7d47fbc4b63da422eeab6f3654c15f",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "076e4a25b8c407bae2871163cbf7584f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "66507fadf25f47fdf89ee24812d7f989e1aeac22",
"size": "200... |
fn main() {
let original:f64=15.0;//value seems irrelevant (take 1% 459 times to get down to 1%)
let percent_to_take:f64=1.;//take this % of original until it's:
let target_percent:f64=0.0;//down to % of the original value
//TODO: use 0.0 ^ and make the below if work, also this: http://floating-point-gu... | {
"content_hash": "2bd8e859f472f0daeea01b6373d3b2c3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 114,
"avg_line_length": 34.96875,
"alnum_prop": 0.5674709562109026,
"repo_name": "respeccing/rustLearnage",
"id": "479ce3577a9a3e833bcae45d98ef3a8f03b64bac",
"size": "1119"... |
namespace Google.Cloud.AIPlatform.V1.Snippets
{
// [START aiplatform_v1_generated_DatasetService_ImportData_async]
using Google.Cloud.AIPlatform.V1;
using Google.LongRunning;
using System.Threading.Tasks;
public sealed partial class GeneratedDatasetServiceClientSnippets
{
/// <summary>S... | {
"content_hash": "b75d2c7fe39e32a4406039721dee740b",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 157,
"avg_line_length": 50.25,
"alnum_prop": 0.6624569460390356,
"repo_name": "googleapis/google-cloud-dotnet",
"id": "036ba07e0235217fb23c01815e1d35e4f42425a1",
"size": "3... |
Test ResourceBundle::__construct() - existing/missing bundles/locales
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
include "resourcebundle.inc";
function ut_main() {
$str_res = '';
// all fine
$r1 = ut_resourcebundle_create( 'root', BUNDLE );
$str_res .= debug( $r1 );
$str_... | {
"content_hash": "f53d593baaab84b2b77bca1bba88dc49",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 88,
"avg_line_length": 21.688524590163933,
"alnum_prop": 0.6281179138321995,
"repo_name": "lunaczp/learning",
"id": "2bf4f556a8609515fd000361680925315c23a201",
"size": "133... |
<!DOCTYPE html>
<html lang="en">
<head>
<title><%= webpackConfig.metadata.title %></title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="<%= webpackConfig.metadata.title %>">... | {
"content_hash": "95abd3e0ff0c1d9c3922280425c3a556",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 87,
"avg_line_length": 26.05128205128205,
"alnum_prop": 0.6614173228346457,
"repo_name": "IcodeNet/angular2-webpack-typescript",
"id": "641f50fcf8376372cadf2021a3a3edbf5b5c60... |
/* ************************************************************************
************************************************************************ */
qx.Mixin.define("dev.layout.LayoutVerticalBoxLayout", {
members: {
createVerticalBoxLayout : function ( theThis, elem, parent ) {
var obj = new qx.ui.container... | {
"content_hash": "b0c44edff25404ef13ac2647fbf6e156",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 75,
"avg_line_length": 30,
"alnum_prop": 0.46875,
"repo_name": "smc314/helix",
"id": "4c90ddf1433f2d99930ad4af43519991706899bc",
"size": "730",
"binary": false,
"copies... |
module ProfitBricksProvision
class ServerGetIp
include Server::Base
include Server::Config
include Server::DataCenter
def self.run
new.run
end
def run
dc = ProfitBricks::Datacenter.find_by_name(dc_name)
unless dc
error "Datacenter #{dc_name.inspect} not exist"
... | {
"content_hash": "036148331a166f3c27a18ffcf238e328",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 77,
"avg_line_length": 19.285714285714285,
"alnum_prop": 0.6185185185185185,
"repo_name": "webhoernchen/profitbricks_provision",
"id": "5af1af4395098dec07b8a3b68146aa1e78c772... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
class FootballStandings
{
static void Main()
{
string key = Console.ReadLine();
string line = Console.ReadLine();
var teams = new Di... | {
"content_hash": "3b3fdd63560e21db385d2cb749a601ce",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 106,
"avg_line_length": 29.647058823529413,
"alnum_prop": 0.5089285714285714,
"repo_name": "sevdalin/Software-University-SoftUni",
"id": "f19fe1b91a77a4e6f2fc98d142692fcc22b... |
package com.amazonaws.services.s3.internal;
import com.amazonaws.http.HttpResponse;
/**
* Assistant response handler that can pull an HTTP header out of the response
* and apply it to a response object.
*/
public interface HeaderHandler<T> {
/**
* Applies one or more headers to the response ... | {
"content_hash": "fba183f71972d2076ce532d492435bf4",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 27.38095238095238,
"alnum_prop": 0.6347826086956522,
"repo_name": "aws/aws-sdk-java",
"id": "119c919f7d88b42a6c4014fe7f0fe186ba67e140",
"size": "1099... |
\input{query-cards/interactive-short-read-01}
\input{query-cards/interactive-short-read-02}
\input{query-cards/interactive-short-read-03}
\input{query-cards/interactive-short-read-04}
\input{query-cards/interactive-short-read-05}
\input{query-cards/interactive-short-read-06}
\input{query-cards/interactive-short-read-07... | {
"content_hash": "49a1bb07d5905824a7514133ee303fa7",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 45,
"avg_line_length": 46,
"alnum_prop": 0.8043478260869565,
"repo_name": "ldbc/ldbc_snb_docs",
"id": "2755c595b7e2a81985a1a67fe6b5489b62de69c0",
"size": "322",
"binary": ... |
Hallo,<br>
<br>
Hier ist der Link zu unserem Holzmarkt Beauty Contest.
Wenn du da rauf klickst bekommst du in deinem Webbrowser immer zwei Bilder nebeneinander
angezeigt. Sei spontan, welches sagt dir mehr zu?<br>
Klicke drauf, dann kommt ein neues Bildpaar, usf.<br>
Das Ergebnis sagt dir und uns, wie Holzmarktig du bi... | {
"content_hash": "233038afa5a569b79caf00d0950fd3f3",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 131,
"avg_line_length": 33.31578947368421,
"alnum_prop": 0.7551342812006319,
"repo_name": "rickgr/holzmarkt",
"id": "61859a2f206ea3be43eb0f4a6132bdccd58d7f33",
"size": "633... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/UsbongDefaultParentLayout">
<LinearLayout
style="@style/UsbongDefaultMainLayout">
<TextView android:id="@+id/difficulty_textview"
style="@style/UsbongDefaultTextView"
android:text="... | {
"content_hash": "d67b66c7b72151b3c497b358ab93634d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 72,
"avg_line_length": 34.97222222222222,
"alnum_prop": 0.6751389992057188,
"repo_name": "usbong/usbong_pagtsing",
"id": "3b2b0f0830c0376aecf8588251d33e3ccb1b2786",
"size":... |
.class public Landroid/webkit/WebStorage$Origin;
.super Ljava/lang/Object;
.source "WebStorage.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/webkit/WebStorage;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Origin"
... | {
"content_hash": "948e600c2cf2fe7661ca0179f07574ff",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 86,
"avg_line_length": 21.605263157894736,
"alnum_prop": 0.6830085261875761,
"repo_name": "baidurom/devices-n7108",
"id": "8b554ca5193db699b703ecc732d22c2e64e26df9",
"size... |
module Denotificator
VERSION = "0.0.3"
end
| {
"content_hash": "bd18b9219bf4914d0547206a6519150d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 20,
"avg_line_length": 15,
"alnum_prop": 0.7111111111111111,
"repo_name": "marcosvm/denotificator",
"id": "675a25d05c539d2e19a5cbb4e1886653363fafcb",
"size": "45",
"binary... |
/*!
* jQuery QueryBuilder 2.5.2
* Locale: English (en)
* Author: Damien "Mistic" Sorel, http://www.strangeplanet.fr
* Licensed under MIT (https://opensource.org/licenses/MIT)
*/
(function(root, factory) {
if (typeof define == 'function' && define.amd) {
define(['jquery', 'query-builder'], factory);
... | {
"content_hash": "11bb551f6e0b669b1a98bfa32f0f7a39",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 757,
"avg_line_length": 35.476190476190474,
"alnum_prop": 0.5986577181208054,
"repo_name": "swayok/PeskyCMF",
"id": "19e366cb1ece2a4a0fbf0ed15f54be5d3a4a8cca",
"size": "11... |
package com.amazonaws.services.opsworks.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import com.amazonaws.services.opsworks.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import static com.f... | {
"content_hash": "32f232fad18f8442a9a50a036f000687",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 34.15151515151515,
"alnum_prop": 0.6251109139307897,
"repo_name": "trasa/aws-sdk-java",
"id": "d87847466d0b46fe41c561a91274dcb8babb27d2",
"size": "28... |
#ifndef SRC_LIBCRYPTOBOX_BASE64_BASE64_H_
#define SRC_LIBCRYPTOBOX_BASE64_BASE64_H_
#include "config.h"
const char* base64_load (void);
#endif /* SRC_LIBCRYPTOBOX_BASE64_BASE64_H_ */
| {
"content_hash": "99a6c3110e299845630302b1292266e2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 46,
"avg_line_length": 20.77777777777778,
"alnum_prop": 0.7379679144385026,
"repo_name": "AlexeySa/rspamd",
"id": "e7c639d585adc081255d7b9a280b3856b702ecf0",
"size": "785",
... |
This is the repository for fast_log, a logging library previously used in the chef-server. The Chef server now uses lager <https://github.com/basho/lager>
Chef is a system integration framework written in erlang and ruby and designed to bring the benefits of configuration management to your entire infrastructure.
The... | {
"content_hash": "598aba955b9ab808c94be29a5abfed28",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 200,
"avg_line_length": 37.32,
"alnum_prop": 0.7781350482315113,
"repo_name": "chef/fast-log-erlang",
"id": "813f875b0cbdf238dd8b5cc33955e6aa178738d6",
"size": "1878",
"b... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4 foldmethod=marker: */
// {{{ Header
/**
* Calculates, manipulates and retrieves dates
*
* It does not rely on 32-bit system time stamps, so it works dates
* before 1970 and after 2038.
*
* PHP versions 4 and 5
*
* LICENSE:
*
* Copyright (c) 19... | {
"content_hash": "3bc50a8902e9ac96288381c36b0668a3",
"timestamp": "",
"source": "github",
"line_count": 4363,
"max_line_length": 145,
"avg_line_length": 34.391473756589505,
"alnum_prop": 0.46372542485838053,
"repo_name": "BigBlueHat/atmailopen",
"id": "dfaade5dd416a71d89a15491a46b315e7fcfd4f7",
"si... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('book', '0009_auto_20161119_1214'),
]
operations = [
migrations.AddField(
model_name='item',
name='slag',
field=m... | {
"content_hash": "e75dab53795059a177d3af1b202af9c0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 93,
"avg_line_length": 22.88888888888889,
"alnum_prop": 0.5995145631067961,
"repo_name": "wkomor/pickthebook",
"id": "5e0dbbe782cc70de7890fe5307f4bd7c2d3f16a4",
"size": "48... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="en">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Bitcoin</source>
<translation>About Fu</translatio... | {
"content_hash": "421b4131da64b28abe85710d5a17c6aa",
"timestamp": "",
"source": "github",
"line_count": 2967,
"max_line_length": 405,
"avg_line_length": 38.73407482305359,
"alnum_prop": 0.6249956492986669,
"repo_name": "fucoinasia/fucoin",
"id": "cea146bcee2a26c291bedfd1d4baadcf0b047f00",
"size": "... |
require 'spec_helper'
describe Rack::EncodingGuard::RejectStrategy do
include_examples 'Strategy'
let! :env do
Rack::MockRequest.env_for('http://example.com/some/path?and=query&string=set')
end
let :app_response do
[200, {}, ['Default']]
end
context 'with valid environment' do
it 'cascades t... | {
"content_hash": "fead49ebe4872650a9a6c798b3d08774",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 82,
"avg_line_length": 29.862745098039216,
"alnum_prop": 0.6316480630334865,
"repo_name": "tlux/rack-encoding_guard",
"id": "a4e45e8e967a407ca9ef5d4dc80157d53d97865b",
"siz... |
DOUBTFUL
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8e062638bcb1248994cd343006bc3a19",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "1e9f3334ebb4f8a8251898f34f68f80bc9adb5b4",
"size": "19... |
import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function() {
this.route('todos', { path: '/todos/:status' }, function() {
this.route('todo-message', { path: '/:todo-id' } );
}... | {
"content_hash": "452e3d1a92dbce8d8d52b4c2badb8888",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 62,
"avg_line_length": 22.38888888888889,
"alnum_prop": 0.6426799007444168,
"repo_name": "thoov/ember-state-services",
"id": "d285c69cd1be2a5984df041d7069d211fa660e66",
"si... |
module RuboCop
module Cop
module Performance
# This cop identifies unnecessary use of a regex where `String#end_with?`
# would suffice.
#
# @example
# @bad
# 'abc' =~ /bc\Z/
# 'abc'.match(/bc\Z/)
#
# @good
# 'abc' =~ /ab/
# 'abc' =~ /\w... | {
"content_hash": "e37f367acf5e4eca2cdd9375fceffe57",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 79,
"avg_line_length": 33.26923076923077,
"alnum_prop": 0.523121387283237,
"repo_name": "legendetm/rubocop",
"id": "4080d30370d2cdd37e7b0bd2fd8779925480883d",
"size": "1779... |
package com.juanathan.movebox;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import java.util.ArrayList;
/**
* Created by Jonathan on 23/04/2015.
*/
public class BoldBox extends GameObject {
//enum BoxType {STRAIGHT_SHOOTER, SIDE_SWITCHER, CARDBOARD_CONCENTRATOR... | {
"content_hash": "5e45a1620120a3cf051a46241cab2fea",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 109,
"avg_line_length": 25.537037037037038,
"alnum_prop": 0.5786802030456852,
"repo_name": "jamtot/MoveBox",
"id": "ea7a72f7101494d035ade12677efcb193bf323f4",
"size": "1379... |
package com.syaku.modules.menu;
import java.util.*;
import org.apache.log4j.Logger;
import org.apache.commons.lang.*;
import org.apache.commons.configuration.*;
import com.syaku.core.util.*;
import com.syaku.modules.module.*;
import com.syaku.modules.install.*;
public class MenuInstall extends MenuObject {
priva... | {
"content_hash": "173d74ae58f533a091be88d6dca9221f",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 86,
"avg_line_length": 28.158730158730158,
"alnum_prop": 0.6747463359639233,
"repo_name": "syakuis/java-mei",
"id": "1ee6d7460e2d27a18d505643237ce3f61ab3f33b",
"size": "37... |
package se.danielkonsult.fsm4j.states;
public class TestState5 extends BaseState {
}
| {
"content_hash": "9f93c7442bfdd7666f6921e2ee81bf73",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 43,
"avg_line_length": 21.5,
"alnum_prop": 0.813953488372093,
"repo_name": "bolddp/fsm4j",
"id": "09c650185b1b8d4c04e4afd13cf172f8c4d0f414",
"size": "86",
"binary": false,... |
@extends('layouts.master')
@section('app-content')
<div class="row">
<div class="col-md-4 col-md-offset-4">
<h1 class="text-center">Register</h1>
<form method="POST" action="/register">
{!! csrf_field() !!}
<div class="col-md-12 raw-margin-top-24"... | {
"content_hash": "4669eac5cab4cac908ec741ce5459f89",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 101,
"avg_line_length": 38.18421052631579,
"alnum_prop": 0.4727773949000689,
"repo_name": "miscbits/kyle",
"id": "63f629229d2de432d357fc95ad3b409b791b3aec",
"size": "1451",... |
<!-- The box-footer-->
<div id="footer_text"> <!-- The footer_text -->
<strong>Thành công mobile.</strong>
<p>Chuyên mua bán, sửa chữa, cung cấp linh kiện điện thoại. </p>
<p>Video hướng dẫn: <a href="https://www.youtube.com/watch?list=PLml7xFCO5p8rlpbV-9bDdz74cCXQCmeDk&v=YRyzBuA_O4A">Xem video</a></p>
... | {
"content_hash": "7324fd4d46ce4113cb4ee2ec96e80553",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 135,
"avg_line_length": 49.30769230769231,
"alnum_prop": 0.6380655226209049,
"repo_name": "pvtam2a/thanhcongmobile",
"id": "8232795a4aa87bda080b8ad364253cf6c9bf3120",
"size... |
{-# LANGUAGE TupleSections, OverloadedStrings #-}
module Handler.Home where
import Import
import System.Random (getStdRandom, randomR, StdGen)
import qualified Data.Text as T
import Data.Text.Encoding (encodeUtf8, decodeUtf8)
import Control.Monad (replicateM)
import Control.Monad.Trans.State
import Data.Time (getCurre... | {
"content_hash": "82849b7fe3be778841533bc9d970421e",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 110,
"avg_line_length": 34.73809523809524,
"alnum_prop": 0.590815627141878,
"repo_name": "snoyberg/whosawthatcoming",
"id": "a9eedfce85397bea00a27ad66b1d552c30f673d6",
"si... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='en' xml:lang='en' xmlns='http://www.w3.org/1999/xhtml'><head><title>/Library/Ruby/Gems/1.8/gems/ruby-openid-2.0.1/lib/openid/association.rb - C0 code coverage information</title>
<st... | {
"content_hash": "93fa4c12c4945fb81b62d3a6c1242fee",
"timestamp": "",
"source": "github",
"line_count": 859,
"max_line_length": 193,
"avg_line_length": 40.809080325960416,
"alnum_prop": 0.6423905291684496,
"repo_name": "jared/ygo_classic",
"id": "ccf83f9c8781353247c4f328962fde0487685183",
"size": "... |
Some snippets for working with the [Meteor](http://meteor.com) framework (v1.0).
Includes snippets for
* CoffeeScript (✔)
* HTML (✔)
* JavaScript (✔) - Updated to 1.0
## Installation
You can install them now via [Package Control](http://wbond.net/sublime_packages/package_control) (search for "Meteor Snippets") o... | {
"content_hash": "24e50fcba1c7b35194e68b5a1e2325bd",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 149,
"avg_line_length": 18.24,
"alnum_prop": 0.6732456140350878,
"repo_name": "anisku11/sublimeku",
"id": "2e4c6f310866763545722eae74a74c61a7313fd6",
"size": "1414",
"bin... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/tonychiang/CloudPrint4AndroidManager/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values-h720dp/values-h720dp.xml -->
<eat-comment/>
<dimen name="abc_alert_dialog_button_bar_height">54dip</dimen>
</... | {
"content_hash": "1fdd81b944701471f09608ce1601968c",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 180,
"avg_line_length": 55,
"alnum_prop": 0.7333333333333333,
"repo_name": "TonyChiangUSA/UPrint-Orange",
"id": "acdc7bcb53c8ea9e143290ea3fbec8252121da1b",
"size": "330",
... |
/*************************************************************************/
/* code_edit.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "41f0ef4fe9762e1152847099cda4829c",
"timestamp": "",
"source": "github",
"line_count": 436,
"max_line_length": 249,
"avg_line_length": 33.408256880733944,
"alnum_prop": 0.6674447343127832,
"repo_name": "guilhermefelipecgs/godot",
"id": "09c7ef80bf86a3868362a4eb64286bc597f957ee",
"s... |
package org.sakaiproject.calendar.api;
import java.util.Iterator;
import java.util.Vector;
import org.sakaiproject.time.api.TimeRange;
/**
* <p>CalendarEventVector is a helper class for the Calendar service. It will read in
* a bunch of CalendarEvents from an iterator, place them into a vector, and provide
* time... | {
"content_hash": "dfa3ec6ffa1943bb4472be34abf27873",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 101,
"avg_line_length": 23.43661971830986,
"alnum_prop": 0.7085336538461539,
"repo_name": "eemirtekin/Sakai-10.6-TR",
"id": "815df08f270bfdf0db4fe0eff8c6bafbeeeb7309",
"siz... |
<?php
namespace AframeVR\Core\Exceptions;
final class BadShaderCallException extends \BadMethodCallException
{
public function __construct(string $message = 'null')
{
$this->message = sprintf("Requested shader (%s) could not be loaded!\n", $message);
}
}
| {
"content_hash": "00241a9b287f1f6ac64ad4e849149d6d",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 91,
"avg_line_length": 23.166666666666668,
"alnum_prop": 0.6942446043165468,
"repo_name": "mkungla/aframe-php",
"id": "425c0280470c256757107a1659d374aeb036fabf",
"size": "1... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "367807f596b4d944e1b1705a7ac8fffa",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "66e503210a0a84ca99509a32bd8d542fb7a5c7a7",
"size": "202... |
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "test/core/util/test_config.h"
static void test_malloc_aligned() {
for (size_t size = 1; size <= 256; ++size) {
void* ptr = gpr_malloc_aligned(size, 16);
GPR_ASSERT(ptr != nullptr);
GPR_ASSERT(((intptr_t)ptr & ... | {
"content_hash": "75fb39533289e514e102e6639b9c891e",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 50,
"avg_line_length": 21.5,
"alnum_prop": 0.6317829457364341,
"repo_name": "vjpai/grpc",
"id": "35fa8bc31560a3b464a17cc91e1b50298a2d54d9",
"size": "1118",
"binary": fals... |
All notable changes to this project will be documented in this file.
## [v4.0.0] - 2017-08-14
- Bump hoist-non-react-statics and babel-runtime
- Remove Babel and ESLint sections from package.json
- Add a safety check on `componentWillUnmount` of `withStyles` to only `setTimeout` if `this.removeCss` is defined ([#104]... | {
"content_hash": "4713215790f06b452dd169fa10636555",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 206,
"avg_line_length": 66.57777777777778,
"alnum_prop": 0.7409879839786382,
"repo_name": "kumarrus/MuffinMan",
"id": "1599fc6eacaf1f25c18a0364d86b6a71eb8ef49e",
"size": "3... |
<footer>
<div id="map-canvas"></div>
<div id="footer-info-box">
<div class="button"><span>Contact Me</span></div>
<a href="https://twitter.com/paigecrum"><img src="/assets/images/twitter.png" alt="twitter" id="twitter-logo"/></a>
<a href="https://github.com/paigecrum"><img src="/assets/images/github.png... | {
"content_hash": "b4c8811f11eac27bc92679132500f267",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 130,
"avg_line_length": 58.6,
"alnum_prop": 0.6535836177474402,
"repo_name": "paigecrum/paigecrum.github.io",
"id": "b21d97028be0217a4938acfe45938ec7b894bb77",
"size": "589... |
import React from 'react';
import {} from 'prop-types';
import classNames from 'classnames';
const PanelFooter = ({ children, className, ...rest }) => {
return (
<div className={classNames('panel-footer', className)} {...rest}>
{children}
</div>
);
};
/**
* PanelFooter property types.
*/
PanelFoot... | {
"content_hash": "72d9b08d3b7085c06d6ad9952124433b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 69,
"avg_line_length": 19.26086956521739,
"alnum_prop": 0.6501128668171557,
"repo_name": "Landish/react-spectre-css",
"id": "2fc1384305fd2274cb92dd1c173a7accd4b047d9",
"siz... |
import * as plugins from './bts.plugins'
import { IInvoiceItem } from 'tsclass'
export class InvoiceItem implements IInvoiceItem {
name: string
unitType: string
quantity: number
vatPercentage
}
| {
"content_hash": "ec2fd153eea852a40309048359ff306e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 50,
"avg_line_length": 22.555555555555557,
"alnum_prop": 0.7536945812807881,
"repo_name": "billtoday/bts",
"id": "01af027c8a320196502b307c18c7b360fb834b35",
"size": "203",
... |
package org.hspconsortium.platform.authorization.service;
import org.junit.Test;
import org.mockito.Mockito;
import org.smartplatforms.oauth2.ScopeValidator;
import org.springframework.security.oauth2.common.exceptions.InvalidScopeException;
import org.springframework.security.oauth2.provider.AuthorizationRequest;
imp... | {
"content_hash": "cf8b8e1e51a098f763c162b8599e0f86",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 97,
"avg_line_length": 38.073170731707314,
"alnum_prop": 0.7802690582959642,
"repo_name": "nschwertner/reference-auth-server-webapp",
"id": "549af12142261bc85bb5d1901d755c5bf... |
namespace eui
{
namespace window
{
ToolbarPanel::ToolbarPanel(wxWindow* parent, StagePanel* stage_panel)
: ee::ToolbarPanel(parent, NULL)
, m_stage_panel(stage_panel)
{
SetSizer(InitLayout());
RegistSubject(ChangeWindowViewSizeSJ::Instance());
}
std::string ToolbarPanel::GetWindowName() const
{
return m_name_te... | {
"content_hash": "bc50a707464b3ee316b60aabb23504a9",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 140,
"avg_line_length": 28.6953125,
"alnum_prop": 0.7263817043288865,
"repo_name": "xzrunner/easyeditor",
"id": "e44bc63124a28f6192a596268a478980a927f29d",
"size": "3801",... |
'use strict';
const CHOOSABLE_TARGETS = new Set(['normal', 'any', 'adjacentAlly', 'adjacentAllyOrSelf', 'adjacentFoe']);
exports.BattleScripts = {
gen: 7,
runMove: function (move, pokemon, targetLoc, sourceEffect, zMove) {
let target = this.getTarget(pokemon, zMove || move, targetLoc);
if (!sourceEffect && toId... | {
"content_hash": "3dbf76e1d5d04f4dd533b3a212a3228b",
"timestamp": "",
"source": "github",
"line_count": 3548,
"max_line_length": 280,
"avg_line_length": 39.640924464487036,
"alnum_prop": 0.625136868449867,
"repo_name": "jd4564/Pokemon-Showdown",
"id": "87ab4b403c219af153ca22cf437521d25d0651b5",
"si... |
package com.emistoolbox.lib.pdf.util;
import java.awt.Color;
import java.io.IOException;
import java.io.PrintStream;
import com.emistoolbox.lib.pdf.layout.PDFLayout;
import com.emistoolbox.lib.pdf.layout.PDFLayoutBorderStyle;
import com.emistoolbox.lib.pdf.layout.PDFLayoutElement;
import com.emistoolbox.lib.pdf.layou... | {
"content_hash": "ecef31e7f45824df42a24ea42da4e62e",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 168,
"avg_line_length": 25.86868686868687,
"alnum_prop": 0.6762983209683717,
"repo_name": "emistoolbox/emistoolbox",
"id": "b3b68c7d656fb19580dc6babaea6f0f7c9db5993",
"siz... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="latest_ob.xsl" type="text/xsl"?>
<current_observation version="1.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.weather.gov/view/current_observation.... | {
"content_hash": "1d033af4069dcb1da771088a8b178687",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 90,
"avg_line_length": 44.395348837209305,
"alnum_prop": 0.71503404924044,
"repo_name": "pjconsidine/codingclass",
"id": "b02d300768d7f1b05f2c6a876813ef49096930cb",
"size":... |
package org.assertj.db.util;
import org.assertj.db.api.assertions.impl.AssertionsOnValueComparison;
import org.junit.Test;
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Te... | {
"content_hash": "94528e75f841192ece07cca83299322e",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 118,
"avg_line_length": 33.65853658536585,
"alnum_prop": 0.7782608695652173,
"repo_name": "otoniel-isidoro-sofist/assertj-db",
"id": "75f588874dd7ed6e8093c87f65de038fea843e3d... |
<div class="commune_descr limited">
<p>
Nizy-le-Comte est
un village
géographiquement positionné dans le département de l'Aisne en Picardie. Elle comptait 257 habitants en 2008.</p>
<p>À proximité de Nizy-le-Comte sont situées les villes de
<a href="{{VLROOT}}/immobilier/thour_08451/">Le Thour</a> ... | {
"content_hash": "b8b2947a9e44ffe3bf5c9c87f84a6b43",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 136,
"avg_line_length": 79.16666666666667,
"alnum_prop": 0.7340350877192983,
"repo_name": "donaldinou/frontend",
"id": "c7909e5dc7237d62fcac73ac9a55b35d513b7bbf",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.