text
stringlengths
2
1.04M
meta
dict
cliche-shell ============ It's a reincarnation of cliche java shell to have a command line access to java process
{ "content_hash": "dcc8bf8a333d1e09fbdcaccf8bae0447", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 87, "avg_line_length": 28.5, "alnum_prop": 0.7192982456140351, "repo_name": "maxifier/cliche-shell", "id": "3e607a620b292d4e5a62a007a08a6c0d301e6cfe", "size": "114", "bina...
static unsigned int getprocessnum(); static unsigned int getrunningnum(); static unsigned int getsleepingnum(); void top() { while (1) { char c = kernel_getchar(); kernel_clear_screen(31); if (c == 'q') { return; } // Process info. kernel_printf("Proce...
{ "content_hash": "fa772f47508cfb0b11018c67ba690826", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 125, "avg_line_length": 20.643835616438356, "alnum_prop": 0.5461181154611812, "repo_name": "Fairyland0902/XSU", "id": "59c47e1148417cb7a8711373753270ef6ee085ac", "size": "1...
<?xml version="1.0" encoding="utf-8"?> <!-- This file contains Runtime Directives, specifications about types your application accesses through reflection and other dynamic code patterns. Runtime Directives are used to control the .NET Native optimizer and ensure that it does not remove code accessed by you...
{ "content_hash": "190840d3e69ccc283767e1243307ea89", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 99, "avg_line_length": 47.24242424242424, "alnum_prop": 0.7530468248877485, "repo_name": "MeilCli/CrossFormattedText", "id": "c26f54d40743093f2a5bd55077bb967a413d800e", "si...
<?php namespace Nosto\Helper; /** * Price helper class for price related tasks such formatting prices in a standard way */ final class PriceHelper extends AbstractHelper { /** * Formats price into Nosto format, e.g. 1000.99. * * @param int|float|string $price the price string to format. * @...
{ "content_hash": "05c4ac1cccf4442b0158fc0c30b99abe", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 86, "avg_line_length": 23.904761904761905, "alnum_prop": 0.6414342629482072, "repo_name": "Nosto/php-sdk", "id": "7395668b24ad3f3d3a814509a511af3d64898e28", "size": "2240",...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "805429b3f6bbe778000d8c036c089576", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 99, "avg_line_length": 36.31159420289855, "alnum_prop": 0.7076431849930154, "repo_name": "whuwxl/bazel", "id": "6417b473c8bdcd9d10bab77c02d349a724509e20", "size": "5011", ...
Xema is a schema validator inspired by [JSON Schema](http://json-schema.org). Xema supports the features documented in draft 04, 06, and 07 of the JSON-Schema specification. Xema allows you to annotate and validate elixir data structures. Xema is in beta. If you try it and has an issue, report them.
{ "content_hash": "cf8551e9f24d813062c969634b988ad1", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 80, "avg_line_length": 43.285714285714285, "alnum_prop": 0.7755775577557755, "repo_name": "hrzndhrn/xema", "id": "7926743a33cf6797397d780b2e93c8b3842c0920", "size": "311", ...
package org.chamomile.ios.uikit; public class UIImageViewStub extends UIViewStub implements UIImageView { }
{ "content_hash": "12a00122d45274577ede76934aa205fd", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 72, "avg_line_length": 22, "alnum_prop": 0.8272727272727273, "repo_name": "ggeorg/UIKit4J", "id": "a7697f88b7018aa00a884b9c535062c1885eafc9", "size": "110", "binary": fals...
package com.negusoft.holoaccent.example.activity.themed; import com.negusoft.holoaccent.example.activity.SpinnerActivity; public class SpinnerActivityLight extends SpinnerActivity { }
{ "content_hash": "6d6853a01c119b6fe50c38ab1a96af5e", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 64, "avg_line_length": 26.714285714285715, "alnum_prop": 0.8502673796791443, "repo_name": "negusoft/holoaccent", "id": "c79210d56e43954e70ddff7439e7217559a3ad9c", "size": "1...
package org.sakaiproject.delegatedaccess.tool.pages; import java.io.Serializable; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.uti...
{ "content_hash": "96e53fd2701903ea81b4e8e4ffbd1a9b", "timestamp": "", "source": "github", "line_count": 676, "max_line_length": 166, "avg_line_length": 37.47189349112426, "alnum_prop": 0.7140262918953062, "repo_name": "willkara/sakai", "id": "b147b9713f308c9455aef5f660ea67e0def451e5", "size": "2533...
var fullyLoaded = angular.module( 'fully-loaded', [] ); fullyLoaded.directive( 'flLoading', function () { return { restrict: 'E', scope: { data: "=" }, templateUrl: function ( element, attrs ) { return attrs.template; }, link: function ( scope, element, ...
{ "content_hash": "3aff5a3b1d7ebf85d21f529eb213b7eb", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 55, "avg_line_length": 19.208333333333332, "alnum_prop": 0.5054229934924078, "repo_name": "projectweekend/angular-fully-loaded", "id": "a7d2026ad486c9fa660141348ff28eb009548a...
require 'rest-client' require 'thor' require 'json' module Bitcoin module Node class CLI < Thor class_option :network, aliases: '-n', default: :mainnet desc 'getblockchaininfo', 'Returns an object containing various state info regarding blockchain processing.' def getblockchaininfo r...
{ "content_hash": "6da74a92e5a9ab2a3c2313dfcc3846c0", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 264, "avg_line_length": 34.36607142857143, "alnum_prop": 0.6396466614705119, "repo_name": "haw-itn/bitcoinrb", "id": "b79797913a5d8731e1a37f6d8de64052c25919a8", "size": "3...
module Fog module Compute class AWS class Real require 'fog/aws/parsers/compute/detach_internet_gateway' # Detaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC # # ==== Parameters # * internet_gateway_id<~String> - The ID of t...
{ "content_hash": "70707f2bbd7ae2e26f458c79c206029c", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 140, "avg_line_length": 33.910714285714285, "alnum_prop": 0.5444971037388099, "repo_name": "kaxel/tdsftp", "id": "abd5e2af23a87d4418b6505941024f169f432380", "size": "1899",...
FROM balenalib/smarc-px30-fedora:35-build # 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 RUN dnf install -y \ python3-pip \ python3-dbus \ && dnf clean all # install "virtualenv", since the vast major...
{ "content_hash": "5b2b2690ad762de7068c70c7a18970ed", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 708, "avg_line_length": 77.96774193548387, "alnum_prop": 0.7335539925527513, "repo_name": "resin-io-library/base-images", "id": "3dd00fd659b1021f73b158996ab5cac89387d202", ...
namespace fst { using namespace std; // // Single initialization - single-thread implementation // typedef int FstOnceType; static const int FST_ONCE_INIT = 1; inline int FstOnceInit(FstOnceType *once, void (*init)(void)) { if (*once) (*init)(); *once = 0; return 0; } // // Thread locking - single-thre...
{ "content_hash": "4eb5b2e58fca9d12fc59a973f835a25b", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 63, "avg_line_length": 15.707692307692307, "alnum_prop": 0.6640548481880509, "repo_name": "pombredanne/regex2dfa", "id": "329015da03463983657d6249bb79cb293a605abc", "size":...
title: SAP Concur Developer Center - Announcements layout: reference --- ### 2019-12-06 :: December 2019 Release Notes Published SAP Concur has published release notes for the Quick Expense, Budget v4, and Request APIs in the December 2019 release notes. More details can be found on the [Release Notes](https://develop...
{ "content_hash": "5ade380079fd4c0efae5740f92217b8a", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 283, "avg_line_length": 58.630630630630634, "alnum_prop": 0.7901044867854948, "repo_name": "concur/developer.concur.com", "id": "9a6696b9e9b34681f18c463dffeb2a69a25fa9a3", ...
import { StringWrapper, isBlank } from 'angular2/src/facade/lang'; var MODULE_REGEXP = /#MODULE\[([^\]]*)\]/g; export function moduleRef(moduleUrl) { return `#MODULE[${moduleUrl}]`; } /** * Represents generated source code with module references. Internal to the Angular compiler. */ export class SourceMod...
{ "content_hash": "e5b76148dfab38084b24041944d05aa4", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 109, "avg_line_length": 33.70909090909091, "alnum_prop": 0.5814455231930961, "repo_name": "lastmjs/simple-results-survey", "id": "e7f9524907eca37f901ff508ccc572d9e19d3894", ...
<?php namespace DvsaEntitiesTest\Entity; use DvsaEntities\Entity\Visit; use DvsaEntities\Entity\Site; use DvsaEntities\Entity\VisitReason; use DvsaEntities\Entity\EnforcementVisitOutcome; /** * Class VisitTest. */ class VisitTest extends \PHPUnit\Framework\TestCase { public function testInitialState() { ...
{ "content_hash": "4a5868aa1df7630c63672618eb6bb753", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 83, "avg_line_length": 30.02, "alnum_prop": 0.6182544970019986, "repo_name": "dvsa/mot", "id": "5090f601e1b4aa8517851e5829a7f3acd3d976d6", "size": "1501", "binary": false...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "ae4f9b0f810b2179b8654c302e76a56b", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 349, "avg_line_length": 46.55670103092783, "alnum_prop": 0.670837023914969, "repo_name": "arthurlockman/wyatt", "id": "25816490fbc7dd1ec71832481014ad6f77491e0e", "size": "...
<?php namespace Zend\Code\Generator\Exception; class RuntimeException extends \RuntimeException implements \Zend\Code\Generator\Exception {}
{ "content_hash": "29473a7a284c7fd7298f0163d594b6cc", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 45, "avg_line_length": 18.875, "alnum_prop": 0.7814569536423841, "repo_name": "buzzengine/buzzengine", "id": "0bbb4a185695e74d5877573916604124af5f3f09", "size": "151", "bi...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2013 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
{ "content_hash": "bdc70bb1898dd79b79f7d77c41350392", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 394, "avg_line_length": 62.6, "alnum_prop": 0.7380191693290735, "repo_name": "xu6148152/binea_project_for_android", "id": "34a288e93aa754a17e0d6e4706727c3880838646", "size"...
.article-template > *:first-child:not(.article-template__hero-container) { margin-top: 5rem; } .article-template__hero-container { max-width: 130rem; margin: 0 auto; } @media screen and (min-width: 1320px) { .article-template__hero-container:first-child { margin-top: 5rem; } } .article-template__hero-m...
{ "content_hash": "7c2785c5c8b64d0cfb36544295cfb5e5", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 74, "avg_line_length": 17.67283950617284, "alnum_prop": 0.6702759343346141, "repo_name": "dnordby/shopify-base", "id": "2d714266a2c5ce7a44b70badba88d882ddbaa2d5", "size": ...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>cn.edu.zju.isst</groupId> <artifactId>isst-android</artifactId> ...
{ "content_hash": "746684f2901982594a4ba9dd1cd4ad29", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 100, "avg_line_length": 25.985185185185184, "alnum_prop": 0.6630558722919042, "repo_name": "midiao/isst", "id": "d437711607de5e903ff50d780e015d4a418f741f", "size": "3508",...
<bill session="111" type="s" number="354" updated="2009-03-07T14:15:46-05:00"> <status><introduced date="1233205200" datetime="2009-01-29"/></status> <introduced date="1233205200" datetime="2009-01-29"/> <titles> <title type="short" as="introduced">Federal Employees Paid Parental Leave Act of 2009</title> <titl...
{ "content_hash": "caa1ef41ec17321fcc4eb6e077ad2b87", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 189, "avg_line_length": 42.44230769230769, "alnum_prop": 0.7063887630267331, "repo_name": "hashrocket/localpolitics.in", "id": "dec57dd5233e679c5e9c02c2327c8d9c402906fe", "...
*** ### Features - Output to latex - Draw Gate Diagrams - Qudits - Benchmarks - Custom Programming Language / Parser - Extra Gates (i.e. Swap, Toffoli) - Quantum Functions (i.e. Grover Search) - State Dump for debugging programs
{ "content_hash": "392d7fba2b501f84be02f0309aefbf95", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 40, "avg_line_length": 22.9, "alnum_prop": 0.7248908296943232, "repo_name": "adamisntdead/qics", "id": "a4453dd07fb5dc4545308516e64414551a09f77a", "size": "257", "binary"...
@interface ViewController : UIViewController @end
{ "content_hash": "614c3229f18a98e146d2005824b204b2", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 44, "avg_line_length": 10.6, "alnum_prop": 0.7924528301886793, "repo_name": "bingoogolapple/OCNote-PartOne", "id": "db547374c7fee8fca2e7e578a259c165181836a8", "size": "232",...
<script type="text/javascript"> $().ready(function() { $("select#clientid").change(function(){ $('#projectSelector-projectid').load('<?php echo build_url('project', 'projectSelector')?>', {clientid: $(this).val(), selectorType: 'project', fieldName: 'projectid'}); }); $("#expense...
{ "content_hash": "103ffd5bd764713e5d92a70110a783ee", "timestamp": "", "source": "github", "line_count": 177, "max_line_length": 274, "avg_line_length": 42.28813559322034, "alnum_prop": 0.5055444221776887, "repo_name": "nyeholt/relapse", "id": "521bcf849c0ad3ea0e4b50bd1ff0fbde61728a1e", "size": "748...
using UnityEngine; public class Pipe : MonoBehaviour { public float pipeRadius; public int pipeSegmentCount; public float ringDistance; public float minCurveRadius, maxCurveRadius; public int minCurveSegmentCount, maxCurveSegmentCount; public PipeItemGenerator[] generators; private float curveRadius; pri...
{ "content_hash": "931f060d0eaae6131bcebf2db7d69c12", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 73, "avg_line_length": 25.743589743589745, "alnum_prop": 0.6688247011952191, "repo_name": "SoftHardy/Space-X", "id": "6a9b7b5f51f403efdec4a5ff014db69cabaf0e39", "size": "4...
'use strict'; var express = require('express'); var controller = require('./question.controller'); var router = express.Router(); var auth = require('../../auth/auth.service'); router.get('/', controller.index); router.get('/:id', controller.show); router.post('/', auth.isAuthenticated(), controller.create); router...
{ "content_hash": "23b05cb7cb44bca6a2784e12cc6f227e", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 121, "avg_line_length": 55.07692307692308, "alnum_prop": 0.7616387337057728, "repo_name": "gi-no/paizaqa", "id": "2ebabbde8207456160859c3e2b5f9b8abe42720e", "size": "2148",...
package org.broad.igv.sam; import htsjdk.tribble.readers.AsciiLineReader; import org.apache.log4j.Logger; import org.broad.igv.Globals; import org.broad.igv.feature.Strand; import org.broad.igv.feature.genome.GenomeManager; import org.broad.igv.prefs.IGVPreferences; import org.broad.igv.prefs.PreferencesManager; imp...
{ "content_hash": "75c7a0d2e3b785ab24c0aa4159282a51", "timestamp": "", "source": "github", "line_count": 283, "max_line_length": 146, "avg_line_length": 33.09540636042403, "alnum_prop": 0.5722827247490925, "repo_name": "popitsch/varan-gie", "id": "1c24d5cb04689ff33bc09fef5513729ed1580a9d", "size": "...
// ax5.ui.combobox.util (function () { var COMBOBOX = ax5.ui.combobox; var U = ax5.util; var nodeTypeProcessor = { '1': function (queIdx, node, editable) { var cfg = this.config; var textNode = node; if ($(node).find("span").get(0)) { textNode...
{ "content_hash": "3ff7f4e500e29876135324860db296a6", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 163, "avg_line_length": 38.74444444444445, "alnum_prop": 0.40607972469171205, "repo_name": "ax5ui/ax5docs", "id": "ee2aa269f1f164b088598dbe15d8a51bcc61993c", "size": "3576"...
/*! * Copyright (c) 2017 by Contributors * \brief NN op constructions * \file topi/nn.h */ #ifndef TOPI_NN_H_ #define TOPI_NN_H_ #include <algorithm> #include <string> #include "topi/tags.h" #include "topi/detail/constant_utils.h" #include "tvm/ir.h" #include "tvm/ir_pass.h" #include "tvm/operation.h" #include...
{ "content_hash": "e9003f9283998550a4b181772bf2f079", "timestamp": "", "source": "github", "line_count": 456, "max_line_length": 86, "avg_line_length": 38.71052631578947, "alnum_prop": 0.5226603217765692, "repo_name": "mlperf/training_results_v0.7", "id": "bffe63d780e497eb4a9354f8bce5e69ace17aeee", ...
// $Id: routefunc.hpp 5188 2012-08-30 00:31:31Z dub $ #ifndef _ROUTEFUNC_HPP_ #define _ROUTEFUNC_HPP_ #include "flit.hpp" #include "outputset.hpp" #include "config_utils.hpp" #include "routers/router.hpp" typedef void (*tRoutingFunction)( const Router *, const Flit *, int in_channel, OutputSet *, bool ); void Ini...
{ "content_hash": "c6abf4a2957c19c2158d5a1a3c437ba3", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 100, "avg_line_length": 25.72, "alnum_prop": 0.7776049766718507, "repo_name": "ayoubg/gem5-graphics", "id": "244e49dea34fdf9fc20a12d6fb052aaf6b197d7e", "size": "1994", "b...
/* * 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 distributed under t...
{ "content_hash": "984f1c1b66ea0a0ee3afb0ec1d2bf18c", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 182, "avg_line_length": 36.85443037974684, "alnum_prop": 0.7097715953975614, "repo_name": "googleapis/google-api-java-client-services", "id": "122c44db5465c809701588d87b604c...
import { Matrix3 } from './Matrix3.js'; import { Vector3 } from './Vector3.js'; /** * @author bhouston / http://clara.io */ function Plane( normal, constant ) { // normal is assumed to be normalized this.normal = ( normal !== undefined ) ? normal : new Vector3( 1, 0, 0 ); this.constant = ( constant !== undefin...
{ "content_hash": "325d642fc6c42cf52b626e595480988e", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 110, "avg_line_length": 18.56086956521739, "alnum_prop": 0.6467556804872335, "repo_name": "googlecreativelab/three.js", "id": "2c825ada08da826c42d2ea5908d61b2adb69e535", "...
/*** * @file core.hpp * * Include all of the base components required to write MLPACK methods, and the * main MLPACK Doxygen documentation. */ #ifndef __MLPACK_CORE_HPP #define __MLPACK_CORE_HPP /** * @mainpage MLPACK Documentation * * @section intro_sec Introduction * * MLPACK is an intuitive, fast, scalabl...
{ "content_hash": "26866903b1f5224bff111edcad44f433", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 80, "avg_line_length": 37.95263157894737, "alnum_prop": 0.7143253362917764, "repo_name": "lezorich/mlpack", "id": "96bb674090b9727e684e37a6335e31ba3cb7b95b", "size": "7212...
<?php namespace Net\TomasKadlec\LunchGuy\BaseBundle\Service\Parser; use Symfony\Component\DomCrawler\Crawler; /** * Class Santinka * * Parser implementation for http://www.santinka.cz/ * * @package Net\TomasKadlec\LunchGuy\BaseBundle\Service\Parser */ class Santinka extends AbstractParser { protected $filter...
{ "content_hash": "a1fa7e23e249c29772d7610a1bd668a8", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 103, "avg_line_length": 26.782608695652176, "alnum_prop": 0.44622564935064934, "repo_name": "tomaskadlec/d2s", "id": "0eb2afd96a78712b34180aa9a93c743b98e79fc0", "size": "4...
import aquarium from trace_parser import cmp_events_by_timestamp class DeleteBreakdown(object): def __init__(self, start_ev): self._start_ts = start_ev._timestamp self._seqnum = start_ev._arg self._events = [ start_ev ] @property def seqnum(self): return self._seqnum @...
{ "content_hash": "9cd0ebb02798858cc25b4f0021e60e04", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 98, "avg_line_length": 42.64705882352941, "alnum_prop": 0.5474329501915709, "repo_name": "kishoredbn/barrelfish", "id": "43b65e177a10858cc61210d8d19eb238c22ce31f", "size":...
<?php namespace Craft; class RecurringDate_RuleRecord extends BaseRecord { public function getTableName(){ return 'recurringdate_rules'; } public function defineRelations(){ return array( 'element' => array(static::BELONGS_TO, 'ElementRecord', 'required' => true, 'onDelete' => static::CASCADE), ); } pr...
{ "content_hash": "67405b6c4529377bd707516d357e6eed", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 110, "avg_line_length": 31.17142857142857, "alnum_prop": 0.6626947754353804, "repo_name": "nxnw/craft-recurring-dates", "id": "96f226dfa532cd21e1a529c64311a9f3c39a824e", "s...
package com.vmware.vim25; /** * @author Steve Jin (http://www.doublecloud.org) * @version 5.1 */ public enum HostMountMode { readWrite ("readWrite"), readOnly ("readOnly"); @SuppressWarnings("unused") private final String val; private HostMountMode(String val) { this.val = val; } }
{ "content_hash": "4632fd335b1e4602c2b14df359100546", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 48, "avg_line_length": 15.25, "alnum_prop": 0.6688524590163935, "repo_name": "paksv/vijava", "id": "3c3434cdb58acb42f202e970459247ed86b8cb62", "size": "1945", "binary": f...
param ( [String]$GitRepositoryRoot, [String]$RootDirectory, [String]$BranchName, [String]$NewVersion ) . "$PSSCriptRoot\Tools.ps1" . "$PSSCriptRoot\GitProxy.ps1" function ChangeVersion-NewVersionText { param ( [String]$Version ) Return 'AssemblyVersion("' + $Version + '")' } function ChangeVersion-NewFile...
{ "content_hash": "400861bc0d579d18ae2ffcc7080cd6eb", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 127, "avg_line_length": 25.698924731182796, "alnum_prop": 0.7355648535564854, "repo_name": "LukaszNowakowski/TelematicsBuilder", "id": "98539afb2b175c5e4af2cbce4af37ece8728f0...
package com.izforge.izpack.panels; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.Properties; import java.util.StringTokeniz...
{ "content_hash": "f5982ba420f2d5c70df937d3656c0b87", "timestamp": "", "source": "github", "line_count": 1006, "max_line_length": 136, "avg_line_length": 33.639165009940356, "alnum_prop": 0.49942377589314735, "repo_name": "kanayo/izpack", "id": "ffd65e06e6744c7e9e9b13ee3df20fd766d94780", "size": "34...
/*! * \file pdfio2.c * <pre> * * Lower-level operations for generating pdf. * * Intermediate function for single page, multi-image conversion * l_int32 pixConvertToPdfData() * * Intermediate function for generating multipage pdf output * l_int32 ptraCon...
{ "content_hash": "c14316b43a66b3bfd7be823e165d1c12", "timestamp": "", "source": "github", "line_count": 2292, "max_line_length": 83, "avg_line_length": 33.75087260034904, "alnum_prop": 0.5329188050208772, "repo_name": "animecomico/leptonica", "id": "831bad54b1226dae534da3327cc90a6b6cef9d6b", "size"...
package graphics; import java.awt.*; import java.awt.event.ComponentAdapter; import java.awt.event.ComponentEvent; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.util.LinkedList; import java.util.ListIterator; import javax.swing.JPanel; import javax.swing.event.MouseInput...
{ "content_hash": "b2c49c3db049b9cc1e9f061c5de0423c", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 90, "avg_line_length": 29.523076923076925, "alnum_prop": 0.6354872329338197, "repo_name": "firejake308/fizix-engine", "id": "efb09fe8f7d6c4179e48a991b40dd08f972035ba", "si...
TOP=`pwd` CND_PLATFORM=GNU-Linux-x86 CND_CONF=Release CND_DISTDIR=dist CND_BUILDDIR=build NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging TMPDIRNAME=tmp-packaging OUTPUT_PATH=${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/hugefilesorter OUTPUT_BASENAME=hugefilesorter PACKAGE_TOP_DIR=hugefilesorter/ # Fu...
{ "content_hash": "43365110aff318dd60f72ef9568d808a", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 93, "avg_line_length": 20.794117647058822, "alnum_prop": 0.6534653465346535, "repo_name": "hanv89/hugefilesorter", "id": "d4035e31702bc5fdd9becec5f539f774d6699a99", "size":...
var html=require("./html.js"); console.log(html({ md:process.argv[2] ,template:process.argv[3] }));
{ "content_hash": "5361b8841ed2ae8b3e07ee774860f0e9", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 30, "avg_line_length": 17.5, "alnum_prop": 0.6476190476190476, "repo_name": "ansuz/unmon", "id": "7d98fd5b2442d4dea7bba2bedb351c274efda75f", "size": "105", "binary": false...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v12/services/customer_label_service.proto package com.google.ads.googleads.v12.services; public interface MutateCustomerLabelsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v12...
{ "content_hash": "e767c60a623b81de358227bfc9a4fb74", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 113, "avg_line_length": 35.325842696629216, "alnum_prop": 0.7019720101781171, "repo_name": "googleads/google-ads-java", "id": "eba3aee68422321970994d3d89863c575e43f56d", "s...
<!DOCTYPE html> <script src=../../../../resources/testharness.js></script> <script src=../../../../resources/testharnessreport.js></script> <script> // http:// resources are considered cross-origin from the current file://. const IMAGE_URL = "http://localhost:8080/security/resources/abe.png"; const VIDEO_URL = "http:/...
{ "content_hash": "2fbe04fcdbb7534ace49a2c61e8131bd", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 83, "avg_line_length": 34.675, "alnum_prop": 0.665465032444124, "repo_name": "Samsung/ChromiumGStreamerBackend", "id": "d54c4fe56841be8f4553d2d72d26b6829e10b4a6", "size": "...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="uk" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Execoin</source> <translation>Про Execoin</translation> </messag...
{ "content_hash": "a2970b4a954bde351c37917fd80b7260", "timestamp": "", "source": "github", "line_count": 2928, "max_line_length": 431, "avg_line_length": 37.884562841530055, "alnum_prop": 0.6237852261868273, "repo_name": "roucoin/roucoin", "id": "1aa0aaab0ba8559f10718d81982f03ad406d1cac", "size": "1...
package com.alibaba.dubbo.config; import java.util.ArrayList; import java.util.List; import org.hibernate.validator.constraints.NotBlank; import com.alibaba.dubbo.common.Constants; import com.alibaba.dubbo.common.compiler.support.AdaptiveCompiler; import com.alibaba.dubbo.common.logger.LoggerFactory; impor...
{ "content_hash": "637c518862bc46c439d17b356c492088", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 105, "avg_line_length": 21.355670103092784, "alnum_prop": 0.6768042481293749, "repo_name": "sshling/dubbo", "id": "41f78a60f0b3009e6fa60f6fc80229f537b35961", "size": "4425...
import { IconDefinition, IconPrefix, IconName } from "@fortawesome/fontawesome-common-types"; export const definition: IconDefinition; export const faCompressAlt: IconDefinition; export const prefix: IconPrefix; export const iconName: IconName; export const width: number; export const height: number; export const ligat...
{ "content_hash": "1ae51bfc6cd10aeaa052d90ec390b5cf", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 93, "avg_line_length": 41.18181818181818, "alnum_prop": 0.7969094922737306, "repo_name": "victorbrodsky/order-lab", "id": "502d13c3f543f56e097a149a8f7eff227e844815", "size"...
import unittest import tempfile import uuid as _uuid import pathlib import io from qiime2.core.testing.type import IntSequence1 from qiime2.core.testing.format import IntSequenceDirectoryFormat from qiime2.core.archive.archiver import _ZipArchive, ArchiveRecord from qiime2.core.archive.format.v0 import ArchiveFormat ...
{ "content_hash": "1f9f4b344f7575f1c715da6ff18d631d", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 79, "avg_line_length": 35.6, "alnum_prop": 0.6087844739530133, "repo_name": "ebolyen/qiime2", "id": "59cf949c22f5d4d391e8358bb1988c2a7e2f5d48", "size": "2307", "binary": ...
using Moq; using NUnit.Framework; using DotNetNuke.Entities.Tabs; using DotNetNuke.Entities.Portals; using Dnn.PersonaBar.Library.Helper; using Dnn.PersonaBar.Library.Prompt; using Dnn.PersonaBar.Library.Prompt.Models; using Dnn.PersonaBar.Pages.Components.Security; using Dnn.PersonaBar.Pages.Components.Prompt.Command...
{ "content_hash": "f5e94f98ee99b93731c889015848b658", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 135, "avg_line_length": 31.40495867768595, "alnum_prop": 0.6010526315789474, "repo_name": "RichardHowells/Dnn.Platform", "id": "8d1eaee46115778497f4997998f1acd2e1ed4338", ...
<?php declare(strict_types=1); namespace Darvin\MenuBundle\Twig\Extension; use Darvin\MenuBundle\Breadcrumbs\BreadcrumbsBuilderInterface; use Knp\Menu\Twig\Helper; use Twig\Extension\AbstractExtension; use Twig\TwigFunction; /** * Breadcrumbs Twig extension */ class BreadcrumbsExtension extends AbstractExtension ...
{ "content_hash": "0946648aba153f257cb526a9266712af", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 121, "avg_line_length": 28.867469879518072, "alnum_prop": 0.5897328881469115, "repo_name": "DarvinStudio/DarvinMenuBundle", "id": "5c1c98713351c487caf5150a06891f3199f12fd9", ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.34011 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "177b19ffd06c3a00d11c02454e4fefad", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 151, "avg_line_length": 35.46666666666667, "alnum_prop": 0.5798872180451128, "repo_name": "summea/qcalc-gui", "id": "63205a7555095d5bb1599263b059a6eaa3c4ac54", "size": "106...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "ad7290feb7fa5eeebffe2060f45c4232", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "4ab611fb55800511dc41b13f5ad8a2f6566b3720", "size": "19...
SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) $(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment vari...
{ "content_hash": "307f367ba3395685b7d34a23cc12c5e3", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 343, "avg_line_length": 38.50867052023121, "alnum_prop": 0.7062443710597418, "repo_name": "jerluc/envy", "id": "97ef408dae21e69872426227f155adfb007bca9d", "size": "6754", ...
// Generates PHP gRPC service interface out of Protobuf IDL. #include <memory> #include "src/compiler/config.h" #include "src/compiler/php_generator.h" #include "src/compiler/php_generator_helpers.h" using grpc_php_generator::GenerateFile; using grpc_php_generator::GetPHPServiceFilename; class PHPGrpcGenerator : ...
{ "content_hash": "fc231c59470a6711eee297e934ab44af", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 74, "avg_line_length": 29.21276595744681, "alnum_prop": 0.6627822286962856, "repo_name": "kskalski/grpc", "id": "bbe91656d5e4e4bb7031eb1cf5e27bffaedeb35b", "size": "1975", ...
<?php /** * Created by PhpStorm. * User: reinier * Date: 22-03-16 * Time: 11:04 */ namespace frontend\controllers; use common\models\ComputerSummary; use common\models\Customer; use common\models\MaintenanceRequest; use common\models\User; use frontend\components\web\FrontendController; use frontend\models\Maint...
{ "content_hash": "7ca62ca1a8c697033ce89d03ab899ddd", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 220, "avg_line_length": 48.26229508196721, "alnum_prop": 0.49422554347826086, "repo_name": "foxoffire33/computerManager", "id": "0c483731e976dda95ea32f47d12f23d2209b0edc", ...
import logging import urllib import uuid from collections import defaultdict from copy import copy from dataclasses import dataclass, field from typing import Callable, Dict, List, Optional, Set, Union, cast, overload import requests from typing_extensions import Literal, Protocol import mbq.metrics from .. import S...
{ "content_hash": "323a2bcfa697d265bca3f124f7147167", "timestamp": "", "source": "github", "line_count": 607, "max_line_length": 95, "avg_line_length": 34.634266886326195, "alnum_prop": 0.5796508585834562, "repo_name": "managedbyq/mbq.client", "id": "a79de208d40f0e27c637b8f19bd19f78fe03a90b", "size"...
OpenFOAM case files for simulating the UBC vertical axis turbine(s) with the turbinesFoam actuator line model. ## Purpose The main goal of this simulation is to replicate Fig. 6a in Li and Calisal (2010) "Modeling of twin-turbine systems with vertical axis tidal current turbines: Part I—Power output" to test the abi...
{ "content_hash": "40dbb74ffcccdfbb0922eb1f9e9dc2c6", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 116, "avg_line_length": 41.9, "alnum_prop": 0.7613365155131265, "repo_name": "petebachant/CFT-array-turbinesFoam", "id": "eaa4da8b3e1ac65dc446c994436013495aeb0179", "size":...
<?xml version="1.0" encoding="UTF-8" ?> <routes xmlns="http://symfony.com/schema/routing" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/routing http://symfony.com/schema/routing/routing-1.0.xsd"> <route id="sulu_security.template.role.for...
{ "content_hash": "14bb6da34cdfff326726d74c80b3259a", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 93, "avg_line_length": 55.43333333333333, "alnum_prop": 0.7071557426337943, "repo_name": "fahadonline/sulu", "id": "61edccb313ff1572e2b8a6be6487fcb7af8d0f64", "size": "1663...
package com.google.api.ads.adwords.jaxws.v201502.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; /** * * Represents errors thrown by the get operation. * ...
{ "content_hash": "44ff125b8afbb8f3154613c1d765afc0", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 127, "avg_line_length": 23.794117647058822, "alnum_prop": 0.6248454882571075, "repo_name": "ya7lelkom/googleads-java-lib", "id": "b0ba07e4535a6e9d66e8a776428b8bdd25000521", ...
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.eworkplaceapps.ed.LoginToLinkedIn"> <WebView android:id="@+id/webkitWebView1"...
{ "content_hash": "1a6507256ff10518a7e8953cafac4b61", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 74, "avg_line_length": 35.833333333333336, "alnum_prop": 0.7069767441860465, "repo_name": "rishabh05/ED", "id": "f62ce2a12c9e12bdad4c46e13ff25814bf0fda10", "size": "430", ...
A JavaScript PDF generation library for Node and the browser. [![](https://img.shields.io/gratipay/devongovett.svg)](https://gratipay.com/devongovett) ## Description PDFKit is a PDF document generation library for Node and the browser that makes creating complex, multi-page, printable documents easy. It's written i...
{ "content_hash": "193ceca792a69a9cba374a206f7e1786", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 136, "avg_line_length": 34.98757763975155, "alnum_prop": 0.7372625599147878, "repo_name": "backspace/pdfkit", "id": "afd5fef1086622880bea3eff95700078f36c91ae", "size": "56...
<?php defined('JPATH_PLATFORM') or die; jimport('joomla.filesystem.folder'); /** * Component installer * * @since 3.1 */ class JInstallerAdapterComponent extends JInstallerAdapter { /** * The list of current files fo the Joomla! CMS administrator that are installed and is read * from the manifest on disk ...
{ "content_hash": "bb18d236459f58f245c294f76888b9c8", "timestamp": "", "source": "github", "line_count": 1286, "max_line_length": 132, "avg_line_length": 27.360031104199066, "alnum_prop": 0.6075884609919, "repo_name": "prabirmsp/prabirmsp.github.io", "id": "a5e90d19253ed6e6cc809f652a17df413e9ef679", ...
.class Lcom/android/systemui/qs/customize/TileAdapter$TileItemDecoration; .super Landroid/support/v7/widget/RecyclerView$ItemDecoration; .source "TileAdapter.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/android/systemui/qs/customize/TileAdapter; .end annotation .annotati...
{ "content_hash": "e7dab66069058b55bdd613d9bc762813", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 212, "avg_line_length": 31.41509433962264, "alnum_prop": 0.7499499499499499, "repo_name": "BatMan-Rom/ModdedFiles", "id": "87abe3af17933700a716aa6b29e524057654060f", "size...
/** * This code was auto-generated by a tool. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.api.contracts.appdev; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import org.joda.t...
{ "content_hash": "1da6af7fcd011518a08ab66b081a10a7", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 76, "avg_line_length": 19.736363636363638, "alnum_prop": 0.751727314601566, "repo_name": "carsonreinke/mozu-java-sdk", "id": "b92a36871324a9b7084d9ff30c746c9d490084ff", "s...
class Target < ActiveRecord::Base validates_uniqueness_of :uid def Target.find_or_create(uid) ret = find(:first, :conditions => ["uid = ?", uid]) return ret if ret ret = Target.new ret.uid = uid return ret if ret.save Target.find_or_create(uid) end def fill(u) require 'yaml' retu...
{ "content_hash": "5c9c831b362635b6ae90c6d4b454655d", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 59, "avg_line_length": 27.56, "alnum_prop": 0.6168359941944848, "repo_name": "pirapira/kietter", "id": "99f22ee65733f7d70369fba00dcfd271c5dacc25", "size": "689", "binary"...
{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DeriveLift #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TemplateHaskell #-} -- | The STG language syntax tree, modeled after the description in the -- 1992 paper...
{ "content_hash": "6d561aa6dfaf6b1bf01693cb49303e01", "timestamp": "", "source": "github", "line_count": 383, "max_line_length": 108, "avg_line_length": 34.19582245430809, "alnum_prop": 0.6167061159044056, "repo_name": "quchen/stg", "id": "7a6e28b0b54ecd5570eae16ee490237021a99b02", "size": "13101", ...
using namespace std; int main() { string yourName; cout << "Enter your name: "; cin >> yourName; string friendsName; cout << "Enter your friend's name: "; cin >> friendsName; string* ptrCurrentName; cout << "1. Your name's address: " << &yourName << endl; cout << "2. Yo...
{ "content_hash": "0100082ce1ecd304c5358a3c82cd8fc2", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 73, "avg_line_length": 20.243243243243242, "alnum_prop": 0.5020026702269693, "repo_name": "Rachels-Courses/Course-Common-Files", "id": "fe50f4fea218201204efa860e00127187b321d...
If you didn't go through Chapters 2-6, the simplest way to catch up is to copy data from my bucket: #### Catch up from Chapters 2-5 * Open CloudShell and git clone this repo: ``` git clone https://github.com/GoogleCloudPlatform/data-science-on-gcp ``` * Go to the 02_ingest folder of the repo, run the progr...
{ "content_hash": "96900dc23d1b22e845340e83018f10a1", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 119, "avg_line_length": 39.854166666666664, "alnum_prop": 0.7219027705175117, "repo_name": "GoogleCloudPlatform/data-science-on-gcp", "id": "646fe744f8ff0bcccdb701bc321493f9c...
.class public Lcom/samsung/android/settings/GlobalLteRoaming; .super Lcom/android/settings/SettingsPreferenceFragment; .source "GlobalLteRoaming.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/samsung/android/settings/GlobalLteRoaming$1;, Lcom/samsung/androi...
{ "content_hash": "49514c297681a2b0a4b7296ccad90295", "timestamp": "", "source": "github", "line_count": 451, "max_line_length": 181, "avg_line_length": 33.65631929046563, "alnum_prop": 0.7578233085183477, "repo_name": "BatMan-Rom/ModdedFiles", "id": "c2bea19fcadafef39b11ccdd6f6f3aecf6c5760d", "size...
/* * script_test.cpp * * Created on: 2014Äê8ÔÂ11ÈÕ * Author: wangqiying */ #include "ardb.hpp" #include <string> using namespace ardb; void test_scripts_eval(Context& ctx, Ardb& db) { RedisCommandFrame del; del.SetFullCommand("del foo"); db.Call(ctx, del, 0); RedisCommandFrame eval; ev...
{ "content_hash": "350e6a8cfd706975cd812f6f25f41be7", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 102, "avg_line_length": 26.711111111111112, "alnum_prop": 0.6214642262895175, "repo_name": "cloudrain21/ardb", "id": "eae77c319263687c1eac1fdcb186a972da90f7c1", "size": "12...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE252_Unchecked_Return_Value__wchar_t_sscanf_04.c Label Definition File: CWE252_Unchecked_Return_Value.label.xml Template File: point-flaw-04.tmpl.c */ /* * @description * CWE: 252 Unchecked Return Value * Sinks: sscanf * GoodSink: Check if swscanf() fails ...
{ "content_hash": "e4fa6f7e4b997701914259c26494bc36", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 103, "avg_line_length": 29.063492063492063, "alnum_prop": 0.5901146914254506, "repo_name": "JianpingZeng/xcc", "id": "380307d3c159cb96ea05faf8010e8f38935ee51b", "size": "3...
'use strict'; module.exports = [ '$compile', function CompileHtmlDirective($compile) { return { restrict: 'A', link: function($scope, $el, attrs) { $scope.$watch( function($scope) { // watch the 'compile' expression for changes return $scope.$eval(attrs.ass...
{ "content_hash": "a1dc090e52f44cd82509182ceb7c2cc1", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 57, "avg_line_length": 22.454545454545453, "alnum_prop": 0.48785425101214575, "repo_name": "unkhz/almost-static-site", "id": "51f0e41aa3792fee73ea3113cbe7a99d5aa48a0a", "si...
'use strict';var _jestHasteMap; function _load_jestHasteMap() {return _jestHasteMap = _interopRequireDefault(require('jest-haste-map'));}var _jestMessageUtil; function _load_jestMessageUtil() {return _jestMessageUtil = require('jest-message-util');}var _jestRuntime; function _load_jestRuntime() {retu...
{ "content_hash": "ef447c4db4fd40f613d7794c85c52327", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 242, "avg_line_length": 30.731182795698924, "alnum_prop": 0.6770468859342197, "repo_name": "knightsj/RN_Demo", "id": "1f3ac972bb7de4d5d4c90d25c5823a9f3c58ba11", "size": "38...
@implementation CGNetworkData +(void)postData:(NSDictionary *)dict withUrl:(NSString *)url{ //NSString *urlData=[NSString stringWithFormat:@"%@",] // 请求管理者 AFHTTPSessionManager *manager = [AFHTTPSessionManager manager]; manager.responseSerializer = [AFHTTPResponseSerializer seriali...
{ "content_hash": "112031f6e89e466f88ae725e38eae4fe", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 140, "avg_line_length": 35.38709677419355, "alnum_prop": 0.6216955332725616, "repo_name": "Wallenone/ChineseGirl", "id": "783b9dc9f04e1ce72a5aa7249c11ac85bce8490a", "size":...
<!DOCTYPE html> <script> onload = function() { document.body.offsetTop; // trigger layout var elm = document.getElementById('elm'); elm.style.display = 'none'; document.body.offsetTop; // trigger layout var elm2 = document.getElementById('elm2'); elm2.style.display = ...
{ "content_hash": "d7f7094a13ad40b1afa7c1a40e76cb1a", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 270, "avg_line_length": 50.611111111111114, "alnum_prop": 0.6695938529088913, "repo_name": "axinging/chromium-crosswalk", "id": "217d481d34f098abad45c9a112b1aa7073ee22d2", ...
package com.baidu.cc.configuration.dao; import com.baidu.bjf.dao.SqlMapDao; import com.baidu.cc.configuration.bo.ConfigItem; /** * Dao interface class for model com.baidu.cc.configuration.bo.ConfigItemBase * * @author BJF */ public interface ConfigItemDao extends SqlMapDao<ConfigItem, Long> { /** * 删除...
{ "content_hash": "09203f2df2b3291e85feee0379215edb", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 77, "avg_line_length": 21.047619047619047, "alnum_prop": 0.6787330316742082, "repo_name": "sdgdsffdsfff/configcenter-1", "id": "ee50f525f9414a7c4291d8c88dc5ffd39d64d723", "...
package com.intel.image_loader; import java.awt.image.BufferedImage; import java.util.Optional; import java.util.concurrent.*; /** * Parallel worker to write image file into sequence files */ public class Worker { private final DataSet dataSet; private final int parallel; private final ExecutorService t...
{ "content_hash": "06dac09f282599532278f2d25efb62c5", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 112, "avg_line_length": 35.15151515151515, "alnum_prop": 0.49008620689655175, "repo_name": "yiheng/imagenet-loader", "id": "3f828978d44ac69f2886c96e89721a85699cdce6", "size...
function HtmlImageBlender(img) { var canvas = document.createElement('canvas'); canvas.width = img.naturalWidth; canvas.height = img.naturalHeight; var ctx = canvas.getContext('2d'); if(!ctx) return; ctx.drawImage(img, 0, 0); var imageData = ctx.getImageData(0, 0, canvas.width, canvas.height); v...
{ "content_hash": "d85847a57fd603c7a386eb6c0c21874f", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 71, "avg_line_length": 31.90909090909091, "alnum_prop": 0.5740740740740741, "repo_name": "SolRey/Html-Image-Blender", "id": "3127032466b753c70821b9db2f1be9861206bd75", "siz...
from nose.tools import assert_raises, raises from rx import Observable, Observer from rx.testing import TestScheduler, ReactiveTest, is_prime, MockDisposable from rx.disposables import Disposable, SerialDisposable from rx.subjects import AsyncSubject from rx.internal.exceptions import DisposedException on_next = Reac...
{ "content_hash": "7d413451e427f4a9b43dc62856931b3b", "timestamp": "", "source": "github", "line_count": 410, "max_line_length": 76, "avg_line_length": 30.148780487804878, "alnum_prop": 0.6677453280478926, "repo_name": "Reactive-Extensions/RxPy", "id": "c9d7c08a2b87463cc06e8d7a527884f58e80c23f", "si...
class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception def index end end
{ "content_hash": "5b0f08436d12b0be812c973587db9196", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 56, "avg_line_length": 22.5, "alnum_prop": 0.7511111111111111, "repo_name": "oliver-nowak/adam", "id": "4833910b87388e47ff0025ecccf17bfedb6ffb17", "size": "225", "binary"...
<!-- @license Apache-2.0 Copyright (c) 2018 The Stdlib Authors. 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...
{ "content_hash": "7fb9580f62ed37959a5292ec558c1d4b", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 139, "avg_line_length": 22.30666666666667, "alnum_prop": 0.6228332337118948, "repo_name": "stdlib-js/www", "id": "ffde5e3085dfe7811998425a0b50f7bbcd2513c0", "size": "3346"...
class ComputedSeasonRanking < ApplicationRecord belongs_to :team belongs_to :season validates_associated :team validates_associated :season validates :rank, presence: true validates :total_points, presence: true validates :rank, numericality: true validates :total_points, numericality: true ...
{ "content_hash": "2866c4a1c5da9efa8b0bbe355e6dfa55", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 88, "avg_line_length": 35.61538461538461, "alnum_prop": 0.5543556515478761, "repo_name": "steveoro/goggles_core", "id": "1e4f9f0636d3ce8a0fcd1ea3c8f8d7d801269324", "size": ...
This is a small application built with [Laravel] 5.3, where you can send files from a Dropbox folder of choice to a remote server via SFTP. You can also check the actual contents of two other folders (one in Dropbox and the other in a different SFTP disk). Files are downloaded locally and put in a backup folder in th...
{ "content_hash": "16764c20181377b11c42bae9ac03ced1", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 139, "avg_line_length": 33.225, "alnum_prop": 0.7599699021820918, "repo_name": "lucagentile/dropboxtosftp", "id": "1803108f67e5e7d4126a0579a42924ff01120f0c", "size": "1355"...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Ver...
{ "content_hash": "2dc37b6e3bbacac40c52a563bad4292a", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 201, "avg_line_length": 31.536231884057973, "alnum_prop": 0.6314338235294118, "repo_name": "jarst/camel", "id": "05a5f19b17aaf032694cc24f75a394f08863ea19", "size": "4352",...
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.activiti.engine.impl.persistence.entity.IdentityLinkEntity"> <!-- INSERT IDENTITY LINK --> <insert id="insertIdentityLink" parameterTyp...
{ "content_hash": "cc16a3a031e3ee7149ffe81d7c75e8d9", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 171, "avg_line_length": 43.57142857142857, "alnum_prop": 0.6733801717408274, "repo_name": "firzhan/carbon-business-process", "id": "c869151886099bc0c8b63c56dd8622f8e15c801f"...
package net.ernstsson.sqlbuilder; import static net.ernstsson.sqlbuilder.StringValidator.isValidName; import static org.apache.commons.lang3.builder.EqualsBuilder.reflectionEquals; import static org.apache.commons.lang3.builder.HashCodeBuilder.reflectionHashCode; import static org.apache.commons.lang3.builder.ToString...
{ "content_hash": "8405436e26e54782bc81befe9842014d", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 82, "avg_line_length": 24.958333333333332, "alnum_prop": 0.6869782971619366, "repo_name": "ernstsson/sqlbuilder", "id": "ecb053af195e2db74184e0f41f039fb1102a6f49", "size": ...
package com.mozu.quickbooks.generated; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for anonymous complex type. * * <p>The following sch...
{ "content_hash": "70a07255cfc032f84d6e0ac0bb2ef610", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 100, "avg_line_length": 23.580645161290324, "alnum_prop": 0.5889192886456909, "repo_name": "Mozu/Mozu.Integrations.Quickbooks", "id": "99077de540b54231f28a9ac48723e9e9c571027...
package com.amazonaws.services.apigatewayv2.model.transform; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.Request; import com.amazonaws.http.HttpMethodName; import com.amazonaws.services.apigatewayv2.model.*; import com.amazonaws.transform.Marshaller; import com....
{ "content_hash": "bf10e636ed93115e962e56e3ddc2a590", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 153, "avg_line_length": 41.42307692307692, "alnum_prop": 0.7646239554317549, "repo_name": "aws/aws-sdk-java", "id": "d67fee1963bb839de20967707195cecea1fe52d6", "size": "273...
from http.client import responses import hashlib from tornado import web, gen from jupyterhub.services.auth import HubOAuthenticated from remoteappmanager.logging.logging_mixin import LoggingMixin from remoteappmanager.handlers.handler_authenticator import HubAuthenticator class BaseHandler(HubOAuthenticated, web....
{ "content_hash": "4873d602ea54fd1232a94e5f77a4e398", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 78, "avg_line_length": 34.92307692307692, "alnum_prop": 0.6145374449339207, "repo_name": "simphony/simphony-remote", "id": "75db87c983037d0a6d8937d0f756d309c41f9f30", "size...
<?php /** * Base class for logger implementation * */ abstract class MPP_Logger { abstract public function log( $args ) ; abstract public function delete( $args ) ; abstract public function log_exists( $args ) ; abstract public function get( $args ); abstract public function get_where_sql( $args );...
{ "content_hash": "bd7e06307c5f1e3786e9541b4ccf6a58", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 49, "avg_line_length": 17.944444444444443, "alnum_prop": 0.6780185758513931, "repo_name": "valheinz/coorve", "id": "0baa4a81e68d3faa778453e9b26b7dc93107f334", "size": "323"...
<!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"> <title>K15t Theme Styleguide</title> <meta name="description" content=""> <meta name="generator" content="kss-node"> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="kss-assets/kss.css"> <link re...
{ "content_hash": "74738edb63a0a3327c7be2b21f2aa92d", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 109, "avg_line_length": 37.289795918367346, "alnum_prop": 0.5570271453590193, "repo_name": "K15t/k15t-website-styleguide", "id": "8f9dcfea218b8d46249a5dfd916c1848a6baaba1", ...
import socket import threading from django.core.handlers.wsgi import WSGIHandler from django.core.servers import basehttp from django.test.testcases import TransactionTestCase from django.core.management import call_command class StoppableWSGIServer(basehttp.WSGIServer): """WSGIServer with short timeout, so that ...
{ "content_hash": "3eface23d87b823b9eef1445b8a6ec80", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 95, "avg_line_length": 37.135802469135804, "alnum_prop": 0.6313164893617021, "repo_name": "akvo/django-tastypie", "id": "bd434f217b81963eadf4723db645bcce318a58d5", "size": ...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 2.0.1 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
{ "content_hash": "368831f52b1e87515d437a385dc1ded7", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 83, "avg_line_length": 30.59090909090909, "alnum_prop": 0.5646359583952452, "repo_name": "MTASZTAKI/ApertusVR", "id": "41a9cec4efd698ec255e93881462b0a3103e3f8f", "size": "6...
'use strict'; module.exports = { /** * Should hook handle policy annotations * @type {Boolean} */ policy: true, /** @type {Boolean} should route annotation be loaded */ route: true };
{ "content_hash": "5cc53923c69e9a845a7c3fb243afd716", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 58, "avg_line_length": 15.692307692307692, "alnum_prop": 0.6127450980392157, "repo_name": "konstantinzolotarev/sails-hook-annotations", "id": "b1baf6161a26993af9d96819447cc37...
var Happner = require('happner-2'); var path = require('path'); var request = require('request'); var fs = require('fs'); var rimraf = require('rimraf'); var should = require('should'); var http = require('http'); describe(path.basename(__filename), function() { before(function(done) { var _this = this; Hap...
{ "content_hash": "d3990a2396889324610cf1e777d46229", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 129, "avg_line_length": 28.116883116883116, "alnum_prop": 0.5570438799076213, "repo_name": "happner/happner-files", "id": "2a8e6b7ea14cb6cc01cec871b94119093e218342", "size"...
package com.tek42.perforce.model; import java.util.List; import java.util.ArrayList; /** * Represents a group in perforce. * * @author Mike * Date: Jul 21, 2008 2:42:09 PM */ public class Group { String name; String maxResults; String maxScanRows; String maxLockTime; Long timeout; List<String> su...
{ "content_hash": "0af56e09eaec4ecd52eb0c2b1bf27f3b", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 60, "avg_line_length": 19.47142857142857, "alnum_prop": 0.6676449009537784, "repo_name": "8nevil8/hudson-perforce-plugin", "id": "6369e4110de6ee4ec5ab1d2ca750cee43fd16f95", ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: com/google/protobuf/lite_equals_and_hash.proto package protobuf_unittest.lite_equals_and_hash; public final class LiteEqualsAndHash { private LiteEqualsAndHash() {} public static void registerAllExtensions( com.google.protobuf.ExtensionR...
{ "content_hash": "0bbb88b8ceb8629fc9fb3c67969defad", "timestamp": "", "source": "github", "line_count": 1845, "max_line_length": 159, "avg_line_length": 35.41355013550135, "alnum_prop": 0.6376534329180569, "repo_name": "protobufel/protobuf-el", "id": "4ea80b231e5d39092ab1b1219320c1daa481b96c", "siz...