text
stringlengths
2
1.04M
meta
dict
package team.cs6365.payfive.model; public class User { String name = ""; String paypalId = ""; Cart cart = new Cart(); public User() { this("", ""); } public User(String name) { this(name, ""); } public User(String name, String paypalId) { this.name = name; this.paypalId = paypalId;...
{ "content_hash": "b4da5ceaefbda16b4e5d7b622c26323b", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 44, "avg_line_length": 15.756756756756756, "alnum_prop": 0.6020583190394511, "repo_name": "hoyin29/CS6365Project", "id": "ad8e8896dd71a4a1e35d30578aeb2a5599588d44", "size":...
<html> <head> <title>Toby Anstis's panel show appearances</title> <script type="text/javascript" src="../common.js"></script> <link rel="stylesheet" media="all" href="../style.css" type="text/css"/> <script type="text/javascript" src="../people.js"></script> <!--#include virtual="head.txt" --> </head> <body> <!--#i...
{ "content_hash": "03c3b953e354039b8191c9d49fd1ecc3", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 265, "avg_line_length": 46.77777777777778, "alnum_prop": 0.6561757719714965, "repo_name": "slowe/panelshows", "id": "4fd6fe1ed9a7d5a5a6c0ffe56d6e72f58a284ebc", "size": "168...
<?xml version="1.0" encoding="UTF-8"?> <Tokens version="1.0"> <File path="Classes/TDMultipartWriter.html"> <Token> <TokenIdentifier>//apple_ref/occ/cl/TDMultipartWriter</TokenIdentifier> <Abstract type="html">A streaming MIME multipart body generator, suitable for use with an NSURLRequest. Reads from a ...
{ "content_hash": "b6e1fa6c5c4cef3187c9017c89d68e9a", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 268, "avg_line_length": 40, "alnum_prop": 0.7264705882352941, "repo_name": "BellGeorge/BGLibrary", "id": "b18152802ebdce53be8c54f79fb73f84c6e7f811", "size": "4080", "bin...
package org.apereo.cas.configuration.model.support.jdbc.authn; import org.apereo.cas.configuration.support.RequiredProperty; import org.apereo.cas.configuration.support.RequiresModule; import lombok.Getter; import lombok.Setter; import lombok.experimental.Accessors; /** * This is {@link QueryEncodeJdbcAuthenticatio...
{ "content_hash": "f883ed999eeff446de37461081343347", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 95, "avg_line_length": 24.708333333333332, "alnum_prop": 0.6947723440134908, "repo_name": "leleuj/cas", "id": "3e9bc21984c6d645ba97e91a1d21f0d00947180e", "size": "1779", ...
module.exports = { createClient: require('./client').createClient, createServer: require('./server').createServer, createDb: require('./somedb').createDb };
{ "content_hash": "71bd3b5a1160e54e7f510112c3584487", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 49, "avg_line_length": 32.4, "alnum_prop": 0.7160493827160493, "repo_name": "vegapi/vegapi", "id": "9f311390c1d10caa5921421d0a6d95c46cffedd2", "size": "219", "binary": fal...
package com.gruppe27.fellesprosjekt; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for simple App. */ public class AppTest extends TestCase { /** * Create the test case * * @param testName name of the test case */ ...
{ "content_hash": "22b960fc3114b945c8a48b2388df457c", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 46, "avg_line_length": 18.764705882352942, "alnum_prop": 0.5956112852664577, "repo_name": "Fellesprosjekt-27/fellesprosjekt", "id": "8d6a15bc1194e8b18d5069d5bd04d45c3a1c9ee8"...
// Copyright 2022 Google LLC // // 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 writi...
{ "content_hash": "88eb67f0098613efa789ef0c17ef6c1b", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 134, "avg_line_length": 27.76829268292683, "alnum_prop": 0.6693017127799736, "repo_name": "googleads/googleads-java-lib", "id": "eacadc29aa103b876d1a7803267118fb1b208469", ...
class SummitRestException(Exception): def __init__(self, status, uri, msg='', code=None, method='GET'): self.status = status self.uri = uri self.msg = msg self.code = code self.method = method def __str__(self): return 'HTTP {0} error: {1}'.format(self.status, s...
{ "content_hash": "e7cbe45a7e1fc351c6146982fbf22303", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 69, "avg_line_length": 29.90909090909091, "alnum_prop": 0.5683890577507599, "repo_name": "josephl/summit-python", "id": "92c15cf29eb54910fd21395b740f579d8f893dfd", "size": ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "38c44bc1b2551649d7d54579306fb6ff", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "8a5b5ae53742a99652c2a4dabd081236d47e93fc", "size": "186...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2015 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/l...
{ "content_hash": "77d066218d5f3afe9c5471fabcc80801", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 76, "avg_line_length": 36.95652173913044, "alnum_prop": 0.7035294117647058, "repo_name": "yigit/dev-summit-architecture-demo", "id": "fea5457a955769da977edba352b3b98ac1685e3a...
<?php namespace Laravolt\Indonesia\Test\Models; use Illuminate\Database\Eloquent\Collection; use Laravolt\Indonesia\Models\City; use Laravolt\Indonesia\Models\District; use Laravolt\Indonesia\Models\Province; use Laravolt\Indonesia\Test\TestCase; class ProvinceTest extends TestCase { /** @test */ public func...
{ "content_hash": "eecba10ca3eb0db1d69313c16f4c63c2", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 80, "avg_line_length": 28.942028985507246, "alnum_prop": 0.6414621932899349, "repo_name": "laravolt/indonesia", "id": "dbaf9e947c97460d11b55d3b7b5e00ac39e2293a", "size": "1...
package org.pageseeder.berlioz.plus; import org.pageseeder.berlioz.plus.spi.RequestFactory; /** * Base class for all generators in this application. */ public abstract class ValidatingGenerator extends Generator<ValidatedRequest> { private static final RequestFactory<ValidatedRequest> REQUEST_FACTORY = new Built...
{ "content_hash": "f6103acccc10f15c3c07d477c623c4b3", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 95, "avg_line_length": 25.125, "alnum_prop": 0.7786069651741293, "repo_name": "pageseeder/berlioz-plus", "id": "7fdfc3602ffa1b6c8f8c4f3d61be0ffc16e006a2", "size": "402", ...
require 'test_helper' describe 'Filesystem - positive senario' do let(:options) do object = mock() object.stubs(:model_name).returns('Entity') object.stubs(:table_name).returns('entities') object.stubs(:collection_name).returns('collection') object end let(:fs) do Filesystem.any_instance...
{ "content_hash": "27af8a318e58bc0e4458ac510349a008", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 99, "avg_line_length": 24.987179487179485, "alnum_prop": 0.6618778860954335, "repo_name": "lochnessathome/ranked-model-hstore", "id": "3d61ada2795f35d72b6efcbd25268a028570564...
package cameradar import ( "reflect" "testing" curl "github.com/Ullaakut/go-curl" ) func TestCurl(t *testing.T) { handle := Curl{ CURL: curl.EasyInit(), } handle2 := handle.Duphandle() if reflect.DeepEqual(handle, handle2) { t.Errorf("unexpected identical handle from duphandle: expected %+v got %+v", ha...
{ "content_hash": "e89432ba66692f99acd7df0061a89bbd", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 95, "avg_line_length": 17, "alnum_prop": 0.6882352941176471, "repo_name": "EtixLabs/cameradar", "id": "37b0fc2692665d8e0c66eebcf26e0e3aa7bf88f5", "size": "340", "binary":...
namespace sample { using namespace rime; class TrivialTranslator : public Translator { public: TrivialTranslator(const Ticket& ticket); virtual an<Translation> Query(const string& input, const Segment& segment); private: string Translate(const string& input); using Trivial...
{ "content_hash": "1b45476d2922c506bb34794e85eb62bd", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 56, "avg_line_length": 21.333333333333332, "alnum_prop": 0.6941964285714286, "repo_name": "Prcuvu/librime", "id": "cd4b77e81a1db16a2b29b158d0ea48af9ec21d94", "size": "792",...
--TEST-- Test shuffle() function : error conditions --FILE-- <?php /* Prototype : bool shuffle(array $array_arg) * Description: Randomly shuffle the contents of an array * Source code: ext/standard/array.c */ /* Test shuffle() to see that warning messages are emitted * when invalid number of arguments are passed...
{ "content_hash": "d16415d2cdbd9abe520f762cc500cc7a", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 85, "avg_line_length": 25.12962962962963, "alnum_prop": 0.6809137803979366, "repo_name": "lunaczp/learning", "id": "833b390363740be0df984899964679e327a338f2", "size": "1357...
// Example: Word Count Example with Metrics and ScioIO read/write // Usage: // `sbt "runMain com.spotify.scio.examples.extra.WordCountScioIO // --project=[PROJECT] --runner=DataflowRunner --region=[REGION NAME] // --input=gs://apache-beam-samples/shakespeare/kinglear.txt // --output=gs://[BUCKET]/[PATH]/wordcount"` ...
{ "content_hash": "cff796c048f512fe54e437520b58a6ce", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 96, "avg_line_length": 40.02777777777778, "alnum_prop": 0.6877168632893824, "repo_name": "spotify/scio", "id": "1c84135b72c40d44924e52c69a4b066da1b5ceb5", "size": "3480", ...
<?xml version="1.0"?> <qualifications class="AGF07"> <qualification id="AGF10107" title="Certificate I in Agri-Food (Pathways)"> <units> <unit id="AGFCMN101A" title="Adapt to work requirements in agri-food industry"/> <unit id="AGFCMN102A" title="Apply effective work practices"/> <unit id="AGFCM...
{ "content_hash": "4c95231eebadc7eeb260a33cea70c388", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 87, "avg_line_length": 55.869565217391305, "alnum_prop": 0.6894941634241245, "repo_name": "rheinardkorf/oktga", "id": "9905a7e4662dc0d5c7b26b7ca8610afc3945e890", "size": "1...
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, educatio...
{ "content_hash": "9c18969c7fa0e8acf672ee88e9bb0ac9", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 87, "avg_line_length": 45.614285714285714, "alnum_prop": 0.8202317569683683, "repo_name": "whiskeysierra/switchboard", "id": "f50b79112f94d6ea70086a1486297f348c3e1b78", "si...
require File.expand_path("../test_helper", File.dirname(__FILE__)) require 'methodical/modifier' require 'methodical/action_item' class ModifierTest < Test::Unit::TestCase context "#execute!" do specify "executes the modifier block" do step = stub_everything("ActionItem") sensor = :unset it = M...
{ "content_hash": "069f91790b0ee22b827dab09b8c4d3b7", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 73, "avg_line_length": 28.329113924050635, "alnum_prop": 0.6255585344057194, "repo_name": "avdi/methodical", "id": "da56479daef213c7ee2eb50ac12b6ca9a7f9b3a0", "size": "2238...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE195_Signed_to_Unsigned_Conversion_Error__fscanf_strncpy_52a.c Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml Template File: sources-sink-52a.tmpl.c */ /* * @description * CWE: 195 Signed to Unsigned Conversion Error * BadSource: fs...
{ "content_hash": "06f5ea1e9c036584b66dc75df7037cb8", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 129, "avg_line_length": 30.416666666666668, "alnum_prop": 0.6880626223091977, "repo_name": "JianpingZeng/xcc", "id": "d518210722619075d174b48cfbf1bfb8a159de9e", "size": "25...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
{ "content_hash": "02ea5c0afb7f7367eb9d75c6601bdc59", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 151, "avg_line_length": 34.93103448275862, "alnum_prop": 0.5347976307996052, "repo_name": "alaingalvan/webpack-systemjs-export-plugin", "id": "7fb4b44f0eb7ed1a62c1260ed9fb7e...
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace PrimitivePlus { public class PrimitivePlusMeshes { public static Mesh GetMeshType(PrimitivePlusType type) { switch(type) { case PrimitivePlusType.Circle2D: return (m_Circle2D == null) ? Circle2D() : m_Circle2D; ...
{ "content_hash": "3107a0a90715df18942878124c8ec604", "timestamp": "", "source": "github", "line_count": 382, "max_line_length": 99, "avg_line_length": 32.27225130890052, "alnum_prop": 0.6964633354964309, "repo_name": "DavidnCothron/4232-capstone-project", "id": "e846fb1ec34d5660db6028171cb6b074087ae8...
"""Classes and functions implementing Layer SavedModel serialization.""" from tensorflow.python.keras.mixed_precision import policy from tensorflow.python.keras.saving.saved_model import base_serialization from tensorflow.python.keras.saving.saved_model import constants from tensorflow.python.keras.saving.saved_model ...
{ "content_hash": "6fc1d63aab83bb24a211c067184dada7", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 104, "avg_line_length": 41.08695652173913, "alnum_prop": 0.7298563869992442, "repo_name": "karllessard/tensorflow", "id": "9e6f2c55615d63ec59ecc06131eb9ad09facbf7e", "size...
#include "gm/gm.h" #include "include/core/SkCanvas.h" #include "include/core/SkPaint.h" #include "include/core/SkRect.h" #include "include/effects/SkGradientShader.h" #include "include/effects/SkImageFilters.h" static void draw_bg_blur(SkCanvas* canvas, SkIRect rect, float sigma) { // First create an intermediat...
{ "content_hash": "45a4be1cad5e2ad6398004a06caff9da", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 100, "avg_line_length": 46.80769230769231, "alnum_prop": 0.5891536565324569, "repo_name": "aosp-mirror/platform_external_skia", "id": "75f6aaa693b17cf3c08086c8a914503b60b55a4...
<!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_07) on Tue Sep 18 21:25:59 EST 2012 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Uses of Class...
{ "content_hash": "1db90ebe7fd7c45c4a42a3470334bc34", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 185, "avg_line_length": 41.05128205128205, "alnum_prop": 0.6064959400374765, "repo_name": "kiwiwin/git-sniffer", "id": "036cb6015391f1049812b324b83a9077ff802580", "size": ...
using System.Collections.Generic; namespace CSharp2nem.ResponseObjects.Block { /* * Block related data */ /// <summary> /// Contains a number of classes that contain block related properties. /// </summary> public class BlockData { /// <summary> /// The previous block ...
{ "content_hash": "179ab3c576cfe2d73f2de2368a61f7f5", "timestamp": "", "source": "github", "line_count": 286, "max_line_length": 171, "avg_line_length": 34.79370629370629, "alnum_prop": 0.47774093055974276, "repo_name": "NemProject/csharp2nem", "id": "a522841b2d4e51ec0b2fde1c39bcad635f41db80", "size...
namespace csapex { class MergeClouds : public csapex::Node, public VariadicInputs { public: MergeClouds(); void setupParameters(Parameterizable& parameters) override; void setup(csapex::NodeModifier& node_modifier) override; void process() override; template <class PointT> void inputCloud(type...
{ "content_hash": "83c79b09d16e87327264e0793386d40f", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 121, "avg_line_length": 23.642857142857142, "alnum_prop": 0.729607250755287, "repo_name": "cogsys-tuebingen/csapex_core_plugins", "id": "79c39086d5e0cde2418b8026713ec44435fcd...
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8UIEvent.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8DOMConfiguration.h" #include "bindings/core/v8/V8HiddenValue.h" #include "bindings/core/v8/V8InputDevice.h" #incl...
{ "content_hash": "99128db2ae20f139895cc2bcbb86034a", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 490, "avg_line_length": 46.644827586206894, "alnum_prop": 0.7295039550528573, "repo_name": "zero-rp/miniblink49", "id": "7616eb1d8958c6df79b5409525ce664d794ea40b", "size":...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SkypeLogReader2.Models { class ChatConversation { public Int32 ID { get; set; } public string DisplayName { get; set; } public ConversationType Type { get; set; } } enum Conversat...
{ "content_hash": "54341da174dd18752919f631f59dba0d", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 50, "avg_line_length": 17.681818181818183, "alnum_prop": 0.622107969151671, "repo_name": "jellypotato-de/SkypeLogReader2", "id": "944eecc3a836923e074a913b0f90196eff72b7f0", ...
""" The MatchMaker classes should except a Topic or Fanout exchange key and return keys for direct exchanges, per (approximate) AMQP parlance. """ import itertools import json from oslo.config import cfg from logcollector.openstack.common.gettextutils import _ from logcollector.openstack.common import log as logging...
{ "content_hash": "073df7721456cf7f3046ddb14424c604", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 76, "avg_line_length": 31.597826086956523, "alnum_prop": 0.60921912624699, "repo_name": "redhat-cip/openstack-logcollector", "id": "1f6e3331b1e1075b0972fcc7ca5203623b10bea2",...
rpm --import http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm yum -y update
{ "content_hash": "3901c2178f0ea7b272e0eda52bfea965", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 82, "avg_line_length": 41.75, "alnum_prop": 0.7425149700598802, "repo_name": "davehatton/packer", "id": "13f59400f568ce6b1f2e49a4efd824ffcb6fbfa9", "size": "185", "binary"...
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> <title>CloudWatchPutMetricDataResponse Class Reference</title> <meta id="xcode-display" name="xcode-display" content="render"/> <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> <l...
{ "content_hash": "76293c16f10b37dc8641033078043426", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 192, "avg_line_length": 27.561946902654867, "alnum_prop": 0.6182372772515653, "repo_name": "morizotter/AWSCloudWatchSample", "id": "d7f81176b740346ca27452df37bc0b2e4cba2389"...
D3 Reusable Components Library ## Disclosure This repository is still in its early stage, so things may not work properly. ## Environment Setup Fork the repository. You will need node, npm, and grunt. Change into the project's root directory. ```bash npm install ``` Run Grunt with `grunt`. That's it!
{ "content_hash": "13b68cfe2d192ac4b8a4aab76e12eb38", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 98, "avg_line_length": 23.53846153846154, "alnum_prop": 0.7516339869281046, "repo_name": "bobegir/jubilee", "id": "3a64e50d7e9a007c65b366fee7b64d4803828bda", "size": "346",...
;(function ($, window, document, undefined) { 'use strict'; Foundation.libs.reveal = { name : 'reveal', version : '{{VERSION}}', locked : false, settings : { animation : 'fadeAndPop', animation_speed : 250, close_on_background_click : true, close_on_esc : true, dism...
{ "content_hash": "d58cf3af56bcac9921ef9fd04c95bc70", "timestamp": "", "source": "github", "line_count": 498, "max_line_length": 146, "avg_line_length": 31.8714859437751, "alnum_prop": 0.512663810483871, "repo_name": "lukeoly/transition-angels", "id": "82321464ec503cc23064629306b235f29499618e", "siz...
@implementation ItemHelper - (id)init { return self; } @end
{ "content_hash": "c2f705766fb15faac88ab67762cec28b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 26, "avg_line_length": 5.833333333333333, "alnum_prop": 0.6142857142857143, "repo_name": "PixLandMedia/PXPodSandbox", "id": "8cafd88926e1e1c4d5f4f247708621874f083d7d", "siz...
namespace oless { namespace excel { namespace records { class SXDtrRecord : public Record { public: SXDtrRecord(unsigned short type, std::vector<uint8_t> data) : Record(type, data) { } }; } } }
{ "content_hash": "074ea7ff7c8aeceb11b4752faee3706f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 86, "avg_line_length": 16.846153846153847, "alnum_prop": 0.634703196347032, "repo_name": "DBHeise/fileid", "id": "4171c4f4b931e19aa37f73ef32e49c0ed378a9dd", "size": "256", ...
Simple JavaScript implementation of Croatian Business Registry Number (MB) validation. If the MB is valid function returns 1, otherwise 0 (false). Example: > var MB = '011302234'; > > validateMB(MB);
{ "content_hash": "455661bb981fbf738ce2d230593b4f36", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 86, "avg_line_length": 22.555555555555557, "alnum_prop": 0.7487684729064039, "repo_name": "otisid/mb-js-validator", "id": "0691d3e9423850aeb9e08767f909368601237467", "size":...
/* Andrés puso la mesa con mucha antelación. Le gustaba el protocolo de las cenas de gala y las comidas de etiqueta, y en algún sitio leyó que los tenedores de carne solían tener tres puntas, mientras que los de pescado venían a tener cuatro. En ese momento su madre dijo: “A la mesa, que el pollo ya está listo”. ¿Cuánt...
{ "content_hash": "d56d162852ada84b56a813d7084f9294", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 94, "avg_line_length": 33.4, "alnum_prop": 0.6347305389221557, "repo_name": "1dawm161715/Ejercicios-1-DAW", "id": "9d848802c731857f143e5adee9957e3766be2660", "size": "1860"...
package org.drools.modelcompiler; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.drools.modelcompiler.domain.Address; import org.drools.modelcompiler.domain.Person; import org.drools.modelcompiler.domain.Pet; import org.drools...
{ "content_hash": "3f679cbb364cdb35ab6bd2b2c116b91a", "timestamp": "", "source": "github", "line_count": 911, "max_line_length": 132, "avg_line_length": 32.95170142700329, "alnum_prop": 0.45204703687664477, "repo_name": "lanceleverich/drools", "id": "d192508f4c5c4540ffb4a453e20ee374e4c1d642", "size"...
<?xml version="1.0" ?> <container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"> <!-- <services> <service id="scheduled_tas...
{ "content_hash": "2a0f1610841d00b7571fac865c8c2e12", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 120, "avg_line_length": 36.0625, "alnum_prop": 0.6395147313691508, "repo_name": "isthub/scheduled-tasks-bundle", "id": "45edf8e3b76b651a291391faa173e2827b8a6bcc", "size": "...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package gid.myunivaq2.service.service; import SPARTA.TassaMatricola; import gid.myunivaq2.jpa.Tassa; import java.sql.Connection; impor...
{ "content_hash": "4ef390e7d0fd118bc342cb77b5a6f92f", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 142, "avg_line_length": 27.064814814814813, "alnum_prop": 0.6763599042080055, "repo_name": "simoleo95/progettoMobile", "id": "d6e789ea9e60c00bb0985a305fcd7f83d3a6aceb", "s...
.d-accordion { box-sizing: border-box; position: relative; overflow: auto; display: flex; align-items: stretch; flex-direction: column; } .d-accordion-header { display: flex; border: 2px solid; padding: 10px 15px; font-weight: bold; border-radius: 0; border-color: #dddddd; color: #333333; ba...
{ "content_hash": "c9d24d4abcc854212338a815750a6d09", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 54, "avg_line_length": 20.89423076923077, "alnum_prop": 0.6801656695812242, "repo_name": "xblox/control-freak", "id": "a199194177e1de4c7376bdc9de6f227910216737", "size": "...
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #define VTK_WRAPPING_CXX #define VTK_STREAMS_FWD_ONLY #include <nan.h> #include "vtkImageAlgorithmWrap.h" #include "vtkPointLoadWrap.h" #include "vtkObjectBaseWrap.h" #include "../../plus/plus.h" using namespace v8; extern...
{ "content_hash": "eb84ed916d145365eadf6a1a6e27c71e", "timestamp": "", "source": "github", "line_count": 498, "max_line_length": 106, "avg_line_length": 28.734939759036145, "alnum_prop": 0.6891684136967156, "repo_name": "axkibe/node-vtk", "id": "2a0e8b3a7a4a7f881d4ade0a6e48c9e4410e5601", "size": "14...
<?xml version="1.0" encoding="UTF-8"?> <!-- #%L Bobcat %% Copyright (C) 2016 Cognifide Ltd. %% 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...
{ "content_hash": "eff3f9e170ddceed7da8a0bb0b900e10", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 204, "avg_line_length": 32.735849056603776, "alnum_prop": 0.5829971181556196, "repo_name": "Cognifide/bobcat", "id": "af4628caddcf0b87bbb429f58a4d3e19c372f485", "size": "3...
+++ title = "Query Key-Frame Info from Video Stream using FFprobe" description = "使用 ffprobe 获取视频中的关键帧信息命令如下:`ffprobe -loglevel error -hide_banner -select_streams v -skip_frame nokey -show_frames -show_entries frame=pict_type -of json=compact=1 input.avi`" date = 2019-09-09T09:52:45+08:00 draft = false template = "page...
{ "content_hash": "013a22d75c6462cc34394040cf922a55", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 197, "avg_line_length": 36.65384615384615, "alnum_prop": 0.7324239244491081, "repo_name": "wbprime/wbpages", "id": "28de53f0caaa22f6b5e713ff8f718532e14aec68", "size": "1055...
YAHOO.namespace("ez"); YAHOO.ez.BlockDD = function() { var cfg = {}; var Dom = YAHOO.util.Dom; var Event = YAHOO.util.Event; var DDM = YAHOO.util.DragDropMgr; YAHOO.ez.DDList = function(id, sGroup, config) { YAHOO.ez.DDList.superclass.constructor.call(this, id, sGroup, config); v...
{ "content_hash": "14a2b4f0df231f844a2189eb8aafd9b4", "timestamp": "", "source": "github", "line_count": 514, "max_line_length": 162, "avg_line_length": 31.46887159533074, "alnum_prop": 0.46775888717156106, "repo_name": "SnceGroup/snce-website", "id": "fcc47bab59c41009200af0be893b99b1235d6e1d", "siz...
namespace BankAccounts { using System; public class Mortgage : Account, IDepositeMoney { private const int CompanyHolderNumberOfMonths = 12; private const int IndividualHolderNumberOfMonths = 6; private const decimal LackOfInterestAmount = 0.0m; public Mortgage(Customers c...
{ "content_hash": "7f09fc86a1c1a1b1da7d8b62521cf67d", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 103, "avg_line_length": 30.363636363636363, "alnum_prop": 0.5149700598802395, "repo_name": "DimitarSD/Telerik-Academy", "id": "d2e649b57c46063b5354603fee9ec8cd3b38f2a2", "s...
"""AppAssure 5 Core API""" from appassure.api import AppAssureAPI class IDiagnosticsManagement(AppAssureAPI): """Full documentation online at http://docs.appassure.com/display/AA50D/IDiagnosticsManagement """ def executeRemoteCommand(self, data): """Executes an arbitrary remote command.""" ...
{ "content_hash": "df7ac67bf0372657978ceb7f9a218182", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 66, "avg_line_length": 33.86046511627907, "alnum_prop": 0.6263736263736264, "repo_name": "rshipp/python-appassure", "id": "99b0864422153782a337b28d0176aad80ef9d292", "size"...
--[[ Copyright 2016 Marek Vavrusa <mvavrusa@cloudflare.com> 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 t...
{ "content_hash": "ddb714e0c3e6f4b7d2e3255ec7667d19", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 99, "avg_line_length": 35.804597701149426, "alnum_prop": 0.6199036918138042, "repo_name": "mkacik/bcc", "id": "67838274357bdfbe79ce36d7608dab2c2a9b1e08", "size": "9345", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>single property - MimeTypeArray class - polymer_app_layout library - Dart API</title> <!-- required because...
{ "content_hash": "6381710ad4b57bc6e47b761a2c552a7f", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 137, "avg_line_length": 27.269709543568464, "alnum_prop": 0.5715155203895314, "repo_name": "lejard-h/polymer_app_layout_templates", "id": "6a4a241f78576666e9af2aeb815a484305...
package com.amazonaws.services.signer.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.signer.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import static com....
{ "content_hash": "fc09bcfb5bcbc4b21ae24d9412b79004", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 136, "avg_line_length": 37.7536231884058, "alnum_prop": 0.6564299424184261, "repo_name": "aws/aws-sdk-java", "id": "ad8a402936844e20cdd8d57c944457f9ba67e388", "size": "3185...
<?php /** * Containers */ namespace MalangPhp\Site\Conf; if (!isset($this) || ! $this instanceof App) { return; } use MalangPhp\Site\Conf\Handler\ErrorHandler\Error; use MalangPhp\Site\Conf\Handler\ErrorHandler\NotAllowed; use MalangPhp\Site\Conf\Handler\ErrorHandler\NotFound; use MalangPhp\Site\Conf\Mapping\Da...
{ "content_hash": "e994b0d8b28d47ee0a864c042ed53fd1", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 107, "avg_line_length": 23.25984251968504, "alnum_prop": 0.5761679079214624, "repo_name": "MalangPHP/malangconf-www", "id": "549b5eed86487a110512ee00aa75307e87ba7935", "si...
class Admin::SponsorsController < Admin::ApplicationController before_filter :set_sponsor, only: [ :show, :edit, :update] def index @sponsors = Sponsor.joins(:sponsor_sessions).all end def new @sponsor = Sponsor.new @sponsor.build_address authorize @sponsor end def create @sponsor = ...
{ "content_hash": "3bb6ca197b7199d182533213bb27a003", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 148, "avg_line_length": 24.651162790697676, "alnum_prop": 0.6783018867924528, "repo_name": "legoscia/planner", "id": "d89b1d559fe9950feac9425579e78d5c662de464", "size": "10...
'use strict'; var gulp = require('gulp'); gulp.task('default', function() { return gulp.src('demo/**/*') .pipe(gulp.dest('demo-release')); });
{ "content_hash": "d7d3630fa177759c834b2a58cd2fef6b", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 41, "avg_line_length": 19.5, "alnum_prop": 0.5769230769230769, "repo_name": "aui/font-spider", "id": "21b773169368e949eaa65cbdf557a7c88b2b03ce", "size": "156", "binary": f...
using namespace std; typedef vector<unsigned char> valtype; bool Sign1(const CKeyID& address, const CKeyStore& keystore, uint256 hash, int nHashType, CScript& scriptSigRet) { CKey key; if (!keystore.GetKey(address, key)) return false; vector<unsigned char> vchSig; if (!key.Sign(hash, vchSig))...
{ "content_hash": "cdb9fc0938b0b19c20df57964eaf2659", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 133, "avg_line_length": 34.481632653061226, "alnum_prop": 0.6325757575757576, "repo_name": "TBoehm/greedynode", "id": "bf98c40394f7c520370414f3077840672e91ea48", "size": "...
SimpleFTPClient =============== A toy FTP client in C++, undergrad course project
{ "content_hash": "8c631abcfd6177f4f61159e2aa74e491", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 49, "avg_line_length": 20.75, "alnum_prop": 0.6385542168674698, "repo_name": "mingyuan-xia/SimpleFTPClient", "id": "2105941fbaf3c7465c16c5f078977751bec046ca", "size": "83", ...
<?php namespace DI\Invoker; use DI\Definition\Helper\DefinitionHelper; use DI\Definition\Resolver\DefinitionResolver; use Invoker\ParameterResolver\ParameterResolver; use ReflectionFunctionAbstract; /** * Resolves callable parameters using definitions. * * @since 5.0 * @author Matthieu Napoli <matthieu@mnapoli.f...
{ "content_hash": "6300f6cdfaf3a51665ce801a633251dc", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 77, "avg_line_length": 25.177777777777777, "alnum_prop": 0.6690203000882613, "repo_name": "RayRutjes/PHP-DI", "id": "42be8a928d203c977c1767fdcc611e8cb642ecda", "size": "113...
from datetime import datetime, timedelta from rdr_service.dao.ghost_check_dao import GhostCheckDao from tests.helpers.unittest_base import BaseTestCase class GhostCheckDaoTest(BaseTestCase): def test_loads_only_vibrent(self): """We might accidentally start flagging CE participants as ghosts if they're re...
{ "content_hash": "97a5f8374d42f43ffa4095ae4599a714", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 106, "avg_line_length": 44.52272727272727, "alnum_prop": 0.6865747830525778, "repo_name": "all-of-us/raw-data-repository", "id": "a8f25d5bc9708496e9e835a2692e8fdbbd25b4c6", ...
package org.apache.nifi.json; import org.apache.nifi.logging.ComponentLog; import org.apache.nifi.record.NullSuppression; import org.apache.nifi.schema.access.SchemaAccessWriter; import org.apache.nifi.serialization.AbstractRecordSetWriter; import org.apache.nifi.serialization.RecordSetWriter; import org.apache.nifi...
{ "content_hash": "b5ae8662934bc193339f592a5e8e6813", "timestamp": "", "source": "github", "line_count": 434, "max_line_length": 188, "avg_line_length": 41.36175115207373, "alnum_prop": 0.6184613670547602, "repo_name": "jtstorck/nifi", "id": "dd7eaec77369a528ebf0f189078cda2e7fb35f82", "size": "18752...
package com.google.inject.internal; import com.google.inject.Key; import com.google.inject.ProvidedBy; import com.google.inject.internal.InjectorImpl.JitLimitation; import com.google.inject.spi.Dependency; import javax.inject.Provider; /** * An {@link InternalFactory} for {@literal @}{@link ProvidedBy} bindings. ...
{ "content_hash": "20e38b553b70962c2ac58c43dc447ca3", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 100, "avg_line_length": 34.63291139240506, "alnum_prop": 0.7266081871345029, "repo_name": "google/guice", "id": "b971f8b963cea73d94c95974dc47545736aae2bc", "size": "3330", ...
<?xml version="1.0" encoding="utf-8"?> <ScrollView android:id="@+id/pbba_popup_container" style="@style/PBBAPopup.Container" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:fillViewport="false" tools:ignore="UnusedIds"> <Relative...
{ "content_hash": "7ff8e54350c76edbc7219061c7047fa1", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 119, "avg_line_length": 46.774436090225564, "alnum_prop": 0.5886513422279376, "repo_name": "vocalinkzapp/ZappMerchantLib-R2-Android", "id": "fa7201f9187734f94eeaa6a74fdd1f8d...
package org.basex.gui.view; import static org.basex.gui.layout.BaseXKeys.*; import java.awt.event.*; import org.basex.gui.*; import org.basex.gui.layout.*; /** * View observer pattern. All inheriting classes are attached to the * views array * * @author BaseX Team 2005-15, BSD License * @author Christian Gruen...
{ "content_hash": "b0baf6e0efd39624f484f20a159e09a5", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 85, "avg_line_length": 23.454545454545453, "alnum_prop": 0.6677237491190979, "repo_name": "deshmnnit04/basex", "id": "f9dcbe901f1398c905e58d28f3b21617a3dbf48c", "size": "2...
Symfony2-sample ===============
{ "content_hash": "dfa4cd8db479a8957aa047fb647d1d82", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 15, "avg_line_length": 16, "alnum_prop": 0.4375, "repo_name": "13pass/symfony2-sample", "id": "d1dc062cb1f1e5398044ca3cb819505a7d6f2421", "size": "32", "binary": false, ...
require 'rubygems' require 'rave' module RaveAllEventTestBot class Robot < Rave::Models::Robot SPELLY_ID = 'spelly@gwave.com' DELETE_COMMAND = 'DELETE' INVITE_COMMAND = 'INVITE' TEXTILE_COMMAND = 'TEXTILE' HTML_COMMAND = 'HTML' KICK_COMMAND = 'KICK' TITLE_COMMAND = 'TITLE' WAVELE...
{ "content_hash": "0084d067086267374c4cc27cf8866add", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 131, "avg_line_length": 35.116129032258065, "alnum_prop": 0.6213485210361933, "repo_name": "diminish7/rave", "id": "98c548cea22beb9c7833a896eb2d864c5a665dcf", "size": "544...
from google.cloud import assuredworkloads_v1 def sample_acknowledge_violation(): # Create a client client = assuredworkloads_v1.AssuredWorkloadsServiceClient() # Initialize request argument(s) request = assuredworkloads_v1.AcknowledgeViolationRequest( name="name_value", comment="comme...
{ "content_hash": "f15080288ea64216eb36fdf1eca8c7dd", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 87, "avg_line_length": 27.9, "alnum_prop": 0.7401433691756273, "repo_name": "googleapis/python-assured-workloads", "id": "4c772f772f8e7a633ffd1d735a7f667c4300a518", "size":...
Projects ======== These are some of the student projects that have used Embedded Xinu. For some, the contribution is included in the official Embedded Xinu distribution itself. .. toctree:: :glob: :maxdepth: 2 *
{ "content_hash": "0ad3c0b47eef79ba3807daed6ba8c036", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 68, "avg_line_length": 18.666666666666668, "alnum_prop": 0.7098214285714286, "repo_name": "rahsinha2/XINU-OS", "id": "e1c8ce11b3b3f90e24f782646dc75d18a176803f", "size": "22...
/** * Default.ts * * @package vrkd/src/list * @author Fernando Salazar */ export declare type Storage<V> = { [k: string]: V; }; /** * List class adds a CRUD wrapper to an object. */ export declare class List<V> { /** * List storage */ private _storage; /** * Unique identifier for...
{ "content_hash": "c2335e54811c922c1de595543d13e809", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 62, "avg_line_length": 20.349206349206348, "alnum_prop": 0.5085803432137286, "repo_name": "VARKODE/bulb", "id": "09b3e47ac5b3b93f419e7178ba67ffce6202e063", "size": "1282", ...
# Getting started The goal of swagger-php is the generate a swagger.json using phpdoc annotations. To output: ```json { "swagger": "2.0", "schemes": ["http"], "host": "example.com", "basePath": "/api" } ``` Write: ```php /** * @SWG\Swagger( * schemes={"http"}, * host="example.com", * basePath...
{ "content_hash": "7837a03e6b94cd91fdf6ae7f53733743", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 163, "avg_line_length": 20.10994764397906, "alnum_prop": 0.6066128612340537, "repo_name": "mrploddy1981/swagger-php", "id": "4f57a0e12ba515e40fa3d9c58b9980852b4e40c8", "si...
<?php final class PhabricatorProjectViewController extends PhabricatorProjectController { public function shouldAllowPublic() { return true; } public function handleRequest(AphrontRequest $request) { $request = $this->getRequest(); $viewer = $request->getViewer(); $response = $this->loadProj...
{ "content_hash": "ac868d1e1b349f1ad7dfcd877ee6ad15", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 76, "avg_line_length": 27.291666666666668, "alnum_prop": 0.6610687022900763, "repo_name": "kanarip/phabricator", "id": "2e53fe72761a62b29189568ab3746790eaf2053d", "size": "...
c() { cd ~/code/$1; } _c() { _files -W ~/code -/; } compdef _c c PATH=$PATH:~/bin PATH=/home/ubuntu/tools/Maven/Default/bin:$PATH export EDITOR='vim' export VAGRANT_DEFAULT_PROVIDER='virtualbox' # autocorrect is more annoying than helpful unsetopt correct_all # disabling some dragons #unalias gp # git push #unalias...
{ "content_hash": "cdd2d79b9df99ab0f4e50c3fcece9cf2", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 130, "avg_line_length": 25.627906976744185, "alnum_prop": 0.5936479128856624, "repo_name": "devkmsg/dotfiles", "id": "3ce558bde85d8c9f45dfc183ccca711bb382fda3", "size": "5...
<?xml version='1.0' encoding='UTF-8'?> <eveapi version="2"> <currentTime>2013-08-02 00:46:10</currentTime> <result> <rowset name="messages" key="messageID" columns="messageID,senderID,sentDate,title,toCorpOrAllianceID,toCharacterIDs,toListID"> <row messageID="290285276" senderID="1" sentDate="2013-08-01 0...
{ "content_hash": "7cc72540252d0cbda30b2a53a5615126", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 208, "avg_line_length": 84.06666666666666, "alnum_prop": 0.7208564631245044, "repo_name": "mstark/reve", "id": "be37b8d9ac49ca76d668455567409a418c2fcf2a", "size": "1261", ...
<!DOCTYPE HTML> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Dragble example</title> <link rel="stylesheet" type="text/css" href="styles.css" /> </head> <body> <div class="content"> <h1>Dragble.js</h1> <h2>Examples</h2> ...
{ "content_hash": "1efe7b39196c57c3bf69aade7e2c80b7", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 171, "avg_line_length": 34.26229508196721, "alnum_prop": 0.5956937799043063, "repo_name": "albertogasparin/Dragble", "id": "56420cb7afd3258c9c2ea963269ac84102e5d356", "size...
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern void signal(int sig , void *func ) ; extern float strtof(char const *str , char const *endptr ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char co...
{ "content_hash": "61be46ac5e622bda7ffcef29847d1c1d", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 202, "avg_line_length": 31.804123711340207, "alnum_prop": 0.6324149108589951, "repo_name": "tum-i22/obfuscation-benchmarks", "id": "f0493228be15dcce7aa60d3ddd071a4e6593ac83",...
import unittest from programy.dialog import Sentence, Question, Conversation from programy.bot import Bot from programy.brain import Brain from programy.config.brain import BrainConfiguration from programy.config.bot import BotConfiguration #############################################################################...
{ "content_hash": "616f257538901f09f8809fe632c7f1f8", "timestamp": "", "source": "github", "line_count": 215, "max_line_length": 78, "avg_line_length": 41.58139534883721, "alnum_prop": 0.6533557046979865, "repo_name": "JustArchi/program-y", "id": "4cc48e9626c1fd2a54f7674b91cc13a5be8a8a20", "size": "...
namespace rocksdb { // An interface for converting a slice to a readable string class SliceFormatter { public: virtual ~SliceFormatter() {} virtual std::string Format(const Slice& s) const = 0; }; // Options for customizing ldb tool (beyond the DB Options) struct LDBOptions { // Create LDBOptions with default ...
{ "content_hash": "3349b69df217c7e1ac2c8e45de899503", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 76, "avg_line_length": 26.375, "alnum_prop": 0.7049763033175356, "repo_name": "fceller/arangodb", "id": "636605ff7faad78b1194900e6bc9945f418c64ec", "size": "1229", "binar...
'use strict'; angular.module("ringo.controllers") .controller("dashboardController", ["$scope", "$route", "$location", "ringoAppService", "localStorageService", "serverApiService", "commonService", "geoLocationService", function ($scope, $route, $location, ringoAppService, localStorageService, serverApiS...
{ "content_hash": "72440f580827231b3427c53a62e3a152", "timestamp": "", "source": "github", "line_count": 314, "max_line_length": 214, "avg_line_length": 44.53503184713376, "alnum_prop": 0.4892019450800915, "repo_name": "F-Secure/lokki-ios", "id": "b27f5a83b615ecee1d8719badf46247d93f69b75", "size": "...
using Newtonsoft.Json.Linq; namespace OrchardCore.ContentManagement.Metadata.Models { public class ContentPartFieldDefinition : ContentDefinition { public ContentPartFieldDefinition(ContentFieldDefinition contentFieldDefinition, string name, JObject settings) { Name = name; ...
{ "content_hash": "1e3b3398b11727a3be02f6d3e39ef791", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 119, "avg_line_length": 32.94117647058823, "alnum_prop": 0.7017857142857142, "repo_name": "petedavis/Orchard2", "id": "b011bbc51c71ff14d72186c43a2fdc85c7e9f5d7", "size": "5...
class CitrixReceiver < Cask url 'http://downloadplugins.citrix.com.edgesuite.net/Mac/CitrixReceiverWeb.dmg' homepage 'http://www.citrix.com/receiver' version 'latest' no_checksum install 'Install Citrix Receiver.pkg' uninstall :launchctl => [ 'com.citrix.AuthManager_Mac', ...
{ "content_hash": "644b06af933166ddc3f8900d4a73b668", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 81, "avg_line_length": 39.470588235294116, "alnum_prop": 0.5022354694485842, "repo_name": "rzyns/homebrew-cask", "id": "eeea5fe39e4ded29864197d4f7dc1b1a5652954a", "size": "...
alias ls='ls -GFh' # Same as above, but in long listing format alias ll='ls -GFhl' alias ri='ri -Tf ansi' alias mysql='mysql -u root' alias mysqladmin='mysqladmin -u root' alias be='bundle exec' alias bx='bundle exec' alias gentags='ctags . && rm .tags;mv tags .tags' alias rake='noglob rake' alias bower='noglob bo...
{ "content_hash": "6208128197fdce69d66c02a7a578b394", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 49, "avg_line_length": 20.3125, "alnum_prop": 0.7076923076923077, "repo_name": "jwtouron/dotfiles", "id": "0f02fe4ecda83ae44a8978ce909400586f53b028", "size": "408", "bina...
package org.apache.commons.fileupload2; import java.io.UnsupportedEncodingException; import java.nio.charset.StandardCharsets; import java.util.Arrays; import java.util.List; import javax.servlet.http.HttpServletRequest; import org.apache.commons.fileupload2.disk.DiskFileItemFactory; import org.apache.commons.fileu...
{ "content_hash": "e038b0ab6f108f5a4e566af4c6c1aaef", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 118, "avg_line_length": 37.145833333333336, "alnum_prop": 0.7459338194054963, "repo_name": "apache/commons-fileupload", "id": "19b85fb5e65b8e828300a67e80714ed5d91713a6", "s...
<!DOCTYPE html> <!--html5--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> <!-- Mirrored from arduino.cc/en/Reference/DigitalWrite by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 06 Feb 2015 20:13:18 GMT --> <!-- Added by HT...
{ "content_hash": "754fdf807cad3701b9e721213aa2ccec", "timestamp": "", "source": "github", "line_count": 544, "max_line_length": 642, "avg_line_length": 40.58639705882353, "alnum_prop": 0.6237148421577065, "repo_name": "chcbaram/CupDrone_IDE", "id": "7fee61b1f68a7da966a5049bd832d705abbd102c", "size"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ipc: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
{ "content_hash": "014fa57e0c82972ff02d11a7f092c240", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 159, "avg_line_length": 41.266304347826086, "alnum_prop": 0.5677597787435796, "repo_name": "coq-bench/coq-bench.github.io", "id": "76d5ec345c4537a885b0d2f860d85d1f65250b9e",...
* [ProjectDent / ARKit-CoreLocation](https://github.com/ProjectDent/ARKit-CoreLocation): Combines the high accuracy of AR with the scale of GPS data. * [AladinWay / TransitionButton](https://github.com/AladinWay/TransitionButton): UIButton sublass for loading and transition animation. * ...
{ "content_hash": "c5abc3700f06f3c6ccbc63ae3fe7b368", "timestamp": "", "source": "github", "line_count": 394, "max_line_length": 233, "avg_line_length": 45.60406091370558, "alnum_prop": 0.6901714158504008, "repo_name": "tzpBingo/github-trending", "id": "5bd3f6cc9ff86762ff2e6faae91c8dd46f09b3c7", "si...
package delete_item import ( "encoding/json" "fmt" "testing" ) func TestNil(t *testing.T) { d := NewDeleteItem() _,_,err := d.EndpointReqWithConf(nil) if err == nil { t.Errorf("nil conf should result in error") } } func TestRequestUnmarshal(t *testing.T) { s := []string{ `{"TableName":"Thread","Key":{"Fo...
{ "content_hash": "5fa57cc4396da37b23e38b80c1926196", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 331, "avg_line_length": 32.24528301886792, "alnum_prop": 0.6208308952603862, "repo_name": "roblillack/godynamo", "id": "fd4f879054d43d0a8f60a3993b8e48850aef4741", "size": "...
import warnings import asyncio import collections import logging from datetime import datetime, timedelta from asyncio import ensure_future from .protocol import STATE_NEW, STATE_OPEN, STATE_CLOSING, STATE_CLOSED from .protocol import FRAME_OPEN, FRAME_CLOSE from .protocol import FRAME_MESSAGE, FRAME_MESSAGE_BLOB, FR...
{ "content_hash": "4626db0616ae31c61940b2eaffae3ed1", "timestamp": "", "source": "github", "line_count": 411, "max_line_length": 81, "avg_line_length": 28.99270072992701, "alnum_prop": 0.5451493789862369, "repo_name": "aio-libs/sockjs", "id": "7c8c425e68c60cb566e95dadb94fe82e29b1525d", "size": "1191...
use std::io; use std::io::{Read, Write}; use std::fs::File; use std::path::Path; pub fn write_file<P: AsRef<Path>>(path: P, contents: &Vec<u8>) -> io::Result<()> { let mut file = try!(File::create(path)); Ok(try!(file.write_all(contents))) } pub fn read_file<P: AsRef<Path>>(path: P, buf: &mut Vec<u8>) -> io...
{ "content_hash": "a9ce3be869d82e644b5fd19c26fb3da6", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 92, "avg_line_length": 26.833333333333332, "alnum_prop": 0.6009316770186336, "repo_name": "despawnerer/langid-rs", "id": "8693a864327548538d2d7ade52b080bb2c99600d", "size":...
from colossus.game.route import Route from colossus.game.core import Core from colossus.game.ice import Ice from colossus.game.entity import Node, Packet
{ "content_hash": "902119e6ab4d393b29bdfed8d802762e", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 45, "avg_line_length": 38.25, "alnum_prop": 0.8366013071895425, "repo_name": "spectralflux/colossus", "id": "fa53fd8917aede2477931db6f3eecb8efdf295de", "size": "153", "bin...
module EbayTrading # :nodoc: module Types # :nodoc: # == Attributes # text_node :old_id, '@oldID', :optional => true # text_node :id, '@id', :optional => true class CategoryMapping include XML::Mapping include Initializer root_element_name 'CategoryMapping' text_node :old_id,...
{ "content_hash": "6807ba877ebf2236b0e9bc5146307f32", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 53, "avg_line_length": 25.9375, "alnum_prop": 0.6024096385542169, "repo_name": "plzen/ebay", "id": "aeefef6330eef690508d2c031b388948757b9aea", "size": "416", "binary": fa...
package site.zhangqun.lanagina; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void...
{ "content_hash": "e86e6b6ab3a8a1123bf2670896f0a35a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 81, "avg_line_length": 23.529411764705884, "alnum_prop": 0.6925, "repo_name": "uffuff/LSMS", "id": "9f5f92f824d0df4c8377375ec92eb1f17b931b70", "size": "400", "binary": fa...
@class ContactTagData, MMTableView, NSMutableArray, NSMutableDictionary, NSString; @interface ContactTagNewDetailViewController : MMUIViewController <UITableViewDataSource, UITableViewDelegate, IContactLabelMgrExt, MultiSelectContactsViewControllerDelegate, ContactTagNameEditViewControllerDelegate, UIAlertViewDelegate...
{ "content_hash": "15918bb473679ba434c395e756f6fa0b", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 237, "avg_line_length": 51.81609195402299, "alnum_prop": 0.8021295474711624, "repo_name": "walkdianzi/DashengHook", "id": "3b3efe79b7f1bbdda0780bad97e910bc1b2964e0", "size"...
<?php include_once '../lib/common.php'; if (User::$info['locked'] == 'Y' || User::$info['deactivated'] == 'Y') Link::redirect('settings.php'); elseif (User::$awaiting_token) Link::redirect('verify-token.php'); elseif (!User::isLoggedIn()) Link::redirect('login.php'); if (User::$info['no_logins'] != 'Y' && !$_REQUE...
{ "content_hash": "44f643974b48eadf2cbc826cbcfc09d2", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 219, "avg_line_length": 38.53465346534654, "alnum_prop": 0.5799075025693731, "repo_name": "1btcxe/wlox", "id": "cb58bcae42a4ff1858135f3eab481cec5fb60155", "size": "3892", ...
This document describes a quick and easy way to install and play with ATG CRS. By following this guide, you'll be able to focus on learning about ATG CRS, without debugging common gotchas. If you get lost, you can consult the [ATG CRS Installation and Configuration Guide](http://docs.oracle.com/cd/E52191_01/CRS.11-1/...
{ "content_hash": "af9353a167d06f48ae6dcf018f276a02", "timestamp": "", "source": "github", "line_count": 259, "max_line_length": 573, "avg_line_length": 46.5945945945946, "alnum_prop": 0.7581206496519721, "repo_name": "toohey/Vagrant-CRS", "id": "3e2208b5eb1531fe0038f7cf5245b27a4366726b", "size": "1...
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Ranking * * @ORM\Table(name="ranking") * @ORM\Entity(repositoryClass="AppBundle\Repository\RankingRepository") */ class Ranking { /***** PROPERTIES *****/ /** * @var int * * @ORM\Column(name="id", type="integer") ...
{ "content_hash": "ccc3b33a5f4fdd38750f69a166fbc1df", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 88, "avg_line_length": 19.818181818181817, "alnum_prop": 0.5424311926605505, "repo_name": "tgachet/cavachess", "id": "b282a5717951da00679b54345763a4da31ff7339", "size": "17...
package com.amazonaws.services.dax.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/dax-2017-04-19/DeleteCluster" target="_top">AWS API * Documentation</a> */ @Generated("com.am...
{ "content_hash": "0f1f23e7d996b974b65aaa0b0ed6d63f", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 119, "avg_line_length": 26.575221238938052, "alnum_prop": 0.6020646020646021, "repo_name": "aws/aws-sdk-java", "id": "ad4e54b344a7455ec6fb9c0c3cbabc5109690fcc", "size": "3...
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit56d1a106059e0a26f2e8458dd48ded2c { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } ...
{ "content_hash": "fdab70ba6c68ea78c4237107d12556cf", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 126, "avg_line_length": 30.389830508474578, "alnum_prop": 0.6129392080312326, "repo_name": "doniwinata/Anybaba-client-codeigniter", "id": "d8dd2ee65e33eb6207d1313c2e6cafd96ad...
<div class="row-fluid"> <div class="{{user.provider === 'password'? 'col-md-4' : 'col-md-12'}}"> <h3>Profile</h3> <form role="form"> <p class="form-group"> <label>Account ID</label> <br />{{user.uid}} </p> <p class="form-group"> <label>Name:</label> <input type="text" name="nam...
{ "content_hash": "d787e89daa9e837d09ec99e611b803ce", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 111, "avg_line_length": 28.82191780821918, "alnum_prop": 0.6116920152091255, "repo_name": "intuinno/gatherplot", "id": "787cf7df7a3d8c46b861a6fd2c790f3a977249ac", "size": "...
angular.module('ui.include',[]) .directive('uiInclude', ['$http', '$templateCache', '$anchorScroll', '$compile', function($http, $templateCache, $anchorScroll, $compile) { return { restrict: 'ECA', terminal: true, compile: function(element, a...
{ "content_hash": "ac1820a17a1e252397cb4d80687dab32", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 125, "avg_line_length": 46.55384615384615, "alnum_prop": 0.3545935228023794, "repo_name": "doanduyhai/Cassandra-rate-limiting-demo", "id": "1dd49ccdef020fe8674857ddb4d28307e4...
namespace MagicalBook { class Scene { public: virtual void init(void) = 0; virtual void update(void) = 0; private: }; } #endif // __MAGICAL_BOOK_SCENE_H__
{ "content_hash": "3e0680227c8ea68da07dcc1ac9a680ff", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 34, "avg_line_length": 10.0625, "alnum_prop": 0.6645962732919255, "repo_name": "snow10cat/Magical_Book", "id": "8fa0d177d7515341f2d4cb0efec0ce771c5beaad", "size": "229", ...
module HealthSeven::V2_4 class OmsO05 < ::HealthSeven::Message attribute :msh, Msh, position: "MSH", require: true attribute :ntes, Array[Nte], position: "NTE", multiple: true class Patient < ::HealthSeven::SegmentGroup attribute :pid, Pid, position: "PID", require: true attribute :pd1, Pd1, position: "PD...
{ "content_hash": "eca141359ff21f5af72b71ec49e2ba72", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 96, "avg_line_length": 46.89473684210526, "alnum_prop": 0.6885521885521886, "repo_name": "niquola/health_seven", "id": "e108776bbcaeb351a078468a3e1b6ec6566c83ac", "size": "...