text
stringlengths
2
1.04M
meta
dict
<?php namespace Bolt\Provider; use Bolt\Controller; use Bolt\Controllers; use Bolt\Events\ControllerEvents; use Bolt\Events\MountEvent; use Bolt\Thumbs\ThumbnailProvider; use Silex\Application; use Silex\ServiceProviderInterface; use Symfony\Component\EventDispatcher\EventSubscriberInterface; class ControllerServiceP...
{ "content_hash": "436a0321d5d4cc70d57489ff2e1c7cf3", "timestamp": "", "source": "github", "line_count": 164, "max_line_length": 93, "avg_line_length": 36.84146341463415, "alnum_prop": 0.5724925521350546, "repo_name": "tekjava/bolt", "id": "aaa9a4effe11c51ba6c6a944088411e3f3dc727b", "size": "6042", ...
"""Run and parse output from FastQC. http://www.bioinformatics.babraham.ac.uk/projects/fastqc/ """ import os import shutil import pandas as pd try: from fadapa import Fadapa except ImportError: Fadapa = None from bcbio import bam, utils from bcbio.distributed.transaction import tx_tmpdir from bcbio.log impor...
{ "content_hash": "351b5ef3f3fd66c8163df466be1741f4", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 125, "avg_line_length": 45, "alnum_prop": 0.5563786008230452, "repo_name": "lbeltrame/bcbio-nextgen", "id": "f4a798c74ae06b4365aa92d7e8b7cffb020945e6", "size": "6075", "...
.class public Landroid/net/EthernetDataTracker; .super Ljava/lang/Object; .source "EthernetDataTracker.java" # interfaces .implements Landroid/net/NetworkStateTracker; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Landroid/net/EthernetDataTracker$InterfaceObserver; } .e...
{ "content_hash": "cc7c80bd760645f02c1de80205cfc1fd", "timestamp": "", "source": "github", "line_count": 1278, "max_line_length": 158, "avg_line_length": 26.296557120500783, "alnum_prop": 0.7083048174487458, "repo_name": "baidurom/devices-base", "id": "2ba6de8ec151258efea860acb0ddc3b4b6bfe51d", "siz...
namespace JSLintNet.Specifications.Tasks { using System; using System.Collections.Generic; using System.IO; using System.Text; using JSLintNet; using JSLintNet.Abstractions; using JSLintNet.Properties; using JSLintNet.QualityTools; using JSLintNet.QualityTools.Expectations; usin...
{ "content_hash": "3a69b2bdb5980fe20adca0e71de742b6", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 201, "avg_line_length": 39.5761316872428, "alnum_prop": 0.5099303317042737, "repo_name": "jkorell/jslintnet", "id": "eece1f29f4fad81c1b87dc2ffd096071b05f8b1a", "size": "96...
./gradlew -q compile exportClasspath
{ "content_hash": "9bd0ba8088513acb94ee0574b2507957", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 36, "avg_line_length": 37, "alnum_prop": 0.8108108108108109, "repo_name": "heuermh/nextflow", "id": "1a47271ddf82101372cfb71091512bd092ac601e", "size": "49", "binary": fal...
package com.jlfex.hermes.service.security; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import org.springframework.se...
{ "content_hash": "0fe9dbac07a0afc8938bb8d0f6dc3d4c", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 126, "avg_line_length": 31.083333333333332, "alnum_prop": 0.7613941018766756, "repo_name": "fuhongliang/hermes", "id": "634d9e266e1664f31c20ac9101845f4ce2310865", "size": "...
#ifndef _STLP_ALGO_C #define _STLP_ALGO_C #if !defined (_STLP_INTERNAL_ALGO_H) # include <stl/_algo.h> #endif #ifndef _STLP_INTERNAL_TEMPBUF_H # include <stl/_tempbuf.h> #endif _STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE template <class _BidirectionalIter, class _Distance, class _Compare> void __merge_w...
{ "content_hash": "8552f256276a98b657978557216ea038", "timestamp": "", "source": "github", "line_count": 1993, "max_line_length": 139, "avg_line_length": 36.657802308078274, "alnum_prop": 0.5545518005995155, "repo_name": "sysprogs/stlport-kernel", "id": "583d4659abb8e80094327d97312bd02d35c61e4f", "s...
"""This code example gets all child ad units of the effective root ad unit. To create ad units, run create_ad_units.py The LoadFromStorage method is pulling credentials and properties from a "googleads.yaml" file. By default, it looks for this file in your home directory. For more information, see the "Caching authen...
{ "content_hash": "0f495be610766e4638c10a5baf407e76", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 78, "avg_line_length": 31.25, "alnum_prop": 0.6811428571428572, "repo_name": "dietrichc/streamline-ppc-reports", "id": "241907a191c2406029cfd623dfae0aa3dd54127d", "size": "...
<!doctype html> <link rel="import" href="../../bower_components/polymer/polymer.html"> <link rel="import" href="../../bower_components/core-elements/core-elements.html"> <link rel="import" href="../../bower_components/paper-elements/paper-elements.html"> <link rel="import" href="../scaffold-layout/scaffold-layout.html"...
{ "content_hash": "4f3f25690874784cf22140e82a0833b6", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 112, "avg_line_length": 46.83606557377049, "alnum_prop": 0.5474273713685684, "repo_name": "aurel-l/mind-js", "id": "668bba752b757a496f0ef26689eb86bf50ade4b2", "size": "2857...
import { ArrayCollection } from '../../src/ArrayCollection'; import { assert } from 'chai'; describe('ArrayCollection', () => { describe('.add()', () => { it('should add an item to the collection', () => { let collection = new ArrayCollection; assert.isArray(collection); collection.add('foo')...
{ "content_hash": "9a4aaa1c472761786ed15e02de818678", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 63, "avg_line_length": 28.57777777777778, "alnum_prop": 0.5995334370139969, "repo_name": "Rawphs/wetland", "id": "13c2ef3bdda3328447d7c8ae6c9fb2abaa06ad8b", "size": "1286",...
<?php final class PhabricatorUIConfigOptions extends PhabricatorApplicationConfigOptions { public function getName() { return pht("User Interface"); } public function getDescription() { return pht("Configure the Phabricator UI, including colors."); } public function getOptions() { $manifest ...
{ "content_hash": "7d580f36c0432e6327ceba9c162081e3", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 66, "avg_line_length": 23.78125, "alnum_prop": 0.6268068331143233, "repo_name": "Automattic/phabricator", "id": "83c9f054c35bc65505d21c2c5c3d9bc751c14581", "size": "761", ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "chainparamsbase.h" #include "clientversion.h" #include "rpcclient.h" #in...
{ "content_hash": "d8f26d02ea63d2aa76e1a02d8f752796", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 143, "avg_line_length": 37.15325670498084, "alnum_prop": 0.5667732288336599, "repo_name": "drewtalati/talaticoin", "id": "8adbfa0c7d0ad2c955aab5f5c5b22ec70d3faba6", "size"...
import tests_query_eval import test_query_files
{ "content_hash": "171d63c170e0f1f686651523eed8d6d3", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 23, "avg_line_length": 24, "alnum_prop": 0.8333333333333334, "repo_name": "BRAINSia/tract_querier", "id": "3956084250fce40eb75ba411bda75e93fa4427c1", "size": "48", "binary...
package com.sfl.pms.services.payment.common.impl.channel; import com.sfl.pms.services.customer.model.Customer; import com.sfl.pms.services.payment.common.dto.channel.ProvidedPaymentMethodProcessingChannelDto; import com.sfl.pms.services.payment.common.model.channel.PaymentProcessingChannel; import com.sfl.pms.services...
{ "content_hash": "51524ec0aadef7de16b8c8f0257adac4", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 204, "avg_line_length": 44.920529801324506, "alnum_prop": 0.7144331416777238, "repo_name": "sflpro/ms_payment", "id": "23f05632a1427dc2d17a2becc6010cd2b2a9759e", "size": "...
'use strict'; var mongoose = require('mongoose'), Schema = mongoose.Schema; var ChapterSchema = new Schema({ _id: String, name: String, city: String, state: String, country: { type: String, ref: 'Country' }, geo: { lng: Number, lat: Number }, group_type: String, status: String, site: String, organizers: [{...
{ "content_hash": "be989c281fd1431465509c4746cf052d", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 45, "avg_line_length": 20.225806451612904, "alnum_prop": 0.6539074960127592, "repo_name": "nassor/hub", "id": "4a04a8b36942622d8b5dc1f730dfd8fc3d7d4c37", "size": "627", "...
class DocsController < ApplicationController def index @doc = Doc.find("#{ENV['MODE']}_index") @title = @doc.title render :show end def show @doc = Doc.find(params[:id]) @title = @doc.title end end
{ "content_hash": "8bf5f532e26613e57f602e39d91eb9f4", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 44, "avg_line_length": 18.916666666666668, "alnum_prop": 0.6167400881057269, "repo_name": "CrossRef/lagotto", "id": "fbf71a19d11b8815e3a9d8426d9d442a2c375fb0", "size": "227...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>Developed by dzineden</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="author" content="K...
{ "content_hash": "fa889ae5b9cc61046429009f829879b3", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 250, "avg_line_length": 35.826530612244895, "alnum_prop": 0.6399886072344062, "repo_name": "kingkris/b16", "id": "59dd8e7e7fe91eaa123281e3f7300c2cd5c4259f", "size": "3511",...
======================================================================= title: Space Invaders Next - Copyright (c) 2017 Stefano Peris version:0.3 license: MIT author: Stefano Peris {TechnoPrometheus} date: 17/01/2017 description: Space Invaders, alternative version. notes: nothing love_Engine_version: 0.10.2 ==========...
{ "content_hash": "6e479ad2472449ee7690794583d463a5", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 72, "avg_line_length": 28.5, "alnum_prop": 0.6240601503759399, "repo_name": "TechnoPrometheus/Space-Invaders-Next", "id": "4bb6014606b7684df272ad528795f65f7634ff73", "size"...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in K. H. Rechinger, Fl. iranica 13:25. 1965 #### Original name null ### Remarks null
{ "content_hash": "d47e031b317c2df85ca41461a620fe40", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 40, "avg_line_length": 13.076923076923077, "alnum_prop": 0.6882352941176471, "repo_name": "mdoering/backbone", "id": "b74df002b0c51f015d2f1583ce9bfbb2123d73cd", "size": "24...
package com.google.api.ads.dfp.jaxws.v201311; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * The action used for deleting {@link LineItem} objects. A line item can be * deleted if it has ...
{ "content_hash": "e8883982af769888272bb53d05a670f8", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 95, "avg_line_length": 24.846153846153847, "alnum_prop": 0.6780185758513931, "repo_name": "nafae/developer", "id": "8e9d65709f9ae1d8a1130d0ad1cff935b70540d3", "size": "969"...
' The MIT License (MIT) ' ' Copyright (c) 2017 Richard L King (TradeWright Software Systems) ' ' Permission is hereby granted, free of charge, to any person obtaining a copy ' of this software and associated documentation files (the "Software"), to deal ' in the Software without restriction, including without limitati...
{ "content_hash": "b914483c279ddc98dc48d21efe8c3d8d", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 146, "avg_line_length": 23.34108527131783, "alnum_prop": 0.7030886748588508, "repo_name": "tradewright/tradebuild-platform.net", "id": "24fe92a09d74b9c27a6e0892352a5c897eddd...
Website that uses the Hyde theme. An elegant open source, mobile-first theme for [Jekyll](https://github.com/mojombo/jekyll). It includes lightweight styles and placeholder content to get you up and running with a simple blog in no time. <img src="images/screen.png"> Open sourced under the [MIT license](LICENSE.md). ...
{ "content_hash": "ce015c7bc77f2203f769977db7c0ef05", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 203, "avg_line_length": 40.5, "alnum_prop": 0.7685185185185185, "repo_name": "Mich93/mich93.github.io", "id": "d7c5f24edc7b868f2dcab33bd1a9c9cfd7bb2bc6", "size": "371", "b...
namespace osquery { #define __GFLAGS_NAMESPACE google const std::string kDescription = "your operating system as a high-performance " "relational database"; const std::string kEpilog = "osquery project page <http://osquery.io>."; DEFINE_osquery_flag(string, osquery_log_dir, ...
{ "content_hash": "de8b2a4e12b58b13266e9a3fa871fb16", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 80, "avg_line_length": 33, "alnum_prop": 0.6272727272727273, "repo_name": "researcher111/osquery", "id": "dff8de4aa761d7d1dc31e57050fb36055876fbc6", "size": "2511", "bina...
<!DOCTYPE html> <html ng-app="blocJams"> <head lang="en"> <meta charset="UTF-8"> <title>Bloc Jams Angular</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:400,800,600,700,300"> ...
{ "content_hash": "4b8d43aedbe92c616036cc37911bd66e", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 120, "avg_line_length": 50.857142857142854, "alnum_prop": 0.6633895131086143, "repo_name": "pjwilson27/bloc-jams-angular", "id": "1df9ca543b2834590d9109ccb207a91853c19b7d", ...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
{ "content_hash": "68ac412c3c7b3ad79655599fdb1b9e46", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 89, "avg_line_length": 34.09756097560975, "alnum_prop": 0.6008583690987125, "repo_name": "siwaphol/cshomework", "id": "94d22531bd03f7b79ac81b44207843e4cf84b6c8", "size": "1...
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0"> <!-- The definition of the Root Spring Container shared by all ...
{ "content_hash": "633393a47b0bc83c258e3ce5e7d0f64b", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 119, "avg_line_length": 38.017857142857146, "alnum_prop": 0.642555190230155, "repo_name": "otipc/webapp", "id": "256960de5702ac013fa7e15297bb502b4b311663", "size": "2129", ...
This is a cross-platform, 100% ES6 implementation of the Unix `cat` command. ```bash npm install cash-cat -g ``` This will install `cat` globally in your system path. For help on the command, type: ```bash > cat --help ``` ## More This module is part of [Cash](https://github.com/dthree/cash), a project providing ...
{ "content_hash": "debe279c2d06a4cf4c48633f50294ad6", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 166, "avg_line_length": 31.4468085106383, "alnum_prop": 0.709742895805142, "repo_name": "dthree/cash", "id": "ec6e6e0984f3e65a1e9bb34a6280cd68e65af34f", "size": "1497", "...
var app = app || {}; app.blueprints = app.blueprints || {}; app.active = app.active || {};
{ "content_hash": "b0a295b53be846b24f27d477c70c55ac", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 38, "avg_line_length": 15.666666666666666, "alnum_prop": 0.5638297872340425, "repo_name": "swimclan/sharpnd_scheduler", "id": "325414f0268a7a962e39a99f734826246dd3cdd5", "si...
Test order of destruction not interfering with access to UV handles --SKIPIF-- <?php extension_loaded("uv") or die("SKIP: ext/uv required for this test"); ?> --FILE-- <?php include __DIR__.'/../../vendor/autoload.php'; use Amp\Loop; Loop::run(function () { Loop::setState('test', new class { private $hand...
{ "content_hash": "999522313877456d1660eaf265e54ec1", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 69, "avg_line_length": 21.482758620689655, "alnum_prop": 0.5537720706260032, "repo_name": "staabm/amp", "id": "bd6a9dd267a28d708484da1a63cda278cb019b0d", "size": "632", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="generator" content="rustdoc"> <meta name="description" content="API documentation for the Rust `P943` type in crate `typenum`."> <meta name="keywords" con...
{ "content_hash": "401020c23dd621d8152492605fb42ed2", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 267, "avg_line_length": 38.530973451327434, "alnum_prop": 0.5089572806614607, "repo_name": "nitro-devs/nitro-game-engine", "id": "b99628f65bf52a101d7e1739de0404fa63f62f7b", ...
<html> <head> <title>GT-I9300 Linux/3.0.13 Android/4.0.4 Release/09.25.2012 Browser/AppleWebKit534.30 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/534.30 Android 4.0.1;</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css"> ...
{ "content_hash": "b73590fff7d0e22ad8a1fe5e76a819ef", "timestamp": "", "source": "github", "line_count": 973, "max_line_length": 546, "avg_line_length": 40.27132579650565, "alnum_prop": 0.5250867701102491, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "8fdb309db650c2e51b0260b2bdf707db0b9...
(function() { var Utility = { distance: function(x1, y1, x2, y2) { var xDelta = (x1 - x2); var yDelta = (y1 - y2); return Math.sqrt(xDelta * xDelta + yDelta * yDelta); }, now: window.performance && window.performance.now ? window.performance.now.bind(window.perf...
{ "content_hash": "1e470df34c7b479ceea748a154329e71", "timestamp": "", "source": "github", "line_count": 546, "max_line_length": 93, "avg_line_length": 25.55677655677656, "alnum_prop": 0.5382685968181167, "repo_name": "Chilledheart/chromium", "id": "ea69b2fa5e98c95493851b79255667fcfc69fa91", "size":...
// // UIImage+ZX.m // XAlbum // // Created by 陈知行 on 15/7/9. // Copyright (c) 2015年 yunmu. All rights reserved. // #import "UIImage+ZX.h" #import <UIKit/UIKit.h> @implementation UIImage (ZX) + (UIImage *)resizedImage:(NSString *)name { UIImage *image = [UIImage imageNamed:name]; return [image stretchable...
{ "content_hash": "d606bfba8101f93d249a31d63f1e31d2", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 112, "avg_line_length": 27.47872340425532, "alnum_prop": 0.6825396825396826, "repo_name": "niusgithub/MaiAn", "id": "31e522864eb96396c24c9677baec316ef78086fc", "size": "259...
* `shapes.inselect` - a circle in each corner and a rectangle in the centre * `pinned.inselect` - three pinned insects * `barcodes.inselect` - three pinned insects, each with an associated Data Matrix barcode # Metadata templates * `test.inselect_template` - `catalogNumber`, `Location` and `Taxonomy` # Cookie cutt...
{ "content_hash": "054629a5cb49daff95c65155a4079e45", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 81, "avg_line_length": 33.18181818181818, "alnum_prop": 0.7479452054794521, "repo_name": "NaturalHistoryMuseum/inselect", "id": "62e275610292b39f4f9e89377d6611861af0a829", ...
package.path = package.path .. ";/usr/local/etc/logproxy/?.lua" local redded = 0 -- number of redacted entries -- Get which user has authed this request local user = os.getenv('REMOTE_USER') local kint = os.getenv('REQUEST_URI'):match("^/kibana-int/") and true or false -- Query LDAP for host records local hosts = {}...
{ "content_hash": "cd968b28dc989b800cead441ac106f46", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 123, "avg_line_length": 26.831932773109244, "alnum_prop": 0.5233322893830253, "repo_name": "stumped2/infrastructure-puppet", "id": "91f68069f1b32e492764d13ff86fbf39949a3a8e"...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html><head><title></title> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta name="generator" content="Doxygen 1.8.4"> <link rel="stylesheet" type="text/css" href="search.c...
{ "content_hash": "fda9e6278b9179cbb9ffde4e218d891c", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 121, "avg_line_length": 39.69230769230769, "alnum_prop": 0.7112403100775194, "repo_name": "gpierre42/optraj", "id": "d98db3c881fdb056550e954bcdcc7817ce830684", "size": "103...
package com.google.api.ads.dfp.jaxws.v201411; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for performReconciliationOrderReportActionResponse element d...
{ "content_hash": "269445fe2c27ab05db07aab860f7b1b5", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 123, "avg_line_length": 26.46875, "alnum_prop": 0.6570247933884298, "repo_name": "ya7lelkom/googleads-java-lib", "id": "c3b9fa05052a6d7474edc5cebeeac1edfea4e596", "size": "...
/** * \file record_conv.h * \brief Record Conversions Utility */ #ifndef YAZ_RECORD_CONV_H #define YAZ_RECORD_CONV_H #include <stddef.h> #include <yaz/wrbuf.h> #include <yaz/yconfig.h> #include <yaz/xmltypes.h> #include <yaz/z-opac.h> YAZ_BEGIN_CDECL /** record conversion handle */ typedef struct yaz_record_c...
{ "content_hash": "5ad2b0a3fa5a274015811a81d365b252", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 77, "avg_line_length": 27.179310344827588, "alnum_prop": 0.6698807409286983, "repo_name": "jkb78/extrajnm", "id": "c038197d6fc3e0003a1689694bfc9bac3f9d28f5", "size": "5541...
PROVIDERS=(#"testvelocidadeu.mismenet.net" \ "speedtestbcn.adamo.es" \ "speedtestbcn.adamo.es" \ "testvelocidad.eu/speed-test" \ "testvelocidad.eu/speed-test" \ "speedtest.conectabalear.com/ba/") DEBUG=0 MIN=6 # minimum value for the longitude of random value of salt MAX=8 # maximum value for the longitude of random ...
{ "content_hash": "e42f8b173f3e6fd5cb647239116d68dc", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 118, "avg_line_length": 30.511111111111113, "alnum_prop": 0.6372906045156591, "repo_name": "elsudano/Fedora", "id": "6e0fd59e0325fe61f11bee54c8cb44529ea5bf14", "size": "138...
package com.simsilica.sim; /** * * * @author Paul Speed */ public abstract class AbstractGameSystem implements GameSystem { private GameSystemManager parent; private boolean initialized = false; protected AbstractGameSystem() { } protected GameSystemManager getM...
{ "content_hash": "d4535490edfd7bf031ff3c7b8a850715", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 79, "avg_line_length": 20.783783783783782, "alnum_prop": 0.5487646293888166, "repo_name": "Simsilica/SiO2", "id": "d17d99b9109f794602ff9a51ead99343e0428942", "size": "3204"...
package org.pac4j.config.client; /** * Properties constants for the {@link PropertiesConfigFactory}. * * @author Jerome Leleu * @since 2.0.0 */ public interface PropertiesConstants { String FACEBOOK_ID = "facebook.id"; String FACEBOOK_SECRET = "facebook.secret"; String FACEBOOK_SCOPE = "facebook.scop...
{ "content_hash": "2b9203bec13067c6b51ce95266ca1ae7", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 91, "avg_line_length": 47.53439153439153, "alnum_prop": 0.7265138023152271, "repo_name": "zawn/pac4j", "id": "ad94296c16bfe9d1fb874cdf8a2e6a33b5e8409c", "size": "8984", ...
package com.ezcloud.framework.controller; import javax.annotation.Resource; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework....
{ "content_hash": "697c7f51d383c63dfa8ddeeb23b6566c", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 130, "avg_line_length": 35.95238095238095, "alnum_prop": 0.7698675496688742, "repo_name": "javakaka/hslg", "id": "7ae801c3a42c01d3da5fa183958733389f92c815", "size": "3038",...
from __future__ import absolute_import from __future__ import division from __future__ import print_function import tensorflow as tf from tensorflow.python.ops import control_flow_ops from tensorflow.contrib import slim def _crop(image, offset_height, offset_width, crop_height, crop_width): original_shape = tf.sh...
{ "content_hash": "7bfa1df06f3c77e5e7f939e3bc1d8b04", "timestamp": "", "source": "github", "line_count": 177, "max_line_length": 101, "avg_line_length": 37.067796610169495, "alnum_prop": 0.6317634506934918, "repo_name": "CharlesShang/FastMaskRCNN", "id": "373e573f9ae3ae1860e39743d41c59d8788ab40f", "...
<?php namespace EntityManager51700fd5cc848_546a8d27f194334ee012bfe64f629947b07e4919\__CG__\Doctrine\ORM; /** * CG library enhanced proxy class. * * This code was generated automatically by the CG library, manual changes to it * will be lost upon next generation. */ class EntityManager extends \Doctrine\ORM\Entit...
{ "content_hash": "f3bee9c10763e3f317141f9c68d2b2b5", "timestamp": "", "source": "github", "line_count": 531, "max_line_length": 144, "avg_line_length": 30.173258003766477, "alnum_prop": 0.6280738983897142, "repo_name": "Derasten/symfony2", "id": "21cf0898f90983052337b27991a0cbb83a7accc2", "size": "...
#region License // Copyright (c) 2007 James Newton-King // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // restriction, including without limitation the rights to use, // copy, ...
{ "content_hash": "cd680661b89e51073b92f5c5764fb82b", "timestamp": "", "source": "github", "line_count": 1615, "max_line_length": 236, "avg_line_length": 33.024148606811146, "alnum_prop": 0.5290246371920351, "repo_name": "extesla/OpenGamingLibrary", "id": "095043dc7977548a267841e18154069b2121a339", ...
from flask import current_app, escape import redis # Connect to redis. This is run only when this file is loaded; as # long as the pod is alive, the connection is reused. redisConnection = redis.StrictRedis(host='redis.guestbook', port=6379, db=0) def main(): messages = redisConnection.lrange('guestbook', 0, -1)...
{ "content_hash": "b05c18c8fe5356fd19694dd6ec40fb27", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 77, "avg_line_length": 34.47826086956522, "alnum_prop": 0.5825977301387137, "repo_name": "life1347/fission", "id": "a95016b4fe0d687cfce0f36d87f4dabd25c7aefc", "size": "894"...
import React from 'react'; import { connect } from 'react-redux'; import { getSelectedThemeName } from 'shell/themes/ThemesSelectors'; import { selectTheme } from 'shell/themes/ThemesActions'; import shellStatusBarStyles from 'shell/views/ShellStatusBarView.scss'; import { Icon, IIconTarget } from 'common/components/...
{ "content_hash": "5ddc5d71d97cb572eb41dfe4c89f3bbb", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 138, "avg_line_length": 32.984375, "alnum_prop": 0.7025106584557081, "repo_name": "okoala/creative-egg", "id": "3dfea8d0d9d60ef90e7cc7546adb2b753099984b", "size": "2111", ...
<!-- HTML header for doxygen 1.8.18--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" con...
{ "content_hash": "dc9107fb3fc69285f12e2ca4f7f3116c", "timestamp": "", "source": "github", "line_count": 279, "max_line_length": 512, "avg_line_length": 52.68817204301075, "alnum_prop": 0.6934013605442176, "repo_name": "or-tools/docs", "id": "fce2135961d5c289675cdfbb3fef29aa1adac0c7", "size": "14700...
(function () { var doc = global.document, commonElements = { "test": doc.getElementById("test"), "start": doc.getElementById("start"), "stop": doc.getElementById("stop"), "results": doc.getElementById("results") }, childRemoved, childrenCleared, childNodesCleared; function assignValues() { c...
{ "content_hash": "4a420339815ac58630235e1f8a574999", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 43, "avg_line_length": 17.3125, "alnum_prop": 0.6541516245487364, "repo_name": "mkmcdonald/Matt-s-DOM-Utils", "id": "5a5183f19f3f18468377e7a4019be3b3a3900dbb", "size": "138...
using System; using UnityEngine; using UnityEngine.UI; public class ColorLerpComponent : MonoBehaviour { public AnimationCurve PulseCurve; public Color StartColor; public Color EndColor; private Graphic _graphic; // Use this for initialization void Start() { _graphic = base.GetCom...
{ "content_hash": "e49e3e2d36567b7e83ebbc43cb41dfa0", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 105, "avg_line_length": 22.73913043478261, "alnum_prop": 0.6768642447418738, "repo_name": "AVWD/ProjectTD", "id": "b47ee72b78213d788534da8a83e87bb97db142ab", "size": "525",...
using System; namespace Communist { /// <summary> /// Represents an object that records when it was created and last modified and by whom /// </summary> public interface IAuditable { /// <summary> /// Gets or sets the created <see cref="DateTime"/> /// </summary> Da...
{ "content_hash": "472ebae97c518e76a6bc441ceffb1639", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 91, "avg_line_length": 26.066666666666666, "alnum_prop": 0.5332480818414322, "repo_name": "bsheldrick/communist", "id": "24ef925eec7bcbc6a3b1a27b5370f8f473dc70a4", "size": ...
package com.google.android.exoplayer.util; import com.google.android.exoplayer.upstream.Loader; import com.google.android.exoplayer.upstream.Loader.Loadable; import android.os.Handler; import android.os.Looper; import android.os.SystemClock; import android.util.Pair; import java.io.IOException; import j...
{ "content_hash": "876f56d8d529f231d17b75de26e1cb49", "timestamp": "", "source": "github", "line_count": 373, "max_line_length": 97, "avg_line_length": 28.72117962466488, "alnum_prop": 0.6543451880892374, "repo_name": "tyazid/Exoplayer_VLC", "id": "383307591b04e1d718ce2438a950f8ad0c86dcb6", "size": ...
"""Podcache core extension.""" from grow import extensions from grow.cache import podcache from grow.collections import collection from grow.extensions import hooks class PodcacheDevFileChangeHook(hooks.DevFileChangeHook): """Handle the dev file change hook.""" # pylint: disable=arguments-differ def tri...
{ "content_hash": "35c6a5add663a55309b1ce9772d8f6bb", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 85, "avg_line_length": 36.883720930232556, "alnum_prop": 0.667717528373266, "repo_name": "grow/pygrow", "id": "78c337c14fa9df65631d58250504dd0099347a17", "size": "1586", ...
//MIT, 2018, Tomáš Pažourek, https://github.com/tompazourek/Colourful using System.Diagnostics.CodeAnalysis; using System.Globalization; namespace PaintLab.Colourful { /// <summary> /// CIE 1931 XYZ color space /// </summary> public readonly struct XYZColor : IColorVector { #region Const...
{ "content_hash": "295bcefd15f9d82eedb29c7e120cd325", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 142, "avg_line_length": 28.010309278350515, "alnum_prop": 0.5171144644828856, "repo_name": "LayoutFarm/PixelFarm", "id": "b2998fbd272a8cb13340f075f4c1af174095a842", "size":...
Mac OS X megacoind build instructions ==================================== Authors ------- * Laszlo Hanyecz <solar@heliacal.net> * Douglas Huff <dhuff@jrbobdobbs.org> * Colin Dean <cad@cad.cx> * Gavin Andresen <gavinandresen@gmail.com> License ------- Copyright (c) 2009-2012 Bitcoin Developers Copyright (c) 2013-20...
{ "content_hash": "e94ef3ed7f1ecebae8d9858bcd1b50e9", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 175, "avg_line_length": 34.54010695187166, "alnum_prop": 0.7391237033596532, "repo_name": "CCPorg/MEC-MegaCoin-Ver-179600-Copy", "id": "9646e8d1d255bec0d036a120762270678ec96...
namespace device { // Noise implements a small subset of the Noise Protocol Framework [1]. // // http://www.noiseprotocol.org/noise.html#the-handshakestate-object class COMPONENT_EXPORT(DEVICE_FIDO) Noise { public: // HandshakeType enumerates the supported handshake patterns. enum class HandshakeType { kKNpsk...
{ "content_hash": "44bead001b3fb2609379cd4d58e92821", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 79, "avg_line_length": 34.5, "alnum_prop": 0.7142028985507246, "repo_name": "scheib/chromium", "id": "3a55be8863c137594292d56e0dc827b17125b7aa", "size": "2204", "binary":...
package org.gradoop.flink.algorithms.gelly.connectedcomponents.functions; import org.apache.flink.api.common.functions.MapFunction; import org.apache.flink.api.java.tuple.Tuple2; import org.apache.flink.graph.Vertex; /** * Map function to pass the gelly vertex as tuple. */ public class MapVertexIdComponentId imple...
{ "content_hash": "bafcca23d4b5b99442b5ac91478ace61", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 100, "avg_line_length": 29.764705882352942, "alnum_prop": 0.7727272727272727, "repo_name": "rostam/gradoop", "id": "c7b2c7e11b078965f37405b5807afa27c3b2d8f7", "size": "1143...
package com.google.cloud.storage.spi; import com.google.cloud.spi.ServiceRpcFactory; import com.google.cloud.storage.StorageOptions; /** * An interface for Storage RPC factory. * Implementation will be loaded via {@link java.util.ServiceLoader}. */ public interface StorageRpcFactory extends ServiceRpcFactory<Sto...
{ "content_hash": "18bce09a077c3766b9eb4b53ac2f6f38", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 78, "avg_line_length": 24.142857142857142, "alnum_prop": 0.7899408284023669, "repo_name": "mbrukman/gcloud-java", "id": "75a3cbafca5b63f964dfb87f98a549c332ce0671", "size": ...
/** * @fileoverview 确认对象是否在数组中 * @authors liangdong2 * @param {Array} arr 要操作的数组 * @param {Mixed} item 要搜索的对象 * @return {Boolean} 如果对象在数组中,返回true * @example var $contains = require('kit/util/contains'); console.debug($contains([1,2,3,4,5],3)); //true */ define('lib/kit/arr/contains',function(require,exports...
{ "content_hash": "d87279f997b815a65a608ba402323e01", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 63, "avg_line_length": 20.714285714285715, "alnum_prop": 0.6620689655172414, "repo_name": "Esoul/luckydraw", "id": "731811e6c24167880687606aa023291e31f516ef", "size": "501"...
namespace boost { namespace geometry { #ifndef DOXYGEN_NO_DETAIL namespace detail { namespace point_iterator { template <typename Geometry, typename Tag = typename tag<Geometry>::type> struct iterator_type : not_implemented<Geometry> {}; template <typename Linestring> struct iterator_type<Linestring, linest...
{ "content_hash": "e10ffc3b62a5ef2a986c4ad532b6ba6f", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 75, "avg_line_length": 25.046296296296298, "alnum_prop": 0.6462107208872458, "repo_name": "SketchUp/sketchup-ruby-debugger", "id": "92c0c093c995c5c1d571a818d411e6efdc13e0b0"...
package org.jkiss.dbeaver.ext.postgresql.edit; import org.jkiss.code.NotNull; import org.jkiss.code.Nullable; import org.jkiss.dbeaver.DBException; import org.jkiss.dbeaver.ext.postgresql.model.*; import org.jkiss.dbeaver.model.DBPEvaluationContext; import org.jkiss.dbeaver.model.DBPScriptObject; import org.jkiss.dbe...
{ "content_hash": "c8213240bb05a29b843c247dff37505d", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 199, "avg_line_length": 41.67164179104478, "alnum_prop": 0.6814111747851003, "repo_name": "serge-rider/dbeaver", "id": "551b2027eddfcfa34c767ac527ea76dab09add45", "size": ...
package com.lyndir.lhunath.opal.gui.zui; import com.lyndir.lhunath.opal.gui.zui.PDialog; /** * TODO: PDialogClosedListener<br> * * @author lhunath */ public interface PDialogClosedListener { /** * Notify the listener that the given dialog was closed. * * @param dialog The dialog that was clo...
{ "content_hash": "b77875bf90ac408ebb1768957943813f", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 60, "avg_line_length": 18.7, "alnum_prop": 0.679144385026738, "repo_name": "Lyndir/Opal", "id": "91ada8986e11b1659821875b27b81ddf7d0ea993", "size": "999", "binary": false...
package jef.net.ftpserver.ipfilter; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Collection; import java.util.HashSet; import java.util.concurrent.CopyOnWriteArraySet; import org.apache.mina.filter.firewall.Subnet; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** ...
{ "content_hash": "d0bd40cf0ad374aa5671186f5c602124", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 91, "avg_line_length": 26.14, "alnum_prop": 0.6426931905126243, "repo_name": "xuse/ef-others", "id": "e71051d478231230876267bd2b5813293d50e898", "size": "6034", "binary"...
package com.ss.dw.mrshell.formater; import java.lang.reflect.Field; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.ss.dw.mrshell.annotation.AREGLog; import com.ss.dw.mrshell.annotation.AREGLog.Param; import com.ss.dw.mrshell.log.ILog; import com.ss.dw.mrshell.util.ReflectionUtil; ...
{ "content_hash": "d296eeaa0a9bb0192a4c2671e8cb4f07", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 84, "avg_line_length": 27.220588235294116, "alnum_prop": 0.6223662884927067, "repo_name": "nonggia/mrshell", "id": "44cd10f70e748db2ab20a71ed92e7d51b041469b", "size": "1851...
"""Wildcard parsing.""" from __future__ import annotations import re import functools import bracex import os from . import util from . import posix from . _wcmatch import WcRegexp from typing import AnyStr, Iterable, Pattern, Generic, Optional, Sequence, overload, cast UNICODE_RANGE = '\u0000-\U0010ffff' ASCII_RANGE ...
{ "content_hash": "b88ea4ebb4aa37100922df17fadd2dba", "timestamp": "", "source": "github", "line_count": 1686, "max_line_length": 119, "avg_line_length": 33.1773428232503, "alnum_prop": 0.5040670754598924, "repo_name": "facelessuser/wcmatch", "id": "05912d1533964f9ded3d3fabed249642731b88b2", "size":...
package com.redshape.plugins.packagers; import com.redshape.plugins.starters.EngineType; /** * Created by IntelliJ IDEA. * User: Nikelin * Date: 09.01.12 * Time: 18:09 * To change this template use File | Settings | File Templates. */ public interface IPackageStarter { public EngineType getEngineType...
{ "content_hash": "30e0afce4c70c97a8a22023abb84406a", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 64, "avg_line_length": 18.4, "alnum_prop": 0.6929347826086957, "repo_name": "nikelin/Redshape-AS", "id": "2693cd472143e580bce91002979483ad1419a453", "size": "973", "binar...
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Blog Ads --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-{{site.cfg.adsense_publisher_id}}" data-ad-slot="{{site.cfg.adsense_unit_no}}" data-ad-format="auto"></ins> <script> (adsbygoogle...
{ "content_hash": "2a17ea3b44b86325125337e5243fd864", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 86, "avg_line_length": 36.9, "alnum_prop": 0.6585365853658537, "repo_name": "36web/blog", "id": "fa245c6707081d4aa4cc6aa414fb41ce3356de62", "size": "369", "binary": false...
package cloud::aws::billing::mode::listservices; use base qw(centreon::plugins::mode); use strict; use warnings; sub new { my ($class, %options) = @_; my $self = $class->SUPER::new(package => __PACKAGE__, %options); bless $self, $class; $options{options}->add_options(arguments => {}); retur...
{ "content_hash": "0db711b737d6c4ad7f74ce04334acdb5", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 119, "avg_line_length": 26.91919191919192, "alnum_prop": 0.5403377110694184, "repo_name": "Sims24/centreon-plugins", "id": "80f1a6bcdb4e892d289bc41001f7b79ed47ec014", "size...
class Sparkey::HashReader include Sparkey::Errors def open(filename) hash_filename = "#{filename}.spi" log_filename = "#{filename}.spl" ptr = FFI::MemoryPointer.new(:pointer) handle_status Sparkey::Native.hash_open(ptr, hash_filename, log_filename) @hash_reader_ptr = ptr.read_pointer end ...
{ "content_hash": "f290a7e0c1a776fc11c13987585af046", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 95, "avg_line_length": 21.980392156862745, "alnum_prop": 0.6895628902765388, "repo_name": "adamtanner/sparkey", "id": "d2a97475368c8de194b7500ed21540faab4e2f6f", "size": "1...
/** * @file BootLoader.h * @author Junaith Ahemed Shahabdeen * * Boot loader state machine, recovery mechanism and * the application test mechanisms like SELF_TEST and * Image verify are implemented in this file. */ #ifndef BOOT_LOADER_H #define BOOT_LOADER_H #include <HPLInit.h> /** * Boot Loader State. ...
{ "content_hash": "56a52e96117c3d29137d010b1f71fb6f", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 78, "avg_line_length": 28.236286919831223, "alnum_prop": 0.7171249252839211, "repo_name": "fresskarma/tinyos-1.x", "id": "ea99fc34503eb318c3602285f822d42f33ea35a2", "size"...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Ruby Co-operative</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="alternate" type="application/rs...
{ "content_hash": "c1b53608a15bdf512e48de2c78fff0fa", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 403, "avg_line_length": 43.333333333333336, "alnum_prop": 0.6146853146853147, "repo_name": "dovadi/rubycoop", "id": "f7c20dd121ff049e147cb5e173829951013800a6", "size": "85...
"""AsyncIO support for zmq Requires asyncio and Python 3. """ # Copyright (c) PyZMQ Developers. # Distributed under the terms of the Modified BSD License. # Derived from Python 3.5.1 selectors._BaseSelectorImpl, used under PSF License from collections import Mapping import zmq as _zmq from zmq.eventloop import futu...
{ "content_hash": "016e52a09282c395e5bca2c9eeb939d5", "timestamp": "", "source": "github", "line_count": 333, "max_line_length": 89, "avg_line_length": 28.92192192192192, "alnum_prop": 0.5859204651645727, "repo_name": "fzheng/codejam", "id": "9e5eaf1c598258fbf9b81cfb240dd6d981d233b5", "size": "9631"...
module Magnitude class Unit def initialize(options) @options = options end def to_base_value(value) to_base_value_proc.call(value) end def from_base_value(base) from_base_value_proc.call(base) end def type require_option(:type) end def name require...
{ "content_hash": "36d18d6b2555e5562c4d5367da09fb9f", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 67, "avg_line_length": 19.830188679245282, "alnum_prop": 0.588011417697431, "repo_name": "rwz/magnitude", "id": "69c8fc88ead4fd8b1d86eb071f197a15ab021882", "size": "1051", ...
/* * Dawn Engine * Written by David Avedissian (c) 2012-2019 (git@dga.dev) */ #include "Base.h" #include "core/Module.h" namespace dw { Module::Module(Context* ctx) : Object(ctx) { } Module::~Module() { } Module* Module::moduleByType(const TypeInfo& subsystem_type) const { Module* subsystem = Object::moduleBy...
{ "content_hash": "1a320df862bda06dd3f40d3ff83b577e", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 97, "avg_line_length": 31.11627906976744, "alnum_prop": 0.6322869955156951, "repo_name": "davedissian/dawnengine", "id": "998c81ee1286a9e59c8921b2d6d15cd9bd8479fd", "size":...
ERLFLAGS= -pa $(CURDIR)/.eunit -pa $(CURDIR)/ebin -pa $(CURDIR)/deps/*/ebin DEPS_PLT=$(CURDIR)/.deps_plt DEPS=erts kernel stdlib # ============================================================================= # Verify that the programs we need to run are installed on this system # ====================================...
{ "content_hash": "675606b46c553de3768583a09bc89050", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 79, "avg_line_length": 24.903614457831324, "alnum_prop": 0.5887760038703435, "repo_name": "waisbrot/episcina", "id": "445e2925660527fa0e476ed619bbe30212001264", "size": "26...
package eventstream_test import ( "io" "time" "github.com/fatih/color" . "github.com/onsi/ginkgo" . "github.com/onsi/gomega" "github.com/onsi/gomega/gbytes" "github.com/concourse/concourse/atc" "github.com/concourse/concourse/atc/event" "github.com/concourse/concourse/fly/eventstream" "github.com/concours...
{ "content_hash": "221d6e467a275822cf11c8ba9e79aa32", "timestamp": "", "source": "github", "line_count": 430, "max_line_length": 138, "avg_line_length": 23.827906976744185, "alnum_prop": 0.6134101112629319, "repo_name": "concourse/concourse", "id": "44866fb216f20440d78e24dab156dc6d574102e6", "size":...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Source: core/Stage.js</title> <script src="scripts/prettify/prettify.js"></script> <script src="scripts/prettify/lang-css.js"></script> <script src="scripts/jquery.min.js"></script> <!--[if lt IE 9]> <script src="//html5...
{ "content_hash": "ccb649c99445e36d0b0efada882d8190", "timestamp": "", "source": "github", "line_count": 9478, "max_line_length": 236, "avg_line_length": 61.87718928043891, "alnum_prop": 0.5866929708494182, "repo_name": "hiloteam/Hilo3d", "id": "28b77bb6ba2c9db6fcb4ff0622193def2524f99d", "size": "58...
using System; namespace Lucene.Net.Util { /// <summary> Subclasses of StringInterner are required to /// return the same single String object for all equal strings. /// Depending on the implementation, this may not be /// the same object returned as String.intern(). /// /// This StringInterner b...
{ "content_hash": "9c7fa231ac87a4d90126100162202eb9", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 81, "avg_line_length": 28.517241379310345, "alnum_prop": 0.6844014510278114, "repo_name": "Mpdreamz/lucene.net", "id": "b54b9ecc90d7c2689c12924085a96c4510cf8103", "size": "...
#ifndef __GUEST_HEARTBEAT_API_MESSAGE_DEFINITIONS_H__ #define __GUEST_HEARTBEAT_API_MESSAGE_DEFINITIONS_H__ #include <stdbool.h> #include <stdint.h> #ifdef __cplusplus extern "C" { #endif #define GUEST_HEARTBEAT_API_MSG_ADDRESS "/var/run/.guest_heartbeat_api" #define GUEST_HEARTBEAT_API_MSG_MAGIC_VALUE ...
{ "content_hash": "128d7ea253072f2bd01f40b0c9c22203", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 77, "avg_line_length": 31.20689655172414, "alnum_prop": 0.7341436464088398, "repo_name": "Wind-River/titanium-server", "id": "f178c618db07be857f4b9bf6061fb5167a87f6e9", "s...
# Use this hook to configure devise mailer, warden hooks and so forth. # Many of these configuration options can be set straight in your model. Devise.setup do |config| # ==> Mailer Configuration # Configure the e-mail address which will be shown in Devise::Mailer, # note that it will be overwritten if you use yo...
{ "content_hash": "5640ed272e864ec8bacbe1f0a82eb8ac", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 150, "avg_line_length": 48.30493273542601, "alnum_prop": 0.7395098403267731, "repo_name": "whichbus/whichbus", "id": "d4787c26780553034b12b9b7b983a11ba592dcff", "size": "1...
- [CSS Syntax](https://www.w3.org/TR/css-syntax-3) - [CSS Cascading and Inheritance](https://www.w3.org/TR/css-cascade-3) - [CSS Color](https://www.w3.org/TR/css3-color) - [Selectors](https://www.w3.org/TR/selectors)<br> - [CSS Specificity](specificity.md) - [CSS Backgrounds & Borders](https://www.w3.org/TR/css3-back...
{ "content_hash": "4581b8a210b679d4375d0b124e806382", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 218, "avg_line_length": 57.958333333333336, "alnum_prop": 0.7088425593098491, "repo_name": "stage-clear/Learning-css", "id": "79a7585d24d5deaf3db37346fab308d6f234ed49", "si...
#ifndef __HOSTADDRESS_HPP__ # define __HOSTADDRESS_HPP__ # include <string> # include "api/types.hpp" namespace zhttpd { class HostAddress { private: api::uint32_t _ip; api::uint16_t _port; std::string _host; enum { # ifdef _WIN32 GETPEERNAME_ERROR = S...
{ "content_hash": "fa919f5130082261e7aa88c73415d629", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 58, "avg_line_length": 18.44736842105263, "alnum_prop": 0.5492154065620543, "repo_name": "hotgloupi/zhttpd", "id": "b6407d5d424fe82f6889234abb8182671a284b16", "size": "701"...
import { select, selection } from 'd3-selection'; // "Caution: avoid interpolating to or from the number zero when the interpolator is used to generate // a string (such as with attr). // Very small values, when stringified, may be converted to scientific notation and // cause a temporarily invalid attribute or style ...
{ "content_hash": "2b6329d3f393b18f3134f40b40a5c95f", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 101, "avg_line_length": 33.5360824742268, "alnum_prop": 0.5920688595142944, "repo_name": "chrisprice/d3fc-data-join", "id": "8014af4a0344fcb847b7640e17ed687991ce5683", "siz...
/****************************** Description: Http post service. Author: M.Wan Date: 03/18/2015 ******************************/ #ifndef __HTTP_HTTP_POST_SERVICE__ #define __HTTP_HTTP_POST_SERVICE__ #include "../../base/mwbase.h" #include "cocos2d.h" #include "HttpClient.h" #include "HttpRequest.h" #include "HttpR...
{ "content_hash": "5299e447201fcdaaf02a5d1771b8ff46", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 112, "avg_line_length": 22.27956989247312, "alnum_prop": 0.6317567567567568, "repo_name": "wanmaple/PokemonRPG", "id": "cc142dd10b829a6d07e85e09e67cf6a89033ff6e", "size": "...
// Type definitions for Raven.js // Project: https://github.com/getsentry/raven-js // Definitions by: Santi Albo <https://github.com/santialbo/>, Benjamin Pannell <http://github.com/spartan563> // Definitions: https://github.com/borisyankov/DefinitelyTyped declare var Raven: RavenStatic; declare module 'raven-js' { ...
{ "content_hash": "9032b821345bc7581eecb3aa22d12ca7", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 246, "avg_line_length": 33.196969696969695, "alnum_prop": 0.654039251483341, "repo_name": "sclausen/DefinitelyTyped", "id": "51b6baae6f7b55f1b4d59b8420788c994918cb73", "si...
import * as fs from 'fs'; import { ChildProcess, spawn } from 'child_process'; const errorReportFilePath = '/home/alexey/projects/work/tia-tests/fname'; process.on('message', data => { let child: ChildProcess; try { child = spawn(data.chromeDriverPath, [`--port=${data.port}`], { detached: true, s...
{ "content_hash": "227745f4e2bdcf7ea46164612664716d", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 73, "avg_line_length": 26.87878787878788, "alnum_prop": 0.608793686583991, "repo_name": "Dzenly/tia", "id": "796459b015522527f06bd5c5ea56262be0419dba", "size": "1003", "b...
Leap = require("./node_modules/leapjs/lib/index"); var S = require('string'); var app = require('http').createServer(handler) , io = require('socket.io').listen(app) , fs = require('fs') app.listen(8080); var controller = new Leap.Controller(); controller.on('connect', function() { console.log("Successfully conn...
{ "content_hash": "a93997dd0c2bc513ad1753c3768213ab", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 179, "avg_line_length": 28.166666666666668, "alnum_prop": 0.6148210763595379, "repo_name": "QuantumFractal/HackISU-HackulusRift", "id": "12be91505d0054e8350260c9a3943bafe2a4...
package com.tyrfing.games.id17.holdings; import com.tyrfing.games.id17.trade.GoodProduction; import com.tyrfing.games.id17.trade.Grain; import com.tyrfing.games.id17.trade.Meat; public class Pasture extends Holding { /** * */ private static final long serialVersionUID = -7044718675635749628L; pub...
{ "content_hash": "90d9d94f04f6246d3dd52d94a053a52f", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 73, "avg_line_length": 25.96875, "alnum_prop": 0.717208182912154, "repo_name": "TyrfingX/TyrLib", "id": "06effa4b606ded7e7fde2a35178d69f66af20f18", "size": "831", "binary...
package org.apache.flink.runtime.io.network.api.writer; import org.apache.flink.runtime.io.network.api.CancelCheckpointMarker; import org.apache.flink.runtime.io.network.buffer.Buffer; import org.apache.flink.runtime.io.network.buffer.BufferBuilder; import org.apache.flink.runtime.io.network.buffer.BufferBuilderTest...
{ "content_hash": "c7b2f2d50ba19ef2c88025017bcaab87", "timestamp": "", "source": "github", "line_count": 173, "max_line_length": 133, "avg_line_length": 36.30635838150289, "alnum_prop": 0.7882502786180544, "repo_name": "darionyaphet/flink", "id": "adb059c85814083877dbdeb2a0378b228c5f1f0b", "size": "...
namespace std { struct strong_ordering { int n; constexpr operator int() const { return n; } static const strong_ordering less, equal, greater; }; constexpr strong_ordering strong_ordering::less = {-1}; constexpr strong_ordering strong_ordering::equal = {0}; constexpr strong_ordering strong_orderi...
{ "content_hash": "6b5db7ac972fe969afa175ba5c0bf5fe", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 201, "avg_line_length": 34.90780141843972, "alnum_prop": 0.6523770824867939, "repo_name": "epiqc/ScaffCC", "id": "8c303c63d899db07234465c273df6fc0db634e40", "size": "5059"...
package pki import ( sdk "github.com/cosmos/cosmos-sdk/types" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/keeper" "github.com/zigbee-alliance/distributed-compliance-ledger/x/pki/types" ) // InitGenesis initializes the capability module's state from a provided genesis // state. func InitGenesis(...
{ "content_hash": "4e0b3b5a03ab468abcfe6c78fafc41b6", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 87, "avg_line_length": 38.4, "alnum_prop": 0.7975260416666666, "repo_name": "zigbee-alliance/distributed-compliance-ledger", "id": "0376a91e75adff036f6e8291b98105b99d4e67e3",...
ACCEPTED #### According to Index Fungorum #### Published in Michelia 2(no. 7): 333 (1881) #### Original name Propolis succinea Sacc. ### Remarks null
{ "content_hash": "78abfd6eef80330728303d5a012ed488", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 29, "avg_line_length": 11.76923076923077, "alnum_prop": 0.6862745098039216, "repo_name": "mdoering/backbone", "id": "fae26ca14e1538c723a94f3a739f1491fb0308da", "size": "200...
using namespace std; using namespace IECore; using namespace Gaffer; using namespace GafferScene; IE_CORE_DEFINERUNTIMETYPED( Prune ); size_t Prune::g_firstPlugIndex = 0; Prune::Prune( const std::string &name ) : FilteredSceneProcessor( name, Filter::NoMatch ) { storeIndexOfNextChild( g_firstPlugIndex ); addChild...
{ "content_hash": "0d0ece2bc517d66d9fbe5fdb7ef9b619", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 158, "avg_line_length": 30.704035874439462, "alnum_prop": 0.700306703665839, "repo_name": "goddardl/gaffer", "id": "f7ad93bc659901affb92364f6a672750b6236461", "size": "878...
from c7n_azure.provider import resources from c7n_azure.resources.arm import ArmResourceManager from c7n.filters.core import ValueFilter, type_schema @resources.register('webapp') class WebApp(ArmResourceManager): """Web Applications Resource :example: This policy will find all web apps with 10 or less...
{ "content_hash": "9940fa5afe16806421d7715bd491d804", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 93, "avg_line_length": 28.148936170212767, "alnum_prop": 0.5570672713529856, "repo_name": "capitalone/cloud-custodian", "id": "9ef8d630ad4dc17cb618a08999b965188b8c2b41", "s...
<?php /** * Created by PhpStorm. * User: 2m * Date: 2017/3/1 * Time: 下午1:33 */ namespace app\models; use app\formatter\Status; use Behat\Gherkin\Exception\Exception; use yii\db\ActiveRecord; class TaskTrace extends ActiveRecord { public static function tableName() { return 'task_trace'; } public function...
{ "content_hash": "acc9f69eba88c3916c0ef99d38961cdb", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 98, "avg_line_length": 18.476190476190474, "alnum_prop": 0.6121134020618557, "repo_name": "yxwuxuanl/repair", "id": "42bd1c8ddd5868bcd24dffdb0575a5206dc5f43a", "size": "780...
var net = require('net'); var actorify = require('actorify'); // server net.createServer(function(sock){ var actor = actorify(sock); actor.on('ping', function(){ console.log('PING'); actor.send('pong'); }); }).listen(3000); // client var sock = net.connect(3000); var actor = actorify(sock); setInter...
{ "content_hash": "edbc4dc77d46675955f819052cba262a", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 35, "avg_line_length": 17.24, "alnum_prop": 0.6218097447795824, "repo_name": "gridcontrol/gridcontrol", "id": "193034f3c78faf4465b017f429c849b3a3abd484", "size": "431", "...
package main import ( "k8s.io/kubernetes/pkg/util/sets" ) // Histogram is a map from bucket to latency (e.g. "Perc90" -> 23.5) type Histogram map[string]float64 // APICallLatency represents the latency data for a (resource, verb) tuple type APICallLatency struct { Latency Histogram `json:"latency"` Resource st...
{ "content_hash": "a20f01647e4669274af1a01a7c6f6a00", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 94, "avg_line_length": 30.641025641025642, "alnum_prop": 0.7740585774058577, "repo_name": "jdavis7257/contrib", "id": "f10707a9b4f023d39b5607a74ce864a2b23fd7de", "size": "1...
#ifdef AWS_MULTI_FRAMEWORK #import <AWSRuntime/AmazonServiceRequestConfig.h> #else #import "../AmazonServiceRequestConfig.h" #endif /** * Describe Alarm History Request */ @interface CloudWatchDescribeAlarmHistoryRequest:AmazonServiceRequestConfig { NSString *alarmName; NSString *historyItemType; ...
{ "content_hash": "87c00b2590bedec641e7dc9bf9e62c60", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 75, "avg_line_length": 19.576470588235296, "alnum_prop": 0.6917067307692307, "repo_name": "morizotter/AWSCloudWatchSample", "id": "237a992b0b275d44f6efec7991f0486420b3c19f", ...
Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **_class** | **String** | | [optional] [default to None] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
{ "content_hash": "875c583f31fa8f696b1ce46a4768628c", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 161, "avg_line_length": 45.42857142857143, "alnum_prop": 0.5345911949685535, "repo_name": "cliffano/swaggy-jenkins", "id": "cef4870e6628579b1d453fe1266c7667d07e16bb", "size"...
import subprocess from . import base class Cmus(base.ThreadPoolText): """A simple Cmus widget. Show the artist and album of now listening song and allow basic mouse control from the bar: - toggle pause (or play if stopped) on left click; - skip forward in playlist on scroll up; ...
{ "content_hash": "579e4f3a06686afa38c34d18356f171b", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 79, "avg_line_length": 34.45762711864407, "alnum_prop": 0.4955730447614363, "repo_name": "soulchainer/qtile", "id": "c032527882795073e04d65a41077c7a1ca4ca8c3", "size": "47...