text
stringlengths
2
1.04M
meta
dict
#endregion namespace Dynastream.Fit { /// <summary> /// Implements the profile TimerTrigger type as an enum /// </summary> public enum TimerTrigger : byte { Manual = 0, Auto = 1, FitnessEquipment = 2, Invalid = 0xFF } }
{ "content_hash": "0530caaff5c6131f5c79dbac84a21370", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 58, "avg_line_length": 16.555555555555557, "alnum_prop": 0.5201342281879194, "repo_name": "mikekov/CycleTrainer", "id": "1c34b09fe6e8d1b86375df6fd4e42c99de20258d", "size": ...
package net.arnx.wmf2svg.gdi.svg; import net.arnx.wmf2svg.gdi.GdiPalette; class SvgPalette extends SvgObject implements GdiPalette { private int version; private int[] entries; public SvgPalette( SvgGdi gdi, int version, int[] entries) { super(gdi); this.version = version; this.entries...
{ "content_hash": "0613500db2c67ba37c1f892be339540a", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 59, "avg_line_length": 18, "alnum_prop": 0.6622222222222223, "repo_name": "hidekatsu-izuno/wmf2svg", "id": "b607383e3c186783f1485a100e72c0169204376f", "size": "450", "bin...
FROM balenalib/intel-nuc-ubuntu:eoan-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 apt-get upda...
{ "content_hash": "68080ff0e7f901f6de7c17cbe0df5736", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 722, "avg_line_length": 51.94871794871795, "alnum_prop": 0.7070582428430404, "repo_name": "nghiant2710/base-images", "id": "57f6a8355c0dde99c055bb4ad7abde93fd89195e", "size...
package net.glowstone.entity; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import com.flowpowered.network.Message; import java.util.LinkedList; import java.util.List; import java.util.Random; import java.util.Set; import java.util.U...
{ "content_hash": "bac1f2af0320b783b35ffc275969958a", "timestamp": "", "source": "github", "line_count": 616, "max_line_length": 100, "avg_line_length": 31.76948051948052, "alnum_prop": 0.630148185998978, "repo_name": "GlowstoneMC/GlowstonePlusPlus", "id": "97bf747983ce0c177aa71bdf0767eb25e0caf7b3", ...
from osext.test import pushdtest import unittest suite = unittest.TestLoader().loadTestsFromModule(pushdtest) unittest.TextTestRunner(verbosity=2).run(suite)
{ "content_hash": "87d8b07c6b9c6211ecf301d88d83599e", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 60, "avg_line_length": 31.8, "alnum_prop": 0.8364779874213837, "repo_name": "Appdynamics/python-osext", "id": "bbe168afde05e986a6ef7bd9c9d8fb93ec99525d", "size": "159", "b...
package subchal import ( "os" "fmt" "time" "io/ioutil" "database/sql" "launchpad.net/goyaml" ) // A transfer from one route to another, or a turnaround, as included in a Walk. type Step struct { FromStation string `from_station` ToStation string `to_station` ToRoute string `to_rou...
{ "content_hash": "a506d98c299573f6c68d0d241f3a6aae", "timestamp": "", "source": "github", "line_count": 323, "max_line_length": 113, "avg_line_length": 30.71517027863777, "alnum_prop": 0.595706078016329, "repo_name": "danslimmon/subchal", "id": "99e95d8e21093b5eaea897cc5b67e4b6b1492211", "size": "9...
import re import json from tastypie.serializers import Serializer class CamelCaseJSONSerializer(Serializer): """ Python/javascript casing interop. """ formats = ['json'] content_types = { 'json': 'application/json', } def to_json(self, data, options=None): # Changes under...
{ "content_hash": "e416eb28ded9a278b0c9dde3acbc2237", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 76, "avg_line_length": 30.544117647058822, "alnum_prop": 0.5459797785267212, "repo_name": "timrlaw/bandsoc", "id": "7b5ea25f7a35a4ed57a61b7f2dff1795536484bd", "size": "2077...
require 'action_mailer' require 'active_support/core_ext/hash' # for slice require 'file_mover/base' require 'file_mover/sink' require 'file_mover/utils' module FileMover # Sends files in as Mail via SMTP # # Required params: # * :from # * :to # * :subject # # The following SMTP params must be set unl...
{ "content_hash": "4f36977d91ecf98b33ab796cbf17733b", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 99, "avg_line_length": 26.072164948453608, "alnum_prop": 0.6362198497429814, "repo_name": "tsonntag/file_mover", "id": "b6600064fcd8faea05b3c9a8f6a5f6f5bb00892e", "size": "...
package com.evolveum.midpoint.repo.api; import java.util.Collection; import java.util.List; import com.evolveum.midpoint.prism.Containerable; import com.evolveum.midpoint.prism.PrismObject; import com.evolveum.midpoint.prism.delta.ItemDelta; import com.evolveum.midpoint.prism.query.ObjectQuery; import com.evolveum.m...
{ "content_hash": "baffef83dd902456f614cfdb5d7dd207", "timestamp": "", "source": "github", "line_count": 560, "max_line_length": 172, "avg_line_length": 41.71071428571429, "alnum_prop": 0.714102234780375, "repo_name": "PetrGasparik/midpoint", "id": "15d77d778309de864b8e30ad5367c42df652b413", "size":...
<?php namespace Budbee\Model; use \JsonSerializable; /** * @author Nicklas Moberg */ class OrderInterval implements JsonSerializable { static $dataTypes = array( 'collection' => '\Budbee\Model\Interval', 'delivery' => '\Budbee\Model\Interval' ); /** * Collection interval * @v...
{ "content_hash": "3c12f49b6a26bbbde43935e3132a440c", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 115, "avg_line_length": 19.833333333333332, "alnum_prop": 0.602641056422569, "repo_name": "LybeAB/Lybe_Budbee", "id": "8bfa1e168ea0482c6a44438d6c723bf61a447fb0", "size": "1...
const expect = require('unexpected'); const http = require('http'); const messy = require('messy'); const errors = require('../lib/errors'); const OrderedMockStrategy = require('../lib/mockstrategies/OrderedMockStrategy'); const UnexpectedMitmMocker = require('../lib/UnexpectedMitmMocker'); function consumeResponse(r...
{ "content_hash": "e13dd373593663a976a68df122e65372", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 90, "avg_line_length": 31.370786516853933, "alnum_prop": 0.5807664756446992, "repo_name": "unexpectedjs/unexpected-mitm", "id": "c4bba3342c58411fe7a1f54a1b1a37733fef20fc", ...
'use strict'; /** * @ngdoc directive * @name izzyposWebApp.directive:adminPosHeader * @description * # adminPosHeader */ app.directive('sidebarSearch', function () { return { templateUrl: 'scripts/directives/sidebar/sidebar-search/sidebar-search.html', restrict: 'E', replace: true, scope: { ...
{ "content_hash": "c0825a30b3ff1fc18baabc3ac0192caf", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 81, "avg_line_length": 19.523809523809526, "alnum_prop": 0.6365853658536585, "repo_name": "thiMuniz/tcc_frontEnd", "id": "7a8e91124d476b7d236c96041f69a69d654c6d2b", "size":...
package org.wso2.carbon.governance.registry.eventing.internal; import javax.servlet.http.HttpServletRequest; import org.wso2.carbon.registry.core.Registry; import org.wso2.carbon.registry.core.RegistryConstants; import org.wso2.carbon.registry.core.service.RegistryService; import org.wso2.carbon.registry.core.except...
{ "content_hash": "be778e45c41289a1206984aec85031f1", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 104, "avg_line_length": 33.35064935064935, "alnum_prop": 0.7858255451713395, "repo_name": "Niranjan-K/carbon-governance", "id": "a3368559bcfbb4d3673c54af5a829d96416c1a63", ...
 #pragma once #include <aws/snowball/Snowball_EXPORTS.h> #include <aws/core/client/AWSErrorMarshaller.h> namespace Aws { namespace Client { class AWS_SNOWBALL_API SnowballErrorMarshaller : public Client::JsonErrorMarshaller { public: Client::AWSError<Client::CoreErrors> FindErrorByName(const char* exceptionName)...
{ "content_hash": "113035d6f32d11bd2b69429a70709a2d", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 97, "avg_line_length": 19.2, "alnum_prop": 0.7760416666666666, "repo_name": "svagionitis/aws-sdk-cpp", "id": "073d028951fd938109c8945788687a23ca83083e", "size": "957", "b...
package client type ( // DaemonSetInterface has methods to work with DaemonSet resources. DaemonSetInterface interface { CreateDaemonSet(namespace string, item *DaemonSet) (*DaemonSet, error) GetDaemonSet(namespace, name string) (result *DaemonSet, err error) ListDaemonSets(namespace string, opts *ListOptions)...
{ "content_hash": "6d27871df60f014c03fb055c8e452c4b", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 146, "avg_line_length": 42.01538461538462, "alnum_prop": 0.7605272793848408, "repo_name": "pulcy/ha-redis", "id": "ac8a92480904a44e6f1974a2b50214cf5d1a4651", "size": "2733"...
package com.atlassian.svn2git import java.io.ByteArrayInputStream import org.specs2.mutable class AuthorsTest extends mutable.Specification { def parseUserXml(xml: String, expected: String*) = { val authors = Authors.parseUserXml(new ByteArrayInputStream(xml.getBytes)) authors.toSet must equalTo(expected.t...
{ "content_hash": "8bda4c6853ad0be0a5f574200bba0a75", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 167, "avg_line_length": 36.09090909090909, "alnum_prop": 0.6423173803526449, "repo_name": "cjwilburn/svn-migration-scripts", "id": "6a90c8a852396beade170d0f05a715592631f50d",...
'use strict'; var builder = require('./lib/builder'); var header = require('./lib/header'); var chrono = require('./lib/chrono'); var optionsChecker = require('./lib/options.checker'); function find(str,cha,num){ var x=str.indexOf(cha); for(var i=0;i<num;i++){ x=str.indexOf(cha,x+1); } return x; } function...
{ "content_hash": "ad32200e6f7c2138d2a2d3ef7f2e0118", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 93, "avg_line_length": 29.06756756756757, "alnum_prop": 0.6559739655973965, "repo_name": "OSMeteor/expressjs-metrics", "id": "509c0906be647b5db4bfce6059b31ef9135d806b", "s...
// // This file demonstrates how to initialize EGL in a Windows Store app, using ICoreWindow. // #include "pch.h" #include <WindowsNumerics.h> using namespace Windows::ApplicationModel::Core; using namespace Platform; using namespace HologramJS; void RunLocalSimple() { // Run a basic HoloJS app auto holoJsA...
{ "content_hash": "c9e79f4404fe76aa064842c8d0843483", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 136, "avg_line_length": 35.39655172413793, "alnum_prop": 0.7569410618606917, "repo_name": "sjando/HoloJS", "id": "2cada9486094cd370d6f4010a74b4a163ad83c69", "size": "2055",...
package 'kali-linux-rfid' do timeout node['kali']['apt_timeout'] action :upgrade if node['kali']['upgrade'] end
{ "content_hash": "77b6a25344e7597359171ddeb6593b0b", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 44, "avg_line_length": 29, "alnum_prop": 0.6896551724137931, "repo_name": "sliim-cookbooks/kali", "id": "365d12e71ffdbca7c048d3bcac82855db0bec3e1", "size": "695", "binary"...
package com.clem.ipoca1.core.util.flattr; /* SimpleFlattrThing is a trivial implementation of the FlattrThing interface */ public class SimpleFlattrThing implements FlattrThing { public SimpleFlattrThing(String title, String url, FlattrStatus status) { this.title = title; this.url = url; ...
{ "content_hash": "801350cfdd19412f6de2684a2d70b8d9", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 80, "avg_line_length": 22.033333333333335, "alnum_prop": 0.653555219364599, "repo_name": "narakai/DemoApp2", "id": "b2a3cfc2b2af7d31a4510984e6924457690fc0e1", "size": "661"...
<?php namespace app\models\query; use yii\db\ActiveQuery; /** * This is the ActiveQuery class for [[\entity\UserProvider]] * * @see \entity\UserProvider */ class UserProviderQuery extends ActiveQuery { /** * Select by type of provider * * @param int $type * @param string $profileId *...
{ "content_hash": "45f2f649613546ab0bbbd541eb049dfc", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 71, "avg_line_length": 20.615384615384617, "alnum_prop": 0.6175373134328358, "repo_name": "rkit/bootstrap-yii2", "id": "c2451761f097574f4d5f046985eace8a3447a850", "size": "...
layout: post title: Sample post --- We will write some stuff here about our progress and what not.
{ "content_hash": "ab8561705fb853e2da599bf2e2932c41", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 62, "avg_line_length": 20, "alnum_prop": 0.75, "repo_name": "yumaikas/FGCU-SoftwareEngineeringProject.github.io", "id": "692b62a1105a1167e14a604017baeb8c71289cac", "size": "...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Unsubscription from {{ newsletter.title }}</title> </head> <body> Dear {{ subscription.name }}, you, or someone in yo...
{ "content_hash": "22be88254f3f5c3cb2849f61771fb220", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 85, "avg_line_length": 29.6, "alnum_prop": 0.6976351351351351, "repo_name": "w8s/alleghenypilgrims", "id": "8780eca9297283eaeea28935ac7845abb89fd6df", "size": "592", "bin...
require "helper" require "gapic/grpc/service_stub" require "google/cloud/retail/v2/product_service_pb" require "google/cloud/retail/v2/product_service_services_pb" require "google/cloud/retail/v2/product_service" class ::Google::Cloud::Retail::V2::ProductService::ClientTest < Minitest::Test class ClientStub at...
{ "content_hash": "c6a2d4e8bc25da321ddfe62a0b55504c", "timestamp": "", "source": "github", "line_count": 799, "max_line_length": 343, "avg_line_length": 44.51063829787234, "alnum_prop": 0.6926105050050613, "repo_name": "googleapis/google-cloud-ruby", "id": "69697c5c060f456b512f2d3d6d6dbc31196f248c", ...
import abc from supriya.tools.systemtools.SupriyaObject import SupriyaObject class BindingSource(SupriyaObject): ### CLASS VARIABLES ### __slots__ = () ### INITIALIZER ### @abc.abstractmethod def __init__(self, output_range=None): from supriya.tools import synthdeftools self._b...
{ "content_hash": "fd4b689204d87ad311e31b6ad0512283", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 65, "avg_line_length": 25.047619047619047, "alnum_prop": 0.6026615969581749, "repo_name": "andrewyoung1991/supriya", "id": "d576a8374b3a1dc57a3a9c939da1bffbcdbc6cdb", "size...
""" Surrogate model classes for Bayesian strategy. These are separate from the strategy classes which just operate the models. """ from __future__ import print_function, absolute_import, division import numpy as np try: from GPy import kern from GPy.kern import RBF, Fixed, Bias from GPy.util.linalg impo...
{ "content_hash": "7a6524e1dbdfddf1e2f99b126df92b39", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 115, "avg_line_length": 34.529411764705884, "alnum_prop": 0.6115843270868825, "repo_name": "msmbuilder/osprey", "id": "8590fd9bdbe386e0be74f196569e35f283c4d609", "size": "...
<?php namespace LEM_projet2\FrontBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class FrontBundle extends Bundle { }
{ "content_hash": "95ba9b896143aa5c409f3fb881f2793a", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 47, "avg_line_length": 14.333333333333334, "alnum_prop": 0.7984496124031008, "repo_name": "sandrahurteaux/Projet-PHP-Symfony", "id": "fbaa669bda817be1d3ba9b4185578d7d92e58bbc"...
from __future__ import unicode_literals import time import uuid import django.db.models.deletion import morango.models.fields.uuids from django.conf import settings from django.db import migrations from django.db import models class Migration(migrations.Migration): dependencies = [ migrations.swappable...
{ "content_hash": "bcda826bd17c92dee6c719efc70c300e", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 77, "avg_line_length": 29.523809523809526, "alnum_prop": 0.5233870967741936, "repo_name": "indirectlylit/kolibri", "id": "2b5b580ef9dfef550d23761176eb0350bc658a74", "size":...
'use strict'; angular.module('mpk').factory('cloudService', function($http, $log, $q, $timeout, cryptoService) { return { cloudAddress: 'http://localhost:8080', settings: {notLoaded: true, encryptionKey: 'my-random-key'}, loadSettings: function() { var settings = localStorage.getItem('myPersonalKanban.cloudS...
{ "content_hash": "9c14084cba85e9bb3ac74b769ad6c576", "timestamp": "", "source": "github", "line_count": 96, "max_line_length": 108, "avg_line_length": 31.71875, "alnum_prop": 0.6873563218390805, "repo_name": "mabotech/maboss-admin", "id": "14963165e14de82b62f7f3a1cec7c4012f5d73e3", "size": "3045", ...
#ifndef TH_GENERIC_FILE #define TH_GENERIC_FILE "generic/IndexLinear.c" #else #ifdef _OPENMP #include <omp.h> #endif /* Threshold used to trigger multithreading */ #ifndef THNN_SPARSE_OMP_THRESHOLD #define THNN_SPARSE_OMP_THRESHOLD 100000 #endif /* Threshold used to trigger BLAS axpy call */ #ifndef THNN_SPARSE_OUTD...
{ "content_hash": "7d870a8b1634f97c6542bb84319a84d7", "timestamp": "", "source": "github", "line_count": 742, "max_line_length": 181, "avg_line_length": 33.95148247978437, "alnum_prop": 0.5600587488091457, "repo_name": "AlexeySa/rspamd", "id": "42d8368ba44238646acdd2e712c82944d4231ca4", "size": "251...
using System; using GoFSamples.Patterns.Bridge.Interfaces; namespace GoFSamples.Patterns.Bridge { public class CorporateProgrammer : Programmer { public CorporateProgrammer(ILanguage lang) : base(lang) { } public override void EarnMoney() { Console.WriteLine("Получаем в конце месяца зарплату"); ...
{ "content_hash": "91d3fd87ae4de7924262d92d461bc6ef", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 57, "avg_line_length": 17.157894736842106, "alnum_prop": 0.7361963190184049, "repo_name": "SergeyKononovich/GoF", "id": "b1cae96137f74d4139e5462828a4ea1ea9514ae8", "size": ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "e2a0dcb78071ec7f6c8408ac98d58784", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "4b2cd3101ef9e005809781b92cbfb43e05b28ac9", "size": "190...
package com.android.zycojamie.coolweather.util; import okhttp3.OkHttpClient; import okhttp3.Request; /** * Created by zckya on 2017/4/19. */ public class HttpUtil { public static void sendOkHttpRequest(String address,okhttp3.Callback callback){ OkHttpClient client=new OkHttpClient(); Request re...
{ "content_hash": "2b4ea041ca0abe82a0803f7cc1e87c0e", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 83, "avg_line_length": 24.42105263157895, "alnum_prop": 0.6702586206896551, "repo_name": "zycoJamie/coolweather", "id": "d0f5c0ce3f7759dc8cdddb8b85d9d3e87c362142", "size": ...
<div class="mw-hide-on-request"> <div ng-if="modelCollectionIsRequesting" class="spinner-holder" mw-indefinite-loading></div> <div ng-if="!modelCollectionIsRequesting" class="content-holder" ng-transclude></div> </div>
{ "content_hash": "fcc386c1737e99c7b43b84605424cdfa", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 43, "avg_line_length": 31.25, "alnum_prop": 0.668, "repo_name": "mwaylabs/uikit", "id": "229f77d1d0a35329fad8caf9234d15d45b2a90d1", "size": "250", "binary": false, "copi...
/* */ var getNative = require('./_getNative'), root = require('./_root'); var Map = getNative(root, 'Map'); module.exports = Map;
{ "content_hash": "bad3f6f8d16a5140098be5f337cf6e78", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 40, "avg_line_length": 27, "alnum_prop": 0.6, "repo_name": "Imms/imms.github.io", "id": "19b749d21b0cc1ad528404bbe103e85fcb0da650", "size": "135", "binary": false, "copi...
@interface AboutViewController () @end @implementation AboutViewController - (void)viewDidLoad { [super viewDidLoad]; NSString *appVersion = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]; self.versionLabel.text = [@"Version " stringByAppendingString:appVersion]...
{ "content_hash": "22918b855761e8e7235e1f7b7e5efa56", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 111, "avg_line_length": 20.625, "alnum_prop": 0.7454545454545455, "repo_name": "rl1987/VLC-Controller", "id": "c2fe7beb25e39a532d71b00662f161e109d610b4", "size": "456", "...
{% extends "layout.html" %} {% block content %} {% if finished %} <div class="alert alert-info text-center" role="alert"> Congratulations, cameratrap turking is completed. Thank you! <br/> <a href="{{ url_for('turk_detection') }}?imgsetid={{ imgsetid }}">Continue by turking detections</a> </div> {%...
{ "content_hash": "22aed203cc8679fb55c14fedf992f141", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 172, "avg_line_length": 38.78378378378378, "alnum_prop": 0.556794425087108, "repo_name": "Erotemic/ibeis", "id": "841d3244a4e5ef120c9144fa7ec21dc61100fd0e", "size": "2870",...
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. add_flash_types :success, :warning, :danger, :info protect_from_forgery with: :exception before_action :authenticate_usuario! private def usuario_ad...
{ "content_hash": "6ca4833cd8288e094741926a7085d78e", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 58, "avg_line_length": 27.125, "alnum_prop": 0.7442396313364056, "repo_name": "AndersonOdilo/Adm_facil", "id": "1622d071643dd30f6afcafc485e3d91e8c7333c2", "size": "434", ...
using System; using System.ComponentModel.DataAnnotations; using Newtonsoft.Json; namespace Stardust.Continuum.Models { // Models used as parameters to AccountController actions. public class AddExternalLoginBindingModel { [Required] [Display(Name = "External access token")] publi...
{ "content_hash": "875229ad66fabcead9e7bf5a4d39d331", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 110, "avg_line_length": 32.214285714285715, "alnum_prop": 0.6223207686622321, "repo_name": "JonasSyrstad/Stardust.Interstellar.Rest", "id": "bd362d22b2c87dede5e4ce809f704ff36...
var async = require('async'); var childProcess = require('child_process'); var scClient = require('socketcluster-client'); var assert = require('assert'); var domain = require('sc-domain'); var scServer = childProcess.fork(__dirname + '/server.js'); var options = { protocol: 'http', hostname: '127.0.0.1', port:...
{ "content_hash": "185204b8cd7875376afcf1d08c6e0d42", "timestamp": "", "source": "github", "line_count": 354, "max_line_length": 124, "avg_line_length": 27.110169491525422, "alnum_prop": 0.49317495050536625, "repo_name": "crod93/googlePlacesEx-react-native", "id": "578315e822463844b33a26dc3fa9b78566da...
package com.dianping.cat.report.page.dependency.graph; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import java.util.TreeSet; import com.dianping.cat.Constants; import com.dianping.cat.consum...
{ "content_hash": "42da84998dda2f49becbee2b536098a3", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 97, "avg_line_length": 27.99481865284974, "alnum_prop": 0.7201554691837868, "repo_name": "ServerStarted/cat", "id": "148cd0a137117a49fdce121f65fca4a328099ff6", "size": "54...
using System; using System.Windows; using System.Windows.Controls; using Microsoft.Kinect; using Microsoft.Kinect.Wpf.Controls; using Microsoft.Kinect.Toolkit.Input; using System.Windows.Media; using System.Windows.Shapes; namespace KinectV2 { /// <summary> /// MainWindow.xaml の相互作用ロジック /// </summary> ...
{ "content_hash": "757e51e85ac47b985d819081f73e1d08", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 93, "avg_line_length": 27.529411764705884, "alnum_prop": 0.5876068376068376, "repo_name": "K4W2-Book/K4W2-Book", "id": "4e322d8396eaf97167dce1446168a62927bf428a", "size": "...
title: "ArgData API: DriverNumberWriter Class" --- [API Reference](/argdata/api/) &gt; [0.21](/argdata/api/0.21/) &gt; DriverNumberWriter # DriverNumberWriter Class Writes the driver numbers, or inactives a driver. **Namespace:** ArgData ## Constructors <table class="table table-bordered table-striped "> <thead> ...
{ "content_hash": "60304d499544965e0f0fde0e1fca32bc", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 165, "avg_line_length": 26.647058823529413, "alnum_prop": 0.6644591611479028, "repo_name": "codemeyer/ArgData", "id": "539215c685c06895386fe505ea6c0e3a2ff894a3", "size": "1...
<?php namespace ZF\ContentNegotiation; use Zend\View\Model\JsonModel as BaseJsonModel; class JsonModel extends BaseJsonModel { /** * Mark view model as terminal by default (intended for use with APIs) * * @var bool */ protected $terminate = true; }
{ "content_hash": "71345b0bb51a142ae2cfd7523800dab7", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 74, "avg_line_length": 17.5625, "alnum_prop": 0.6725978647686833, "repo_name": "weierophinney/zf-content-negotiation", "id": "13579085e5b819743597bf34ae133e00e704d1d9", "si...
require 'rails/generators' class BlacklightMoreLikeThisGenerator < Rails::Generators::Base argument :model_name, :type => :string, :default => "SolrDocument" argument :controller_name, :type => :string, :default => "CatalogController" def inject_solr_document_extension file_path = "app/models/#{model_name....
{ "content_hash": "5fa515101e9e554cf767e43c54fa28c4", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 83, "avg_line_length": 31.814814814814813, "alnum_prop": 0.7031431897555297, "repo_name": "cbeer/blacklight_mlt", "id": "e6618168307c9529470dd531c71ef435e1b2f27a", "size": ...
FROM php:apache MAINTAINER ukatama dev.ukatama@gmail.com RUN apt-get update -yq # Install git RUN apt-get install -yq git ## Install PHP zip extension RUN apt-get install -yq zlib1g-dev && docker-php-ext-install -j$(nproc) zip ## Install composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir...
{ "content_hash": "525fdd950ea5b297dbb806128b322e96", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 104, "avg_line_length": 23.92, "alnum_prop": 0.7491638795986622, "repo_name": "ukatama/mew", "id": "b194a142bf3f6a85da023182699b017069a4bd1d", "size": "598", "binary": fa...
/* * * PatientMonitorMobile * */ 'use strict'; import React from 'react'; import {connect} from 'react-redux'; import Helmet from 'react-helmet'; import styles from './styles.css'; import ReactGrid, {WidthProvider} from 'react-grid-layout'; const ReactGridLayout = WidthProvider(ReactGrid); import {grey900, grey8...
{ "content_hash": "cb36a391798b76297b30d7ce76622843", "timestamp": "", "source": "github", "line_count": 634, "max_line_length": 119, "avg_line_length": 29.353312302839118, "alnum_prop": 0.5377216550241806, "repo_name": "johnsiu2016/FYP", "id": "fc6bd603f3653f34631aa70689c9fd1fcd281d9b", "size": "18...
package com.LSH.server; import com.LSH.client.DataType.ReturnLinkData; import com.LSH.server.Config.Config; import com.LSH.client.DataType.GetLinkData; import com.LSH.client.DataType.PutLinkData; import com.LSH.server.Log.Log; import com.LSH.server.Log.LogEvent; import static com.LSH.server.LSHService.errorCode; imp...
{ "content_hash": "d176ebdfcede82831d47414d5fea9295", "timestamp": "", "source": "github", "line_count": 574, "max_line_length": 168, "avg_line_length": 34.16202090592334, "alnum_prop": 0.5507675047172217, "repo_name": "AlNat/LSH", "id": "fdb4fbb3cc5309f60d64525eba08d77ce6996f6f", "size": "22156", ...
package org.optaplanner.core.impl.domain.solution.cloner; import java.lang.reflect.Field; import java.util.function.Consumer; final class CharFieldCloner implements FieldCloner { static final FieldCloner INSTANCE = new CharFieldCloner(); @Override public <C> void clone(DeepCloningUtils deepCloningUtils,...
{ "content_hash": "50a713ab88105c031b8be983bbfcb197", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 107, "avg_line_length": 30.45945945945946, "alnum_prop": 0.6708074534161491, "repo_name": "tkobayas/optaplanner", "id": "7af875f0c3755c2d8b26a918154831fa3c0e1d6e", "size": ...
Service discovery that serves a static list of addresses.
{ "content_hash": "c792f36606e2da89624fdb106d4d2a93", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 57, "avg_line_length": 58, "alnum_prop": 0.8275862068965517, "repo_name": "bigeasy/mingle", "id": "2341bac8782bd1f225dbe8ab19335566bbca1a17", "size": "58", "binary": false...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Sordaria insignis E.C. Hansen, 1876 ### Remarks null
{ "content_hash": "de56ec0a4d6383a8a3e4d9722ccb0bbb", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.615384615384615, "alnum_prop": 0.7073170731707317, "repo_name": "mdoering/backbone", "id": "6dd817d024ecb6133987a919e1578e2e1dcc5b1c", "size": "23...
package org.wso2.maven.p2.generate.feature; import org.apache.maven.plugin.MojoExecutionException; public class ImportBundle extends Bundle{ /** * Version Compatibility of the Bundle * * @parameter default-value="false" */ private boolean exclude; /** * OSGI Symbolic name * ...
{ "content_hash": "353d953a7b7c771c07d3ad34816a4ff5", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 93, "avg_line_length": 19.43103448275862, "alnum_prop": 0.7169476486246673, "repo_name": "wso2/maven-tools", "id": "ab582bebd7011d2afddbbd9cd39d4a45ed567c2e", "size": "1794...
body { padding-top: 70px; } /* * The code below adds some padding to the top of the current anchor target so * that, when navigating to it, the header isn't hidden by the navbar at the * top. This is especially complicated because we want to *remove* the padding * after navigation so that hovering over the hea...
{ "content_hash": "2d55ffa979ec9b0d7148aa6f575c5619", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 131, "avg_line_length": 21.07943925233645, "alnum_prop": 0.628463755264908, "repo_name": "lcomstive/CoffeeEngine", "id": "62b343754c0cec87de35fdf7fbda8c7d620b3292", "size"...
require 'bigdecimal' module Fedex::WebServices module Service class Rate < Base def get_rates(service_type, rate_request_type, from, to, weight, &process_contents) request = GetRates.new(self, service_type, rate_request_type, from, to, weight ...
{ "content_hash": "9ab4f4470022a0e5617b6ed60b750738", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 89, "avg_line_length": 25.1, "alnum_prop": 0.6105577689243028, "repo_name": "parndt/fedex-web-services", "id": "a5c6564a83c0fbd5d65845f8a4be385d5c04eef4", "size": "1004", ...
phonegap-fun ============ Phonegap spiking ground
{ "content_hash": "f26071405f73878d73f60e65a40d68da", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 23, "avg_line_length": 12.75, "alnum_prop": 0.6274509803921569, "repo_name": "levexis/phonegap-fun", "id": "ece914991ba0383081cfa71b16f47d6e6d45771d", "size": "51", "binar...
<?php namespace Sensio\Bundle\TodoBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class SensioTodoBundle extends Bundle { }
{ "content_hash": "c31e4edc77e873e130bca1b4cf9e3dbf", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 47, "avg_line_length": 15, "alnum_prop": 0.8074074074074075, "repo_name": "foxreymann/getting-started-with-symfony2", "id": "e7e29c2096e69a08160767e4ed3f53b53fa362a7", "size...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" /> <title>Jeremy’s Letter (WEB)</title> <link href="../../../build/mobile.css" rel="stylesheet" /> <script src="../../../build/mobile.js"></script> </head> <body dir="ltr" class...
{ "content_hash": "76f844608000203b39a10d5a58b707db", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 90, "avg_line_length": 30.263157894736842, "alnum_prop": 0.6434782608695652, "repo_name": "khangpng/VietnameseBible", "id": "38540cb448f06e1c05e45dd050823f4b0f0f9fde", "siz...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Mém. Soc. nat. hist. Nat. Math. Cherbourg 37: 136 (1909) #### Original name Lecidea cinereofusca var. ammiospila Ach. ### Remarks null
{ "content_hash": "4dd3ca91c08ff7f9e2402ea2d423cdb7", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 56, "avg_line_length": 17.153846153846153, "alnum_prop": 0.7085201793721974, "repo_name": "mdoering/backbone", "id": "b60200e996243983dd22c07b7ad5ead2725493cb", "size": "29...
var express = require("express"), app = express(), http = require("http"), url = require("url"), path = require("path"), fs = require("fs"), port = process.argv[2] || 8888, upload = require('loadimage.js'), managepresentation = require('managepresentation....
{ "content_hash": "fd7a14a6683e62c72340dd3aa76b9224", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 78, "avg_line_length": 30.82191780821918, "alnum_prop": 0.5804444444444444, "repo_name": "EduAwaSeka/fullslider", "id": "81aab0b458681f0f8e8fdb81b6bc3adbbaba6147", "size": ...
"""Community relations manager. The manager provides the API to add, remove and iterate over communities associated with a record. """ from invenio_db import db from invenio_records.api import Record from invenio_communities.communities.records.api import Community class CommunitiesRelationManager: """Manager ...
{ "content_hash": "3c608939914a32144eb1dfade1958e48", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 85, "avg_line_length": 31.905759162303664, "alnum_prop": 0.5899245159172957, "repo_name": "inveniosoftware/invenio-communities", "id": "75740a838563bcc34575f133308ecbd495719...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b1c5e410981c5196552d6dbcca603b6f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "a89c8356fd45be199108ea631fbb1a398e247c59", "size": "18...
/* Dropdown Button */ .dropbtn { padding: 16px; font-size: 16px; width: 50px; height: 50px; border: none; cursor: pointer; } /* Dropdown button on hover & focus */ .dropbtn:hover, .dropbstn:focus { background-color: yellow; } /* The container <div> - needed to position the dropdown content ...
{ "content_hash": "cbf2d0739d56c149b80be822aad8ecdf", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 134, "avg_line_length": 20.632653061224488, "alnum_prop": 0.6656775469831849, "repo_name": "cwcllama/Clean-simple-Portfolio-Website", "id": "58b1010f9be8f0c64a3bbe6edba53170e...
<?php class NewsletterSubscriberController extends AdminController { /** * @return array action filters */ public function filters() { return array( 'accessControl', // perform access control for CRUD operations 'postOnly + delete', // we only allow deletion via POST ...
{ "content_hash": "820dfca31ccb4bf271078ffec5346da1", "timestamp": "", "source": "github", "line_count": 142, "max_line_length": 107, "avg_line_length": 32.62676056338028, "alnum_prop": 0.5631340384200302, "repo_name": "atnamus/eropagnil", "id": "2934f007a82cbb3690de69acaf98a9f8c4096aa7", "size": "4...
<?php require 'autoload.php'; use JM\MailReader\MailReader; try { $reader = new MailReader(); /** * Note: port is an additional option to set. * This option is not required. */ $reader->connect([ 'server' => 'foobar.com', 'username' => 'foo@bar.com', 'passwo...
{ "content_hash": "5f5f894e3f6ea9cedeb158de7eaca0c6", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 69, "avg_line_length": 24.641509433962263, "alnum_prop": 0.5627871362940275, "repo_name": "johnnymast/mailreader", "id": "47f0409c56e1079e4aec6e1ec554e74d116e8fa4", "size":...
package nom.bdezonia.zorbage.algorithm; import nom.bdezonia.zorbage.predicate.Equal; import nom.bdezonia.zorbage.tuple.Tuple2; import nom.bdezonia.zorbage.algebra.Algebra; import nom.bdezonia.zorbage.datasource.IndexedDataSource; import nom.bdezonia.zorbage.function.Function1; /** * * @author Barry DeZonia * */...
{ "content_hash": "c7f90e44dd687e1d2218dc183412493d", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 107, "avg_line_length": 18.977011494252874, "alnum_prop": 0.6038764385221078, "repo_name": "bdezonia/zorbage", "id": "d7897718dc10373f2ad2e00c88902e0112b5e39c", "size": "32...
package com.amazonaws.codegen.model.intermediate; import com.amazonaws.codegen.model.intermediate.customization.ShapeCustomizationInfo; import com.amazonaws.util.StringUtils; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import ...
{ "content_hash": "834afd86c8bfadcb2fd7231c04bdf0e7", "timestamp": "", "source": "github", "line_count": 506, "max_line_length": 132, "avg_line_length": 29.782608695652176, "alnum_prop": 0.6448573324485734, "repo_name": "aws/aws-sdk-java", "id": "d2876da3c5a038c44358c7aa46e5d0716c814aa2", "size": "1...
Calc::Calc(QObject* parent) : QObject(parent) { ; } void Calc::readOut() { cout << "@ readOut()" << endl; QString all; all.append(process->readAllStandardOutput()); emit message(all); } void Calc::readErr() { cout << "@ readErr()" << endl; QString all; all.append(process->readAllStan...
{ "content_hash": "3547e86f0e278a4be5cf912abe2ff817", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 88, "avg_line_length": 19.108695652173914, "alnum_prop": 0.6222980659840728, "repo_name": "DeepBlue14/rqt_ide", "id": "0c219e0a9fa7864f94111486842138c0d5b3052d", "size": "8...
package fr.janalyse.ssh import java.io.File trait AllOperations extends ShellOperations with TransfertOperations { /** * Recursively get a remote directory to a local destination * @param remote remote path, file or directory. * @param dest local destination directory, it it doesn't exist then it ...
{ "content_hash": "5e0d472b86d996abd7488cb6cfd1ee55", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 89, "avg_line_length": 32.30612244897959, "alnum_prop": 0.5975994946304485, "repo_name": "dacr/jassh", "id": "668acc00fc191317837b9ee2b75456ca29d3450b", "size": "1583", "...
package org.oscm.vo; import org.oscm.types.enumtypes.OperationParameterType; /** * Represents a parameter of an operation defined for a technical service. * */ public class VOServiceOperationParameter extends BaseVO { private static final long serialVersionUID = -4857777143451365879L; /** * The i...
{ "content_hash": "506d266dee42177395b3140f5727c474", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 77, "avg_line_length": 21.927007299270073, "alnum_prop": 0.5865512649800266, "repo_name": "opetrovski/development", "id": "f0ea68415869617ac6997f32638b7ad308d90fb8", "size...
from ._disks_operations import DisksOperations from ._snapshots_operations import SnapshotsOperations from ._disk_encryption_sets_operations import DiskEncryptionSetsOperations from ._disk_accesses_operations import DiskAccessesOperations from ._disk_restore_point_operations import DiskRestorePointOperations from ._ope...
{ "content_hash": "f7b3a5228039aaff4f3daca2533d1aa0", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 115, "avg_line_length": 53.03174603174603, "alnum_prop": 0.83507931756959, "repo_name": "Azure/azure-sdk-for-python", "id": "5d0d019d7de4917af3d21c1d778d285e2a266c3a", "siz...
require "spec_helper" require "gds_api/test_helpers/worldwide" RSpec.describe Healthchecks::RegistriesCache do include GdsApi::TestHelpers::Worldwide include TaxonomySpecHelper include GdsApi::TestHelpers::ContentStore include GovukContentSchemaExamples include RegistrySpecHelper subject(:check) { describ...
{ "content_hash": "83764ba472a49ef552196b5aa3106b83", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 218, "avg_line_length": 29.84090909090909, "alnum_prop": 0.7319116527037319, "repo_name": "alphagov/finder-frontend", "id": "c58b286214e9f998623042a296695ffc02fa0128", "siz...
`td-chart-series[td-wordCloud]` element generates a graph series echarts visualization inside a `td-chart`. Its the equivalent of creating a JS series object `type="wordCloud"` in echarts. ## API Summary #### Inputs - config?: any - Sets the JS config object if you choose to not use the property inputs. - Note: ...
{ "content_hash": "108e5ca3e8abeca4cb86c8fdf8404148", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 188, "avg_line_length": 28.79310344827586, "alnum_prop": 0.555688622754491, "repo_name": "Teradata/covalent", "id": "f5b8ec44bbbbe88cecd9cb710517787a3019a984", "size": "253...
layout: default title: CAS - Configuration Extensions --- # Extending CAS Configuration Being a [Spring Boot](https://github.com/spring-projects/spring-boot) application at its core, designing and extending CAS configuration components very much comes down to [the following guide](https://docs.spring.io/spring-boot/d...
{ "content_hash": "f8fd617e023427f59415abb8a988404d", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 583, "avg_line_length": 64.80882352941177, "alnum_prop": 0.7978216473791695, "repo_name": "dodok1/cas", "id": "c135e1de1d117b175e51169f0861c19ac8d0acaf", "size": "4413", ...
module Axlsx # Table # @note Worksheet#add_pivot_table is the recommended way to create tables for your worksheets. # @see README for examples class PivotTableCacheDefinition include Axlsx::OptionsParser # Creates a new PivotTable object # @param [String] pivot_table The pivot table this cache def...
{ "content_hash": "fccab33f0137857a1688596e4dff1c3a", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 137, "avg_line_length": 30.161290322580644, "alnum_prop": 0.5957219251336898, "repo_name": "nilbus/axlsx", "id": "5a6c74423f47ce5cebd791deb2360f165e674d20", "size": "1888",...
namespace device { PowerMonitorMessageBroadcaster::PowerMonitorMessageBroadcaster() { base::PowerMonitor* power_monitor = base::PowerMonitor::Get(); if (power_monitor) power_monitor->AddObserver(this); } PowerMonitorMessageBroadcaster::~PowerMonitorMessageBroadcaster() { base::PowerMonitor* power_monitor = ...
{ "content_hash": "855873a80d7474dd4acf00b6f1e7f8b0", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 80, "avg_line_length": 30.122448979591837, "alnum_prop": 0.736449864498645, "repo_name": "google-ar/WebARonARCore", "id": "e8f1b1b0dbbfea97da77c9d1ea6440b8c3663098", "size"...
static DWORD getWindowStyle(const _GLFWwindow* window) { DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN; if (window->monitor) style |= WS_POPUP; else { style |= WS_SYSMENU | WS_MINIMIZEBOX; if (window->decorated) { style |= WS_CAPTION; if (wind...
{ "content_hash": "59283c9c146d7365757a6dd937872413", "timestamp": "", "source": "github", "line_count": 2158, "max_line_length": 92, "avg_line_length": 30.669601482854496, "alnum_prop": 0.5470272720404925, "repo_name": "RichieSams/lantern", "id": "77338468f4c3c586fb48234ea396112b4378a851", "size": ...
package com.adobe.acs.commons.util; import org.apache.commons.lang.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.util.ArrayList; import java.util.List; im...
{ "content_hash": "1e9ce098de351efc383d8bd604ed49ea", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 166, "avg_line_length": 31.613333333333333, "alnum_prop": 0.6183045128637705, "repo_name": "davidjgonzalez/acs-aem-commons", "id": "4a2a595e773594c13e1c38bffb8edaf49804bbf2"...
package local.org.apache.http.client.utils; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import org.apache.http.annotation.Immutable; import local.org.apache.http.client.utils.Idn; /** * Uses the java.net.IDN class through reflection. * * @since 4.0 */ @Immutable public ...
{ "content_hash": "6fc07e0530c54998280f670cba945311", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 70, "avg_line_length": 28.291666666666668, "alnum_prop": 0.6310751104565537, "repo_name": "Phoenix1708/t2-server-jar-android-0.1", "id": "526e47c613be8ec0abc56d1cddf7e545916c...
ALTER TABLE event ADD COLUMN noreminderssent integer; ALTER TABLE event ALTER COLUMN noreminderssent SET DEFAULT 0; update event set noreminderssent = 0;
{ "content_hash": "de1f32064830dc84e8ac76976d2ac6dd", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 61, "avg_line_length": 51, "alnum_prop": 0.8366013071895425, "repo_name": "mokoka/grassroot-platform", "id": "5658b61e58de4e1833607ca684aed960f1e7b9b1", "size": "153", "bi...
<?php class FileField extends EditControl { /** * Instanse of UploadHandler class * @var {object} */ var $upload_handler = null; /** * Field random identifier for sessions values * @var {string} */ var $formStamp = ""; function FileField($field, $pageObject, $id, $connection) { parent::EditCont...
{ "content_hash": "dff15b24a6b5b899155ce9dcabc4f0e4", "timestamp": "", "source": "github", "line_count": 593, "max_line_length": 170, "avg_line_length": 34.63069139966273, "alnum_prop": 0.5822458122321776, "repo_name": "tony19760619/PHPRunnerProjects", "id": "bd6d133d2871bd57b5993be6973cc646e04b1772",...
package net.moonlithome.game.server.item.dao; /** * Created by moonlithome on 2015/3/18. */ public class ItemOperationDao { }
{ "content_hash": "73eda95e68a7e8bf3722bebe87cdb85f", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 45, "avg_line_length": 14.555555555555555, "alnum_prop": 0.7175572519083969, "repo_name": "aqzwss/Illusory_Journey", "id": "9b3d55b53ca7f374b0162c1562b2fea8ef3eab63", "size"...
package dds //Licensed under the Apache License, Version 2.0 (the "License"); //you may not use this file except in compliance with the License. //You may obtain a copy of the License at // //http://www.apache.org/licenses/LICENSE-2.0 // //Unless required by applicable law or agreed to in writing, software //distribut...
{ "content_hash": "56106a0db009205dc1c336b7af86a47b", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 171, "avg_line_length": 43.71900826446281, "alnum_prop": 0.7257088846880907, "repo_name": "xiaozhu36/terraform-provider", "id": "c7ca7c57010bfac769927e476590f015a36ac91b", ...
<!DOCTYPE HTML> <html> <head> <title>Example</title> <script type="text/javascript"> var firstVal = null; var secondVal; var equality = firstVal == secondVal; var identity = firstVal === secondVal; console.log("Equality: " + equality); console.log("...
{ "content_hash": "94ff1ebd67652063d87d09ca5b69e4b7", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 46, "avg_line_length": 20.761904761904763, "alnum_prop": 0.5435779816513762, "repo_name": "longjl/JFinal_Authority", "id": "63d4628ea7c288199c35298c372bd5e28cad3bce", "size...
num_workers = ENV["NUM_WORKERS"].to_i tor_port = ENV["TOR_PORT"].to_i tor_control_port = ENV["TOR_CONTROL_PORT"].to_i current_dir = File.expand_path File.dirname(__FILE__) log_dir = "#{current_dir}/log" FileUtils.mkdir_p log_dir num_workers.times do |num| God.watch do |w| w.name = "tor-#{num}" w.gr...
{ "content_hash": "8e8a2d7bddcbc809e3e26d7ddc1b9060", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 306, "avg_line_length": 42.05882352941177, "alnum_prop": 0.6573426573426573, "repo_name": "vdaubry/tor-privoxy", "id": "60e76561582e47d41b1dfd28508d43f53f4dabcd", "size": "...
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') if ENV['CABINET'] describe "TokyoStore" do it "should store fragment cache" do HDB.should_receive(:new).and_return(@mock_hdb = mock("HDB")) @mock_hdb.should_receive(:open).with('data.tch', 6).and_return(true) store = ActiveSuppor...
{ "content_hash": "a86d927760a13b384c17eff66f41c8e4", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 74, "avg_line_length": 30.069767441860463, "alnum_prop": 0.5916473317865429, "repo_name": "jmettraux/tokyo_store", "id": "613148abc8754fa29a0aad25c1705beafe824d8d", "size":...
from time import time from threading import Lock as ThreadLock from tori.graph import DependencyNode as BaseDependencyNode, DependencyManager from tori.db.common import Serializer, PseudoObjectId, ProxyObject from tori.db.entity import BasicAssociation from tori.db.exception import UOWRepeatedRegistrationErr...
{ "content_hash": "e28c09e809cf138e96f344922fcca061", "timestamp": "", "source": "github", "line_count": 742, "max_line_length": 159, "avg_line_length": 34.29245283018868, "alnum_prop": 0.5995283945765376, "repo_name": "shiroyuki/Tori", "id": "b2234200471ec71e6c0e91c6a21c9f14f245e0f1", "size": "2546...
/** * Omnipotent Sparkline binder for KnockoutJS. * * @author: Mr-Yellow <mr-yellow@mr-yellow.com> */ ko.bindingHandlers.sparkLine = { data: [], defaults: { type: 'line', height: 'auto', width: 'auto', fillColor: '#72e572', lineColor: '#000000', spotColor: '#...
{ "content_hash": "5c130d42ee321a123920776325b7e16a", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 176, "avg_line_length": 47.63636363636363, "alnum_prop": 0.7083333333333334, "repo_name": "mryellow/knockoutjs-sparkline", "id": "742f029ba7699ae98b7c1cc42c19484de243496c", ...
#include <iostream> #include <boost/property_tree/ptree.hpp> #include <gtest/gtest.h> #include <osquery/core.h> #include <osquery/distributed.h> #include <osquery/enroll.h> #include <osquery/sql.h> #include "osquery/core/json.h" #include "osquery/sql/sqlite_util.h" #include "osquery/tests/test_additional_util.h" ...
{ "content_hash": "b187818ae77fe68d6dcf9f0455bef994", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 78, "avg_line_length": 26.483333333333334, "alnum_prop": 0.6463184392699811, "repo_name": "friedbutter/osquery", "id": "d2b712c5d3594d7aa7baf83eeab315900c927aae", "size": ...
require 'spec_helper' require 'yaml' YAML_CONF = <<CONF --- folder: default: /tmp aliases: webdev: ~/Development/Webdev work: ~/WorkDev # don't ask where to put it ask: true github: default: true username: trishume description: default: CONF GITHUB_Q = "Create a Github r...
{ "content_hash": "21f744fe63003ce36870304fd6d473a7", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 55, "avg_line_length": 24.954545454545453, "alnum_prop": 0.6089860352155434, "repo_name": "trishume/proj", "id": "f3740dbde76cdc1b12d0d3b4e93639d86dda26d1", "size": "1647",...
<img src="{{this.image|url}}" {% if this.caption %}alt="{{this.caption}}"{% endif %}> {% if this.caption %} <p class="caption">{{this.caption}}</p> {% endif %}
{ "content_hash": "fa7d506ee9fe034e66d75b45d1c0fc7b", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 85, "avg_line_length": 39.75, "alnum_prop": 0.5849056603773585, "repo_name": "joythewizard/lektor-foundation", "id": "d4bc46279d6f28dcdf1f5e5274944391d9673412", "size": "159...
<?php namespace Awdn\VigilantQueue\Queue; use Traversable; /** * Class PriorityHashQueue * @package Awdn\VigilantQueue\Queue */ class PriorityHashQueue implements \IteratorAggregate, \ArrayAccess, \Countable { /** * @var MinPriorityQueue */ private $queue; /** * @var \ArrayObject ...
{ "content_hash": "3a1471fda75c59d84e3e42f82588bdd2", "timestamp": "", "source": "github", "line_count": 387, "max_line_length": 157, "avg_line_length": 25.896640826873384, "alnum_prop": 0.51985631610457, "repo_name": "awdn/vigilant-queue", "id": "6a051eb790e443618063c3b6ef08c1c5876c124c", "size": "...
export class Comment { Id: number; Grade: number; Text: string; AccId: number USerId: number constructor(grade: number, text: string, accommId: number, userId: number) { this.Grade = grade; this.Text = text; this.AccId = accommId; this.USerId = userId; } }
{ "content_hash": "b768874c16a2819590f7cf8852291a92", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 78, "avg_line_length": 20, "alnum_prop": 0.584375, "repo_name": "FikiLauda/LookNBookApp", "id": "0303c4c9c86e52fad6d81510d96109d20960786a", "size": "320", "binary": false...
namespace Google.Cloud.ArtifactRegistry.V1Beta2.Snippets { // [START artifactregistry_v1beta2_generated_ArtifactRegistry_DeletePackage_sync_flattened] using Google.Cloud.ArtifactRegistry.V1Beta2; using Google.LongRunning; using Google.Protobuf.WellKnownTypes; public sealed partial class GeneratedAr...
{ "content_hash": "e886ba717b2549ab0e9c367f2def415a", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 128, "avg_line_length": 47.214285714285715, "alnum_prop": 0.6732223903177005, "repo_name": "jskeet/google-cloud-dotnet", "id": "b301edd195c78569e45a5ad32edca3904eb476d4", "...
package io.intercom.api; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.collect.Maps; import java.util.Map; @SuppressWarnings("UnusedDeclaration") @JsonInclude(JsonInclud...
{ "content_hash": "b8b4da747d87ba2a3bda8dc2d5ab9c94", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 84, "avg_line_length": 21.44871794871795, "alnum_prop": 0.657501494321578, "repo_name": "intercom/intercom-java", "id": "8f1d8296ac5a7042f8ebcd113b4dbb3b733e0426", "size":...
Table tents for role playing games Quick and dirty css hacked together to get something working for a local gaming group. # TODO * Backside should probably have something, maybe useful stats for the player needs to be rendered upside down for proper printing/folding * Image selection, some basic character generation ...
{ "content_hash": "da5d66055ecca1e170d013ec7b473489", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 90, "avg_line_length": 46.666666666666664, "alnum_prop": 0.8119047619047619, "repo_name": "AlexBarnes86/TableTent", "id": "f9803e64bf2f356de3fc7e30ff555462a2a72afb", "size":...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Quiz.Domain { [Flags] public enum Operations : int { None = 0, Create = 1, Read = 2, Update = 4, Delete = 8, Execute = 16, A...
{ "content_hash": "de6d028ef44327c0057f6c697956fc4c", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 33, "avg_line_length": 16.047619047619047, "alnum_prop": 0.5548961424332344, "repo_name": "qadeer05/Quiz.Net", "id": "0e30f99c41433827f48658d2d94437899aa2ba59", "size": "33...
class FirstItem < ActiveRecord::Base include RailsSortable::Model set_sortable :sort default_scope -> { order(:sort) } end
{ "content_hash": "f351627d011cb58b322d6a36016ad7b5", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 36, "avg_line_length": 21.666666666666668, "alnum_prop": 0.7230769230769231, "repo_name": "itmammoth/rails_sortable", "id": "b5f8c237b0264e8336424814a7f34243373489d0", "size...
package com.communote.server.persistence.tag; import java.util.Collection; import java.util.List; import com.communote.server.api.core.tag.TagData; import com.communote.server.core.filter.ResultSpecification; import com.communote.server.model.tag.Tag; /** * @see Tag * * @author Communote GmbH - <a href="http://ww...
{ "content_hash": "7ff7d9d93db8aa369eb62dd20a147f42", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 100, "avg_line_length": 36.9811320754717, "alnum_prop": 0.6590136054421769, "repo_name": "Communote/communote-server", "id": "9fe6918d6577ff41dae4d232e5f66f8488628de8", "s...
__PROJECT_LIST__ # Define the default target all: # # Target Macro # # Macro defines a phony target for each example, and adds it to a list of # targets. # define TARGET TARGET_LIST+=$(1)_TARGET .PHONY: $(1)_TARGET $(1)_TARGET: +$(MAKE) -C $(1) CLEAN_LIST+=$(1)_CLEAN .PHONY: $(1)_CLEAN $(1)_CLEAN: +$(MAKE) -C $(1)...
{ "content_hash": "2873a631215aa074bea5c5a632ec2605", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 73, "avg_line_length": 16.564102564102566, "alnum_prop": 0.6640866873065016, "repo_name": "leighpauls/k2cro4", "id": "2bbcaf6879701fd0fe3c367543afd5d2752b5146", "size": "93...
<?php namespace App\Http\Controllers; use Input; use Redirect; use App\Category; use App\Faq; use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Http\Requests\CategoryRequest; class CategoriesController extends Controller { public function index() { //$faqs =...
{ "content_hash": "7f144478ae2a3179b352bec74eb4c295", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 120, "avg_line_length": 22.17105263157895, "alnum_prop": 0.6344213649851632, "repo_name": "Shahlal47/finalproject", "id": "bb0b8fed747e68724257cfd4270ec96f8ff471ad", "size"...