text stringlengths 2 1.04M | meta dict |
|---|---|
/**
* Tutorial: Custom iPhone tabbar using Appcelerator Titanium
* http://www.samjordan.co.uk/2011/02/tutorial-custom-iphone-tabbar-using-appcelerator-titanium/
*
* https://github.com/netsells/customTabBar
*/
CustomTabBar = function(settings) {
var tabBarItems = [];
var tabCurrent = 0;
var resetTabs = funct... | {
"content_hash": "ad0c7c6dae39a265f8bf104a277c3f59",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 96,
"avg_line_length": 26.759036144578314,
"alnum_prop": 0.6744709590274651,
"repo_name": "sofie/depot",
"id": "7b07ad142dbb1972f7748b0c5745dac2a7210288",
"size": "2221",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qcert: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | {
"content_hash": "a0cfc8b41238a2b93a547c536f9aab0d",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 351,
"avg_line_length": 43.40588235294118,
"alnum_prop": 0.5522428513348693,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "eaaca75ca7400b8be38b0b8edd3a3b162346f7f1",
... |
FROM nfnty/arch-mini:latest
MAINTAINER "nfnty <docker@nfnty.se>"
ENV UGID="250000" UGNAME="exim" PRIMPATH="/exim"
RUN groupadd --gid "${UGID}" "${UGNAME}" && \
useradd --uid "${UGID}" --gid "${UGID}" --shell /usr/bin/false "${UGNAME}"
RUN install --directory --owner=root --group="${UGNAME}" --mode=750 \
... | {
"content_hash": "91506d9542fc39e3a49dfe5a454d23e2",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 36.96296296296296,
"alnum_prop": 0.6082164328657315,
"repo_name": "bfritz/nfnty-dockerfiles",
"id": "910a26c3e5f63b2a87f5b1726d39b107abdb0a40",
"size... |
package org.jetbrains.jps.gradle.model;
import org.jdom.Element;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.jps.builders.storage.BuildDataPaths;
import org.jetbrains.jps.gradle.model.artifacts.JpsGradleArtifactExtension;
import org.jetbrains.jps.gradle.mo... | {
"content_hash": "8e0a757af48447dcb338f41770543d73",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 120,
"avg_line_length": 39.2,
"alnum_prop": 0.8306122448979592,
"repo_name": "paplorinc/intellij-community",
"id": "f9ee0fd1386fb9641c6fe0e52195564074c44aab",
"size": "2560... |
UNIX_DNSProtocolEndpointProvider::UNIX_DNSProtocolEndpointProvider()
{
}
UNIX_DNSProtocolEndpointProvider::~UNIX_DNSProtocolEndpointProvider()
{
}
CIMInstance UNIX_DNSProtocolEndpointProvider::constructInstance(
const CIMName &className,
const CIMNamespaceName &nameSpace,
const UNIX_DNSProtocolEndpoint &_p) const
... | {
"content_hash": "b2ba811c6dce35b85b7314d90b947156",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 117,
"avg_line_length": 31.362068965517242,
"alnum_prop": 0.759758108851017,
"repo_name": "brunolauze/openpegasus-providers-old",
"id": "93fcc68d5a734f692100ef9edf8577eb9b5e... |
import os
from subprocess import Popen, PIPE
from datetime import datetime
import argparse
import MySQLdb
import json
# Parse command-line options
###########################################
def options():
"""Parse command-line options
"""
parser = argparse.ArgumentParser(description="HTCondor job statist... | {
"content_hash": "e0472148b73bf0a3f8b919ecb677eb0b",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 133,
"avg_line_length": 35.02590673575129,
"alnum_prop": 0.5140532544378699,
"repo_name": "danforthcenter/htcondor-tools",
"id": "181317bd61ccf661fdfdd0a1591042a1cc209c6d",
... |
package hu.vmiklos.addr_osmify;
import com.google.gson.annotations.SerializedName;
/**
* TurboTags contains various tags about one Overpass element.
*/
class TurboTags
{
@SerializedName("addr:city") public String city;
@SerializedName("addr:housenumber") public String houseNumber;
@SerializedName("add... | {
"content_hash": "1267ad7aec999798107fe7bfff32ca48",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 26.055555555555557,
"alnum_prop": 0.7484008528784648,
"repo_name": "vmiklos/vmexam",
"id": "dc554bc2555f0cfeebac569efa0e14c3532f5232",
"size": "632",... |
--+ holdcas on;
set system parameters 'dont_reuse_heap_file=yes';
create table tb (id int primary key, a int, b varchar(10));
insert into tb values (4,4,'4'), (1,1,'1');
create index i_tb_a on tb(a) with online;
insert into tb values (2,2,'2'),(3,3,'3');
insert into tb values (5,5,'4'),(6,6,'3');
--TEST
select /*+ rec... | {
"content_hash": "2b8b2c726e673540de7a4781f55c7498",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 92,
"avg_line_length": 30.625,
"alnum_prop": 0.6612244897959184,
"repo_name": "CUBRID/cubrid-testcases",
"id": "3b39c81898cd14a80518a82999b028b5847d0308",
"size": "490",
... |
<?xml version="1.0"?>
<!--
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route id="adminhtml">
<module name="Magento_Captcha" />
</route>
</router>
</config>
| {
"content_hash": "2d785e55fcc8d768dfd7cda84b024d8e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 135,
"avg_line_length": 28.181818181818183,
"alnum_prop": 0.6161290322580645,
"repo_name": "tarikgwa/test",
"id": "7fcddacd3ed66d8ccc172b8c33f90396172ed393",
"size": "408",... |
namespace BTDB.KVDBLayer
{
enum KVFileType : byte
{
TransactionLog,
KeyIndex,
PureValues,
PureValuesWithId,
HashKeyIndex,
Unknown,
}
} | {
"content_hash": "698df87588d5bc93063ba0b835247429",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 26,
"avg_line_length": 16.166666666666668,
"alnum_prop": 0.5515463917525774,
"repo_name": "yonglehou/BTDB",
"id": "62ba9d2d5aa54d393ca12aabff64411efe31a697",
"size": "194",... |
/**
* Javascript Class Helper
* @author Tom Flidr | tomflidr(at)gmail(dot)com
* @version 1.1
* @date 2016-07-15
* @usage
var ClassName = Class({
Extend: ParentClassName,
Static: {
staticMethod: function () {
// call parent static method with same name
this.parent(param1, param2, ...);
// call any oth... | {
"content_hash": "795e93edbfc4634338b9f43d1dbae55e",
"timestamp": "",
"source": "github",
"line_count": 388,
"max_line_length": 390,
"avg_line_length": 38.97938144329897,
"alnum_prop": 0.6750198360222164,
"repo_name": "tomFlidr/class.js",
"id": "5a28a63a691986480124fce89300d228f93d7853",
"size": "1... |
mycovex = require('./index');
| {
"content_hash": "4b447d01d6dfe8135bc974c6550d4b15",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 29,
"avg_line_length": 30,
"alnum_prop": 0.6333333333333333,
"repo_name": "emepyc/biojs-testcov",
"id": "c8532c7a5dc9f3fe06aefbfa99890e3ee47c48d3",
"size": "30",
"binary":... |
/**
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... | {
"content_hash": "7bce1e9770942a2387998756eb62bd5e",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 108,
"avg_line_length": 32.34615384615385,
"alnum_prop": 0.6718192627824019,
"repo_name": "flex-oss/flex-ui",
"id": "07253e8129348ffef0e4d06d69d48b3bea4af61f",
"size": "252... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.load_ipython_extension = load_ipython_extension;
function filterRows(filterText) {
var rows = Array.prototype.concat.apply([], document.querySelectorAll('.list_item.row'));
rows.forEach(function (row) {
if (!filter... | {
"content_hash": "aa317cb14dbd6d99aaab2440b6364516",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 98,
"avg_line_length": 30.26923076923077,
"alnum_prop": 0.6353240152477764,
"repo_name": "jdfreder/jupyter-tree-filter",
"id": "4c4be808edc8c2cfbe7d9306224181a0e498c19a",
"... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file is autogenerated by:
// mojo/public/tools/bindings/mojom_bindings_generator.py
// For:
// media/mojo/interfaces/media_types.mojom
//... | {
"content_hash": "2c34431cf64f7bc70e6ac475867cc894",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 186,
"avg_line_length": 39.86666666666667,
"alnum_prop": 0.6396321070234113,
"repo_name": "mogoweb/365browser",
"id": "5354e548f7d0a6ddcdaccf5312339792620a57ee",
"size": "... |
package org.apache.ignite.internal.processors.cache;
import org.apache.ignite.cache.*;
import static org.apache.ignite.cache.CacheDistributionMode.*;
/**
*
*/
public class IgniteCacheAtomicNearEnabledInvokeTest extends IgniteCacheAtomicInvokeTest {
/** {@inheritDoc} */
@Override protected CacheDistributi... | {
"content_hash": "779c01bfc068eb27d1dbe98872e26d68",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 89,
"avg_line_length": 22.88235294117647,
"alnum_prop": 0.7506426735218509,
"repo_name": "gridgain/apache-ignite",
"id": "3a23e49867ae6e0e447bba29b223a1b7cd0984a7",
"size":... |
<?php
class RokNavMenuFusionTheme extends AbstractRokMenuTheme {
protected $defaults = array(
'roknavmenu_fusion_load_css' => 1,
'roknavmenu_fusion_enable_js' => 1,
'roknavmenu_fusion_opacity' => 1,
'roknavmenu_fusion_effect' => 'slidefade',
'roknavmenu_fusion_hidedelay' =... | {
"content_hash": "c2a9ac6c2a61b83facacfd4fe33d6ca1",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 61,
"avg_line_length": 36.333333333333336,
"alnum_prop": 0.6207951070336392,
"repo_name": "creative2020/f4u",
"id": "f52b3efc4a4edd8c1d75e47d4fd5d91c47a516d2",
"size": "156... |
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1d8ec09c5aa790b78cb5f0d99f0116af",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "30ba12dc19bfa76ab50d31db1250715ad3473388",
"size": "184"... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Responses
{
public class SubjectAlternativeNameDetailsResponse
{
public string SubjectAlternativeName { get; set; }
public string Status { get; set; ... | {
"content_hash": "e1b6daee4f009cfff69f34d12cbb2faa",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 23.571428571428573,
"alnum_prop": 0.7363636363636363,
"repo_name": "vip30/GodaddyWrapper.Net",
"id": "f5bd318d6daf015318c98bdfe5131712f682b511",
"siz... |
'use strict';
let chai = require('chai');
let assert = chai.assert;
let expect = chai.expect;
let sinon = require('sinon');
let request = require('supertest');
let express = require('express');
let app = require('../app');
let ejs = require('ejs');
let getCookies = require('./test_tool').getCookies;
describe('Views',... | {
"content_hash": "3d664c71f3b3c2ae24604be0c17ed284",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 79,
"avg_line_length": 27.603448275862068,
"alnum_prop": 0.5890068707058088,
"repo_name": "developerDemetri/mosquitodb",
"id": "eb92ce0157c629660690c9a80e5de1c5dbf96933",
"... |
package com.taobao.weex.ui.component;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v4.view.ViewPager;
import android.support.v4.view.ViewPager.OnPageChangeListener;
import android.text.TextUtils;
import android.view.GestureDetector;
import android.view.MotionEvent;... | {
"content_hash": "fda40fda96579f1f62d49ab08143508e",
"timestamp": "",
"source": "github",
"line_count": 536,
"max_line_length": 183,
"avg_line_length": 29.82276119402985,
"alnum_prop": 0.6565530184548014,
"repo_name": "evildoerX/weex-ouikit",
"id": "db20ef2e9312b8065d9219472ce90c2bbf5c546b",
"size"... |
package com.beecavegames.bjc.handlers;
import java.util.Date;
import com.beecavegames.common.Response;
import com.beecavegames.common.Response.Status;
import com.beecavegames.dispatch.Param;
import com.beecavegames.dispatch.RequestContext;
import com.beecavegames.dispatch.RequiresAuthentication;
import com.beecavegam... | {
"content_hash": "001025d3dca26c83ee21c5079a94e3e7",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 136,
"avg_line_length": 37.391304347826086,
"alnum_prop": 0.7715116279069767,
"repo_name": "sgmiller/hiveelements",
"id": "eaf9f28937692fe1fe72830b1bf3f69e9a547e25",
"size"... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ti... | {
"content_hash": "7e5bb50b013f23bada0df99f3ee72afc",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.80555555555556,
"alnum_prop": 0.7451682176091625,
"repo_name": "alphamax/TinyWorkflow",
"id": "c8707d5702e1396f79803caef8e1c344cab783e1",
"size": ... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.document.predicate;
import com.yahoo.document.predicate.parser.PredicateLexer;
import com.yahoo.document.predicate.parser.PredicateParser;
import com.yahoo.text.Ascii;
import org.antlr.runtime.ANT... | {
"content_hash": "82b6464ee098a954b78cef0b7b2f3f4c",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 108,
"avg_line_length": 32.46835443037975,
"alnum_prop": 0.6697855750487329,
"repo_name": "vespa-engine/vespa",
"id": "c15e5415abf0049d391f9b08966a70c0b7a3cefc",
"size": "2... |
using System;
namespace AnimalHierarchy
{
class Cat : Animal
{
public Cat(int age, string name, Sex sex) : base(age, name, sex)
{
}
public override void MakeSound()
{
Console.WriteLine("Meow-meow");
}
}
}
| {
"content_hash": "07ff3d1cffc8742f6222148ddedd5d45",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 72,
"avg_line_length": 17.5,
"alnum_prop": 0.5178571428571429,
"repo_name": "ndvalkov/TelerikAcademy2016",
"id": "1d43dd54c834dbc87854cb03452e4c001ac085a9",
"size": "282",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2003 - 2016 The eFaps Team
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 req... | {
"content_hash": "059d4afcdc02127c102d48cf3f36a76e",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 101,
"avg_line_length": 35.857142857142854,
"alnum_prop": 0.5832669322709163,
"repo_name": "eFaps/eFaps-Kernel-Install",
"id": "871efbf62812e43ef7106617b3aea4cc35430679",
... |
import expresso.visitor as visitor
from expresso.printer import Printer
from mpmath import mp
import functions as f
import expression as e
class CodePrinter(Printer):
def __init__(self):
super(CodePrinter,self).__init__(e.expression_converter)
@visitor.on('expr',parent = Printer)
def visit(self,... | {
"content_hash": "03391a4491ad028f23f3bedde08bc0a8",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 68,
"avg_line_length": 30.09090909090909,
"alnum_prop": 0.6878147029204431,
"repo_name": "TheLartians/Expresso",
"id": "258b4a12cc9505fc2e14523f502608ec97360c47",
"size": "... |
package org.wso2.siddhi.extension.math;
import org.wso2.siddhi.core.config.ExecutionPlanContext;
import org.wso2.siddhi.core.exception.ExecutionPlanRuntimeException;
import org.wso2.siddhi.core.executor.ExpressionExecutor;
import org.wso2.siddhi.core.executor.function.FunctionExecutor;
import org.wso2.siddhi.query.a... | {
"content_hash": "af9f51c5d1159391fd8efac060c5e702",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 136,
"avg_line_length": 40.77777777777778,
"alnum_prop": 0.5946342485852023,
"repo_name": "charwliu/siddhi",
"id": "026d7115d2410f59f2ce2c60169a0ff853f1a541",
"size": "541... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Lonchocarpus apricus Lundell
### Remarks
null | {
"content_hash": "71541bee15d2745b456ee71a1c1d1922",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.153846153846153,
"alnum_prop": 0.7278481012658228,
"repo_name": "mdoering/backbone",
"id": "9d5ba9edb8f37fe64456d751081054070b9fd00b",
"size": "23... |
@interface ChildEventView : UIView
@end
| {
"content_hash": "5e2bad5050a2599e0a2f68e1983d4e61",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 34,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.7804878048780488,
"repo_name": "CreazyShadow/SimpleDemo",
"id": "26c271de05bf934fcc91197dd98ba539a04ba978",
"size"... |
package com.puzzletimer.gui;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.geom.Rectangle2D;
import javax.swing.JComponent;
@SuppressWarnings("serial")
public class TimeLabel extends JComponent {
private String text;
public TimeLabel(Strin... | {
"content_hash": "0b8942aa0df653809e4a0b5564475aa9",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 96,
"avg_line_length": 31.682926829268293,
"alnum_prop": 0.6320246343341032,
"repo_name": "an-OK-squirrel/prisma-fork",
"id": "a8d8814a1df2b7593c4d8cdefe16d0a287e5f5ff",
"s... |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
using NUnit.Framework.Internal;
namespace Tests.Entities
{
public static class AppveyorHelper
{
public static bool IsRunning()
{
return System.Environment.GetEnvironmentVariable("APPVEYOR") != null;
}
}
... | {
"content_hash": "63ae3861c39607eeac6cfa949057378b",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 114,
"avg_line_length": 23.6,
"alnum_prop": 0.7086864406779662,
"repo_name": "MonkAlex/MangaReader",
"id": "26950fafe8a2e15653a707ae679be12fbda23c5d",
"size": "971",
"bin... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2e0693e2f66421af18a202ec44552fa0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "a981d7d5d4582662f94c8356f1e78ecf767cff91",
"size": "22... |
<?php
namespace libraries\utils;
use Symfony\Component\Yaml\Yaml;
use Monolog\Logger;
class YAMLParser
{
protected $ymlFilePath = null;
protected $logger = null;
public function __construct(Logger $logger) {
$this->logger = $logger;
}
public function findNodeByURI( $uri, $s... | {
"content_hash": "962fba177b74d3f8ada2bad343a1aecc",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 114,
"avg_line_length": 25.417910447761194,
"alnum_prop": 0.53904873752202,
"repo_name": "dmeikle/sc-dev",
"id": "2f25bac633c943662bb47209884fb302827be361",
"size": "1703",... |
using System.Collections.Generic;
using System.Windows.Forms;
using Editor.Selections;
using GameEngine.Data.Common;
using GameEngine.Data.Tiles.Behaviors;
using General.Common;
using General.Extensions;
using General.States;
using MapEditor.Data;
using MapEditor.Data.Actions.Tile;
using MapEditor.Data.Actions.Tile.Log... | {
"content_hash": "717ea96788dc485a136dd77f81d5ef3a",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 189,
"avg_line_length": 38.201438848920866,
"alnum_prop": 0.6943502824858757,
"repo_name": "oxysoft/PokeSharp",
"id": "d7df934917f999e628108b3ca326fc5478fc2864",
"size": "... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0) on Mon Jan 13 19:53:39 EST 2014 -->
<title>Uses of Class org.drip.product.definition.CalibratableComponent</title>
<meta name="d... | {
"content_hash": "feed017aa356cf2e730078e8d59e0ffe",
"timestamp": "",
"source": "github",
"line_count": 796,
"max_line_length": 691,
"avg_line_length": 87.39321608040201,
"alnum_prop": 0.6844390138719183,
"repo_name": "tectronics/rootfinder",
"id": "be5d0cdf19a9c00438e1d968e9d846ed6deeffbb",
"size"... |
package dialogflow
import (
"encoding/json"
"io/ioutil"
"os"
"path"
"testing"
)
func Test_ParseRequest(t *testing.T) {
wd , err := os.Getwd()
if err != nil {
t.Fatalf("Could not get working directory; %v", err)
}
testFile := path.Join(wd, "test_data", "request.json")
b, err := ioutil.ReadFile(testFile)... | {
"content_hash": "492c7d976b30952d378d50abe917ae6c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 88,
"avg_line_length": 21,
"alnum_prop": 0.6638655462184874,
"repo_name": "kubeflow/code-intelligence",
"id": "57a8ec94db1c171c46596842452b262724103fc6",
"size": "714",
"... |
The Web Settings of the Provisioning Template
**Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Model](OfficeDevPnP.Core.Framework.Provisioning.Model.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public WebSettings WebSettings { get; set; }
```
### Property Value
Type: [OfficeDevPnP.Core.Fram... | {
"content_hash": "04df396d37da3d3a29472b8c95bf92a5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 131,
"avg_line_length": 42.46666666666667,
"alnum_prop": 0.7912087912087912,
"repo_name": "PaoloPia/PnP-Guidance",
"id": "da075d5e21bdbddf0f4737480e42f07385a763d5",
"size":... |
The ID3 algorithm begins with the original set S as the root node. On each iteration of the algorithm, it iterates through every unused attribute of the set S and calculates the entropy H(S) (or information gain IG(A)) of that attribute. It then selects the attribute which has the smallest entropy (or largest informati... | {
"content_hash": "c826c8bbceffca6d4bb17ab583f597ab",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 596,
"avg_line_length": 42.189655172413794,
"alnum_prop": 0.6080915406620352,
"repo_name": "zjhzxhz/Algorithm",
"id": "d99c4a2f7e13d3df388c2360ab0aeb7a9a5d8a49",
"size": "2... |
function HtmlLoader(){
if(typeof(window) == 'undefined' || window == null)
throw 'Window cannot load!';
if(typeof(document) == 'undefined' || document == null)
throw 'Document cannot load';
this.xmlhttp = null;
this.html = null;
this.w = window;
this.d = document;
this.c = console;
}
HtmlLoader.prototype.in... | {
"content_hash": "dda90614cf1c6f99254b4212e6b325a3",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 78,
"avg_line_length": 25.810344827586206,
"alnum_prop": 0.6773547094188377,
"repo_name": "encreddesign/PocketMoneyManager",
"id": "b3d9dc3bc814a0379019a0132501949a81b96cfa",... |
from dvc.exceptions import InvalidArgumentError
from . import locked
@locked
def update(
self,
targets=None,
rev=None,
recursive=False,
to_remote=False,
remote=None,
jobs=None,
):
from ..dvcfile import Dvcfile
if not targets:
targets = [None]
if isinstance(targets, s... | {
"content_hash": "df1e89742603ddbdcf84cdf601a8509d",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 72,
"avg_line_length": 21.28205128205128,
"alnum_prop": 0.6265060240963856,
"repo_name": "efiop/dvc",
"id": "42c9d7d961c324858181dbe002adb74c3835b041",
"size": "830",
"bi... |
// Type definitions for bootstrap-datepicker
// Project: https://github.com/eternicode/bootstrap-datepicker
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jquery"/>
/**
* All options... | {
"content_hash": "3d8c1265e8e93c0bccf710ab436d7aae",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 121,
"avg_line_length": 36.505050505050505,
"alnum_prop": 0.7066961815163254,
"repo_name": "isman-usoh/DefinitelyTyped",
"id": "9287ee1ba3e5b515186209368439a02845a51c5d",
"... |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.42000
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'-----------... | {
"content_hash": "f74e141eee97326dcbf2b6bb54a4e802",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 183,
"avg_line_length": 39.89041095890411,
"alnum_prop": 0.6493818681318682,
"repo_name": "CompuMasterGmbH/CompuMaster.Console",
"id": "6b2627667947f0a4dcc897d5a4bd2b7141af25... |
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
runApp();
});
/**
* Listens for the app restarting then re-creates the window.... | {
"content_hash": "bd3d6098df3a55e37f28a298fa733a72",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 61,
"avg_line_length": 21.38888888888889,
"alnum_prop": 0.6519480519480519,
"repo_name": "rwatts3/chrome-apps",
"id": "3499b2fbd08429e8409ccab6a8619bb98e18fa90",
"size": "7... |
package io.crate.metadata.sys;
import io.crate.metadata.IndexParts;
import javax.annotation.Nullable;
class TableHealth {
enum Health {
GREEN,
YELLOW,
RED;
public short severity() {
return (short) (ordinal() + 1);
}
}
private final String tableName... | {
"content_hash": "36177adfb040611ef50359d0017ea451",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 111,
"avg_line_length": 28.25862068965517,
"alnum_prop": 0.5945698596705308,
"repo_name": "EvilMcJerkface/crate",
"id": "3d387853826c3bc07e73f6a7b1ca179e79273325",
"size":... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... | {
"content_hash": "d2ded047c6bd304772b786be987ec1e1",
"timestamp": "",
"source": "github",
"line_count": 1678,
"max_line_length": 105,
"avg_line_length": 36.203814064362334,
"alnum_prop": 0.6143374485596708,
"repo_name": "leighpauls/k2cro4",
"id": "1c4ccfb998893045afcf34e14e4a03f121fd8845",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context="com.example.android.io2014.DetailActivity"
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_heig... | {
"content_hash": "c8c675fa76cc220187a468b68a4f32d7",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 69,
"avg_line_length": 30.8,
"alnum_prop": 0.6116883116883117,
"repo_name": "RanNachmany/rich-client-codelab",
"id": "65c2f22eee01a476d08074b783c2f8b27019be4f",
"size": "15... |
<?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 lang="en-us" xml:lang="en-us">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NO... | {
"content_hash": "be77f08bedaaf89417d3e1cb5c719f00",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 261,
"avg_line_length": 47.94117647058823,
"alnum_prop": 0.7156441717791411,
"repo_name": "mminella/jsr-352-ri-tck",
"id": "27e3497a507779dbc11b0d4bae36da518397dbfd",
"size... |
require "json"
require "http/mime_type/adapter"
module HTTP
module MimeType
# JSON encode/decode MIME type adapter
class JSON < Adapter
# Encodes object to JSON
def encode(obj)
return obj.to_json if obj.respond_to?(:to_json)
::JSON.dump obj
end
# Decodes JSON
de... | {
"content_hash": "7b1c5244d123d64f75dd0df4aa200f3a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 55,
"avg_line_length": 20.91304347826087,
"alnum_prop": 0.6257796257796258,
"repo_name": "pezra/http.rb",
"id": "0dd4df4e646fc31c71d84eb181ccf3660a33c8cf",
"size": "512",
... |
using namespace json_spirit;
using namespace std;
class CTxDump
{
public:
CBlockIndex *pindex;
int64 nValue;
bool fSpent;
CWalletTx* ptx;
int nOut;
CTxDump(CWalletTx* ptx = NULL, int nOut = -1)
{
pindex = NULL;
nValue = 0;
fSpent = false;
this->ptx = ptx;
... | {
"content_hash": "53012daf2947b409b5a919e329d9ec0c",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 104,
"avg_line_length": 30.3953488372093,
"alnum_prop": 0.640397857689365,
"repo_name": "020LondonCoin/020Londoncoin_LNX",
"id": "49532f00266791e2155dab4595703bb7def09101",
... |
CREATE VIEW console_error_events AS
SELECT args.string_value as source
from slices
inner join args using(arg_set_id)
where slices.name = "ConsoleMessage::Error"
and slices.category = "blink.console"
and args.flat_key = "debug.source"
UNION ALL
SELECT "JS" AS source
FROM slices
WHERE slices.category = 'v8.console' A... | {
"content_hash": "664148d365533caa2903fe5c5df90190",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 89,
"avg_line_length": 33.107142857142854,
"alnum_prop": 0.7486515641855448,
"repo_name": "endlessm/chromium-browser",
"id": "809ade3bf794a851d6e514ee7f2832b80b05f6c2",
"si... |
package org.apache.camel.component.jms;
import javax.jms.ConnectionFactory;
import org.apache.camel.CamelContext;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.junit4... | {
"content_hash": "f657d593b23a6777ac9c444969fd9bfe",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 94,
"avg_line_length": 33.1764705882353,
"alnum_prop": 0.6758865248226951,
"repo_name": "CodeSmell/camel",
"id": "9beb014a1a9f12fa2c269ec6bed9e42e5b78b14c",
"size": "3622",... |
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Operations;
namespace NQuery.Authoring.VSEditorWpf.Commenting
{
[Export(typeof(ICommentOperationsProvider))]
internal sealed class CommentOperationsProvider : ICommentOperationsProvider
{
... | {
"content_hash": "dce33f1744ded0b5b47be7d935a087fa",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 120,
"avg_line_length": 36.26086956521739,
"alnum_prop": 0.7254196642685852,
"repo_name": "terrajobst/nquery-vnext",
"id": "7f9c115d1a3864c1a78f73a2a2139d1254c091f3",
"size... |
package com.haskforce.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import static com.haskforce.psi.HaskellTypes.*;
import com.haskforce.psi.... | {
"content_hash": "9f6c84d252d897a81d9f46e80b3c755b",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 89,
"avg_line_length": 23.666666666666668,
"alnum_prop": 0.7547638773819387,
"repo_name": "carymrobbins/intellij-haskforce",
"id": "e96f3dcbe7fd5a59268cc3d6969d2021e720e063",... |
package ceylon.language;
@com.redhat.ceylon.compiler.java.metadata.Ceylon(major=(int) 8,
minor=(int) 1)
@java.lang.annotation.Retention(value=java.lang.annotation.RetentionPolicy.RUNTIME)
@com.redhat.ceylon.compiler.java.metadata.Ignore
@java.lang.annotation.Target(value={java.lang.annotation.ElementType.CONSTRUCTOR,... | {
"content_hash": "60ab80ee4de6321d7f0308dda45069a9",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 242,
"avg_line_length": 66.5,
"alnum_prop": 0.8327067669172933,
"repo_name": "davidfestal/ceylon-gwt",
"id": "b5e2967999809b4a1b931a0c02e7d5a0256997e7",
"size": "532",
"bi... |
cask 'font-spirax' do
version :latest
sha256 :no_check
# github.com/google/fonts was verified as official when first introduced to the cask
url 'https://github.com/google/fonts/raw/master/ofl/spirax/Spirax-Regular.ttf'
name 'Spirax'
homepage 'https://www.google.com/fonts/specimen/Spirax'
font 'Spirax-Re... | {
"content_hash": "d8e960c03227506dca85d3bfb9902f61",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 86,
"avg_line_length": 30.454545454545453,
"alnum_prop": 0.746268656716418,
"repo_name": "unasuke/homebrew-fonts",
"id": "f4b2eb81e323c038b38ec59eb0282679104ea06d",
"size":... |
if [ "$(whoami)" != "root" ]; then
echo "Sorry, this script must be executed with sudo or as root"
exit 1
fi
echo
echo "----------------"
echo "Updating sources"
echo "----------------"
echo
apt-get update
echo
echo "--------------------------"
echo "Removing gphoto2 if exists"
echo "--------------------------"
... | {
"content_hash": "9590d005d0c76cf0df59012f45209612",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 138,
"avg_line_length": 20.405405405405407,
"alnum_prop": 0.5197350993377483,
"repo_name": "frxnz/photobooth",
"id": "74263a689858a3977dc57e0da9f4dfaf3bbc3165",
"size": "5... |
<?php
/**
* This code was generated by
* \ / _ _ _| _ _
* | (_)\/(_)(_|\/| |(/_ v1.0.0
* / /
*/
namespace Twilio\Rest\Taskrouter\V1\Workspace\Worker;
use Twilio\InstanceContext;
use Twilio\Options;
use Twilio\Serialize;
use Twilio\Values;
use Twilio\Version;
class ReservationContext extends Insta... | {
"content_hash": "63d2f7b0d687dacf76b4bcc6b3805391",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 152,
"avg_line_length": 32.447154471544714,
"alnum_prop": 0.5509897268854923,
"repo_name": "Abdulla-nilam/Twilio-SMS-Codeigniter",
"id": "3c858fce77501decd9634363630cd70dd7d... |
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
#... | {
"content_hash": "fbf3694743ff359b1f78c8be29820f98",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 312,
"avg_line_length": 31.522988505747126,
"alnum_prop": 0.7148587055606199,
"repo_name": "busebd12/InterviewPreparation",
"id": "cb6490afc01405c4d0b90e70ba01166a280fd331",... |
'use strict';
/**
* Module dependencies.
*/
var passport = require('passport');
module.exports = function(app) {
// User Routes
var users = require('../../app/controllers/users.server.controller');
// Setting up the users profile api
app.route('/users/me').get(users.me);
app.route('/users/orderHistory').get(u... | {
"content_hash": "f8d40d351f27b0cd4d30c123e3f76ad6",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 83,
"avg_line_length": 37.328125,
"alnum_prop": 0.722059439095856,
"repo_name": "Musicamise/musicamise-cli",
"id": "dc6e70ac7d04f9c65ae2eecfcbac5fe7247dd856",
"size": "2389... |
/* eslint-disable @typescript-eslint/ban-types */
import 'reflect-metadata';
import { MetaModel, KeyType } from './MetaModel';
import { ValueTransformer } from './ValueTransformer';
export const METADATA_MODEL_KEY = 'sqlite3orm:model';
/**
* Options for the '@table' class decorator
*
* @export
* @interface Table... | {
"content_hash": "712666f21b4b1792f8309c4bbeb38c7c",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 99,
"avg_line_length": 28.18007662835249,
"alnum_prop": 0.6863358259687288,
"repo_name": "gms1/node-sqlite3-orm",
"id": "9cfe4488db98d07542390a42194783b62df798ce",
"size":... |
/* $Id$ */
/* Copyright (c) 2011-2018 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Desktop Mailer */
/* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Re... | {
"content_hash": "6de811c4cb018ea2b03056ec713d0649",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 79,
"avg_line_length": 38.75471698113208,
"alnum_prop": 0.7434274586173321,
"repo_name": "DeforaOS/Mailer",
"id": "2da75b74366527387610d1ffb58dad3fba081aa9",
"size": "2054"... |
<resources>
<string name="app_name">ProgressView</string>
</resources>
| {
"content_hash": "d553911c4ecdf09c8eefbbc262bef346",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 49,
"avg_line_length": 25,
"alnum_prop": 0.7066666666666667,
"repo_name": "Runpop/ProgressView",
"id": "d667769913aabce5c23cc93a89a74ce2e10c12b8",
"size": "75",
"binary": ... |
package foo.domaintest.http;
import static com.google.common.base.Strings.repeat;
import static foo.domaintest.util.Key.Type.STASH;
import static foo.domaintest.util.Key.Type.TOKEN;
import static foo.domaintest.util.testutil.LazyFactory.lazy;
import static org.junit.Assert.assertEquals;
import static org.junit.Asser... | {
"content_hash": "cb70c4cc76719fb3655621be88079dea",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 95,
"avg_line_length": 34.04761904761905,
"alnum_prop": 0.6965034965034965,
"repo_name": "google/domaintest",
"id": "0c811da96f8c2e96beb0d354e1a1845f0c03a934",
"size": "56... |
import {
Entity,
Property,
Enum,
OptionalProps
} from "@mikro-orm/core"
import {compare} from "bcrypt"
import {BaseDates} from "./BaseDates"
import type {OptionalDates} from "./BaseDates"
export enum UserRoles {
SUPER = "super",
REGULAR = "regular"
}
@Entity()
export class User extends BaseDates {
[Op... | {
"content_hash": "71b6315070790e678fc350be29aeb788",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 61,
"avg_line_length": 18.551724137931036,
"alnum_prop": 0.6440520446096655,
"repo_name": "octet-stream/eri",
"id": "32e78fd141caedb3b1a324ea2f932641aebd6903",
"size": "107... |
module ActsAsCached
module FragmentCache
def self.setup!
class << CACHE
include Extensions
end
setup_fragment_cache_cache
setup_rails_for_memcache_fragments
setup_rails_for_action_cache_options
end
# add :ttl option to cache helper and set cache store memc... | {
"content_hash": "0fa940b07812868f9ef28ec8325923a9",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 170,
"avg_line_length": 40.57258064516129,
"alnum_prop": 0.6124031007751938,
"repo_name": "defunkt/cache_fu",
"id": "1f1f6d1920d7220cf9dcf45d2b06263326d1727f",
"size": "50... |
using System;
using System.Threading;
namespace TradingMaster
{
public class PasswordBroker
{
public static void Broker(string pwd)
{
if (UInt64.Parse(pwd) < 10000000000)
{
string password = (UInt64.Parse(pwd) + 1).ToString();
Login logWi... | {
"content_hash": "c0855598fb36745bf00b327f618366bf",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 108,
"avg_line_length": 35.57142857142857,
"alnum_prop": 0.5110441767068273,
"repo_name": "SebastianChu/InterPlatformTradingMaster",
"id": "d22d6dd8c8eb330068050f9b7d251df9be... |
+++ src/Microsoft.AspNetCore.Http.Features/Properties/AssemblyInfo.cs 2016-03-09 14:06:01.087834000 -0500
@@ -6,6 +6,16 @@
[assembly: AssemblyMetadata("Serviceable", "True")]
[assembly: NeutralResourcesLanguage("en-us")]
+
+[assembly: AssemblyTitle("Microsoft.AspNetCore.Http.Features")]
+[assembly: AssemblyDescript... | {
"content_hash": "1f033aca1abe95d38855a59cd3db9d0e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 105,
"avg_line_length": 47.833333333333336,
"alnum_prop": 0.7537746806039489,
"repo_name": "brunolauze/freebsd-dotnet-ports",
"id": "628076330558cf423dd5419651a4379558c379e8"... |
'use strict';
function Person(gender, name) {
if (typeof gender !== "boolean") {
throw new Error("The argument 'gender' does not conform to expected contract");
}
if (!name) {
throw new Error("The argument 'name' is required");
}
if (typeof name !== "string") {
throw new Error("The argumen... | {
"content_hash": "987dccc3aaba7c0f2b9859ad181197bd",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 108,
"avg_line_length": 24,
"alnum_prop": 0.6757575757575758,
"repo_name": "jspringer2020/mock5",
"id": "c2303ec62eca11163a6f833dc8879552dc3886aa",
"size": "2640",
"bina... |
package org.apache.taverna.workbench.configuration.mimetype;
import java.util.Map;
import org.apache.taverna.configuration.Configurable;
public interface MimeTypeManager extends Configurable {
@Override
String getCategory();
@Override
Map<String, String> getDefaultPropertyMap();
@Override
String getUUID();
... | {
"content_hash": "6513e5a07641e448a398b6b3d73496e4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 60,
"avg_line_length": 18,
"alnum_prop": 0.7853535353535354,
"repo_name": "apache/incubator-taverna-workbench",
"id": "0de58817232670b9d31626cd1834e662179e322b",
"size": "1... |
using UnityEngine;
using System.Collections;
public class ProbeBobble : MonoBehaviour {
public float heightAmount = 0.05f;
public float heightFrequency = 2f;
public float driftAmountX = 0.025f;
public float driftAmountY = 0.025f;
public float driftFrequencyX = 0.64f;
public float driftFrequen... | {
"content_hash": "d2564f2a64e3f42537b4df15864128a7",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 117,
"avg_line_length": 33.8125,
"alnum_prop": 0.7030191004313001,
"repo_name": "vgdc-ucsd/ViveGame",
"id": "19b06b83e734f5802a1a94f4fc7c0b498c8cb54f",
"size": "1625",
"b... |
package me.anchore.ioc.impl;
import me.anchore.ioc.Bean;
import me.anchore.ioc.BeanException;
import me.anchore.ioc.BeanScanner;
import me.anchore.ioc.DuplicateBeanException;
import me.anchore.log.Loggers;
import me.anchore.util.Strings;
import org.objectweb.asm.ClassReader;
import org.objectweb.asm.ClassVisitor;
imp... | {
"content_hash": "a61bf6b63dcd8c20a968692a64b98121",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 114,
"avg_line_length": 36.94949494949495,
"alnum_prop": 0.6049753963914708,
"repo_name": "rofinily/code-fragment",
"id": "f861ffcadc23a05e06c72d3de6e7f80fd97ba3e8",
"size"... |
require_relative "../../../../spec_helper"
describe "Crowbar::Client::Command::Node::Show" do
include_context "command_context"
it_behaves_like "a command class", true do
subject do
::Crowbar::Client::Command::Node::Show.new(
stdin,
stdout,
stderr
)
end
end
end
| {
"content_hash": "8a6cc257f9a164d766c24ce29b8e55b1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 50,
"avg_line_length": 20.933333333333334,
"alnum_prop": 0.6019108280254777,
"repo_name": "SUSE-Cloud/crowbar-client",
"id": "9f1c005ff1338d7cab7605ef1e21c2f13c6aa8c4",
"si... |
define([
'views/commands/palette',
'core/commands/toolbar',
'core/search'
], function (PaletteView, commands, search) {
var palette = new PaletteView({
searchHandler: _.bind(search.query, search)
});
commands.register("palette.toggle", {
title: "Paleta",
description: "T... | {
"content_hash": "4756b6dfa3b88c36e60276653c271687",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 51,
"avg_line_length": 21.923076923076923,
"alnum_prop": 0.5263157894736842,
"repo_name": "cethap/cbcompiled",
"id": "32c853cb4c33450e2d5cac6481649318088f1b34",
"size": "57... |
SalvaPdfJsBundle
================
[](http://travis-ci.org/nibsirahsieu/SalvaPdfJsBundle)
This bundle provides a simple integration of the "[PDF.JS library](https://github.com/mozilla/pdf.js)" from mozilla into Symfony2.
Inst... | {
"content_hash": "85418ed53b3aebba2d2a1e4fc89bd166",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 147,
"avg_line_length": 18.8125,
"alnum_prop": 0.6764119601328904,
"repo_name": "nibsirahsieu/SalvaPdfJsBundle",
"id": "36066782a77840a9c6e1368493a59f4e9bcd0e08",
"size": "... |
"""\
====================================
Scheduler - runs things concurrently
====================================
The Scheduler runs active microprocesses - giving a regular timeslice to each.
It also provides the ability to pause and wake them; allowing an Axon based
system to play nicely and relinquish the cpu whe... | {
"content_hash": "c0b814abf30c00b41421925b3cdd837c",
"timestamp": "",
"source": "github",
"line_count": 585,
"max_line_length": 131,
"avg_line_length": 38.899145299145296,
"alnum_prop": 0.644577254350501,
"repo_name": "bbc/kamaelia",
"id": "e749644c5c2e8305f824cb4239a55b9dc817b908",
"size": "23615"... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/license... | {
"content_hash": "b398f12b84951f19890d983b0c9cb1c6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 228,
"avg_line_length": 57.78947368421053,
"alnum_prop": 0.7231329690346083,
"repo_name": "cluo29/com.aware.plugin.trying",
"id": "d2535739d5084e4352abf5b9f36ce3b4d58f4bd2",
... |
<?php
namespace SocialiteProviders\Shopify;
use SocialiteProviders\Manager\SocialiteWasCalled;
class ShopifyExtendSocialite
{
/**
* Register the provider.
*
* @param \SocialiteProviders\Manager\SocialiteWasCalled $socialiteWasCalled
*/
public function handle(SocialiteWasCalled $socialiteW... | {
"content_hash": "26aca46554ea5085b710527195353d0d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 80,
"avg_line_length": 23.22222222222222,
"alnum_prop": 0.7272727272727273,
"repo_name": "SocialiteProviders/Providers",
"id": "0cb65808e53a7776bd838bd4255069297f82645c",
"... |
<?php declare(strict_types=1);
namespace PHPUnit\TestRunner\TestResult;
use PHPUnit\Event\Test\BeforeFirstTestMethodErrored;
use PHPUnit\Event\Test\BeforeFirstTestMethodErroredSubscriber;
/**
* @internal This class is not covered by the backward compatibility promise for PHPUnit
*/
final class BeforeTestClassMetho... | {
"content_hash": "86d38152f10b4cc72bcea07225d41775",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 119,
"avg_line_length": 32.94117647058823,
"alnum_prop": 0.8035714285714286,
"repo_name": "sebastianbergmann/phpunit",
"id": "cfa5e9d5d771aea6458704eca5dd7a51eaa46473",
"si... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">
<sourceOutputDir name="target/generated-sources/annotations" />
<sourceTestOutputDir name="... | {
"content_hash": "f33ff0aaec0cbfbd1d03c6d4a88bef82",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 85,
"avg_line_length": 41.17391304347826,
"alnum_prop": 0.6441393875395988,
"repo_name": "lanouettea/solr4j",
"id": "7a532b3f0e31f14b635f65131dfa4cdbed2caccb",
"size": "947... |
package net.fortuna.ical4j.model.component;
import java.io.FileInputStream;
import java.io.IOException;
import java.net.URISyntaxException;
import java.text.ParseException;
import junit.framework.TestSuite;
import net.fortuna.ical4j.data.CalendarBuilder;
import net.fortuna.ical4j.model.Calendar;
import net.fortuna.... | {
"content_hash": "f7c9506abb01c9d5b1b74827481f1e17",
"timestamp": "",
"source": "github",
"line_count": 474,
"max_line_length": 120,
"avg_line_length": 37.67088607594937,
"alnum_prop": 0.6491935483870968,
"repo_name": "benfortuna/ical4j",
"id": "5517f35691f25f53b265b08dd9e0910407320ce5",
"size": "1... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Cryptography;
using System.Text;
/// <summary>
/// Summary description for password
/// </summary>
public class password
{
SHA1CryptoServiceProvider sha = new SHA1CryptoServiceProvider();
StringBuilder s... | {
"content_hash": "807c0105420df10abc57383a8cb2f02e",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 82,
"avg_line_length": 22.258064516129032,
"alnum_prop": 0.6550724637681159,
"repo_name": "Geoneer/GeoExplorer",
"id": "2b4f3c9edc7736cda24955712b5d763701f99bd3",
"size": "... |
title: Reflect Get
localeTitle: Отразить Get
---
## Отразить Get
Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/reflect/reflect-get/index.md) .
[Это руководство по быстрому стилю поможет вам принять ваш запрос на тягу](... | {
"content_hash": "04b8961513cd5afc01ee092cc3b0e156",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 177,
"avg_line_length": 41.6,
"alnum_prop": 0.7908653846153846,
"repo_name": "otavioarc/freeCodeCamp",
"id": "1329df538a25a28a18a28651d1bceb6b234502d3",
"size": "568",
"b... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>RangeUISlider Reference</title>
<link rel="stylesheet" type="text/css" href="css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="css/highlight.css" />
<meta charset='utf-8'>
<script src="js/jquery.min.js" defer></script>
<script src="j... | {
"content_hash": "28cad5458249abec9d8356125c098030",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 866,
"avg_line_length": 77.29396984924622,
"alnum_prop": 0.6669700614374411,
"repo_name": "chicio/RangeUISlider",
"id": "20b27a24845ce212d3c8e31facd707378143950f",
"size":... |
import { Routes, RouterModule } from '@angular/router';
import { StripePaymentComponent } from './stripe-payment.component';
const routes: Routes = [
{
path: '', component: StripePaymentComponent
}
];
export const routing = RouterModule.forChild(routes);
| {
"content_hash": "339b145313e949d1fdb9fb25f3b668e3",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 68,
"avg_line_length": 27.3,
"alnum_prop": 0.6996336996336996,
"repo_name": "krasnyuk/e-liquid-MS",
"id": "f9b264812f326c7fcce7c62ba2411d8794b8385c",
"size": "273",
"bina... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.2.2; en-us ; LG-P990H Build/FRG83G) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1/UCBrowser/8.3.0.143/145/444</title>
<link rel="styleshe... | {
"content_hash": "4a8bdc730ba3fb8e05e0ffb76285e4db",
"timestamp": "",
"source": "github",
"line_count": 1372,
"max_line_length": 955,
"avg_line_length": 41.32798833819242,
"alnum_prop": 0.5468942894430532,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "ba23d679d75f42fdf8815f3ba31e7d7353... |
__author__ = 'frankhe'
import lasagne
import numpy as np
import theano
import theano.tensor as T
from updates import deepmind_rmsprop
class DeepQLearner:
def __init__(self, input_width, input_height, num_actions,
num_frames, discount, learning_rate, rho,
rms_epsilon, momentum, c... | {
"content_hash": "36e208f8cf5a3a532e7d602d1da2bf58",
"timestamp": "",
"source": "github",
"line_count": 382,
"max_line_length": 112,
"avg_line_length": 39.21989528795812,
"alnum_prop": 0.5364437324789748,
"repo_name": "ShibiHe/Q-Optimality-Tightening",
"id": "1c676f1621c44203de1361684ec0d14e658af2fc"... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
... | {
"content_hash": "e79ce0583d3f1898be35f23299ca71a9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 73,
"avg_line_length": 43.95,
"alnum_prop": 0.6393629124004551,
"repo_name": "safrzone/safrzone-android",
"id": "108893fc37287b24679e52e780e15a97772ae833",
"size": "879",
... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://www.mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.hsweb.web.dao.config.ConfigMapper">
<resultMap id="ConfigResultMap" type="org.hsweb.web.bean.po.config.Config">
<id ... | {
"content_hash": "dd20c50ce513c4bd9921982e3a245478",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 107,
"avg_line_length": 42.285714285714285,
"alnum_prop": 0.6616795366795367,
"repo_name": "wuliuxs/axis-framework",
"id": "f11d10b0c2fdcf5060f59a2780564e27409b7f95",
"size... |
.marquee{
overflow: hidden;
position: relative;
left:0px;
transition:left 1s linear 1s;
-webkit-transition: left 1s linear 1s;
white-space: nowrap;
}
.marquee:hover{
transition:left 3s linear 3s;
-webkit-transition: left 3s linear 3s;
}
.marqueeContainer{
overflow: hidden;
}
.marqueeWrapper{
overflow: h... | {
"content_hash": "4cd83837f0cbb9d89b8991f0a8e16e93",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 39,
"avg_line_length": 14.26086956521739,
"alnum_prop": 0.725609756097561,
"repo_name": "browner12/marquee",
"id": "e1424cd3d17f1cad405a0ea4efce490c99b222e6",
"size": "581"... |
using DragonSpark.Compose;
using DragonSpark.Model.Commands;
using DragonSpark.Model.Selection.Stores;
using System.Collections.Generic;
namespace DragonSpark.Model.Sequences.Collections.Commands;
sealed class ItemCommands<T> : Store<IList<T>, ICommand<T>>
{
public static ItemCommands<T> Default { get; } = new ItemC... | {
"content_hash": "7430ae4d0c9d6d6e0dd595e3a62bb057",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 110,
"avg_line_length": 34.38461538461539,
"alnum_prop": 0.7807606263982103,
"repo_name": "DragonSpark/Framework",
"id": "410d914f532fae1594086e1fe4b2796280d1c67f",
"size":... |
package com.slyak.services.file.service;
import java.io.File;
import java.io.InputStream;
/**
* .
*
* @author stormning on 2017/1/6.
*/
public interface StorageService {
/**
* @param inputStream
* @return store key
*/
String store(InputStream inputStream);
File restore(String key);
}
| {
"content_hash": "b64cad0cf292adbe2548ee60ab6f6c2f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 40,
"avg_line_length": 14.428571428571429,
"alnum_prop": 0.6864686468646864,
"repo_name": "slyak/slyak-commons",
"id": "bbd35c9bf2939925860c112f6ba75cee6f26817d",
"size": "... |
<!-- do not translate this -->
| [Read these guidelines in other languages](/docs/i18n-languages) |
|-|
<!-- do not translate this -->
# Orientações para Contribuição
Olá 👋!
freeCodeCamp.org é possível graças a milhares de voluntários gentis como você. Somos gratos por suas contribuições e estamos felizes em te rec... | {
"content_hash": "7221f5cddd70c19c1110f80bc02d00e4",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 403,
"avg_line_length": 68.14189189189189,
"alnum_prop": 0.7747149231531978,
"repo_name": "BhaveshSGupta/FreeCodeCamp",
"id": "ffb9cdb2ff104758f9e3a05e2cde53b0ae7a2182",
"... |
// RobotBuilder Version: 2.0
//
// This file was generated by RobotBuilder. It contains sections of
// code that are automatically generated and assigned by robotbuilder.
// These sections will be updated in the future when you export to
// Java from RobotBuilder. Do not put any code or make any change in
// the blocks... | {
"content_hash": "f66e35a7975064a1cb763f061243f73b",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 102,
"avg_line_length": 33.24561403508772,
"alnum_prop": 0.7282321899736148,
"repo_name": "Loggerbots4127/loggerbot_2017",
"id": "7656344a2fb26dd6717889cd1b9c1be736993e39",
... |
package kafka.server
import java.io.File
import java.util.Properties
import java.util.concurrent.atomic.AtomicBoolean
import kafka.cluster.{Partition, Replica}
import kafka.log.{Log, LogManager}
import kafka.utils._
import org.apache.kafka.common.TopicPartition
import org.apache.kafka.common.metrics.Metrics
import o... | {
"content_hash": "3044cd293f6404166a56a7f4fa555294",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 154,
"avg_line_length": 42.31004366812227,
"alnum_prop": 0.7403240788523068,
"repo_name": "KevinLiLu/kafka",
"id": "efdadbb311d244f9d1ddf5c33f974b595af73073",
"size": "104... |
package me.yufan.gossip.utils;
import me.yufan.gossip.mybatis.entity.Comment;
import me.yufan.gossip.rest.dto.CommentDTO;
public class RandomComment extends RandomEntityGenerator {
private RandomComment() {
// No constructor
}
public static CommentDTO randomCommentDTO() {
return new Comm... | {
"content_hash": "d92db9da1c176afe871f25b9166261bd",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 58,
"avg_line_length": 28.79310344827586,
"alnum_prop": 0.6227544910179641,
"repo_name": "syhily/gossip",
"id": "1fa255e7729c0b1d6849fd426d9e8cb3d9d8d833",
"size": "835",
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
J. Linn. Soc. , Bot. 10(no. 45): 303 (1868)
#### Original name
Lentinus castoreus var. pusillus Berk. & M.A. Curtis
### Remarks
null | {
"content_hash": "40f92b201c9d5e71a4316a7f6534baee",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 15.076923076923077,
"alnum_prop": 0.6632653061224489,
"repo_name": "mdoering/backbone",
"id": "3ff129cfe5745bc9a023c5f2137e48614586ed1e",
"size": "27... |
package cz.fg.issuetracking.redmine;
import cz.fg.issuetracking.api.*;
import cz.fg.issuetracking.api.report.Report;
import cz.fg.issuetracking.api.report.StringReportRender;
import cz.fg.issuetracking.procedure.report.ChangelogReport;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Ignore;
imp... | {
"content_hash": "956c914e2ef1cc28dccf63e29d60511e",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 114,
"avg_line_length": 44.58227848101266,
"alnum_prop": 0.68725156161272,
"repo_name": "francm/maven-issuetracking-plugin",
"id": "9fe4bbb7daf04ff523511574ec05785f0f58a10e"... |
<!doctype html>
<html class="theme-next mist use-motion" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Cache-Control" content="no-transform" />
<... | {
"content_hash": "5d950c96c65be9e0a893bd72dca1b0a5",
"timestamp": "",
"source": "github",
"line_count": 739,
"max_line_length": 172,
"avg_line_length": 22.216508795669824,
"alnum_prop": 0.502679985381898,
"repo_name": "sj1370201/sj1370201.github.io",
"id": "be9916dbfe0981e5d174edec733e850813fb21fe",
... |
namespace verilog {
namespace analysis {
using verible::AutoFix;
using verible::LintRuleStatus;
using verible::LintViolation;
using verible::SyntaxTreeContext;
// Register ForbidConsecutiveNullStatementsRule
VERILOG_REGISTER_LINT_RULE(ForbidConsecutiveNullStatementsRule);
static const char kMessage[] =
"Do not u... | {
"content_hash": "97bfa8f8b1bf01e0905ab93fcddcf3be",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 80,
"avg_line_length": 28.084745762711865,
"alnum_prop": 0.6493663246831624,
"repo_name": "chipsalliance/verible",
"id": "9030dcbd01a89108e89ccff66514bdaa969d2d55",
"size":... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.