text
stringlengths
2
1.04M
meta
dict
Usage: ``` Javascript var conf = require('./config'); var passport = require('passport'); var CoggleBearerStrategy = require('coggle-auth-bearer').Strategy; var User = require('./models/User'); passport.use(new CoggleBearerStrategy({}, function(profile, done) { done(false, new User(profile)); } )); ```
{ "content_hash": "d84c56db9133b087e7f6e6bfd4f73e3f", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 66, "avg_line_length": 22.357142857142858, "alnum_prop": 0.6869009584664537, "repo_name": "Coggle/passport-coggle-bearer", "id": "14ecb4e4c47488795d3c1a41b9cfdb6946ac1f9d", ...
namespace calcc { namespace parser { //! Parse the file from istream:sin ast::Expr *parse(std::istream &sin); } } #endif //CALCCOMPILER_PARSER_H
{ "content_hash": "086dd7d5514e9f702cb06689219f1053", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 40, "avg_line_length": 19.75, "alnum_prop": 0.6582278481012658, "repo_name": "ztuowen/calc-compiler", "id": "48c566421decb3716596ab3d981fc05d0c1757f9", "size": "293", "bin...
public class Driver { @SuppressWarnings("unused") public static void main(String[] args) { final int width = 425; final int height = 325; Gui driver = new Gui(width, height); } }
{ "content_hash": "7fbc27d3eb845533cc68e65897faa934", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 41, "avg_line_length": 21.11111111111111, "alnum_prop": 0.6736842105263158, "repo_name": "Mobliz640/DAoC-Auto-Twister", "id": "2e0d7422db33c40a451498e8ab257a3b12a1100d", "si...
/*jshint node:true,forin:false,strict:false*/ /*global suite,test,suiteSetup,suiteTeardown,setup,teardown*/ var assert = require('chai').assert; var gulpPkgs = require('../gulp-packages'); suite('gulp-packages', function () { suiteSetup(function () { this.dummyGulp = { task: function () {} }; this.pkg = gul...
{ "content_hash": "eca0c9e456846f4327e0f2a547365341", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 77, "avg_line_length": 25.418181818181818, "alnum_prop": 0.5987124463519313, "repo_name": "ktty1220/gulp-packages", "id": "3d5730f966615d8130999da35475e98bcbd2e30b", "size"...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.batchai.implementation; import com.azure.core.annotation.ExpectedResponses; import com.azure.core.annotation.Get; import com.azu...
{ "content_hash": "3e71086180e894e0c54b60a40492b92b", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 117, "avg_line_length": 45.88104089219331, "alnum_prop": 0.6567817209528439, "repo_name": "Azure/azure-sdk-for-java", "id": "ac01be2dd9326ec8fe9e86adfd244527f54e3cbd", "si...
package rx.facebook.app; import android.app.Activity; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; //import android.support.v4.app.NavUtils; import android.support.v4.app.Fragment; import android.support.v7.widget.RecyclerView; //import android.support.v7.widget.Stagger...
{ "content_hash": "160efee3099971cbcc6310ef13c14c22", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 129, "avg_line_length": 33.796992481203006, "alnum_prop": 0.6026696329254727, "repo_name": "yongjhih/RxFacebook", "id": "79c6caaf4a7f25847c9f1421cece24afbf9a1de6", "size":...
<?php declare(strict_types=1); namespace Altair\Data\Exception; class PropertyNotFoundException extends InvalidArgumentException { }
{ "content_hash": "3831ce7af70288629b26fad27e4e9d6f", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 64, "avg_line_length": 15.222222222222221, "alnum_prop": 0.8102189781021898, "repo_name": "univeros/framework", "id": "ef74ccbdcae9e89d6c0ca9ade8ac1209ef81d42f", "size": "32...
package org.apache.tomcat.jdbc.pool; import java.util.Properties; public class PoolUtilities { public static final String PROP_USER = "user"; public static final String PROP_PASSWORD = "password"; public static Properties clone(Properties p) { Properties c = new Properties(); c.putAll(...
{ "content_hash": "c598974252392e090b913c2fdc87552e", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 65, "avg_line_length": 22.695652173913043, "alnum_prop": 0.6590038314176245, "repo_name": "plumer/codana", "id": "0da0d0b159d304395e191ea10b63322542fbdb75", "size": "1324",...
require File.expand_path('../../../../spec_helper', __FILE__) ruby_version_is "2.2" do describe "File::Stat#birthtime" do before :each do @file = tmp('i_exist') touch(@file) { |f| f.write "rubinius" } end after :each do rm_r @file end platform_is :windows, :darwin, :freebsd, :...
{ "content_hash": "300212072a0689dc20894ca86f4d6a6e", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 71, "avg_line_length": 25.275862068965516, "alnum_prop": 0.5948158253751705, "repo_name": "BanzaiMan/rubyspec", "id": "448fddd73dbb7ddf919e3c64fd7da3441854d2ef", "size": "7...
.PHONY: build push PREFIX=staging-k8s.gcr.io TAG = 2.1.1 BUILD_DEPS="make gcc g++ libc6-dev ruby-dev libffi-dev" build: docker build --pull -t $(PREFIX)/fluentd-gcp:$(TAG) . push: gcloud docker -- push $(PREFIX)/fluentd-gcp:$(TAG) update-dependencies: build docker run -it --name fluentd-gcp-refreeze $(PREFIX)/...
{ "content_hash": "d97e357fdd976597538a2263da3883be", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 165, "avg_line_length": 28.444444444444443, "alnum_prop": 0.703125, "repo_name": "kawych/k8s-stackdriver", "id": "b918bc227cb976e2033a0fb3181bbd4c2b9104c8", "size": "1221",...
//****************************************************************************************************** // ISupportBinaryImage.cs - Gbtc // // Copyright © 2012, Grid Protection Alliance. All Rights Reserved. // // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See...
{ "content_hash": "154fbafdb79c60429337e2be4f125e6e", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 143, "avg_line_length": 50.50344827586207, "alnum_prop": 0.6213300559879831, "repo_name": "rmc00/gsf", "id": "5c0339a2af0b5ad4fe963bc401d7af9a9099b1c6", "size": "7326", ...
""" DeepFool tutorial on mnist using advbox tool. Deepfool is a simple and accurate adversarial attack method. It supports both targeted attack and non-targeted attack. """ import sys sys.path.append("..") import matplotlib.pyplot as plt import paddle.fluid as fluid import paddle.v2 as paddle from advbox.adversary im...
{ "content_hash": "5b0ece1e4e0c9232484bf8404999d9dc", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 84, "avg_line_length": 32.175182481751825, "alnum_prop": 0.5905172413793104, "repo_name": "qingqing01/models", "id": "2b12c81945859b42809e33ccd74ead53f4d4eb05", "size": "4...
#include <errno.h> #include <fcntl.h> /* Advice the system about the expected behaviour of the application with respect to the file associated with FD. */ int posix_fadvise64 (int fd, __off64_t offset, __off64_t len, int advise) { return ENOSYS; } stub_warning (posix_fadvise64) #include <stub-tag.h>
{ "content_hash": "b641ffe27aeaad6963ce83e2f93aecfc", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 73, "avg_line_length": 20.733333333333334, "alnum_prop": 0.7138263665594855, "repo_name": "endplay/omniplay", "id": "e7eae5e6e33740e10c5cd17eebe70aa9e59ca36d", "size": "116...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Torreya 14:67. 1914 #### Original name null ### Remarks null
{ "content_hash": "1a3dd2566bb809a607f6bcb4ff6a4529", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 11.461538461538462, "alnum_prop": 0.697986577181208, "repo_name": "mdoering/backbone", "id": "21e29d7a6269de973414b84a1656cfd5770b1ff2", "size": "196...
ES5Harness.registerTest({ id: "15.2.3.7-6-a-55", path: "TestCases/chapter15/15.2/15.2.3/15.2.3.7/15.2.3.7-6-a-55.js", description: "Object.defineProperties - both desc.writable and P.writable are boolean values with the same value (8.12.9 step 6)", test: function testcase() { var obj = {}; ...
{ "content_hash": "c4ffba90e28a01051d17519724753207", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 134, "avg_line_length": 29.23076923076923, "alnum_prop": 0.5986842105263158, "repo_name": "hnafar/IronJS", "id": "84a2172745c03eb7a6e74702bc9a85639598846a", "size": "2319",...
import mysql.connector import send_to_db from os.path import join, dirname import json def main(config): output = [] db = mysql.connector.Connect(**config) cursor = db.cursor() stmts = ["SELECT * FROM top_cities(cities)"] with open ('top_cities.txt','w') as file: for item in suggestion_list: f...
{ "content_hash": "358de27d6a75497f58042177753760ca", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 48, "avg_line_length": 21.303030303030305, "alnum_prop": 0.5533428165007113, "repo_name": "jpmunic/udest", "id": "1adc6b101bcdea07ecaf652931c0c717ec2d01c4", "size": "703", ...
<?php # MantisBT - a php based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distribut...
{ "content_hash": "31161607d9bb8b54620a45142ebcd6b7", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 174, "avg_line_length": 32.81666666666667, "alnum_prop": 0.6163026917216862, "repo_name": "nicholasio/nicholasandre.com.br", "id": "549740ac67c76445045d665b8dd526d5eb8ad423"...
/* eslint-disable-next-line no-unused-expressions */ import(/* webpackChunkName: "async-1" */ './async-1.css'); /* eslint-disable-next-line no-unused-expressions */ import(/* webpackChunkName: "async-2" */ './async-2.css');
{ "content_hash": "37dd88b5a463c0aafe3817151a53c69e", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 58, "avg_line_length": 56, "alnum_prop": 0.6875, "repo_name": "faceyspacey/extract-css-chunks-webpack-plugin", "id": "3f7d88080b1332ec251dc8697c1d93a2194d871b", "size": "224...
function engine = gaussian_inf_engine(bnet) % GAUSSIAN_INF_ENGINE Computes the joint multivariate Gaussian corresponding to the bnet % engine = gaussian_inf_engine(bnet) % % For details on how to compute the joint Gaussian from the bnet, see % - "Gaussian Influence Diagrams", R. Shachter and C. R. Kenley, Management Sc...
{ "content_hash": "52a9d76913e52102f22f2a1de8b50419", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 106, "avg_line_length": 35.44, "alnum_prop": 0.718961625282167, "repo_name": "ushadow/gesture-recog", "id": "3e34c166e0e6a66d5528ccc4066348bfd2cef88d", "size": "886", "bi...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Csla.Rules; namespace ProjectTracker.Library { /// <summary> /// Ensure the Role property value exists /// in RoleList /// </summary> public class ValidRole : BusinessRule { public ValidRole(Csla.Core.IProperty...
{ "content_hash": "ed8a6d3e8fb5149e8059ab24fd2d3e5d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 105, "avg_line_length": 27.35483870967742, "alnum_prop": 0.6851415094339622, "repo_name": "jonnybee/csla", "id": "4fb7a7394c00db380e9dfef94755b255c31ddfd8", "size": "850", ...
module AllMyCircuits module Strategies # Public: opens the circuit whenever failures threshold is reached # within the window. Threshold is represented by absolute number of # failures within the window. # class NumberOverWindowStrategy < AbstractWindowStrategy # Public: initializes a new ...
{ "content_hash": "b3d8a91e92d22fd4d56051d1ea839705", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 84, "avg_line_length": 28.1875, "alnum_prop": 0.6385809312638581, "repo_name": "remind101/all_my_circuits", "id": "cce95e8491e01a447f02a085516b7e6fc0895af0", "size": "902",...
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <html> <head> <title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $uri_segments</title> <link rel="stylesheet" href="../sample.css" type="text/css"> <link rel="stylesheet" href="../sample-prin...
{ "content_hash": "308669d644e53c2744a833bacac15441", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 253, "avg_line_length": 52.92929292929293, "alnum_prop": 0.6694656488549618, "repo_name": "inputx/code-ref-doc", "id": "38fc6b86bf8873821c68a0a8f72f36e51bf7cde9", "size": "...
<!DOCTYPE html> <html> <head> <title>Welcome to Angular.js</title> <script src="/libs/jquery/dist/jquery.js"></script> <script src="/libs/angular/angular.js"></script> <script src="/libs/angular-ui-router/release/angular-ui-router.js"></script> <base href="/"> </head> <body> <div ng-app="MyApp"> <di...
{ "content_hash": "aed6a8c5a6ffc4548ba336c69cbb01b8", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 78, "avg_line_length": 24.993827160493826, "alnum_prop": 0.5169177574709805, "repo_name": "training4developers/angular-10262015", "id": "52299b5bc8788c3586f3882d3d18f3064e8e...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.Metronome = undefined; var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descript...
{ "content_hash": "24bbd1ceb4d143b3932df430889129e7", "timestamp": "", "source": "github", "line_count": 426, "max_line_length": 564, "avg_line_length": 31.941314553990612, "alnum_prop": 0.6037333725288454, "repo_name": "abudaan/qambi", "id": "24d9776041f39057ec95f1943a283d79c5d8bd49", "size": "1360...
<?xml version="1.0" encoding="utf-8"?> <resources name="en" flag="gb" title="English"> <string name="_bx_quoteofday"><![CDATA[Quote of the Day]]></string> <string name="_bx_quoteofday_option_rss_url"><![CDATA[Url of external RSS feed]]></string> <string name="_bx_quoteofday_lmi_cpt_quotes"><![CDATA[Quotes List]]...
{ "content_hash": "6af82c984f1ec92fe77358a0ccbc4e85", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 110, "avg_line_length": 73.3076923076923, "alnum_prop": 0.6935991605456453, "repo_name": "unaio/una", "id": "ced8d4ae5b7ba3feb2e4eab988d5bb395a7fa855", "size": "2859", "b...
"""Config flow to configure demo component.""" from homeassistant import config_entries # pylint: disable=unused-import from . import DOMAIN class DemoConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): """Demo configuration flow.""" VERSION = 1 async def async_step_import(self, import_info): ...
{ "content_hash": "7eb34d19c05959ac0d84fc173367cef5", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 63, "avg_line_length": 26.5625, "alnum_prop": 0.6988235294117647, "repo_name": "Teagan42/home-assistant", "id": "e6b275920c8c16ea0f4dd2d3ddeadaf3fb35ce34", "size": "425", ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18331 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "b52b88477658dd683633d93dffa494fe", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 151, "avg_line_length": 35.5, "alnum_prop": 0.5812206572769953, "repo_name": "Mpstark/articulate", "id": "931186e0e9998a72e20dbf0429316d42085feff4", "size": "1067", "bina...
""" A fantastic python code to determine the quenched SFH parameters of galaxies using emcee (http://dan.iel.fm/emcee/current/). This file contains all the functions needed to determine the mean SFH parameters of a population. N.B. The data files .ised_ASCII contain the extracted bc03 models and have a 0 in th...
{ "content_hash": "e22c884bb96703493e97894ad851a4cd", "timestamp": "", "source": "github", "line_count": 555, "max_line_length": 411, "avg_line_length": 46.38558558558559, "alnum_prop": 0.6239123679303915, "repo_name": "zooniverse/starpy", "id": "090b00647e1c412e963c9b3ffaa70f92e1ae0e3b", "size": "2...
Landuse and patten recognition project This is code written to run automatic classifiers on multiband rasters. [![DOI](https://zenodo.org/badge/63271494.svg)](https://zenodo.org/badge/latestdoi/63271494) ##Usage## Necessary libraries: GDAL, Spectral Python, Numpy, Python Imaging Library This script will take a mul...
{ "content_hash": "2d25f41adf43a2e45d83813005b7d195", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 354, "avg_line_length": 56.705882352941174, "alnum_prop": 0.7863070539419087, "repo_name": "mchristoffersen/landuse", "id": "c55e22c664392966a5eed384fd98cf2da4ace25d", "siz...
#ifndef BGFX_C99_H_HEADER_GUARD #define BGFX_C99_H_HEADER_GUARD #include <stdarg.h> // va_list #include <stdbool.h> // bool #include <stdint.h> // uint32_t #include <stdlib.h> // size_t #include <bgfx/bgfxdefines.h> typedef enum bgfx_renderer_type { BGFX_RENDERER_TYPE_NULL, BGFX_RENDERER_TYPE_DIRECT3D9,...
{ "content_hash": "03c49de9140fff1b17647fd6fb68001a", "timestamp": "", "source": "github", "line_count": 774, "max_line_length": 277, "avg_line_length": 31.543927648578812, "alnum_prop": 0.7041982387876305, "repo_name": "cuavas/bgfx", "id": "534c13f1f50503b085df1b22df8be18c08b2633d", "size": "24586"...
<?php namespace Openbuildings\Postmark\Test; use Openbuildings\Postmark\Api; use PHPUnit\Framework\TestCase; /** * @covers \Openbuildings\Postmark\Api * @group api */ class ApiTest extends TestCase { public function testConstructor() { $api = new Api(); $this->assertNull($api->getToken());...
{ "content_hash": "a1da14dc9d5f6f4f3cd789ef4ae92ca1", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 102, "avg_line_length": 30.685279187817258, "alnum_prop": 0.5232423490488006, "repo_name": "OpenBuildings/postmark", "id": "bbcdc772e8d3a5bb0740eb1227a8788a0096d315", "siz...
.class Landroid/support/v4/app/TaskStackBuilder$TaskStackBuilderImplJellybean; .super Ljava/lang/Object; .source "TaskStackBuilder.java" # interfaces .implements Landroid/support/v4/app/TaskStackBuilder$TaskStackBuilderImpl; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/sup...
{ "content_hash": "431905cb02810397629b9c58eb2b082a", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 218, "avg_line_length": 26.984615384615385, "alnum_prop": 0.7263397947548461, "repo_name": "shenxdtw/PokemonGo-Plugin", "id": "710e18d65bb53efbdde2e8e5f1a1f1780b01d791", "s...
import commentApi from '../../api/commentApi' import * as types from '../mutation-types' const state = { currStatementComments: [] } const getters = { currStatementComments: state => state.currStatementComments, currStatementCommentCount: state => state.currStatementComments.length } const actions = { initComment...
{ "content_hash": "5b08a3d144a61ba7a49382f52108c64b", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 90, "avg_line_length": 25.055555555555557, "alnum_prop": 0.6999260901699926, "repo_name": "shuangbofu/ustate", "id": "b153a5699c053b86b272b4a5893e80cfd248172a", "size": "13...
status=published date=2009-12-30 tags=blog type=post title=Retrospectiva TáSafo 2009 ~~~~~~ Olá pessoal, preparamos um formulário para obter um feedback sobre a atuação do TáSafo em 2009 e esperamos a participação de todos. Nele, gostaríamos de levantar os pontos positivos e negativos relacionados a qualquer assunto qu...
{ "content_hash": "8e729f1c4a99d859da57772d7394f9b5", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 574, "avg_line_length": 98.41176470588235, "alnum_prop": 0.8147041243275552, "repo_name": "aldrinleal/www.tasafo.com.br", "id": "7598f732276cecb492c5f35e18f6d0c84a76bda4", ...
package org.apache.samza.util; import java.net.Inet4Address; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.UnknownHostException; import java.util.Arrays; import java.util.Collections; import com.google.common.collect.ImmutableMap; import org.apache.samza.config.ApplicationConfig; impo...
{ "content_hash": "27cd678be8dc07c938a5ed4f8c3cf5d2", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 119, "avg_line_length": 46.94021739130435, "alnum_prop": 0.7777005904828065, "repo_name": "abhishekshivanna/samza", "id": "4fbd8cbc22ab0d0f332c3348dd94f8e9cde74300", "size...
'use strict'; var invariant = require('invariant'); import type ContentBlock from 'ContentBlock'; import type {DraftRange} from 'DraftRange'; /** * Obtain the start and end positions of the range that has the * specified entity applied to it. * * Entity keys are applied only to contiguous stretches of text, so...
{ "content_hash": "c0c973ac137a306e87a19a271354623f", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 72, "avg_line_length": 21.289473684210527, "alnum_prop": 0.6860321384425216, "repo_name": "SciMts/draft-js", "id": "4f9937ebf6e65dcf99ea0f47a8f91bcdcb48ab4c", "size": "1187...
import asyncio import logging import regex import synapse.common as s_common import synapse.lib.scrape as s_scrape import synapse.lib.spooled as s_spooled import synapse.lib.stormtypes as s_stormtypes logger = logging.getLogger(__name__) @s_stormtypes.registry.registerLib class LibScrape(s_stormtypes.Lib): '''...
{ "content_hash": "d88791ce5cbb8101f9ec3fca8873d6e4", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 119, "avg_line_length": 40.263803680981596, "alnum_prop": 0.5125704708212707, "repo_name": "vertexproject/synapse", "id": "86fe9e1b7917a808e5a9f1f55efe55fa2b627b25", "size...
package co.fingerprintsoft.spring.hibernate.audit; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.data.envers.repository.support.EnversRevisionRepositoryFactoryBean; import org.springframework.data.jpa.repository.config...
{ "content_hash": "b4b964228eb45e74091a5d2b63f3f1b8", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 94, "avg_line_length": 36.73684210526316, "alnum_prop": 0.8151862464183381, "repo_name": "fingerprints/spring-profile", "id": "1230d29e7d996c4f2b66dbeba8a5b01aba7a379c", "s...
<!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_11) on Mon Mar 17 10:51:55 PDT 2014 --> <title>IBoxResponse</title> <meta name="date" content="2014-03-17"> <link rel="stylesheet" type...
{ "content_hash": "3c86d66e08a157a0bc8340cf7e7b3427", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 444, "avg_line_length": 37.641350210970465, "alnum_prop": 0.6508238986660688, "repo_name": "shelsonjava/box-java-sdk-v2", "id": "e21a5b7a5f8510490e8bc2fdae47194c077d487e", ...
SELECT i FROM t1 WHERE b>0 AND b<'zzz'
{ "content_hash": "897ecdfba4f7d742baa2757bc74b8f2b", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 38, "avg_line_length": 38, "alnum_prop": 0.7105263157894737, "repo_name": "bkiers/sqlite-parser", "id": "557aa347d40668a485b658f83fb5b68a93f799c9", "size": "123", "binary"...
if RAILS_ENV == 'development' ActiveSupport::Dependencies.load_once_paths.reject!{|x| x =~ /^#{Regexp.escape(File.dirname(__FILE__))}/} end require 'linktv_platform'
{ "content_hash": "a3dfaaf041b4b713171c93ee84fd3184", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 107, "avg_line_length": 33.6, "alnum_prop": 0.7023809523809523, "repo_name": "definitionstudio/linktv_platform", "id": "0a24c07d5afa59a879d08e46587706bc82fa5d71", "size": "2...
''' Created on Oct 24, 2014 This is to split a csv dataset into fixed number of rows and then splitting that into training and testing @author: wahib ''' from __future__ import print_function from sklearn import datasets from sklearn.cross_validation import train_test_split from sklearn.grid_search import GridSearch...
{ "content_hash": "94238c57bbf57ff48996981873c5d814", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 106, "avg_line_length": 29.184466019417474, "alnum_prop": 0.7082501663339986, "repo_name": "wahibhaq/android-speaker-audioanalysis", "id": "3fa8b0d5d544ec66e51799e441c1ad628...
namespace mandoline { static void LaunchURL(JNIEnv* env, const JavaParamRef<jclass>& clazz, const JavaParamRef<jstring>& jurl) { LaunchHandlerPtr launch_handler; mojo::runner::GetContext()->application_manager()->ConnectToService( GURL("mojo:phone_ui"), &launch_han...
{ "content_hash": "2953dfc9ddf876c99634aff247c2b34b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 70, "avg_line_length": 31, "alnum_prop": 0.683111954459203, "repo_name": "Chilledheart/chromium", "id": "0d05724fcf4b00c2cf22a0ca7bc8cea70cd516ee", "size": "917", "binary...
package org.scalaide.core.internal.project import org.scalaide.core.internal.jdt.util.ClasspathContainerSetter import org.eclipse.jface.preference.IPreferenceStore import org.scalaide.util.internal.CompilerUtils import scala.util.Try import org.scalaide.ui.internal.preferences.CompilerSettings import org.eclipse.jface...
{ "content_hash": "eb966141c7a469fbfe2ecaf4b712d669", "timestamp": "", "source": "github", "line_count": 251, "max_line_length": 195, "avg_line_length": 54.72908366533864, "alnum_prop": 0.7580257698187377, "repo_name": "sschaef/scala-ide", "id": "c5341aa4d21765844f0ebf99ce66c5fc9385864d", "size": "1...
package com.rtg.reader; import static com.rtg.util.cli.CommonFlagCategories.FILTERING; import static com.rtg.util.cli.CommonFlagCategories.INPUT_OUTPUT; import static com.rtg.util.cli.CommonFlagCategories.UTILITY; import java.io.File; import java.io.IOException; import java.io.OutputStream; import java.io.PrintStrea...
{ "content_hash": "b648ec505149c56b38dce1ba397aa224", "timestamp": "", "source": "github", "line_count": 252, "max_line_length": 195, "avg_line_length": 38.476190476190474, "alnum_prop": 0.654496699669967, "repo_name": "RealTimeGenomics/rtg-tools", "id": "a035f9591fd8d93c92c09e6ff343e2fc047a603a", "...
package edu.purdue.voltag.data; /** * Class which stores static constants for object names and fields in the parse backend */ public abstract class ParseConstants { /** * Parse keys please dont stealerino */ public static final String PARSE_APPLICATION_KEY = "RP4GH0ySHN7O2LdJQxGAlFEKgfN5s4aM4gOmpG...
{ "content_hash": "d7e1114aa4052a5eb912548e654fa5ef", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 98, "avg_line_length": 30.64, "alnum_prop": 0.672976501305483, "repo_name": "voltag/voltag", "id": "5d96ace72351d9e079b84a3d86ec81f81e1ea41d", "size": "1532", "binary": f...
import gulp from 'gulp'; import plugins from 'gulp-load-plugins'; import browser from 'browser-sync'; import rimraf from 'rimraf'; import panini from 'panini'; import yargs from 'yargs'; import lazypipe from 'lazypipe'; import inky from 'inky'; import fs from 'fs'; import siphon from 'siphon-me...
{ "content_hash": "7574efb916730d4cd0d2f8052caf94b2", "timestamp": "", "source": "github", "line_count": 351, "max_line_length": 146, "avg_line_length": 27.626780626780626, "alnum_prop": 0.624007424976797, "repo_name": "ucdavis/Anlab", "id": "8f7df0cb833ea81cfd84ba7601a0eef7df50b567", "size": "9697"...
/*********** Page Header ***********/ /* Header search bar, toggler button & top menu */ .page-header.navbar { background-color: #1f1f1f; /* Top notification menu/bar */ /* Header seaech box */ /* Toggler button for sidebar expand/collapse and responsive sidebar menu */ } .page-header.navbar .top-menu .navbar-...
{ "content_hash": "660e2df04a158fd9bab8a652dac45293", "timestamp": "", "source": "github", "line_count": 912, "max_line_length": 740, "avg_line_length": 45.2828947368421, "alnum_prop": 0.7098406702503753, "repo_name": "zzsoszz/metronicv37", "id": "95be054c438daa2b833ab4ba643cffccafacb9a5", "size": "...
class <%= migration_class_name %> < ActiveRecord::Migration def up execute <<-EOS -- DELETE from <%=search_context %>; INSERT into <%=search_context %>(name, count,created_at, updated_at) SELECT word, ndoc as count, now() as created_at, now() as updated_at FROM ts_stat( 'SELEC...
{ "content_hash": "88c4570c5a6f049db0575ad6d5aa5cab", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 75, "avg_line_length": 29.761904761904763, "alnum_prop": 0.5136, "repo_name": "robmathews/search_steriods", "id": "a272669d45a495b656c57ec492421004f1c936e4", "size": "625",...
local window = {} window.dressing_visible = true window.showfps = false window.screen_width = 1056 window.screen_height = 672 window.scale = 0.5 window.width = window.screen_width * window.scale --528 window.height = window.screen_height * window.scale --336 return window
{ "content_hash": "0372e34adb8b8707d4205dba089e2145", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 57, "avg_line_length": 25.181818181818183, "alnum_prop": 0.7472924187725631, "repo_name": "hawkthorne/hawkthorne-server-lua", "id": "55e21fb5623295bc53bb7768ff2208d8fcd6584b"...
/* **GRUSER -- get user name. *+ * SUBROUTINE GRUSER(STRING, L) * CHARACTER*(*) STRING * INTEGER L * * Return the name of the user running the program. * * Arguments: * STRING : receives user name, truncated or extended with * blanks as necessary. * L : receives the ...
{ "content_hash": "5a438eb4f0281a8caab23faec3c652bd", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 73, "avg_line_length": 22.830188679245282, "alnum_prop": 0.5355371900826447, "repo_name": "RobinsonLab/pgplot", "id": "c0706fd2924a4e1ab579ec765053541dce3ab2be", "size": "1...
<?xml version="1.0" encoding="UTF-8"?> <!-- 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...
{ "content_hash": "22f974f579ec4c1eabcc07783d19e017", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 121, "avg_line_length": 40.282051282051285, "alnum_prop": 0.7122851686823679, "repo_name": "Cloudyle/aries", "id": "e01a8e32fd3fdc5cd3ad586fd455a5d13e5be710", "size": "1571...
// ----------------------------------------------------------------------- // <copyright file="IIdentityStorage.cs" company="Asynkron AB"> // Copyright (C) 2015-2020 Asynkron AB All rights reserved // </copyright> // ----------------------------------------------------------------------- using System; using Syste...
{ "content_hash": "e3a4c446ef40cc22fe689084d6a4a076", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 112, "avg_line_length": 30.493827160493826, "alnum_prop": 0.6060728744939271, "repo_name": "AsynkronIT/protoactor-dotnet", "id": "4ff7cb445ed4939610671b5f34705ee7fe0ce5e8", ...
<!-- GENERATED FROM SOURCE --> # vjs.Button __EXTENDS__: [vjs.Component](vjs.Component.md) __DEFINED IN__: [src/js/button.js#L10](https://github.com/videojs/video.js/blob/master/src/js/button.js#L10) Base class for all buttons --- ## INDEX - [METHODS](#methods) - [init](#init-player-options-ready-) - [add...
{ "content_hash": "a63b9bcc962225b0c0265f3747195453", "timestamp": "", "source": "github", "line_count": 565, "max_line_length": 118, "avg_line_length": 27.87787610619469, "alnum_prop": 0.6661799250841216, "repo_name": "aregee/vloging", "id": "c151620c63687dd5b66c70fb671bd2412814e52c", "size": "1575...
<?php /* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */ /** * * @category PhpStorm * @author aurelien * @copyright 2014 Efidev * @version CVS: Id:$ */ namespace Funkyproject\Service; interface ServiceInterface { public static function getName(); public static function build(...
{ "content_hash": "b8e115d6054190c88fb842015a4dcdc0", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 62, "avg_line_length": 16.25, "alnum_prop": 0.6615384615384615, "repo_name": "funkyproject/symfony-cli-distribution", "id": "0b39eb664638747db7ecf952b5bd942664ac1ecc", "siz...
package com.alibaba.dubbo.config.spring.schema; import com.alibaba.dubbo.common.Version; import com.alibaba.dubbo.config.ApplicationConfig; import com.alibaba.dubbo.config.ConsumerConfig; import com.alibaba.dubbo.config.ModuleConfig; import com.alibaba.dubbo.config.MonitorConfig; import com.alibaba.dubbo.conf...
{ "content_hash": "045943577f7b307b4d6d8d8b37510433", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 114, "avg_line_length": 47.627906976744185, "alnum_prop": 0.783203125, "repo_name": "way-way/dubbo", "id": "5801c33b66ec50fffa861fbb66975146637f635e", "size": "2671", "bi...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>maths: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
{ "content_hash": "89556700a3408887572b3eab5cdf2adf", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 159, "avg_line_length": 41.74096385542169, "alnum_prop": 0.5380285755520277, "repo_name": "coq-bench/coq-bench.github.io", "id": "b83248d948dc2b5fae82e5961bfc670fb7c38b91", ...
{% extends "base.html" %} {% load navigation_tags %} {% load authorization_tags %} {% block content %} {{ block.super }} <div class="row"> <div class="col-md-12"> <div class="panel panel-default"> <div class="panel-heading tight"> <h3 class="has-filters"> ...
{ "content_hash": "3eefcb0822d010c3d84e9d743047b5bc", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 204, "avg_line_length": 45.705882352941174, "alnum_prop": 0.39021879021879025, "repo_name": "rackerlabs/django-DefectDojo", "id": "39dfc8ce2e110b00fb88af00ee2ca589bc0fd0c8", ...
Template.navigation.events({ 'click .logout': function(event) { event.preventDefault(); Meteor.logout(); Router.go('login'); } });
{ "content_hash": "0e2db090ddde2c7c807c18308c5dfb26", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 35, "avg_line_length": 15.777777777777779, "alnum_prop": 0.647887323943662, "repo_name": "quanbinn/healthygeek", "id": "1e3ae532ed110f21adf04f325bfb11d2ae7e701f", "size": "1...
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="//livefyre-cdn.s3.amazonaws.com/libs/sdk/v2.5.1/rc/builds/11/streamhub-sdk.min.css"> <link rel="stylesheet" type="text/css" href="src/css/fycon.css"> <link rel="stylesheet" type="text/css" href="src/css/lf-bootstrap.css"> <link r...
{ "content_hash": "0b3d5b680f2a26cef388998b2a80d828", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 149, "avg_line_length": 33.049056603773586, "alnum_prop": 0.44370860927152317, "repo_name": "Joao-S-Martins/streamhub-input", "id": "c6cbc04767893dd06ad545e1defe4c3776513dbf...
package org.camunda.bpm.model.xml.testmodel; import org.camunda.bpm.model.xml.ModelInstance; import org.camunda.bpm.model.xml.impl.ModelInstanceImpl; import org.camunda.bpm.model.xml.impl.parser.AbstractModelParser; import org.camunda.bpm.model.xml.testmodel.instance.*; import org.junit.After; import org.junit.runner...
{ "content_hash": "393d517b4352711d26ca612b3e57f60d", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 203, "avg_line_length": 38.83783783783784, "alnum_prop": 0.7894919972164232, "repo_name": "camunda/camunda-bpm-platform", "id": "1e0ddec08281c9564ae4519e699c74d782e5be1e", ...
// ---------------------------------------------------------------------------------- // // 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": "f6a8ff98537dc06cb3b48b8404e628dd", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 202, "avg_line_length": 47.16216216216216, "alnum_prop": 0.645272206303725, "repo_name": "devigned/azure-powershell", "id": "0d57cf15feb6a0b6dc46bb5ba9c23dba89c5e396", "siz...
package org.apache.calcite.prepare; import org.apache.calcite.jdbc.CalciteSchema; import org.apache.calcite.linq4j.Enumerable; import org.apache.calcite.linq4j.Grouping; import org.apache.calcite.linq4j.OrderedQueryable; import org.apache.calcite.linq4j.Queryable; import org.apache.calcite.linq4j.QueryableDefaults; i...
{ "content_hash": "9e65db145eb5c6283231473e97bd3c39", "timestamp": "", "source": "github", "line_count": 762, "max_line_length": 92, "avg_line_length": 33.49737532808399, "alnum_prop": 0.7249363369245837, "repo_name": "looker-open-source/calcite", "id": "4731e029ddcb7697b92874cb297eda80f25f7b4c", "s...
<?php /** * Created by mcfedr on 27/06/15 12:42 */ namespace Ekreative\RedmineLoginBundle\Client; use Ekreative\RedmineLoginBundle\Security\RedmineUser; use GuzzleHttp\Client; class ClientProvider { public function __construct($redmine) { $this->redmine = $redmine; } public function get(Re...
{ "content_hash": "3da3b22a22c2338ab9ac0fc106d8a1b7", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 57, "avg_line_length": 19.703703703703702, "alnum_prop": 0.575187969924812, "repo_name": "ahonymous/redmine-login", "id": "83c2e8d8723aa83fed69d934df2d467047d1be0c", "size"...
var express = require('express') var bodyParser = require('body-parser'); var multer = require('multer'); var app = express(); var cool = require('cool-ascii-faces'); var pg = require('pg'); var connectionString = process.env.DATABASE_URL || 'postgres://yerojcuolrgxkw:slt5jv9rdW35yBUkYDco0xWTlQ@ec2-107-21-102-69.compu...
{ "content_hash": "d52454e5b41a93e54736dc0a7730c53d", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 177, "avg_line_length": 26.324675324675326, "alnum_prop": 0.6517020226936359, "repo_name": "kronis/kronis-server-boilerplate", "id": "c2c5717950076cd8b1601b57774385a79379ef08...
var utils = utils || []; (function() { /** * Flip-flops two classes * @param {HTMLElement} $el * @param {String} _class * @return {Object} * * Usage: * utils.swapClass(document.getElementById('some-element'), 'class1').forClass('class2'); */ var swapClass = function($el, _class) { ...
{ "content_hash": "729e018a9b96c0a40160eddfd42a4368", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 91, "avg_line_length": 19.970588235294116, "alnum_prop": 0.5051546391752577, "repo_name": "jzucadi/web-animations", "id": "5d147e651843a9c3d0101900ad7b1d7aeba93d3f", "size"...
#pragma once #include <string> #include <reflectionzeug/reflectionzeug_api.h> namespace reflectionzeug { /** * @brief * Interface for typed values to be accessed via strings * * @remarks * Since toString/fromString exist in every property, * this interface is empty. It is still important and can be *...
{ "content_hash": "21abe16eb7515a67545f7a1310e0f7e9", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 62, "avg_line_length": 16.365853658536587, "alnum_prop": 0.6676602086438153, "repo_name": "cginternals/libzeug", "id": "b06053c4ec98165c7857d7e365ddee720ff2ce30", "size": "...
package sqlancer.common.ast.newast; import sqlancer.common.ast.BinaryOperatorNode.Operator; public class NewUnaryPrefixOperatorNode<T> implements Node<T> { protected final Operator op; private final Node<T> expr; public NewUnaryPrefixOperatorNode(Node<T> expr, Operator op) { this.expr = expr; ...
{ "content_hash": "36edad0ad9a28422bcde71504312d5f9", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 66, "avg_line_length": 22, "alnum_prop": 0.6758893280632411, "repo_name": "sqlancer/sqlancer", "id": "5274bd94224e01b6f31ecf17763d1d4999d058d9", "size": "506", "binary": ...
#ifndef KALLISTO_MULTINOMIAL_H #define KALLISTO_MULTINOMIAL_H #include <stdexcept> #include <random> class Multinomial { public: Multinomial(const std::vector<int>& counts, size_t seed = 42) : counts_(counts), gen_(seed), dd_(counts_.begin(), counts_.end()), ...
{ "content_hash": "425412ba5edd18454f216fc988094dac", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 79, "avg_line_length": 27.77777777777778, "alnum_prop": 0.49314285714285716, "repo_name": "govinda-kamath/clustering_on_transcript_compatibility_counts", "id": "286adef9fc511...
<?php declare(strict_types=1); namespace MyLittleWallpaper\classes\Navigation; use MyLittleWallpaper\classes\Format; /** * Navigation element class. */ class NavigationElement { /** * @var string */ private string $url; /** * @var string */ private string $title; /** ...
{ "content_hash": "5ea382e37b611e6ee9d412a2faaf254d", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 93, "avg_line_length": 19.078125, "alnum_prop": 0.552006552006552, "repo_name": "MyLittleWallpaper/MyLittleWallpaper", "id": "13537bce8290ebaa95316b0da66af6e0907883b0", "si...
<?php namespace Gedmo\SoftDeleteable\Traits; use Doctrine\ORM\Mapping as ORM; /** * SoftDeletable Trait, usable with PHP >= 5.4 * * @author Wesley van Opdorp <wesley.van.opdorp@freshheads.com> * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ trait SoftDeleteableEntity { /** ...
{ "content_hash": "2df17011ae3f81af18e06a2f673369c7", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 76, "avg_line_length": 18.51851851851852, "alnum_prop": 0.571, "repo_name": "blazarecki/DoctrineExtensions", "id": "5dbe535aff2db508de3b1961b7dbb49e1ddb007d", "size": "1000...
typedef void (*SendVarProxyFn)( const SendProp *pProp, const void *pStructBase, const void *pData, DVariant *pOut, int iElement, int objectID ); // Return the pointer to the data for the datatable. // If the proxy returns null, it's the same as if pRecipients->ClearAllRecipients() was called. class CSendProxyRecipient...
{ "content_hash": "f5086df1f8a9fc03938ea1e96afc539b", "timestamp": "", "source": "github", "line_count": 768, "max_line_length": 243, "avg_line_length": 32, "alnum_prop": 0.7045491536458334, "repo_name": "BerntA/tfo-code", "id": "d84b00ae585a3b220399558671f612a20981931f", "size": "26040", "binary"...
var server = params.server.replace(/[\/]+$/, '') + '/searchApi/' + params.version + '/'; var commands = { 'threat-crowd-email': { url: 'email', title: 'Threat crowd report for email %email%', defaultFields: { 'type': 'Email', }, translator: [ {to: 'Thre...
{ "content_hash": "af0d7384be4e03fec96558c1a2670c96", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 132, "avg_line_length": 31.08695652173913, "alnum_prop": 0.502937062937063, "repo_name": "demisto/content", "id": "272805bd64f0812c3984a5f02359bef8e754a9d1", "size": "7150...
// ---------------------------------------------------------------------------------- // // FXMaker // Created by ismoon - 2012 - ismoonto@gmail.com // // ---------------------------------------------------------------------------------- using UnityEngine; public class NcSafeTool : MonoBehaviour { public static boo...
{ "content_hash": "5706aa8d41d2f723356fdfc4c3207dec", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 93, "avg_line_length": 23.945205479452056, "alnum_prop": 0.5966819221967964, "repo_name": "1510649869/ARPG_project", "id": "d4d54cd02c3dc64f1ea7e0e42b63bf6d143afc47", "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 * distribu...
{ "content_hash": "ea41e00f1d8d0af8163f966fbb68ba5c", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 79, "avg_line_length": 27.785714285714285, "alnum_prop": 0.6522218141755417, "repo_name": "dmcc/bllip-parser", "id": "150de9511100aaafaaa66296ab61a985195c40aa", "size": "27...
{% extends "base.html" %} {% block title %}No Organization | Savage Leads | SavageAutomation{% endblock %} {% block content %} <div class="col-md-offset-3 col-md-5 text-left"> <h2>No Organization</h2> <p> Looks like you don't have an organization. You should get one. </p> </div> {% endblock %}
{ "content_hash": "b5f5851da430e188754955ac7e922d6f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 80, "avg_line_length": 30.5, "alnum_prop": 0.6557377049180327, "repo_name": "russorat/savage-leads", "id": "adfeb027e53b8c098478871e4b3c54e64086b0fe", "size": "305", "bin...
/** * @file templates/halconf.h * @brief HAL configuration header. * @details HAL configuration file, this file allows to enable or disable the * various device drivers from your application. You may also use * this file in order to override the device drivers default settings. * ...
{ "content_hash": "671b0de004f8ec93b10d581f47bf5cbf", "timestamp": "", "source": "github", "line_count": 312, "max_line_length": 79, "avg_line_length": 29.746794871794872, "alnum_prop": 0.4959594871242323, "repo_name": "raphaelchang/quadthingy-software", "id": "286864be0a83f7e37cc56f7f076c88799d19e481...
Google Cloud Video Intelligence API makes videos searchable, and discoverable, by extracting metadata with an easy to use API. For more information, see [cloud.google.com](https://cloud.google.com/video-intelligence/).
{ "content_hash": "8ff3ea0a427bf54d656cbc5855ab4aaa", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 126, "avg_line_length": 73.33333333333333, "alnum_prop": 0.8, "repo_name": "kl82/gadatabquery", "id": "45254ec9fc85a1f5f0da727f0f8408e30da32789", "size": "248", "binary": ...
package appfw type Appfwprofilecontenttypebinding struct { Alertonly string `json:"alertonly,omitempty"` Comment string `json:"comment,omitempty"` Contenttype string `json:"contenttype,omitempty"` Isautodeployed string `json:"isautodeployed,omitempty"` Name string `json:"name,omitempty"` ...
{ "content_hash": "e5a2c88a39b65a6d02349aa779daee27", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 56, "avg_line_length": 38.45454545454545, "alnum_prop": 0.7210401891252955, "repo_name": "chiradeep/go-nitro", "id": "e229512be261a9615008f17213210de21bb000ce", "size": "42...
using System.Linq; using NUnit.Framework; namespace TestStack.BDDfy.Tests.Exceptions { [TestFixture] public class WhenAnInconclusiveTestIsRun { public class InconclusiveTestClass { public void GivenAClassUnderTest() { } public void WhenInconc...
{ "content_hash": "81b0e895f2d6749792c60de8b95d3cc2", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 125, "avg_line_length": 24.983471074380166, "alnum_prop": 0.5210056235527621, "repo_name": "JakeGinnivan/TestStack.BDDfy", "id": "94721470557365c72cd6ddd7aaa2dd14825410b3", ...
PetscErrorCode regular_ida (Mat A, const PetscInt M, const PetscInt N, const PetscInt m, const PetscInt n, const PetscInt mg, const PetscInt localfirstcol_l, const PetscInt localfirstrow_l, const PetscInt localfirstcol_g, const PetscInt localfirstrow_g, const PetscBool init_guess_flg, const PetscBoo...
{ "content_hash": "663e2d8598affbf2e0e5279a69ca2527", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 78, "avg_line_length": 54.3, "alnum_prop": 0.7587476979742173, "repo_name": "csdms-contrib/ida", "id": "91bf861dfae19f052b98f3bd3487f5acdeadc8e8", "size": "543", "binary"...
namespace sudoku { template<int size> class Dimensions { public: static const int BOX = size; static const int UNIT = BOX * BOX; static const int GRID = UNIT * UNIT; static const bitmask_t MASK = ((1 << (UNIT + 1)) - 2); }; } #endif //CSUDOKU_PUZZLEDIMENSIONS_H
{ "content_hash": "fce59b83b8a8fa4b192c1adcd4012526", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 62, "avg_line_length": 25.916666666666668, "alnum_prop": 0.5819935691318328, "repo_name": "binarii/CSudokuLib", "id": "627d1074070a158692936dc1432edb454f8b38b1", "size": "4...
// Declare app level module which depends on filters, and services angular.module('dibsApp', [ 'ngRoute', 'ngCookies', 'ui.bootstrap', 'dibsApp.filters', 'dibsApp.services', 'dibsApp.directives', 'dibsApp.controllers' ]). config(['$routeProvider', function($routeProvider) { 'use strict'; /* TODO: so...
{ "content_hash": "b7079dc1f8128b3f1657569b07573e77", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 119, "avg_line_length": 34.608695652173914, "alnum_prop": 0.7022613065326633, "repo_name": "slafs/dibs", "id": "57f232b61fd950ce54207fd42798236d14d77401", "size": "796", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (C) 2012 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unle...
{ "content_hash": "9b8399236e4c6779408eece8825aa1db", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 73, "avg_line_length": 45.689655172413794, "alnum_prop": 0.6641509433962264, "repo_name": "basilgor/gerrit", "id": "4c70fcc0f6c84bab0656b73993509e1b26eefb3c", "size": "1325...
using System; using System.Collections.Generic; using System.Linq; using System.Web.Http; namespace Link2chat { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // Web API configuration and services // Web API routes ...
{ "content_hash": "2928b64adcb4f6199dfb32a0dfdd4e2f", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 62, "avg_line_length": 24.333333333333332, "alnum_prop": 0.5787671232876712, "repo_name": "longday/Link2chat", "id": "3a32f48c522f2c01079b0e077817456108d6153a", "size": "58...
package org.assertj.core.api.zoneddatetime; import static java.time.ZoneOffset.UTC; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.fail; import static org.assertj.core.util.FailureMessages.actualIsNull; import java.time.ZoneId; import java.time.ZonedDateTime; ...
{ "content_hash": "bcc2a718c8f87c28e5e6c29e1045aeaf", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 127, "avg_line_length": 39.65217391304348, "alnum_prop": 0.7436951754385965, "repo_name": "ChrisA89/assertj-core", "id": "36d99addbf4709cd70c157c374877386d682f715", "size":...
// // MediaLaunchObject.h // ConnectSDK // // Created by Ibrahim Adnan on 1/19/15. // Copyright (c) 2015 LG Electronics. 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 L...
{ "content_hash": "a3247bc975f53fcc1da34d79ed6867d3", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 167, "avg_line_length": 38.83673469387755, "alnum_prop": 0.7714135575407252, "repo_name": "david-fenton/Connect-SDK-Cordova-Plugin", "id": "3e8fb1adf502ee67912bd1b7a4fdea9448...
<?php final class AphrontDialogView extends AphrontView implements AphrontResponseProducerInterface { private $title; private $shortTitle; private $submitButton; private $cancelURI; private $cancelText = 'Cancel'; private $submitURI; private $hidden = array(); private $class; private $renderAsFo...
{ "content_hash": "43f62d34d77d85d37cb184296bc75bc5", "timestamp": "", "source": "github", "line_count": 435, "max_line_length": 80, "avg_line_length": 22.06206896551724, "alnum_prop": 0.5440241742211107, "repo_name": "huangjimmy/phabricator-1", "id": "46163938131648d9c23e365cd8c17b57b1124ee9", "siz...
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; var _createClass = function () { function defineProperties(ta...
{ "content_hash": "f9c773a97f9dba0d431737d2d60c0347", "timestamp": "", "source": "github", "line_count": 395, "max_line_length": 564, "avg_line_length": 31.258227848101267, "alnum_prop": 0.6732809589373937, "repo_name": "rrag/rrag.github.io", "id": "ea752a12c84a39ffa97d44a72bccdbba4cbdbff6", "size":...
This is a place holder to keep custom chaincodes
{ "content_hash": "84cb1cfad4786f7ed884187297a84f2a", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 48, "avg_line_length": 49, "alnum_prop": 0.8163265306122449, "repo_name": "tkuhrt/fabric", "id": "aa1483ad772439e20b5a185afd3fe9bf1def33cc", "size": "49", "binary": false,...
#ifndef __itkMaximumRatioDecisionRule2_h #define __itkMaximumRatioDecisionRule2_h #include <vector> #include "vnl/vnl_matrix.h" #include "itkNumericTraits.h" #include "itkDecisionRule.h" namespace itk { namespace Statistics { /** \class MaximumRatioDecisionRule2 * \brief This rule returns \f$i\f$ if * \f$\fra...
{ "content_hash": "9f12a6c586c540ff7bc12a21b178c0b3", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 87, "avg_line_length": 31.04, "alnum_prop": 0.7186426116838488, "repo_name": "wkjeong/ITK", "id": "343bd080a8aa152311200c8cf8d3ff09cfe13089", "size": "3103", "binary": fa...
// This is a compatibilty file for Windows Builds ONLY #if (defined(WIN32) || defined(UNDER_CE)) && !defined(CYGWIN) #include <windows.h> #ifndef __attribute__ #define __attribute__(x) #endif #ifndef unused #define unused #endif #ifndef restrict #define restrict #endif #ifndef _STDINT_H // this is the Standard ...
{ "content_hash": "52d03e889432959374d14d599b000827", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 64, "avg_line_length": 18.805555555555557, "alnum_prop": 0.6957163958641064, "repo_name": "aosp/dvp", "id": "fd54ac0a960f0fa7e9ba1497f7520a8dcbd720e8", "size": "1290", "b...
using UnityEngine; using System.Collections.Generic; /// <summary> /// UI Panel is responsible for collecting, sorting and updating widgets in addition to generating widgets' geometry. /// </summary> [ExecuteInEditMode] [AddComponentMenu("NGUI/UI/NGUI Panel")] public class UIPanel : UIRect { /// <summary> /// List ...
{ "content_hash": "cf091390a9282d960a4013284302d866", "timestamp": "", "source": "github", "line_count": 1820, "max_line_length": 130, "avg_line_length": 23.90714285714286, "alnum_prop": 0.6417227827445933, "repo_name": "chrisjz/sm64vr", "id": "9b5d78b62e1ec8d1b8bbbb941a6367e6351a1abe", "size": "436...
package sg.yikjiun.scf4j.map; import it.unimi.dsi.fastutil.longs.Long2ShortMap; /** * @author Lee Yik Jiun */ public class FastUtilLongShortMapAdapter implements LongShortMap { private final Long2ShortMap map; public FastUtilLongShortMapAdapter(Long2ShortMap map) { this.map = map; } publ...
{ "content_hash": "3ef7b68fe1f090596a0d636b88e1b53a", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 66, "avg_line_length": 18.916666666666668, "alnum_prop": 0.6167400881057269, "repo_name": "leeyikjiun/scf4j", "id": "7a4fbc5eea1faa4889ce47a3879ad33941250f2b", "size": "150...
<?php namespace phpManufaktur\ConfirmationLog\Data\Setup; use phpManufaktur\ConfirmationLog\Data\Setup\Addons; class SetupTool { protected $app = null; /** * Install the Admin-Tool for the ConfirmationLog * * @throws \Exception */ protected function installTool() { $ext...
{ "content_hash": "75a557618cbd46c9cb945fd95c21bb49", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 138, "avg_line_length": 44.77514792899408, "alnum_prop": 0.5290075327078102, "repo_name": "phpManufaktur/kfConfirmationLog", "id": "5ad8596e971754a2f9d425a06d5eec6a2ab310e3"...
module WhereIn1 where --A definition can be removed if it is not used by other declarations. --Where a definition is removed, it's type signature should also be removed. --In this Example: remove defintion 'main' fac,fib :: Int -> Int fac 0 = 1 fac 1 = 1 fac n = n * fac (n-1) fib 0 = 1 fib 1 = 1 fib n = (fib (n-1))...
{ "content_hash": "9c335c70b2ce67a3c4f198af6f063c80", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 76, "avg_line_length": 20.72222222222222, "alnum_prop": 0.6675603217158177, "repo_name": "RefactoringTools/HaRe", "id": "32d6a9cfb3a95195b8a3aace1443ac3a3077edfc", "size": ...
///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2007-2009 // // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // See http://ww...
{ "content_hash": "32f3583c655be6adcff7c2f7c103e822", "timestamp": "", "source": "github", "line_count": 1876, "max_line_length": 126, "avg_line_length": 38.24626865671642, "alnum_prop": 0.6098118466898955, "repo_name": "pennwin2013/netsvr", "id": "5e4efe914bf89ac2bf9ebd61700a7b2c627d3cd3", "size": ...
import os from typet import Object from typet import String class EnvironmentVariable(Object): name: String[1:] @property def value(self): return os.environ.get(self.name)
{ "content_hash": "d4a1477b4a51142559f70d5f818d12d0", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 40, "avg_line_length": 16.333333333333332, "alnum_prop": 0.6989795918367347, "repo_name": "zancas/containenv", "id": "75c937670cc1b6845e7348e88fb3ab86c2d3247c", "size": "22...
class NewDefaultToHoldTips < ActiveRecord::Migration def change change_column :projects, :hold_tips, :boolean, default: true end end
{ "content_hash": "845e9edf2ecf8d6a6c9fc8c5ac6615c6", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 64, "avg_line_length": 28.2, "alnum_prop": 0.7588652482269503, "repo_name": "vlajos/peer4commit", "id": "9781d64567d7e845af8b55c5974820885780cbcb", "size": "141", "binary"...
from __future__ import absolute_import try: from urllib.request import urlopen import urllib.parse as urlparse from urllib.parse import urlencode except ImportError: import urlparse from urllib2 import urlopen from urllib import urlencode
{ "content_hash": "f7196fb5dd870a79774d465e064ac6d0", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 38, "avg_line_length": 26.4, "alnum_prop": 0.7575757575757576, "repo_name": "kmike/imobis", "id": "9e4a850f337696c677aec7bc0094cbb9cdc05e4a", "size": "288", "binary": fal...