text
stringlengths
2
1.04M
meta
dict
using System.Collections.Generic; namespace _10.BookLibraryModification { class Library { private string name = string.Empty; private List<Book> books = new List<Book>(); public string Name { get; set; } public List<Book> Books { get; set; } public Library() {...
{ "content_hash": "82fa8cfbc130460504b21b54108afdd1", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 52, "avg_line_length": 21.166666666666668, "alnum_prop": 0.5616797900262467, "repo_name": "sevdalin/Software-University-SoftUni", "id": "8429cf4dc853f550f557e7c392aabdb046de1...
<?php namespace Jobs\Form; use Core\Form\Form; use Laminas\InputFilter\InputFilterProviderInterface; use Jobs\Form\Hydrator\JobDescriptionHydrator; use Laminas\Json\Expr; /** * Defines the formular field html of a job opening. * * @package Jobs\Form * @author Mathias Gelhausen <gelhausen@cross-solution.de> * @...
{ "content_hash": "5f05b1991d40b6f18fdaec5443d6d481", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 76, "avg_line_length": 23.04, "alnum_prop": 0.5269097222222222, "repo_name": "cross-solution/YAWIK", "id": "afd36a65d614bed4f28ccaf63c1d1dd94de6ac22", "size": "1288", "bi...
<?php namespace Zend\Json\Server; use Exception as PhpException; use ReflectionFunction; use ReflectionMethod; use Zend\Server\AbstractServer; use Zend\Server\Definition; use Zend\Server\Method; use Zend\Server\Reflection; class Server extends AbstractServer { /**#@+ * Version Constants */ const V...
{ "content_hash": "3eafd1f2444f293b598a57f50722131d", "timestamp": "", "source": "github", "line_count": 672, "max_line_length": 107, "avg_line_length": 26.419642857142858, "alnum_prop": 0.5251210994705419, "repo_name": "rongeb/anit_cms_for_zf3", "id": "42f3854ab3885ed2365c811622c34c4d4c6218e5", "si...
import React, { Component } from "react"; import PropTypes from "prop-types"; import ReactNative, { NativeModules, View, Text, StyleSheet, ScrollView, Dimensions, TextInput, ViewPropTypes, } from "react-native"; import CreditCard from "./CardView"; import CCInput from "./CCInput"; import { InjectedProp...
{ "content_hash": "fc4ab551ad93e48a298f75010f068f0b", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 117, "avg_line_length": 29.66315789473684, "alnum_prop": 0.6378637331440739, "repo_name": "sbycrosz/react-native-credit-card-input", "id": "44f43c8e646798ad1f50c08d523d402fe...
#ifndef GAG_CALCULATION_H #define GAG_CALCULATION_H #include <algorithm> namespace gag { // (C) Copyright Ben Bear, Herve Bronnimann 2007. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICE...
{ "content_hash": "6e0f129ff93d1dc64acc735d730688de", "timestamp": "", "source": "github", "line_count": 418, "max_line_length": 87, "avg_line_length": 30.411483253588518, "alnum_prop": 0.5821271239773442, "repo_name": "hh1985/multi_hs_seq", "id": "4db55c9e9404954ee3eb1bfee23285f4b8b8e5bc", "size": ...
import { RECEIVE_RECENT_UPLOADS, SORT_RECENT_UPLOADS, API_FAIL } from '../constants'; import API from '../utils/api.js'; export const fetchRecentUploads = (opts = {}) => (dispatch) => { return ( API.fetchRecentUploads(opts) .then(resp => dispatch({ type: RECEIVE_RECENT_UPLOADS, ...
{ "content_hash": "922c5c8cb7f0d4eea73c2d2be8c90a79", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 85, "avg_line_length": 31.9375, "alnum_prop": 0.6027397260273972, "repo_name": "WikiEducationFoundation/WikiEduDashboard", "id": "00e41c4ee9e37219600aeb4635f3fb1971685da0", ...
/* Theme Name: Rui Cruz 2015 Theme URI: Author: Rui Cruz Author URI: http://ruicruz.com; Description: Custom theme. Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: */
{ "content_hash": "cc5c60fc56679156ef6d754b8fd1ded0", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 53, "avg_line_length": 22.363636363636363, "alnum_prop": 0.7479674796747967, "repo_name": "csrui/wp-theme-bs", "id": "5e890b04f2a0e16386416f574ab5a9da300a9db4", "size": "24...
<?php /** * @file * Definition of Drupal\taxonomy\Tests\LoadMultipleTest. */ namespace Drupal\taxonomy\Tests; /** * Test the entity_load_multiple() function. */ class LoadMultipleTest extends TaxonomyTestBase { public static function getInfo() { return array( 'name' => 'Taxonomy term multiple loadi...
{ "content_hash": "810d4c32b795e5511a6fe93bcce95800", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 130, "avg_line_length": 35.36619718309859, "alnum_prop": 0.65073675826364, "repo_name": "nickopris/musicapp", "id": "b0bb675c9c1a3a26162c024f9bef16fad32dfd6c", "size": "251...
import json import os import pytest import B_stemming as B def test_token(): truth = hasattr(B, 'nltk') + hasattr(B, 'word_tokenize') + hasattr(B, 'wordpunct_tokenize') assert truth > 0 assert len(B.token_list) >= 670 def test_stemmer(): fp = '../../data/stemmed_document.json' assert os.path.isfi...
{ "content_hash": "84e1c7b75eaea7d5f86c4ac6b4f1c6cb", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 95, "avg_line_length": 26.59090909090909, "alnum_prop": 0.6256410256410256, "repo_name": "deniederhut/workshop_pyintensive", "id": "6f72dc1d733b81a515e2783f940f0214de6b0a43",...
@interface MRDetailViewController () - (void)configureView; @end @implementation MRDetailViewController #pragma mark - Managing the detail item - (void)setDetailItem:(id)newDetailItem { if (_detailItem != newDetailItem) { _detailItem = newDetailItem; // Update the view. [self con...
{ "content_hash": "7652baa236fe3bfcd0d946e16c1d9622", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 73, "avg_line_length": 19.585365853658537, "alnum_prop": 0.6911581569115816, "repo_name": "mricketson/MRStoryboardController", "id": "4321aa94421fa8461018add4f0fa859166ee4453...
export enum UserType { User = 1, Manager = 2, Admin = 3, } export interface User { nickname: string; email: string; password: string; type: string; name: string; phone: string; }
{ "content_hash": "de2e26f2657daff9cb17bed4267ba412", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 23, "avg_line_length": 14.142857142857142, "alnum_prop": 0.6363636363636364, "repo_name": "poweridea-mpr/frontend", "id": "380823a87ddc59532350fdef95793548f7b331a5", "size"...
import * as React from 'react'; import {Button} from 'semantic-ui-react'; interface DeleteButtonProps { onClick(any) } interface DeleteButtonState { confirm: boolean } export default class DeleteButton extends React.Component<DeleteButtonProps, DeleteButtonState> { state = { confirm: false } toggle = (...
{ "content_hash": "962f94eb3351611ed4deae23667a7873", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 97, "avg_line_length": 23.22222222222222, "alnum_prop": 0.6327751196172249, "repo_name": "gogrademe/WebApp", "id": "60a76701a418e657e4b38dbf18fd134dc8d791ff", "size": "836"...
package com.peterpotts.interview import scala.annotation.tailrec object PrettyPrint { def main(args: Array[String]): Unit = { val x = """{"a":{"b":"c"}}""" pretty(0, Seq.empty, x.toSeq) } @tailrec def pretty(indent: Int, left: Seq[Char], right: Seq[Char]): Unit = { right match { case '{' +: t...
{ "content_hash": "7fab02c63038089c76775fabb15b172a", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 79, "avg_line_length": 28.52, "alnum_prop": 0.5343618513323983, "repo_name": "peterpotts/interview", "id": "5bf5b1fb36d4834dc3f88a7848786ad980da6b0a", "size": "713", "bin...
.. ========================================================= .. Leo Libs documentation .. Copyright (c) 2012-2014 Rakuten, Inc. .. http://leo-project.net/ .. ========================================================= Leo Libs Documentation ======================= Data Storage and Cache ^^^^^^^^^^^^^^^^^^^^^^ * |leo_b...
{ "content_hash": "a756eba616723912d78bd4fb1d99cef4", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 126, "avg_line_length": 29.63157894736842, "alnum_prop": 0.6557134399052694, "repo_name": "leo-project/leo_libs_docs", "id": "8e334b272c6c0ff68123822c2fcf3f7c2f0c303b", "s...
<component name="libraryTable"> <library name="ComAndroidSupportGridlayoutV71800.aar"> <CLASSES> <root url="jar://$PROJECT_DIR$/MyCalcProject/build/exploded-bundles/ComAndroidSupportGridlayoutV71800.aar/classes.jar!/" /> <root url="file://$PROJECT_DIR$/MyCalcProject/build/exploded-bundles/ComAndroidSu...
{ "content_hash": "296ea97160fa63edcc07c8968150615f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 129, "avg_line_length": 42.6, "alnum_prop": 0.7230046948356808, "repo_name": "mike10010100/android_projects", "id": "a1507f167b244588c1b192281511a2b18c2ccc67", "size": "426...
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from django.contrib import admin from django.core.urlresolvers import reverse from pybb.models import Category, Forum, Topic, Post, Profile, Attachment, PollAnswer from pybb import compat, util username_field = compat.get_...
{ "content_hash": "3505a08988d76d0ac34fbeab1c5f0d6d", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 97, "avg_line_length": 31.346666666666668, "alnum_prop": 0.5720969800085071, "repo_name": "jonsimington/pybbm", "id": "b46c9c0bdd79359dcbc7763e0fef1f2d12b5bf7d", "size": "...
<!DOCTYPE html> <html> <head> <title>Hello world - Scala.js example</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <body> <div id="playground"> </div> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script type="text/javascript" src...
{ "content_hash": "8996eefe928f1bef1fd4055fa0ba5352", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 89, "avg_line_length": 23.058823529411764, "alnum_prop": 0.6811224489795918, "repo_name": "nicolasstucki/scala-js", "id": "7b304696695b79d8708a554a9cb8796f40b80201", "size"...
namespace ion { class ionbase { public: virtual ~ionbase() {} Json::Value reloadProject(bool deferLoad = false) { FILE * f = fopen(projFile.c_str(), "rb"); if (!f) { log.write(log.ERRO, "project file cannot be opened"); return Json::Value::null; } //find base path for project char d...
{ "content_hash": "f39a2bed353b674c192de65f734e402a", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 104, "avg_line_length": 23.621794871794872, "alnum_prop": 0.5888738127544098, "repo_name": "scen/ionlib", "id": "cf490162b4fea83e04d226eb60b94a3565fd245a", "size": "3845",...
pseudo ==== Overview ---- Some coding ideas that I've roughly sketched out -- may be of use in obscure cases in the future. Algorithms are not guaranteed to work. May implement code tests as proof; in the case of parallel algorithms, may actually prove correctness.
{ "content_hash": "1b195189e71c52e9d47335da4894308d", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 141, "avg_line_length": 29.88888888888889, "alnum_prop": 0.7620817843866171, "repo_name": "cripplet/pseudo", "id": "792ac4b8aef287f7fe97c59eb8425b5215e0e018", "size": "269",...
List roles that grant the given permission ### Synopsis List roles that grant the given permission ``` pachctl auth roles-for-permission <permission> [flags] ``` ### Options ``` -h, --help help for roles-for-permission ``` ### Options inherited from parent commands ``` --no-color Turn off colors. -...
{ "content_hash": "555b57707828f02ffd46680f6b8b31ac", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 54, "avg_line_length": 15.695652173913043, "alnum_prop": 0.6648199445983379, "repo_name": "pachyderm/pfs", "id": "f93ddde569baa8dee199b15b1d867b321897467d", "size": "399", ...
<?xml version="1.0" encoding="utf-8" standalone="no"?> <application xmlns="http://ns.adobe.com/air/application/4.0"> <!-- Adobe AIR Application Descriptor File Template. Specifies parameters for identifying, installing, and launching AIR applications. xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/app...
{ "content_hash": "7e41f2de9f0c87a3fef4d65b92857fbd", "timestamp": "", "source": "github", "line_count": 321, "max_line_length": 226, "avg_line_length": 45.900311526479754, "alnum_prop": 0.6479571060133026, "repo_name": "dolotech/mengshoutang", "id": "a3598d626b181672d4bef99bd54681ded8244513", "size...
module Middleman # Current Version # @return [String] VERSION = '4.1.2'.freeze unless const_defined?(:VERSION) end
{ "content_hash": "7c0a7354c612eafbd6ce369e1609e447", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 58, "avg_line_length": 24.2, "alnum_prop": 0.7024793388429752, "repo_name": "puyo/middleman", "id": "78e9c308754aae1011b85955e3cc67120356e69a", "size": "121", "binary": fa...
antiunification =============== Functional implementation of anti-unification algorithm for multiple terms Adapted from figure 2 of 'A functional reconstruction of anti-unification' by Bjarte M. Østvold Norwegian Computing Center DART/04/04 2004 http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.95.9108&rep=re...
{ "content_hash": "f1277934dc081769cadfed1a6b1c8b5a", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 82, "avg_line_length": 27.583333333333332, "alnum_prop": 0.7824773413897281, "repo_name": "webyrd/anti-unification", "id": "f9886bd34af602f1162a7def55163a2855e6e738", "size...
<!--conf <sample in_favorites="false"> <product version="1.5" edition="pro"/> <modifications> <modified date="070101"/> </modifications> </sample> --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//E...
{ "content_hash": "9967c1bfbfb25498aabeb2c335224c4a", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 137, "avg_line_length": 28.892307692307693, "alnum_prop": 0.597444089456869, "repo_name": "blale-zhang/codegen", "id": "78fa89b0ec300c92ab57e0feb67dcaf2d992c74a", "size": "...
""" >> Thread Host Controller Interface >> Device : OpenThread_WpanCtl THCI >> Class : OpenThread_WpanCtl """ import re import time import socket import logging from Queue import Queue import serial from IThci import IThci from GRLLibs.UtilityModules.Test import Thread_Device_Role, Device_Data_Requirement, MacType fr...
{ "content_hash": "586296cbb7322de170f6f15e213dfed1", "timestamp": "", "source": "github", "line_count": 2618, "max_line_length": 150, "avg_line_length": 38.01107715813598, "alnum_prop": 0.560861394993619, "repo_name": "gandreello/openthread", "id": "147185dd70eb557dfa67c815d6cad246dba99db3", "size"...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "47cdd6727e931f9d9e871a53c3afccc7", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "b4ef1cd9fd7b8b4b0d7bba991b36af455df7da1d", "size": "192...
__To insert `#` sign follow it by `\`__ ## Installation ``` git clone https://github.com/lukasz17m/hashbook.git cd hashbook npm install npm run build ``` Then configure your MongoDB connection in `modules/config.js` and run ``` npm start ``` # :unlock: MIT License
{ "content_hash": "ccad42bcfa77c43ae0e859663d8227ce", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 69, "avg_line_length": 17.8, "alnum_prop": 0.704119850187266, "repo_name": "lukasz17m/hashbook", "id": "8357390556c82648b8e341617a1ff299fcaf2f69", "size": "355", "binary"...
package com.zaxxer.hikari.pool; import com.zaxxer.hikari.HikariConfig; import org.junit.Test; import com.zaxxer.hikari.HikariDataSource; import java.sql.Connection; import java.sql.PreparedStatement; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent...
{ "content_hash": "b61ea1813a24b05ae8fb79ae6ec103c3", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 78, "avg_line_length": 23.610169491525422, "alnum_prop": 0.7106963388370423, "repo_name": "ams2990/HikariCP", "id": "ff0ad392bd4831aef0a6d6170ed93ce0c19ddd8d", "size": "199...
package main.java.fr.mrc.ptichat.connection; import main.java.fr.mrc.ptichat.appmanagement.ChatManager; import java.io.*; import java.net.*; /** * Creates two threads by socket : one to listen to incoming messages (RequestThread), the other to send messages * (ResponseRequest) */ public class ChatRunnable impleme...
{ "content_hash": "ed4c752cb811739b1ca6910ce40c9a67", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 172, "avg_line_length": 35.35294117647059, "alnum_prop": 0.6661120354963949, "repo_name": "CRollin/ptiChat", "id": "9b1de9447ac57c0ca325da517f1214f787e170b9", "size": "1803...
techanModule('scale/zoomable', function(specBuilder) { 'use strict'; var techan = require('../../../../src/techan'); var actualInit = function(module) { return module; }; specBuilder.require(require('../../../../src/scale/zoomable'), function(instanceBuilder) { instanceBuilder.instance('actual', ac...
{ "content_hash": "ab5e41705d8750a2137974917ba976b5", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 92, "avg_line_length": 29.594059405940595, "alnum_prop": 0.5212445633991302, "repo_name": "dmitrykvochkin/techan.js", "id": "325d13dd5c7248951feda16f4fe25c5d3c4f2717", "si...
export default class Sample{ constructor(val){ // eslint-disable-next-line no-console console.log('constructed'); this.val = val; } bow(){ return this.val; } }
{ "content_hash": "c6cd1d55336a3fb8cb7e162a5c8f7262", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 42, "avg_line_length": 16.818181818181817, "alnum_prop": 0.6216216216216216, "repo_name": "peccu/dot.pj", "id": "604db699730193bf3c97b9388d7b347bed454c26", "size": "185", ...
#import "MREAppDelegate.h" #import "MREViewController.h" #import "REKit.h" @implementation MREAppDelegate //--------------------------------------------------------------// #pragma mark -- ApplicationDelegate -- //--------------------------------------------------------------// - (void)applicationDidFinishLaunchi...
{ "content_hash": "b67d7f024d509bcb6be9c9e1bff280a1", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 82, "avg_line_length": 26.04, "alnum_prop": 0.6129032258064516, "repo_name": "bounin/REKit", "id": "2ef4abac72083ed00e7a9a76f061bd0079c9e608", "size": "728", "binary": fa...
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
{ "content_hash": "d29f1cf12ad899926cc015d867579dde", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 172, "avg_line_length": 35.44117647058823, "alnum_prop": 0.5004149377593361, "repo_name": "larsks/opennebula-lks", "id": "fd1da90ed4153a351b910dedd6d29d7304b5fa18", "size"...
This repository contains a template you can use to seed a repository for a new open source project. See go/releasing (available externally at https://opensource.google.com/docs/releasing/) for more information about releasing a new Google open source project. This template uses the Apache license, as is Google's defa...
{ "content_hash": "cb00a1d4a88f17ee18b3e4fb5d7684dc", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 80, "avg_line_length": 35.09803921568628, "alnum_prop": 0.7636871508379889, "repo_name": "google/fleetspeak-doc", "id": "54033a33b9d2640843a272e933d53d031d1c2463", "size": ...
using System; using System.Collections.Generic; using ServiceStack.Common.Extensions; using ServiceStack.DesignPatterns.Translator; using ServiceStack.Validation; namespace ServiceStack.ServiceInterface.ServiceModel { /// <summary> /// Translates a ValidationResult into a ResponseStatus DTO fragment. /// </summar...
{ "content_hash": "000f6906f0c5128be3c77e6c61451cbd", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 136, "avg_line_length": 30.685714285714287, "alnum_prop": 0.7374301675977654, "repo_name": "firstsee/ServiceStack", "id": "9e9ac4e43e1ac67fa2240c6f33e76fc7b25f0f10", "size...
package autoscaling import ( "time" "k8s.io/kubernetes/test/e2e/common" "k8s.io/kubernetes/test/e2e/framework" . "github.com/onsi/ginkgo" ) // These tests don't seem to be running properly in parallel: issue: #20338. // var _ = framework.KubeDescribe("[HPA] Horizontal pod autoscaling (scale resource: CPU)", f...
{ "content_hash": "c03212025910c011594893b9a19974d6", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 155, "avg_line_length": 34.49677419354839, "alnum_prop": 0.6383018515055171, "repo_name": "huangyuqi/kubernetes", "id": "826215ca803ded3fe5e09ee93144f329224e403e", "size":...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <title>Debian -- Details of package apache2-doc in wheezy</title> <link rev="made" href="mailto:webmaster@debian.org"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="Author...
{ "content_hash": "b3254b7d04280c05e6e9559f9cb6addd", "timestamp": "", "source": "github", "line_count": 414, "max_line_length": 284, "avg_line_length": 28.632850241545892, "alnum_prop": 0.6471233338957314, "repo_name": "evelynmitchell/cii-census", "id": "07be4138fd1d10cecdacdc1c8c0f84958f5bf9aa", "...
import numpy as np import os import sys import tarfile import random from six.moves import cPickle as pickle url = 'http://commondatastorage.googleapis.com/books1000/' last_percent_reported = None data_root = '.' # Change me to store data elsewhere num_classes = 10 np.random.seed(133) image_size = 28 # Pixel width ...
{ "content_hash": "b2feea636e6decddcd08e26611f3c77c", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 99, "avg_line_length": 38.982142857142854, "alnum_prop": 0.6095587112536265, "repo_name": "FlorentSilve/Udacity_ML_nanodegree", "id": "747190bafeee85db2669473468a38e9ed12979...
docker-postgresql ================= Docker trusted build for PostgreSQL database # Version PostgreSQL v9.3.3 # Build from repository ````bash $ git clone git@github.com:jllopis/docker-postgresql.git $ cd docker-postgresql $ docker build --rm -t my_user/postgresql:latest ```` # Start ````bash # docker run -d -p...
{ "content_hash": "bc40066b18c664c12cb4932a001e26ed", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 201, "avg_line_length": 24.80952380952381, "alnum_prop": 0.6760076775431861, "repo_name": "jllopis/docker-postgresql", "id": "4c90ffe46280a3b234a4ba16ee8b054cc98b587d", "s...
import getOrigin from '../../src/node/getOrigin'; describe('node getOrigin', () => { test('Should return empty object for node without box', () => { const result = getOrigin({}); expect(result).toEqual({}); }); test('Should return centered origin by default', () => { const result = getOrigin({ ...
{ "content_hash": "e54b3f64a8b76af7612882efc80e6ad2", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 66, "avg_line_length": 30.36842105263158, "alnum_prop": 0.6074523396880416, "repo_name": "diegomura/react-pdf", "id": "0bfefa2eaecf767e39bf9037af1b19786abc3af0", "size": "1...
from CIM14.IEC61970.Core.IdentifiedObject import IdentifiedObject class MetaBlockReference(IdentifiedObject): """References a control block at the internal meta dynamics model level. These references are contained in other blocks and reference the single instance of the meta model that defines a particular bloc...
{ "content_hash": "0f48b612fa9b553d9f7b1add1947a887", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 302, "avg_line_length": 41.54585152838428, "alnum_prop": 0.7131595543409712, "repo_name": "rwl/PyCIM", "id": "6480d25bc91373bfae46b7d5392de30b362d9be0", "size": "10614", ...
<?php // Do login $msg = ""; $username = "demo"; $password = "demo"; if (isset($_REQUEST['submitBtn'])) { // If password match, then set login if ($_REQUEST['login'] == $username && $_REQUEST['password'] == $password) { // Set session session_start(); $_SESSION['isLoggedIn'] = true; // Set the session that M...
{ "content_hash": "96f3a94ce00e77c635cf5374a8474859", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 93, "avg_line_length": 24.324324324324323, "alnum_prop": 0.5683333333333334, "repo_name": "bachcanhki/AngiProject", "id": "a59d42ccd1bb1f74d53dab951a4852b713012c2a", "size"...
package org.jgroups.protocols; import org.jgroups.Event; import org.jgroups.JChannel; import org.jgroups.Message; import org.jgroups.stack.Protocol; /** * A custom JGroups protocol that inspect messages and dumps their body content in the log. * * @author Ovidiu Feodorov <ovidiu@novaordis.com> * @since 6/5/16 ...
{ "content_hash": "2d599e3311a01ccca8e82535b4952217", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 120, "avg_line_length": 26.015503875968992, "alnum_prop": 0.33790226460071515, "repo_name": "NovaOrdis/playground", "id": "d5ca53ec31b213be2f7b4a00677f70435436e2e9", "size...
package gov.nih.nci.cabig.caaers.dao; import static gov.nih.nci.cabig.caaers.CaaersUseCase.CREATE_REPORT_FORMAT; import gov.nih.nci.cabig.caaers.CaaersUseCases; import gov.nih.nci.cabig.caaers.DaoTestCase; import gov.nih.nci.cabig.caaers.dao.report.ReportDeliveryDefinitionDao; import gov.nih.nci.cabig.caaers.d...
{ "content_hash": "f7d1ac36bcdc80c31deea27d3f283208", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 99, "avg_line_length": 34.972972972972975, "alnum_prop": 0.6537867078825348, "repo_name": "CBIIT/caaers", "id": "38f944eac1e5d6d57b64b68da72b06cc45c167b3", "size": "2629", ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "71d88b1da1c44fa1e0ca57e4baf759a1", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 458, "avg_line_length": 79.36507936507937, "alnum_prop": 0.6667, "repo_name": "v8-dox/v8-dox.github.io", "id": "7c88b4caf593447ab0c416cca7466505c7f9dfc9", "size": "10000",...
namespace Microsoft.Azure.Management.ContainerRegistry.Fluent { using Microsoft.Azure.Management.ResourceManager.Fluent.Core; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Serialization; using Models; using Newtonsoft.Json; using System.Collections; using System....
{ "content_hash": "261065938db2ecf9e164d32caa337288", "timestamp": "", "source": "github", "line_count": 150, "max_line_length": 169, "avg_line_length": 42.72, "alnum_prop": 0.630461922596754, "repo_name": "hovsepm/azure-libraries-for-net", "id": "136d93da91905b045e26e5c96d3886ae3e7b0bc9", "size": "...
package org.scijava.module.event; import org.scijava.module.Module; import org.scijava.module.process.ModulePostprocessor; /** * An event indicating a {@link ModulePostprocessor} has been invoked as part of * a module execution. * * @author Curtis Rueden */ public class ModulePostprocessEvent extends ModulePr...
{ "content_hash": "b6a6840c4f28982e95c8a6b5fdf577d3", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 80, "avg_line_length": 20.633333333333333, "alnum_prop": 0.7738287560581584, "repo_name": "scijava/scijava-common", "id": "6402c8e1a485daf632c740e2ef6e071fe463e49b", "size"...
@protocol MJPhotoBrowserDelegate; @interface MJPhotoBrowser : NSObject <UIScrollViewDelegate> // 所有的图片对象 @property (nonatomic, strong) NSArray *photos; // 当前展示的图片索引 @property (nonatomic, assign) NSInteger currentPhotoIndex; // 保存按钮 @property (nonatomic, assign) NSUInteger showSaveBtn; // 显示 - (void)show; @end
{ "content_hash": "7d0df7c557939bace328af7bdf880ced", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 59, "avg_line_length": 22.357142857142858, "alnum_prop": 0.7763578274760383, "repo_name": "BrisyIOS/zhangxuWeiBo", "id": "daea85287571d6354a82569a66070d106c3f390c", "size":...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "64fdeb5b1bb7aa3ed4ac7cf2926dcf54", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "235e2e7451bd4dbfb31ffc035a786d09654bfe21", "size": "171...
/** * @author André König <andre.koenig@posteo.de> * */ 'use strict'; var cheerio = require('cheerio'); var mandatory = require('mandatory'); /** * Extracts all repository information from a GitHub trending * repository HTML snippet. * * @param {string} html * The GitHub HTML snippet with trending reposito...
{ "content_hash": "4eab803206b9e3cda39e2dc89fe0140b", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 122, "avg_line_length": 26.123711340206185, "alnum_prop": 0.6093133385951065, "repo_name": "akoenig/github-trending", "id": "8456da47503adef7869c3ebec8e8f2154448edf5", "siz...
/* */ module.exports = require('./loose/index');
{ "content_hash": "5f8660b1b2b6a2aaa9b40365627dc1ed", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 42, "avg_line_length": 25, "alnum_prop": 0.6, "repo_name": "taylorzane/aurelia-firebase", "id": "fb5ca957b947fe6a7158424c77563aaa73fd231a", "size": "50", "binary": false, ...
CREATE TABLE core._messages_queue ( CONSTRAINT _messages_queue_msg_status_check CHECK (msg_status IN ('NEW', 'ROUTED', 'SENT', 'UNKNOWN','FAILED')), CONSTRAINT _messages_queue_prio_check CHECK (prio IN (0, 1)) ) INHERITS (core.messages) WITH (OIDS=TRUE); COMMENT ON TABLE core._messages_queue IS 'Active messages qu...
{ "content_hash": "8ce7c9b5d00499e45e128665cc9464ce", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 122, "avg_line_length": 48.1764705882353, "alnum_prop": 0.7557997557997558, "repo_name": "blinohod/nibelite", "id": "bd81511469bbe6856a5878c6f319f7cd53fd8e9e", "size": "819...
(function($) { 'use strict'; $.jcarousel.fn.scrollIntoView = function(target, animate, callback) { var parsed = $.jCarousel.parseTarget(target), first = this.index(this._fullyvisible.first()), last = this.index(this._fullyvisible.last()), index; if (pars...
{ "content_hash": "da0c28b10a3f26eee9ca874a8c99d622", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 98, "avg_line_length": 26.475409836065573, "alnum_prop": 0.43777089783281736, "repo_name": "jennifermorganroth/jennifermorganroth.github.io", "id": "a4682b4b05ce14ed57e42d5e3...
var URI = 'http://www.chimet.co.uk/csg/chi.html' var http = require('http'); var chiData = []; var chiDataTime = 0; console.time('http-request'); http.get(URI, function (res) { var chiResponseString = ''; console.log('HTTP response for Status Code: '+res.statusCode+', for: '+URI); // if for some reason we did...
{ "content_hash": "f1ae477df634b0e2c940828526db78e5", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 84, "avg_line_length": 28.45098039215686, "alnum_prop": 0.6354238456237078, "repo_name": "gregcope/chimetAlexaSkill", "id": "88b3495ccbf66bc96810301f10f7e27fcad24eaf", "siz...
<!-- Copyright (C) Red Gate Software Ltd 2010-2022 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ap...
{ "content_hash": "2517bb15279689684e70c840d50f6e55", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 155, "avg_line_length": 45.286764705882355, "alnum_prop": 0.4434161389836012, "repo_name": "flyway/flyway", "id": "c74bec0e1d38e8b90f622685e38d7dd09f04f6ae", "size": "6159...
package org.shapelogic.sc.polygon import org.scalatest._ import scala.reflect.ClassTag import scala.specialized import spire.math.Numeric class Calculator2DSpec extends FunSuite with BeforeAndAfterEach { import Calculator2D._ val origin = new CPointInt(0, 0) val xAxis1 = new CPointInt(1, 0) val xAxis2 = new ...
{ "content_hash": "14b6bded02c7afe72cb164b79953f35b", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 90, "avg_line_length": 35.926829268292686, "alnum_prop": 0.7264086897488119, "repo_name": "sami-badawi/shapelogic-scala", "id": "bb353dd668695d3359eadf971129f64af8fcf52c", ...
namespace switches { GFX_SWITCHES_EXPORT extern const char kAnimationDurationScale[]; GFX_SWITCHES_EXPORT extern const char kDisableFontSubpixelPositioning[]; GFX_SWITCHES_EXPORT extern const char kEnableNativeGpuMemoryBuffers[]; GFX_SWITCHES_EXPORT extern const char kForcePrefersReducedMotion[]; GFX_SWITCHES_EXPORT e...
{ "content_hash": "53b0fe74607a942a4344364adbe9b9f8", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 76, "avg_line_length": 36.523809523809526, "alnum_prop": 0.8109517601043025, "repo_name": "scheib/chromium", "id": "e8e5d44e246364dd45594efb442c129676c14270", "size": "1088...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-...
{ "content_hash": "2caaf018bfcd797bc0ab57f811c0fec8", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 80, "avg_line_length": 42.10344827586207, "alnum_prop": 0.7256347256347256, "repo_name": "samdahal/NepaliGeet", "id": "0dad17b22f09bd977141293312d353665d7d09e1", "size": "1...
package io.trane.ndbc; import java.util.Map; import io.trane.ndbc.value.Value; public class MysqlRow extends Row { public static MysqlRow create(final Row row) { return create(row.positions, row.columns); } public static MysqlRow create(final Map<String, Integer> positions, final Value<?>[] columns) { ...
{ "content_hash": "54e45c040c4ecf110634b28adfd942ad", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 97, "avg_line_length": 24.6, "alnum_prop": 0.717479674796748, "repo_name": "traneio/ndbc", "id": "eb2682375f2a761b4655e679746257c3c2189eaa", "size": "492", "binary": fals...
// // SPMainViewController.m // Scroker // // Created by boolean93 on 15/9/16. // Copyright (c) 2015年 boolean93. All rights reserved. // #import "SPMainViewController.h" #import "SPMainViewCell.h" #import "SPCollectionViewLayout.h" #import "SPPokerDetailController.h" @interface SPMainViewController () @property (...
{ "content_hash": "95e1d4a45bf505dbb69c58c58f71e333", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 220, "avg_line_length": 36.394160583941606, "alnum_prop": 0.7414761331728841, "repo_name": "boolean93/Scroker", "id": "393f14d079558a2517ea824e0b520a3801d4d29c", "size": "...
Quine-Mccluskey algorithm C++ implementation. ## How to use ```c++ #include "QM.hpp" auto reducer = QM::Reducer<uT>{inputSize, minTerms, dontCareTerms}; auto result = reducer.getBooleanfunction(); ``` QM::Reducer offers initialization by std::vector, std::initializer_list the result is type is std::vector<std::vect...
{ "content_hash": "11026d8572fe708dee85172dd831d701", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 71, "avg_line_length": 24.51219512195122, "alnum_prop": 0.7402985074626866, "repo_name": "Red-Portal/Quine-Mccluskey", "id": "5a50f9adbcae7006c8e4083221096e31ca34f1cd", "si...
#include "matcha/math/matrix.hpp" #include "matcha/math/linear_algebra.hpp" #include "matcha/core/exception.hpp" #include "utilities_i.hpp" #include <cassert> namespace matcha { namespace math { namespace easy_expression { } // end of namespace easy_expression } // end of namespace math } // end of namespace matc...
{ "content_hash": "2e68a883e925f8fe3d9dabcef8b25422", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 63, "avg_line_length": 20.25, "alnum_prop": 0.7376543209876543, "repo_name": "YusukeSuzuki/matcha", "id": "45f2fd9d66685fa276696364015b63b12305d49b", "size": "996", "bina...
<?php class Login extends CI_Controller { public function __construct() { date_default_timezone_set("Asia/Bangkok"); parent::__construct(); $this->load->model('E_passModel'); $this->load->model('Uoc_stdModel'); $this->load->model('RefModel'); $this->load->model('RadAccountModel'); $th...
{ "content_hash": "2385dc8fa61bae22a755ffc4671f5ff4", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 133, "avg_line_length": 34.08064516129032, "alnum_prop": 0.5713834989746017, "repo_name": "sorapan/tidti", "id": "79000d95d40edba87ffd5560937e6c545fbe2662", "size": "6537"...
<div ng-controller="GeneralCtrl as general"> <div class="select-menu"> <select ng-model="general.select" ng-change="general.currentPage(general.select)"> <option value="#!/general">General</option> <option value="#!/science">Science/Tech</option> <option v...
{ "content_hash": "aab0eaeed2a83fde0d03867c763f0ab6", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 106, "avg_line_length": 44.44444444444444, "alnum_prop": 0.528125, "repo_name": "ericluna92/news", "id": "6141346412e887fa028aa3014b490a704b1cf614", "size": "1600", "bina...
using System; namespace WinFormsMvp.Binder { /// <summary> /// Defines the methods of a factory class capable of creating presenters. /// </summary> public interface IPresenterFactory { /// <summary> /// Creates a new instance of the specific presenter type, for the specified ...
{ "content_hash": "3c0682b57db60fdcf611620c20736d32", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 103, "avg_line_length": 42.75, "alnum_prop": 0.647451963241437, "repo_name": "zesus19/c5.v1", "id": "707f195deb2f05dd7ec38db0f2ea1d32b3c54405", "size": "1199", "binary": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>The Consul &mdash; The French Revolution</title> <!-- Behavioral Metadata --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Core Metadata --> <meta name="title" content="Stage 02, The French Revolution"> <m...
{ "content_hash": "977c021077f1ed3cf08bcb205cc47724", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 340, "avg_line_length": 35.92, "alnum_prop": 0.6717706013363028, "repo_name": "french-rev/french-rev.github.io", "id": "d5d8450c3cb7291740e2f2447111665d4e4557ab", "size": ...
ACCEPTED #### According to International Plant Names Index #### Published in Sp. pl. 1:15. 1753 #### Original name null ### Remarks null
{ "content_hash": "2af59da713b767d612efed9abf1d0190", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 10.76923076923077, "alnum_prop": 0.6857142857142857, "repo_name": "mdoering/backbone", "id": "b476221bcf6b16b76c63497e59f63b16f85d9c43", "size": "186...
window.ENV = { 'ember-testing-routing-helpers': true };
{ "content_hash": "2fdcabca6e1eb7c0303b5227f84fd0f9", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 39, "avg_line_length": 19.333333333333332, "alnum_prop": 0.6724137931034483, "repo_name": "lucaspottersky/ember-lab-eak", "id": "c9a2197f0df6fd2a241e2b6878867f9c181cb3cf", "...
@interface MBNetworkActivityIndicatorManager () @property (nonatomic, assign) NSInteger networkActivityCounter; @end @implementation MBNetworkActivityIndicatorManager #pragma mark - Object Lifecycle - (id)init { self = [super init]; if (self) { _enabled = YES; #if !defined(APPLICATION_E...
{ "content_hash": "6aed63d1a552df3bd7269ca7aa3aaaaa", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 82, "avg_line_length": 23.47761194029851, "alnum_prop": 0.642085187539733, "repo_name": "gaurav1981/MBRequest", "id": "13371c896c16217fba1449c7c8256e88e1613a68", "size": "1...
<?xml version="1.0" encoding="utf-8"?> <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" android:initialLayout="@layout/widget_2x1" android:minWidth="146dip" android:minHeight="72dip" android:label="@string/widget2" android:updatePeriodMillis="300000" />
{ "content_hash": "2231751c03ce57adc3aa90c39adcf843", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 78, "avg_line_length": 37.875, "alnum_prop": 0.7260726072607261, "repo_name": "albertogcatalan/abebattery-android", "id": "28a92c79280cd34454e79bff8d46f31ef7870170", "size":...
package com.depop.json import spray.json.JsonWriter import scala.language.experimental.macros import scala.reflect.macros.blackbox._ trait ADTJsonMacros { def jsonWriterFromSubTypesMacro[T: c.WeakTypeTag](c: Context): c.Expr[JsonWriter[T]] = { import c.universe._ // the type representation of T val...
{ "content_hash": "548a358b092e3af1bef08c6c607b3226", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 92, "avg_line_length": 26.693877551020407, "alnum_prop": 0.6467889908256881, "repo_name": "depop/json-macros", "id": "0b0efccf488541f21780b27b8f601bccc2872d82", "size": "18...
<?xml version='1.0' encoding='UTF-8'?> <!-- Copyright 2004-2014 The Kuali Foundation Licensed under the Educational Community 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.opensource.org/li...
{ "content_hash": "5afc75746aa730059538fd98dd872261", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 82, "avg_line_length": 38.233333333333334, "alnum_prop": 0.7454228421970357, "repo_name": "kuali/kpme", "id": "cfb4850d3a57394017353321c98896b8f4479196", "size": "1147", ...
//@var required in one of the imports var maxParameterLength = 999999999; Ext.Loader.setConfig({ enabled: true, // Turn on Ext.Loader paths: { 'Shopware' : 'http://' + window.location.host + 'base/tests/vendors/Shopware/base/application', 'Enlight': 'http://' + window.locatio...
{ "content_hash": "9396499c3385ba59110f34eb4e0d0f71", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 126, "avg_line_length": 38.43478260869565, "alnum_prop": 0.6108597285067874, "repo_name": "edwint88/CoolPlugin", "id": "c252a4b8d81b3e44e4ad18cc6600ccca46afc650", "size": "...
<?php /* Safe sample input : execute a ls command using the function system, and put the last result in $tainted sanitize : check if there is only numbers construction : concatenation */ /*Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or royalty fee, to use, copy, modif...
{ "content_hash": "24176dac85629e7808f18fd8f90abe62", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 183, "avg_line_length": 25.507246376811594, "alnum_prop": 0.7227272727272728, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "b70762de90e2f7138c5698fe1a62629b9d2...
namespace Dapper.FastCrud.Benchmarks { using System.Linq; using Dapper.FastCrud.Tests; using Dapper.FastCrud.Tests.Models; using NUnit.Framework; using TechTalk.SpecFlow; using DapperExtensions = global::DapperExtensions.DapperExtensions; [Binding] public class DapperExtensionsSteps : ...
{ "content_hash": "14285acefc9f123a25f23a86c0d6241a", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 142, "avg_line_length": 41.825581395348834, "alnum_prop": 0.6730608840700584, "repo_name": "kimx/Dapper.FastCRUD", "id": "6a2ac8f22ae21316d9a5b681e9a472ea951c01c3", "size":...
% This file is part of the Attempto Parsing Engine (APE). % Copyright 2008-2013, Attempto Group, University of Zurich (see http://attempto.ifi.uzh.ch). % % The Attempto Parsing Engine (APE) is free software: you can redistribute it and/or modify it % under the terms of the GNU Lesser General Public License as published...
{ "content_hash": "b2d14ad53d3c2cb5e99c805270e88c68", "timestamp": "", "source": "github", "line_count": 311, "max_line_length": 98, "avg_line_length": 24.366559485530548, "alnum_prop": 0.7325151755080496, "repo_name": "tiantiangao7/kalm", "id": "2e380179b9ba8628bc0ca221b6886d9c047cfd1c", "size": "7...
package aurelienribon.gdxsetupui; import aurelienribon.utils.ParseUtils; import java.util.List; /** * Skeleton for all the parameters related to a library definition. * @author Aurelien Ribon | http://www.aurelienribon.com/ */ public class LibraryDef { public final String name; public final String author; publ...
{ "content_hash": "e7fe50d7d0c1ce6fdcb348757d12d0f6", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 95, "avg_line_length": 42.13725490196079, "alnum_prop": 0.7575616565844578, "repo_name": "MathieuDuponchelle/gdx", "id": "219807270e848d04569709f6a86fee3a8b8e924a", "size":...
Are there any images that look unusual? List the file name of any unusual images for this night here, with description: + `crazy-object-001R.fit` -- not sure what this is an image of + `another-crazy-object-003B.fit` -- this looks more like a flat than a science image. + `full-moon-005B.fit` -- nice satellite or plane...
{ "content_hash": "fd784a2745ae9afa5eedf91147a421cf", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 119, "avg_line_length": 45.193548387096776, "alnum_prop": 0.7451820128479657, "repo_name": "feder-observatory/processed_images", "id": "d416f0ade8833dda34335f6bd8194ae22bfd97...
package me.oriley.homage.recyclerview; import android.animation.Animator; abstract class SimpleAnimatorListener implements Animator.AnimatorListener { @Override public void onAnimationStart(Animator animation) {} @Override public void onAnimationEnd(Animator animation) {} @Override public...
{ "content_hash": "61ed2c00ebadb13bd42ee42e1939f3d1", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 76, "avg_line_length": 22.05, "alnum_prop": 0.7619047619047619, "repo_name": "oriley-me/homage", "id": "608c69b0181bf2760d60f634e8d3ec31b7f79fa8", "size": "1038", "binary...
package org.jspare.jsdbc; import static org.junit.Assert.fail; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang.builder.ReflectionToStringBuilder; import org.jspare.core.container.Environment; import org.jspare.core.container.Inject; import org.jspare.co...
{ "content_hash": "071a1dd9129495eb534d79ccadc22153", "timestamp": "", "source": "github", "line_count": 444, "max_line_length": 91, "avg_line_length": 24.68918918918919, "alnum_prop": 0.6891990512680168, "repo_name": "jspare-framework/jsdb", "id": "38a600a74e99de9e416e27fe53bc752c45b5c463", "size":...
// @flow import React, { PropTypes } from 'react' import { View, ScrollView, Text, TouchableOpacity, Image } from 'react-native' import { connect } from 'react-redux' import LoginActions, { isLoggedIn } from '../Redux/LoginRedux' import TemperatureActions from '../Redux/TemperatureRedux' import { Actions as Navigation...
{ "content_hash": "52202ba71385d7eb347cda5a80d482a4", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 170, "avg_line_length": 40.86206896551724, "alnum_prop": 0.5739803094233474, "repo_name": "HyphenateInc/hyphenate-react-native", "id": "510986d2aef25bfffd0761be04ce40b2b9d7d...
.. _admin.server_diag: ===================================== Getting information about your server ===================================== This is just a cheat sheet for quick reference. No warranty whatsoever. .. contents:: :local: :depth: 1 .. highlight:: console What operating system is running on this ma...
{ "content_hash": "2f54bb2d0daf05d5998a9cb22efccaae", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 71, "avg_line_length": 18.73469387755102, "alnum_prop": 0.6514161220043573, "repo_name": "lino-framework/book", "id": "843c9267b21f0e4fb6374ab8a04ccb76ba989436", "size": "9...
var gulp = require('gulp'); var concat = require('gulp-concat'); var connect = require('gulp-connect'); var eslint = require('gulp-eslint'); var file = require('gulp-file'); var insert = require('gulp-insert'); var replace = require('gulp-replace'); var size = require('gulp-size'); var streamify = require('gulp-streami...
{ "content_hash": "faed5925a5e1094f2fc3db8e914670d8", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 94, "avg_line_length": 27.791836734693877, "alnum_prop": 0.6156557497429872, "repo_name": "simonbrunel/Chart.js", "id": "daba620f0f55c9bc84386814911e88dfbd2000d8", "size":...
<?php namespace Viagogo\Clients; use Viagogo\Core\ViagogoRequestParams; use Viagogo\Resources\Resources; /** * */ class WebhookClient extends Client { public function getAllWebhooks(ViagogoRequestParams $params = null) { return $this->getAllResources('webhooks', $params, Resources::Webhook); } public functi...
{ "content_hash": "5a31cb3cbc67e03a499d73e71b915188", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 81, "avg_line_length": 26.125, "alnum_prop": 0.7464114832535885, "repo_name": "viagogo/gogokit.php", "id": "1c87090c0f59d71c013dbc1815969ad432c25a9b", "size": "627", "bin...
<?php namespace AudioManager\Adapter\Polly; use AudioManager\Exception\RuntimeException; /** * @package Adapter\Polly */ class CredentialsOptions { protected $key; protected $secret; /** * CredentialsOptions constructor. * @param array $options */ public function __construct(array $...
{ "content_hash": "7db822eb7a6e54e94216f2ba803bd6c3", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 98, "avg_line_length": 20.791666666666668, "alnum_prop": 0.5076820307281229, "repo_name": "newage/AudioManager", "id": "7765ad9b29148f18ded20876ac7ff21c0791bc33", "size": "...
def good_guess?(guess) if guess == 42 return true else return false end end
{ "content_hash": "117b53a93d2213a4059b4cd717164743", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 22, "avg_line_length": 12.714285714285714, "alnum_prop": 0.6404494382022472, "repo_name": "Jlesse/phase-0", "id": "ec281083a9b4617fce575fcd025170a8b4fe8fb1", "size": "168", ...
namespace Mpdn.PlayerExtensions { partial class RemoteControlConfig { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summ...
{ "content_hash": "82767873389e6f4f2e94b0b1d11da036", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 107, "avg_line_length": 39.34615384615385, "alnum_prop": 0.5664711632453568, "repo_name": "zachsaw/PlayerExtensions", "id": "b3c984eaee59ab85c99c547557f69df8adffd52d", "si...
FINAL
{ "content_hash": "3cba06a08ab7f1cd21c0bd2d64199190", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 5, "avg_line_length": 6, "alnum_prop": 0.8333333333333334, "repo_name": "nkouvelas/FINAL", "id": "53a770db6d878520cd04427460f39b510f7fd970", "size": "14", "binary": false,...
package com.doist.jobschedulercompat.job; import com.doist.jobschedulercompat.JobInfo; import com.doist.jobschedulercompat.PersistableBundle; import com.doist.jobschedulercompat.util.BundleUtils; import com.doist.jobschedulercompat.util.JobCreator; import org.junit.After; import org.junit.Before; import org.junit.Tes...
{ "content_hash": "8eb43673ded1389bce298b2560e2e83c", "timestamp": "", "source": "github", "line_count": 313, "max_line_length": 119, "avg_line_length": 44.543130990415335, "alnum_prop": 0.6334098407688997, "repo_name": "Doist/JobSchedulerCompat", "id": "541dbc486efdbfebd2feecefc247d03141502b08", "s...
 #pragma once #include <aws/events/CloudWatchEvents_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudWatchEvents { namespace Model { /** ...
{ "content_hash": "98162d949050d96d31a17f5b35eca6d9", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 133, "avg_line_length": 32.46511627906977, "alnum_prop": 0.701647564469914, "repo_name": "awslabs/aws-sdk-cpp", "id": "131d30eaf79a48a08b53caf62c417e4f566c0db0", "size": "2...
package fr.openwide.core.commons.util.functional.builder.function; public interface LongFunctionBuildState < TBuildResult, TBooleanState extends BooleanFunctionBuildState<?, TBooleanState, TDateState, TIntegerState, TLongState, TDoubleState, TBigDecimalState, TStringState>, TDateState extends DateFunctionBuild...
{ "content_hash": "4716838390bba8569ad3d7bda4fb2add", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 159, "avg_line_length": 85.0625, "alnum_prop": 0.8420279206465834, "repo_name": "openwide-java/owsi-core-parent", "id": "03ac9785846d1e3250dd5e677a4c452636256791", "size": ...
package com.microsoft.azure.management.dns.v2016_04_01; import com.fasterxml.jackson.annotation.JsonProperty; /** * An MX record. */ public class MxRecord { /** * The preference value for this MX record. */ @JsonProperty(value = "preference") private Integer preference; /** * The d...
{ "content_hash": "4fd9cb7b8a386963583ccc4471999a80", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 59, "avg_line_length": 20.666666666666668, "alnum_prop": 0.598310291858679, "repo_name": "navalev/azure-sdk-for-java", "id": "98a820ce568840003e5ec692d477b3c8f9e1d006", "si...
<?php class Mirasvit_MstCore_Helper_Logger extends Mage_Core_Helper_Abstract { public function __construct() { Mage::getSingleton('mstcore/logger')->clean(); } public function log($object, $message, $content = null, $level = null, $trace = false, $force = false) { if (!$force) { ...
{ "content_hash": "1002f2d7820dc20581c46cb8af752567", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 121, "avg_line_length": 28.862068965517242, "alnum_prop": 0.5639187574671446, "repo_name": "mikrotikAhmet/mbe-cpdev", "id": "3cae012b6078b858419913bff7db8adc0ff8ea17", "siz...
## Problem and solution For a few years the only option was to run the Android emulator by emulating the ARM instruction set on a x86 host machine. While this is still possible, it has two problems * it is very, very slow * GPU support and OpenGL ES 2.0 is not well supported So cocos2d-x does not run correc...
{ "content_hash": "b01ec76744f35958a5b1dc6c94b997fc", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 186, "avg_line_length": 37.95238095238095, "alnum_prop": 0.740276035131744, "repo_name": "wenhulove333/ScutServer", "id": "62a526844cb88fa96eefaf80f44fbff151ab98c9", "size"...
<?php /** * The struct contains tokens that make up a search query * * @package Search * @version //autogentag// */ class ezcSearchQueryToken { const STRING = 1; const SPACE = 2; const QUOTE = 3; const PLUS = 4; const MINUS = 5; const BRACE_OPEN = 6; const BRACE_CLOSE = 7; c...
{ "content_hash": "d47c34eb8ef5e87d1f95f7ad0fd60bc9", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 78, "avg_line_length": 20.70149253731343, "alnum_prop": 0.55155010814708, "repo_name": "ezpublishlegacy/Search", "id": "59aef25b874058da62134d13ee242b9136b9137b", "size": "...
#ifndef BT_BASIC_GEOMETRY_OPERATIONS_H_INCLUDED #define BT_BASIC_GEOMETRY_OPERATIONS_H_INCLUDED /*! \file btGeometryOperations.h *\author Francisco Leon Najera */ /* This source file is part of GIMPACT Library. For the latest info, see http://gimpact.sourceforge.net/ Copyright (c) 2007 Francisco Leon Najera. C.C...
{ "content_hash": "47a399d3a0804b38d4afe088b65f051e", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 243, "avg_line_length": 25.795238095238094, "alnum_prop": 0.5765183681004246, "repo_name": "dava/dava.engine", "id": "6ffe3a125411bd1d3ebca11e5dfc48a652ee7785", "size": "7...
require 'obstore/version' describe 'ObStore::VERSION' do it 'returns a version string' do expect(ObStore::VERSION.class).to eq(String) end end
{ "content_hash": "34dc92bd1744ed73e030ad77a735e4c7", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 48, "avg_line_length": 21.571428571428573, "alnum_prop": 0.7350993377483444, "repo_name": "parabuzzle/obstore", "id": "c749ed6afd3c6a9b61edc7ae4dcbfc6cc0711949", "size": "15...
* Renamed `many1` → `some` as well as other parsers that had `many1` part in their names. * The following functions are now re-exported from `Control.Applicative`: `(<|>)`, `many`, `some`, `optional`. See #9. * Introduced type class `MonadParsec` in the style of MTL monad transformers. Eliminated built-in user ...
{ "content_hash": "1131a7330427a59fda8810feddc94139", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 76, "avg_line_length": 33.00529100529101, "alnum_prop": 0.7170567489579993, "repo_name": "neongreen/megaparsec", "id": "0188b50adcfb62c42a69cbef3e82a2031bb2f554", "size": ...
using System; using System.Collections.Generic; namespace DataAccessLayer { /// <summary>Interface definition for storage key independent of underlying data store provider.</summary> public interface IStorageKey { /// <summary>Gets StorageAccountName (e.g. - account).</summary> string Stora...
{ "content_hash": "9f3ca5d549585f15b1973fc394b016d8", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 110, "avg_line_length": 36.96153846153846, "alnum_prop": 0.6586888657648283, "repo_name": "chinnurtb/OpenAdStack", "id": "9557a26eff8def2756b1dc8289cc4c9a2a0dfb1b", "size":...
A starter kit to form the cornerstones of your React, Redux, universal app ## Install ``` yarn add react-cornerstone ``` ## Tech Stack - [**React**](https://github.com/facebook/react) - Component-based UI library - [**Redux**](https://github.com/reactjs/redux) - State management and data flow - [**Redux-First Route...
{ "content_hash": "e73f1470372a4fa5dd31aa10cb85ace7", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 308, "avg_line_length": 47.214765100671144, "alnum_prop": 0.76090973702914, "repo_name": "andy-shea/react-cornerstone", "id": "349c4c8f5dd604169289ec47431c2f4b583199b4", "...