text stringlengths 2 1.04M | meta dict |
|---|---|
package stroom.processor.impl.db;
import stroom.db.util.AbstractFlyWayDbModule;
import stroom.db.util.DataSourceProxy;
import stroom.processor.impl.ProcessorConfig.ProcessorDbConfig;
import javax.sql.DataSource;
public class ProcessorDbModule extends AbstractFlyWayDbModule<ProcessorDbConfig, ProcessorDbConnProvider>... | {
"content_hash": "d99654a6074e51feec292263472668dc",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 107,
"avg_line_length": 29.32608695652174,
"alnum_prop": 0.7390659747961453,
"repo_name": "gchq/stroom",
"id": "1980347b84b376835aba2344495cf934d18f4ab1",
"size": "1349",
... |
<?php
// autoload.php @generated by Composer
require_once __DIR__ . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit3061cba326f89c02f6ec805d21d84d00::getLoader();
| {
"content_hash": "36114ad428d6437cee8e12f2dcb6e167",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 75,
"avg_line_length": 26.142857142857142,
"alnum_prop": 0.7595628415300546,
"repo_name": "lozy219/tangerine",
"id": "ac4e8b22592f398f7a9ff6ac4e09a208e59afefa",
"size": "183... |
package org.camunda.bpm.model.dmn.impl.instance;
import static org.camunda.bpm.model.dmn.impl.DmnModelConstants.LATEST_DMN_NS;
import static org.camunda.bpm.model.dmn.impl.DmnModelConstants.DMN_ELEMENT_QUESTION;
import org.camunda.bpm.model.dmn.instance.Question;
import org.camunda.bpm.model.xml.ModelBuilder;
import... | {
"content_hash": "48ecc0403260016052cb5860bc56923c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 103,
"avg_line_length": 38.03225806451613,
"alnum_prop": 0.7947413061916879,
"repo_name": "ingorichtsmeier/camunda-bpm-platform",
"id": "71350953dff076ab2a1eb8abd8d7749263299... |
require 'spec_helper'
describe "the base response" do
describe "on a successful response" do
before(:each) do
@response = parse_canned_response(:successful, :iowp, :v1)
end
it "should identify success" do
@response.success?.should == true
end
it "should identify meta fields correctl... | {
"content_hash": "bfc67ecc53b686e9647544fe948578e0",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 82,
"avg_line_length": 28.372881355932204,
"alnum_prop": 0.6654719235364397,
"repo_name": "thoughtworks/global_collect",
"id": "d650255ed2548863a595a1996993a332ef2e2c32",
"... |
<?php namespace Barryvdh\Debugbar\Twig\TokenParser;
use Barryvdh\Debugbar\Twig\Node\StopwatchNode;
/**
* Token Parser for the stopwatch tag. Based on Symfony\Bridge\Twig\TokenParser\StopwatchTokenParser;
*
* @author Wouter J <wouter@wouterj.nl>
*/
class StopwatchTokenParser extends \Twig_TokenParser
{
... | {
"content_hash": "2e599ff0812d1c1319d3924458bf961a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 101,
"avg_line_length": 27.472727272727273,
"alnum_prop": 0.57114493712773,
"repo_name": "focuslife/v0.1",
"id": "896c280ebd638e3dc837d7541d2c57e09eed65dd",
"size": "1511",... |
import { upsert } from 'pouchdb-utils';
import { stringMd5 } from 'pouchdb-md5';
import createViewSignature from './createViewSignature';
function createView(sourceDB, viewName, mapFun, reduceFun, temporary, localDocName) {
var viewSignature = createViewSignature(mapFun, reduceFun);
var cachedViews;
if (!tempor... | {
"content_hash": "373c9ee8f594c635bcda3ec976a990e9",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 86,
"avg_line_length": 32.12162162162162,
"alnum_prop": 0.5986537652503156,
"repo_name": "seigel/pouchdb",
"id": "fb579cb0c6c0579377108814e312fd81b54f120c",
"size": "2377",... |
namespace Envoy {
namespace Server {
SharedMemory* attachSharedMemory(uint32_t base_id, uint32_t restart_epoch) {
Api::OsSysCalls& os_sys_calls = Api::OsSysCallsSingleton::get();
Api::HotRestartOsSysCalls& hot_restart_os_sys_calls = Api::HotRestartOsSysCallsSingleton::get();
int flags = O_RDWR;
const std::str... | {
"content_hash": "950eb90b0c7fb17a28e96f15b9c6338f",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 99,
"avg_line_length": 45.74045801526717,
"alnum_prop": 0.7181241655540721,
"repo_name": "lizan/envoy",
"id": "c9e0aa7e7d023ac91b5ba36328893d176674d52d",
"size": "6485",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b5ce47d13782953b391779638d7130b9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "907e4ac6961301e5b8b98a6752cbb072e5013e8a",
"size": "20... |
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define([undefined, '../ApiClient', './RackHDBootImageNetworkAddress'], factory);
} else if (typeof module === 'object' && module.exports) {
// CommonJS-like environments that support mod... | {
"content_hash": "e1906a19d368a07111533d7d3a537581",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 109,
"avg_line_length": 25.609375,
"alnum_prop": 0.6510067114093959,
"repo_name": "jlongever/redfish-client-node",
"id": "8987a5e3d77bd810ecc1aa454aa09277eebdc335",
"size"... |
<!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 (1.8.0_92) on Wed Mar 01 10:26:34 ICT 2017 -->
<title>Uses of Class com.model.algorithm.DiagonalStrategy.Direction</title>
<meta name="date" content="... | {
"content_hash": "77db3b3f3ea173888f6cc9769eb588e0",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 360,
"avg_line_length": 43.61052631578947,
"alnum_prop": 0.6684769490707217,
"repo_name": "Bubblebitoey/Softspec-Hw1-5810546056-5810546552",
"id": "efee1fa25f12e1be23ff633e5... |
//
// GDPhotoUtil.h
// DaZhuanJia
//
// Created by wangguodong on 15/8/20.
// Copyright (c) 2015年 隔壁老王. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void (^GDPhotoCompleteBlock)(NSData *imageData);
@interface GDPhotoUtil : NSObject
/**
类方法,单例化
@return GDPhotoUti... | {
"content_hash": "e977b3c994da61833977ccce9d3ee247",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 91,
"avg_line_length": 21.82,
"alnum_prop": 0.6663611365719523,
"repo_name": "guodong10518/GDTest",
"id": "20b45385eaa76af9c1279b51a0313f635b57d3d1",
"size": "1275",
"bin... |
import { Injectable } from '@angular/core';
import { NgRedux } from '@angular-redux/store';
import { Observable } from 'rxjs/Observable';
import { NOTIFICATION_TYPE } from 'constant';
import { combineActionsToReducer } from 'utils';
import { IAlertState, Notification } from './app-interfaces';
const CLEAR_ALL_NOTIFIC... | {
"content_hash": "08e426621751d3b4f1fc8d84908c7fed",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 85,
"avg_line_length": 30.980392156862745,
"alnum_prop": 0.6104430379746836,
"repo_name": "dvhuy/dkNg",
"id": "25cde3cf391bb6559ab12f155529359ac96901a6",
"size": "3160",
... |
module VSim.VIR
( module VSim.VIR.AST
, module VSim.VIR.Types
) where
import VSim.VIR.AST
import VSim.VIR.Types
| {
"content_hash": "69c77d087ab25cc89799fb351288f1da",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 27,
"avg_line_length": 16.875,
"alnum_prop": 0.6370370370370371,
"repo_name": "ierton/vsim",
"id": "f6fd38dcbe3802c45f113799595a9c2505bdf2e0",
"size": "305",
"binary": fal... |
<!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) on Mon Jan 13 19:53:36 EST 2014 -->
<title>BasisHatShapeControl</title>
<meta name="date" content="2014-01-13">
<link rel="styl... | {
"content_hash": "a03da893d780d797501d51be153b07c5",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 608,
"avg_line_length": 44.06005221932115,
"alnum_prop": 0.6554666666666666,
"repo_name": "tectronics/rootfinder",
"id": "c8c337cf97ffee2313020a3de0b4fa1b79716a79",
"size"... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... | {
"content_hash": "83aafb6379c079f900ea58e44ab2f8e0",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 570,
"avg_line_length": 38.468023255813954,
"alnum_prop": 0.6526108969999245,
"repo_name": "thm76/thm76.de",
"id": "0f164c83cd15fb597833fbd576b65220152755f3",
"size": "135... |
<?php
App::uses('AppHelper', 'View/Helper');
App::uses('CakeSession', 'Model/Datasource');
/**
* Session Helper.
*
* Session reading from the view.
*
* @package Cake.View.Helper
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/session.html
*/
class SessionHelper extends AppHelper {
/**
* ... | {
"content_hash": "4254699a08343f9b929f32d8a36f4fa5",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 117,
"avg_line_length": 31.244897959183675,
"alnum_prop": 0.6564337034617896,
"repo_name": "nickpack/Methadone",
"id": "86158b96288415ae3badb8c1c34cd4c28b5cd7b2",
"size": ... |
package informer
import (
"fmt"
"sync"
"time"
"github.com/golang/glog"
dynamicclientset "metacontroller.app/dynamic/clientset"
)
// SharedInformerFactory is a factory for requesting dynamic informers from a
// shared pool. It's analogous to the static SharedInformerFactory generated for
// static types.
type... | {
"content_hash": "6da03f1da6eb18f5f6370e169f5e20cf",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 123,
"avg_line_length": 34,
"alnum_prop": 0.7406674208144797,
"repo_name": "GoogleCloudPlatform/metacontroller",
"id": "eaa5c9442075e9d8f4514c316f8eb083b7b25f23",
"size": ... |
package cn.newcapec.framework.core.model.dbmeta;
import java.sql.DatabaseMetaData;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/**
*
* @author andy.li
*/
@SuppressWarnings("all")
public class MetaDataRetriever extends Thread {
... | {
"content_hash": "2f325f8193d01c1d972b61b7c0570165",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 96,
"avg_line_length": 28.301639344262295,
"alnum_prop": 0.6574374420759963,
"repo_name": "3203317/2013",
"id": "5712adb2d55531d3a3e9e4ae51990c5bc975aa81",
"size": "8720",... |
#include "util/thread.h"
#include "kernel/find_fn.h"
#include "library/placeholder.h"
#include "library/kernel_bindings.h"
namespace lean {
static name g_placeholder_name = name(name::mk_internal_unique_name(), "_");
MK_THREAD_LOCAL_GET(unsigned, get_placeholder_id, 0)
static unsigned next_placeholder_id() {
unsi... | {
"content_hash": "2c09c44d5d9ab447fcd30d4b89b02441",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 135,
"avg_line_length": 37.984848484848484,
"alnum_prop": 0.6222576785001994,
"repo_name": "soonhokong/travis_test",
"id": "06e6a385fba4b6cad9527b9caff5efdfe134ae10",
"size... |
package org.bubblecloud.zigbee.api.cluster.impl.global.reporting;
import org.bubblecloud.zigbee.v3.serialization.ZBDeserializer;
import org.bubblecloud.zigbee.v3.model.ZigBeeType;
import org.bubblecloud.zigbee.api.cluster.impl.api.global.AttributeReport;
/**
* @author <a href="mailto:stefano.lenzi@isti.cnr.it">Ste... | {
"content_hash": "c624869d4f1e8a530fb820ea2eeba3e8",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 106,
"avg_line_length": 29.146341463414632,
"alnum_prop": 0.704602510460251,
"repo_name": "cdjackson/zigbee4java",
"id": "84eb6097b8134d3d6e5dc0fd0c274f3884264a1d",
"size":... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... | {
"content_hash": "8ca3b5f31a7f7e99c28929645be6fa40",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 826,
"avg_line_length": 72.32051282051282,
"alnum_prop": 0.7297169532588784,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "5e1b7d1ab2cf28189aa74a8ec972949792e7b8a0",
"... |
module ODFReport
class Table
include Nested
def initialize(opts, image_manager)
@name = opts[:name]
@collection_field = opts[:collection_field]
@collection = opts[:collection]
@image_manager = image_manager
@file_type = opts[:file_type]
case @file_type
when :doc ... | {
"content_hash": "d9ea62d68db43ec683d6c4fa7caf30f8",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 137,
"avg_line_length": 27.57843137254902,
"alnum_prop": 0.5940277284038393,
"repo_name": "tdenovan/odf-report",
"id": "5ccd06f2cf55adb23e71488c332fe1a5dc71a379",
"size": ... |
namespace JustOrderIt.Data.DbAccessConfig.SampleDataGenerators.HelperModels
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.GlobalConstants;
public class ProcessedImage
{
public string... | {
"content_hash": "c3946ecc6d28b1b320ad415c516e2e88",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 76,
"avg_line_length": 26.5,
"alnum_prop": 0.639937106918239,
"repo_name": "mpenchev86/ASP.NET-MVC-FinalProject",
"id": "fef89a062737a03d3a87aaa5cd095970eabfd38d",
"size": ... |
/**
* @file WhiteNoiseGenerator.cpp
*
* White noise generator.
*
* This file is part of the Aquila DSP library.
* Aquila is free software, licensed under the MIT/X11 License. A copy of
* the license is provided with the library in the LICENSE file.
*
* @package Aquila
* @version 3.0.0-dev
* @author Zbigniew ... | {
"content_hash": "73e30b77dd3c4e6f51d7b7d340199f8a",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 25.108695652173914,
"alnum_prop": 0.6406926406926406,
"repo_name": "tempbottle/aquila",
"id": "bcce665994df8eeb18bc576c5122b7e9e192473d",
"size": "11... |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/water2"
android:orientation="vertical" >
<Button
android:id="@+id/a2"
android:layout_width="fill_parent"
... | {
"content_hash": "c2852500024979016d7d96e237481040",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 72,
"avg_line_length": 36.592592592592595,
"alnum_prop": 0.5157894736842106,
"repo_name": "avi33tbtt/OSMECON-2014",
"id": "81fb5e1f407c518e678538c4b800bcdc51c6af65",
"size... |
<?php
// Call Zend_Filter_CamelCaseToDashTest::main() if this source file is executed directly.
if (!defined("PHPUnit_MAIN_METHOD")) {
define("PHPUnit_MAIN_METHOD", "Zend_Filter_Word_CamelCaseToDashTest::main");
}
require_once 'Zend/Filter/Word/CamelCaseToDash.php';
/**
* Test class for Zend_Filter_Word_Camel... | {
"content_hash": "5e7f6ab0d21f223e16647c79241346ca",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 94,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.6780866192630899,
"repo_name": "svenax/ZendFramework",
"id": "4be9615be8b90979d63744be07eea229ce37176e",
"size": ... |
from google.cloud import container_v1
async def sample_set_addons_config():
# Create a client
client = container_v1.ClusterManagerAsyncClient()
# Initialize request argument(s)
request = container_v1.SetAddonsConfigRequest(
)
# Make the request
response = await client.set_addons_config(r... | {
"content_hash": "aca4257155809b1d5e4c03533ba22870",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 67,
"avg_line_length": 25.11111111111111,
"alnum_prop": 0.7323008849557522,
"repo_name": "googleapis/python-container",
"id": "fd9de008a6cdc80fa06d1bff067b7a989bc8e54a",
"s... |
package moodlistener.blusay.item;
import moodlistener.blusay.R;
import android.app.Activity;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import and... | {
"content_hash": "121f58e1745ef736779c22cf6a3d3dd2",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 94,
"avg_line_length": 26.75,
"alnum_prop": 0.7186915887850467,
"repo_name": "laimich/Blusay",
"id": "4edfa8cc7dded0b758eb1085df1f7cfcbda268c6",
"size": "1070",
"binary":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Pitcher pl. Old World 2:1315. 2009
#### Original name
null
### Remarks
null | {
"content_hash": "e1942c1c684692796a77f45cbb03d342",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.615384615384615,
"alnum_prop": 0.7012195121951219,
"repo_name": "mdoering/backbone",
"id": "0e6d37c0b5964a50c961c46eea3ccd92745cd90f",
"size": "26... |
<!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 (1.8.0_65) on Wed Jan 06 12:54:54 MSK 2016 -->
<title>com.centurylink.cloud.sdk.core.config Class Hierarchy (sdk 1.2.2 API)</title>
<meta name="... | {
"content_hash": "b049b11c98922998b8c1e4bd2be68f5a",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 278,
"avg_line_length": 40.51063829787234,
"alnum_prop": 0.6074929971988795,
"repo_name": "CenturyLinkCloud/clc-java-sdk",
"id": "c313434e3d56e29f060233c365d7d5881fb8debf",
... |
<?php
//
// Copyright (c) 2020-2022 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
defined("XYO_CLOUD") or die("Access is denied");
$listModuleGroup = array();
$listModuleGroup["*"] = $this->getFromLangua... | {
"content_hash": "71bc070c69de41060f9011dfdf2dbd47",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 86,
"avg_line_length": 34.18181818181818,
"alnum_prop": 0.6821808510638298,
"repo_name": "g-stefan/xyo-cloud",
"id": "26b4cea4a0078268ce2ced8dc947fa64af6b873a",
"size": "75... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>ProtectCloseTextWriter Members</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="M... | {
"content_hash": "aa91d7a7f0e274b5b105b245cb6beda4",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 348,
"avg_line_length": 89.70297029702971,
"alnum_prop": 0.6803532008830022,
"repo_name": "YOTOV-LIMITED/pokerleaguemanager",
"id": "13e58a364a999999decc230607a77f07e93aef2f... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>needed? (ActiveRecord::ConnectionAdapters::JdbcAdapter::ConnectionPoolCallbacks)</title>
<meta http-equiv="Content-Ty... | {
"content_hash": "5012ebc6331b33d0eec3fa29bb686bc0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 237,
"avg_line_length": 59.111111111111114,
"alnum_prop": 0.6832706766917294,
"repo_name": "varshavaradarajan/functional-tests",
"id": "6a0014e3e92eb79ab7a6d6bb2ebf8e9a44a5d1... |
#ifndef __ARCH_OBJECT_STRUCTURES_H
#define __ARCH_OBJECT_STRUCTURES_H
#include <mode/object/structures.h>
#endif
| {
"content_hash": "8abd42b01de7ac19e2c7319902040e6e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 35,
"avg_line_length": 14.625,
"alnum_prop": 0.7435897435897436,
"repo_name": "zhicheng/seL4",
"id": "796e35d827da42b0e43b277491ad8ec889e09e45",
"size": "387",
"binary": f... |
The current stable version of Debian, which is codenamed Wheezy, does not
include the facilities to generate a dynamic message-of-the-day (MOTD). The
shell scripts in this folder will allow you to do that.
Follow these steps:
sudo apt-get install figlet uptimed
sudo mkdir /etc/update-motd.d/
cd /etc/updat... | {
"content_hash": "ca84f385730d9597bf40d5f38d5647dd",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 75,
"avg_line_length": 31.5,
"alnum_prop": 0.7172619047619048,
"repo_name": "gorauskas/Hacks",
"id": "e31b222c028aaffcb4c7b9e4b87514000d75d34f",
"size": "1038",
"binary":... |
import java.lang.Runnable;
import java.util.ArrayList;
import java.io.*;
public class FindReducer implements Reducer{
private boolean exist;
private String data;
private ArrayList<Object> param;
private ArrayList<String> param_types;
private ArrayList<Object> result;
private ArrayList<String> ... | {
"content_hash": "4f61692f6a0a9397abe6e2a89a6f7af5",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 74,
"avg_line_length": 28.21153846153846,
"alnum_prop": 0.588957055214724,
"repo_name": "lixf/MapReduce",
"id": "43d6c203e1b7a382e3542886f1106d3e6ce47fda",
"size": "1469",
... |
_Applies to: Excel 2016, Office 2016_
Represents major or minor gridlines on a chart axis.
## Properties
| Property | Type |Description
|:---------------|:--------|:----------|
|visible|bool|Boolean value representing if the axis gridlines are visible or not.|
_See property access [examples.](#property-access-ex... | {
"content_hash": "79bc4892ad99e9a948c1d50614562aee",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 158,
"avg_line_length": 29.948051948051948,
"alnum_prop": 0.6764960971379012,
"repo_name": "sumurthy/md_apispec",
"id": "2090730147f8339417f36183f360f0902dd70c76",
"size": ... |
<!doctype html>
<html lang="en" ng-app="dnwTennisApp">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Decatur Northwest Tennis Lottery Signup">
<meta name="auth... | {
"content_hash": "638a4797aeb8e612d764a1ee5bc9deea",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 103,
"avg_line_length": 32.72222222222222,
"alnum_prop": 0.6502546689303905,
"repo_name": "telennon/dnwTennis",
"id": "a49ce5cbb668c40d9cbfae7b5c39a0d832deb08b",
"size": "1... |
package org.apache.ignite.internal;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.ignite.Ignite;
import org.apache.ignite.IgniteException;
import org.apache.ignite.cluster.ClusterNode;
import org.apache.ignite.compute.ComputeTask;
import org.apache.ignite.configuration.DeploymentMode;... | {
"content_hash": "7add29774c4b388f7455c549e14efe09",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 115,
"avg_line_length": 28.286713286713287,
"alnum_prop": 0.646229913473424,
"repo_name": "SomeFire/ignite",
"id": "df80b112f2a83e778e7facad632dfece6342f84a",
"size": "484... |
namespace _1.PractiseIntegerNumbers
{
using System;
public class StartUp
{
public static void Main()
{
sbyte num1 = sbyte.Parse(Console.ReadLine());
byte num2 = byte.Parse(Console.ReadLine());
short num3 = short.Parse(Console.ReadLine());
... | {
"content_hash": "dbb36ea32f897a095062c136205794c3",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 59,
"avg_line_length": 31,
"alnum_prop": 0.5388291517323776,
"repo_name": "fmavrodiev/CSharpSoftUni",
"id": "cbdc5c0ee3d1732d4454bc47ccc3c1438986252f",
"size": "839",
"bi... |
.. _motor-hardware:
The Motor
=========
.. _motor-hardware-works:
How it works
------------
The motor is the simplest of the hardware outputs. It takes a single input of
between -63 and +63, and sets the speed of the motor accordingly (with -63
being maximum speed in one direction, and +63 being maximum speed in th... | {
"content_hash": "9d1a4fa39f4f2d432152f23fb349d372",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 21.205128205128204,
"alnum_prop": 0.6553808948004837,
"repo_name": "offmessage/blackpearl",
"id": "fbf929aaf38e50f42bc8740d44013b5c827f6d4c",
"size":... |
"use strict";
const _ = require("lodash");
const declarationValueIndex = require("../../utils/declarationValueIndex");
const isStandardSyntaxFunction = require("../../utils/isStandardSyntaxFunction");
const isStandardSyntaxValue = require("../../utils/isStandardSyntaxValue");
const keywordSets = require("../../referen... | {
"content_hash": "25104a5d3d7ad32f477a4f2fd7942226",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 81,
"avg_line_length": 28.78735632183908,
"alnum_prop": 0.5552006388500699,
"repo_name": "Epat9/YourHomeBudget",
"id": "583154ac6b3747163376457cc365770ef042f46d",
"size": ... |
namespace Employees.App.Commands
{
using Employees.App.Commands.Abstractions;
using System;
public class ExitCommand : Command
{
public ExitCommand(string[] cmdArgs) : base(cmdArgs)
{
}
public override void Execute() => Environment.Exit(Environment.ExitCode);
}
}
| {
"content_hash": "7c9f084a8060a61c7794330d6165679f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 81,
"avg_line_length": 22.785714285714285,
"alnum_prop": 0.64576802507837,
"repo_name": "RAstardzhiev/SoftUni-C-Scharp",
"id": "aad4a47cf43b44c19fa1b7cf27d17d1f3be4a120",
"... |
import { Component, Input } from '@angular/core';
@Component({
selector: 'app-geo-pin',
templateUrl: 'geo-pin.component.html',
styleUrls: ['geo-pin.component.scss']
})
export class GeoPinComponent {
@Input('excluded') excluded = false;
}
| {
"content_hash": "79e26a21af854fe0e72ea4a3be03e22a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 49,
"avg_line_length": 23,
"alnum_prop": 0.6758893280632411,
"repo_name": "aitarget/aitarget-components",
"id": "578e093726f8bd75c34fdd13b9c47240206954fc",
"size": "253",
... |
var request = require('request');
var jwt = require('jsonwebtoken');
exports.discoverykeys = function (req, res) {
var url = 'https://login.microsoftonline.com/' + req.params.tenant +
'/discovery/v2.0/keys?p=' + req.query.p;
request(url, function (err, response, body) {
if (err) {
r... | {
"content_hash": "41594c86be2a9d633869b7501810e289",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 76,
"avg_line_length": 28.03448275862069,
"alnum_prop": 0.5448954489544895,
"repo_name": "SMK1085/ng2azureadb2c",
"id": "049329d73ca10bd66abacdd1c152c0ae1d417ef7",
"size": ... |
"""Tests for API client and approvals-related API calls."""
from __future__ import absolute_import
from __future__ import division
from __future__ import unicode_literals
import threading
import time
from absl import app
from grr_response_core.lib.util import compatibility
from grr_response_server.gui import api_aut... | {
"content_hash": "d259b136359af786f7d35075ac7751a1",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 78,
"avg_line_length": 31.118181818181817,
"alnum_prop": 0.7028921998247152,
"repo_name": "demonchild2112/travis-test",
"id": "252fa9510b263c17699823876c82a25658adfcb7",
"... |
using System;
using Microsoft.Practices.ObjectBuilder;
using DataAccess;
using System.Web.UI.WebControls;
using EncryptionUtility;
namespace PollGenerator.Poll.Views
{
public partial class NaujaApklausa : Microsoft.Practices.CompositeWeb.Web.UI.Page, INaujaApklausaView
{
private NaujaApklausaPresente... | {
"content_hash": "0d0d0d3dc123c328ee356a5a2a366fea",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 129,
"avg_line_length": 29.23076923076923,
"alnum_prop": 0.5569078947368421,
"repo_name": "SauliusSun/Poll-generator",
"id": "bb029b8193123b5d1e48d9af31042d9d3f5590e7",
"s... |
"""Generates training data for learning/updating MentorNet."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import csv
import itertools
import os
import pickle
import models
import numpy as np
import tensorflow as tf
flags = tf.app.flags
flags.DEFINE_st... | {
"content_hash": "057dbf01187ad1d3b80f9bdccc39189b",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 78,
"avg_line_length": 28.72289156626506,
"alnum_prop": 0.6424077181208053,
"repo_name": "google/mentornet",
"id": "f4ccd15dfa60acae7876422e59a723e6b89bcea5",
"size": "544... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "18d5ad078e7b1cc8a069938e678ed44b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "6dbb097d3ba7bdbff98b3c42311448b013e12782",
"size": "187... |
import minimist from "minimist";
import {has} from "lodash";
import help from "./commands/help";
import version from "./commands/version";
import compile from "./commands/compile";
import run from "./commands/run";
import playground from "./commands/playground";
const commands = {
help, version,
compile, run, playg... | {
"content_hash": "9933a16c2a3afdab26b0f0e574116b08",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 70,
"avg_line_length": 23.58490566037736,
"alnum_prop": 0.6448,
"repo_name": "BeneathTheInk/Temple",
"id": "e7e5b47225f47fa13f5b39494398fbf85802aec7",
"size": "1250",
"bi... |
var pkg = require("./package.json"),
project = require("./project.json"),
webpack = require('webpack');
module.exports = {
entry: {
app: ['./Client/js/app.jsx'],
vendor: Object.keys(pkg.dependencies)
},
output: {
path: "./wwwroot/js",
filename: 'scripts.[name].js'
... | {
"content_hash": "a20bbc9bca05b6ed9601f98ef4d027cf",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 78,
"avg_line_length": 26.2972972972973,
"alnum_prop": 0.47584789311408016,
"repo_name": "ugeolog/LearnWordsFast",
"id": "e1aaa1b4a42c38c6956bfe8485c4213600f020d5",
"size":... |
package vn.getgreen.network;
import org.json.JSONObject;
public interface ResponseListener {
public void onStart(GClient client);
public void onFinish(GClient client);
public void onFailure(GClient client, int statusCode, JSONObject message);
public void onSuccess(GClient client, JSONObject jsonObject);
}
| {
"content_hash": "4f4501ce4bde61e94569a7ffc87afaec",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 75,
"avg_line_length": 24.53846153846154,
"alnum_prop": 0.7931034482758621,
"repo_name": "Thanhktm/getgreen",
"id": "1e21abb5852f086aa5e76c097ee89cc6f883bf55",
"size": "319... |
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<title>Quanto <i>Amborella</i> sono le piante? | gvdr</title>
<meta name="description" content="Darwin lo aveva definito un abominabile mistero: da dove arrivano le piante da fiore? A cosa assomiglia la loro mamma? Quanti sessi contava? Quanto è v... | {
"content_hash": "f959b44360932e74eb4b0b8a58cd9f60",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 784,
"avg_line_length": 38.294372294372295,
"alnum_prop": 0.6934207551435677,
"repo_name": "gvdr/gvdr.github.io",
"id": "d70af138cf7488cddb8766d7916bb0bcbcbb3f94",
"size":... |
package com.github.namioka.ddd_concept.examples.javaee7.application.service.impl;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com... | {
"content_hash": "8f297810b70b9aa6a48a6f4b75ba2867",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 109,
"avg_line_length": 42.530973451327434,
"alnum_prop": 0.6918435289221806,
"repo_name": "namioka/ddd-concept",
"id": "29343cf9ac75bd6a7ad19f34629c89ca76aeb42a",
"size":... |
package com.intellij.psi.impl.source.tree;
import com.intellij.lang.ASTNode;
import com.intellij.lang.java.JShellLanguage;
import com.intellij.psi.PsiElement;
import com.intellij.psi.impl.source.PsiJShellHolderMethodImpl;
import com.intellij.psi.impl.source.PsiJShellImportHolderImpl;
import com.intellij.psi.impl.sour... | {
"content_hash": "9ad7bd9b47c84497246eceb5c66f59fd",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 87,
"avg_line_length": 34,
"alnum_prop": 0.7727272727272727,
"repo_name": "da1z/intellij-community",
"id": "12a9cce1f20855eb66b604bdcda73bd582573cc5",
"size": "2096",
"bi... |
package com.facebook.widget;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graph... | {
"content_hash": "2dbf9d25fa4c9d635cfbe9a322b2c08e",
"timestamp": "",
"source": "github",
"line_count": 877,
"max_line_length": 113,
"avg_line_length": 41.29532497149373,
"alnum_prop": 0.615943229511818,
"repo_name": "gimmelamb/UbiSolar",
"id": "aaced5ccddfdd2cec95b44bb03b79e2af10e3df4",
"size": "3... |
package trie
import (
"fmt"
u "github.com/dockerian/go-coding/utils"
)
// -------- NodeItem, NodeStack, and method receivers
// NodeItem struct
type NodeItem struct {
node *Node
data string
}
// NodeStack struct
type NodeStack struct {
top *NodeItem
elements []*NodeItem
size int
}
// String func f... | {
"content_hash": "941f3aacc00413e0abab36960811b275",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 75,
"avg_line_length": 21.31168831168831,
"alnum_prop": 0.6106032906764168,
"repo_name": "dockerian/shuati",
"id": "b0473830fa1efecbd04588fdd957893570e9957f",
"size": "1641... |
set -o errexit
set -o nounset
set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
: ${KUBE_VERSION_ROOT:=${KUBE_ROOT}}
: ${KUBECTL:="${KUBE_VERSION_ROOT}/cluster/kubectl.sh"}
: ${KUBE_CONFIG_FILE:="config-test.sh"}
export KUBECTL KUBE_CONFIG_FILE
source "${KUBE_ROOT}/cluster/kube-env.sh"
source "${KUBE_VERS... | {
"content_hash": "1a11d20268725296105388b931dfc9c1",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 89,
"avg_line_length": 27.43243243243243,
"alnum_prop": 0.6886699507389162,
"repo_name": "vishvananda/kubernetes",
"id": "b784c39b90eee45a9bbcb5be312f47519fbf5859",
"size":... |
#include "config.h"
#include "core/editing/MergeIdenticalElementsCommand.h"
#include "bindings/core/v8/ExceptionState.h"
#include "bindings/core/v8/ExceptionStatePlaceholder.h"
#include "core/dom/Element.h"
namespace blink {
MergeIdenticalElementsCommand::MergeIdenticalElementsCommand(PassRefPtrWillBeRawPtr<Elemen... | {
"content_hash": "85f589ab4b5ff74332651929075cafc0",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 139,
"avg_line_length": 28.169014084507044,
"alnum_prop": 0.7065,
"repo_name": "nwjs/blink",
"id": "712d38ebe843ba92b79d0a22aa40c49e593db976",
"size": "3356",
"binary": f... |
package net.ripe.db.whois.logsearch;
import com.google.common.base.Splitter;
import net.ripe.db.whois.logsearch.logformat.LegacyLogFile;
import net.ripe.db.whois.logsearch.logformat.LogSource;
import net.ripe.db.whois.logsearch.logformat.LoggedUpdate;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
i... | {
"content_hash": "62f98a3f8e20b7e90d56461cac70dd89",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 176,
"avg_line_length": 43.97752808988764,
"alnum_prop": 0.6373275421563618,
"repo_name": "APNIC-net/whois",
"id": "afc01dee95dc90578e18c9c13c41150b49bd17a9",
"size": "782... |
module I18n
DEFAULT_INTERPOLATION_PATTERNS = [
/%%/,
/%\{([\w|]+)\}/, # matches placeholders like "%{foo} or %{foo|word}"
/%<(\w+)>([^\d]*?\d*\.?\d*[bBdiouxXeEfgGcps])/ # matches placeholders like "%<foo>.d"
].freeze
INTERPOLATION_PATTERN = Regexp.union(DEFAULT_INTERPOLATIO... | {
"content_hash": "7d00a81ba9706eebd31cf0b8ec593bc3",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 99,
"avg_line_length": 39.638888888888886,
"alnum_prop": 0.5970567624386826,
"repo_name": "Homebrew/brew",
"id": "dab8f0ed32efde768a6bc96001736da1ef5e2f4b",
"size": "1611",... |
<div class="container">
<h2>Register to centre</h2>
<form class="form-horizontal" method="POST" action="/manage/submit2">
<div class="form-group">
<label class="control-label col-sm-2" for="team">Factory:</label>
<div class="col-sm-10">
<input class="form-control... | {
"content_hash": "3c95ca175d30fb5f20b561660b65809b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 114,
"avg_line_length": 38.5,
"alnum_prop": 0.5335497835497836,
"repo_name": "LeiPei/RobotProject",
"id": "91dca03c3a7fd8da8f3144743924793710c4d27e",
"size": "924",
"bina... |
/*eslint-env node, mocha */
var expect = require('expect.js');
var expand = require('../../api/common')({client: {}}).expandEmbeddedObject;
describe('Embedded object expansion', function () {
it('does nothing if it doesnt find the test field', function (done) {
expect(expand({'hello': 'world'}, 'a', 'b')).to.b... | {
"content_hash": "76989eb1f989ebe0b3a0a8b570b03169",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 132,
"avg_line_length": 45.06896551724138,
"alnum_prop": 0.6151491966335119,
"repo_name": "gajjargaurav/seguir",
"id": "151fa014d3de01371cffcd765aa93ec3b6eafca3",
"size": "... |
import os
import sys
import yaml
def parse_args(envirnment, arguments):
manifest = envirnment.manifest
try:
with open(manifest, 'r') as stream:
available_arguments = yaml.load(stream)
except:
print('An error occurred while attempting to open the Manifest-file.')
sys.exi... | {
"content_hash": "bf2e90a267fe69448f5991e473fdf954",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 123,
"avg_line_length": 34.707070707070706,
"alnum_prop": 0.5480209545983702,
"repo_name": "char16t/wa",
"id": "9f88fd3bfd2379ec8c2ca5f48640abaca5ab04df",
"size": "3571",
... |
var Time = React.createClass({
getInitialState: function () {
return { time: new Date() };
},
componentDidMount: function () {
this.interval = setInterval(function () {
this.setState({ time: new Date() });
}.bind(this), 500);
},
componentWillUnmount: function () {
clearInterval(this.in... | {
"content_hash": "781d8f7d1670dc7a6d54fb0e1f9bc465",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 45,
"avg_line_length": 20.4,
"alnum_prop": 0.5901960784313726,
"repo_name": "maxleiko/react-simple",
"id": "807b5e3d85f2ffafba5b9897ce1c9d0ff81e9f59",
"size": "510",
"bin... |
<?php namespace System\Console;
use File;
use Illuminate\Console\Command;
use System\Classes\UpdateManager;
use System\Classes\PluginManager;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputArgument;
class PluginRemove extends Command
{
use \Illuminate\Console\Confirmabl... | {
"content_hash": "061b6b5a975c4536f2731d69f096b769",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 118,
"avg_line_length": 25.22772277227723,
"alnum_prop": 0.5910518053375197,
"repo_name": "sysatom/ComicSearch",
"id": "c2ad2610e0ff5602564f66656ecb7a5bfb739f5b",
"size": ... |
package org.apache.hadoop.hdfs.server.namenode;
import static org.apache.hadoop.hdfs.server.namenode.FSEditLogOpCodes.OP_ADD;
import static org.apache.hadoop.hdfs.server.namenode.FSEditLogOpCodes.OP_ADD_BLOCK;
import static org.apache.hadoop.hdfs.server.namenode.FSEditLogOpCodes.OP_ADD_CACHE_DIRECTIVE;
import static ... | {
"content_hash": "ce7877dd1b1e61d257b38008277632ef",
"timestamp": "",
"source": "github",
"line_count": 4391,
"max_line_length": 98,
"avg_line_length": 32.240491915281254,
"alnum_prop": 0.6614206600361664,
"repo_name": "DislabNJU/Hadoop",
"id": "45ea168e4fa4aa78e110e62778bf831be19b1d00",
"size": "1... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['e... | {
"content_hash": "5e21c405717cdbf36fc07c5bcb078a57",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 187,
"avg_line_length": 42.26923076923077,
"alnum_prop": 0.6760691537761602,
"repo_name": "ahwolf/rita_irwin",
"id": "c1bf5233c1977c8fa020ef8d897c46bbd4f4be76",
"size": "10... |
<!--
~ Copyright 2000-2007 JetBrains s.r.o.
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicabl... | {
"content_hash": "f5f36c13ab8074c8c2f6dcef7234702d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 106,
"avg_line_length": 32.56666666666667,
"alnum_prop": 0.6683725690890481,
"repo_name": "jexp/idea2",
"id": "a71f386311ed3cb876ca544e4a6ac19c5995fa35",
"size": "977",
"... |
// 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.android_webview.test;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.support.test.InstrumentationRegi... | {
"content_hash": "af4d40766382868acb8131d2f84e8e69",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 99,
"avg_line_length": 44.4331550802139,
"alnum_prop": 0.7042965459140691,
"repo_name": "scheib/chromium",
"id": "ac9d30519d621b592a670b1670182885dedda0a2",
"size": "8309"... |
using ManagerShop.Infrastructure.Core;
using ManagerShop.Infrastructure.Core.Web;
using ManagerShop.DTOModel.Model.RaKuTen;
using ManagerShop.Service.Contract;
using ManagerShop.wcfService.Product;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Linq... | {
"content_hash": "c158bf12cd76e8b9354893405b32c533",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 178,
"avg_line_length": 43.483333333333334,
"alnum_prop": 0.560367957071675,
"repo_name": "dawutao/ManagerShop",
"id": "95bc3319ccfe66631d898b2149dd01f33947f7f9",
"size": ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_wchar_t_fscanf_54d.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-54d.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: fscanf Read data ... | {
"content_hash": "454eeee142630fb98f8d1ed4bb08bc0c",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 157,
"avg_line_length": 34.107142857142854,
"alnum_prop": 0.7371727748691099,
"repo_name": "JianpingZeng/xcc",
"id": "8f136b50c870f90f04e6d26b8a813dc53df2dd85",
"size": "19... |
FROM local/base
MAINTAINER Keith Hamilton <keith.hamilton@wk.com>
# Install git
RUN apt-get install -y git
# Install Maven
RUN add-apt-repository "deb http://ppa.launchpad.net/natecarlson/maven3/ubuntu precise main"
RUN apt-get update && apt-get -y --force-yes install maven3
RUN ln -s /usr/share/maven3/bin/mv... | {
"content_hash": "5793907f90b0a2a9dc0146ba7c664c7e",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 118,
"avg_line_length": 34.02857142857143,
"alnum_prop": 0.7439126784214946,
"repo_name": "wieden-kennedy/composite-demo",
"id": "aa330e135736eb1dc2299299b7adb8b61f0f6c5f",
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "0b82a7a6d77f808ccc0edd2d59c06e50",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 182,
"avg_line_length": 40.51111111111111,
"alnum_prop": 0.7383433900164564,
"repo_name": "googleapis/google-api-java-client-services",
"id": "92c4960b12d2ff2416e6b4019eba2bc... |
ACCEPTED
#### According to
GRIN Taxonomy for Plants
#### Published in
Feddes Repert. 74:30. 1967
#### Original name
null
### Remarks
null | {
"content_hash": "9d3fc1ddeeda628d258cf2913bdcdcc0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 26,
"avg_line_length": 10.846153846153847,
"alnum_prop": 0.6950354609929078,
"repo_name": "mdoering/backbone",
"id": "7af8f439611a02460edcf117ca53ead5b1beb01e",
"size": "23... |
<?php
/**
* @author: Thomas Prelot <tprelot@gmail.com>
* @author: Brahim BOUKOUFALLAH <brahim.boukoufallah@idci-consulting.fr>
* @license: MIT
*/
namespace IDCI\Bundle\StepBundle\Flow;
use IDCI\Bundle\StepBundle\Step\StepInterface;
interface FlowHistoryInterface
{
/**
* Store the current step into th... | {
"content_hash": "08ed0bba671d3607f8635f27e9df901c",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 100,
"avg_line_length": 24.77922077922078,
"alnum_prop": 0.6137316561844863,
"repo_name": "IDCI-Consulting/StepBundle",
"id": "ab320c685441f42c03e25d025e875914b98ded23",
"s... |
import os
from django.utils import six
from django.core.files.base import File, ContentFile
from django.core.files.storage import (
default_storage, Storage)
from django.db.models.fields.files import ImageFieldFile, FieldFile
from django.core.files.images import get_image_dimensions
from django.utils.safestring i... | {
"content_hash": "6c7b121d0812d4c8ff6c89f4a2e98ce0",
"timestamp": "",
"source": "github",
"line_count": 753,
"max_line_length": 79,
"avg_line_length": 38.45683930942895,
"alnum_prop": 0.6095379515159887,
"repo_name": "sandow-digital/easy-thumbnails-cropman",
"id": "796527962b8ccf7c380b598f7f7f4b59764... |
if (TARGET libzmijcmake)
return()
endif()
find_program(GIT_EXECUTABLE git)
if(EXISTS ${CMAKE_CURRENT_BINARY_DIR}/cmake-scripts)
execute_process(COMMAND ${GIT_EXECUTABLE} pull
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cmake-scripts)
else()
execute_process(COMMAND ${GIT_EXECUTABLE} clone -b deve... | {
"content_hash": "645b7e9c32aa5c5b1c796c44a1012e01",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 118,
"avg_line_length": 37.11764705882353,
"alnum_prop": 0.7464342313787639,
"repo_name": "zmij/math",
"id": "e0ffb5cdf1f918b0a3958604f96e47d2c518506a",
"size": "722",
"b... |
<?php
namespace Symfony\Bundle\WebConfiguratorBundle\Step;
use Symfony\Component\Form\FormContext;
use Symfony\Bundle\WebConfiguratorBundle\Form\DoctrineForm;
use Symfony\Bundle\WebConfiguratorBundle\Exception\StepRequirementException;
/**
* Doctrine Step.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
c... | {
"content_hash": "bda5bdf3d7f7563d92c6d5a502d4e995",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 76,
"avg_line_length": 20.96969696969697,
"alnum_prop": 0.5122832369942196,
"repo_name": "ivanrey/Symfony-Community",
"id": "eaee60341ba8c5a917bdbe5fa334c7e047069aff",
"si... |
module Bitfinex
module RESTv1Orders
# Submit a new order
# @param symbol [string] The name of the symbol (see `#symbols`)
# @param amount [decimal] Order size: how much to buy or sell
# @param type [string] Either “market” / “limit” / “stop” / “trailing-stop” / “fill-or-kill” / “exchange market” / “ex... | {
"content_hash": "fc8235367356adf6295c8335d57afa7e",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 292,
"avg_line_length": 46.05833333333333,
"alnum_prop": 0.6457390989686991,
"repo_name": "bitfinexcom/bitfinex-api-rb",
"id": "fe5b3e1bbf1fc4a51b38fe27af50f3af9c33813c",
... |
struct linux_platform;
struct droid_platform {
struct wcore_platform wcore;
struct linux_platform *linux;
};
DEFINE_CONTAINER_CAST_FUNC(droid_platform,
struct droid_platform,
struct wcore_platform,
wcore)
struct wcore_platform*
... | {
"content_hash": "14587d4a4503509854a8e00df8c4e9c8",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 24.928571428571427,
"alnum_prop": 0.5931232091690545,
"repo_name": "maurossi/waffle",
"id": "e5c2ff85c0c9d22df9cbf4f712127502f931e618",
"size": "1802... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed><tipo>Rua</tipo><logradouro>112D</logradouro><bairro>Acaracuzinho</bairro><cidade>Maracanaú</cidade><uf>CE</uf><cep>61920510</cep></feed>
| {
"content_hash": "1d3eca006bbedb6ebfe48d8dd0203a4a",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 143,
"avg_line_length": 100,
"alnum_prop": 0.725,
"repo_name": "chesarex/webservice-cep",
"id": "84716533db8f790ef9dfd8a570ac355c5d2624a6",
"size": "201",
"binary": false,... |
from __future__ import absolute_import
import os
import shutil
import nox
LOCAL_DEPS = (os.path.join("..", "api_core"), os.path.join("..", "core"))
@nox.session(python="3.7")
def lint(session):
"""Run linters.
Returns a failure if the linters find linting errors or sufficiently
serious code quality iss... | {
"content_hash": "4de065bbffef44d93cd81da0e6470a5f",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 84,
"avg_line_length": 30.07638888888889,
"alnum_prop": 0.612791503117063,
"repo_name": "tswast/google-cloud-python",
"id": "0f528b7f3902a3125b02718b92dd0ccdb51edc45",
"si... |
#include BLIK_OPENSSL_V_openssl__e_os2_h //original-code:<openssl/e_os2.h>
#include <string.h>
#include BLIK_OPENSSL_V_openssl__crypto_h //original-code:<openssl/crypto.h>
#ifdef OPENSSL_SYS_VMS
# if __CRTL_VER >= 70000000 && \
(defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE)
# define VMS_GMTIME_OK
# endif... | {
"content_hash": "7a4506d6af2c766967ea33239c65435c",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 143,
"avg_line_length": 31.45505617977528,
"alnum_prop": 0.5512591534202537,
"repo_name": "BonexGu/Blik2D-SDK",
"id": "bb9cc965d5ab1af1da0646ddf11701d7ce0b38d9",
"size": "... |
package com.easyooo.framework.sharding;
import java.io.Serializable;
/**
*
* 数据源 Key
*
* @author Killer
*/
@SuppressWarnings("serial")
public class DataSourceKey implements Serializable {
private String key;
public DataSourceKey(String key){
this.key = key;
}
public String getKey() {
return key;
}
... | {
"content_hash": "2dde2e165137315f8faae15544d9e13d",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 65,
"avg_line_length": 16.962264150943398,
"alnum_prop": 0.6418242491657397,
"repo_name": "leopardoooo/easyooo-framework",
"id": "9d5a562b3d536510a2833d8e46cc0e173c3d1175",
... |
package rtdc.android.voip;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import rtdc.android.impl.AndroidVoipController;
import rtdc.android.impl.voip.AndroidVoIPThread;
import rtdc.core... | {
"content_hash": "248540b2de0ab944dd23c41bc0716c0c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 148,
"avg_line_length": 46.14545454545455,
"alnum_prop": 0.7072498029944838,
"repo_name": "Bathlamos/RTDC",
"id": "e12183f42b9a1a987cd7c2d6f49eae1370eba721",
"size": "3761"... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@android:color/black">
<RelativeLayout
android:id="@+id/surface_container"
andro... | {
"content_hash": "75693063daac494a1b397781fae06233",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 74,
"avg_line_length": 35.43421052631579,
"alnum_prop": 0.6080579279613814,
"repo_name": "huunghiapn/giaitriviet",
"id": "bcd7b30475f2bb05a90b7548c174c0cbef79b98a",
"size"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8968ab5f960c79f5de678380fd3357c9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "828958f83c11ae7505d0bbc020703066152d136a",
"size": "18... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.R.Components.Test.Fakes.Undo {
/// <summary>
/// This class is to make it easy to c... | {
"content_hash": "cc77c06c34623f7fd052472cdf5d5b3c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 162,
"avg_line_length": 42.15625,
"alnum_prop": 0.7131208302446257,
"repo_name": "AlexanderSher/RTVS",
"id": "3345e0fbe28a7e6529b5898629cd76dfee5cd94b",
"size": "1351",
"... |
import mock
from rdomanager_oscplugin.tests.v1.overcloud_node import fakes
from rdomanager_oscplugin.v1 import overcloud_node
class TestDeleteNode(fakes.TestDeleteNode):
def setUp(self):
super(TestDeleteNode, self).setUp()
# Get the command object to test
self.cmd = overcloud_node.Delet... | {
"content_hash": "290e9353022891cb5a2483fcf5332025",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 74,
"avg_line_length": 38.2,
"alnum_prop": 0.6116928446771379,
"repo_name": "rdo-management/python-rdomanager-oscplugin",
"id": "5433a0a62dd611be0b2fe96b90a962085da3fbb1",
... |
<section class="content-login remodal" data-remodal-id="doi-mat-khau" >
<form method="post" action="<?php echo base_url() ?>default/login/changepass?url=<?php echo "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; ?>">
<h1>ĐỔI MẬT KHẨU</h1>
<?php
if($this->session->flashdata('ses_change... | {
"content_hash": "5d7cc01b667c0977a0b11bb2a9b12236",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 155,
"avg_line_length": 39.11818181818182,
"alnum_prop": 0.5335812224029747,
"repo_name": "hellohello101093/anco-website",
"id": "da7a93857cd12bc9f50b93a22bb7aeb32e38f72a",
... |
<!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_65) on Wed Dec 03 19:50:46 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class net.s... | {
"content_hash": "c0fdd4301879685cacac80843f965e15",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 421,
"avg_line_length": 44.65384615384615,
"alnum_prop": 0.6487223657766293,
"repo_name": "byronka/xenos",
"id": "4ea67990f2a9ec84eb0c45b54c95587c6c02f59e",
"size": "6966"... |
package cn.wizzer.modules.models.sys;
import cn.wizzer.common.base.Model;
import org.nutz.dao.entity.annotation.*;
import java.io.Serializable;
/**
* Created by wizzer on 2016/8/11.
*/
@Table("sys_api")
public class Sys_api extends Model implements Serializable {
private static final long serialVersionUID = 1L... | {
"content_hash": "f1cefb2b5326899f9fe7fddcf832516e",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 60,
"avg_line_length": 20.681818181818183,
"alnum_prop": 0.6241758241758242,
"repo_name": "EternityTony/acc_cloud",
"id": "977b5102e5218a9630d68fdeb2df01870e524c34",
"size"... |
class SetDefaultProjectDays < ActiveRecord::Migration[5.1]
def change
ActiveRecord::Base.connection.execute(
"UPDATE projects SET days_to_keep_sample_private = 365
WHERE days_to_keep_sample_private is null"
)
change_column :projects, :days_to_keep_sample_private, :integer, :default => 365 , ... | {
"content_hash": "230b551c6d255f27ea2e851f3e41ce7c",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 101,
"avg_line_length": 38.333333333333336,
"alnum_prop": 0.7043478260869566,
"repo_name": "chanzuckerberg/idseq-web",
"id": "d1e09485767fe9c943cb86555e81fd0ca8ea15a5",
"siz... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "833aaba6832a60e951991459bdde906f",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.92822966507177,
"alnum_prop": 0.5097483934211959,
"repo_name": "dcarda/aba.route.validator",
"id": "05131b4cfb214c30706e8e310d3345213b60b456",
"... |
using System;
using System.Collections;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Provider;
using MS.Win32;
namespace MS.Internal.AutomationProxies
{
class WindowsNonControl: ProxyHwnd
{
// ------------------------------------------------------
//
... | {
"content_hash": "1f8d51a386cad182e4b70bf8c3b47446",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 101,
"avg_line_length": 28,
"alnum_prop": 0.5181017612524462,
"repo_name": "mind0n/hive",
"id": "6c87cd71aae8af8c2b43b96a4f6cfac78e107416",
"size": "2610",
"binary": fals... |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class NicSecondaryIpResponse
{
/// <summary>
/// the ID of the secondary private IP addr
/// </summary>
pu... | {
"content_hash": "4fc11aae838e2a6b6acd80128bf4b708",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 100,
"avg_line_length": 25.157894736842106,
"alnum_prop": 0.5658995815899581,
"repo_name": "richardlawley/cloudstack.net",
"id": "7f282a09e03ead32e8dbca7f70b7760590a59676",
... |
function setup()
end
function execute(deltaT)
sysLoad("asset://Polyline.lua")
end
function leave()
end
| {
"content_hash": "23e2582c912aaddace5df44aedf3f6a0",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 32,
"avg_line_length": 10.7,
"alnum_prop": 0.7383177570093458,
"repo_name": "kennykwok1/PlaygroundOSS",
"id": "bf94338df8d925d2661ae283776107a66b8062dc",
"size": "107",
"... |
import {escapeCssSelectorIdent} from '#core/dom/css-selectors';
import {parseQueryString} from '#core/types/string/url';
import {toWin} from '#core/window';
/**
* Returns true if the page should be prerendered (for being an active page or
* first page).
* @param {!AmpElement} pageElement
* @return {boolean}
*/
... | {
"content_hash": "a407adfb570c69bd6df5c5dde145721d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 78,
"avg_line_length": 34.86363636363637,
"alnum_prop": 0.7327249022164276,
"repo_name": "rsimha-amp/amphtml",
"id": "cbd65463b3267693ad65a19a2ad79177aa4d52cc",
"size": "13... |
<!-- Modal -->
<div class="modal fade" id="modal_wipeHours" tabindex="-1" role="dialog" aria-labelledby="modal-title" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden... | {
"content_hash": "a27d75c1c9f180fabc8cf980fe26ef0f",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 168,
"avg_line_length": 31.58974358974359,
"alnum_prop": 0.6359577922077922,
"repo_name": "HexagonSystems/website",
"id": "916411cefcc6e14f110c8e2ccd661f1b5ebe851b",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.