text stringlengths 2 1.04M | meta dict |
|---|---|
#include "config.h"
#include "core/fileapi/File.h"
#include "bindings/core/v8/ExceptionState.h"
#include "core/dom/ExceptionCode.h"
#include "core/fileapi/FilePropertyBag.h"
#include "platform/FileMetadata.h"
#include "platform/MIMETypeRegistry.h"
#include "platform/blob/BlobData.h"
#include "public/platform/Platfor... | {
"content_hash": "6ee1a57dffc982eda2428cbbc3218ab9",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 209,
"avg_line_length": 35.68926553672316,
"alnum_prop": 0.7221782491689093,
"repo_name": "Workday/OpenFrame",
"id": "5c8802b1d49f3b5e2053b0c127ae232e57dcd074",
"size": "1... |
using Microsoft.AspNetCore.Http;
using OrchardCore.Environment.Extensions.Features;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace OrchardCore.Environment.Cache.CacheContextProviders
{
public class FeaturesCacheContextProvider... | {
"content_hash": "317de8751b70aec01ab37c84c4993c4c",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 130,
"avg_line_length": 38.4468085106383,
"alnum_prop": 0.6502490315439956,
"repo_name": "lukaskabrt/Orchard2",
"id": "25600b41aedd1eabf2b67c75675bf5dbb13d5fcd",
"size": "1... |
declare namespace jdk {
namespace jfr {
class FlightRecorderPermission extends java.security.BasicPermission {
public constructor(arg0: java.lang.String | string)
}
}
}
| {
"content_hash": "011faaedc4ea98238d2cf702c164e18c",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 74,
"avg_line_length": 21,
"alnum_prop": 0.7142857142857143,
"repo_name": "wizawu/1c",
"id": "cc5a7fff0ff2499b41e1569620a17caffa96223c",
"size": "189",
"binary": false,
... |
#pragma once
#ifndef O3DGC_SC3DMC_DECODER_H
#define O3DGC_SC3DMC_DECODER_H
#include "o3dgcCommon.h"
#include "o3dgcBinaryStream.h"
#include "o3dgcIndexedFaceSet.h"
#include "o3dgcSC3DMCEncodeParams.h"
#include "o3dgcTriangleListDecoder.h"
namespace o3dgc
{
//!
template <class T>
class SC3DMCDecode... | {
"content_hash": "ee652b546c4f7409733ddfb51ac16eb4",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 109,
"avg_line_length": 51.472527472527474,
"alnum_prop": 0.3874893253629377,
"repo_name": "orefkov/Urho3D",
"id": "e6f803b94537e5d3c61211bd721e9129121cfb7e",
"size": "5777... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
<title>megnet.losses module — megnet 1.3.0 documentation</title>
<link rel="style... | {
"content_hash": "0b9dd8149d3cccff54b72edcf871091a",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 805,
"avg_line_length": 48.485074626865675,
"alnum_prop": 0.6412190241649992,
"repo_name": "materialsvirtuallab/megnet",
"id": "7084b6b42d6687950204dc1f8f378f5aab76389f",
... |
package com.mes.msgboard.controller;
import javax.validation.Validator;
import javax.validation.groups.Default;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import o... | {
"content_hash": "29977e22d8bbb9d5ea9d07f70c3e3811",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 158,
"avg_line_length": 49.9593023255814,
"alnum_prop": 0.7616664727103456,
"repo_name": "dhruba619/mes",
"id": "85a59598ba59e92796fe440d33bfae0bb65ee905",
"size": "8593",... |
[](http://badge.fury.io/gh/nekojira%2Fwp-api-menus) [](https://gitter.im/nekojira/wp-api-menus?utm_source=badge&utm_medium=badge&utm_campaign=pr-bad... | {
"content_hash": "5237f1906803e70126f0f6fc326c7f8b",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 393,
"avg_line_length": 76.0952380952381,
"alnum_prop": 0.7571964956195244,
"repo_name": "pjlamb12/wp-angular",
"id": "f016b7dd71550239e8ba223ad393b9e50ea09383",
"size": "1... |
angular.module('angularAppRoutes', ['ui.router'])
.config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) {
$stateProvider
.state('/', {
url: '/findGames',
templateUrl: 'angular_views/findGames.html',
controller: 'findGamesController'
})
... | {
"content_hash": "70a82f436483c0c504a512886e97e363",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 97,
"avg_line_length": 27.82758620689655,
"alnum_prop": 0.570631970260223,
"repo_name": "21tag/AngularRecess",
"id": "8810b8a828b6146959c0cf3be215ea75cc0d4231",
"size": "16... |
package uk.co.real_logic.sbe.examples;
import org.agrona.DirectBuffer;
import uk.co.real_logic.sbe.PrimitiveValue;
import uk.co.real_logic.sbe.ir.Encoding;
import uk.co.real_logic.sbe.ir.Token;
import uk.co.real_logic.sbe.otf.TokenListener;
import uk.co.real_logic.sbe.otf.Types;
import java.io.PrintWriter;
import ja... | {
"content_hash": "90c1556d9f3550917a631bebd178757e",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 120,
"avg_line_length": 29.92391304347826,
"alnum_prop": 0.5838479234774185,
"repo_name": "marksantos/simple-binary-encoding",
"id": "58a0124168367a18fd0acecd3da32730abf96ca... |
<?php
namespace App\Template;
use App\Model\AttendanceRecord;
class AttendanceTemplate
{
/**
* @var AttendanceRecord
*/
private $attendanceRecord;
public function __construct(AttendanceRecord $attendanceRecord)
{
$this->attendanceRecord = $attendanceRecord;
}
public funct... | {
"content_hash": "7e1f801c1400298476db1e5784831d77",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 67,
"avg_line_length": 19.505494505494507,
"alnum_prop": 0.4856338028169014,
"repo_name": "tpavlek/YEGVotes",
"id": "3ecc2154801017505bbd6f84041c4852a84ed1ec",
"size": "177... |
<!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" con... | {
"content_hash": "e405b1a0155a9b0ed767edf79b5b54cf",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 826,
"avg_line_length": 45.42245989304813,
"alnum_prop": 0.6351542265128326,
"repo_name": "xzessmedia/UE4AM",
"id": "f3cc239714146b704e5b3a8dbb1793038a6c0c3b",
"size": "84... |
angular.module(PKG.name + '.feature.streams')
.controller('StreamsCreateController', function($scope, MyCDAPDataSource, $modalInstance, caskFocusManager) {
caskFocusManager.focus('streamId');
var dataSrc = new MyCDAPDataSource($scope);
this.streamId = '';
this.createStream = function() {
d... | {
"content_hash": "4f1bb114a5b1fd004ee79af403d456ff",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 111,
"avg_line_length": 23,
"alnum_prop": 0.5757121439280359,
"repo_name": "mpouttuclarke/cdap",
"id": "dd8f44a0cf699829083717519b2cdf9a6822cc25",
"size": "1264",
"binary... |
layout: post
title: The Drumms
category: music
---
<p>Para iniciar el año, les comparto el disco homonimo The Drumms</p>
<p>https://itunes.apple.com/mx/album/the-drums/id376081904?l=en</p>
<p>Vale mucho la pena y después de verlos en el Corona Capital gracias a la recomendación de mi padre me gusto mucho la canción Let... | {
"content_hash": "39e426432fbef37e244662bad8a911e2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 149,
"avg_line_length": 50.75,
"alnum_prop": 0.7512315270935961,
"repo_name": "gzfrancisco/gzfrancisco.github.io",
"id": "8999748b194f4cc08f01e3f2e5b859e369bb9d02",
"size": ... |
Jasper is a Java monadic parser, a CS2104R NUS project.
Built upon Parsec, Jasper is more of educational than high performance
parser.
This is a work in progress.
## License
MIT
| {
"content_hash": "239042fb85866247867b6d636a5cab37",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 70,
"avg_line_length": 22.5,
"alnum_prop": 0.7777777777777778,
"repo_name": "evansb/jasper",
"id": "0c31aa7c5ef1ab0f8b27150059400188e07ea3e8",
"size": "190",
"binary": fal... |
package jp.cafebabe.kunai.source.factories;
import static jp.cafebabe.kunai.util.AssertHelper.assertThrows;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import org.junit.Before;
import org.... | {
"content_hash": "29e90f68a2a947e384df8d12a3f76250",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 87,
"avg_line_length": 29.63157894736842,
"alnum_prop": 0.7158081705150977,
"repo_name": "tamada/pochi",
"id": "2fe5048e0888af5120445b0b272499e2be278ac8",
"size": "1126",
... |
SET AUTOCOMMIT = 0;
START TRANSACTION;
--
-- Insert user information into the temporary tables. To add users to the HSQL database, edit things here.
--
INSERT INTO users_TEMP (username, password, enabled) VALUES
('admin','password',true),
('user','password',true);
INSERT INTO authorities_TEMP (username, autho... | {
"content_hash": "9a7de063f590f3e085c3743b331d6c40",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 156,
"avg_line_length": 32.895833333333336,
"alnum_prop": 0.7365421152628245,
"repo_name": "uchicago/shibboleth-oidc",
"id": "fc82e4800664ffda66f6e5b75d432d2733c13c56",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title></title>
<link rel="stylesheet" href="../../build/aui-css/css/bootstrap.css">
<script src="../../build/aui/aui.js"></script>
</head>
<body>
<h1>AlloyUI -... | {
"content_hash": "79316c4cc4db2a178360f7b490dde724",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 76,
"avg_line_length": 28.136363636363637,
"alnum_prop": 0.5325794291868605,
"repo_name": "ssmith353/alloy-ui",
"id": "86f8e8cce020fe372129665c30002bb9a4d713ae",
"size": "1... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using RolePlayingGameData;
#endregion
namespace RolePlaying
{
/// <summary>
/// Displays the gear in the party inv... | {
"content_hash": "5576b5c657aacc80d8400ace4ea535e0",
"timestamp": "",
"source": "github",
"line_count": 435,
"max_line_length": 87,
"avg_line_length": 31.011494252873565,
"alnum_prop": 0.5383988139362491,
"repo_name": "DDReaper/XNAGameStudio",
"id": "5fb482a2708c90bca08ea51d6ce8a4d59b52b031",
"size... |
title: Getting Started with Kong Studio
toc: false
---
## Introducing Kong Studio {{page.kong_version}}
Design, edit, and debug API specification files with Kong Studio! Features in Kong Studio {{page.kong_version}} include the ability to connect and sync files to Kong Enterprise and the Kong Developer Portal, debug ... | {
"content_hash": "70586a9288ac45a4bb4426f1b87823e0",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 370,
"avg_line_length": 34.71,
"alnum_prop": 0.6260443676174013,
"repo_name": "Mashape/getkong.org",
"id": "15249074a4a250e82f288371114f1c136f45391e",
"size": "3475",
"b... |
package gunlee.scouter.demo.commondemo.interfaces.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import java.util.co... | {
"content_hash": "5a83c69f9136deb3d6c70597397bf4a5",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 98,
"avg_line_length": 31.26923076923077,
"alnum_prop": 0.7084870848708487,
"repo_name": "gunlee01/scouter-demo-web",
"id": "19920eaec2d14b77a09a28deef92c8d39d3c3508",
"siz... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" 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.0"/>
<meta name="generator" content="Asciidoctor 2.0.10"/>
<title>git-pack-redundant(1)</title>
<... | {
"content_hash": "d6b29830879c6eeb9b1ab3700df120e0",
"timestamp": "",
"source": "github",
"line_count": 523,
"max_line_length": 471,
"avg_line_length": 62.88336520076482,
"alnum_prop": 0.7716492337630747,
"repo_name": "operepo/ope",
"id": "25edc30d30b56710bd098519d34100fa4f3d97e0",
"size": "32888",... |
[](https://travis-ci.org/abdennour/react-progressbar)
[](https://coveralls.io/github/abdennour/react-progressbar?branch=master)
[![... | {
"content_hash": "c1cfad2750fa51a595ed493d7e560ccc",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 178,
"avg_line_length": 25.64406779661017,
"alnum_prop": 0.7045604758757436,
"repo_name": "paramaggarwal/react-progressbar",
"id": "c054ffa2f8884fea4b9c0bea0847472fdd69596e",... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Extrovert3D - Smoke Tests</title>
<link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.17.1.css">
<script src="//code.jquery.com/qunit/qunit-1.17.1.js"></script>
<script src="../bower_components/threejs/build/three.min.js"></script>
<script... | {
"content_hash": "be4c024c0331754800d909da6b59deef",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 73,
"avg_line_length": 26.135593220338983,
"alnum_prop": 0.5907911802853437,
"repo_name": "devlinjd/extrovert-priv.js",
"id": "111f8a5a53eeed1a06eac080a17414a0b1fbd11a",
"s... |
package org.pentaho.di.ui.trans.steps.ldifinput;
import java.text.SimpleDateFormat;
import java.util.Enumeration;
import java.util.HashSet;
import netscape.ldap.LDAPAttribute;
import netscape.ldap.util.LDIF;
import netscape.ldap.util.LDIFAttributeContent;
import netscape.ldap.util.LDIFContent;
import netscape.ldap.... | {
"content_hash": "6ac6737cef42be4d5d3b679589aa27f2",
"timestamp": "",
"source": "github",
"line_count": 1731,
"max_line_length": 218,
"avg_line_length": 38.699017908723285,
"alnum_prop": 0.7351316653729026,
"repo_name": "bsspirit/kettle-4.4.0-stable",
"id": "126d142e4d6fd8c9c14250d148ec23a3785ec41e",... |
service "shibd" do
supports :status => true, :restart => true, :reload => true
action [ :enable, :start ]
end | {
"content_hash": "7cf620b500b94f13253a0fc76d06e76e",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 61,
"avg_line_length": 28.25,
"alnum_prop": 0.6460176991150443,
"repo_name": "universityofcalifornia/chef-NeXt",
"id": "c6aab79d20818284d89c4b4d4418b7f4ff036d62",
"size": "1... |
from __future__ import unicode_literals, division, absolute_import
import collections
from gatesym.gates import Switch
class BinaryIn(collections.Sequence):
def __init__(self, network, size, value=0):
self.switches = [Switch(network) for i in range(size)]
self.write(value)
def write(self, v... | {
"content_hash": "94a84f54b4043cb208a9370ec92bb108",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 66,
"avg_line_length": 22.354166666666668,
"alnum_prop": 0.5340167753960857,
"repo_name": "babbageclunk/gatesym",
"id": "5fd3713bdb5a0dbdbf8fe2439348ff826a8ffa66",
"size": ... |
import * as t from "../lib/index.js";
import { parse } from "@babel/parser";
function parseCode(string) {
return parse(string, {
allowReturnOutsideFunction: true,
}).program.body[0];
}
describe("misc helpers", function () {
describe("matchesPattern", function () {
it("matches explicitly", function () {
... | {
"content_hash": "56a84990f2276865f733a82af190e68b",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 68,
"avg_line_length": 40.84615384615385,
"alnum_prop": 0.6181732580037664,
"repo_name": "babel/babel",
"id": "bf781a9499e039243b4de683c9dbf5ea4fcb4b1c",
"size": "2124",
... |
Pedometer
=========
Lightweight pedometer app using the <b>hardware step-sensor</b> for minimal battery consumption.
This app is designed to be kept running all the time without having any impact on your battery life! It uses the hardware step detection sensor of the Nexus 5, which is already running even when not usi... | {
"content_hash": "33ee6b71b84b4386a98613bbd2a14936",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 529,
"avg_line_length": 61.74074074074074,
"alnum_prop": 0.7756448710257948,
"repo_name": "luinvacc/pedometer",
"id": "281598ac4c1ccb92d42826f5a0cd07a3676803a1",
"size": "1... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2019] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "19fac36c2daf2b06d0f4921821aa1517",
"timestamp": "",
"source": "github",
"line_count": 769,
"max_line_length": 100,
"avg_line_length": 37.24057217165149,
"alnum_prop": 0.4306515818143725,
"repo_name": "muffato/ensembl",
"id": "eacecd811139b053f2bc5f37e5b3c67c2de9dc8d",
"size": "286... |
<?php
namespace MTD\RegistroBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class MTDRegistroBundle extends Bundle
{
}
| {
"content_hash": "f35c324c6ff14ea1a7afd273fb1fb6b7",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 47,
"avg_line_length": 14.444444444444445,
"alnum_prop": 0.8076923076923077,
"repo_name": "marcelotorrico/SesionesSymfony",
"id": "3e79f265fc07d2280c82f6e4597f243990a92371",
... |
package com.mes51.minecraft.mods.necktie.item;
import com.mes51.minecraft.mods.necktie.potion.PotionMuscle;
import com.mes51.minecraft.mods.necktie.recipe.RecipeAir;
import com.mes51.minecraft.mods.necktie.util.Const;
import com.mes51.minecraft.mods.necktie.util.NecktieCreativeTabs;
import com.mes51.minecraft.mo... | {
"content_hash": "0039b0ba35732be5e4e48e1b4d81d313",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 291,
"avg_line_length": 36.40251572327044,
"alnum_prop": 0.5498445058742225,
"repo_name": "mes51/NecktieMod",
"id": "87e72b1d4166a192ddfaab8beced589d6dafad4c",
"size": "11... |
module.exports = {
description: "",
ns: "react-material-ui",
type: "ReactNode",
dependencies: {
npm: {
"material-ui/svg-icons/hardware/headset-mic": require('material-ui/svg-icons/hardware/headset-mic')
}
},
name: "HardwareHeadsetMic",
ports: {
input: {},
output: {
component: {... | {
"content_hash": "d24e8f825b15c60e0ce2ae733cc5a844",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 105,
"avg_line_length": 20.15,
"alnum_prop": 0.5732009925558312,
"repo_name": "nodule/react-material-ui",
"id": "56b9031f8c2eaf923640af244a3ddbd3acb732b4",
"size": "403",
... |
<?php
defined('_JEXEC') or die;
/**
* View for language overrides list
*
* @package Joomla.Administrator
* @subpackage com_languages
* @since 2.5
*/
class LanguagesViewOverrides extends JViewLegacy
{
/**
* The items to list
*
* @var array
* @since 2.5
*/
protected $items;
/**
* The ... | {
"content_hash": "78227e12929cb250fe0882fb8788539e",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 107,
"avg_line_length": 19.62608695652174,
"alnum_prop": 0.6211785556047851,
"repo_name": "monicadragan/HackathonZh2014",
"id": "18932118a039ed52f0aceefbad7deafc3b202af0",
... |
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Database connection settings -->
<p... | {
"content_hash": "119d0f210a8bf40add8217734fb14707",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 108,
"avg_line_length": 35.64102564102564,
"alnum_prop": 0.6575539568345323,
"repo_name": "allimiko/java_pft",
"id": "56af4f3e059fea729a0cee9ca5a04cb2f1109c2d",
"size": "13... |
D3 - Examples
=============
Program List
------------
[*Tutorials*](/D3/)
- **index**.html
- main page for all tutorials
- **00-dom**.html
- simple elements in the DOM
- **01-svg**.html
- simple demo of SVG elements
- **02-page-template**.html
- empty page for testing d3 code in the console
- **... | {
"content_hash": "bb97fb55c73f9577b7160ffa8767de23",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 229,
"avg_line_length": 29.53061224489796,
"alnum_prop": 0.6496199032480995,
"repo_name": "mckennapsean/code-examples",
"id": "9ed8ee541ec4328db8b5d72746e4b42a48288bc0",
"s... |
/* globals describe, it, before, after*/
'use strict';
const chai = require('chai');
const driver = require('../index');
const chaiAsPromised = require('chai-as-promised');
chai.should();
chai.use(chaiAsPromised);
const expect = chai.expect;
describe('phantom.addCookie', function() {
let phantom;
before(fun... | {
"content_hash": "98c909670a179b188013832375ae1676",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 75,
"avg_line_length": 25.772727272727273,
"alnum_prop": 0.6055261610817166,
"repo_name": "Reewr/promise-phantom",
"id": "9144f85b7d502d0fafa552f671194e3fc32ce48c",
"size":... |
require 'test_helper'
class BindingTest < Minitest::Test
include CarryOut
class Echo < Unit
parameter :message
def call; @message; end
end
def test_that_binding_is_maintained_for_single_unit
test_message = 'test'
result = CarryOut.call_unit(Echo) do
message echo(test_message)
re... | {
"content_hash": "692317c49ee65982358b12595cdc61be",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 54,
"avg_line_length": 17.785714285714285,
"alnum_prop": 0.6465863453815262,
"repo_name": "ryanfields/carry_out",
"id": "a0edfad837cdba1dc3a37ed686a4379b544f2ae4",
"size": ... |
require "spec_helper"
require "tiny_server"
describe Chef::Knife::Ssh do
before(:each) do
Chef::Knife::Ssh.load_deps
@server = TinyServer::Manager.new
@server.start
end
after(:each) do
@server.stop
end
let(:ssh_config) { {} }
before do
allow(Net::SSH).to receive(:configuration_for).a... | {
"content_hash": "dd4edd0a4cc44735640b34c8b2f72536",
"timestamp": "",
"source": "github",
"line_count": 334,
"max_line_length": 219,
"avg_line_length": 31.505988023952096,
"alnum_prop": 0.5892806233963699,
"repo_name": "higanworks/chef",
"id": "1d4aff15b5acb604431cf0032fb88d95c3d9c9e9",
"size": "11... |
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<csw:GetRecords xmlns:fgdc="http://www.opengis.net/cat/csw/csdgm" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:ogc="http://www.opengis.net/ogc" service="CSW" version="2.0.2" resultType="results" startPosition="1" maxRecords="5" outputFormat="applicat... | {
"content_hash": "9cd970df2eaf2154bc96e831ae5ea28a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 525,
"avg_line_length": 62.1764705882353,
"alnum_prop": 0.6773888363292336,
"repo_name": "kalxas/pycsw",
"id": "4b2319124a01946f8db68e7b2a66701445ab0a03",
"size": "1057",
... |
package com.ruiking.coolweather;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@Test
... | {
"content_hash": "47272f9ddd1b10ac13adddf6ff2e9cd2",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 24.529411764705884,
"alnum_prop": 0.6666666666666666,
"repo_name": "ruiking/coolweather",
"id": "490d7a46863e3b01ce7591c225312070135ee980",
"size": "... |
import React from 'react';
import { useComponents } from '@wq/react';
import PropTypes from 'prop-types';
export default function FieldsetArray({ label, children, addRow }) {
const { View, Button } = useComponents();
return (
<View>
{children}
{addRow && (
<Butto... | {
"content_hash": "e1ce71964420fc1f4ecc50ae9202a220",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 74,
"avg_line_length": 25.285714285714285,
"alnum_prop": 0.568738229755179,
"repo_name": "wq/wq.app",
"id": "a809cdd07415a82adfa20845b557d22d081f6695",
"size": "531",
"bi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "7e9e45be317f9c2015392f49b4053117",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 159,
"avg_line_length": 42.0828729281768,
"alnum_prop": 0.5726664040961008,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "83de5929eda6da494c01775c0df675e1c52c9692",
... |
require_relative '../../spec_helper'
describe "Thread.handle_interrupt" do
def make_handle_interrupt_thread(interrupt_config, blocking = true)
interrupt_class = Class.new(RuntimeError)
ScratchPad.record []
in_handle_interrupt = Queue.new
can_continue = Queue.new
thread = Thread.new do
be... | {
"content_hash": "a432596cc07688c9de4dcf207b7661c7",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 109,
"avg_line_length": 30.104,
"alnum_prop": 0.6404464522986979,
"repo_name": "nobu/rubyspec",
"id": "ea7e81cb989ce21ceef17c0e7727dcf8229309d1",
"size": "3763",
"binary... |
package ircclient
import (
"bufio"
"crypto/tls"
"fmt"
"net"
"strconv"
"strings"
"sync"
"github.com/goshuirc/irc-go/ircmsg"
)
type Socket struct {
Host string
Port int
TLS bool
TLSConfig *tls.Config
Conn net.Conn
ConnLock sync.Mutex
Connected bool
Connecting bool
Messages... | {
"content_hash": "95119bfafd04c697f2fc83406cc2f74f",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 82,
"avg_line_length": 18.483050847457626,
"alnum_prop": 0.6497019715726731,
"repo_name": "goshuirc/bnc",
"id": "afdb5f1b3bb8f2dc52ab40ac5db37dd23f31345c",
"size": "2274",... |
"""
ZFS Storage Appliance NFS Cinder Volume Driver
"""
import base64
import datetime as dt
import errno
from oslo_config import cfg
from oslo_log import log
from oslo_utils import excutils
from oslo_utils import units
from cinder import exception
from cinder.i18n import _, _LE, _LI
from cinder.volume.drivers import n... | {
"content_hash": "5997075a9a224490209d804f61fc32fe",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 79,
"avg_line_length": 39.5958904109589,
"alnum_prop": 0.5533644698149109,
"repo_name": "yanheven/cinder",
"id": "721f11c0a507fdb6dd7b40a3e1abfd9bf239f857",
"size": "12177... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<... | {
"content_hash": "0e0921a822a6a47f9812429ad3c1aff7",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 62,
"avg_line_length": 38.714285714285715,
"alnum_prop": 0.7011070110701108,
"repo_name": "WxSmile/SmileDaily",
"id": "f9ecaa6e70f61cdc791d52c34cbc5e773dc299f2",
"size": "5... |
'use strict';
if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-pg.browser.production.min.server.js');
} else {
module.exports = require('./cjs/react-pg.browser.development.server.js');
}
| {
"content_hash": "10148ab088944a8f1af32e5bf0bfe60f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 78,
"avg_line_length": 32.285714285714285,
"alnum_prop": 0.6902654867256637,
"repo_name": "yungsters/react",
"id": "175cec16ae3e6b3d446f599b4fb2f44e9672a288",
"size": "226",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Submission 254</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
<img src="gallery/subm... | {
"content_hash": "b2f0d3856819396fc3ed90db25c0c210",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 102,
"avg_line_length": 33.36363636363637,
"alnum_prop": 0.7002724795640327,
"repo_name": "heyitsgarrett/envelopecollective",
"id": "cd489dd06e07173b8d2cb0d9ed99bf7c4a96a2fa"... |
package net.minecraft.src;
import static net.minecraft.src.AutoRefereeHUD.*;
import java.util.ArrayList;
import java.util.HashMap;
import org.lwjgl.input.Keyboard;
import org.lwjgl.opengl.GL11;
public class AutoRefereeHUDRFWPlayerListGui extends GuiScreen{
private AutoReferee autoReferee;
private ScaledResolution... | {
"content_hash": "83a498777dfb297cd6ba962193f7d070",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 166,
"avg_line_length": 44.96190476190476,
"alnum_prop": 0.7551366235966956,
"repo_name": "rmct/AutoReferee-client",
"id": "3eba47d9a3c22a33851b43db6eddd82cac395d90",
"siz... |
package api
import play.api.data.validation.ValidationError
import play.api.libs.json._
import play.api.libs.functional.syntax._
/**
*
*/
case class ApiSetStatusData(color: models.Color)
object ApiSetStatusData {
implicit val apiSetStatusDataReads: Reads[ApiSetStatusData] =
(__ \ "color")
.read(model... | {
"content_hash": "3357be3f1f507657414acf8683620072",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 121,
"avg_line_length": 28.75,
"alnum_prop": 0.7098814229249012,
"repo_name": "mattbierner/blotre",
"id": "8535ff89403f509e276b7d2400694e677fd37440",
"size": "1265",
"bin... |
module Roleable::Resource
def self.included(base)
base.has_many :applied_roles, :as => :resource, :dependent => :destroy
end
# Return a list of users that have the given role for this resource.
# If a list of role names is given, return users with any of those roles for this resource.
#
# ==== Example... | {
"content_hash": "f24b825fb5a19b7d445ea2afc71559b3",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 93,
"avg_line_length": 28.76923076923077,
"alnum_prop": 0.6644385026737968,
"repo_name": "mcrowe/roleable",
"id": "9193c8076db7bc7034d84980037e4cf34b93e046",
"size": "748",... |
goog.provide('shaka.util.MapUtils');
/**
* @namespace shaka.util.MapUtils
* @summary A set of map/object utility functions.
*/
/**
* Returns true if the map is empty; otherwise, returns false.
*
* @param {!Object.<string, T>} object
* @return {boolean}
* @template T
*/
shaka.util.MapUti... | {
"content_hash": "f514256eefb2b9f02138f34718e4d9aa",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 72,
"avg_line_length": 19.205882352941178,
"alnum_prop": 0.6125574272588055,
"repo_name": "rodrigoramos/shaka-player",
"id": "a3358ba8c9425d27c4939eb9ad9beac416b83926",
"si... |
<?php
/**
* @see Zend_Filter_HtmlEntities
*/
require_once 'Zend/Filter/HtmlEntities.php';
/**
* @category Zend
* @package Zend_Filter
* @subpackage UnitTests
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd ... | {
"content_hash": "e311f2dcfaedd5000f1e29d2508a7ec1",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 116,
"avg_line_length": 28.304,
"alnum_prop": 0.5758903335217637,
"repo_name": "weierophinney/zf1",
"id": "7ffce0a1eb37c91338e9640ab06593803165b60f",
"size": "7793",
"bi... |
package pl.touk.nussknacker.engine.api.component
import com.typesafe.config.{Config, ConfigFactory}
import com.vdurmont.semver4j.Semver
import net.ceedubs.ficus.readers.{ArbitraryTypeReader, ValueReader}
import pl.touk.nussknacker.engine.api.process.ProcessObjectDependencies
import pl.touk.nussknacker.engine.version.B... | {
"content_hash": "e5fbff1a069922c25783158bfada7dcd",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 136,
"avg_line_length": 33.80232558139535,
"alnum_prop": 0.693842449260406,
"repo_name": "TouK/nussknacker",
"id": "e7a2eb171b80fa60416b60f5a2a05bcd66d198ae",
"size": "2907... |
/*
Highcharts JS v8.0.0 (2019-12-10)
Highcharts 3D funnel module
(c) 2010-2019 Kacper Madej
License: www.highcharts.com/license
*/
(function(a){"object"===typeof module&&module.exports?(a["default"]=a,module.exports=a):"function"===typeof define&&define.amd?define("highcharts/modules/pyramid3d",["highcharts","hi... | {
"content_hash": "4e93feb23e634e0364eb7b3a763a1b51",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 514,
"avg_line_length": 73.25,
"alnum_prop": 0.7246871444823664,
"repo_name": "cdnjs/cdnjs",
"id": "28bd85908bc4d503eb9b00665f69299346792429",
"size": "879",
"binary": fa... |
class _printfunc : public comid::function
{
public:
comid::ct_string id()
{
return "print";
}
int call(comid::parameters& param)
{
for(int i = 0; i < param.count(); i++){
if(param.get(i).id() == "int"){
comid::datatype_integer* s = (comid::datatype_integer*)(¶m.get(i));
std::cout << s->get_value... | {
"content_hash": "bdde723aba69be8ec77b86f0ad1f05a4",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 75,
"avg_line_length": 21.318181818181817,
"alnum_prop": 0.6087420042643923,
"repo_name": "clman94/comid-script",
"id": "1ba9f9758132a7cc90c81fa325d17fab11443153",
"size": ... |
package org.spongepowered.despector.ast.type;
import org.spongepowered.despector.Language;
import org.spongepowered.despector.ast.Annotation;
import org.spongepowered.despector.ast.AstVisitor;
import org.spongepowered.despector.ast.SourceSet;
import org.spongepowered.despector.util.serialization.AstSerializer;
import... | {
"content_hash": "cbdaae76e5a10af34624e7daac94a549",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 70,
"avg_line_length": 29.413793103448278,
"alnum_prop": 0.6512309495896834,
"repo_name": "Despector/Despector",
"id": "af7cbd58e0d0970c484f6036d8a9ec4ff024a27e",
"size": "... |
using System;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using SampleWorkspacesApp.WorkSpaces;
using WeifenLuo.WinFormsUI.Docking;
namespace SampleWorkspacesApp
{
public partial class MainForm : Form
{
private readonly WorkspacesDock m_WorkspacesDock = new Worksp... | {
"content_hash": "0472c5c616442103e293793e3c38ff3d",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 128,
"avg_line_length": 32.0234375,
"alnum_prop": 0.6040497682361552,
"repo_name": "nakedboov/DockedWorkspaces",
"id": "f8f05a9fdfc1389fec68a9fcdff56d320094181b",
"size": ... |
<?php
namespace PHP_CodeSniffer\Standards\Squiz\Sniffs\WhiteSpace;
use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Util\Tokens;
class FunctionSpacingSniff implements Sniff
{
/**
* The number of blank lines between functions.
*
* @var integer
*/
publ... | {
"content_hash": "5d6967552478ff1984e035852bfe0e7d",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 131,
"avg_line_length": 36.66759002770083,
"alnum_prop": 0.4909722746845962,
"repo_name": "jrfnl/PHP_CodeSniffer",
"id": "1f4704b91fd86576e34abbeb07ef1760250a47b5",
"size"... |
namespace osrm
{
namespace engine
{
namespace guidance
{
namespace detail
{
std::pair<short, short> getDepartBearings(const LegGeometry &leg_geometry,
const PhantomNode &source_node,
const bool traversed_in_reverse)
{
BOOST_ASSERT(... | {
"content_hash": "046c8de10db5efe24e99f896cb308ab7",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 100,
"avg_line_length": 36.06818181818182,
"alnum_prop": 0.6238185255198487,
"repo_name": "neilbu/osrm-backend",
"id": "3b0e601cf5e07cf5b6c8affdeb449b6b7a49b104",
"size": "... |
<?php namespace Phalcon\Mvc\Model\EagerLoading;
use Phalcon\Mvc\Model\Query\Builder;
final class QueryBuilder extends Builder
{
const E_NOT_ALLOWED_METHOD_CALL = 'When eager loading relations queries must return full entities';
public function distinct($distinct)
{
throw new \LogicException(s... | {
"content_hash": "05065a58acfd6050c5241664cbced0e9",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 103,
"avg_line_length": 28.40625,
"alnum_prop": 0.6325632563256326,
"repo_name": "twistersfury/incubator",
"id": "7984b785ce90e4b6e158acd5ff2ba1395b080e6c",
"size": "909",
... |
id: 56bbb991ad1ed5201cd392d0
title: Build JavaScript Objects
challengeType: 1
videoUrl: ''
localeTitle: 构建JavaScript对象
---
## Description
<section id="description">您之前可能听说过<code>object</code>这个术语。对象类似于<code>arrays</code> ,除了不使用索引访问和修改数据,您可以通过所谓的<code>properties</code>访问对象中的数据。对象对于以结构化方式存储数据很有用,并且可以表示真实世界对象,如猫。这是一个示例ca... | {
"content_hash": "a1afa1a3a01b76da8859d91df4d3301d",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 604,
"avg_line_length": 41.25316455696203,
"alnum_prop": 0.6775084381712182,
"repo_name": "BhaveshSGupta/FreeCodeCamp",
"id": "9159f9ed1aed0cf812e286c2499b928cde0d1907",
"s... |
//////////////////////////////////////////////////////////////////////////////
// INCLUDES
//////////////////////////////////////////////////////////////////////////////
#include <assert.h>
#include <malloc.h>
#include <string.h>
#include <stdio.h>
#include "apx/client_connection.h"
#include "apx/numheader.h"... | {
"content_hash": "7e690f936ceac1b8944c669c86bbdf3c",
"timestamp": "",
"source": "github",
"line_count": 426,
"max_line_length": 170,
"avg_line_length": 32.744131455399064,
"alnum_prop": 0.5819772026668578,
"repo_name": "cogu/c-apx",
"id": "b4479e8ee3aab51ea742a06306d4febbc5525ebf",
"size": "15368",... |
package systems.comodal.hash.gen;
import systems.comodal.hash.api.Hash;
import systems.comodal.hash.Skein1024_512;
import systems.comodal.hash.api.HashFactory;
import systems.comodal.hash.base.ReverseHash;
public final class ReverseSkein1024_512 extends ReverseHash implements Skein1024_512 {
public ReverseSkein102... | {
"content_hash": "a354e6f9b38a4a2bc3257c028f6026ee",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 86,
"avg_line_length": 28.625,
"alnum_prop": 0.74235807860262,
"repo_name": "comodal/hash-overlay",
"id": "0fb190ca55ca2bf138b6b588021f49ff74954d05",
"size": "687",
"bina... |
package edu.vandy.common;
import android.content.Context;
import android.util.Log;
/**
* This Activity provides a framework for mediating access to a object
* residing in the Presenter layer in the Model-View-Presenter (MVP)
* pattern. It automatically handles runtime configuration changes in
* conjunction with ... | {
"content_hash": "0a4b94388239cdb57b4fa4d862a4d134",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 90,
"avg_line_length": 36.18452380952381,
"alnum_prop": 0.6201677907550583,
"repo_name": "TingxinLi/Android-Concurrency",
"id": "41083d70ac3817f0e671bf44cf5e1f2aca89882d",
... |
package mod.smb.easygunpowder.helper;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraftforge.oredict.OreDictionary;
import cpw.mods.fml.common.registry.GameRegistry;
public class RegisterHelper
{
// Use to register blocks for this mod.
public static void registerBlock... | {
"content_hash": "3227df406a17220de82adf69d98ad5df",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 101,
"avg_line_length": 30.606060606060606,
"alnum_prop": 0.7405940594059406,
"repo_name": "LanceShield/EasyGunpowder2",
"id": "bf24a121f90f8c847ad6f8f7af35fd1d3b01b359",
"... |
@implementation AVAsset (NIMKit)
- (AVMutableVideoComposition *)nim_videoComposition {
AVAssetTrack *videoTrack = [[self tracksWithMediaType:AVMediaTypeVideo] objectAtIndex:0];
AVMutableComposition *composition = [AVMutableComposition composition];
AVMutableVideoComposition *videoComposition = [AVMutableVi... | {
"content_hash": "250bdf6c2e19c2c054669fafab1ec754",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 136,
"avg_line_length": 41.77049180327869,
"alnum_prop": 0.6793563579277865,
"repo_name": "netease-im/NIM_iOS_UIKit",
"id": "021f1eecb875fa6c04d4a489bcb261161afa6325",
"siz... |
//
// Copyright 2015 DreamWorks Animation LLC.
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted an... | {
"content_hash": "d640c2e93a28b2638b5b7697a810d6ec",
"timestamp": "",
"source": "github",
"line_count": 1251,
"max_line_length": 127,
"avg_line_length": 41.00959232613909,
"alnum_prop": 0.6124788024092158,
"repo_name": "virtuallynaked/virtually-naked",
"id": "e692cd3208524fc2e3cfda0e0fac08ee3aef016a"... |
blurb: |
Word embeddings for recommender systems
title: Factorization meets the item embedding
venue: Recommender Systems
year: 2016
author: Dawen Liang, Jaan Altosaar, Laurent Charlin, and David Blei
link: https://dl.acm.org/citation.cfm?id=2959182
pdf: 2016_Liang-Altosaar-Charlin-Blei_CoFactor.pdf
code: https://g... | {
"content_hash": "7c358a34a8d3f98331852cfa41a19ad7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 113,
"avg_line_length": 39.516129032258064,
"alnum_prop": 0.6979591836734694,
"repo_name": "altosaar/jaan.io",
"id": "1ad2733dabf91044e8bae052ab0af9cab5ebe6e4",
"size": "12... |
/*================ FUNCTIONS =================*/
/*================ MIXINS =================*/
/*================ CLASSES =================*/
.popover {
background: white;
border: 1px solid #DD3416;
border-radius: 3px;
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.25);
z-index: 100;
transition: all, 300ms; }
... | {
"content_hash": "12e22885c27b1a29b8399b13f982e8a8",
"timestamp": "",
"source": "github",
"line_count": 861,
"max_line_length": 546,
"avg_line_length": 29.33101045296167,
"alnum_prop": 0.6549853488556269,
"repo_name": "benobab/Telescope---Test-",
"id": "12b22bcfdfcb37946ad1c653a29c0743eee6d5f3",
"s... |
@implementation AutoSizeCell
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
if (self) {
self.textLabel.lineBreakMode = NSLineBreakByWordWrapping;
self.textLabel.numberOfLi... | {
"content_hash": "67fe33313c8440c8bdc132d038b86161",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 178,
"avg_line_length": 43.515151515151516,
"alnum_prop": 0.7277158774373259,
"repo_name": "nightfade/iOSExamples-AutoSizingTableCells",
"id": "8f0c599a111696369d931010c9bbb6... |
create table Attachment (
id bigint generated by default as identity (start with 1),
accessType integer,
attachedAt timestamp,
attachmentContentId bigint not null,
contentType varchar(255),
name varchar(255),
attachment_size integer,
attachedBy_id varc... | {
"content_hash": "08147bdc3e682f072ef68a99a7c38ee3",
"timestamp": "",
"source": "github",
"line_count": 804,
"max_line_length": 92,
"avg_line_length": 34.993781094527364,
"alnum_prop": 0.6799715656655412,
"repo_name": "domhanak/jbpm",
"id": "98b813980f154610c9fce66a2baf432e4215baca",
"size": "28135... |
namespace IRunesWebApp.Controllers
{
using IRunesWebApp.Models;
using IRunesWebApp.Services;
using IRunesWebApp.Services.Contracts;
using SIS.HTTP.Requests.Contracts;
using SIS.HTTP.Response.Contracts;
using SIS.WebServer.Results;
using System;
using System.Linq;
public class UserC... | {
"content_hash": "b39ce8bc13bce08d2171b771ed2f010b",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 125,
"avg_line_length": 30.31111111111111,
"alnum_prop": 0.5505865102639296,
"repo_name": "MihailDobrev/SoftUni",
"id": "d288fffdfdaaf73cb8163e00a592f72f089782cf",
"size":... |
from ansible import errors
try:
import netaddr
except Exception, e:
raise errors.AnsibleFilterError('python-netaddr package is not installed')
# ---- IP address and network filters ----
def ipaddr(value, query = '', version = False, alias = 'ipaddr'):
''' Check if string is an IP address or network and ... | {
"content_hash": "d393b135f1a0d8e95f1c09e577de6819",
"timestamp": "",
"source": "github",
"line_count": 514,
"max_line_length": 92,
"avg_line_length": 27.381322957198442,
"alnum_prop": 0.48642887594145234,
"repo_name": "le9i0nx/ansible-home",
"id": "68e2fd778c4ce41d652ae2a9e435a8be455066b5",
"size"... |
Microsoft Office related utilities
## About TimedTask.ps1
### TimedTask.ps1 Installation
You can download the Time Tracking script by downloading the full repository from:
https://github.com/CailleauThierry/PSThUtils > "Download ZIP"
All you need are the following 2 files + WMF 5.0 installed (PowerShell 5, already i... | {
"content_hash": "18082306adce2fd90c337679c3b19e1c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 151,
"avg_line_length": 47.705882352941174,
"alnum_prop": 0.7669543773119606,
"repo_name": "CailleauThierry/PSThUtils",
"id": "be83f10bb8c41126bb6987f1237f0fed911ec494",
"s... |
package org.vash.vate.console.graphical.menu;
import java.awt.MenuItem;
import org.vash.vate.console.graphical.menu.listener.VTGraphicalConsoleMenuItemListener;
public class VTGraphicalConsoleMenuItem extends MenuItem
{
private static final long serialVersionUID = 1L;
public VTGraphicalConsoleMenuItem... | {
"content_hash": "b25aeb2909e1996cee5efe74622e8bfa",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 88,
"avg_line_length": 29.705882352941178,
"alnum_prop": 0.7762376237623763,
"repo_name": "wknishio/variable-terminal",
"id": "4bd991a0392f284e3ae1333af122707acccc6598",
"s... |
namespace chi {
ObjectWrap::~ObjectWrap() {
if (!handle_.IsEmpty()) {
assert(handle_.IsNearDeath());
handle_.ClearWeak();
handle_->SetInternalField(0, v8::Undefined());
handle_.Dispose();
handle_.Clear();
}
}
void ObjectWrap::WeakCallback(v8::Persistent<v8::Value> value, void *data) {
ObjectWrap *obj = s... | {
"content_hash": "0974c624e588cb05c8d521cf820db901",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 76,
"avg_line_length": 21.55,
"alnum_prop": 0.6705336426914154,
"repo_name": "cha0s/Worlds-Beyond",
"id": "145eec419dd92d0f9c2a75a69de4aada3adaa436",
"size": "480",
"bina... |
<!DOCTYPE html>
<html>
<head>
<script src="/w3c/resources/testharness.js"></script>
<script src="/w3c/resources/testharnessreport.js"></script>
<script src="mediasource-util.js"></script>
<link rel='stylesheet' href='/w3c/resources/testharness.css'>
</head>
<body>
<di... | {
"content_hash": "058b7556e09e4ce7e9137a97c7df55cd",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 125,
"avg_line_length": 38.4,
"alnum_prop": 0.5544270833333333,
"repo_name": "nwjs/chromium.src",
"id": "a030cf2db1af9e2bb6c69192019c9cc3c52e09e4",
"size": "11520",
"bin... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Api\V2010\Account\Usage\Record;
use Twilio\ListResource;
use Twilio\Options;
use Twilio\Serialize;
use Twilio\Values;
use Twilio\Version;
class YesterdayList extends ListResource ... | {
"content_hash": "8b4c4843c1eab32a01d8d460fd55e90e",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 127,
"avg_line_length": 37.906474820143885,
"alnum_prop": 0.5919529322452078,
"repo_name": "talent-webmobiledeveloper/codeigniter3_twiliosms",
"id": "0d2aae68c356cbd162a9513... |
// Knockout JavaScript library v2.1.0
// (c) Steven Sanderson - http://knockoutjs.com/
// License: MIT (http://www.opensource.org/licenses/mit-license.php)
(function(window,document,navigator,undefined){
var DEBUG=true;
!function(factory) {
// Support three module loading scenarios
if (typeof require === 'func... | {
"content_hash": "62a9aa444978a8e327d5458b54b38445",
"timestamp": "",
"source": "github",
"line_count": 3651,
"max_line_length": 278,
"avg_line_length": 49.81566694056423,
"alnum_prop": 0.6280838148858844,
"repo_name": "MicrosoftLearning/20487-DevelopingWindowsAzureAndWebServices",
"id": "02053237030... |
<!DOCTYPE html>
<html class="no-js" 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="{{ site.description }}">
<meta property="og:site_name" content="{{ site.title }}"... | {
"content_hash": "9e1bda38042b5ef9b637d1e1dfcac5f7",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 453,
"avg_line_length": 71.01724137931035,
"alnum_prop": 0.6181111920369021,
"repo_name": "richardmscott/www.rscottillustration.co.uk",
"id": "8ffae96984b2619b44882da21fc278e... |
package com.jaquadro.minecraft.gardentrees.world.gen;
import java.util.HashMap;
import java.util.Map;
public class OrnamentalTreeRegistry
{
private static Map<String, OrnamentalTreeFactory> registry = new HashMap<String, OrnamentalTreeFactory>();
public static void registerTree (String name, OrnamentalTreeFa... | {
"content_hash": "79619e685e92c797cc9e0518146747f8",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 110,
"avg_line_length": 50.55882352941177,
"alnum_prop": 0.7643979057591623,
"repo_name": "jaquadro/GardenCollection",
"id": "e8be85a93b65361dcc9d58708e9c61e1d7ed0841",
"si... |
class Post < ActiveRecord::Base
has_paper_trail class_name: "PostVersion"
end
| {
"content_hash": "089f3cc6c364b0f95ec05f75d2fbf248",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 43,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.7625,
"repo_name": "devonestes/paper_trail",
"id": "29ea6d19eb39790ed7f467a3beaa286b060a20a5",
"size": "80",
"bi... |
layout: default
description: ":("
header-img: "img/404-bg.jpg"
permalink: /404.html
---
<!-- Page Header -->
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
<div class="container">
<div class="... | {
"content_hash": "ca89a8bedda36b0fe42e824d43ae5a76",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 169,
"avg_line_length": 26.541666666666668,
"alnum_prop": 0.6169544740973313,
"repo_name": "JasonYangX/blog",
"id": "dc4f66817aa8654995ae3728c352c134558bdaf0",
"size": "641... |
{% extends "tournamentcontrol/competition/admin/match/dates.html" %}
| {
"content_hash": "f582efa150e7793f5c09443531770977",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 68,
"avg_line_length": 69,
"alnum_prop": 0.782608695652174,
"repo_name": "goodtune/vitriolic",
"id": "cef04b809687e163ca1c4e3443b39cd9d21578b5",
"size": "69",
"binary": fa... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Slide Definition Example - Jssor Slider, Slideshow</title>
</head>
<body>
<!-- it works the same with all jquery version from 1.x to 2.x -->
<script type="text/javascript" src="../js/jque... | {
"content_hash": "ed66bcdc9f92d396bee41c2fb6d53117",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 313,
"avg_line_length": 70.12162162162163,
"alnum_prop": 0.5845056851031027,
"repo_name": "sharmasusheel/Get-blood",
"id": "98fcabf774bf988805a473e45039a06d501b6290",
"size... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | {
"content_hash": "801b797c1820f7d159ae9f76bdb1c87f",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 97,
"avg_line_length": 29.785714285714285,
"alnum_prop": 0.728617106314948,
"repo_name": "NationalSecurityAgency/ghidra",
"id": "443694ad8b0ce6b352749eb127ecf9a5fe5ce18b",
... |
package pThree;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.ListIterator;
public class Fruit {
private final LinkedList<String> bowl;
public Fruit() {
bowl=new LinkedList<>(Arrays.asList("Apple", "Banana", "Cherry", "Lemon", "Lime", "Orange", "Papaya", "Strawberry", "Watermelo... | {
"content_hash": "38d96ee8ffb76d93e18915bf5a1f7f52",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 133,
"avg_line_length": 25.916666666666668,
"alnum_prop": 0.6495176848874598,
"repo_name": "mRabitsky/RIPmrHorn",
"id": "b015aeea43682bdd7ee37c98b03f33796385f793",
"size": ... |
/**
* @license
* (c) 2009-2016 Michael Leibman
* michael{dot}leibman{at}gmail{dot}com
* http://github.com/mleibman/slickgrid
*
* Distributed under MIT license.
* All rights reserved.
*
* SlickGrid v2.4
*
* NOTES:
* Cell/row DOM manipulations are done directly bypassing jQuery's DOM manipulation methods.... | {
"content_hash": "3ef2626d0548ad4662901b5dfb38b823",
"timestamp": "",
"source": "github",
"line_count": 5963,
"max_line_length": 207,
"avg_line_length": 33.162669797082,
"alnum_prop": 0.5730142756726962,
"repo_name": "cdnjs/cdnjs",
"id": "39353f21950486ce5616169f07f76beb6b219c60",
"size": "197749",... |
/*
calendarmws.js - Script for generating calender popups and selecting dates for form
submissions. See http://www.macridesweb.com/oltest/calendarmws.html for a demonstration.
Initial: November 9, 2003 - Last Revised: June 11, 2008
****
Original: Kedar R. Bhave (softricks@hotmail.com)
Web Site: http:/... | {
"content_hash": "b273e54ce34c7d8faa3e1fa8f8d12fa6",
"timestamp": "",
"source": "github",
"line_count": 624,
"max_line_length": 91,
"avg_line_length": 34.145833333333336,
"alnum_prop": 0.5961421129206365,
"repo_name": "NCIP/prot-express",
"id": "0bb30d98746d74fe081acef08c40e66218be8d9b",
"size": "2... |
<?php
class Comment
{
private $id;
private $avatar;
private $comment;
private $user_id;
private $post_id;
private $likes;
// public function __construct($id = null, $comment = null, $userId = null, $postId = null, $vote = null)
// {
// if (!$id = null) $this->id = $id;
// i... | {
"content_hash": "af7b828d0a18b0aec6029c3dc9cf823e",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 108,
"avg_line_length": 22.48148148148148,
"alnum_prop": 0.5041186161449753,
"repo_name": "borgchrist1/Linkify",
"id": "a474618d6cc6e038e36749236772b65f82052653",
"size": "... |
var WebGLManager = require('./WebGLManager'),
AlphaMaskFilter = require('../filters/spriteMask/SpriteMaskFilter');
/**
* @class
* @memberof PIXI
* @param renderer {PIXI.WebGLRenderer} The renderer this manager works for.
*/
function MaskManager(renderer)
{
WebGLManager.call(this, renderer);
this.sciss... | {
"content_hash": "614dbed16bd90e1bb0e4292d8b247e47",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 149,
"avg_line_length": 24.235632183908045,
"alnum_prop": 0.6461939767607304,
"repo_name": "chrooke/jibo-guess-my-number",
"id": "b979ff6e091ee7b0b525e73ac7c58f60744d5637",
... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Why use a high-precision library rather than built-in floating-point types?</title>
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="... | {
"content_hash": "02e695ce23aeb2d88b42c9685094e942",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 451,
"avg_line_length": 65.38970588235294,
"alnum_prop": 0.6555717980434049,
"repo_name": "yxcoin/yxcoin",
"id": "37ea70e4b63a22579aa76eefb8510ecd9d1135a5",
"size": "8893"... |
local function serialize(obj)
local lua = ""
local t = type(obj)
if t == "number" then
lua = lua .. obj
elseif t == "boolean" then
lua = lua .. tostring(obj)
elseif t == "string" then
lua = lua .. string.format("%q", obj)
elseif t == "table" then
lua = lua .. "{"
... | {
"content_hash": "a2b057930d631079d58493327284e133",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 79,
"avg_line_length": 28.102040816326532,
"alnum_prop": 0.5105301379811183,
"repo_name": "tianxiawuzhei/cocos-quick-lua",
"id": "e1a61985679f1265447818696794b28515d99e84",
... |
namespace ViewStateOptimizer.FileStorage
{
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Web.UI;
/// <summary>
/// This class implements storing the ViewState contents in the files.
/// </summary>
public class FileViewStateOptimizer : BaseViewStateOptimize... | {
"content_hash": "b1771a86b4b778b11058f727448960f5",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 189,
"avg_line_length": 34.53146853146853,
"alnum_prop": 0.6952207371405428,
"repo_name": "congdongdotnet/ViewStateOptimizer",
"id": "99575de0e5d2e69a217303dc320c1f52f6bda80... |
package org.apache.tajo.algebra;
import com.google.common.base.Objects;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class DateLiteral extends Expr {
@Expose @SerializedName("Date")
private DateValue date;
public DateLiteral(DateValue date) {
super(... | {
"content_hash": "78f0896ee589458c0bdb8b3630c464c8",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 59,
"avg_line_length": 20.6,
"alnum_prop": 0.6957928802588996,
"repo_name": "yeeunshim/tajo_test",
"id": "297a44ef4f3ff2b96f5fe5c2db6dffdf92322d5b",
"size": "1733",
"bina... |
'''
This script helps you scrap stock data avaliable on Bloomberg Finance
and store them locally.
Please obey applicable local and federal laws and applicable API term of use
when using this scripts. I, the creater of this script, will not be responsible
for any legal issues resulting from the use of this script.
@au... | {
"content_hash": "89f216fe9ed594268a09ac220bede5d6",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 95,
"avg_line_length": 29.31081081081081,
"alnum_prop": 0.5956662056247118,
"repo_name": "Michael-Tu/tools",
"id": "6740dbc5cd1d471f34b6ff0a348f444320239e03",
"size": "2169... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using Roslyn.Utilities;
namespace Microsoft.CodeAnalysis.CSharp.Symbols
{
in... | {
"content_hash": "ba125b588c40a34544f54f00b48e6c29",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 212,
"avg_line_length": 37.24285714285714,
"alnum_prop": 0.6267740698120445,
"repo_name": "agocke/roslyn",
"id": "2e50a4f99c5242b6cb8aed66e8d70d5f53f2d4c6",
"size": "2609",... |
var count = 0;
var jive = require("jive-sdk");
var q = require('q');
var sampleOauth = require("./routes/oauth/sampleOauth") ;
var activities = require('./activities' );
var jive_to_podio_syncing = require('./jive_to_podio_syncing') ;
//var lastTime=0;
exports.task = new jive.tasks.build(
// runnable
functi... | {
"content_hash": "e8bb7deed34a93f381ed535ccd90642c",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 117,
"avg_line_length": 40.949367088607595,
"alnum_prop": 0.4476043276661515,
"repo_name": "matthewmccullough/jive-sdk",
"id": "586de972d6f1e07a2eadc42f5a02a5337e2660b7",
"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a4fc651bd5925a4c21da716341dc02dc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "3e44de4502c69f963a649260922e34176b7771d1",
"size": "185... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.