text stringlengths 2 1.04M | meta dict |
|---|---|
use std::borrow::Borrow;
use std::cell::UnsafeCell;
use std::cmp::Ordering::{Less, Equal, Greater};
use std::default::Default;
use std::iter::{FromIterator, IntoIterator};
use std::mem;
use std::ops::{Index, IndexMut};
use super::node::Node;
/// The implementation of this splay tree is largely based on the c code at:... | {
"content_hash": "0410e7a626e9923d6cb6b1ab3ca1cbaa",
"timestamp": "",
"source": "github",
"line_count": 381,
"max_line_length": 80,
"avg_line_length": 34.338582677165356,
"alnum_prop": 0.47076358633340976,
"repo_name": "alexcrichton/splay-rs",
"id": "05c7c9963b8fd213791283e5966213a2239f1958",
"size... |
/**
* @file
**/
#pragma once
#include <memory>
#include "modules/common/proto/pnc_point.pb.h"
#include "modules/common/status/status.h"
#include "modules/common/util/factory.h"
#include "modules/planning/proto/traffic_rule_config.pb.h"
#include "modules/planning/reference_line/reference_line.h"
#include "modules... | {
"content_hash": "f5cc7ce8e4d6276ba4bc246f0cb1b83c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 77,
"avg_line_length": 26.685185185185187,
"alnum_prop": 0.7217210270645386,
"repo_name": "ycool/apollo",
"id": "907ec608542ee53c275a3f1491bb0a662025196b",
"size": "2213",
... |
#pragma once
#include <aws/glacier/Glacier_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Glacier
{
namespace Model
{
/**
* <p>Returned if ... | {
"content_hash": "728e088433bb3213dc2189828f663340",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 121,
"avg_line_length": 28.834645669291337,
"alnum_prop": 0.6925177498634626,
"repo_name": "cedral/aws-sdk-cpp",
"id": "2bc77029a8de5805d0e084f4ec0f9e8379d0e085",
"size": ... |
__BEGIN_DECLS
// Typically, apps seem to have ~700 binary images loaded
#define CLS_BINARY_IMAGE_RUNTIME_NODE_COUNT (1024)
#define CLS_BINARY_IMAGE_RUNTIME_NODE_NAME_SIZE (32)
#define CLS_BINARY_IMAGE_RUNTIME_NODE_RECORD_NAME 0
#define FIRCLSUUIDStringLength (33)
typedef struct {
_Atomic(void*) volatile baseAddres... | {
"content_hash": "3b0daa44de87b495b8026e1351b9058b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 83,
"avg_line_length": 30.344827586206897,
"alnum_prop": 0.7653409090909091,
"repo_name": "firebase/firebase-ios-sdk",
"id": "725020af041adfaefcd98fe4ad8d376758180fad",
"si... |
<!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_55) on Sun Oct 26 05:56:52 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>org.apache.solr.han... | {
"content_hash": "c6b6bb09f2453979bacc2f680afe662f",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 289,
"avg_line_length": 42.95169082125604,
"alnum_prop": 0.6561691598245417,
"repo_name": "eissac/solr4sentiment",
"id": "cf0e72ecda77db2868091b04f165d900b8271f8f",
"size"... |
package core.driver;
import java.util.Arrays;
import core.party.Dispatcher;
import core.party.SearcherShell;
/**
* This is the entry point for the searchparty jar and will split between the
* client or the server depending on the argument to the program.
* @author sloscal1
*
*/
public class Main {
public st... | {
"content_hash": "39a6fea72063f166d6f8929a6689943c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 77,
"avg_line_length": 26.714285714285715,
"alnum_prop": 0.7005347593582888,
"repo_name": "sloscal1/SearchParty",
"id": "d4b26077926bb976cc3967f33f11dfd60aa44b43",
"size": ... |
package gx.fpinscala
import scala.annotation.tailrec
import scala.runtime.Nothing$
/**
* Created by Joe on 2016/8/26.
*/
object chapter03_functional_data_structures {
/*
EXERCISE 2: Implement the tail function for "removing" the first element
of a List.
*/
def tail[A](xs: List[A]): List[A] = xs ma... | {
"content_hash": "b5ec3e7ba239e989d25b96bdbc0a084d",
"timestamp": "",
"source": "github",
"line_count": 297,
"max_line_length": 93,
"avg_line_length": 29.410774410774412,
"alnum_prop": 0.5945048654836863,
"repo_name": "josephguan/fpinscala-exercise",
"id": "f154ccf921e63d7f03ca2d19483edfd5c7444311",
... |
from IPython.html.widgets import *
w = TextWidget()
def handle_submit(name, new):
print(new)
w.on_trait_change(handle_submit, 'value')
w | {
"content_hash": "837831295367c0b9e04cc3072838f755",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 41,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.7214285714285714,
"repo_name": "alexandrejaguar/strata-sv-2015-tutorial",
"id": "ddf4d615b35d05689401f3ea65bba1864c5... |
inbook.models.User = (function() {
return Backbone.Model.extend({
urlRoot: "/users",
url: function(skip) {
var url = this.urlRoot;
if (!this.isNew()) {
url = url + "/" + encodeURIComponent(this.id);
}
if (!skip) {
url = url + ".json";
}
return url;
},... | {
"content_hash": "dddfb9350e2e53114d64c529564e6278",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 124,
"avg_line_length": 24.45945945945946,
"alnum_prop": 0.5558011049723757,
"repo_name": "bnorton/inbook",
"id": "eb49c2fd9cc797be58e90106f51cd382fe415ba5",
"size": "905",... |
<!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.6.0_34) on Tue Apr 07 13:58:18 MDT 2015 -->
<title>views</title>
<meta name="date" content="2015-04-07">
<link rel="stylesheet" type="text/... | {
"content_hash": "b9ff1b0b52aa0ce81c5ca84fbe1737bf",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 165,
"avg_line_length": 33.65972222222222,
"alnum_prop": 0.6511244068495977,
"repo_name": "CMPUT301W15T01/Team1Project",
"id": "9bfac2de52712895f4866c6527d2a04bfe096d69",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d8242ea3d56299a40857a7ed47949dda",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "66155be3ed0bb77ef4d36dfd4c575606cfa5edd4",
"size": "175... |
{% extends "base.html" %}
{% load i18n %}
{% block title %}{% trans "Delete debate" %}{% endblock %}
{% block logo %}
{% if get_place %}
<a href="{{ get_place.get_absolute_url }}"><img src="{{ MEDIA_URL }}/{{ get_place.logo }}" /></a>
{% endif %}
{% endblock %}
{% block banner %}
{% if get_place... | {
"content_hash": "242189b99d01a99db84e98bd05818aa1",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 114,
"avg_line_length": 31.625,
"alnum_prop": 0.4891304347826087,
"repo_name": "cidadania/e-cidadania",
"id": "f0d3ac3a1c8749c76b5f01fb89027f6519a873da",
"size": "1012",
... |
@interface REDBookCell ()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *progressLabel;
@property (weak, nonatomic) IBOutlet UILabel *percentCompletedLabel;
@property (weak, nonatomic) IBOutlet UIImageView *coverImageView;
@property (weak, nonatomic) IBOutlet UII... | {
"content_hash": "db25e9ac2f7879f1d46ee29b72dd4510",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 176,
"avg_line_length": 35.59649122807018,
"alnum_prop": 0.7116806308526368,
"repo_name": "rafagonc/Reading-List",
"id": "729543527d9e6c068aa4ce7ae4abff7930ad9cdc",
"size":... |
import React from 'react';
import PropTypes from 'prop-types';
const IconButton = ({className, icon, id, onClick, title}) => {
let buttonClass = 'ias-button ias-icon-button';
if (className) {
buttonClass += ' ' + className;
}
return (
<button
className={buttonClass}
... | {
"content_hash": "d2384498ba4f419185de8f1be2391f19",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 63,
"avg_line_length": 24.8,
"alnum_prop": 0.581989247311828,
"repo_name": "MicroFocus/CX",
"id": "9fd5e1f8b48b98979551b82442bc629859b75b4f",
"size": "744",
"binary": fal... |
import os
import sys
import shlex
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", ".."))
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
# Add any Sphinx extension module nam... | {
"content_hash": "75e74228ee7a98371a872c07ff324a65",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 78,
"avg_line_length": 29.209150326797385,
"alnum_prop": 0.6587603490713806,
"repo_name": "d0c-s4vage/gramfuzz",
"id": "febe7c5567e5b163bddda21eec7bf54ab53fbee5",
"size": ... |
<?php
namespace Application\Migrations;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
/**
* Auto-generated Migration: Please modify to your needs!
*/
class Version20141222222117 extends AbstractMigration
{
public function up(Schema $schema)
{
// this up() migratio... | {
"content_hash": "297b9b2a9bc7cffcd09ac31d60be07fb",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 182,
"avg_line_length": 46.5,
"alnum_prop": 0.7009408602150538,
"repo_name": "marionlecorre/planit",
"id": "d77232e9c72acfb3041092039ed714e37997c767",
"size": "1488",
"bi... |
<?php
namespace Emayk\Ics\Repo\Transreceiveproduct;
use Carbon\Carbon;
use Illuminate\Support\Facades\Auth;
use \Response;
use \Input;
class TransreceiveproductEloquent implements TransreceiveproductInterface{
protected $transreceiveproduct;
function __construct(Transreceiveproduct $transreceiveproduct)
... | {
"content_hash": "fdfa514561c764ef5817bf3b8a62d42e",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 118,
"avg_line_length": 24.96825396825397,
"alnum_prop": 0.5170586988768807,
"repo_name": "emayk/ics",
"id": "2ba4a4b3d711925b05bc40842c564b0769346821",
"size": "5462",
... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.share.clipboard;
import android.graphics.Bitmap;
import android.net.Uri;
import android.os.Looper;
import androidx.t... | {
"content_hash": "ffd4424bd90327ed7cb2517170da7731",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 98,
"avg_line_length": 36.166666666666664,
"alnum_prop": 0.7256851806936696,
"repo_name": "ric2b/Vivaldi-browser",
"id": "8f66542e0ad9c717829112bd010439fba66f8cb3",
"size"... |
@class NSString;
@interface SBDefaultWindowLayoutStrategy : NSObject <SBWindowLayoutStrategy>
{
}
+ (id)sharedInstance;
- (int)jailBehavior;
- (struct CGRect)frameForWindow:(id)arg1;
// Remaining properties
@property(readonly, copy) NSString *debugDescription;
@property(readonly, copy) NSString *description;
@proper... | {
"content_hash": "9675d98db484b9a2102d3799fccfc50c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 76,
"avg_line_length": 22.38888888888889,
"alnum_prop": 0.7841191066997518,
"repo_name": "iMokhles/iPhone5S-iOS8.1-SBHeaders",
"id": "52b954bfa3aaa76808bab0158626449c906de9db... |
<mvc:View
controllerName="sap.ui.rta.appVariant.manageApps.webapp.controller.ManageApps"
xmlns:mvc="sap.ui.core.mvc"
xmlns:core="sap.ui.core"
xmlns="sap.m">
<Table id="Table1"
showNoData="false"
inset="false"
growing="true"
growingThreshold="500"
items="{/appVariants}">
<columns>
<Column
width=... | {
"content_hash": "4f0c8bd43faea79795b574e70e0c6c53",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 147,
"avg_line_length": 28.03409090909091,
"alnum_prop": 0.6542359140656668,
"repo_name": "cschuff/openui5",
"id": "50e42a6ce9416ee2e77d71fab2016d25d99d661d",
"size": "2467... |
<?php
/**
* Crystal DBAL
*
* An open source application for database manipulation
*
* @package Crystal DBAL
* @author Martin Rusev
* @link http://crystal.martinrusev.net
* @since Version 0.1
* @version 0.1
*/
// ------------------------------------------------------------------------
class Crystal_Ma... | {
"content_hash": "8631942802ee811609d98092c8c519dc",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 89,
"avg_line_length": 16.354166666666668,
"alnum_prop": 0.5235668789808917,
"repo_name": "MatiasNAmendola/Crystal",
"id": "34d501d4c3d714950aff0516741bdde7673c75ae",
"size... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... | {
"content_hash": "cf9c7c311e7c8cde767f5729a5b9561d",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 298,
"avg_line_length": 55.649484536082475,
"alnum_prop": 0.5891070766950722,
"repo_name": "zhench/learnExt",
"id": "9dfb2bb33ea5025f2499f930c385f6e5d2a0a678",
"size": "539... |
"""Implementations of `ClientData` backed by a file system."""
from collections.abc import Callable, Mapping
import os.path
import tensorflow as tf
from tensorflow_federated.python.common_libs import py_typecheck
from tensorflow_federated.python.simulation.datasets import client_data
from tensorflow_federated.python... | {
"content_hash": "f7ab19e0b0ed308c426c100b90eecb2b",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 82,
"avg_line_length": 37.6822429906542,
"alnum_prop": 0.6941964285714286,
"repo_name": "tensorflow/federated",
"id": "7f4f13964e2785cf030b962e4edec6aade7bed6b",
"size": "... |
package org.camunda.bpm.engine.impl.cmd;
import org.camunda.bpm.application.ProcessApplicationReference;
import org.camunda.bpm.engine.impl.cfg.CommandChecker;
import org.camunda.bpm.engine.impl.context.Context;
import org.camunda.bpm.engine.impl.interceptor.Command;
import org.camunda.bpm.engine.impl.interceptor.Com... | {
"content_hash": "04ae273bdde90022bbea1ce9964eb7e4",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 133,
"avg_line_length": 29.88888888888889,
"alnum_prop": 0.7881040892193308,
"repo_name": "ingorichtsmeier/camunda-bpm-platform",
"id": "5ab2384b9ef5e2d03a4b008c609972ddfcfdb... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>HistoryLike | @uirouter/core</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../ass... | {
"content_hash": "80e497638dd43d4af8a9096180bd5b6e",
"timestamp": "",
"source": "github",
"line_count": 453,
"max_line_length": 532,
"avg_line_length": 52.38852097130243,
"alnum_prop": 0.638715658183044,
"repo_name": "ui-router/ui-router.github.io",
"id": "05ee599ccf67bd68ad8492d9b22fd671d359c2fc",
... |
CodePath iOS Bootcamp Twitter client - Part 2
This is a basic twitter app to read and compose tweets the [Twitter API](https://apps.twitter.com/).
Time spent: 12 hours
### Features
#### Required
- [x] Hamburger menu
- [x] Dragging anywhere in the view should reveal the menu.
- [x] The menu should include links... | {
"content_hash": "47730dc7bc650e92e1a0060860a7b1e0",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 243,
"avg_line_length": 44.15873015873016,
"alnum_prop": 0.7368799424874192,
"repo_name": "asp2insp/Twittercism",
"id": "32912f42aa7bc40bbf40a37272e573e8827b94bf",
"size": ... |
Tools (:py:mod:`indra.tools`)
=============================
Run assembly components in a pipeline (:py:mod:`indra.tools.assemble_corpus`)
-----------------------------------------------------------------------------
.. automodule:: indra.tools.assemble_corpus
:members:
Real-time feedback for assembly (:py:mod:`... | {
"content_hash": "33adc1e486726ab828fb5ee750040cd0",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 106,
"avg_line_length": 30.50980392156863,
"alnum_prop": 0.47107969151670953,
"repo_name": "pvtodorov/indra",
"id": "6acb752bae4089c9d374fbae0e031aaaaa273ca3",
"size": "155... |
'use strict'
/* eslint-env mocha */
const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)
const TCP = require('libp2p-tcp')
const Connection = require('interface-connection').Connection
const multiaddr = require('multiaddr')
const pull = require('pull-strea... | {
"content_hash": "61740979f9455c052d25b4d25c13c13e",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 92,
"avg_line_length": 26.072727272727274,
"alnum_prop": 0.5364946536494654,
"repo_name": "diasdavid/node-libp2p-spdy",
"id": "b0a4efd30ce0c63000ec3c449b8099df97091d7d",
"... |
package org.apache.flink.table.runtime.sort;
import org.apache.flink.runtime.checkpoint.OperatorSubtaskState;
import org.apache.flink.streaming.api.watermark.Watermark;
import org.apache.flink.streaming.util.KeyedOneInputStreamOperatorTestHarness;
import org.apache.flink.streaming.util.OneInputStreamOperatorTestHarn... | {
"content_hash": "095e69cff6bfa5da8a0c4334ddf3a77d",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 113,
"avg_line_length": 42.66321243523316,
"alnum_prop": 0.7560116589749818,
"repo_name": "shaoxuan-wang/flink",
"id": "f94a1055912aeeebc293102afd1b5c73a8eca65e",
"size": ... |
package nz.co.doltech.databind.apt.reflect.gwt.ast;
public interface Compiler<I, O> {
O compile(I unit);
}
| {
"content_hash": "8413a20a7f0b0e221735e1a7349bc7b4",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 51,
"avg_line_length": 22.4,
"alnum_prop": 0.7142857142857143,
"repo_name": "BenDol/Databind",
"id": "d04529b3fb27238883c93f7298019c63782496c1",
"size": "112",
"binary": f... |
//
// ISNetworking.h
// InventorySystemForiPhone
//
// Created by yangboshan on 16/4/28.
// Copyright © 2016年 yangboshan. All rights reserved.
//
#ifndef ISNetworking_h
#define ISNetworking_h
#import "ISNetworkingConfiguration.h"
#import "ISNetworkingContext.h"
#import "ISNetworkingProxy.h"
#import "ISNetworkingL... | {
"content_hash": "7b607b8acd925e9a6ef3d3b09d397911",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 54,
"avg_line_length": 21.1,
"alnum_prop": 0.7535545023696683,
"repo_name": "yangboshan/InventorySystemForiPhone",
"id": "9fb6ef97119178f3277b2c55c31a8a1b293fc825",
"size":... |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
Schema = mongoose.Schema;
/**
* Product Schema
*/
var ProductSchema = new Schema({
name: {
type: String,
default: '',
required: 'Please fill Product name',
trim: true
},
category: {
type: String,
default: '',
required: ... | {
"content_hash": "9dd228028fe04e8d015e2a7bd760b3d6",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 41,
"avg_line_length": 14.6,
"alnum_prop": 0.6301369863013698,
"repo_name": "perezvon/mean-tutorial",
"id": "e51921160f22d7aa900a7c01e5e6fee33631eb27",
"size": "511",
"bi... |
<VehiclePartSearchErrorResponse xmlns="http://ecs.amazonaws.com/doc/2011-08-01/">
<Error>
<Code>Deprecated</Code>
<Message>Feature VehiclePartSearch is deprecated.</Message>
</Error>
<RequestID>98a8fcfb-4c2d-4b7a-82fb-487c20083e03</RequestID>
</VehiclePartSearchErrorResponse>
| {
"content_hash": "009d15abba89c8fed2895ec8066189ef",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 81,
"avg_line_length": 41.57142857142857,
"alnum_prop": 0.7663230240549829,
"repo_name": "redtoad/python-amazon-product-api",
"id": "3d4e9d00e03a1d5fb0362709ac681ec4f641f79c",... |
from __future__ import unicode_literals
from ..connectivity import BuildConnectome
def test_BuildConnectome_inputs():
input_map = dict(args=dict(argstr='%s',
),
environ=dict(nohash=True,
usedefault=True,
),
ignore_exception=dict(nohash=True,
usedefault=True,
),
in_file=dict(argstr=... | {
"content_hash": "a2dfb8a3d41203a2046bd21eff32d7da",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 67,
"avg_line_length": 26.276923076923076,
"alnum_prop": 0.620023419203747,
"repo_name": "mick-d/nipype",
"id": "4f12e08cfc8dafa9dd7885e5e570ca051e9e0eeb",
"size": "1762",
... |
require 'spec_helper'
require 'heroku_buildpack_scale'
module HerokuBuildpackScale
describe Scale, :local do
let(:scale) { Scale.new }
let(:ruby_url) { 'https://github.com/heroku/heroku-buildpack-ruby.git' }
let(:java_url) { 'https://github.com/heroku/heroku-buildpack-java.git' }
describe '#weight_i... | {
"content_hash": "44e67586b064a99b585ba32dac8b95da",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 76,
"avg_line_length": 30.727272727272727,
"alnum_prop": 0.650887573964497,
"repo_name": "golmansax/heroku-buildpack-scale",
"id": "39f67310dc51ad4945450d60795c4ab71bb8dc62",... |
sap.ui.define(['sap/ui/core/mvc/Controller'],
function (Controller) {
'use strict';
var MainController = Controller.extend('appUnderTest.view.Main', {
onFirstDialogPress: function () {
if (this.dialogWithErrors) {
this.dialogWithErrors.open();
} else {
var dialog = new sap.m.Dialog({
id: 'dialog... | {
"content_hash": "208b671c1633c055b79dc35affa3ef33",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 70,
"avg_line_length": 26.203389830508474,
"alnum_prop": 0.6060802069857697,
"repo_name": "cschuff/openui5",
"id": "5f0666422e9f470c1b8d3829b1966df3b5d6b0cf",
"size": "1546... |
<?php
class MageTest_PHPUnit_Framework_TestCaseTest
extends MageTest_PHPUnit_Framework_TestCase
{
public function testMocksModel()
{
$this->assertInstanceOf(
'Mage_Sales_Model_Order',
$this->getModelMock('sales/order'));
}
public function testMocksResourceModel()
... | {
"content_hash": "e69c070eae35a91e64122b359d6e009d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 56,
"avg_line_length": 25.060606060606062,
"alnum_prop": 0.5973397823458283,
"repo_name": "MageTest/Mage-Test",
"id": "8e9a14b10c98b7c5c8e462a35270489ae0882bf1",
"size": "8... |
package com.banadiga.caching.service;
import lombok.extern.slf4j.Slf4j;
import com.banadiga.caching.dto.Item;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import java.math.BigInteger;
import ... | {
"content_hash": "81109a4c464423c03d0419ab92631e93",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 90,
"avg_line_length": 26.558139534883722,
"alnum_prop": 0.7373029772329247,
"repo_name": "banadiga/sandbox",
"id": "829f9ff3554c14b0b773f716b2c9f4659dd4d0cb",
"size": "114... |
using namespace std;
using namespace boost;
using namespace boost::assign;
using namespace json_spirit;
void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out, bool fIncludeHex)
{
txnouttype type;
vector<CTxDestination> addresses;
int nRequired;
out.push_back(Pair("asm", scriptPubKey.ToStrin... | {
"content_hash": "4a0d9ccbc16d8143b78aaa6992193bbc",
"timestamp": "",
"source": "github",
"line_count": 549,
"max_line_length": 143,
"avg_line_length": 36.21493624772313,
"alnum_prop": 0.6018509204305402,
"repo_name": "darrenturn90/CloakCoin",
"id": "66bb93b028b1a4065943d7b3144e5f17d80ecd88",
"size... |
@interface GVUserDefaults (Properties)
@property (nonatomic) NSInteger highscore;
@end
| {
"content_hash": "4e6338244e98a433f1b1c348dfbabf0c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 42,
"avg_line_length": 17.8,
"alnum_prop": 0.797752808988764,
"repo_name": "luisfcofv/fly-butterfly",
"id": "c7bc5a7cb392fd934540d8fcf686c11a4249b01a",
"size": "271",
"bin... |
require 'minitest/autorun'
require 'mocha/mini_test'
require 'fakeweb'
require 'ap'
require File.expand_path('../../lib/sheet_mapper', __FILE__)
Dir[File.expand_path("../test_helpers/*.rb", __FILE__)].each { |f| require f }
FakeWeb.allow_net_connect = false
Mocha::Configuration.prevent(:stubbing_non_existent_method) | {
"content_hash": "b3ec78186cb7cff58ffdd488d14ca4dc",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 78,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.7169811320754716,
"repo_name": "nesquena/sheet_mapper",
"id": "bbfd0d74e6b48b8496e90a7e8744600e142298a5",
"size": ... |
"""
"""
__docformat__ = 'restructuredtext'
__version__ = '$Id: //depot/task/DEV-99/client/tests.py#13 $'
import sys
sys.path.insert(0, '../../')
sys.path.insert(0, '../layout/')
from pyglet.window import *
from pyglet import clock
from pyglet.gl import *
from pyglet import media
import layout
from wydget import G... | {
"content_hash": "ea2577e2ba23633644007198f96550ec",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 77,
"avg_line_length": 28.46946564885496,
"alnum_prop": 0.5707199356482102,
"repo_name": "bitcraft/pyglet",
"id": "ad17a7776d0fe148adf317db2f0a0deacbe4e80f",
"size": "7482... |
#ifndef __NMR_MODELREADERNODE_SLICE1507_VERTICES
#define __NMR_MODELREADERNODE_SLICE1507_VERTICES
#include "Model/Reader/NMR_ModelReaderNode.h"
#include "Model/Classes/NMR_ModelComponent.h"
#include "Model/Classes/NMR_ModelComponentsObject.h"
#include "Model/Classes/NMR_ModelObject.h"
#include "Model/Classes/NMR_Mod... | {
"content_hash": "144292d75cfc5779dfe70a867163902e",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 130,
"avg_line_length": 33.354838709677416,
"alnum_prop": 0.7804642166344294,
"repo_name": "3MFConsortium/lib3mf",
"id": "3fbd90caf8b54e6d08c45c7523439668a93b2f54",
"size":... |
Rails.application.routes.draw do
resources :usuarios
mount Tematica::Engine => '/tematica', as: 'engine_tematica'
end
| {
"content_hash": "8fd71f2f9babef6e3c976a206fa63589",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 62,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.7338709677419355,
"repo_name": "Soluciones/tematica",
"id": "a390628ee5a2009dab3b130be9615feece0cef33",
"size": "1... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "32033099398ba6ab16c640bd1d2993b9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "d54a4ba8a78d9fc4f9f1a8ec9ae83075b6389cab",
"size": "18... |
#pragma once
#ifndef _WIN32
#include <sys/file.h>
#else
#define LOCK_SH 1
#define LOCK_EX 2
#define LOCK_NB 4
#define LOCK_UN 8
extern "C" int flock(int fd, int operation);
#endif
| {
"content_hash": "63ff6d7cc2f9e3f8bb2adc1e93b8361a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 44,
"avg_line_length": 14.076923076923077,
"alnum_prop": 0.7049180327868853,
"repo_name": "facebook/folly",
"id": "a622f459a21e883adbc25dff029c4bdda205d3ff",
"size": "801",... |
<!--This file is generated-->
# remark-lint-ordered-list-marker-style
[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
[![Sponsors][sponsors-badge]][collective]
[![Backers][backers-badge]][collective]
[![Chat][chat-badge]][ch... | {
"content_hash": "1d77ed437059517a1f560c42182048a3",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 155,
"avg_line_length": 22.923333333333332,
"alnum_prop": 0.7059764432165189,
"repo_name": "wooorm/mdast-lint",
"id": "e790e9ca80d5c7dc81643c1399e1e3e6d064a25f",
"size": "... |
import assert from "assert";
import React from "react";
import { ConfigRepository } from "repository/ConfigRepository";
describe("repository/ConfigRepository", () => {
it("save/get", async () => {
const database = new Map();
const repository = new ConfigRepository(database);
const config = {
oauth:... | {
"content_hash": "5bb31dfe980c0246643c198c7b12c64b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 63,
"avg_line_length": 26.625,
"alnum_prop": 0.5903755868544601,
"repo_name": "mkwtys/ghdash",
"id": "cc0e3a4cde9f1f504fa2f166df6afaedef8cc720",
"size": "852",
"binary": ... |
This is a tool that reads the structure of an existing database and generates
the appropriate SQLAlchemy model code, using the declarative style if
possible.
This tool was written as a replacement for
`sqlautocode <http://code.google.com/p/sqlautocode/>`_, which was suffering
from several issues (including, but not li... | {
"content_hash": "3e96c6e0380bb53d9ef8687183cdaefd",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 124,
"avg_line_length": 29.311475409836067,
"alnum_prop": 0.7290268456375839,
"repo_name": "rflynn/sqlacodegen",
"id": "50f060409f6c888b819e2f3aa4f9f8a1b23b6914",
"size": ... |
from zope.interface import implementer
from twisted.internet.interfaces import IProtocol
from minerstat.utils import Config
from typing import Tuple, Union
from urllib import parse
import treq
from typing import Dict, Optional
import platform
from twisted.logger import Logger
from twisted.plugin import getPlugins
from ... | {
"content_hash": "25fcecd7c067475306569a7761a0503d",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 76,
"avg_line_length": 34.136054421768705,
"alnum_prop": 0.5609804703068951,
"repo_name": "dpnova/pynerstat",
"id": "c0e145d03320b95584671e1c4e225a7fd9bd22e9",
"size": "50... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("_1... | {
"content_hash": "b992ec4e759124c2d4282a63b36e0906",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.638888888888886,
"alnum_prop": 0.7477224947442186,
"repo_name": "YoTsenkov/TelerikSoftwareAcademyHomeworks",
"id": "413d02d9bf8187d9050ae6ebf886e368... |
import * as Common from "cubitt-common";
import {PropertySetEvent} from "./PropertySetEvent";
import {EventType} from "./../EventType";
/**
* An event that was raised when a property of a model was set.
*/
export class ModelPropertySetEvent extends PropertySetEvent {
/**
* @param sourceId The RFC4122 v4 complian... | {
"content_hash": "21e2e367e0dcf2d610aa6940dab7405a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 131,
"avg_line_length": 30.428571428571427,
"alnum_prop": 0.7314553990610329,
"repo_name": "uu-cubitt/events",
"id": "e630093898eefadc5184e73a8026c49b08cf4b84",
"size": "10... |
namespace test_runner {
// Templetized wrapper around RenderFrameImpl objects, which implement
// the WebFrameClient interface.
template <class Base, typename P>
class WebFrameTestProxy : public Base {
public:
explicit WebFrameTestProxy(P p) : Base(p), base_proxy_(NULL) {}
virtual ~WebFrameTestProxy() {}
void... | {
"content_hash": "622d2fdef190043b7e8acf966f4f428a",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 80,
"avg_line_length": 38.76678445229682,
"alnum_prop": 0.6591012669765746,
"repo_name": "hgl888/chromium-crosswalk",
"id": "8f0336167d8455c376e83d4c6bc6d851979b8367",
"si... |

[](https://microbadger.com/images/tecnativa/doodba:latest "Get your own version badge on microbadger.com")
[;
var webpack = require('webpack');
module.exports =
{
entry:
{
popover_defaultfunctionality: __dirname + '/app/popover/defaultfunctionality/app.js',
popover_positioning: __dirname + '/app/popover/positioning/app.js',
popover_bottomposit... | {
"content_hash": "df6de0dd691c7fd456378d5ab8ebc033",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 125,
"avg_line_length": 67.94409937888199,
"alnum_prop": 0.6517963250754182,
"repo_name": "juannelisalde/holter",
"id": "fa8a09efa4f49add0272d07296282a5e8dd3a03f",
"size":... |
'use strict'
/* application libraries */
var db = require('../lib/database.js')
var immutable = require('../lib/immutable')
var jsonParseMulti = require('../lib/json-parse-multi')
var setId = require('../lib/set-id')
var stringifyObject = require('../lib/stringify-object')
/* public functions */
module.exports = immu... | {
"content_hash": "1445dea49942480ac3118e7bafdf40b7",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 413,
"avg_line_length": 35.58,
"alnum_prop": 0.6930860033726813,
"repo_name": "warncke/immutable-commerce",
"id": "79d793c305de8e3fe42e57d6db98e89026ab65e4",
"size": "3558... |
<?php
namespace OpenPasswd\Application;
use OpenPasswd\Core\Security;
use Symfony\Component\HttpFoundation\JsonResponse;
use OpenPasswd\Core\ErrorResponse;
class User extends AbstractApp implements ApplicationInterface
{
public function __construct(\Silex\Application $app)
{
parent::__construct($app... | {
"content_hash": "2d9cf2a376f488599745158d17911cff",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 121,
"avg_line_length": 34.02884615384615,
"alnum_prop": 0.5012715456343599,
"repo_name": "leblanc-simon/openpasswd",
"id": "ce5b33e3ee6c39676f4d7914eb1a26e5bb4ec914",
"si... |
begin
gem 'dm-core', '=0.9.5'
require 'dm-core'
rescue LoadError => e
require 'data_mapper'
end
require 'base64'
module Merb
module SessionMixin
def setup_session
before_value = cookies[_session_id_key]
request.session, cookies[_session_id_key] = Merb::DataMapperSession.persist(cookies[_session... | {
"content_hash": "6667baef18c36daab7e79a4cbf785bc4",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 143,
"avg_line_length": 25.554621848739497,
"alnum_prop": 0.6353173298257152,
"repo_name": "kad3nce/collective",
"id": "7a0eb0a2cec92cf7c59c5e84838f99dfc4b08c2a",
"size": ... |
package org.unitils.easymock.util;
import org.easymock.internal.matchers.Equals;
import org.unitils.reflectionassert.ReflectionComparator;
import org.unitils.reflectionassert.ReflectionComparatorFactory;
import org.unitils.reflectionassert.ReflectionComparatorMode;
/**
* An easy mock argument matcher to ... | {
"content_hash": "3b0c26441ecf3b8cf6906ec14bebb6b2",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 129,
"avg_line_length": 36.96825396825397,
"alnum_prop": 0.7093173035637613,
"repo_name": "arteam/unitils",
"id": "161b3b41a819c7da5976f36deffb54373e47e7af",
"size": "2939"... |
<?php
namespace PhpSpec\Runner;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use PhpSpec\Event;
use PhpSpec\Loader\Node\SpecificationNode;
/**
* Class SpecificationRunner
* @package PhpSpec\Runner
*/
class SpecificationRunner
{
/**
* @var \Symfony\Component\EventDispatcher\EventDisp... | {
"content_hash": "9acf6f7b0945f79dfa1d1908df4db02b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 99,
"avg_line_length": 24.983050847457626,
"alnum_prop": 0.6438263229308006,
"repo_name": "abdesselem/TestProject",
"id": "86ed97f65a1ccbfb88216d16e146ab9f0320a42c",
"size"... |
var models = require('../models');
var express = require('express');
module.exports = function(app) {
/**
* @api {get} /region Region list
* @apiName getRegion
* @apiGroup Region
*
*
* @apiSuccess {JSON} field title,region,status
* @apiError {JSON} field title,messages,errors,s... | {
"content_hash": "40f785466d60c31cd8d0c8095a1bc2a7",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 70,
"avg_line_length": 32.12,
"alnum_prop": 0.38549882385498824,
"repo_name": "zablon/BE-for-Gport",
"id": "f474e26aea29cdd5616dd7a6dbc4cea6158df7d4",
"size": "7227",
"b... |
class if2k_generator_textedit : public jdk_http_server_generator_html
{
public:
if2k_generator_textedit(
const char *prefix_,
jdk_html_style *style_,
const jdk_settings &settings_,
const char *settingname_of_file_to_edit,
const char *settingname_of_title
)
:
jdk_http_server_generator_... | {
"content_hash": "4e992d48651c9980c08889fbfc92001d",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 73,
"avg_line_length": 23.859154929577464,
"alnum_prop": 0.6711924439197167,
"repo_name": "jdkoftinoff/if2kv2",
"id": "8d3bbe124f446305b1571ff86a539bb941da6fc4",
"size": "1... |
package apiserversource
import (
"context"
"github.com/stretchr/testify/assert"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "knative.dev/eventing/pkg/apis/sources/v1"
"knative.dev/eventing/test/rekt/resources/apiserversource"
duckv1 "knative.dev/pkg/apis/duck/v1"
"knative.dev/reconciler-test/pkg/featur... | {
"content_hash": "9479f00a2d54193cde7cfd1e9c1cd84c",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 164,
"avg_line_length": 31.645569620253166,
"alnum_prop": 0.7412,
"repo_name": "knative/eventing",
"id": "89119b00caf6be277b47319056cbff1157604aa4",
"size": "3065",
"bina... |
namespace pdalboost {} namespace boost = pdalboost; namespace pdalboost
{
//////////////////////////////////////////////////////////////////////////
// default
//////////////////////////////////////////////////////////////////////////
namespace range_detail {
BOOST_RANGE_EXTRACT_OPTIONAL_TY... | {
"content_hash": "96ec85579d1fd59acc1697166e3ee979",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 78,
"avg_line_length": 29.487179487179485,
"alnum_prop": 0.37043478260869567,
"repo_name": "verma/PDAL",
"id": "3211a48e99920ef18585dee07cc2197fe407fe7a",
"size": "1900",
... |
package br.com.caelum.vraptor.blank;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.On... | {
"content_hash": "b3a51efab6793f84259404e9001d076d",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 66,
"avg_line_length": 20.794117647058822,
"alnum_prop": 0.7057991513437057,
"repo_name": "cccarmo/engsoft",
"id": "deacae2471ff59b6b77c748887fef9dd6ce69df9",
"size": "212... |
/**
* Command line tools for Asakusa flow DSL compiler.
*/
package com.asakusafw.lang.compiler.cli;
| {
"content_hash": "34b713e72284cb1a70672130f5d1e776",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 52,
"avg_line_length": 20.6,
"alnum_prop": 0.7281553398058253,
"repo_name": "akirakw/asakusafw-compiler",
"id": "6ad4db73cab08477e582735283d521d14a5ae274",
"size": "715",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Can. J. Bot. 45(3): 367 (1967)
#### Original name
Torula terrestris P.C. Misra, 1967
### Remarks
null | {
"content_hash": "843724e58a709ae766d359f007fe1bcf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 14.615384615384615,
"alnum_prop": 0.6789473684210526,
"repo_name": "mdoering/backbone",
"id": "748da4f8a38cb05f755d0e4ad7ec0c77d56f9c04",
"size": "24... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace Ghostly
{
internal class PhantomjsWrapper : IDisposable
{
private readonly string _exeName;
p... | {
"content_hash": "0e51ca23846025f9bdb27519b4e40a2d",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 127,
"avg_line_length": 29.04854368932039,
"alnum_prop": 0.48963903743315507,
"repo_name": "Diullei/Ghostly",
"id": "549fbfc7dc55dfb9bd07d222ce271036ff7dfac8",
"size": "29... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta chars... | {
"content_hash": "34c77baeba2a8b9ae5ea5049a59ec078",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 223,
"avg_line_length": 42.975,
"alnum_prop": 0.6013670738801629,
"repo_name": "geksgmbh/Project_Stiftung",
"id": "3784dc9506ac5f11836d930a6d9130f5c706c1e1",
"size": "6892... |
USE SyncServer_SharedImages;
# USE syncserver;
UPDATE FileIndex SET creationDate = Now() - INTERVAL 10 DAY + INTERVAL fileIndexId HOUR;
UPDATE FileIndex SET updateDate = creationDate;
| {
"content_hash": "c75ada37056a86ecef65063114251d35",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 88,
"avg_line_length": 46,
"alnum_prop": 0.7989130434782609,
"repo_name": "crspybits/SyncServerII",
"id": "9eac4efae254fc0630b435fef7b2cee29cd5737e",
"size": "184",
"binar... |
import { Component, OnInit } from '@angular/core';
import { GameService } from '../game.service';
import { Router } from '@angular/router';
@Component({
selector: 'app-new-game',
templateUrl: './new-game.component.html',
styleUrls: ['./new-game.component.scss']
})
export class NewGameComponent implements OnInit ... | {
"content_hash": "037af6ba18fbbb097388d7cf23d2ee0f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 59,
"avg_line_length": 22.473684210526315,
"alnum_prop": 0.6510538641686182,
"repo_name": "dhcode/angular-bingo-game",
"id": "63bc3465f42e8b323e4688cc7d206393e7b664f4",
"si... |
using UnityEngine;
using System.Collections;
public class CitizenInventory : MonoBehaviour {
private Resource resourceCarried;
private Warehouse warehouse;
private CitizenWork work;
public Resource resource{
get{
return resourceCarried;
}
set{
resourceCarried = value;
}
}
public Warehouse citW... | {
"content_hash": "2d9a3a8756ac4daa39ccc8af0b7ab1ee",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 96,
"avg_line_length": 20.5609756097561,
"alnum_prop": 0.7153024911032029,
"repo_name": "arturnista/buildergame",
"id": "1834dfeaaf79f24d21859705b129e12a515dad57",
"size": ... |
all:
convert irdebug_bb.png -geometry 500 irdebug_bb_lo.png
convert irdebug_schem.png -geometry 500 irdebug_schem_lo.png
| {
"content_hash": "58ec10c94a77e81d243ddb41988e33ba",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 61,
"avg_line_length": 41,
"alnum_prop": 0.7886178861788617,
"repo_name": "ScottDungan/arduino_irdump_example",
"id": "cfd025c53df269e8ea09c9bb990599edd0509b3d",
"size": "12... |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
namespace Com.Aspose.Cells.Model {
public class Legend {
public string Position { get; set; }
public LinkElement LegendEntries { get; set; }
public Area Area { get; set; }
public bool? AutoScaleFont { get;... | {
"content_hash": "93ae48f17573968cd86ca5232a8111c1",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 76,
"avg_line_length": 31.793650793650794,
"alnum_prop": 0.6010983524712931,
"repo_name": "farooqsheikhpk/Aspose_Cells_Cloud",
"id": "d50367790f038b4bc460dcbc7619e2059b795f36... |
<HTML><HEAD>
<TITLE>Review for Walking Dead, The (1995)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0114888">Walking Dead, The (1995)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Jam... | {
"content_hash": "3ba01f6e5699df00175d186c6ea68088",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 215,
"avg_line_length": 61.45977011494253,
"alnum_prop": 0.7420983729193941,
"repo_name": "xianjunzhengbackup/code",
"id": "3e89d8dc219807baf456d0d1541205f76c902174",
"size... |
package com.linkedin.thirdeye.dashboard.views.heatmap;
import com.linkedin.thirdeye.dashboard.views.CompareViewRequest;
public class HeatMapViewRequest extends CompareViewRequest {
}
| {
"content_hash": "d04e4fbb32032115bb0d5c3d942814c4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 64,
"avg_line_length": 20.88888888888889,
"alnum_prop": 0.8404255319148937,
"repo_name": "fx19880617/pinot-1",
"id": "8be1fb4c3946aefe88888cbe514724ba98f58680",
"size": "825... |
/usr/local/hadoop/bin/hdfs dfs -put /usr/local/spark/lib /spark
| {
"content_hash": "363995b4c0b08c0fa94b946065e95501",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 63,
"avg_line_length": 64,
"alnum_prop": 0.75,
"repo_name": "sk413025/dockerfiles",
"id": "f6af1c9e7bd4e476d466ecef88465c27e72dda80",
"size": "77",
"binary": false,
"cop... |
.class Lcom/android/internal/policy/impl/keyguard/KeyguardUpdateMonitor$BaiduBroadcastReceiver;
.super Landroid/content/BroadcastReceiver;
.source "KeyguardUpdateMonitor.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/policy/impl/keyguard/KeyguardUpdateMonit... | {
"content_hash": "cfe629d93b1ec49f68b0570381686e7f",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 268,
"avg_line_length": 40.5448275862069,
"alnum_prop": 0.7658615410784146,
"repo_name": "baidurom/devices-Coolpad8720L",
"id": "8e3517dc88033935951cf8cfaac7e28d1fd37e7f",
... |
import sys
import pytest
from mitmproxy.addons import termlog
from mitmproxy import log
from mitmproxy.tools.dump import Options
from mitmproxy.test import taddons
class TestTermLog:
@pytest.mark.usefixtures('capfd')
@pytest.mark.parametrize('outfile, expected_out, expected_err', [
(None, ['one', 'th... | {
"content_hash": "7482c0c48fc23830946d583bd18f5593",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 37.25925925925926,
"alnum_prop": 0.6123260437375746,
"repo_name": "laurmurclar/mitmproxy",
"id": "70c3a7f2c49a42dcf9b01766f26317dd05964a65",
"size": ... |
This section describes the life of a REST call.
Developer should have knownledge of
* [Django's URL Dispatcher](https://docs.djangoproject.com/es/1.9/topics/http/urls/)
* [Django Rest Framework's Viewsets](http://www.django-rest-framework.org/api-guide/viewsets/)
* [Django Rest Framework's Serializer](http://www.d... | {
"content_hash": "afc8f3abb96ac3d53737c907220f6977",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 785,
"avg_line_length": 40.083673469387755,
"alnum_prop": 0.6506287867216537,
"repo_name": "aml-development/ozp-backend",
"id": "6292be6f60986a2d6a54c25d158ffc498821efc6",
... |
package com.jenkov.iap.tcp;
/**
* Created by jjenkov on 01-02-2016.
*/
public class TCPSocketPool {
private TCPSocket[] pooledSockets = null;
private int pooledSocketCount = 0;
public TCPSocketPool(int maxPooledSockets) {
this.pooledSockets = new TCPSocket[maxPooledSockets];
}
public... | {
"content_hash": "be297757a7c142297879143d1df6a634",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 64,
"avg_line_length": 23.558823529411764,
"alnum_prop": 0.6392009987515606,
"repo_name": "jjenkov/iap-tools-java",
"id": "3cda7b2635da100c2b24cb8ffcfb2ad57d74cca5",
"size"... |
from __future__ import unicode_literals
from django.db import models, migrations
import uuid
import django.utils.timezone
import jsonfield.fields
class Migration(migrations.Migration):
dependencies = [
('backend', '0001_initial'),
]
operations = [
migrations.CreateModel(
nam... | {
"content_hash": "e14c5c91a7707fa1da59acd8ee894b7a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 114,
"avg_line_length": 35.611111111111114,
"alnum_prop": 0.5834633385335414,
"repo_name": "chaosmail/scoggle-web",
"id": "72b186857824c40acb53cc3ce84b52ca46ef3679",
"size"... |
@protocol userbuildVideo
-(void)userSelected;
-(void)videoSelected;
-(void)enableLoader;
-(void)disableLoader;
-(void)refreshList;
@end
@interface userBuildVideos : UIView <UIScrollViewDelegate,mediadetailDelegate>
{
UIScrollView *vl_scrollView;
SingleVideo *_SingleVideo;
int videoCount, con... | {
"content_hash": "26cb6f1a7dae948711723b31317ddba2",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 78,
"avg_line_length": 19.78205128205128,
"alnum_prop": 0.7252106286454958,
"repo_name": "KurianSaji/DASHBOARD---GSC",
"id": "a039acb2431ac92d4b6be4dbdc100c07038f87b2",
"si... |
@class FLEXProperty, FLEXMethodDescription;
NS_ASSUME_NONNULL_BEGIN
#pragma mark FLEXProtocol
@interface FLEXProtocol : NSObject
/// Every protocol registered with the runtime.
+ (NSArray<FLEXProtocol *> *)allProtocols;
+ (instancetype)protocol:(Protocol *)protocol;
/// The underlying protocol data structure.
@prop... | {
"content_hash": "644cc8af81fe554993e714e83d6bd4ce",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 150,
"avg_line_length": 43.26984126984127,
"alnum_prop": 0.7707263389581804,
"repo_name": "crazypoo/PTools",
"id": "30855358fe5f3abc8f15e824c700042085d688fe",
"size": "2914... |
package org.apache.hadoop.hbase.replication.regionserver;
import static org.apache.hadoop.hbase.wal.AbstractFSWALProvider.getArchivedLogPath;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.Collection;
... | {
"content_hash": "bd628ee06f634cc1dab2c6088d927883",
"timestamp": "",
"source": "github",
"line_count": 752,
"max_line_length": 100,
"avg_line_length": 38.035904255319146,
"alnum_prop": 0.7028633360137049,
"repo_name": "francisliu/hbase",
"id": "b6f2ee1e73133180ebfaee36ec6cd8952c9b15d9",
"size": "2... |
package txtfnnl.tika.sax;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.SAXException;
import java.util.Collections;
import java.util.HashSet;
import java.util.Set;
/**
* Extracts structured content from XML files following the NLM's arcive DTD 3.0 specification. The
* handler... | {
"content_hash": "b5bc41ed71ff24260d09fefedb678c3a",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 105,
"avg_line_length": 29.91005291005291,
"alnum_prop": 0.6058729877940916,
"repo_name": "fnl/txtfnnl",
"id": "9298a8375f3b6219bb3342ecc72dfd6501422067",
"size": "5653",
... |
{% extends 'templates/nhs_transaction_layout.html' %}
{% import 'includes/form_macros.html' as form_macros %}
{% block afterHeader %}
{% include "includes/service-headers/health-costs-checker.html" %}
{% endblock %}
{% block content %}
<style>
.panel__column{
background-color: #F8F8F8;
border-left-wi... | {
"content_hash": "486b28ea14f112925147b3a605e8f574",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 292,
"avg_line_length": 32.4375,
"alnum_prop": 0.6665382145150931,
"repo_name": "nhsbsa/HWHC_checker",
"id": "9d031af36d45f2ce309a2a9d9c01144ab2b4787f",
"size": "7788",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG SM-T670 Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/3.5 Chrome/38.0.2125.102 Safari/537.36</title>
<link rel="stylesheet" href=... | {
"content_hash": "198757687fd6a8854c8f562e4f678a5c",
"timestamp": "",
"source": "github",
"line_count": 1332,
"max_line_length": 920,
"avg_line_length": 41.12537537537538,
"alnum_prop": 0.5423793789590902,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "a78b9964a80794373617e7007325bedd7d... |
"""
Import legacy data from TIM (including households, ...).
An extension of :mod:`tim2lino <lino_xl.lib.tim2lino.tim2lino>`.
"""
from __future__ import unicode_literals
import datetime
from builtins import str
# from lino.utils import mti
from lino.api import dd, rt, _
from lino.utils.instantiator import create
f... | {
"content_hash": "6acc6b55b4d110eeee4915fd7c12a9be",
"timestamp": "",
"source": "github",
"line_count": 496,
"max_line_length": 80,
"avg_line_length": 36.01209677419355,
"alnum_prop": 0.49848841115216663,
"repo_name": "lino-framework/xl",
"id": "da1f318874ec4ac1c71498d2f1d9f7c8de31efcf",
"size": "1... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ba... | {
"content_hash": "7be79f76ee526acf1267a08d720ee201",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.19444444444444,
"alnum_prop": 0.7462792345854005,
"repo_name": "mkpetrov/Programming-Fundamentals-SoftUni-Jan2017",
"id": "0f431e286d0beecf847c3f8d7... |
//
// Created by Andrew Bartow on 12/14/16.
//
#ifndef OPENBADGE_BATTERY_H
#define OPENBADGE_BATTERY_H
/*
* Initializes the battery monitoring service.
*
* Depends on ADC already being initialized.
*/
void BatteryMonitor_init(void);
/*
* Returns the current supply voltage of the battery. Should be used in place... | {
"content_hash": "9abdb8192218219fc745b0052dde8751",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 110,
"avg_line_length": 23.227272727272727,
"alnum_prop": 0.7495107632093934,
"repo_name": "HumanDynamics/OpenBadge",
"id": "0904b7f6b0035706350513c24d6e407e68bedb1c",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="#edfafafa">
<item android:drawable="@drawable/treeview_second_level_green_bg"></item>
</ripple> | {
"content_hash": "6af626a3efac0211e0c34c2a3627dbc9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 77,
"avg_line_length": 44.8,
"alnum_prop": 0.7098214285714286,
"repo_name": "jvg637upv/TrivialAndroid",
"id": "ca193ba4a3c941557978d9ec15b6dbc227d76ae5",
"size": "224",
"b... |
Using Groups With FOSUserBundle
===============================
FOSUserBundle allows you to associate groups to your users. Groups are a
way to group a collection of roles. The roles of a group will be granted
to all users belonging to it.
.. note::
Symfony supports role inheritance so inheriting roles from grou... | {
"content_hash": "03e1555c967d5f443367b60ee56fc9ff",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 102,
"avg_line_length": 27.833333333333332,
"alnum_prop": 0.5409996333862886,
"repo_name": "xarisma/jc-xarisma-master.com",
"id": "218b0eadd0fde640af976fc6246b3fbff95599bb",... |
namespace swganh
{
namespace messages
{
struct CancelTicketResponseMessage : public BaseSwgMessage
{
uint16_t Opcount() const
{
return 3;
}
uint32_t Opcode() const
{
return 0xD6FBF318;
}
uint32_t message_flag; // 0 = success message, 1 = failure message
uint32_t ticket_... | {
"content_hash": "d41c149f350915fdd61aefa8bf94addc",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 70,
"avg_line_length": 19.294117647058822,
"alnum_prop": 0.6189024390243902,
"repo_name": "anhstudios/swganh",
"id": "44eb62a98a47949c5d8defef8e948214887999e1",
"size": "87... |
echo "Backing up previous nvim config"
webdev=0
if [ -f "${HOME}/.config/nvim/webdev.vim" ]; then
webdev=1
fi
# TODO not working for sum reason.
if [ -r "${HOME}/.config/nvim" ]; then
if [ -r "${HOME}/.dotfiles-bak/.nvim" ]; then
rm -rf ${HOME}/.dotfiles-bak/.nvim 2> /dev/null
fi
mv -f ${HOME}/.... | {
"content_hash": "d849a9e92bbb6beb5f3e0434385edaf3",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 163,
"avg_line_length": 28.0625,
"alnum_prop": 0.6798440979955457,
"repo_name": "Serubin/dotfiles",
"id": "2f12efad5fc58ebb5620197a7b04a279b2826549",
"size": "1927",
"bin... |
import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import * as actions from '../../actions';
import Stream from './presenter';
function mapStateToProps(state) {
const { user } = state.auth;
const { tracks, activeTrack } = state.track;
return {
... | {
"content_hash": "aaf2c20c10a776744de479b8710ff380",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 68,
"avg_line_length": 26.291666666666668,
"alnum_prop": 0.6751188589540412,
"repo_name": "koden-km/sc-react-redux",
"id": "394b1a71bb1ec6271accc753dccd33879f2d4ffc",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Editor PHP 2.0.7</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<base href="../">
<link rel="icon" href="images/favicon.ico"/>
<link rel="stylesheet" href="css/normalize.css">
<link rel="sty... | {
"content_hash": "80b75c00fbcd1c09091337ebc8fd88fd",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 203,
"avg_line_length": 48.324561403508774,
"alnum_prop": 0.6262479578870939,
"repo_name": "cloudfoundry-incubator/admin-ui",
"id": "498207ba9486ed1b74cae7493f17ff0c6cde4812... |
import Ember from 'ember';
// import SpacedogInitializer from 'dummy/initializers/spacedog';
import { module, test } from 'qunit';
let application;
module('Unit | Initializer | spacedog', {
beforeEach() {
Ember.run(function() {
application = Ember.Application.create();
application.deferReadiness();
... | {
"content_hash": "fd49d56d4d1092afabd0c7671ac8c6b9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 67,
"avg_line_length": 25.17391304347826,
"alnum_prop": 0.690846286701209,
"repo_name": "dubo-dubon-duponey/tsygan",
"id": "f16b7644ff3992ffed7883705e76797dcaac3e30",
"size... |
+++
Title = "Código de Conduta"
Type = "event"
Description = "Código de Conduta - devopsdays São Paulo 2019"
+++
## Código de conduta
O DevOpsDays é um evento sem fins lucrativos cujo principal objetivo é promover a troca de experiências entre as pessoas sobre a cultura DevOps no Brasil.
Este Código de Conduta será ... | {
"content_hash": "f1fd92273f4ab327f76bdaa9a8665a30",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 562,
"avg_line_length": 83.41666666666667,
"alnum_prop": 0.8085248085248086,
"repo_name": "gomex/devopsdays-web",
"id": "e41e90be91e578e10bb13eee166e28d0ead2cbaa",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.