text
stringlengths
2
1.04M
meta
dict
require 'spec_helper' describe "countries/show.html.erb" do before(:each) do assign(:country, @country = stub_model(Country, :name => "MyString", :abreviation => "MyString" )) end it "renders attributes in <p>" do render response.should contain("MyString") response.should contain...
{ "content_hash": "10f7b27854d3eb828deee9877c608018", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 51, "avg_line_length": 21.4375, "alnum_prop": 0.6501457725947521, "repo_name": "bonsaiERP/bonsaiERP", "id": "316e199d2d714da481a7e028d0f1ac61e5cfd426", "size": "343", "bi...
class "Challenge" { name = "Generic"; -- name of the challenge. used to warn the player delay = 0; -- delay time for challenge event after challenge start duration = 0; -- how long the actual challenge lasts. difficulty = 1; -- the difficulty of the challenge elapsed = 0; -- the time the challe...
{ "content_hash": "73d7e79c3a1e6ce8c21e1289e5bfe52b", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 91, "avg_line_length": 28.978571428571428, "alnum_prop": 0.5526250924328321, "repo_name": "zorfmorf/loveprojects", "id": "af50086a4ba0b2e83dda0caa1feae453c175f095", "size"...
<html lang="en"><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps."> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>bPlanner</title> <!-- Add to ...
{ "content_hash": "ffdd3b7b4d1269bc40c245aff9a4061a", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 128, "avg_line_length": 43.458333333333336, "alnum_prop": 0.6864813039309684, "repo_name": "phy25/bPlanner", "id": "94a6c3219d7641a1b1c52cdbc0061ea2b1ccae3b", "size": "2086...
class AddHumanReviewToArticle < ActiveRecord::Migration def change add_column :articles, :human_review, :boolean, default: true, null: false end end
{ "content_hash": "0b3552a76256fa2f0e6d159ac4077368", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 77, "avg_line_length": 31.4, "alnum_prop": 0.7579617834394905, "repo_name": "visoft/shuttle", "id": "4d05d48611f1bc5941bf6a9ef2dcc51a308092a0", "size": "157", "binary": fa...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "10b916df25f54f76ce6fd5f4a9760933", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "cbd8db07ff4ba6eb2cd645360ae57b67c76b7eac", "size": "18...
using SistemaAguaPotable.Core.Abstract.Data; using SistemaAguaPotable.Core.Abstract.Services; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SistemaAguaPotable.Services { public class UsuariosService:IUsuariosService //Hereda de los ser...
{ "content_hash": "3e00c93735714802eb79fc0404f26e31", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 125, "avg_line_length": 29.375, "alnum_prop": 0.6204255319148936, "repo_name": "01Giovani/admProyectoAgua", "id": "de764c17dc6f189d04b0ec23d6caab9a142c405b", "size": "2352"...
import flask, sqlite3 class Database: def __init__(self, path): self.path = path self._connection = None def connect(self): if not self._connection: self._connection = sqlite3.connect(self.path) self._connection.row_factory = sqlite3.Row return self._connection def close(self): if self._connectio...
{ "content_hash": "b910f0ca5c5c40bda00e234d059f041b", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 48, "avg_line_length": 22.586206896551722, "alnum_prop": 0.6824427480916031, "repo_name": "scizzorz/flaskplate", "id": "27898d1e8d7104e99d1c96a03b8f35b404f0d9a8", "size": "...
extern "C" { #endif #define JAVA_LOADER_NAME "java" #define INSTALL_NAME "azure_iot_gateway_sdk" //============================================================================= //Set Platform Specific Env Vars //============================================================================= #ifdef _WIN64 #d...
{ "content_hash": "3dd20f84ddd22d4c1eb1dc32f3eba01a", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 79, "avg_line_length": 27.41176470588235, "alnum_prop": 0.5842274678111588, "repo_name": "tkopacz/2017IotHubGatewaySDK", "id": "fcc11e91d0aab0c33ee62a5784340f70a0ad0187", "...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">Ubisoldiers</string> <string name="hello_world">Hello world!</string> <string name="action_settings">Settings</string> <string name="hello_blank_fragment">Hello blank fragment</string> </resources>
{ "content_hash": "4efa8005070082bbce5b1bc1091f0f21", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 69, "avg_line_length": 32.333333333333336, "alnum_prop": 0.6941580756013745, "repo_name": "gobbisanches/ubisoldiers", "id": "936e38aef6dc4e4e8307b0618e87ece72bdb83b5", "size...
set -e # Exit with nonzero exit code if anything fails START_TIME=$SECONDS echo -n "NPM Version: " && npm --version echo -n "Node Version: " && node --version npm install echo "Directory content after build:" ls -al ELAPSED_TIME=$(($SECONDS - $START_TIME)) echo "educama-supplier-simulator-backend Build & test dura...
{ "content_hash": "9596a2ca3f55c143aa1e893d4e3e0cb1", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 86, "avg_line_length": 24.928571428571427, "alnum_prop": 0.7191977077363897, "repo_name": "eberhardheber/Showcase", "id": "b2e082d87234c9b09748b0ddd38e7873f34f66c3", "size"...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------...
{ "content_hash": "0f3b7e4c9bb0fe1c1b2959f2a302a764", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 151, "avg_line_length": 35.8, "alnum_prop": 0.5837988826815642, "repo_name": "maxkimambo/MailBoxMigrator", "id": "8612397a80c22fccb7c8397b3ab239ecc285fdd9", "size": "1076",...
use strict; use warnings; use Data::Dumper; use Getopt::Long; use File::Basename qw/fileparse dirname basename/; use File::Copy qw/cp/; use Bio::Perl; use FindBin; use lib "$FindBin::RealBin/../lib"; use LyveSET qw/@fastqExt logmsg/; $0=fileparse $0; exit(main()); sub main{ my $settings={}; GetOptions($settings,...
{ "content_hash": "7709e2561a1be8898dda472ebb341cbf", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 149, "avg_line_length": 34.9375, "alnum_prop": 0.6618962432915921, "repo_name": "lskatz/lyve-SET", "id": "e97f104e86b26d873527b89b574541aa5255eef8", "size": "5611", "bin...
package org.lwjgl.vulkan.video; import javax.annotation.*; import java.nio.*; import org.lwjgl.*; import org.lwjgl.system.*; import static org.lwjgl.system.Checks.*; import static org.lwjgl.system.MemoryUtil.*; import static org.lwjgl.system.MemoryStack.*; /** * <h3>Layout</h3> * * <pre><code> * struct StdVi...
{ "content_hash": "7cbd1e46184341ce47fbd03ca7f40e59", "timestamp": "", "source": "github", "line_count": 724, "max_line_length": 242, "avg_line_length": 69.96408839779005, "alnum_prop": 0.7072491807162317, "repo_name": "LWJGL/lwjgl3", "id": "816d19dbc1ce0af14c215c19f27871b166a25864", "size": "50788"...
/* * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of...
{ "content_hash": "694a8d599da2699a18b9817e9dce4290", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 137, "avg_line_length": 38.14375, "alnum_prop": 0.7910863509749304, "repo_name": "hardikamal/xox", "id": "77dec074fbd0ab92541e05b79201a1b0007aefd8", "size": "6291", "bin...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_17) on Sun Nov 03 15:35:46 CET 2013 --> <title>com.badlogic.gdx.scenes.scene2d.actions Class Hierarchy (libgdx API)</title> <meta name=...
{ "content_hash": "241608cd28ad7d9b4698c7e80a6aa7a2", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 377, "avg_line_length": 70.11734693877551, "alnum_prop": 0.6775813141235538, "repo_name": "ilackarms/libgdx", "id": "8ec025b5c4d3952f688bd453fb80b2715868d8f4", "size": "13...
""" 第 0002 题:将 0001 题生成的 200 个激活码(或者优惠券)保存到 MySQL 关系型数据库中。 """ import pymysql __author__ = 'Chris5641' def code2sql(): f = open('ActivationCode.txt', 'r') conn = pymysql.connect(user='root', passwd='password') cursor = conn.cursor() cursor.execute('create database if not exists accode') cursor.exe...
{ "content_hash": "e27972ca4dc1bd732974e15d2faa80b6", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 94, "avg_line_length": 27.375, "alnum_prop": 0.6377473363774734, "repo_name": "Yrthgze/prueba-sourcetree2", "id": "4f81226b971b45712a3ea0ba8f60ad144f46c9da", "size": "741",...
typedef void **omp_allocator_handle_t; extern const omp_allocator_handle_t omp_null_allocator; extern const omp_allocator_handle_t omp_default_mem_alloc; extern const omp_allocator_handle_t omp_large_cap_mem_alloc; extern const omp_allocator_handle_t omp_const_mem_alloc; extern const omp_allocator_handle_t omp_high_bw_...
{ "content_hash": "721c9f001fc68a31d75d88b2399a94e0", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 283, "avg_line_length": 35.09340659340659, "alnum_prop": 0.6398935337404102, "repo_name": "endlessm/chromium-browser", "id": "417562c45bbf3387745e70622e6587bc3c7eb02c", "s...
@import UIKit; #import "AppDelegate.h" int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
{ "content_hash": "2fc1a8bdc61d7169fa5c5f6951eec6df", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 90, "avg_line_length": 22, "alnum_prop": 0.6717171717171717, "repo_name": "andrew804/InAppNotifications", "id": "c5212baaa9699d6b7fe4110b6d6646e73cd6ebe7", "size": "345", ...
using System; namespace MonkeyOthello.Engines.V2 { public class Constants { public const int MaxEmpties = 64; public const int Use_Parity = 4; public const int Fastest_First = 7; public const int HighestScore = 100000000; public const int RowsNum = 8; ...
{ "content_hash": "fd6c0f52b59051d31972bb3dc9bd1642", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 53, "avg_line_length": 23.8125, "alnum_prop": 0.5879265091863517, "repo_name": "coolcode/MonkeyOthello", "id": "35143c35860e02aac7141f5830d7b9f14874f569", "size": "557", ...
import { initializeApp } from "firebase/app" import { getFirestore } from "firebase/firestore" import { getDatabase } from "firebase/database" import { firebaseConfig } from "secrets" export const firebase = initializeApp(firebaseConfig) export const db = getFirestore(firebase) export const rldb = getDatabase(firebas...
{ "content_hash": "bf1d05057232621fa49be7795e438f48", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 53, "avg_line_length": 35.888888888888886, "alnum_prop": 0.7863777089783281, "repo_name": "Va5s0/the-birthday-project", "id": "965a9cb201e4e4d3dcf79f70bd59d6a46eb0b289", "si...
package envoy_type_v3 import ( "bytes" "errors" "fmt" "net" "net/mail" "net/url" "regexp" "strings" "time" "unicode/utf8" "github.com/golang/protobuf/ptypes" ) // ensure the imports are used var ( _ = bytes.MinRead _ = errors.New("") _ = fmt.Print _ = utf8.UTFMax _ = (*regexp.Regexp)(nil) _ = (*stri...
{ "content_hash": "c912979aeb2590179d43961ed49be6a5", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 102, "avg_line_length": 21.480392156862745, "alnum_prop": 0.7065267001369238, "repo_name": "jacksontj/promxy", "id": "0a93817441631ae1a6eb4914a37f06d29be18577", "size": "2...
<!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": "c31b3e8f48ea408c8571beb9eb438322", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 367, "avg_line_length": 53.98245614035088, "alnum_prop": 0.6529086772830679, "repo_name": "DrPizza/reed-solomon", "id": "9fb437fd240a78c45f7ac01dd0910e0ee23d7caa", "size": ...
<!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": "0d85226fa1ea8c6630c549dfd358909b", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 376, "avg_line_length": 49.90909090909091, "alnum_prop": 0.6637826350941105, "repo_name": "XLabs/xlabs.github.io", "id": "7b466bf16a916e34060d752b9c6fda2a19e4de65", "size"...
var getGadgetLocation = function (callback) { var gadgetLocation = "/portal/store/carbon.super/fs/gadget/Android_Realtime_Screen"; var PATH_SEPERATOR = "/"; if (gadgetLocation.search("store") != -1) { wso2.gadgets.identity.getTenantDomain(function (tenantDomain) { var gadgetPath = gadgetLo...
{ "content_hash": "0e457d0e1c85a3610d763987ef21f597", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 88, "avg_line_length": 38.333333333333336, "alnum_prop": 0.5602484472049689, "repo_name": "susinda/carbon-device-mgt-plugins", "id": "8c43200bb23b6a10a3a8874724c9b469338eab0a...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Diagnostics.Contracts; //^ using Microsoft.Contracts; namespace Microsoft.Cci { /// <summary> /// An ...
{ "content_hash": "2590e0a0fb6e7ae9fbd01fd4eb38704f", "timestamp": "", "source": "github", "line_count": 2221, "max_line_length": 181, "avg_line_length": 29.523187753264295, "alnum_prop": 0.6720348934742493, "repo_name": "mike-barnett/cci", "id": "b52efc3ba3ef97c5740de2940e689f15f148b4be", "size": "...
We would love for you to contribute to Angular 2 Material and help make it ever better! As a contributor, here are the guidelines we would like you to follow: - [Code of Conduct](#coc) - [Question or Problem?](#question) - [Issues and Bugs](#issue) - [Feature Requests](#feature) - [Submission Guidelines](#submit-...
{ "content_hash": "a1de2bcf8da0fac977626c10b272b893", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 115, "avg_line_length": 42.299180327868854, "alnum_prop": 0.7332622807867455, "repo_name": "badjilounes/material2", "id": "333a29371e5d7b5e7d0bcc86e0eba7345c4ae66a", "size...
define( [ 'react' ], function (React) { var Attachment = React.createClass({ render: function() { return ( <div className="attachment-block clearfix"> <img className="attachment-img" src={this.props.picture} alt...
{ "content_hash": "cfa24965ade1cd88e67e6331937e5587", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 106, "avg_line_length": 35.37931034482759, "alnum_prop": 0.34210526315789475, "repo_name": "anbarasimanoharan/FocusDashboard", "id": "d5e5eee47a2746c9963a7687e703e9fb43c27de4...
package com.yoloswag.alex.seetitel; import java.io.FilterOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.charset.Charset; import org.apache.http.entity.mime.HttpMultipartMode; import org.apache.http.entity.mime.MultipartEntity; @SuppressWarnings("deprecation") public cl...
{ "content_hash": "8fe73cfab54fab4ed1ed24fbac650cfa", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 95, "avg_line_length": 33.32835820895522, "alnum_prop": 0.5982982534706672, "repo_name": "SeetiTel/Android", "id": "9d5824f0e8b3e06d9b4577bc5cb67992a558b33c", "size": "2233...
#include "utf8fcns.h" #include <boost/regex.hpp> #include <boost/regex/icu.hpp> #include <unicode/unistr.h> // "private" utf8fcns namespace static variables namespace utf8fcns { static const std::string word_pattern("\\w+"); static const boost::u32regex wordinit_exp = boost::make_u32regex(word_pattern); static const...
{ "content_hash": "69360dfeb79da573ca066ae5614d06e9", "timestamp": "", "source": "github", "line_count": 464, "max_line_length": 102, "avg_line_length": 27.612068965517242, "alnum_prop": 0.6532937870746175, "repo_name": "hokiedsp/autocdripper", "id": "c0b8e5654b948c34732a9869a7d01a738520d55b", "size...
{-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE RankNTypes #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE KindSignatures #-} module Category.Semigroupal ( Semigroupal(Semigroupal) , tensor_product , associator ) where import Functor.Bifunctor (Bifunctor) import Isomorphism (Isomorphism) -- associator . associa...
{ "content_hash": "afe73654668db5e7c65da6207cce27fe", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 89, "avg_line_length": 32.8421052631579, "alnum_prop": 0.6362179487179487, "repo_name": "Hexirp/untypeclass", "id": "c3426e95370b656993fa5e5491e611029a3b2f95", "size": "624...
void TestRotations(); void TestRLG(); void TestNewtonEuler(); #endif
{ "content_hash": "71689f1ef423ef6dc81b908077044543", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 23, "avg_line_length": 14, "alnum_prop": 0.7428571428571429, "repo_name": "krishauser/KrisLibrary", "id": "1618b1c4baaf4476421cf472f61e1d39c288c319", "size": "208", "binar...
var CACHE_NAME = 'scrum-poker-cache-v1'; var urlsToCache = [ '/', '/css/main.css', '/js/main.js' ]; self.addEventListener('install', function(event) { // Perform install steps event.waitUntil( caches.open(CACHE_NAME) .then(function(cache) { console.log('Opened cache'); return cache...
{ "content_hash": "27267398f672c03334fc97bd1df62182", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 50, "avg_line_length": 19.944444444444443, "alnum_prop": 0.6100278551532033, "repo_name": "barry-napier/pwa-scrum-poker", "id": "dd09673ea85d21d30e38b2b0829b6f6885707efd", ...
(function () { var requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) { setTimeout(fn, 16); }; function delegate(selector, handler) { return function(e) { var target = e.target; var...
{ "content_hash": "62991e1140e8c011cdf03e4766db9a15", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 113, "avg_line_length": 32.80590717299578, "alnum_prop": 0.6200643086816721, "repo_name": "mozbrick/mozbrick.github.io", "id": "f39905cadca0add67dd99f8d2f433ca68f34002e", ...
using Interactive.HateBin.Data; using Interactive.HateBin.Models; using Interactive.HateBin.Services; using System.Net.Mail; using System.Threading.Tasks; using System.Web.Hosting; using System.Web.Mvc; namespace Interactive.HateBin.Controllers { [Authorize(Roles = "Approved")] public class LoveController : C...
{ "content_hash": "ac9c61c025b207feaa4a9cbedcdccf9e", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 115, "avg_line_length": 37.80722891566265, "alnum_prop": 0.4837476099426386, "repo_name": "interactiveinstitute/hatebin", "id": "9d55ff8d88a3d411c478bdb23d785caf6297fa8b", ...
package ctutil import ( "bytes" "crypto" "crypto/sha256" "encoding/base64" "errors" "fmt" ct "github.com/google/certificate-transparency-go" "github.com/google/certificate-transparency-go/tls" "github.com/google/certificate-transparency-go/x509" ) var emptyHash = [sha256.Size]byte{} // LeafHashB64 does as ...
{ "content_hash": "20399646fbafcb9988248872324d6911", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 138, "avg_line_length": 43.494897959183675, "alnum_prop": 0.7239882697947214, "repo_name": "google/certificate-transparency-go", "id": "640fcec9c1f1b0c84fdbdd08df1572075b98a...
using System; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.Core; using Azure.Core.Pipeline; using Azure.ResourceManager.Network.Models; namespace Azure.ResourceManager.Network { /// <summary> Creates or updates the specified FirewallPolicyRuleGroup. </summa...
{ "content_hash": "9a0efb299ea8609957b268dae8314021", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 238, "avg_line_length": 52.08474576271186, "alnum_prop": 0.7562642369020501, "repo_name": "yugangw-msft/azure-sdk-for-net", "id": "b560e6fd295226d42310bcb2f82c67bd1f2fbe29", ...
/** * Created by invercity on 2/6/14. */ var exec = require('child_process').exec; var async = require('async'); // debug flag var _DEBUG = false; // get execution arguments var arg = process.argv.slice(2)[0]; if (arg === 'test') { exec('nodejs transport.js create', function() { console.log('test data ...
{ "content_hash": "9eaf81a08f769268fe6fcc03b4d3ef19", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 72, "avg_line_length": 24.3, "alnum_prop": 0.5318930041152263, "repo_name": "diospark/transport-view", "id": "dc1e5231635bd9212a9cb5f572fe7fba26dff167", "size": "972", "b...
package sl.paket.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import sl.paket.addressbook.model.ContactData; import sl.paket.addressbook.model.Contacts; impor...
{ "content_hash": "1b4d45db65a5aafc638fe1cba329e7eb", "timestamp": "", "source": "github", "line_count": 230, "max_line_length": 107, "avg_line_length": 36.108695652173914, "alnum_prop": 0.5894039735099338, "repo_name": "serglit/MyOnlineJAVA", "id": "50fc710c2d9514c45670364158bcb574c7bbc941", "size"...
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace Craps { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }
{ "content_hash": "900b912fdcb0616585a6993f8a6dc05a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 42, "avg_line_length": 18.764705882352942, "alnum_prop": 0.6990595611285266, "repo_name": "lulzmachine/Craps", "id": "40fdb66f5fba71bbcae78afbe29ecc99754565b0", "size": "32...
export * from './Banner';
{ "content_hash": "7ee977d0092d2f6289018961864a568b", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 25, "avg_line_length": 26, "alnum_prop": 0.6153846153846154, "repo_name": "AJIXuMuK/sp-dev-fx-webparts", "id": "bc95f09d62a942c4f82b360f91caaab79721c86b", "size": "26", "b...
@echo off set INSTALL_UTIL_HOME=C:\Windows\Microsoft.NET\Framework\v2.0.50727 set PATH=%PATH%;%INSTALL_UTIL_HOME% cd %SERVICE_HOME% echo Installing Service... installutil Perrich.RunAsService.exe echo Done.
{ "content_hash": "2ed7247315ab3234f6faf9605c7de6e6", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 67, "avg_line_length": 21.8, "alnum_prop": 0.7477064220183486, "repo_name": "perrich/RunAsService", "id": "cf870c148b9a656a5ab23baa1acb6960b7e1ee96", "size": "218", "bina...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/privacy/dlp/v2/dlp.proto namespace Google\Cloud\Dlp\V2; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * Request message for DeleteInspectTemplate. * * Gen...
{ "content_hash": "55fa5fde33b89c7b1162b479aa1b785e", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 144, "avg_line_length": 33.74666666666667, "alnum_prop": 0.667325167917819, "repo_name": "chingor13/google-cloud-php", "id": "843f99a24f1709f24989aeca458ebe1b876e8d4c", "si...
package net.ontopia.topicmaps.entry; import java.net.MalformedURLException; import java.net.URL; import java.util.Collection; import java.util.Collections; import net.ontopia.topicmaps.utils.ltm.LTMTopicMapReference; import net.ontopia.infoset.core.LocatorIF; import net.ontopia.infoset.impl.basic.URILocator; import...
{ "content_hash": "e1cb90783ee670812c7a1189702bfe42", "timestamp": "", "source": "github", "line_count": 328, "max_line_length": 149, "avg_line_length": 26.448170731707318, "alnum_prop": 0.6643227665706052, "repo_name": "ontopia/ontopia", "id": "3fd9fa8d85868621c6ad775fc3bd7a66b8dd9bc4", "size": "93...
package com.bytegriffin.datatunnel.core; public interface Handler { void channelRead(HandlerContext ctx, Param msg); }
{ "content_hash": "3b1f38fd246618079afc5d942fe34b4b", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 52, "avg_line_length": 17.857142857142858, "alnum_prop": 0.776, "repo_name": "bytegriffin/DataTunnel", "id": "eb14e67c94332b9938e488d4ae92a64ef70ad32a", "size": "125", "bi...
namespace media { // Represents a queue of bytes. // Data is added to the end of the queue via an Push() call and removed via // Pop(). The contents of the queue can be observed via the Peek() method. // This class manages the underlying storage of the queue and tries to minimize // the number of buffer copies when da...
{ "content_hash": "a028589b32f06613fa2f9f7ac73af821", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 79, "avg_line_length": 26.340425531914892, "alnum_prop": 0.6849757673667205, "repo_name": "gavinp/chromium", "id": "d3ef6058f57bd4f07fb05b36fd56ab5b6bbeedd0", "size": "1541...
package com.sample.linebot.mybot.sendmessage; import com.sample.linebot.api.receivemessage.Result; import com.sample.linebot.api.sendmessage.SendMessageManager; public class YokaiBot implements IMyBot { @Override public boolean match(Result result) { String text = result.getContent().getText(); if (t...
{ "content_hash": "d7c0ad78ab905ff19b088982911cd53a", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 101, "avg_line_length": 23.90740740740741, "alnum_prop": 0.6839659178931061, "repo_name": "moritalous/LineBot", "id": "77727e7cdf45624eabf74f5108e6ee4a0b9640cb", "size": "1...
package com.mojang.mojam.gui; import com.mojang.mojam.screen.Art; import com.mojang.mojam.screen.Screen; public class CheckBox extends Button { private boolean isChecked; public final static int width = 40; public final static int heigth = 40; public final String text; public CheckBox(int id, String text, int ...
{ "content_hash": "e9ef463012d5d11202f6109934df21ac", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 70, "avg_line_length": 19.954545454545453, "alnum_prop": 0.6742596810933941, "repo_name": "rekh127/Catacomb-Snatch-Reloaded", "id": "dd27ab5f566bd5b22b921a35b377e1d9620ca1d9"...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "c33200468cf5863ae27ce7051839ee9e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "c7235ab3882e3d0ad3eb5e631401f292b93e268c", "size": "213...
<!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"/> <title>ublas: boost::numeric::ublas::scalar_conj&lt; T &gt; Struct Templat...
{ "content_hash": "487e1aebd29c86e02727c7b31f72efed", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 249, "avg_line_length": 72.42372881355932, "alnum_prop": 0.6747016147905452, "repo_name": "cpascal/af-cpp", "id": "46de50d0456748a6ef5d020e19208d7f0e977273", "size": "4273"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>zebkit.ui.event.WinEvent - zebkit</title> <link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css"> <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css"> <link rel="styleshee...
{ "content_hash": "f189403ced065e5d81c12f822b22bebf", "timestamp": "", "source": "github", "line_count": 1462, "max_line_length": 199, "avg_line_length": 66.29480164158687, "alnum_prop": 0.3349153451709089, "repo_name": "barmalei/zebra", "id": "d2c8588243c0b39c4a329a15a3fe8059ee9dcfe7", "size": "969...
(function($){ var Renderer = function(canvasId){ var canvas = $('#'+canvasId).get(0) var ctx = canvas.getContext("2d") var gfx = arbor.Graphics(canvas) var particleSystem = null var that = { init:function(system){ // // the particle system will call the init function on...
{ "content_hash": "0d9a57547bc1074c6003757bddffa017", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 92, "avg_line_length": 33.37012987012987, "alnum_prop": 0.5423234092235844, "repo_name": "lukacsd/arborvaadin", "id": "49e0cc3abfbc321207266cf3b3bf606dd7dbd7b2", "size": "...
package de.st_ddt.crazychats.commands; import de.st_ddt.crazychats.CrazyChats; import de.st_ddt.crazyplugin.commands.CrazyPlayerCommandExecutor; abstract class PlayerCommandExecutor extends CrazyPlayerCommandExecutor<CrazyChats> implements CommandExecutorInterface { PlayerCommandExecutor(final CrazyChats pl...
{ "content_hash": "6bf48264536b99045f14d3f9325d61c1", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 119, "avg_line_length": 22.473684210526315, "alnum_prop": 0.775175644028103, "repo_name": "ST-DDT/CrazyChats", "id": "905b1ea258a3fb0b49d5c4ebba8addadd82a1bc3", "size": "42...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function (mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define....
{ "content_hash": "4fbe40fc631a1c65913c2bc2f4ee2dc4", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 126, "avg_line_length": 43.93388429752066, "alnum_prop": 0.4706546275395034, "repo_name": "zheng-zy/lansidemo", "id": "9e079fbbde61f728f38d8ec27fe906eab6d5dae6", "size": "...
namespace user_notes { // A class that represents the manifestation of a note within a specific web // page. class UserNoteInstance { public: explicit UserNoteInstance(base::WeakPtr<UserNote> model); ~UserNoteInstance(); UserNoteInstance(const UserNoteInstance&) = delete; UserNoteInstance& operator=(const Use...
{ "content_hash": "04e43942147d341799f7e90ac657a77f", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 76, "avg_line_length": 33.333333333333336, "alnum_prop": 0.7375, "repo_name": "scheib/chromium", "id": "3273b4b5bde78aab1614fa0a647f111a81c79e47", "size": "1173", "binary...
title: SDMX (Statistical Data and Metadata Exchange) slug: sdmx-statistical-data-and-metadata-exchange description: <p>A set of common technical and statistical standards and guidelines to be used for the efficient exchange and sharing of statistical data and metadata.</p><p>Sponsoring institutions include BIS, ECB...
{ "content_hash": "ad3571256f10a19804e8dd6520b32dca", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 102, "avg_line_length": 33.65217391304348, "alnum_prop": 0.7764857881136951, "repo_name": "rd-alliance/metadata-directory", "id": "ad1c60ec8778390683eee912eae65c76622bc487", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2003 - 2015 The eFaps Team 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 requ...
{ "content_hash": "278d07bc446ce652caeda47439382806", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 98, "avg_line_length": 43.36585365853659, "alnum_prop": 0.6912260967379078, "repo_name": "eFaps/eFapsApp-HumanResource", "id": "36b5852153afbb8951eab7b3093e6febb2d34a99", "...
package skylin; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedList; import java.util.List; import oracle.sql.ROWID; import skylin.util.SqlUtil; import skylin.util.Util; publi...
{ "content_hash": "0e091970207ea08ecc74af1d0466880f", "timestamp": "", "source": "github", "line_count": 437, "max_line_length": 246, "avg_line_length": 19.041189931350115, "alnum_prop": 0.5742098305492128, "repo_name": "wilhelm-vh/skylin", "id": "d20b8edb025ca4b13ba9bfaaf9186a4774dd9756", "size": "...
package models import ( "koding/db/mongodb/modelhelper" "socialapi/request" "socialapi/workers/common/tests" "testing" "time" "gopkg.in/mgo.v2/bson" "github.com/koding/bongo" "github.com/koding/runner" . "github.com/smartystreets/goconvey/convey" ) func TestPresenceDailyOperations(t *testing.T) { tests.Wi...
{ "content_hash": "9945fcf1ea29e5d02148351ae7b3752f", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 82, "avg_line_length": 27.65644171779141, "alnum_prop": 0.6597160603371783, "repo_name": "andrewjcasal/koding", "id": "27a4057cbff2e94827e5cb55d292e6e0581bca2e", "size": "...
require 'spec_helper' describe "problems/index.atom.builder", :type => :view do it 'display problem message' do app = Fabricate :app allow(view).to receive(:problems).and_return([ Fabricate(:problem, :message => 'foo', :app => app), Fabricate(:problem, :app => app) ]) render expect(r...
{ "content_hash": "7e63b7ea48bce59fc51c4999d9fe887e", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 58, "avg_line_length": 23.733333333333334, "alnum_prop": 0.6292134831460674, "repo_name": "Undev/errbit", "id": "592ed95643f994b498da40c545d8aa4597307df8", "size": "356", ...
package ru.noties.spg.sample; import android.app.Activity; import android.os.Bundle; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } }
{ "content_hash": "efb8bac5fba9d41f7b146571edc45b7c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 56, "avg_line_length": 23.384615384615383, "alnum_prop": 0.7368421052631579, "repo_name": "noties/SharedPreferencesGenerator", "id": "30f013684b7110dd08f348919fdd2a962aa40597...
<?php namespace Oro\Bundle\SegmentBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Snapshot of static segment * * @ORM\Table( * name="oro_segment_snapshot", * uniqueConstraints={ * @ORM\UniqueConstraint(columns={"segment_id", "entity_id"}) * }, * indexes={ * @ORM\I...
{ "content_hash": "713aadfa7ce5e81f86cc691d02a8e079", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 104, "avg_line_length": 19.879194630872483, "alnum_prop": 0.550303848750844, "repo_name": "morontt/platform", "id": "662ce11a891a339b87b46d775816c221c8793b42", "size": "29...
// @filename: file1.ts declare class Promise { } declare function Foo(): void; declare class C {} declare enum E {X = 1}; export var promise = Promise; export var foo = Foo; export var c = C; export var e = E; // @filename: file2.ts export declare function foo(); // @filename: file3.ts export declar...
{ "content_hash": "5d53857deb2168089fa948fa0cc7d0e6", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 42, "avg_line_length": 19.923076923076923, "alnum_prop": 0.6447876447876448, "repo_name": "ropik/TypeScript", "id": "05f78592780af8fdd242ec69118e16df3910e100", "size": "569...
package com.github.dexecutor.core; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.junit.Test; import com.github.dexecutor.core.task.ExecutionResult; public class ExecutionResultTest { @Test public void testExecutionResultIdShouldBeOne() { ExecutionResu...
{ "content_hash": "38eb2c245f2f8f662046534ef4b3f6ca", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 75, "avg_line_length": 27.557692307692307, "alnum_prop": 0.7313328681088626, "repo_name": "dexecutor/dexecutor-core", "id": "5347e1ae4332534d30f894210b12dd87f722cb27", "siz...
from setuptools import setup setup( name='vrouter', version='0.1dev', packages=['vrouter', 'vrouter.vrouter', 'vrouter.vrouter.cpuinfo', 'vrouter.vrouter.process_info', 'vrouter.sandesh', 'vrouter.sandesh.virtual_machine', ...
{ "content_hash": "79d013edeb9373634aad523fbccedea5", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 58, "avg_line_length": 27.071428571428573, "alnum_prop": 0.5131926121372031, "repo_name": "cloudwatt/contrail-controller", "id": "2e18f69982fdbcc50f5a72115bc52e455201064f", ...
<!-- Unsafe sample input : use fopen to read /tmp/tainted.txt and put the first line in $tainted Uses a number_int_filter via filter_var function File : unsafe, use of untrusted data in a quoted property value (CSS) --> <!--Copyright 2015 Bertrand STIVALET Permission is hereby granted, without written agreement or ...
{ "content_hash": "831aec9ba9548cd0e14a76e0e3202764", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 77, "avg_line_length": 22.75, "alnum_prop": 0.721001221001221, "repo_name": "stivalet/PHP-Vulnerability-test-suite", "id": "85536eaf14d114c615eb5612258a1062d78ced69", "size...
#include "hb-ot-shape-normalize-private.hh" #include "hb-ot-shape-private.hh" /* * HIGHLEVEL DESIGN: * * This file exports one main function: _hb_ot_shape_normalize(). * * This function closely reflects the Unicode Normalization Algorithm, * yet it's different. * * Each shaper specifies whether it prefers d...
{ "content_hash": "35c799b5962c63f1b488ca8193d06e4a", "timestamp": "", "source": "github", "line_count": 524, "max_line_length": 130, "avg_line_length": 31.326335877862597, "alnum_prop": 0.6291806274748706, "repo_name": "leighpauls/k2cro4", "id": "18a3f3f441cf87248adbc23c6a647650899bdf92", "size": "...
from django.contrib import admin from blog.models import Post class PostAdmin(admin.ModelAdmin): # fields display on change list list_display = ['title', 'description'] # fields to filter the change list with list_filter = ['published', 'created'] # fields to search in change...
{ "content_hash": "1d19724f958a0a1dc47d40a84d4cd11d", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 62, "avg_line_length": 37.526315789473685, "alnum_prop": 0.6367461430575035, "repo_name": "DanielleWingler/UnderstandingDjango", "id": "f642fc4b80489d2eb0b15ef84e85d48ce11000...
<!doctype html> <!-- This file is generated by build.py. --> <title>Reference for video tall.jpg; overflow:hidden; -o-object-fit:contain; -o-object-position:center 100%</title> <link rel="stylesheet" href="../../support/reftests.css"> <style> .helper { overflow:hidden } .helper > * { left:33.3333333333px; bottom:0; h...
{ "content_hash": "c670b823aa2333d6c6f9a1baa2db3ea7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 115, "avg_line_length": 39, "alnum_prop": 0.6736596736596736, "repo_name": "Ms2ger/presto-testo", "id": "98a0af140c118cabd4495c8c97c5bada44d15482", "size": "429", "binary...
namespace g{namespace Android{namespace android{namespace view{struct Choreographer;}}}} namespace g{namespace Fuse{struct App;}} namespace g{namespace Fuse{struct App__FrameCallback;}} namespace g{ namespace Fuse{ // private sealed class App.FrameCallback :73 // { struct App__FrameCallback_type : ::g::Android::java:...
{ "content_hash": "43ce5597b1ceca3f409244a5aab27211", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 89, "avg_line_length": 35.029411764705884, "alnum_prop": 0.7002518891687658, "repo_name": "blyk/BlackCode-Fuse", "id": "10f79aa694148ca6acf576bff204a99fb3a36405", "size": "...
from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations ...
{ "content_hash": "725d82b5d0bd5c1324e29580ac08c2be", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 145, "avg_line_length": 41.916666666666664, "alnum_prop": 0.557455268389662, "repo_name": "PXL-CF2016/pxl-master-server", "id": "3d4d1b0d1b4a54de2bb1f6bcd1d79693f6d64e79", ...
import React from 'react'; import CreateGameForm from './CreateGameForm'; import io from '../io'; const Index = React.createClass({ propTypes: { io: React.PropTypes.object.isRequired }, getInitialState() { return { link: '', hasExpired: false, time: '30', inc: '0' }; }...
{ "content_hash": "76b9889a64270782c9df9639045f33b9", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 78, "avg_line_length": 24.59, "alnum_prop": 0.5213501423342822, "repo_name": "romanmatiasko/reti-chess", "id": "cba5ef6c5be293279fe1ac6c7bb5890998afd663", "size": "2461", ...
.. _plugin-chat: **** Chat **** Description =========== .. automodule:: spockbot.plugins.helpers.chat Events ====== .. object:: chat Chat event was recieved **Playload** :: {'position': position, 'raw': json_data, 'text': text, 'type': chat_type, 'message': msg, 'name': name, 'uuid': uuid} ....
{ "content_hash": "ca9f1911895e7d0883cd16c226380655", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 125, "avg_line_length": 14.890625, "alnum_prop": 0.5456453305351522, "repo_name": "Gjum/SpockBot", "id": "940f2671af592de499f3812cb7ddd9c5691973c8", "size": "953", "binar...
<?php namespace ClosedReach\Services; use ClosedReach\User; use Validator; use Illuminate\Contracts\Auth\Registrar as RegistrarContract; class Registrar implements RegistrarContract { /** * Get a validator for an incoming registration request. * * @param array $data * @return \Illuminate\Contracts\Validat...
{ "content_hash": "3976d9bf690d138b6ab1dd6eddb29a0a", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 61, "avg_line_length": 21.794871794871796, "alnum_prop": 0.6611764705882353, "repo_name": "alexhinds/ClosedReach", "id": "9a720534d405fe3d644ef2c87fdc380fcaad1bb3", "size":...
for file in "$@" do chflags hidden "$file" done
{ "content_hash": "f4dd6c43f327ec679d3b2104e5baf7dd", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 26, "avg_line_length": 13, "alnum_prop": 0.6153846153846154, "repo_name": "cypher/dotfiles", "id": "68cba92e3e800bdbf6cbc98b0d3f511ee10be307", "size": "108", "binary": fal...
Using Spring from within a Play 2.x application =============================================== This is a simple application demonstrating how to integrate a Play 2.x application components with <a href="http://www.springsource.org/">Spring framework</a>. > Note that the same technique can be applied to any other dep...
{ "content_hash": "71fbbd44917a566837b0f38f8aa26b39", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 249, "avg_line_length": 27.226277372262775, "alnum_prop": 0.7257372654155496, "repo_name": "fmaturel/PlayTraining", "id": "e1eaf43279f286e387662eff3b713ad07f8c4375", "size...
HTTP Prompt =========== |PyPI| |Docs| |Build| |Coverage| |Discord| HTTP Prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting, built on HTTPie_ and prompt_toolkit_. |Asciinema| Links ----- * Home: https://http-prompt.com * Documentation: https://docs.http-prompt.com * Co...
{ "content_hash": "d6950f83ffd8563fdeafd737ec4c497d", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 100, "avg_line_length": 34.45, "alnum_prop": 0.7256894049346879, "repo_name": "eliangcs/http-prompt", "id": "452c02591a79fd5349ce69ac2dcc40e62b2244e7", "size": "1378", "b...
#include <stdio.h> using namespace System; template class LinkedList<int>; void testLinkedList(fallocHeap* heap) { fallocInit(heap); fallocContext* ctx = fallocCreateCtx(heap); // LinkedList<int> list; list.xtor(ctx); list.AddLast(5); list.AddLast(3); list.AddLast(1); list.AddLast(2); list...
{ "content_hash": "e1a74e6682278d507d3973b3b1622b1a", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 54, "avg_line_length": 18, "alnum_prop": 0.6455026455026455, "repo_name": "Grimace1975/gpustructs", "id": "69f7a2a52a0c6c8f1f2e7e7a01b8d627eed94bef", "size": "823", "bina...
package scrimp; import battlecode.common.RobotController; import scrimp.arrays.IntArray; import scrimp.arrays.IterableArray; import scrimp.bytecode.ByteCodeTest; import scrimp.bytecode.ControlFlow.Functions; import scrimp.bytecode.ControlFlow.IfElseVsSwitch; import scrimp.bytecode.ControlFlow.Loops; import scrimp.byte...
{ "content_hash": "5174bf21624f4a1648d1b128b6c5b987", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 78, "avg_line_length": 26.104477611940297, "alnum_prop": 0.5348770726129217, "repo_name": "bovard/scrimp", "id": "a779cb062175a90478c3fad9693d3f5f49059433", "size": "3498"...
import os import unittest from mock import Mock, create_autospec, patch from apache.aurora.executor.bin.thermos_executor_main import dump_runner_pex, initialize, proxy_main from apache.aurora.executor.common.path_detector import MesosPathDetector from apache.aurora.executor.thermos_task_runner import DefaultThermosTa...
{ "content_hash": "dfa1dc725f65703f1501106f81a10e2d", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 100, "avg_line_length": 40.94736842105263, "alnum_prop": 0.7377892030848329, "repo_name": "thinker0/aurora", "id": "5ad2999d2fbb05bb44fc4801df605b95f8351538", "size": "2104...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:pa...
{ "content_hash": "9edc5489cdae972abc06f3f5b1140fd6", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 74, "avg_line_length": 45.125, "alnum_prop": 0.7299168975069252, "repo_name": "firstbytegithub/MyULib", "id": "c793fd5f7ecf89f9f49d61f9ad4e0582f6f6c1ac", "size": "722", "...
<?php return [ /* |-------------------------------------------------------------------------- | Application Namespace |-------------------------------------------------------------------------- | | The current app namespace. This is used to automatically find commands | and events based on...
{ "content_hash": "db52be7a94ba1ee337750fa18f5acd53", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 79, "avg_line_length": 27.333333333333332, "alnum_prop": 0.30432372505543237, "repo_name": "ZzAntares/laravel-rest", "id": "bd0b54acf620ea1c5029862d6a6949ee42db427c", "size...
package io.mstream.trader.datafeed.handlers.api.stocks.names; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import io.mstream.trader.datafeed.stocks.Stock; import org.junit.Test; import ratpack.http.client.ReceivedResponse; import ratpack.test.embed.EmbeddedA...
{ "content_hash": "b6ba0d2895b16544be0b26babdd390ab", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 76, "avg_line_length": 31.852459016393443, "alnum_prop": 0.5687081832218219, "repo_name": "mstream-trader/data-feed", "id": "6eeb20588d319d47dd7dd5e44788cc4a25651730", "siz...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Dicom.Network { public class DicomCFindRequest : DicomRequest { public DicomCFindRequest(DicomDataset command) : base(command) { } public DicomCFindRequest(DicomQueryRetrieveLevel level, DicomPriority priority = Di...
{ "content_hash": "992b23ab183d25ac4bafe7a2979d78e4", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 208, "avg_line_length": 50.222972972972975, "alnum_prop": 0.7874344140992869, "repo_name": "vvboborykin/DicomStorage", "id": "bb78a959d34f5f82e7560546d12fe1f29d4c5981", "s...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "75b6c1516a1340a8c9154a303c654e82", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "75af61a8d2fb6df946b99d20db21f6d787288cd1", "size": "178...
checked="checked"
{ "content_hash": "94c0b95ebdb1327135fdaba43b97707d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 19, "avg_line_length": 19, "alnum_prop": 0.7368421052631579, "repo_name": "osalabs/osafw-php", "id": "ee60a2a41c9abe396a3a50b2bb546ef1cc699205", "size": "19", "binary": fa...
<?php namespace Zend\Feed\Writer\Renderer\Feed; use DOMDocument; use DOMElement; use Zend\Feed\Writer; use Zend\Feed\Writer\Renderer; /** */ class AtomSource extends AbstractAtom implements Renderer\RendererInterface { /** * Constructor * * @param Writer\Source $container ...
{ "content_hash": "498c2c34f999fc361c89eebf099dee26", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 77, "avg_line_length": 31.181818181818183, "alnum_prop": 0.5422740524781341, "repo_name": "wp-plugins/double-click", "id": "78c8dbb37e818bad01e8e75c3f3d05c044488242", "size...
/* <div id="test_div_parent" class="test_class"> <div id="test_div_child" class="test_class"> </div> </div> */ new Test.Unit.Runner({ testEngine: function() { this.assert(Prototype.Selector.engine); }, testSelect: function() { var elements = Prototype.Selector.select('.test_class'); this.assert...
{ "content_hash": "8c9cee2fa819ad57dedabd9420b38650", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 92, "avg_line_length": 30.3, "alnum_prop": 0.6785478547854785, "repo_name": "chjj/zest", "id": "19d29e76ba5fca5d5314c58285b5f6be985e626f", "size": "1515", "binary": false...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using Laziness; class TypeName { public StringBuilder X => _x.Value; private LazyMixin<StringBuilder> _x; } class A { } struct B { } class C { private A _a; pr...
{ "content_hash": "9ca8cea6835c5b4f33359b44b6dbd766", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 40, "avg_line_length": 17.44, "alnum_prop": 0.6651376146788991, "repo_name": "ufcpp/LazyMixin", "id": "2ce25c12bc87dbffaca51abe26693e21845361af", "size": "438", "binary":...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2015 Red Hat, Inc. and/or its affiliates and other contributors as indicated by the @author tags. 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 ...
{ "content_hash": "b104a59353e9c6f228dafa6b6ea7e151", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 115, "avg_line_length": 40.9, "alnum_prop": 0.7171964140179299, "repo_name": "panossot/hawkular", "id": "3f87f3441a27538bb4b8ac2d0f15379b2d9c0289", "size": "1227", "binar...
using System.IO; using System.Linq; namespace TioTests { public static class Utility { public static string GetAncestor(string path, int depth) { string result = path; for(int i=0;i<depth;i++) { result = Path.GetDirectoryName(result); ...
{ "content_hash": "d462468612654998e5336bc545f538e0", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 132, "avg_line_length": 29.54794520547945, "alnum_prop": 0.48400556328233657, "repo_name": "TryItOnline/TioTests", "id": "f395f2d06689a45058cbc91fefce5f91458df481", "size":...
<?php namespace Download\Admin\Settings; use Gcms\Gcms; use Gcms\Login; use Kotchasan\Html; use Kotchasan\Http\Request; use Kotchasan\Language; /** * module=download-settings * * @author Goragod Wiriya <admin@goragod.com> * * @since 1.0 */ class Controller extends \Gcms\Controller { /** * จัดการการตั...
{ "content_hash": "e92d62c4325d5d7d023ec5f2df20b36c", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 113, "avg_line_length": 31.1, "alnum_prop": 0.5423365487674169, "repo_name": "goragod/GCMS", "id": "10a5a69ee7c964c3d28fd1f3cfa568494f349ba7", "size": "2219", "binary": f...
/** * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> */ #ifndef SEMAPHORE_H #define SEMAPHORE_H #ifndef INC_FREERTOS_H #error "#include FreeRTOS.h" must appear in source files before "#include semphr.h" #endif #include "queue.h" typedef xQueueHandle xSemaphoreHandle; #...
{ "content_hash": "0701b540a362a0bf2ba2bf7da33c8139", "timestamp": "", "source": "github", "line_count": 663, "max_line_length": 188, "avg_line_length": 36.80392156862745, "alnum_prop": 0.6908323429367649, "repo_name": "femtoio/femto-usb-blink-example", "id": "dd37dd008a6b449b45dc95fbc214bc45c010e440"...
import { configure } from '@kadira/storybook' import '../src/styles/font.css'; import '../src/styles/app.css'; import '../src/styles/list.css'; import '../src/styles/item.css'; function loadStories() { require('../src/components/taskItem/TaskItem.story.js'), require('../src/components/taskList/TaskList.story.js'),...
{ "content_hash": "bb97ca648fb6c910028be1076a5c98cf", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 70, "avg_line_length": 36.0625, "alnum_prop": 0.7175043327556326, "repo_name": "meglkts/my_todo_react", "id": "cbc61fa3fb342cb227e6f8fab2b6c1df83cfc263", "size": "577", "...
(function(angular) { 'use strict'; angular .module('patterflash') .directive('pfChatRooms', pfChatRooms); function pfChatRooms() { return { restrict: 'E', templateUrl: 'views/pf-chat-rooms.html', }; } })(angular);
{ "content_hash": "86f7a0046b50fa0509e01a46275bd6a1", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 46, "avg_line_length": 16.866666666666667, "alnum_prop": 0.5968379446640316, "repo_name": "rdhammond/patterflash", "id": "aef1db0aa78ec0bcd03fd1f5404169ce4feca576", "size":...
<!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": "f556d3641beeb455a009d5cbf34d503b", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 274, "avg_line_length": 53.798449612403104, "alnum_prop": 0.6717579250720461, "repo_name": "v8-dox/v8-dox.github.io", "id": "e91ae91375e95ba08031ddbd2a7e162ad1642201", "si...
package build import ( "github.com/anywhy/medis/pkg/core/instance" "github.com/anywhy/medis/pkg/core/state" ) type Service interface { BuildApp(app state.AppDefinition) *instance.Instance }
{ "content_hash": "fba2f2c34ea63c770162f6af17e6cfba", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 53, "avg_line_length": 19.5, "alnum_prop": 0.7692307692307693, "repo_name": "anywhy/medis", "id": "271120d29da1a2c8b4359d348efeb7cd5dd1fd8e", "size": "195", "binary": fal...
package com.swfarm.biz.chain.web; import java.util.ArrayList; import java.util.List; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang....
{ "content_hash": "42d68a961af1edd87673bb7454635569", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 113, "avg_line_length": 45.04761904761905, "alnum_prop": 0.7814482029598309, "repo_name": "zhangqiang110/my4j", "id": "b6b5db55e15a2958885252592e8ed977f09abdf8", "size": "3...
package com.nh.cache.db; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import com.nh.cache.base.NhCacheConst; import com.nh.cache.base.NhCacheObject; import org.springframework.jdbc.core.JdbcTemplate; ...
{ "content_hash": "4898e9db52e0b4365a5e769e54c76b67", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 92, "avg_line_length": 28.58823529411765, "alnum_prop": 0.7313345091122869, "repo_name": "jeffreyning/nhcache", "id": "7838f758352f580e826469438d4eb0b56a7bc92b", "size": "...
#pragma once #include "Defines.h" #include <stdint.h> #include <limits> #include <vector> #include <map> // TODO: Reevaluate variable types and names; redesign some to make the code more consistent and reduce problems using ItemC = uint32_t; using Support = uint32_t; using ItemID = uint64_t; using Transaction = ...
{ "content_hash": "3654f121a542fd19519d24b82bc9c33f", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 112, "avg_line_length": 27.727272727272727, "alnum_prop": 0.7366120218579235, "repo_name": "mdenker/elephant", "id": "0f28920d42a7a657e929059337f70be65d174c70", "size": "21...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "5dd45323c227db4eaf484095f3e7a95e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "bb4a7fd73a929d26ce989d4dad0a755cfcf1c657", "size": "18...