text
stringlengths
2
1.04M
meta
dict
Changelog --------- Version 0.3.0 ````````````` *In development* - Added support for factory pattern usage. - Added :ref:`differences` section to the documentation. Version 0.2.1 ````````````` - Fixed bug in the HTML build of the documentation that could cause the title to overlap with the text in some cases. V...
{ "content_hash": "6b523a3d117da31f2185f97736bd0405", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 77, "avg_line_length": 20.529411764705884, "alnum_prop": 0.6790830945558739, "repo_name": "DasIch/Flask-MakeStatic", "id": "3cba1634062293af2987bd6f6ec9776b10b0f0e0", "size...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>raw_socket_service::connect</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link rel="home" href="../../../boost_asio...
{ "content_hash": "e16e457cbc7d3e981ae49c16ae419a1a", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 430, "avg_line_length": 74.9245283018868, "alnum_prop": 0.6426592797783933, "repo_name": "yinchunlong/abelkhan-1", "id": "da6b6ad00c9843d68317593cb3c54c1481931b52", "size":...
package org.drools.testcoverage.regression; public class NumberRestriction { private Number value; public void setValue(Number number) { this.value = number; } public boolean isInt() { return value instanceof Integer; } public Number getValue() { return value; }...
{ "content_hash": "33fe8534763ae7afd3bbdce37b1412b5", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 43, "avg_line_length": 17.73913043478261, "alnum_prop": 0.6274509803921569, "repo_name": "lanceleverich/drools", "id": "9c8d3539951d93de37c5bb43412b94dba60ff8d1", "size": "...
/* eslint-disable */ 'use strict'; /*:: import type { ReaderFragment } from 'relay-runtime'; import type { FragmentReference } from "relay-runtime"; declare export opaque type RelayConcreteVariablesTest8Fragment$ref: FragmentReference; declare export opaque type RelayConcreteVariablesTest8Fragment$fragmentType: Rel...
{ "content_hash": "2e73fb302315da56db5a6c03d430a297", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 117, "avg_line_length": 23.929577464788732, "alnum_prop": 0.6215420835785757, "repo_name": "yungsters/relay", "id": "c4d17aa5c21b1a7b05b39e23417626d158979fc3", "size": "199...
// Package install installs the experimental API group, making it available as // an option to all of the API encoding/decoding machinery. package install import ( "k8s.io/apimachinery/pkg/apimachinery/announced" "k8s.io/apimachinery/pkg/apimachinery/registered" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachi...
{ "content_hash": "8faef82aa7ac4df8a7652df05596eb48", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 83, "avg_line_length": 34.08108108108108, "alnum_prop": 0.7486122125297383, "repo_name": "kzwang/kubernetes", "id": "14e4cf902f28ff5aa9f928ceaed656be81d58fc5", "size": "183...
<?php namespace SebastianBergmann\Comparator; /** * Compares arrays for equality. */ class ArrayComparator extends Comparator { /** * Returns whether the comparator can compare two values. * * @param mixed $expected The first value to compare * @param mixed $actual The second value to c...
{ "content_hash": "821071698b2fea1d68e672384054134c", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 139, "avg_line_length": 33.72093023255814, "alnum_prop": 0.44850574712643676, "repo_name": "fran-bravo/social-cocktail", "id": "cc6b1e79a0d9b42557b213e54a53362d173981d1", ...
import argparse from ..basic.runner import PygameRunner __author__ = 'fyabc' class AntSpider(PygameRunner): def main_loop(self): pass def draw(self): pass def draw_background(self): pass def real_main(options): pass def build_parser(): parser = argparse.ArgumentPars...
{ "content_hash": "e8c7877d0b81ec0ad3517087ff85125f", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 104, "avg_line_length": 15.029411764705882, "alnum_prop": 0.6477495107632094, "repo_name": "fyabc/MiniGames", "id": "fed9779e156cc93bd0c6a93bbde5c2e13a7b8d43", "size": "555...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "653287053a7fb76b88b79588515d98ab", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "0a73fe8fcb28ddacaa211e4f6b7e7b190007ef71", "size": "20...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" > <corners android:radius="2dp" /> <solid android:color="@color/colorPrimary" /> </shape>
{ "content_hash": "3a94a893d736b74d027858f695c3be0e", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 65, "avg_line_length": 39.5, "alnum_prop": 0.6666666666666666, "repo_name": "ZhangZhenghao/Material-WeCenter", "id": "5f685aa93ec16b8ff1bec1b0784a4ae02dc2517e", "size": "237...
IMPLEMENT_CONOBJECT(BehaviorInstance); //----------------------------------------------------------------------------- BehaviorInstance::BehaviorInstance( BehaviorTemplate* pTemplate ) : mTemplate( pTemplate ), mBehaviorOwner( NULL ), mBehaviorId( 0 ) { if ( pTemplate != NULL ) { // Fetch ...
{ "content_hash": "9555e3b7721097769542911b97a863cb", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 159, "avg_line_length": 29.3, "alnum_prop": 0.5363237445148707, "repo_name": "ktotheoz/Torque6", "id": "8eafc12cadb521e132941b5c5bf1816b47f623ad", "size": "3661", "binary...
SecurityAssistant =================
{ "content_hash": "a5566e3d285576b688b7d9f3d90ed3fb", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 17, "avg_line_length": 18, "alnum_prop": 0.4722222222222222, "repo_name": "suphy2009/SecurityAssistant", "id": "be1567d62dc8a6cecf4c79190c930270f4c85361", "size": "36", "b...
""" sqldiff.py - Prints the (approximated) difference between models and database TODO: - better support for relations - better support for constraints (mainly postgresql?) - support for table spaces with postgresql - when a table is not managed (meta.managed==False) then only do a one-way sqldiff ? show differ...
{ "content_hash": "4c219312337523cfd6209c735d0c26b0", "timestamp": "", "source": "github", "line_count": 760, "max_line_length": 448, "avg_line_length": 49.40657894736842, "alnum_prop": 0.6047830834376415, "repo_name": "bop/bauhaus", "id": "33c8749474489b4b38d98d1816b3423961cc4038", "size": "37549",...
.documentableElement { background-color: var(--action-primary-background-default-solid); padding: calc(3 * var(--base-spacing)); border-radius: 4px; margin-bottom: calc(3 * var(--base-spacing)); color: var(--text-primary); position: relative; } .documentableElement:last-child { margin-bottom: 0; } .docu...
{ "content_hash": "50dab41f59015544d8364852b10710c7", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 67, "avg_line_length": 18.84722222222222, "alnum_prop": 0.6897568165070007, "repo_name": "sjrd/dotty", "id": "74ed724232927ca1b3aaa3f93dae93614833fe15", "size": "1357", "...
'use strict'; module.exports.fileExists = fileExists; var fs = require('fs'); /** * @param {string} absolutePath * @return {boolean} if the path exists and is a file. */ function fileExists(absolutePath){ return fs.existsSync(absolutePath) && fs.statSync(absolutePath).isFile(); }
{ "content_hash": "3b5186c7cdbc1cb6698100ef82346a61", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 75, "avg_line_length": 22.153846153846153, "alnum_prop": 0.7118055555555556, "repo_name": "bifodus/node-easy-cluster", "id": "e1fcc972ca07589b23c3bc412c1b078aae64dd93", "si...
title: Scarica product: remmina-plugin-folder depth: 1 ---
{ "content_hash": "dd0c5dbfdeec5a2d670135ec4e2257e2", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 30, "avg_line_length": 12, "alnum_prop": 0.7333333333333333, "repo_name": "muflone/grav-muflone", "id": "a5ab3b38c9dc255173df8dfad6570ffa872faa26", "size": "64", "binary":...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICE...
{ "content_hash": "64a6c5f812fd2adca68a2ef53f894b9f", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 77, "avg_line_length": 36.36842105263158, "alnum_prop": 0.7279305354558611, "repo_name": "apache/xmlbeans", "id": "5f724f02d8ea7498f8bbcf1545d68abfe4aa9940", "size": "1383"...
define(function(){ quickforms.domElements = []; quickforms.DomElement = function(dom) // Create one of these for every control { var me = this; this.dom = dom; if(dom) { this.name = dom.attr("name"); this.id = dom.attr("id"); if(dom.attr("remember")=="") { dom.on('change',function(){ s...
{ "content_hash": "40157fb0a581d4c1493988ee541a98bc", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 83, "avg_line_length": 26, "alnum_prop": 0.5973557692307693, "repo_name": "uoForms/quickforms3", "id": "41994457b2d745d3cba88504bdaa62b39d7c373c", "size": "1920", "binary...
cask "with-conditional-caveats" do version "1.2.3" sha256 "67cdb8a02803ef37fdbf7e0be205863172e41a561ca446cd84f0d7ab35a99d94" url "file://#{TEST_FIXTURE_DIR}/cask/caffeine.zip" homepage "https://brew.sh/" app "Caffeine.app" # a do block may print and use a DSL caveats do puts "This caveat is conditi...
{ "content_hash": "6ab15a4d26fd6afd36a943ced799cea7", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 88, "avg_line_length": 27.642857142857142, "alnum_prop": 0.7441860465116279, "repo_name": "mahori/brew", "id": "265bd7757d7e444e4b43dec9e286b71b37e2808e", "size": "387", ...
package com.xh.jwt.config.auth; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @Data @NoArgsConstructor @AllArgsConstructor @ApiModel("登录注册请求对象") public class JwtAuthenticationRequest { ...
{ "content_hash": "daed8bcc84194aa3edbe1eee2679f736", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 80, "avg_line_length": 25.333333333333332, "alnum_prop": 0.768796992481203, "repo_name": "376453716/spring-demo", "id": "ebfa43d100aa8d09c96f940a6674db1289832d30", "size": ...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"> p, li {margin: 0px...
{ "content_hash": "24bf3ce40a62b70dbfb45990cceea80a", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 146, "avg_line_length": 53.7906976744186, "alnum_prop": 0.6740164288802422, "repo_name": "cooljeanius/MacPorts-fork", "id": "b5767455a3acd22de91861b6208026e2f5e8ffb4", "siz...
/** * Save value to client. */ function saveValue(key, value) { if ('localStorage' in window) { window.localStorage.setItem(key, value); } } /** * Load value from client. */ function loadValue(key) { if ('localStorage' in window && window.localStorage.getItem(key)) { return window.localStorage.getIte...
{ "content_hash": "cc6714dce8c935341fa185a948176c41", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 69, "avg_line_length": 21.606060606060606, "alnum_prop": 0.6044880785413744, "repo_name": "peterkinmond/mazely", "id": "fe00853aed5c95491c1c0fd27862158f3e902c59", "size": "...
namespace atom { class NativeBrowserViewViews : public NativeBrowserView { public: explicit NativeBrowserViewViews( brightray::InspectableWebContentsView* web_contents_view); ~NativeBrowserViewViews() override; uint8_t GetAutoResizeFlags() { return auto_resize_flags_; } void SetAutoResizeFlags(uint8_t ...
{ "content_hash": "6322306e83f65fc08964dc821310a371", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 64, "avg_line_length": 27.083333333333332, "alnum_prop": 0.7523076923076923, "repo_name": "wan-qy/electron", "id": "5dcda13447cde098fccaf8782fefb97d861d47f4", "size": "934"...
var App = angular.module('streamCtrl', [ 'ngRoute', 'btford.socket-io', 'ui.bootstrap', 'streamCtrlDirectives', 'streamCtrlControllers', 'streamCtrlFilters', ]) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/', { templateUrl: 'partials/frontpage.html', ...
{ "content_hash": "35832977ee6a24ef656c034137d1cfe2", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 53, "avg_line_length": 25.894736842105264, "alnum_prop": 0.6402439024390244, "repo_name": "bastibeckr/bmdStreamer", "id": "aa0c874dfa8fac09576f4ab1d5ce2610641164d9", "size"...
<iframe id=i></iframe> <script> var doc = i.contentDocument.cloneNode(); i.remove(); doc.appendChild(document.createElement("audio")); </script>
{ "content_hash": "95b39d75131c7641dc7e4547e6bf8849", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 49, "avg_line_length": 24.166666666666668, "alnum_prop": 0.7241379310344828, "repo_name": "scheib/chromium", "id": "33d52ca89946298d02349877164e5439626232df", "size": "145",...
alias hosts="head -2 ~/.ssh/known_hosts | tail -1 > ~/.ssh/known_hosts" # Pipe my public key to my clipboard. Fuck you, pay me. alias pubkey="more ~/.ssh/id_dsa.pub | pbcopy | echo '=> Public key copied to pasteboard.'"
{ "content_hash": "0ef794bc1932103da486cb781ab0bb28", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 91, "avg_line_length": 55.25, "alnum_prop": 0.6742081447963801, "repo_name": "zenom/dotfiles-new", "id": "72d81b6689b4b06f75dbfe669ada9f6c2f6bde4e", "size": "329", "binary...
layout: "fluid/docs_base" version: "3.4.2" versionHref: "/docs/v3/3.4.2" path: "" category: api id: "fablist" title: "FabList" header_sub_title: "Ionic API Documentation" doc: "FabList" docType: "class" show_preview_device: true preview_device_url: "/docs/v3/demos/src/fab/www/" angular_controller: APIDemoCtrl --- ...
{ "content_hash": "8ee987b4012e534da4fe8692ccadd949", "timestamp": "", "source": "github", "line_count": 474, "max_line_length": 192, "avg_line_length": 22.957805907172997, "alnum_prop": 0.5600992464620475, "repo_name": "driftyco/ionic-site", "id": "f54d88d0d90c018beaf859453f0c981ccbd485bf", "size":...
require 'pathname' require Pathname.new(__FILE__).dirname.dirname.expand_path + 'corosync' Puppet::Type.type(:cs_order).provide(:crm, :parent => Puppet::Provider::Corosync) do desc 'Specific provider for a rather specific type since I currently have no plan to abstract corosync/pacemaker vs. keepalived. This...
{ "content_hash": "f9223fe103c8e3f365227a9f46bff44c", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 95, "avg_line_length": 29.617886178861788, "alnum_prop": 0.6310732912434807, "repo_name": "Axam/nsx-library", "id": "9232d3cab639baa2a778b41e134379260a9dae83", "size": "36...
import time print time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time())) time.sleep(1) print time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(time.time()))
{ "content_hash": "b33aaa692916431fb7e400925cd634c7", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 69, "avg_line_length": 21.25, "alnum_prop": 0.6352941176470588, "repo_name": "yjwx0017/test", "id": "265631a227b037702747c63d8bc53d2fbb50708f", "size": "247", "binary": fa...
var ResourceRouter = require('express').Router({ mergeParams: true }), ProjectController = require('../../controllers').Resources.ProjectController, UserController = require('../../controllers').Resources.UserController, ProjectStack = require('./projectStack') // Load owner and project from pa...
{ "content_hash": "89421659b23ccf89574192031369ad67", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 81, "avg_line_length": 43.333333333333336, "alnum_prop": 0.7630769230769231, "repo_name": "tenevdev/idiot", "id": "9cb283c926ce52c467836c86c67a955f6cad1ea5", "size": "1300"...
import warnings from tencentcloud.common.abstract_model import AbstractModel class AddNodesRequest(AbstractModel): """AddNodes请求参数结构体 """ def __init__(self): r""" :param Placement: 集群中实例所在的位置。 :type Placement: :class:`tencentcloud.thpc.v20220401.models.Placement` :param ...
{ "content_hash": "1d3809e67bc59aec8ef95969087b35a5", "timestamp": "", "source": "github", "line_count": 1391, "max_line_length": 410, "avg_line_length": 36.835370237239395, "alnum_prop": 0.6278933603965806, "repo_name": "tzpBingo/github-trending", "id": "8c5467709a71be68068a6ce638ab09243c620b5f", "...
<!doctype html> <html> <title>npm-build</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-build.html"> <script async=true src="../../static/toc.js"></script> <b...
{ "content_hash": "28eb1e5a47f45ad46bada9bc79af1eb3", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 807, "avg_line_length": 76.61363636363636, "alnum_prop": 0.6997923464847227, "repo_name": "alexander-lee/storm-alert", "id": "b630367628840996409dc9dc2c688d566af66be8", "si...
package main import ( "flag" "fmt" "os" "runtime/pprof" "sort" "time" "golang.org/x/net/context" log "github.com/golang/glog" "github.com/youtube/vitess/go/exit" "github.com/youtube/vitess/go/rpcplus" "github.com/youtube/vitess/go/rpcwrap/bsonrpc" "github.com/youtube/vitess/go/sync2" "github.com/youtube...
{ "content_hash": "0ed5ed5cab25d16bf80edfe2fe86fffc", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 132, "avg_line_length": 25.54123711340206, "alnum_prop": 0.6595358224016146, "repo_name": "mlc0202/vitess", "id": "ba03f1a9bcb45d9f19b99f0298f05ded37d1067d", "size": "5112...
package com.esri.terraformer.core; import org.junit.Test; import static org.junit.Assert.assertEquals; public class BaseGeometryTest { @Test public void testNaiveEquals() throws Exception { BaseGeometry<Double> pt = new Point(100d, 0d); BaseGeometry<Double> pt2 = new Point(100d, 0d, 3d); ...
{ "content_hash": "50661ed81073e4c2842720377df0f7c1", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 72, "avg_line_length": 43.77777777777778, "alnum_prop": 0.6835871404399323, "repo_name": "esripdx/terraformer-java", "id": "193a9f8135ad374535f9c3c5111af7149f50fac3", "size...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_37) on Mon Mar 25 00:16:21 EDT 2013 --> <TITLE> Uses of Class edu.american.student.stonewall.display.css.property.VerticalAlignmentPropertyTest </TIT...
{ "content_hash": "0349b6384d88f94cdf793a46e4426f85", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 298, "avg_line_length": 45.1875, "alnum_prop": 0.6213308744429077, "repo_name": "Ccook/Stonewall", "id": "efa632c30a0bb92d8bf17672f453ed26f724db9a", "size": "6507", "bin...
package cn.luo.yuan.maze.model.skill.elementalist; import cn.luo.yuan.maze.model.Data; import cn.luo.yuan.maze.model.Hero; import cn.luo.yuan.maze.model.skill.*; import cn.luo.yuan.maze.service.InfoControlInterface; import cn.luo.yuan.maze.utils.Field; /** * Created by luoyuan on 2017/7/16. */ public class ElementM...
{ "content_hash": "7bcf53456c343955ad33f81c3641a7b5", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 127, "avg_line_length": 33.75675675675676, "alnum_prop": 0.7045636509207366, "repo_name": "luoyuan800/NeverEnd", "id": "dfe135cc58baa9bced3045ed793035a2a916f964", "size": "...
<!DOCTYPE HTML> <meta charset="UTF-8"> <title>CSS Toggles: getComputedStyle() for toggle-trigger property</title> <link rel="author" title="L. David Baron" href="https://dbaron.org/"> <link rel="author" title="Google" href="http://www.google.com/"> <link rel="help" href="https://tabatkins.github.io/css-toggle/#toggle-t...
{ "content_hash": "b2913a23a1a6b7fd76020e5db71fee54", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 111, "avg_line_length": 59.47826086956522, "alnum_prop": 0.7240497076023392, "repo_name": "chromium/chromium", "id": "4dab2b604545f1826a4e9d07bc8edd757559cad4", "size": "27...
layout: model title: English RobertaForTokenClassification Cased model (from ml6team) author: John Snow Labs name: roberta_ner_keyphrase_extraction_kbir_semeval2017 date: 2022-08-10 tags: [bert, ner, open_source, en] task: Named Entity Recognition language: en edition: Spark NLP 4.1.0 spark_version: 3.0 supported: true...
{ "content_hash": "fc9276237772aa4a57b140b8e2e50ced", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 242, "avg_line_length": 31.566037735849058, "alnum_prop": 0.7453676031081888, "repo_name": "JohnSnowLabs/spark-nlp", "id": "23d1373f1992135ec86f5388e5d4979660747b30", "siz...
<?php namespace Illuminate\Database\Eloquent\Relations; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Query\Expression; use Illuminate\Database\Eloquent\Collection; use Illuminate\Database\Eloquent\ModelNotFoundException; class BelongsToMany extends Relation...
{ "content_hash": "0cde78229e44f65441cbdc1e27fbb165", "timestamp": "", "source": "github", "line_count": 1041, "max_line_length": 113, "avg_line_length": 25.01344860710855, "alnum_prop": 0.6594723299665886, "repo_name": "igrir/jdwlik", "id": "7dd72a5199ee475b6cc493f596fe0cd9444174e3", "size": "26039...
import expect from 'expect' import React, { Component } from 'react' import { Observable } from 'rxjs' import { mount } from 'enzyme' import connectStore from '../src/decorators/connectStore' import createDispatcher from '../src/createDispatcher' function Child({data}) { return <div>{data}</div> } describe('connec...
{ "content_hash": "bf826ad76a05aed4756612200c43c45c", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 78, "avg_line_length": 29.027397260273972, "alnum_prop": 0.6238791882963662, "repo_name": "philplckthun/fluorine", "id": "642716a62463ace0f69b92dc052a1320a8624cb7", "size":...
1. [Overview](#overview) 2. [Module Description - What the module does and why it is useful](#module-description) 3. [Setup - The basics of getting started with rabbitmq](#setup) * [What rabbitmq affects](#what-rabbitmq-affects) * [Setup requirements](#setup-requirements) * [Beginning with rabbitmq](#beginn...
{ "content_hash": "8f7558f68015d7743d9efe50b0bcf9f6", "timestamp": "", "source": "github", "line_count": 439, "max_line_length": 201, "avg_line_length": 24.471526195899774, "alnum_prop": 0.6941264078935121, "repo_name": "prachetasp/puppetlabs-rabbitmq", "id": "129e65b6abd0ed0fb8b1fe6c780154d5446c5d16"...
react-lofty
{ "content_hash": "72ce1afda99aae8ced68e08d64afb7cf", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 11, "avg_line_length": 11, "alnum_prop": 0.9090909090909091, "repo_name": "rachardking/react-lofty", "id": "43b19232103e66de1b756ea9350abca6ea7990ef", "size": "11", "binar...
/* * GET users listing. */ exports.index = function(req, res){ res.render('user/index', { title: '/ My Apps'}); };
{ "content_hash": "a145f49de1d154e340b97e56b30ec4ee", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 50, "avg_line_length": 17, "alnum_prop": 0.5882352941176471, "repo_name": "shutterfly/Mimo", "id": "0f521e4b1f8961787ea50038a8429b7f199409e4", "size": "119", "binary": fal...
package com.bls.patronage.resources; import com.bls.patronage.api.UserRepresentation; import com.bls.patronage.db.dao.UserDAO; import com.bls.patronage.db.model.User; import io.dropwizard.auth.Auth; import io.dropwizard.jersey.params.UUIDParam; import javax.validation.Valid; import javax.ws.rs.GET; import javax.ws.rs...
{ "content_hash": "61e159d01f4bcd2daca62048b5ec668e", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 73, "avg_line_length": 26.710526315789473, "alnum_prop": 0.7054187192118226, "repo_name": "blstream/StudyBox_Backend", "id": "78fada439a26856df832920b6eeb54384388f458", "si...
namespace FakeItEasy { using System; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; /// <summary> /// Hides standard Object members to make fluent interfaces /// easier to read. Found in the source of Autofac: <see cref="!:https://code.google.com/p/autofac/"/> ...
{ "content_hash": "ebf4de7f2b87ab8312e15f2d0cbdd433", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 179, "avg_line_length": 48.20754716981132, "alnum_prop": 0.6344422700587085, "repo_name": "adamralph/FakeItEasy", "id": "fb776987d3199ee7da63915ee95b63f0604acda4", "size": ...
const space = require('./space') const asset = require('./asset') const assets = require('./assets') const entry = require('./entry') const entries = require('./entries') const error = require('./error') const emptyArray = require('./emptyArray') module.exports = { space, asset, assets, entry, entries, err...
{ "content_hash": "5910462bd4b2f7ea1ab00294c9428828", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 42, "avg_line_length": 19.941176470588236, "alnum_prop": 0.6666666666666666, "repo_name": "remedyhealth/contentpull", "id": "7fc2149c6d2b91541793a119aa69e9f2ebbbd873", "siz...
const HOMOLOGS_STATES = { HOMOLOGENE: 'HOMOLOGENE', HOMOLOGENE_RESULT: 'HOMOLOGENE_RESULT', ORTHO_PARA: 'ORTHO_PARA', ORTHO_PARA_RESULT: 'ORTHO_PARA_RESULT' }; export default class ngbHomologsService { homologsServiceMap = {}; currentOrthoParaId; currentHomologeneId; _currentSearch; ...
{ "content_hash": "fcee9d0313502e81418415d324e229b1", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 66, "avg_line_length": 28.084745762711865, "alnum_prop": 0.6391068195534098, "repo_name": "epam/NGB", "id": "1a4afbdd7bc46fd32d818525cf3fe6556035676a", "size": "1657", "b...
package io.netty.testsuite.transport.socket; import io.netty.bootstrap.Bootstrap; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFuture; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.channel.Channel...
{ "content_hash": "7f07e31e932f1adfcc4a82302d4cedff", "timestamp": "", "source": "github", "line_count": 273, "max_line_length": 114, "avg_line_length": 34.87179487179487, "alnum_prop": 0.5921218487394958, "repo_name": "andsel/netty", "id": "9cda05fe1d8ae8bc8db3255d677c998b37d566c3", "size": "10155"...
package com.aol.cyclops.guava; import javaslang.Function1; import javaslang.control.Option; import com.google.common.base.Function; import com.google.common.base.Optional; public class FromJavaslang { public static <T, R> Function<T, R> f1(Function1<T, R> fn) { return (t) -> fn.apply(t); } public static <T> Op...
{ "content_hash": "660d406313512b3ec162028ac3ca61e6", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 61, "avg_line_length": 21.8, "alnum_prop": 0.7041284403669725, "repo_name": "sjfloat/cyclops", "id": "c4f3af20cfe3c5d6e9ee6b674d603752e07fd1d0", "size": "436", "binary": ...
var path = require('path'); var webpack = require('webpack'); var WebpackDevServer = require('webpack-dev-server'); var config = require('./webpack.dev.config'); var compiler = webpack(config); var server = new WebpackDevServer(compiler, { hot: true, // display no info to console (only warnings and errors) ...
{ "content_hash": "fab749d07f4c690e52d3c66112743136", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 97, "avg_line_length": 29.327272727272728, "alnum_prop": 0.6447613143211407, "repo_name": "nsb/jobplanner-grommet", "id": "36a8bf38e94bed2ef4668c19f97c6b9c54aa0baa", "size"...
"use strict"; const path = require('path'); const AdonError = require('./../AdonError'); //get file name without extension let scriptName = path.basename(__filename); scriptName = scriptName.substring(0, scriptName.length-3); class ServerError extends AdonError{ constructor(msg){ super(msg); this.name = scriptNam...
{ "content_hash": "3ff7c70228fdc3992959bb92a91ae691", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 58, "avg_line_length": 24.875, "alnum_prop": 0.7261306532663316, "repo_name": "adonisv79/adon-errors", "id": "bf31bc3628299f5053a4298757d49284e54fcffc", "size": "398", "b...
package org.apache.spark.sql.execution.datasources.parquet import java.math.{BigDecimal => JBigDecimal} import java.nio.charset.StandardCharsets import java.sql.{Date, Timestamp} import org.apache.parquet.filter2.predicate.{FilterApi, FilterPredicate, Operators} import org.apache.parquet.filter2.predicate.FilterApi...
{ "content_hash": "915c207ae0e91282bc6586bc8eeae2aa", "timestamp": "", "source": "github", "line_count": 1033, "max_line_length": 105, "avg_line_length": 42.531461761858665, "alnum_prop": 0.6214635256629111, "repo_name": "eyalfa/spark", "id": "be4f498c921abd4b47927e9797b019822edec235", "size": "4473...
/** @file include/my_thread.h Defines to make different thread packages compatible. */ #ifndef MY_THREAD_INCLUDED #define MY_THREAD_INCLUDED #include <errno.h> #include <stdbool.h> #include <stddef.h> #include <mysql/components/services/my_thread_bits.h> #include "my_compiler.h" #include "my_config.h" #includ...
{ "content_hash": "3e3d71b213ef445884a1f296ce5c92e5", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 80, "avg_line_length": 24.993288590604028, "alnum_prop": 0.6952201933404941, "repo_name": "oleghnidets/OHMySQL", "id": "eb57bb0e93a3fc1815b0ae261789591aab2717b5", "size": ...
require 'mina/bundler' require 'mina/rails' require 'mina/git' # require 'mina/rbenv' # for rbenv support. (http://rbenv.org) require 'mina/rvm' # for rvm support. (http://rvm.io) # Basic settings: # domain - The hostname to SSH to. # deploy_to - Path to deploy into. # repository - Git repo to clone ...
{ "content_hash": "157528a4221c8c2e96ceb3cbbde157a9", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 157, "avg_line_length": 30.589595375722542, "alnum_prop": 0.6681783824640968, "repo_name": "iqv8/admin.iqv8", "id": "fc8a48b8eda1eb044fd3dc3432082eea2fa8fa88", "size": "53...
<?php /** * Sequential Theme Customizer * * @package Sequential */ /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function sequential_customize_register( $wp_customize ) { $wp_customize->get_setti...
{ "content_hash": "3978d0092c2f65cf697d8b20ea9e95b6", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 146, "avg_line_length": 32.705882352941174, "alnum_prop": 0.6068859198355602, "repo_name": "Doap/sinkjuice.com", "id": "6ce48dc6bb0dd8d5c85ce6a35c5297bd5a355c48", "size": ...
// Copyright 2011 the V8 project authors. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of ...
{ "content_hash": "f6ba816c1fc8646cf7e3918ff61a7f04", "timestamp": "", "source": "github", "line_count": 4210, "max_line_length": 96, "avg_line_length": 31.760570071258908, "alnum_prop": 0.6863482709106139, "repo_name": "davidbetz/netrouter", "id": "4b7f6e735fe7cc98d758dcc8e28d3c21625bd4cd", "size":...
package com.nike.cerberus.util; import static org.assertj.core.api.Fail.fail; import java.util.UUID; import org.junit.Before; import org.junit.Test; public class UuidSupplierTest { private UuidSupplier subject; @Before public void setUp() throws Exception { subject = new UuidSupplier(); } @Test ...
{ "content_hash": "65dbc8236a9f1db0ea195b8724b3dd9e", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 70, "avg_line_length": 18.866666666666667, "alnum_prop": 0.6890459363957597, "repo_name": "Nike-Inc/cerberus", "id": "bfaeeda62fcbb8989751e47d1ad8456d0dbd012c", "size": "11...
module StowCookbook # Methods to build proper stow command invocation module Command # Wrap most specific stow binary & flags into a method def stow(type = nil) Chef::Log.debug ".stow: #{stow_command(type)} #{stow_command_flags}" "#{stow_command(type)} #{stow_command_flags}" end # packa...
{ "content_hash": "0126be68eb844a8a7cb2b58cb6b7986c", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 79, "avg_line_length": 33.7109375, "alnum_prop": 0.6155272305909618, "repo_name": "stevenhaddox/cookbook-stow", "id": "ad73e0d79b9adefaac0765ae04382a64f4e98a54", "size": "...
{# basic/sourcelink.html ~~~~~~~~~~~~~~~~~~~~~ Sphinx sidebar template: "show source" link. :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. #} {%- if show_source and has_source and sourcename %} <div role="note" aria-label="source link"> ...
{ "content_hash": "7cc29ff44e39bae817887518e88a5ed7", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 68, "avg_line_length": 30.22222222222222, "alnum_prop": 0.5551470588235294, "repo_name": "lmregus/Portfolio", "id": "4ec8fa7c04de15aab5971ae2f5a5d8dca44158e3", "size": "544...
package com.cws.esolutions.web.enums; /* * Project: eSolutions_java_source * Package: com.cws.esolutions.web.enums * File: ServiceModificationType.java * * History * * Author Date Comments * ---------------------------------------------------------------------------- *...
{ "content_hash": "4561d6cc292dffdea4719002976a22c6", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 79, "avg_line_length": 22.727272727272727, "alnum_prop": 0.51, "repo_name": "cwsus/esolutions", "id": "e17bfa6da9461b685a5bcdedba2983720f071e0e", "size": "997", "binary":...
package Google::Ads::AdWords::v201402::FeedItemOperation; use strict; use warnings; __PACKAGE__->_set_element_form_qualified(1); sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201402' }; our $XML_ATTRIBUTE_CLASS; undef $XML_ATTRIBUTE_CLASS; sub __get_attr_class { return $XML_ATTRIBUTE_CLASS; } u...
{ "content_hash": "3aafea648e2209e59cc2627b28cfed03", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 87, "avg_line_length": 16.513513513513512, "alnum_prop": 0.6513911620294599, "repo_name": "gitpan/GOOGLE-ADWORDS-PERL-CLIENT", "id": "165606e72533a24c2bced1c10027ccbe53789cb...
var $ = require('../internals/export'); var parseInt = require('../internals/number-parse-int'); // `Number.parseInt` method // https://tc39.es/ecma262/#sec-number.parseint // eslint-disable-next-line es/no-number-parseint -- required for testing $({ target: 'Number', stat: true, forced: Number.parseInt != parseInt },...
{ "content_hash": "0b073437f018b9e70750e94749aad150", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 74, "avg_line_length": 38.666666666666664, "alnum_prop": 0.6954022988505747, "repo_name": "cloudfoundry-community/asp.net5-buildpack", "id": "7c6773da62875e50630b78b5c405e91b9...
package org.jetbrains.plugins.groovy.util; import com.intellij.codeInsight.TailType; import com.intellij.openapi.editor.Document; import com.intellij.openapi.editor.Editor; import com.intellij.psi.codeStyle.CommonCodeStyleSettings; /** * @author Sergey Evdokimov */ public class FieldInitializerTailTypes extends Tai...
{ "content_hash": "1fb572fcc398deae5c6d136f7b3b2f00", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 111, "avg_line_length": 34.75, "alnum_prop": 0.7153134635149023, "repo_name": "jk1/intellij-community", "id": "4e0fb697f846411f173036b02a01d064972e57e9", "size": "1946", ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/dialogflow/cx/v3/deployment.proto package com.google.cloud.dialogflow.cx.v3; public interface ListDeploymentsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.cx.v3.ListDeployments...
{ "content_hash": "414724c93739fa0ee900446876aaebbe", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 107, "avg_line_length": 25.44578313253012, "alnum_prop": 0.6273674242424242, "repo_name": "googleapis/java-dialogflow-cx", "id": "7a416f1e5f535838f9244b5dd2cb59315f96ab0a", ...
{% extends 'parkmap/base.html' %} {% block title %}{% endblock %} {% block meta %}{% endblock %} {% block bodyclass %} <body class="neighborhood"> {% endblock %} {% block content %} <div> {{ story.text }} </div> {% endblock %}
{ "content_hash": "208e26b3457596591400c56b918d4f37", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 97, "avg_line_length": 14.3, "alnum_prop": 0.47202797202797203, "repo_name": "MAPC/bostonparks", "id": "35bb46e98e9c9851a1b12f03084eb106474c2e92", "size": "286", "binary"...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Welcome extends CI_Controller{ public function index(){ $query = $this->db->query('SELECT * FROM images LIMIT 20'); $this->load->view('welcome_message', array( 'resultset' => $query->result_array() )); } }
{ "content_hash": "057e6caac2828a21fee764a486b41429", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 63, "avg_line_length": 26.727272727272727, "alnum_prop": 0.6666666666666666, "repo_name": "gftools/collage-board", "id": "6b8f87b30e06795baa14beee7d0ceddfdb9931f7", "size":...
import {SECURITY_SCHEMA} from '@angular/compiler/src/schema/dom_security_schema'; import {LView} from '@angular/core/src/render3/interfaces/view'; import {enterView, leaveView} from '@angular/core/src/render3/state'; import {bypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl, bypassSanitizationTrustScr...
{ "content_hash": "f7648c0ef9331d129b7e049daf596244", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 199, "avg_line_length": 50.984375, "alnum_prop": 0.6788231688630095, "repo_name": "snaptech/angular", "id": "2c7a8d2650c61de2eb74eb090da8518512212b4f", "size": "6816", "...
#ifndef QUECTEL_BC95_CELLULAR_POWER_H_ #define QUECTEL_BC95_CELLULAR_POWER_H_ #include "AT_CellularPower.h" namespace mbed { class QUECTEL_BC95_CellularPower : public AT_CellularPower { public: QUECTEL_BC95_CellularPower(ATHandler &atHandler); virtual ~QUECTEL_BC95_CellularPower(); public: //from Cellular...
{ "content_hash": "bfd880d94921c07c20165e6b45f1d3ca", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 60, "avg_line_length": 20.391304347826086, "alnum_prop": 0.7313432835820896, "repo_name": "betzw/mbed-os", "id": "a10ab3e5d36532c439fd2e66f18a03d7d6848de7", "size": "1123",...
import java.util.function.Function; public class ValDelegateMethodReference { public void config() { final Column<Entity, java.lang.String> column = createColumn(Entity::getValue); } private <V> Column<Entity, V> createColumn(Function<Entity, V> func) { return new Column<>(func); } } class Column<T, V> { pu...
{ "content_hash": "a1c7ed2bd5d601018083fe0662be85fb", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 81, "avg_line_length": 21.723076923076924, "alnum_prop": 0.7322946175637394, "repo_name": "Lekanich/lombok", "id": "186e2aaa37396257ecc76416ea36434cc058a7de", "size": "1412...
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> </style> </resources>
{ "content_hash": "37f0261c5add9a2a4fb02edf5c0ad227", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 77, "avg_line_length": 23.22222222222222, "alnum_prop": 0.5933014354066986, "repo_name": "koustuvsinha/androidSensorsDemo", "id": "491af76e275955f3447a675e6bb0c0b0e4c3276b", ...
package bsh; import java.io.*; import java.util.*; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; /** This class is an implementation of the ClassGenerator interface which contains generally bsh related code. The actual bytecode generation is done by ClassGeneratorUtil. @...
{ "content_hash": "71e3a8c8af45a74589c26df0416f6cc8", "timestamp": "", "source": "github", "line_count": 352, "max_line_length": 73, "avg_line_length": 31.025568181818183, "alnum_prop": 0.7230107133046424, "repo_name": "neoautus/lucidj", "id": "f0682944c93a417b11c7f3a24d19b7269d3de44b", "size": "128...
import React, { Component } from 'react'; import { Field, reduxForm } from 'redux-form'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import { createPost } from '../actions'; class PostsNew extends Component { renderField(field) { const { meta: { touched, error} } = field...
{ "content_hash": "2e86e8035a111a484dc885f6d705fb0e", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 81, "avg_line_length": 28.376470588235293, "alnum_prop": 0.486318407960199, "repo_name": "Ian8829/ReactRouter-ReduxForm", "id": "53dbdca4b10479ddbf4c34f7f1d81ef27f2cab61", ...
#ifndef __MEDIA_RECORDEROBSERVERWORKER_H #define __MEDIA_RECORDEROBSERVERWORKER_H #include <thread> #include <mutex> #include <condition_variable> #include <queue> #include <atomic> #include <functional> #include <iostream> #include <fstream> #include <tinyalsa/tinyalsa.h> #include <media/MediaRecorder.h> #include ...
{ "content_hash": "9baaac1de08ac991c7e4b060b65ddac5", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 49, "avg_line_length": 19.363636363636363, "alnum_prop": 0.7715179968701096, "repo_name": "btheosam/TizenRT", "id": "4b8a1e971ce44e6088987b0d8fc411e125f49407", "size": "139...
package com.instaclick.pentaho.plugin.amqp.initializer; import com.instaclick.pentaho.plugin.amqp.listener.ConfirmationAckListener; import com.instaclick.pentaho.plugin.amqp.listener.ConfirmationRejectListener; import com.instaclick.pentaho.plugin.amqp.AMQPPlugin; import com.instaclick.pentaho.plugin.amqp.AMQPPluginDa...
{ "content_hash": "3e7e38b69313dccbdc96c1c94ad67322", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 141, "avg_line_length": 39.95192307692308, "alnum_prop": 0.6397111913357401, "repo_name": "instaclick/PDI-Plugin-Step-AMQP", "id": "eed6f511d3b2a292de725a0e6b1c9ebfb902f81c"...
import { NgModule } from '@angular/core'; import { RouterModule, Routes } from '@angular/router'; import { TowersComponent } from './towers-list/towers-list.component'; import { TowerDetailComponent } from './tower-detail/tower-detail.component'; import { HeroesComponent } from './heroes-list/hero...
{ "content_hash": "5003cfbe5b8c449d08823479730dae1b", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 79, "avg_line_length": 40.130434782608695, "alnum_prop": 0.6890574214517876, "repo_name": "ssadiks/form-builder", "id": "5393970d89269cf28eecde82253e076d5bc35145", "size": ...
window.mafiaSystem.gangs =[ { type:"gang", title:"Corleone", isInSystem:true, leader:{ name:"Vito Corleone", sex:"male", isInSystem:true }, children:[ { type:"white-business", title:"Tomor...
{ "content_hash": "e748cf3e95e7709ccf75c77680df1f68", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 68, "avg_line_length": 25.973684210526315, "alnum_prop": 0.34295845997973656, "repo_name": "alexzhaosheng/knot.js", "id": "1740cd525522bf993878af06d0000fead8550517", "size"...
package org.jboss.pnc.termdbuilddriver.websockets; /** * @author <a href="mailto:matejonnet@gmail.com">Matej Lazar</a> */ public interface ClientMessageHandler { public void onMessage(byte[] bytes); public void onMessage(String message); }
{ "content_hash": "09004225758cbc77fbca361307b7a85f", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 63, "avg_line_length": 22.818181818181817, "alnum_prop": 0.7370517928286853, "repo_name": "pgier/pnc", "id": "2096b0b20a0a85b17b2e8d578312049469f1a47a", "size": "954", "b...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>posix::basic_stream_descriptor::io_control (1 of 2 overloads)</title> <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> <link...
{ "content_hash": "c9ab8930a1768e0199a1f09149546d8d", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 445, "avg_line_length": 72.01020408163265, "alnum_prop": 0.6516933541164801, "repo_name": "yinchunlong/abelkhan-1", "id": "0e7e6df00df75a4083e4b2c278c82e062cb9517c", "size"...
""" Test functions for models.GLM """ import os import warnings import numpy as np from numpy.testing import ( assert_, assert_allclose, assert_almost_equal, assert_array_less, assert_equal, assert_raises, ) import pandas as pd from pandas.testing import assert_series_equal import pytest from s...
{ "content_hash": "33ec9d847340de46cc00427d6faa09ea", "timestamp": "", "source": "github", "line_count": 2620, "max_line_length": 112, "avg_line_length": 38.48664122137404, "alnum_prop": 0.5722021123617791, "repo_name": "bashtage/statsmodels", "id": "6750bbb386050e41365c6ec3415d2537a86fa438", "size"...
<?php namespace Ekyna\Bundle\ProductBundle\Repository; use Ekyna\Component\Resource\Doctrine\ORM\TranslatableResourceRepository; /** * Class OptionRepository * @package Ekyna\Bundle\ProductBundle\Repository * @author Etienne Dauvergne <contact@ekyna.com> */ class OptionRepository extends TranslatableResourceRep...
{ "content_hash": "6eb7e91fd3722d5462a8c01cb7e4bde9", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 73, "avg_line_length": 23.714285714285715, "alnum_prop": 0.8102409638554217, "repo_name": "ekyna/ProductBundle", "id": "6d643b7fc3b324f0d60a8c30fcba5edcfb48dc07", "size": "...
<?php namespace luya\cms\models; use Yii; use luya\admin\models\User; use yii\helpers\Json; use luya\cms\admin\Module; use yii\base\InvalidParamException; /** * Eventer-Logger for CMS Activitys * * @property integer $id * @property integer $user_id * @property integer $is_insertion * @property integer $is_upda...
{ "content_hash": "6fa7393117a48527bddbd53ca9ad9d3e", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 120, "avg_line_length": 30.67632850241546, "alnum_prop": 0.4804724409448819, "repo_name": "nandes2062/luya", "id": "8ed5cc5936ba38641694d24b637d2ca75c04ed62", "size": "635...
'use strict'; module.exports = { db: 'mongodb://localhost/ship-test', port: 3001, app: { title: 'Ship - Test Environment' }, facebook: { clientID: process.env.FACEBOOK_ID || 'APP_ID', clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET', callbackURL: '/auth/facebook/callback' }, twitter: { client...
{ "content_hash": "61ba4a50af303eb114b0e24e8369aaca", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 77, "avg_line_length": 28.65909090909091, "alnum_prop": 0.675654242664552, "repo_name": "exzeroex/shipping", "id": "7a24e9a231fdb76844a449842b11fe444ea66973", "size": "1261...
import java.util.Iterator; import java.util.TreeSet; public class Sort13 { public static void main(String[] args) { // create ascending iterator Iterator<String> iterator = ascending("1", "13", "17", "2"); // displaying the Tree set data System.out.println("Tree set data in ascending order: "); ...
{ "content_hash": "3989d6ac5c9a1eae0d17c2778e0e2c20", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 64, "avg_line_length": 24.107142857142858, "alnum_prop": 0.64, "repo_name": "aas-integration/integration-test", "id": "d81597cf8de6d97a49dd7cc8d4ee2e444764be33", "size": "6...
require File.dirname(__FILE__) + '/../spec_helper' describe SitemapHelper do #Delete this example and add some real ones or delete this file it "should include the SitemapHelper" do included_modules = self.metaclass.send :included_modules included_modules.should include(SitemapHelper) end end
{ "content_hash": "c9de3ff9b9ef9d90adb71e63ced7b008", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 65, "avg_line_length": 28.636363636363637, "alnum_prop": 0.7396825396825397, "repo_name": "jhnsntmthy/tgs_store", "id": "3b8b738df5442102828bfe0a85d23dd1439949db", "size": ...
<?php use Celestial\Api\ApiProvider; use Celestial\Api\ApiResponse; class ServicesTestsHelper { public static function mockApi($methods = null, $callback = null) { if ($methods instanceof Closure) { $callback = $methods; $methods = null; } if (is_null($methods)...
{ "content_hash": "ea62a7ec5a370cad68174871cb027236", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 82, "avg_line_length": 22.444444444444443, "alnum_prop": 0.5420792079207921, "repo_name": "goolead/celestial-sdk", "id": "93be72de436ef8ffeddc201c297455508867a0d1", "size":...
from re import compile, escape from ..scraper import _BasicScraper, _ParserScraper from ..helpers import indirectStarter, bounceStarter from ..util import tagre from .common import ComicControlScraper, WordPressScraper, WordPressNavi, WordPressWebcomic class Namesake(ComicControlScraper): url = 'http://namesakec...
{ "content_hash": "6c32111cdc30a43b0863fa5a17179acb", "timestamp": "", "source": "github", "line_count": 219, "max_line_length": 110, "avg_line_length": 34.56164383561644, "alnum_prop": 0.6230677764565993, "repo_name": "webcomics/dosage", "id": "8387bccf2ede1485404a84a7eff4dca631594991", "size": "77...
use_inline_resources provides :zabbix_graph if defined? provides def whyrun_supported? true end TYPE = { normal: 0, stacked: 1, pie: 2, exploded: 3, }.freeze action :create do converge_by("Creating data for #{new_resource}") do graph_items = new_resource.graph_items.map do |gi| { ...
{ "content_hash": "c47c993c8404fd63465c86ce27444ec7", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 116, "avg_line_length": 20.261904761904763, "alnum_prop": 0.5981198589894242, "repo_name": "chromko/test_lwrp_docker", "id": "15a1729a6adcdee519e026616a085b83fc52719f", "si...
package gosnmp import ( "fmt" "log" "net" "sync" "time" ) // // Sending Traps ie GoSNMP acting as an Agent // // SendTrap sends a SNMP Trap (v2c/v3 only) // // pdus[0] can a pdu of Type TimeTicks (with the desired uint32 epoch // time). Otherwise a TimeTicks pdu will be prepended, with time set to // now. This...
{ "content_hash": "0d661abf9abd3bfcfeb1cb4d0fa0a311", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 75, "avg_line_length": 24.177033492822968, "alnum_prop": 0.6873144666534732, "repo_name": "qiniu/logkit", "id": "67923789ec22594a3140219fdc15a4a788ef1add", "size": "5223",...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CoApp.VSE.VisualStudio.Tools")] [assembly: Guid("bce9242e-ccbd-482c-bfff-a70fa348aa20")]
{ "content_hash": "a973a175fdef3da52f7a018738e26e7f", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 57, "avg_line_length": 35.8, "alnum_prop": 0.8044692737430168, "repo_name": "henjuv/coapp-vse", "id": "660d8ac68d0dc4fe8ca2df08aa07074ceb6908e8", "size": "181", "binary": ...
class AbstractCompany < ActiveRecord::Base self.abstract_class = true end class Company < AbstractCompany self.sequence_name = :companies_nonstd_seq validates_presence_of :name has_one :account, foreign_key: "firm_id" has_one :dummy_account, foreign_key: "firm_id", class_name: "Account" has_many :contrac...
{ "content_hash": "0bf8a58f8dae516ca74890c7d0c9bd07", "timestamp": "", "source": "github", "line_count": 234, "max_line_length": 182, "avg_line_length": 37.675213675213676, "alnum_prop": 0.6928312159709619, "repo_name": "yahonda/rails", "id": "4d0d7db5570285d747792f768a80549137eece3f", "size": "8847...
<?php // Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. // For licensing, see LICENSE.html or http://ckfinder.com/license // Defines the object for the Croatian language. $GLOBALS['CKFLang'] = array ( 'ErrorUnknown' => 'Nije moguće završiti zahtjev. (Greška %1)', 'Errors' => ar...
{ "content_hash": "101cc42a1a6a93db249369382b3d15b4", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 183, "avg_line_length": 54.388888888888886, "alnum_prop": 0.686414708886619, "repo_name": "fuhongliang/2015weitonghui", "id": "2e0ebe69e73ca7930946a4d458df4b585bc1999b", "s...
using namespace PlayFabComboSdk; using namespace rapidjson; enum PlayFabApiTestActiveState { PENDING, // Not started ACTIVE, // Currently testing READY, // An answer is sent by the http thread, but the main thread hasn't finalized the test yet COMPLETE, // Test is finalized and recorded ABORTED // ...
{ "content_hash": "0d66634b7219bf5ff27f30155d0d13c1", "timestamp": "", "source": "github", "line_count": 683, "max_line_length": 195, "avg_line_length": 42.440702781844806, "alnum_prop": 0.6594680373960741, "repo_name": "PlayFab/LumberyardSDK", "id": "f2d5b8ce15a137c7df9ff6ca9346f2543a347681", "size...
declare THIS_EXEC="$(basename "${BASH_SOURCE[0]}")" declare DOTFILES_HOME="$HOME/.dotfiles" declare DOTFILES_REPO="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" declare IMPORT="$DOTFILES_REPO/bash/source" declare DOTFILES_LINK="$DOTFILES_REPO/link" declare DOTFILES_COPY="$DOTFILES_REPO/copy" declare LINK_HOME="$DOTFIL...
{ "content_hash": "00826f01dd76c47b47c6df6c6a6f7c28", "timestamp": "", "source": "github", "line_count": 263, "max_line_length": 84, "avg_line_length": 24.09125475285171, "alnum_prop": 0.6669823232323232, "repo_name": "tjtrabue/zsh-dotfiles", "id": "7825e5aa85f53ec4df987d4c1f901b78dca5f1f5", "size":...
package org.onosproject.cli.net.vnet; import static org.onlab.osgi.DefaultServiceDirectory.getService; import org.apache.karaf.shell.console.completer.ArgumentCompleter.ArgumentList; import org.onosproject.cli.AbstractChoicesCompleter; import org.onosproject.incubator.net.virtual.NetworkId; import org.onosproject.i...
{ "content_hash": "4193ef10da56c122f55bd69e2ba02ce1", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 86, "avg_line_length": 36.83606557377049, "alnum_prop": 0.6987093902981754, "repo_name": "osinstom/onos", "id": "19a31a34cbe6b0208c5b2506f7d36bbb625eb4c0", "size": "2864", ...
""" ** OBS - this is not a normal command module! ** ** You cannot import anything in this module as a command! ** This is part of the Evennia unittest framework, for testing the stability and integrity of the codebase during updates. This module test the default command set. It is instantiated by the src/objects/te...
{ "content_hash": "c242eee03a883a36a7e5f23ce29b8e76", "timestamp": "", "source": "github", "line_count": 221, "max_line_length": 147, "avg_line_length": 58.07239819004525, "alnum_prop": 0.6505376344086021, "repo_name": "TaliesinSkye/evennia", "id": "ccad26bf56d499c91ea687b54830a060cab4981c", "size":...
SOAP Interop Round2 base 018 (soap/direct): echoHexBinary --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $client = new SoapClient(NULL,array("location"=>"test://","uri"=>"http://soapinterop.org/","trace"=>1,"exceptions"=>0)); $client->__soapCall("echoHexBinary", array(new SoapParam(new SoapVar('soapx4',...
{ "content_hash": "909df9d733be9e1d6ee5d9a0c2c71d5e", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 517, "avg_line_length": 93.11111111111111, "alnum_prop": 0.7356801909307876, "repo_name": "lunaczp/learning", "id": "a531069388c6340de61ea9720ae6e8f9d3ce78b6", "size": "168...
/* Theme Name: Laputan Machines Theme URI: https://github.com/FlatlanderWoman/laputanMachines/releases Author: Michael Bassili Author URI: http://bassi.li/ Description: A WordPress theme for a video game blog. Everything has been designed to fit the minimalist aesthetic resulting in a clean, easy to read blog page. Ver...
{ "content_hash": "7f86d5c9e4ef152b43c312db07ffd351", "timestamp": "", "source": "github", "line_count": 896, "max_line_length": 160, "avg_line_length": 18.202008928571427, "alnum_prop": 0.6333926053099516, "repo_name": "FlatlanderWoman/laputanMachines", "id": "b477027f46b836c19dd778a1bd5b5e88d6f837bc...
#import <Foundation/Foundation.h> #import "ManifestTime.h" #import "LinearTime.h" #import "PlaybackPolicy.h" typedef enum { PlaylistEntryType_Media, // URI points to single-segment Smooth/HLS/DASH/Progressive media PlaylistEntryType_Static, // URI points to static page PlaylistEnt...
{ "content_hash": "5a5db8e61a71ed086233102013300b44", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 132, "avg_line_length": 34.3, "alnum_prop": 0.7383381924198251, "repo_name": "CloudMetal/azure-media-player-framework", "id": "744a211a8aa62a6b9c9cc43e8bdd759e340ec356", "s...
// ========================================================================== // SeqAn - The Library for Sequence Analysis // ========================================================================== // Copyright (c) 2006-2016, Knut Reinert, FU Berlin // All rights reserved. // // Redistribution and us...
{ "content_hash": "058c08b15520bb7a9198c7f5770e5936", "timestamp": "", "source": "github", "line_count": 786, "max_line_length": 129, "avg_line_length": 51.23155216284987, "alnum_prop": 0.5964537598092778, "repo_name": "variar/contest-template", "id": "eab33c6382754bf940d895d6f2d138a731eb03aa", "siz...
/** * Example that shows the use of the the progress callback. * The progress bar is made using the node-progress (https://github.com/visionmedia/node-progress) module. * You need to install the dev dependencies to make it work. */ var Curl = require( '../lib/Curl' ), path = require( 'path' ), fs = requi...
{ "content_hash": "ea5b1eaccc081a404f762b4965777659", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 106, "avg_line_length": 27.82857142857143, "alnum_prop": 0.6457905544147844, "repo_name": "yesyayen/Website-Uptime-Monitor", "id": "a10acab88d3acbb74d3e30bb940739738639f08f",...
@interface SuperCardTests : XCTestCase @end @implementation SuperCardTests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown { // Put teardown code here. This method is called after the invocation of ea...
{ "content_hash": "f60effb2fa9059693a864a101bba0eae", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 107, "avg_line_length": 23.17241379310345, "alnum_prop": 0.6785714285714286, "repo_name": "mcxiaoke/learning-ios", "id": "dc109e53fcdc087f3262509357157b69e2d302fc", "size":...