text
stringlengths
11
969k
meta
stringlengths
415
4.24k
red_pajama_subset
stringclasses
1 value
duplicate_count
int64
0
613
#pragma once #include <vector> #include "cinder/Vector.h" #include "cinder/gl/gl.h" using namespace ci; class Path { public: Path(); void draw() const; void addPoint( const float x, const float y ); void reset(); Vec2f getStart() const; Vec2f getEnd() const; float getRadius() c...
{'content_hash': '0f2c743abb7780d1ff03d94404229e03', 'timestamp': '', 'source': 'github', 'line_count': 30, 'max_line_length': 47, 'avg_line_length': 15.933333333333334, 'alnum_prop': 0.6234309623430963, 'repo_name': 'ilzxc/The-Nature-of-Cinder', 'id': 'd99ab59777f9a08c79ed23868a6061e1a60350de', 'size': '546', 'binary'...
github
0
module ElectronicLocations # Model for electronic location subfield values for holdings # (Holdings are URL's for resources with an additional identifier) class Holding < OnlineLocation attr_reader :id # Constructor # @param id [String] the identifier for the holding # @param value [URI::Generic, ...
{'content_hash': '1628a3fde97d9de8aa949d826780fde7', 'timestamp': '', 'source': 'github', 'line_count': 14, 'max_line_length': 68, 'avg_line_length': 30.5, 'alnum_prop': 0.6955503512880562, 'repo_name': 'pulibrary/marc_liberation', 'id': '8e04415c4477e14ca50181a4d47d0d482048fcdf', 'size': '427', 'binary': False, 'copie...
github
0
using System; using System.Threading; using System.Threading.Tasks; using grpc = global::Grpc.Core; namespace Google.Cloud.Debugger.V2 { /// <summary> /// The Debugger service provides the API that allows users to collect run-time /// information from a running application, without stopping or slowing it down ...
{'content_hash': 'bf13467c88c7f9aa11dbe3f9bb1fe991', 'timestamp': '', 'source': 'github', 'line_count': 401, 'max_line_length': 309, 'avg_line_length': 69.36159600997506, 'alnum_prop': 0.7183432803624075, 'repo_name': 'chrisdunelm/gcloud-dotnet', 'id': 'b3046d57fcba40bb583d193ff8e06d4685b181f0', 'size': '28613', 'binar...
github
0
using AIFH_Vol2.Core.Genetic.Genome; using AIFH_Vol2.Core.Learning; using AIFH_Vol2.Core.Learning.Score; using AIFH_Vol2.Examples.GA.TSP; namespace AIFH_Vol2.Examples.GA.TSP { /// <summary> /// Calculate a score for the TSP. /// </summary> public class TSPScore : IScoreFunction { /// <s...
{'content_hash': '622fe5ac78eb11a44e2d08a46c18c4a2', 'timestamp': '', 'source': 'github', 'line_count': 52, 'max_line_length': 57, 'avg_line_length': 25.28846153846154, 'alnum_prop': 0.4935361216730038, 'repo_name': 'jormaral/aifh', 'id': '3397973478fc3000c85e09e86b750d50f7499d5b', 'size': '2252', 'binary': False, 'cop...
github
0
// Copyright 2014 The Oppia Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by ap...
{'content_hash': '2ec71b6a974920c0d0c3ce51b7102a61', 'timestamp': '', 'source': 'github', 'line_count': 276, 'max_line_length': 80, 'avg_line_length': 39.22826086956522, 'alnum_prop': 0.5050337120162557, 'repo_name': 'souravbadami/oppia', 'id': 'aaef98c849ebab956815f61dd9f143ac23afe754', 'size': '10827', 'binary': Fals...
github
0
file = arguments[0]; dir = file.split('/').slice(0, -1).join('/'); load(dir + '/base.js'); // 0 var template = " \n\ group \n\ text_input customer disabled\n\ " var data = { "customer": "ahomiya" }; Quaderno.render('quad', template, data, {}); //print(document.documentElement); //print(JSON.stringify(document.doc...
{'content_hash': 'b00fe7352216f4eca51072b306591c9b', 'timestamp': '', 'source': 'github', 'line_count': 30, 'max_line_length': 233, 'avg_line_length': 44.0, 'alnum_prop': 0.5666666666666667, 'repo_name': 'jmettraux/quaderno', 'id': '3120b60a4ed73e2210ee6e390a89128fc2f4ce81', 'size': '1383', 'binary': False, 'copies': '...
github
0
/* * Module Name: Directory Schema * * Filename: libmain.c * * Abstract: * * Library Entry points * */ #include "includes.h" /* * Bootstrap initial schema from default data. * Not a full schema as ones that initialize from file or entry, * but with limited information that we can bootstrap sc...
{'content_hash': 'f78865496c030d297a5b4184b132a949', 'timestamp': '', 'source': 'github', 'line_count': 263, 'max_line_length': 113, 'avg_line_length': 25.520912547528518, 'alnum_prop': 0.6488379022646007, 'repo_name': 'schatt/lightwave', 'id': 'f4fffe19b95c9c209df816336246f14c482bf442', 'size': '7338', 'binary': False...
github
0
[JSX](https://www.npmjs.com/package/react-tools#jsx) support for [JSTransformers](http://github.com/jstransformers). [![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-jsx/master.svg)](https://travis-ci.org/jstransformers/jstransformer-jsx) [![Coverage Status](https://img.shields.io/codecov/c/...
{'content_hash': '1a8deff68180a085b4689eabdf01972b', 'timestamp': '', 'source': 'github', 'line_count': 23, 'max_line_length': 161, 'avg_line_length': 39.95652173913044, 'alnum_prop': 0.7627856365614799, 'repo_name': 'jstransformers/jstransformer-jsx', 'id': '3830658c4b03de04b0cd25433a688d4133624088', 'size': '940', 'b...
github
0
<StructureDefinition xmlns="http://hl7.org/fhir"> <id value="OperationDefinition"/> <meta> <lastUpdated value="2015-11-11T10:54:01.813-05:00"/> </meta> <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"> <valueInteger value="1"/> </extension> <url value="http://hl7.org/fhir/Struc...
{'content_hash': '259aac53a2707f2c4cc5b81c63705ea7', 'timestamp': '', 'source': 'github', 'line_count': 1219, 'max_line_length': 680, 'avg_line_length': 43.370795734208365, 'alnum_prop': 0.6937713972271086, 'repo_name': 'Gaduo/hapi-fhir', 'id': 'b3ed352f2db39943a407f1c269b3ecd02e47c687', 'size': '52869', 'binary': Fals...
github
0
campy.private.backends.jbe package ================================== Submodules ---------- .. toctree:: campy.private.backends.jbe.backend_jbe campy.private.backends.jbe.jbepipe campy.private.backends.jbe.platformat campy.private.backends.jbe.platformatter Module contents --------------- .. automodule...
{'content_hash': '19792c46ab4926100d7215d582b12f37', 'timestamp': '', 'source': 'github', 'line_count': 20, 'max_line_length': 43, 'avg_line_length': 20.2, 'alnum_prop': 0.6435643564356436, 'repo_name': 'sredmond/acmpy', 'id': '78291fb304c3fb3acddee6e232ea08a170f6ea8d', 'size': '404', 'binary': False, 'copies': '2', 'r...
github
0
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/.idea/TriggerAnotherBuild.iml" filepath="$PROJECT_DIR$/.idea/TriggerAnotherBuild.iml" /> </modules> </component> </project>
{'content_hash': '01d658c91d2a734354a126a4d97573be', 'timestamp': '', 'source': 'github', 'line_count': 8, 'max_line_length': 132, 'avg_line_length': 36.25, 'alnum_prop': 0.6862068965517242, 'repo_name': 'grawcho/vso-agent-tasks', 'id': '939ff585344023b3bf265d2f2e01ec33b20be7e9', 'size': '290', 'binary': False, 'copies...
github
0
""" Copyright 2012 GroupDocs. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in w...
{'content_hash': '3de334cef94f906a0326b9dfdba9c35b', 'timestamp': '', 'source': 'github', 'line_count': 37, 'max_line_length': 77, 'avg_line_length': 31.675675675675677, 'alnum_prop': 0.6578498293515358, 'repo_name': 'liosha2007/temporary-groupdocs-python3-sdk', 'id': 'a7086a543ef57c4b42d1f50d19881c45f16026c2', 'size':...
github
0
require 'spec_helper' RSpec.describe Spree::Conekta::Provider, type: :model do describe 'payment_procesor' do context 'the payment source is card' do it { expect(subject.payment_processor('card')).to be(Spree::Conekta::PaymentSource::Card) } end context 'the payment source is bank' do it { e...
{'content_hash': '2279429909dde9ce7a08e7bcd49ffc20', 'timestamp': '', 'source': 'github', 'line_count': 108, 'max_line_length': 97, 'avg_line_length': 29.00925925925926, 'alnum_prop': 0.5984679221193744, 'repo_name': 'jaime-evr/spree_conekta', 'id': '1d692e6557301bcdb3aff59c7f114e73b9675cd6', 'size': '3133', 'binary': ...
github
0
package apple.safariservices.c; import org.moe.natj.c.CRuntime; import org.moe.natj.c.ann.CVariable; import org.moe.natj.general.NatJ; import org.moe.natj.general.ann.Generated; import org.moe.natj.general.ann.Library; import org.moe.natj.general.ann.MappedReturn; import org.moe.natj.general.ann.Runtime; import org....
{'content_hash': 'e8694a32721633856aeca09667dd6614', 'timestamp': '', 'source': 'github', 'line_count': 53, 'max_line_length': 62, 'avg_line_length': 23.849056603773583, 'alnum_prop': 0.7254746835443038, 'repo_name': 'multi-os-engine/moe-core', 'id': 'd799b0179e6e06cd6c538a145ea0cceda1f1d1ad', 'size': '1832', 'binary':...
github
0
package io.quarkus.resteasy.server.common.deployment; import io.quarkus.builder.item.SimpleBuildItem; /** * A build item that represents a path mapping from web.xml */ public final class ResteasyServletMappingBuildItem extends SimpleBuildItem { private final String path; public ResteasyServletMappingBuild...
{'content_hash': '859dc11ff06c23816ca993acffcf3e94', 'timestamp': '', 'source': 'github', 'line_count': 19, 'max_line_length': 76, 'avg_line_length': 22.736842105263158, 'alnum_prop': 0.7222222222222222, 'repo_name': 'quarkusio/quarkus', 'id': 'c317682f9f29ad0b1c4de4187036647ac2c43ea9', 'size': '432', 'binary': False, ...
github
0
namespace Boilerplate.Web.Mvc { /// <summary> /// Controls what is sent in the HTTP referrer header when a client navigates from your page to an external site. /// /// Privacy /// A social networking site has a profile page for each of its users, and users add hyperlinks from their profile //...
{'content_hash': '14753f800ad7c963ca205689cf36f2fb', 'timestamp': '', 'source': 'github', 'line_count': 95, 'max_line_length': 120, 'avg_line_length': 59.10526315789474, 'alnum_prop': 0.6587711487088157, 'repo_name': 'Li-Yanzhi/ASP.NET-MVC-Boilerplate', 'id': '391459b81ada2b4daf244250d188c82689eaf37b', 'size': '5617', ...
github
0
<?php namespace Google\Service\Contentwarehouse; class QualityQrewriteCandidateIdField extends \Google\Model { /** * @var int */ public $index; /** * @var string */ public $type; /** * @param int */ public function setIndex($index) { $this->index = $index; } /** * @return ...
{'content_hash': '433215c0f691d198936584e063d34d74', 'timestamp': '', 'source': 'github', 'line_count': 48, 'max_line_length': 119, 'avg_line_length': 16.375, 'alnum_prop': 0.6272264631043257, 'repo_name': 'googleapis/google-api-php-client-services', 'id': '5963ac3f03390cb7b528bfa3ed60b8bd03b79e5e', 'size': '1376', 'bi...
github
0
// To use this: // (1) Install the App Engine SDK for Go from // https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Go // (2) Run build.py (in the parent directory). // (2) Type 'goapp serve .' in the dist/webui_appengine directory. // (3) Point your web browser at http://localhost:8080/ pack...
{'content_hash': '6ca4fa95a90680ac3f42e48818714675', 'timestamp': '', 'source': 'github', 'line_count': 76, 'max_line_length': 80, 'avg_line_length': 26.18421052631579, 'alnum_prop': 0.6552763819095477, 'repo_name': 'erwinmombay/amphtml', 'id': '484b2f0d82d4c84bae9e687cc6c864627180763a', 'size': '2617', 'binary': False...
github
0
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require 'redis/objects' # $redis used automatically begin require 'active_record' ActiveRecord::Base.establish_connection( :adapter => 'sqlite3', :database => File.expand_path(File.dirname(__FILE__) + '/redis_objects_test.sqlite3') ) c...
{'content_hash': 'aab8ddf6fb4aa830f86333b7021fb9e7', 'timestamp': '', 'source': 'github', 'line_count': 138, 'max_line_length': 89, 'avg_line_length': 23.717391304347824, 'alnum_prop': 0.617781851512374, 'repo_name': 'mojo1643/Dalal_v2', 'id': 'ec36bbcd27108c6e33916a38484f2bb508ab291a', 'size': '3274', 'binary': False,...
github
0
(function () { angular.module('angularSmallGrid', []).directive('angularSmallGrid', ['$compile', '$templateCache', function ($compile, $templateCache) { return { restrict: 'E', template: '<div class="angular-small-grid-table"><div class="angular-small-grid-header"...
{'content_hash': 'f7d757eafdded759996b2fb919151e6f', 'timestamp': '', 'source': 'github', 'line_count': 527, 'max_line_length': 161, 'avg_line_length': 48.442125237191654, 'alnum_prop': 0.4122370637314427, 'repo_name': 'terma/angular-small-grid', 'id': '7a2acd68c496cb8018729c2580d86b665b13cc4e', 'size': '25529', 'binar...
github
0
<?php namespace Drupal\Tests\devel\Functional; use Drupal\Component\Render\FormattableMarkup; use Drupal\Tests\BrowserTestBase; /** * Tests devel error handler. * * @group devel */ class DevelErrorHandlerTest extends BrowserTestBase { /** * {@inheritdoc} */ public static $modules = ['devel']; /** ...
{'content_hash': '353f73ce3f563ba275427d9cef48e276', 'timestamp': '', 'source': 'github', 'line_count': 161, 'max_line_length': 117, 'avg_line_length': 48.608695652173914, 'alnum_prop': 0.7015077945310504, 'repo_name': 'dongtianzen/oneservice8', 'id': '9c942821c1448dfa5c341a21e2323ff274287588', 'size': '7826', 'binary'...
github
0
This package adds the following functionality to the go language: * `gofmt` support * `goimports` support (change the `Gofmt Path` preference to target `goimports`) * `go vet` support ### Defaults The preferences for this package default to values that match the way `go` is installed on OS X using the package instal...
{'content_hash': '9640f3bce9547e2b1bbc93dee3b85c39', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 80, 'avg_line_length': 32.714285714285715, 'alnum_prop': 0.7565502183406113, 'repo_name': 'kevinsawicki/go-plus', 'id': 'fef0faaa533084d1f8ef02a36581977133291d00', 'size': '962', 'binary': Fals...
github
0
layout: page title: Home --- <div class="row"> <div class="col-md-3 col-sm-4"> <ul class="nav nav-stacked nav-pills"> <li><a href="index.html">Home</a></li> <li><a href="about.html">About</a></li> <li><a href="services.html">Services</a></li> <li><a href="contact.php">Cont...
{'content_hash': '791f9d63af4e6e15475d8a382688dfb7', 'timestamp': '', 'source': 'github', 'line_count': 42, 'max_line_length': 542, 'avg_line_length': 51.666666666666664, 'alnum_prop': 0.616589861751152, 'repo_name': 'mcoy37/phil-dev', 'id': '956c79c43571cddf99d7a4250e4f8e72e71d8652', 'size': '2174', 'binary': False, '...
github
0
package com.wodejia.myapp.data; import java.util.Map; import org.greenrobot.greendao.AbstractDao; import org.greenrobot.greendao.AbstractDaoSession; import org.greenrobot.greendao.database.Database; import org.greenrobot.greendao.identityscope.IdentityScopeType; import org.greenrobot.greendao.internal.DaoConfig; imp...
{'content_hash': 'f666c1c863c787d38b89eaceba84a880', 'timestamp': '', 'source': 'github', 'line_count': 76, 'max_line_length': 109, 'avg_line_length': 30.657894736842106, 'alnum_prop': 0.7347639484978541, 'repo_name': 'clarenceV1/MyApp', 'id': 'f84abe8968a445ddf7af1ee16bf32c323a7d4eed', 'size': '2330', 'binary': False,...
github
0
<component name="libraryTable"> <library name="support-compat-25.0.1"> <ANNOTATIONS> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-compat/25.0.1/annotations.zip!/" /> </ANNOTATIONS> <CLASSES> <root url="jar://$PROJECT_DIR$/app/build/inter...
{'content_hash': '5b5775bbade1fef969e0fb5cbd00609a', 'timestamp': '', 'source': 'github', 'line_count': 16, 'max_line_length': 156, 'avg_line_length': 58.1875, 'alnum_prop': 0.6831364124597207, 'repo_name': 'nhom3didong2/Music', 'id': '0dd11576a033097c14a8724854c401b98ac60513', 'size': '931', 'binary': False, 'copies':...
github
0
name: Bug report about: Create a report about something that is not working --- ### Describe the bug A clear and concise description of what the bug is. ### To Reproduce Steps to reproduce the behavior: 1. Using this version of ASP.NET Core '...' 2. Run this code '....' 3. With these arguments '....' 4. See error ##...
{'content_hash': '26261893bac8b300ae83248f64c3a407', 'timestamp': '', 'source': 'github', 'line_count': 23, 'max_line_length': 63, 'avg_line_length': 25.652173913043477, 'alnum_prop': 0.735593220338983, 'repo_name': 'wangkanai/Detection', 'id': '825102492ce23b058efbd3088372ac2c3828a238', 'size': '594', 'binary': False,...
github
0
{-# LANGUAGE CPP #-} module Basement.Terminal ( initialize , getDimensions ) where import Basement.Compat.Base import Basement.Terminal.Size (getDimensions) #ifdef mingw32_HOST_OS import System.IO (hSetEncoding, utf8, hPutStrLn, stderr, stdin, stdout) import System.Win32.Console (setConsoleCP, setConsoleOu...
{'content_hash': 'ad51d73317d3b8452d5f4d6270be94be', 'timestamp': '', 'source': 'github', 'line_count': 26, 'max_line_length': 122, 'avg_line_length': 30.5, 'alnum_prop': 0.7238335435056746, 'repo_name': 'vincenthz/hs-foundation', 'id': '8136e526f42bce7000da8e88a90955e1c24db889', 'size': '793', 'binary': False, 'copies...
github
0
// clfft.transform.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "private.h" #include "repo.h" #include "plan.h" //#define DEBUGGING using std::vector; clfftStatus clfftEnqueueTransform( clfftPlanHandle plHandle, clfftDirection dir, cl...
{'content_hash': '696b7ed1fb5e3b3ae616128cf15ea782', 'timestamp': '', 'source': 'github', 'line_count': 1307, 'max_line_length': 122, 'avg_line_length': 36.87452180566182, 'alnum_prop': 0.6625376076356468, 'repo_name': 'kknox/clFFT', 'id': '7b5a9dc0c6da6ca8820892d292adf759d3bc5d1f', 'size': '48948', 'binary': False, 'c...
github
0
Add support for [Less]. ## Install ``` bash $ npm install hexo-renderer-less --save ``` [Less]: http://lesscss.org/ ## Configure You can specify a [less include paths](http://lesscss.org/usage/#command-line-usage-include-paths) as an array config in your theme configuration. ```yaml // themes/yourtheme/_config.ym...
{'content_hash': '8f383b38a28cdd7443bba06d2bc8e29e', 'timestamp': '', 'source': 'github', 'line_count': 21, 'max_line_length': 146, 'avg_line_length': 18.047619047619047, 'alnum_prop': 0.7018469656992085, 'repo_name': 'alias-mac/hexo-renderer-less', 'id': 'a41f30005cc9244026fe4f47d019661f96e93f73', 'size': '398', 'bina...
github
0
import sys import random if sys.version >= '3': basestring = unicode = str long = int from functools import reduce from html import escape as html_escape else: from itertools import imap as map from cgi import escape as html_escape import warnings from pyspark import copy_func, since, _NoValu...
{'content_hash': 'e6e0ddc1420baa9f98682a4aa0ab3e3b', 'timestamp': '', 'source': 'github', 'line_count': 2334, 'max_line_length': 100, 'avg_line_length': 38.97814910025707, 'alnum_prop': 0.5681450948062654, 'repo_name': 'kevinyu98/spark', 'id': '78b574685327c8ce2f58be9f62007c423321a159', 'size': '91760', 'binary': False...
github
0
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "core/optimizer/rewrite_rule.h" namespace onnxruntime { /** @Class DivMulFusion Rewrite rule that fuses two Div -> Mul nodes to a single Div node when the first input to Div is 1. 1 / x1 * x2 -> x2...
{'content_hash': 'f17a02b829a0eb4572785f4a2c8c00c4', 'timestamp': '', 'source': 'github', 'line_count': 31, 'max_line_length': 119, 'avg_line_length': 26.032258064516128, 'alnum_prop': 0.724907063197026, 'repo_name': 'microsoft/onnxruntime', 'id': '809f6f7aef113365b298977ae84eafe67636e5a4', 'size': '807', 'binary': Fal...
github
0
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" android:paddingBottom="5dp" android:paddingLeft="5dp" android:paddingRight="5dp"...
{'content_hash': 'fc635aca532059c41c4388ac82781e7f', 'timestamp': '', 'source': 'github', 'line_count': 38, 'max_line_length': 72, 'avg_line_length': 25.736842105263158, 'alnum_prop': 0.6503067484662577, 'repo_name': 'Befinger/PISTA-app', 'id': 'dbdd3a8793d4cf10acfd14bed46b6c79ae48a3c8', 'size': '978', 'binary': False,...
github
0
package com.healthmarketscience.jackcess; import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; import java.sql.Types; import java.util.Date; import java.util.HashMap; import java.util.Map; import java.time.LocalDateTime; import com.healthmarketscience.jackcess.impl.DatabaseImpl; imp...
{'content_hash': '8ad592f19f6f375dfea868ac7f225806', 'timestamp': '', 'source': 'github', 'line_count': 540, 'max_line_length': 80, 'avg_line_length': 32.69444444444444, 'alnum_prop': 0.6404418011894647, 'repo_name': 'jahlborn/jackcess', 'id': 'fc6a7921771c30a06ff79231a7e97776b0512bb9', 'size': '18232', 'binary': False...
github
0
from django import forms from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout,Div,Submit,HTML,Button,Row, Field from crispy_forms.bootstrap import AppendedText, PrependedText, FormActions from apps.blog.models import * from django.core.urlresolvers import reverse from django.utils.safestrin...
{'content_hash': 'dd9bfd8f83ebca5cb7fdade2b9e52f40', 'timestamp': '', 'source': 'github', 'line_count': 206, 'max_line_length': 96, 'avg_line_length': 31.796116504854368, 'alnum_prop': 0.6894656488549619, 'repo_name': 'gusaul/gigsblog', 'id': '5b15f5d336372df1ed23f9edf73a95a5921c5460', 'size': '6550', 'binary': False, ...
github
0
package io.iohk.ethereum.jsonrpc import akka.util.ByteString import io.iohk.ethereum.jsonrpc.EthService._ import io.iohk.ethereum.jsonrpc.JsonRpcError.InvalidParams import io.iohk.ethereum.jsonrpc.PersonalService.{SendTransactionRequest, SendTransactionResponse, SignRequest} import io.iohk.ethereum.jsonrpc.serializati...
{'content_hash': 'ffd99bcfd67e7ddd4467bedc351f4b24', 'timestamp': '', 'source': 'github', 'line_count': 594, 'max_line_length': 120, 'avg_line_length': 42.966329966329965, 'alnum_prop': 0.6983778700728783, 'repo_name': 'input-output-hk/etc-client', 'id': '853871816753242b3a0b30613fef6dea7f44e383', 'size': '25522', 'bin...
github
0
<?php namespace Acceso\loginBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Request; use Acceso\loginBundle\Entity\Usuarios; use Acceso\loginBundle\Form\Type\UsuariosType; use Doctrine\ORM\EntityRepositor...
{'content_hash': 'b474058ce7a08846c9584bd9a8e42683', 'timestamp': '', 'source': 'github', 'line_count': 92, 'max_line_length': 128, 'avg_line_length': 31.83695652173913, 'alnum_prop': 0.598497780812564, 'repo_name': 'jmangarret/symfony2', 'id': 'ec3f79d2bc05e9420ddd08ee6c6128b44898b1ed', 'size': '2929', 'binary': False...
github
0
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var _get = function get(_x2, _x3, _x4) { var _again = true; _function: while (_again) { var object = _x2, property = _x3, receiver = _x4; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype;...
{'content_hash': 'da26606f4828ad5aae9efe06f0c50c15', 'timestamp': '', 'source': 'github', 'line_count': 45, 'max_line_length': 670, 'avg_line_length': 52.333333333333336, 'alnum_prop': 0.6929936305732484, 'repo_name': 'Legitcode/forms', 'id': 'b2e808a6219a92f033af850116e964472751d5b1', 'size': '2355', 'binary': False, ...
github
0
-------------------------------- -- @function [parent=#SpriteFrameCache] removeUnusedSpriteFrames -- @param self -------------------------------- -- @function [parent=#SpriteFrameCache] getSpriteFrameByName -- @param self -- @param #string str -- @return SpriteFrame#SpriteFrame ret (return value: cc...
{'content_hash': 'fd11c99bb11748d79185c3093cead415', 'timestamp': '', 'source': 'github', 'line_count': 45, 'max_line_length': 84, 'avg_line_length': 30.711111111111112, 'alnum_prop': 0.5455861070911722, 'repo_name': 'yangboz/bugfree-bugfixes', 'id': '0d8ee97edf3196472da14dd434099cf8aed744ac', 'size': '1941', 'binary':...
github
0
package kr.ac.kaist.jsaf.analysis.typing.debug.commands import kr.ac.kaist.jsaf.analysis.typing.debug.DebugConsole import scala.util.matching.Regex class CmdJump extends Command { override val name = "jump" override val info: String = "Continue to analyze until the given iteration." override def help(): Unit...
{'content_hash': 'acedfe9134499f8af38ca222e4065d3b', 'timestamp': '', 'source': 'github', 'line_count': 36, 'max_line_length': 97, 'avg_line_length': 26.305555555555557, 'alnum_prop': 0.6114044350580782, 'repo_name': 'darkrsw/safe', 'id': '7539d7f8d58e943ef4401089aa15ee6875faa5b1', 'size': '1276', 'binary': False, 'cop...
github
0
__author__ = 'nicolasfraison' import os workers = os.environ['WORKER_PROCESSES'] timeout = os.environ['TIMEOUT'] preload_app = True
{'content_hash': 'c3e05615bf5e0196a8c232a033056abf', 'timestamp': '', 'source': 'github', 'line_count': 7, 'max_line_length': 40, 'avg_line_length': 19.0, 'alnum_prop': 0.7218045112781954, 'repo_name': 'ashangit/docker-graphite-api', 'id': '684773def69527fb119e72c03827f6d00b65ff63', 'size': '133', 'binary': False, 'cop...
github
0
package net.beaconpe.magicclient.api; /** * Represents an extension. */ public interface Extension { /** * Gets this Extension's name. * @return The Extension's name. */ String getName(); /** * Get this Extension's provider. The Provider is usually the language the extension is writt...
{'content_hash': '47b848550268de593ade202a2821dbac', 'timestamp': '', 'source': 'github', 'line_count': 25, 'max_line_length': 119, 'avg_line_length': 23.08, 'alnum_prop': 0.6308492201039861, 'repo_name': 'jython234/MagicClient', 'id': 'e9552dde9ceea9a53b02265d0246cd5efb395823', 'size': '577', 'binary': False, 'copies'...
github
0
AllAboard::Engine.routes.draw do resources :boards, only: [ :index ] # These are nested Ember routes. If they don't exist, Rails tries to serve # the route. match "/board/*path" => "boards#index", via: :get match "/sources" => "boards#index", via: :get match "/sources/*path" => "boards#index", via: :get ...
{'content_hash': 'eca088afa4411ded126aee346ffc8a21', 'timestamp': '', 'source': 'github', 'line_count': 20, 'max_line_length': 77, 'avg_line_length': 35.85, 'alnum_prop': 0.6527196652719666, 'repo_name': 'dpetersen/all_aboard', 'id': '44180f35832ea60ce93c95007b5ba8092f1d81ce', 'size': '717', 'binary': False, 'copies': ...
github
0
(function() { 'use strict'; angular.module('mudu.config') .config(['$locationProvider', function($locationProvider) { $locationProvider.html5Mode('true'); }]) .run(['$http', function($http){ $http.defaults.xsrfHeaderName = 'X-CSRFToken'; $http.defaults.xsrfCookieName = 'csrftoken'; }]); })();
{'content_hash': 'c39dca5f5407d4268fbb7633754aad71', 'timestamp': '', 'source': 'github', 'line_count': 12, 'max_line_length': 60, 'avg_line_length': 25.5, 'alnum_prop': 0.6699346405228758, 'repo_name': 'TheBlackDude/mudu45', 'id': 'f7f0cba94aaf8520281206fd5c7ed49ed4d515b9', 'size': '306', 'binary': False, 'copies': '1...
github
0
<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.Toolbar android:id="@+id/toolbar" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" andro...
{'content_hash': '4924f27ddbc344a50fc8623c7646509f', 'timestamp': '', 'source': 'github', 'line_count': 11, 'max_line_length': 62, 'avg_line_length': 47.18181818181818, 'alnum_prop': 0.7283236994219653, 'repo_name': 'kmenager/SpotifyStreamer', 'id': '6e82f7e0e5c1a94743769e07f574fda15eea2608', 'size': '519', 'binary': F...
github
0
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{'content_hash': '29e763614925c140f7c97f9d4270288e', 'timestamp': '', 'source': 'github', 'line_count': 607, 'max_line_length': 192, 'avg_line_length': 43.10708401976936, 'alnum_prop': 0.6305510968432316, 'repo_name': 'tellproject/presto', 'id': 'dfa07624e6fe44ef5eff9828b9ac33b6026c175b', 'size': '26166', 'binary': Fal...
github
0
package org.yoqu.cms.admin.modules.role; import com.jfinal.aop.Before; import com.jfinal.ext.interceptor.POST; import com.jfinal.plugin.activerecord.Record; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.yoqu.cms.core.aop.SiteTitle; import org.yoqu.cms.core.config.Cons...
{'content_hash': '81425821ecb09ffba7eeaff38e020ecd', 'timestamp': '', 'source': 'github', 'line_count': 85, 'max_line_length': 83, 'avg_line_length': 37.01176470588236, 'alnum_prop': 0.6217418944691672, 'repo_name': 'yoqu/finalcms', 'id': '5d8873f788c9acccbb231bc5f8da32277b7f59ad', 'size': '3154', 'binary': False, 'cop...
github
0
""" URLConf for Django-Forum. django-forum assumes that the forum application is living under /forum/. Usage in your base urls.py: (r'^forum/', include('forum.urls')), """ from django.conf.urls.defaults import * from forum.models import Forum from forum.feeds import RssForumFeed, AtomForumFeed from forum.sitema...
{'content_hash': 'f35fe41e269a8e9c3791a02ddfcec2f6', 'timestamp': '', 'source': 'github', 'line_count': 46, 'max_line_length': 109, 'avg_line_length': 33.95652173913044, 'alnum_prop': 0.6376440460947503, 'repo_name': 'Pmisiurak/django-forum', 'id': 'ba5e3303e0b4a263d0e595e883200eb5fc7ba893', 'size': '1562', 'binary': F...
github
0
#ifndef AVIONICS_FIRMWARE_SERIAL_BOARD_SERIAL_H_ #define AVIONICS_FIRMWARE_SERIAL_BOARD_SERIAL_H_ #include <stdint.h> #include "avionics/firmware/serial/serial_params.h" void BoardSerialParamsInit(void); const SerialParams *GetBoardSerialParams(void); int32_t GetBoardHardwareRevision(void); #endif // AVIONICS_FI...
{'content_hash': 'f03a11a37d1a2c3346844380125272a0', 'timestamp': '', 'source': 'github', 'line_count': 14, 'max_line_length': 51, 'avg_line_length': 25.0, 'alnum_prop': 0.7971428571428572, 'repo_name': 'google/makani', 'id': '428bc1433e1870a6562ed18c0624dc0cffe2419a', 'size': '957', 'binary': False, 'copies': '1', 're...
github
0
using UnityEngine; using System.Collections; public class DemoGUI_ColorPickerDemo : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void OnGUI () { GUIStyle style = new GUIStyle(GUI.skin.label); style.fontSize = 12; //style.font = GUI.skin.button.font...
{'content_hash': 'e1aecd0b65d482e37cb84ec527fe1ce7', 'timestamp': '', 'source': 'github', 'line_count': 19, 'max_line_length': 94, 'avg_line_length': 29.57894736842105, 'alnum_prop': 0.6903914590747331, 'repo_name': 'JohnnyWasabi/FaceCards', 'id': '7c119e5ed40628ef96cbaf30e229ba35a971dae3', 'size': '564', 'binary': Fal...
github
0
Mester is a suite for Quality Assurance testing (QA). Mester consists of 3 parts: 1. REST API 2. Front End 3. Mobile Clients ### Basic Capabilities of the Mester iOS Client ### * Create projects * List projects * Create test cases * List test cases * List test steps * Create tests * Start tests * Up...
{'content_hash': '138ad71aa174c1e1d6abc40d57d1f994', 'timestamp': '', 'source': 'github', 'line_count': 43, 'max_line_length': 462, 'avg_line_length': 43.83720930232558, 'alnum_prop': 0.7448275862068966, 'repo_name': 'art-divin/mester-client-ios', 'id': '1e292dfc7cbd2979d6a19f5e0634c673ab8a8303', 'size': '1908', 'binar...
github
0
package org.asteriskjava.pbx.asterisk.wrap.actions; import java.util.concurrent.atomic.AtomicLong; /** * Automatically generates a globally unique action id (based on the systems mac * address * * @author bsutton */ abstract public class AbstractManagerAction implements ManagerAction { private final static...
{'content_hash': '3296206a8a9da61c4f9349412989eec3', 'timestamp': '', 'source': 'github', 'line_count': 23, 'max_line_length': 80, 'avg_line_length': 22.652173913043477, 'alnum_prop': 0.727447216890595, 'repo_name': 'pk1057/asterisk-java', 'id': '04c33680a31aa0a4c8c83ab0eb78694b5f1916fb', 'size': '521', 'binary': False...
github
0
local mod = DBM:NewMod(1502, "DBM-Party-Legion", 8, 727) local L = mod:GetLocalizedStrings() mod:SetRevision(("$Revision: 17077 $"):sub(12, -3)) mod:SetCreatureID(96756) mod:SetEncounterID(1822) mod:SetZone() mod:RegisterCombat("combat") mod:RegisterEventsInCombat( "SPELL_CAST_START 193211 193364 193977 193460 193...
{'content_hash': 'b853eb824b0a2f47de1c1bda14075358', 'timestamp': '', 'source': 'github', 'line_count': 59, 'max_line_length': 102, 'avg_line_length': 33.28813559322034, 'alnum_prop': 0.7377800407331976, 'repo_name': 'liruqi/bigfoot', 'id': '258afe234ee538344f142f54ee9d652a791398ab', 'size': '1964', 'binary': False, 'c...
github
0
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.tagaugmentedreality; public final class Manifest { public static final class permission { public static final Str...
{'content_hash': '65593eb9a6912fc92c1474b1ee0b4a92', 'timestamp': '', 'source': 'github', 'line_count': 14, 'max_line_length': 98, 'avg_line_length': 28.285714285714285, 'alnum_prop': 0.7323232323232324, 'repo_name': 'mustafaneguib/tag-augmented-reality-android', 'id': 'b52b1b5f026d510d16d703ac31bf082077103994', 'size'...
github
0
var is_drawing = false, //is pen drawing on canvas right now? draw_dot = false; //should we draw a single dot? //Pen asset graphics for drawing (initialize to base assets) var pen_stroke_base = new Image(), pen_stroke = new Image(), pen_dot_base = new Image(), pen_dot = new Image(); pen_stroke_base.src = ...
{'content_hash': '4999170725b70cfd8cb1ccf5808aaac0', 'timestamp': '', 'source': 'github', 'line_count': 214, 'max_line_length': 103, 'avg_line_length': 33.901869158878505, 'alnum_prop': 0.5502412129565817, 'repo_name': 'errollw/smartboards', 'id': 'db2d53941ea593bcfcc32b060aa9f78ced966cbe', 'size': '7256', 'binary': Fa...
github
0
<?php /** * Group Locator "horizontal" search form template file. * * The information on this file will be displayed as the search forms. * * The function pass 1 args for you to use: * $gmw - the form being used ( array ) * * You could but It is not recomemnded to edit this file directly as your changes w...
{'content_hash': '62939dc5638ab01cb697ab3038ede28a', 'timestamp': '', 'source': 'github', 'line_count': 61, 'max_line_length': 165, 'avg_line_length': 36.81967213114754, 'alnum_prop': 0.634906500445236, 'repo_name': 'gorkemyontem/stardomcity', 'id': 'da75c015e12c734dc02a872691265126df7fdb47', 'size': '2246', 'binary': ...
github
0
package com.google.j2cl.junit.integration.async.data; import com.google.j2cl.junit.async.AsyncTestRunner; import com.google.j2cl.junit.async.Timeout; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; /** Test for timeout in a non asyncTest */ @RunWith(AsyncTestR...
{'content_hash': '4a706d214daec8812f985ad4ea2b049b', 'timestamp': '', 'source': 'github', 'line_count': 24, 'max_line_length': 53, 'avg_line_length': 22.166666666666668, 'alnum_prop': 0.7443609022556391, 'repo_name': 'google/j2cl', 'id': 'c762430237a84736b4c3a8644471efb25cb7938b', 'size': '1122', 'binary': False, 'copi...
github
0
package com.iluwatar.masterworker; /** * Class ArrayResult extends abstract class {@link Result} and contains data of type int[][]. */ public class ArrayResult extends Result<int[][]> { public ArrayResult(int[][] data) { super(data); } }
{'content_hash': 'ba9a194c3b59b59fffe88a4e2bd8484d', 'timestamp': '', 'source': 'github', 'line_count': 14, 'max_line_length': 93, 'avg_line_length': 18.071428571428573, 'alnum_prop': 0.6758893280632411, 'repo_name': 'mookkiah/java-design-patterns', 'id': 'a26472e80445fda99516c2691fbc060a881d93fc', 'size': '1395', 'bin...
github
0
<!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 (1.8.0_151) on Fri Jun 22 04:34:20 MST 2018 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wildf...
{'content_hash': '4b1f6d4217176501c42b535172380d4e', 'timestamp': '', 'source': 'github', 'line_count': 128, 'max_line_length': 157, 'avg_line_length': 38.0625, 'alnum_prop': 0.6200738916256158, 'repo_name': 'wildfly-swarm/wildfly-swarm-javadocs', 'id': '16b92f94899ef11e1d5e7a14a065dfd38f40779e', 'size': '4872', 'binar...
github
0
Welcome to the Hub Framework content programming guide! This guide aims to help you gain a deeper understanding of how to build the content that will be rendered in a Hub Framework-powered view. **Table of contents** - [Introduction](#introduction) - [Content hierarchy](#content-hierarchy) - [Using JSON](#using-json)...
{'content_hash': '5fc6aa26e238d35776190d2bb7c8cc3c', 'timestamp': '', 'source': 'github', 'line_count': 244, 'max_line_length': 482, 'avg_line_length': 66.15163934426229, 'alnum_prop': 0.7826652623753175, 'repo_name': 'spotify/HubFramework', 'id': 'ab22db44e588c4f1161194f67df10971d4cfff02', 'size': '16170', 'binary': F...
github
0
#include "CudaRt.h" using namespace std; extern "C" __host__ const char* CUDARTAPI cudaGetErrorString(cudaError_t error) { CudaRtFrontend::Prepare(); CudaRtFrontend::AddVariableForArguments(error); CudaRtFrontend::Execute("cudaGetErrorString"); #ifdef _WIN32 char *error_string = _strdup(CudaRtFronte...
{'content_hash': 'c31f00436a644ec5c7441ef2a578accf', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 81, 'avg_line_length': 30.035714285714285, 'alnum_prop': 0.7312722948870393, 'repo_name': 'raffmont/GVirtuS', 'id': 'f1f6dd61f3598233bfe4916a835ecda96a90464e', 'size': '1849', 'binary': False, ...
github
0
namespace tmp { namespace math { // *************************************************************************** /// Static calculation of power function. /// /// This is a collection of functions that provides that ability to calculate /// the value of a number raised to an exponent. The calculation is performed //...
{'content_hash': 'f82e4f532d11557bfc2471ac726d09e8', 'timestamp': '', 'source': 'github', 'line_count': 94, 'max_line_length': 79, 'avg_line_length': 29.52127659574468, 'alnum_prop': 0.5369369369369369, 'repo_name': 'PaulMWatt/Alchemy', 'id': 'a4b1049ca401fa58d39303467545009435c0239b', 'size': '3220', 'binary': False, ...
github
0
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Queues; import Interfaces.QueueADT; /** * * @author navega */ public class CircularArrayQueue<T> implements QueueADT<T> { ...
{'content_hash': '297b9c1867d3ac9b182923c4dc03fa41', 'timestamp': '', 'source': 'github', 'line_count': 110, 'max_line_length': 79, 'avg_line_length': 22.3, 'alnum_prop': 0.5238483489604566, 'repo_name': 'navegaamorim/java-collections', 'id': 'c74fdbc8945c74512f04d5ec5e93c0cbbc901004', 'size': '2453', 'binary': False, ...
github
0
module FinalRedirectUrl VERSION = "0.1.0" end
{'content_hash': 'b956b3193f6856ac0f9a9aa56479dfb9', 'timestamp': '', 'source': 'github', 'line_count': 3, 'max_line_length': 23, 'avg_line_length': 16.0, 'alnum_prop': 0.7291666666666666, 'repo_name': 'indyarocks/final_redirect_url', 'id': 'e2b1928eee00fc27f775a75dadd64046e344983e', 'size': '48', 'binary': False, 'cop...
github
0
namespace AjRools.Expert.Compiler { using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using AjRools.Expert.Rules; using AjRools.Expert.Facts; public class Parser { private static IDictionary<string, Comparison...
{'content_hash': '7d2bbe81aed183dd9276990f361d7ba2', 'timestamp': '', 'source': 'github', 'line_count': 248, 'max_line_length': 122, 'avg_line_length': 27.838709677419356, 'alnum_prop': 0.48739860950173813, 'repo_name': 'ajlopez/AjRools', 'id': '7c111776103a69670827d520ed7d46af1ebbccc4', 'size': '6906', 'binary': False...
github
0
package com.google.api.ads.adwords.jaxws.v201509.cm; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for StringLengthError.Reason. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pre> * &lt;simpl...
{'content_hash': '79aee5b4ce9ba8912e51d6f97ed26d29', 'timestamp': '', 'source': 'github', 'line_count': 38, 'max_line_length': 95, 'avg_line_length': 22.5, 'alnum_prop': 0.6760233918128655, 'repo_name': 'gawkermedia/googleads-java-lib', 'id': 'e234a01c4c2167328d232f8c44f7de48c236b6e4', 'size': '855', 'binary': False, '...
github
0
var React = require("react"); var { View, Text, Switch } = require("react-native"); function checkbox(locals) { if (locals.hidden) { return null; } var stylesheet = locals.stylesheet; var formGroupStyle = stylesheet.formGroup.normal; var controlLabelStyle = stylesheet.controlLabel.normal; var checkbox...
{'content_hash': '1d386b3e4a7d0f77208e95aa2a8c9893', 'timestamp': '', 'source': 'github', 'line_count': 57, 'max_line_length': 69, 'avg_line_length': 27.75438596491228, 'alnum_prop': 0.6618204804045512, 'repo_name': 'gcanti/tcomb-form-native', 'id': 'e4f6d74e87cf898b4ffcd26178db95eddc9ce6ab', 'size': '1582', 'binary': ...
github
0
/******************************* Standard *******************************/ .ui.grid { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -webkit-flex-direction: row; -ms-flex-direction: row;...
{'content_hash': '99a56795c715d8fcf064010830f470c5', 'timestamp': '', 'source': 'github', 'line_count': 2018, 'max_line_length': 112, 'avg_line_length': 34.55599603567889, 'alnum_prop': 0.6238707086930335, 'repo_name': 'PD75/practical-startpage', 'id': '7bacf46c79e36be4b434460c83a789d8bcc0a729', 'size': '69930', 'binar...
github
0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_65) on Sat Feb 28 21:43:22 IST 2015 --> <TITLE> GetAllUsers </TITLE> <META NAME="date" CONTENT="2015-02-28"> <LINK REL ="stylesheet" TYPE="text/css...
{'content_hash': 'dc2b11d5953f78ecc5f03b32b606a028', 'timestamp': '', 'source': 'github', 'line_count': 256, 'max_line_length': 200, 'avg_line_length': 40.40234375, 'alnum_prop': 0.6448805955718844, 'repo_name': 'jmargieh/MicroBlog', 'id': '62d2f5b1000ec3016693e9c67cc023c3e4601dc9', 'size': '10343', 'binary': False, 'c...
github
0
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TipCalculator.PCL { public class Location { public double Latitude { get; set; } public double Longitude { get; set; } } }
{'content_hash': '3bc06ce7441e89f197add41782d97be9', 'timestamp': '', 'source': 'github', 'line_count': 15, 'max_line_length': 45, 'avg_line_length': 18.666666666666668, 'alnum_prop': 0.6857142857142857, 'repo_name': 'redbitdev/ImagineCup.DevCamp.TipCalculator', 'id': '550f1544d968b73466be5c73e40c034b21f9dd73', 'size':...
github
0
/** * Return the value for `attr` at `element`. * * @param {Element} el * @param {String} attr * @api public */ module.exports = function(el, attr) { var result = (el.getAttribute && el.getAttribute(attr)) || null; if( !result ) { var attrs = el.attributes; var length = attrs.length; for(var i = ...
{'content_hash': 'c90f2a1613fa4293a00885fce7a9cf41', 'timestamp': '', 'source': 'github', 'line_count': 23, 'max_line_length': 66, 'avg_line_length': 21.782608695652176, 'alnum_prop': 0.5409181636726547, 'repo_name': 'andr3cs/soumaisilheus-googleio', 'id': 'd42a07aec2e2e33483300734b70765081de8a145', 'size': '501', 'bin...
github
0
$('#banner').css({'height': $(window).height()}); // Fixed Navigation var siteNav = jQuery('.top-fixed'); var topStatic = jQuery('.has-fixed-menu'); var mainNav = jQuery('.main-navigation'); var menuSecond = jQuery('.menu-style2') jQuery(window).scroll(function () { "use strict"; if (jQuery(this).scrollTop(...
{'content_hash': '154a31c1f5984c34d71966b8fb42c92e', 'timestamp': '', 'source': 'github', 'line_count': 253, 'max_line_length': 193, 'avg_line_length': 28.205533596837945, 'alnum_prop': 0.54722533632287, 'repo_name': 'snakefooc/snakefooc.github.io', 'id': '3d6e3d6bcbe15ffe2427e538b092575548c40d12', 'size': '7169', 'bin...
github
0
<?php namespace ElkArte\ScheduledTasks\Tasks; use ElkArte\Themes\ThemeLoader; /** * Class Remove_Old_Drafts - Check for old drafts and remove them * * @package ScheduledTasks */ class RemoveOldDrafts implements ScheduledTaskInterface { /** * Scheduled task for removing those old and abandoned drafts * *...
{'content_hash': 'b00ea0cec12a8f12c936924a56d07857', 'timestamp': '', 'source': 'github', 'line_count': 64, 'max_line_length': 77, 'avg_line_length': 18.453125, 'alnum_prop': 0.6342082980524979, 'repo_name': 'Spuds/Elkarte', 'id': 'cc525a42da432f02daff64a9c8bb6097e4939e19', 'size': '1533', 'binary': False, 'copies': '5...
github
0
package com.evolveum.midpoint.util; import java.util.Map; import org.testng.annotations.Test; import org.testng.AssertJUnit; import static org.testng.AssertJUnit.*; import static javax.xml.XMLConstants.W3C_XML_SCHEMA_NS_URI; import org.w3c.dom.Document; import org.w3c.dom.Element; import javax.xml.XMLConstants; imp...
{'content_hash': '86ff1d8eb754b9000b935bc96a0cf55f', 'timestamp': '', 'source': 'github', 'line_count': 280, 'max_line_length': 123, 'avg_line_length': 34.48571428571429, 'alnum_prop': 0.7050538525269263, 'repo_name': 'gureronder/midpoint', 'id': '38d165e76ccf38bfd6fe86951745617287e064c6', 'size': '10256', 'binary': Fa...
github
0
class Chef CHEF_ROOT = File.dirname(File.expand_path(File.dirname(__FILE__))) VERSION = '12.4.0.dev.0' end # # NOTE: the Chef::Version class is defined in version_class.rb # # NOTE: DO NOT Use the Chef::Version class on Chef::VERSIONs. The # Chef::Version class is for _cookbooks_ only, and cannot handle # ...
{'content_hash': '5a1350835354a8bb0faa1a8b5ec1ee0c', 'timestamp': '', 'source': 'github', 'line_count': 13, 'max_line_length': 70, 'avg_line_length': 33.76923076923077, 'alnum_prop': 0.6810933940774487, 'repo_name': 'joemiller/chef', 'id': '30ede540957eef06a6af833c442539fc574850b9', 'size': '1123', 'binary': False, 'co...
github
0
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
{'content_hash': '44124e57a9b303bd5d687a396e6694d4', 'timestamp': '', 'source': 'github', 'line_count': 200, 'max_line_length': 564, 'avg_line_length': 34.73, 'alnum_prop': 0.6264036855744314, 'repo_name': 'yurizhang/ishow', 'id': 'dd278d96ff65220c971694b5d015b1e6c01a5718', 'size': '6946', 'binary': False, 'copies': '1...
github
0
pawoo reblog bot for photo post on Python 3.x and Mastodon.py Function: Read home TL. Find media tweets, and reblog toots each 5min. How to Use: 1. Edit build-cred.py and input 'your_username' and 'your_password' 2. Run build-cred.py 2 credential files 'reblogbot_clientcred.txt' and 'reblogbot_usercred.txt' (default)...
{'content_hash': '651e726382f6ba07675b04c1072b207e', 'timestamp': '', 'source': 'github', 'line_count': 9, 'max_line_length': 106, 'avg_line_length': 43.77777777777778, 'alnum_prop': 0.766497461928934, 'repo_name': 'sawadyrr5/pawoo-reblogbot', 'id': '1c6de650509d270d18b30d4f450d98f963ec9d3d', 'size': '412', 'binary': F...
github
0
package org.hisp.dhis.dataelement; import org.hisp.dhis.DhisSpringTest; import org.hisp.dhis.attribute.Attribute; import org.hisp.dhis.attribute.AttributeService; import org.hisp.dhis.attribute.AttributeValue; import org.hisp.dhis.attribute.exception.NonUniqueAttributeValueException; import org.hisp.dhis.co...
{'content_hash': 'b204d5e51c3df144e2b310b12941ab4d', 'timestamp': '', 'source': 'github', 'line_count': 497, 'max_line_length': 119, 'avg_line_length': 42.36217303822938, 'alnum_prop': 0.6702764320319179, 'repo_name': 'troyel/dhis2-core', 'id': 'e2744498fcaa29206948cf8b35de89039c07803c', 'size': '22636', 'binary': Fals...
github
0
package com.google.common.base; import com.google.common.annotations.GwtCompatible; import java.io.Serializable; import java.util.Iterator; import javax.annotation.Nullable; @GwtCompatible(serializable = true) final class PairwiseEquivalence<T> extends Equivalence<Iterable<T>> implements Serializable { final E...
{'content_hash': '95bbc43077f8be65087c85aa8cfe6190', 'timestamp': '', 'source': 'github', 'line_count': 65, 'max_line_length': 93, 'avg_line_length': 25.70769230769231, 'alnum_prop': 0.7109515260323159, 'repo_name': 'jakubmalek/guava', 'id': '6db4b639fece6e0a5a4a06b6108342dc0a69d306', 'size': '2265', 'binary': False, '...
github
0
import {loadDb} from '../actions/db'; import {DB} from '../constants'; import {dispatchAssert} from './util'; export function isDbPending(dbState) { return dbState.get(DB.DB_CONST) === DB.STATE.PENDING; } export function isDbLoaded(dbState) { return dbState.get(DB.DB_CONST) === DB.STATE.LOADED; } export func...
{'content_hash': '1c3f9f234f8cdfd5d1d8185f5011cee8', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 57, 'avg_line_length': 21.321428571428573, 'alnum_prop': 0.6633165829145728, 'repo_name': 'VasylHryha/hotspot', 'id': 'e1cdce153dec04c1ecefce5fe22f565306d097a4', 'size': '597', 'binary': False,...
github
0
var CONFIRM_TEXT = '确定'; var CANCEL_TEXT = '取消'; var defaults = { title: '提示', image: null, showCloseButton: false, message: '', type: '', showInput: false, showClose: true, modalFade: false, lockScroll: false, closeOnClickModal: true, inputValue: null, inputPlaceholder: '', inputPattern: nul...
{'content_hash': 'b13b5e22691ba3c6dae8756472cbcb39', 'timestamp': '', 'source': 'github', 'line_count': 224, 'max_line_length': 89, 'avg_line_length': 22.607142857142858, 'alnum_prop': 0.5953791469194313, 'repo_name': 'hiyali/hunt-mint-ui', 'id': '5866b481d3bc507f32b26034267d0218a0e7eb03', 'size': '5076', 'binary': Fal...
github
0
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" > <LinearLayout android:id="@+id/dialogBg" android:layout_width="match_parent" android:layout_he...
{'content_hash': 'a00731832b39c4a7d32c2b1e40ea90e5', 'timestamp': '', 'source': 'github', 'line_count': 181, 'max_line_length': 74, 'avg_line_length': 37.76243093922652, 'alnum_prop': 0.5234820775420629, 'repo_name': 'uclouddotcn/chameleon', 'id': '95bcc4ab38963315f7f9de6c95bbcdc2faa4f39d', 'size': '6951', 'binary': Fa...
github
0
package com.networknt.schema; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.io.InputStream; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; /** * Created by steve on 22/10/16. */ public cla...
{'content_hash': '0944f5a9bf29a380e5f89af1731ce559', 'timestamp': '', 'source': 'github', 'line_count': 63, 'max_line_length': 104, 'avg_line_length': 35.333333333333336, 'alnum_prop': 0.7493261455525606, 'repo_name': 'networknt/json-schema-validator', 'id': '544a71f7402cb2e2a6774f690f9ffe2fda97c0df', 'size': '2843', '...
github
0
Compiled example ---------------- ![Example](q-learning.png)
{'content_hash': 'e7793aa5bf430a4e47915b71a388ea63', 'timestamp': '', 'source': 'github', 'line_count': 3, 'max_line_length': 26, 'avg_line_length': 20.333333333333332, 'alnum_prop': 0.5573770491803278, 'repo_name': 'MartinThoma/LaTeX-examples', 'id': 'c260ec582bc68f35a1513f04c18350602b9cd1e4', 'size': '61', 'binary': ...
github
0
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{'content_hash': '284f50b8cccc7137dc97cc1e5c872430', 'timestamp': '', 'source': 'github', 'line_count': 22, 'max_line_length': 75, 'avg_line_length': 34.59090909090909, 'alnum_prop': 0.7516425755584757, 'repo_name': 'paulstapleton/flowable-engine', 'id': '1a3e8e204d9771ea1314f7b0e2ab54469b4e1074', 'size': '761', 'binar...
github
0
namespace YaR.Clouds.MailRuCloud.TwoFA.UI { partial class AuthCodeForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
{'content_hash': 'ceb6004d62f48048a6047a0fd7cfa2a9', 'timestamp': '', 'source': 'github', 'line_count': 138, 'max_line_length': 144, 'avg_line_length': 40.93478260869565, 'alnum_prop': 0.5634625597450876, 'repo_name': 'yar229/WebDavMailRuCloud', 'id': '20fb255de3ccd21c79870c489cc40b5497628eb0', 'size': '5651', 'binary'...
github
0
(function() { /** * @ngdoc controller * @name Umbraco.MainController * @function * * @description * The main application controller * */ function MainController($scope, $rootScope, $location, $routeParams, $timeout, $http, $log, appState, treeService, notificationsService, userService, navigationServ...
{'content_hash': '132ea37ec38be04a100ee263af549c44', 'timestamp': '', 'source': 'github', 'line_count': 14368, 'max_line_length': 344, 'avg_line_length': 36.54816258351893, 'alnum_prop': 0.5274239989031162, 'repo_name': 'TobiasSK/AarhusWebDevCoop', 'id': '0d0fc3426c58842a0248c637f7d5141e30facfd1', 'size': '525233', 'bi...
github
0
font-family: "PT Sans" "Source Sans Pro"; padding-bottom: 60px; } #product-sidebar a { color: #808080; } #product-sidebar a:hover { color: #000; text-decoration: none; } #product-sidebar .zoom { padding: 0; } #product-sidebar .zoom .cover { width: 100%; position: relative; } #product-sidebar .zoom .cove...
{'content_hash': 'e856c258d760f38c8ea80feffa185527', 'timestamp': '', 'source': 'github', 'line_count': 147, 'max_line_length': 81, 'avg_line_length': 21.918367346938776, 'alnum_prop': 0.680633147113594, 'repo_name': 'alt-001/alt-master-Su', 'id': 'a7bd70c688e300403f7ecbc19cd69c84e06051da', 'size': '3241', 'binary': Fa...
github
0
namespace blink { TestDictionary::TestDictionary() { setDoubleOrStringMember(DoubleOrString::fromDouble(3.14)); setEnumMember(String("foo")); setLongMember(1); setOtherDoubleOrStringMember(DoubleOrString::fromString(String("default string value"))); setRestrictedDoubleMember(3.14); setStringOrN...
{'content_hash': '692bd192326c971a686790652ceeb1a6', 'timestamp': '', 'source': 'github', 'line_count': 39, 'max_line_length': 134, 'avg_line_length': 41.282051282051285, 'alnum_prop': 0.8, 'repo_name': 'highweb-project/highweb-webcl-html5spec', 'id': '2a599ab2385c62acf3e98fdb6b72434e61982f6f', 'size': '1884', 'binary'...
github
0
Embulk::JavaPlugin.register_parser( "java_parser_sample", "org.embulk.parser.Java_parser_sampleParserPlugin", File.expand_path('../../../../classpath', __FILE__))
{'content_hash': '0319836bf680a0ff363459f602bbd7af', 'timestamp': '', 'source': 'github', 'line_count': 3, 'max_line_length': 75, 'avg_line_length': 55.666666666666664, 'alnum_prop': 0.6946107784431138, 'repo_name': 'hiroyuki-sato/embulk-parser-java_parser_sample', 'id': '6fd4a5c45a96425b0e39b92e65f8c564ade4eb37', 'siz...
github
0
$StorageAccount = "" $StorageContainer = "" $StoragePath = "" $LicensePath = "" $ApiKey = ""
{'content_hash': '40fbfe21419c85bbbce3c4c1583f7248', 'timestamp': '', 'source': 'github', 'line_count': 5, 'max_line_length': 22, 'avg_line_length': 19.2, 'alnum_prop': 0.6041666666666666, 'repo_name': 'sc-dmitrykostenko/sitecore-habitat-azure', 'id': '6cd9df6c3d189a2c10efb3ff00a18bd0dd5f9adb', 'size': '96', 'binary': ...
github
0
// Copyright (c) Aghyad khlefawi. All rights reserved. // Licensed under the MIT License. See LICENSE file in the project root for full license information. using Coddee.Mvvm; using Coddee.Xamarin.Forms.AppBuilder; using Xamarin.Forms; namespace Coddee.AppBuilder { public static class BuilderExtensions {...
{'content_hash': 'df03c877a3848a3d204513c75c8c55b3', 'timestamp': '', 'source': 'github', 'line_count': 47, 'max_line_length': 103, 'avg_line_length': 34.61702127659574, 'alnum_prop': 0.6017209588199139, 'repo_name': 'Aghyad-Khlefawi/Coddee', 'id': '0203396b0dc15ebde751202e876c1c4f3bce7226', 'size': '1629', 'binary': F...
github
0
Getting started =============== The easiest way to run the deployement is to use the **kargo-cli** tool. A complete documentation can be found in its [github repository](https://github.com/kubespray/kargo-cli). Here is a simple example on AWS: * Create instances and generate the inventory ``` kargo aws --instance...
{'content_hash': '25d9ad5f6000ac931e64082f8a89363a', 'timestamp': '', 'source': 'github', 'line_count': 19, 'max_line_length': 105, 'avg_line_length': 21.0, 'alnum_prop': 0.6942355889724311, 'repo_name': 'jcsirot/kubespray', 'id': '153c91a122bd710e09ffbaf93b15b9337a588295', 'size': '399', 'binary': False, 'copies': '1'...
github
0
<?php if (@$tl->settings['Keep logs for']) { // calculate expiry $expiry = date('Y-m-d H:i:s', mktime(date('H'), date('i'), date('s'), date('m'), date('d') - floatval($tl->settings['Keep logs for']), date('Y'))); // delete logs $output .= "Looking for logs prior to " . $expiry . "\n"; $deleted = delet...
{'content_hash': 'a9c0c9081afeae3e02fdb9890dc3fefb', 'timestamp': '', 'source': 'github', 'line_count': 28, 'max_line_length': 150, 'avg_line_length': 32.82142857142857, 'alnum_prop': 0.5767138193688792, 'repo_name': 'thesentinelproject/WikiRumours', 'id': '35420437e04a70068f66906582bc67bc9a4c75c9', 'size': '919', 'bin...
github
0
#ifndef __FREEGLUT_EXT_H__ #define __FREEGLUT_EXT_H__ #ifdef __cplusplus extern "C" { #endif /* * Additional GLUT Key definitions for the Special key function */ #define GLUT_KEY_NUM_LOCK 0x006D #define GLUT_KEY_BEGIN 0x006E #define GLUT_KEY_DELETE 0x006F #d...
{'content_hash': '3069c3900fdb800ed53d5f3699cede73', 'timestamp': '', 'source': 'github', 'line_count': 214, 'max_line_length': 157, 'avg_line_length': 36.94392523364486, 'alnum_prop': 0.6597520870225145, 'repo_name': 'yunhkim/dcshell', 'id': '90db0b3d198989f73d148f9072a55a78500c30f0', 'size': '9246', 'binary': False, ...
github
0
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <corners android:radius="@dimen/spacing_xsmall" /> <solid android:color="#00ffffff" /> <stroke android:width="1dip" android:color="@...
{'content_hash': 'd4c1f99fe41c52bf8a5b572a32d6e72d', 'timestamp': '', 'source': 'github', 'line_count': 15, 'max_line_length': 62, 'avg_line_length': 22.866666666666667, 'alnum_prop': 0.6064139941690962, 'repo_name': 'LDVSOFT/War-Of-Viruses', 'id': '25697553e8cb86dbed8369cd2c0337492f70a59e', 'size': '343', 'binary': Fa...
github
0
package example.service; import example.repo.Customer1820Repository; import org.springframework.stereotype.Service; @Service public class Customer1820Service { public Customer1820Service(Customer1820Repository repo) {} }
{'content_hash': '78abae1970244d7d182d1656d5eba231', 'timestamp': '', 'source': 'github', 'line_count': 10, 'max_line_length': 59, 'avg_line_length': 22.5, 'alnum_prop': 0.84, 'repo_name': 'spring-projects/spring-data-examples', 'id': '504fbeafb7f5926822076f037271c76023563951', 'size': '225', 'binary': False, 'copies':...
github
0
package com.amazonaws.services.workmail.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.workmail.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import static ...
{'content_hash': 'b5afcf98b962724770bb3cb04258c551', 'timestamp': '', 'source': 'github', 'line_count': 70, 'max_line_length': 146, 'avg_line_length': 37.9, 'alnum_prop': 0.6520919713531851, 'repo_name': 'aws/aws-sdk-java', 'id': 'd71bf919853a54fd32e82f540ba3a8b85eac657b', 'size': '3233', 'binary': False, 'copies': '1'...
github
0
<?php /* Safe sample input : reads the field UserData from the variable $_GET sanitize : cast via + = 0.0 construction : interpretation */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modify, and distribute this software and its document...
{'content_hash': '7070bc420bccc0bee53f775d9e8c381e', 'timestamp': '', 'source': 'github', 'line_count': 63, 'max_line_length': 123, 'avg_line_length': 23.650793650793652, 'alnum_prop': 0.738255033557047, 'repo_name': 'stivalet/PHP-Vulnerability-test-suite', 'id': '68b32dee286e3bc298dea2df1b1ab54a8bf0e896', 'size': '149...
github
0
package com.strobel.decompiler.patterns; import com.strobel.core.StringUtilities; import com.strobel.core.VerifyArgument; import com.strobel.decompiler.languages.java.ast.AstNode; import com.strobel.decompiler.languages.java.ast.IdentifierExpression; import com.strobel.decompiler.languages.java.ast.Roles; ...
{'content_hash': 'fff5084d5ebc17b78021f517cba0b442', 'timestamp': '', 'source': 'github', 'line_count': 38, 'max_line_length': 111, 'avg_line_length': 37.05263157894737, 'alnum_prop': 0.6946022727272727, 'repo_name': 'ststeiger/procyon', 'id': 'e01edd7589d9e09ab24b99d5f9d5365750de6638', 'size': '2058', 'binary': False,...
github
0
#pragma once #include "sol-network.h" struct sol_socket_impl; struct sol_socket { const struct sol_socket_impl *impl; }; enum sol_socket_type { SOL_SOCKET_UDP, #ifdef DTLS SOL_SOCKET_DTLS, #endif }; struct sol_socket *sol_socket_new(int domain, enum sol_socket_type type, int protocol); void sol_socke...
{'content_hash': '6f0cbea617d4aaa30a6b47c3acbc305d', 'timestamp': '', 'source': 'github', 'line_count': 33, 'max_line_length': 114, 'avg_line_length': 30.454545454545453, 'alnum_prop': 0.7213930348258707, 'repo_name': 'cmarcelo/soletta', 'id': '7efd74bff1a914b699013c7f9263c3fa9a60f569', 'size': '2645', 'binary': False,...
github
0