text
stringlengths
2
1.04M
meta
dict
from django.core.cache import cache from django.test import TestCase class PolyaxonBaseTest(TestCase): COLLECT_TASKS = False def setUp(self): # Flush cache cache.clear() # Mock celery default sent task self.mock_send_task() super().setUp() self.worker_send = {}...
{ "content_hash": "3b4719e5e4ddbea3f6288ade3978643f", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 87, "avg_line_length": 28.056603773584907, "alnum_prop": 0.6005379959650302, "repo_name": "polyaxon/polyaxon", "id": "2db017d763e39949dcd302cccec4f2c5a80e6426", "size": "20...
module Text.PrettyPrint.Leijen ( -- * Documents Doc, putDoc, hPutDoc, -- * Basic combinators empty, char, text, (<>), nest, line, linebreak, group, softline, softbreak, -- * Alignment -- -- The combinators in this section can not be described by Wadler's -- original combinators. They align ...
{ "content_hash": "0ede5d9818070b1f17c5f29953e75aa9", "timestamp": "", "source": "github", "line_count": 900, "max_line_length": 124, "avg_line_length": 32.17111111111111, "alnum_prop": 0.5545347793051046, "repo_name": "bergmark/wl-pprint", "id": "b35700235d886681d9282480ac45f0e41f269d8f", "size": "...
'use strict'; angular.module('kaleoProject', [ 'ui.bootstrap', 'ui.router', 'selectize' ]) .config(['$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { $stateProvider.state({ name: 'default', url: '/', templ...
{ "content_hash": "66dc81c1d02c95ed278581f46b356b38", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 99, "avg_line_length": 28.31578947368421, "alnum_prop": 0.46189591078066916, "repo_name": "fezimmer89/kaleoChallenge", "id": "4fb2bef2fa7cd86ffc45405f5b1a10622274dfc9", "si...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright (c) 2001-2004 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. This program is distributed under the W3C's Software Intellectual Property Licen...
{ "content_hash": "45a2fe0a48039649dc04b2cdea2bf643", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 100, "avg_line_length": 44.44, "alnum_prop": 0.7542754275427542, "repo_name": "reznikmm/matreshka", "id": "69d7c5bd381ae0746252af11a00ae303d27d9e94", "size": "2222", "bin...
Professional portfolio for Jeff Torres
{ "content_hash": "85b89ed4fe43bf1fb8d7d54a575196d7", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 38, "avg_line_length": 39, "alnum_prop": 0.8717948717948718, "repo_name": "ilikesounds/jt_portfolio", "id": "e727bcd7f9666ffcbe270e8a19b334c5c63a4e33", "size": "54", "bina...
/* crypto/ec/ecp_mont.c */ /* * Originally written by Bodo Moeller for the OpenSSL project. */ /* ==================================================================== * Copyright (c) 1998-2001 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modif...
{ "content_hash": "eedfd5690ad7bebb170ccd83f852ebbf", "timestamp": "", "source": "github", "line_count": 279, "max_line_length": 78, "avg_line_length": 31.46594982078853, "alnum_prop": 0.61100353115389, "repo_name": "vbloodv/blood", "id": "af914aa5975b6d6f082cc994acc533742462b3fe", "size": "8779", ...
/** * @class Ext.chart.series.sprite.Pie3DPart * @extends Ext.draw.sprite.Path * * Pie3D series sprite. */ Ext.define('Ext.chart.series.sprite.Pie3DPart', { extend: 'Ext.draw.sprite.Path', mixins: { markerHolder: 'Ext.chart.MarkerHolder' }, alias: 'sprite.pie3dPart', type: 'pie3dPart',...
{ "content_hash": "2fa023b9901c47aebe7ecbf792395e98", "timestamp": "", "source": "github", "line_count": 389, "max_line_length": 117, "avg_line_length": 40.42416452442159, "alnum_prop": 0.4507472178060413, "repo_name": "devmaster-terian/hwt-backend", "id": "afb3224403b8907b84f3534e433958034f90b404", ...
============================ OSPC Multi-Country Tax Model ============================ This repository includes the data used to calibrate the model along with all the necessary Python code to solve and simulate. The Model ========= This project builds, calibrates and simulates the effects of changes in various taxes...
{ "content_hash": "aec99cdca7d635807a87c3e089cfbb22", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 594, "avg_line_length": 49.5, "alnum_prop": 0.7453482190324295, "repo_name": "kerkphil/multi-country", "id": "37ad9626fcbbcf7445228848bdb752f46107f425", "size": "1881", "...
C $Header$ C $Name$ #ifndef ECCO_CPPOPTIONS_H #define ECCO_CPPOPTIONS_H C C CPP flags controlling which code is included in the files that C will be compiled. C ******************************************************************** C *** Adjoint Support Package *** C **************...
{ "content_hash": "e184907216fe84fe20ab5de124046ef9", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 70, "avg_line_length": 31.32, "alnum_prop": 0.48659003831417624, "repo_name": "altMITgcm/MITgcm66h", "id": "71b955fd18b825e1ccb8decf91b4b44498e06ea8", "size": "1566", "bi...
(function() { 'use strict'; angular .module('boardGamesApp') .config(stateConfig); stateConfig.$inject = ['$stateProvider']; function stateConfig($stateProvider) { $stateProvider .state('user-management', { parent: 'admin', url: '/user-managemen...
{ "content_hash": "cde7768634a03d192e2b534bb6810a48", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 106, "avg_line_length": 39.07142857142857, "alnum_prop": 0.4113345521023766, "repo_name": "simpleliving40/boardgamers", "id": "090f80445b07e08c1b1a9ef744e159d77afb268a", "...
var chai = require('chai'); var expect = chai.expect; var sinon = require('sinon'); var sinonChai = require("sinon-chai"); var chaiAsPromised = require('chai-as-promised'); var process = require('child_process'); var mockSpawn = require('mock-spawn'); chai.use(sinonChai); chai.use(chaiAsPromised); describe('Playbook...
{ "content_hash": "cb3a36c923ca43eda393a64b1bd1d7c6", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 113, "avg_line_length": 32.57786885245902, "alnum_prop": 0.5963014215624607, "repo_name": "deployable/node-ansible", "id": "e9cbe4602c99583ea40a8266732d5fd37e603590", "siz...
package com.amazonaws.services.pinpoint.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/pinpoint-2016-12-01/GetCampaignVersion" target="_top">AWS API * Documentation</a> */ @Ge...
{ "content_hash": "211dfcf04326e3f615a5a9e53962d8c3", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 121, "avg_line_length": 30.4070796460177, "alnum_prop": 0.6087019790454016, "repo_name": "aws/aws-sdk-java", "id": "cd1dac8eb5e8e6ed6012e32090feb897941daed0", "size": "745...
var path = require('path'); var webpack = require('webpack'); var gulp = require('gulp'); var gutil = require('gulp-util'); var config = require(path.resolve('webpack.config.js')); var webpackDevelopmentTask = function(callback) { webpack( config, function(err, stats) { if(err) throw new gutil.PluginE...
{ "content_hash": "0615910ee9a4640ea448cac5b35a32aa", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 58, "avg_line_length": 25.176470588235293, "alnum_prop": 0.677570093457944, "repo_name": "resmio/elzar", "id": "1e94611f842afae8fedd0380745c43aa815547ec", "size": "428", ...
@interface EKTableViewController () @property (nonatomic, assign) EKTableViewStyle style; @property (nonatomic, strong) NSMutableArray *registeredCellClasses; @property (nonatomic, strong) NSMutableDictionary *proxyCells; @end @implementation EKTableViewController #pragma mark - Initialisers - (instancetype)init {...
{ "content_hash": "2aa07e549e662dc9e7e2561f3c320fb7", "timestamp": "", "source": "github", "line_count": 325, "max_line_length": 131, "avg_line_length": 27.473846153846154, "alnum_prop": 0.6914548101691119, "repo_name": "electrickangaroo/Lightning-Table", "id": "d1be6fa96626b729a1dfdac727b7b40a646712a...
package com.meida.model; import com.meida.model.base.BaseUser; /** * * @author liuzhen * @version * May 30, 2015 5:08:21 PM * DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( `id` bigint(20) NOT NULL auto_increment, `name` VARCHAR (50) NOT null, `email` varchar(50) NOT NULL, `password` varchar(128) NOT NULL, `...
{ "content_hash": "662f1443f533a48c5e7070ad650c23e7", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 165, "avg_line_length": 30.567164179104477, "alnum_prop": 0.609375, "repo_name": "liuzhen9327/meida", "id": "f46b1704a7cb7a188cc581387145a0024fa92e9b", "size": "2048", "b...
- **[Welcome](#welcome)** - [Free Tutoring](#tutoring) - [Goals](#goals) - **[FAQ](#faq)** - [What do I need?](#need) - [What if I finish ahead of time?](#finished) - **[Before You Get Started](#getstarted)** # [JS Fundamentals: eFarmony Project](id:welcome) Welcome to the project portion of "JS Fundamental...
{ "content_hash": "0e703bfc431011d615cadca658ae27cd", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 372, "avg_line_length": 62.132075471698116, "alnum_prop": 0.7561494078348011, "repo_name": "alexstevenson19/front_end_masters_js_exer", "id": "1bf10caa7812c22f147f11e8c87f9c2...
var anyoneApp = angular.module("anyoneApp", ['ngRoute']); anyoneApp.config(['$routeProvider', function ($routeProvider) { $routeProvider .when('/', {templateUrl: './anyone/home.htm', controller: 'homeController'}) .when('/contacts', {templateUrl: './anyone/contacts.htm', controller: 'contactsControl...
{ "content_hash": "ee0cc88c314ff8b41830b7bd4dcc913c", "timestamp": "", "source": "github", "line_count": 360, "max_line_length": 125, "avg_line_length": 32.16388888888889, "alnum_prop": 0.5100613179031004, "repo_name": "dayupu/acme", "id": "20bd0f0bed0a457b8a90470356199bc571d9e83f", "size": "12011",...
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.commonsware.android.abf" android:versionCode="1" android:versionName="1.0"> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:s...
{ "content_hash": "cc9d6f40c1bc717df6a60b85d4d33df3", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 68, "avg_line_length": 28.17241379310345, "alnum_prop": 0.7307221542227662, "repo_name": "commonsguy/cw-omnibus", "id": "dde32b2609411dc1056c8f8493e3a0b466ce45d1", "size": ...
set -e set -x # enable some apache stuff a2enmod wsgi a2enmod expires
{ "content_hash": "6f2beae898bae3bb44bab9bf92053896", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 26, "avg_line_length": 12, "alnum_prop": 0.75, "repo_name": "Quelquechose/dockerfiles", "id": "d22a073d4955b0126c019439bcff641e72f0e20c", "size": "85", "binary": false, ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Blumea 44:301. 1999 #### Original name null ### Remarks null
{ "content_hash": "e61f161e614a5a5007c918e20a2b5429", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 11.461538461538462, "alnum_prop": 0.697986577181208, "repo_name": "mdoering/backbone", "id": "a788f237756ff45baa7dfc76e920672cee648633", "size": "211...
package javax.swing; import java.awt.Component; import java.awt.Container; import java.awt.Dimension; import java.awt.Graphics; import java.awt.Insets; import java.awt.LayoutManager; import java.awt.LayoutManager2; import java.beans.BeanProperty; import java.beans.JavaBean; import java.beans.PropertyChangeEvent; imp...
{ "content_hash": "befca656ca0cd03febaec37f3fb9931b", "timestamp": "", "source": "github", "line_count": 846, "max_line_length": 112, "avg_line_length": 31.77304964539007, "alnum_prop": 0.5893229166666667, "repo_name": "mirkosertic/Bytecoder", "id": "114ef0d169c2a8c0c97c01f858c237f3fbd9a119", "size"...
package io.craft.atom.protocol.ssl.api; import io.craft.atom.protocol.ssl.spi.SslHandshakeHandler; /** * SSL codec, it is a combination of ssl encoder and decoder. * * @author mindwind * @version 1.0, Aug 5, 2014 */ public interface SslCodec { /** * Encode data to ssl encrypted data. * * @param data ...
{ "content_hash": "3f69a8d5f96b45075379e683815ec70e", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 112, "avg_line_length": 19.933333333333334, "alnum_prop": 0.6672240802675585, "repo_name": "mindwind/craft-atom", "id": "c8d4c5c1dad2f974c20142fc99f08a1029bc2ccc", "size": ...
import Ember from 'ember'; import layout from '../templates/components/bulma-panel-tabs'; import { _helpers, _responsiveHelpers } from '../constants'; const { Component } = Ember; export default Component.extend({ layout, classNames: ['panel-tabs'], classNameBindings: [].concat(_helpers, _responsiveHelpers) }...
{ "content_hash": "608636deccceb050dddefe9125c50c24", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 62, "avg_line_length": 24.846153846153847, "alnum_prop": 0.7151702786377709, "repo_name": "open-tux/ember-bulma", "id": "7e14ad5fa6eed99c7288f9a53ba53f6ef21973dc", "size": ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Aspose.Imaging.Live.Demos.UI.Models { /// <summary> /// Base class for results. /// </summary> public class BaseResult { /// <summary> /// Is result success? /// </summary> public bool IsSuccess { get; set; } ...
{ "content_hash": "b1c8cdd05e20bd92921138f808191fac", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 120, "avg_line_length": 22.208333333333332, "alnum_prop": 0.6679174484052532, "repo_name": "aspose-imaging/Aspose.Imaging-for-.NET", "id": "d5d604f1efa1b1e126a94ab5447f0b86f6...
<!-- ~ Copyright 2013-2014 must-be.org ~ ~ 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 o...
{ "content_hash": "fe93179b30928ba7fb11f03b9a9d92e6", "timestamp": "", "source": "github", "line_count": 294, "max_line_length": 146, "avg_line_length": 45.24149659863946, "alnum_prop": 0.7634012480264641, "repo_name": "minhdu/consulo-unity3d", "id": "4a5fbc90b9685e158198100bb0550df381d90e13", "size...
DELETE FROM analysis WHERE logic_name like 'Submit%'; -- Remove pipeline tables DROP TABLE input_id_analysis; DROP TABLE input_id_type_analysis; DROP TABLE job; DROP TABLE job_status; DROP TABLE rule_conditions; DROP TABLE rule_goal;
{ "content_hash": "12f2c0fa7c60e685054f2a1d25a49f4f", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 53, "avg_line_length": 15.125, "alnum_prop": 0.7603305785123967, "repo_name": "navygit/ncRNA_Pipeline", "id": "55049e513afc045463945edfe9202d4040f90f1b", "size": "944", "...
package com.cloudsiness.csmongo.active.validators.unique; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import com.cloudsiness.csmongo.active.CsActiveForm; import com.cloudsiness.csmongo.active.validator...
{ "content_hash": "97dcfcb0f1dc3b6c99a67904aaa7616e", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 68, "avg_line_length": 36.05263157894737, "alnum_prop": 0.8218978102189781, "repo_name": "rogelio-o/csmongo", "id": "cfd20f24af008227f9905bc479d55bbd436f4600", "size": "685...
fileSvr="http://download.cloud.com/templates/devcloud/" install_xen() { aptitude update echo "install xen" aptitude -y install linux-headers-3.2.0-23-generic-pae aptitude -y install xen-hypervisor-4.1-i386 xcp-xapi echo "configure xen" sed -i -e 's/xend_start$/#xend_start/' -e 's/xend_stop$/#x...
{ "content_hash": "131ba2657670bcb689ccb04d4967c375", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 132, "avg_line_length": 32.661654135338345, "alnum_prop": 0.6597605893186004, "repo_name": "cinderella/incubator-cloudstack", "id": "f8b69faa92e67c3c3f09530d1ebdc854f0304837...
package org.teavm.backend.c.util.json; public class JsonObjectVisitor extends JsonVisitor { private JsonPropertyVisitor propertyVisitor; public JsonObjectVisitor(JsonPropertyVisitor propertyVisitor) { this.propertyVisitor = propertyVisitor; } @Override public JsonVisitor object(JsonError...
{ "content_hash": "f8f98dbabd5f5cff4c0a87ce9f0d1ac7", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 67, "avg_line_length": 25.4, "alnum_prop": 0.7506561679790026, "repo_name": "konsoletyper/teavm", "id": "08a423a7c4ea96948cee484770eb97d78d8f1e7e", "size": "990", "binary...
package hydrograph.ui.engine.converter.impl; import hydrograph.ui.common.util.Constants; import hydrograph.ui.engine.converter.StraightPullConverter; import hydrograph.ui.engine.helper.ConverterHelper; import hydrograph.ui.engine.xpath.ComponentXpath; import hydrograph.ui.engine.xpath.ComponentXpathConstants; impo...
{ "content_hash": "c3d29e37f31606a710d11cbdcd268911", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 112, "avg_line_length": 38.10891089108911, "alnum_prop": 0.7838399584307613, "repo_name": "capitalone/Hydrograph", "id": "cf0a8755cff13d0b5ccf9e839496b92ba7cb0590", "size"...
Adds an indicator to the status bar that lights up if the active editor has soft wrap enabled. ## Usage The indicator is present when the active pane is an editor and removed when the active pane is anything else. The indicator is lit when soft wrap is enabled on the active editor and dark if not. Indicator Lit: ![...
{ "content_hash": "83f0361d1b5dab3d8ef752c612f5da2a", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 194, "avg_line_length": 36.58064516129032, "alnum_prop": 0.7663139329805997, "repo_name": "lee-dohm/soft-wrap-indicator", "id": "535f29a295fa863a79114fae3d274e267cdee1c1", ...
"""Implements a sparse balanced and asynchronous E-I model, loosely based on Borges and Kopell, 2005. """ from __future__ import division import argparse import numpy as np from brian2 import * from syncological.async import model from syncological.ping import analyze_result, save_result parser = argparse.ArgumentPa...
{ "content_hash": "4a454163624293a7066176411caa23c0", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 76, "avg_line_length": 20.925925925925927, "alnum_prop": 0.6489675516224189, "repo_name": "voytekresearch/syncological", "id": "12f530849cb9fb87f3e2ec141728cdeffae6c7f1", "...
package org.springframework.cloud.stream.binder.kafka.streams.function; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Optional; import java.util.function.BiConsumer; import java.util.function.BiFunction; import java.util.function.Consume...
{ "content_hash": "2bd268baea337cf1d9781875b9ae8788", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 139, "avg_line_length": 44.46031746031746, "alnum_prop": 0.7631203141735095, "repo_name": "spring-cloud/spring-cloud-stream", "id": "eac3bd7ac8421035b5547cbc4e587096778b96c5...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "2f797bc728a1f9c08a8db800dc877516", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "1b807ab2b52380088916212e55068aaa61e6ecdb", "size": "170...
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Xml; using System.Xml.Linq; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Sprache; using Versatile; using Alpheus; namespace ...
{ "content_hash": "60459dc3a0dffa9d81a79bf9ce8218a7", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 190, "avg_line_length": 41.05813953488372, "alnum_prop": 0.5167563485320494, "repo_name": "OSSIndex/DevAudit", "id": "28386dd70b53a9728d5fade65d434e4551f4bc79", "size": "1...
namespace v8 { namespace internal { namespace compiler { namespace { bool CanAllocate(const Node* node) { switch (node->opcode()) { case IrOpcode::kBitcastTaggedToWord: case IrOpcode::kBitcastWordToTagged: case IrOpcode::kChangeCompressedToTagged: case IrOpcode::kChangeCompressedSignedToTaggedSigned...
{ "content_hash": "4e4f4de5e1e0a57c7879586fc1e4d39c", "timestamp": "", "source": "github", "line_count": 457, "max_line_length": 80, "avg_line_length": 35.921225382932164, "alnum_prop": 0.655458089668616, "repo_name": "Simran-B/arangodb", "id": "6527dfb2877f4b4ecfc51f8396d26789e6f67ee1", "size": "16...
/* * This file is auto-generated. DO NOT MODIFY. * Original file: /Users/kishonti/work/_ronen/android-chromium-view/eyes-free/src/com/googlecode/eyesfree/braille/display/IBrailleServiceCallback.aidl */ package com.googlecode.eyesfree.braille.display; /** * Callback interface that a braille display client can expos...
{ "content_hash": "398603c554f85cb1b0af248a7deedfde", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 158, "avg_line_length": 31.481927710843372, "alnum_prop": 0.7902793723689246, "repo_name": "csabakeszegh/android-chromium-view", "id": "abb1893973d029383ff8accb9a5164e42bf94...
namespace mojo { namespace system { void DataPipeImpl::ConvertDataToMessages(const char* buffer, size_t* start_index, size_t* current_num_bytes, MessageInTransitQueue* message_queue) { // The ma...
{ "content_hash": "22ca0e31a37bbf455248986fd7ef11a1", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 80, "avg_line_length": 41.5945945945946, "alnum_prop": 0.6289798570500325, "repo_name": "mdakin/engine", "id": "91ddb02af82a8c75a8e990f79f4ff8e4d4e51698", "size": "1981", ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json.Linq; using Runscope.Messages; using Tavis; namespace Runscope.Links { [LinkRelationType("https://runscope.com/rels/collections")] public class CollectionsLink : Link {...
{ "content_hash": "82e257d72abcf3cc5fc2a52fed9d2b0e", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 109, "avg_line_length": 24.64, "alnum_prop": 0.6915584415584416, "repo_name": "Runscope/dotnet-webpack", "id": "8f825e3528e58808f4da381f5d1f5fc835600a7c", "size": "618", ...
% MBEToolbox -- Molecular Biology & Evolution Toolbox (old files) % % Data type and file IO % codonise64 - Codonises sequence(s) % copyalnheader - Copy header information of an alignment structure into another % encodeseq - Converts nucleotide from letters to integer % seq...
{ "content_hash": "7ca5794097afe1a909eb22ccd5d3f96a", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 109, "avg_line_length": 65.03472222222223, "alnum_prop": 0.617512012813668, "repo_name": "RiboZones/RiboLab", "id": "83192c97b45767f7e7ad9ba803cf2b06952ddd79", "size": "93...
<?php namespace app\components; use Yii; use yii\base\ActionFilter; class Access extends ActionFilter { public static $format = 'FORMAT_JSON'; public function beforeAction($action) { \Yii::$app->controller->enableCsrfValidation = false; $this->setBasicResponse(); return $this->f...
{ "content_hash": "d7b0311046b5ef81a22017001169d284", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 103, "avg_line_length": 20.2, "alnum_prop": 0.5375655212580082, "repo_name": "gimox/foxboxApi", "id": "77020a379fb13f389e35b580151200ce2a0830d1", "size": "1717", "binary"...
package model; public class County { private int id; private String countyName; private String countyCode; private int cityId; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getCountyName() { return countyName; } public void setCountyName(String countyNam...
{ "content_hash": "e57ada34dce1e15887d906800c6a60d4", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 47, "avg_line_length": 18.545454545454547, "alnum_prop": 0.7107843137254902, "repo_name": "caogeng-git/coolweather", "id": "317721e73946bc523f3778d471496067665cedf9", "size...
import simplejson from flask import jsonify, request, url_for from . import viewing import iiifoo_utils from dbmodels import Manifest, Image from source_mappings import source_mapping, is_dynamic_source pub_req_optmap = ['source_url', 'manifest_id'] # Make sure to change relevant paths in tests etc. if/when this c...
{ "content_hash": "025ee2bd20bdcf31dde252683e08dd37", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 81, "avg_line_length": 42.08108108108108, "alnum_prop": 0.6118604153286235, "repo_name": "hashimmm/iiifoo", "id": "7e335a4830b70b3dee89948329178ec951ac4e8c", "size": "4671...
const { expect } = require('chai'); const { runDecider } = require('../../../src/decision_task_runner/run'); const NOOP = () => undefined; describe('Decision Task Runner - Running the Decider', () => { it('calls decider', () => { const task = { events: [], }; let deciderCalled...
{ "content_hash": "87a4aface49ffcea837f2d9abc74c397", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 72, "avg_line_length": 31.35, "alnum_prop": 0.5087719298245614, "repo_name": "matthinz/worky-mcworkflowface", "id": "5bcc6cd194d4bd7e3bcdea7ed4401e370729b221", "size": "125...
<?php namespace LaravelAdminPanel\Http\Controllers; use Illuminate\Http\Request; use LaravelAdminPanel\Facades\Admin; class MenuController extends BaseController { public function builder($id) { $menu = Admin::model('Menu')->findOrFail($id); $this->authorize('edit', $menu); $isModel...
{ "content_hash": "9ad818a329b86d9f84dc96d8d2341dcb", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 91, "avg_line_length": 28.06832298136646, "alnum_prop": 0.5348528435494578, "repo_name": "laraveladminpanel/admin", "id": "10cfef0c3455a6ab3846b5dfc314f0a7222d1c53", "size...
#include "core/dom/ProcessingInstruction.h" #include "core/css/CSSStyleSheet.h" #include "core/css/MediaList.h" #include "core/css/StyleSheetContents.h" #include "core/dom/Document.h" #include "core/dom/IncrementLoadEventDelayCount.h" #include "core/dom/StyleEngine.h" #include "core/fetch/CSSStyleSheetResource.h" #i...
{ "content_hash": "dbfc20a79b519643036d87849c82a85c", "timestamp": "", "source": "github", "line_count": 285, "max_line_length": 188, "avg_line_length": 30.49122807017544, "alnum_prop": 0.6833141542002301, "repo_name": "axinging/chromium-crosswalk", "id": "0c9eb8c53acd5243a3f0774d6857e3dfc482e3b9", ...
package com.facebook.buck.haskell; import com.facebook.buck.cxx.CxxBuckConfig; import com.facebook.buck.cxx.CxxPlatform; import com.facebook.buck.cxx.CxxPlatformUtils; import com.facebook.buck.cxx.NativeLinkable; import com.facebook.buck.model.BuildTarget; import com.facebook.buck.model.FlavorDomain; import com.face...
{ "content_hash": "0946fa976b1f75a08f68ab7792b54b40", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 93, "avg_line_length": 28.03030303030303, "alnum_prop": 0.7632432432432432, "repo_name": "darkforestzero/buck", "id": "ba7af27d0ea995a968a4b71a9f14514e795e9ea4", "size": "2...
require 'travis/cli' module Travis module CLI class Show < RepoCommand description "displays a build or job" def run(number = last_build.number) number = repository.branch(number).number if number !~ /^\d+(\.\d+)?$/ and repository.branch(number) entity = job(number) || build(number) ...
{ "content_hash": "5720908d2a2efae8477140cb0f8c6f17", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 108, "avg_line_length": 35.04347826086956, "alnum_prop": 0.5359801488833746, "repo_name": "snordhausen/travis.rb", "id": "f802b1d2824a80501fc982142f25279590560c40", "size":...
namespace ash { namespace phonehub { const char kVisibleAppName[] = "visible_app_name"; const char kPackageName[] = "package_name"; const char kUserId[] = "user_id"; const char kIcon[] = "icon"; Notification::AppMetadata::AppMetadata(const std::u16string& visible_app_name, const...
{ "content_hash": "59fbbd6fe48f94d2f339ccdea06e4431", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 78, "avg_line_length": 34.40909090909091, "alnum_prop": 0.6418611478056656, "repo_name": "ric2b/Vivaldi-browser", "id": "ad4aa4ebe60d256a4f55eaa2230fa278caa017d3", "size":...
using namespace std; using namespace boost; namespace impala { scoped_ptr<HdfsFsCache> HdfsFsCache::instance_; void HdfsFsCache::Init() { DCHECK(HdfsFsCache::instance_.get() == NULL); HdfsFsCache::instance_.reset(new HdfsFsCache()); } hdfsFS HdfsFsCache::GetConnection(const string& host, int port) { lock_guar...
{ "content_hash": "41b6a7923508e320f3f8ba08baf23001", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 88, "avg_line_length": 27.209302325581394, "alnum_prop": 0.6888888888888889, "repo_name": "gistic/PublicSpatialImpala", "id": "0e35505b653551a6296563aee04ff0cbdedc5014", "s...
<?xml version="1.0" encoding="utf-8"?> <transition xmlns:android="http://schemas.android.com/apk/res/android"> <item android:drawable="@color/qs_detail_transition" /> <item android:drawable="?android:colorPrimary" /> </transition>
{ "content_hash": "9a4323d5ca36dc9598b54c98e413a127", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 61, "avg_line_length": 40, "alnum_prop": 0.7083333333333334, "repo_name": "BatMan-Rom/ModdedFiles", "id": "960dc7296f5884c887efbd0c5721f9ac6488f725", "size": "240", "binar...
package com.intellij.codeInsight.daemon.impl; import com.intellij.openapi.editor.markup.RangeHighlighter; import com.intellij.openapi.util.ProperTextRange; import com.intellij.openapi.util.TextRange; import com.intellij.util.SmartList; import com.intellij.util.containers.MultiMap; import javax.annotation.Nonnull; im...
{ "content_hash": "fc9f6b77230dda89989f86ecb79de447", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 112, "avg_line_length": 32.08, "alnum_prop": 0.7481296758104738, "repo_name": "consulo/consulo", "id": "bd1ea211a7dca0d383b573afcea596f9a14d6a6a", "size": "2204", "binary...
require File.expand_path(File.dirname(__FILE__)) + '/integration_helper' require 'lhm/table' require 'lhm/migration' describe Lhm::Chunker do include IntegrationHelper before(:each) { connect_master! } describe 'copying' do before(:each) do @origin = table_create(:origin) @destination = table_c...
{ "content_hash": "2ec08c80c136f2c10b86470834873481", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 115, "avg_line_length": 31.069565217391304, "alnum_prop": 0.6154492023509656, "repo_name": "timeplayinc/lhm", "id": "4bf6d521a824d121e12e9cb28a02b9921a8805be", "size": "36...
package com.example.avjindersinghsekhon.minimaltodo; import io.reactivex.Single; import retrofit2.Retrofit; import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory; import retrofit2.converter.gson.GsonConverterFactory; /** * Created by ismael on 6/12/17. */ public class ReceiptInteractor { private ReceiptA...
{ "content_hash": "290dfc1615e2df3de90ee218d7c1f080", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 74, "avg_line_length": 26.352941176470587, "alnum_prop": 0.6886160714285714, "repo_name": "ismaellg/Minimal-Todo", "id": "c5df21b274044580fc5ec4c11fc892c80d372a5d", "size":...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "6cec4cce720dd17faad1622e30f845c7", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 147, "avg_line_length": 40.764044943820224, "alnum_prop": 0.7681918412348401, "repo_name": "stefan-ziel/Activiti", "id": "0c66a194dd5aa3dbcd16597f4d2276533c012b3c", "size":...
package org.insightech.er.editor.view.dialog.edit; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.eclipse.draw2d.ColorConstants; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.TableEditor; import org.eclipse.swt.events.SelectionAdapter; import org.ecli...
{ "content_hash": "a4d04aec280a7bfa98b61306809e72a5", "timestamp": "", "source": "github", "line_count": 826, "max_line_length": 94, "avg_line_length": 28.502421307506054, "alnum_prop": 0.6734061079726458, "repo_name": "kozake/ermaster-k", "id": "400383a52ce1966609fb3e999e822a5870f9c8b1", "size": "2...
/** * Created by diego on 23/01/17. */ 'use strict'; var mongoose = require('mongoose'); var alive = new mongoose.Schema({ name: {type: String, require: true}, description: {type: String}, req: { url: {type: String, require: true}, port: {type: Number, require: true}, path: {typ...
{ "content_hash": "195332b008328625af52df14d3e1e413", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 73, "avg_line_length": 25.08695652173913, "alnum_prop": 0.5181975736568457, "repo_name": "reyesdiego/notificador", "id": "6f5b48d3e155493b1d7160770496b9b11f0c1f5e", "size":...
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you ma...
{ "content_hash": "b09e4f552b29b95650bcf0730ae9ae7d", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 184, "avg_line_length": 45.824742268041234, "alnum_prop": 0.7349831271091114, "repo_name": "amit-jain/jackrabbit-oak", "id": "d49f72f4cacdba14929df06e563daf7ffd43eb56", "s...
""" A port of Infobot's nickometer command from Perl. This plugin provides one command (called nickometer) which will tell you how 'lame' an IRC nick is. It's an elitist hacker thing, but quite fun. """ import supybot import supybot.world as world # Use this for the version of this plugin. You may wish to put a CVS ...
{ "content_hash": "18bae78fea3f886649831576bc254bad", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 78, "avg_line_length": 29.823529411764707, "alnum_prop": 0.7544378698224852, "repo_name": "kblin/supybot-gsoc", "id": "e27199e508cf396b97f91b7a4c40eedfd0580a4f", "size": "3...
#import <Foundation/Foundation.h> @protocol HUEditableLabelDelegate <NSObject> @optional - (BOOL)textViewShouldBeginEditing:(id)textView; - (void)textViewDidBeginEditing:(id)textView; - (void)textFieldDidEndEditing:(id)textView; - (BOOL)textView:(id)textView shouldChangeTextInRange:(NSRange)range replacementText:(...
{ "content_hash": "3c63a07adbb8705fb14bb89371f0b26b", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 102, "avg_line_length": 24.866666666666667, "alnum_prop": 0.7908847184986595, "repo_name": "JustinMuniz/HoverChat-iOS-App", "id": "d94182df9de7a351f8d7ac7992abb331d591e648", ...
import angular from 'angular'; import _ from 'underscore'; import template from './dimLoadout.directive.template.html'; angular.module('dimApp').directive('dimLoadout', Loadout); function Loadout(dimLoadoutService, $translate) { return { controller: LoadoutCtrl, controllerAs: 'vm', bindToController: tr...
{ "content_hash": "8fac135bd91a52fe42a52e447be4b1b8", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 148, "avg_line_length": 28.41747572815534, "alnum_prop": 0.5711194624758, "repo_name": "48klocs/DIM", "id": "0568b75aebce9e79d4274d599389d4f7ca08ce05", "size": "8781", "...
package org.bpim.transformer.executionpath; import org.bpim.model.execpath.v1.Wait; import org.bpim.transformer.base.TransformationResult; import org.bpim.transformer.base.TransformerUnit; import org.bpim.transformer.util.ExecutionPathHelper; import org.jbpm.workflow.instance.NodeInstance; public class TimerNodeInsta...
{ "content_hash": "b7ebe4c8575c908924d2e897d25e535a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 94, "avg_line_length": 35.294117647058826, "alnum_prop": 0.8466666666666667, "repo_name": "nmoghadam/jbpm", "id": "c7f4048011f826cfca60ba1eefa0384bfff19dcb", "size": "600",...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/networksecurity/v1beta1/client_tls_policy.proto package com.google.cloud.networksecurity.v1beta1; public interface ListClientTlsPoliciesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.netwo...
{ "content_hash": "e91df31fe416342f774e930054053652", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 116, "avg_line_length": 26.162790697674417, "alnum_prop": 0.6462222222222223, "repo_name": "googleapis/google-cloud-java", "id": "3db917993c1a185f544fb0f845317275621b47df", ...
<!DOCTYPE html> <!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]--> <!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]--> <!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]--> <head> <!-- Basic Page Needs ===============...
{ "content_hash": "635572d53b463baeda1589d2ba8c6ab5", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 96, "avg_line_length": 30.248704663212436, "alnum_prop": 0.5698869475847893, "repo_name": "Hayawi/TAB2PDF", "id": "dface6f9587a4163698dd9b7d5093a587a52db26", "size": "5838...
<?php namespace Aja\AssetManager; use Asset as AssetFacade; use Assetic\Asset\AssetCollection; class AssetBuilder { protected $collections = array(); protected $name; protected $path; protected $factory; public function __construct($name, $path, $factory) { $this->name = $name; ...
{ "content_hash": "28a6f55cca72076dad2b8ed828c95e20", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 71, "avg_line_length": 23.03191489361702, "alnum_prop": 0.46420323325635104, "repo_name": "dustingraham/asset-manager", "id": "018a5e60e3fc5c38219b083e57ebb1750ca8dfb3", "s...
package hackerrank.quorahackathon2014; import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; //TODO doesn't work public class Schedule { static class Test implements Comparable<Test>{ int duration; double passProbability; public double getV...
{ "content_hash": "548496d912f0aa20cffe7d8bdf8eef7a", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 88, "avg_line_length": 25.666666666666668, "alnum_prop": 0.5409373235460192, "repo_name": "wlk/contests", "id": "fbd884298848ebd14bd211f2f437b6bc98776931", "size": "1771", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>free-groups: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.cs...
{ "content_hash": "32a2b14c6938c1fee0e1a21d8a990593", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 221, "avg_line_length": 41.93827160493827, "alnum_prop": 0.5395937591992935, "repo_name": "coq-bench/coq-bench.github.io", "id": "b646253f471adcde993afe8d11e5044fa0202acc", ...
function [rotationEuler, rotationQuat, curr_data_index] = extractRotation(skel,node_index,data,curr_data_index,rotationEuler,rotationQuat,compute_quats) switch lower(skel.angleUnit) case 'deg' conversion_factor = pi/180; case 'rad' conversion_factor = 1; end node = skel.nodes(node_index...
{ "content_hash": "0e9572eb65571b802a410503293e605f", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 153, "avg_line_length": 36.135802469135804, "alnum_prop": 0.5459514861633071, "repo_name": "iqbalu/3D_Pose_Estimation_CVPR2016", "id": "1320cc0bfdc6c89a6cd354e7009232065d66ea...
#ifndef __CONFIG_ZYNQ_COMMON_H #define __CONFIG_ZYNQ_COMMON_H /* CPU clock */ #ifndef CONFIG_CPU_FREQ_HZ # define CONFIG_CPU_FREQ_HZ 800000000 #endif /* Cache options */ #define CONFIG_SYS_L2CACHE_OFF #ifndef CONFIG_SYS_L2CACHE_OFF # define CONFIG_SYS_L2_PL310 # define CONFIG_SYS_PL310_BASE 0xf8f02000 #endif #def...
{ "content_hash": "a6336b80a859992eab5325720ee84558", "timestamp": "", "source": "github", "line_count": 357, "max_line_length": 74, "avg_line_length": 27.34173669467787, "alnum_prop": 0.707202130929208, "repo_name": "guileschool/beagleboard", "id": "b10cb3f572204131e2af35d3b322eb917504036d", "size"...
'use strict'; var chai = require('chai') , expect = chai.expect , sinon = require('sinon') , sinonChai = require('sinon-chai') , html = require('./fixtures/html.json') , Minimize = require('../lib/minimize') , minimize = new Minimize(); chai.use(sinonChai); chai.Assertion.includeStack = true; describe('M...
{ "content_hash": "881ff50450d4d0567727509f01d32ebe", "timestamp": "", "source": "github", "line_count": 278, "max_line_length": 420, "avg_line_length": 41.75539568345324, "alnum_prop": 0.6176774638180565, "repo_name": "Keats/invoicer", "id": "0a087568e4f4d33df42ef39b3b9ec65604a2808d", "size": "1160...
package org.pentaho.big.data.kettle.plugins.hive; import org.pentaho.database.DatabaseDialectException; import org.pentaho.database.IValueMeta; import org.pentaho.database.dialect.AbstractDatabaseDialect; import org.pentaho.database.model.DatabaseAccessType; import org.pentaho.database.model.DatabaseType; import org...
{ "content_hash": "dc798806e2e3487e6ddbf171144d3c6e", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 116, "avg_line_length": 32.60829493087557, "alnum_prop": 0.5941209723007349, "repo_name": "SergeyTravin/big-data-plugin", "id": "1cfe8bf97274e7b167d1c357abe382e30a61e692", ...
using pb = global::Google.Protobuf; using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; namespace Google.Ads.GoogleAds.V12.Enums { /// <summary>Holder for reflection information generated from google/ads/googleads/v12/enums/...
{ "content_hash": "f760c223ea6ce80b971f1b4b8475a920", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 315, "avg_line_length": 40.01204819277108, "alnum_prop": 0.6890494830874234, "repo_name": "googleads/google-ads-dotnet", "id": "4a640fa4daca17e1511d15667b0c65ec91939475", ...
import * as React from "react"; import { CarbonIconProps } from "../../"; declare const Image32: React.ForwardRefExoticComponent< CarbonIconProps & React.RefAttributes<SVGSVGElement> >; export default Image32;
{ "content_hash": "b6d05dbe9135352b8a2ccc908a9dd6c7", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 55, "avg_line_length": 35.333333333333336, "alnum_prop": 0.7641509433962265, "repo_name": "mcliment/DefinitelyTyped", "id": "5994c276bb9e5d7c14d7d8ad6f84ffbe87bf674f", "size...
namespace blink { class ExecutionContext; class InspectedFrames; class InspectorAgent; class InstrumentingAgents; class LocalFrame; class V8InspectorSession; class CORE_EXPORT InspectorSession : public GarbageCollectedFinalized<InspectorSession> , WTF_NON_EXPORTED_BASE(public protocol::FrontendChannel) , ...
{ "content_hash": "9d6e9ae4332265743dd8cdf8a66c80fc", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 117, "avg_line_length": 34.79761904761905, "alnum_prop": 0.7454669859733151, "repo_name": "wuhengzhi/chromium-crosswalk", "id": "733ae5513a5d6f89b3cc378aff9c293c837b695e", ...
package org.motechproject.security.repository; import org.joda.time.DateTime; import org.motechproject.commons.api.Range; import org.motechproject.commons.date.util.DateUtil; import org.motechproject.security.domain.PasswordRecovery; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
{ "content_hash": "b3a8e01710a5d5d2d7849764faeb5f34", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 129, "avg_line_length": 29.290076335877863, "alnum_prop": 0.6836069846234037, "repo_name": "tstalka/motech", "id": "70a35a304ff4b4c9862e02edd2d803e41c0662bf", "size": "383...
package main import ( "fmt" "strings" "github.com/lxc/lxd" "github.com/lxc/lxd/i18n" "github.com/lxc/lxd/shared" "github.com/lxc/lxd/shared/gnuflag" ) type launchCmd struct{} func (c *launchCmd) showByDefault() bool { return true } func (c *launchCmd) usage() string { return i18n.G( `Launch a container f...
{ "content_hash": "efff9fa6b7c3e768ac76c1c110b7fc42", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 119, "avg_line_length": 25.9, "alnum_prop": 0.6700326700326701, "repo_name": "dustinkirkland/lxd", "id": "98179f2e04cff43ddc8210f40de63b7aeb8f8dca", "size": "3367", "bin...
<?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/activity_lobby" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="ca.da...
{ "content_hash": "2adfd6187f97b23e30e4ac4e492641e2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 107, "avg_line_length": 40.53846153846154, "alnum_prop": 0.7685009487666035, "repo_name": "teammockr/scavenger", "id": "8668760f6ce4f7f38c824a9ed4a61bbc3f1c7ae4", "size": "...
package com.hazelcast.nio.tcp; import com.hazelcast.nio.ObjectDataInput; import com.hazelcast.nio.ObjectDataOutput; import com.hazelcast.nio.serialization.IdentifiedDataSerializable; import java.io.IOException; public class DummyPayload implements IdentifiedDataSerializable { private long referenceId; priv...
{ "content_hash": "47de7c35ff8a30f456348dc7096250f7", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 73, "avg_line_length": 22.625, "alnum_prop": 0.6553867403314917, "repo_name": "Donnerbart/hazelcast", "id": "db97e918dbc0a97deb6f90367b7d943b4834209e", "size": "2073", "b...
package com.twu.biblioteca; import org.hamcrest.CoreMatchers; import org.junit.Assert; import org.junit.Before; import org.junit.Test; /** * Created by isabellamers on 24/04/17. */ public class UserTest { User user; String libraryNumber = "LIB-5577"; String password = "456ef"; String name = "Steven"...
{ "content_hash": "6a639cf66bb4e96ba9c57f495a8e1d44", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 90, "avg_line_length": 24.470588235294116, "alnum_prop": 0.6658653846153846, "repo_name": "AnaYs/twu-biblioteca-Anays", "id": "9fa48c91525d511be0a1ed9cd4eaedb0ad815303", "s...
==== gaem ==== This is a fork of Silas Sewell's Google App Engine Middleware (gaem), which is currently in his graveyard_ github repository. Original README by Silas Sewell =============================== Google App Engine Middleware (gaem) is a collection of utilities for hosting external sites on Google App Engi...
{ "content_hash": "faf5888e2c29bcd301da82649278b5a0", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 164, "avg_line_length": 25.48148148148148, "alnum_prop": 0.7267441860465116, "repo_name": "llaisdy/python-gaem", "id": "1c7ccdf7934ab9513c0ac5f73eb0cbaee38c24b8", "size": "...
<?php /* Safe sample input : get the $_GET['userData'] in an array sanitize : cast via + = 0 construction : concatenation with simple quote */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and its docu...
{ "content_hash": "a536cad995869770bef20027412493fb", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 123, "avg_line_length": 24.597014925373134, "alnum_prop": 0.7233009708737864, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "3e95d177a0c8e0f8f0a641c0ed3b621b9d2...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="Source to the Rust file `io\impls.rs`."> <meta name="keywords" content="rust, rustlang, ru...
{ "content_hash": "08fe20460e8040c4d4bbd77a9f3c4656", "timestamp": "", "source": "github", "line_count": 680, "max_line_length": 625, "avg_line_length": 77.91176470588235, "alnum_prop": 0.6103624009060022, "repo_name": "liigo/liigo.github.io", "id": "f8eb8447671e55aa5af91af02e371424ea4cd7ce", "size"...
var RotateIcon = function(options){ this.options = options || {}; this.rImg = options.img || new Image(); this.rImg.src = this.rImg.src || this.options.url || '/static/groups/img/car_map_state_go.png'; this.options.width = this.options.width || this.rImg.width || 52; this.options.height = this.optio...
{ "content_hash": "50293b8098a9cd7063e577de38b87b65", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 99, "avg_line_length": 36.5, "alnum_prop": 0.669621273166801, "repo_name": "ychen1986/CarSensorDemoWeb", "id": "f5dc8116c2a988cbbf403980b46d0320c8aff120", "size": "1241", ...
/* First off, code is include which follows the "include" declaration ** in the input file. */ #include <stdio.h> #line 27 "parser.lemon" #ifdef HAVE_CONFIG_H #include "config.h" #endif #include "php.h" #include "ext/standard/php_smart_str.h" #include "Zend/zend_exceptions.h" #include "parser.h" #include "scanner....
{ "content_hash": "bdf9d67bce014fb50e1b4e2210e8a26f", "timestamp": "", "source": "github", "line_count": 1619, "max_line_length": 282, "avg_line_length": 30.570105003088326, "alnum_prop": 0.6098640211747116, "repo_name": "c9s/r3", "id": "29cb76ce42f762243e9606dd145bb1771bb8f1a7", "size": "49601", ...
import pyaf.Bench.TS_datasets as tsds import tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 5, transform = "Difference", sigma = 0.0, exog_count = 20, ar_order = 0);
{ "content_hash": "bad25ae196614095b77a61a7e6fc9ac2", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 166, "avg_line_length": 38, "alnum_prop": 0.706766917293233, "repo_name": "antoinecarme/pyaf", "id": "6c14f5d549fd313673db39e6bf5b8c1e5fd135a2", "size": "266", "binary": f...
Developer Notes =============== <!-- markdown-toc start --> **Table of Contents** - [Developer Notes](#developer-notes) - [Coding Style (General)](#coding-style-general) - [Coding Style (C++)](#coding-style-c) - [Coding Style (Python)](#coding-style-python) - [Coding Style (Doxygen-compatible comments...
{ "content_hash": "503162dde0f81402b93f482c030e7d4d", "timestamp": "", "source": "github", "line_count": 989, "max_line_length": 256, "avg_line_length": 39.841253791708795, "alnum_prop": 0.732203131741238, "repo_name": "myriadcoin/myriadcoin", "id": "f765346cd8560f7e230e1e0969a07474bd6df2ae", "size"...
using Newtonsoft.Json.Linq; namespace Xamarin.Ide.Telemetry.Data.Readers { public interface IContextReader { JObject ReadContextProperties (); JObject ReadEventProperties (); } }
{ "content_hash": "ce96c3479d8a4f83d8c22fa5d77a6eb9", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 44, "avg_line_length": 17.181818181818183, "alnum_prop": 0.7671957671957672, "repo_name": "MobileEssentials/Telemetry", "id": "a6104f0023250e7e5c9cd87aa98a0695af401732", "s...
import logging from classymq import exchanges, queues from classymq.lib.uuid import UUIDRequest log = logging.getLogger(__name__) class AMQPAPIRequest(UUIDRequest): def __init__(self, uuid=None, message=None, *args, **kwargs): super(AMQPAPIRequest, self).__init__(uuid, *args, **kwargs) self.messag...
{ "content_hash": "18158099d682f7f30283fafe629e805d", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 67, "avg_line_length": 26.964285714285715, "alnum_prop": 0.5933774834437087, "repo_name": "gdoermann/classymq", "id": "ae98c9fbd13bc05efa8ad8c1a8b7f18aa8951566", "size": "7...
layout: post title: Deployment Properties categories: XAP97 parent: the-processing-unit-structure-and-configuration.html weight: 400 --- {% summary %}The processing unit can be injected with dynamic property values at deployment time. The mechanism leverages Spring's [`PropertyPlaceholderConfigurer`](http:/...
{ "content_hash": "42125b2227d9e875a05d147ad2a71f21", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 800, "avg_line_length": 69.17808219178082, "alnum_prop": 0.7626732673267327, "repo_name": "rasteroid/gigaspaces-wiki-jekyll", "id": "0bfd2c58a09147de25ef2856e373a67f66cef37f...
// // IBAutolayoutConstraintAdditionViewController.h // RRConstraintsPlugin // // Copyright (c) 2014 Rolandas Razma <rolandas@razma.lt> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Soft...
{ "content_hash": "0086cccca498069964a98179c203abc8", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 243, "avg_line_length": 46.53488372093023, "alnum_prop": 0.7906046976511744, "repo_name": "Hs-Yeah/RRConstraintsPlugin", "id": "cd7838b507f6345c58e2f6d7d09e55056b15b454", "...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_65) on Thu Feb 26 12:21:50 ART 2015 --> <title>Overview List</title> <meta name="date" content="2015-02-26"> <link rel="stylesheet" typ...
{ "content_hash": "498c734c81789a83a216cebed1e36509", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 129, "avg_line_length": 55.88461538461539, "alnum_prop": 0.7274604267033723, "repo_name": "ekumenlabs/AndroidStreamingClient", "id": "d8a6c2fc4ff3ba9a8ca74496549a45c86552a15d...
<?php error_reporting(E_ALL); ini_set("display_errors", 1); use Monolog\Logger; use App\Services\Env; class Notification extends Logger { public static function sendPush($deviceToken, $message, $data = null, $type = null) { $log = new \Monolog\Logger('notifications'); $log->pushHandler(new \Monolog\Handler\St...
{ "content_hash": "8c2a9e11e296d5af993c0fe4065ace0a", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 217, "avg_line_length": 31.20175438596491, "alnum_prop": 0.5965701433792522, "repo_name": "renomx/apistarter", "id": "2ca5f85775f111bb37dff7a1ca3d1c070b8826cc", "size": "3...
// .NAME vtkImageLaplacian - Computes divergence of gradient. // .SECTION Description // vtkImageLaplacian computes the Laplacian (like a second derivative) // of a scalar image. The operation is the same as taking the // divergence after a gradient. Boundaries are handled, so the input // is the same as the output....
{ "content_hash": "a751ecce98dd3f40dc382e842fb554af", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 83, "avg_line_length": 30.85185185185185, "alnum_prop": 0.7244897959183674, "repo_name": "candy7393/VTK", "id": "f2f0af3c5bf6bb1a874fd9bf5a0ee1f1895d8924", "size": "2253", ...
package com.sas.mkt.kafka; public class NoiseThread implements Runnable { private boolean done = false; @Override public void run() { while (!done) { try { System.out.println("NOISE!!!!"); Thread.sleep(1000); } catch (Exception ex) { done = true; } } } }
{ "content_hash": "cdd2d82250d43c78f49a22258dc1c66f", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 46, "avg_line_length": 14.6, "alnum_prop": 0.6061643835616438, "repo_name": "randyzingle/tools", "id": "0c65d2b609f19a5928671c289a2f2fed026dfc8d", "size": "292", "binary"...
import { Component, OnInit, AfterViewChecked, EventEmitter, Output, Input } from '@angular/core'; import { CurrencyPipe } from '@angular/common'; import { Subscription } from 'rxjs/Rx'; import { Router } from '@angular/router'; import { MaterializeAction } from 'angular2-materialize'; import createNumberMask from 'tex...
{ "content_hash": "a0a420786f40ff5879d817c879e27067", "timestamp": "", "source": "github", "line_count": 275, "max_line_length": 143, "avg_line_length": 24.29090909090909, "alnum_prop": 0.6483532934131736, "repo_name": "MuriloEduardo/extinfire_v2", "id": "3d368e2a7dd884812b84a4616162576aea1e1cdb", "...
from __future__ import print_function import os import csv import sys if os.path.exists("/home/ggdhines/github/pyIBCC/python"): sys.path.append("/home/ggdhines/github/pyIBCC/python") else: sys.path.append("/Users/greghines/Code/pyIBCC/python") import ibcc if os.path.isdir("/Users/greghines/Databases/serenget...
{ "content_hash": "0088b06b47e3cf7a2215bde65e2e560e", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 552, "avg_line_length": 34.897260273972606, "alnum_prop": 0.6125613346418057, "repo_name": "zooniverse/aggregation", "id": "0057358f70a9bdb47cfd2e1aa630936093e22a43", "siz...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <template type="basic" name="StdyscpH1C13alphaALL" author="Agilent" investigator="" time_created="20120109T161942" tabname="AutoSolids Experiments" menu1="Calibration Studies" menu2="" apptype="solidseq1d" application="Solids" scans="StdyscpH1C13al...
{ "content_hash": "f44f5511fe9741d53fff16f6acf09a50", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 129, "avg_line_length": 67.77777777777777, "alnum_prop": 0.7327868852459016, "repo_name": "OpenVnmrJ/OpenVnmrJ", "id": "63e7af407d137b20402b030308133009e7ac1dba", "size": "6...
// This code is auto-generated, do not modify namespace Ds3.Models { public enum DatabasePhysicalSpaceState { CRITICAL, LOW, NEAR_LOW, NORMAL } }
{ "content_hash": "8246a7a6c674f33f401bc98bf45eb5af", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 45, "avg_line_length": 13.785714285714286, "alnum_prop": 0.5803108808290155, "repo_name": "RachelTucker/ds3_net_sdk", "id": "0854a3dc094f2c6e628d48cbf7e7c7784c3238e7", "siz...
package edu.internet2.middleware.shibboleth.common.relyingparty.provider.saml2; /** ECP SAML 2 SSO configuration settings. */ public class ECPConfiguration extends SSOConfiguration { /** ID for this profile configuration. */ public static final String PROFILE_ID = "urn:oasis:names:tc:SAML:2.0:profiles:SSO:e...
{ "content_hash": "548d552f0cc1ded167333e0a5aae54dd", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 91, "avg_line_length": 28.066666666666666, "alnum_prop": 0.7054631828978623, "repo_name": "brainysmith/shibboleth-common", "id": "8eebde5e169520d420f893a4cd7b98211f7461b5", ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using ModernDesignTemplate.Annotations; namespace ModernDesignTemplate { public class ViewModelSwitcher : IViewModelSwitcher, INotifyPropertyChanged { public delegate v...
{ "content_hash": "eccadf1df870235f6e2b6ae047674037", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 118, "avg_line_length": 35.63492063492063, "alnum_prop": 0.6249443207126949, "repo_name": "TedMANNERs/ModernDesignTemplate", "id": "afcaa4543a5041e5c5ecf9acfa43c9f0c8e51069",...