text stringlengths 2 1.04M | meta dict |
|---|---|
from .base import NewRelicBaseClient
from .exceptions import ItemAlreadyExistsError, ItemNotFoundError
from .synthetics import SyntheticsClient
class AlertClient(NewRelicBaseClient):
def __init__(
self, api_key,
base_url='https://api.newrelic.com',
timeout=10
):
super(AlertClie... | {
"content_hash": "ec2ce80cc528f9ef379d0ba1cf618e0f",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 78,
"avg_line_length": 34.229268292682924,
"alnum_prop": 0.5178851360980476,
"repo_name": "NativeInstruments/newrelic-cli",
"id": "fa7c34dbeabcfcba1e467b470f0416747ce0a2a6",... |
[](https://travis-ci.org/Atanas Dragolov/PXQLinkedIn)
[](http://cocoapods.org/pods/PXQLinkedIn)
[ # Must be before importing matplotlib.pyplot or pylab!
from neuralnilm import (Net, RealApplianceSource,
BLSTMLayer, DimshuffleLayer,
Bidirectio... | {
"content_hash": "f8b03abcbc3004796ea02a2a0d2110de",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 86,
"avg_line_length": 31.00995024875622,
"alnum_prop": 0.5725974651050858,
"repo_name": "mmottahedi/neuralnilm_prototype",
"id": "8d27f232604f49dc75f6c2a0ac6c57117e57c4c8",... |
package com.greenpepper.confluence.utils.stylesheet;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.atlassian.confluence.importexport.res... | {
"content_hash": "ec149666e4985d7eab526da2792e3f5e",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 140,
"avg_line_length": 31.14814814814815,
"alnum_prop": 0.7699167657550535,
"repo_name": "strator-dev/greenpepper-open",
"id": "4f5e98bfd4fddb8497c86f5062ac487adec91fdd",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "103987659501ea38591fb30d02e2b9bd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "70db0897e6cf3be8af2ea64cec7d3d0aa28f020f",
"size": "184... |
#pragma once
// ensure the MCU series is correct
#ifndef STM32PLUS_F4
#error This class can only be used with the STM32F4 series
#endif
namespace stm32plus {
/**
* Feature collection for this DMA channel. Parameterise this class with the features
* that you want to use on this channel.
*/
template<c... | {
"content_hash": "f19fba4e5e665be045abfafa7f6cff94",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 100,
"avg_line_length": 24.295454545454547,
"alnum_prop": 0.6679139382600561,
"repo_name": "tokoro10g/stm32plus",
"id": "d54b193d132d2c175fda9f34f62d5513ead60ba7",
"size": ... |
// -------------------------------------------------------------------------------------------------
//
// A technical indicator developed by Tushar Chande to numerically identify trends in candlestick charting.
// It is calculated by taking an N period moving average of the difference between the open and clos... | {
"content_hash": "656cc87b95ba09ed2f3992c02274ad68",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 115,
"avg_line_length": 37.85,
"alnum_prop": 0.5647291941875826,
"repo_name": "abhacid/cAlgoBot",
"id": "9bbee836a82e97afbb308091f8178b360da66e07",
"size": "1516",
"binar... |
package org.kman.tests.utils;
import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.util.Log;
public class PackageUtils {
private static final String TAG = "PackageUtils";
public static int getVersionCode(Context context) {
synchronized (... | {
"content_hash": "1de4c55507f8c2c593aaf2429fa9bf0d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 89,
"avg_line_length": 26.79310344827586,
"alnum_prop": 0.7245817245817245,
"repo_name": "kmansoft/tests",
"id": "1a9666b4fa6f933850b8f8053297017183a169c3",
"size": "777",
... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "9bc9d136272d5282cc2e482e2bca6f6a",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 99,
"avg_line_length": 47.630434782608695,
"alnum_prop": 0.5006846188954815,
"repo_name": "akromm/azure-sdk-tools",
"id": "5fba591b2293e5daa1322b1615843d0c669f490a",
"size... |
<?php
/**
* PHPMailer language file.
* Norwegian Version
*/
$PHPMAILER_LANG = array();
$PHPMAILER_LANG["provide_address"] = 'Du må ha med minst en' .
'mottager adresse.';
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer er ikke supportert.';
$PHPMAILER_LANG["execut... | {
"content_hash": "3a0a85cbfa539215135a12ecbcea34c2",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 47.09090909090909,
"alnum_prop": 0.6361003861003861,
"repo_name": "vincent03460/frx",
"id": "b99aba79cdb1b4254b3f3bd1b9bbdd1170d0b064",
"size": "1036... |
<!doctype html>
<html>
<head>
<title>Mithril</title>
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="style.css" rel="stylesheet" />
</head>
<body>
<header>
<nav class="container">
<a href="index.html" class="logo"><span>○</span> Mithril</a>
<a href="getting-started.html">Gui... | {
"content_hash": "ab4d532b115be899d302d8d5bd8850d4",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 198,
"avg_line_length": 39.75590551181102,
"alnum_prop": 0.6193305605070311,
"repo_name": "vikbert/mithril.js",
"id": "532b25ea7eb44f857a4fb1bf7e82ee7463422873",
"size": "... |
"""This module exports the jscs plugin class."""
from SublimeLinter.lint import Linter
class Jscs(Linter):
"""Provides an interface to jscs."""
syntax = ('javascript', 'html')
cmd = 'jscs -r checkstyle'
version_args = '--version'
version_re = r'(?P<version>\d+\.\d+\.\d+)'
version_requiremen... | {
"content_hash": "4bcadf0fb54d11d64874858ae11d6391",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 30.8,
"alnum_prop": 0.574025974025974,
"repo_name": "Raynos/SublimeLinter-jscs",
"id": "5499b3ae747142c092a884029755d320c6b5564d",
"size": "948",
"... |
class CreateBars < ActiveRecord::Migration
def change
create_table :bars do |t|
t.string :name
t.integer :idf
t.timestamps null: false
end
end
end
| {
"content_hash": "f023e8dd29f4e9bbec65a4442a15a0c1",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 42,
"avg_line_length": 17.8,
"alnum_prop": 0.6404494382022472,
"repo_name": "ricardobaumann/rails_generators",
"id": "ca57f4c8e239da61a2d268a21abcdf62fa3316bf",
"size": "17... |
AliGenerator* AddMCEMCocktailV2( Int_t collisionsSystem = 200,
Int_t centrality = 0,
Int_t decayMode = 1,
Int_t selectedMothers = 62591,
TString para... | {
"content_hash": "33e233d7e3dfc0db5f1e994ff8a22673",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 98,
"avg_line_length": 44.883116883116884,
"alnum_prop": 0.5254629629629629,
"repo_name": "dstocco/AliPhysics",
"id": "6ef92493c87b4cbe443d330f8192758d4830644a",
"size": "3... |
package net.peterkuterna.android.apps.devoxxsched.util;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.TransitionDrawable;
import android.widget.ImageView;
public class... | {
"content_hash": "a6d3dc213e8398525f390fc22c968525",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 74,
"avg_line_length": 28.208333333333332,
"alnum_prop": 0.7474150664697193,
"repo_name": "epiphany27/devoxx-schedule",
"id": "68592e391f284794a8e6e956061af8cbd0853b56",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>Backpack pages for Chrome™</title>
<meta charset="utf-8">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/custom-theme/jquery-ui-1.8.22.custom.css">
<link rel="stylesheet" href="css/application.css">
<script src="js/jquery-... | {
"content_hash": "7b26661a96fe39d48992999def18ce98",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 77,
"avg_line_length": 33.25806451612903,
"alnum_prop": 0.6450048496605237,
"repo_name": "gaelian/backpack-pages-for-chrome",
"id": "61cbdf59e55ea821eec7df7b2f9dc87423eea966"... |
static const NSTimeInterval kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week
@interface AUCache ()
- (void)createStorageDirectoryIfNeeded;
@end
@implementation AUCache
+ (instancetype)sharedCache {
static dispatch_once_t pred;
static id __sharedCache;
dispatch_once(&pred, ^{
__sharedCach... | {
"content_hash": "8bffb5da73389be64229654e1209bac8",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 123,
"avg_line_length": 28.7909604519774,
"alnum_prop": 0.630298273155416,
"repo_name": "appunite/AUImageCache",
"id": "c80d7e29c259fe3701131c229492040efcea68c0",
"size": ... |
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System;
using MiHomeLib.Commands;
using MiHomeLib.Contracts;
namespace MiHomeLib
{
public class UdpTransport: IMessageTransport
{
private readonly string _gwPassword;
private readonly string _mult... | {
"content_hash": "f30ab709283a25c2cfa592a1dff8eb8d",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 123,
"avg_line_length": 30.392857142857142,
"alnum_prop": 0.6233842538190364,
"repo_name": "sergey-brutsky/mi-home",
"id": "acff9f118c96c13984665a1638e935e3054523d5",
"size... |
$varAlmserv = Get-VstsInput -Name 'varAlmserv' -Require
$varUserName = Get-VstsInput -Name 'varUserName' -Require
$varPass = Get-VstsInput -Name 'varPass'
$varDomain = Get-VstsInput -Name 'varDomain' -Require
$varProject = Get-VstsInput -Name 'varProject' -Require
$varEnvId = Get-VstsInput -Name 'varEnvId' -Requir... | {
"content_hash": "f2c2f17f9a4ce893bf57c277fbe2fba8",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 282,
"avg_line_length": 34.0609756097561,
"alnum_prop": 0.6970998925886144,
"repo_name": "hpsa/ADM-TFS-Extension",
"id": "2ed6b9d3f234e5cb09e7dec50841f46caeaa55ab",
"size"... |
import Ember from 'ember';
import among from './macros/among';
import allEqual from './macros/all-equal';
import encodeURIComponent from './macros/encode-uri-component';
import encodeURI from './macros/encode-uri';
import firstPresent from './macros/first-present';
import fmt from './macros/fmt';
import htmlEscape from... | {
"content_hash": "1989c02396bdcbdd8da95b02338cc5be",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 66,
"avg_line_length": 25.531645569620252,
"alnum_prop": 0.7139315815567675,
"repo_name": "lolmaus/ember-cpm",
"id": "f7e7870c076b1711186f928ed4b8b1cd8840a43b",
"size": "20... |
<CartCreateResponse xmlns="http://webservices.amazon.com/AWSECommerceService/2011-08-01">
<OperationRequest>
<HTTPHeaders>
<Header Name="UserAgent" Value="Python-urllib/2.6"/>
</HTTPHeaders>
<RequestId>1N5G10MR33W1J99KSMPB</RequestId>
<Arguments>
<Argument Name="Service" Value="AWSECommerc... | {
"content_hash": "8378faab6898e99686c7fb276ae681e9",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 221,
"avg_line_length": 37.81318681318681,
"alnum_prop": 0.6378959604766057,
"repo_name": "prats226/python-amazon-product-api-0.2.8",
"id": "a3540ac37594d081b65cfefcb8daeebdd... |
/******************************************************************
iLBC Speech Coder ANSI-C Source Code
WebRtcIlbcfix_LsfInterpolate2PloyEnc.c
******************************************************************/
#include "defines.h"
#include "interpolate.h"
#include "lsf_to_poly.h"
/*--------------------------... | {
"content_hash": "ca665b48f46fc0a5dc5a11c8f62a31ac",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 69,
"avg_line_length": 32.8421052631579,
"alnum_prop": 0.5160256410256411,
"repo_name": "wilebeast/FireFox-OS",
"id": "3b0a34dd9b5f452e0cf6b15aeae8ac3d89917a0b",
"size": "1... |
```
usage: archive [-h] {configure,aws,local} ...
Bioinformatics archiving tools.
positional arguments:
{configure,aws,local}
configure Configure the data archiving tool.
aws AWS data archiving tool. Uploads files to AWS and
stores S3 metadata.
local ... | {
"content_hash": "49c09266bda67c37f592ca824b4e47b6",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 120,
"avg_line_length": 33.57377049180328,
"alnum_prop": 0.67138671875,
"repo_name": "danforthcenter/htcondor-tools",
"id": "16208fc1b8b8bfbb3b1d4af4788f6fd1f2d283e2",
"siz... |
<!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 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package com.cloudera.oryx.common.text (Oryx 2.4.1 API)</title>
... | {
"content_hash": "1bb27ec86587456635d580dcfc16f467",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 125,
"avg_line_length": 33.56,
"alnum_prop": 0.6066746126340882,
"repo_name": "oncewang/oryx2",
"id": "836a22b8f9b2557cb2e381cf1b71874787fef927",
"size": "4195",
"binary... |
package provision
import (
"github.com/pkg/errors"
"github.com/tsuru/tsuru/db"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"
)
var (
ErrPublicDefaultPollCantHaveTeams = errors.New("Public/Default pool can't have teams.")
ErrDefaultPoolAlreadyExists = errors.New("Default pool already exists.")
ErrPoolNameIsReq... | {
"content_hash": "b1788a483f15b4a7b99d60ecd0f63b37",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 105,
"avg_line_length": 20.99134199134199,
"alnum_prop": 0.6436378634770056,
"repo_name": "gwmoura/tsuru",
"id": "dfb75abbe3fdabf672bfcd0b1eba61d480b9bb02",
"size": "5008"... |
package org.gradle.cache.internal;
import com.google.common.collect.Sets;
import org.gradle.util.GradleVersion;
import java.util.SortedSet;
public class UsedGradleVersionsFromGradleUserHomeCaches implements UsedGradleVersions {
private final VersionSpecificCacheDirectoryScanner directoryScanner;
public U... | {
"content_hash": "32287f41801b7212b729ef51a2db3433",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 110,
"avg_line_length": 32.42307692307692,
"alnum_prop": 0.7722419928825622,
"repo_name": "robinverduijn/gradle",
"id": "965813d3ec59163a8634e300505a9eba3f87f7df",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> UPNP_E_INTERNAL_ERROR [-911]</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2> <A HREF="#DOC.DOCU">UPNP_E_INTERNAL_ERROR [-911]</A></H2></H2><A NAME="DOC.DOCU"></A>
<BLOCKQUOTE><TT>UPN... | {
"content_hash": "6600e94910fb5eb73dadf452e4e35640",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 37.23529411764706,
"alnum_prop": 0.660347551342812,
"repo_name": "commshare/pupnp",
"id": "b736bc58bec33c1c59dfb5cf7433e7112fd35e2f",
"size": "633",
... |
const HtmlRelation = require('../HtmlRelation');
class HtmlStyleAttribute extends HtmlRelation {
static getRelationsFromNode(node) {
if (node.nodeType === node.ELEMENT_NODE && node.matches('[style]')) {
return {
type: 'HtmlStyleAttribute',
to: {
type: 'Css',
isExternaliz... | {
"content_hash": "cd028ee008d718c284e656db614df420",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 77,
"avg_line_length": 22.25531914893617,
"alnum_prop": 0.607074569789675,
"repo_name": "assetgraph/assetgraph",
"id": "4bf53d24237dce8a7f9117488ee2c9c3ea7c3b48",
"size": "... |
package initServlet;
import java.sql.Timestamp;
import java.util.List;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServlet;
import org.apache.commons.lang.StringUtils;
import org.springframework.web.context.support.WebApplicationContextUtils;
import com.swfarm.biz.chain.bo.Currency... | {
"content_hash": "cf5d85e391f554fa3a50b90ff073ccbd",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 74,
"avg_line_length": 40.212765957446805,
"alnum_prop": 0.7400352733686067,
"repo_name": "zhangqiang110/my4j",
"id": "35c43a53166a792dfee4bdcf4d279398dc064ca7",
"size": "... |
#if !defined(FUSION_LESS_EQUAL_05052005_1141)
#define FUSION_LESS_EQUAL_05052005_1141
#include <lslboost/mpl/bool.hpp>
#include <lslboost/fusion/iterator/deref.hpp>
#include <lslboost/fusion/iterator/next.hpp>
#include <lslboost/fusion/iterator/equal_to.hpp>
namespace lslboost { namespace fusion { namespace detail
{... | {
"content_hash": "cfba3305d94072118496d2b493810fef",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 75,
"avg_line_length": 27.209302325581394,
"alnum_prop": 0.5837606837606838,
"repo_name": "gazzlab/LSL-gazzlab-branch",
"id": "0247beae9c7e61b0620c88c0bbdd1197b052220d",
"s... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Hedwigia 65: 253 (1925)
#### Original name
Phyllosticta gentianellae C. Massal.
### Remarks
null | {
"content_hash": "fd999e04c0e53f3ed6d849745d9a429a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 36,
"avg_line_length": 12.307692307692308,
"alnum_prop": 0.7125,
"repo_name": "mdoering/backbone",
"id": "3b8468a6d59e43d5250b74b394929c19963ad7a0",
"size": "227",
"binar... |
require 'fileutils'
module Milkshake
RAILS_VERSION = "2.3.4"
autoload :DependencyResolver, 'milkshake/dependency_resolver'
autoload :Environment, 'milkshake/environment'
autoload :Validator, 'milkshake/validator'
autoload :Template, 'milkshake/template'
autoload :Extender, ... | {
"content_hash": "9d2d103fea40b98c4e0e4aa896ccd0e8",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 82,
"avg_line_length": 26.36842105263158,
"alnum_prop": 0.6372255489021956,
"repo_name": "historian/milkshake",
"id": "a92f1aa72ca639b9da6b3caa8108198940b9107d",
"size": "2... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace EFSqlTranslator.Translation.Extensions
{
/// <summary> Provides a set of static methods for querying objects that implement <see cref="T:System.Collections.Generic.IEnumerable`1" /> </summary>
public static class EnumerableExtensions... | {
"content_hash": "48bb1876f2a0d50d4d712a84cf70cfec",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 155,
"avg_line_length": 54.8,
"alnum_prop": 0.708029197080292,
"repo_name": "ethanli83/EFSqlTranslator",
"id": "fd29df5f3fa222ff0b182f5791c026fab963164b",
"size": "1098",
... |
module.exports = {
throwMissingTranslationError: true,
html5Mode: true,
baseUrl: "https://faucetto.io"
};
| {
"content_hash": "3317c32925c936b22284f92464221599",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 39,
"avg_line_length": 23.6,
"alnum_prop": 0.6779661016949152,
"repo_name": "Faucette/faucette-web",
"id": "651bada5c8f78c9a96d44260bf85c980ca82f75c",
"size": "118",
"bina... |
package vn.com.hiringviet.common;
// TODO: Auto-generated Javadoc
/**
* The Enum StatusEnum.
*/
public enum StatusEnum {
/** The inactive. */
INACTIVE(0),
/** The active. */
ACTIVE(1),
/** The delete. */
DELETE(9);
/** The value. */
private int value;
/**
* Instantiates a new status enum.
*
* @... | {
"content_hash": "1b3f532e1a97aa121cf866ea63e2c460",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 35,
"avg_line_length": 13.179487179487179,
"alnum_prop": 0.5933852140077821,
"repo_name": "aholake/hiringviet",
"id": "eed5c8c509e904cff29b6515d544d0fec9af8206",
"size": "5... |
package org.apache.commons.math4.legacy.stat.inference;
import org.apache.commons.statistics.distribution.NormalDistribution;
import org.apache.commons.math4.legacy.exception.ConvergenceException;
import org.apache.commons.math4.legacy.exception.DimensionMismatchException;
import org.apache.commons.math4.legacy.excep... | {
"content_hash": "a3e13a1ae4353ad26432714550e58955",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 98,
"avg_line_length": 36.396103896103895,
"alnum_prop": 0.6073148974130241,
"repo_name": "apache/commons-math",
"id": "2f0b4c994231811f40f2bb3d00d28698f84ab16c",
"size": ... |
var path = require('path')
var webpack = require('webpack')
module.exports = {
entry: './src/main.js',
output: {
path: path.resolve(__dirname, './dist'),
publicPath: '/dist/',
filename: 'build.js'
},
module: {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
option... | {
"content_hash": "898540ce463e0a701f92823884f393eb",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 100,
"avg_line_length": 24.355263157894736,
"alnum_prop": 0.5386277687736358,
"repo_name": "cheungzh/vue-study",
"id": "5a5cffea52aae94ed4c88ca30036647016eadcd7",
"size": "... |
package org.apache.wicket.request.resource.caching.version;
import java.io.Serializable;
import java.util.Map;
import org.apache.wicket.MetaDataKey;
import org.apache.wicket.ThreadContext;
import org.apache.wicket.request.cycle.RequestCycle;
import org.apache.wicket.request.resource.caching.IStaticCacheableResource;... | {
"content_hash": "a58f6f6a86d5b568c9b103a70bf7eb49",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 76,
"avg_line_length": 25.543478260869566,
"alnum_prop": 0.7221276595744681,
"repo_name": "martin-g/wicket-osgi",
"id": "dbcec9df633adfe00e69e1f52a96c92239ffa9bf",
"size": ... |
package cloud::azure::storage::storageaccount::mode::filesharecount;
use base qw(centreon::plugins::templates::counter);
use strict;
use warnings;
sub prefix_metric_output {
my ($self, %options) = @_;
return "Resource '" . $options{instance_value}->{display} . "' " . $options{instance_value}->{stat} . " ";
... | {
"content_hash": "c625e66dbf8b20bee1d85c9ef0f2ed9b",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 269,
"avg_line_length": 38.84023668639053,
"alnum_prop": 0.553016453382084,
"repo_name": "Tpo76/centreon-plugins",
"id": "c58935a43e78792e3350d3cc5d2a958577aa8cef",
"size"... |
using namespace std;
QString TransactionDesc::FormatTxStatus(const CWalletTx& wtx)
{
AssertLockHeld(cs_main);
if (!IsFinalTx(wtx, chainActive.Height() + 1))
{
if (wtx.nLockTime < LOCKTIME_THRESHOLD)
return tr("Open for %n more block(s)", "", wtx.nLockTime - chainActive.Height());
... | {
"content_hash": "388ca9f3e0b0a8c0153c1d9201bd9dc3",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 442,
"avg_line_length": 43.145833333333336,
"alnum_prop": 0.5038973580740843,
"repo_name": "putinclassic/putic",
"id": "9421655cce87a7f4a8f0e3592e7a367ec465c708",
"size": ... |
using System.Threading.Tasks;
using Elfisk.ECS.Core;
namespace Wilderness.Game.Blueprint.Rendering
{
public class RenderSystem : ISystem
{
#region Dependencies
public IEntityRepository Entities { get; set; }
public IPlayersBus PlayersBus { get; set; }
#endregion
public async Task Update(G... | {
"content_hash": "53aee46294a0e7afced42981e16b95f1",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 75,
"avg_line_length": 20.48,
"alnum_prop": 0.69140625,
"repo_name": "JornWildt/Wilderness",
"id": "ea5e4fa3768952c42c04e57bd2886fee55c10523",
"size": "514",
"binary": fa... |
if Rails::VERSION::MAJOR <= 4
module ThreadsafeAttributes
private
def get_threadsafe_attribute(name, main_thread = Thread.main)
if threadsafe_attribute_defined_by_thread?(name, Thread.current)
get_threadsafe_attribute_by_thread(name, Thread.current)
elsif threadsafe_attribute_defined_by_t... | {
"content_hash": "51832bde950f017957d7cbb63544c6a4",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 71,
"avg_line_length": 36.0625,
"alnum_prop": 0.6984402079722704,
"repo_name": "MelnikVasya/exactonline-api-ruby-client",
"id": "a35baff77c8ce6a4d3f0dd335dec4185525d7a2a",
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Globalization;
using System.Linq;
using AutoRest.CompositeSwagger.Model;
using AutoRest.CompositeSwagger.Properties;
... | {
"content_hash": "d0733ec579db3742e4ebdd100b6c2087",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 226,
"avg_line_length": 46.46496815286624,
"alnum_prop": 0.6084989718985606,
"repo_name": "annatisch/autorest",
"id": "e2703d091add92d628a1824c5ee5a50accb3e51d",
"size": "... |
echo "Set global variable to Database"
sleep 1
mysql -uroot -pnam123 -h10.164.180.87 -e "set global log_bin_trust_function_creators=1"
echo "Start to upgrade Glance on controller1"
sleep 2
ssh controller1 "bash /root/test/glance/1_upgrade_source_and_database.sh"
ssh controller1 "bash /root/test/glance/2_migrate_data.s... | {
"content_hash": "058e4d6bf64630ee1e643c2f1599da1c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 87,
"avg_line_length": 40.8,
"alnum_prop": 0.7843137254901961,
"repo_name": "daikk115/openstack_upgrade_test",
"id": "9715d97d89cb1fafac5da8810154ac7be02ea3ec",
"size": "63... |
package io.cloudslang.content.dca.controllers;
import com.fasterxml.jackson.databind.JsonNode;
import org.jetbrains.annotations.NotNull;
import static org.apache.commons.lang3.StringUtils.EMPTY;
public class GetCredentialFromManagerController {
private static final String USERNAME = "username";
private s... | {
"content_hash": "f4bafadead6f3a18c9d57c6e52b73da1",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 114,
"avg_line_length": 31.58974358974359,
"alnum_prop": 0.6923701298701299,
"repo_name": "CloudSlang/cs-actions",
"id": "e428bafaf6d6a62369e23460c880f77c7b564cec",
"size":... |
/*****************************************************************************
rsa.cpp -- An implementation of the RSA public-key cipher. The
following implementation is based on the one given in Cormen et
al., Inroduction to Algorithms, 1991. I'll refer to this book as
... | {
"content_hash": "d4e5eac42496babfbdc7ba01c1e60947",
"timestamp": "",
"source": "github",
"line_count": 524,
"max_line_length": 87,
"avg_line_length": 26.25,
"alnum_prop": 0.5630679752817157,
"repo_name": "pombredanne/metamorphosys-desktop",
"id": "04de7f570a1c2fdb39241d34a5a05a77dffe508c",
"size":... |
<Type Name="PreserveAttribute" FullName="MonoMac.Foundation.PreserveAttribute">
<TypeSignature Language="C#" Value="public sealed class PreserveAttribute : Attribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit PreserveAttribute extends System.Attribute" />
<AssemblyIn... | {
"content_hash": "55edc2b3b02eb30b69caa2e211265c51",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 459,
"avg_line_length": 47.963855421686745,
"alnum_prop": 0.7081135393117307,
"repo_name": "PlayScriptRedux/monomac",
"id": "38b20b9321d4e97eb90e7f086d520e257a3b08b3",
"siz... |
package io.crate.analyze;
import io.crate.metadata.Schemas;
import io.crate.metadata.TableIdent;
import io.crate.metadata.blob.BlobSchemaInfo;
import io.crate.metadata.blob.BlobTableInfo;
public class AlterBlobTableAnalyzedStatement extends AbstractDDLAnalyzedStatement {
private final Schemas schemas;
priv... | {
"content_hash": "a4ae9da1c983a1af181df8be57d3d1fc",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 96,
"avg_line_length": 28.46875,
"alnum_prop": 0.7453347969264544,
"repo_name": "puneetjaiswal/crate",
"id": "0c89bc5979b932a899bbd6ed4e5a5f232c768018",
"size": "1930",
"... |
.. -*- coding: utf-8 -*-
.. URL: https://docs.docker.com/engine/reference/commandline/plugin_disable/
.. SOURCE: https://github.com/docker/docker/blob/master/docs/reference/commandline/plugin_disable.md
doc version: 1.12
https://github.com/docker/docker/commits/master/docs/reference/commandline/plugin_disable... | {
"content_hash": "8bcb902f1c9ab5959cf8b7a427396efd",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 104,
"avg_line_length": 27,
"alnum_prop": 0.6419753086419753,
"repo_name": "imoyoukan/docs.docker.jp",
"id": "d70e0dbba048e016fcc3adabd3ad6e98285df313",
"size": "2215",
"... |
layout: article
title: "Challenges in building Unity native plugins"
headline: ""
date: 2015-08-05T04:20:38+02:00
estimate: "10 mins"
categories: [unity3d, getsocial]
post: true
external: true
sourceName: "The GetSocial Blog"
sourceUrl: "https://www.getsocial.im/blog/challenges-in-building-unity-native-plugins/"
---
#... | {
"content_hash": "9e7e4927cc7fd709b40890e041990c9d",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 501,
"avg_line_length": 63.48,
"alnum_prop": 0.7763074984247007,
"repo_name": "zasadnyy-inc/v-zasadnyy-com",
"id": "5d5d5ac90e243c2ea653a5f539644a82990eb924",
"size": "636... |
namespace SIM.Tool.Windows.UserControls.Download
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using SIM.Tool.Base;
using SIM.Tool.Base.Profiles;
using SIM... | {
"content_hash": "0e4054dd3a8ccf9929b132dd0683dd8a",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 160,
"avg_line_length": 24.483050847457626,
"alnum_prop": 0.6512634129456559,
"repo_name": "dsolovay/Sitecore-Instance-Manager",
"id": "a889e258f517023420b9cc6623b0cd430ad13... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>React Example</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.0/lodash.min.js"></script>
<script src="https://... | {
"content_hash": "e2c9315f65975419a9e81dcb96043097",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 104,
"avg_line_length": 27.850467289719628,
"alnum_prop": 0.4798657718120805,
"repo_name": "seanlin0800/intro_react",
"id": "725ee8a3163de210cc1e9a1daee1be668c9b2685",
"si... |
namespace peloton {
namespace test {
//===--------------------------------------------------------------------===//
// Transaction Tests
//===--------------------------------------------------------------------===//
class TransactionTests : public PelotonTest {};
static std::vector<ConcurrencyType> TEST_TYPES = {
... | {
"content_hash": "0c398f2d27c3009ebda1af6e8ac4b476",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 94,
"avg_line_length": 33.61643835616438,
"alnum_prop": 0.6279543602281988,
"repo_name": "amaliujia/CMUDB-peloton",
"id": "8e434a9821638b63c18daba160155f57cf987f83",
"size... |
package net.spy.memcached;
import java.util.Iterator;
import org.jmock.Mock;
import org.jmock.MockObjectTestCase;
public abstract class AbstractNodeLocationCase extends MockObjectTestCase {
protected MemcachedNode[] nodes;
protected Mock[] nodeMocks;
protected NodeLocator locator;
private void runSequenceA... | {
"content_hash": "e2de9ba3b57bc73951f57a39b5000b48",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 75,
"avg_line_length": 29.177419354838708,
"alnum_prop": 0.6627971254836926,
"repo_name": "naver/arcus-java-client",
"id": "2c5b7aee55857b84951d72fb17ebaa2493e5884c",
"size... |
package org.apache.flink.runtime.webmonitor.handlers;
import org.apache.flink.configuration.ConfigConstants;
import io.netty.buffer.Unpooled;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import io.netty.handler.codec.http... | {
"content_hash": "c080329b0fb1f4e06bc146d1b98ac2bf",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 89,
"avg_line_length": 34.707317073170735,
"alnum_prop": 0.8137737174982431,
"repo_name": "WangTaoTheTonic/flink",
"id": "61e2958c4444d58e5d228ac653dbbcdfea9de242",
"size":... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>basic_seq_packet_socket::protocol_type</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../../..... | {
"content_hash": "cadbe4f94f7b16738512f12a977d7bca",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 450,
"avg_line_length": 67.2542372881356,
"alnum_prop": 0.6411290322580645,
"repo_name": "laborautonomo/poedit",
"id": "97a1e43f489b19f474ef0f97e1f28a1d86b87576",
"size": "... |
package VMOMI::HostImageAcceptanceLevel;
use parent 'VMOMI::SimpleType';
use strict;
use warnings;
1;
| {
"content_hash": "6b543e23be5a34125af833a7d6d17d9d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 40,
"avg_line_length": 14.857142857142858,
"alnum_prop": 0.7788461538461539,
"repo_name": "stumpr/p5-vmomi",
"id": "2aa9501caa88e94987d3b6dada0b6ba6244d1a68",
"size": "104",... |
==================================
Comparison Functions and Operators
==================================
Comparison Operators
--------------------
======== ===========
Operator Description
======== ===========
``<`` Less than
``>`` Greater than
``<=`` Less than or equal to
``>=`` Greater than or equal to
``... | {
"content_hash": "f36d8f1ca4a3d40f89a0a0d2114e6078",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 130,
"avg_line_length": 33.47,
"alnum_prop": 0.5734986555123992,
"repo_name": "zzhao0/presto",
"id": "0601bd0d8be774024aea5c0711dfeb6ce9cd8158",
"size": "6694",
"binary"... |
from blaze.interactive import Data, compute, concrete_head, expr_repr, to_html
import datetime
from odo import into, append
from odo.backends.csv import CSV
from blaze import discover, transform
from blaze.compute.core import compute
from blaze.compute.python import compute
from blaze.expr import symbol
from datashape... | {
"content_hash": "1beadb826e02c28f946a1afca05be7a6",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 94,
"avg_line_length": 25.278728606356967,
"alnum_prop": 0.581971177096431,
"repo_name": "caseyclements/blaze",
"id": "fb36543b58b6665f37ac252369c4f4902d30c254",
"size": "... |
#ifndef TENSORFLOW_TSL_UTIL_TENSOR_BUNDLE_BYTE_SWAP_ARRAY_H_
#define TENSORFLOW_TSL_UTIL_TENSOR_BUNDLE_BYTE_SWAP_ARRAY_H_
#include "tensorflow/tsl/platform/byte_order.h"
#include "tensorflow/tsl/platform/errors.h"
#include "tensorflow/tsl/platform/status.h"
// Define basic byte swapping operations.
// These operati... | {
"content_hash": "a7305315c718f2bba321c2da30c73871",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 79,
"avg_line_length": 40.76923076923077,
"alnum_prop": 0.667654986522911,
"repo_name": "tensorflow/tensorflow-experimental_link_static_libraries_once",
"id": "22aadc2b66313a... |
{-# LANGUAGE GADTs #-}
-- It's not clear whether this one should succeed or fail,
-- Arguably it should succeed because the type refinement on
-- T1 should make (y::Int). Currently, though, it fails.
module ShouldFail where
data T a where
T1 :: Int -> T Int
f :: (T a, a) -> Int
f ~(T1 x, y) = x+y
| {
"content_hash": "7a6da6084acf6c559a2d301c54ab2e46",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 60,
"avg_line_length": 21.857142857142858,
"alnum_prop": 0.6503267973856209,
"repo_name": "sgillespie/ghc",
"id": "44fae2fa10a26d8a47262d769dca278b73d7845d",
"size": "306",... |
package org.eigengo.monitor.output.dtrace;
import com.sun.tracing.ProbeName;
import com.sun.tracing.ProviderName;
import com.sun.tracing.dtrace.FunctionName;
@ProviderName("akka")
public interface DtraceCounterProvider extends com.sun.tracing.Provider {
@FunctionName("Receive execution time")
@ProbeName("exe... | {
"content_hash": "ea4bab2a1b8a4a4c4df3371b115388a1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 73,
"avg_line_length": 30.095238095238095,
"alnum_prop": 0.7420886075949367,
"repo_name": "eigengo/monitor",
"id": "ffd180da7de3f5eac3e1f91c5ed8f7f4844001f3",
"size": "1235... |
<?php
/**
* Service Module
* @author Zsolt Erdélyi <zsolt@ideapp.net>
* @author ideApp <dev@ideapp.net>
* @author Bálint Horváth <balint@snett.net>
*/
namespace Franklin\Company;
class Service extends \Franklin\System\Object{
public $Id;
public $Name;
public $Status;
public $Icon;
public $T... | {
"content_hash": "5b7d8686368af21b3b8ced6e9037c10c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 60,
"avg_line_length": 21.40625,
"alnum_prop": 0.635036496350365,
"repo_name": "snett/Franklin",
"id": "654c164e6d181bb228b54b19ba5e0978a5eee4f7",
"size": "688",
"binary"... |
<?xml version="1.0" encoding="UTF-8"?>
<Terminology xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="..\TerminologyData.xsd">
<!--Set the preferred designation type-->
<CodeSystem>
<Action>none</Action>
<Name>VHAT</Name>
<Version>
<Append>tru... | {
"content_hash": "90763ac2226ef406aaf4d1709f1a903d",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 122,
"avg_line_length": 37.15,
"alnum_prop": 0.5195154777927322,
"repo_name": "OSEHRA/ISAAC",
"id": "74fbc51feb61773b77d7b7e60c1fd24d46ef772b",
"size": "743",
"binary": f... |
package org.apache.camel.component.microprofile.metrics.route.policy;
import org.apache.camel.Route;
import org.eclipse.microprofile.metrics.Tag;
import static org.apache.camel.component.microprofile.metrics.MicroProfileMetricsConstants.CAMEL_CONTEXT_TAG;
import static org.apache.camel.component.microprofile.metrics... | {
"content_hash": "2dfc4a711b57410825b7ff1e24030d6d",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 130,
"avg_line_length": 39.82608695652174,
"alnum_prop": 0.7762008733624454,
"repo_name": "zregvart/camel",
"id": "9b6cdf1daadc3f184492282a8e1b9f171de505fb",
"size": "1718"... |
package org.openapitools.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import org.openapitools.jackson.nullable.JsonNullable;
import java.time.OffsetDateTime;
import javax.validation.Valid;
import javax.v... | {
"content_hash": "507f56462325014039cef7e45ea7fc87",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 117,
"avg_line_length": 24.793893129770993,
"alnum_prop": 0.6939655172413793,
"repo_name": "cliffano/swaggy-jenkins",
"id": "9954092839fe4aeed1f1752caacb2cda99b3c68f",
"si... |
package com.sun.jini.test.impl.start;
import java.util.logging.Level;
// com.sun.jini
import com.sun.jini.qa.harness.TestException;
import com.sun.jini.qa.harness.ActivatableServiceStarterAdmin;
import com.sun.jini.qa.harness.QAConfig;
// java.rmi
import java.rmi.RemoteException;
/**
* This test ensures that diff... | {
"content_hash": "0907e88da50b032ebff9e8082f4d404b",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 79,
"avg_line_length": 42.56410256410256,
"alnum_prop": 0.6219879518072289,
"repo_name": "trasukg/river-qa-2.2",
"id": "8ef5f791868582e589778aee2ee5b0237d4c71c9",
"size": ... |
import logging
from django.conf import settings
from django.utils.translation import gettext_lazy as _
import horizon
LOG = logging.getLogger(__name__)
class Aggregates(horizon.Panel):
name = _("Host Aggregates")
slug = 'aggregates'
policy_rules = (("compute", "compute_extension:aggregates"),)
per... | {
"content_hash": "b5e316e24f82b5830896c181c817a470",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 65,
"avg_line_length": 26.545454545454547,
"alnum_prop": 0.666095890410959,
"repo_name": "openstack/horizon",
"id": "315bef2e05ab8c784e54b1a0c016ec21d93bb342",
"size": "115... |
class MetricsServiceTest : public InProcessBrowserTest {
public:
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
// Enable the metrics service for testing (in recording-only mode).
command_line->AppendSwitch(switches::kMetricsRecordingOnly);
}
// Open a couple of tabs of random conte... | {
"content_hash": "293d53f344fabd5512cd7b91b9712e4d",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 79,
"avg_line_length": 41.85,
"alnum_prop": 0.7365591397849462,
"repo_name": "keishi/chromium",
"id": "c58d810d3fff232cff7a71c18474f6b42e920e70",
"size": "4300",
"binary"... |
package org.eclipse.flux.jdt.services;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.flux.client.IMessageHandler;
import org.eclipse.flux.client.MessageConnector;
import org.eclipse... | {
"content_hash": "db071713f3ae70abebfaf7b1d02f98d0",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 165,
"avg_line_length": 41.21860465116279,
"alnum_prop": 0.7531031369893929,
"repo_name": "fjodorver/flux",
"id": "e6ba0a66fa718617c80f768ab93613b02a0d999d",
"size": "9460... |
<?php
/**
* Webservice main controller
*
* @category Mage
* @package Mage_Api
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Api_IndexController extends Mage_Api_Controller_Action
{
public function indexAction()
{
/* @var $server Mage_Api_Model_Server */
$t... | {
"content_hash": "3fd8f5f4f328cc8b6b9e35f64c0a90b4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 65,
"avg_line_length": 22,
"alnum_prop": 0.6196172248803827,
"repo_name": "melvyn-sopacua/magedepot",
"id": "39753e5924bbd6b3034872c160b2ee04a6cb4fd6",
"size": "1370",
"b... |
module Balladina
class Board
include Celluloid
include Celluloid::Logger
include Celluloid::Notifications
def initialize(options = {})
@name = SecureRandom.hex
@creates_tracks = options.fetch(:creates_tracks) { Track }
@creates_coordinators = options.fetch(:cre... | {
"content_hash": "057f0c6338e79047d526a07552c2184f",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 93,
"avg_line_length": 26.32894736842105,
"alnum_prop": 0.6276861569215393,
"repo_name": "dodecaphonic/balladina",
"id": "d8fe0adb080851489a79d50c6b465aa2bf1b589e",
"size":... |
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not... | {
"content_hash": "074c7e043247e17b75e1b6f524b7f049",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 280,
"avg_line_length": 62.58139534883721,
"alnum_prop": 0.7262170196952805,
"repo_name": "OpenVnmrJ/ovjTools",
"id": "652038552384eb424df8e3041d55fe6764b937e6",
"size": "... |
namespace v8 {
namespace internal {
namespace compiler {
enum class GraphReducer::State : uint8_t {
kUnvisited,
kRevisit,
kOnStack,
kVisited
};
void Reducer::Finalize() {}
GraphReducer::GraphReducer(Zone* zone, Graph* graph, TickCounter* tick_counter,
Node* dead)
: graph_(grap... | {
"content_hash": "4ebe1b66853886d4f7c291aab88c8be0",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 79,
"avg_line_length": 28.724381625441698,
"alnum_prop": 0.5937999753967278,
"repo_name": "endlessm/chromium-browser",
"id": "d9bc9d6c22b322133645badfc7848e5a79b4b41f",
"s... |
basePath = '';
// https://github.com/karma-runner/karma/issues/481
// list of files / patterns to load in the browser
files = [
JASMINE,
JASMINE_ADAPTER,
REQUIRE,
REQUIRE_ADAPTER,
{pattern: 'app/components/jquery/jquery.js', included: false},
{pattern: 'app/components/requirejs/require.js', i... | {
"content_hash": "837fc830c9e3101e03c029f8874bbb20",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 81,
"avg_line_length": 20.414285714285715,
"alnum_prop": 0.6710986703988804,
"repo_name": "goliatone/flatg-website",
"id": "289c9b8d109010d1832eec30943b2999e44abdf3",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>range.rb</title>
<meta http-equiv="Content-Type" content="text/ht... | {
"content_hash": "49f2a7ea6846f381f278bbf128dd3430",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 178,
"avg_line_length": 28.86725663716814,
"alnum_prop": 0.4610668301655426,
"repo_name": "TomMulvaney/AudioFlow",
"id": "3a76b96149d3e1efe76043f9f1083fae52efc1dc",
"size"... |
module.exports = require('../config.js');
| {
"content_hash": "5a98807bbc141eba0ce7888b8e0ea316",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 41,
"avg_line_length": 42,
"alnum_prop": 0.6666666666666666,
"repo_name": "yoo2001818/shortly.me",
"id": "ae385b5604bf841e703b868e33443c534a240dd1",
"size": "42",
"binary"... |
<div id='content'>
<form name='signup' id='signup' action='index.php' method='POST'>
<input type='hidden' name='page' value='summary' />
<input type='hidden' name='own' value='<?php echo $experiment->owner; ?>' />
<input type='hidden' name='exp' value='<?php echo $experiment->id; ?>' />
<input type='... | {
"content_hash": "16b7f43b8ff546d5580bead3882cd11e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 137,
"avg_line_length": 47.8,
"alnum_prop": 0.6150627615062761,
"repo_name": "jwcarr/SimpleSignUp",
"id": "06fb944009182216421298eb727fbef241e78c85",
"size": "1195",
"bin... |
using RIAPP.DataService.Resources;
using RIAPP.DataService.Types;
using RIAPP.DataService.Utils;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace RIAPP.DataService
{
internal class ServiceOperationsHelper
... | {
"content_hash": "2f44b659ce836148d1083e0dd884ff71",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 184,
"avg_line_length": 46.07258064516129,
"alnum_prop": 0.5435556333508372,
"repo_name": "jmptrader/JRIAppTS",
"id": "d029016dc93f49e542e0f0c0f010ea22817da857",
"size": "... |
using System;
namespace Syndll2.Data
{
public class ProgrammingStatus
{
private readonly ProgrammingOperationStatus _operationStatus;
private readonly char _operationType; // TODO: Need an enum for this
private readonly string _fileName;
private readonly char _termina... | {
"content_hash": "b046f09d8922be16c27e639f74035977",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 126,
"avg_line_length": 30.838709677419356,
"alnum_prop": 0.5366108786610879,
"repo_name": "synel/syndll2",
"id": "13ac572c6fc3848575d79f49605c4c65490e5361",
"size": "3826... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3d8f009ac95f83259b13315c0a904e00",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "4c90743caac98f91587e6a1774fdd62e32b0a14e",
"size": "18... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Xml;
using DocSite.Pages;
using DocSite.SiteModel;
namespace DocSite.Renderers
{
/// <summary>
/// Interface to be implemented by classes intending to render <see cref="IRenderable"/> classes.
///... | {
"content_hash": "0d19e7df96dd5296c237bd869bb30af7",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 101,
"avg_line_length": 39.32835820895522,
"alnum_prop": 0.5927893738140417,
"repo_name": "PaulTrampert/DocSite",
"id": "46cb97f86c6b35db551ee98b66ed258c3898f361",
"size": ... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Web.OData
{
public class ReferenceDepthContext
{
int maxRefDepth;
int currentRefDepth = -1;
public ReferenceDepthContext(int maxRefDept... | {
"content_hash": "d3154e009d9878576dcea152a5995040",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 133,
"avg_line_length": 22.833333333333332,
"alnum_prop": 0.5562043795620438,
"repo_name": "Terminator-Aaron/Katana",
"id": "f860acada5a82b196a1df272a7b4c8e0497e3975",
"siz... |
package com.tokenautocomplete;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.text.style.ReplacementSpan;
import android.view.View;
import android.view.ViewGroup;
/**
* Span that holds a view it draws when rendering
*
* Created on 2/3/15.
* @author mgod
*/
public class ViewSpan ext... | {
"content_hash": "5f547e66eac2fefcc88b6f71e94a4050",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 131,
"avg_line_length": 33.734375,
"alnum_prop": 0.6248263084761464,
"repo_name": "RacZo/TokenAutoComplete",
"id": "88b0812fb037696876fbfd18016d62f1665990db",
"size": "2159... |
Example project that throws a LOT of records at AWS Kinesis
# To run the app
1. git clone git@github.com:matthewbogner/kinesis-stress-example.git
2. modify the arguments at the bottom of the pom
3. mvn -P start | {
"content_hash": "323ba1688825615cd513d7cae8779c81",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 68,
"avg_line_length": 30.285714285714285,
"alnum_prop": 0.7783018867924528,
"repo_name": "matthewbogner/kinesis-stress-example",
"id": "f9ec123c222ea02aead389b37c538e0e9b11b3... |
package com.badlogic.gdx.tiledmappacker;
import java.awt.Graphics;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.FilenameFilter;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.StringTokenizer;
import javax.xml.... | {
"content_hash": "c881e584863ff63b825a4b91f0b79405",
"timestamp": "",
"source": "github",
"line_count": 543,
"max_line_length": 130,
"avg_line_length": 36.64825046040516,
"alnum_prop": 0.7174874371859297,
"repo_name": "domix/libgdx",
"id": "2ff3917bda06b9a0fda4a9cec34fbc28680e7292",
"size": "20645"... |
package integration
import (
"reflect"
"testing"
"github.com/zaphod-concur/etcd/clientv3"
"github.com/zaphod-concur/etcd/integration"
"github.com/zaphod-concur/etcd/pkg/testutil"
"github.com/zaphod-concur/etcd/pkg/types"
"golang.org/x/net/context"
)
func TestMemberList(t *testing.T) {
defer testutil.AfterTes... | {
"content_hash": "1225119e8e315ca45cf6fcc487cbc655",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 76,
"avg_line_length": 25.756521739130434,
"alnum_prop": 0.6846725185685347,
"repo_name": "zaphod-concur/etcd",
"id": "b5bdc59301552ad63a268347d7ba2ae3c2f409cb",
"size": "... |
namespace Petstore.Models
{
using System;
using System.Linq;
using System.Collections.Generic;
using Newtonsoft.Json;
using Microsoft.Rest;
using Microsoft.Rest.Serialization;
using Microsoft.Rest.Azure;
/// <summary>
/// The URIs that are used to perform a retrieval of a public blo... | {
"content_hash": "4f361bb2f1d46af810cd1e2c7722ea72",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 150,
"avg_line_length": 28.96551724137931,
"alnum_prop": 0.5523809523809524,
"repo_name": "sharadagarwal/autorest",
"id": "f9b8d67d127d3b913a752795fefde388b94530a7",
"size"... |
description: Learn how to optimize your use of device mapper driver.
keywords: container, storage, driver, device mapper
title: Use the Device Mapper storage driver
redirect_from:
- /engine/userguide/storagedriver/device-mapper-driver/
---
Device Mapper is a kernel-based framework that underpins many advanced
volume m... | {
"content_hash": "2d29e68ba02a6a7fe043dc5de278d545",
"timestamp": "",
"source": "github",
"line_count": 836,
"max_line_length": 279,
"avg_line_length": 39.37081339712919,
"alnum_prop": 0.7004010451479613,
"repo_name": "thaJeztah/docker.github.io",
"id": "b3daec7be0f4c301bf035930b2c06d1518175039",
"... |
// +build freebsd
package main
import (
"os"
"os/signal"
"github.com/containerd/containerd/sys/reaper"
runc "github.com/containerd/go-runc"
"github.com/containerd/ttrpc"
)
// setupSignals creates a new signal handler for all signals and sets the shim as a
// sub-reaper so that the container processes are re... | {
"content_hash": "0764ad710fb83a2a3caa264bf8f4cf6d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 83,
"avg_line_length": 25.90909090909091,
"alnum_prop": 0.7426900584795322,
"repo_name": "vdemeester/containerd",
"id": "1fd88546a180a64de0059ce1159bb580dd213b45",
"size": ... |
package com.puppetlabs.puppetdb.javaclient.model;
import static com.puppetlabs.puppetdb.javaclient.query.Query.field;
import java.lang.reflect.Type;
import java.util.Date;
import java.util.List;
import com.google.gson.reflect.TypeToken;
import com.puppetlabs.puppetdb.javaclient.query.Field;
/**
* A POJO that repr... | {
"content_hash": "38fd1b110c779630f7b41954bc70d0e6",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 80,
"avg_line_length": 20.829268292682926,
"alnum_prop": 0.6935987509758001,
"repo_name": "thallgren/puppetdb-javaclient",
"id": "148a0a20eb1e10a211dcc123631ac9ba62a19869",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.java.j2seproject</type>
<configuration>
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
<extension file="jfx-impl.xml" id="jfx3">
... | {
"content_hash": "d9e9ce3448df7443ac9ce5dbfc5f8718",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 90,
"avg_line_length": 44.645161290322584,
"alnum_prop": 0.5657514450867052,
"repo_name": "astropcr/pmasecapstone",
"id": "47b5ef77536412edd3a47cfdcf1cade73c655ff9",
"size"... |
using UnityEngine;
namespace HutongGames.PlayMaker.Actions
{
[ActionCategory(ActionCategory.Network)]
[Tooltip("Get the local network player properties")]
public class NetworkGetLocalPlayerProperties : FsmStateAction
{
[Tooltip("The IP address of this player.")]
[UIHint(UIHint.Variable)]
public FsmString I... | {
"content_hash": "2b5d2f458737268dbcaad4c8ed8dfa6e",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 140,
"avg_line_length": 27.346153846153847,
"alnum_prop": 0.7313642756680732,
"repo_name": "BigBroken/sLord",
"id": "c23e241a5ed2efb03602be1baa42cb4a47430acb",
"size": "163... |
package org.switchyard;
import java.util.List;
import org.switchyard.metadata.Registrant;
import org.switchyard.metadata.qos.Throttling;
import org.switchyard.policy.Policy;
/**
* Contains runtime details on services and service references registered
* in SwitchYard. Instances of ServiceMetadata can be created ... | {
"content_hash": "d5d3678a32388e7d4ce30b108685e7d8",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 91,
"avg_line_length": 26.104166666666668,
"alnum_prop": 0.6919393455706305,
"repo_name": "tadayosi/switchyard",
"id": "3f61e8333e78cd8a5c3759c68640705b31f3032e",
"size": "... |
/*************************************************************************/
/* tcp_server.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "5772c6c5f83376464fcb8bec5841f625",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 83,
"avg_line_length": 45.88709677419355,
"alnum_prop": 0.49982425307557116,
"repo_name": "Paulloz/godot",
"id": "eb715a745c1442e9090426140b1c886ca2a67451",
"size": "2845",... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-selection'), require('d3-transition')) :
typeof define === 'function' && define.amd ? define(['exports', 'd3-selection', 'd3-transition'], factory) :
(factory((global.venn = global.venn ... | {
"content_hash": "81ca0b28123d67eeeeaf5ce62bb8ca79",
"timestamp": "",
"source": "github",
"line_count": 1814,
"max_line_length": 138,
"avg_line_length": 36.895259095920615,
"alnum_prop": 0.4770798469997609,
"repo_name": "rluo/rluo.github.io",
"id": "77e609205044be014db5e21a9f3d3f9a8891e20b",
"size"... |
TIMEOUT = 3000
MOCHA = ./node_modules/.bin/_mocha
MOCHA_OPTIONS = -t $(TIMEOUT) --recursive -r ./test/util/common.js
ISTANBUL = ./node_modules/.bin/istanbul
COVERALLS = ./node_modules/coveralls/bin/coveralls.js
clean:
@rm -rf node_modules
install:
@npm install -d --registry=http://registry.npm.taobao.org/
debug-te... | {
"content_hash": "4b8fa1fe76a8c0e927d2b49cf7b5f94d",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 68,
"avg_line_length": 23.942857142857143,
"alnum_prop": 0.6754176610978521,
"repo_name": "plusmancn/Toshihiko",
"id": "77a472ddd5902fc46398667db42ccbad891524cb",
"size": "... |
<?php
namespace Vest\SharedBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* ShopKategorieRvRaum
*/
class ShopKategorieRvRaum
{
/**
* @var integer
*/
private $kategorieRaumId;
/**
* @var integer
*/
private $raumId;
/**
* @var integer
*/
private $kategorie... | {
"content_hash": "9f616d8ad0d36b10586310a5109e0940",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 48,
"avg_line_length": 15.024096385542169,
"alnum_prop": 0.5252606255012029,
"repo_name": "mehnert-vecam/Symfony",
"id": "3398431f81abf2a85e4b289edb499427fcb02713",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>compcert: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "2fd63a1781a58bc858a83025f3b379ca",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 157,
"avg_line_length": 42.16315789473684,
"alnum_prop": 0.5649731619023842,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "1be03ef8c65836cbdd063c5991e6a3de738ff61c",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.