text
stringlengths
2
1.04M
meta
dict
from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_resource from nssrc.com.citrix.netscaler.nitro.resource.base.base_resource import base_response from nssrc.com.citrix.netscaler.nitro.service.options import options from nssrc.com.citrix.netscaler.nitro.exception.nitro_exception import nitro_...
{ "content_hash": "1296feb3287688ce9caf616ef34d6ec7", "timestamp": "", "source": "github", "line_count": 425, "max_line_length": 253, "avg_line_length": 28.103529411764708, "alnum_prop": 0.6940723375753517, "repo_name": "benfinke/ns_python", "id": "5298bb68dbbfebd46a1ba6d935526e5e6679cac9", "size": ...
<?php namespace Shop\Model; use Think\Model\RelationModel; /** * Created by PhpStorm. * User: an * Date: 2015/8/20 * Time: 17:34 */ class OrderRefundModel extends RelationModel{ }
{ "content_hash": "3c5fb47545a0d361b96c3f374e196113", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 45, "avg_line_length": 12.8, "alnum_prop": 0.6770833333333334, "repo_name": "h136799711/baseItboye", "id": "966d1dafccce56d2172bff98631f38cbb3fbee54", "size": "192", "bin...
#include "UnitTestPCH.h" #include <assimp/cexport.h> #include <assimp/Exporter.hpp> #include <assimp/Importer.hpp> #include <assimp/scene.h> #ifndef ASSIMP_BUILD_NO_EXPORT class ColladaExportLight : public ::testing::Test { public: virtual void SetUp() { ex = new Assimp::Exporter(); im = new...
{ "content_hash": "1043d818072efd0199b4fe68930db06b", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 99, "avg_line_length": 34.370370370370374, "alnum_prop": 0.6382902298850575, "repo_name": "minimumcut/UnnamedEngine", "id": "2c502b987fad4ee818e912f9fc1e806ecf5b6c64", "siz...
var marked = require('marked'); var ready = () => { var markabletext = $(".markabletext"); if (markabletext.length) { var html_content = markabletext.html(); markabletext.html(marked(html_content)); markabletext.removeClass(".markabletext"); } } $(document).ready(ready); $(document).on('turbolinks:...
{ "content_hash": "801bd87066ef014896339b393bc06da9", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 46, "avg_line_length": 23.928571428571427, "alnum_prop": 0.6626865671641791, "repo_name": "wilfriedE/LearnIt", "id": "42cb91b7695cf38bbc99730eca1ec5038b637523", "size": "33...
using System; namespace Lucene.Net.Search { using Attribute = Lucene.Net.Util.Attribute; using IAttribute = Lucene.Net.Util.IAttribute; using BytesRef = Lucene.Net.Util.BytesRef; /// <summary> /// Implementation class for <see cref="IMaxNonCompetitiveBoostAttribute"/>. /// <para/> //...
{ "content_hash": "f9c79922c38dd90423472acc33adcfb9", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 101, "avg_line_length": 28.285714285714285, "alnum_prop": 0.6406926406926406, "repo_name": "sisve/lucenenet", "id": "19ce2115ac964f0d82c2688657c3e292440faf15", "size": "224...
package ir.hphamid.instagram.activities; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.support.design.widget.FloatingActionButton; import android.support.v4.app.FragmentTransaction; import android.support.v7.app.AppCompatActivity; import android.view.View; impor...
{ "content_hash": "7445eac001abae130a7a09e0f7b3ea1c", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 101, "avg_line_length": 31.347826086956523, "alnum_prop": 0.7246879334257975, "repo_name": "hphamid/maktabkhoone-instagram", "id": "9ea42a02025e90695c69ada00bdaa1906a299c2b",...
<!DOCTYPE html > <html> <head> <title></title> <meta name="description" content="" /> <meta name="keywords" content="" /> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <link href="../lib/ref-index.css" media="screen" type="text/css...
{ "content_hash": "74f70f4b90ddde5be96403f4d6d3055c", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 295, "avg_line_length": 68.38709677419355, "alnum_prop": 0.6537735849056604, "repo_name": "zsxwing/reactivex.github.io", "id": "c86ab5039cc3e6b09b22c55d6edba7adee4d0c5f", "...
layout: post title: "Freedom of Movement" date: 2017-3-22 source: PHB.244 tags: [bard, cleric, druid, paladin (devotion), ranger, level4, abjuration] categories: - spells --- **4th-level abjuration** **Casting Time**: 1 action **Range**: Touch **Components**: V, S, M (a leather strap, bound around the arm or a simi...
{ "content_hash": "5ceb483ef0246bce160e2264e056ae8a", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 233, "avg_line_length": 37.54545454545455, "alnum_prop": 0.7627118644067796, "repo_name": "dylanbaumann/dylanbaumann.github.io", "id": "34f7a02c2cf0c57aa2659579040ac60b97c425...
<aside id="alerts"> <div ng-repeat="message in alertMessages" class="alert alert-{{message.type}}"> <button ng-click="disposeAlert(message.id)" type="button" class="close">×</button> <strong>{{message.type}}</strong> <span>{{message.text}}</span> </div> </aside>
{ "content_hash": "83f7f65c96a0340e3fec0f7b3cfdc2d2", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 86, "avg_line_length": 45.833333333333336, "alnum_prop": 0.6618181818181819, "repo_name": "lucassus/mongo_browser", "id": "ebe0ff4b6f11d34bcff4688c56245d406ba82bd3", "size":...
<?php abstract class PhabricatorCalendarController extends PhabricatorController { protected function buildSideNavView(PhabricatorCalendarEvent $status = null) { $nav = new AphrontSideNavFilterView(); $nav->setBaseURI(new PhutilURI($this->getApplicationURI())); $nav->addLabel(pht('Calendar')); $na...
{ "content_hash": "2c728b9a94215cc6f624ead141b6370c", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 80, "avg_line_length": 27.641025641025642, "alnum_prop": 0.6428571428571429, "repo_name": "huaban/phabricator", "id": "d70b7f69978ba74af421cebcdf22923763837a78", "size": "1...
#ifndef ScriptProcessorNode_h #define ScriptProcessorNode_h #include "modules/webaudio/AudioNode.h" #include "platform/audio/AudioBus.h" #include "wtf/Forward.h" #include "wtf/PassRefPtr.h" #include "wtf/RefPtr.h" #include "wtf/Vector.h" namespace blink { class AudioBuffer; class AudioContext; // ScriptProcessorN...
{ "content_hash": "8248344c6f7c1b0907259d4830349fc2", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 167, "avg_line_length": 38.946236559139784, "alnum_prop": 0.7691882937603534, "repo_name": "zero-rp/miniblink49", "id": "064b6d2dbc13a971d661cd7af6bc2ddeb5344d12", "size": ...
var requirejs = module.exports;
{ "content_hash": "a793b5504a1faae2bf8b621ff61178f4", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 31, "avg_line_length": 31, "alnum_prop": 0.8064516129032258, "repo_name": "ajthor/generator-template", "id": "c5644e87b426725180ebaddda7847d6e92b01ed6", "size": "31", "bin...
import numpy as np import base64 import json from galry import CompoundVisual __all__ = ['SceneCreator', 'encode_data', 'decode_data', 'serialize', 'deserialize', ] # Scene creator # ------------- class SceneCreator(object): """Construct a scene with `add_*` methods.""" def __init__(self, constra...
{ "content_hash": "72951eac31101ccabc20af52f0e33708", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 94, "avg_line_length": 39.307291666666664, "alnum_prop": 0.5877832251225653, "repo_name": "rossant/galry", "id": "859b4ec505bdc0cd2753f69bcb57fc77a17da20e", "size": "7547"...
using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Rewrite.UrlActions; internal sealed class ForbiddenAction : UrlAction { public override void ApplyAction(RewriteContext context, BackReferenceCollection? ruleBackReferences, BackReferenceCollection? conditionBackReferences) { context.Http...
{ "content_hash": "e3f55c50ebb1b9e6cafae311463f559d", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 155, "avg_line_length": 36.583333333333336, "alnum_prop": 0.8018223234624146, "repo_name": "aspnet/AspNetCore", "id": "9984cc931d7a2901e85351318ec9a8a13426008c", "size": "5...
package com.google.zxing.common.detector; import com.google.zxing.NotFoundException; import com.google.zxing.ResultPoint; import com.google.zxing.common.BitMatrix; /** * <p>A somewhat generic detector that looks for a barcode-like rectangular region within an image. * It looks within a mostly white region of an i...
{ "content_hash": "d007696b734aa1b78b0f3aa08896a7fb", "timestamp": "", "source": "github", "line_count": 201, "max_line_length": 115, "avg_line_length": 39.01990049751244, "alnum_prop": 0.6074206298610225, "repo_name": "luisnatividad/LectorQR", "id": "aff093ea67ea31b849a51d874cd3f3c8298ea72f", "size...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using Moq; using System.Reflection; namespace Moqzilla { /// <summary> /// A container for dynamically creating mocks. /// </summary> public class Mocker { /// <summary> /// Mock repository...
{ "content_hash": "9d63e9db391c1a114643c0563cb71bd6", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 116, "avg_line_length": 36.0126582278481, "alnum_prop": 0.5600468658465143, "repo_name": "SaxxonPike/Moqzilla", "id": "78810ef9e00088b57d966337e552ea16ab964b1e", "size": "...
@class IOSLongArray; @class JavaNioByteOrder; #include "J2ObjC_header.h" #include "java/nio/LongBuffer.h" @interface JavaNioLongArrayBuffer : JavaNioLongBuffer { } - (instancetype)initWithLongArray:(IOSLongArray *)array; - (JavaNioLongBuffer *)asReadOnlyBuffer; - (JavaNioLongBuffer *)compact; - (JavaNioLongBuffer...
{ "content_hash": "3970e3d3e7a72f0c1bc4b6bd6fe625ae", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 59, "avg_line_length": 21.655172413793103, "alnum_prop": 0.6759554140127388, "repo_name": "hambroperks/pollexor", "id": "f309989d00b5218e66e0192df2935a9ffad23177", "size": ...
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8HTMLObjectElement.h" #include "bindings/core/v8/BindingSecurity.h" #include "bindings/core/v8/ExceptionState.h" #include "bindings/core/v8/V8DOMConfiguration.h" #include "bindings/core/v8/V8Document....
{ "content_hash": "ad4dd6a30d8a446cf377db56904e0543", "timestamp": "", "source": "github", "line_count": 849, "max_line_length": 569, "avg_line_length": 52.207302709069495, "alnum_prop": 0.7515567187076979, "repo_name": "zero-rp/miniblink49", "id": "0183bd34ae63416f76eb02beb6beaa68671bc37f", "size":...
package org.onosproject.net; import org.onlab.packet.IpAddress; import org.onlab.packet.MacAddress; import org.onlab.packet.VlanId; import java.util.Set; /** * Abstraction of an end-station host on the network, essentially a NIC. */ public interface Host extends Element { /** * Host identification. ...
{ "content_hash": "eb418851c2645118e7de19ba74af9230", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 75, "avg_line_length": 19.87037037037037, "alnum_prop": 0.614165890027959, "repo_name": "VinodKumarS-Huawei/ietf96yang", "id": "b9621b7c7f1b9916a6f673e03266f04553e3202f", "...
/* */ 'use strict'; module.exports.definition = { set: function (v) { this._setProperty('-webkit-max-logical-height', v); }, get: function () { return this.getPropertyValue('-webkit-max-logical-height'); }, enumerable: true, configurable: true };
{ "content_hash": "81ea9f33e0a7eb187b2344c04d6f9a84", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 67, "avg_line_length": 22.23076923076923, "alnum_prop": 0.5916955017301038, "repo_name": "TelerikFrenchConnection/JS-Applications-Teamwork", "id": "17013a0ea0bc0819759e654a6d...
var SettingsGeneralController = Ember.ObjectController.extend({ isDatedPermalinks: function (key, value) { // setter if (arguments.length > 1) { this.set('permalinks', value ? '/:year/:month/:day/:slug/' : '/:slug/'); } // getter var slugForm = this.get('permalin...
{ "content_hash": "b1f142a3e601d027097dcd7df1da6531", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 90, "avg_line_length": 28.681818181818183, "alnum_prop": 0.5253565768621236, "repo_name": "nakamuraapp/new-ghost", "id": "fbe87e8416e222a89ec91648ea1cc5ad6d175965", "size":...
package org.kuali.rice.kew.server; import org.apache.commons.lang.StringUtils; import org.joda.time.DateTime; import org.junit.Test; import org.kuali.rice.kew.actionitem.ActionItem; import org.kuali.rice.kew.api.action.DelegationType; import org.kuali.rice.kew.api.document.DocumentContent; import org.kuali.rice.kew.a...
{ "content_hash": "4974b8cb729a1260082d794ddea462db", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 194, "avg_line_length": 59.21311475409836, "alnum_prop": 0.7187153931339978, "repo_name": "sbower/kuali-rice-1", "id": "4ea22b582b0e913caa7e2bec8c98865ed0f3dcf0", "size": ...
/* +---------------------------------------------------------------------------+ | Open MORA (MObile Robot Arquitecture) | +---------------------------------------------------------------------------+ */ #define MORA_APP_CLASS CLocalizationFusionApp #define MORA_APP_NA...
{ "content_hash": "8e04ab5676930e13701efbe14ab05687", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 83, "avg_line_length": 45.44444444444444, "alnum_prop": 0.34963325183374083, "repo_name": "OpenMORA/nav-slam-pkg", "id": "d033efaa6fd366fe9f2e457e7f7c6ef679c97272", "size": ...
var mongojs = require('mongojs'); /* istanbul ignore next */ var Mongo = (function() { 'use strict'; var _connection = function(env) { var username = env.MONGO_USERNAME || '', password = env.MONGO_PASSWORD || '', server = env.MONGO_SERVER || '192.168.1.5', port = env.MONGO_PORT || '2701...
{ "content_hash": "865cec0b4c0247e9ca0fe49ca8939839", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 70, "avg_line_length": 20.97872340425532, "alnum_prop": 0.5862068965517241, "repo_name": "Cendrao/buscaza", "id": "f73829d063b26e3eb685886638cb3e69611bcacc", "size": "986",...
/* First created by JCasGen Sat Oct 02 22:03:55 CEST 2010 */ package example.types.target; import org.apache.uima.jcas.JCas; import org.apache.uima.jcas.JCasRegistry; import org.apache.uima.cas.impl.CASImpl; import org.apache.uima.cas.impl.FSGenerator; import org.apache.uima.cas.FeatureStructure; import org.apache.ui...
{ "content_hash": "750b747a33561f0188be11dd7f38bd91", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 103, "avg_line_length": 32.05555555555556, "alnum_prop": 0.7024841132293472, "repo_name": "nicolashernandez/dev-star", "id": "e02c02aadabb65b461bcd2349863020f2821d603", "si...
package rheimus; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import javax.imageio.ImageIO; import rheimus.reference.Directories; import rheimus.reference.TerrainMap...
{ "content_hash": "e5b99044f65307db78e9f7ea174262e3", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 113, "avg_line_length": 32.58490566037736, "alnum_prop": 0.6595251881876085, "repo_name": "rheimus/texturepack-converter", "id": "dfe7bf6b48e22c9325a8dfb9d91d8eef4eb556f5", ...
--- id: reusable-components title: Reusable Components permalink: reusable-components.html prev: multiple-components.html next: transferring-props.html --- When designing interfaces, break down the common design elements (buttons, form fields, layout components, etc.) into reusable components with well-defined interfa...
{ "content_hash": "d3bc6903a295d3b3acc5bd819f796e7b", "timestamp": "", "source": "github", "line_count": 257, "max_line_length": 542, "avg_line_length": 39.78599221789883, "alnum_prop": 0.731638141809291, "repo_name": "dortonway/react", "id": "0808d1028f5d4842b36f948d2c326ae2b42ef6f2", "size": "1022...
package madgik.exareme.common.schema; import madgik.exareme.common.schema.expression.SQLSelect; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; /** * @author herald * @author Christoforos Svingos */ public class Select extends Query { private static fin...
{ "content_hash": "7ad91e6b4197ac8a9247e001531ef68a", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 69, "avg_line_length": 22.874015748031496, "alnum_prop": 0.7049913941480207, "repo_name": "XristosMallios/cache", "id": "6dba6d7e824f6fc9ae6305a73c43cc0a63515c23", "size":...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml; using Windows.UI.Xaml.Data; namespace Sannel.House.Thermostat.Converters { public class BooleanNotVisibilityConverter : IValueConverter { public object Convert(object value, T...
{ "content_hash": "54301d6713f88c16f65245561d421d3d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 93, "avg_line_length": 21.516129032258064, "alnum_prop": 0.7301349325337332, "repo_name": "holtsoftware/House", "id": "5456b07b12087c65ad2d2465bd0f7bd4214f8578", "size": "6...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd"> <suppressions> <!-- global suppressions --> <suppress checks="AbbreviationAsWordInName" files="^src[\\/](main|test)[\\/]java"/> <suppress ch...
{ "content_hash": "a97e57838ac703f285393197ec5106bc", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 127, "avg_line_length": 54.9, "alnum_prop": 0.6520947176684881, "repo_name": "BlockJamMC/BlockJamCore", "id": "29054aa13cb4efa4702c65ae99ea9f695f896bc4", "size": "549", "...
'use strict'; function pickValues(obj, keys){ if(!Array.isArray(keys)){ keys = [keys]; } return keys.map(function(key){ return obj[key]; }); } module.exports = pickValues;
{ "content_hash": "041bb5e21c0cb23e6dd21e75d1e21ace", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 32, "avg_line_length": 14.692307692307692, "alnum_prop": 0.6230366492146597, "repo_name": "phated/pick-values", "id": "7b46f1743488d2b072e648efc4579741da6ebd17", "size": "1...
<?xml version="1.0" encoding="UTF-8"?> <!--build.xml generated by maven from project.xml version 0.1-SNAPSHOT on date August 3 2006, time 2311--> <project default="jar" name="commons-id" basedir="."> <!--Load local and user build preferences--> <property file="build.properties"> </property> <property file=...
{ "content_hash": "4488157686223a87b9debccaaff4bf4b", "timestamp": "", "source": "github", "line_count": 277, "max_line_length": 231, "avg_line_length": 44.57761732851986, "alnum_prop": 0.6512795594428248, "repo_name": "glinmac/commons-id", "id": "c6b667fdbf9fadeb682fea732ddb5c6ac08ec55d", "size": "...
/*! * # Semantic UI 2.2.7 - Sidebar * http://github.com/semantic-org/semantic-ui/ * * * Released under the MIT license * http://opensource.org/licenses/MIT * */ /******************************* Sidebar *******************************/ /* Sidebar Menu */ .ui.sidebar { position: fixed; top: 0;...
{ "content_hash": "4f4e585614f39210e8cccd83f6313359", "timestamp": "", "source": "github", "line_count": 638, "max_line_length": 65, "avg_line_length": 23.863636363636363, "alnum_prop": 0.6096551724137931, "repo_name": "mban94/frapid", "id": "0f009d0f0edcb39741d25b2ebe966072b4a02923", "size": "15225...
// Template Source: BaseEntity.java.tt // ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // -------------------------------------------...
{ "content_hash": "1489539811566493247c3f5cbd1c66db", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 152, "avg_line_length": 32.8, "alnum_prop": 0.676829268292683, "repo_name": "microsoftgraph/msgraph-sdk-java", "id": "1416c345f97c4cf374fbd561fe1b7b7176f056ef", "size": "16...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/gcm_driver/instance_id/instance_id_android.h" #include <stdint.h> #include <memory> #include <numeric> #include "base/android/jni_a...
{ "content_hash": "0b3b28f9f32ee109d882bc6491c0f4bc", "timestamp": "", "source": "github", "line_count": 242, "max_line_length": 87, "avg_line_length": 35.27685950413223, "alnum_prop": 0.7021201827339815, "repo_name": "endlessm/chromium-browser", "id": "0ab04e1fce4261474e9e611584cea4d2ed255aa5", "si...
<!-- Begin Template: footer.php --> <div id="footer"> <div class="wrapper"> <div class="widgets"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Footer Widgets') ) {} ?> </div> <!-- END .widget menu footer --> </div> <!-- END .wrapper --> <div class="copy"> <...
{ "content_hash": "b8dc76da7e2920521071c65460d76c74", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 96, "avg_line_length": 29.238095238095237, "alnum_prop": 0.5146579804560261, "repo_name": "nateude/skeleton", "id": "0bebbfa2ccedd9ca4a8d1d3216aad42abd4b3370", "size": "614...
package com.cody.xf; import android.support.multidex.MultiDexApplication; import com.cody.xf.common.LoginBroadcastReceiver; import com.cody.xf.utils.http.ILoginStatusListener; import com.cody.xf.widget.pickerview.region.RegionPicker; import com.cody.xf.widget.swipebacklayout.BGASwipeBackHelper; import com.squareup.le...
{ "content_hash": "0ef0a64e4774b22b18fbbfa538500817", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 103, "avg_line_length": 30.7, "alnum_prop": 0.7182410423452769, "repo_name": "codyer/CleanFramework", "id": "c669e6f29eacc6a14b9507155cc5b2821d22cc57", "size": "1408", "b...
<div class="get-started"> <div class="wrap"> <h1>Get started</h1> <section> <h2>Using NPM</h2> <p>Run the following command:</p> {{#example-code}} npm install --save leonardo-ui {{/example-code}} <p> Add the following to your HTML: </p> <p> {{#example-code}} ...
{ "content_hash": "15189f85ceae4f1348491cbe8ee00d21", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 139, "avg_line_length": 30.21698113207547, "alnum_prop": 0.5138932251014674, "repo_name": "qlik-oss/leonardo-ui", "id": "32098208090651c949d5d93a555d89e7b36f6e56", "size":...
namespace Microsoft.Azure.Management.SecurityInsights.Models { using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Linq; /// <summary> /// Action for alert rule. /// </summary> [Rest.Serialization.JsonTransformation] public partial class Act...
{ "content_hash": "51c9f1c62317920ca81d9ee1d95119ba", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 196, "avg_line_length": 38.103896103896105, "alnum_prop": 0.5995228357191548, "repo_name": "jackmagic313/azure-sdk-for-net", "id": "248caaf74c61ccfecfa62a0f123b1721596b4cb4",...
class CPageShopEventListener : public IUIElementEventListener { public: // IUIElementEventListener virtual void OnUIEvent(IUIElement* pSender, const SUIEventDesc& event, const SUIArguments& args); // ~IUIElementEventListener }; class CPageShop : public IUIPage { public: CPageShop(const char* name) : IUIPage(name, ...
{ "content_hash": "ac6ffb77300fde52c9f9e212e6c0b9a8", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 98, "avg_line_length": 23.428571428571427, "alnum_prop": 0.75, "repo_name": "BeatGames/EasyShooter", "id": "98a71733fc1e2051e289bac0d119caa9a4706888", "size": "871", "bin...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace travel_app.Services { public interface IMailService { void SendMail(string to, string from, string subject, string body); } }
{ "content_hash": "1820a4896130c44c5e40e310c9c30aac", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 75, "avg_line_length": 21.076923076923077, "alnum_prop": 0.7335766423357665, "repo_name": "savajesus/travel-app", "id": "2a42f50302fcbdd7453535c43525898d564de224", "size": ...
<?php namespace Symfony\Tests\Component\Validator\Fixtures; use Symfony\Component\Validator\Constraint; class FailingConstraint extends Constraint { public $message = ''; public function targets() { return array(self::PROPERTY_CONSTRAINT, self::CLASS_CONSTRAINT); } }
{ "content_hash": "4aa59c2ef6446f99b2d6879f63484976", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 72, "avg_line_length": 19.666666666666668, "alnum_prop": 0.7220338983050848, "repo_name": "l3l0/BehatExamples", "id": "da2b37d67bc2ec4aba87e01357a494af06ee35ca", "size": "2...
#ifndef _THRIFT_TRANSPORT_THTTPSERVER_H_ #define _THRIFT_TRANSPORT_THTTPSERVER_H_ 1 #include <thrift/transport/THttpTransport.h> namespace apache { namespace thrift { namespace transport { class THttpServer : public THttpTransport { public: THttpServer(std::shared_ptr<TTransport> transport, std::shared_ptr<TConf...
{ "content_hash": "ec82c1ab95c57133fd446e2321c10599", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 103, "avg_line_length": 23.604166666666668, "alnum_prop": 0.7405119152691968, "repo_name": "strava/thrift", "id": "bc98986d7cf3c2e9d5c18379e271ce92a404f223", "size": "1936"...
@class GeoMapScrollView; @class GeoMapImageView; @class GeoMapGCP; @class GeoMapMetadataViewController; // A document type for georeferencing an image. @interface GeoMapDocument : NSDocument <NSToolbarDelegate, NSTableViewDelegate, NSPopoverDelegate> // The input file. @property (strong) NSString * input;...
{ "content_hash": "4532edcc81809953dcbcd1d8e212a1fb", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 68, "avg_line_length": 33.833333333333336, "alnum_prop": 0.7687465790914066, "repo_name": "jdanielOCUL/GeoMap", "id": "ea7340da74ab52f097cff2e90b9d1042d1c86986", "size": "...
The `require('internal/errors')` module is an internal-only module that can be used to produce `Error`, `TypeError` and `RangeError` instances that use a static, permanent error code and an optionally parameterized message. The intent of the module is to allow errors provided by Node.js to be assigned a permanent iden...
{ "content_hash": "4493cd55d8cdcfad7c7907bbb506e0d3", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 80, "avg_line_length": 35.08510638297872, "alnum_prop": 0.7564180311299777, "repo_name": "enclose-io/compiler", "id": "9fac1298a1d050b59bc3ee2b03bc33445e4e5b0b", "size": "...
<?php /** * Created by PhpStorm. * User: woohuiren * Date: 21/3/17 * Time: 11:53 PM */ namespace Giantcrab\GoogleCalendar\Tests; use Giantcrab\GoogleCalendar\GoogleCalendar; use Google_Client; use Google_Service_Calendar; use Google_Service_Calendar_Event; use Orchestra\Testbench\TestCase; class CalendarBaseTes...
{ "content_hash": "bc9fc09eeb2d2288f58889d8155c0eda", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 75, "avg_line_length": 30.13953488372093, "alnum_prop": 0.5590277777777778, "repo_name": "GIANTCRAB/google-calendar", "id": "0f9a03bf144e0f81ae2d01c5663453fa112eb491", "siz...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct template left_shift_assignable</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index....
{ "content_hash": "dd198c30218cce12773b0ec5e3cc569f", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 557, "avg_line_length": 92.01612903225806, "alnum_prop": 0.6797546012269938, "repo_name": "Ant-OS/android_packages_apps_OTAUpdates", "id": "f0b0f7031228a3fd08d0ac280147cafad5...
package com.orhanobut.logger; public class AndroidLogAdapter implements LogAdapter { private final FormatStrategy formatStrategy; public AndroidLogAdapter() { this.formatStrategy = PrettyFormatStrategy.newBuilder().build(); } public AndroidLogAdapter(FormatStrategy formatStrategy) { this.formatStrat...
{ "content_hash": "3c5af29cb03054e998b45b2465785081", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 71, "avg_line_length": 24.391304347826086, "alnum_prop": 0.7522281639928698, "repo_name": "weiwenqiang/GitHub", "id": "1446a126f6e59099f4d1d587182cd1436437f5f6", "size": "5...
<?php namespace IMSGlobal\LTI\ToolProvider\DataConnector; use IMSGlobal\LTI\ToolProvider; use IMSGlobal\LTI\ToolProvider\ConsumerNonce; use IMSGlobal\LTI\ToolProvider\Context; use IMSGlobal\LTI\ToolProvider\ResourceLink; use IMSGlobal\LTI\ToolProvider\ResourceLinkShareKey; use IMSGlobal\LTI\ToolProvider\ToolConsumer;...
{ "content_hash": "ec44566777e951cb6ac5879d18db7138", "timestamp": "", "source": "github", "line_count": 1044, "max_line_length": 190, "avg_line_length": 42.63026819923372, "alnum_prop": 0.537320810677212, "repo_name": "renspoesse/qualtrics_lti_bridge", "id": "c0dc1ce1b39195e74c3e6e29d2c2838e9956ce3c"...
package api import ( "fmt" "math/rand" "testing" "github.com/evermax/stargraph/github" "github.com/evermax/stargraph/lib/mq" ) func TestNewConf(t *testing.T) { q := &msgq{} NewConf(storedb{}, q, "add", "update") if q.addQueue != "add" { t.Fatalf("addQueue should be \"add\", instead is %s", q.addQueue) } ...
{ "content_hash": "d1a2cd19b718e13c3ff56ead6c67d7b6", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 95, "avg_line_length": 20.607142857142858, "alnum_prop": 0.639948006932409, "repo_name": "evermax/stargraph", "id": "ee0bc5224f92cd4ef85f424aee5c2be8e37e97ae", "size": "23...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" href="../includes/main.css" type="text/css"> <l...
{ "content_hash": "e5cc02b31d4e9db86ea4496a231b14d9", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 223, "avg_line_length": 42.04615384615385, "alnum_prop": 0.6834979875594585, "repo_name": "apache/cloudstack-www", "id": "6c932fb258fc8dc3fbee1e477ebad63a182083d6", "size"...
describe("validators.format", function() { var format = validate.validators.format.bind(validate.validators.format) , options1 = {pattern: /^foobar$/i} , options2 = {pattern: "^foobar$", flags: "i"}; afterEach(function() { delete validate.validators.format.message; delete validate.validators.format...
{ "content_hash": "8dee6b256e82f444d11c98a22334c28f", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 74, "avg_line_length": 36.36363636363637, "alnum_prop": 0.6478125, "repo_name": "ansman/validate.js", "id": "8764a17b92d18b031bef9fee649ccdc8e57e4d17", "size": "3200", "b...
<!DOCTYPE html> <html xmlns="https://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-89196403-1"></script> <script> window.dataLayer = window.dataLayer || []; functi...
{ "content_hash": "711244cc61d60acc0fbe3bd007ff4d91", "timestamp": "", "source": "github", "line_count": 216, "max_line_length": 312, "avg_line_length": 44.16203703703704, "alnum_prop": 0.4977460949785093, "repo_name": "markbastian/markbastian.github.io", "id": "3705ebc5ab1c6df63764ea6d8d3637e353dad91...
#include "OgreGLFrameBufferObject.h" #include "OgreGLPixelFormat.h" #include "OgreLogManager.h" #include "OgreStringConverter.h" #include "OgreRoot.h" #include "OgreGLHardwarePixelBuffer.h" #include "OgreGLFBORenderTexture.h" #include "OgreGLDepthBuffer.h" namespace Ogre { //----------------------------------------...
{ "content_hash": "01dfe3e4f9ec68dcf0dbf1128ead0cfc", "timestamp": "", "source": "github", "line_count": 300, "max_line_length": 120, "avg_line_length": 33.123333333333335, "alnum_prop": 0.6295662674851565, "repo_name": "ehsan/ogre", "id": "97059220ad5ccdb412691d0dd30ed95e8f35e539", "size": "11300",...
package org.wildfly.camel.test.spring; import java.net.URL; import org.apache.camel.CamelContext; import org.apache.camel.ProducerTemplate; import org.jboss.arquillian.container.test.api.Deployment; import org.jboss.arquillian.junit.Arquillian; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap...
{ "content_hash": "b20ac567f1da8e7edb1b321579fb3c69", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 125, "avg_line_length": 35.68518518518518, "alnum_prop": 0.7343020238713025, "repo_name": "jamesnetherton/wildfly-camel", "id": "5cef8ab18ccddae0c9149033400ee18d5b6d1d49", ...
<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Use decision optimization to help a sports league schedule its games &#8212; DOcplex.MP: Mathematica...
{ "content_hash": "cc0c0f01527efc1919e32f81ec0bcd0d", "timestamp": "", "source": "github", "line_count": 674, "max_line_length": 380, "avg_line_length": 50.24925816023739, "alnum_prop": 0.6718731546002126, "repo_name": "IBMDecisionOptimization/docplex-doc", "id": "d4357f083562497d5effb7329d8cc07893149...
/// \file iota.hpp /// \brief Generate an increasing series /// \author Marshall Clow #ifndef BOOST_ALGORITHM_IOTA_HPP #define BOOST_ALGORITHM_IOTA_HPP #include <numeric> #include <boost/range/begin.hpp> #include <boost/range/end.hpp> namespace boost { namespace algorithm { #if __cplusplus >= 20...
{ "content_hash": "40a4c8c96bb86c596b7b16cf28f2b385", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 90, "avg_line_length": 31.36231884057971, "alnum_prop": 0.6534195933456562, "repo_name": "xissburg/XDefrac", "id": "b9156d6f739cdcbfdde2da8ec85db457ee229517", "size": "2371...
FROM node:8-alpine WORKDIR /usr/src/omnium COPY package*.json yarn.lock ./ RUN apk --no-cache --virtual build-dependencies add \ python \ make \ g++ \ && yarn --frozen-lockfile \ && apk del build-dependencies COPY . . CMD [ "yarn", "start" ]
{ "content_hash": "2e999b76a6362eb5fa69b7f131e02d73", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 53, "avg_line_length": 22.90909090909091, "alnum_prop": 0.6547619047619048, "repo_name": "ciarancrocker/sgs_bot", "id": "15407397c4ec0befeb89f1fbf17a2e16dc3fd1d0", "size": ...
<!DOCTYPE html> <html lang="vi"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="generator" content="Jekyll v3.7.4"> <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,700|Source+Code+Pro:300,400,700,900&amp;subset=cyrillic,cyrillic-e...
{ "content_hash": "d660ea3a0c5957c3ddeea1a505247f26", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 541, "avg_line_length": 43.438661710037174, "alnum_prop": 0.5592640136927685, "repo_name": "Bit-Nation/bit-nation.github.io", "id": "a348f9c7110e08103d957926ef3a174486107ae1...
import java.lang.Byte; import java.util.HashMap; import java.util.Map; public class THashMapExample { <caret>private static final Map<Byte, Byte> INT_INT_CONSTANT = new HashMap<>(); }
{ "content_hash": "8547ac036eaac1564b404ae7a314546d", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 83, "avg_line_length": 26.857142857142858, "alnum_prop": 0.7446808510638298, "repo_name": "artspb/jdk2trove", "id": "0dc1659a124f328be884f1437afcb99792056fae", "size": "244"...
from flask import current_app as app from flask.ext.zodb import Object, List, Dict, ZODB from hashlib import sha256 class User(): def __init__(self, username, password, userid): self.username = username self.passwordHash = sha256(password).hexdigest() self.id = userid self.offset = 0 self.restid_to_good_co...
{ "content_hash": "afcf5d8e996ead5572c9e451aebf6a11", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 110, "avg_line_length": 21.682692307692307, "alnum_prop": 0.6651884700665188, "repo_name": "skxu/Vittles", "id": "8da3c134305bf412f40116ca2c82571e041b3b05", "size": "2255"...
/******************************************************************************* * * Filename : MCHelper.hpp * Description : Helper functions and variables for MC truth matching * Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ] * *********************************************************************...
{ "content_hash": "f962f05a66aa0c73d8ca9215f9f5ef66", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 80, "avg_line_length": 36.855421686746986, "alnum_prop": 0.48218372016999017, "repo_name": "NTUHEP-Tstar/ManagerUtils", "id": "d25ad4490fd043c88773ed4dde0c75ae901a27cf", "s...
echo "Testing CRLS python code" # Create temporary directory mkdir temp root="$( dirname "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" )" sources="${root}/python" root_len=$(( ${#root} + 8 )) # Select files. files=$(find ${sources} -type f -name "*.py") failed=0 count=0 passed=0 function infile() { f=${root}...
{ "content_hash": "45a30aba8ae743b3ba6072b0eaf6de57", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 108, "avg_line_length": 19.745454545454546, "alnum_prop": 0.5939226519337016, "repo_name": "znck/clrs", "id": "73d12cb75257ebf9a60c53b8a213efe257c852f1", "size": "1099", ...
using System.ComponentModel.Composition; using System.Waf.UnitTesting.Mocks; using Waf.MusicManager.Applications.Views; namespace Test.MusicManager.Applications.Views; [Export(typeof(IInfoView)), PartCreationPolicy(CreationPolicy.NonShared)] public class MockInfoView : MockDialogView<MockInfoView>, IInfoView ...
{ "content_hash": "f81af96f459e619ef8212a97da0d435b", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 73, "avg_line_length": 32.7, "alnum_prop": 0.8103975535168195, "repo_name": "jbe2277/musicmanager", "id": "bf8f8eb2dae4190bb6bd1c4ffd96999b19ae3741", "size": "329", "bina...
"""Ros node for playing audio chirps and recording the returns along with data from a depth camera. This requires that the depth camera and sound_play nodes have been started (in separate terminals.): source ./ros_config_account.sh roslaunch openni2_launch openni2.launch roslaunch sound_play soundplay_node.launch "...
{ "content_hash": "f81d808e38d5d7619857d7d7c89c46fd", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 92, "avg_line_length": 27.67032967032967, "alnum_prop": 0.6449563145353455, "repo_name": "spragunr/echolocation", "id": "7e2cf477d906637df8e77bf9f40a3d475e45bd8d", "size": ...
/** * Created by leo on 3/24/15. */ (function(){ 'use strict'; // Prepare the 'users' module for subsequent registration of controllers and delegates angular.module('Dashboard', [ 'ngMaterial' ]); })();
{ "content_hash": "1792988e9bf38b0a1e565be57341aef0", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 90, "avg_line_length": 19.90909090909091, "alnum_prop": 0.634703196347032, "repo_name": "leompande/hmis_webportal", "id": "9d57c9ff00ddea2d8e956f5f717c76b7eb656b42", "size"...
package de.plushnikov.intellij.plugin.action.lombok; import com.intellij.psi.PsiClass; import de.plushnikov.intellij.plugin.LombokClassNames; import org.jetbrains.annotations.NotNull; public class LombokDataHandler extends BaseLombokHandler { private final BaseLombokHandler[] handlers; public LombokDataHandler(...
{ "content_hash": "c06341db3f6b00a3af2fcafce0c7778a", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 76, "avg_line_length": 33.333333333333336, "alnum_prop": 0.782, "repo_name": "ingokegel/intellij-community", "id": "87fd63111ee98df83952a8d00ff0b85da28f20dd", "size": "1000...
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": "97b929e071dcf4c0d008982ae9d8ffbc", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 343, "avg_line_length": 38.73988439306358, "alnum_prop": 0.7079976126529394, "repo_name": "WimpyAnalytics/django-andablog", "id": "16683d7b22f83e66c8af10331f5d5caa7870bf62",...
<?xml version='1.0'?> <!-- * Copyright 2001-2009 The Apache Software Foundation. * * 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 * ...
{ "content_hash": "b79d8638e28eed9e0da5cfaa6ebb3ddc", "timestamp": "", "source": "github", "line_count": 444, "max_line_length": 162, "avg_line_length": 43.538288288288285, "alnum_prop": 0.5861052195954685, "repo_name": "st609877063/juddi", "id": "69e2db7b5dbd5eb75153d699d36881fe63f6ac98", "size": "...
package com.zhuhongqing.mongoassist; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import com.mongodb.WriteConcern; import com.zhuhongqing.mongohandler.MongoBeanHandler; import com....
{ "content_hash": "4d9cc64def5cf49b13fb658b911c4c3f", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 79, "avg_line_length": 23.684615384615384, "alnum_prop": 0.7262098083793439, "repo_name": "legend0702/Utils", "id": "e7fc481f0a2eed2e5e1571c796aee8dc276a8860", "size": "30...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://www.netbeans.org/ns/project/1"> <type>org.netbeans.modules.web.clientproject</type> <configuration> <data xmlns="http://www.netbeans.org/ns/clientside-project/1"> <name>Ebola-Web-Map</name> </data> </configuration> </p...
{ "content_hash": "0733c4d6b043ce78f0379fa977d6a8cf", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 70, "avg_line_length": 36.44444444444444, "alnum_prop": 0.6371951219512195, "repo_name": "heidieh/Ebola-Web-Map", "id": "fa49e97307c2234b5a3beba59fadbf8f97c84545", "size": "...
import Ember from 'ember'; import { initialize } from '../../../initializers/icon-service'; import { module, test } from 'qunit'; var container, application; module('IconServiceInitializer', { beforeEach: function() { Ember.run(function() { application = Ember.Application.create(); container = appli...
{ "content_hash": "6adbd7de978b8bf0a2f74947c7c027f7", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 67, "avg_line_length": 26.043478260869566, "alnum_prop": 0.6811352253756261, "repo_name": "mike1o1/ember-material-design-old", "id": "8ea9d8582211261b20a73b8afa94b9679fefc26d...
<html> <head> <title>User agent detail - Mozilla/5.0 (Linux; Android 4.2.2; ALCATEL ONE TOUCH Fierce Build/JDQ39) AppleWebKit/537.31 (KHTML, Like Gecko) Chrome/26.0.1410.58 Mobile Safari/537.31</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materializ...
{ "content_hash": "09a922f80a2983000cb9e1f0b8434b03", "timestamp": "", "source": "github", "line_count": 1128, "max_line_length": 758, "avg_line_length": 41.530141843971634, "alnum_prop": 0.5394697519532083, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "832a274d601c85f3c6074903cf5f185d0...
/** * Dependencies */ var _ = require('lodash'), util = require('util'), Err = require('../../../errors/fatal'), onRoute = require('./onRoute'), STRINGFILE = require('sails-stringfile'); /** * Expose hook definition */ module.exports = function(sails) { return { defaults: {}, configure: funct...
{ "content_hash": "72b5c28c923fd5eaa25b6a218901161c", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 111, "avg_line_length": 30.419213973799128, "alnum_prop": 0.5768016078093597, "repo_name": "xjpro/sails-windows-associations", "id": "68275dbd2ee4ba874d551d52149dbd41350e7a1...
=============================== pylxd =============================== python library for lxd Python library for communicating with the REST API via the unix socket.
{ "content_hash": "9d4db72c39b777e9d9675d1208ac8e31", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 71, "avg_line_length": 23.857142857142858, "alnum_prop": 0.49700598802395207, "repo_name": "Saviq/pylxd", "id": "4ddaf258bf811684d4001538a6e70d9ca2f7984d", "size": "167", ...
#ifndef __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ #define __GRPC_INTERNAL_IOMGR_ENDPOINT_H__ #include "src/core/iomgr/pollset.h" #include <grpc/support/slice.h> #include <grpc/support/time.h> /* An endpoint caps a streaming channel between two communicating processes. Examples may be: a tcp socket, <stdin+stdout>, or s...
{ "content_hash": "3919e215e5e8fe1053452fdffefd682b", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 80, "avg_line_length": 43.08, "alnum_prop": 0.6394305168678428, "repo_name": "nathanielmanistaatgoogle/grpc", "id": "e89cf6691c08eff7c3029f616905b1a798f354c9", "size": "479...
local mod = EPGP:NewModule("warnings", "AceHook-3.0") local DLG = LibStub("LibDialog-1.0") local L = LibStub("AceLocale-3.0"):GetLocale("EPGP") DLG:Register("EPGP_OFFICER_NOTE_WARNING", { text = L["EPGP is using Officer Notes for data storage. Do you really want to edit the Officer Note by hand?"], icon = ...
{ "content_hash": "fc5b0a0051e23124f11c75ab498e7ea3", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 222, "avg_line_length": 28.76923076923077, "alnum_prop": 0.6519607843137255, "repo_name": "Taracque/epgp", "id": "1a405520e2609f62b43cf9149a855ada5e6f43aa", "size": "2244",...
This is a system used to provide an objective measure of a number of cookbook quality metrics. The system takes inspiration from [Foodcritic](http://www.foodcritic.io/). **Umbrella Project**: [Supermarket](https://github.com/chef/chef-oss-practices/blob/master/projects/supermarket.md) * **[Project State](https://git...
{ "content_hash": "a62e2bcd5fb277d6d01a549b9c432bc3", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 352, "avg_line_length": 55.62068965517241, "alnum_prop": 0.7653440793552387, "repo_name": "chef-cookbooks/cookbook-quality-metrics", "id": "0a065bb4d57c670c4f1497ca293e068853...
using content::WebContents; namespace page_actions_keys = extension_page_actions_api_constants; namespace extensions { namespace { const char kBrowserActionStorageKey[] = "browser_action"; const char kPopupUrlStorageKey[] = "poupup_url"; const char kTitleStorageKey[] = "title"; const char kIconStorageKey[] = "icon"...
{ "content_hash": "661db4e37ebf720eded6d17a050c60cd", "timestamp": "", "source": "github", "line_count": 925, "max_line_length": 80, "avg_line_length": 33.902702702702705, "alnum_prop": 0.6892538265306123, "repo_name": "anirudhSK/chromium", "id": "15973bfb58c5bce7d4bdcf5d22d8688ce42c3e4c", "size": "...
<!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 (9-Debian) on Thu Sep 28 23:12:19 GMT 2017 --> <title>Uses of Interface dollar.api.plugin.ExtensionPoint (Dollar 0.4.5195 API)</title> <meta http-equi...
{ "content_hash": "2ab28dd3d479bf7034bc38e183c98fb9", "timestamp": "", "source": "github", "line_count": 635, "max_line_length": 417, "avg_line_length": 54.07716535433071, "alnum_prop": 0.675849617053496, "repo_name": "sillelien/dollar", "id": "94559eb5975686acd919d9a42b7144a7ca68a1a9", "size": "343...
package parser import ( "unicode" "unicode/utf8" ) func lexReference(l StatefulRubyLexer) stateFn { l.acceptRun(alphaNumericUnderscore) defaultCase := func() { r, _ := utf8.DecodeRuneInString(l.slice(l.startIndex(), l.startIndex()+1)) if l.accept("?!") { l.emit(tokenTypeMethodName) } else if unicode.Is...
{ "content_hash": "0ca717a1daf0889cba4513abd483022a", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 99, "avg_line_length": 19.875776397515526, "alnum_prop": 0.6728125, "repo_name": "rajthilakmca/grubby", "id": "ab27df27360bed5f30a42599a4a7aa9d1aa115ec", "size": "3200", ...
mvn spring-boot:run -Drun.profiles=openshift
{ "content_hash": "d8817d05be9eacffe180fea6d3788f2d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 44, "avg_line_length": 44, "alnum_prop": 0.8409090909090909, "repo_name": "niekvandael/iTalent", "id": "014c13ae4b831ed8babf846d5bb5bf4247c6cb9e", "size": "55", "binary": ...
import { Model } from 'ember-cli-mirage' export default Model.extend()
{ "content_hash": "f53c5baee73099a4e1eb0c6e56c5b14c", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 40, "avg_line_length": 24, "alnum_prop": 0.7361111111111112, "repo_name": "anehx/anonboard-frontend", "id": "f8ed73237ddb4ffdb51ada9f235d38a4a2f8992e", "size": "72", "bina...
// Copyright (c) 2011-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H #define BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H #include <qt/sendcoinsrecipient....
{ "content_hash": "92735349c876885a6592d59be4d14b3e", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 126, "avg_line_length": 32.81818181818182, "alnum_prop": 0.7223761157279163, "repo_name": "midnightmagic/bitcoin", "id": "c0bd3461bb4108647a42e756f7a7e60d9c9ba616", "size":...
Ti=Impact 1.sec=Rapid legal codification. 2.sec=Improved speed, transparency and certainty in business dealings. 3.sec=Greater access to justice, rule of law and self-governance. 4.sec=Greater transparency of institutions. 5.sec=Improved outcomes for social objectives such as privacy, health, climate and decentra...
{ "content_hash": "4937989331a7831d31c2a5b31358efd7", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 100, "avg_line_length": 26.46153846153846, "alnum_prop": 0.7906976744186046, "repo_name": "CommonAccord/Cmacc-Org", "id": "2f7c0d502fab42bcf9e7058815b1a2840d0088f0", "size"...
namespace app { namespace Fuse { namespace Controls { struct Switch; } } } namespace app { namespace Fuse { namespace Elements { struct Element; } } } namespace app { namespace Fuse { namespace Gestures { struct Clicker; } } } namespace app { namespace Fuse { namespace Input { struct PointerMovedArgs; } } } namespace a...
{ "content_hash": "bd28121131438dbe0d10ae828f5a2bc5", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 158, "avg_line_length": 63.11940298507463, "alnum_prop": 0.7474580279025774, "repo_name": "blyk/BlackCode-Fuse", "id": "bc020523668dcb27b2f3c16e33531f0465279720", "size": "...
package org.bdgenomics.convert.htsjdk; import java.util.ArrayList; import java.util.List; import htsjdk.variant.vcf.VCFHeader; import htsjdk.variant.vcf.VCFHeaderLine; import org.bdgenomics.convert.AbstractConverter; import org.bdgenomics.convert.ConversionException; import org.bdgenomics.convert.ConversionStringen...
{ "content_hash": "aa3b0f04cc2ffb4eeab7bd042751f3e0", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 104, "avg_line_length": 31.108695652173914, "alnum_prop": 0.6876310272536688, "repo_name": "heuermh/bdg-convert", "id": "66a5037b005a91dc1dac1e4e2a328e6e1109da08", "size": ...
@implementation KirinArgsTest - (void) testArgs { STAssertEqualObjects(@"", [KirinArgs args: nil], @"No args"); NSString* args1 = [KirinArgs args: @"1", nil]; STAssertEqualObjects(@"1", args1, @"One arg"); NSString* args2 = [KirinArgs args: @"1", @"2", nil]; STAssertEqualObjects(@"...
{ "content_hash": "199fd61023e9fbe93de8aa9be47107d8", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 65, "avg_line_length": 23.142857142857142, "alnum_prop": 0.5761316872427984, "repo_name": "KirinJS/Kirin", "id": "95df42a75845796ec6e90456f10b865408b4a696", "size": "693", ...
module HeapHop class HeapFileParser include Enumerable HeapObject = Struct.new \ :address, :generation, :references, :obj_type, :class_address, :file, :line, :method, :memsize, :flags, :info attr_reader :filename # Create a new HeapFileParser that can be used to parse the given heap...
{ "content_hash": "181e95523b2b59ee73e5b32d146a65d1", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 80, "avg_line_length": 29.93975903614458, "alnum_prop": 0.613682092555332, "repo_name": "TwP/heap_hop", "id": "fff02ae5b83d3f85943773295b805ee1a9c0f700", "size": "2485", ...
/** * @author anton. */ package ru.aserdyuchenko.iterator.task5_1_2;
{ "content_hash": "74e52612394d5afadf20275922ce2695", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 44, "avg_line_length": 17.5, "alnum_prop": 0.6857142857142857, "repo_name": "anton415/Job4j", "id": "cdb1dd2724b8750caedcbb529d48982b2283ffb3", "size": "70", "binary": fal...
/** * File: Tank.java * @author Xu,Runbo and Zurn,Andrew * @version Jan. 19, 2011 */ package tank; /** * Tank is an interface for objects that represent a container */ public interface Tank { /** * this constructor will check whether the tank is empty and return the result as a boolean * @return tru...
{ "content_hash": "a286de4be35dfeccc1ea043898002a79", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 93, "avg_line_length": 25.745098039215687, "alnum_prop": 0.6778370144706778, "repo_name": "AndrewZurn/sju-compsci-archive", "id": "37bac1b0b503d36dfc162e11188e4c654c0d026b", ...
package org.apache.flink.streaming.runtime.io; import org.apache.flink.annotation.Internal; import org.apache.flink.core.io.InputStatus; import org.apache.flink.runtime.io.AvailabilityProvider; import org.apache.flink.runtime.io.PullingAsyncDataInput; import org.apache.flink.streaming.api.watermark.Watermark; import...
{ "content_hash": "4a7ec4e851a0849f2380cdf630b7d55e", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 89, "avg_line_length": 35.43478260869565, "alnum_prop": 0.7865030674846626, "repo_name": "sunjincheng121/flink", "id": "a0193a64ba24691a629198ec4d50d292736ada4f", "size": "...
""" Featurizes proposed binding pockets. """ from __future__ import division from __future__ import unicode_literals __author__ = "Bharath Ramsundar" __copyright__ = "Copyright 2017, Stanford University" __license__ = "MIT" import numpy as np from deepchem.utils.save import log from deepchem.feat import Featurizer ...
{ "content_hash": "8dbb5992ef42a4ed04a77372550ea921", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 79, "avg_line_length": 31.607142857142858, "alnum_prop": 0.6175141242937853, "repo_name": "Agent007/deepchem", "id": "bf26d0e76a73f84a5208746d56818c147ce2df34", "size": "17...
<?php namespace PivotalTracker\Exception; /** * InvalidArgumentException. * * @author Joseph Bielawski <stloyd@gmail.com> */ class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { }
{ "content_hash": "69e24842992d9f59cd4c1a2d5a1dce8f", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 94, "avg_line_length": 19.166666666666668, "alnum_prop": 0.7913043478260869, "repo_name": "bariton3/php-pivotal-tracker-api", "id": "d59e7919d072c57781cb82e117956dc6d3863ab1"...
'use strict'; var util = require('util'); var path = require('path'); var fs = require('fs'); var yeoman = require('yeoman-generator'); var yosay = require('yosay'); var chalk = require('chalk'); function checkForCanvasError() { fs.stat('node_modules/grunt-reduce/node_modules/assetgraph-builder/node_modules/histog...
{ "content_hash": "99433b65f524c15afb21965de99ffe6d", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 152, "avg_line_length": 31.5390625, "alnum_prop": 0.6162992321030468, "repo_name": "Munter/generator-greenfield", "id": "337d97bd429c34d496c24d88e7e0def01a875c7d", "size":...
package com.smartdevicelink.proxy.rpc; import android.support.annotation.NonNull; import com.smartdevicelink.proxy.RPCStruct; import com.smartdevicelink.proxy.rpc.enums.DefrostZone; import com.smartdevicelink.proxy.rpc.enums.VentilationMode; import java.util.Hashtable; import java.util.List; /** * Contains inform...
{ "content_hash": "cb53e4dcca1fd94e3d2dbdbdbed574bd", "timestamp": "", "source": "github", "line_count": 376, "max_line_length": 145, "avg_line_length": 40.42553191489362, "alnum_prop": 0.7117763157894736, "repo_name": "anildahiya/sdl_android", "id": "6961faf944fe2330c7b65419335711bab5b5ae53", "size...
(function() { 'use strict'; /** * @ngdoc module * @name material.components.radioButton * @description radioButton module! */ angular.module('material.components.radioButton', [ 'material.core' ]) .directive('mdRadioGroup', mdRadioGroupDirective) .directive('mdRadioButton', mdRadioButtonDirective); /** * ...
{ "content_hash": "c3a364b6678930049e4ee4bc24ece050", "timestamp": "", "source": "github", "line_count": 289, "max_line_length": 115, "avg_line_length": 29.802768166089965, "alnum_prop": 0.6260304191338674, "repo_name": "svetlyak40wt/material", "id": "a5c53d88d77de22d6575feb9a8edbd5ebc9ee3a6", "size...
package org.apache.camel.converter.jaxp; import java.io.InputStream; import java.io.Reader; import javax.xml.transform.stream.StreamSource; import org.apache.camel.Converter; /** * A converter from {@link StreamSource} objects */ @Converter public final class StreamSourceConverter { /** * Utility class...
{ "content_hash": "17947372fc4dd3299ab2dda5d1f1b2f8", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 66, "avg_line_length": 20.53125, "alnum_prop": 0.7062404870624048, "repo_name": "kevinearls/camel", "id": "59f5c5ccc2c712e28ae35f869f0a331a58efbf03", "size": "1460", "bin...
// Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved. package jodd.madvoc.petite; import jodd.madvoc.component.InterceptorsManager; import jodd.madvoc.interceptor.ActionInterceptor; import jodd.petite.meta.PetiteInject; import jodd.petite.PetiteContainer; /** * Petite-aware interceptors manager....
{ "content_hash": "1b77df8efd3ce6bb3b778a072b6287e2", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 81, "avg_line_length": 26.4, "alnum_prop": 0.793939393939394, "repo_name": "wsldl123292/jodd", "id": "ee01f9035554e0da200fd5bfb831250ce3a4eeef", "size": "660", "binary": ...
package org.openrdf.repository.object.managers.converters; import org.openrdf.model.Literal; import org.openrdf.model.URI; import org.openrdf.model.ValueFactory; import org.openrdf.model.vocabulary.XMLSchema; import org.openrdf.repository.object.managers.Marshall; /** * Converts {@link Short} to and from {@link Lit...
{ "content_hash": "7b5b1b93203a728991ca39be6f798198", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 59, "avg_line_length": 22.09090909090909, "alnum_prop": 0.7489711934156379, "repo_name": "stain/alibaba", "id": "2a8c035c156947ed33b24b1bab15189fac4e5220", "size": "2544", ...