text
stringlengths
2
1.04M
meta
dict
package com.github.davidcarboni.dylan.filesystem; import com.github.davidcarboni.cryptolite.Crypto; import com.github.davidcarboni.cryptolite.Keys; import com.github.davidcarboni.cryptolite.Random; import org.junit.After; import org.junit.Before; import org.junit.Test; import javax.crypto.SecretKey; import java.io.IO...
{ "content_hash": "735e47adb72ed1b11a1d577e75b6ed99", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 108, "avg_line_length": 30.683937823834196, "alnum_prop": 0.6430260047281324, "repo_name": "ONSdigital/Dylan", "id": "5f4de880c33415a0604101a5e22cc6c240b1798b", "size": "5...
<?xml version="1.0" encoding="UTF-8"?> <!-- Norwegian bokmål FBReaderJ resources, by Haakon Meland Eriksen --> <resources> <node name="library" value="FBReader bibliotek"> <node name="unknownAuthor" value="Ukjent forfatter"/> <node name="booksWithNoTags" value="Bøker uten merkelapper"/> <node name="demo" value="...
{ "content_hash": "4799e246102530dd01d51c322b3483f7", "timestamp": "", "source": "github", "line_count": 869, "max_line_length": 249, "avg_line_length": 46.81472957422324, "alnum_prop": 0.683643871982695, "repo_name": "liufeiit/itmarry", "id": "a0cacc37c7236c6b67dc9ed4fa6d9ea214cebc21", "size": "409...
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. #if !NO_TPL using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections; using Syst...
{ "content_hash": "7d6c5abae4379760ae8aa1eac4ca5c31", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 133, "avg_line_length": 26.577358490566038, "alnum_prop": 0.45165412466278576, "repo_name": "airbreather/RandomFireplace", "id": "7fc85301380ed0e9fe0415b18cc73c2b87daf026", ...
using base::Time; namespace history { namespace { static const char* kHistoryThreadName = "Chrome_HistoryThread"; void RunWithFaviconResults( const favicon_base::FaviconResultsCallback& callback, std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { callback.Run(*bitmap_results); } void Run...
{ "content_hash": "13dcd0e3cd8108ecf38b109638e3580f", "timestamp": "", "source": "github", "line_count": 1117, "max_line_length": 80, "avg_line_length": 40.630259623992835, "alnum_prop": 0.6734091309712674, "repo_name": "was4444/chromium.src", "id": "557a1693c0b450705bc1cd45eaddf6c503076515", "size"...
package org.apache.causeway.extensions.secman.applib.user.dom; import java.util.Collection; import java.util.Collections; import java.util.Objects; import java.util.Optional; import java.util.function.Consumer; import javax.inject.Inject; import javax.inject.Provider; import org.springframework.beans.factory.annota...
{ "content_hash": "4b625c7c13ac34f4d90ac22a21444fe3", "timestamp": "", "source": "github", "line_count": 234, "max_line_length": 119, "avg_line_length": 35.81196581196581, "alnum_prop": 0.701073985680191, "repo_name": "apache/isis", "id": "7357c760eeb38878f73b4f3a2531ca94962fe8ab", "size": "9205", ...
Yet another jQuery HTML WYSIWYG plugin As the following image shows, Htmle has the a set of most common editing functions. Htmle can be customized to show only the required controls. It doesn't have a heavy design theme, so that you can easily alter its css to fit into the theme of your website. ![Htmle Print Screen]...
{ "content_hash": "9ff50c6266bb757ed07762bb40b266f8", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 257, "avg_line_length": 27.714285714285715, "alnum_prop": 0.7422680412371134, "repo_name": "mhsallam/htmle", "id": "dc1a4e667ba8eff7ceb02844ae4c8d936606dcdf", "size": "784"...
<!-- HTML header for doxygen 1.8.6--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" conte...
{ "content_hash": "9603a7751171c1b45559153178b21d79", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 374, "avg_line_length": 44.77570093457944, "alnum_prop": 0.604049259027343, "repo_name": "lucasbrsa/OpenCV-3.2", "id": "9d79cc6686971cddefde65a52ab99442fc7d7358", "size": ...
module MnoEnterprise class Jpi::V1::Impac::DashboardsController < Jpi::V1::BaseResourceController include MnoEnterprise::Concerns::Controllers::Jpi::V1::Impac::DashboardsController end end
{ "content_hash": "cb1597a132b8583d4501800d3df2828a", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 86, "avg_line_length": 39.4, "alnum_prop": 0.7918781725888325, "repo_name": "maestrano/mno-enterprise", "id": "14e667dbbcad89adb1a3db22358110fa304e8ff0", "size": "197", "b...
execute "set vagrant password" do command "echo 'vagrant:duckduckhack' | sudo chpasswd" action :run end
{ "content_hash": "00938d3981ab9f0999644b74b6772adf", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 55, "avg_line_length": 27, "alnum_prop": 0.75, "repo_name": "mikedep333/duckpan-vagrant", "id": "0dee298425953ebfe3e71b3804dbff108419b304", "size": "170", "binary": false,...
<!doctype html> <html lang="en"> <head> <title>Code coverage report for client/model/shared/superclasses/GenericProcess.js</title> <meta charset="utf-8"> <link rel="stylesheet" href="../../../../prettify.css"> <style> body, html { margin:0; padding: 0; } body { ...
{ "content_hash": "1b865ddd0e5bb04a5dd8b200ffd22562", "timestamp": "", "source": "github", "line_count": 677, "max_line_length": 165, "avg_line_length": 29.997045790251107, "alnum_prop": 0.6028166239905456, "repo_name": "MDaino/Seq", "id": "b35feb7638b4a0e6064b8fcb020a234c20a7ec30", "size": "21371",...
(function() { 'use strict'; angular .module('cupid') .config(routerConfig); /** @ngInject */ /* $urlRouterProvider 路由重定向 $stateProvider 路由状态配置 */ function routerConfig($stateProvider, $urlRouterProvider) { // For unmatched route $stateProvider .state('app', { abs...
{ "content_hash": "a47b001d7e73a6a953dbb600e1151800", "timestamp": "", "source": "github", "line_count": 335, "max_line_length": 115, "avg_line_length": 36.30746268656716, "alnum_prop": 0.5110581271067993, "repo_name": "weilewantieba/swiip", "id": "820b82d72d81de8e2cf3d1e853fb70517a1e64a4", "size": ...
var go = {}; go; go.app = function() { var vumigo = require('vumigo_v02'); var App = vumigo.App; var MenuState = vumigo.states.MenuState; var Choice = vumigo.states.Choice; var ChoiceState = vumigo.states.ChoiceState; var EndState = vumigo.states.EndState; var FreeText = vumigo.states.FreeT...
{ "content_hash": "4bbb0e9547835cc7d7399ffe0a4e2a82", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 180, "avg_line_length": 36.62011173184357, "alnum_prop": 0.5208237986270023, "repo_name": "Textily/tlokotsi-ussd-demo", "id": "8c824f2ae0626f1c050af67cdc2c7cd64d0717bb", "...
using Should; using Xunit; namespace Cassette.Utilities { public class ByteArrayExtensions_ToHexString_Tests { [Fact] public void Empty_array_returns_empty_string() { new byte[] { }.ToHexString().ShouldEqual(""); } [Fact] public void _...
{ "content_hash": "b97125c753f88088e842bfdad44aadb5", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 101, "avg_line_length": 24.85185185185185, "alnum_prop": 0.49254843517138597, "repo_name": "honestegg/cassette", "id": "459ea36dfa2b72bebe72d5d3f015b6bea4b65343", "size": "...
#include <stdexcept> #include "FileInput.h" #include "IOBase.h" #include "LexiconManager.h" #include "PhoneSet.h" #include "LogMessage.h" namespace Bavieca { // constructor LexiconManager::LexiconManager(const char *strFile, PhoneSet *phoneSet) { assert(phoneSet); m_strFile = strFile; m_phoneSet = pho...
{ "content_hash": "555b8e16c55a36439aec34f3cd7cc83f", "timestamp": "", "source": "github", "line_count": 623, "max_line_length": 160, "avg_line_length": 33.22953451043339, "alnum_prop": 0.6593565839049367, "repo_name": "nlphacker/bavieca", "id": "1dbc27e08929b2009db95d8fcec1306d9472a8c2", "size": "2...
package unfiltered.server import javax.servlet.http.HttpServletResponse import org.specs2.mutable._ import unfiltered.response._ import unfiltered.request._ import unfiltered.request.{Path => UFPath} import unfiltered.filter.WritableServletResponse object WriterSafetySpec extends Specification with unfiltered.specs2...
{ "content_hash": "61a473bbdda6f4e045da30580a6dcef5", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 83, "avg_line_length": 29.933333333333334, "alnum_prop": 0.7338530066815144, "repo_name": "omarkilani/unfiltered", "id": "0c707d0ce08d1daf21cae4b48b20b43a190d7058", "size":...
mod acpi; pub(crate) mod bat; pub(crate) mod serial_device; pub(crate) use acpi::acpi_event_run; pub(crate) use acpi::get_acpi_event_sock;
{ "content_hash": "70f283e4a4349a7d296a30843b621482", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 41, "avg_line_length": 23.333333333333332, "alnum_prop": 0.7285714285714285, "repo_name": "google/crosvm", "id": "65a64175b1d41406a2efd960d63497485eea0fc2", "size": "286", ...
*Design and print wheel encoder discs for robotics and more. Cross platform, open source!* ## Introduction WheelEncoderGenerator is a cross-platform desktop JavaFX app used to design and print wheel encoder discs for use in robotics. It supports printing of quadrature, binary, gray-code binary, and basic single-tra...
{ "content_hash": "ce97914e21a4d00846d6188b04ac9341", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 140, "avg_line_length": 48.02127659574468, "alnum_prop": 0.7815684536996013, "repo_name": "shimniok/WheelEncoderGenerator", "id": "00b1a610894b567e1c48c17a411ad87d8c8d9aef", ...
package org.codegist.crest.serializer; import org.codegist.common.io.IOs; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.charset.Charset; /** * @author laurent.gilles@codegist.org */ public class InputStreamSerializer implements Serializer<InputStream> { ...
{ "content_hash": "4ccb60712c7d4ec2c97e1779201b2148", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 100, "avg_line_length": 22.545454545454547, "alnum_prop": 0.7278225806451613, "repo_name": "codegist/crest", "id": "f750153510cf55b69e520f3af42727d710dacf7c", "size": "1254...
/** * @author Anton Avtamonov * @version $Revision$ */ package javax.swing.event; import java.awt.event.MouseEvent; public abstract class MouseInputAdapter implements MouseInputListener { public void mouseReleased(final MouseEvent e) { return; } public void mousePressed(final MouseEvent e)...
{ "content_hash": "4ca0079f61477f8bcfa588c707fa9ab2", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 71, "avg_line_length": 17.023809523809526, "alnum_prop": 0.6363636363636364, "repo_name": "freeVM/freeVM", "id": "ab7c7ce6c020cae0f4c683defa458485d71bc736", "size": "1527",...
#ifndef GLINK_INTERNAL_H #define GLINK_INTERNAL_H /*=========================================================================== GLink Core Internal Header File ===========================================================================*/ /*======================================================...
{ "content_hash": "8ff0e6dac0758d0c93e60893537b0f46", "timestamp": "", "source": "github", "line_count": 804, "max_line_length": 96, "avg_line_length": 32.6952736318408, "alnum_prop": 0.4987636474302887, "repo_name": "jaehyek/lk", "id": "bdd434c6c9804e21795cb9cc327a139cfb1ecc5c", "size": "27802", ...
package com.ai.alg; import com.ai.Policy; import com.ai.Racetrack; import com.ai.model.Action; import com.ai.model.Position; import com.ai.model.State; import com.ai.model.Velocity; import com.ai.sim.CollisionModel; import com.ai.sim.MDPActionSimulator; import com.ai.sim.RacetrackMDP; import org.apache.log4j.Logger; ...
{ "content_hash": "37f9aea652882b77bfa89ec32052f686", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 217, "avg_line_length": 32.75, "alnum_prop": 0.5577192709144727, "repo_name": "sagersmith8/racetrack_ai", "id": "868b09b6d692142945931193bc9bfd8586946f2b", "size": "6419",...
bool FASTAParser::isValidPeptide(AASequence& pep) { String p = pep.toString(); if (p.hasSubstring("U") || p.hasSubstring("B") || p.hasSubstring("Z") || p.hasSubstring("J") || p.hasSubstring("X")) { return false; } return true; } void FASTAParser::digestProtein(FASTAFile::FASTAEntry& protein...
{ "content_hash": "32af173a72b3a4de137deaccc0d599b6", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 142, "avg_line_length": 33.628571428571426, "alnum_prop": 0.6380628717077316, "repo_name": "UNC-Major-Lab/Fragment-Isotope-Distribution-Paper", "id": "3e588794ea5e61b4ef079b6...
package com.hazelcast.multimap.impl; import com.hazelcast.cluster.Address; import com.hazelcast.core.EntryEventType; import com.hazelcast.map.impl.event.EntryEventData; import com.hazelcast.map.impl.event.MapEventData; import com.hazelcast.internal.serialization.Data; import com.hazelcast.spi.impl.NodeEngine; import...
{ "content_hash": "f3432aa355b1689c4cf6fb76b7f6f6f5", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 128, "avg_line_length": 47.42857142857143, "alnum_prop": 0.7134789156626506, "repo_name": "emre-aydin/hazelcast", "id": "95d58cbc5b284b49725ddfdd55e5400176d6913d", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>lesniewski-mereology: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
{ "content_hash": "723310fb4b5ccf8b4523e3d296d25b28", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 803, "avg_line_length": 49.17261904761905, "alnum_prop": 0.5857644352983901, "repo_name": "coq-bench/coq-bench.github.io", "id": "63b7342197b5ca3fb0495741c4cf4db4d50492a3", ...
module ActsAsLimitable VERSION = 0.2 end
{ "content_hash": "d4b2f09e85402b604e2e916ef202bc3b", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 22, "avg_line_length": 14.333333333333334, "alnum_prop": 0.7674418604651163, "repo_name": "deevis/acts_as_limitable", "id": "293dc936fd7ccd71dcdc716766c97916bee259a4", "size...
from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/clothing/shared_clothing_bikini_casual_02.iff" result.attribute_template_id = -1 result.stfName("string_id_table","") #### BEGIN MODIFICATIONS #### #### END MODIFICATIONS #### return result
{ "content_hash": "3dd6431b76cea7e42ff5618dc4b42e81", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 89, "avg_line_length": 24.46153846153846, "alnum_prop": 0.7012578616352201, "repo_name": "obi-two/Rebelion", "id": "94148e70573324969e9bb7e89284a53507cdc556", "size": "463"...
require_relative '../helper' describe Dalli::Protocol::ValueSerializer do describe 'options' do subject { Dalli::Protocol::ValueSerializer.new(options) } describe 'serializer' do describe 'when the serializer option is unspecified' do let(:options) { {} } it 'defaults to Marshal' do ...
{ "content_hash": "803c992bcfa48c75eba92105f2993775", "timestamp": "", "source": "github", "line_count": 323, "max_line_length": 114, "avg_line_length": 37.46749226006192, "alnum_prop": 0.6478268054866965, "repo_name": "mperham/dalli", "id": "0127c180fd97921e84451f0b78f299c0f80d0dc6", "size": "12133...
require 'test/unit' require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities') require 'rubygems/commands/pristine_command' class TestGemCommandsPristineCommand < RubyGemTestCase def setup super @cmd = Gem::Commands::PristineCommand.new end def test_execute a = quick_gem 'a' do |s|...
{ "content_hash": "61f9a944f88b243a7120222d5e80751a", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 99, "avg_line_length": 24.2, "alnum_prop": 0.6128099173553719, "repo_name": "thewoolleyman/geminstaller", "id": "cd1d3500aeead20af5301bb5d1496808e0835a39", "size": "2420",...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca_ES" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About TielnetCoin</source> <translation>Sobre TielnetCoin</translation>...
{ "content_hash": "9015ede274a600b04207c1ff277e6fea", "timestamp": "", "source": "github", "line_count": 2917, "max_line_length": 612, "avg_line_length": 40.65855330819335, "alnum_prop": 0.6340840296456185, "repo_name": "BuzzPrograms/tielnetcoin", "id": "5700a54d320953e4a1ca50b8068d709dbcf423e9", "s...
import { KeyChord, KeyCode, KeyMod } from 'vs/base/common/keyCodes'; import { Mimes } from 'vs/base/common/mime'; import { IBulkEditService, ResourceTextEdit } from 'vs/editor/browser/services/bulkEditService'; import { localize } from 'vs/nls'; import { MenuId, registerAction2 } from 'vs/platform/actions/common/acti...
{ "content_hash": "d4c442dda2df5108528706ac947e8c55", "timestamp": "", "source": "github", "line_count": 570, "max_line_length": 330, "avg_line_length": 34.064912280701755, "alnum_prop": 0.7317299273832208, "repo_name": "eamodio/vscode", "id": "5074d759b06508419d30c35d4b15e9eabbc2165f", "size": "197...
<?php namespace fXmlRpc\Client\Tests\Exception; use fXmlRpc\Client\Exception\InvalidArgumentException; /** * @author Lars Strojny <lstrojny@php.net> */ class InvalidArgumentExceptionTest extends \PHPUnit_Framework_TestCase { public function testExceptionImplementsExceptionInterface() { $this->ass...
{ "content_hash": "6482051218fb189bbd0196fb964d6655", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 93, "avg_line_length": 26.42105263157895, "alnum_prop": 0.6613545816733067, "repo_name": "fxmlrpc/fxmlrpc", "id": "7b584cf054186ee91829cafddf0c99fbb310851a", "size": "1234"...
package de.chrgroth.generictypesystem.validation.impl; import java.util.ArrayList; import java.util.List; import java.util.Set; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameter; import org.junit.ru...
{ "content_hash": "e496ad5f58e4e122ab0a6d77f5df7765", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 172, "avg_line_length": 49.70886075949367, "alnum_prop": 0.7079195314489433, "repo_name": "christiangroth/generic-typesystem", "id": "fec027732d6ff8de5b3019473132e533c7f9af4...
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Category' db.create_table(u'faq_category', ( (u'id', self.gf('django.db.models.fields.AutoField')(primar...
{ "content_hash": "f706360920c1b8dfcbe32303041dcfb2", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 186, "avg_line_length": 48.642857142857146, "alnum_prop": 0.5833333333333334, "repo_name": "waustin/django-simple-faq", "id": "698a141bd1c51ac2a161a2b3cc2733cbd5a0e1de", "s...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("01...
{ "content_hash": "de633c0d98f4cb81c056d0758e877220", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.97222222222222, "alnum_prop": 0.744832501781896, "repo_name": "GerganaRibarova/Programming-Fundamentals-Extended", "id": "5f950b7b9567eae66d5df899c1...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2010 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
{ "content_hash": "9832d3dffefe390fe29d9c6e1582be95", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 79, "avg_line_length": 36.266666666666666, "alnum_prop": 0.7003676470588235, "repo_name": "xjwangliang/android_source_note", "id": "d743fc095dfde830f1ba3a11d3cde96ff5f40777",...
import stix from stix.common import StructuredTextList # bindings import stix.bindings.ttp as ttp_binding from mixbox import fields class Exploit(stix.Entity): _binding = ttp_binding _binding_class = _binding.ExploitType _namespace = "http://stix.mitre.org/TTP-1" id_ = fields.IdField("id") idref...
{ "content_hash": "be6090c33b5f2b8c0f72b66a38b92512", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 103, "avg_line_length": 32.95180722891566, "alnum_prop": 0.6548446069469835, "repo_name": "STIXProject/python-stix", "id": "ebdbb5a7d2d51733918a5f1b47ee1b422a2e6fe3", "size...
var StructReference = require('./types/reference') exports.methodsFor = function(obj, prop, get, set) { obj[get] = function(parent) { if (!this[prop]) return 0 if (this[prop] instanceof StructReference) return parent[this[prop].prop] else if (typeof this[prop] === 'function') return this[prop...
{ "content_hash": "2bf170006101becfda27af92f535ac18", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 52, "avg_line_length": 29.303030303030305, "alnum_prop": 0.6204756980351603, "repo_name": "sapit/whiteboard", "id": "ec90a9c325115ee3f00c880d1646f3c3f2e3c77f", "size": "967...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Home_model extends CI_Model{ public function insert_data($array){ $this->db->insert('formdata',$array); } public function check_exit_values($field_name,$field_value) { return $this->d...
{ "content_hash": "c2aa5dc03734790f30d2cec5597333ea", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 76, "avg_line_length": 33.4375, "alnum_prop": 0.4747663551401869, "repo_name": "vinupatidar/testlookup", "id": "e73667eded3c0e30b3fc178938ed7e7e70c1a797", "size": "535", ...
<?php namespace Neutrino\Repositories\Exceptions; use Phalcon\Exception; class TransactionException extends Exception { }
{ "content_hash": "d4d4ff70a9949e51004a140541d4954d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 44, "avg_line_length": 12.5, "alnum_prop": 0.816, "repo_name": "phalcon-nucleon/framework", "id": "87e812bbbc32490253f794765a79e336a3c6fde6", "size": "125", "binary": fal...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.1//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_1.dtd"> <!-- Version $Revision:$ $Date:$ --> <server> <mbean code="org.jboss.jms.server.destination.QueueService" name="dcm4chee.web:service=Queue,name=IANSCU_web" xmb...
{ "content_hash": "4307480353b8badca7b58006afb2e311", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 118, "avg_line_length": 34.46058091286307, "alnum_prop": 0.6573148705599037, "repo_name": "medicayun/medicayundicom", "id": "f8026ceca5be7618d9db4bb19271865e038ea215", "si...
export { default } from './UserAutoComplete';
{ "content_hash": "e95e46a7ac6fd7d85065ecad3a44f429", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 45, "avg_line_length": 46, "alnum_prop": 0.717391304347826, "repo_name": "VoiSmart/Rocket.Chat", "id": "4fb4f7b54f1b44aa6455e7cca32a8ed2564d4ca0", "size": "46", "binary": ...
using System.Collections; using System.Collections.Generic; using System; using UnityEngine; public class GridSpot { protected Vector3 coord; //Coordinates of this gridspot on the map protected GameObject gameObject; //Hides the fact that this gridspot is also a gameobject (GUI) protected Unit[] unit; //Units that...
{ "content_hash": "259813abed3853cc24aeced3a21dcca1", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 96, "avg_line_length": 23.914285714285715, "alnum_prop": 0.7192353643966547, "repo_name": "tolae/SpellCasters", "id": "3d9249336c70614532223d17a2cc2c8df9258670", "size": "8...
package com.strobel.decompiler.languages.java.ast; import com.strobel.decompiler.languages.EntityType; import com.strobel.decompiler.patterns.INode; import com.strobel.decompiler.patterns.Match; public class ConstructorDeclaration extends EntityDeclaration { public final static TokenRole THROWS_KEYWORD...
{ "content_hash": "57972d2056613a3accecfc84d5a1e0a7", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 100, "avg_line_length": 34.738461538461536, "alnum_prop": 0.6758193091231178, "repo_name": "Thog/Procyon", "id": "a7c849c9c49a7e8363d3a6ff92def2b71e030181", "size": "2897",...
using Sqloogle.Libs.Rhino.Etl.Core.Operations; using Sqloogle.Operations; using Sqloogle.Operations.Support; namespace Sqloogle.Processes { /// <summary> /// A ServerProcess queries cached sql, sql agent jobs, /// reporting services commands, and object definitions from /// a single SQL Server. ...
{ "content_hash": "063a0506e5d5b59baf593804b1063964", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 75, "avg_line_length": 30.033333333333335, "alnum_prop": 0.6614872364039955, "repo_name": "dineshkummarc/SQLoogle", "id": "0ad5e0966f36ff412ff361dcdce43e6ff8efec5e", "size"...
package net.sf.mmm.util.file.base; import java.io.File; import java.io.FileFilter; import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.Properties; import java.util.UUID; import org.junit.Test; import net.sf.mmm.test.TestResour...
{ "content_hash": "fc7e6eeec711a1cb3061099592ff8b61", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 146, "avg_line_length": 37.23809523809524, "alnum_prop": 0.6686558681443592, "repo_name": "m-m-m/util", "id": "6d3699988f778779ed94982b9af86b035c67f55c", "size": "7167", ...
An easy way to add a stereoscopic ARKit SceneView to your project. The MixedRealityKit class extends ARSCNView and splits camera in two stereoscopic SceneViews. Works with Google Cardboard or any VR Viewer that supports non-barrel distorted VR. **Virtual Reality Demo (enclosed room scene)** ![Virtual Reality Example]...
{ "content_hash": "520297c8ac5cbd04dc318001f9342c9e", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 475, "avg_line_length": 33.38709677419355, "alnum_prop": 0.7357487922705314, "repo_name": "scottfinkelstein/MixedRealityKit", "id": "183b4465690748dcdd6cf28acb86122a389fabcf...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using Csla; using Csla.Data; using SelfLoadSoftDelete.DataAccess; using SelfLoadSoftDelete.DataAccess.ERLevel; namespace SelfLoadSoftDelete.DataAccess.Sql.ERLevel { /// <summary> /// DAL SQL Server imple...
{ "content_hash": "4d5fe591550917a546c6484d08827858", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 122, "avg_line_length": 43.46153846153846, "alnum_prop": 0.5566371681415929, "repo_name": "CslaGenFork/CslaGenFork", "id": "e31d22de53a7828a74b8f224c2f775482a128488", "size...
package stuartw_at_umich_dot_edu.MindstormRobot; import lejos.nxt.Button; import lejos.nxt.LightSensor; import lejos.nxt.SensorPort; import lejos.robotics.localization.OdometryPoseProvider; import lejos.robotics.navigation.DifferentialPilot; import lejos.robotics.subsumption.Behavior; public class LineBehavior implem...
{ "content_hash": "cc333df78d7bc1fcc742965aa76e5a70", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 73, "avg_line_length": 21.595238095238095, "alnum_prop": 0.717199558985667, "repo_name": "swheaton/MindstormRobot", "id": "ee040c5b81bb5202bb8db7c0c89bdf64f7a095d2", "size"...
package main import ( "fmt" "log" "os" "strconv" "./src/hlt" ) // golang starter kit with logging and basic pathfinding // Arjun Viswanathan 2017 / github arjunvis func main() { logging := true botName := "GoBot" conn := hlt.NewConnection(botName) // set up logging if logging { fname := strconv.Itoa(c...
{ "content_hash": "365ff9a20b12e417d3a2a250d036489c", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 76, "avg_line_length": 20, "alnum_prop": 0.653, "repo_name": "lanyudhy/Halite-II", "id": "10709aeac4f2c62d302e754b32dec869b3452104", "size": "1000", "binary": false, "c...
uint64 FxTime2TSec(uint fxTime); uint TSec2FxTime(uint64 tSec);
{ "content_hash": "58b1cd4015a2f7dfd225f9b2d3b7e3d2", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 32, "avg_line_length": 32, "alnum_prop": 0.8125, "repo_name": "stackprobe/Factory", "id": "68ebc59e16a875345f7deee8ad20cab61e5f1a8a", "size": "64", "binary": false, "cop...
package com.tle.webtests.pageobject.generic.component; import com.tle.webtests.framework.PageContext; import com.tle.webtests.pageobject.AbstractPage; import com.tle.webtests.pageobject.PageObject; import com.tle.webtests.pageobject.WaitingPageObject; import org.openqa.selenium.By; import org.openqa.selenium.WebElemen...
{ "content_hash": "e74f06e9a4af6d9cba4ba2b2400f817d", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 91, "avg_line_length": 33.25, "alnum_prop": 0.743734335839599, "repo_name": "equella/Equella", "id": "9f8f6698141ca29ec9f599908c54a99048a1efab", "size": "1596", "binary":...
package com.flectosystems.morphiasparkapi.dao; import com.flectosystems.morphiasparkapi.config.MongoDB; import com.flectosystems.morphiasparkapi.models.Venue; import com.mongodb.BasicDBObject; import org.bson.types.ObjectId; import javax.inject.Named; import java.util.List; /** * Class designed to access to the DB ...
{ "content_hash": "d0f2716a55bb93cd16c9bcc0cd492ad8", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 78, "avg_line_length": 27.484848484848484, "alnum_prop": 0.681367144432194, "repo_name": "ernestomancebo/MorphiaSparkAPI", "id": "69af0d9a0301b13f11c93a1ecee00a2cbaddfef7", ...
/** * @module Ajax客户端[AjaxClient] * @description Ajax客户端 * * @author: * @date: 2013-08-29 下午1:48 */ define([ "core/js/Class", "core/js/rpc/AjaxRequest", "core/js/rpc/JsonResponse", "jquery.fileDownload"], function (Class, AjaxRequest, JsonResponse) { var AjaxClient = Class.extend({ /**...
{ "content_hash": "a8fa20639361cbc67abea332d5b1e454", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 180, "avg_line_length": 40.88495575221239, "alnum_prop": 0.5744588744588744, "repo_name": "huangfeng19820712/hfast", "id": "cd101ca81d99067f4b96b659d7e7ea04f93f326d", "siz...
<!doctype html> <html lang="en-us"> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Emscripten-Generated Code</title> <style> .emscripten { padding-right: 0; margin-left: auto; margin-right: auto; display: block; } textarea.emscripte...
{ "content_hash": "7498155e27f0205bd0d54b0ff38f4211", "timestamp": "", "source": "github", "line_count": 365, "max_line_length": 162, "avg_line_length": 35.58082191780822, "alnum_prop": 0.5952105952105952, "repo_name": "wflohry/imgui-addons", "id": "b34ab3929b37e94631cb9bf6748a713213a732df", "size":...
using Fortune_Teller_UI.Services; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace Fortune_Teller_UI.Controllers { [Route("/")] public class HomeController : Controller { IFortuneService _fortunes; public HomeController(IFortuneService fortunes) { ...
{ "content_hash": "7f62d25ffc1615c23d78aca1496b3188", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 56, "avg_line_length": 21.17241379310345, "alnum_prop": 0.5781758957654723, "repo_name": "SteelToeOSS/Samples", "id": "a90ca857a8071d2d4d1e1c3f51e64474290b6897", "size": "6...
<?php namespace phpOlap\Tests\Xmla\Metadata; use phpOlap\Xmla\Metadata\Catalog; class CatalogTest extends \PHPUnit_Framework_TestCase { public function testHydrate() { $resultSoap = '<root> <row> <CATALOG_NAME>FoodMart</CATALOG_NAME> <DESCRIPTION>No description available</DESCRIPTION> <...
{ "content_hash": "c07f6603ba03444ad25e80c6d80cf717", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 98, "avg_line_length": 28.88372093023256, "alnum_prop": 0.6714975845410628, "repo_name": "instaclick/phpOlap", "id": "f06200eee177b72f3c4a6569365a0d686563441d", "size": "14...
{% extends "layout.html" %} {% from "macros/project.html" import render_project %} {% from "macros/pagination.html" import render_pagination %} {% block title %}{{ bag('translation', this.alt, 'projects') }}{% endblock %} {% block content %} {% for child in this.pagination.items %} {{ render_project(child, fro...
{ "content_hash": "6d9df6766e64fb00001809b912f337a0", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 77, "avg_line_length": 28.666666666666668, "alnum_prop": 0.6395348837209303, "repo_name": "humrochagf/humrochagf.github.io", "id": "9ee57cc96d864baf4ba30c44634072772588557b",...
import os import re import time import select import subprocess import sys import json from requests.exceptions import ConnectionError sys.path.insert(0, '/srv/newsblur') os.environ['DJANGO_SETTINGS_MODULE'] = 'newsblur_web.settings' NEWSBLUR_USERNAME = 'nb' IGNORE_HOSTS = [ 'app-push', ] # Use this to count the...
{ "content_hash": "567aaae658ff88e5bf8514d46e8f5934", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 139, "avg_line_length": 34.0625, "alnum_prop": 0.5559633027522936, "repo_name": "samuelclay/NewsBlur", "id": "4118e64a7b1dbdf1a28b5ae93f66adfcd0ab3b41", "size": "3838", ...
// Indirect Eval, Not Strict Mode, VariableEnvironment=GlobalEnv, LexicalEnvironment=not GlobalEnv const { assertTrue, assertFalse, assertSame, assertUndefined, assertNotUndefined, } = Assert; const global = this; let obj; with (obj = {}) { (1,eval)("function v1(){}"); assertSame("function", typeof v1); ...
{ "content_hash": "463978b06e94d8f6f075ed02533b25b2", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 98, "avg_line_length": 22.632911392405063, "alnum_prop": 0.6694630872483222, "repo_name": "rwaldron/es6draft", "id": "5b0fe0521949e8cfb96361389fc7363a30a9e297", "size": "19...
<div id="footer"> <?php require TEMPLATEPATH . '/includes/instagram-cosenary.php'; use MetzWeb\Instagram\Instagram; ?> <?php if(is_page('the-bean-fights-back')) { } else { ?> <div id="footerWrap"> <div class="container"> <div id="coffeewarning"></div> <?php $i...
{ "content_hash": "07d50a1a39a9874739f3c8f5049d3485", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 239, "avg_line_length": 36.94117647058823, "alnum_prop": 0.5812101910828026, "repo_name": "misfit-inc/thebeannyc.com", "id": "170d1b368ece20af4d74b0ca7af98aea56fffb94", "si...
'use strict'; const ReduktComponent = require('./ReduktComponent'); const Imagemin = require('../loaders/Imagemin'); const Merge = require('../tools/Merge'); /** * @class */ class Assets extends ReduktComponent { /** * @inheritDoc */ init(config) { this.folderImages = config.folder.images; this.folderFont...
{ "content_hash": "b3f348f2d8c950d3abe00292d920146f", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 78, "avg_line_length": 18.882978723404257, "alnum_prop": 0.5673239436619718, "repo_name": "inerciacreativa/redukt", "id": "2eea13431545c7ac464236f7da823c32e1fa5c41", "size"...
#ifndef _H_CASPER_SET_GOAL #define _H_CASPER_SET_GOAL #include <casper/cp/goal/labeling.h> namespace Casper { namespace CP { namespace Detail { template<class ElemEval> struct MinDomEvaluator<Set<ElemEval> > { typedef int Eval; template<class Dom> Eval operator()(const Dom& d) const { return d.possSize(); ...
{ "content_hash": "a37ced9ee7cc95a771e8c23362394ec0", "timestamp": "", "source": "github", "line_count": 248, "max_line_length": 88, "avg_line_length": 23.717741935483872, "alnum_prop": 0.6892213532811968, "repo_name": "marcovc/casper", "id": "cdbca9ecce15238607dd3dafbe2a702adbbbaeca", "size": "6538...
shared_examples_for "currency inputs" do |attributes| attributes.each do |attribute| it "#{attribute} accepts strings" do subject.public_send("#{attribute}=", "1000") expect(subject.public_send("#{attribute}")).to eq(1000) end it "#{attribute} accepts strings with commas" do subject.pub...
{ "content_hash": "f49b06f100b25a9cb69a2d6ca06e0926", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 67, "avg_line_length": 32.375, "alnum_prop": 0.640926640926641, "repo_name": "moneyadviceservice/mortgage_calculator", "id": "537ed9d4efc3c2f43e355e4424f603e3bf05b304", "si...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ad...
{ "content_hash": "7acb1c07aaeaa642e8200a84b4f4a4cf", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.583333333333336, "alnum_prop": 0.7437005039596832, "repo_name": "Narvalex/LexUx", "id": "da69d6a2b0d687f6203dde0d60f454a51b099d81", "size": "1392"...
rabbit ====== Rabbit stream cipher implementation in Java Iurii Sergiichuk, BIKSm-14-1, Kharkiv National University of Radioelectronics, Ukraine, Kharkiv. useful links: http://cr.yp.to/streamciphers/rabbit/desc.pdf https://tools.ietf.org/html/rfc4503 http://en.wikipedia.org/wiki/Rabbit_%28cipher%29
{ "content_hash": "b60a6a9cfd81556a1a5292ea89f33d45", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 96, "avg_line_length": 27.545454545454547, "alnum_prop": 0.7821782178217822, "repo_name": "xSAVIKx/RABBIT-cipher", "id": "a34c53b018aa6d4890dce6cbd5bb1c278902427b", "size":...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef GREENCOIN_CHAINPARAMS_H #define GREENCOIN_CHAINPARAMS_H #include "chainparams...
{ "content_hash": "331d9a72058e28c77a91c7b8d6508dc5", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 112, "avg_line_length": 42.04545454545455, "alnum_prop": 0.751042471042471, "repo_name": "CavityGap/greencoin", "id": "3d5926b0e4c49ee1cdfd6b862fc37e76f3ac593e", "size": "...
from .base import FunctionalTest class AuthenticationTest(FunctionalTest): def test_anon_user_redirected_to_authentication(self): # Try to go to the System Maintenance homepage self.browser.get(self.system_maintenance_url()) # Not logged in, so get redirected to the SysAdmin Authenticati...
{ "content_hash": "9d9adc3c1d17db9e435e35b5cb2ed2a3", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 79, "avg_line_length": 41.452991452991455, "alnum_prop": 0.654020618556701, "repo_name": "mfcovington/django-system-maintenance", "id": "c77cc61cdd4046f57e3a983cc6f34a260f1a...
<?php // include class.secure.php to protect this file and the whole CMS! if (defined('WB_PATH')) { if (defined('LEPTON_VERSION')) include(WB_PATH.'/framework/class.secure.php'); } else { $oneback = "../"; $root = $oneback; $level = 1; while (($level < 10) && (!file_exists($root.'/framework/class.secur...
{ "content_hash": "0f77d5247b9d7ede34dca9168f1d478a", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 115, "avg_line_length": 28.971830985915492, "alnum_prop": 0.5712202236266407, "repo_name": "phpManufaktur/manufakturGallery", "id": "5480800c8106a4ad86333f214577f2be5f91750d"...
external help file: Microsoft.WindowsAzure.Commands.Storage.dll-Help.xml ms.assetid: CF3B6E3B-3FC1-4871-AFE0-366B17A9E4F8 online version: schema: 2.0.0 --- # New-AzureStorageTableStoredAccessPolicy ## SYNOPSIS Creates a stored access policy for an Azure storage table. ## SYNTAX ``` New-AzureStorageTableStoredAcces...
{ "content_hash": "59bd6be946784166868fc2d8c61b1d6d", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 314, "avg_line_length": 22.503496503496503, "alnum_prop": 0.7768800497203232, "repo_name": "krkhan/azure-powershell", "id": "bd9c29cd9ec5749147a68ef9c29d82d96d295403", "si...
<?php /** * Created by IntelliJ IDEA. * User: gerk * Date: 11.04.17 * Time: 15:48 */ declare(strict_types=1); namespace PeekAndPoke\Aviator\Mvc\Exception; /** * @author Karsten J. Gerber <kontakt@karsten-gerber.de> */ class HttpMethodNotAllowed extends HttpException { /** * HttpForbidden constructor....
{ "content_hash": "55f0fb61d39572cb8993a6e9e6653144", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 66, "avg_line_length": 19.185185185185187, "alnum_prop": 0.638996138996139, "repo_name": "PeekAndPoke/aviator", "id": "437446d3a63b6a2a0da9284e394d31f62ca5154d", "size": "5...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cfgv: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
{ "content_hash": "d52e309220ad6d8c5d2887ea6679aaf9", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 290, "avg_line_length": 42.792682926829265, "alnum_prop": 0.5467369620974637, "repo_name": "coq-bench/coq-bench.github.io", "id": "680e661a28cdc39270cf4c24639e1fe7664aa32b",...
<?php /** * This file is part of file-fixture. * * (c) Noritaka Horio <holy.shared.design@gmail.com> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace holyshared\fixture\container; use Collections\Map; use holyshared\fixture\Container...
{ "content_hash": "7ae23141857c76b22b4d7ff304db8b9e", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 65, "avg_line_length": 17.618181818181817, "alnum_prop": 0.5902992776057792, "repo_name": "holyshared/file-fixture", "id": "535f72697757da5dd5c22b222a8ef41036155640", "size...
drop procedure sptest.getnames if exists go drop procedure sptest.getname if exists go drop procedure sptest.adder if exists go drop procedure sptest.arraytest if exists go drop table sptest.names if exists go drop table sptest.items if exists go drop schema sptest if exists go create schema sptest go create pr...
{ "content_hash": "c0855c113b64098478ea37a3bfe78b48", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 105, "avg_line_length": 22.27102803738318, "alnum_prop": 0.7624842635333613, "repo_name": "c340c340/mybatis-3.2.22", "id": "bda384370fd22da271cafd31a37578706889c722", "siz...
'use strict'; // Include Gulp & Tools We'll Use var gulp = require('gulp'); var $ = require('gulp-load-plugins')(); var del = require('del'); var runSequence = require('run-sequence'); var browserSync = require('browser-sync'); var pagespeed = require('psi'); var reload = browserSync.reload; var AUTOPREFIXER_BROWSE...
{ "content_hash": "83dc49a5741b747b6faf7790877121ad", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 78, "avg_line_length": 29.023121387283236, "alnum_prop": 0.6004779924317865, "repo_name": "ronatgithub/angular-web-starter", "id": "be05f39128e7dc002745aab0374907bb69cb4fe0"...
using System; using System.Collections.Generic; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Text; using System.Threading.Tasks; namespace InventoryManager.Data { public interface IInventoryManagerDbContext { DbSet<TEntity> Set<TEntity>() where TEn...
{ "content_hash": "2eb4ee569457f8874b630ea3584d2264", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 84, "avg_line_length": 22.904761904761905, "alnum_prop": 0.7214137214137214, "repo_name": "todor-enikov/InventoryManager-ASP.NET-MVC-Project", "id": "0ee4f488ac8ca61c3e8867ec...
(function (WjsProto) { 'use strict'; /** * Returns name of css transition event, * used to detect when a CSS animation ends. */ WjsProto.register('JsMethod', 'eventTransitionName', function () { var t, fakeElement = this.window.document.createElement('fakeElement'), transitions = { ...
{ "content_hash": "fc7e09b682f7d4d059b1568bcf874304", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 80, "avg_line_length": 29.73913043478261, "alnum_prop": 0.6154970760233918, "repo_name": "weeger/wjs", "id": "ab70e41f51c1f813075ff6a10d4379549e550481", "size": "684", "b...
var validation = require("./validation.js"); var validationSchema = require("./collection-config-validation/validation-schema.js"); var cfg = require("./constraint-type"); // check validate model MenuConfig Parse.Cloud.beforeSave("MenuConfig", function(req, res) { validation.validateMenu({modelName:"MenuConfig",req:...
{ "content_hash": "d8a62c2d8d333217ef1dbbb21ec358ed", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 110, "avg_line_length": 29.12037037037037, "alnum_prop": 0.6883942766295708, "repo_name": "huynhtankhanh1988/parse-server-terralogic", "id": "ddb130564bb57ca6de62e4e26b305e3...
"""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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
{ "content_hash": "fa864e47f125c41f71f161801a043801", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 92, "avg_line_length": 34.57432432432432, "alnum_prop": 0.7123314442055892, "repo_name": "google/one-weird-trick", "id": "6fe175fe510df567a9cbe6cbf366cc1dfd51d577", "size"...
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" tools:context="com.example.elias.androidbuzzer.GameShowActivity"> </menu>
{ "content_hash": "12563a9f8cc4cb00cce949a4173eac15", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 69, "avg_line_length": 50, "alnum_prop": 0.74, "repo_name": "edcarter/AndroidBuzzer", "id": "8e37028850e9d79ed2cc9df9efd5965eac2bf5c5", "size": "250", "binary": false, "...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>de.sp...
{ "content_hash": "10d9986f74883749bebb869ec0efd844", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 108, "avg_line_length": 33.348837209302324, "alnum_prop": 0.5467224546722455, "repo_name": "spinscale/netty4-http-pipelining", "id": "f4b75cfbb7b94384360a004a3767fe1865917762...
<?php namespace JHWEB\SeguridadVialBundle\Controller; use JHWEB\SeguridadVialBundle\Entity\SvCfgIluminacion; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoun...
{ "content_hash": "79ab9a3ea225b9683e464fda7447a2ed", "timestamp": "", "source": "github", "line_count": 226, "max_line_length": 113, "avg_line_length": 30.911504424778762, "alnum_prop": 0.518894932722588, "repo_name": "edosgn/colossus-sit", "id": "cdd7ca5ea93cfa5934a2e8b5866b0f4a6ffd7a51", "size": ...
class Array def compact select{|x| !x.nil? } end end
{ "content_hash": "5ba5259edf8e20afc7b6cf2d7d00aa2e", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 24, "avg_line_length": 12.2, "alnum_prop": 0.6065573770491803, "repo_name": "jkutner/mjruby", "id": "6f4c31c05aeb156bcad2fe5177ae34169b40bd5b", "size": "61", "binary": fal...
(function() { var models, nconf, passport_oauth, strategy, users; passport_oauth = require('passport-google-oauth'); nconf = require('nconf'); models = require("./models"); console.log("[auth] loading..."); nconf.env().file({ file: 'config.json' }); users = { serialize: function(user, done...
{ "content_hash": "3b16bef1bf73f6775b5a0c7fe1192bbd", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 101, "avg_line_length": 32.576470588235296, "alnum_prop": 0.5796316359696642, "repo_name": "fitzmont/pigeonfireman", "id": "839d38440453ae9f4646d93ff899ac9b94810cda", "size...
<div class="commune_descr limited"> <p> Corbreuse est une commune localisée dans le département de l'Essonne en Île-de-France. Elle comptait 1&nbsp;643 habitants en 2008.</p> <p>À coté de Corbreuse sont situées les villes de <a href="{{VLROOT}}/immobilier/granges-le-roi_91284/">Les&nbsp;Granges-le-Roi</a> local...
{ "content_hash": "7a5b00c016bcf3623c7aebf22b21f123", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 257, "avg_line_length": 94.47058823529412, "alnum_prop": 0.7434620174346201, "repo_name": "donaldinou/frontend", "id": "13bacf1d2d9cac8bf4ced78ccb5aef17a871928b", "size": "...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ArcGIS.Core.CIM; using ArcGIS.Desktop.Core; using ArcGIS.Desktop.Framework.Threading.Tasks; using ArcGIS.Desktop.Mapping; using Renderer.Helpers; namespace Renderer { internal static class Pro...
{ "content_hash": "3ad187c7410e21f9dedf07b3e2105845", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 125, "avg_line_length": 39.93617021276596, "alnum_prop": 0.6286627597229622, "repo_name": "SoJourned/arcgis-pro-sdk-community-samples-1", "id": "74cb1e005bd96293cff0e29f70533...
package com.morgan.server.util.stat; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation to mark which methods should have statistics measured for them. * * @author mark@mark-morgan.net (Ma...
{ "content_hash": "a352a577ccfb9a2df800ae182bd1e2b7", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 77, "avg_line_length": 29.533333333333335, "alnum_prop": 0.7878103837471784, "repo_name": "mmm2a/game-center", "id": "199c5a49407a11d3cde5da3dfa609e15e8d19850", "size": "44...
package gov.nasa.jpf; import gov.nasa.jpf.report.Publisher; import gov.nasa.jpf.report.PublisherExtension; import gov.nasa.jpf.report.Reporter; import gov.nasa.jpf.search.Search; import gov.nasa.jpf.search.SearchListener; import gov.nasa.jpf.tool.RunJPF; import gov.nasa.jpf.util.JPFLogger; import gov.nasa.jpf.util.Lo...
{ "content_hash": "1a56fd45b2bfc684c875874071bd437b", "timestamp": "", "source": "github", "line_count": 715, "max_line_length": 118, "avg_line_length": 27.66993006993007, "alnum_prop": 0.6006368782854832, "repo_name": "grzesuav/gjpf-core", "id": "5fa12cda453a25617958b692448c51187ba70319", "size": "...
"use strict" var keys = require('keys'); var actionTypes = keys({ CHANGE_PAGE: null, START_ADD_TASK: null, STOP_ADD_TASK: null, SET_ADDITION_TASK_PRIORITY: null, SET_ADDITION_TASK_DATE: null, SET_ADDITION_TASK_TITLE: null, CHANGE_QUICK_ADD_BLOCK: null, SAVING_ADDITION_TASK: null, S...
{ "content_hash": "978c506b12ae177e6c5fa7a444b31294", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 37, "avg_line_length": 22.157894736842106, "alnum_prop": 0.6579572446555819, "repo_name": "atomiomi/clavy", "id": "3304bb4a5f6942cb7141462f0c336e9f0716abd4", "size": "421",...
from .reactors import get_reactor from .protocols import StreamProtocol, ProcessProtocol from .utils import Deferred, monadic from . import utils
{ "content_hash": "4c0ce67a5b3f7b9e9a1723f49d9b898e", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 54, "avg_line_length": 29.4, "alnum_prop": 0.8231292517006803, "repo_name": "tomerfiliba/tangled", "id": "4bed2c0088095e509d59c376c5ae3bff8d222ad2", "size": "147", "binary...
//fs is to manage file from the fileSystem var fs = require('fs'); /* Tasty code will contains a map of instructions with their parameters and corresponding code line. its is mapped by the full instruction line example : { 'my instructions with $oneParame or $moreParameters' : { parameters : [ '$oneParame'...
{ "content_hash": "5bb097a3116113abf2b4fd86d221fcdc", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 128, "avg_line_length": 32.1747572815534, "alnum_prop": 0.616173808086904, "repo_name": "stalina/tasty", "id": "7016bfcf89d3022ff32915923e98eef30c1b0122", "size": "3314", ...
import re from abc import abstractmethod, ABC from itertools import groupby, zip_longest from functools import reduce from contextlib import closing from django.db.models import Q from django.db import transaction MONTH_TYPE_RE = re.compile(r"^M\d{2}$") PERIOD_CODE_RE = re.compile( r"^(?P<year>\d{4})" r"(?...
{ "content_hash": "1cfd75d4993959b8e21b5734080ed2c2", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 72, "avg_line_length": 26.221556886227546, "alnum_prop": 0.5060516099566111, "repo_name": "Code4SA/municipal-data", "id": "64da6b7d6817cc91b25ea45fe41b61920bf1538a", "size...
var crypto = require('crypto'); var config = require('./../appconfig').Config; /** * Sign taobao api for JSSDK`. * * @param {appkey} Key * @param {appsecret} Secret * @api public */ var Sign = function (appkey,appsecret) { var timestamp = new Date().getTime(); var message = appsecret + "app_key" + appke...
{ "content_hash": "fd528111e6308bd2a284ba518744cef4", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 87, "avg_line_length": 24.833333333333332, "alnum_prop": 0.6604026845637584, "repo_name": "JerroldLee/tbCusMkt", "id": "92eb003089872d3b6292d6c6c54b938a01e018b9", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "11d1a355f94a337b1bf427b6b2fb2301", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "594e5d1cb85d32d7ceee3c0fb1fa417328fa820f", "size": "179...
<?php namespace Google\Service\CloudSearch; class PrivateMessageInfo extends \Google\Collection { protected $collection_key = 'gsuiteIntegrationMetadata'; protected $annotationsType = Annotation::class; protected $annotationsDataType = 'array'; protected $attachmentsType = Attachment::class; protected $att...
{ "content_hash": "b19234ca59175992c3a0db5ef398403d", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 88, "avg_line_length": 22.576576576576578, "alnum_prop": 0.6879489225857941, "repo_name": "googleapis/google-api-php-client-services", "id": "ca297a1e082d1b15c1a37812b81e1e9...
const Backbone = require('backbone') const buttonModel = Backbone.Model.extend({ url: "", initialize:function(){ }, }) const buttonCollection = Backbone.Collection.extend({ model: buttonModel, url: "" , initialize:function(theToken){ this.url = "https://api.meetup.com/2/concierge/?access_to...
{ "content_hash": "2b3de9a0e957295a24e9e66a0c79d422", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 85, "avg_line_length": 24.28301886792453, "alnum_prop": 0.6635586635586636, "repo_name": "Vicula/CliqueUp", "id": "4b2de3698165bff41fea1d7ae30f17e84600e3a5", "size": "1287"...
module OandaAPI module Streaming # Resource URI templates BASE_URI = { live: "https://stream-fxtrade.oanda.com/[API_VERSION]", practice: "https://stream-fxpractice.oanda.com/[API_VERSION]" } # @example Example Usage # client = OandaAPI::Streaming::Client.new :practice, ENV.fetch...
{ "content_hash": "b5bb326c39f3e1bee222c30a2586a45d", "timestamp": "", "source": "github", "line_count": 153, "max_line_length": 118, "avg_line_length": 34.72549019607843, "alnum_prop": 0.5928853754940712, "repo_name": "bewon/oanda_api", "id": "db0e5bb6a04cfb1aa169b1f8e769dd03e7bcfa57", "size": "531...
/* * pmembench.c -- main source file for benchmark framework */ #include <stdio.h> #include <string.h> #include <err.h> #include <assert.h> #include <getopt.h> #include <unistd.h> #include <math.h> #include <float.h> #include <sys/queue.h> #include <linux/limits.h> #include <dirent.h> #include "benchmark.h" #incl...
{ "content_hash": "64e08c08b1221165585eb3d90efd6d4a", "timestamp": "", "source": "github", "line_count": 1148, "max_line_length": 77, "avg_line_length": 22.729965156794425, "alnum_prop": 0.6286119414424772, "repo_name": "amaliujia/peloton", "id": "1d461b36b25d81550768d54fdfa7b4389367e14e", "size": "...
require 'spec_helper' require 'component_helper' require 'java_buildpack/container/play_framework' require 'java_buildpack/util/play/factory' describe JavaBuildpack::Container::PlayFramework do include_context 'with component help' let(:delegate) { instance_double('delegate') } context do before do ...
{ "content_hash": "f5c991c91e4c18f4749eb2c781a28820", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 102, "avg_line_length": 20.789473684210527, "alnum_prop": 0.6810126582278481, "repo_name": "rakutentech/java-buildpack", "id": "fac718692e51babe355c9ee843e61e567e343eb9", "...
a VideoView with gestures
{ "content_hash": "f8254766ac6e617612e3ffaf8f941dad", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 25, "avg_line_length": 26, "alnum_prop": 0.8461538461538461, "repo_name": "SethWen/GestureVideoView", "id": "3a9651c314a95b9bcfcce0bd39a0f53e9b65dccc", "size": "45", "bina...
fiddle-20150402-UnBufferedColumnFiltering ====== ![Screenshot](screenshot.png) ### Title UnBuffered Column Filtering ### Creation Date 04-02-15 ### Description This fiddle is a response to [fiddle-20150401-BufferedColumnFiltering](../fiddle-20150401-BufferedColumnFiltering/index.html). It illustrates how to en...
{ "content_hash": "a32b030ef971e643c4a8900c7e21ec93", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 238, "avg_line_length": 20.586206896551722, "alnum_prop": 0.7504187604690117, "repo_name": "bradyhouse/house", "id": "878c45844e5006ae3ecfca55f8fb286a19051d3b", "size": "59...