text
stringlengths
2
1.04M
meta
dict
module Spec module Runner class ExampleGroupRunner def initialize(options) @options = options end def load_files(files) # It's important that loading files (or choosing not to) stays the # responsibility of the ExampleGroupRunner. Some implementations (like) # th...
{ "content_hash": "fd2f200abd1e276f2011e4b70c437751", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 79, "avg_line_length": 21.74576271186441, "alnum_prop": 0.5923616523772408, "repo_name": "shanti/olio", "id": "47922400a9d1bc3291757f3a437783f24dc8abb2", "size": "2071", ...
'use strict'; // Missing bits var q = Array() var t = new Object() // Array literal test var a = Array(); var ab = []; // Array constructions var b = new Array(); var bb = []; // Literals var c = Object(); var cb = []; // Number constructions var d = new Number(3) // JSON constructions var e = new JSON({}); // L...
{ "content_hash": "37ccbbf7a3a6e85036282442d7a0f96b", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 38, "avg_line_length": 13.892857142857142, "alnum_prop": 0.6066838046272494, "repo_name": "goatslacker/atom-fixmyjs", "id": "d15ecfcc3ef8fb987b52fc693e39985e2b31e2b2", "siz...
worker_processes Integer(ENV["UNICORN_WORKERS"] || ENV["WEB_CONCURRENCY"] || 3) timeout Integer(ENV["UNICORN_TIMEOUT"] || 25) preload_app true before_fork do |server, worker| Signal.trap 'TERM' do puts 'Unicorn master intercepting TERM and sending myself QUIT instead' Process.kill 'QUIT', Process.pid end ...
{ "content_hash": "fc04ab59ac4425081d5df01bca4f5c2a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 91, "avg_line_length": 26.916666666666668, "alnum_prop": 0.7337461300309598, "repo_name": "geminisbs/copycopter-server", "id": "0794a4ab5409cebe2a339d0392837388d6a7218d", "...
/** * This package contains implementations of the {@link com.gs.collections.api.collection.MutableCollection} interface. * <p> * This package contains the following implementations: * <ul> * <li> * {@link com.gs.collections.impl.collection.mutable.CollectionAdapter} - a MutableCollection inter...
{ "content_hash": "36f10cbac1d062fbb1fb91d3d2c70d54", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 178, "avg_line_length": 36.07692307692308, "alnum_prop": 0.7142857142857143, "repo_name": "gabby2212/gs-collections", "id": "325b27c3e117351d9dca73f82be07ea6b050f311", "siz...
//------------------------------------------------------------------------------ // <автоматически создаваемое> // Этот код создан программой. // // Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае // повторной генерации кода. // </автоматически создаваемое> //--------...
{ "content_hash": "4ce047cd7259a416144fc93df848fe19", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 106, "avg_line_length": 37.214285714285715, "alnum_prop": 0.5515035188739603, "repo_name": "GKSG/AppASPSite", "id": "87720566e1dd620d675ed28be06c6733371b5d4c", "size": "210...
/** * Notification list. */ var list; /** * Expose `Notification`. */ exports.Notification = Notification; // list $(function(){ list = $('<ul id="notifications">'); list.appendTo('body'); }) /** * Return a new `Notification` with the given * (optional) `title` and `msg`. * * @param {String} title o...
{ "content_hash": "f03cd2b07895ecb81f10374efb510b9d", "timestamp": "", "source": "github", "line_count": 240, "max_line_length": 61, "avg_line_length": 17.120833333333334, "alnum_prop": 0.6176685324896568, "repo_name": "mmakunas/uikit", "id": "5f007c53423eb97a8518746f2aca7973db9a2217", "size": "4109...
<!doctype html> <html> <title>npm-rebuild</title> <meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/api/npm-rebuild.html"> <script async=true src="../../static/toc.js"></script> <body> <div id="wrapper"> <...
{ "content_hash": "7ee35bef9443fb7a80f5f0d9c0740a8c", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 807, "avg_line_length": 90.32352941176471, "alnum_prop": 0.714750895473787, "repo_name": "deep0892/jitendrachatbot", "id": "162b0177ac313ad26fa7e1ec81f868a50984b834", "size...
using base::win::RegKey; using installer::ProductState; namespace { const wchar_t kStageBinaryPatching[] = L"binary_patching"; const wchar_t kStageBuilding[] = L"building"; const wchar_t kStageConfiguringAutoLaunch[] = L"configuring_auto_launch"; const wchar_t kStageCopyingPreferencesFile[] = L"copying_prefs"; const ...
{ "content_hash": "4b8eb5bb403adc198fd1d73b463bc519", "timestamp": "", "source": "github", "line_count": 640, "max_line_length": 80, "avg_line_length": 37.6609375, "alnum_prop": 0.6298800979131228, "repo_name": "joone/chromium-crosswalk", "id": "6eb1b66adab2adf30aa3893a603ad17785444798", "size": "25...
@extends('admin.layouts.modal') @section('content') <ul class="nav nav-tabs"> <li class="active"><a href="#tab-general" data-toggle="tab"> {{ Lang::get("admin/modal.general") }}</a></li> </ul> <form class="form-horizontal" id="fupload" enctype="multipart/form-data" method="post" action="@if(isset($video)){{ URL::...
{ "content_hash": "87130fdc631425a8bec4c38f8b51c396", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 132, "avg_line_length": 41.05, "alnum_prop": 0.5377588306942753, "repo_name": "mclxly/www.lx", "id": "61a61dcf719bad7a2a82d9643b77ff6ac5084ed8", "size": "4926", "binary"...
/* eslint-disable import/no-extraneous-dependencies */ import enzyme from 'enzyme' import Adapter from 'enzyme-adapter-react-16' import { JSDOM } from 'jsdom' enzyme.configure({ adapter: new Adapter() }) // ----------------------------------------------------------------------------- const exposedProperties = ['wind...
{ "content_hash": "1026666c1f40429d9811c48d59934318", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 80, "avg_line_length": 27.321428571428573, "alnum_prop": 0.6274509803921569, "repo_name": "kreativgebiet/kickup-react", "id": "4c2010e0d3bf9241556a422b3357cce43a6d0960", "s...
ACCEPTED #### According to Index Fungorum #### Published in Mycotaxon 13(2): 419 (1981) #### Original name Codinaea illinoensis Hewings & J.L. Crane ### Remarks null
{ "content_hash": "a7759874fafd059885a59251c0ff6a10", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 41, "avg_line_length": 13, "alnum_prop": 0.6982248520710059, "repo_name": "mdoering/backbone", "id": "14f8e0ba25ebf04c9a835b08545624c228094854", "size": "234", "binary": ...
A simple UIColor library to get UIColor object from RGB hex string/value, CMYK hex string/value or CMYK base component values. You can also retrieve back RGB hex string/value, CMYK hex string/value. [![Awesome iOS][awesome-ios-image]][awesome-ios-url] [![Swift Version][swift-image]][swift-url] [![Objective C][objc-im...
{ "content_hash": "fa02b5e5f6f55e84cae4da8b5c785352", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 139, "avg_line_length": 30.966480446927374, "alnum_prop": 0.732816164531842, "repo_name": "burhanuddin353/TFTColor", "id": "0b2c8991006cbaf668d97c1b88e9672ad66a295d", "siz...
package org.gradoop.flink.model.impl.operators.statistics; import org.apache.flink.api.java.DataSet; import org.gradoop.common.model.impl.id.GradoopId; import org.gradoop.flink.model.api.epgm.LogicalGraph; import org.gradoop.flink.model.api.operators.UnaryGraphToValueOperator; import org.gradoop.flink.model.impl.oper...
{ "content_hash": "df9a043b16f8e0a6bfe346010fc68450", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 96, "avg_line_length": 34.541666666666664, "alnum_prop": 0.773220747889023, "repo_name": "s1ck/gradoop", "id": "90ce643a98c8eaa4ff6e87444800631234679e67", "size": "1467", ...
package net.dxs.mobilesafe.utils; import java.util.List; import net.dxs.mobilesafe.app.App; import android.app.ActivityManager; import android.app.ActivityManager.RunningServiceInfo; import android.content.Context; /** * 服务状态工具类 * * @author lijian-pc * @date 2016-5-9 下午2:59:51 */ public class ...
{ "content_hash": "d9f89ef2577e5846a157bbf53067dd46", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 69, "avg_line_length": 24.81967213114754, "alnum_prop": 0.6776750330250991, "repo_name": "54dxs/mobilesafe", "id": "642e206ca1ec199a974620ba279be4d1edc55dac", "size": "1618...
using System.Collections.Generic; using System.Collections.ObjectModel; using Sitecore.Data; namespace Synthesis.Templates { public interface ITemplateInfo { ID TemplateId { get; } string Name { get; } IList<ITemplateFieldInfo> Fields { get; } string HelpText { get; } string FullPath { get; } IList<ITemp...
{ "content_hash": "23bfd7cc467c24203f498098bf22cabc", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 107, "avg_line_length": 27.346153846153847, "alnum_prop": 0.7271448663853727, "repo_name": "kamsar/Synthesis", "id": "9f67d1976d5e4b38b06101f1b23accac843cc6cf", "size": "71...
package com.messagemedia.service; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for MessageErrorListType ...
{ "content_hash": "01a727748c24421fb7543175397ce77c", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 111, "avg_line_length": 27.17391304347826, "alnum_prop": 0.6421333333333333, "repo_name": "messagemedia/messagemedia-java", "id": "8d4618f93cbdba72bb297368e87ab7fb7d9aeca3", ...
DataStore::DataStore(QString name) { filename = name; state = load(); } DataStore::~DataStore() { // save(); } bool DataStore::load() { QFile loadFile(filename); if (!loadFile.open(QIODevice::ReadOnly)) { qWarning("Couldn't open save file."); return false; } QByteArray save...
{ "content_hash": "bff6d31f711dea6f3a9a9940b73baadb", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 68, "avg_line_length": 21.972602739726028, "alnum_prop": 0.6577306733167082, "repo_name": "jeyboy/palyo2", "id": "76192701f3881444cf5efeb0ffc936db6926fa1e", "size": "1629",...
require_relative "../json_compat" require_relative "../mixin/versioned_api" class Chef class Cookbook class ManifestV0 extend Chef::Mixin::VersionedAPI minimum_api_version 0 COOKBOOK_SEGMENTS = %w{ resources providers recipes definitions libraries attributes files templates root_files }.freez...
{ "content_hash": "960e65a3ce199b0fcb6cf82041a2998c", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 126, "avg_line_length": 29.775862068965516, "alnum_prop": 0.5437174290677476, "repo_name": "gene1wood/chef", "id": "b2b39f32f3ce1399c398180f3e7571711a9d03e4", "size": "2401...
<!DOCTYPE html> <link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com"> <link rel="help" href="https://www.w3.org/TR/css-break-3/"> <link rel="match" href="block-001-wm-vlr-ref.html"> <meta name="flags" content="paged"> <meta name="fuzzy" content="maxDifference=0-60;totalPixels=0-200"> <html> <style> @...
{ "content_hash": "b1ca0738eec9a0d9f13cd4e661e52826", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 82, "avg_line_length": 23.558823529411764, "alnum_prop": 0.6779026217228464, "repo_name": "ric2b/Vivaldi-browser", "id": "6cd5ea07c7b2a132cef7d26abd4204cb157b5eae", "size":...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Phyllosticta minutella Bubák & Dearn. ### Remarks null
{ "content_hash": "e3dfe1bfc3aa9820201b46f61dbb3326", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 37, "avg_line_length": 10.923076923076923, "alnum_prop": 0.7112676056338029, "repo_name": "mdoering/backbone", "id": "9685996c64ca0d2abce8e469499279456f8e94f6", "size": "20...
<?php /** * @var array $brands * @var Producer $brand */ ?> <?php if ($brands): ?> <div class="row"> <div class="col-sm-12"> <div id="brand-carousel" class="carousel slide" data-ride="carousel"> <div class="carousel-inner" role="listbox"> <?php foreach ($br...
{ "content_hash": "e8c29f3900a3959b77a79b81ba1bf902", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 105, "avg_line_length": 42.206896551724135, "alnum_prop": 0.45179738562091504, "repo_name": "u4aew/tdtaliru", "id": "ae6d549537503f72ad637f90f16e22991ae4018b", "size": "122...
module CNU::Gozer require "#{File.dirname(__FILE__)}/san_types/three_par.rb" require "#{File.dirname(__FILE__)}/san_types/equal_logic.rb" class SanCmdRunner class BadTypeException < Exception; end attr_accessor :san def initialize(type) if type == '3par' @san = SanTypes::ThreePar...
{ "content_hash": "4768dfb5f95f2e9b2177edd45261d09c", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 74, "avg_line_length": 21.295774647887324, "alnum_prop": 0.6038359788359788, "repo_name": "slaught/enki_cloud", "id": "8eb9d4a814629ba43a6e4a166b02c4994933a07d", "size": "1...
package org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd; import com.google.common.base.Preconditions; import org.apache.hadoop.hive.ql.security.authorization.plugin.HiveOperationType; import org.apache.hadoop.hive.ql.security.authorization.plugin.HivePrivilegeObject; import org.apache.hadoop.hive.ql.s...
{ "content_hash": "34362fc2c489d23b38b1e274511179a8", "timestamp": "", "source": "github", "line_count": 497, "max_line_length": 126, "avg_line_length": 56.903420523138834, "alnum_prop": 0.7707294650118454, "repo_name": "vineetgarg02/hive", "id": "9005fa24096aec0c802b62b7482c408fc5021f25", "size": "...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-directive-isolate-jquery</title> <script src="../../components/jquery-undefined/jquery.js"></script> <script src="../../../angular.js"></script> <script src="script.js"></script> </head> <body ng-app="docsIsolat...
{ "content_hash": "5c6b0623d762b39482e62a42866122c5", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 69, "avg_line_length": 22.136363636363637, "alnum_prop": 0.6447638603696099, "repo_name": "jonahpelfrey/Badgerloop_Competition_Dashboard", "id": "fe543b2179f5b4c26f4ec732982f...
<?php namespace Payum\Payex\Action\Api; use Payum\Core\Action\ActionInterface; use Payum\Core\ApiAwareInterface; use Payum\Core\Bridge\Spl\ArrayObject; use Payum\Core\Exception\RequestNotSupportedException; use Payum\Core\Exception\UnsupportedApiException; use Payum\Payex\Api\RecurringApi; use Payum\Payex\Request\Api\...
{ "content_hash": "3ea8b93d92c578211d755cd11098517d", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 96, "avg_line_length": 24, "alnum_prop": 0.63125, "repo_name": "fullpipe/Payum", "id": "c40376eedf2c7a6ce63cdaf0c8b47dccd35bc6c8", "size": "1440", "binary": false, "cop...
/*********************************************************************************************************************************** Restore Protocol Handler ***********************************************************************************************************************************/ #include "build.auto.h" #inc...
{ "content_hash": "713be1d518625adab3518ec8999a6e9c", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 132, "avg_line_length": 35.73809523809524, "alnum_prop": 0.5469686875416389, "repo_name": "pgbackrest/pgbackrest", "id": "8846177f640a2d1b758c5c399c7b17d3ea552bf8", "size":...
package com.perm.kate.api; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import java.util.TreeMap; import java.util.Map.Entry; public class Params { //TreeMap нужен был чтобы сортировать параметры по имени, сейчас это уже не важно, главно подписывать и передавать параметры в одн...
{ "content_hash": "6ea6df46f0b784178d4a1ddc890d3b01", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 154, "avg_line_length": 31.649122807017545, "alnum_prop": 0.5898004434589801, "repo_name": "romanbrandhall/MyApp", "id": "ea92ea8e1c99019dc48ca7b97f5bffe7c9362f82", "size":...
<?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:layout_height="match_parent" android:layout_width="match_parent" android:orientation="vertical" android:l...
{ "content_hash": "4d67a7beba099402a3cada9ae4b56489", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 120, "avg_line_length": 56.142857142857146, "alnum_prop": 0.7595419847328244, "repo_name": "wskplho/jdroid", "id": "703602a1fff81f5108896521488d204fe7337f85", "size": "786"...
/********************************************************************************************************* * BRTOS * Brazilian Real-Time Operating System * Acronymous of Basic Real-Time Operating System * * ...
{ "content_hash": "978d7286cde953e3b8bab17c1dcd7895", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 106, "avg_line_length": 28.441176470588236, "alnum_prop": 0.40020682523267836, "repo_name": "brtos/examples", "id": "1ebc3880ee9a8ca5ea8c0d35ba7d18d333a2e0fc", "size": "967...
// Code generated by injection-gen. DO NOT EDIT. package interceptor import ( context "context" json "encoding/json" fmt "fmt" v1alpha1 "github.com/tektoncd/triggers/pkg/apis/triggers/v1alpha1" versioned "github.com/tektoncd/triggers/pkg/client/clientset/versioned" triggersv1alpha1 "github.com/tektoncd/trigg...
{ "content_hash": "fcb36dd048559f7d5624190d0f01388d", "timestamp": "", "source": "github", "line_count": 415, "max_line_length": 236, "avg_line_length": 35.0578313253012, "alnum_prop": 0.7442435906247852, "repo_name": "tektoncd/triggers", "id": "6a5677aeabf6343776110de0315d74b80d2a8366", "size": "15...
package org.projectodd.vdx.core; public interface Printer { Printer DEFAULT_PRINTER = new Printer() {}; default void printlnErr(String msg) { System.err.println(msg); } default void println(String msg) { System.out.println(msg); } }
{ "content_hash": "b3ac93818e267c56f2ea778a61886439", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 47, "avg_line_length": 17.1875, "alnum_prop": 0.6363636363636364, "repo_name": "projectodd/vdx", "id": "fa9b8ae0c6b4a73a8bac41c87e6af248226fc616", "size": "896", "binary"...
======== Glossary ======== .. glossary:: filtered term A query term consisting of an explicit filter name and an argument, like ``regexp:hi|hello`` or ``callers:frob`` index A folder containing one or more source trees indexed for search and prepared to serve as HTML. Indices ...
{ "content_hash": "52e7fcf0ac83cc7ede4ad6fd3fe4b96a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 77, "avg_line_length": 24.833333333333332, "alnum_prop": 0.6308724832214765, "repo_name": "nrc/dxr", "id": "e1f40c1a6aa74954ba9ac072a211efe8930616f9", "size": "596", "bin...
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 for-comment"> <h3>Comment</h3> <hr/> <div id="comment-list"> <?php foreach($post_comment as $data){ $member_image = ($data['member_image'] ? $data['member_image'] : 'no-img-profil.png'); ?> <div class="post-item" style="margin-top: 15px;"> <div cla...
{ "content_hash": "1a173f7a9dc239bd5ecaf8f1dac2256c", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 181, "avg_line_length": 39.101694915254235, "alnum_prop": 0.6302557433896836, "repo_name": "aldenaoktavian/futsalsocial", "id": "bec7daae785f6caac88ae44bf07dfed9c20ee70c", ...
#if !__has_feature(objc_arc) #error "This source file must be compiled with ARC enabled!" #endif #import "SBJsonWriter.h" #import "SBJsonStreamWriter.h" #import "SBJsonStreamWriterAccumulator.h" @interface SBJsonWriter () @property (copy) NSString *error; @end @implementation SBJsonWriter @synthesize sortKeys; @...
{ "content_hash": "cf7201930441d1490f6787a00ee50116", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 94, "avg_line_length": 22.17105263157895, "alnum_prop": 0.7264094955489614, "repo_name": "KingfishDevelopment/iOS-Contributors", "id": "34e4db49120f35eff4215eac732a23ef7023d9...
{% extends "layout.html" %} {% block page_title %} Claim type {% endblock %} {% block content %} <main id="content" role="main"> <div class="phase-banner"> <p> <strong class="phase-tag">BETA</strong> <span>This is a new service – your <a href="#">feedback</a> will help us to improve it...
{ "content_hash": "efe672ea8d1bd50141924b20d2a4abca", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 102, "avg_line_length": 27.085106382978722, "alnum_prop": 0.5868028279654359, "repo_name": "dwpdigitaltech/accesstowork-phase2", "id": "97cf8fe7d8024caef77f571f84e2f00c61a078...
'use strict'; var io = require('socket.io'), AgentManagerEventEnum = require('siebogjs-common').enums.AgentManagerEventEnum, MessageTypeEnum = require('siebogjs-common').enums.MessageTypeEnum; module.exports = function (server, messageManager) { var ws = io(server); ws.of('console') .on('co...
{ "content_hash": "7be4a2f02d2734e96dd3ce8b420bd13c", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 93, "avg_line_length": 30.322580645161292, "alnum_prop": 0.5904255319148937, "repo_name": "SiebogJS/RestWS", "id": "83e9c12c2b621d862d3eea9dd6038bca70519d25", "size": "940"...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2005-2006 The Apache Software Foundation or its licensors, as applicable 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 ...
{ "content_hash": "441f9649d1afe4bf6e13075f5928adf5", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 120, "avg_line_length": 32.78048780487805, "alnum_prop": 0.7217261904761905, "repo_name": "freeVM/freeVM", "id": "454bfade6796eddc32384d1b428b0d8d77353417", "size": "1344",...
class CreateUsers < ActiveRecord::Migration def change create_table :users do |t| t.belongs_to :consumer t.string :email t.string :external_id t.string :name t.timestamps end end end
{ "content_hash": "b47e5742f60f5592f2725220e51c5162", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 43, "avg_line_length": 20.454545454545453, "alnum_prop": 0.6355555555555555, "repo_name": "flxw/codeocean", "id": "bfec23fabfcbe4fff15daab4efa23ed567f51d89", "size": "225",...
 #pragma once #include <aws/docdb/DocDB_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/docdb/model/ResponseMetadata.h> #include <aws/docdb/model/GlobalCluster.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonW...
{ "content_hash": "a74f31931c03cc714ba892bdcb35a5c4", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 149, "avg_line_length": 26.60902255639098, "alnum_prop": 0.6722237920316474, "repo_name": "awslabs/aws-sdk-cpp", "id": "9eaf632923fd4d6f45b9c2b3d69273855a8297b4", "size": ...
Deface::Override.new(:virtual_path => 'spree/layouts/admin' , :insert_bottom => "[data-hook='admin_tabs'], #admin_tabs[data-hook]", :text => "<%= tab :subscriptions %>", :name => "subscriptions_admin_tab", :disabled => false)
{ "content_hash": "65339b34017071b36b440735ed48991c", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 90, "avg_line_length": 62, "alnum_prop": 0.4806451612903226, "repo_name": "sheenobu/spree_recurring", "id": "ddb2396765446719c721a5eaf414c469016eeb4f", "size": "310", "bin...
<!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_152-release) on Mon Dec 04 23:07:54 MST 2017 --> <title>ListSortingHelper</title> <meta name="date" content="2017-12-04"> <link rel="stylesheet...
{ "content_hash": "3b4845cc769eb1a4d7d186245ea72a5e", "timestamp": "", "source": "github", "line_count": 298, "max_line_length": 421, "avg_line_length": 43.013422818791945, "alnum_prop": 0.6715556249024809, "repo_name": "CMPUT301F17T11/CupOfJava", "id": "81e28327e1de0381593b27ab83f273016866aa78", "s...
from __future__ import absolute_import import celery import kombu import os import platform as _platform from celery import datastructures from celery import platforms from celery.utils.text import pretty from celery.utils.imports import qualname from .defaults import find SETTINGS_INFO = """%s %s""" BUGREPORT_INF...
{ "content_hash": "544a5574adb90c9955a6252d202f8b47", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 77, "avg_line_length": 32.763636363636365, "alnum_prop": 0.5979467258601554, "repo_name": "couchbaselabs/celery", "id": "00a97a82ff33929bd5be6c71c091aef6fd479d1a", "size":...
<?php namespace Opis\View\Test; use Opis\View\ViewRenderer; use Opis\View\IEngine; class ViewsTest extends \PHPUnit\Framework\TestCase { /** @var \Opis\View\ViewRenderer */ protected $renderer; public function setUp() { $this->renderer = new ViewRenderer(); } public function tes...
{ "content_hash": "8a6a3cebf8db29ae4969ded4a0b20a52", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 79, "avg_line_length": 24.105263157894736, "alnum_prop": 0.5393013100436681, "repo_name": "opis/view", "id": "18ced22d0770e86042f4519d3d23ea66418715fa", "size": "3500", ...
<!DOCTYPE html> <html> <head> <!-- adopted from `github.com/madrobby/zepto` and modified --> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <title>jQTouch’s touch unit tests</title> <link rel="stylesheet" href="http://code.jquery.com/qunit/qunit-g...
{ "content_hash": "68a67efcbacb11db4826d6e4a8e4b3f4", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 106, "avg_line_length": 29.742857142857144, "alnum_prop": 0.6176753121998079, "repo_name": "illucent/jQTouch", "id": "96edd3cbe5cafcb8e84347fda6535b9a0cd44633", "size": "10...
<!-- HTML header for doxygen 1.8.13--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" cont...
{ "content_hash": "0c15f4cc18253cce3c6b37b5935456ec", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 240, "avg_line_length": 43.69827586206897, "alnum_prop": 0.6808048924837246, "repo_name": "Infineon/mtb-pdl-cat1", "id": "fa196b97f4d654d6ca41ff6a8461c27e2ebcaf2c", "size"...
<?php namespace common\models; use Yii; use yii\db\ActiveRecord; use common\base\BaseActiveRecord; /** * 文章数据操作类 */ class Article extends BaseActiveRecord { private static $_instance; public static function tableName(){ return 'ligao_article'; } public static function getInstance(){ if...
{ "content_hash": "47793b461bd10f95f0eae2b9e6e6bf2b", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 52, "avg_line_length": 13.306122448979592, "alnum_prop": 0.6104294478527608, "repo_name": "gaoxuxu123/phpblog", "id": "740042c27a93bcbc36d0dcaa18d08546dc4d06d6", "size": "6...
<!-- 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 License, Version 2.0 (the "License"); you may ...
{ "content_hash": "b0dde59f4b25223d7850a3e6b55d40fc", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 74, "avg_line_length": 48.23809523809524, "alnum_prop": 0.7680157946692991, "repo_name": "terrancesnyder/oozie-hadoop2", "id": "a8e939f475d7122835089ed93eb3e29d3a808f1e", "...
FROM debian:sid MAINTAINER Christian Koep <christian.koep@fom-net.de> ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y \ keepass2 \ xdotool \ --no-install-recommends \ && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/usr/bin/keepass2"]
{ "content_hash": "23873271d998c3b25247dbec5ced276f", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 53, "avg_line_length": 22.166666666666668, "alnum_prop": 0.7255639097744361, "repo_name": "saneax/dockerfiles", "id": "dfe59b8df63fae0f4652236474807e85a67d2054", "size": "8...
package com.scheible.risingempire.game.core; import com.scheible.risingempire.game.common.command.Command; import com.scheible.risingempire.game.core.fleet.Fleet; import com.scheible.risingempire.game.core.star.Colony; import com.scheible.risingempire.game.core.star.Star; import com.scheible.risingempire.game.common.v...
{ "content_hash": "e60172666df858ea67d85603f28e1f32", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 109, "avg_line_length": 28.70414201183432, "alnum_prop": 0.6722325293753865, "repo_name": "janScheible/rising-empire", "id": "8477e6f855312b1f7ff9587f9b5503ba79c00fa4", "s...
package com.example.wangyeming.getuidemo.utils; import android.app.ActivityManager; import android.content.ComponentName; import android.content.Context; import android.util.Log; import java.util.List; /** * Created by wangyeming on 15-6-10. */ public class AppUtil { /** * 获取当前应用包名 * @param context ...
{ "content_hash": "b2ee9e868f1ab38352406cf50022d1b4", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 114, "avg_line_length": 30.53448275862069, "alnum_prop": 0.6453980801806889, "repo_name": "wangyeming/GeTuiDemo", "id": "41bcab1ef627c99a8b0ad3b78d7e7a147244b617", "size": ...
package funcs import ( "github.com/Cepave/open-falcon-backend/common/model" ) func AgentMetrics() []*model.MetricValue { return []*model.MetricValue{GaugeValue("agent.alive", 1)} } func AgentMetricsThirty() []*model.MetricValue { return []*model.MetricValue{GaugeValue("agent.alive.30sec", 1)} }
{ "content_hash": "d1da0e8653faac4e95f2c4c95d49cf52", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 64, "avg_line_length": 23.23076923076923, "alnum_prop": 0.7350993377483444, "repo_name": "Cepave/open-falcon-backend", "id": "d7e307b18184814ffb5fc03eaab5d7f65aa1306c", "si...
package com.wenyu.Data; public class IMConfiguration { public final static String sAppKey ="f7d9257d9ad2b4edaeb39c81";//"00b6413a92d4c1c84ad99e0a"; public static boolean sSoundNotice = true; public static boolean sVibrateNotice = true; }
{ "content_hash": "cf940ec0e5d75b588ced1a74e651717f", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 95, "avg_line_length": 34.857142857142854, "alnum_prop": 0.7991803278688525, "repo_name": "xingfeng2010/kai-ji-wang", "id": "e9728a447878bfc8816ab9324357b3b1eeef54c2", "size...
@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,300italic,400italic,600italic); @import url(http://fonts.googleapis.com/css?family=Kaushan+Script); /*! * AdminLTE v1.2 * Author: AlmsaeedStudio.com * License: Open source - MIT * Please visit http://opensource.org/lice...
{ "content_hash": "08dbaebb6b348f288138168f99cf1272", "timestamp": "", "source": "github", "line_count": 3407, "max_line_length": 304, "avg_line_length": 24.296448488406224, "alnum_prop": 0.6625915098214501, "repo_name": "Raysail/lean", "id": "2ecd3d94a9de25b9029f8d006683b5f989a66ee8", "size": "8277...
"use strict"; function TourGuide(iface) { this._iface = iface; this._create_tour(); } TourGuide.prototype._create_tour = function() { var self = this; this._tour = new Tour({ storage: false, onStart: function() { $('.nav > li').addClass('disabled-nav'); }, onEnd: function() { self...
{ "content_hash": "14719ca06a2959cba8865dea7f5d7a08", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 402, "avg_line_length": 42.669724770642205, "alnum_prop": 0.6355622446785637, "repo_name": "smith1511/AzureBlast", "id": "6d859c4879f38456b6e62d0426c4d0e4310fb514", "size"...
<?php namespace Zend\Mail\Header; use Zend\Mail\Header; /** * @category Zend * @package Zend_Mail * @subpackage Header * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ class ContentType im...
{ "content_hash": "2365049fdb5fe1455a3812df80ca5b37", "timestamp": "", "source": "github", "line_count": 213, "max_line_length": 104, "avg_line_length": 21.88262910798122, "alnum_prop": 0.5024672816992062, "repo_name": "dineshkummarc/zf2", "id": "4f94e00fd5c2479be7afa6e7a8e7caa2f60f7a8f", "size": "5...
namespace solar { class file_system; //this builder handles files that contain configuration options for building side-by-side files. // //ex. button.tga has dds compression configuration in button.peon. class build_config_file_builder : public builder { private: file_system& _file_system; std::string _sr...
{ "content_hash": "ba18b090b20be21b7b82294f32e2b7e6", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 108, "avg_line_length": 32.4375, "alnum_prop": 0.7418111753371869, "repo_name": "jseward/peon", "id": "4341c2a2e5a4c700b3a340c290d091fef0437ed8", "size": "1074", "binary"...
<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:background="@android:color/transparent" ...
{ "content_hash": "380bfa48fbfa6f4025b72edf9067d0c3", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 76, "avg_line_length": 37.53061224489796, "alnum_prop": 0.5657059996374841, "repo_name": "Samsung/GearVRf", "id": "66ecfbb3ee1c41a4d62a398877eca3ec80a88005", "size": "5517...
import { Injectable } from '@angular/core'; import { DataForEmailUnsubscribe } from 'app/api/models/data-for-email-unsubscribe'; import { NotificationSettingsService } from 'app/api/services/notification-settings.service'; import { ErrorHandlerService } from 'app/core/error-handler.service'; import { BehaviorSubject, O...
{ "content_hash": "dc372229a8fe15487d23d323201464c4", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 93, "avg_line_length": 26.723684210526315, "alnum_prop": 0.6637124569177745, "repo_name": "cyclosproject/cyclos4-ui", "id": "bee4adb0851009f63819a51eddcca5ffab9ea8e5", "siz...
package org.apache.lenya.cms.site; /** * A node in the site structure. */ public interface SiteNode { /** * @return The site structure this node belongs to. */ SiteStructure getStructure(); /** * @return The path. */ String getPath(); /** * @return The parent node...
{ "content_hash": "c90fb8fbd16c25e344e44c850edfef63", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 76, "avg_line_length": 19.86315789473684, "alnum_prop": 0.5633280339162692, "repo_name": "apache/lenya", "id": "af9936c337f3c133dc0d6fcbe926f5617e0af8b2", "size": "2702", ...
(function (angular) { angular.module('authentication', []) .factory('AuthenticationService', AuthenticationService); AuthenticationService.$inject = ['$http', '$window']; function AuthenticationService($http, $window) { var service = { saveToken: saveToken, getToken: getToken, isLoggedIn: isLogged...
{ "content_hash": "f69d396444a9989cb8e464c20c95381f", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 65, "avg_line_length": 26.252525252525253, "alnum_prop": 0.5606002308580224, "repo_name": "predragfalcic/napredne_web_tehnologije", "id": "de03caaa113bf9f1421a3be7f2c104da5bf...
package com.wounit.rules; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import java.lang.reflect.Field; import java.net.URL; import org.junit.Ignore; import org.junit.Test; import com.webobjects.eoaccess.EOModel; import com.webobjects.eoaccess.EOModelGroup; import com.webo...
{ "content_hash": "bf64dcbe7b9f1b25b56bd58e64c741ff", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 224, "avg_line_length": 30.321678321678323, "alnum_prop": 0.7709870848708487, "repo_name": "hprange/wounit", "id": "7cb25830391975b9a7ad86c02735255236adeca7", "size": "495...
/** * A demo based on the Movie dataset from the Web Data Management book. * */ package org.sindice.siren.demo.movie;
{ "content_hash": "d60a10c130f58a9e29ddee7ca8fc548c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 71, "avg_line_length": 17.571428571428573, "alnum_prop": 0.6991869918699187, "repo_name": "rdelbru/SIREn", "id": "d01167a9b6eaeb32714a5ad961833a5880f482ee", "size": "862", ...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- content security for android --> <!-- look here: http://stackoverflow.com/questions/30212306/no-content-security-policy-meta-tag-found-error-in-my-phonegap-application --...
{ "content_hash": "e016988b38946de7969b16572213ab9f", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 196, "avg_line_length": 41.5531914893617, "alnum_prop": 0.6497695852534562, "repo_name": "suethomas1/newscanaryupdate2", "id": "b3ba3550f31d882b9a695515a9ae4c9d7558e59c", "...
"""Wrapper for signalfd(2) system call. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import errno import logging import os import ctypes from ctypes import ( c_int, c_void_p, c_uint32, c_uint64...
{ "content_hash": "0f8d592dd0b474d31488104bd9a7a9f3", "timestamp": "", "source": "github", "line_count": 188, "max_line_length": 79, "avg_line_length": 33.62765957446808, "alnum_prop": 0.5472951597595698, "repo_name": "Morgan-Stanley/treadmill", "id": "bb5d65dda49a3b80cacdeb8777c33f059b2d2a10", "siz...
package cn.com.warlock.test; import java.io.Serializable; import cn.com.warlock.kafka.handler.MessageHandler; import cn.com.warlock.kafka.message.DefaultMessage; public class Demo2MessageHandler implements MessageHandler { @Override public void p1Process(DefaultMessage message) { //TODO 第一阶段处理,譬如一些需...
{ "content_hash": "f240485463cab23ab17567b43e288542", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 74, "avg_line_length": 24.8125, "alnum_prop": 0.672544080604534, "repo_name": "warlock-china/azeroth", "id": "9f55dcf9b794b53e177c20fac272abc6495335f6", "size": "906", "b...
package types import ( "errors" "strconv" "github.com/boltdb/bolt" "github.com/jakebailey/botzik/db/helpers" ) // Counter errors var ( ErrCounterExists = errors.New("Counter already exists") ) var ( valueKey = []byte("_value") ) // Counter wraps a bucket as a counter. type Counter struct { b *bolt.Bucket } ...
{ "content_hash": "9f79722304402b4031477704bf0f6434", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 84, "avg_line_length": 20.87037037037037, "alnum_prop": 0.6912156166814551, "repo_name": "jakebailey/botzik", "id": "576f7b8ea6490bc7a705707aa4d9945949ae0b01", "size": "112...
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <servico xsi:schemaLocation="http://servicos.gov.br/v3/schema.../servico.xsd" xmlns="http://servicos.gov.br/v3/schema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <id>incluir-ou-alterar-itens-na-lista-de-ex-tarifario-vigente-no-regime-de-autopecas-n...
{ "content_hash": "f29aa16298e1cefcd8c6212b64ece9cd", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 485, "avg_line_length": 68.23456790123457, "alnum_prop": 0.6428442192871359, "repo_name": "servicosgovbr/cartas-de-homologacao", "id": "d5e1d70e4707e14c4addb20674e5978b4eb35...
package org.scijava.event; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Annotation identifying an event handler method. This annotation allows a * class to subscribe to multiple types of event...
{ "content_hash": "f4f281506b35601d53ad345a3b949244", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 80, "avg_line_length": 40.3125, "alnum_prop": 0.7602067183462532, "repo_name": "scijava/scijava-common", "id": "ad94bda55a706c6150f2a1e03a6b0ca24b413203", "size": "3376", ...
<?xml version="1.0" encoding="utf-8" ?> <!-- SQL XML created by WWW SQL Designer, https://github.com/ondras/wwwsqldesigner/ --> <!-- Active URL: https://ondras.zarovi.cz/sql/demo/ --> <sql> <datatypes db="mysql"> <group label="Numeric" color="rgb(238,238,170)"> <type label="Integer" length="0" sql="INTEGER" quote...
{ "content_hash": "3486ab260f76a885d6083a9600e5e6e0", "timestamp": "", "source": "github", "line_count": 349, "max_line_length": 87, "avg_line_length": 34.49856733524355, "alnum_prop": 0.6879568106312293, "repo_name": "coleby210/Zunecommerce", "id": "90b72008648f6a927475a8e90a6a37dcf037c6ed", "size"...
pub use super::raw::types::{ ImVec2, ImVec4, ImGuiStyle, ImGuiIO, ImGuiOnceUponAFrame, ImGuiTextFilter, ImGuiTextFilterTextRange, ImGuiTextBuffer, ImGuiStorage, ImGuiStoragePair, ImGuiTextEditCallbackData, ImGuiSizeConstraintCallbackData, ImColor, ImGuiListClipper, ImDrawCmd, ImDrawVert, ImDrawChannel,...
{ "content_hash": "d75c9b729d912a197c78a4674913ece2", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 33, "avg_line_length": 15.846153846153847, "alnum_prop": 0.7961165048543689, "repo_name": "ExPixel/rust-imgui", "id": "fcad2aabf4dba5af035db0438d228787f90b283d", "size": "4...
namespace Google.Analytics.Admin.V1Alpha.Snippets { // [START analyticsadmin_v1alpha_generated_AnalyticsAdminService_UpdateAccount_async] using Google.Analytics.Admin.V1Alpha; using Google.Protobuf.WellKnownTypes; using System.Threading.Tasks; public sealed partial class GeneratedAnalyticsAdminServ...
{ "content_hash": "18648bc58131ebcfbd20a0b6ee9f1ad0", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 118, "avg_line_length": 43.03333333333333, "alnum_prop": 0.6777691711851278, "repo_name": "jskeet/google-cloud-dotnet", "id": "741fc4b9c88eee8afa5b85bec99be78fef668818", "s...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include <cstdlib> #ifdef _CRTDBG_MAP_ALLOC #include <crtdbg.h> #endif #include "testrunnerswitcher.h" #include "micromock.h" #include "micromockcharstararenulltermina...
{ "content_hash": "b15a8078645e1af76b61f661ade16101", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 101, "avg_line_length": 22.264957264957264, "alnum_prop": 0.5616122840690979, "repo_name": "5e8a91/Azure_C_Library_new", "id": "3da37372ec83a97ab4ceffb7757e1a6a7e4a4348", ...
package com.taobao.weex.ui.component; import com.taobao.weex.WXSDKInstanceTest; import com.taobao.weex.dom.TestDomObject; import com.taobao.weex.ui.SimpleComponentHolder; import com.taobao.weex.ui.component.list.WXListComponent; import java.lang.reflect.InvocationTargetException; import static org.junit.Assert.*; ...
{ "content_hash": "7290ff75aa6053ba7209e965445307a0", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 144, "avg_line_length": 30.954545454545453, "alnum_prop": 0.8076358296622613, "repo_name": "MrRaindrop/incubator-weex", "id": "213119bc970ab128f4cd44e666e2178519352b5c", "s...
// #docregion /** * System configuration for Angular 2 samples * Adjust as necessary for your application needs. */ (function(global) { // map tells the System loader where to look for things var map = { 'app': 'app', // 'dist', '@angular': 'node_modules/@angula...
{ "content_hash": "fc107483089aaf2c95cf822bbd855fb5", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 104, "avg_line_length": 27.9, "alnum_prop": 0.5967741935483871, "repo_name": "patou/angular-fr", "id": "901b8f01d012bc25ec1623e508808fcca8cab6e9", "size": "1674", "binary...
/** * Module dependencies. */ var mongoose = require('mongoose'); var home = require('home'); /** * Expose */ module.exports = function (app, passport) { app.get('/', home.index); app.get('/about', home.about); app.get('/contact', home.contact); app.get('/privacy', home.privacy); app.get('/terms', ho...
{ "content_hash": "62149aeec4f6f4340458d132fce6eebb", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 62, "avg_line_length": 20.09090909090909, "alnum_prop": 0.5769230769230769, "repo_name": "garyburge/node-express-mongoose-bootstrap-passport", "id": "b303cc1b3c453e2b2ec7ec5c...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\admin\models\Brands */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="brands-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'title')->textInput(['maxlength' => tru...
{ "content_hash": "5c3cf641b96e85d6e03f6fa076582b90", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 159, "avg_line_length": 27, "alnum_prop": 0.5925925925925926, "repo_name": "AndreyGP/ekom.loc", "id": "f501f6556ccd7556865da3dfa9a2e96d5b2d1ad0", "size": "750", "binary":...
package de.thk.ct.endpoint.pi4j.osgi.resources; /** * Listener that is used to listen for changes on a * {@link AbstractDeviceResource}. Every sensor and actuator in this application * should use this listener. * * @author Martin Vantroba * */ public interface DeviceResourceListener { /** * Ca...
{ "content_hash": "502b3fc22f7604ab443630028bb7fe79", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 80, "avg_line_length": 23.714285714285715, "alnum_prop": 0.6606425702811245, "repo_name": "mvantroba/CoRE-Things", "id": "349f9c5c0a22019cb2a71e4b8d123b6fb4978487", "size":...
""" Samsara ~~~~~~~ Samsara service package """ from setuptools import setup, find_packages setup( name='samsara_sdk', version='', url='https://github.com/samsara/samsara', author='Samsara Developers', author_email='samsara.systems+info@gmail.com', description="A Python Client fo...
{ "content_hash": "3445bee51c93edd788f4b9accd20a5f3", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 62, "avg_line_length": 20.243243243243242, "alnum_prop": 0.6662216288384513, "repo_name": "samsara/samsara", "id": "5b7dddedc2a604043b20fc11c9cff3a1bf056c01", "size": "773"...
Goals and Architecture Overview =============================== High Level Goals ---------------- Traditionally, language interpreters are written in a target platform language such as C/Posix, Java or C#. Each implementation provides a fundamental mapping between application source code and the target environment. ...
{ "content_hash": "dbce7cbcc70618dafc74fc845865be84", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 164, "avg_line_length": 47.80165289256198, "alnum_prop": 0.7764522821576764, "repo_name": "jptomo/rpython-lang-scheme", "id": "44434a8699de9c6125dc1b424bc04019a9656313", "...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="ru"> <head> <title>org.apache.poi.hpbf.model.qcbits (POI API Documentation)</title> <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> </head> <b...
{ "content_hash": "c9cebc99f15c921fd15f793875464cd3", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 159, "avg_line_length": 65.79166666666667, "alnum_prop": 0.7061431285623813, "repo_name": "pedro93/ifarmaStudents", "id": "6f457dc4dde32bced1f79a42e2b40db88815e959", "size"...
package org.apache.asterix.installer.command; public abstract class CommandConfig { }
{ "content_hash": "d38e02ab29559fbb05e10f6bd39eb434", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 45, "avg_line_length": 14.833333333333334, "alnum_prop": 0.797752808988764, "repo_name": "waans11/incubator-asterixdb", "id": "4c07d4ec4ef4d83fed117ded1db2c117b2c4b493", "si...
<!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_72) on Thu Feb 18 20:48:47 EST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>org.red5.io.m4a.impl (Red5 :...
{ "content_hash": "2c1715e4a5d6f139d04d5c86c439dfee", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 138, "avg_line_length": 35.7828947368421, "alnum_prop": 0.6113256113256114, "repo_name": "Red5/red5.github.io", "id": "e294e3d2b88dabafed0b0935f32217778c0d734b", "size": "...
import pandas as pd import json import numpy as np class NpEncoder(json.JSONEncoder): def default(self, obj): """ Converts the dictionary's values into a JSON serializable data type """ if isinstance(obj, np.integer): return int(obj) elif isi...
{ "content_hash": "89a864012915a7994109dfd36592b5eb", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 95, "avg_line_length": 36.73737373737374, "alnum_prop": 0.49546329392356336, "repo_name": "KarrLab/kinetic_datanator", "id": "1de0421c470a38956bfbd2a47bd89371544e0123", "si...
/* * Name mangling for public symbols is controlled by --with-mangling and * --with-jemalloc-prefix. With default settings the je_ prefix is stripped by * these macro definitions. */ #ifndef JEMALLOC_NO_RENAME # define je_malloc_conf je_malloc_conf # define je_malloc_message je_malloc_message # define je_malloc...
{ "content_hash": "c61611042daab3de750d4d1d734417de", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 79, "avg_line_length": 35.21212121212121, "alnum_prop": 0.7581755593803786, "repo_name": "alexandermerritt/redis", "id": "bc1a1ef5b3ff704f889147c9b40aa518d829526a", "size":...
package io.vertx.test.codegen.testvariance; /** * @author <a href="mailto:julien@julienviet.com">Julien Viet</a> */ public interface MethodWithVarAsCoParamAsCoParamInCoPos<@Analyze T> { MethodWithCoType<MethodWithCoType<T>> foo(); }
{ "content_hash": "868414a36680aff46df7aab0002fbd1c", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 69, "avg_line_length": 24, "alnum_prop": 0.7541666666666667, "repo_name": "vert-x3/vertx-codegen", "id": "da32678f7462a55c0226cbeb1667188c0aa2d2dc", "size": "240", "binar...
from decimal import * import getpass import math import os import os.path import platform import sys import time from jsonrpc import ServiceProxy, json BASE_FEE=Decimal("0.001") def check_json_precision(): """Make sure json library being used does not lose precision converting BTC values""" n = Decimal("20000...
{ "content_hash": "2ccfd6d13baa62be6f0d5dee5272be71", "timestamp": "", "source": "github", "line_count": 252, "max_line_length": 111, "avg_line_length": 38.69444444444444, "alnum_prop": 0.6185006665982976, "repo_name": "tinybike/catchcoin", "id": "cb2f2dd506a75607d0b38bfe97c9259e77600b79", "size": "...
<?xml version="1.0" encoding="utf-8"?> <CoverageParams> <TargetExecutable>C:/Program Files/dotnet/dotnet.exe</TargetExecutable> <TargetArguments>test --no-build -c Release</TargetArguments> <Filters> <IncludeFilters> <FilterEntry> <ModuleMask>Google.Cloud.BigQuery.DataExchange.V1Beta1</ModuleMa...
{ "content_hash": "1bf2b12828b75ef2d25df13c5823b046", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 113, "avg_line_length": 43.666666666666664, "alnum_prop": 0.767175572519084, "repo_name": "googleapis/google-cloud-dotnet", "id": "f9ff670f2b134532ad713fa26bf8052054eb14fc", ...
const int IntroSequence::mini = 150; const int IntroSequence::maxi = 400; enum CONTROL_ID playercontrols[4] = {KEYBOARD_0, KEYBOARD_1, KEYBOARD_2, KEYBOARD_3}; IntroSequence::IntroSequence(GameSequence *previous, float zoom, float zoomspeed, i...
{ "content_hash": "c77fea65e116e9c846fc7fdf9060db59", "timestamp": "", "source": "github", "line_count": 684, "max_line_length": 129, "avg_line_length": 30.637426900584796, "alnum_prop": 0.5742985302538652, "repo_name": "martinohanlon/mayhem-pi", "id": "b645a2abd57ce703ac2a03b6a391ad985cd270ea", "si...
<?php /** * @file * Definition of Drupal\system\Tests\File\ScanDirectoryTest. */ namespace Drupal\system\Tests\File; /** * Tests the file_scan_directory() function. */ class ScanDirectoryTest extends FileTestBase { /** * Modules to enable. * * @var array */ public static $modules = array('file_...
{ "content_hash": "e9900a97e9a6beb5695b8e19298a7dc8", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 129, "avg_line_length": 42.17687074829932, "alnum_prop": 0.655483870967742, "repo_name": "augustash/d8.dev", "id": "b4a4885c207956cf4af2d32f20766b1183f770a3", "size": "620...
ACCEPTED #### According to Index Fungorum #### Published in Mycotaxon 29: 199 (1987) #### Original name Cladia moniliformis Kantvilas & Elix ### Remarks null
{ "content_hash": "44539b7debc1f30750cd4dd8e168e23f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 36, "avg_line_length": 12.384615384615385, "alnum_prop": 0.7142857142857143, "repo_name": "mdoering/backbone", "id": "7c8c99f4194d98d58cf1bae45ee9e433eb7da3c3", "size": "22...
// Copyright 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Unit tests for the SyncApi. Note that a lot of the underlying // functionality is provided by the Syncable layer, which has its own // unit tests. We'l...
{ "content_hash": "c1554cd8ff509d8b3221f1b041f94392", "timestamp": "", "source": "github", "line_count": 3580, "max_line_length": 80, "avg_line_length": 38.94469273743017, "alnum_prop": 0.6963606891308401, "repo_name": "hujiajie/pa-chromium", "id": "7ef301466ed7613529d1f598226b23acca6881da", "size":...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\Tareas */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="tareas-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'Tarea')->textInput(['maxlength' => true]) ?> <d...
{ "content_hash": "9ed8273eb0b102eb05b65849292260e1", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 150, "avg_line_length": 23.73913043478261, "alnum_prop": 0.5879120879120879, "repo_name": "Jaaviieer/PrograWeb", "id": "f6df36679f9f436dc29e9637b69faa94195d6d53", "size": "...
import java.util.*; import java.lang.Math; public class SumPairsArray { private static int[] a = {4,7,3,1,8,2,6,12,-2}; public static void main(String[] args) { long startTime = System.currentTimeMillis(); // Core Function here returnSumPairs(a,10); double duration = System.currentTimeMillis() - st...
{ "content_hash": "6b9c697677f4b1d2d169453053269e0a", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 59, "avg_line_length": 23.5, "alnum_prop": 0.609511889862328, "repo_name": "tiagopnoliveira/programming", "id": "f599d444ab7d232823288dbff79348daf83889a6", "size": "799", ...
package com.sap.mentors.lemonaid.jobs; import java.util.ArrayList; import org.quartz.DisallowConcurrentExecution; import org.quartz.Job; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.ann...
{ "content_hash": "e4b12371e9d5e56ad934ae109931a6b5", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 124, "avg_line_length": 34.63636363636363, "alnum_prop": 0.7695538057742782, "repo_name": "sapmentors/lemonaid", "id": "15d147e7e1ceb3980ee17dc118a31e108112dc90", "size": "...
namespace King.MQC.Program { using King.Route; public class Startup : MqcApplication { public override void Start() { //Should these be handled seperately? GlobalConfiguration.Configure(MqcConfig.Register); RouteConfig.RegisterRoutes(RouteTable.Routes); ...
{ "content_hash": "ea95e735b7425ac4f9286d60fe78af21", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 62, "avg_line_length": 21.142857142857142, "alnum_prop": 0.5518018018018018, "repo_name": "jefking/King.MQC", "id": "e603c4be1b23aee360125e89c3a65738de0b7c56", "size": "446...
package org.terasology.rendering.nui.layouts; import com.google.common.collect.Lists; import com.google.common.collect.Maps; import gnu.trove.list.TIntList; import gnu.trove.list.array.TIntArrayList; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.terasology.math.geom.Rect2i; import org.terasology...
{ "content_hash": "8673ee7f40d848f4b5fe2d7f26fbccaf", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 160, "avg_line_length": 34.48679245283019, "alnum_prop": 0.5857314804683226, "repo_name": "kaen/Terasology", "id": "184db050605ca4346ca90d88fb3d7ea66e4b2e4c", "size": "973...
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Heiko Strathmann, Soeren Sonnenburg */ #include <shogun/lib/common.h> #include <shogun/features/streaming/generators/MeanShiftDataGenerator.h> #include <shogun/mathematics/NormalDistribution.h> #include <shogun/mathematic...
{ "content_hash": "8eb8e1df23f93b4286ecda2501d963e0", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 78, "avg_line_length": 26.098765432098766, "alnum_prop": 0.7445600756859035, "repo_name": "lambday/shogun", "id": "186e016ee90b802a937a45605a6c0f2e966f1550", "size": "2114"...
This library was generated with [Nx](https://nx.dev). ## Running unit tests Run `nx test services` to execute the unit tests.
{ "content_hash": "ba2f5575c5d5f9e0d7df7820be590832", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 53, "avg_line_length": 25.6, "alnum_prop": 0.7265625, "repo_name": "UIUXEngineering/ix-material", "id": "8a106f0f6a06c9febbc636aaf985fd94a65454ab", "size": "140", "binary"...
namespace Operations.RabbitMQ { using System; using global::RabbitMQ.Client; public static class QueueDeletion { static void Usage() { #region rabbit-delete-queues-endpoint-usage DeleteQueuesForEndpoint( uri: "amqp://guest:guest@localhost:5672"...
{ "content_hash": "858fde517455b28998d5f925a5b756da", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 83, "avg_line_length": 28.029850746268657, "alnum_prop": 0.5431309904153354, "repo_name": "eclaus/docs.particular.net", "id": "3c8c7aaa5e1fd887d3b92fc6648d192dcfbcf2d0", "s...
import { Component, ViewChild, ElementRef } from '@angular/core'; import { generatedata } from '../../../sampledata/generatedata'; @Component({ selector: 'app-root', templateUrl: './app.component.html' }) export class AppComponent { @ViewChild('cellBeginEditLog') cellBeginEditLog: ElementRef; @ViewC...
{ "content_hash": "484e81724feabc13a83df11dcbd4b255", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 145, "avg_line_length": 38.86868686868687, "alnum_prop": 0.5142931392931392, "repo_name": "juannelisalde/holter", "id": "02142e84dd5ba3bd1d6b9f175d3daa9fd1a11880", "size": ...