text stringlengths 2 1.04M | meta dict |
|---|---|
require "aws-sdk-ec2"
# @param ec2_client [Aws::EC2::Client] An initialized EC2 client.
# @param key_pair_name [String] The name for the key pair and private
# key file.
# @return [Boolean] true if the key pair and private key file were
# created; otherwise, false.
# @example
# exit 1 unless key_pair_created?(
#... | {
"content_hash": "7a282ee3b62ce187a2c66350447dab4c",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 79,
"avg_line_length": 32.067669172932334,
"alnum_prop": 0.6830011723329426,
"repo_name": "awsdocs/aws-doc-sdk-examples",
"id": "62aa1de5beeabbda6c59d0906b34a349d8a2da62",
... |
<!-- saved from url=(0014)about:internet --><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<!-- Standard Head Part -->
<head>
<title>NUnit - Platform</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-US">
<link rel="styles... | {
"content_hash": "2225987216093093c944d182b9b2ee90",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 139,
"avg_line_length": 27.550161812297734,
"alnum_prop": 0.646070715376483,
"repo_name": "continuoustests/AutoTest.Net",
"id": "eb0170733b5f3cac7a52952f3fdf48dc41774012",
... |
<?php
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Debug\Debug;
$environment = (getenv('APP_ENVIRONMENT') !== false) ? getenv('APP_ENVIRONMENT') : 'dev';
$debug = (getenv('APP_DEBUG') !== false) ? (bool) getenv('APP_DEBUG') : true;
/**
* @var Composer\Autoload\ClassLoader
*/
$loader = ... | {
"content_hash": "c5e4ed37c5e2509036b606459354a86d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 135,
"avg_line_length": 30.818181818181817,
"alnum_prop": 0.671583087512291,
"repo_name": "Orbitale/EasyImpress",
"id": "8000b3ba805acae56732492fb199b7692f6cfe9f",
"size": ... |
using System.Collections.Generic;
using Robotlegs.Bender.Extensions.ViewManagement;
using Robotlegs.Bender.Extensions.ViewManagement.Impl;
using UnityEngine;
namespace Robotlegs.Bender.Framework.Unity.Extensions.ViewManagement.Impl
{
public class UnityParentFinder : IParentFinder
{
// Container contains container
... | {
"content_hash": "f04068add0211d7cc83be72a61b7f548",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 132,
"avg_line_length": 28.054794520547944,
"alnum_prop": 0.7255859375,
"repo_name": "robotlegs-sharp/robotlegs-sharp-framework",
"id": "b9124231ef04837aa34d295e47dcd9621e88f... |
.pure-paginator {
letter-spacing: -.31em;
*letter-spacing: normal;
*word-spacing: -.43em;
text-rendering: optimizespeed;
list-style: none;
margin: 0;
padding: 0
}
.opera-only :-o-prefocus, .pure-paginator {
word-spacing: -.43em
}
.pure-paginator li {
display: inline-block;
*di... | {
"content_hash": "37c98c41018d02ad43f576a97e38713d",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 73,
"avg_line_length": 18.9375,
"alnum_prop": 0.6336633663366337,
"repo_name": "AlexanderNZ/pure-website-refactor",
"id": "e1decf3be0981524192eb5e53e39c58ddd38c274",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc (1.8.0_60) on Wed Mar 30 11:39:21 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PlayHandler.NettyInvocation... | {
"content_hash": "7e01aa9474b8fb0e821d1a57969d6a1d",
"timestamp": "",
"source": "github",
"line_count": 397,
"max_line_length": 470,
"avg_line_length": 42.4382871536524,
"alnum_prop": 0.6631054131054132,
"repo_name": "play1-maven-plugin/play1-maven-plugin.github.io",
"id": "1b083b444478ff23a280797507... |
context('Secure routes', () => {
// '/about' - should provide access to admins
it('.about_access_admins()', () => {
cy.login('administrator')
cy.visit('/about')
cy.contains('Environment')
})
// '/about' - should not provide access to regular users
it('.about_access_regular_users()', () => {
c... | {
"content_hash": "22a401e12ebafab1a369e9f3574cba7a",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 67,
"avg_line_length": 30.048780487804876,
"alnum_prop": 0.612012987012987,
"repo_name": "nulib/avalon",
"id": "051189524a4aae9c8dd3e1bee1f0f5ab1c65ac66",
"size": "1232",
... |
"""distutils.dir_util
Utility functions for manipulating directories and directory trees."""
__revision__ = "$Id: dir_util.py 76956 2009-12-21 01:22:46Z tarek.ziade $"
import os
from distutils.errors import DistutilsFileError, DistutilsInternalError
from distutils import log
# cache for by mkpath() -- in addition t... | {
"content_hash": "1573b5dfab8f09ab3b06bb7b9094a0dd",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 78,
"avg_line_length": 37.27142857142857,
"alnum_prop": 0.6177334866487799,
"repo_name": "MalloyPower/parsing-python",
"id": "eddf3d294f7231e1ed834f191879315e889a163f",
"s... |
namespace ui {
class SlideAnimation;
} // namespace ui
namespace views {
class BubbleFrameView;
// BubbleDelegateView creates frame and client views for bubble Widgets.
// BubbleDelegateView itself is the client's contents view.
//
///////////////////////////////////////////////////////////////////////////////
clas... | {
"content_hash": "27fa2cf03c26860f5c3678fa058d38c5",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 80,
"avg_line_length": 34,
"alnum_prop": 0.7132352941176471,
"repo_name": "rogerwang/chromium",
"id": "75f6c16823f924d8c5af83e58ad05952aed6c8af",
"size": "5647",
"binary... |
namespace iTin.Export.Model
{
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Xml.Serialization;
[GeneratedCode("System.Xml", "4.0.30319.18033")]
[Serializable]
//[DebuggerStepThrough()]
[DesignerCategory("code")]
[XmlType(Namespace = "http://s... | {
"content_hash": "d525dd7f96a41f712e04eda664c9d072",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 90,
"avg_line_length": 29.6875,
"alnum_prop": 0.7052631578947368,
"repo_name": "iAJTin/iExportEngine",
"id": "18c0a09f3112539bf25a0ca6873c8a116538ec81",
"size": "476",
"b... |
package com.pi4j.io.gpio.trigger;
import java.util.List;
import com.pi4j.io.gpio.GpioPin;
import com.pi4j.io.gpio.GpioPinDigitalOutput;
import com.pi4j.io.gpio.PinState;
public class GpioSetStateTrigger extends GpioTriggerBase {
private final GpioPinDigitalOutput targetPin;
private final PinState targetP... | {
"content_hash": "b43fb2cc5a961e861d289e0642d5a93e",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 112,
"avg_line_length": 27.818181818181817,
"alnum_prop": 0.6947712418300653,
"repo_name": "starksm64/pi4j",
"id": "798ad134ef796f7566fc828303fdbfb365776aed",
"size": "2549... |
#ifndef itkBlueColormapFunction_h
#define itkBlueColormapFunction_h
#include "itkColormapFunction.h"
namespace itk
{
namespace Function
{
/**
* \class BlueColormapFunction
* \brief Function object which maps a scalar value into an RGB colormap value.
*
* \author Nicholas Tustison, Hui Zhang, Gaetan... | {
"content_hash": "9d74759c0e442e2c0b8ffe920e7e4308",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 79,
"avg_line_length": 28.262295081967213,
"alnum_prop": 0.7169373549883991,
"repo_name": "RayRuizhiLiao/ITK_4D",
"id": "2ac55c4b8d6787eb10e4c8c99584423f3019b6c9",
"size": ... |
var hyperspace = require('hyperspace');
var fs = require('fs');
var html = fs.readFileSync(__dirname + '/cat.html', 'utf8');
module.exports = function () {
return hyperspace(html, { key: 'data-key' }, function (row) {
return {
'.name': row.value.name,
'.lives': row.value.lives
... | {
"content_hash": "66cecc1d4338ef3af47d24c218158875",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 28.083333333333332,
"alnum_prop": 0.5489614243323442,
"repo_name": "substack/liver",
"id": "08574967e63544359eb09e6a211acd192bb6e200",
"size": "337",... |
(function() {
window.SimplePanorama = (function() {
SimplePanorama.modules = {};
SimplePanorama.use3DTransform = Modernizr.csstransforms3d && (navigator.userAgent.indexOf('Safari') < 0 || navigator.userAgent.indexOf('Chrome') > -1);
function SimplePanorama(options) {
var imgFile, pano, wrapperElem... | {
"content_hash": "a2de0cba9556c1b166b4db5ded2f6d3b",
"timestamp": "",
"source": "github",
"line_count": 451,
"max_line_length": 167,
"avg_line_length": 32.27272727272727,
"alnum_prop": 0.5365166609412573,
"repo_name": "TiloW/SimplePanorama",
"id": "80586c8b4d5e48e9ce5674fc8c181d94e659b5db",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Voxalia.ClientGame.EntitySystem;
using Voxalia.Shared;
namespace Voxalia.ClientGame.NetworkSystem.PacketsIn
{
public class LoseControlOfVehiclePacketIn : AbstractPacketIn
{
public o... | {
"content_hash": "2db7090e0630d5fa0dd45c9e7e609281",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 145,
"avg_line_length": 34.56410256410256,
"alnum_prop": 0.599406528189911,
"repo_name": "Morphan1/Voxalia",
"id": "9269bf35ce7a064d7dfc33f111aece430b8c9c9c",
"size": "1640... |
package fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.pesv;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.logging.Logger;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
... | {
"content_hash": "7f7ccf48e3f3f0576501fc8ca600ae1e",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 134,
"avg_line_length": 34.09349593495935,
"alnum_prop": 0.7498509598187671,
"repo_name": "Bibliome/alvisnlp",
"id": "1439b747e2aaad820b20fd8ab99caeec3dcdff44",
"size": "8... |
The DataTorrent Console (aka dtManage) is a web-based user interface that allows you to monitor and interact with the DataTorrent platform running on your Hadoop cluster. It is a web-based dashboard that is served by the DataTorrent Gateway, and has five areas: configuration, monitoring, development, and , visualizatio... | {
"content_hash": "1b0edfd4793637a3997318e091602b1e",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 507,
"avg_line_length": 57.395833333333336,
"alnum_prop": 0.7891107078039927,
"repo_name": "chinmaykolhatkar/docs",
"id": "9dd1723d20645807288880c63b299dc6b12e954e",
"size... |
(function() {
'use strict';
var module = angular.module('bk.notebook');
module.directive('bkCodeCell', function(
bkUtils,
bkEvaluatorManager,
bkCellMenuPluginManager,
bkSessionManager,
bkCoreManager,
$timeout) {
var notebookCellOp = bkSessionManager.getNotebookCellOp();... | {
"content_hash": "d160d62c32a38911194eef3c9d5eb779",
"timestamp": "",
"source": "github",
"line_count": 512,
"max_line_length": 138,
"avg_line_length": 33.79296875,
"alnum_prop": 0.5257195699919085,
"repo_name": "brosander/beaker-notebook",
"id": "a773cdacce9f4fd2ed4dee2d5d93d39e2f4fe576",
"size": ... |
ThroughBox
| {
"content_hash": "48d670d66839678b5e6e13d7bf7cf88a",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 10,
"avg_line_length": 11,
"alnum_prop": 0.9090909090909091,
"repo_name": "yazver/throughbox",
"id": "1336229ce25acde0b8190f9e5fcf3d7942d70ac9",
"size": "24",
"binary": fa... |
class CreateUsers < ActiveRecord::Migration[5.1]
def change
create_table :users do |t|
t.string :username
t.string :password_digest
t.timestamps
end
end
end
| {
"content_hash": "4e75659b1d353f0c99c96c92830c0805",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 48,
"avg_line_length": 16.333333333333332,
"alnum_prop": 0.6275510204081632,
"repo_name": "xyn12/sinatra-fladdit-project",
"id": "cd3813f38e698ffa7c969c164d14463abcd5fcef",
... |
struct sample_state {
struct wl_display *display;
struct compositor_state *compositor;
struct wlr_xcursor_manager *xcursor_manager;
struct wlr_cursor *cursor;
double cur_x, cur_y;
float default_color[4];
float clear_color[4];
struct wlr_output_layout *layout;
struct wl_list devices;
struct timespec last_frame... | {
"content_hash": "e8160eb9be6d9e1e1c9452758b6d536c",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 89,
"avg_line_length": 32.099216710182766,
"alnum_prop": 0.7130307467057101,
"repo_name": "ascent12/wlroots",
"id": "a6080716318e1140b6f76e20bfd93a61f4378764",
"size": "12... |
/* IupFill: Example in C
Uses the Fill element to horizontally centralize a button and to justify it to the left and right.
*/
#include <stdlib.h>
#include <stdio.h>
#include <iup.h>
int main(int argc, char **argv)
{
/* IUP handles */
Ihandle *frame_left;
Ihandle *frame_right;
Ihandle *frame_center;
Iha... | {
"content_hash": "b060d7febbe56ca31fa423e855feb1f2",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 101,
"avg_line_length": 19.154761904761905,
"alnum_prop": 0.5835922933499068,
"repo_name": "ivanceras/iup-mirror",
"id": "83ba6b0e49a9058c82e325b1b91dc7a27f2ec658",
"size":... |
#include "config.h"
#if ENABLE(SVG)
#include "SVGForeignObjectElement.h"
#include "Attribute.h"
#include "CSSPropertyNames.h"
#include "NodeRenderingContext.h"
#include "RenderSVGForeignObject.h"
#include "RenderSVGResource.h"
#include "SVGElementInstance.h"
#include "SVGLength.h"
#include "SVGNames.h"
#include <wt... | {
"content_hash": "0f14a35f1df7d137ead0bdd4372a54de",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 143,
"avg_line_length": 38,
"alnum_prop": 0.7517482517482518,
"repo_name": "yoavweiss/RespImg-WebCore",
"id": "f2376aff29ccdb2cec95747fb9c1e1e12eb7f8d3",
"size": "6331",
... |
package com.google.android.exoplayer2.text.ttml;
import static android.graphics.Color.BLACK;
import static android.graphics.Color.WHITE;
import static com.google.android.exoplayer2.text.ttml.TtmlStyle.STYLE_BOLD;
import static com.google.android.exoplayer2.text.ttml.TtmlStyle.STYLE_BOLD_ITALIC;
import static com.goog... | {
"content_hash": "da9ac276e499bc2cf3d64b7be7531398",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 99,
"avg_line_length": 34.40425531914894,
"alnum_prop": 0.7351061636775923,
"repo_name": "KiminRyu/ExoPlayer",
"id": "4c35e259ffeca9118d9475bfaebd02e8fbfb9a41",
"size": "5... |
package androidx.core.view;
import android.content.Context;
import android.content.res.Resources;
import android.os.Build;
import android.util.Log;
import android.util.TypedValue;
import android.view.ViewConfiguration;
import androidx.annotation.DoNotInline;
import androidx.annotation.NonNull;
import androidx.annot... | {
"content_hash": "9cedd5ec75e61e310f94a0da85c83c32",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 99,
"avg_line_length": 35.258426966292134,
"alnum_prop": 0.6574251115360102,
"repo_name": "androidx/androidx",
"id": "628a379af96347fa6af131eeda133e885c377a7a",
"size": "6... |
package org.apache.shardingsphere.example.db.discovery.spring.namespace.jdbc.entity;
import java.io.Serializable;
public class Address implements Serializable {
private static final long serialVersionUID = 4743102234543827855L;
private Long addressId;
private String addressName;
... | {
"content_hash": "ee66e610932b83f9176c86623227ce20",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 89,
"avg_line_length": 22.942857142857143,
"alnum_prop": 0.6612702366127023,
"repo_name": "apache/incubator-shardingsphere",
"id": "e347f9be6fd700f50ee96a0c254ca9944449455c",... |
<!DOCTYPE html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="stylesheet" href="style/global.css">
<title>This is demo</title>
</head>
<body>
<h1> hello world </h1>
<script src="lib/require.js" data-main="src/mai... | {
"content_hash": "6d78bb6932b6eafd994e1acec867693f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 90,
"avg_line_length": 24.714285714285715,
"alnum_prop": 0.638728323699422,
"repo_name": "vastwu/vast-project",
"id": "1dac343e75a920083fcccf851da752a3c938e936",
"size": "3... |
.class Lcom/android/server/NsdService$NsdStateMachine;
.super Lcom/android/internal/util/StateMachine;
.source "NsdService.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/NsdService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
access... | {
"content_hash": "38809f60ba82acab7ddd54e989f37a78",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 159,
"avg_line_length": 41.548780487804876,
"alnum_prop": 0.7857352509539184,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "c04a08d90db275bf2d59680752d71a046cdacca4",
"siz... |
title: ahp30
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: p30
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
... | {
"content_hash": "a6138a45a7dba8592defeba3bdb975e3",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 61,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6656716417910448,
"repo_name": "pblack/kaldi-hugo-cms-template",
"id": "a074a15c8ad71aa00b12df3c96467b9b32229abf",
... |
package org.fxapps.bpms.local.bc;
import java.io.IOException;
import java.io.InputStream;
import org.drools.core.io.impl.UrlResource;
import org.junit.Test;
import org.kie.api.KieServices;
import org.kie.api.builder.KieModule;
import org.kie.api.builder.KieRepository;
import org.kie.api.runtime.KieContainer;
import o... | {
"content_hash": "594da107a8c88cd2ad5e27b68c944f03",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 129,
"avg_line_length": 37.97959183673469,
"alnum_prop": 0.7571198280494358,
"repo_name": "jesuino/bpms6-examples",
"id": "e527ff215b216bf792ed21aa42a34a7bddb3c91f",
"size"... |
(function() {
/*
* Utils
* Let's start by defining some useful functions
*/
var Utils = {};
/*
* Utils.cloneObject
* Create an immutable copy of a given object
*/
Utils.cloneObject = function(object) {
var result = {};
for(var key in object) {
if(object.hasOwnProperty(key)) {
... | {
"content_hash": "8ae755e6b7de4fb81bbad7a8882a981c",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 114,
"avg_line_length": 24.44632768361582,
"alnum_prop": 0.5763808643401895,
"repo_name": "rbelouin/bacon-routes",
"id": "6501246d6b3f824b29495d93d8c8113ebe616f28",
"size"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
namespace LocalReportsEngine.RdlElements
{
public class RdlDataSource
{
[XmlAttribute]
public string Name { get; set; }
public string Transaction { get; set; }
... | {
"content_hash": "b068546b853a3123a0b337b0389fa62d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 73,
"avg_line_length": 22.65,
"alnum_prop": 0.6931567328918322,
"repo_name": "taspeotis/LocalReportsEngine",
"id": "dd7e7048632951b2b7f447cd1ffabfb57b2cad05",
"size": "455"... |
console.log(libraryName)
| {
"content_hash": "ef133310c80e4a0991a1a72dcfa79f57",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 24,
"avg_line_length": 25,
"alnum_prop": 0.84,
"repo_name": "kiriakosv/learn-vanilla-javascript",
"id": "6de483bf47f53fc3de9695702f39c4fcf68ab0e6",
"size": "25",
"binary":... |
package graph
import "fmt"
type Node interface {
ID() int
Edges() []Edge
Degree() int
Neighbors(EdgeFilter) []Node
Hops(EdgeFilter) []*Hop
add(Edge)
drop(Edge)
dropAll()
index() int
setIndex(int)
setID(int)
}
var _ Node = (*node)(nil)
// NodeFilter is a function type used for assessment of nodes during ... | {
"content_hash": "e232dbe25ebf68667ffc41793beb3d00",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 115,
"avg_line_length": 23.352272727272727,
"alnum_prop": 0.6253041362530414,
"repo_name": "biogo/graph",
"id": "1a829441aee9515300f03ec3c9b8685b6130e646",
"size": "4276",... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/layout_inner_course_detail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/ti... | {
"content_hash": "0cc6efebbaf5d8459e973ef66c16c8c5",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 72,
"avg_line_length": 37.19512195121951,
"alnum_prop": 0.659016393442623,
"repo_name": "mgilangjanuar/GoSCELE",
"id": "3c494b2669064f19ca89fa3e03ec599cabaa75ba",
"size": "... |
import os
from headref import Head
from git.util import (
join,
join_path
)
__all__ = ["RemoteReference"]
class RemoteReference(Head):
"""Represents a reference pointing to a remote head."""
__slots__ = tuple()
_common_path_default = Head._remote_common_path_default
@classmethod
def it... | {
"content_hash": "64b35e16a9f1b4fb77d81bd85827c1e1",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 83,
"avg_line_length": 29.617021276595743,
"alnum_prop": 0.6968390804597702,
"repo_name": "Conjuro/GitPython",
"id": "d7bfc3e0f0ff71883584488ec16aa126e3df5a43",
"size": "13... |
@interface OrderViewController : UIViewController
@property(nonatomic,assign)NSInteger index;
@end
| {
"content_hash": "d1522e86b612cd7d6d5612dc81636abf",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 14.714285714285714,
"alnum_prop": 0.8155339805825242,
"repo_name": "18703212007/pjYiPinTongHang",
"id": "c7a3284d516a371abb343d10a9bc678980cd01ea",
"s... |
package com.amazonaws.services.serverlessapplicationrepository.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.serverlessapplicationrepository.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fa... | {
"content_hash": "2537dd1694cb69404d2e4a578c1524e9",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 136,
"avg_line_length": 46.40869565217391,
"alnum_prop": 0.6128911373430767,
"repo_name": "aws/aws-sdk-java",
"id": "511d4e6d82111b1c018f1c5288fbd9a754794bc8",
"size": "59... |
// DOMContentLoaded is fired once the document has been loaded and parsed,
// but without waiting for other external resources to load (css/images/etc)
// That makes the app more responsive and perceived as faster.
// https://developer.mozilla.org/Web/Reference/Events/DOMContentLoaded
window.addEventListener('DOMConten... | {
"content_hash": "0240323bb6531b630f0f7a8508bf0237",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 174,
"avg_line_length": 41.03636363636364,
"alnum_prop": 0.601019051838724,
"repo_name": "mozfreddyb/permissions-app",
"id": "bd2ade419a65f2522241a5316916d0a815a733c0",
"s... |
require 'spec_helper'
describe command('ruby --version') do
its(:exit_status) { should eq 0 }
end
describe command('gem --version') do
its(:exit_status) { should eq 0 }
end
| {
"content_hash": "470753c3cdfc1837cdbf3aca100785e4",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 37,
"avg_line_length": 19.88888888888889,
"alnum_prop": 0.6815642458100558,
"repo_name": "njam/vagrant-boxes",
"id": "90b95720b6d004de17d2e019baedab377de6e37d",
"size": "179... |
using UnityEngine;
using System.Collections;
public class LifeController : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| {
"content_hash": "363cca5f2a58149b05a78dfa0db587bf",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 45,
"avg_line_length": 14.066666666666666,
"alnum_prop": 0.6872037914691943,
"repo_name": "unstablesun/LifeX",
"id": "434111c74233b437638099e3d3d3dbef6bb3775c",
"size": "21... |
module IndexOrderHelper
def sortable_field(name, field, options = {}, html_options = {})
options.merge!({
:action => :index,
:index_order_field => field.to_s,
:index_order_direction => get_sortable_field_order(field.to_s)[:index_order_direction],
:filter ... | {
"content_hash": "70818a91b5a1411e407c1ae260fc3317",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 94,
"avg_line_length": 29.04,
"alnum_prop": 0.5922865013774105,
"repo_name": "eLafo/sortable_index_filters",
"id": "61b20111e8eb42d2b2b9d005f72d8d762889b0c9",
"size": "726"... |
{-# LANGUAGE DataKinds, ScopedTypeVariables,
TypeFamilies, FlexibleContexts #-}
module FRP.Basket.Signals.Switches where
import Data.HList hiding ((#))
import FRP.Basket.Signals
data Event e = Event e | NoEvent deriving (Show, Eq)
{- | Whenever the signal e occurs the handler function is called for t... | {
"content_hash": "7d9a26a73303cd15076b6788272b03f1",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 100,
"avg_line_length": 48.5,
"alnum_prop": 0.5293078055964654,
"repo_name": "jhstanton/Basket",
"id": "cbb43d7a20e782bfbefe7610ff11e1001f186057",
"size": "3395",
"binary... |
VPRJCONV ;V4W/DLW,KRM/CJE -- Conversion routine to make conversions to JDS data that has changed
;
QUIT ; Should not be called from the top
;
; This routine should be run at every site that was running JDS before the conversion to the new metastamp
; This routine makes extensive use of ^TMP. This is used as a tem... | {
"content_hash": "50353ce06ecd9070c53580717509c1ac",
"timestamp": "",
"source": "github",
"line_count": 484,
"max_line_length": 141,
"avg_line_length": 38.336776859504134,
"alnum_prop": 0.6561573699811372,
"repo_name": "KRMAssociatesInc/JDS-GTM",
"id": "e7aafa1ca5d9dcdca00a86bc1121c45b39eaa5cb",
"s... |
package im.actor.server.session
import java.util.concurrent.TimeUnit
import akka.actor.{ ActorLogging, ActorRef, Cancellable, Props }
import akka.stream.actor._
import com.typesafe.config.Config
import im.actor.api.rpc.{ RpcOk, UpdateBox, RpcResult ⇒ ApiRpcResult }
import im.actor.api.rpc.codecs.UpdateBoxCodec
import... | {
"content_hash": "42f6019a4ab906a6b9004aea58a5bf15",
"timestamp": "",
"source": "github",
"line_count": 472,
"max_line_length": 137,
"avg_line_length": 33.985169491525426,
"alnum_prop": 0.6760177046318808,
"repo_name": "ljshj/actor-platform",
"id": "3278c18193306b11167e5d0ec6cb0aa8a29d543d",
"size"... |
Settings
========
The following settings are Scrapy Cluster specific. For all other Scrapy settings please refer to the official Scrapy documentation `here <http://doc.scrapy.org/en/latest/topics/settings.html>`_.
Redis
-----
**REDIS_HOST**
Default: ``'localhost'``
The Redis host.
**REDIS_PORT**
Default: ``6379`... | {
"content_hash": "e100f8edc5293a9f2ca6366f3440eff7",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 416,
"avg_line_length": 25.74131274131274,
"alnum_prop": 0.7183140842957852,
"repo_name": "quixey/scrapy-cluster",
"id": "b379cd0996b2f81ff37f88f3dabe49bbd5e73e10",
"size"... |
// Copyright (c) 2014-2020, Justin Crawford <Justin@stacksmash.net>
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, t... | {
"content_hash": "8717ce693e4414a87cba182fc0583f15",
"timestamp": "",
"source": "github",
"line_count": 618,
"max_line_length": 188,
"avg_line_length": 48.81391585760518,
"alnum_prop": 0.6469320780985846,
"repo_name": "Justasic/libjustasic",
"id": "2665b319a250156927317a9911468bbfd6ccc550",
"size":... |
package com.arm.carp.pencil
import scala.collection.mutable.HashMap
import scala.collection.mutable.HashSet
/**
* Represents the call graph of the PENCIL program.
*
* Currently it support the following:
* - Check for recursion.
*/
class CallGraph {
private val graph = new HashMap[Function, HashSet[Func... | {
"content_hash": "a411729bd9a39f66e3a727ab79fa3116",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 85,
"avg_line_length": 22.703125,
"alnum_prop": 0.629043358568479,
"repo_name": "Meinersbur/pencil",
"id": "9682e77b199e7bb57126f2cb573003ba14ab6b1a",
"size": "2574",
"bi... |
function QuestionProgramWeightsModel(
id,
surveyQuestionId,
programId) {
var _self = this;
_self.Id = ko.observable(id);
_self.SurveyQuestionId = ko.observable(surveyQuestionId);
_self.ProgramId = ko.observable(programId);
}
function QuestionProgramWeights_ViewModel() {
... | {
"content_hash": "45ad401da2e2f6b30bb88a96c9b7dc93",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 216,
"avg_line_length": 40.62130177514793,
"alnum_prop": 0.5992716678805535,
"repo_name": "CloudMetal/Liveo.Deployment",
"id": "4235a0257b9871cb1b3e6fe9afd4a1e3b6071e0f",
... |
<html><head>
<title></title>
</head><body>
<div class="definition">
<h1>clip()</h1>
<h2>Syntax</h2>
<div class="row">
<pre>with clip(stencil, channel="alpha"):
</pre>
</div>
<h2>Description</h2>
<div class="row">
<p>Sets the clipping region for a block of drawing commands.
... | {
"content_hash": "b99d1a29aaf4520ca7d015ca4462a8be",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 502,
"avg_line_length": 42.08620689655172,
"alnum_prop": 0.6431790249897583,
"repo_name": "plotdevice/plotdevice-manual",
"id": "5d5b17f31ef16ef49a6a223ed8de5411e4e01eeb",
... |
:orphan:
.. Auto-generated by help-rst from "mirtk average-dofs -h" output
average-dofs
============
.. program:: average-dofs
Synopsis
--------
::
average-dofs <dofout> <dofin>... [options]
average-dofs <dofout> -dofnames <file> [options]
Description
-----------
.. include:: _descriptions/avera... | {
"content_hash": "19bd400884b1882a1c95eb9029a253ef",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 98,
"avg_line_length": 26.34078212290503,
"alnum_prop": 0.7003181336161187,
"repo_name": "stefanpsz/MIRTK",
"id": "374c7b20e02580c009b8d20f183cbebf2da8e3a0",
"size": "4715... |
import * as fs from 'fs';
import * as path from 'path';
import {AndroidSDK, Appium, Binary, BinaryMap, ChromeDriver, GeckoDriver, IEDriver, Standalone} from '../../lib/binaries';
import {Config} from '../../lib/config';
import {DownloadedBinary, FileManager} from '../../lib/files';
describe('file manager', () => {
... | {
"content_hash": "bcf97deb75c39cabd5e99a87b6233876",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 122,
"avg_line_length": 43.349264705882355,
"alnum_prop": 0.62674921550335,
"repo_name": "chrisgedrim/webdriver-manager",
"id": "97f3b437e068f3ffde2269a2cf75f7690a38715a",
... |
<?php
include($_SERVER['DOCUMENT_ROOT'].'\Includes\simple_html_dom.php');
$dir = $_SERVER['DOCUMENT_ROOT'].'\News\\';
foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir)) as $filename) {
$parts = pathinfo($filename);
if(is_file($filename) && $parts['extension'] == 'php' && $parts['basen... | {
"content_hash": "fdb120978eba26ed0b2bf24508db4fce",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 114,
"avg_line_length": 31.176470588235293,
"alnum_prop": 0.5056603773584906,
"repo_name": "stewarjs/code-bin",
"id": "69cf4a1b9adb9b535eb19ae3dd894ec44d725426",
"size": "1... |
<?php
namespace Symfony\Cmf\Component\Routing\NestedMatcher;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\Matcher\RequestMatcherInterface;
use Symfony\Cmf\Component\Routing\RouteProviderInterface;
/**
* A more flexib... | {
"content_hash": "f68083bcca37b27e6f33650636798b53",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 83,
"avg_line_length": 28.642857142857142,
"alnum_prop": 0.6075196623825053,
"repo_name": "timplunkett/Routing",
"id": "ecc11f858c46335723ae3f3d1988fafaca5b2b73",
"size": ... |
package org.wso2.am.integration.tests.other;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.json.JSONArray;
import org.json.JSONObject;
import org.testng.annotations.*;
import org.wso2.am.integration.test.utils.base.APIMIntegrationBaseTest;
import org.wso2.am.integrat... | {
"content_hash": "cd7d3f44e047d9cee5b0ca62cc21e375",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 135,
"avg_line_length": 52.67338709677419,
"alnum_prop": 0.6681466738115287,
"repo_name": "dhanuka84/product-apim",
"id": "dac8c1c85c437ed83e004d226183c55460f98c33",
"size... |
#include "bgfx_plugin_ui.h"
#include "pd_ui.h"
#include "pd_view.h"
//#include "api/plugin_instance.h"
//#include "core/plugin_handler.h"
//#include "core/alloc.h"
//#include "core/log.h"
//#include "core/math.h"
//#include "core/input_state.h"
//#include "core/plugin_io.h"
//#include "core/service.h"
//#include "ui_do... | {
"content_hash": "489baac401b6c824e7e4ed5b3d896ca3",
"timestamp": "",
"source": "github",
"line_count": 651,
"max_line_length": 161,
"avg_line_length": 28.781874039938558,
"alnum_prop": 0.47558307092917756,
"repo_name": "ashemedai/ProDBG",
"id": "54cb6b440bcff2063b0c6b0bcdc59f77c9a25e96",
"size": "... |
extern void mInstallLibrary_C();
extern void mInstallLibrary_ASM();
extern void mInstall_AMD_Math();
extern void mInstall_Library_SSE();
//--------------------------------------
ConsoleFunction( MathInit, void, 1, 10, "(detect|C|FPU|MMX|3DNOW|SSE|...)")
{
U32 properties = CPU_PROP_C; // C entensions are always ... | {
"content_hash": "f6e4aab5b0c44743f589c3e10a1d6ec2",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 84,
"avg_line_length": 22.372881355932204,
"alnum_prop": 0.531060606060606,
"repo_name": "John3/T3D_GMK_BULLET",
"id": "300515083ef2c3e9c31824317ddf7301e0f148ab",
"size": ... |
body { background: #333; }
#page-wrap:after { content: "Smartphone Layout"; }
h2 span, section h3 { display: none; }
body { font-size: xx-large; }
footer, input { font-size: large; }
span.right{
float:right;
} | {
"content_hash": "421a3ecfed6481b51ef3c3ed3644e9a6",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 50,
"avg_line_length": 24.5,
"alnum_prop": 0.5755102040816327,
"repo_name": "armero1989/quiz-2016",
"id": "1aea46d51baea733c53c4d3d2079e318814c6336",
"size": "245",
"bina... |
module.exports = Stream;
var U = require('./utility.js');
var StreamTransform = require('./StreamTransform.js');
var Display = require('./display/Display.js');
function Stream(data, d3lib) {
StreamTransform.call(this, data, d3lib);
this.displays = [];
}
Stream.prototype = Object.create(StreamTransform.prototype)... | {
"content_hash": "fe4a5c6e50465a3bfc0869d7b4fe6b1e",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 67,
"avg_line_length": 27.312,
"alnum_prop": 0.6086701816051553,
"repo_name": "debyte/desummary",
"id": "833e0472ec742805c7d1b902f26ab588f66ed93d",
"size": "3421",
"bina... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>ActiveRecord::TransactionIsolationError</title>
<meta http-equiv=... | {
"content_hash": "459cc33404c7efd8ed384a889cc89d48",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 215,
"avg_line_length": 24.756410256410255,
"alnum_prop": 0.541170378042465,
"repo_name": "alombardo4/Agendue",
"id": "dfe55fe7adf4668304eaaea32e8a07a280cfb13a",
"size": "1... |
<div class="row">
<div class="span4">
<div class="panel-transparent inner">
<div class="page-header">
<h4>用户登录</h4>
</div>
<form class="form-horizontal form-min" name="login">
<div class="control-group">
<label class="co... | {
"content_hash": "121f60c5d4385e1c73975c6b7bdded45",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 118,
"avg_line_length": 46.825,
"alnum_prop": 0.45381740523224773,
"repo_name": "20012002er/jsgen",
"id": "12e5461afc014c88c594d3a3492743fb286c1e8f",
"size": "1925",
"bin... |
/**
* <p>
* <fullname>Amazon Managed Workflows for Apache Airflow</fullname>
* <p>
* This section contains the Amazon Managed Workflows for Apache Airflow (MWAA) API reference documentation. For more
* information, see <a href="https://docs.aws.amazon.com/mwaa/latest/userguide/what-is-mwaa.html">What Is Amazon
... | {
"content_hash": "715dd662ae931080d932bc79fcd9a3f8",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 117,
"avg_line_length": 25.733333333333334,
"alnum_prop": 0.6236121391561806,
"repo_name": "aws/aws-sdk-java",
"id": "a717f677931fccebee20760ed251c9f062d761bf",
"size": "3... |
This file is a complete documentation of the file `beam.json` that is used to configure `beam`. Beam cannot operate without a valid `beam.json` file in the working directory, so creating one is a good place to start if you want to use `beam`.
If you are looking for an example configuration to get you started, look in ... | {
"content_hash": "a1ff73771eb7e470bb755e8638089d0b",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 472,
"avg_line_length": 59.390728476821195,
"alnum_prop": 0.7149866190900981,
"repo_name": "unclecheese/beam",
"id": "4602809f2778800bb8828084801085fbd703bb2c",
"size": "8... |
module ActsAsReviewable
# The named scopes are:
# in_order: Returns reviews in the order they were created (created_at ASC).
# recent: Returns reviews by how recently they were created (created_at DESC).
module Review
def self.included(review_model)
review_model.extend Finders
review_model.s... | {
"content_hash": "a6163d1201712127438fd6e294fd2ac8",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 80,
"avg_line_length": 28.393939393939394,
"alnum_prop": 0.6392742796157951,
"repo_name": "ac-adekunle/ds",
"id": "ea0f818e8c4a2c6ab1ac8995cf3a62570bb4a40c",
"size": "937",... |
package org.vrsl.jet.modeller.erd.editor.schema.view;
import java.awt.Color;
import java.awt.Font;
import java.awt.font.TextAttribute;
import java.util.Map;
abstract public class SchemaText extends SchemaRectangleElement {
private String text = null;
private String fontName = null;
private i... | {
"content_hash": "3c3a5fe151e1bd83591368916e7f1723",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 80,
"avg_line_length": 24.35593220338983,
"alnum_prop": 0.5901183020180932,
"repo_name": "vrsl/MDD-JPA",
"id": "29bc764b84877b6ca11807b79e2ad8dd2c62c24c",
"size": "2599",
... |
/**
*
* Utilities and implementations of functional logic.
*
*/
package com.ibm.streamsx.topology.logic;
| {
"content_hash": "eb58ab38efac5e349d04cf491be889b2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 53,
"avg_line_length": 14,
"alnum_prop": 0.6964285714285714,
"repo_name": "dlaboss/streamsx.topology",
"id": "2ad0f52f6556a8d3c659065dd6ce3df1aa06b87e",
"size": "186",
"bi... |
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinator"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#dcdcdc">
<a... | {
"content_hash": "e03555ee04a73ae0c484f623861585f3",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 107,
"avg_line_length": 42.07462686567164,
"alnum_prop": 0.621496984746364,
"repo_name": "jaksab/EasyNetwork",
"id": "7b6b3a518ba5f3363f0f6cbf0c147ade4367d835",
"size": "28... |
const { Class } = require('sdk/core/heritage');
const { EventTarget } = require("sdk/event/target");
const { emit } = require("sdk/event/core");
const { SSDP } = require("./ssdp");
//const { Device } = require("./device");
/**
* A class that (asynchronously) scans for available devices and sends corresponding notifi... | {
"content_hash": "4e5f20663a93a42bd6801583c3191c52",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 99,
"avg_line_length": 32.521126760563384,
"alnum_prop": 0.6929406669553919,
"repo_name": "openflint/matchstick-settings-firefox",
"id": "915c4fcf8cc18b76333b7b51d75e222f7fa9... |
html,
body {
height: 100%;
width: 100%;
}
body {
font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
hr {
border-color: #009688;
border-width: 3px;
max-width: 300px;
}
.bg-primary hr {
border-color: #FFFFFF;
border-width: 3px;
max-width: 300px;
}
header hr {
border-color: #FFFFFF;
border... | {
"content_hash": "4e009d08bcdbd00628dfdce0f67586de",
"timestamp": "",
"source": "github",
"line_count": 534,
"max_line_length": 160,
"avg_line_length": 22.06179775280899,
"alnum_prop": 0.6743909685086156,
"repo_name": "TechEducationPlusPlus/TechEducationPlusPlus.github.io",
"id": "51aeecb84e2925b5ca0... |
from django.contrib.syndication.views import Feed
from django.urls import reverse
from django.utils.translation import gettext_lazy as _
from .models import NewsItem
from danceschool.core.constants import getConstant
class LatestNewsFeed(Feed):
def title(self):
return _("%s Latest News" % getConstant('... | {
"content_hash": "362e144f4e32392646a3acd42ae6d501",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 89,
"avg_line_length": 27.085714285714285,
"alnum_prop": 0.6888185654008439,
"repo_name": "django-danceschool/django-danceschool",
"id": "957345873bf39ffa3837abb0edfa721ac0c1... |
package main
import (
"context"
"flag"
"os"
"os/signal"
"syscall"
"time"
"go-common/app/service/main/coin/conf"
"go-common/app/service/main/coin/server/gorpc"
grpc "go-common/app/service/main/coin/server/grpc"
"go-common/app/service/main/coin/server/http"
"go-common/app/service/main/coin/service"
ecode "g... | {
"content_hash": "432fabfafd952b9b9ad579ba12e572c6",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 83,
"avg_line_length": 23.216666666666665,
"alnum_prop": 0.6862885857860732,
"repo_name": "LQJJ/demo",
"id": "a0fed880bf9dc14bee7b7deefc6938dcc125beef",
"size": "1393",
"... |
#import "RCTScrollView.h"
#import <UIKit/UIKit.h>
#import "RCTConvert.h"
#import "RCTEventDispatcher.h"
#import "RCTLog.h"
#import "RCTUIManager.h"
#import "RCTUtils.h"
#import "UIView+Private.h"
#import "UIView+React.h"
#if !TARGET_OS_TV
#import "RCTRefreshControl.h"
#endif
@interface RCTScrollEvent : NSObject <... | {
"content_hash": "e3742239708d0f4831fb3cd8a10ca947",
"timestamp": "",
"source": "github",
"line_count": 911,
"max_line_length": 156,
"avg_line_length": 34.817782656421514,
"alnum_prop": 0.7104259276774173,
"repo_name": "skevy/react-native",
"id": "124f3a5b6d631c79d5b38a2dcd71d15406d1e968",
"size": ... |
// .NAME vtkQuadricDecimation - reduce the number of triangles in a mesh
// .SECTION Description
// vtkQuadricDecimation is a filter to reduce the number of triangles in
// a triangle mesh, forming a good approximation to the original geometry.
// The input to vtkQuadricDecimation is a vtkPolyData object, and only
//... | {
"content_hash": "a2e278893fde86f2b7602d33caa0ac90",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 85,
"avg_line_length": 36.15695067264574,
"alnum_prop": 0.7526975071313406,
"repo_name": "sgh/vtk",
"id": "cb507afdf24f537aea615335a4fca649bca77536",
"size": "8653",
"bi... |
import { LinkContainer } from 'react-router-bootstrap'
import { Navbar, Nav, NavItem } from 'react-bootstrap'
import React from 'react'
import { signIn, signUp } from 'routes'
const PublicHeader = () => (
<Navbar>
<Navbar.Header>
<Navbar.Brand>
<LinkContainer to='/'>
<a>Invoices</a>
... | {
"content_hash": "2d067e7a18964d4bfa7d5947420cede5",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 54,
"avg_line_length": 23.925925925925927,
"alnum_prop": 0.6068111455108359,
"repo_name": "danielmoraes/invoices-web-client",
"id": "541127752d9b07614c724f1b3aa9a6619921a925"... |
<?php
namespace Cake\View\Helper;
use Cake\Utility\Time;
use Cake\View\Helper;
use Cake\View\Helper\StringTemplateTrait;
/**
* Time Helper class for easy use of time data.
*
* Manipulation of time data.
*
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html
* @see \Cake\Utility\Time
*/
clas... | {
"content_hash": "4c83f23e39498d64a516ac26e430470b",
"timestamp": "",
"source": "github",
"line_count": 345,
"max_line_length": 122,
"avg_line_length": 38.791304347826085,
"alnum_prop": 0.7225584697003662,
"repo_name": "Numerico-Informatic-Systems-Pvt-Ltd/gsmpoly",
"id": "6b8c5b00382ddc1ee561ee2c502d... |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<!-- route ID should be equal to the route front name (https://github.com/magento/magento2/pull/11020) -->
<route id="prxgt" frontName="... | {
"content_hash": "292c83d53496e7739615ca37db93470b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 114,
"avg_line_length": 45.888888888888886,
"alnum_prop": 0.6440677966101694,
"repo_name": "praxigento/mobi_mod_mage2_core",
"id": "e5456a9a61b3521daff96a40e8572effb2039e69",
... |
<?php
require $_SERVER['DOCUMENT_ROOT'] . '/app/libs/uoj-lib.php';
require UOJContext::documentRoot().'/app/route.php';
require UOJContext::documentRoot().'/app/controllers/subdomain/blog/route.php';
include UOJContext::documentRoot().'/app/controllers'.call_user_func(function() {
$route = Route::dispatch();
$q_po... | {
"content_hash": "cdcc7f07ccbd004a647ba110fd0adbdc",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 81,
"avg_line_length": 25.6,
"alnum_prop": 0.621875,
"repo_name": "UniversalOJ/UOJ-System",
"id": "08506afe1ec4730ba46d59d8ba23a98ed8a6c159",
"size": "640",
"binary": fal... |
require 'spec_helper'
require_relative 'set_environment'
shared_examples 'add rating' do
include_context 'set environment'
it 'does not fail with cascadeCreate' do
req = described_class.new('u_id','i_id',1,{'cascadeCreate' => true,'additionalData' => {'answer' => 42}})
resp = @client.send(req)
end
it 'd... | {
"content_hash": "d8a95d563b9edc125de8da6478a6e1b0",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 109,
"avg_line_length": 35.19298245614035,
"alnum_prop": 0.6669990029910269,
"repo_name": "Recombee/ruby-api-client",
"id": "cde1511c1f0875e28f3a7e3b11a415a973bd2520",
"siz... |
<?php
namespace Google\AdsApi\AdWords\v201809\mcm;
/**
* This file was generated from WSDL. DO NOT EDIT.
*/
class PendingInvitationSelector
{
/**
* @var int[] $managerCustomerIds
*/
protected $managerCustomerIds = null;
/**
* @var int[] $clientCustomerIds
*/
protected $clientC... | {
"content_hash": "d44e79f154ea2d5173b14d2dd962294c",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 98,
"avg_line_length": 22,
"alnum_prop": 0.6323529411764706,
"repo_name": "googleads/googleads-php-lib",
"id": "b8ef886f783f389025e3be6a809034a47e27f79c",
"size": "1496",
... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator... | {
"content_hash": "4043c9e379aaa595bfe98541fe591aad",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 722,
"avg_line_length": 95.17424242424242,
"alnum_prop": 0.7400302475523363,
"repo_name": "yurikoma/PhysicsForGamesAIE_StudentWork",
"id": "d07beaba1963bbc550f6fe963d8755841... |
In this section, we present our algorithm for bootstrapping new examples
from expert demonstrations. At its core, the idea is simple: if we get
examples of new states that are able to successfully transfer a trajectory to,
we get a new example of a successful manipulation. We can use these examples
to transfer traject... | {
"content_hash": "2786051774309ca2f5fc1137bf579be3",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 442,
"avg_line_length": 73.3076923076923,
"alnum_prop": 0.7821915754759406,
"repo_name": "dhadfieldmenell/bootstrapping-lfd",
"id": "cd133fadf4fa644a081c9c0c1ffa0464f0e98973"... |
namespace extensions {
namespace {
const char kEnableMediaRouterExperiment[] = "EnableMediaRouter";
const char kEnableMediaRouterWithCastExtensionExperiment[] =
"EnableMediaRouterWithCastExtension";
const char kExtensionActionRedesignExperiment[] = "ExtensionActionRedesign";
class CommonSwitches {
public:
Com... | {
"content_hash": "d15916f8a679e11a59e73e591a5db88f",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 80,
"avg_line_length": 36.51643192488263,
"alnum_prop": 0.6775520699408588,
"repo_name": "Workday/OpenFrame",
"id": "f61781fbc6486bbfa63878fd7ba636f6644a5cbb",
"size": "81... |
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import cv2
import math
from keras.layers.core import Dense, Activation, Flatten, Dropout, Reshape, Lambda
from keras.activations import relu, softmax
from keras.layers.pooling import MaxPooling2D
from keras.layers.convolutional import Convolution2D... | {
"content_hash": "fa4fa885985bb4254a498cfc624d2d45",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 104,
"avg_line_length": 31.673076923076923,
"alnum_prop": 0.6460230722525805,
"repo_name": "olinguyen/self-driving-cars",
"id": "d1cc53a4544d06f65a2d24992fbc0b1aa1628273",
... |
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.terminal;
import com.google.common.collect.ImmutableList;
import com.intellij.execution.TaskExecutor;
import com.intellij.execution.configuration.En... | {
"content_hash": "e2bf9122a8c0926533a679a4a41d675f",
"timestamp": "",
"source": "github",
"line_count": 442,
"max_line_length": 140,
"avg_line_length": 35.93891402714932,
"alnum_prop": 0.6828454516839786,
"repo_name": "allotria/intellij-community",
"id": "7979123c3ecfc1ee19c0bf5a75f4a9de59515336",
... |
This is a PoC of an OpenFlow 1.0 controller I wrote in 2014 as part of
my concluding project for Bachelor of Science in Computer Science.
## Quick Start
$ ./bootstrap.sh
$ ./run.sh
| {
"content_hash": "c4b470186858f5581d5d009ac183e1b3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 70,
"avg_line_length": 27.285714285714285,
"alnum_prop": 0.7120418848167539,
"repo_name": "renatoaguiar/ljof",
"id": "67838893f0a5e9dc99da472f3d8a3d5131460455",
"size": "229... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "84d5f9498535610e2210fa314258b18d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "5e7a31287749bb2d1a20cdf45227e80185a545f2",
"size": "182... |
"use strict";
module.exports = function(
Promise, Promise$_CreatePromiseArray,
PromiseArray, apiRejection, INTERNAL) {
var ASSERT = require("./assert.js");
function Reduction(callback, index, accum, items, receiver) {
this.promise = new Promise(INTERNAL);
this.index = index;
t... | {
"content_hash": "4a70430f24f5cceae65c4be2cb10e237",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 78,
"avg_line_length": 30.662337662337663,
"alnum_prop": 0.5082592121982211,
"repo_name": "viniborges/designizando",
"id": "704a55ed02c00faf7ed9b2d8e0cbdde44fddc7e0",
"siz... |
num = input('Enter a number: ')
print num
if num > 0:
print 'The number is positive'
elif num<0:
print 'The number is negative'
else:
print 'The number is zero'
| {
"content_hash": "0649a5134e491272910ba61e7356c8ab",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 34,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.6551724137931034,
"repo_name": "MarsBighead/mustang",
"id": "7fd425f23a0f89b194ca52a02b8085db55106e59",
"size": "2... |
import copy
import itertools
import logging
import pymel.core as pymel
from collections import defaultdict
from omtk.core.utils import decorator_uiexpose
from omtk.libs import libCtrlShapes
from omtk.libs import libPymel
from omtk.libs import libPython
from omtk.libs import libRigging
from omtk.libs.libRigging import g... | {
"content_hash": "4110aa7cfe2983b64921a1115922ec55",
"timestamp": "",
"source": "github",
"line_count": 1807,
"max_line_length": 152,
"avg_line_length": 40.819590481460985,
"alnum_prop": 0.5814590366182671,
"repo_name": "SqueezeStudioAnimation/omtk",
"id": "5e695c5f937c34672964f4c256e9a919e9ffc3dc",
... |
Off the beaten path Las Vegas Circle Tour
| {
"content_hash": "e75c7f06be683028d7d154267335928d",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 41,
"avg_line_length": 42,
"alnum_prop": 0.8095238095238095,
"repo_name": "conniepokorny/lasvegastour",
"id": "603b5714e5618c9784632a7bb4fbb55080cf94c8",
"size": "57",
"bi... |
<!DOCTYPE html>
<html lang="en">
<head>
<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="">
<meta name="author" content="">
<title>Madurai Best Cabs</title>
... | {
"content_hash": "4392d9dabae3f1e28a1074b7001cff88",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 127,
"avg_line_length": 31.96276595744681,
"alnum_prop": 0.41987019470793807,
"repo_name": "maduraibestcabs/maduraibestcabs.github.io",
"id": "f5c6cbdc8a0c0a27e50a32d28f172e... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>kildall: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "7fcba42c3904257fd6a059a0461d1a3f",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 222,
"avg_line_length": 43.04705882352941,
"alnum_prop": 0.5552063405301995,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "48b8d90891e6208cc9fc918abc68a627218fd999",
... |
<?php
use Hubzero\Content\Migration\Base;
// No direct access
defined('_HZEXEC_') or die();
/**
* Migration script to fix character encoding on field (from past schema upgrade)
**/
class Migration2016090710350000ComBillboards extends Base
{
public function up()
{
if ($this->db->tableHasField('#__billboards_co... | {
"content_hash": "5a260754e387ab5285aa1072bc649621",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 109,
"avg_line_length": 20.37037037037037,
"alnum_prop": 0.6745454545454546,
"repo_name": "zweidner/hubzero-cms",
"id": "2197d4050049d734f9b02f7b4906a407bfc945e0",
"size": ... |
using System.Diagnostics.CodeAnalysis;
namespace System.Globalization
{
/// <summary>
/// Taiwan calendar is based on the Gregorian calendar. And the year is an offset to Gregorian calendar.
/// That is,
/// Taiwan year = Gregorian year - 1911. So 1912/01/01 A.D. is Taiwan 1/01/01
/// </summ... | {
"content_hash": "4eae13f4d2c44ba699b8ff8b5e27d3f3",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 141,
"avg_line_length": 30.939698492462313,
"alnum_prop": 0.549618320610687,
"repo_name": "mmitche/coreclr",
"id": "f3414d383a5ef0b153660f2681db76a292660753",
"size": "636... |
package com.softsynth.shared.time;
/**
* @author Phil Burk, (C) 2009 Mobileer Inc
*/
public class TimeStamp implements Comparable<TimeStamp> {
private final double time;
public TimeStamp(double time) {
this.time = time;
}
public double getTime() {
return time;
}
/**
... | {
"content_hash": "72305b1cfdcd66f709cc6e86a5dcd12f",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 62,
"avg_line_length": 19.833333333333332,
"alnum_prop": 0.5558223289315727,
"repo_name": "philburk/jsyn",
"id": "6d243ed8c5abcd1e6fd91380b90907630c654172",
"size": "1439",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ru">
<head>
<title>DrawingTableCell (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="... | {
"content_hash": "0e520876d5d0d197621b4ed544c15200",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 306,
"avg_line_length": 35.065891472868216,
"alnum_prop": 0.6359014037802586,
"repo_name": "pedro93/ifarmaStudents",
"id": "526aee6a28a8fce77241372d7960be509fdbf299",
"siz... |
package org.apache.bookkeeper.api.kv;
import org.apache.bookkeeper.api.kv.op.CompareOp;
import org.apache.bookkeeper.api.kv.op.CompareResult;
import org.apache.bookkeeper.api.kv.op.DeleteOp;
import org.apache.bookkeeper.api.kv.op.IncrementOp;
import org.apache.bookkeeper.api.kv.op.OpFactory;
import org.apache.bookkee... | {
"content_hash": "4cb90ba2d844be20bbff8f90bda84bfc",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 95,
"avg_line_length": 31.950819672131146,
"alnum_prop": 0.6906105695228322,
"repo_name": "apache/bookkeeper",
"id": "1fa79db7c8cb91066fbdcf0cd65f79f6081ce5ee",
"size": "27... |
FROM balenalib/iot-gate-imx8-fedora:35-build
ENV GO_VERSION 1.16.14
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "5e59056e36704acb25809bcdb27191f27593cb7aba4d716b523008135a1e764a go$GO_VERSION.linux-arm64.tar.gz" | sha256sum -c - \
&&... | {
"content_hash": "550036bcc17eb5474d921cb882de7bd2",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 672,
"avg_line_length": 63.774193548387096,
"alnum_prop": 0.7243297926150734,
"repo_name": "resin-io-library/base-images",
"id": "e712cc321e19c26b21fbe3170cdb9d2eaf4903cd",
... |
package io.mycat.ep.v1.order;
public final class OrderCartInfoHolder extends Ice.Holder<OrderCartInfo>
{
public
OrderCartInfoHolder()
{
}
public
OrderCartInfoHolder(OrderCartInfo value)
{
super(value);
}
}
| {
"content_hash": "2cf971ebbabaa78c9017211e5121f35f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 72,
"avg_line_length": 16.533333333333335,
"alnum_prop": 0.6653225806451613,
"repo_name": "MyCATApache/Mycat-openEP",
"id": "85f8791b0448abbb9ac34deeee8d0e43b72beb90",
"siz... |
package com.hyh.video.base;
import android.app.Application;
/**
* Created by Eric_He on 2019/7/14.
*/
public class AppContext extends Application {
@Override
public void onCreate() {
super.onCreate();
/*IntentFilter intentFilter = new IntentFilter(Intent.ACTION_SCREEN_OFF);
registe... | {
"content_hash": "451540b89eb24678f256847e3f78267e",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 90,
"avg_line_length": 28.833333333333332,
"alnum_prop": 0.6257225433526011,
"repo_name": "EricHyh/FileDownloader",
"id": "77d6d8b0811e0c7d253b0cb40adc37c0238e758b",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.