text stringlengths 2 1.04M | meta dict |
|---|---|
title: "Hardware requirements"
linkTitle: "Hardware Requirements"
description: "Planning a Sensu deployment? Read this guide to learn about the hardware and networking requirements for running Sensu backends and agents on your organization's infrastructure."
weight: 5
version: "5.9"
product: "Sensu Go"
platformContent:... | {
"content_hash": "ddff008b40c394405a91bd47f558af61",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 192,
"avg_line_length": 37.074074074074076,
"alnum_prop": 0.792957042957043,
"repo_name": "sensu/sensu-docs",
"id": "f5d0144689d388ca1cfa738cfdf956da2ccd4884",
"size": "40... |
<!--
#%L
GwtBootstrap3
%%
Copyright (C) 2013 - 2014 GwtBootstrap3
%%
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 r... | {
"content_hash": "e26b73f3f2e640de62b5b73be8642c92",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 84,
"avg_line_length": 32.69230769230769,
"alnum_prop": 0.7223529411764706,
"repo_name": "Sage-Bionetworks/gwtbootstrap3-extras",
"id": "f2fbe6010214d40c72f6f62249bb789b512aa... |
import sys
try:
import boto
except ImportError:
sys.stderr.write('boto required\n')
raise
from boto.exception import BotoServerError
from distutils.version import LooseVersion
import time
import os
class aws(object):
def __init__(self, delay=0, maxdelay=16):
self.rate_limit_delay = delay
... | {
"content_hash": "2e98bcb10fb6d35158fb9be0b068cb40",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 74,
"avg_line_length": 35.98,
"alnum_prop": 0.5113952195664258,
"repo_name": "WrathOfChris/billow",
"id": "d1bf7801feaaad57405ee717b0874ac67e76e769",
"size": "3598",
"bi... |
frappe.upload = {
make: function(opts) {
if(!opts.args) opts.args = {};
var $upload = $(frappe.render_template("upload", {opts:opts})).appendTo(opts.parent);
var $file_input = $upload.find(".input-upload-file");
// bind pseudo browse button
$upload.find(".btn-browse").on("click",
function() { $file_input... | {
"content_hash": "0619a89c9a948db42beab2e19a706e44",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 104,
"avg_line_length": 27.514450867052023,
"alnum_prop": 0.5945378151260504,
"repo_name": "jevonearth/frappe",
"id": "2aa8bef8d1152cf813288b1de96f28b24da34260",
"size": "... |
layout: page
author: Wikipedia Contributors
title: ECC Backdoors
link: https://en.wikipedia.org/wiki/Elliptic-curve_cryptography#Backdoors
date: 1111-11-11
lesson: 16
---
| {
"content_hash": "f6bbd5dbc4e5c29a90c30ec8b8e9a3f5",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 73,
"avg_line_length": 24.428571428571427,
"alnum_prop": 0.7894736842105263,
"repo_name": "gabridome/gabridome.github.io",
"id": "c32630faf144b8121d1bc01e52935fa0f2b332e5",
... |
using content::BrowserThread;
using extensions::BluetoothApiSocket;
using extensions::api::bluetooth_socket::ListenOptions;
using extensions::api::bluetooth_socket::SocketInfo;
using extensions::api::bluetooth_socket::SocketProperties;
namespace {
const char kDeviceNotFoundError[] = "Device not found";
const char kIn... | {
"content_hash": "90a141f7da68f11335fe7eba0b2ed8be",
"timestamp": "",
"source": "github",
"line_count": 610,
"max_line_length": 80,
"avg_line_length": 32.014754098360655,
"alnum_prop": 0.7286087357263556,
"repo_name": "chromium2014/src",
"id": "263cd99c61b0edaeddc908ba42953dc91bcd7ea4",
"size": "20... |
var http = require('http');
var url = require('url');
function start(route) {
function onRequest(request, response) {
var pathname = url.parse(request.url).pathname;
console.log('Request for ' + pathname + ' received.');
route(pathname);
response.writeHead(200, {'Content-Type' : 'te... | {
"content_hash": "4bbf4c72390255f0958908dd740db11a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 65,
"avg_line_length": 30.235294117647058,
"alnum_prop": 0.6264591439688716,
"repo_name": "gaodacheng/bitcode",
"id": "18589fd9b88ac618cdf2df92d3eec31adc7f7b24",
"size": "5... |
package com.xym.common.factory.presenter;
import android.support.v7.util.DiffUtil;
import com.xym.common.recycler.RecyclerAdapter;
import net.qiujuer.genius.kit.handler.Run;
import net.qiujuer.genius.kit.handler.runable.Action;
import java.util.List;
/**
* 对RecyclerView进行的一个简单的Presenter封装
*
*/
public class Base... | {
"content_hash": "2941a44336d9aef697612459abbdb468",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 109,
"avg_line_length": 26.592105263157894,
"alnum_prop": 0.595249876298862,
"repo_name": "FZZFVII/pipe",
"id": "baa47d6f8d7cc3f42d028be30d102aaf1a89d461",
"size": "2273",
... |
'use strict';
angular.module('circleCiApp', [
'circleCiApp.auth',
'circleCiApp.admin',
'circleCiApp.constants',
'ngCookies',
'ngResource',
'ngSanitize',
'btford.socket-io',
'ui.router',
'ui.bootstrap',
'validation.match'
])
.config(function($urlRouterProvider, $locationProvider) {
$urlRouterP... | {
"content_hash": "3d8bbf2035cc17c36fb425dcefeb3f4b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 59,
"avg_line_length": 19.85,
"alnum_prop": 0.6624685138539043,
"repo_name": "rafagomes/poc-circle-ci",
"id": "c4f10132d3867f1a1c2a9f611e13f7bb14201bae",
"size": "397",
"... |
package acceptance_tests
/*
* File Generated by enaml generator
* !!! Please do not edit this file !!!
*/
type AcceptanceTestsJob struct {
/*AcceptanceTests - Descr: Default Timeout Default: <nil>
*/
AcceptanceTests *AcceptanceTests `yaml:"acceptance_tests,omitempty"`
} | {
"content_hash": "e37df64efdbfc85866efd35e0cc082bf",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 69,
"avg_line_length": 22.916666666666668,
"alnum_prop": 0.7418181818181818,
"repo_name": "enaml-ops/ert-plugin",
"id": "43b995b27c47d698281de2a3458f0b3b3bb0f9ad",
"size": ... |
package io.joshworks.snappy.extensions.dashboard;
import java.util.Collection;
import java.util.concurrent.ConcurrentLinkedQueue;
/**
* Created by Josh Gontijo on 5/14/17.
*/
public class RingBuffer<T> extends ConcurrentLinkedQueue<T> {
private int pos = 0;
private final int size;
private RingBuffer(i... | {
"content_hash": "9dbee1b72065c403b7bc0d3ad0ec3256",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 94,
"avg_line_length": 21.097826086956523,
"alnum_prop": 0.5692941782586296,
"repo_name": "josueeduardo/snappy",
"id": "2442df12a5d37f11a475f300f762d02a20a7d0e0",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ebebeb"
android:orientation="vertical">
<RelativeLayout
android:id="@+id/title"
... | {
"content_hash": "88ce087121b7342d162d02d170c5ed82",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 72,
"avg_line_length": 39.42982456140351,
"alnum_prop": 0.5205784204671857,
"repo_name": "cowthan/Ayo2022",
"id": "4ea18fd9840a8f70285f5274a95c731d4e80cc2f",
"size": "9044... |
#region License
#endregion
#if REMOTING
using Quartz.Impl.Matchers;
namespace Quartz.Examples.Example12
{
/// <summary>
/// This example is a client program that will remotely
/// talk to the scheduler to schedule a job. In this
/// example, we will need to use the JDBC Job Store. The
/// c... | {
"content_hash": "42d3c60674d02831f78db588b922d88d",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 89,
"avg_line_length": 30.714285714285715,
"alnum_prop": 0.5710594315245479,
"repo_name": "sean-gilliam/quartznet",
"id": "d6e493e44ab3e03657e92697a1162305cf77ca9d",
"size"... |
class AddUrlToNewsItem < ActiveRecord::Migration
def change
add_column :news_items, :url, :string
end
end
| {
"content_hash": "17d5983b55504a24e8dc6220352bb9ac",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 48,
"avg_line_length": 22.8,
"alnum_prop": 0.7368421052631579,
"repo_name": "madetech/made-news-engine",
"id": "a3c36eb497a071ee0d1cc696f7e58a29c1532d60",
"size": "114",
"... |
<fortis>
<configurationProvider type = "Fortis.Configuration.XmlConfigurationProvider, Fortis" ></configurationProvider>
<models>
<model name="Fortis.Model" assembly="Fortis.Model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<model name="Project.Model" assembly="Project.Model, Version=1.0.0.0, Cul... | {
"content_hash": "9d214e831c1e6fa38dbed0ca37a07764",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 112,
"avg_line_length": 67.05714285714286,
"alnum_prop": 0.7533020877716233,
"repo_name": "Fortis-Collection/fortis",
"id": "e76ce1ec6d9900e158d0ac3816c5c17908cf75d5",
"siz... |
<!-- Copyright 2020 Google LLC
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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | {
"content_hash": "d0dc6be060a8771b2a15acc6784442ef",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 149,
"avg_line_length": 44.88235294117647,
"alnum_prop": 0.6135321100917431,
"repo_name": "googleinterns/step79-2020",
"id": "71b6b1f0e348498163a6c806b10776ff26e72775",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c9abc80842cbf086ab3697460d01d3bc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "644b72495adbfaacf7a80294f7d10a8b54f04a2e",
"size": "174... |
// Because AdSense and DoubleClick are both operated by Google and their A4A
// implementations share some behavior in common, part of the logic for this
// implementation is located in the ads/google/a4a directory rather than here.
// Most other ad networks will want to put their A4A code entirely in the
// extensio... | {
"content_hash": "cb38295ee34bdaad966db192c43a24f1",
"timestamp": "",
"source": "github",
"line_count": 468,
"max_line_length": 80,
"avg_line_length": 33.16880341880342,
"alnum_prop": 0.6396959350640984,
"repo_name": "gumgum/amphtml",
"id": "a5f61f8b1bf5f8fb4c23f24a011a892ba6cb05fc",
"size": "16150... |
#region File header
#endregion
#region Using directives
using System.IO;
#endregion
namespace CG.IO
{
/// <summary>
/// This class is a stream backed by a temporary disk file. The disk file
/// is automatically deleted when the stream is disposed.
/// </summary>
public class TempFileStream : ... | {
"content_hash": "9899361aa02094b563fd771d48204da9",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 93,
"avg_line_length": 32.77777777777778,
"alnum_prop": 0.44384180790960454,
"repo_name": "CodeGator/CG.Core",
"id": "4bc06ca976b0b38be49de74924fb671776462bd9",
"size": "1... |
hs.canvas.turtle
================
An experimental module to add a turtle graphics module to `hs.canvas` in Hammerspoon.
This module creates a "canvas" that responds to turtle graphics like commands similar to those found in the Logo language, specifically [BERKELEY LOGO 6.1](https://people.eecs.berkeley.edu/~bh/docs/... | {
"content_hash": "4ba5b27177d80ad8f6cfc7eb0fb2e18c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 730,
"avg_line_length": 75.29166666666667,
"alnum_prop": 0.7775318206972883,
"repo_name": "asmagill/hammerspoon_asm",
"id": "107dd701536e75a6c42ab9467444ef50ce53cf1e",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico">
<link rel="stylesheet" type="text/css" href="../css/font-awesome-4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="../css/fonts.css">
<lin... | {
"content_hash": "bd58bd5491a3be8da3c510c01e19afcf",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 140,
"avg_line_length": 36.43975903614458,
"alnum_prop": 0.5483551000165316,
"repo_name": "grunfeld/grunfeld.github.io",
"id": "94b0483f2080873dc509c7c4cc4a1def5b1c8acb",
... |
<?php
namespace Aego\OAuth2\Client\Provider;
use League\OAuth2\Client\Provider\AbstractProvider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
use League\OAuth2\Client\Token\AccessToken;
use Psr\Http\Message\ResponseInterface;
class Mailru extends AbstractProvider
{
/**
* {@inheritdo... | {
"content_hash": "5aba91e85daaa63ef15b5ba1c2c7d1b6",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 114,
"avg_line_length": 26.584615384615386,
"alnum_prop": 0.6076388888888888,
"repo_name": "rakeev/oauth2-mailru",
"id": "8c7b808f48c2e45075914199fc3dfdd6f34ebd77",
"size":... |
<?php
namespace Controllers;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Models\User;
class DefaultController
{
private $app;
/**
* Constructor
*/
public function __construct($app)
{
$this->app = $app;
}
/**
* Examp... | {
"content_hash": "785d6b6a4b79bb66fdc1a5384f340a5f",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 70,
"avg_line_length": 19.114285714285714,
"alnum_prop": 0.5919282511210763,
"repo_name": "wellsjo/silex-boilerplate",
"id": "4dbd4725449a8c9d085ef77bfe1c82aad9f251f1",
"si... |
class Worochi
# Current version of the gem
VERSION = '0.0.18'
end | {
"content_hash": "c5cb7a877bf0edf2f7d3bde5abd49779",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 30,
"avg_line_length": 17.25,
"alnum_prop": 0.6956521739130435,
"repo_name": "Pixelapse/worochi",
"id": "e64454e44aa2ea86631c8cca98dce674fd01f7c6",
"size": "69",
"binary":... |
id: a103376db3ba46b2d50db289
title: Spinal Tap Case
isRequired: true
challengeType: 5
videoUrl: ''
localeTitle: Caja del grifo espinal
---
## Description
<section id="description"> Convertir una cadena a la caja espinal. El caso de la columna vertebral está compuesto por guiones en minúsculas. Recuerda usar <a href="h... | {
"content_hash": "7792a06ce29c650131da6e5cf2703696",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 365,
"avg_line_length": 41.09375,
"alnum_prop": 0.7121673003802281,
"repo_name": "jonathanihm/freeCodeCamp",
"id": "739409b5a89f5401784e3636b0e66beb0c66cd21",
"size": "2639... |
---
uid: SolidEdgeAssembly.StructuralFrame.GetFramePath(System.Int32@,System.Array@)
summary:
remarks:
syntax:
parameters:
- id: NumPathSegments
description: Specifies the number of objects in the PathSegments array.
- id: PathSegments
description: Specifies the segments for the frame path.
-... | {
"content_hash": "3559a7b8b95f3f06d7c7bdcfb6662d42",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 80,
"avg_line_length": 29.363636363636363,
"alnum_prop": 0.7306501547987616,
"repo_name": "SolidEdgeCommunity/docs",
"id": "1c47548a95140abbfa593eeea13d68776e9969c2",
"size... |
function searchBusStop(keyword) {
var sieve = function(keyword) {
var helper = function(bs) {
if (bs instanceof BusStop) {
var re = new RegExp(keyword);
if (re.test(bs.name)) {
console.log("Match! " + bs.name + "\n")
return true;
} else {
return false;
}
} else {
return... | {
"content_hash": "a30112c139590a99c002e071aa4f9c37",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 45,
"avg_line_length": 19.12,
"alnum_prop": 0.5857740585774058,
"repo_name": "andhieka/Transjakarta",
"id": "2162d23764a4b91796813388fdf50052e3d446a3",
"size": "478",
"bi... |
FROM {{ DOCKER_PREFIX }}/{{ DOCKER_NAME }}-base
CMD ["spark-class", "org.apache.spark.deploy.master.Master"]
| {
"content_hash": "0c3f84e7478478069cd11b3e0c7903cc",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 60,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.6818181818181818,
"repo_name": "zero323/spark-in-a-box",
"id": "1c24f30bb171455663793426d056af4f8e21c4e8",
"size":... |
TEST(Tarjan, verts_0_edges_0) {
std::vector<std::string> vertices;
std::vector<std::vector<size_t>> expected{};
auto const actual = tarjan(0, [](size_t const &) { return std::vector<size_t>(); });
ASSERT_EQ(expected, actual);
}
TEST(Tarjan, verts_2_edges_1) {
std::vector<std::string> vertices;
vertices.emplace_b... | {
"content_hash": "02537e74b2595f760340e2893b39cd50",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 85,
"avg_line_length": 29.596491228070175,
"alnum_prop": 0.6229994072317724,
"repo_name": "coder0xff/Plange",
"id": "ae9b621dc56e7bf2fee1108573d3ae50c0e158f4",
"size": "173... |
var EventEmitter = require("eventemitter3"),
inherits = require("./util/inherits"),
_isFunction = require("lodash-node/modern/lang/isFunction"),
_isObject = require("lodash-node/modern/lang/isObject");
function Store(dispatcher) {
this.dispatcher = dispatcher;
this.__actions__ = {};
EventEmitter.call... | {
"content_hash": "b453c9fa4f5509d8b78a5f88d6c65221",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 91,
"avg_line_length": 27.428571428571427,
"alnum_prop": 0.6182291666666667,
"repo_name": "niole/NewsCharts",
"id": "00f23c5799de114f0aa0126d541d2a93cbcc5f7c",
"size": "192... |
from anormbookmarker.test.test_enviroment import *
with self_contained_session(CONFIG.database_timestamp) as session:
BASE.metadata.create_all(session.bind)
# make a tag to make an alias to
eucalyptus_deglupta = Tag.construct(session=session, tag='Eucalyptus deglupta')
session.commit()
# make a ta... | {
"content_hash": "2ea5a718cc1551f0facf66cb08e5ba71",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 107,
"avg_line_length": 41.78260869565217,
"alnum_prop": 0.6612903225806451,
"repo_name": "jakeogh/anormbookmarker",
"id": "7887298ca97402cbb95b98bdf2a7b9cf66dc2bc1",
"size... |
/**
* \file AnnGameObject.hpp
* \brief Game Object class
* \author A. Brainville (Ybalrid)
*/
#pragma once
#include "systemMacro.h"
#include <string>
#include <BtOgrePG.h>
//Annwvyn
#include "AnnTypes.h"
#include "AnnAbstractMovable.hpp"
#pragma warning(default : 4996)
namespace Annwvyn
{
class AnnDllExport An... | {
"content_hash": "34e4dfe65a46f0a1a65d9fd1794c7ec5",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 138,
"avg_line_length": 31.755555555555556,
"alnum_prop": 0.7234662934452998,
"repo_name": "Ybalrid/Annwvyn",
"id": "65c4c6e33aef9e9edc07deb7d1ded4155812e30d",
"size": "85... |
package headfirst.factory.pizzafm;
public class ChicagoStylePepperoniPizza extends Pizza {
public ChicagoStylePepperoniPizza() {
name = "Chicago Style Pepperoni Pizza";
dough = "Extra Thick Crust Dough";
sauce = "Plum Tomato Sauce";
toppings.add("Shredded Mozzarella Cheese");
toppings.add("Black Olives");
... | {
"content_hash": "953032144486442e55e898b01222ba8b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 61,
"avg_line_length": 26.105263157894736,
"alnum_prop": 0.7258064516129032,
"repo_name": "ljaljushkin/PatternPractise",
"id": "df8c529af9fe07d1961bdb5480c6d63aa44f6106",
"... |
Arduino Play
| {
"content_hash": "5411d6feece85df651eb3160e956f8bc",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 12,
"avg_line_length": 7,
"alnum_prop": 0.7857142857142857,
"repo_name": "cthaeler/Arduino_Projects",
"id": "20e13961d2c889ed3fe8ee5481d304bcaafcdaf5",
"size": "33",
"bina... |
package jp.fukushima.namie.town.dojo;
import org.apache.cordova.CordovaActivity;
import android.os.Bundle;
import android.os.Handler;
public class NamieTabletDojo extends CordovaActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Set ... | {
"content_hash": "b23edf4a5d0e6d1c7eecff5b14c9e174",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 81,
"avg_line_length": 27,
"alnum_prop": 0.6157407407407407,
"repo_name": "codefornamie/namie-tablet-html5",
"id": "f4225b65f274327b34299d2cc022158ddfcc0933",
"size": "1636... |
package org.wso2.carbon.apimgt.keymgt;
import org.wso2.carbon.apimgt.keymgt.model.SubscriptionDataStore;
import org.wso2.carbon.apimgt.keymgt.model.impl.SubscriptionDataStoreImpl;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
/*
* This class holds tenant wise subscription data stores
* */
p... | {
"content_hash": "bf4c1467a56ba8b6e6bd932b38de7896",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 87,
"avg_line_length": 29.346153846153847,
"alnum_prop": 0.7326343381389253,
"repo_name": "fazlan-nazeem/carbon-apimgt",
"id": "3fc78949ac41dcc768ba92e546510a457445f9ac",
"... |
var mongoose = require('mongoose');
var bcrypt = require('bcrypt-nodejs');
var Schema = mongoose.Schema;
// define the schema for our user model
var userSchema = new Schema({
local: {
email: String,
password: String,
}
});
// generating a hash
userSchema.methods.generateHash = function(password) {
return bcryp... | {
"content_hash": "d8a75860692f9ee2e3223e9ad091f82f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 63,
"avg_line_length": 28.5,
"alnum_prop": 0.7432216905901117,
"repo_name": "npkumar/conference-spa",
"id": "4a246179b5d2a8da05f4280a457891310cd39e25",
"size": "657",
"bi... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>stdpp: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "ce1b0eb44ad988804ce0fc2c0370f85a",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 159,
"avg_line_length": 43.67231638418079,
"alnum_prop": 0.5664941785252264,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "7a40c199bdf11ed2cf4c9a9b06fa74ee9ced2829",
... |
module Teamwork
module ApplicationHelper
def self.top_nav_links
[
{url: Teamwork::Engine.routes.url_helpers.root_path(locale: ::I18n.locale), name:I18n.t('teamwork.titles.home')},
]
end
end
end
| {
"content_hash": "923dcd0bcb625ad76814f524013dee34",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 123,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6491228070175439,
"repo_name": "itpkg/teamwork",
"id": "e514f08f992f6ab4397b14b53695c73798a52b5c",
"size": "228",... |
using UnityEngine;
using System.Collections;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace UnitySampleAssets.Utility
{
public class WaypointCircuit : MonoBehaviour
{
public WaypointList waypointList = new WaypointList();
[SerializeField] private bool smoothRoute = true;
... | {
"content_hash": "3274d98bfddd122dc0730f95ba8388d8",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 113,
"avg_line_length": 33.7911227154047,
"alnum_prop": 0.4480760315252666,
"repo_name": "scarlethammergames/showcase",
"id": "deabd5af030340a29b74ad604388b2f33e4ac744",
"... |
Broadlink RM2 network protocol
==============================
Encryption
----------
Packets include AES-based encryption in CBC mode. The initial key is 0x09, 0x76, 0x28, 0x34, 0x3f, 0xe9, 0x9e, 0x23, 0x76, 0x5c, 0x15, 0x13, 0xac, 0xcf, 0x8b, 0x02. The IV is 0x56, 0x2e, 0x17, 0x99, 0x6d, 0x09, 0x3d, 0x28, 0xdd, 0xb3,... | {
"content_hash": "24fb5340922a8fb96021759adcd87b60",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 270,
"avg_line_length": 33.416666666666664,
"alnum_prop": 0.7135103417925773,
"repo_name": "mjg59/python-broadlink",
"id": "e2825640727c0846de252c2f0509f6a2975410de",
"siz... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Si... | {
"content_hash": "7b1965dc640141c8289c16ed93045bb8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.861111111111114,
"alnum_prop": 0.7455325232308792,
"repo_name": "jsmug/Transit",
"id": "546bf5a1fadb1a8c260123e3c660491595f1832f",
"size": "1402",... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<resourceExtensions />
<wildcardResourcePatterns>
<entry name="!?*.java" />
<entry name="!?*.form" />
<entry name="!?*.class" />
<entry name="!?*.groovy" />
<entry name="!?*.scal... | {
"content_hash": "de951978d93697c4252ca5823d7ae27c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 97,
"avg_line_length": 37.4375,
"alnum_prop": 0.6151919866444073,
"repo_name": "SlavoKrupa/Notifications",
"id": "43d4da16be21d80f4e168a5f764b7d6d03096440",
"size": "1198",... |
from urllib import request
from multiprocessing import Process
timeout = 60
import time
start_time= time.time()
print('start_time',start_time)
URLS = ['http://www.foxnews.com/',
'http://www.cnn.com/',
'http://europe.wsj.com/',
'http://www.foxnews.com/',
'http://www.cnn.com/',
'... | {
"content_hash": "ac842a55a6d961f54198e076f3eb3c94",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 58,
"avg_line_length": 22.813953488372093,
"alnum_prop": 0.5688073394495413,
"repo_name": "MortalViews/python-notes",
"id": "2d1370213b8c13f00ce7db5417d203ee33ddb78b",
"siz... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "9b99ebd5ccfbafe5f6d3327961c68de4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "e0c49754f046cdff462c7e4b76a877d8ab6f0b8f",
"size": "190... |
using System.Reflection;
// These "special" version numbers are found and replaced at build time.
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.1.1.1")]
[assembly: AssemblyInformationalVersion("1.0.0")]
| {
"content_hash": "533b68b1eac8f0fd778f5186be9a883c",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 72,
"avg_line_length": 38.5,
"alnum_prop": 0.7532467532467533,
"repo_name": "serilog-trace-listener/SerilogTraceListener",
"id": "22492404535d3d079513dc8cb13ebe7ae4ea27d7",
... |
/* Get Programming with JavaScript
* Listing 6.09
* Getting a string for a player’s information
*/
var getPlayerName;
var getPlayerHealth;
var getPlayerPlace;
var getPlayerInfo;
var getBorder;
getPlayerName = function (playerName) {
return playerName;
};
getPlayerHealth = function (playerName, playerHealth) {... | {
"content_hash": "98a1bcb82dd13be94eb1a2d2695ff3c5",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 67,
"avg_line_length": 22.64406779661017,
"alnum_prop": 0.6729041916167665,
"repo_name": "jrlarsen/AdventuresInCode",
"id": "fa938bee2071200dcdfcba3ef71323e514893a62",
"siz... |
from __future__ import unicode_literals
from .base import BaseTest
from django.utils import timezone
from stored_messages import mark_read, add_message_for, broadcast_message, mark_all_read
from stored_messages.models import Inbox, MessageArchive
from stored_messages.compat import get_user_model
from stored_messages.... | {
"content_hash": "8945b48e656d116895d465af1609a725",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 111,
"avg_line_length": 52.84782608695652,
"alnum_prop": 0.6859317153434801,
"repo_name": "nthall/django-stored-messages",
"id": "da4f0760a349dfa1a21d7da401f3c30da8315c95",
... |
package com.intellij.openapi.externalSystem.service.execution;
import com.intellij.execution.Location;
import com.intellij.execution.RunManagerEx;
import com.intellij.execution.RunnerAndConfigurationSettings;
import com.intellij.execution.actions.ConfigurationContext;
import com.intellij.execution.configurations.RunC... | {
"content_hash": "b2707eaba5cb294e62d4792fef97a4d5",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 142,
"avg_line_length": 41.32222222222222,
"alnum_prop": 0.7714439365420812,
"repo_name": "consulo/consulo",
"id": "e946ed08f7fd058dfbf83cc3848e2655863d22b4",
"size": "4319... |
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<!-- begin SEO -->
<title>Philadelphia Beerlytics, Part One - williamstome</title>
<meta property="og:locale" content="en-US">
<meta property="og:site_name" content="williamstome">
<meta property="og:title" content... | {
"content_hash": "7c833d865c1e7ceb7ff016a62e361883",
"timestamp": "",
"source": "github",
"line_count": 1510,
"max_line_length": 295,
"avg_line_length": 29.36158940397351,
"alnum_prop": 0.5976632984482136,
"repo_name": "williamstome/williamstome.github.io",
"id": "e6d5872c8e13aa445a9c8eb6bfc1b7f49be5... |
Library jars go here
- *.jar
- *-javadoc.jar
- *-sources.jar | {
"content_hash": "89df1b6da22db8fc03d853e71f0b9bf9",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 20,
"avg_line_length": 15,
"alnum_prop": 0.6666666666666666,
"repo_name": "IamWaffle/CryptoWatch",
"id": "20808278edb34e8d2bad16d81cf8812fc0f51b50",
"size": "60",
"binary"... |
[Getting Started: Building a Chrome Extension](https://developer.chrome.com/extensions/getstarted)
* [Hello World](helloworld.md)
* [Budget Manager](budget_manager.md) | {
"content_hash": "77ee852a67180314ec229d00d9442b6a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 98,
"avg_line_length": 42,
"alnum_prop": 0.7797619047619048,
"repo_name": "lechuckroh/devdocs",
"id": "4cf484606380cfc6e7ee47ab41e593c4925bc898",
"size": "198",
"binary": ... |
.class public interface abstract Lcom/android/camera/ui/StrangerPickClearContainer$PickClearListener;
.super Ljava/lang/Object;
.source "StrangerPickClearContainer.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/camera/ui/StrangerPickClearContainer;
.end annotation
... | {
"content_hash": "07c785a39796968593a1aa40de4bf3a8",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 101,
"avg_line_length": 24.392857142857142,
"alnum_prop": 0.808199121522694,
"repo_name": "baidurom/devices-Coolpad8720L",
"id": "df7f4cf23958fbb2c60daf1b28d35f199e265643",
... |
package controllers
import neo4j.models.user.UserRole
import neo4j.models.require.{OtherEffort, Requirement, Project}
import neo4j.services.Neo4JServiceProvider
import play.api.data.Form
import play.api.data.Forms._
import scala.collection.JavaConversions._
import org.apache.commons.lang.StringUtils
import neo4j.repo... | {
"content_hash": "d0500e2d8573e934321f5d0e34fda941",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 121,
"avg_line_length": 38.904347826086955,
"alnum_prop": 0.672552525704068,
"repo_name": "unterstein/requireweb",
"id": "1c27565b2dbd3e37a51cc4511cd5992b789fde3f",
"size"... |
package org.apache.druid.indexing.kafka.supervisor;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import com.google.c... | {
"content_hash": "00c62ba4889aaa8b75aca7235edfab27",
"timestamp": "",
"source": "github",
"line_count": 4143,
"max_line_length": 125,
"avg_line_length": 40.452087859039345,
"alnum_prop": 0.6985017273991158,
"repo_name": "druid-io/druid",
"id": "8744b9d45ebeafbd3e0189cf8114ceb4710ecc1a",
"size": "16... |
package io.getquill.context.sql.util
object StringOps {
implicit class StringOpsExt(str: String) {
def collapseSpace: String =
str.stripMargin.replaceAll("\\s+", " ").trim
}
}
| {
"content_hash": "fc8082f776cb552a91268696ae714467",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 50,
"avg_line_length": 21.333333333333332,
"alnum_prop": 0.6822916666666666,
"repo_name": "getquill/quill",
"id": "e92927cb08bb30ff7058f694bf4de51855a1b663",
"size": "192",
... |
package com.ctrip.hermes.core.transport.endpoint;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.timeout.IdleState;
import io.netty.handler.timeout.IdleStateEvent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.ctrip.hermes.core.transport.command.processor.CommandProcesso... | {
"content_hash": "5e8bf3986408b0e39664485fed6ebebe",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 106,
"avg_line_length": 35.01923076923077,
"alnum_prop": 0.7880285557386052,
"repo_name": "Tony-Zhang03/hermes",
"id": "fbdedcefc10970439c7155866b3e08301bb28333",
"size": "... |
package java.lang;
/**
* The <code>Compiler</code> class is a placeholder for a JIT compiler
* implementation, and does nothing unless there is such a compiler.
*
* <p>The system property <code>java.compiler</code> may contain the name
* of a library to load with <code>System.loadLibrary</code> when the
* vir... | {
"content_hash": "c438ef6330b8587cd7b0baada646a4cd",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 75,
"avg_line_length": 28.58695652173913,
"alnum_prop": 0.691254752851711,
"repo_name": "shaotuanchen/sunflower_exp",
"id": "56fb951bbd9c2fdf70a302578f4dd7f2aa75f8ca",
"siz... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="stylesheets/bootstrap.min.css" type="text/css" media="screen" charset="utf-8">
<link rel="stylesheet" href="stylesheets/bootstrap-theme.min.css" type="text/css" media="screen" charset="utf-8">
... | {
"content_hash": "5da6872db87392adf10c8fe2971a16c1",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 117,
"avg_line_length": 33.825581395348834,
"alnum_prop": 0.5864558267445857,
"repo_name": "tarkanlar/clappr",
"id": "83e42814aabec3e3558a498e2497df756f5e349f",
"size": "29... |
package com.example.gungde.imk_m3.api;
import com.example.gungde.imk_m3.BuildConfig;
import com.example.gungde.imk_m3.model.Article;
import java.util.List;
import retrofit2.Call;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
import retrofit2.http.GET;
import retrofit2.http.Query;
... | {
"content_hash": "81b80978c200b458d7a6d7419bd95db9",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 63,
"avg_line_length": 21.5,
"alnum_prop": 0.6991279069767442,
"repo_name": "gungdeaditya/Kulturistik",
"id": "e17d43ae8ded43edf9fa657fec0e3e3c6f8af1f5",
"size": "688",
"... |
require 'test_helper'
module TalentWizard
class DemoControllerTest < ActionController::TestCase
# test "the truth" do
# assert true
# end
end
end
| {
"content_hash": "91fe74946b8e21f0818ad5461ab4c64f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 55,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.696969696969697,
"repo_name": "leadbaxter/talent_wizard",
"id": "2a560a3aa86d945b0b536aaf642c56d6aeea8409",
"size"... |
using System;
using System.Collections.Generic;
using FlintSharp.Behaviours;
using FlintSharp.Activities;
using FlintSharp.Counters;
using FlintSharp.Easing;
using FlintSharp.Emitters;
using FlintSharp.EnergyEasing;
using FlintSharp.Initializers;
using FlintSharp.Particles;
using FlintSharp.Zones;
na... | {
"content_hash": "e9c40638be0a727636076a710f5cacda",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 124,
"avg_line_length": 33.590673575129536,
"alnum_prop": 0.49899737775721115,
"repo_name": "ebifrier/Ragnarok",
"id": "af86702995e951cd53c1454c57092dc8aab275bd",
"size": ... |
/**
*
Package: MAG - VistA Imaging
WARNING: Per VHA Directive 2004-038, this routine should not be modified.
Date Created: Jun 30, 2011
Site Name: Washington OI Field Office, Silver Spring, MD
Developer: VHAISWWERFEJ
Description:
;; +------------------------------------------------------------... | {
"content_hash": "24ecc1e99aafea8b3179ea76bf353ea6",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 81,
"avg_line_length": 29.53731343283582,
"alnum_prop": 0.6407276402223345,
"repo_name": "VHAINNOVATIONS/Telepathology",
"id": "f785fb97069dbc93753081f4538fd8f15ff8fd35",
"... |
<?php
namespace Smalot\PdfParser\Tests\Units\Element;
use mageekguy\atoum;
use Smalot\PdfParser\Document;
use Smalot\PdfParser\Header;
use Smalot\PdfParser\Page;
/**
* Class ElementArray
*
* @package Smalot\PdfParser\Tests\Units\Element
*/
class ElementArray extends atoum\test
{
public function testParse()... | {
"content_hash": "2593d8257ec04346be64c54ec4abc553",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 118,
"avg_line_length": 40.576687116564415,
"alnum_prop": 0.5580586634411854,
"repo_name": "allblue-pl-dev/php_espada_ecore",
"id": "3c9125833fe6af32a349c063e983dcb825265d2a... |
package org.gradle.play.internal.run;
import org.gradle.api.Action;
import org.gradle.api.logging.Logging;
import org.gradle.internal.UncheckedException;
import org.gradle.internal.classpath.DefaultClassPath;
import org.gradle.process.internal.WorkerProcessContext;
import java.io.IOException;
import java.io.Seriali... | {
"content_hash": "eb1ba4ea3457956989e572e47efe1c7c",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 204,
"avg_line_length": 39.490566037735846,
"alnum_prop": 0.7021022455805065,
"repo_name": "HenryHarper/Acquire-Reboot",
"id": "ebb8bb2452ba573a76aab9aa6c4e121db659a3c0",
... |
require_dependency "molecular/application_controller"
module Molecular
class CampaignsController < ApplicationController
before_action :set_campaign, only: [:show, :edit, :update, :destroy]
before_action :build_campaign, only: :create
before_action :load_campaigns, only: :index
before_action :validat... | {
"content_hash": "3c770d9afb9ec7aec42837a8a444c828",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 82,
"avg_line_length": 24.813953488372093,
"alnum_prop": 0.6307403936269915,
"repo_name": "oliveiragabriel07/molecular",
"id": "700bd548c5e121c7fcc136697e13d019baa46273",
"... |
#ifndef HALE_AI_RANDOM_H
#define HALE_AI_RANDOM_H
#include <stdint.h>
#include "state.h"
/*
* This AI is random- every move is randomized from the set of valid options,
* with no strategy whatsoever.
*/
//See player.h for an explanation of these functions
extern const PlayerActions_t randomActions;
uint8_t ... | {
"content_hash": "4e8b67e40ce90a06534c42bb5afc210f",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 128,
"avg_line_length": 25.4,
"alnum_prop": 0.7536557930258717,
"repo_name": "dbtayl/HALE",
"id": "0f38d40e8173a6fb8fe244679b3281e4358b3c3b",
"size": "889",
"binary": fal... |
#ifndef MUPDF_FITZ_DOCUMENT_H
#define MUPDF_FITZ_DOCUMENT_H
#include "mupdf/fitz/system.h"
#include "mupdf/fitz/context.h"
#include "mupdf/fitz/math.h"
#include "mupdf/fitz/device.h"
#include "mupdf/fitz/transition.h"
#include "mupdf/fitz/link.h"
#include "mupdf/fitz/outline.h"
/*
Document interface
*/
typedef struc... | {
"content_hash": "5c939f835b7d650c680f63f7c581b5fb",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 132,
"avg_line_length": 33.1353711790393,
"alnum_prop": 0.7449920927780707,
"repo_name": "hirakuni45/glfw3_app",
"id": "0c31e7131380790a29ac604dc16813d862c7ce7e",
"size": ... |
module Trainmaster
class UserMailer < ApplicationMailer
def email_verification(user)
@user = user
mail(to: @user.username, subject: "[trainmaster] Email Confirmation")
end
def password_reset(user)
@user = user
mail(to: @user.username, subject: "[trainmaster] Password Reset")
... | {
"content_hash": "f2840962a3c1593ad9de2678b017f173",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 75,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.6676646706586826,
"repo_name": "davidan1981/trainmaster",
"id": "830f8678a721fe12be140fe260c6003fa0c9ad21",
"size... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "988b620278b99e5ba01737de8fd4d322",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "773c79e1832390bfa1da08e1839441a6c7d0d69d",
"size": "189... |
@interface MMBarricadeDispatchTests : XCTestCase
@end
@implementation MMBarricadeDispatchTests
- (void)testCannotCreateDispatchWithNilResponseStore {
MMBarricadeDispatch *dispatch = [[MMBarricadeDispatch alloc] initWithResponseStore:nil];
XCTAssertNil(dispatch);
}
#pragma mark - Basic vending of responses... | {
"content_hash": "970a13d8858440b94055f54c9e3c1d55",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 185,
"avg_line_length": 37.03680981595092,
"alnum_prop": 0.7669372204737452,
"repo_name": "ALHariPrasad/MMBarricade",
"id": "33b933073cc5695436b53fc108baf09662498c5f",
"si... |
.. _bigip_virtual_server:
bigip_virtual_server - Manages F5 BIG-IP LTM virtual servers
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 2.1
.. contents::
:local:
:depth: 1
Synopsis
--------
Manages F5 BIG-IP LTM virtual servers via iControl SOAP API
Requirements (on host th... | {
"content_hash": "e43e9efe2c6cfc3b8505ecca1d894101",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 269,
"avg_line_length": 30.009174311926607,
"alnum_prop": 0.5417303576887802,
"repo_name": "buzzsurfr/f5-ansible",
"id": "5dea98bdbc44543e121866ee273255c67e67f856",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.xslf.model.geom.Guide (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css"... | {
"content_hash": "ad1873288ced980c9279e0bd69fc5f17",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 337,
"avg_line_length": 45.46022727272727,
"alnum_prop": 0.6100487439070116,
"repo_name": "lunheur/JiraSorting",
"id": "1bd5223415b8fabed5cb8aedc06895ae0f2d961c",
"size": ... |
<div class="push"></div>
<footer>
<aside class="wrap">
<ol class="prev-posts">
<p class="list-title">Recent Posts</p>
{% for post in site.posts | limit:3 %} <!-- for1 -->
<li>
<span class="recent-title"><a href="{{ site.url }}{{ post.url }}" title="{{ post.title }}">{{ post.title | strip... | {
"content_hash": "9374ddf470f6c4f08393b2b3e3d5a3b2",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 193,
"avg_line_length": 40.46153846153846,
"alnum_prop": 0.5670152091254753,
"repo_name": "mrmagooey/mrmagooey.github.io",
"id": "aa80a28f851a68d00eadb6c71cd17a952f87dcdb",
... |
from pygw.config import geowave_pkg
from ..statistic import FieldStatistic
from ..statistic_type import FieldStatisticType
from ...base import GeoWaveObject
from ...base.java_transformer import JavaTransformer
class NumericHistogramStatistic(FieldStatistic):
"""
Dynamic histogram provide very high accuracy fo... | {
"content_hash": "6572198dd3e1630ea1257f582fd92200",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 113,
"avg_line_length": 35.48076923076923,
"alnum_prop": 0.6959349593495935,
"repo_name": "ngageoint/geowave",
"id": "b71c831ac9a37eddb243b039829fbb84d4f69f62",
"size": "23... |
/**
* The Hamming distance between two integers is the number of positions at which the corresponding bits are different.
*
* Given two integers x and y, calculate the Hamming distance.
*
* Note:
* 0 ≤ x, y < 231.
*
* Example:
*
* Input: x = 1, y = 4
*
* Output: 2
*
* Explanation:
* 1 (0... | {
"content_hash": "9eee4fa2b2e5e6e7ba5ea5b4dfe56664",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 118,
"avg_line_length": 20.022727272727273,
"alnum_prop": 0.5448354143019296,
"repo_name": "paper/LeetCode",
"id": "e9f50de73cfa66dfbe9f9433367513389c55031f",
"size": "887"... |
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.infobar;
import org.chromium.base.CalledByNative;
import org.chromium.chrome.browser.ResourceId;
/**
* Provides JNI... | {
"content_hash": "1a8ef8b8b717e13f77cb5236bdfc562e",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 97,
"avg_line_length": 41.29545454545455,
"alnum_prop": 0.7066593285635663,
"repo_name": "mogoweb/chromium-crosswalk",
"id": "6ef6f4e29310d6004120970e499e6ca0dfab119b",
"si... |
'use strict';
var articles = require('../controllers/articles');
// Article authorization helpers
var hasAuthorization = function(req, res, next) {
if (!req.user.isAdmin && req.article.user.id !== req.user.id) {
return res.send(401, 'User is not authorized');
}
next();
};
module.exports = functio... | {
"content_hash": "7eefe90b8ede4fecd2b2e6b2623bdb9b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 72,
"avg_line_length": 31.615384615384617,
"alnum_prop": 0.670316301703163,
"repo_name": "vepere/NeloTW",
"id": "9f6ea38228d0d9775ea427184ec9b55948bab456",
"size": "822",
... |
#ifndef OC_CLOUD_RESOURCE_TYPES_H
#define OC_CLOUD_RESOURCE_TYPES_H
#ifdef __cplusplus
extern "C" {
#endif
#define OIC_RSRC_TYPE_SEC_CLOUDCONF "oic.r.coapcloudconf"
#define OIC_RSRC_CLOUDCONF_URI "/CoapCloudConfResURI"
#define OIC_JSON_CLOUDCONF_NAME "CoAPCloudConf"
#def... | {
"content_hash": "8a558b6ba342add494bfa0d8d001c76b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 71,
"avg_line_length": 21.440677966101696,
"alnum_prop": 0.7027667984189724,
"repo_name": "rzr/iotivity",
"id": "5a444068d9bd13309bca2a1e4b75ad2d8bb6d48d",
"size": "2032",
... |
/**
* The `Matter.SAT` module contains methods for detecting collisions using the Separating Axis Theorem.
*
* @class SAT
*/
// TODO: true circles and curves
var SAT = {};
module.exports = SAT;
var Vertices = require('../geometry/Vertices');
var Vector = require('../geometry/Vector');
(function() {
/**
*... | {
"content_hash": "d25a61ba4a5de90d717147abf2034a2e",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 102,
"avg_line_length": 32.33584905660377,
"alnum_prop": 0.5525732290815731,
"repo_name": "ECLabs/UpBoard",
"id": "54374ccf1df3a5d9f8cbe1805281fc0c770e183e",
"size": "8569... |
declare namespace Bokeh {
interface ViewOptions<ModelType extends Model> {
model: ModelType;
id?: string;
el?: HTMLElement | JQuery;
}
class BokehView<ModelType extends Model> {
constructor(options?: ViewOptions<ModelType>);
model: ModelType;
id: string;
el: HTMLElement;
$el: JQuery;... | {
"content_hash": "626dbe243415baa49e975628bdb5020f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 60,
"avg_line_length": 20.476190476190474,
"alnum_prop": 0.6651162790697674,
"repo_name": "azjps/bokeh",
"id": "c25a5de7e8e30bec3dadaba3bfbed5e2b4400346",
"size": "430",
... |
var misc={
globalEval:function(c){
var s=D.createElement('script')
s.text=c
D.head.appendChild(s).parentNode.removeChild(s)
}
}
| {
"content_hash": "ba6481f81ffe2723c0c8c5f5b61ce55f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 20.571428571428573,
"alnum_prop": 0.6597222222222222,
"repo_name": "frinknet/MicroQuery",
"id": "9ec507ab4540cbe66bbd1f5e59dc316a7d82a748",
"size": "1... |
package com.sun.corba.se.spi.activation.RepositoryPackage;
/**
* com/sun/corba/se/spi/activation/RepositoryPackage/StringSeqHolder.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u112/7884/corba/src/share/classes/com/sun/corba/se/spi/a... | {
"content_hash": "05fa1d705d6212ec95cd90803db97792",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 138,
"avg_line_length": 23.923076923076923,
"alnum_prop": 0.7181136120042872,
"repo_name": "wapalxj/Java",
"id": "ed49af3831653f2695e4984122576faadaf23e3b",
"size": "933",
... |
> Unless you want to scramble at the last minute, I mean, it's up to you.

---

## [CareerCup | Cracking the Coding Interview](http://www.amazon.com/Cracking-Coding-Interview-Programming... | {
"content_hash": "e9d9fd78404fc60dc619662d7cc8c1bd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 356,
"avg_line_length": 41.714285714285715,
"alnum_prop": 0.7671232876712328,
"repo_name": "fvcproductions/GitBook",
"id": "843c22b8f83cfa6c68a911a7473f50c7bf5337cb",
"size... |
package org.apache.sysml.test.integration.functions.misc;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
/** Group together the tests in this package into a single suite so that the Maven build
* won't run two of them at once. */
@RunWith(Suite.class)
@Suite.SuiteClasses({
ConditionalValidateTe... | {
"content_hash": "3ecf26ed0500d9514f92352f66017cb5",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 88,
"avg_line_length": 30.078125,
"alnum_prop": 0.850909090909091,
"repo_name": "asurve/arvind-sysml2",
"id": "52f71f87624fee8b08ed163a3cc271f88d8c214d",
"size": "2734",
... |
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>IsScreenActive</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">IsScreenActive()</font></b></p>
<p><b>语法</b></p><... | {
"content_hash": "d2821e17e106b020c8c78ac0bf168c71",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 225,
"avg_line_length": 40.9,
"alnum_prop": 0.7011002444987775,
"repo_name": "PureBasicCN/PureBasicPreference",
"id": "cde7499db101e2a569988b50fb71d0b3aff4125d",
"size": "1... |
import os
import sys
os.system('clear')
port = raw_input('\nEnter a valid port: ')
if port == '':
print '\nYou did not enter anything.\n\n'
sys.exit(1)
try:
val = int(port)
except ValueError:
print('\nThat is not an number.\n\n')
sys.exit(1)
if int(port) not in range(1,65535):
print '... | {
"content_hash": "c93ba2190b692d9b0bfcaae7bc2dc02a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 46,
"avg_line_length": 18.181818181818183,
"alnum_prop": 0.61,
"repo_name": "EricSB/discover",
"id": "63f5259b947e837dc33663a7367e4131f9118c67",
"size": "423",
"binary": ... |
@import XCTest;
#import "Kiwi.h"
#import "NSString+DPAdditions.h"
SPEC_BEGIN(DPFoundationAdditionsSpecs)
describe(@"Foundation Additions", ^{
describe(@"NSString", ^{
__block NSString *testString;
__block NSString *blankString;
__block NSString *emptyString;
beforeEach(^{
... | {
"content_hash": "180f77e56064741f6668f04e636b6ed7",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 78,
"avg_line_length": 27.181818181818183,
"alnum_prop": 0.5301003344481605,
"repo_name": "DuneParkSoftware/DPAdditions",
"id": "5ca23a074bf255836aa78c9c8fade8ecb3ffdb2c",
... |
package toktok
import (
"math/rand"
"strings"
"sync"
"time"
"github.com/xrash/smetrics"
)
// Bucket tracks all the generated tokens and lets you create new, unique tokens.
type Bucket struct {
length uint
runes []rune
tokens map[string]struct{}
tries []uint64
sync.RWMutex
}
// NewBucket returns a ne... | {
"content_hash": "dd7b2d25fbb2a5b399e0cd5613cb43b8",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 84,
"avg_line_length": 20.248826291079812,
"alnum_prop": 0.6631115233016461,
"repo_name": "muesli/toktok",
"id": "9758b699ff5e66d5df03a14a6c73b14f9881b543",
"size": "4459"... |
package io.virtdata.libbasics.shared.from_double.to_double.to_double;
import io.virtdata.libbasics.shared.from_double.to_double.Clamp;
import org.assertj.core.data.Offset;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class ClampTest {
@Test
public void testDoubleUn... | {
"content_hash": "d512fcb5299ead3ffe215516461946bb",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 133,
"avg_line_length": 40.189189189189186,
"alnum_prop": 0.7074646940147948,
"repo_name": "virtualdataset/metagen-java",
"id": "7896a5ac92c7afa0f26eeae270ff5abe65a650dd",
... |
package com.amazonaws.services.codecommit.model;
import javax.annotation.Generated;
/**
* <p>
* A branch name is required but was not specified.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class BranchNameRequiredException extends com.amazonaws.services.codecommit.model.AWSCodeCommit... | {
"content_hash": "2c0b066b4e16bc973b8ca1bf6e0629a2",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 113,
"avg_line_length": 26.16,
"alnum_prop": 0.7125382262996942,
"repo_name": "dagnir/aws-sdk-java",
"id": "3a363ea88fc5a8b0bae0f7fb802af3b651e92720",
"size": "1234",
"bi... |
package httpserver
import (
"context"
"crypto/tls"
"errors"
"fmt"
"log"
"net"
"net/http"
"net/url"
"os"
"path"
"path/filepath"
"runtime"
"strings"
"sync"
"time"
"github.com/lucas-clemente/quic-go/h2quic"
"github.com/mholt/caddy"
"github.com/mholt/caddy/caddyhttp/staticfiles"
"github.com/mholt/caddy... | {
"content_hash": "71e8c27863d2ac994fcfad6d64dde80e",
"timestamp": "",
"source": "github",
"line_count": 540,
"max_line_length": 112,
"avg_line_length": 31.553703703703704,
"alnum_prop": 0.7093139268736428,
"repo_name": "tobya/caddy",
"id": "eb854d72606d68e2834a9af203da6825cbd6795a",
"size": "17702"... |
<html lang="hy">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<style>
@font-face { font-family:"NotoSansArmenian-ttf"; sr... | {
"content_hash": "bcde14a7beba1f886dc5b8533199e0ae",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 412,
"avg_line_length": 61.88461538461539,
"alnum_prop": 0.7582349285270354,
"repo_name": "googlefonts/noto-source",
"id": "b9e019d954cb6713ccba451b4fa7c8e6d1de9bed",
"size... |
A stand alone string template engine.
## Code Example
```cs
StringTemplate stringTemplate = new StringTemplate("hello <data>");
stringTemplate.Add("data", "world");
Console.WriteLine(stringTemplate.Render());
```
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for ... | {
"content_hash": "f6df1f39739be592ed51e314f9ef8ee0",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 98,
"avg_line_length": 23.428571428571427,
"alnum_prop": 0.7439024390243902,
"repo_name": "AdrianToman1/StringTemplateEngine",
"id": "46cdb5ed4089b23837c7dbd0a6f47b4dcf974ff2... |
<?php
namespace app\modules\question\models;
use yii\base\Model;
use app\modules\tag\models\Tag;
use app\modules\tag\models\TagItem;
class QuestionForm extends Model
{
public $subject;
public $tags;
public $content;
public $author_id;
public function rules()
{
return [
[['... | {
"content_hash": "e5f07fb148f28701e1181bca2f0278c0",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 89,
"avg_line_length": 27.171875,
"alnum_prop": 0.47556066705002875,
"repo_name": "callmez/huajuan",
"id": "ac303dc16cf5b041089ead1e5948e2c498b39718",
"size": "1787",
"bi... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name='SampleModel',
fields=[
('id', models.AutoField(auto_crea... | {
"content_hash": "0cb4a45780170aac88a59bdd33467a88",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 114,
"avg_line_length": 27.80952380952381,
"alnum_prop": 0.5684931506849316,
"repo_name": "plecto/django-smart-lists",
"id": "9929ea09b140112bd16345800a894ac3607239c1",
"si... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Sat Jun 21 06:31:11 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.n... | {
"content_hash": "93799cb5666be2bedf5f53de216c3500",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 223,
"avg_line_length": 42.827586206896555,
"alnum_prop": 0.6231884057971014,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "8be10365b66a97650e5af66425dc5f0aa3497dac",
"... |
from swgpy.object import *
def create(kernel):
result = Tangible()
result.template = "object/tangible/wearables/shoes/shared_shoes_s09.iff"
result.attribute_template_id = 11
result.stfName("wearables_name","shoes_s09")
#### BEGIN MODIFICATIONS ####
#### END MODIFICATIONS ####
return result | {
"content_hash": "3dd2b68b8ce7d3afe902949350a7c588",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 73,
"avg_line_length": 23.692307692307693,
"alnum_prop": 0.7012987012987013,
"repo_name": "obi-two/Rebelion",
"id": "47971851202d435b9e65f0b1ccdc0bcab1205861",
"size": "453... |
import pyaf.Bench.TS_datasets as tsds
import tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 128 , FREQ = 'D', seed = 0, trendtype = "LinearTrend", cycle_length = 30, transform = "Difference", sigma = 0.0, exog_count = 20, ar_order = 0); | {
"content_hash": "9f00de86b85c684e48449ddbb03fff4a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 168,
"avg_line_length": 38.285714285714285,
"alnum_prop": 0.7089552238805971,
"repo_name": "antoinecarme/pyaf",
"id": "3726dcad7db79b248710b83ec9a2d90db5359812",
"size": "26... |
title: Using Runscope and CodeShip For API testing
shortTitle: Runscope API Testing And Monitoring
menus:
general/integrations:
title: Using Runscope
weight: 21
tags:
- apis
- api testing
- service testing
- integration testing
- functional testing
- smoke testing
- integrations
- reporting
- monitoring
- not... | {
"content_hash": "f6f28a186f9761c8f3bab3d1ee002e60",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 357,
"avg_line_length": 43.89473684210526,
"alnum_prop": 0.7703836930455635,
"repo_name": "codeship/documentation",
"id": "0c5c3d10583d48a04e62ee7a5be8dead1d536fea",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.