text
stringlengths
2
1.04M
meta
dict
require 'simplecov' module SimpleCov::Configuration def clean_filters @filters = [] end end SimpleCov.configure do clean_filters load_adapter 'test_frameworks' end ENV["COVERAGE"] && SimpleCov.start do add_filter "/.rvm/" end $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH...
{ "content_hash": "8dcea0972285c4d9c80d576f52a4ef27", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 69, "avg_line_length": 22.06896551724138, "alnum_prop": 0.7078125, "repo_name": "dima4p/active_record_model_and_rspec_enhanced_templates", "id": "3ed0ecf7b3b957d3338044670585...
<?php namespace Ding\Bean; /** * Bean property definition. * * PHP Version 5 * * @category Ding * @package Bean * @author Marcelo Gornstein <marcelog@gmail.com> * @license http://marcelog.github.com/ Apache License 2.0 * @link http://marcelog.github.com/ */ class BeanPropertyDefinition { /** ...
{ "content_hash": "3ac6f0f428cb7f02dadf973be3b0f6fa", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 78, "avg_line_length": 20.19047619047619, "alnum_prop": 0.5507075471698113, "repo_name": "iaejean/Ding", "id": "09a84ae41ab8c8b696533af85e013bba052c90c5", "size": "3413", ...
package org.qsardb.conversion.table; import java.util.*; public class Erratum { private Map<String, String> errors = new LinkedHashMap<String, String>(); private Map<String, String> warnings = new LinkedHashMap<String, String>(); public String filter(String from){ String to = this.errors.get(from); if(to ...
{ "content_hash": "620572f2ab9adf633f47b8539d300369", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 76, "avg_line_length": 16.19148936170213, "alnum_prop": 0.6662286465177398, "repo_name": "qsardb/qsardb-common", "id": "c5c7777249c8b2dea56d6a142a89b6dc9d429179", "size": "...
#include "py/objstr.h" #include "py/runtime.h" #include "shared-bindings/microcontroller/Processor.h" #include "supervisor/background_callback.h" #include "supervisor/port.h" #include "supervisor/serial.h" #include "supervisor/usb.h" #include "supervisor/shared/workflow.h" #include "shared/runtime/interrupt_char.h" #...
{ "content_hash": "070eaf185580541669ce4209d52ff2b9", "timestamp": "", "source": "github", "line_count": 344, "max_line_length": 112, "avg_line_length": 28.00581395348837, "alnum_prop": 0.633589370977787, "repo_name": "adafruit/circuitpython", "id": "fa85cddb83fa0f0631f8630adf1f277ff548a1c8", "size"...
<?php /* TwigBundle:Exception:exception.js.twig */ class __TwigTemplate_a0a13b48f1478a0e98fd9f1135d75dd6695d35364e7b80da200a1bf3deeedf35 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array...
{ "content_hash": "be608b91cf1e42de01ac92aa502f6a99", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 229, "avg_line_length": 24.571428571428573, "alnum_prop": 0.5939922480620154, "repo_name": "csu6/Symfony", "id": "44c6dcb791477b512821a1cd0f4d9e54d6f569b4", "size": "1032",...
$:.unshift(File.expand_path("../../../samples", __FILE__)) require 'aws_iot_device' require 'config_shadow' filter_callback = Proc.new do |message| puts "Executing the specific callback for topic: #{message.topic}\n##########################################\n" end my_shadow_client = setting_shadow my_shadow_clien...
{ "content_hash": "291c16c83638b3cd6d6e615902cb29f7", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 114, "avg_line_length": 26.64, "alnum_prop": 0.6231231231231231, "repo_name": "RubyDevInc/aws-iot-device-sdk-ruby", "id": "c45fd761e4607424a7b6e65b6c6055b5c71d75c7", "size"...
const BlockRange BlockRange1[] = { // the 1st block is reserved for the flash header // so we don't take it into account for the map { BlockRange_BLOCKTYPE_CODE , 0 , 109 }, // 0x01000800 nanoCLR { BlockRange_BLOCKTYPE_DEPLOYMENT , 110, 510 }, // 0x01037000 deployme...
{ "content_hash": "6210edaaecf71fb7afb4f19e4ad416fc", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 91, "avg_line_length": 41.62068965517241, "alnum_prop": 0.4908864954432477, "repo_name": "nanoframework/nf-interpreter", "id": "a553771f36bb0dbd7fd44338ceec00a847652d39", "...
ps3 === Completed Problem Set 3 of CS4414, Fall 2013. Many improvements could be done; shouldn't be used for anything real.
{ "content_hash": "bf899f3fbccf099d8871d70531700ed0", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 115, "avg_line_length": 31.25, "alnum_prop": 0.76, "repo_name": "wbthomason/cs4414-ps3", "id": "3d8b84b53a6cbec6e3c9858218cd31a4ab50a279", "size": "125", "binary": false, ...
(function (domGlobals) { 'use strict'; var Cell = function (initial) { var value = initial; var get = function () { return value; }; var set = function (v) { value = v; }; var clone = function () { return Cell(get()); }; return { ...
{ "content_hash": "5e5545e598d4264288f932626c4ecc33", "timestamp": "", "source": "github", "line_count": 1813, "max_line_length": 155, "avg_line_length": 31.217319360176504, "alnum_prop": 0.5444104811209075, "repo_name": "extend1994/cdnjs", "id": "3bef323f157869858a54c45f760c737943cc36dd", "size": "...
<?php namespace Sabre\VObject; use Sabre\Xml; class Writer { /** * Serializes a vCard or iCalendar object. * * @param Component $component * * @return string */ public static function write(Component $component) { return $component->serialize(); } /** ...
{ "content_hash": "7d64616555a16f11daa3239d12b3646c", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 74, "avg_line_length": 21.875, "alnum_prop": 0.5635714285714286, "repo_name": "linagora/sabre-vobject", "id": "c70a6ae4d4fbd2d6ae7abb905fbc2e1e3bc9e086", "size": "1709", ...
from django.test import SimpleTestCase from corehq.apps.users.admin import CustomUserAdmin class CustomUserAdminTest(SimpleTestCase): def test_fieldsets(self): """ Test that the value of CustomUserAdmin.fieldsets, dynamically calculated by removing fields from UserAdmin, matches ...
{ "content_hash": "43237152143e14f111cd56187fea5b10", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 85, "avg_line_length": 39.583333333333336, "alnum_prop": 0.6378947368421053, "repo_name": "dimagi/commcare-hq", "id": "28063745a3868710d069fb87016a43a71318e315", "size": "9...
What happens when you press the power button TBD ## TODO - [ ] run level
{ "content_hash": "ef47227064a7e70a9c6ba50590645dc1", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 44, "avg_line_length": 10.857142857142858, "alnum_prop": 0.6842105263157895, "repo_name": "at15/sre-handbook", "id": "9480ec535df59e4f66b9bb557ff63acc20adc318", "size": "91"...
Rails.application.routes.draw do mount JasmineRails::Engine => '/specs' if defined?(JasmineRails) # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". root 'breathe#index', as: 'root' post '/city_data' => 'cities#city_dat...
{ "content_hash": "c757bd89ce2db493674606d3fd003b90", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 84, "avg_line_length": 28.891304347826086, "alnum_prop": 0.6482317531978932, "repo_name": "simonmaude/breathe-cal", "id": "b6bddbe0e07848a5d2021a72cb683857678735a3", "size"...
@extends('shop::base') @section('aimeos_body') Privacy policy page @stop
{ "content_hash": "ae1bf29c8075379a7e1dfaa27f6ca9f8", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 23, "avg_line_length": 15, "alnum_prop": 0.7066666666666667, "repo_name": "Yvler/aimeos-laravel", "id": "a044886e11bc7a54d64d00703bd0a285dcfabdbd", "size": "75", "binary":...
@class DLCImagePickerController; @protocol DLCImagePickerDelegate <NSObject> @optional - (void)imagePickerController:(DLCImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info; - (void)imagePickerControllerDidCancel:(DLCImagePickerController *)picker; @end @interface DLCImagePickerControlle...
{ "content_hash": "4ec33c47d93b326d87e48e12010ac542", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 120, "avg_line_length": 48.3235294117647, "alnum_prop": 0.8265368228849665, "repo_name": "wilferrel/AGACameraAndPictureFilter", "id": "f8dfd25e30f75cc8d4e42bab3ee415c4dc779b7...
0.12.15 (Mar 2018) ================== Bokeh Version ``0.12.15`` is an incremental update that adds a few important features and fixes several bugs. Some of the highlights include: * Addressed several WebGL bugs :bokeh-issue:`6867`, :bokeh-issue:`7087`, :bokeh-issue:`7211`, :bokeh-issue:`7681` * Switched to Chrome he...
{ "content_hash": "d1bc588651b4734d9fdc874ee2277a73", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 120, "avg_line_length": 35.80487804878049, "alnum_prop": 0.7286557674841053, "repo_name": "Karel-van-de-Plassche/bokeh", "id": "f0fb4ae07aa4f1b4941a710a238b0ef6ea98c28c", ...
<!DOCTYPE HTML> <html lang="de"> <head> <!-- Generated by javadoc (18) --> <title>Source code</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="source: package: com.restfb.types.webhook, class: FeedReactionValue"> <meta name="generator" content="javadoc/Sourc...
{ "content_hash": "b606b5f0a9bb381b011f4bfa757b2955", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 207, "avg_line_length": 49.506493506493506, "alnum_prop": 0.6766789087093389, "repo_name": "restfb/restfb.github.io", "id": "4e385b7f8b5ea60af6e4ed237dee801512cf41f7", "si...
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('questions', '0053_related_name'), ('tasks', '0031_related_name'), ] operations = [ migrations.AddField( model_name='task', name='catalogs', field...
{ "content_hash": "9e4acbb35a2a3645b0699fd2e902c7ad", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 225, "avg_line_length": 32.11764705882353, "alnum_prop": 0.6282051282051282, "repo_name": "rdmorganiser/rdmo", "id": "e72ba4213277b239a27eaf8a199d3b79b5e7a002", "size": "59...
/** * @file **/ #pragma once #include <memory> #include <string> #include <unordered_map> #include <vector> #include "modules/planning/common/obstacle.h" namespace apollo { namespace planning { class PredictionQuerier { public: PredictionQuerier(const std::vector<const Obstacle*>& obstacles, ...
{ "content_hash": "8079bcb851dd0cad7bfb7dc30781fb87", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 74, "avg_line_length": 23.11904761904762, "alnum_prop": 0.631307929969104, "repo_name": "jinghaomiao/apollo", "id": "6bdd9d9bd4fa785c9b5dd1b070a3e78094f06f9a", "size": "174...
/* * 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": "bd0bdea63150093b21229d1cb6b187c8", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 100, "avg_line_length": 34.25925925925926, "alnum_prop": 0.7335135135135135, "repo_name": "smartnews/presto", "id": "79068b83e17522472ef51e7677a6ff88282ccab2", "size": "185...
function displayMWError() { kony.ui.Alert("Middleware Error ", null, "error", null, null); }; function displaySessionError() { kony.ui.Alert("Session Expired .. Please re-login", null, "error", null, null); }; function displayError(code, msg) { // Commented for SWA: kony.ui.Alert("Error Code: "..code .." ...
{ "content_hash": "db2e329320280698f0995ecbfb30efb4", "timestamp": "", "source": "github", "line_count": 327, "max_line_length": 200, "avg_line_length": 40.91437308868502, "alnum_prop": 0.6240376709769041, "repo_name": "kony/OAuthSample", "id": "3c66333e5e7df7db5daeb6a040a09d5cf967e639", "size": "13...
using System; using Gtk; using OpenTK; using OpenTK.Input; using Sharp; using Sharp.Editor.Views; using System.IO; using System.Security.Cryptography; using System.Collections.Generic; using Antmicro.Migrant; using System.Text; //gwen to sharp.ui public partial class MainWindow : Gtk.Window { public static Vector2 l...
{ "content_hash": "4a8f3ff0bcf20d8f7fe2650f64d5aa22", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 112, "avg_line_length": 28.123404255319148, "alnum_prop": 0.7212891511575125, "repo_name": "BreyerW/Sharp.Engine", "id": "92739bd0d69c3b81f4103ed279ffdf504dfd4df2", "size"...
import tensorflow as tf import tensorflow_transform as tft from tensorflow.keras.callbacks import TensorBoard from tensorflow_hub import KerasLayer from tensorflow.keras.layers import Dense from tensorflow.keras.models import Sequential from tfx_bsl.tfxio import dataset_options from config import ( HUB_URL, H...
{ "content_hash": "df293312802fb2925bad0ec351da6f37", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 83, "avg_line_length": 31.676190476190477, "alnum_prop": 0.6268791340950091, "repo_name": "GoogleCloudPlatform/mlops-on-gcp", "id": "74d8daaaf435ce624ea1437b2700536f65ac59cb...
/* global require, module */ var mergeTrees = require('broccoli-merge-trees'); var pickFiles = require('broccoli-static-compiler'); var EmberApp = require('ember-cli/lib/broccoli/ember-app'); var app = new EmberApp({ fingerprint: { enabled: false } }); app.import('bower_components/fuse.js/src/fuse.js'); var...
{ "content_hash": "18c9a7b0abdb43e20ed77bca97d9426e", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 64, "avg_line_length": 30.470588235294116, "alnum_prop": 0.7200772200772201, "repo_name": "netguru/review-chrome-extension", "id": "623c11915fcb73dc08da610d51e601150c6812e1",...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vIBM 2.2.3-11/28/2011 06:21 AM(foreman)- // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. ...
{ "content_hash": "966af05281a1ff0b749343039e2bae2b", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 153, "avg_line_length": 37.477551020408164, "alnum_prop": 0.6162056196906992, "repo_name": "papegaaij/jsr-352", "id": "b43777bba5faad6cacc0adea103bb1901f12e932", "size": "...
[![Build Status](https://travis-ci.org/T-Wong/asf.svg?branch=master)](https://travis-ci.org/T-Wong/asf) [![Cookbook Version](https://img.shields.io/cookbook/v/asf.svg)](https://supermarket.chef.io/cookbooks/asf) Installs and configures [ArchiSteamFarm](https://github.com/JustArchi/ArchiSteamFarm) on a server system. ...
{ "content_hash": "6138155150ccd96c526a7b9770474c0e", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 619, "avg_line_length": 45.54205607476636, "alnum_prop": 0.723373691770983, "repo_name": "T-Wong/asf", "id": "0e302b07d5f13275920d0f56cbcf7bdd8cd70f69", "size": "4890", ...
/* * UAVCAN data structure definition for libuavcan. * * Autogenerated, do not edit. * * Source file: /Users/bendyer/Projects/ARM/workspace/libuavcan/dsdl/uavcan/protocol/dynamic_node_id/server/30.AppendEntries.uavcan */ #ifndef UAVCAN_PROTOCOL_DYNAMIC_NODE_ID_SERVER_APPENDENTRIES_HPP_INCLUDED #define UAVCAN_PRO...
{ "content_hash": "abd77b02a91287e78edae84a0b3c1a6e", "timestamp": "", "source": "github", "line_count": 591, "max_line_length": 214, "avg_line_length": 32.46869712351946, "alnum_prop": 0.638073896503205, "repo_name": "PX4-Works/vectorcontrol", "id": "630fe0f8fe0e6f10bba4fc53c5d5d8fec089d2a8", "size...
export interface CoverageSummaryData { lines: Totals; statements: Totals; branches: Totals; functions: Totals; } export class CoverageSummary { constructor(data: CoverageSummary | CoverageSummaryData); merge(obj: CoverageSummary): CoverageSummary; toJSON(): CoverageSummaryData; isEmpty(): boo...
{ "content_hash": "0aa0d9ce64f93fe0cc9e30a7c2a6c7d4", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 105, "avg_line_length": 24.91891891891892, "alnum_prop": 0.7245119305856833, "repo_name": "pcclarke/civ-techs", "id": "fc8a8dedeb96f6b489d51d0263c7bfcf5a3590b5", "size": "...
/** * SaveAsFilePluginMenuAction.java * Created on 15.12.2005 * (c) 2005 by "Wolschon Softwaredesign und Beratung". * * Permission is granted to use, modify, publish and sub-license this code * as specified in the contract. If nothing else is specified these rights * are given non-exclusively with no restrict...
{ "content_hash": "fc0c79c986fe8a7c5f908a3e125858ed", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 115, "avg_line_length": 40.05084745762712, "alnum_prop": 0.6244181125687686, "repo_name": "nhrdl/javacash", "id": "d70924f7d096a56619f02507779780c450c9f4db", "size": "4726...
import { KubernetesObject } from 'kpt-functions'; import * as apisMetaV1 from './io.k8s.apimachinery.pkg.apis.meta.v1'; // TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver. export class TokenReview imp...
{ "content_hash": "cc94328fafbe70dc4eab5725ca1ffcbb", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 620, "avg_line_length": 49.63333333333333, "alnum_prop": 0.7700917841952093, "repo_name": "GoogleContainerTools/kpt-functions-catalog", "id": "ec78aebccf218376efc81ec9eb05c2c...
/** * Automatically generated file. DO NOT MODIFY */ package com.parse.ui; public final class BuildConfig { public static final boolean DEBUG = Boolean.parseBoolean("true"); public static final String APPLICATION_ID = "com.parse.ui"; public static final String BUILD_TYPE = "debug"; public static final String...
{ "content_hash": "b2238306b069570528d06d9bb987e221", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 67, "avg_line_length": 33, "alnum_prop": 0.7249417249417249, "repo_name": "HiiYL/MMU-Board-Android", "id": "10848d05a425a74c57978cdebe123c49cab25dcd", "size": "429", "bin...
package ckite.kvstore import java.nio.ByteBuffer import ckite.statemachine.StateMachine import ckite.util.Serializer import scala.collection.mutable.Map class KVStore extends StateMachine { private var map = Map[String, String]() private var lastIndex: Long = 0 def applyWrite = { case (index, Put(key: S...
{ "content_hash": "8e75a7440b056f7dcec268ec4e2ec4ed", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 77, "avg_line_length": 20.97142857142857, "alnum_prop": 0.6989100817438693, "repo_name": "pablosmedina/kvstore", "id": "a4ce7b76d3431738a4677d1d1f54a42d15e3a143", "size": "...
<?php declare(strict_types=1); return [ 'meta' => [ 'title' => 'Static method call statement of a class belonging to the global namespace which has been imported with a ' .'use statement in a namespace', // Default values. If not specified will be the one used 'prefix'...
{ "content_hash": "882a8a26b5e7b09cde7b0efb26e38593", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 126, "avg_line_length": 14.703389830508474, "alnum_prop": 0.5838616714697407, "repo_name": "webmozart/php-scoper", "id": "b51a3ea8ee59914fa383933a24d7428cf5981a27", "size"...
package edu.princeton.safe.internal.io; import java.io.BufferedReader; import java.io.IOException; import com.carrotsearch.hppc.ObjectIntHashMap; import edu.princeton.safe.internal.Util; import edu.princeton.safe.io.NetworkConsumer; import edu.princeton.safe.io.NetworkParser; public class TabDelimitedNetworkParser ...
{ "content_hash": "7515b338b60d4e8f08f348fcf7965b1b", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 77, "avg_line_length": 32.166666666666664, "alnum_prop": 0.5418825561312608, "repo_name": "jrrmzz/safe", "id": "22c16027f8884869e2e4c96ffb7c62f2bd4d7fef", "size": "2316", ...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in Docums Mycol. 20(no. 79): 61 (1990) #### Original name Melanoleuca polioleuca f. langei Boekhout, 1988 ### Remarks null
{ "content_hash": "3a14515bb38ba6caf9fd589ac02bda9b", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 47, "avg_line_length": 16, "alnum_prop": 0.7115384615384616, "repo_name": "mdoering/backbone", "id": "056df00e5308e2d7751f866d6def7dc7063a3465", "size": "271", "binary": ...
<?php require_once(realpath(dirname(__FILE__).'/../../../..').'/functional/helper/dmFunctionalTestHelper.php'); $helper = new dmFunctionalTestHelper(); $helper->boot('admin'); $browser = $helper->getBrowser(); $helper->logout(); $browser->info('Posts list') ->get('/content?skip_browser_detection=1') ->checks(array(...
{ "content_hash": "2b79fc8c7d02d7b6ed63da906582f122", "timestamp": "", "source": "github", "line_count": 430, "max_line_length": 160, "avg_line_length": 27.337209302325583, "alnum_prop": 0.6490854955338154, "repo_name": "PolibudaInfo/diem", "id": "1b43c9916812a39f069ba0b6c604fef3d4756470", "size": "...
Following command lines switches in Chrome browser are also Supported in Electron, you can use [app.commandLine.appendSwitch][append-switch] to append them in your app's main script before the [ready][ready] event of [app][app] module is emitted: ```javascript var app = require('app'); app.commandLine.appendSwitch('re...
{ "content_hash": "0c983fa9056a02ed97759be31bb38937", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 79, "avg_line_length": 31.825581395348838, "alnum_prop": 0.7398611618560468, "repo_name": "ibare/Electron-KitchenSink", "id": "de124ac8ceba1912f0864044a6a195562464cb66", "s...
@interface ABI42_0_0EXSMSModule () <MFMessageComposeViewControllerDelegate> @property (nonatomic, weak) id<ABI42_0_0UMUtilitiesInterface> utils; @property (nonatomic, strong) ABI42_0_0UMPromiseResolveBlock resolve; @property (nonatomic, strong) ABI42_0_0UMPromiseRejectBlock reject; @end @implementation ABI42_0_0EXSM...
{ "content_hash": "5096073d0c75f92a89b3a4c5abde77e3", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 150, "avg_line_length": 37.66115702479339, "alnum_prop": 0.6892692560895326, "repo_name": "exponent/exponent", "id": "81488007cd89157d90eb2b4eefd2f52319ce6c71", "size": "4...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>classical-realizability: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../b...
{ "content_hash": "128d389a41c5dd4492954e9975589dd5", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 340, "avg_line_length": 45.133720930232556, "alnum_prop": 0.5651165786422775, "repo_name": "coq-bench/coq-bench.github.io", "id": "b5f9356e1b7f5a68122ed80f13a96e31adcd969f",...
export default (app) => { const headers = { 'Accept': 'application/json', 'Content-Type': 'application/json', 'csrf-token': window.csrf } app.on('POST:article', data => { fetch(`/api/${packageName}`, { method: 'post', credentials: 'same-origin', headers, body: JSON.string...
{ "content_hash": "a9ea56383a2e7cfae4b38e10eaf89c46", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 62, "avg_line_length": 25.436363636363637, "alnum_prop": 0.5632594710507506, "repo_name": "imperodesign/clever-articles", "id": "8a23019378ecc3403c57efde62efeff42ab5cbe8", ...
<?php namespace Gpupo\SubmarinoSdk\Entity\Product; use Gpupo\CommonSdk\Entity\EntityAbstract; use Gpupo\CommonSdk\Entity\EntityInterface; class MarketStructure extends EntityAbstract implements EntityInterface { public function getSchema() { return [ 'categoryId' => 'integer', ...
{ "content_hash": "32f0a7acb18b61890c68e9eb0702628b", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 71, "avg_line_length": 21.80952380952381, "alnum_prop": 0.6157205240174672, "repo_name": "mobly/submarino-sdk", "id": "32c5a3e882e56b6c608e31fc16f32618bc3dc2aa", "size": "6...
using System; class HexadecimalToBinary { static void Main() { string hexNumber = Console.ReadLine(); char[] hexNumberCharArray = hexNumber.ToCharArray(); string[] hexNumberArray = new string[hexNumberCharArray.Length]; for (int i = 0; i < hexNumberCharArray.Length; i++) ...
{ "content_hash": "ec154e180d2ede00b0791b8af78afeca", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 72, "avg_line_length": 26.646153846153847, "alnum_prop": 0.5098152424942263, "repo_name": "hackohackob/TelerikAcademy", "id": "a028554cb56075b184328de0b8b4e2e33fb14d74", "s...
package org.apache.isis.applib.annotation; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * @deprecated - use {@link Property#maxLength()} and {@link Paramete...
{ "content_hash": "1c680d0b73ef7afe22218563c58d03e1", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 96, "avg_line_length": 26.36, "alnum_prop": 0.7405159332321699, "repo_name": "niv0/isis", "id": "0a17193a24b61073f91a8251b920f018ccfba7d3", "size": "1484", "binary": fals...
<!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_60-ea) on Thu Dec 15 09:48:38 EST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Interface org.wil...
{ "content_hash": "eb5da7a210605f367701bd6e831735ef", "timestamp": "", "source": "github", "line_count": 206, "max_line_length": 641, "avg_line_length": 56.970873786407765, "alnum_prop": 0.6735685071574642, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "95751388a500069ca1bb22a7749d42242af...
describe('Transition', function () { var transition = require('vue/src/transition'), config = require('vue/src/config'), codes = transition.codes, endEvents = transition.sniff(), enterClass = config.enterClass, leaveClass = config.leaveClass, nextTick = V...
{ "content_hash": "1537c88e81da258e86f2484780090fc3", "timestamp": "", "source": "github", "line_count": 359, "max_line_length": 102, "avg_line_length": 32.239554317548745, "alnum_prop": 0.46284776222567825, "repo_name": "ryogeisya/vue", "id": "7aa32d9e897e4087ecd96907e31d2b4a5e3a00b0", "size": "115...
namespace impala { // Returns a value representing a point in time with microsecond accuracy that is // unaffected by daylight savings or manual adjustments to the system clock. This should // not be assumed to be a Unix time. Typically the value corresponds to elapsed time // since the system booted. See UnixMillis()...
{ "content_hash": "056e89168d0df40da89edc72f70ecbe8", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 88, "avg_line_length": 33.53658536585366, "alnum_prop": 0.7396363636363636, "repo_name": "ImpalaToGo/ImpalaToGo", "id": "fa44ef141e7f3440dc850bbd58171aefb992d1f8", "size": ...
<?xml version="1.0"?> <entry type="method" name="jQuery.extend" return="Object"> <title>jQuery.extend()</title> <signature> <added>1.0</added> <argument name="target" type="Object"> <desc> An object that will receive the new properties if additional objects are passed in or that will extend the jQuery...
{ "content_hash": "5633afb9e48104db43c282a898bd7ca0", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 458, "avg_line_length": 49.862385321100916, "alnum_prop": 0.6840846366145354, "repo_name": "phax/ph-oton", "id": "ee6fb4a70744da100fe6756fce16368dc8c9f0d5", "size": "5435"...
package org.carlspring.strongbox.cron; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.repository.metadata.Metadata; import org.apache.maven.artifact.repository.metadata.Versioning; import org.carlspring.strongbox.cron.api.jobs.RebuildMavenMetadataCronJob; import org.carlspring.strongbox.c...
{ "content_hash": "92b945829f49127142b409ec4bda71c6", "timestamp": "", "source": "github", "line_count": 328, "max_line_length": 122, "avg_line_length": 43.75609756097561, "alnum_prop": 0.6462513935340022, "repo_name": "nenko-tabakov/strongbox", "id": "9599c6f70c0634b2383b60d341a127eb5e74a486", "siz...
''' Bokeh Application Handler to look for Bokeh server lifecycle callbacks in a specified Python module. ''' #----------------------------------------------------------------------------- # Boilerplate #----------------------------------------------------------------------------- from __future__ import annotations i...
{ "content_hash": "356b1222b245c7f6fddbfd01e822d34f", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 111, "avg_line_length": 35.81060606060606, "alnum_prop": 0.4482758620689655, "repo_name": "bokeh/bokeh", "id": "ed88b030654f25f378892451b7f0957f4b8bdf3e", "size": "5058", ...
import cgi import random import shlex import logging import traceback import oembed import jinja2 from operator import attrgetter from urlparse import urlparse, urlunparse import pymongo from pylons import tmpl_context as c, app_globals as g from pylons import request from paste.deploy.converters import asint from Bea...
{ "content_hash": "01626e35016df3dc27659345c9ac2633", "timestamp": "", "source": "github", "line_count": 457, "max_line_length": 113, "avg_line_length": 36.11159737417943, "alnum_prop": 0.5922559534630067, "repo_name": "heiths/allura", "id": "c65c504c0488bfb1d3c2e631468aa2cee9ccc7d5", "size": "17373...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="cn.iflyapi.blog.dao.UserMapper"> <resultMap id="BaseResultMap" type="cn.iflyapi.blog.entity.User"> <id column="user_id" jdbcType="BIGINT" property="...
{ "content_hash": "459da52e8a922fad862d414ad82d57ab", "timestamp": "", "source": "github", "line_count": 495, "max_line_length": 113, "avg_line_length": 36.484848484848484, "alnum_prop": 0.5770764119601329, "repo_name": "flyhero/flyapi", "id": "0e2a1d88cd3711f3529857f32594847b51cdb4af", "size": "180...
<?php namespace App\Http\Controllers\Admin\Settings; use App\Http\Requests; use App\Http\Controllers\Controller; use App\Model\Groups; use Illuminate\Http\Request; use App\User; use Bllim\Datatables\Datatables; use Illuminate\Support\Facades\Auth; class UserController extends Controller { /** * User Mode...
{ "content_hash": "0a345183a2568ba89b6c9e724aba0dcc", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 380, "avg_line_length": 32.31547619047619, "alnum_prop": 0.560508380917296, "repo_name": "faozimipa/basecms-laravel", "id": "729405ec67c83c2fb2dc0befce469f864764f707", "si...
require 'test_helper' class TestCoinList < Minitest::Test COINLIST_TOP_LEVEL_RESPONSE_KEYS = %w[ Response Message BaseImageUrl BaseLinkUrl DefaultWatchlist Data Type ].freeze COIN_DATA_KEYS = %w[ Id Url Name Symbol CoinName FullName Algorithm ProofType...
{ "content_hash": "adcc6daa541256b1208311521dc08426", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 57, "avg_line_length": 17.97826086956522, "alnum_prop": 0.6287787182587666, "repo_name": "alexanderdavidpan/cryptocompare", "id": "f0503d0b3aff70606cbc5fffb535784fc698cc97", ...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">PracticalTest02</string> <string name="hello_world">Hello world!</string> <string name="action_settings">Settings</string> <string name="server">Server</string> <string name="server_port">Port</string> <string name="conn...
{ "content_hash": "39151eaa669442912b263b30f560c71d", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 52, "avg_line_length": 36, "alnum_prop": 0.6777777777777778, "repo_name": "MadalinaGrosu/PracticalTest02", "id": "52f9ae6ae4bf16a5d64593e17fcb41240b4b5a1a", "size": "540", ...
export DEST_TYPE="maprdb" # Dealing with bad data # Set to 1 to remove fields, starting left to right in the variable REMOVE_FIELDS to see if the json parsing works export REMOVE_FIELDS_ON_FAIL=1 # If REMOVE_FIELDS_ON_FAIL is set to 1, and there is an error, the parser will remove the data from fields left to right, ...
{ "content_hash": "4bdb1843bfcf9ada6fab18012603930a", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 246, "avg_line_length": 56.54621848739496, "alnum_prop": 0.7510774260662803, "repo_name": "JohnOmernik/pyetl", "id": "eec77e0f418c4931b458205d68498f1bef25ba0a", "size": "6...
<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> <parent> <groupId>com.mcleodmoores.starling.platform</groupId> <a...
{ "content_hash": "e63e19457339c0feb91570d27bc29ccb", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 104, "avg_line_length": 34.05128205128205, "alnum_prop": 0.7048192771084337, "repo_name": "McLeodMoores/starling", "id": "2193a02dfbeaf07f9fcee85dbd04e15c4a6e2907", "size":...
module DSLMacros module InstanceMethods def capture_stdout @@original_stdout = STDOUT $stdout = StringIO.new end def restore_stdout $stdout = @@original_stdout end end module ClassMethods def it_should_return_true(msg, &block) it "returns true #{msg}" do captu...
{ "content_hash": "9e1ea79cf777261b8c9716825dfb3c83", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 146, "avg_line_length": 33.72, "alnum_prop": 0.5862396204033214, "repo_name": "alainravet/fail_fast", "id": "ac72b4c01128e631fff54424441935bc176dca4c", "size": "4216", "...
""" test_romannumeral ---------------------------------- Tests for `romannumeral` module. """ import unittest from romannumeral import RomanNumeral from romannumeral import ParseError from romannumeral import OutOfRangeError class TestRomannumeral(unittest.TestCase): def setUp(self): pass def te...
{ "content_hash": "af2a6e9b24572b2cf2840a8da3eb3a97", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 74, "avg_line_length": 28.765625, "alnum_prop": 0.5760456273764258, "repo_name": "jay3686/romannumeral", "id": "c76802f2f79ee70c0d3a1d61fe181dd2b9dd40bb", "size": "3729", ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <head> <meta content="text/html; charset=UTF-8" http-equiv="content-type"> <title>Shadow Animation</title><link rel="stylesheet" href="small_farm_shadows_Aug15.css"> <script src=...
{ "content_hash": "3922b582fdb96958e5f5f0f1bbf2cf56", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 121, "avg_line_length": 45.857142857142854, "alnum_prop": 0.6344755970924195, "repo_name": "jblindsay/jblindsay.github.io", "id": "549c1197725fb783c97b4819b0331cedefe33235", ...
package org.h2.store.fs; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.nio.ByteBuffer; import java.nio.channels.FileChannel; import java.nio.channels.FileLock; import java.nio.channels.NonWritableChannelException; import java.util.ArrayList; import java.util.LinkedHa...
{ "content_hash": "c9154956317cbd82864ca286c70ebbfe", "timestamp": "", "source": "github", "line_count": 684, "max_line_length": 84, "avg_line_length": 25.252923976608187, "alnum_prop": 0.5316389741214612, "repo_name": "vdr007/ThriftyPaxos", "id": "524c6bd0be03ee7b27a0aa2bc51952bea25a25e3", "size": ...
// // use_future.hpp // ~~~~~~~~~~~~~~ // // Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef ASIO_USE_FUTURE_HPP #define ASI...
{ "content_hash": "dcff5fd8b5c9423bee63b5c59f343a2d", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 80, "avg_line_length": 28.792079207920793, "alnum_prop": 0.717331499312242, "repo_name": "mojmir-svoboda/DbgToolkit", "id": "15136a86c8ef7bfdfe808b9c8c8cc71346f29143", "si...
{ it("should trim spaces", function() { expect(trim(" foo ")).toEqual("foo"); }); it("should trim tabs", function() { expect(trim("\tfoo\t")).toEqual("foo"); }); }
{ "content_hash": "54e8abf8ec76944c0101358e5406df13", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 43, "avg_line_length": 22.75, "alnum_prop": 0.5384615384615384, "repo_name": "stas-vilchik/bdd-ml", "id": "7a4aaccf69d1b13af27bd2f3baed3e52ce863bf2", "size": "182", "binar...
<?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.CardView android:id="@+id/cv_bangumi" 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="wrap_content" android:...
{ "content_hash": "a5d5e45e025794878d79e7abc900e604", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 62, "avg_line_length": 36.48936170212766, "alnum_prop": 0.6262390670553936, "repo_name": "succlz123/BlueTube", "id": "b365d7b6ff76e4655459ba402e0237486862a2c4", "size": "17...
package org.talend.components.salesforce; import org.talend.components.api.properties.ComponentBasePropertiesImpl; import org.talend.daikon.properties.presentation.Form; import org.talend.daikon.properties.presentation.Widget; import org.talend.daikon.properties.property.Property; import java.util.EnumSet; import st...
{ "content_hash": "08216698226b4c80767f2fa9bc562400", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 91, "avg_line_length": 35.92307692307692, "alnum_prop": 0.7248394004282656, "repo_name": "Talend/components", "id": "38ab2f0a1bd444a90074a44650d54c9e3c92f9e5", "size": "238...
package edu.gemini.p1monitor.fetch import javax.servlet.http.HttpServletRequest import edu.gemini.model.p1.immutable.SpecialProposalType /** * A servlet request wrapper that makes it convenient to obtain the request * parameters in a format that the servlet can use. */ object FetchRequest { val DIR_PARAM = "dir"...
{ "content_hash": "664773c19347c887985c3b9fbd39534d", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 90, "avg_line_length": 32.733333333333334, "alnum_prop": 0.725050916496945, "repo_name": "arturog8m/ocs", "id": "b09d9aa8d4da0578071db230dae91b0de967ee78", "size": "982", ...
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <title>Explain Git with D3</title> <script data-main="js/main" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.4/require.min.js"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/n...
{ "content_hash": "0e87ef695ace8accf3bd018f077a3f73", "timestamp": "", "source": "github", "line_count": 564, "max_line_length": 185, "avg_line_length": 42.505319148936174, "alnum_prop": 0.5615484086263713, "repo_name": "majidmosafer/jahad", "id": "8122cd89e83429abcb7ffd09209c4a84b97a26b5", "size": ...
Each sketch can have Intelligence items associated with it. This comes in the form of simple strings extracted from events, usually as IOCs. (e.g. a suspicious IP address in a log file that you want to highlight.) Intelligence entries have the following, simple format; ```json { "externalURI" :"yeti/127.0.0.1" "...
{ "content_hash": "8abb93accdd53f1df28a441108e6d8bc", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 426, "avg_line_length": 40.65079365079365, "alnum_prop": 0.7532213978914487, "repo_name": "google/timesketch", "id": "599d9f041ed74cf70fd42c6bbae50af48cae7cd0", "size": "25...
package org.orekit.time; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.orekit.Utils; import org.orekit.utils.Constants; public class GPSScaleTest { @Test public void testT0() { TimeScale scale = TimeScalesFactory.getGP...
{ "content_hash": "b663ba1e17a00339f4aace28a0d4697d", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 109, "avg_line_length": 38.69444444444444, "alnum_prop": 0.6274228284278536, "repo_name": "CS-SI/Orekit", "id": "c33015c59144f1de847f8c605c728bfed2167fa4", "size": "3586", ...
<head> <title>InstantILL</title> <link rel="stylesheet" href="/static/oabutton_rebrand.css"> <!-- gets the new css (still also uses the old css, just overwrites where necessary) --> <meta name="description" content="InstantILL instantly delivers papers your patrons need from your holdings, Open Access and simplif...
{ "content_hash": "6631835dddada6a6aad1a9c2129081e6", "timestamp": "", "source": "github", "line_count": 861, "max_line_length": 824, "avg_line_length": 52.53658536585366, "alnum_prop": 0.6381482955299111, "repo_name": "OAButton/website", "id": "b4b87a80ea00a34728981bfd4482ded753572505", "size": "45...
<!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_45) on Fri Aug 28 09:51:24 EDT 2015 --> <title>ResourceWatcher (apache-cassandra API)</title> <meta name="date" content="2015-08-28"> <link rel...
{ "content_hash": "4288a5d522a5890192123734e8166428", "timestamp": "", "source": "github", "line_count": 295, "max_line_length": 389, "avg_line_length": 35.932203389830505, "alnum_prop": 0.6410377358490567, "repo_name": "mitch-kyle/message-board", "id": "cc2411f455ee1ad5597cc491ab568e560988e294", "s...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
{ "content_hash": "64297debf509964a61781b6e5606e4f1", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 182, "avg_line_length": 42.819047619047616, "alnum_prop": 0.734653024911032, "repo_name": "googleapis/google-api-java-client-services", "id": "babf04874adfddfdda916a0df99ac1...
"""Tests boosted_trees prediction kernels.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function from google.protobuf import text_format from tensorflow.core.kernels.boosted_trees import boosted_trees_pb2 from tensorflow.python.framework import test_util from t...
{ "content_hash": "3b9e11bc28e3c1217107be0b1f6f61f4", "timestamp": "", "source": "github", "line_count": 902, "max_line_length": 80, "avg_line_length": 29.446784922394677, "alnum_prop": 0.503708444712172, "repo_name": "eaplatanios/tensorflow", "id": "54f33f336015cc9cb50658941b8e157cc1b94df9", "size"...
import { Theme } from './createTheme'; import { Breakpoint } from './createBreakpoints'; import { Variant } from './createTypography'; export interface ResponsiveFontSizesOptions { breakpoints?: Breakpoint[]; disableAlign?: boolean; factor?: number; variants?: Variant[]; } export default function responsiveFo...
{ "content_hash": "40b4f767c4363a3a09528345e4afc126", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 49, "avg_line_length": 26.333333333333332, "alnum_prop": 0.739240506329114, "repo_name": "cdnjs/cdnjs", "id": "ca94fecd36328d7d953ce94093501164eb89fce3", "size": "395", "...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writi...
{ "content_hash": "08506186f8e9c01ea64d388d278a6667", "timestamp": "", "source": "github", "line_count": 1074, "max_line_length": 156, "avg_line_length": 41.25232774674115, "alnum_prop": 0.5280668096151676, "repo_name": "nandakumar131/hadoop", "id": "a35d832a76c049f76ad0376a378caea9a18be69a", "size"...
require './lib/writetheman' require 'factory_girl' require 'faker' require 'shared_values' FactoryGirl.find_definitions # This file was generated by the `rspec --init` command. Conventionally, all # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`. # Require this file using `require "spec_hel...
{ "content_hash": "c45e12d7c0b0edb6aa328e056ad54fee", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 77, "avg_line_length": 35.666666666666664, "alnum_prop": 0.7441588785046729, "repo_name": "davidtysman/writetheman", "id": "a3e1df560dba1452f859853e86f042edd7a73941", "size...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Walty</title> <link rel="stylesheet" href="foundation/css/foundation.css" /> <link rel="stylesheet" href="css/home-page.css"/> <link rel="stylesheet" href="foundation/foundation-icons...
{ "content_hash": "f0c9f4555359109c194ad7e4251ed5fa", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 180, "avg_line_length": 35.8155737704918, "alnum_prop": 0.5533813937521456, "repo_name": "aninternetof/walty", "id": "b983bb7b2ffd87f1ed52fbe8f3830798d175d637", "size": "8...
zomb-y-site =========== The official website of Zomb-Y.
{ "content_hash": "9c644279151f39786d552c9002446bd4", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 31, "avg_line_length": 14, "alnum_prop": 0.6071428571428571, "repo_name": "zomb-y/zomb-y-site", "id": "5b2e30be611dadd15ba145fac9f263b81a8cebc1", "size": "56", "binary": f...
using namespace llvm; namespace { class SpecialCaseListTest : public ::testing::Test { protected: std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List, std::string &Error) { std::unique_ptr<MemoryBuffer> MB = MemoryBuffer::getMemBuffer(List);...
{ "content_hash": "fe86a1511548cf9559fb2f014bf9ec78", "timestamp": "", "source": "github", "line_count": 233, "max_line_length": 87, "avg_line_length": 43.21888412017167, "alnum_prop": 0.564051638530288, "repo_name": "GPUOpen-Drivers/llvm", "id": "2245588d97cae6c82c9a3a72345e2a2e71992e8f", "size": "...
using System; using System.Linq.Expressions; namespace Atata { /// <summary> /// Represents the hierarchical control (a control containing structured hierarchy of controls of <typeparamref name="TItem"/> type). /// Default search finds the first occurring element. /// </summary> /// <type...
{ "content_hash": "15dd9365d7423d903e7af82c21b259be", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 137, "avg_line_length": 47.926829268292686, "alnum_prop": 0.6371501272264631, "repo_name": "YevgeniyShunevych/Atata", "id": "811437217632c614bdd4dbf04a06b9f741df1ec9", "siz...
set :css_dir, 'css' set :js_dir, 'js' set :images_dir, 'images' # Make Bower & NPM files available to Sprockets sprockets.append_path File.join root, 'bower_components' sprockets.append_path File.join root, 'node_modules' # Configure Babel require 'babel' ::Babel.options do |o| o[:loose] = %w{es6.classes es6.module...
{ "content_hash": "4729d301590c5d307c981545351d64fd", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 92, "avg_line_length": 26.785714285714285, "alnum_prop": 0.6471111111111111, "repo_name": "70mainstreet/sprockets-babel-demo", "id": "1f24d3d07faf1fd19a08778e9b04a6ed4033d2bb...
"""Example code for Service : ReportDefinitionService Operation: mutate (ADD) API Reference: https://github.com/yahoojp-marketing/sponsored-search-api-documents/blob/201901/docs/en/api_reference/services/ReportDefinitionService.md Generated by 'api_reference_example_generator.py' using code template 'examples/sample_t...
{ "content_hash": "dcc0790864a37113feba4e42144dd190", "timestamp": "", "source": "github", "line_count": 166, "max_line_length": 152, "avg_line_length": 25.548192771084338, "alnum_prop": 0.5201603395425607, "repo_name": "becomejapan/yahooads-python-lib", "id": "9c2114384b5217d56898f991e5f1c9cc14ceb96d...
import React, { PropTypes } from 'react'; import Arbiter from 'promissory-arbiter'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './Home.css'; import Graph from '../../components/Graph/Graph'; class Home extends React.Component { static propTypes = { news: PropTypes.arrayOf(P...
{ "content_hash": "d0cbbad8bf420e7d1bffa282cbc1504e", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 85, "avg_line_length": 24.29268292682927, "alnum_prop": 0.6204819277108434, "repo_name": "chakshuahuja/crunchgraph", "id": "a6555788df153d2c17b9289c5412135527f56772", "size...
package pkg import ( "os" "path" "strings" "github.com/pinpt/dialect/pkg/types" ) // SingleSymbolProcessor can be used when you only have a single symbol which designates the line is a comment func SingleSymbolProcessor(commentSymbol string, line *types.DialectLine) { if strings.HasPrefix(line.Contents, comment...
{ "content_hash": "a8c6d8abcb23fb6e97184dfe495fe320", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 110, "avg_line_length": 23.906976744186046, "alnum_prop": 0.7237354085603113, "repo_name": "pinpt/dialect", "id": "7f65c0effa78d3962297056da218d2a1681bc5e3", "size": "1028"...
package org.apache.harmony.test.func.reg.vm.btest6008; import java.util.logging.Logger; import org.apache.harmony.test.share.reg.CrashTest; public class Btest6008 extends CrashTest { public static void main(String[] args) { System.exit(new Btest6008().test(Logger.global, args)); } public int...
{ "content_hash": "9b8353025fec867b2d7d52b8f97f3c66", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 84, "avg_line_length": 30.11111111111111, "alnum_prop": 0.6937269372693727, "repo_name": "freeVM/freeVM", "id": "6e21bb35d93197cdcb47ac87aaf39fcc57518fa5", "size": "1354", ...
<?php defined('SYSPATH') or die('No direct script access.'); class Kohana_HAPI_Security { /** * Login using HTTP Basic Auth. `username` and `api_token` columns are used for authentication. * * @param string $authorization_string HTTP 'Authorization' header value * @return bool|Model_User Logged in user or fa...
{ "content_hash": "b9c9282ddeac827f6b3e87faf53b7477", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 96, "avg_line_length": 25.211382113821138, "alnum_prop": 0.6507578200580458, "repo_name": "anroots/kohana-hapi", "id": "20529be19a5ee630c781a8cf00bab6b6633223a4", "size": ...
package dk.brics.tajs.monitoring.inspector.datacollection; import java.net.URL; import java.util.Objects; /** * Represents a line of source code. */ public class SourceLine { private final URL location; private final int line; public SourceLine(URL location, int line) { this.location = loca...
{ "content_hash": "112658fc4d2fe1acae9df85d8312acd0", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 66, "avg_line_length": 20.404255319148938, "alnum_prop": 0.5964546402502607, "repo_name": "cs-au-dk/TAJS", "id": "c71da980131b0888f4ba9f4e9b6fe1018feed762", "size": "1564",...
package com.amazonaws.services.accessanalyzer.model.transform; import java.util.Map; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.services.accessanalyzer.model.*; import com.amazonaws.protocol.*; import com.amazonaws.annotation.SdkInternalApi; /** * KmsGrantCon...
{ "content_hash": "a7fad52d036f10c80225455c0bfb2b7f", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 124, "avg_line_length": 37.97959183673469, "alnum_prop": 0.7571198280494358, "repo_name": "aws/aws-sdk-java", "id": "4a189ae5e9dc513bdcf510a4f9a805f7bc35b6aa", "size": "244...
@interface MainViewController : UIViewController<ScrollMenuBarDelegate, UITableViewDataSource, UITableViewDelegate> @end
{ "content_hash": "d8dfd55d222e3115e71988ab6f4a5884", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 115, "avg_line_length": 24.8, "alnum_prop": 0.8629032258064516, "repo_name": "tjnet/MultipleTableViewModernNewsApp", "id": "33cf707efcb14b11435f89a5542f921feb45b8c1", "size"...
module HTTP class RequestStream # CRLF is the universal HTTP delimiter CRLF = "\r\n" def initialize(socket, body, headers, headerstart) @body = body raise ArgumentError, "body of wrong type" unless valid_body_type @socket = socket @headers = headers ...
{ "content_hash": "7fe30d4a227690e8bcec9cf194adc677", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 84, "avg_line_length": 27.272727272727273, "alnum_prop": 0.6071428571428571, "repo_name": "cloudbearings/Personalization-framework", "id": "6983ec607fc179d1ab1bc70c65a4227572...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache Lic...
{ "content_hash": "d6d2e75ff99f2c7b82a720bce618ad91", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 204, "avg_line_length": 36.677083333333336, "alnum_prop": 0.5793808577108776, "repo_name": "gnodet/camel", "id": "a08404f9dfdb4311b719f219d676032f6fb5c91f", "size": "7042"...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 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": "5736e86fd9d86bed2ab7b3f16d48be5a", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 77, "avg_line_length": 37.28155339805825, "alnum_prop": 0.6638020833333333, "repo_name": "juandesi/android-wear-voice-message", "id": "4055a79bd6c4f33ca78be0de9fddab577d7119...
<?php namespace Gobie\Debug\Message\Start\GlobalDumpers; /** * Dumper pro HTTP response. */ class ResponseGlobalDumper implements IGlobalDumper { /** * Vrátí data k dumpnutí. * * @return mixed */ public function getData() { $response = $matches = array(); foreach (he...
{ "content_hash": "ea6e7dad019f5d22dd6278afeb1cd9d4", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 64, "avg_line_length": 18.243243243243242, "alnum_prop": 0.5155555555555555, "repo_name": "Gobie/debug", "id": "7255e10a7c66ab7d9a7a8006ef0c1b628e0eeea8", "size": "681", ...
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html> <head> <title>Asana Oauth Example: Browser Redirect</title> <script src="asana.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> </head> <body> <div id="ui">Authorizing...</div> <script> //<![CDATA[ /** ...
{ "content_hash": "ad0f7c76fec6b3551a90e9f6b58f1bd9", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 84, "avg_line_length": 28.897959183673468, "alnum_prop": 0.6384180790960452, "repo_name": "gitumarkk/node-asana", "id": "d1883e6c5270cd74201bfdb10dc8ad82e92c4723", "size": ...
[VAR_MODULE].controller('[NAME_CONTROLLER]', ['$scope', function($scope) { $scope.objectExample = { name: "Fábio Rogério SJ" }; }]);
{ "content_hash": "dbf6b0d511058bc268e9560ff183eb70", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 74, "avg_line_length": 27.4, "alnum_prop": 0.635036496350365, "repo_name": "fabiorogeriosj/mockapp", "id": "f1fe6dad1a61d3e6eb4d6eba086296eac7876e27", "size": "139", "bina...
/* * Copyright (C) 2014 Cloudius Systems, Ltd. */ #ifndef PACKET_UTIL_HH_ #define PACKET_UTIL_HH_ #include "net/packet.hh" #include <map> #include <iostream> namespace net { template <typename Offset, typename Tag> class packet_merger { private: static uint64_t& linearizations_ref() { static thread_l...
{ "content_hash": "03b7e4a908cf21934f8916d6737cf0ae", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 79, "avg_line_length": 34.41428571428571, "alnum_prop": 0.4746782897467829, "repo_name": "kjniemi/seastar", "id": "0ca8bee8dd7e0b63c7b2e939fd164594828ec4c3", "size": "5552...
using System; using System.Collections.Generic; namespace NUnit.Framework.Constraints { [TestFixture] public class BinarySerializableTest : ConstraintTestBase { [SetUp] public void SetUp() { theConstraint = new BinarySerializableConstraint(); expectedDescript...
{ "content_hash": "ad93d0153a9b9416708c669e0252276a", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 142, "avg_line_length": 31.344827586206897, "alnum_prop": 0.6292629262926293, "repo_name": "NikolayPianikov/nunit", "id": "fe9c46f866f447123b18e530616bf3639882db41", "size"...
package co.cask.cdap.api.workflow; import co.cask.cdap.api.customaction.CustomAction; /** * Represents an action that can be executed in a {@link Workflow}. The lifecycle of a {@link WorkflowAction} is: * * <pre> * try { * {@link #initialize(WorkflowContext)} * {@link #run()} * // Success * } catch (Ex...
{ "content_hash": "8482239447f8a6147bce6f1178f93392", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 113, "avg_line_length": 31.659574468085108, "alnum_prop": 0.6915322580645161, "repo_name": "caskdata/cdap", "id": "b2000b04b4c9600cff940b96ecc8abc05044d6aa", "size": "2090"...
using System; using System.IO; using System.Text; namespace ColorManager.ICC { /// <summary> /// Provides methods to write ICC data types /// </summary> public sealed class ICCDataWriter { #region Variables /// <summary> /// The underlying stream where the data is written ...
{ "content_hash": "86ea42895e341bf07b5178948a57edd0", "timestamp": "", "source": "github", "line_count": 1845, "max_line_length": 181, "avg_line_length": 36.02872628726287, "alnum_prop": 0.5332390594677539, "repo_name": "JBildstein/NCM", "id": "515cebd9b91d7448c32e8a8e9fd279ebe85f9887", "size": "664...
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("Bo...
{ "content_hash": "2f9c8dc8813840e9375f353d74c53091", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.75, "alnum_prop": 0.7448028673835125, "repo_name": "arobertov/SoftUniExercises", "id": "a43da3992220147305a4e5e8b61211352b309b37", "size": "1398",...
<TEST> <DEFINE name="schema.xml"> <application name="Application"> <key>ApplicationKey</key> <options> <option name="StorageService">OLAPService</option> </options> <tables> <table name="Table"> <fields> <field name="DirectReports" type="LINK" table="Table" inverse="Manager"/> <f...
{ "content_hash": "1abbc004f418cfe8a843cbaf744d0fb3", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 75, "avg_line_length": 33.154639175257735, "alnum_prop": 0.507773631840796, "repo_name": "kod3r/Doradus", "id": "50c27001a01d8bf916d5c01e0e4825f1f70043eb", "size": "3216", ...