text stringlengths 2 1.04M | meta dict |
|---|---|
// Generated by ast.js
package com.shapesecurity.shift.es2018.ast;
import javax.annotation.Nonnull;
import com.shapesecurity.functional.data.HashCodeBuilder;
import com.shapesecurity.functional.data.ImmutableList;
public class SwitchDefault implements Node {
@Nonnull
public final ImmutableList<Statement> c... | {
"content_hash": "bdd48c7730370cd02ed038f0f3dfdde6",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 110,
"avg_line_length": 24.11764705882353,
"alnum_prop": 0.7170731707317073,
"repo_name": "shapesecurity/shift-java",
"id": "be76d9b5253a8fcd4684c061a8ecfe0c2e16e8f7",
"siz... |
@charset "UTF-8";
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
/* line 9, ../../../bower_components/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
}
/* line 19, ../../../bo... | {
"content_hash": "c90dbf1d0071e19c557fc971a9747b98",
"timestamp": "",
"source": "github",
"line_count": 9962,
"max_line_length": 554,
"avg_line_length": 34.0531017867898,
"alnum_prop": 0.6894796263379289,
"repo_name": "dreamfactorysoftware/df-api-docs-ui",
"id": "8722af324a5f352ac3fbfbaff9cb9f29dfee0... |
package com.google.gwtorm.server;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
public class ListResultSet<T> implements ResultSet<T> {
private List<T> items;
public ListResultSet(final List<T> r) {
items = r;
}
@Override
public Iterator<T> iterator() {
return toLi... | {
"content_hash": "e32a233be1a2b52b05c1ead521f32962",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 66,
"avg_line_length": 18.323529411764707,
"alnum_prop": 0.6468699839486356,
"repo_name": "thinkernel/gwtorm",
"id": "019d976e7dd5b64aa780944982176ec45de04cbc",
"size": "12... |
extern jclass g_mapObjectClazz;
extern jclass g_featureIdClazz;
extern jclass g_bookmarkClazz;
extern jclass g_myTrackerClazz;
extern jclass g_httpClientClazz;
extern jclass g_httpParamsClazz;
extern jclass g_httpHeaderClazz;
extern jclass g_platformSocketClazz;
extern jclass g_utilsClazz;
extern jclass g_bannerClazz;
... | {
"content_hash": "2484466f3ff6b5ef80a85d5bfcaba0e1",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 134,
"avg_line_length": 37.35,
"alnum_prop": 0.7643908969210174,
"repo_name": "mgsergio/omim",
"id": "caea48b44374dfb3bd1678b8196b0eed9332c1d2",
"size": "3150",
"binary":... |
var raygun = require('raygun');
var raygunClient = new raygun.Client().init({
apiKey: process.env.RAYGUN_KEY
});
var d = require('domain').create();
d.on('error', function(err) {
raygunClient.send(error, {}, function() {
console.log(err);
process.exit(1);
});
});
d.run(function() {
var app = require('express'... | {
"content_hash": "0e5d67644c86f160fa3716eadddc6ba9",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 157,
"avg_line_length": 24.831521739130434,
"alnum_prop": 0.5889691398555482,
"repo_name": "dwnz/sourcemaptester",
"id": "0b6171bbe5c6aae598a40b0ce9e803dcc6718c73",
"size"... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "c797abfe6158ef1a65ab3efd19384fd4",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 90,
"avg_line_length": 31.6,
"alnum_prop": 0.6582278481012658,
"repo_name": "ripperhe/ZYSegmentView",
"id": "19a15a757a68b94945122986088eac733c680983",
"size": "338",
"bin... |
<html>
<head>
<title>Image fetching from wboc.images.worldnow.com</title>
<meta name="Description" content="Image fetching from wboc.images.worldnow.com">
<meta name="KEYWORDS" content="www.wboc.com,Delmarva,wboc,Eastern Shore,wboc.com,delaware,dover,maryland,salisbury,salisbury news,virginia,weather fo... | {
"content_hash": "8fdc8aee15dd0362b42fa5695365abac",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 176,
"avg_line_length": 64.48,
"alnum_prop": 0.7227047146401985,
"repo_name": "JayEmVey/jayemvey.github.io",
"id": "c93f53df62ce46d84e51fa592fa770ab2eeb057d",
"size": "1612... |
require 'spec_helper'
RSpec.describe Brcobranca::Boleto::Bradesco do
let(:valid_attributes) do
{
valor: 0.0,
local_pagamento: 'Pagável preferencialmente na Rede Bradesco ou Bradesco Expresso',
cedente: 'Kivanio Barbosa',
documento_cedente: '12345678912',
sacado: 'Claudio Pozzebom',
... | {
"content_hash": "490acf895bb32b5b59c448970bd03246",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 118,
"avg_line_length": 44.514150943396224,
"alnum_prop": 0.69926883543499,
"repo_name": "kivanio/brcobranca",
"id": "696f61c49fb4b5bb23b9855781a5f6eca65f7122",
"size": "9... |
package org.apache.camel;
/**
* The callback interface for an {@link AsyncProcessor} so that it can
* notify you when an {@link Exchange} is done.
* <p/>
* For example a {@link AsyncProcessor} should invoke the done method when the {@link Exchange} is ready
* to be continued routed. This allows to implement asyn... | {
"content_hash": "13e7641350da9700e13b9a029fa1a6f8",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 120,
"avg_line_length": 40.80769230769231,
"alnum_prop": 0.6983977379830348,
"repo_name": "kevinearls/camel",
"id": "a3b12b3e0fd6ae17f0ac5fe3247621a8b98b0a2a",
"size": "186... |
id: writing-tests
title: "Writing Tests"
---
Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met. Playwright comes with [auto-wait](./actionability.md) built in meaning it waits for elements to be actionable prior to performing act... | {
"content_hash": "5dfe5439bc067977664d985c51b2d31b",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 365,
"avg_line_length": 38.53763440860215,
"alnum_prop": 0.7268415178571429,
"repo_name": "microsoft/playwright",
"id": "b580bd9b751ab1e8173123eab7dda3060d03edee",
"size": ... |
// Copyright (C) 2011 - Will Glozer. All rights reserved.
package com.lambdaworks.redis.protocol;
import static java.lang.Math.*;
import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import com.lambdaworks.redis.codec.RedisCod... | {
"content_hash": "0e5779d8e052f7cafc3f4e0b631482dd",
"timestamp": "",
"source": "github",
"line_count": 219,
"max_line_length": 85,
"avg_line_length": 25.21461187214612,
"alnum_prop": 0.5271640709887722,
"repo_name": "pulse00/lettuce",
"id": "c681b2194f7e8cbb70d29652ed28b6672f776bcb",
"size": "5522... |
package eu.ehealth.ws_client.storagecomponent;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import eu.ehealth.ws_client.xsd.Opera... | {
"content_hash": "3d89459043c71cf47e60456fe284076b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 101,
"avg_line_length": 24.2,
"alnum_prop": 0.6408137317228226,
"repo_name": "modaclouds-atos/ehealth-app-final-prototype",
"id": "a9c3c31e85d3641d44ee2af01ef7f7d9042c124b",
... |
package de.flexiprovider.pqc.hbc.gmss;
import de.flexiprovider.api.MessageDigest;
import de.flexiprovider.common.math.FlexiBigInt;
/**
* This class provides a PRNG for GMSS, using FlexiBigInts
*
* @author Sebastian Blume, Michael Schneider
*/
public class GMSSRandomBigInt {
/**
* Initial F... | {
"content_hash": "a53f4050a9d61ecadc8f2991c691553b",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 79,
"avg_line_length": 25.10144927536232,
"alnum_prop": 0.6229792147806005,
"repo_name": "besom/bbossgroups-mvn",
"id": "ca66d2ffe431e295bcfc0a93921751a02066d1e3",
"size": ... |
package com.scooter1556.sms.android.fragment.tv;
import android.content.ComponentName;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Handler;
import androidx.annotation.NonNull;
import androidx.leanback.app.Backgro... | {
"content_hash": "b7fb47fd7e42b0a5b210261c11df3a75",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 159,
"avg_line_length": 37.43119266055046,
"alnum_prop": 0.6149509803921569,
"repo_name": "scoot-software/sms-android",
"id": "e87dd72fe2f0162a42c9a969db278dff0abe3a30",
"... |
using Garnet.Api.ActionResults;
using Garnet.Api.Controllers;
using Garnet.Api.Extensions;
using Garnet.Api.Routes;
using System;
using System.Threading.Tasks;
using Twilio.TwiML;
namespace Garnet.Api.TwilioRequestHandlers
{
public abstract class Browser : IBrowser
{
private readonly string _topGroupN... | {
"content_hash": "25f34c6cb68a69a3e28d665a43232b8a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 116,
"avg_line_length": 32.91954022988506,
"alnum_prop": 0.5673882681564246,
"repo_name": "OlsonAndrewD/the-phone-bible",
"id": "098c1ebf0b094a9ddb06329287a883eed3d195e7",
... |
import passport = require('passport');
import expressSession = require('express-session');
var RedisStore = require('connect-redis')(expressSession);
import LocalStrategy = require('passport-local');
import flash = require('connect-flash');
import express = require('express');
var router = express.Router();
import us... | {
"content_hash": "cc168f0e67db7724ce7d707b3e39e7b6",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 125,
"avg_line_length": 30.594890510948904,
"alnum_prop": 0.5870213527376834,
"repo_name": "portalTS/portalTS",
"id": "2b334c731b6d6f868539ae7c5fe20a64de919988",
"size": "... |
<?php
class
Logger {
private static $logger = array();
private static $priorities = array();
private static $enabled = false;
public static function setLogger ($logger) {
self::$logger = array();
self::$logger[] = $logger;
self::$enabled = true;
}
public static function resetLoggers()... | {
"content_hash": "d16fb3910d9f811897bc2f523573010d",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 148,
"avg_line_length": 25.267441860465116,
"alnum_prop": 0.4894155545329038,
"repo_name": "adoraxion/appsCms",
"id": "2a70ca57270c89a00c11a0bef6fcb58afb85516a",
"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_67) on Wed Oct 08 15:57:21 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "e6fb8ce71dea171ae83f4ca1de523dc7",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 340,
"avg_line_length": 43.054545454545455,
"alnum_prop": 0.6371058558558559,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "a4ef8ad3ef8194c76b0e874871521f34705ad5d4",
"... |
CKEDITOR.plugins.setLang( 'language', 'de', {
button: 'Sprache stellen',
remove: 'Sprache entfernen'
} );
| {
"content_hash": "eacb2d6d0fae9d9c4e7c8f89f9fda047",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 45,
"avg_line_length": 18.5,
"alnum_prop": 0.6666666666666666,
"repo_name": "dangerdak/apuniverse",
"id": "23caaea99629bb3d2616d132ccefd903814a64fd",
"size": "272",
"binar... |
PACKAGE_NAME=superagent
#PACKAGE_VERSION is configurable can be passed as an argument.
PACKAGE_VERSION=${1:-v3.8.3}
PACKAGE_URL=https://github.com/visionmedia/superagent
#yum install -y yum-utils nodejs nodejs-devel nodejs-packaging npm git jq make cmake
yum install -y yum-utils git jq make cmake
NODE_VERSION=v12.22.... | {
"content_hash": "6629cd5728b4ea2c603008cbc9c3773e",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 122,
"avg_line_length": 37.25454545454546,
"alnum_prop": 0.6183504148365057,
"repo_name": "ppc64le/build-scripts",
"id": "b8c5fad4e245d1bd275d9a72bfe39768a1999a5a",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "44e38415d82a102ee9e341ff88bcb330",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 823,
"avg_line_length": 55.52459016393443,
"alnum_prop": 0.6764098021848244,
"repo_name": "minijackson/Bad-Philophobia",
"id": "597d54edc266cd9aac76107676c9bbce22ac17a4",
... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var LegacyAvailabilityTimeZoneTime_1 = req... | {
"content_hash": "0cfdfa2fb3e486ead42637df4e84b79b",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 194,
"avg_line_length": 65.1875,
"alnum_prop": 0.6790508149568553,
"repo_name": "guderkar/MExInt",
"id": "471e08e0235cbd705e823594f79fe6628059efd3",
"size": "4172",
"bina... |
SLUG="JakeWharton/ProcessPhoenix"
JDK="oraclejdk8"
BRANCH="master"
set -e
if [ "$TRAVIS_REPO_SLUG" != "$SLUG" ]; then
echo "Skipping snapshot deployment: wrong repository. Expected '$SLUG' but was '$TRAVIS_REPO_SLUG'."
elif [ "$TRAVIS_JDK_VERSION" != "$JDK" ]; then
echo "Skipping snapshot deployment: wrong JDK. E... | {
"content_hash": "db5aa588402af68dc05c9a444ee33ef9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 102,
"avg_line_length": 37.68421052631579,
"alnum_prop": 0.702513966480447,
"repo_name": "dlew/ProcessPhoenix",
"id": "020094efb59a826e476daf94d71aae6df90bded0",
"size": "9... |
package org.apache.activemq.artemis.spi.core.security;
import javax.security.auth.Subject;
import java.security.Principal;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.activemq.artemis.core.persistence.StorageManager;
impor... | {
"content_hash": "7c00cf0169635bb02cf80dcd6044ba8d",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 170,
"avg_line_length": 41.06122448979592,
"alnum_prop": 0.6833996023856859,
"repo_name": "andytaylor/activemq-artemis",
"id": "e6558a7dd52f8fb7f2705f6a4a7a25c32ab8a9c4",
... |
<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> <a name="line.16"></a>
<FONT color="green">017</FONT> <a name="line.17"></a>
<FONT color="green">018</FONT> package org.apache.commons.lang3.time;<a name="line.18"></a>
<FONT color="green">019</FONT> <a name="line.19"></a>
<FONT color="green... | {
"content_hash": "bdbc20ab7d2a955b5c567bb82ecef1a1",
"timestamp": "",
"source": "github",
"line_count": 433,
"max_line_length": 208,
"avg_line_length": 73.88221709006929,
"alnum_prop": 0.5899159138507706,
"repo_name": "pyotr777/sshconnect",
"id": "fee347c58f486e3b16e34961380b943f561cb814",
"size": ... |
package com.btoddb.chronicle.catchers;
import com.btoddb.chronicle.Config;
import com.btoddb.chronicle.Event;
import com.btoddb.chronicle.Utils;
import com.fasterxml.jackson.core.type.TypeReference;
import org.eclipse.jetty.jmx.MBeanContainer;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.serve... | {
"content_hash": "b871f2dd5f5b246204eabe6b488977b8",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 238,
"avg_line_length": 35.74901960784314,
"alnum_prop": 0.6316366827555946,
"repo_name": "btoddb/chronicle",
"id": "cab1297d0d80d21a26beae17eb2985c61ef7708f",
"size": "10... |
module ReactiveExtensions
def self.files
Files::FILES
end
module Files
LIB_FILES = Dir.glob('./lib/**/*.rb').sort
SPEC_FILES = Dir.glob('./spec/**/*.rb').sort
BASE_FILES = %w(files.rb Gemfile LICENSE reactive_extensions.gemspec README.md version.rb)
FILES = [LIB_FILES, SPEC_FILES, BASE_FILES... | {
"content_hash": "a8b928ad20d6df7d8232e84d08aee9ee",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 94,
"avg_line_length": 26.076923076923077,
"alnum_prop": 0.6696165191740413,
"repo_name": "danascheider/reactive_extensions",
"id": "89417fe087354f41c863625f0fc99e96374e6427"... |
<section>
<div class="page-header">
<h1>Reports</h1>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6 pull-left">
<a class="btn btn-primary" role="button" ui-sref="reports.create"> <i class="glyphicon glyphicon-pencil"></i> | Create new</a>
</div>
<div class="col-xs-12 col-sm-6 pull-ri... | {
"content_hash": "c2ffca87c4e827a69fcf82a96b2a6a7a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 132,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.6012461059190031,
"repo_name": "dnazmije/expenses-app",
"id": "121d1479c42a67ac0e5c176e3f8fe50523958d58",
"size"... |
/*
* 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, software distributed under t... | {
"content_hash": "ceaf42ad030c85e7430f70e79b63d393",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 182,
"avg_line_length": 34.57575757575758,
"alnum_prop": 0.7230499561787905,
"repo_name": "googleapis/google-api-java-client-services",
"id": "c730c6d3ca9b4654ad9711b4c893ea7... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "65f0f797d03589473068c64780ea9940",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "47a57d45d93b8c0a6ae1b1681205ab0c638ff406",
"size": "173... |
"use strict";
let googleApiKey;
chrome.runtime.onMessage.addListener((msg, sender, callback) => {
if (!msg.cmd) return;
switch (msg.cmd) {
case "tab":
chrome.storage.local.set({
tab: sender.tab.id
});
return;
case "login":
if (googleApiKey) {
chrome.identity.removeC... | {
"content_hash": "299cfe812f42f6a7d7c96f371d4f2ca5",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 65,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.5703781512605042,
"repo_name": "leonhartX/gas-github",
"id": "8d8cfd920183a698b2b17cc53a0f681fd149d94e",
"size": ... |
package org.apache.openwhisk.core.scheduler.grpc.test
import akka.actor.{Actor, ActorSystem, Props}
import akka.testkit.{ImplicitSender, TestKit}
import common.StreamLogging
import org.apache.openwhisk.common.TransactionId
import org.apache.openwhisk.core.WarmUp.warmUpAction
import org.apache.openwhisk.core.connecto... | {
"content_hash": "5c530803b474f525e7f8e8ed7006a42a",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 117,
"avg_line_length": 32.36434108527132,
"alnum_prop": 0.7119760479041917,
"repo_name": "style95/openwhisk",
"id": "b2042f256c9e5506107a41f6a1f54abd5beda477",
"size": "9... |
pc.extend(pc, function () {
/**
* @name pc.Component
* @description Base constructor for a Component
* @class Components are used to attach functionality on a {@link pc.Entity}. Components
* can receive update events each frame, and expose properties to the PlayCanvas Editor.
* @param {pc.C... | {
"content_hash": "e681b3b7aa7500d42a56a970d0343f9f",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 92,
"avg_line_length": 31.752688172043012,
"alnum_prop": 0.5171012529630884,
"repo_name": "H1Gdev/engine",
"id": "835abd1bae0090ca7d1def0b5a7b0f3b7a2a4944",
"size": "2953",... |
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Cross-browser event delegation with vanilla JS</title>
<style>
.forkme {
position: absolute;
position: fixed;
top: 0;
left: 0;
border: 0;
... | {
"content_hash": "23ffa859d84880f35c82deea6b2d8a33",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 184,
"avg_line_length": 31.91891891891892,
"alnum_prop": 0.4439034716342083,
"repo_name": "jslegers/event-delegation",
"id": "fee497801343f50f2bee83d209b5bf36348583c9",
"s... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Symbols.Re... | {
"content_hash": "fdecdb68a8028921b3df1bb08194ccee",
"timestamp": "",
"source": "github",
"line_count": 1326,
"max_line_length": 210,
"avg_line_length": 48.119909502262445,
"alnum_prop": 0.6460576425784005,
"repo_name": "genlu/roslyn",
"id": "04eebbbc2dae44681395ff2f7557b61b0d30711d",
"size": "6380... |
license
=======
The MIT License (MIT)
Copyright (c) Tobias Wellnitz
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | {
"content_hash": "f67dc0be11d94d3531740d5164d88657",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 42.111111111111114,
"alnum_prop": 0.7915567282321899,
"repo_name": "dh1tw/pyhamtools",
"id": "9eb66c9f03114d9684b1171c7f7bc14fa90ea770",
"size": "113... |
const argv = require(`command-line-args`)([
{ name: `all`, type: Boolean },
{ name: 'verbose', alias: 'v', type: Boolean },
{ name: `target`, type: String, defaultValue: `` },
{ name: `module`, type: String, defaultValue: `` },
{ name: `coverage`, type: Boolean, defaultValue: false },
{ name: `tests`, type:... | {
"content_hash": "8ed245b6552ac093ccbe03865b4a4088",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 82,
"avg_line_length": 42.869565217391305,
"alnum_prop": 0.6227180527383367,
"repo_name": "ReactiveX/IxJS",
"id": "2408858565d723ddc0f3e6e69b68cea9844bccc4",
"size": "1788"... |
package com.google.android.apps.forscience.whistlepunk.sensors;
import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import com.google.android.apps.forscience.whistlepunk.Clock;
import ... | {
"content_hash": "0f956ac31710fe917f1a0985fafcdcf9",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 96,
"avg_line_length": 40.666666666666664,
"alnum_prop": 0.7498218104062723,
"repo_name": "googlearchive/science-journal",
"id": "20d562bdc2116fdcfed1b04f99ed99f23f387efe",
... |
module GoogleAuthenticatorRails
module ActionController
class RailsAdapter
class LoadedTooLateError < StandardError
def initialize
super("GoogleAuthenticatorRails is trying to prepend a before_filter in ActionController::Base. Because you've already defined" +
" ApplicationContr... | {
"content_hash": "0c6437804f76bfb9021ecbd39b84c870",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 141,
"avg_line_length": 33.07692307692308,
"alnum_prop": 0.7108527131782946,
"repo_name": "jaredonline/google-authenticator",
"id": "aa5d925706ccf7a9495e990d09942f66365f5ceb"... |
<!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 (10.0.2) on Fri Sep 07 19:01:15 PDT 2018 -->
<title>Class Hierarchy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta ... | {
"content_hash": "64ee0cfda7f452b2a91250a7a34f3f67",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 151,
"avg_line_length": 31.125714285714285,
"alnum_prop": 0.6517348999449238,
"repo_name": "tliang1/Java-Practice",
"id": "6f0b22c9efef71e02a4abe3ff92bacebfe4ecd5d",
"size... |
package com.chilliworks.chillisource.androidmanifestbuilder;
import com.chilliworks.chillisource.coreutils.Logging;
import com.chilliworks.chillisource.coreutils.StringUtils;
import com.chilliworks.chillisource.coreutils.Logging.LoggingLevel;
/**
* Handles the entry point into the application. This manages the par... | {
"content_hash": "e51ff3d4d7ff0d843de63e10cd678293",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 166,
"avg_line_length": 35.016129032258064,
"alnum_prop": 0.6805619530170428,
"repo_name": "ChilliWorks/ChilliSource",
"id": "6aa98c96554ebf46bfa16ce238fb33f3f5b5a97e",
"s... |
package org.jvnet.jaxb2_commons.tests.issues;
import org.junit.Assert;
import junit.framework.TestCase;
public class JIIB38Test extends TestCase {
public void testException() throws Exception {
final IssueJIIB38 one = new IssueJIIB38();
final IssueJIIB38Type two = IssueJIIB38Type.A;
Assert.assertTrue(one in... | {
"content_hash": "a103a76f287a4afaf29f518de485fab0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 48,
"avg_line_length": 23.176470588235293,
"alnum_prop": 0.7817258883248731,
"repo_name": "highsource/jaxb2-basics",
"id": "bbec79347f548ecd64459ab37b62401ba9c327d3",
"size... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Collections.Immutable
Imports System.Threading
Imports System.Threading.Tasks
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.Lan... | {
"content_hash": "139ac719e8073283b972c76fdd315f9d",
"timestamp": "",
"source": "github",
"line_count": 1033,
"max_line_length": 271,
"avg_line_length": 66.26331074540174,
"alnum_prop": 0.6386851716581446,
"repo_name": "yeaicc/roslyn",
"id": "9edca4167d799a0242901cb814452b9e76a679ec",
"size": "6845... |
package org.intellij.xquery.completion;
import com.intellij.codeInsight.completion.CompletionType;
import org.intellij.xquery.BaseFunctionalTestCase;
import java.util.List;
public abstract class BaseCollectorTest extends BaseFunctionalTestCase {
protected List<String> getCompletionProposals() {
return... | {
"content_hash": "a644dd60e38f9f63a5539f707954ca0b",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 30.78048780487805,
"alnum_prop": 0.7131537242472267,
"repo_name": "ligasgr/intellij-xquery",
"id": "f9beb0f2d6c7d466105299013fb99ab913d05f31",
"size"... |
<% if (fontfaceStyles) { %>
<% if (fontSrc1 && embed.length) { %>
@font-face {
font-family:"<%= fontFamilyName %>";
src:<%= fontSrc1 %>;
font-weight:normal;
font-style:normal;
}
<% } %>@font-face {
font-family:"<%= fontFamilyName %>";<% if (fontSrc1) { %>
src:<%= fontSrc1 %>;<% }%>
src:<%= fontSrc2 %>;
... | {
"content_hash": "2e0f58d25983cd601beac3520b5fe843",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 93,
"avg_line_length": 26.325,
"alnum_prop": 0.6258309591642925,
"repo_name": "Altius/soda",
"id": "6451ee7b09fd82588fe1a69ef0bad8d0ed968be7",
"size": "1053",
"binary": f... |
<!--
Copyright (c) 2014. Knowledge Media Institute - The Open University
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 app... | {
"content_hash": "e7f305acce77bf2a34fad0729d4ae626",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 406,
"avg_line_length": 54.74166666666667,
"alnum_prop": 0.6454559293652001,
"repo_name": "kmi/node-red-contrib-noble",
"id": "0a2fb14980ec8b921814db349e668042b1803224",
"... |
using System;
using System.Data;
namespace Nohros.Data
{
/// <summary>
/// An implementation of the <see cref="IDataField{T}"/> that maps a
/// <see cref="Double"/> data type to a concrete <see cref="IDataField{T}"/>
/// object.
/// </summary>
public class DataFieldDouble: DataField<double>
{... | {
"content_hash": "d74479eb3e3f085f80adb3d157b06926",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 31.025641025641026,
"alnum_prop": 0.5859504132231405,
"repo_name": "nohros/must",
"id": "3f88a623662e4770e3eda50d46e50dbc91cd2203",
"size": "1212",
... |
class AddDeletedAtToEvents < ActiveRecord::Migration[5.2]
def change
add_column :events, :deleted_at, :datetime
add_index :events, :deleted_at
end
end
| {
"content_hash": "11b19b88cc742b78b61d03d6fa07b113",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 57,
"avg_line_length": 27.166666666666668,
"alnum_prop": 0.7239263803680982,
"repo_name": "hackclub/api",
"id": "4e80702cef0cac767cca9e4f3e951240dc807d23",
"size": "194",
... |
<?xml version="1.0" encoding="utf-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<parameter key="kernel.root_dir">... | {
"content_hash": "4d4c93393b07282c65795c43de7cedff",
"timestamp": "",
"source": "github",
"line_count": 2851,
"max_line_length": 228,
"avg_line_length": 60.091897579796566,
"alnum_prop": 0.7003537198958686,
"repo_name": "drentas/Jenkins",
"id": "1a2f2935a085a4df5af41500180738b937ff6ec7",
"size": "1... |
Material CalendarView Sample App
================================
The sample app contains a mixture of implementations to help test and debug during development,
and to help new users understand how to implement some functionality. | {
"content_hash": "9c219183c89b2e4992313f4220ac4d75",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 95,
"avg_line_length": 46.4,
"alnum_prop": 0.7198275862068966,
"repo_name": "anasanasanas/material-calendarview",
"id": "fb08c91e0dab0588ebf4ddb5b0352279d6c74e3e",
"size": "... |
[](https://www.codacy.com/app/joostvdg/keep-watching?utm_source=github.com&utm_medium=referral&utm_content=joostvdg/keep-watching&utm_campaign=badger)
[ && pwd)
source $SCRIPTDIR/env_vars.sh
. $SCRIPTDIR/svc_utils.sh
TM=/opt/treadmill/bin/treadmill
echo Extracting cell config
$TM --outfmt yaml admin ldap cell confi... | {
"content_hash": "7bcf49ff92f900335a586fb45bf42937",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 18.903225806451612,
"alnum_prop": 0.6996587030716723,
"repo_name": "ceache/treadmill",
"id": "477e18481f27efbefa53f79f76a0f703bdd41f71",
"size": "597... |
/*
* Skin: Blue
* ----------
*/
.skin-blue .main-header .navbar {
background-color: #00c0ef;
}
.skin-blue .main-header .navbar .nav > li > a {
color: #ffffff;
}
.skin-blue .main-header .navbar .nav > li > a:hover,
.skin-blue .main-header .navbar .nav > li > a:active,
.skin-blue .main-header .navbar .nav > li > a... | {
"content_hash": "7b144b788ee9b098f6680bb77d21803e",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 75,
"avg_line_length": 25.58273381294964,
"alnum_prop": 0.6653543307086615,
"repo_name": "cindywang0728/adminset",
"id": "3e9117f665c1150927f4c01492779bfc5aa88c68",
"size"... |
package org.apache.carbondata.core.mutate;
import java.io.Serializable;
import java.util.Set;
import java.util.TreeSet;
/**
* This class stores the blocklet details of delete delta file
*/
public class DeleteDeltaBlockletDetails implements Serializable {
private static final long serialVersionUID = 12061049149... | {
"content_hash": "f25fdd44a5335ebd256a52337a0d4d89",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6824966078697422,
"repo_name": "jackylk/incubator-carbondata",
"id": "4b87388c461f006ad11ec809fda87067196b73ca",
... |
@extends('layout')
@section('content')
<div class="row">
<div class="col-xs-12 col-md-4 col-md-offset-4">
<br><br>
{{ Form::open(array('url' => 'password/remind', 'role' => 'form')) }}
<div class="form-group">
{{ Form::text('email', null, array('class'=>'form-control ... | {
"content_hash": "0d77bb5dfa2c14d822e9418bc1152a0a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 124,
"avg_line_length": 31.555555555555557,
"alnum_prop": 0.5017605633802817,
"repo_name": "TerryKLin/project-manager",
"id": "cf2b06e80177513e012652fb7f1d203039f5d88e",
"s... |
Extending Numba
===============
.. module:: numba.extending
This chapter describes how to extend Numba to make it recognize and support
additional operations, functions or types. Numba provides two categories
of APIs to this end:
* The high-level APIs provide abstracted entry points which are sufficient
for simpl... | {
"content_hash": "615c9364c3634ac470d59495d18892ec",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 75,
"avg_line_length": 30.928571428571427,
"alnum_prop": 0.766743648960739,
"repo_name": "stefanseefeld/numba",
"id": "035c00cb68fcf96c6910dbf65e49c8adb53b96cb",
"size": "8... |
#include "luainterface/luainterface.h"
#include <readline/readline.h>
#include <readline/history.h>
#include <string.h>
// Let's be honest: the following code is from a different era.
// All examples dealing with readline feel like they come straight
// from 1985. There's bad looking stuff going on here.
static lu... | {
"content_hash": "57549c8e96552a85f685915a4f6570ef",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 99,
"avg_line_length": 19.546341463414635,
"alnum_prop": 0.6166708260544048,
"repo_name": "jasonimercer/atomalign",
"id": "19eb5080f3eeb377538bf3011ca0a36a6c99919d",
"size... |
<?php namespace Wubs\Directions\Response;
class Route
{
public $distance;
public $duration;
/**
* @param $distance
* @param $duration
*/
private function __construct($distance, $duration)
{
$this->distance = $distance;
$this->duration = $duration;
}
/**
... | {
"content_hash": "efaf32835d1d4fe09dba38fa1c3fdfd5",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 58,
"avg_line_length": 16.677419354838708,
"alnum_prop": 0.5435203094777563,
"repo_name": "megawubs/simple-goolge-directions-api",
"id": "9f6eac7e8dd61182ba6d5d07872f290d7560... |
package com.tinylabproductions.u3d_gps_bridge;
import com.google.android.gms.common.ConnectionResult;
import java.util.HashMap;
import java.util.Map;
// Class for passing data between activities.
public class StaticData {
public static final String KEY = "KEY";
public static Map<Long, ConnectionResul... | {
"content_hash": "a4413c5d1a6b6954c032274ab409bf0d",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 54,
"avg_line_length": 28.17391304347826,
"alnum_prop": 0.6959876543209876,
"repo_name": "tinylabproductions/u3d_gps_bridge",
"id": "e50006e5027de9da942d0cbdd6f3be86ecf3bc46"... |
/* jshint latedef:false */
/* jshint forin:false */
/* jshint noempty:false */
'use strict';
exports.Operations = require('./operations');
exports.Workspaces = require('./workspaces');
exports.MachineLearningCompute = require('./machineLearningCompute');
| {
"content_hash": "a2928643b0b918a76df6ff5dea408f8a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 69,
"avg_line_length": 23.545454545454547,
"alnum_prop": 0.722007722007722,
"repo_name": "xingwu1/azure-sdk-for-node",
"id": "2e633c091dfb1b2e8a78d54eda6977d954e109a7",
"si... |
namespace Microsoft.Azure.Management.DataMigration.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Exception object for all custom exceptions
/// </summary>
public partial class ReportableException
{
/// <summary>
/// Initializes a new instance of the Re... | {
"content_hash": "a4f74893ffa6bbfe37295abd1ba360bd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 207,
"avg_line_length": 34.064935064935064,
"alnum_prop": 0.5772016774685474,
"repo_name": "AzureAutomationTeam/azure-sdk-for-net",
"id": "5264c7dc791d76a0c07c8e462f4cffb3c04... |
<?php
namespace App\Infrastructure\Storage;
use Doctrine\DBAL\Connection;
use Novosga\Entity\Contador;
use Novosga\Entity\Servico;
use Novosga\Entity\Unidade;
/**
* PostgreSQL Storage
*
* @author Rogerio Lino <rogeriolino@gmail.com>
*/
class PostgreSQLStorage extends RelationalStorage
{
/**
* {@inheri... | {
"content_hash": "661434aa87fb3a7be985d646c7a8c2bf",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 93,
"avg_line_length": 22.875,
"alnum_prop": 0.5878220140515222,
"repo_name": "novosga/novosga",
"id": "f4e074e7de36b91f1370b2f745941f63b1590bea",
"size": "1510",
"binary... |
.class public interface abstract Lcom/payu/android/sdk/internal/q;
.super Ljava/lang/Object;
# virtual methods
.method public abstract a()Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"()Ljava/util/List<Lcom/payu/android/sdk/internal/n;>;"
}
.end annot... | {
"content_hash": "7e48736169e34d2093bed8fb6d0d44d0",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 28.6,
"alnum_prop": 0.6643356643356644,
"repo_name": "gelldur/jak_oni_to_robia_prezentacja",
"id": "47c4d62c3c5860936a6c74cba8d1d064c5624bcd",
"size"... |
/*
This file is licensed to You 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, software
di... | {
"content_hash": "346b9ec485fd86dda49348e3733eff37",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 114,
"avg_line_length": 41.255208333333336,
"alnum_prop": 0.5915919707107689,
"repo_name": "xmlunit/xmlunit",
"id": "bab50af9d4e55779201da176145d7b34323c1fbb",
"size": "79... |
#region Header
//
// _ _ ____ _ _ _ _ _ _
// _| || |_| __ ) __ _| |_| |_| | ___ | \ | | ___| |_
// |_ .. _ | _ \ / _` | __| __| |/ _ \ | \| |/ _ \ __|
// |_ _| |_) | (_| | |_| |_| | __/_ | |\ | __/ |_
// |_||_| |____/ \__,_|\__|\__|_|\___(_)_ | \_|\___|\__|
//
// ... | {
"content_hash": "cba348f726d83dfe5389e232718fbc08",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 80,
"avg_line_length": 37.59615384615385,
"alnum_prop": 0.6235294117647059,
"repo_name": "wynandpieterse/SharpBattleNet",
"id": "bdec661d2764ce5e29aee0f681bc8424679a685c",
... |
class CreateTriggerAndStoredProcs < ActiveRecord::Migration
INS_GAMES_TRIGGER = "cg_games_ins_trigger"
UPD_GAMES_TRIGGER = "cg_games_upd_trigger"
DEL_GAMES_TRIGGER = "cg_games_del_trigger"
INCREMENT_PLAYER_STATS = "cg_increment_player_stats"
DECREMENT_PLAYER_STATS = "cg_decrement_player_stats"
... | {
"content_hash": "5969dd5096008645e2f4eb78db53e18c",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 98,
"avg_line_length": 34.08370044052864,
"alnum_prop": 0.6781698332687088,
"repo_name": "gcao/cool_games",
"id": "37ad6ecdc05ce0a429556fab5dd114d3be57d85e",
"size": "7737... |
InputStringBuf::InputStringBuf() : _waiting_for_input(false)
{
}
InputStringBuf::int_type InputStringBuf::underflow()
{
std::unique_lock<std::mutex> lock(_input_mutex);
_waiting_for_input = true;
_has_input.wait(lock, [this](){ return !str().empty(); });
_waiting_for_input = false;
return basic_... | {
"content_hash": "3526823bb42ee8e62ba9d37ebc1511da",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 62,
"avg_line_length": 21.727272727272727,
"alnum_prop": 0.6443514644351465,
"repo_name": "humblehacker/taskwarrior-ios",
"id": "6252cb2fe1ab7a83b0114d1191eeb12b2b8881e5",
... |
DELETE FROM `sys_objects_page` WHERE `module` = 'bx_timeline';
DELETE FROM `sys_pages_blocks` WHERE `module` = 'bx_timeline' OR `object` IN('bx_timeline_view', 'bx_timeline_view_home', 'bx_timeline_item', 'bx_photos_item_brief');
-- MENU
DELETE FROM `sys_objects_menu` WHERE `module` = 'bx_timeline';
DELETE FROM `sys_... | {
"content_hash": "dcdcb8b76880418e4f82d939eda76c9c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 240,
"avg_line_length": 40.6,
"alnum_prop": 0.7062248096730855,
"repo_name": "boonex/trident",
"id": "195f785d5a02e24e6758b3538eeedb784ffcd339",
"size": "2251",
"binary":... |
BSLS_IDENT("$Id$ $CSID$")
//@PURPOSE: Provide a mechanism for regular expression pattern matching.
//
//@CLASSES:
// bdlpcre::RegEx: mechanism for compiling and matching regular expressions
//
//@SEE_ALSO: http://www.pcre.org/
//
//@DESCRIPTION: This component provides a mechanism, 'bdlpcre::RegEx', for
// compiling ... | {
"content_hash": "76da09c5a1092b19408f858efc207b06",
"timestamp": "",
"source": "github",
"line_count": 1056,
"max_line_length": 79,
"avg_line_length": 49.359848484848484,
"alnum_prop": 0.6224963548461362,
"repo_name": "che2/bde",
"id": "d01d2264ee04723e4a531b75fb0d41ac306e78fe",
"size": "52291",
... |
package skinny.exception
/**
* Represents that route's metadata is invalid.
*
* @param message message
* @param cause cause
*/
case class RouteMetadataException(message: String, cause: Throwable = null)
extends RuntimeException(message, cause)
| {
"content_hash": "a43adf89156aad7a456dc3b7bbde7ddc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 75,
"avg_line_length": 25.2,
"alnum_prop": 0.753968253968254,
"repo_name": "holycattle/skinny-framework",
"id": "e60de6ebd3e9dbb4faec399826a4a6998f1a321f",
"size": "252",
... |
'use strict';
// Module dependencies.
const mongoose = require('mongoose');
const User = mongoose.models.User;
const Constants = require('../library').Constants;
const Util = require('../library').Util;
const debug = require('debug')('Tools:Seed');
const API = {};
API.Run = async () => {
Util.PrintTitle('Running C... | {
"content_hash": "1f94ae7cd88f4a70e5b82cb13fd6390a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 50,
"avg_line_length": 22,
"alnum_prop": 0.6207792207792208,
"repo_name": "vikz91/generator-restgoose",
"id": "bf88956a20bb866f57c34c673dd9cc371367c540",
"size": "770",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>ErrorHandler.UnknownServerException</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/jav... | {
"content_hash": "40eac83f8e80ae0029913f080b44bf6d",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 923,
"avg_line_length": 39.991769547325106,
"alnum_prop": 0.6624819921794608,
"repo_name": "krosenvold/selenium-git-release-candidate",
"id": "b056889f243a5182ef4c5b8cf174cb... |
MathJax.Localization.addTranslation("en","MathML",{
version: "2.7.1",
isLoaded: true,
strings: {
BadMglyph: "Bad mglyph: %1",
BadMglyphFont: "Bad font: %1",
MathPlayer: "MathJax was not able to set up MathPlayer.\n\nIf MathPlayer is not installed, you need to insta... | {
"content_hash": "82ed92ac7dc7f422877ffd2713e3175c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 510,
"avg_line_length": 81.78947368421052,
"alnum_prop": 0.7181467181467182,
"repo_name": "rluo/rluo.github.io",
"id": "aee8df7de286fc7777485bc40f203f88ccd166a9",
"size": "... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace InWorldz.PhysxPhysics
{
class CharacterRideOnBehavior : PhysX.ControllerBehaviorCallback
{
/// <summary>
/// The amount of time that a user must stay standing on top of an object before
///... | {
"content_hash": "400f4619ece43765bc12593c9e6258b2",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 133,
"avg_line_length": 25.963414634146343,
"alnum_prop": 0.5486143729450447,
"repo_name": "emperorstarfinder/halcyon",
"id": "94d3ea0d1315b2b4ad5168bf610d0087e3414577",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<billStatus>
<bill>
<actions>
<actionByCounts>
<houseOfRepresentatives>3</houseOfRepresentatives>
</actionByCounts>
<item>
<type>IntroReferral</type>
<links />
<text>Referred to the House Committee on Energy and Commerce.</te... | {
"content_hash": "3646aa12a0ab3fc73ea02f559d25a353",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 676,
"avg_line_length": 37.93478260869565,
"alnum_prop": 0.6296561604584527,
"repo_name": "peter765/power-polls",
"id": "ed8388a6e91fc87032436fc1709114da648126c6",
"size":... |
<?php
# Copyright 2013 Mike Thorn (github: WasabiVengeance). All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
class bsc_widget_control_label extends bsc_widget
{
function init()
{
$this->option_order = array('label','for');
$this->options[... | {
"content_hash": "adfd2b9faeecabe2ca0b9f456452c879",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 21.272727272727273,
"alnum_prop": 0.5954415954415955,
"repo_name": "Dev-Lucid/BootstrapConstructor",
"id": "fb0859cc425305be412a8caebf2238a8d1ee36d3",
... |
'use strict';
require('../common');
const assert = require('assert');
const vm = require('vm');
const { Worker, isMainThread } = require('worker_threads');
assert(Object.prototype.hasOwnProperty('__proto__'));
assert.throws(() => {
// eslint-disable-next-line no-proto
({}).__proto__;
}, {
code: 'ERR_PROTO_ACCE... | {
"content_hash": "ff9734e2a7d8fa8e8fdca895fff9bcad",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 59,
"avg_line_length": 18.30952380952381,
"alnum_prop": 0.577373211963589,
"repo_name": "enclose-io/compiler",
"id": "e7a1f679765235fac2d0b2265ca1b24e37f04e11",
"size": "80... |
namespace doris {
class VectorizedRowBatch;
class NullPredicate : public ColumnPredicate {
public:
NullPredicate(int32_t column_id, bool is_null);
virtual ~NullPredicate();
virtual void evaluate(VectorizedRowBatch* batch) const override;
private:
int32_t _column_id;
bool _is_null; //true for null... | {
"content_hash": "9ad8af55612c0efe53a73180259a2e5a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 68,
"avg_line_length": 22.77777777777778,
"alnum_prop": 0.7268292682926829,
"repo_name": "imay/palo",
"id": "152d945cf4226e5ec4654b984aabb789823fa566",
"size": "1355",
"b... |
<?php
namespace Bpaulin\UpfitBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ObjectiveType extends AbstractType
{
/**
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
*/
publ... | {
"content_hash": "8dd01639147551fe07f1555e109bed12",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 76,
"avg_line_length": 24.607843137254903,
"alnum_prop": 0.4756972111553785,
"repo_name": "bpaulin/upfit",
"id": "bee12ab75309a3a7536a3d5ff3db3d92cd67fc95",
"size": "1255",... |
package com.github.ljtfreitas.restify.http.netflix.client.request.ribbon.async;
import java.net.URI;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionStage;
import com.github.ljtfreitas.restify.http.client.request.async.AsyncHttpClientRequest;
import com.github.ljtfreitas.restify.... | {
"content_hash": "9f535c59b7e9b4d187043e0be7d22c69",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 139,
"avg_line_length": 42.870370370370374,
"alnum_prop": 0.8367170626349892,
"repo_name": "ljtfreitas/java-restify",
"id": "3575f4fc4eda69f3482be35c22963b152813b921",
"si... |
/* Example for use of GNU gettext.
This file is in the public domain.
Source code of the AppController class. */
#include "AppController.h"
#include "Hello.h"
@implementation AppController
static NSDictionary *infoDict = nil;
+ (void)initialize
{
NSMutableDictionary *defaults = [NSMutableDictionary dictio... | {
"content_hash": "235b61041168071b9bb3a2cfca2b37a2",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 87,
"avg_line_length": 17.65432098765432,
"alnum_prop": 0.706993006993007,
"repo_name": "BenKeyFSI/poedit",
"id": "96475cd38b7623a74be5005a3b4dbab2f8b6c829",
"size": "1430"... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingStart="20dp"
android:paddingTop="12dp"
android:paddingEnd="20dp">... | {
"content_hash": "c1b459e5b091dc07aab2fa94fcd96fc5",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 74,
"avg_line_length": 36.3125,
"alnum_prop": 0.6635111876075731,
"repo_name": "nikita36078/J2ME-Loader",
"id": "d98edcacdb2f5715d061f2843e6ccc613c612b30",
"size": "1162",
... |
/*fonts*/
@font-face {
font-family: 'DroidSansRegular';
src: url('fonts/DroidSans-webfont.eot?') format('eot'),
url('fonts/DroidSans-webfont.woff') format('woff'),
url('fonts/DroidSans-webfont.ttf') format('truetype'),
url('fonts/DroidSans-webfont.svg#webfont6rGBoMAO') format('svg');
font-weight: normal;
fo... | {
"content_hash": "b109453107efd7cf0bf74609cf3032ed",
"timestamp": "",
"source": "github",
"line_count": 3088,
"max_line_length": 110,
"avg_line_length": 15.921955958549223,
"alnum_prop": 0.6856021315109728,
"repo_name": "shankarh/geode",
"id": "32ee3d13e9e1d7d927c2ec89924ddac4b02c9c0b",
"size": "49... |
package com.intellij.spellchecker.state;
import com.intellij.openapi.components.ServiceManager;
import com.intellij.openapi.project.Project;
import com.intellij.spellchecker.dictionary.Dictionary;
import com.intellij.spellchecker.dictionary.Loader;
import com.intellij.spellchecker.dictionary.Processor;
import org.jet... | {
"content_hash": "b309c788dc07199e8d1e3b2a50873e2d",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 110,
"avg_line_length": 26.80952380952381,
"alnum_prop": 0.7051509769094139,
"repo_name": "jexp/idea2",
"id": "c48e1d56b94d56887ea755ea781701cdb4036604",
"size": "1726",
... |
<?php
namespace Commercetools\Core\Helper\Subscriber\Log;
use Psr\Log\LoggerTrait;
use Psr\Log\LoggerInterface;
/**
* Simple logger implementation that can write to a function, resource, or
* uses echo() if nothing is provided.
*/
class SimpleLogger implements LoggerInterface
{
use LoggerTrait;
private $... | {
"content_hash": "0ba2f9fe0b6ae5e371af0f7651b12031",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 74,
"avg_line_length": 24.424242424242426,
"alnum_prop": 0.5992555831265509,
"repo_name": "sphereio/sphere-php-sdk",
"id": "6b7a4f13a8e098f153c3b8a43f1390cdf83f488a",
"size... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// 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://w... | {
"content_hash": "9e281fb33bb96e4bc8b7ead424cff31e",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 133,
"avg_line_length": 42.642105263157895,
"alnum_prop": 0.6465070352999259,
"repo_name": "LindaLawton/Google-APIs-PHP-Samples",
"id": "625828e27a42255277f30d6634c5343224e6a... |
#include "src/trace_processor/importers/proto/android_probes_tracker.h"
namespace perfetto {
namespace trace_processor {
AndroidProbesTracker::AndroidProbesTracker(TraceProcessorContext*) {}
AndroidProbesTracker::~AndroidProbesTracker() = default;
} // namespace trace_processor
} // namespace perfetto
| {
"content_hash": "95ba70a334ec1d8a88a01f462cbd1eae",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 71,
"avg_line_length": 23.923076923076923,
"alnum_prop": 0.7942122186495176,
"repo_name": "endlessm/chromium-browser",
"id": "490ac87c33b1a0a80804b96eb120b6a3591870ab",
"si... |
package storage::ibm::ts2900::snmp::mode::hardware;
use base qw(centreon::plugins::templates::hardware);
sub set_system {
my ($self, %options) = @_;
$self->{cb_hook2} = 'snmp_execute';
$self->{thresholds} = {
default => [
['unknown', 'UNKNOWN'],
['ok', 'OK'],
... | {
"content_hash": "3fc73e5b3cfdf11b0da3f2938e32742c",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 152,
"avg_line_length": 29.953846153846154,
"alnum_prop": 0.586372196541688,
"repo_name": "centreon/centreon-plugins",
"id": "ba214efa254f909907f76a27284218ba71e12438",
"s... |
Ember.TEMPLATES["cube"] = Ember.Handlebars.template({"compiler":[6,">= 2.0.0-beta.1"],"main":function(depth0,helpers,partials,data) {
var helperMissing=helpers.helperMissing, escapeExpression=this.escapeExpression, buffer = '';
data.buffer.push("<div class=\"row\">\r\n <div class=\"col-sm-12 block\">\r\n ... | {
"content_hash": "705e32a0cc20667b1bb463be61d9871c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 379,
"avg_line_length": 90.05714285714286,
"alnum_prop": 0.5913705583756346,
"repo_name": "Si-elegans/Web-based_GUI_Tools",
"id": "2620d6ee9139e55a046ea4f941b79701bd891101",
... |
Java for testers
| {
"content_hash": "61ebf1b8e1419c3454d63be04cbd3a24",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 17,
"alnum_prop": 0.8235294117647058,
"repo_name": "DiTheGrey/java_pft",
"id": "540be912fe899d8870b06c50653eb5bd00634987",
"size": "28",
"binary": f... |
require 'json'
module LogglyRubyClient
class CLI
class Search
def search
opts = read_options
s = LogglyRubyClient::Search.new :domain => opts[:domain],
:username => opts[:username],
:password => opts[:passw... | {
"content_hash": "c88e26bf78664e1836b024bb558abf32",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 124,
"avg_line_length": 33.4,
"alnum_prop": 0.44011976047904194,
"repo_name": "brettweavnet/loggly-ruby-client",
"id": "d88653519aee5f09232da591baaf4d3d272f16d1",
"size": "... |
require_dependency 'lit/api/v1/base_controller'
module Lit
class Api::V1::LocalizationKeysController < Api::V1::BaseController
def index
@localization_keys = LocalizationKey
if params[:after].present?
@localization_keys = @localization_keys.after(DateTime.parse(params[:after])).to_a
els... | {
"content_hash": "f5afc44f11f3041424d6dd5c025cd150",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 90,
"avg_line_length": 32.86666666666667,
"alnum_prop": 0.6876267748478702,
"repo_name": "mlitwiniuk/lit",
"id": "c5d37c17a79e0c808c60f97e8de4bab26d662c50",
"size": "493",
... |
package com.mikesantiago.javarpgengine.core;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import javax.swing.JOptionPane;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
import com.badlogic.gdx.grap... | {
"content_hash": "7e7464d6fbe6a4f899c5bf798d0bdec0",
"timestamp": "",
"source": "github",
"line_count": 351,
"max_line_length": 148,
"avg_line_length": 24.262108262108264,
"alnum_prop": 0.6141380930014091,
"repo_name": "Luigifan/JavaRPGEngine",
"id": "58e947f13ca0f45bf2ae4ba0b68a350f410eba44",
"siz... |
"use strict";
module.exports = function(Promise) {
Promise.prototype.call = function Promise$call(propertyName) {
var $_len = arguments.length;var args = new Array($_len - 1); for(var $_i = 1; $_i < $_len; ++$_i) {args[$_i - 1] = arguments[$_i];}
return this._then(function(obj) {
... | {
"content_hash": "adb63e82fcb81a8d71086623460b764f",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 140,
"avg_line_length": 27.5,
"alnum_prop": 0.4502673796791444,
"repo_name": "xhhjin/heroku-ghost",
"id": "cdd8f4fbee5f5bbdecd4bfc711634c5ac8e08685",
"size": "2081",
"bin... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ 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.apac... | {
"content_hash": "949e6af6ee0f71b8a1547fc5e7036607",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 108,
"avg_line_length": 37.078947368421055,
"alnum_prop": 0.6827537260468417,
"repo_name": "dilini-mampitiya/product-pc",
"id": "22a9fbb2835a08392740de5b5ec639b894d2d20a",
... |
using System.Collections.Generic;
using ZKWeb.Localize;
using ZKWebStandard.Extensions;
using ZKWebStandard.Ioc;
namespace ZKWeb.Plugins.Common.MenuPage.src.Components.Translates {
/// <summary>
/// 日本语翻译
/// </summary>
[ExportMany, SingletonReuse]
public class ja_JP : ITranslateProvider {
private s... | {
"content_hash": "c6b00acbbe3aa27ec02b8a2e7e80eb80",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 89,
"avg_line_length": 28.88888888888889,
"alnum_prop": 0.6961538461538461,
"repo_name": "303248153/ZKWeb.Plugins",
"id": "1c8fec322ff51641771346fea6715f9db889ebf1",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2011 Google Inc. All Rights Reserved.
~
~ 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/L... | {
"content_hash": "534d96e21cf7b850a7680d4b236786d3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 80,
"avg_line_length": 46.53125,
"alnum_prop": 0.7427803895231699,
"repo_name": "jaythaceo/paco",
"id": "262a4215419213e2d75fb6fdcb598e519271a889",
"size": "1489",
"binar... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Trading\Types;
/**
*
*/
class PayPalRequiredForStoreOwnerDefinitionType extends \DTS\eBa... | {
"content_hash": "598798a68bac58689989c7bbc0df8830",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 116,
"avg_line_length": 27.6046511627907,
"alnum_prop": 0.6276326874473462,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "6e0f5549067b2df658de6d5f8f4661f3215dd131",
"siz... |
package rx.operators;
import static org.mockito.Mockito.*;
import static rx.operators.OperationAll.*;
import org.junit.Test;
import rx.Observable;
import rx.Observer;
import rx.functions.Func1;
public class OperationAllTest {
@Test
@SuppressWarnings("unchecked")
public void testAll() {
Observa... | {
"content_hash": "aa7dca00f6715d51f0a18c9dba793c6c",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 79,
"avg_line_length": 28.372093023255815,
"alnum_prop": 0.5934426229508196,
"repo_name": "devisnik/RxJava",
"id": "e7940a05835185f5deb8c4999cad5150f8967a12",
"size": "3036... |
namespace Merchello.Core.Services
{
/// <summary>
/// Defines the ServiceContext, which provides access to the following services:
/// <see cref="ICustomerService"/>
/// </summary>
public interface IServiceContext
{
/// <summary>
/// Gets the <see cref="IAuditLogService"/>
... | {
"content_hash": "ed1fa9c569096f2482a18f7371cce9ee",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 84,
"avg_line_length": 29.967032967032967,
"alnum_prop": 0.5500550055005501,
"repo_name": "MindfireTechnology/Merchello",
"id": "022b3a2598c817fcfa1480c6d4cef7a39213107d",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.