text
stringlengths
2
1.04M
meta
dict
package common import ( "encoding/json" "log" "os" "strings" "golang.org/x/net/context" "gopkg.in/olivere/elastic.v5" ) import klog "github.com/ian-kent/go-log/log" var ElasticSearchServer = "http://localhost:9200" type warningUpdate struct { Warnings []string `json:"warnings,omitempty"` } func CreateClien...
{ "content_hash": "59afea2922559d48ade15c0936f47f3b", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 102, "avg_line_length": 24.911392405063292, "alnum_prop": 0.6880081300813008, "repo_name": "kevintavog/FindAPhoto", "id": "ab80a8dd61ab41a22a0ed728fadab4af8a7803c2", "size"...
using JetBrains.ProjectModel; using JetBrains.ReSharper.Psi.CSharp; using JetBrains.ReSharper.Psi.CSharp.Tree; namespace AsyncConverter.AsyncHelpers.AwaitEliders { [SolutionComponent] internal class LocalFunctionAwaitElider : ICustomAwaitElider { public bool CanElide(ICSharpDeclaration declarationO...
{ "content_hash": "c7f943b095ebd26d2696449c7a6fb2bf", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 123, "avg_line_length": 38.96666666666667, "alnum_prop": 0.69803250641574, "repo_name": "BigBabay/AsyncConverter", "id": "41834fa87cae3cc8b5ab1cf200c3f1f1fa5d7ce4", "size":...
<?php /* UserSpice 4 An Open Source PHP User Management System by the UserSpice Team at http://UserSpice.com This program 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 3 of the License, or (at yo...
{ "content_hash": "191a27378d81ab088898b9c87582a4be", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 69, "avg_line_length": 33.18518518518518, "alnum_prop": 0.7399553571428571, "repo_name": "ppc-web/ppcweb", "id": "ede3e189814988876e4f7a5678b7400bec7c7e7e", "size": "896", ...
In this guide we'll demonstrate how to write an out-of-tree dynamic provisioner using [the helper library](https://github.com/kubernetes-incubator/external-storage/tree/master/lib) ## The Provisioner Interface Ideally, all you should need to do to write your own provisioner is implement the `Provisioner` interface wh...
{ "content_hash": "218db9c75083d8cbf4fef1fced9d4620", "timestamp": "", "source": "github", "line_count": 405, "max_line_length": 732, "avg_line_length": 53.528395061728396, "alnum_prop": 0.7559850546611928, "repo_name": "clarkhale/external-storage", "id": "3761518f0fdb87efd7539df27d2e27d079e6bcd2", ...
module Tutor class RecommendationsController < TutorController::Base expose(:contents) { Neuron.approved_public_contents } expose(:tutor_achievements) { current_user.tutor_achievements.order(created_at: :desc) } expose :tutor_recommendation expose(:clients) { UserTutor.wh...
{ "content_hash": "5d7c84847530e26f5a81f5fee9086387", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 99, "avg_line_length": 28.188235294117646, "alnum_prop": 0.6437813021702838, "repo_name": "GrowMoi/moi", "id": "2cf96c966950a0bd47defd8938c20f8a2b43131b", "size": "4792", ...
<!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_02) on Tue Oct 20 05:53:13 CEST 2015 --> <meta http-equiv="Content-Type" content="text/html" charset="utf-8"> <title>TaskInputs (Gradle...
{ "content_hash": "a21f4c1e54b92fd64b107c2d61ecc154", "timestamp": "", "source": "github", "line_count": 436, "max_line_length": 465, "avg_line_length": 54.727064220183486, "alnum_prop": 0.6713884581534721, "repo_name": "FinishX/coolweather", "id": "b3cbe691dbb481a71d4432c472277d8dbbcff894", "size":...
set -e echo "" > coverage.txt for d in $(go list ./... | grep -v vendor | grep -v assembly); do go test -coverprofile=profile.out -covermode=atomic $d if [ -f profile.out ]; then cat profile.out >> coverage.txt rm profile.out fi done go tool cover -html=coverage.out
{ "content_hash": "07f0f56770088f50f8506381fefd268c", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 65, "avg_line_length": 26.818181818181817, "alnum_prop": 0.6305084745762712, "repo_name": "patrickalin/bloomsky-client-go", "id": "32efbb5b706402696ed78b9bbac0358b76c1fee7", ...
.. _aiohttp-client-reference: Client Reference ================ .. module:: aiohttp .. currentmodule:: aiohttp Client Session -------------- Client session is the recommended interface for making HTTP requests. Session encapsulates a *connection pool* (*connector* instance) and supports keepalives by default. Unl...
{ "content_hash": "9691c9be351378e4f3a035cab1731e1f", "timestamp": "", "source": "github", "line_count": 1590, "max_line_length": 90, "avg_line_length": 30.479874213836478, "alnum_prop": 0.6154385820110188, "repo_name": "z2v/aiohttp", "id": "c32d0724865644a18561e96f46aef3a0dbe4cf8d", "size": "48463"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- *************************GO-LICENSE-START****************************** * Copyright 2014 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file exce...
{ "content_hash": "97268e7c6c631943df3e1351730a005d", "timestamp": "", "source": "github", "line_count": 270, "max_line_length": 193, "avg_line_length": 51.025925925925925, "alnum_prop": 0.6550047180082746, "repo_name": "turbine-rpowers/gocd-add-agent-sandbox-config", "id": "6041b86e14953d728dec4497c1...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePlayersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('players', function (Blueprint $table) { $t...
{ "content_hash": "5f9709860d77f054d05b152489b621b2", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 63, "avg_line_length": 26.42222222222222, "alnum_prop": 0.5147182506307821, "repo_name": "tgoettel9401/Homepage-Schachclub-Niedermohr", "id": "b6f6c8b7bf63a39cb0c432b9d72730d...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__wchar_t_alloca_memmove_31.c Label Definition File: CWE127_Buffer_Underread.stack.label.xml Template File: sources-sink-31.tmpl.c */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memo...
{ "content_hash": "f666929187b4242da185b1fbaa2b1d2a", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 103, "avg_line_length": 30.757009345794394, "alnum_prop": 0.5998176845943483, "repo_name": "maurer/tiamat", "id": "a77c9931aadb4bb8ce6c8f536330abe0cb4df66e", "size": "3291...
using System.Collections; using System.Collections.Generic; using UnityEngine; public delegate void ClickCardHandler(Card card); public delegate void EnterCardHandler(Card card); public delegate void ExitCardHandler(Card card); public enum CardType { Train, Plane, Rocket, Hyperloop } public class Ca...
{ "content_hash": "4d907eaef008c21769fd6b3882d2c739", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 92, "avg_line_length": 24.317757009345794, "alnum_prop": 0.5680245964642583, "repo_name": "attrition/SmallWorld", "id": "1a9fc764c0ed8e5c0d457f7362fe17e6a5f7025e", "size":...
class AddDiagnosedToChildren < ActiveRecord::Migration[4.2] def change add_column :children, :diagnosed, :boolean, default: false, null: false end end
{ "content_hash": "cc81169336b6e591e8dbb7abdf6e0b86", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 75, "avg_line_length": 31.8, "alnum_prop": 0.7484276729559748, "repo_name": "myapnea/www.myapnea.org", "id": "6db052dbd3bd3d7bf11915cdad3ae30ca52d14d3", "size": "159", "bi...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="pl"> <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>API Help (Play! 2.x Provider for Play! 2.4.x 1.0.0-rc2 API)</title> <li...
{ "content_hash": "70b9fcbd01672f0d9713913575bd880c", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 497, "avg_line_length": 38.96086956521739, "alnum_prop": 0.7004798571587992, "repo_name": "play2-maven-plugin/play2-maven-plugin.github.io", "id": "16d794c4a0dc1f75a20236a0c...
/** * This class is the main view for the application. It is specified in app.js as the * "autoCreateViewport" property. That setting automatically applies the "viewport" * plugin to promote that instance of this class to the body element. * * TODO - Replace this content of this view to suite the needs of your app...
{ "content_hash": "9c6bb412357226e4c7bafd99f5f468bd", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 84, "avg_line_length": 27.76923076923077, "alnum_prop": 0.6329639889196675, "repo_name": "lucas-solutions/work-server", "id": "55efd486bb2074bbce9d025d530a1a508430ccb6", "s...
<?php //--> /** * Google Plus comment * * @package Eden * @category google * @author Clark Galgo cgalgo@openovate.com */ class Eden_Google_Plus_Comment extends Eden_Google_Base { /* Constants -------------------------------*/ const URL_COMMENTS_LIST = 'https://www.googleapis.com/plus/v1...
{ "content_hash": "f013ab9cf2e6d6d0c1992a643965aa37", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 91, "avg_line_length": 24.121739130434783, "alnum_prop": 0.5583994232155732, "repo_name": "Jamongkad/s36-beta", "id": "e4df4367a2db02c260b5bd43888849d293c69cd1", "size": "...
@implementation KNTNoOneLinersRule + (NSArray*)validateSource:(NSString *)source filename:(NSString *)filename { static NSRegularExpression * allButElseRegex, * elseRegex; static dispatch_once_t onceToken; dispatch_once(&onceToken, ^{ allButElseRegex = RX(@"(^|(\\s){1,})(if|else if|while|for|s...
{ "content_hash": "12f5245c37021fba98682947e5a09945", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 122, "avg_line_length": 43.904761904761905, "alnum_prop": 0.658351409978308, "repo_name": "programmingthomas/Knyt", "id": "29dccacf8472265790c03983da615b6a7261c14f", "size"...
import {Component} from '@angular/core'; import {RadioButton} from '../../../components/radiobutton/radiobutton'; import {CodeHighlighter} from '../../../components/codehighlighter/codehighlighter'; import {TabView} from '../../../components/tabview/tabview'; import {TabPanel} from '../../../components/tabview/tabpanel...
{ "content_hash": "47daebc81f6572a8b28d1f5893fae54b", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 84, "avg_line_length": 33.17391304347826, "alnum_prop": 0.6762778505897772, "repo_name": "vesteraas/primeng", "id": "8ac5f6c5dea5b4bc4f416655806f9436a148b121", "size": "763...
@implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { DemoViewController *demoViewController = [[DemoViewController alloc] initWithStyle:UITableViewStyleGrouped]; UINavigationController *navigationController = [[UINavigationCo...
{ "content_hash": "7a682d365855b281806e88b5a1e9bc73", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 130, "avg_line_length": 41.92857142857143, "alnum_prop": 0.8057921635434412, "repo_name": "nealyoung/NYAlertViewController", "id": "1e5f8cba69a57e388181cab15f596d743b7ee005",...
sudo apt-get install --only-upgrade libpng=1.2.44-1+squeeze6 -y
{ "content_hash": "ab30983240aeb8bf497f37fa4787f461", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 63, "avg_line_length": 64, "alnum_prop": 0.75, "repo_name": "Cyberwatch/cbw-security-fixes", "id": "3b0f3a153969f4fe0a09948fd2221ca7621dc5e4", "size": "679", "binary": fal...
package com.amazonaws.services.ec2.model.transform; import java.util.Map; import java.util.Map.Entry; import javax.xml.stream.events.XMLEvent; import com.amazonaws.services.ec2.model.*; import com.amazonaws.transform.Unmarshaller; import com.amazonaws.transform.MapEntry; import com.amazonaws.transform.StaxUnmarsha...
{ "content_hash": "c246e6262d80e3dcfe0013ab2cfe15d6", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 80, "avg_line_length": 36.424, "alnum_prop": 0.5286624203821656, "repo_name": "dump247/aws-sdk-java", "id": "5451386d13eb438d98609c60b47076c9b8ced0db", "size": "5140", "...
{% extends "mails/messages/participant_base.html" %} {% load i18n %} {% block message%}{% blocktrans context 'email' %} <p> Congratulations! Your contribution to the activity "{{title}}" is finished. Thank you for your participation. Together we have made the world a bit more beautiful. </p> <p> Craving for more?...
{ "content_hash": "ff04a8dd5c091004635138cfd93d8e87", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 167, "avg_line_length": 34.5, "alnum_prop": 0.7077294685990339, "repo_name": "onepercentclub/bluebottle", "id": "03a69269ff07c212d46f5bb60bb36419a4f21fca", "size": "414", ...
#import <Foundation/Foundation.h> #import "TMBChoreography.h" @class TMBTembooSession; /*! group TMB_23andMe.Genotype Choreo */ /*! * Input object with appropriate setters for specifying arguments to the Genotype Choreo. */ @interface TMB_23andMe_Genotype_Inputs : TMBChoreographyInputSet -(void)setAccessToken:(...
{ "content_hash": "906cd3a9f037e62e7b6a7863405e9f5c", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 231, "avg_line_length": 31.378947368421052, "alnum_prop": 0.7758023034775803, "repo_name": "seeker12/Temboo-iOS-SDK-Example", "id": "321069cb71d3c200f63730c1618922e496232ace...
var chance = require('chance').Chance(); var LowercaseLetters = 'abcdefghijklmnopqrstuvwxyz'; var UpperCase = LowercaseLetters.toUpperCase(); var Digits = '0123456789'; var Symbols = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~'; function replaceRandomChar(letter, word, pos) { if (!pos) { pos = chance.integer({min: 0, m...
{ "content_hash": "2759042a38460bf1679f84a646228ace", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 69, "avg_line_length": 23.789473684210527, "alnum_prop": 0.6084070796460177, "repo_name": "lw7360/pwgen", "id": "dd2578f81981824dc1196b33b537ac27ecf672f1", "size": "1808", ...
<?php namespace Bookapp\Bundle\BookBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class BookControllerTest extends WebTestCase { /** * test de l'index */ public function testIndex() { $client = static::createClient(); $crawler = $client->request('G...
{ "content_hash": "6662feac8dfef0b6b93c8a4bb397bca6", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 53, "avg_line_length": 19.636363636363637, "alnum_prop": 0.6111111111111112, "repo_name": "glnl/BookApp", "id": "f65171066fb3fb252ad3a3cd53c75abde7a2b0a3", "size": "432", ...
package com.spotify.heroic.http.metadata; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.ImmutableList; import com.spotify.heroic.QueryDateRange; import com.spotify.heroic.filter.Filter; import lombok.AccessLevel; import lom...
{ "content_hash": "4d607e16d00c67345d5502b7f5870224", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 75, "avg_line_length": 29.41269841269841, "alnum_prop": 0.7015650296815974, "repo_name": "dbrounst/heroic", "id": "760722bf51c9da703d64d4987df5be59c184aec1", "size": "2697"...
import os import sys import unittest from webkitpy.common.system import executive from webkitpy.common.system import executive_mock from webkitpy.common.system import filesystem from webkitpy.common.system import filesystem_mock from webkitpy.common.system import outputcapture import config def mock_run_command(arg...
{ "content_hash": "a72a4a94c165a8fcfe06d579c9f5b6a1", "timestamp": "", "source": "github", "line_count": 177, "max_line_length": 77, "avg_line_length": 39.728813559322035, "alnum_prop": 0.6474687144482366, "repo_name": "Xperia-Nicki/android_platform_sony_nicki", "id": "8f1e0d4166fa5101db5ddbf50b850735...
package com.azure.resourcemanager.deploymentmanager.implementation; import com.azure.resourcemanager.deploymentmanager.fluent.models.OperationsListInner; import com.azure.resourcemanager.deploymentmanager.models.Operation; import com.azure.resourcemanager.deploymentmanager.models.OperationsList; public final class Op...
{ "content_hash": "f7614cefcda547b7f7e06f359e955bfb", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 120, "avg_line_length": 35.93103448275862, "alnum_prop": 0.783109404990403, "repo_name": "Azure/azure-sdk-for-java", "id": "2d0afdcc926effca13b35085be3846d11af611a7", "size...
package com.jakewharton.utilities; import com.jakewharton.snakewallpaper.R; import android.content.Context; import android.graphics.drawable.Drawable; import android.preference.Preference; import android.util.AttributeSet; import android.view.View; import android.widget.ImageView; /** * A simple Preference which d...
{ "content_hash": "8cade6f42ebd01ad561f631b50196430", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 145, "avg_line_length": 25.702380952380953, "alnum_prop": 0.6225104214914312, "repo_name": "JakeWharton/SnakeWallpaper", "id": "3acff177bf3b7a28798c524c215f43a94f1156a5", "...
.class Landroid/support/v7/preference/CheckBoxPreference$Listener; .super Ljava/lang/Object; .source "CheckBoxPreference.java" # interfaces .implements Landroid/widget/CompoundButton$OnCheckedChangeListener; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/support/v7/preferenc...
{ "content_hash": "5642016daf154b78e1612034ffdf626b", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 148, "avg_line_length": 30.319444444444443, "alnum_prop": 0.7732478240952817, "repo_name": "BatMan-Rom/ModdedFiles", "id": "115eaed2e2fb2e8c51ccf234db16e9f2356bbeb4", "size...
import os import six SCHEMA_PATH = os.path.join(os.path.dirname(__file__), 'schema') def parse_int(text, fallback=None): """ Try to extract an integer from a string, return the fallback if that's not possible. """ try: if isinstance(text, six.integer_types): return text elif i...
{ "content_hash": "4f1792a669cf970121d3b80c6e6f8fe3", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 78, "avg_line_length": 26.27777777777778, "alnum_prop": 0.6152219873150105, "repo_name": "openspending/babbage", "id": "7fc51a28350bdcd67a4bec3e1aee66f5eaf00d59", "size": "...
jest.unmock('../../../ducks/ui/flow') jest.unmock('../../../ducks/flows') jest.unmock('lodash') import _ from 'lodash' import reducer, { startEdit, setContentViewDescription, setShowFullContent, setContent, updateEdit ...
{ "content_hash": "524c69354a3b51a154434941bf198d1b", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 112, "avg_line_length": 39.44736842105263, "alnum_prop": 0.6114076050700467, "repo_name": "mosajjal/mitmproxy", "id": "f838fbaa5be7c7ba7c7223018d14caab2b71d384", "size": "2...
const url = require('url'); const debug = require('@tryghost/debug')('api:shared:headers'); const Promise = require('bluebird'); const INVALIDATE_ALL = '/*'; const cacheInvalidate = (result, options = {}) => { let value = options.value; return { 'X-Cache-Invalidate': value || INVALIDATE_ALL }; }; ...
{ "content_hash": "4da6611a60c269a9a3628193d730f175", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 129, "avg_line_length": 30.611842105263158, "alnum_prop": 0.5501826778422523, "repo_name": "ErisDS/Ghost", "id": "7147b2a1fed80714112ecd28bab148029b040c10", "size": "4653"...
/****************************************************************************** slTabbedContent directive written by stefan krueger (s-light), mail@s-light.eu, http://s-light.eu, https://github.com/s-light/ havely based on https://docs.angularjs.org/guide/directive#creating-directives-tha...
{ "content_hash": "20f39d07e8a1861d6c8594e4975454b6", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 98, "avg_line_length": 32.54040404040404, "alnum_prop": 0.5618500698432407, "repo_name": "s-light/OLA_Cherrypy_example", "id": "104abba789ad794a6946712e568113703f367cac", ...
package io.tiler.internal.queries.clauses; import io.tiler.core.json.JsonArrayIterable; import io.tiler.core.json.JsonArrayUtils; import io.tiler.internal.queries.expressions.fields.FieldExpression; import org.vertx.java.core.json.JsonArray; import org.vertx.java.core.json.JsonObject; import java.util.ArrayList; impo...
{ "content_hash": "aba7e9733d71d30cb75679c55da145ee", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 93, "avg_line_length": 31.6, "alnum_prop": 0.6945147679324895, "repo_name": "tiler-project/tiler", "id": "b8b069f1ea1e5e977d2b68648796caf64447f073", "size": "2370", "bina...
package com.morgan.client.page; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @RunWith(Suite.class) @SuiteClasses({ PagePresenterHelperTest.class }) public class AllPageTests { }
{ "content_hash": "714a2b9900ac21b81ac24e0b3c0109ea", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 48, "avg_line_length": 22.363636363636363, "alnum_prop": 0.8008130081300813, "repo_name": "mmm2a/game-center", "id": "607da98be6ae1761e95f72023eea547975c20984", "size": "24...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (c) 2015. Hoomi, Inc. All Rights Reserved --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="co.hoomi" > <application android:allowBackup="true"> </application> </manifest>
{ "content_hash": "3ea8a91f1bd29ce152074e862dc041fb", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 68, "avg_line_length": 22.076923076923077, "alnum_prop": 0.6376306620209059, "repo_name": "GetHoomi/hoomi-sdk-android", "id": "45053a96048670e23f71f7ac521767f0fc51c3a4", "s...
{-# LANGUAGE AllowAmbiguousTypes #-} {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFam...
{ "content_hash": "16ef71b9239da4e1b0ab4e720084b0fd", "timestamp": "", "source": "github", "line_count": 334, "max_line_length": 120, "avg_line_length": 29.889221556886227, "alnum_prop": 0.7024942402083542, "repo_name": "Lysxia/generic-random", "id": "8e5843f0f554443c26b6f1af0869ab14804a51c2", "size...
<?xml version="1.0" encoding="UTF-8"?> <billStatus> <bill> <calendarNumbers /> <updateDate>2017-09-12T20:30:14Z</updateDate> <cboCostEstimates /> <policyArea> <name>Health</name> </policyArea> <relatedBills /> <billType>HR</billType> <congress>115</congress> <laws /> <cre...
{ "content_hash": "97722b445a6026358ca951ca7e5c910e", "timestamp": "", "source": "github", "line_count": 355, "max_line_length": 676, "avg_line_length": 34.4, "alnum_prop": 0.5882738290206354, "repo_name": "peter765/power-polls", "id": "0385910e5603016b2360412865eb48a5daf9fe91", "size": "12212", "...
package com.jcodes.memcache; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.log4j.Level; import org.apache.log4j.Logger; import com.alisoft.xplatform.asf.cache.ICacheManager; import com.alisoft.xplatform.asf.cache.IMemcachedCache; import com.alisoft.xpla...
{ "content_hash": "ec21c3376fe7ee8a12121f46c2a51aa9", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 115, "avg_line_length": 33.87640449438202, "alnum_prop": 0.5787728026533997, "repo_name": "dreajay/jCodes", "id": "f76b8061ede0fab6fa98f6cff982695fc949ab02", "size": "6044...
namespace AnimalHope.Web { using System.Web.Mvc; using System.Web.Routing; public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Default",...
{ "content_hash": "57daae5d5fa76d780b7d9bad419b0c29", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 101, "avg_line_length": 27.333333333333332, "alnum_prop": 0.5548780487804879, "repo_name": "juliameleshko/AnimalHope", "id": "75ba30aaedb8137eca6c640df9efd5496b79316e", "si...
<Alloy> <TabGroup> <Tab title="User" icon="KS_nav_ui.png"> <Window title="User API"> <Widget id="userWidget" src="userHarness" /> </Window> </Tab> <Tab title="Objects" icon="KS_nav_views.png"> <Window title="Object API"> <Widget id="objectWidget" src="objectHarness" /> </Window> </Tab> ...
{ "content_hash": "5ca7f3e401987f6cdc463d33a886ca70", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 52, "avg_line_length": 24.357142857142858, "alnum_prop": 0.6099706744868035, "repo_name": "magnatronus/peppa-test-harness", "id": "60613fdcef97dbbd68a2f41affe39e918cf26274", ...
package com.datalint.open.server.document; import java.util.ArrayDeque; import java.util.Deque; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.xml.sax.Attributes; import org.xml.sax.helpers.DefaultHandler; public class DocumentSAXHandler extends DefaultHandler { protected final Document documen...
{ "content_hash": "d1e114bad291235d40307eb6203a0a03", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 94, "avg_line_length": 23.071428571428573, "alnum_prop": 0.7294117647058823, "repo_name": "datalint/open", "id": "cda99024b5048e02da1fff7ad1d2d502f518c432", "size": "1615",...
This a skeleton for setting up a Rails server with Postgres database using docker-compose. On check-out, follow the steps below to start the server: 1. Run `docker-compose build` 1. Run `docker-compose up -d` 1. Create the database by running `docker-compose run web rake db:create` 1. Check that the local server is r...
{ "content_hash": "61691b9228acf27ac3e0197f97221bbb", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 127, "avg_line_length": 51.5625, "alnum_prop": 0.7709090909090909, "repo_name": "kcampbell/rails_pg_skeleton", "id": "7af5b1e695e60d3865015e29c00701761fa68f75", "size": "83...
from pixiepatch import PixiePatch from signer import Signer, VerificationError from compressor import Compressor from differ import Differ, DiffError
{ "content_hash": "126cfb9019186eb5a1cc8898593bf5d5", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 44, "avg_line_length": 37.5, "alnum_prop": 0.8666666666666667, "repo_name": "dgym/pixiepatch", "id": "64e871473bb09e9e701bbfc9880186aadde07bb8", "size": "150", "binary": f...
package org.assertj.core.internal.dates; import static org.assertj.core.error.ShouldNotBeBetween.shouldNotBeBetween; import static org.assertj.core.test.ErrorMessages.*; import static org.assertj.core.test.TestData.someInfo; import static org.assertj.core.test.TestFailures.failBecauseExpectedAssertionErrorWasNotThrow...
{ "content_hash": "a78d73f7bc86fd19ba10c755c2a67c4b", "timestamp": "", "source": "github", "line_count": 232, "max_line_length": 156, "avg_line_length": 40.668103448275865, "alnum_prop": 0.7205087440381558, "repo_name": "dorzey/assertj-core", "id": "e009e3d63ec50bedc9901259625b3eb94d19927f", "size":...
namespace eidss.winclient.Administration { partial class PersonListPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
{ "content_hash": "93b3ea6283d761212f9860a3544e142b", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 147, "avg_line_length": 36.46153846153846, "alnum_prop": 0.569620253164557, "repo_name": "EIDSS/EIDSS-Legacy", "id": "b1f1552e45708e477963c178597bbcd8620d8f61", "size": "18...
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not...
{ "content_hash": "5b2932d15a1bcf03623f29f0b7dbf12c", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 75, "avg_line_length": 36.333333333333336, "alnum_prop": 0.7397831526271893, "repo_name": "mirkosertic/Bytecoder", "id": "2b6dd18ef9b70955ea9e2c827749db62d1726a56", "size":...
package com.alibaba.nacos.naming.healthcheck.v2.processor; import com.alibaba.nacos.api.naming.pojo.healthcheck.HealthCheckType; import com.alibaba.nacos.api.naming.pojo.healthcheck.impl.Mysql; import com.alibaba.nacos.naming.core.v2.metadata.ClusterMetadata; import com.alibaba.nacos.naming.core.v2.pojo.HealthCheckI...
{ "content_hash": "db72fb6aaccb0d7382a8c8de37e9c303", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 121, "avg_line_length": 44.45077720207254, "alnum_prop": 0.5972724093717217, "repo_name": "alibaba/nacos", "id": "f2b0780ea299b736d8792a5f6a29e51abca7afa8", "size": "9194"...
<!DOCTYPE frameset SYSTEM "frameset.dtd"> <frameset> <predicate lemma="snowball"> <note> Frames file for 'snowball' based on survey of sentences in the WSJ corpus. </note> <roleset id="snowball.01" name="to increase rapidly" vncls="-"> <roles> ...
{ "content_hash": "e604e7797f880ab4d4b1547a943b9370", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 294, "avg_line_length": 48.214285714285715, "alnum_prop": 0.5225925925925926, "repo_name": "keenon/jamr", "id": "c9c3c6e016ee2b325e88b91c1c0699852c22d688", "size": "2700", ...
<resources> <string name="app_name">SQLiteDemo</string> </resources>
{ "content_hash": "4161b8708052c9dcc8fb1cd64cb6ca23", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 47, "avg_line_length": 24.333333333333332, "alnum_prop": 0.6986301369863014, "repo_name": "LiuchangDuan/androiddemo", "id": "563c849498054c6b7b13ea2d867d0a2abbf89a6f", "size...
class Products < ActiveRecord::Migration def change create_table :products do |t| t.string :name t.text :description t.integer :category_id t.timestamps end end end
{ "content_hash": "6ae29d17f3e6558ad57ccffb7b33bee8", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 40, "avg_line_length": 18.363636363636363, "alnum_prop": 0.6435643564356436, "repo_name": "chugh97/eshop", "id": "e5484bbc8770cfe692da7aa6ed29ece978fefa42", "size": "202", ...
#include <gtest/gtest.h> extern "C" { #include "cras_hfp_iodev.h" #include "cras_iodev.h" #include "cras_iodev_list.h" #include "cras_hfp_info.h" } static struct cras_iodev *iodev; static struct cras_bt_transport *fake_transport; static struct hfp_info *fake_info; struct cras_audio_format fake_format; static size_t...
{ "content_hash": "21474105cc17ca48a1bf42c2704cfd85", "timestamp": "", "source": "github", "line_count": 297, "max_line_length": 76, "avg_line_length": 24.7003367003367, "alnum_prop": 0.7043347873500545, "repo_name": "drinkcat/adhd", "id": "dac952c818f9a1cb106f7e5f9d1e1a0b5cca603f", "size": "7511", ...
<?php namespace CmsIr\Product\Model; use CmsIr\System\Model\ModelTable; use CmsIr\System\Util\Inflector; use Zend\Db\ResultSet\ResultSet; use Zend\Db\TableGateway\TableGateway; use Zend\Db\Sql\Select; use Zend\Db\Sql\Predicate; class ClientTable extends ModelTable { protected $tableGateway; p...
{ "content_hash": "609d405f3c72652c22099d745eb41de5", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 184, "avg_line_length": 29.926829268292682, "alnum_prop": 0.5162999185004075, "repo_name": "web-ir/bloxio", "id": "565259a1c7f9d0f074fd539423b853c08e2dd6d0", "size": "2454"...
define([ 'backbone', 'models/GenericModel', 'controllers/util/FetchController' ], function (backbone, GenericModel, FetchController) { return backbone.Collection.extend({ model: GenericModel, initialize: function(options) { this.fetchController = new FetchController(); if(!options) ret...
{ "content_hash": "bf471dc6ec1a3e5a0b7380c12d631ffe", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 95, "avg_line_length": 24.136363636363637, "alnum_prop": 0.6854990583804144, "repo_name": "criel/Backbone-Marionette-With-Require-And-Bootstrap", "id": "2464653eb841211cdcf4a...
using System.Collections.Generic; using System.Linq; using Util.Logs.Abstractions; namespace Util.Logs.Extensions { /// <summary> /// 日志扩展 /// </summary> public static partial class Extensions { /// <summary> /// 设置内容 /// </summary> /// <param name="log">日志操作</param> ...
{ "content_hash": "0066052da17efc626d559e40fd00f712", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 107, "avg_line_length": 33.372549019607845, "alnum_prop": 0.5246768507638073, "repo_name": "yuleyule66/Util", "id": "ea6c8cb39a271e8efccd778ab355c63c1ba65b51", "size": "178...
@interface WFDisplayPage: NSObject <NSCopying> { NSString* _key; BOOL hidden; NSArray* elements; NSString* comment; @private NSMutableArray* mutableElements; uint8_t _binaryKey; NSMutableArray* errors; } // Key used to identify the page. This value must be unique to all other pages...
{ "content_hash": "6dfddfe31d71b222d86ea42ebfe45616", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 105, "avg_line_length": 29.93548387096774, "alnum_prop": 0.7359913793103449, "repo_name": "simonmaddox/Hearty", "id": "5d1b1b9380309e68c19a65d5cb168d1d324d88f9", "size": "1...
import time import numpy as np import matplotlib.pyplot as plt from scipy import signal as sig from scipy.ndimage import filters from ..utils import arrays as ar from ..utils import subseq as sub from ..viz import viz_utils as viz from motif import nonOverlappingMaxima, findMotifOfLengthFast from misc import windowSc...
{ "content_hash": "d60bc004d06f61437208b36d22144931", "timestamp": "", "source": "github", "line_count": 1044, "max_line_length": 97, "avg_line_length": 33.86015325670498, "alnum_prop": 0.6781612446958981, "repo_name": "dblalock/flock", "id": "8a15f169ae9683761dc0c9fbc942fd02b3ae21ae", "size": "3536...
from oslo_config import cfg from oslo_log import log as logging from nova.i18n import _LW from nova.scheduler import filters from nova.scheduler.filters import utils LOG = logging.getLogger(__name__) disk_allocation_ratio_opt = cfg.FloatOpt("disk_allocation_ratio", default=1.0, help="Virtual...
{ "content_hash": "0bdc9fd6b357c63707396db831a5a804", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 79, "avg_line_length": 37.06944444444444, "alnum_prop": 0.6215811165230424, "repo_name": "devendermishrajio/nova", "id": "e623616733a0c02aa6c64826b8c12f0aeeb64e6d", "size":...
<?php declare(strict_types=1); namespace spec\Sylius\Bundle\ApiBundle\Validator\Constraints; use PhpSpec\ObjectBehavior; use Sylius\Bundle\ApiBundle\Command\Checkout\CompleteOrder; use Sylius\Bundle\ApiBundle\Command\Checkout\UpdateCart; use Sylius\Bundle\ApiBundle\Validator\Constraints\CorrectOrderAddress; use Sy...
{ "content_hash": "3023f949e65efc60362245257f02fedc", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 122, "avg_line_length": 35.46258503401361, "alnum_prop": 0.6598887396892384, "repo_name": "Sylius/Sylius", "id": "c7451e0d5c158cd50092554d20c48eabf03028c0", "size": "5424"...
[[toc]] ## Core buttons The `navbar` option is an array which can contain the following elements: - `autorotate` - `zoomOut` - `zoomRange` - `zoomIn` - `zoom` = `zoomOut` + `zoomRange` + `zoomIn` - `moveLeft` - `moveRight` - `moveTop` - `moveDown` - `move` = `moveLeft` + `moveRight` + `moveTop` +...
{ "content_hash": "50c33d29a539391c09b02e8be88b94a5", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 271, "avg_line_length": 20.9375, "alnum_prop": 0.6502487562189054, "repo_name": "mistic100/Photo-Sphere-Viewer", "id": "47e5a2a153b96ff456d31861ff6665b61d21c9e9", "size": "...
PRICE = 1000 lastWinnerPrice = 350 local main_window local tab_panel local tab = {} local aGamemodeMapTable = {} function createNextmapWindow(tabPanel) tab = {} tab.mainBuyPanel = guiCreateTab('Maps-Center', tabPanel) tab_panel = guiCreateTabPanel ( 0.01, 0.05, 0.98, 0.95, true, tab.mainBuyPanel ) ta...
{ "content_hash": "80815d655df53b1d950753868557c291", "timestamp": "", "source": "github", "line_count": 345, "max_line_length": 175, "avg_line_length": 39.13913043478261, "alnum_prop": 0.6598533659186847, "repo_name": "AfuSensi/Mr.Green-MTA-Resources", "id": "cedaba07afb2314daa3950160c650c2a313bec93"...
rdio-playlist-generator ======================= Create an Rdio playlist from a list of albums
{ "content_hash": "37c5593098369f620a8e41ac551f3636", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 45, "avg_line_length": 23.75, "alnum_prop": 0.6105263157894737, "repo_name": "sico/rdio-playlist-generator", "id": "81442754b6be568351d45aad14057315f1cab030", "size": "95", ...
The MIT License (MIT) Copyright (c) 2013 Appirio 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, modify, merge, publish,...
{ "content_hash": "f4317430027ebf72e7177188a36278f2", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 80, "avg_line_length": 53.7, "alnum_prop": 0.8035381750465549, "repo_name": "Appirio/mock-json", "id": "575d7ef0bbe9036bedcb561d1e99fb9bf8e8c363", "size": "1074", "binary...
import os import sys #import feedparser #from bs4 import BeautifulStoneSoup from bs4 import BeautifulSoup #from nltk import clean_html import urllib import re import json import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from scrapy.item import Item, Field from ...
{ "content_hash": "40348f138441e6fd9f1f875f2991fa66", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 132, "avg_line_length": 31.892473118279568, "alnum_prop": 0.5505731625084289, "repo_name": "koneman/NGOpycrawl", "id": "d71dff45ba005c6545445edad67ac3330e9f5a53", "size": ...
<?php /** * you can find x-forms here * https://github.com/ludwig-gramberg/wp-lib-x-forms * * in wp-folder add like so: * git submodule add -b master --name "wp-includes/x-forms" git@github.com:ludwig-gramberg/wp-lib-x-forms.git wp-includes/x-forms * */ require_once ABSPATH.'/wp-includes/x-forms/x-forms.php'; //...
{ "content_hash": "91e476e500c4fd5be8038a0ab0c28e66", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 129, "avg_line_length": 23.41891891891892, "alnum_prop": 0.5874206578188114, "repo_name": "ludwig-gramberg/wp-theme-scaffold", "id": "c672b611d0e622c18bdfd2ac7db146794a89e980...
package com.example.lighthousecontroller.view; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.content.DialogInterface.OnCancelListener; import android.os.Bundle; import android.support.v4.app.DialogFragment; import android.view.LayoutInflater; import a...
{ "content_hash": "0f7e4ee01914c38ab0d2a4cc9dfb53bb", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 94, "avg_line_length": 30.375, "alnum_prop": 0.7061244250786735, "repo_name": "souzabrizolara/LightHouseController", "id": "f3dc7900d52d593f928c11a93d1fe7bccb910557", "siz...
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using NUnit.ProjectEditor.ViewElements; namespace NUnit.ProjectEditor { /// <summary> /// Displays a dialog for creation of a new configuration. /// The dialog collects and valid...
{ "content_hash": "c29d79d541e7dcd8019520376d0a2db3", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 97, "avg_line_length": 27.70212765957447, "alnum_prop": 0.5798771121351767, "repo_name": "acken/AutoTest.Net", "id": "71b1ac5da950a553238d05374b02d632e54a9efa", "size": "28...
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/rng_alg.h" namespace tensorflow { using shape_inference::DimensionHandle; using shape_inference::InferenceContext; using shape_inference::ShapeHandle; static Status StatelessShapeV2...
{ "content_hash": "c0787815be1f45d3360a17adf638c003", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 74, "avg_line_length": 34.83018867924528, "alnum_prop": 0.5950704225352113, "repo_name": "davidzchen/tensorflow", "id": "e6f87674174833f11f647da2d7c2af5cb60fad4d", "size":...
;(function() { if (typeof define === 'function' && define.amd) { define('GLoadMore', ['require', 'jquery', 'G', 'iscroll'], function(require) { return factory(require('jquery'), require('G'), require('iscroll')); }); } else if (typeof module === "object" && typeof module.exports === ...
{ "content_hash": "b10eb9a21d0336741f9ba5dbb26ae088", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 147, "avg_line_length": 41.48275862068966, "alnum_prop": 0.3988837430233939, "repo_name": "daixianfeng/lancer", "id": "383b3c16f5d67fb9bfaadc08e162fad7a676b1f6", "size": "...
class Vector2; #endif class Angle { private: float curAngle; public: Angle(); Angle( float Degrees ); void Add( float Degrees ); void Set( float Degrees ); float ToDegrees(); float ToRadians(); Vector2* ToVector(); float ShortestAngleTo( Angle* DestinationAngle ); float ShortestAngleTo( float...
{ "content_hash": "d03d3737de0f4027581a8942b728a6f2", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 68, "avg_line_length": 21.3, "alnum_prop": 0.7261345852895149, "repo_name": "pmprog/deathsnow", "id": "2503e1cb1706dc1a77dae31a6cec809c77b7df45", "size": "690", "binary":...
'use strict'; var game = require('./game-4b284c1b.js'); /** * Base class that bots can extend. */ var Bot = /*#__PURE__*/ function () { function Bot(_ref) { var _this = this; var enumerate = _ref.enumerate, seed = _ref.seed; game._classCallCheck(this, Bot); game._defineProperty(this, "...
{ "content_hash": "3314d9db0f76e07ed055375e209970b6", "timestamp": "", "source": "github", "line_count": 601, "max_line_length": 177, "avg_line_length": 24.42595673876872, "alnum_prop": 0.5450272479564032, "repo_name": "cdnjs/cdnjs", "id": "06886d8f561a03502c6c582ef17f99af3567f984", "size": "14680",...
''' Project: Geothon (https://github.com/MBoustani/Geothon) File: Vector/create_shp_line.py Description: This code create a line shapefile from multi-points. Author: Maziyar Boustani (github.com/MBoustani) ''' import os try: import ogr except ImportError: from osgeo import ogr try: ...
{ "content_hash": "7b51b16876dccbd2815f85b2ae50ee4c", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 68, "avg_line_length": 25.047619047619047, "alnum_prop": 0.7547528517110266, "repo_name": "MBoustani/Geothon", "id": "bdcb0e3295939319db751a6a45413270f9fd5019", "size": "16...
/* Cube System definition file David Mays 3/17/2009 Structs used to define the shape of the cube Arrays to define the pins on the Arduino board */ #define CUBESIZE 4 #define PLANESIZE CUBESIZE*CUBESIZE #define PLANETIME 3333 // time each plane is displayed in us -> 100 Hz refresh #define TIMECONST 100 ...
{ "content_hash": "419ac34d848204a440c3aae0949086d5", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 87, "avg_line_length": 25.676470588235293, "alnum_prop": 0.7250859106529209, "repo_name": "davidmays/arduino-led-controls", "id": "442bf2d6c7eef84e576b9e71eeb12c6352168c8b", ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <div id="appMasthead" class="ui inverted vertical center aligned segment"> <div class="ui text container appCenterVertical"> <h1 class="ui inverted header"> Roster Manager </h1> <h2>Start Managing Your Roster Now!</h2...
{ "content_hash": "cac120d71e2eae43effb3645215d0ea2", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 90, "avg_line_length": 27.05128205128205, "alnum_prop": 0.590521327014218, "repo_name": "duy159/Comp4711", "id": "86e760a65cf8f3f3d05cdfeddd66bf40c5e70b9a", "size": "1055",...
package org.openkilda.wfm.topology.flowhs.fsm.yflow.update; import org.openkilda.floodlight.api.request.rulemanager.DeleteSpeakerCommandsRequest; import org.openkilda.messaging.command.yflow.YFlowRequest; import org.openkilda.pce.PathComputer; import org.openkilda.persistence.PersistenceManager; import org.openkilda...
{ "content_hash": "11a572847dcacac1c65f6decc55e4f58", "timestamp": "", "source": "github", "line_count": 540, "max_line_length": 115, "avg_line_length": 46.105555555555554, "alnum_prop": 0.6274249909627666, "repo_name": "telstra/open-kilda", "id": "5b66e4ac3fa1d849fd2cba0378c7a9466102d60a", "size": ...
CustomModules = new Mongo.Collection("customModules"); Meteor.methods({ });
{ "content_hash": "5f7c75c639f5f4473de94b3df751e00f", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 54, "avg_line_length": 15.4, "alnum_prop": 0.7402597402597403, "repo_name": "eaaajkb/teambuilding-app", "id": "74b0c0ad44c4c0cd92c9fcfecad41deda615c40f", "size": "77", "bi...
package view.commands.gameplayInput; import gamecontrollers.Facade; import view.ViewController; public class TabDeveloperInputCommand extends GameplayInputCommand { public TabDeveloperInputCommand(ViewController viewController) { super(viewController); } @Override public void doExecute() { ...
{ "content_hash": "4e4692caf941ed81472f93f2a6355521", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 68, "avg_line_length": 24.8, "alnum_prop": 0.7688172043010753, "repo_name": "nwcaldwell/Java", "id": "361ba13fe6eee3ecb1877dc4949e51bc02c19c92", "size": "417", "binary": ...
package finiteStateMachine; import KeepAway.SoccerTeam.soccerTeamNames; import players.PlayerInterface; public class ChaseBall extends State<PlayerInterface> { boolean debugThis = false; static ChaseBall instance = null; static { instance = new ChaseBall(); } @Override public void e...
{ "content_hash": "17beb811eb29081b2edb15de44e29a04", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 121, "avg_line_length": 30.62162162162162, "alnum_prop": 0.5816416593115622, "repo_name": "chaostrigger/rl-library", "id": "9c8ed0f9a901587ca972494452919d727d67268a", "size...
require('./Button.css') var React = require('react') var Button = React.createClass({ propTypes: { onClick: React.PropTypes.func.isRequired, active: React.PropTypes.bool, className: React.PropTypes.string, tabIndex: React.PropTypes.string }, getDefaultProps() { return { active: false, ...
{ "content_hash": "a8fa532404560f3bd8055ea6aa7ae67a", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 107, "avg_line_length": 24.166666666666668, "alnum_prop": 0.6167487684729064, "repo_name": "insin/ideas-md", "id": "e23220716aad6e5197e91ee58c339b7030816073", "size": "1015...
@(notification: gitbucket.notifications.model.Watch.Notification, repository: gitbucket.core.service.RepositoryService.RepositoryInfo)(implicit context: gitbucket.core.controller.Context) @import gitbucket.core.view.helpers @gitbucket.core.helper.html.dropdown(value = notification.name, right = true){ @gitbucket.no...
{ "content_hash": "462eeb848a89fcdd0d5bce4bbfadaebd", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 123, "avg_line_length": 37.294117647058826, "alnum_prop": 0.6482649842271293, "repo_name": "shimamoto/gitbucket-notifications-plugin", "id": "93b7c44cb85e7c23b611fd72df78f946...
""" DocuSign REST API The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501 OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pp...
{ "content_hash": "71546a2a06e06b4c1cedefabee628899", "timestamp": "", "source": "github", "line_count": 363, "max_line_length": 281, "avg_line_length": 29.542699724517906, "alnum_prop": 0.5738530399104812, "repo_name": "docusign/docusign-python-client", "id": "c85ac1472e8777a1b8b5745ae7cb4e984c3ded22...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Usnea neocaledonica f. abortiva Räsänen ### Remarks null
{ "content_hash": "b0713b1308a2ceabaafce7fcc32e28a5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 11.076923076923077, "alnum_prop": 0.7222222222222222, "repo_name": "mdoering/backbone", "id": "f6085eca7fc620c2b5fd550d39e1aa980782370e", "size": "20...
module Azure::Network::Mgmt::V2018_11_01 module Models # # Defines values for ApplicationGatewaySslPolicyType # module ApplicationGatewaySslPolicyType Predefined = "Predefined" Custom = "Custom" end end end
{ "content_hash": "c1d929c87600df24cab3a93762b9f9a6", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 56, "avg_line_length": 22.09090909090909, "alnum_prop": 0.691358024691358, "repo_name": "Azure/azure-sdk-for-ruby", "id": "6785b438312b2dd56d04c09fdc38ded3c70c9785", "size"...
<HTML><HEAD> <TITLE>Review for Drive Me Crazy (1999)</TITLE> <LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css"> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0164114">Drive Me Crazy (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Steve+Rho...
{ "content_hash": "97575bddc360e6c2c5005f343933dd01", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 200, "avg_line_length": 61.33802816901409, "alnum_prop": 0.7478760045924225, "repo_name": "xianjunzhengbackup/code", "id": "7e73ac888cdf187a06a4f753a750f84ae7ba657f", "size...
auth_config="-Djava.security.auth.login.config=exchange_config/jaas.config" auth_policy="-Djava.security.policy=exchange_config/auth.policy" # Allow overriding of the location of the auth files for arg in $@ do if [[ "${arg}" =~ "-Djava.security.auth.login.config=" ]]; then auth_config="" fi if [[ "${arg}" =...
{ "content_hash": "774fa28f825b855b17774c21cd472ff9", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 111, "avg_line_length": 40.483870967741936, "alnum_prop": 0.7059760956175298, "repo_name": "cgiroua/exchange-api", "id": "d2cd1f5fdf92e2634c84b613227ff5ae12f38016", "size":...
name 'blackfire' maintainer 'Olivier Dolbeau' maintainer_email 'odolbeau@gmail.com' license 'Apache 2.0' description 'Installs blackfire' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) version '1.0.5' recipe 'default', 'Installs blackfire-php & blackfire-agent.' supports 'debian' supports 'u...
{ "content_hash": "e2774eedd8c5daf3cc7d3b614ee9aacf", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 72, "avg_line_length": 22.77777777777778, "alnum_prop": 0.7560975609756098, "repo_name": "odolbeau/cookbook-blackfire", "id": "392d434c4e46ab0a41797e96a76620996dd42ddb", "s...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> ...
{ "content_hash": "693446c85f0b8a509923aab0770a3e8e", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 108, "avg_line_length": 33, "alnum_prop": 0.631578947368421, "repo_name": "VHAINNOVATIONS/BCDS", "id": "1bb9b565e71281df1b0740c4d76dc119c1caa46a", "size": "627", "binary"...
#include <linux/device.h> #include <linux/errno.h> #include <linux/list.h> #include <linux/module.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/string.h> #include <linux/slab.h> /** * irq_of_parse_and_map - Parse and map an interrupt into linux virq space * @dev: Device node of the device whos...
{ "content_hash": "e89e9482d6e96fe0e0a496b208d76d8d", "timestamp": "", "source": "github", "line_count": 582, "max_line_length": 92, "avg_line_length": 27.5446735395189, "alnum_prop": 0.6568523485746366, "repo_name": "publicloudapp/csrutil", "id": "55317fa9c9dca32557c40b1735ac2c2bec5d4714", "size": ...
/** * @license Highstock JS v9.3.1 (2021-11-05) * @module highcharts/modules/datagrouping * @requires highcharts * * Data grouping module * * (c) 2010-2021 Torstein Hønsi * * License: www.highcharts.com/license */ 'use strict'; import dataGrouping from '../../Extensions/DataGrouping.js'; export default dataGr...
{ "content_hash": "58013f75dcb43d2dba85d1b6cfdf773f", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 60, "avg_line_length": 23.428571428571427, "alnum_prop": 0.7103658536585366, "repo_name": "cdnjs/cdnjs", "id": "da98092124cae0a9f7fac0ba0404b698e74954f5", "size": "329", ...
module Failsafe module Backends autoload :Base, 'failsafe/backends/base' autoload :Airbrake, 'failsafe/backends/airbrake' autoload :File, 'failsafe/backends/file' autoload :Stderr, 'failsafe/backends/stderr' autoload :Exceptional, 'failsafe/backends/exceptional' autoload...
{ "content_hash": "a739926e51b1768baa851186cad964af", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 58, "avg_line_length": 34.27272727272727, "alnum_prop": 0.7055702917771883, "repo_name": "zaarly/failsafe", "id": "9959048a726dd03cde8e1334c4605ea94204f5da", "size": "377",...
<!-- ~ Licensed to the Apache Software Foundation (ASF) under one ~ or more contributor license agreements. See the NOTICE file ~ distributed with this work for additional information ~ regarding copyright ownership. The ASF licenses this file ~ to you under the Apache License, Version 2.0 (the ~ "L...
{ "content_hash": "3407bcfabcc9b1f7832f60dfea82234c", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 133, "avg_line_length": 53.58095238095238, "alnum_prop": 0.6724137931034483, "repo_name": "apache/felix-dev", "id": "96a16af4c1843f9e8ce30b2b2983bcd83c3e2ebf", "size": "56...
/* * This file is part of the opmsg crypto message framework. * * (C) 2015 by Sebastian Krahmer, * sebastian [dot] krahmer [at] gmail [dot] com * * opmsg 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...
{ "content_hash": "406e162591efe1ccddb44302089ff1ca", "timestamp": "", "source": "github", "line_count": 321, "max_line_length": 145, "avg_line_length": 16.660436137071652, "alnum_prop": 0.6168661181750187, "repo_name": "dgomez10/xanon", "id": "eb28f1510114c11723cd75ec6801bcabc4f973b7", "size": "534...
package pl.touk.nussknacker.engine.process.util import com.esotericsoftware.kryo.Kryo import com.esotericsoftware.kryo.io.{Input, Output} import org.scalatest.flatspec.AnyFlatSpec import org.scalatest.matchers.should.Matchers import pl.touk.nussknacker.engine.process.util.Serializers.CaseClassSerializer class Seriali...
{ "content_hash": "b000622e125663140205163be2b2852d", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 107, "avg_line_length": 30.134831460674157, "alnum_prop": 0.749813571961223, "repo_name": "TouK/nussknacker", "id": "445e986021abf99e2924f0d49e611a757e9283ee", "size": "268...
/* * This code was generated by * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ * * Twilio - Api * Th...
{ "content_hash": "adf5391609dac62364b72aecc9863f99", "timestamp": "", "source": "github", "line_count": 409, "max_line_length": 263, "avg_line_length": 56.67970660146699, "alnum_prop": 0.5736347165904581, "repo_name": "twilio/twilio-csharp", "id": "a70bc39a5d5b218dff02615881a5d165d08ae9b3", "size":...
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context="com.example.android.sunshine.app.DetailActivity"> <item android:id="@+id/action_settings" android:order...
{ "content_hash": "ee233929e8cf6293090ae84a191050e7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 70, "avg_line_length": 39, "alnum_prop": 0.6736596736596736, "repo_name": "fechidal89/udacity", "id": "46883df65b0b071265a435c3fc849f0c0f7a186d", "size": "429", "binary":...
using System; using System.Collections.Generic; using System.Linq; using ZptSharp.Dom; namespace ZptSharp.Expressions { /// <summary> /// An object which provides contextual values for the rendering of TALES expressions. /// </summary> /// <remarks> /// <para> /// This class encapsulates the s...
{ "content_hash": "90c6e0fe51fcabf1c433b0b58ccce629", "timestamp": "", "source": "github", "line_count": 314, "max_line_length": 159, "avg_line_length": 49.20063694267516, "alnum_prop": 0.6015923360735322, "repo_name": "csf-dev/ZPT-Sharp", "id": "c0bef007a1f7a4c6b25b8d895cd791027276a7d7", "size": "1...
{-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-# LANGUAGE InstanceSigs #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeApplications #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE...
{ "content_hash": "7a0d5ae19b0aa6b09edbbc3b6cbd409f", "timestamp": "", "source": "github", "line_count": 357, "max_line_length": 72, "avg_line_length": 30.593837535014007, "alnum_prop": 0.6477751327595679, "repo_name": "xmonad/xmonad-contrib", "id": "8dff1c0bc18c1674c2097b0fc13c138ce6d6854b", "size"...
package org.kuali.kfs.module.purap.document; import java.sql.Date; import java.util.ArrayList; import java.util.List; import org.kuali.kfs.module.purap.businessobject.Carrier; import org.kuali.kfs.module.purap.businessobject.CorrectionReceivingItem; import org.kuali.kfs.module.purap.businessobject.DeliveryRequiredDa...
{ "content_hash": "93298f132c60b7be3459bd04b004d0b6", "timestamp": "", "source": "github", "line_count": 377, "max_line_length": 126, "avg_line_length": 31.47214854111406, "alnum_prop": 0.7227138643067846, "repo_name": "Ariah-Group/Finance", "id": "a2ee2e400c3cb073397fe87cc8868a10c096a28b", "size": ...
if test -z "$MONGODB_PASSWORD"; then echo "MONGODB_PASSWORD not defined" exit 1 fi auth="-u user -p $MONGODB_PASSWORD" # MONGODB USER CREATION ( echo "setup mongodb auth" create_user="if (!db.getUser('user')) { db.createUser({ user: 'user', pwd: '$MONGODB_PASSWORD', roles: [ {role:'readWrite', db:'rental'} ]}...
{ "content_hash": "2c86d19084b89ddee242216b1d311e3a", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 143, "avg_line_length": 24.4375, "alnum_prop": 0.6828644501278772, "repo_name": "MarcinU2K/media-rental-microservices", "id": "5bb06eac00c72544fe686fcd9c73adfc2faf16b0", "s...