text
stringlengths
2
1.04M
meta
dict
from django.conf.urls import include, url from django.conf.urls.static import static from django.conf import settings from django.contrib import admin urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^', include('expenses.urls')), ] + static(settings.STATIC_URL, document_root=settings.STATIC_R...
{ "content_hash": "0efe738b48617aa4a52e09f56337c09e", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 67, "avg_line_length": 32.5, "alnum_prop": 0.7446153846153846, "repo_name": "asyncee/home-bookkeeping-sample", "id": "acfe22c2de42a8a3ce032c2847b421311d65db03", "size": "32...
package com.bitgirder.lang; import com.bitgirder.validation.Inputs; import com.bitgirder.validation.State; public abstract class AbstractCompletion< V > implements Completion< V > { private final static Inputs inputs = new Inputs(); private final static State state = new State(); // both of these could b...
{ "content_hash": "c80228163b112757a6af507b96edc7ea", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 79, "avg_line_length": 19.28395061728395, "alnum_prop": 0.5492957746478874, "repo_name": "bitgirder/bitgirder-main", "id": "cc2a21b922555e4168cac07bde66cfe8d3d56ab5", "size...
/** * Created by urielbertoche on 03/07/15. */ 'use strict'; var request = require('request'); var lastModified = new Date(); lastModified.setMinutes(-120); var options = { url: '', headers: { 'User-Agent': 'urielb', 'If-Modified-Since': lastModified.toUTCString() } }; function GitOrg (org) { thi...
{ "content_hash": "5b7d239d4fddfd31f5448eb937ef094c", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 70, "avg_line_length": 23.1875, "alnum_prop": 0.637915543575921, "repo_name": "urielb/dev-shop", "id": "c205cfce54b64193190c4e9e7d7ac64d73f99b9e", "size": "1113", "binary...
package fr.bourgmapper.tub.data.repository.datasource; import android.content.Context; import android.support.annotation.NonNull; import javax.inject.Inject; import javax.inject.Singleton; import fr.bourgmapper.tub.data.cache.StopCache; import fr.bourgmapper.tub.data.net.RestApi; import fr.bourgmapper.tub.data.net.R...
{ "content_hash": "39fed2a055db57728db1564a70a971a0", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 82, "avg_line_length": 27.686274509803923, "alnum_prop": 0.6983002832861189, "repo_name": "axellebot/Tub-Android", "id": "687d0658c20bb555ba25e8dc9934968a875d9565", "size":...
from dtreeviz.utils import * import numpy as np import pandas as pd import graphviz from pathlib import Path from sklearn import tree from graphviz.backend import run, view import matplotlib.pyplot as plt from dtreeviz.shadow import * from numbers import Number import matplotlib.patches as patches from mpl_toolkits.mp...
{ "content_hash": "0444097d6cd37a66719732c993eb0e47", "timestamp": "", "source": "github", "line_count": 1167, "max_line_length": 175, "avg_line_length": 38.54070265638389, "alnum_prop": 0.5619094203704116, "repo_name": "parrt/AniML", "id": "bf925007fbf715facf431890c125a1b499e23ac4", "size": "44977"...
<?php namespace Symfony\Component\Validator\Tests\Constraints; use PHPUnit\Framework\TestCase; use Symfony\Component\Validator\Constraints\PositiveOrZero; use Symfony\Component\Validator\Mapping\ClassMetadata; use Symfony\Component\Validator\Mapping\Loader\AnnotationLoader; /** * @requires PHP 8 */ class Positiv...
{ "content_hash": "b9637d45100acfed89b53391ac858772", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 83, "avg_line_length": 28.634146341463413, "alnum_prop": 0.6942078364565588, "repo_name": "MatTheCat/symfony", "id": "520366eb5eca40f844653f5476810cda4e0960b4", "size": "14...
<?php /** * Upgrades logger constants. * * @package symfony * @subpackage task * @author Fabien Potencier <fabien.potencier@symfony-project.com> * @version SVN: $Id$ */ class sfLoggerUpgrade extends sfUpgrade { public function upgrade() { $phpFinder = $this->getFinder('file')->name('*.php');...
{ "content_hash": "493baaac8ac68aba5625d8fca6c93030", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 89, "avg_line_length": 23.166666666666668, "alnum_prop": 0.5899280575539568, "repo_name": "ahoy-jon/symfony-1.2", "id": "3f4b7c14306411d5dc60c62d82404575143cc4ab", "size": ...
<?php namespace Ai\GalleryBundle\EventListener; use Ai\GalleryBundle\Entity\Image; use Ai\GalleryBundle\Services\ImageManager; use Doctrine\ORM\Event\LifecycleEventArgs; class ImageListener { private $imageManager; /** * @param ImageManager $imageManager */ public function __construct(ImageMan...
{ "content_hash": "d57c35d47a9f08b95701d5c8a7b8d35b", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 92, "avg_line_length": 22.426470588235293, "alnum_prop": 0.600655737704918, "repo_name": "ruslana-net/ai-gallery", "id": "668aa27d6758c232ade8edd8811f97c379f38943", "size":...
[![Gem Version](https://badge.fury.io/rb/reactive_support.svg)](http://badge.fury.io/rb/reactive_support) [![Build Status](https://travis-ci.org/danascheider/reactive_support.svg?branch=master)](https://travis-ci.org/danascheider/reactive_support) [![Coverage Status](https://img.shields.io/coveralls/danascheider/reacti...
{ "content_hash": "fa5fb6ea366bf45555d4f70bb15b2d50", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 696, "avg_line_length": 67.99029126213593, "alnum_prop": 0.7759531629301728, "repo_name": "danascheider/reactive_support", "id": "6e64d7ff12c0e96666a295b434a8849a38005852", ...
Public Class frmTemp Private Sub btnConvert_Click(sender As Object, e As EventArgs) Handles btnConvert.Click Dim dblTempF, dblTempC As Double If IsNumeric(txtTempF.Text) Then dblTempF = CDbl(txtTempF.Text) dblTempC = Math.Round(FtoC(dblTempF), 2) txtTempC.Text =...
{ "content_hash": "02aea4bc1a5f14d8ad05b6bf42337164", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 91, "avg_line_length": 31.61111111111111, "alnum_prop": 0.6098418277680141, "repo_name": "patkub/visual-basic-intro", "id": "27a84688f77cf0bc0d0e51d63191f306c9fe130e", "siz...
package org.apache.flink.table.runtime.join import org.apache.flink.api.common.state._ import org.apache.flink.api.common.typeinfo.TypeInformation import org.apache.flink.api.java.tuple.{Tuple2 => JTuple2} import org.apache.flink.configuration.Configuration import org.apache.flink.table.api.StreamQueryConfig import o...
{ "content_hash": "2cef53e6b6edd1549130b937bd596482", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 99, "avg_line_length": 37.36046511627907, "alnum_prop": 0.7002801120448179, "repo_name": "mylog00/flink", "id": "0018a16bc23ac90a5a43f1b82c46afb44aa5a3af", "size": "7231",...
package com.googlecode.objectify.cache; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; /** * <p> * A Future<?> wrapper that executes an abstract method with the result at some point af...
{ "content_hash": "66d91e0987d22a8048044ee7daf8560b", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 108, "avg_line_length": 26.838983050847457, "alnum_prop": 0.6703504894221661, "repo_name": "qickrooms/objectify-appengine", "id": "523ee3474ac61b1caaf6af6ce19079afa90fd756",...
package net.sourceforge.javydreamercsw.validation.manager.web.execution; import static com.validation.manager.core.ContentProvider.TRANSLATOR; import java.io.File; import java.io.IOException; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Objects; import java.ut...
{ "content_hash": "76070681ea6464d6825d4e44724b0a32", "timestamp": "", "source": "github", "line_count": 1119, "max_line_length": 93, "avg_line_length": 37.23949955317248, "alnum_prop": 0.5714285714285714, "repo_name": "javydreamercsw/validation-manager", "id": "ddc5384587b1368dd982a79eded963076f91317...
namespace Nancy.Routing.Constraints { using System; /// <summary> /// Constraint for <see cref="DateTime"/> route segments. /// </summary> public class DateTimeRouteSegmentConstraint : RouteSegmentConstraintBase<DateTime> { /// <summary> /// Gets the name of the const...
{ "content_hash": "40aeaf0f004489500e4582d3c9942d45", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 108, "avg_line_length": 35.515151515151516, "alnum_prop": 0.5716723549488054, "repo_name": "asbjornu/Nancy", "id": "463023c0c51a4591815443fb7120eb73c261469e", "size": "1174...
This example purely consists of additional documentation and examples of the `deparse()` method of RiveScript. ## Relevant Methods * `object rs.deparse()` This method exports the current in-memory representation of the RiveScript brain as a JSON-serializable data structure. See [Schema](#schema) for the format...
{ "content_hash": "aa1cb068755c66cdd9e84e2aa6a7097f", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 80, "avg_line_length": 27.764084507042252, "alnum_prop": 0.587571337983513, "repo_name": "rundexter/rivescript-js", "id": "024cd988a0050e235ecd9e1322050e9936f10e1a", "size...
namespace NLog.UnitTests.LayoutRenderers.Wrappers { using NLog; using NLog.LayoutRenderers.Wrappers; using NLog.Layouts; using NLog.Targets; using System; using System.Collections.Generic; using Xunit; public class ReplaceTests : NLogTestBase { [Fact] public void Rep...
{ "content_hash": "3130f6a1e560d5634c854c22a6dd8a86", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 160, "avg_line_length": 38, "alnum_prop": 0.5634779516358464, "repo_name": "ie-zero/NLog", "id": "992b386aac26210b1ef39fcbcb358f59448f9049", "size": "7290", "binary": fa...
cargo install wasm-pack wasm-pack build cd www npm install npm run start
{ "content_hash": "6986d54a1041902ae67fa11ff99cae7c", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 23, "avg_line_length": 14.6, "alnum_prop": 0.8082191780821918, "repo_name": "codetojoy/gists", "id": "2e6539f908598ae74db01c2643a085ce30de75c7", "size": "86", "binary": fa...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.6; En-us; Cloudfone Thrill 400g Build/VENUS_00.03.150.H1105) AppleWebKit/533.1 (KHTML, Like Gecko) Version/4.0 Mobile Safari/533.1</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/c...
{ "content_hash": "d9eb37e5cdb6667415690f30f32ae826", "timestamp": "", "source": "github", "line_count": 1122, "max_line_length": 765, "avg_line_length": 41.655080213903744, "alnum_prop": 0.5399790316023707, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "641af72f1abdcdf5c60c1274d23d743df...
... ![CC BY-SA 4.0](cc-by-sa-80x15.png "Creative Commons Attribution-ShareAlike 4.0 International")
{ "content_hash": "7ca237284896381afc4a091b2bb2b4b6", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 95, "avg_line_length": 33.666666666666664, "alnum_prop": 0.7227722772277227, "repo_name": "jpommerening/midiboy", "id": "d2090128c5abeca26fc49968a9e356a2ecf13aee", "size": "...
<?php /** * Created by PhpStorm. * User: gseidel * Date: 2019-09-06 * Time: 12:58 */ namespace Enhavo\Bundle\CommentBundle\Model; use Doctrine\Common\Collections\Collection; interface ThreadInterface { /** * @param CommentSubjectInterface|null $subject * @return mixed */ public function s...
{ "content_hash": "1662eba12d7e4c89736c2ceeeac14bca", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 66, "avg_line_length": 20.06, "alnum_prop": 0.6420737786640079, "repo_name": "npakai/enhavo", "id": "1c7124c2b169967a0e3f0e6a00d6125c432c5a26", "size": "1003", "binary": ...
$(document).ready(function() { $('#school_content').hide(); $('#project_content').hide(); $('#school').removeClass('active'); $('#projects').removeClass('active'); $('#home').click(function() { $('#school_content').hide(); $('#project_content').hide(); $('#home').addClass('active'); $('#school').removeCl...
{ "content_hash": "6580ef7d04852283c98a48df7e9d08c7", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 39, "avg_line_length": 26.161290322580644, "alnum_prop": 0.5721331689272503, "repo_name": "jordanbang/jordanbang.github.io", "id": "e1551e264e95dc05c2bd9eba189ecb8808beff03",...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "bindings/core/v8/ScriptStreamer.h" #include "bindings/core/v8/ScriptSourceCode.h" #include "bindings/core/v8/ScriptStreamerThread.h" #include ...
{ "content_hash": "a0c1751986e079f2700d6053c8b1e5c6", "timestamp": "", "source": "github", "line_count": 384, "max_line_length": 153, "avg_line_length": 38.661458333333336, "alnum_prop": 0.719318334905025, "repo_name": "highweb-project/highweb-webcl-html5spec", "id": "8f91bcfe6a1c539b470a96a0ed4e5c85e...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <title>Uses of Interface org.apache.poi.ss.formula.functions.Function3Arg (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../../styl...
{ "content_hash": "e1f286385fe8797106abb744bd406a70", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 378, "avg_line_length": 48.03610108303249, "alnum_prop": 0.6537652186983316, "repo_name": "RyoSaeba69/Bio-info", "id": "97e7af3a3398b845f005c99fb07c2ec6f72068c0", "size": ...
package com.me; import org.codehaus.groovy.transform.GroovyASTTransformationClass; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Documented @Retention(RetentionP...
{ "content_hash": "84b1cbb3a6d45d5e8b4b8ae890b5ac36", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 70, "avg_line_length": 29, "alnum_prop": 0.8405172413793104, "repo_name": "adrianbk/s3-checksums", "id": "68162a2dad0fb79d9055d818337d869f0303469a", "size": "464", "binar...
layout: post title: "How to broadcast a message from outside SignalR hub" subtitle: "How to broadcast a message from outside SignalR hub" date: 2013-10-08 01:09 author: "Anuraj" comments: true categories: [.Net, .Net 4.0, ASP.Net MVC] tags: [.Net, .Net 4.0, C#.Net, SignalR] header-img: "img/post-bg-01.jpg" --- Broadcas...
{ "content_hash": "6ba17929845e428bcd40af07e62d43d2", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 172, "avg_line_length": 37.27272727272727, "alnum_prop": 0.7609756097560976, "repo_name": "anuraj/anuraj.github.io", "id": "c50be6983b5763158fe08657cf48c72ab3ec5c45", "size...
<?php namespace Anomaly\Streams\Platform\Application\Console\Command; use Anomaly\Streams\Platform\Application\Application; use Anomaly\Streams\Platform\Addon\Addon; use Illuminate\Filesystem\Filesystem; use Illuminate\Console\Command; class PublishConfig { /** * The console command. * * @var Comma...
{ "content_hash": "ab2fc20dc8da80bad93208025e261bb3", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 92, "avg_line_length": 25.847826086956523, "alnum_prop": 0.6265769554247267, "repo_name": "whuailin/dogdie", "id": "c9358a9b51d2c0106e4b9f0142beccc1744862d6", "size": "1189...
angular.module('starter.services.feedback', []) .factory('Feedback', function($http,HOST) { var Feedback={ addFeedback:function(content){ return $http.post(HOST+'/feedback',{ content:content }).then(function(result){ return result.data; }).then(function(result) { if (result.err === 0) { re...
{ "content_hash": "94f0115204747e36a3398391df811a79", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 47, "avg_line_length": 17.041666666666668, "alnum_prop": 0.6039119804400978, "repo_name": "yhaoao/tushuo-client", "id": "c4f8a5e282c65f7b8592e152e0dfed55e26fcebf", "size": ...
package com.thoughtworks.go.config.parts; import com.thoughtworks.go.config.*; import com.thoughtworks.go.config.remote.PartialConfig; import com.thoughtworks.go.domain.WildcardScanner; import com.thoughtworks.go.domain.config.Configuration; import com.thoughtworks.go.domain.config.ConfigurationProperty; import org.j...
{ "content_hash": "847e35d8bd966df330af842d146212c0", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 106, "avg_line_length": 35.52252252252252, "alnum_prop": 0.6634542226730915, "repo_name": "gocd/gocd", "id": "61cbd57feb1b70c21eedde70def98a0b2ff5cf58", "size": "4544", ...
package com.amazonaws.services.redshift.model; import java.io.Serializable; import com.amazonaws.AmazonWebServiceRequest; /** * Container for the parameters to the {@link com.amazonaws.services.redshift.AmazonRedshift#revokeSnapshotAccess(RevokeSnapshotAccessRequest) RevokeSnapshotAccess operation}. * <p> * Remo...
{ "content_hash": "cfbd068f299b662196a1ce3e08322d84", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 175, "avg_line_length": 41.77828054298642, "alnum_prop": 0.6865590815552908, "repo_name": "trasa/aws-sdk-java", "id": "d575e5a98528d96715104d12933bc6cdc7badac3", "size": "...
package com.cloudera.flume.handlers.thrift; import com.cloudera.flume.core.EventAck; import com.cloudera.flume.handlers.thrift.ThriftEventAck; public class ThriftEventAckAdaptor { public static ThriftEventAck convert(EventAck ea) { ThriftEventAck tea = new ThriftEventAck(); tea.ackID = ea.ackID; tea.ho...
{ "content_hash": "cd15c2c540394437b4d7eeb88f5e8dfb", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 57, "avg_line_length": 25.333333333333332, "alnum_prop": 0.7218045112781954, "repo_name": "yongkun/flume-0.9.3-cdh3u0-rakuten", "id": "244980f19d9b61822c3d622f2edcf6a9b52aa6e...
from re import findall, sub from .default_recipe_parser import recipe_parser def use_schema_org(html): if 'http://schema.org/Recipe' in str(html): return True return False class schema_org_recipe_parser(recipe_parser): def datetime_or_content(self, el): if el: if el.has_attr...
{ "content_hash": "de9eb3a6bc12ad7d2b09e257669d79ff", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 75, "avg_line_length": 31.099009900990097, "alnum_prop": 0.5278573702642471, "repo_name": "scttcper/hangry-py", "id": "7fc76dbd06982cce896223005e3336d6f72e1fe0", "size": "...
@interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; NSString *fullURL = @"http://app.soundbounce.org/login.html"; NSURL *url = [NSURL URLWithString:fullURL]; NSURLRequest *requestObj = [NSURLRequest requestWithURL:url]; [_viewWeb l...
{ "content_hash": "041ddd26177a4ef9585c30ce785c54bc", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 65, "avg_line_length": 20.041666666666668, "alnum_prop": 0.7047817047817048, "repo_name": "viqueen/soundbounce", "id": "04239ab34a6780426e5b9efd920bcc8f998617d4", "size": "...
<?php namespace Intranet\MainBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Security\Core\SecurityContext; class SecurityController extends Controller { public function...
{ "content_hash": "2af8f4d66f7bcdab0d95fc8c4b4fbba8", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 90, "avg_line_length": 31.28301886792453, "alnum_prop": 0.6507840772014475, "repo_name": "oligarch777/intranet", "id": "1c4a12168f6d07b1c12a08adcaa5e39e24424f7e", "size": "...
<?php namespace Phalcon\Traits; use Traversable; use InvalidArgumentException; /** * Phalcon\Traits\ConfigurableTrait * * Allows to define parameters which can be set by passing them to the class constructor. * These parameters should be defined in the `$configurable` array. * * @property array $configurable...
{ "content_hash": "4f624860c1d5b4db421f20d20f134914", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 114, "avg_line_length": 24, "alnum_prop": 0.5888364779874213, "repo_name": "mobeen122/Masjidsystem", "id": "353e98fbc69ed0a77a33a657495f526a027efe0d", "size": "2355", "bi...
/////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2001, Eric D. Friedman All Rights Reserved. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foun...
{ "content_hash": "b690f1d85050ca8837f8e6534980ad60", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 86, "avg_line_length": 34.14, "alnum_prop": 0.6346416715485257, "repo_name": "jgaltidor/VarJ", "id": "f6a321079d36402d6aa602a8c79bcbe514352215", "size": "5121", "binary"...
require "spec_helper" RSpec.describe PgParty::Adapter::PostgreSQLMethods do let(:decorator) { instance_double(PgParty::AdapterDecorator) } let(:adapter_class) do Class.new do include PgParty::Adapter::PostgreSQLMethods end end before do allow(PgParty::AdapterDecorator).to receive(:new).with(...
{ "content_hash": "06a485bcb11a8d1aea318f28ad583c15", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 112, "avg_line_length": 30.380116959064328, "alnum_prop": 0.6746871992300288, "repo_name": "rkrage/pg_party", "id": "6a5ad98ee0189252f416f67be2b9e67d50637496", "size": "52...
/* */ var Tokenizer = require("./Tokenizer"); var formTags = { input: true, option: true, optgroup: true, select: true, button: true, datalist: true, textarea: true }; var openImpliesClose = { tr: { tr: true, th: true, td: true }, th: {th: true}, td: { thead: true, td: true ...
{ "content_hash": "1dcfbfb8706501b98fd867ecd9f27339", "timestamp": "", "source": "github", "line_count": 279, "max_line_length": 144, "avg_line_length": 26.630824372759857, "alnum_prop": 0.6394347240915209, "repo_name": "npelletm/np-jdanyow-skeleton-navigation", "id": "8370ce953dfaffd587eed711ea17ecc8...
$(window).scroll(function() { if ($(".navbar").offset().top > 50) { $(".navbar-fixed-top.transform").addClass("top-nav-collapse"); } else { $(".navbar-fixed-top.transform").removeClass("top-nav-collapse"); } }); $('.navbar-nav').children().click(function () { var navbar = $('.navbar-mai...
{ "content_hash": "fcdb7391c1ff56d176221a836aa84174", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 109, "avg_line_length": 31.232876712328768, "alnum_prop": 0.47412280701754383, "repo_name": "andlju/swetugg-web", "id": "cca25981b9fb0d199a895f990be3f25cb7d519ed", "size":...
package com.dragon.proto; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.ChannelFuture; import io.netty.channel.EventLoopGroup; import io.netty.channel.nio.NioEventLoopGroup; import io.netty.channel.socket.nio.NioServerSocketChannel; public class ProtoServer { public static void main(String[] ar...
{ "content_hash": "b93212cfd655e76aa78f79dce445ea8f", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 80, "avg_line_length": 31.666666666666668, "alnum_prop": 0.7730994152046784, "repo_name": "dragonphoenix/proto-java-csharp", "id": "346f1b58d2aa86cacd14565623d51e4b36aa44d4",...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "6502a451fae193715f709169198c99b9", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 151, "avg_line_length": 35.56666666666667, "alnum_prop": 0.5820056232427366, "repo_name": "Redder/MTA-Train-Time", "id": "d290f148590b3cf70475fcf067842c95a7fba084", "size":...
package com.amazonaws.services.lambda.model; import com.amazonaws.AmazonServiceException; /** * <p> * You have exceeded your maximum total code size per account. * <a href="http://docs.aws.amazon.com/lambda/latest/dg/limits.html"> Limits </a> * * </p> */ public class CodeStorageExceededException exten...
{ "content_hash": "2440d88c2188edb34c549fde6e7b0e72", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 81, "avg_line_length": 25.065217391304348, "alnum_prop": 0.6279271465741544, "repo_name": "mhurne/aws-sdk-java", "id": "39076809b13033bcb3f0f0ed0a8c4bf949cfd1f4", "size": "...
from highcharts.views.bar import HighChartsBarView # noqa from highcharts.views.line import HighChartsLineView # noqa from highcharts.views.area import HighChartsAreaView # noqa
{ "content_hash": "809c6174e7526e62721400b8cb4bd0ab", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 60, "avg_line_length": 60.333333333333336, "alnum_prop": 0.8342541436464088, "repo_name": "vivek8943/django-highcharts", "id": "0a34164cb17f43f1ad83539f56dadb61b43b03c2", "s...
<?xml version="1.0" encoding="UTF-8" ?> <class name="PinJoint2D" inherits="Joint2D" category="Core" version="3.0.alpha.custom_build"> <brief_description> Pin Joint for 2D Shapes. </brief_description> <description> Pin Joint for 2D Rigid Bodies. It pins 2 bodies (rigid or static) together, or a single body to a f...
{ "content_hash": "45c12fbaa1238de7babe9d82d2b18211", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 124, "avg_line_length": 27.166666666666668, "alnum_prop": 0.6768916155419223, "repo_name": "ageazrael/godot", "id": "009b0ec2f29da0be1d536c19d422c60d2e4ff88b", "size": "978...
extern "C" { #include <sys/types.h> } #include <iostream> #include <atf-c++.hpp> #include "utils/defs.hpp" using utils::auto_array; namespace { /// Mock class to capture calls to the new and delete operators. class test_array { public: /// User-settable cookie to disambiguate instances of this class. in...
{ "content_hash": "c8156f0d73c985d3d90d292e24d69fdc", "timestamp": "", "source": "github", "line_count": 286, "max_line_length": 76, "avg_line_length": 24.6993006993007, "alnum_prop": 0.5857870894677236, "repo_name": "veritas-shine/minix3-rpi", "id": "ade8c5e7b9e02813e19f16903b9231de89c78fdd", "size...
package org.apache.sysml.parser; import java.util.ArrayList; import java.util.HashMap; public class FunctionCallIdentifier extends DataIdentifier { private ArrayList<ParameterExpression> _paramExprs; private FunctCallOp _opcode; // stores whether internal or external private String _namespace; // namespace ...
{ "content_hash": "2f7a9a2c1f9a287e80336887a3dcda3c", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 157, "avg_line_length": 34.42162162162162, "alnum_prop": 0.7157663316582915, "repo_name": "gweidner/incubator-systemml", "id": "419bc81653d4919f1be8846bfc4710a01afc8a98", ...
import * as dom from './dom.js'; /** * Returns true if keyCode represents a printable character * @param {Number} keyCode * @return {Boolean} */ export function isPrintableChar(keyCode) { return ((keyCode == 32) || //space (keyCode >= 48 && keyCode <= 57) || //0-9 (keyCode >= 96 && keyCode <= 111) || //nump...
{ "content_hash": "646fcdac3620396525cbb876fe1cd5d6", "timestamp": "", "source": "github", "line_count": 748, "max_line_length": 130, "avg_line_length": 24.15106951871658, "alnum_prop": 0.6370329366177692, "repo_name": "IntexSoft/handsontable", "id": "c77edda07f8853a34c2d87c37dec72d6d6bd56c7", "size...
<?php use Illuminate\Contracts\Support\Htmlable; use Illuminate\Support\Arr; use Illuminate\Support\Collection; use Illuminate\Support\Env; use Illuminate\Support\HigherOrderTapProxy; use Illuminate\Support\Optional; if (! function_exists('append_config')) { /** * Assign high numeric IDs to a config item to ...
{ "content_hash": "0fd530b01c6ad1547105fffde9532ef9", "timestamp": "", "source": "github", "line_count": 548, "max_line_length": 88, "avg_line_length": 24.045620437956206, "alnum_prop": 0.49586400546406617, "repo_name": "jerguslejko/framework", "id": "632ee0369d7818f811eea9427e91b7c4556a8324", "size...
package org.opensaml.saml1.core.impl; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.opensaml.common.impl.AbstractSAMLObject; import org.opensaml.saml1.core.NameIdentifier; import org.opensaml.saml1.core.Subject; import org.opensaml.saml1.core.SubjectConfirmation; import...
{ "content_hash": "bcd81d778d7c86bf020ea136edb6bbde", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 113, "avg_line_length": 30.64, "alnum_prop": 0.7049608355091384, "repo_name": "Safewhere/kombit-service-java", "id": "997045e0945c1a2d64b35462bc993a2effc7dfb2", "size": "31...
package com.bourdi_bay.WindowsRemote; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothDevice; import android.content.Context; import android.content.SharedPreferences; import com.bourdi_bay.WindowsRemote.Communication.Bluetooth.BluetoothPreferences; import com.bourdi_bay.WindowsRemote.Inp...
{ "content_hash": "a3220b6fcb10e3739298091f33b83525", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 133, "avg_line_length": 43.18103448275862, "alnum_prop": 0.7883809143541625, "repo_name": "bourdibay/WindowsRemote", "id": "1fef3426df7fd01be94934e0879704981924037e", "siz...
package com.tiny.demo.firstlinecode.ui.view; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.ProgressBar; import com.tiny.demo.first...
{ "content_hash": "a9f8165da78afe3559ab436e13ea13f4", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 168, "avg_line_length": 38.803030303030305, "alnum_prop": 0.6844982428738774, "repo_name": "tinyvampirepudge/Android_Basis_Demo", "id": "0bf843d3c7d4336ec97b21278135d625d479...
/** * Annotations and supporting classes for declarative cache management. * Hooked into Spring's cache interception infrastructure via * {@link org.springframework.cache.interceptor.CacheOperationSource}. */ @NonNullApi @NonNullFields package org.springframework.cache.annotation; import org.springframework.lang.N...
{ "content_hash": "13c0422189eb1cc211b3ceb8f255fd3a", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 71, "avg_line_length": 34.36363636363637, "alnum_prop": 0.8227513227513228, "repo_name": "spring-projects/spring-framework", "id": "0a53f33ac3b4000eec3484ac5098ee85932eac6c",...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "432fb49d9eaf5c51f2bd3ae262ba73e6", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "7e9e2c5155917945f77048e7582110af74c9ae64", "size": "21...
package org.kuali.kfs.module.cam.businessobject; import static org.kuali.kfs.module.cam.CamsPropertyConstants.AssetPaymentDetail.ACCOUNT_NUMBER; import static org.kuali.kfs.module.cam.CamsPropertyConstants.AssetPaymentDetail.AMOUNT; import static org.kuali.kfs.module.cam.CamsPropertyConstants.AssetPaymentDetail.CHART...
{ "content_hash": "ef98d15a3865f9ec1bd1ad6d849876b9", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 154, "avg_line_length": 52.63636363636363, "alnum_prop": 0.7979274611398963, "repo_name": "Ariah-Group/Finance", "id": "c6df5d50597f3380d062ee012774aab90e8e7fbe", "size": "...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
{ "content_hash": "c0a71a40e2080b1f82e1c3bdb5d228d1", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 98, "avg_line_length": 43.27272727272727, "alnum_prop": 0.7071428571428572, "repo_name": "raisaurabh777/WPF", "id": "6ea70ff16b3f16c8f2a9a03ccb5d8f09d147c0bc", "size": "238...
var zrUtil = require('zrender/lib/core/util'); var graphic = require('../../util/graphic'); var formatUtil = require('../../util/format'); var layout = require('../../util/layout'); var echarts = require('../../echarts'); var VisualMapping = require('../../visual/VisualMapping'); module.e...
{ "content_hash": "3b284e396bae8439020e0f406e69a91b", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 103, "avg_line_length": 31.681818181818183, "alnum_prop": 0.4875999180159869, "repo_name": "angustas/company", "id": "af4407271d3b1e49c6061e5c7c7ee3cd6d83ad21", "size": "4...
package com.amazon.dtasdk.serializer; public class SerializationException extends Exception { private static final long serialVersionUID = -3095196341869438153L; public SerializationException(String message) { super(message); } public SerializationException(Throwable cause) { super(c...
{ "content_hash": "ff61fa4cd317b148d89895b1e04a83e4", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 71, "avg_line_length": 24.5, "alnum_prop": 0.7165532879818595, "repo_name": "amzn/amazon-instant-access-sdk-java", "id": "e63c6f71bec134c67c6a73ce7403b0956fa7f46d", "size":...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "6ba8c9b0b533bac148a4bf2b67ddec2e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "0118fb24855020a96b3d40a492a9daf0b8dd7566", "size": "194...
package org.apache.commons.net.util; import java.io.Serializable; import java.util.EventListener; import java.util.Iterator; import java.util.concurrent.CopyOnWriteArrayList; /** */ public class ListenerList implements Serializable, Iterable<EventListener> { private static final long serialVersionUID = -19342...
{ "content_hash": "84858e04f81a79de4faf713f05e75b7a", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 74, "avg_line_length": 22.96078431372549, "alnum_prop": 0.6660973526900086, "repo_name": "codolutions/commons-net", "id": "178f3ba4817823077719049cc1fa3433cc48e88a", "size"...
$:.push File.expand_path("../../../../vendor/addressable-2.2.6/lib", __FILE__) $:.push File.expand_path("../../../../vendor/libwebsocket-0.1.0/lib", __FILE__) require "addressable/uri" require "socket" require "libwebsocket" module WebSocket class SimpleClient def initialize(url, params = {}) ...
{ "content_hash": "a89c1a43a32db18b817296d5d863bee3", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 99, "avg_line_length": 19.430555555555557, "alnum_prop": 0.5253752680486061, "repo_name": "boblail/tsatsiki", "id": "c9bbc6d13b45288d9a1f0abc3a2b52857fa781fc", "size": "148...
package de.tum.in.schlichter.shoprx.importer; import android.content.ContentValues; import android.content.Context; import android.net.Uri; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import de.tum.in.schlichter.shoprx.R; import java.io.FileNotFoundException; import java.io.IO...
{ "content_hash": "0fb632d563f0756ff1d8783ace5b9451", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 222, "avg_line_length": 42.26548672566372, "alnum_prop": 0.5584170854271356, "repo_name": "Spieldichein/ShoprX", "id": "d743ed8c40efddad226b1d5bc3fa3fce9dfd1cc6", "size": ...
require 'test_helper' class CompaniesControllerTest < ActionController::TestCase setup do @company = companies(:company_1) end test "should get index" do get :index assert_response :success assert_not_nil assigns(:companies) end #test "should get new" do #get :new #assert_response :...
{ "content_hash": "543e4ccd5cb40bde661353f8e54891ac", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 144, "avg_line_length": 25.346938775510203, "alnum_prop": 0.6803542673107891, "repo_name": "TaxiDash/ServerV2", "id": "e69fb227f6c28b2478ba8b9d89ac48714c2946f4", "size": "1...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width" /> <link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" /> <title>Int...
{ "content_hash": "c20eec6abe9949c555fe8e89505b8988", "timestamp": "", "source": "github", "line_count": 859, "max_line_length": 159, "avg_line_length": 34.19557625145518, "alnum_prop": 0.614012391911214, "repo_name": "AzureZhao/android-developer-cn", "id": "4c477b6164da047872ae8589aee9523de05b8ae9", ...
#import "ORKOrderedTask.h" #import "ORKHelpers.h" #import "ORKVisualConsentStep.h" #import "ORKStep_Private.h" #import "ORKAnswerFormat_Internal.h" #import "ORKActiveStep.h" #import "ORKActiveStep_Internal.h" #import "ORKAudioStepViewController.h" #import "ORKWalkingTaskStepViewController.h" #import "ORKTappingInter...
{ "content_hash": "3a9876de0be6d0c87e407312002ee196", "timestamp": "", "source": "github", "line_count": 759, "max_line_length": 244, "avg_line_length": 48.01449275362319, "alnum_prop": 0.6402601322613396, "repo_name": "getaaron/zombie", "id": "0d7884f03e48c2dcd337af1d663b99a5cccf33ef", "size": "381...
#ifndef NANO_HTTP_RESPONSE_H #define NANO_HTTP_RESPONSE_H #include <nanohttp/nanohttp-stream.h> #include <nanohttp/nanohttp-common.h> #include <nanohttp/nanohttp-mime.h> /* response object */ typedef struct hresponse { http_version_t version; int errcode; char desc[RESPONSE_MAX_DESC_SIZE]; hpair_t *header; ...
{ "content_hash": "112e8b395517d81095c0b3f249fe28fd", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 72, "avg_line_length": 18.34285714285714, "alnum_prop": 0.721183800623053, "repo_name": "Exhar/open-one-time-password--credential-provider", "id": "622ef638d5ec7babf203ea589d...
<?php namespace NAE\PlateformBundle\DependencyInjection; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * This is the class that validates and merges configuration from your app/config files * * To learn more see {@link ht...
{ "content_hash": "4a9dcbc04e491da97600d08557c75370", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 131, "avg_line_length": 31.379310344827587, "alnum_prop": 0.6945054945054945, "repo_name": "Juba95/newart", "id": "5078ee980ffea7d7070bc5e03edb61b071c89ad9", "size": "910",...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>cs::geographic</title> <link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../../../index.html" title...
{ "content_hash": "9eff99e64fbbeaab87bbfe31bd6d807a", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 457, "avg_line_length": 53.983050847457626, "alnum_prop": 0.6086342229199372, "repo_name": "nawawi/poedit", "id": "172cf22f9899360da38cefbed41a4686df50d915", "size": "6370...
package cc.brino.Brpp; /** * * Classe principal do programa * * @author Mateus Berardo de Souza Terra * @contributors * @version 18/11/2016 */ import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.net.MalformedURLException; import java.net.URISyntaxException; impo...
{ "content_hash": "df41239a9c1c62dec8f9da548bdad2bc", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 89, "avg_line_length": 29.754716981132077, "alnum_prop": 0.7159162967660114, "repo_name": "StarFruitBrasil/Brino", "id": "8cf159bfe7e72ec22eaa3e7cdf9891767dcb99c9", "size"...
from nose.tools import * from tictactoe.ai_strategies.easy import Easy from tictactoe.game_board import GameBoard def easy_strategy_makes_any_opening_move_test(): ai = Easy("X", "O") board = GameBoard() move = ai.make_move(board) assert_equal(True, move in list(range(0, 9))) def easy_strategy_makes_mo...
{ "content_hash": "ff47dccbe657311ae3c1ec38bb7a0411", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 57, "avg_line_length": 29.130434782608695, "alnum_prop": 0.6268656716417911, "repo_name": "rickerbh/tictactoe_py", "id": "5fafd2cc86fc794c471809424b92edfe213a2f85", "size":...
package org.apache.syncope.client.console.panels; import java.io.Serializable; import java.util.Optional; import org.apache.commons.lang3.StringUtils; import org.apache.syncope.client.console.policies.PolicyRuleWrapper; import org.apache.syncope.client.console.reports.ReportletWrapper; import org.apache.syncope.clien...
{ "content_hash": "aab8621169dc534183ba82b2a399ca63", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 110, "avg_line_length": 37.530973451327434, "alnum_prop": 0.6374675784013204, "repo_name": "apache/syncope", "id": "5f8d8aff7b83317cbc832510805ffb03e86d1bb1", "size": "928...
/* This file contains all of the code running in the background that makes resumeBuilder.js possible. We call these helper functions because they support your code in this course. */ var HTMLbioPic = '<img src="%data%" alt="Picture of me">'; var HTMLheaderName = '<h1 id="name">%data%</h1>'; var HTMLheaderRole ...
{ "content_hash": "c3e99cf9819b5d76a913c271c508bfec", "timestamp": "", "source": "github", "line_count": 296, "max_line_length": 156, "avg_line_length": 39.75, "alnum_prop": 0.661907190209077, "repo_name": "Roozeppe/roozeppe.github.io", "id": "797614e74e69332db0c92cf205def63c55fff297", "size": "1176...
package org.apache.beam.sdk.testing; import static com.google.common.base.Preconditions.checkState; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.common.base.Optional; import com.google.common.base.Pr...
{ "content_hash": "9aee1a124de6ac594141321963d9e455", "timestamp": "", "source": "github", "line_count": 518, "max_line_length": 100, "avg_line_length": 36.29150579150579, "alnum_prop": 0.6983882121389435, "repo_name": "rangadi/incubator-beam", "id": "dfbd9b52a5f47eaff90cac471d4f047d149f6985", "size...
package hydra; import hydra.log.LogPrms; import java.io.*; import java.util.*; import perffmwk.*; import util.*; /** * This class acts as a handy place for logging results to files. */ public class ResultLogger { ////////////////////////////////////////////////////////////////////////////// // TASK RESUL...
{ "content_hash": "edda281534393482fcdd79645300be5e", "timestamp": "", "source": "github", "line_count": 316, "max_line_length": 134, "avg_line_length": 34.83860759493671, "alnum_prop": 0.5540012716868017, "repo_name": "SnappyDataInc/snappy-store", "id": "d6a37e9d4ffc43ea09d7a26157eead78ffa570b2", "...
module Piwik class VisitsSummary < ApiModule available_methods %W{ get getVisits getUniqueVisitors getActions getMaxActions getBounceCount getVisitsConverted getSumVisitsLength getSumVisitsLengthPretty } scoped_methods do def converted params ...
{ "content_hash": "b9cb6b6d185681e548e5b1e8139216fb", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 62, "avg_line_length": 21.849056603773583, "alnum_prop": 0.6217616580310881, "repo_name": "Monsido/piwik-ruby-api", "id": "e73160091be38fb864fab986461b524683818345", "size"...
namespace leveldb { void BlockHandle::EncodeTo(std::string* dst) const { // Sanity check that all fields have been set assert(offset_ != ~static_cast<uint64_t>(0)); assert(size_ != ~static_cast<uint64_t>(0)); PutVarint64(dst, offset_); PutVarint64(dst, size_); } Status BlockHandle::DecodeFrom(Slice* input) ...
{ "content_hash": "519db7dbd855bd4c31b23a8536f2ffe9", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 80, "avg_line_length": 31.33613445378151, "alnum_prop": 0.6288549208903191, "repo_name": "yuandaxing/leveldb", "id": "63971dbe9380c6d9424760216d18a13e4815946d", "size": "4...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script></head><body class="PopupSearchResultsPage" onLoad="NDOnLoad()"><script language=J...
{ "content_hash": "f2a875189b02ee46dd2618972eb96c30", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 851, "avg_line_length": 93.1, "alnum_prop": 0.7089151450053706, "repo_name": "lydianblues/jstree-rails", "id": "be1a17cb610c490629816d956a291d16f37ee82b", "size": "1862", ...
namespace shell { Tracer::Tracer() : tracing_(false), first_chunk_written_(false), trace_file_(nullptr) { } Tracer::~Tracer() { } void Tracer::Start(const std::string& categories, const std::string& duration_seconds_str, const std::string& filename) { trace_duration_secs_ ...
{ "content_hash": "933b0acfdf19e19c0252c007931f0fa2", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 80, "avg_line_length": 34.70666666666666, "alnum_prop": 0.6613522858240491, "repo_name": "collinjackson/mojo", "id": "329360a353cdf1dc10112ecbd620f1deef0b22bf", "size": "5...
package org.springframework.security.authentication; import org.springframework.security.core.AuthenticationException; /** * Base class for authentication exceptions which are caused by a particular user account * status (locked, disabled etc). * * @author Luke Taylor */ public abstract class AccountStatusExce...
{ "content_hash": "5adbfd054de7902cff9401fe4a39b263", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 89, "avg_line_length": 22.304347826086957, "alnum_prop": 0.7777777777777778, "repo_name": "rwinch/spring-security", "id": "f465f995d6ce055271f0e00d1a587f108ffa1cd3", "size"...
package leveldb import "github.com/kezhuw/leveldb/internal/batch" // Batch holds a collection of updates to apply atomatically to a DB. type Batch struct { batch batch.Batch } // Put adds a key/value update to batch. func (b *Batch) Put(key, value []byte) { b.batch.Put(key, value) } // Delete adds a key deletion ...
{ "content_hash": "73d721c043b84d4522d216a05590f043", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 69, "avg_line_length": 19.129032258064516, "alnum_prop": 0.684654300168634, "repo_name": "kezhuw/leveldb", "id": "ba5c34eadc1d1792ee81ac2eba78c9ea7c89897f", "size": "593", ...
from xml.etree import ElementTree import json import os import shutil from contextlib import contextmanager import logging from copy import deepcopy import validictory import build_steps import build_steps_local import build_steps_predicates from xcode import XcodeProject LOG = logging.getLogger(__name__) @contextm...
{ "content_hash": "eda608c9e0db9558331e484a7b0265ac", "timestamp": "", "source": "github", "line_count": 455, "max_line_length": 182, "avg_line_length": 47.74285714285714, "alnum_prop": 0.6826865534226396, "repo_name": "mnaughto/trigger-statusbar", "id": "aabe67a6ce3fae762b01518426100a3027c27f6b", "...
import VXC = require("./VXComponent"); import VXO = require("./VXObject"); import VXM = require("./VXMenu"); import V = require("./VCL"); export declare class TListbox extends VXC.TComponent { items: VXO.TCollection<TListboxItem>; createItem(value: string, text?: string): TListboxItem; onChanged: (sender: T...
{ "content_hash": "5527ea8ccbb713e408e8c8d4f3289a9c", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 89, "avg_line_length": 29.45098039215686, "alnum_prop": 0.6857523302263648, "repo_name": "vclteam/VCL.JS", "id": "1ff36c0343aca7c7daec338f6aec6434d070a06c", "size": "1502",...
""" This is a simple Python GTK+3 TreeView selection snippet. See: http://python-gtk-3-tutorial.readthedocs.org/en/latest/treeview.html """ from gi.repository import Gtk as gtk # Countries, population (as in 2015) and continent. DATA_LIST = [("China", 1370130000, "Asia"), ("India", 1271980000, "Asia"), ...
{ "content_hash": "2278e7b07fed76381796efc1bfb1f1f2", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 188, "avg_line_length": 38.18181818181818, "alnum_prop": 0.6365079365079365, "repo_name": "jeremiedecock/snippets", "id": "01fb3e7a735eb66d632850369d68dcc665fcb565", "size"...
module.exports = { // disbable logging for testing logging: false };
{ "content_hash": "dbeec651ec20890db0ece0844e208e6f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 33, "avg_line_length": 18, "alnum_prop": 0.6944444444444444, "repo_name": "jkennedy3161/Book-Save", "id": "bb62cab67462f922a5faabc2999b29f4fd401ca4", "size": "72", "binary...
package com.hazelcast.internal.eviction; import com.hazelcast.spi.eviction.EvictableEntryView; /** * Interface for entries, records or whatever that can be evictable via its accessor (key or ID). * * @param <A> Type of the accessor * @param <E> Type of the {@link Evictable} value */ public interface EvictionCa...
{ "content_hash": "ba67e0bbb79bdc9cb5c25537b9280ee3", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 97, "avg_line_length": 26.5, "alnum_prop": 0.6654088050314465, "repo_name": "mesutcelik/hazelcast", "id": "6d6abb3c2f38fffdcd573d5e345ebd4b63d1aeb3", "size": "1420", "bin...
.. _all-salt.thorium: =============== thorium modules =============== .. currentmodule:: salt.thorium .. autosummary:: :toctree: :template: autosummary.rst.tmpl calc check file key local reg runner status timer wheel
{ "content_hash": "bb035ad68865d275c2092b24b179af48", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 35, "avg_line_length": 12.227272727272727, "alnum_prop": 0.5278810408921933, "repo_name": "saltstack/salt", "id": "6d1396490d6db678c7ffc17d4aeb7882534fc76d", "size": "269",...
<?xml version="1.0" standalone="no"?> <!-- Openbizx Cubi Application Platform LICENSE http://code.google.com/p/openbiz-cubi/wiki/CubiLicense Copyright (c) 2005-2011, Openbiz Technology LLC Version $Id: UserWidgetDO.xml 3365 2012-05-31 06:07:55Z rockyswen@gmail.com $ --> <BizDataObj Name="UserWidgetDO" Descripti...
{ "content_hash": "c2112bd88d8709104302f980774f5501", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 239, "avg_line_length": 58.55882352941177, "alnum_prop": 0.6760421898543445, "repo_name": "openbizx/cubix", "id": "5020fa33d71abd9f09f060089e16641ffadaf19b", "size": "1991"...
namespace boost_no_long_long = empty_boost; #endif int main( int, char *[] ) { return boost_no_long_long::test(); }
{ "content_hash": "74a842633750ba949b3ca4806faae5db", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 43, "avg_line_length": 15.125, "alnum_prop": 0.6446280991735537, "repo_name": "ynov/nwg", "id": "2233b376b95ff3a46a7326974f07b7e10d477630", "size": "1059", "binary": false...
{% extends "base.html" %} {% load url from future %} {% block title %} PCAP Detail {% endblock %} {% block content %} <script> var pcap_md5 = "{{ pcap.md5 }}"; </script> {% if pcap %} <div id="tabnav" class="tabnav" style="font-size:90%;"> <ul style="font-size: 125%;"> <li><a href="#details_section" id=...
{ "content_hash": "512f838ea56ebc1b0bdf1582ab3fbb2d", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 196, "avg_line_length": 32.80882352941177, "alnum_prop": 0.5069475571492604, "repo_name": "DukeOfHazard/crits", "id": "636606dcd3a3879b24aef8c8a19bb208b071c194", "size": "...
Ext.define('My.Util.SomeClass', { })
{ "content_hash": "c92c971ac68630673ee8d7294acdf92e", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 33, "avg_line_length": 20.5, "alnum_prop": 0.5853658536585366, "repo_name": "OhmzTech/AppInspector", "id": "004f1db5bea866ae348cb268a6d1cefca1c2af0a", "size": "88", "binar...
namespace Google.Cloud.AppEngine.V1.Snippets { // [START appengine_v1_generated_Applications_GetApplication_async] using Google.Cloud.AppEngine.V1; using System.Threading.Tasks; public sealed partial class GeneratedApplicationsClientSnippets { /// <summary>Snippet for GetApplicationAsync</s...
{ "content_hash": "ad239a146ccbc3931ce5862c61cc9d31", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 105, "avg_line_length": 48.07142857142857, "alnum_prop": 0.6842496285289748, "repo_name": "googleapis/google-cloud-dotnet", "id": "b99620963cd41cc1610c32a5d51952d7dde139c5", ...
/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ var parentJsonpFunction = window["webpackJsonp"]; /******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules) { /******/ // add "moreModules" to the modules object, /******/ ...
{ "content_hash": "eae1f5712ef1a405e3250643907a9117", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 275, "avg_line_length": 39.067961165048544, "alnum_prop": 0.5524353876739563, "repo_name": "cod3rkane/project", "id": "69dffa06817f1a4b6ed2160e9f027de84ce1843c", "size": "...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration PUBLIC "-//APACHE//DTD LOG4J 1.2//EN" "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> <!-- Appenders --> <appender name="console" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out" ...
{ "content_hash": "2d64f6c74a3f8038fc715037c903ef59", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 80, "avg_line_length": 25.4390243902439, "alnum_prop": 0.6529242569511026, "repo_name": "Cayan-LLC/developer-docs", "id": "a09fffb2d43b0a85017ba504a66b0c49d380df6f", "size"...
FROM balenalib/beaglebone-black-debian:bullseye-run # remove several traces of debian python RUN apt-get purge -y python.* # http://bugs.python.org/issue19846 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 # install python dependencies RUN a...
{ "content_hash": "9ee02cd993a4e10e9c195a6515e38d8c", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 711, "avg_line_length": 52.35897435897436, "alnum_prop": 0.7083741429970617, "repo_name": "nghiant2710/base-images", "id": "08669e03bb903e45cc5781d63dacc84d3591b3ed", "size...
package org.apache.kylin.source.hive; import org.apache.kylin.shaded.com.google.common.collect.ImmutableList; import org.apache.kylin.common.KylinConfig; import org.apache.kylin.job.common.PatternedLogger; import org.apache.kylin.job.constant.ExecutableConstants; import org.apache.kylin.job.exception.ExecuteExceptio...
{ "content_hash": "f6f00a268ef636c45999bd7d14388772", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 120, "avg_line_length": 42.517857142857146, "alnum_prop": 0.6761864762704746, "repo_name": "apache/kylin", "id": "b6730923afa5c9ab804c067be2d424594807dd93", "size": "5567"...
/** * \file deq_rec.h * * Qpid asynchronous store plugin library * * This file contains the code for the mrg::journal::deq_rec (journal dequeue * record) class. See class documentation for details. * * \author Kim van der Riet */ #ifndef QPID_LEGACYSTORE_JRNL_DEQ_REQ_H #define QPID_LEGACYSTORE_JRNL_DEQ_REQ_...
{ "content_hash": "f9434159cd769b232691b8ed25f2480a", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 92, "avg_line_length": 33.345238095238095, "alnum_prop": 0.623348803998572, "repo_name": "gregerts/debian-qpid-cpp", "id": "d870b658da6d2984e5d18b7148981cd2467cb933", "size...
module Twilio module TaskRouter class Capability TASK_ROUTER_BASE_URL = 'https://taskrouter.twilio.com' TASK_ROUTER_VERSION = 'v1' TASK_ROUTER_WEBSOCKET_BASE_URL = 'https://event-bridge.twilio.com/v1/wschannels' REQUIRED = {required: true} OPTIONAL = {required: false} def in...
{ "content_hash": "a6f5ff720c5de232ab7b173b5885bd91", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 90, "avg_line_length": 26.862068965517242, "alnum_prop": 0.5708172871202396, "repo_name": "sai43/twilio-ruby", "id": "2f11ab88cb515dbdc8882f211d74858921f8ab89", "size": "23...
type browserType = typeof import("./resolve-targets-browser"); type nodeType = typeof import("./resolve-targets"); // Kind of gross, but essentially asserting that the exports of this module are the same as the // exports of index-browser, since this file may be replaced at bundle time with index-browser. ({} as any a...
{ "content_hash": "59e5896a2f8b6e5e9bdcce728f5f20b9", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 95, "avg_line_length": 32.89795918367347, "alnum_prop": 0.7320099255583127, "repo_name": "ChromeDevTools/devtools-frontend", "id": "90a443ed3387fa6fa3e420bee7c6d427d5408ebd",...
#ifndef __STEPMOTOR_H #define __STEPMOTOR_H #include "stm32f10x.h" void MOTOR_GPIO_Config(void); void PinSet(unsigned char xx); void Pin1Set(unsigned char xx); void Pin2Set(unsigned char xx); void Pin3Set(unsigned char xx); void Pin4Set(unsigned char xx); void PinRST(void); void PinRSTL(void); void PinRSTR(void); v...
{ "content_hash": "b7e5ba0c4ec1f38077bf96cc677145dd", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 31, "avg_line_length": 19.3, "alnum_prop": 0.7288428324697754, "repo_name": "Google1234/ICT_LaboratoryProject_STM32", "id": "4c347f1293f8cd05787e816e017d476a7365bfca", "siz...
package mongodb import ( "log" "net/url" "time" "github.com/influxdata/telegraf" "gopkg.in/mgo.v2" "gopkg.in/mgo.v2/bson" ) type Server struct { Url *url.URL Session *mgo.Session lastResult *MongoStatus } func (s *Server) getDefaultTags() map[string]string { tags := make(map[string]string) tags...
{ "content_hash": "ece8b98ecd6ab182a3c889bff4364104", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 98, "avg_line_length": 23.814285714285713, "alnum_prop": 0.6802639472105579, "repo_name": "titilambert/telegraf", "id": "e4213bbafc2ff41c4747cca7ca5c30e75f735007", "size": ...
package com.abdroid.wps2; import android.app.AlertDialog; import android.app.Service; import android.content.Context; import android.content.Intent; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.IBinder; ...
{ "content_hash": "cf50128124d6d4bc5ded71bd724c1275", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 158, "avg_line_length": 26.06779661016949, "alnum_prop": 0.6280884265279584, "repo_name": "rammohanmishra/advgps", "id": "e1804751a93e5f67fbbf54e94d76e41bc00a6bfc", "size"...
A semi-interactive art exhibit by Parallelograms 1. Install Meteor (https://www.meteor.com/install) 2. Clone repo 3. In root directory of repo ```$ meteor``` 4. Navigate to localhost:3000/{{artist-last-name}}/interface and localhost:3000/{{artist-last-name}}/display
{ "content_hash": "6da0c8ab5fcac8efdd14b11dd837c6f0", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 108, "avg_line_length": 44.666666666666664, "alnum_prop": 0.753731343283582, "repo_name": "zacparker/parallelograms", "id": "2c6f329d6c6fdec3b1559c615c463fe474f63971", "size...