text stringlengths 2 1.04M | meta dict |
|---|---|
// Disable Windows complaining about max template size.
#pragma warning (disable : 4503)
#endif // _MSC_VER
#if defined (_WIN32)
#ifdef _MSC_VER
#pragma warning (disable : 4251)
#endif // _MSC_VER
#ifdef USE_IMPORT_EXPORT
#ifdef AWSDOC_S3ENCRYPTION_EXPORTS
#define AWSDOC_S3ENCRYPTION_API __declspec(dllexp... | {
"content_hash": "e35642758c3acf9c4de6dc277fb96ded",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 56,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.7195121951219512,
"repo_name": "awsdocs/aws-doc-sdk-examples",
"id": "39b46f5265879f2c527a69e31a7625159d6d3187",
... |
import { BaseListener } from '../../types'
export type OnFrameDeletedRecorder = []
/**
* Called when a frame is deleted
*/
export type Shape = BaseListener<OnFrameDeletedRecorder>
| {
"content_hash": "31b07fd6e0aab43b88844939f741c9ff",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 56,
"avg_line_length": 23,
"alnum_prop": 0.7228260869565217,
"repo_name": "SeleniumHQ/selenium-ide",
"id": "9c7499b98dc98d476afe8565e8c0f046dc55485e",
"size": "184",
"bina... |
package org.orekit.files.ccsds.ndm.tdm;
import org.hamcrest.CoreMatchers;
import org.hamcrest.MatcherAssert;
import org.hipparchus.util.FastMath;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.orekit.Utils;
import org.orekit.data.DataSou... | {
"content_hash": "4ce864369fe122a50f8364ed7cbef410",
"timestamp": "",
"source": "github",
"line_count": 1142,
"max_line_length": 170,
"avg_line_length": 57.646234676007005,
"alnum_prop": 0.6768288978004617,
"repo_name": "CS-SI/Orekit",
"id": "2d82290a8fc204d8442f8457285673c8ba973e1e",
"size": "6663... |
#include <aws/codedeploy/model/BatchGetDeploymentGroupsRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CodeDeploy::Model;
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
BatchGetDeploymentGroupsRequest::BatchGetDeploymentGroupsRequest() :
m_app... | {
"content_hash": "70a43bd4e8af6b1885f10c00894b9a4c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 145,
"avg_line_length": 27.51923076923077,
"alnum_prop": 0.793151642208246,
"repo_name": "aws/aws-sdk-cpp",
"id": "27c0e246821cfd47bf04019539bfe686535f9d15",
"size": "1550"... |
USER=yourjenkinsusername
PWD=somejenkinspwdtoken
URL=https://jenkins.yourdomain.com/view/product/eFeedback/cc.xml
# Directory setup
SCRIPTDIR=$(dirname $(readlink -f $0))
SOUNDDIR="$SCRIPTDIR/../sounddir"
FILEOLD="/tmp/efeedback_old.xml"
FILENEW="/tmp/efeedback_new.xml"
# Debug data
#FILEOLD="../testdata/cc-test_all... | {
"content_hash": "91efc295e99e4f1f435179c41338d323",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 110,
"avg_line_length": 21.379310344827587,
"alnum_prop": 0.6758064516129032,
"repo_name": "LechnerMartin/KISSJenkinsAudioMonitor",
"id": "a351643e14ecc3c3f64fddff26ddab915c3... |
package be.kdg.healthtips.task;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Build;
import com.temboo.Library.Fitbit.Activities.GetActivityDailyGoals;
import com.temboo.core.TembooException;
import com.temboo.core.Te... | {
"content_hash": "252793138ece9b6b0e0a6093cbef3898",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 117,
"avg_line_length": 39.607142857142854,
"alnum_prop": 0.7204688908926962,
"repo_name": "GoGoris/TipFit",
"id": "74e6f4cb7db54f849b36fa69f312ddd53922ff5b",
"size": "2218... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a38f3d715f389e66ed2592e19f2941f4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "eee414b9de8774c0af0f04909a01c69bdcae2916",
"size": "195... |
using System;
using System.CodeDom;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace EmptyKeys.UserInterface.Generator.Types.Controls
{
... | {
"content_hash": "d5b1092fcdde739113be70f71d809d75",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 152,
"avg_line_length": 34.4,
"alnum_prop": 0.6111111111111112,
"repo_name": "EmptyKeys/UI_Generator",
"id": "8e777cf18c7cbfe8cbe4624bc25bd5eec84a330f",
"size": "1550",
"... |
Acumen Solutions Web App, called FDA Food Recalls leverages the openFDA API for the Food data sets. Acumen's team decided to use the Food data sets of the API, instead of the Drug data sets, in order to present a robust solution while demonstrating it's agile capacity in the short period available for prototyping.
###... | {
"content_hash": "c5a0356c325ea6cb8e96f28c7615f3d8",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 594,
"avg_line_length": 73.5,
"alnum_prop": 0.7987995198079232,
"repo_name": "AcumenSolutions/acumen-gsa-agile-prototype",
"id": "2c195e7297cdd4af4ddda5884d465d2b1de03950",
... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Text;
using Orleans.Runtime;
namespace Orleans
{
internal static class InternerConstants
{
/* Recommended cache sizes, based on expansion policy of Concur... | {
"content_hash": "760999a8e4dd78eb65a6d3b6aa5e8591",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 190,
"avg_line_length": 37.97872340425532,
"alnum_prop": 0.5334267040149393,
"repo_name": "sebastianburckhardt/orleans",
"id": "e453a0db2f748759df21c5e108c79db66ce01386",
... |
Web developer
### Projects:
* [Google Wifi Status](https://www.npmjs.com/package/google-wifi-status)
* [File Hash Verifier](https://joelgeorgev.github.io/file-hash-verifier/)
* [Emoji Chatbot](https://joelgeorgev.github.io/emoji-chatbot)
* [React TypeScript Setup Guide](https://github.com/joelgeorgev/react-ts-setup-gu... | {
"content_hash": "94f939f43864f54597b5c3b8049810c7",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 100,
"avg_line_length": 47.4,
"alnum_prop": 0.7524613220815752,
"repo_name": "joelgeorgev/joelgeorgev.github.io",
"id": "568c96d7da55de036b789d02cb1db36c170466ba",
"size": ... |
using System.Collections.Generic;
using HS.SyntaxHighlighting;
namespace HS.PasteBin.Web.Tests
{
public class MockHighlighter : IHighlighter
{
private readonly IDictionary<string, string> languages;
public MockHighlighter(IDictionary<string, string> languages)
{
... | {
"content_hash": "a046f48744b23d7b076a8f938e59b1be",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 69,
"avg_line_length": 25.4,
"alnum_prop": 0.5905511811023622,
"repo_name": "rikkus/hs-pastebin",
"id": "25d0492d4bea847231126743be90fac854ae2f4f",
"size": "637",
"binary... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Widget - Default functionality</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.9.1.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.posit... | {
"content_hash": "bcadb64afa1880c1ef261f423b457b97",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 82,
"avg_line_length": 26.214285714285715,
"alnum_prop": 0.6174806120310208,
"repo_name": "lundskommun/resejamforaren",
"id": "6fd5239df570fb538c4580a143bca0559e66758d",
"... |
#pragma once
#include "common/RhoStd.h"
#include "common/IRhoClassFactory.h"
#include "common/RhoMutexLock.h"
#include "net/INetRequest.h"
#include "ISyncProtocol.h"
#include "SyncSource.h"
#include "SyncNotify.h"
#include "db/DBAdapter.h"
#include "logging/RhoLog.h"
namespace rho {
namespace sync {
class CSyncEn... | {
"content_hash": "07fcfd12b612564ebc065df5273bf494",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 141,
"avg_line_length": 35.16766467065868,
"alnum_prop": 0.7173505874340201,
"repo_name": "rhomobile/rhoconnect-client",
"id": "06a95a4c1b62cff80d949d4b85496e6961eb252d",
... |
Google-Says
===========
A party game where people guess what Google will suggest
| {
"content_hash": "77646dedc7b1eb6a05f599832760014c",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 56,
"avg_line_length": 20.5,
"alnum_prop": 0.6951219512195121,
"repo_name": "atav32/Google-Says",
"id": "4a1c8cd914707778ca2ed8b4e1a1c97343b476a6",
"size": "82",
"binary":... |
sudo docker push nilqed/fricas:latest
| {
"content_hash": "32b024bea01f528b58c816c84ad271cc",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 37,
"avg_line_length": 38,
"alnum_prop": 0.8421052631578947,
"repo_name": "nilqed/fricas_docker",
"id": "96461a410a32e442f9e20c7eea0edd65abb96a21",
"size": "48",
"binary":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>lens: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel=... | {
"content_hash": "38662c822ca7c3de0e38c83e3c8cb5e1",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 157,
"avg_line_length": 39.78362573099415,
"alnum_prop": 0.5378509481111274,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "2b93a2b5a740657d649017cb74a12f14b3ef683f",
... |
<section class="container" data-ng-controller="CalendarsController" ng-init="find()">
<div class="page-header">
<h1>Request New Event</h1>
</div>
<div class="col-md-12">
<form class="form-horizontal" data-ng-submit="createMongo()" novalidate>
<fieldset>
<div class... | {
"content_hash": "d77374a26fa4ea241f9a587527a0bbbd",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 187,
"avg_line_length": 57.326530612244895,
"alnum_prop": 0.5122819508721965,
"repo_name": "CEN3031-7C/project",
"id": "0d707dae6890691bd1b9930807657aaaefa4be3b",
"size": "... |
<?php
/**
* Created by PhpStorm.
*
* Duc-Anh LE (ducanh.ke@gmail.com)
*
* User: ducanh-ki
* Date: 3/13/17
* Time: 4:12 PM
*/
namespace CreativeDelta\User\Core\Domain\Entity;
class SessionLog
{
protected $id;
protected $datetime;
protected $previousHash;
protected $returnUrl;
protected $da... | {
"content_hash": "e6be784511877377e461f37eebbaf9c2",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 50,
"avg_line_length": 15.375,
"alnum_prop": 0.5209505941213258,
"repo_name": "GoPlan/user-register-authentication",
"id": "1549649a8c7790807f1cee2d81be5bd7206bd14a",
"siz... |
<?php
// Get the PHP helper library from https://twilio.com/docs/libraries/php
require_once '/path/to/vendor/autoload.php'; // Loads the library
use Twilio\Rest\Client;
// Your Account Sid and Auth Token from twilio.com/user/account
// To set up environmental variables, see http://twil.io/secure
$sid = getenv('TWILIO_... | {
"content_hash": "17687d070e28658bd0c4301b70d52966",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 72,
"avg_line_length": 39.526315789473685,
"alnum_prop": 0.7496671105193076,
"repo_name": "TwilioDevEd/api-snippets",
"id": "0df2f258f4228677ed1df6fb110678c1c2749775",
"siz... |
/*************************************************************************/
/* video_stream.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "5b108e716bc3906bbb17f63f2642622a",
"timestamp": "",
"source": "github",
"line_count": 552,
"max_line_length": 122,
"avg_line_length": 23.42391304347826,
"alnum_prop": 0.6245939675174014,
"repo_name": "tomasy23/evertonkrosnodart",
"id": "62dee1336a7d3e9365b85fa48898cf148c56cd99",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>class RubyXL::Text - rubyXL 3.3.13</title>
<script type="text/javascript">
var rdoc_rel_prefix = "../";
</script>
<script src="../js/jquery.js"></script>
<script src="../js/darkfish.js"></script>
<link href="../css/fonts.css" rel="stylesheet">
<link hre... | {
"content_hash": "e0d2dfa879b676c2441d1b2567c586d9",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 533,
"avg_line_length": 28.706976744186047,
"alnum_prop": 0.5907323395981854,
"repo_name": "99cm/rubyXL",
"id": "c3cbdd7e198864f33559e5161ed0a1c1866787a9",
"size": "6172",... |
const { optimize: { OccurrenceOrderPlugin } } = require('webpack')
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
const merge = require('webpack-merge')
const { config } = require('./shared.config')
module.exports = merge(config, {
profile: true,
cache: false,
watch: false,
stats: {
assets: t... | {
"content_hash": "db48c4a65aadd53faf8cfba5adaf73fa",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 66,
"avg_line_length": 18.641025641025642,
"alnum_prop": 0.6286107290233838,
"repo_name": "comicchisel/frontend",
"id": "e06d00b5fb14a04e01f8bcebc2b70ce8bf48aa11",
"size": ... |
<ion-view view-title="Select Route">
<div class="bar bar-header bar-positive">
<h1 class="title">Ferry Tracker</h1>
</div>
<ion-content class="padding">
<div class="list tracker-list">
<label class="item item-input item-select">
<div class="input-label">Select Route</div>
<sele... | {
"content_hash": "fa5bc9aff274a072371c6a7f48fe1803",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 120,
"avg_line_length": 40.8125,
"alnum_prop": 0.6202143950995406,
"repo_name": "palsingh/hackathon",
"id": "b8660cc4dcf7fb6c34de420d76b69b23959dbff6",
"size": "653",
"bi... |
angular.module('thingsServices', ['ngResource']).
factory('Things', function($resource) {
return $resource('things/all.json', {}, {
query: {method:'GET', isArray:true}
});
}).
factory('ThingsByTag', function($resource) {
return $resource('things/byTag/:tagTitle.json', {}, {
query: {method:... | {
"content_hash": "631881d4e44d0dc94a5f91b9dd731a85",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 106,
"avg_line_length": 38,
"alnum_prop": 0.6294736842105263,
"repo_name": "Horsed/learning",
"id": "5c8bdba4d24f8f9c1de7adf388be04749a637ce2",
"size": "950",
"binary": f... |
* Timestamp service
* Header parser service
* URL shortener service
* Image Search Abstraction Layer
* File MetaData service
| {
"content_hash": "a0c1e232c0a7653ccfd657d371ff4182",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 32,
"avg_line_length": 25,
"alnum_prop": 0.8,
"repo_name": "szib/fcc-microservices",
"id": "27f5ea2ceb65f4a915aac10622a85eacca9dad0d",
"size": "154",
"binary": false,
"c... |
// ***********************************************************************
// Assembly : MetroFramework.Design
// Author : velez
// Created : 12-09-2015
//
// Last Modified By : velez
// Last Modified On : 12-08-2015
// ***********************************************************************
... | {
"content_hash": "2cf0f93394295e2dca342711bd9e2aca",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 129,
"avg_line_length": 33.625,
"alnum_prop": 0.5656753407682775,
"repo_name": "barecool/winforms-modernui",
"id": "7e100f4343ae85b70173b32339b5675c6ac1950b",
"size": "2963... |
// Type definitions for @ag-grid-community/core v25.0.1
// Project: http://www.ag-grid.com/
// Definitions by: Niall Crosby <https://github.com/ag-grid/>
import { RowNode } from "../entities/rowNode";
export interface RowBounds {
rowTop: number;
rowHeight: number;
rowIndex?: number;
}
export interface IRowM... | {
"content_hash": "468bb9c85852d920a8476a99ba9a2acd",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 121,
"avg_line_length": 59.870370370370374,
"alnum_prop": 0.7039901020723786,
"repo_name": "ceolter/angular-grid",
"id": "e2783f5dbc781479104fedcc8af45cd20e065085",
"size":... |
@implementation BlueButton
-(instancetype)initWithFrame:(CGRect)frame{
if(self = [super initWithFrame:frame]){
self.backgroundColor = [UIColor blueColor];
[self setTitle:@"它" forState:UIControlStateNormal];
NSLog(@"你点了绿色按钮");
}
return self;
}
@end
| {
"content_hash": "6a851fadad0b51909cbd9ade1551ae85",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 59,
"avg_line_length": 21.428571428571427,
"alnum_prop": 0.6333333333333333,
"repo_name": "CN-CJ/ExtractViewFromVC",
"id": "403d0bc610783799fd82d46becea74fde282ea7b",
"size... |
package com.att.research.xacml.std.datatypes;
import java.text.ParseException;
import com.att.research.xacml.api.SemanticString;
/**
* ISO8601Duration implements the ISO8601 duration data type with parsers from strings and to strings.
*
* @author car
* @version $Revision: 1.2 $
*/
public class ISO8601Duration... | {
"content_hash": "238b1d961c8e994d6de76232b7e331c0",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 163,
"avg_line_length": 28.192528735632184,
"alnum_prop": 0.6540617674039344,
"repo_name": "att/XACML",
"id": "45cbf932caa488b76743f82d227ab1649f31e556",
"size": "9933",
... |
module microcoverage
## Utility function to construct an Expr from head and args.
function mkex(head::Symbol, args...)
v = Expr(head)
for arg in args
push!(v.args, arg)
end
v
end
## We annotate the source file with a sequence of ints and strings.
typealias AnnotationIndexType Array{Union(... | {
"content_hash": "e9b5eda02495a17232e164787f81afeb",
"timestamp": "",
"source": "github",
"line_count": 477,
"max_line_length": 110,
"avg_line_length": 35.125786163522015,
"alnum_prop": 0.528498955535661,
"repo_name": "StephenVavasis/microcoverage",
"id": "b24c3bca522cc4969e54e442143bd16075d90699",
... |
define([
'../dom/el',
'../dom/selector',
'jef/functional/isArray',
'jef/domdiff/diff',
'jef/domdiff/applyDiff'
], function (
el,
selector,
isArray ,
domDiff,
applyDiff
) {
'use strict';
/**
* Compute and apply difference between node and streamed value.
*
... | {
"content_hash": "1fadecd02d450c54356028502d77808f",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 68,
"avg_line_length": 24.25925925925926,
"alnum_prop": 0.45038167938931295,
"repo_name": "widmogrod/js-spot-the-difference",
"id": "095ae62b75def363b50f6575f772fccc57ae22b7"... |
'''
Created by auto_sdk on 2014-12-17 17:22:51
'''
from top.api.base import RestApi
class FenxiaoDiscountUpdateRequest(RestApi):
def __init__(self,domain='gw.api.taobao.com',port=80):
RestApi.__init__(self,domain, port)
self.detail_ids = None
self.detail_statuss = None
self.discount_id = None
self.... | {
"content_hash": "b579de9a0b399e9802f4bd4960b1817c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 55,
"avg_line_length": 29.31578947368421,
"alnum_prop": 0.696588868940754,
"repo_name": "CooperLuan/devops.notes",
"id": "738498e2eb6494c6f417fa77f3e95393d63627cb",
"size":... |
describe Zombie do
it 'raises an error if saved without a name' do
zombie = Zombie.new
except { zombie.save! }.to raise_error(
ActiveRecord::RecordInvalid
)
end
end
| {
"content_hash": "331f9dc6301451bb20c3f561607628ab",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 48,
"avg_line_length": 22,
"alnum_prop": 0.7159090909090909,
"repo_name": "ernestas-poskus/codeschool",
"id": "9b69e377ca59cf3d1325c5807bd2a06098b89f41",
"size": "176",
"b... |
require "spec_helper"
describe AuthorizeNet do
it "should have a module called AuthorizeNet" do
defined?(AuthorizeNet).should be_true
AuthorizeNet.class.should equal(Module)
end
it "should have a module called AIM" do
defined?(AuthorizeNet::AIM).should be_true
AuthorizeNet::AIM.class.should e... | {
"content_hash": "42c0c8ea708c87c0d022ce363aebc97b",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 140,
"avg_line_length": 28.51,
"alnum_prop": 0.6902841108383023,
"repo_name": "jinutm/silvfinal",
"id": "ff6609a6826025f89eca33d54489f7bab5a11113",
"size": "5702",
"bina... |
package jdepend.parse.sql;
import java.util.ArrayList;
import java.util.List;
import jdepend.framework.log.LogUtil;
import jdepend.framework.util.StringUtil;
import jdepend.metadata.TableInfo;
import net.sf.jsqlparser.parser.CCJSqlParserUtil;
import net.sf.jsqlparser.statement.Statement;
import net.sf.jsqlp... | {
"content_hash": "0791b88916dcb4426ef3652a784f6871",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 68,
"avg_line_length": 31.887096774193548,
"alnum_prop": 0.7152250885179565,
"repo_name": "jdepend/cooper",
"id": "8af7876bdb6e1c71a89386ef4aecb164f4745b23",
"size": "1985"... |
[](https://travis-ci.org/kitsonk/sutabu)
A minimalist AMD stubbing library for use in testing.
This requires ES5 support. Therefore IE8 and prior are not supported.
## Usage
The main way to use *sutabu* is to generate stub functions. Generatin... | {
"content_hash": "5816aee7fa19db2fe6697a50dea3f099",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 139,
"avg_line_length": 34.18055555555556,
"alnum_prop": 0.6761479073547338,
"repo_name": "kitsonk/sutabu",
"id": "7732cbaef9abdcda655428ec80314f63b02ea19c",
"size": "2471"... |
This use of `for` is functionally equivalent
to `while (condition)` in C and others alike.
```
$fiveEs = ""
for $fiveEs.length < 5 {
$fiveEs += "e"
}
say($fiveEs) # eeeee
```
[Next: Infinite loops](14-infinite-loops.md) | {
"content_hash": "af6f2293172f9dea5e204635ff3f2e04",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 45,
"avg_line_length": 16.428571428571427,
"alnum_prop": 0.6347826086956522,
"repo_name": "cooper/ferret",
"id": "1e56cee8e760f16a27534d8de166eb7ea29d8916",
"size": "250",
... |
package com.amazonaws.services.comprehend.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.comprehend.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import sta... | {
"content_hash": "310d3e99561b4300caf9c555a9e577bf",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 150,
"avg_line_length": 39.3125,
"alnum_prop": 0.685214626391097,
"repo_name": "aws/aws-sdk-java",
"id": "6105872ace40339ac85940e5bfde606c3a0dffe7",
"size": "3096",
"bina... |
// CEudoraAdbkIOPluginDLL.h
//
// Copyright 2006, Cyrus Daboo. All Rights Reserved.
//
// Created: 14-Jan-1998
// Author: Cyrus Daboo
// Platforms: Mac OS, Win32
//
// Description:
// This class implements Eudora addressbook import DLL based plug-in for use in Mulberry.
//
// History:
// 14-Jan-1998: Created initial... | {
"content_hash": "6dcff1820504bf3e596b32e945a08fae",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 105,
"avg_line_length": 34.171875,
"alnum_prop": 0.7370827617741198,
"repo_name": "mbert/mulberry-main",
"id": "599cb415cde8fd6788eb75dd898be4dea283859e",
"size": "2822",
... |
<?php use_javascript('/sfBlogsPlugin/admin/js/jquery.autopager.js') ?>
<?php use_javascript('/sfBlogsPlugin/admin/js/jquery.datagrid.js') ?>
<?php use_javascript('/sfBlogsPlugin/admin/js/postsBehaviors.js') ?>
<?php use_helper('I18N') ?>
<?php $sf_response->setTitle('Posts') ?>
<?php if (!$hasBlog): ?>
<div class="... | {
"content_hash": "662c84348675df1c8b43f1d6bd9d442a",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 180,
"avg_line_length": 46.13978494623656,
"alnum_prop": 0.550221393614542,
"repo_name": "Symfony-Plugins/sfBlogsPlugin",
"id": "f188ea5b7c18cb05f54877522ec49c771e5ed0e1",
... |
FROM balenalib/revpi-connect-ubuntu:bionic-run
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu60 \
libssl1.1 \
libstdc++6 \
z... | {
"content_hash": "bc7251be8da85c71a2b8cb9d212f2956",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 679,
"avg_line_length": 56.36363636363637,
"alnum_prop": 0.7148387096774194,
"repo_name": "resin-io-library/base-images",
"id": "0b2a96cd057c87cb3fbc604d8dea7c8e5b4ed61a",
... |
package org.springframework.cloud.dataflow.server.db.migration.postgresql;
import java.util.Arrays;
import org.flywaydb.core.api.migration.BaseJavaMigration;
import org.flywaydb.core.api.migration.Context;
import org.springframework.cloud.dataflow.common.flyway.SqlCommand;
import org.springframework.cloud.dataflow.... | {
"content_hash": "2eee27a4b4bbbad4cbf7e5b21b6a3267",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 138,
"avg_line_length": 40.39655172413793,
"alnum_prop": 0.7622705932565087,
"repo_name": "markpollack/spring-cloud-dataflow",
"id": "4f3362897b133fd3b81314bbc647303b810f05ab... |
/**
* The tests for the state transfer support.
*/
package tests.backtype.storm.stateTransfer; | {
"content_hash": "76812aa93bfa566ee8d583655f107961",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 44,
"avg_line_length": 24.75,
"alnum_prop": 0.7272727272727273,
"repo_name": "QualiMaster/Infrastructure",
"id": "96ead9209de03298e4032da01526e46285033447",
"size": "99",
... |
package org.eclipse.net4j.util.io;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Collections;
import java.util.Comparator;
import ja... | {
"content_hash": "18fa0f3f8465577959c866957d24d7ae",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 99,
"avg_line_length": 22.859649122807017,
"alnum_prop": 0.5718671198333516,
"repo_name": "IHTSDO/snow-owl",
"id": "2e00d02f253c91547cf71f38982078eaf5d6d5a1",
"size": "951... |
var gulp = require('gulp')
, cache = require('gulp-cache')
, concat = require('gulp-concat')
, jshint = require('gulp-jshint')
, stylish = require('jshint-stylish')
, uglify = require('gulp-uglify')
, rename = require('gulp-rename')
, sass = require('gulp-ruby-sass')
, scsslint = require('gulp-scss-lint')
, im... | {
"content_hash": "80b15d7d69169aa48c8393313b99f95f",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 101,
"avg_line_length": 27.830645161290324,
"alnum_prop": 0.6470588235294118,
"repo_name": "Mango-information-systems/static",
"id": "d7975c3dcc3152a0623f1cde94fc2617cc3aa97... |
<f:layout name="Default"/>
<f:section name="Main">
<div class="container">
<div class="row">
<div class="col-md-3">
<f:cObject typoscriptObjectPath="lib.dynamicContent" data="{pageUid: '{data.uid}', colPos: '1'}"/>
</div>
<main class="col-md-6" role="main">
<f:cObject typoscriptObjectPath="lib.dyna... | {
"content_hash": "6d8d2821acc910322ef4e11603fe369c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 102,
"avg_line_length": 31.055555555555557,
"alnum_prop": 0.6207513416815742,
"repo_name": "buxit/bootstrap_package",
"id": "148f12988adb00fbe872bf18ac9a24375575e4ee",
"siz... |
myList = [20, 10, 'not a number', 30]
print myList
print len(myList)
myList.append('hello')
print myList
myList.append('world')
print myList
myList.sort()
print myList
myList.reverse()
print myList
print myList[0]
print myList[-1]
# print myList[18] oeps | {
"content_hash": "9312ee1e0a420042a5f256390b05b25c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 37,
"avg_line_length": 13,
"alnum_prop": 0.7269230769230769,
"repo_name": "typemytype/roboThonWorkshop2015Examples",
"id": "90973bb12d7e2e38104bbbf632f31f14a5dd9f36",
"size... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Modix.Data.ExpandableQueries;
using Modix.Data.Models.Core;
using Modix.Data.Utilities;
namespace Modix.Data.Repositories
{
/// <summary>
/// Describes a repository for managing <see cref="UserEntity"/>... | {
"content_hash": "36ec59c04dbde9171c3307ade54c18cd",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 156,
"avg_line_length": 43.71223021582734,
"alnum_prop": 0.6298551678736011,
"repo_name": "mariocatch/MODiX",
"id": "cf5037ba9be6f96915015713b753007e39729388",
"size": "60... |
class Engine:
def __init__(self,
response_pairs,
knowledge={}):
self.response_pairs = response_pairs
self.knowledge = knowledge
def chat(self, user_utterance, context):
best_score = 0
best_response_pair = None
best_captured = {}
... | {
"content_hash": "7ba14789c70314d88f4567f99d5f8bc0",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 99,
"avg_line_length": 34.16,
"alnum_prop": 0.6007025761124122,
"repo_name": "carrotflakes/invada",
"id": "01117cc0ce6b2b30fe9f0149dad59e27b0d118d4",
"size": "880",
"bina... |
#include "config.h"
#include "RenderStyle.h"
#include "ContentData.h"
#include "CursorList.h"
#include "CSSPropertyNames.h"
#include "Font.h"
#include "FontSelector.h"
#include "QuotesData.h"
#include "RenderArena.h"
#include "RenderObject.h"
#include "ScaleTransformOperation.h"
#include "ShadowData.h"
#include "Sty... | {
"content_hash": "14bd419cddba93dc2db6977a80c33ee2",
"timestamp": "",
"source": "github",
"line_count": 1583,
"max_line_length": 183,
"avg_line_length": 40.57296272899558,
"alnum_prop": 0.6941628909959986,
"repo_name": "yoavweiss/RespImg-WebCore",
"id": "387fd20cbc1778215fc17fa9e9aede1a89cc998c",
"... |
"""
State Class
Stores information from data read by the json
this is done instead of passing a deserialized dict to objects so that named values
can be used
"""
import os
import json
class State(object):
"""
Represents the state updated by the API
"""
# the unix time when the file has been last upda... | {
"content_hash": "111bd1aa5074114685253cac948d3c39",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 83,
"avg_line_length": 30.591549295774648,
"alnum_prop": 0.583793738489871,
"repo_name": "Chris-Johnston/Internet-Xmas-Tree",
"id": "b8094d4d630b621e2f7617401d66c39636d71c33"... |
package main
import (
"errors"
"fmt"
"github.com/bitly/go-simplejson"
"io/ioutil"
"log"
"math"
"github.com/bakins/net-http-recover"
"github.com/gorilla/handlers"
"github.com/gorilla/mux"
"github.com/gorilla/rpc"
"github.com/gorilla/rpc/json"
"github.com/justinas/alice"
"net/http"
"os"
"strconv"
"strings... | {
"content_hash": "53f017dc6f3d5d3f2937796bdb650062",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 168,
"avg_line_length": 25.38938053097345,
"alnum_prop": 0.7098292087835483,
"repo_name": "mohdzeeshanshaikh/cmpe273-assignment1",
"id": "8784bc6c09764cefe8b7795ece03ed2882f... |
/* Afrikaans initialisation for the jQuery UI date picker plugin. */
/* Written by Renier Pretorius. */
jQuery(function ($) {
$.datepicker.regional['af'] = {
closeText: 'Selekteer',
prevText: 'Vorige',
nextText: 'Volgende',
currentText: 'Vandag',
monthNames: ['Januarie', 'Feb... | {
"content_hash": "70ef06555329d7bcdcd9b0da9efbb1a2",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 98,
"avg_line_length": 43.125,
"alnum_prop": 0.5371980676328503,
"repo_name": "XristosMallios/cache",
"id": "2d5412f974dfffdae81c2856e2d166ef29febc01",
"size": "1035",
"b... |
package com.auth.managers.admin;
import com.auth.daos.admin.DaoUsuariosPermisos;
import com.auth.entities.admin.UsuariosPermisos;
import com.auth.entities.admin.UsuariosPermisosPK;
import com.auth.managers.commons.ManagerSQL;
/**
*
* @author Alonso --- alonso@kriblet.com
*/
public class ManagerUsuariosPermisos ex... | {
"content_hash": "4d6872614cef514efefae0f8c22a7c17",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 95,
"avg_line_length": 24.63157894736842,
"alnum_prop": 0.7713675213675214,
"repo_name": "BeltranGomezUlises/machineAdminAPI",
"id": "b02c92365973e2a105370973809cdb3551a40ebf... |
using System;
using System.Collections.Generic;
using System.Windows;
namespace ReportsOrganizer.UI.Controls
{
public enum PackIconFlipOrientation
{
Normal, Horizontal, Vertical, Both
}
public class PackIcon<TKind> : PackIconBase<TKind>
{
public static readonly DependencyProperty ... | {
"content_hash": "c96439aea448ffe1ce70d1e5dc4dd7da",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 114,
"avg_line_length": 33.56818181818182,
"alnum_prop": 0.6492890995260664,
"repo_name": "SkySoftTechDotNet/ReportsOrganizer.Windows",
"id": "e9c9a0b1228aca391d836e29c4bf601... |
https://developers.google.com/google-bsd-license
Copyright 2012, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, t... | {
"content_hash": "8c38f4d8b48127d5a3b521c1c809483b",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 80,
"avg_line_length": 51.36666666666667,
"alnum_prop": 0.8020765736534717,
"repo_name": "google/ios-webkit-debug-proxy",
"id": "14401137514ca7900b56b0b39cc2d699d58939ef",
... |
<!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_151) on Sat Mar 16 04:11:50 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PolicySupplier (BOM: * : A... | {
"content_hash": "b32d2adeb0bc7b5f3c5d45fa672ccbce",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 391,
"avg_line_length": 38.561181434599156,
"alnum_prop": 0.6371594266331109,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "c947dda98c8b51bcd0ffd561c5fc1ef28b4... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coquelicot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "cb3d7a4e50562886f67c951aa72df24f",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 197,
"avg_line_length": 42.84567901234568,
"alnum_prop": 0.5424290448062239,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "ac66fd979acd4ef88fc84e4507b98ea1ac7e26d9",
... |
//
// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
//
// Arjuna Technologies Ltd.,
// Newcastle upon Tyne,
// Tyne and Wear,
// UK.
//
package org.jboss.jbossts.qa.RawResources01Clients2;
/*
* Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
*
* HP Arjuna Labs,
* Newcastle upon Tyn... | {
"content_hash": "2b9665a36f80e1bc4e0a9139dfe8e1a6",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 154,
"avg_line_length": 28.828358208955223,
"alnum_prop": 0.7331089826559669,
"repo_name": "nmcl/wfswarm-example-arjuna-old",
"id": "7a35fc0f39e24639153f3cc7223344cf15381650... |
module VagrantPlugins
module CapistranoPush
VERSION = '0.1.0'
end
end
| {
"content_hash": "02d2dd69c82e5a1b85a0fecbb1465561",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 23,
"avg_line_length": 15.6,
"alnum_prop": 0.717948717948718,
"repo_name": "mfenner/vagrant-capistrano-push",
"id": "969de1027375de1cf417a9865f15d928e04f161e",
"size": "78",... |
layout: page
comments: true
show_meta: false
title: "Getting Started"
subheadline: "A Step-by-Step Guide"
teaser: "This is a step-by-step guide to preparing your computer for the IoT Labs."
header:
image_fullwidth: "header_homepage_13.jpg"
permalink: "/getting-started/"
---
# Preparing for the IoT Labs
The labs in t... | {
"content_hash": "f2dfaf4b4b1a99b6dc03f5c9118675dc",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 406,
"avg_line_length": 44.54320987654321,
"alnum_prop": 0.7645509977827051,
"repo_name": "felixrieseberg/ThingLabsIo.github.io",
"id": "2127c6b60527d645d868676f0c509c929901... |
<section class="home" data-ng-controller="HomeController" data-ng-init="init()">
<div>
<uib-carousel interval="5000">
<uib-slide ng-repeat="slide in slides" active="slide.active" index="slide.id">
<img ng-src="{{slide.image}}" style="margin:auto;">
<div class="carousel-caption">
<h... | {
"content_hash": "afad7fff86dc334d56416c0d591294f1",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 23.77777777777778,
"alnum_prop": 0.5922897196261683,
"repo_name": "nejcsilc/lpa",
"id": "c860b1422417a897d5b9bab8182a16f94993d82e",
"size": "856",
... |
<?php ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Theme Chat Login</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href="<?php echo Yii::app()->request->baseUrl; ?>/app/css/lib/bootstra... | {
"content_hash": "7946a9ae9649325c34e115f3f3b827cb",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 122,
"avg_line_length": 40.270270270270274,
"alnum_prop": 0.6140939597315436,
"repo_name": "tmushayahama/ichatstyle",
"id": "410ff49edc0cdcac91acb644dae7535964b00ce2",
"siz... |
CREATE TABLE IF NOT EXISTS `list_imei` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`time` int(10) unsigned NOT NULL,
`gid` smallint(6) NOT NULL,
`imei` bigint(20) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `gid` (`gid`,`imei`),
KEY `time` (`time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
| {
"content_hash": "4f7ac9fa6c7956c24f1826e880a6dfb6",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 35.55555555555556,
"alnum_prop": 0.665625,
"repo_name": "qysf12345/swRech",
"id": "635e7e5e581e46b5eeda5644f49d933b84ba4bcd",
"size": "320",
"binary... |
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<!--
This shows the common minimum configuration overrides.
By default, the content and indexes are located at a relative location, which should only
... | {
"content_hash": "7404aea6e2abfb608d280269e0bda87a",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 116,
"avg_line_length": 42.38461538461539,
"alnum_prop": 0.6249243799153055,
"repo_name": "sourcesense/Alfresco-OpenSSO-integration",
"id": "60077ad65354f6ffa6a62af42cca91dce... |
/**
*
*/
(function()
{
var app = angular.module('store-products', []);
app.directive('productTitle', function() {
return {
restrict: 'E',
templateUrl: 'product-title.html'
};
});
app.directive('productPanels', function() {
return {
restrict: 'E',
templateUrl: 'pr... | {
"content_hash": "1a00bf344faa6bef1e56337aa14bcd2f",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 48,
"avg_line_length": 15.575,
"alnum_prop": 0.4943820224719101,
"repo_name": "altintzis/ITE220",
"id": "c8e0430b0f8f8fb5635c338062af11203afd5660",
"size": "623",
"binary... |
package gov.hhs.onc.crigtt.utils;
import com.github.sebhoss.warnings.CompilerWarnings;
import java.util.function.Consumer;
import java.util.function.Supplier;
import javax.annotation.Nullable;
public final class CrigttFunctionUtils {
private CrigttFunctionUtils() {
}
@Nullable
@SuppressWarnings({ Com... | {
"content_hash": "6f7021a7492e8000dcd288ff41dbd0ee",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 118,
"avg_line_length": 30.82857142857143,
"alnum_prop": 0.6348470806302131,
"repo_name": "mkotelba/crigtt",
"id": "61fff83ccb99188352dd85ae9ded3fb4ac789708",
"size": "1079... |
package org.apache.hadoop.hdfs.server.blockmanagement;
import static org.apache.hadoop.hdfs.protocol.BlockType.CONTIGUOUS;
import static org.apache.hadoop.hdfs.protocol.BlockType.STRIPED;
import static org.apache.hadoop.util.ExitUtil.terminate;
import static org.apache.hadoop.util.Time.now;
import java.io.IOExceptio... | {
"content_hash": "17101cabf42662cc583934c7f9999c49",
"timestamp": "",
"source": "github",
"line_count": 5047,
"max_line_length": 138,
"avg_line_length": 38.389142064592825,
"alnum_prop": 0.6780593548387097,
"repo_name": "dierobotsdie/hadoop",
"id": "675221a1ec52d4ec859306ae56d581bf94483e48",
"size"... |
=head1 CONTACT
Please email comments or questions to the public Ensembl
developers list at <http://lists.ensembl.org/mailman/listinfo/dev>.
Questions may also be sent to the Ensembl help desk at
<helpdesk.org>.
=cut
# This script looks for any minor allele frequencies of 0.5
# and then ensures that the mino... | {
"content_hash": "0ee73965e3add5e91be3f40ee517f7d1",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 87,
"avg_line_length": 21.408333333333335,
"alnum_prop": 0.5932269365511872,
"repo_name": "willmclaren/ensembl-variation",
"id": "4c3fb070c7990e0dc4e3939a76f103f38616c387",
... |
require "formula"
require "service"
describe Homebrew::Service do
let(:klass) do
Class.new(Formula) do
url "https://brew.sh/test-1.0.tbz"
end
end
let(:name) { "formula_name" }
let(:path) { Formulary.core_path(name) }
let(:spec) { :stable }
let(:f) { klass.new(name, path, spec) }
describe "... | {
"content_hash": "4bf551a34a582a0ce39a5309484d73d5",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 110,
"avg_line_length": 31.2863436123348,
"alnum_prop": 0.5987045902562659,
"repo_name": "claui/brew",
"id": "efa4391798944e1a55da93179a57dfb3b07c0bf5",
"size": "7148",
... |
<?php
function flash($title=null, $message=null, $level='info')
{
$flash = app('App\Http\Flash');
if (func_num_args() == 0) {
return $flash;
}
return $flash->info($title,$message);
}
| {
"content_hash": "e4b5db23e907bea93efb3696fb236284",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 57,
"avg_line_length": 17.5,
"alnum_prop": 0.5571428571428572,
"repo_name": "luisedware/Learning-Laravel",
"id": "b771124d714d07114201505f56110f23a8e12a80",
"size": "210",
... |
> :warning: **Deprecated**: This is not maintained any more, and references Oracle JDK, which no longer allows free usage and redistribution.
>
> Alternatives exist, such as [Eclipe Adoptium Temurin](https://hub.docker.com/_/eclipse-temurin) (Formerly AdoptOpenJDK)
Basic [Docker](https://www.docker.com/) image to run... | {
"content_hash": "b9c4769efde838c4bd895e398e6faebd",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 314,
"avg_line_length": 80.48,
"alnum_prop": 0.7529821073558648,
"repo_name": "jeanblanchard/docker-java",
"id": "b6d4089bd188be76aa5ad4943ed085bf187b684e",
"size": "2047",... |
module CCS
class XMPPConnection
include Celluloid::IO
finalizer :close_sender
def initialize(params = {})
@config = CCS.config.connection(params[:sender_id])
@id = params[:id]
@handler = params[:handler]
@running = false
@send_messages = {}
@semaphore = Semaphore.new(... | {
"content_hash": "1e3af85d800123eb59206d18d36407da",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 93,
"avg_line_length": 27.623287671232877,
"alnum_prop": 0.5913711877014629,
"repo_name": "l3akage/ccs",
"id": "18ff1f1d6179958da4ae46ed606af976d176202f",
"size": "4033",
... |
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: taflanidi
---
### Prerequisites
* [ ] Put an `X` between the brackets on this line if you have done all of the following:
* read our [Wiki](https://github.com/RedMadRobot/input-mask-android/wiki);
* read the entire [Kno... | {
"content_hash": "132327486ce912c5b41876c5c1dd74ae",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 160,
"avg_line_length": 39.96666666666667,
"alnum_prop": 0.7664720600500416,
"repo_name": "RedMadRobot/input-mask-android",
"id": "e66acd4ea9f84d8de441530e287a8956b692de7d",
... |
package org.gradle.performance.fixture;
import org.gradle.integtests.fixtures.executer.DurationMeasurement;
import org.gradle.performance.measure.Duration;
import org.gradle.performance.measure.MeasuredOperation;
import org.joda.time.DateTime;
public class DurationMeasurementImpl implements DurationMeasurement {
... | {
"content_hash": "81ee7db4d024d922cd12973432f13665",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 101,
"avg_line_length": 31.023255813953487,
"alnum_prop": 0.7083958020989505,
"repo_name": "gstevey/gradle",
"id": "d47d77d44bd50e9e83b37631ed9b54ba784ce225",
"size": "1949... |
require 'hashie'
module Openbeautyfacts
class Label < Hashie::Mash
# TODO: Add more locales
LOCALE_PATHS = {
'fr' => 'labels',
'uk' => 'labels',
'us' => 'labels',
'world' => 'labels'
}
class << self
# Get labels
#
def all(locale: DEFAULT_LOCALE, domain: DE... | {
"content_hash": "3766a5ad77e4ff0559991a290015fba3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 87,
"avg_line_length": 19.78787878787879,
"alnum_prop": 0.55895865237366,
"repo_name": "openfoodfacts/openbeautyfacts-ruby",
"id": "67e15755fd9bd987cae7378fbca93d2bf6f91ebe",... |
<!DOCTYPE html>
<html lang="en-us" dir="ltr" itemscope itemtype="http://schema.org/Article">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>José e Pilar</title>
<meta name="author" ... | {
"content_hash": "3317b7264e7bdb5da073c0b9d81dd61c",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 761,
"avg_line_length": 42.91290322580645,
"alnum_prop": 0.6462452078478539,
"repo_name": "cinetenisverde/cinetenisverde.github.io",
"id": "887617f01fbea60f5cfe3aa2766384158... |
<?php declare(strict_types = 1);
/**
* Jyxo PHP Library
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file license.txt.
* It is also available through the world-wide-web at this URL:
* https://github.com/jyxo/php/blob/master/license.txt
*/
names... | {
"content_hash": "a4d882058df450d131865208a5b0870b",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 91,
"avg_line_length": 21.634920634920636,
"alnum_prop": 0.7057960381511372,
"repo_name": "jyxo/php",
"id": "b2ebdaf70bf4b731484f54acf1b39623c2f34f6e",
"size": "1366",
"b... |
package igel.batrak;
import java.util.Collection;
import java.util.Set;
/**
* Represents a set of tasks marked by the same set of tags.
*/
public interface TaskCategory extends TaskSet {
/**
* Returns tags of this category.
*
* @return the set of tags.
*/
public Set<String> tags();
... | {
"content_hash": "433fcb7293cc8eb2d582b5b121d6ec58",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 224,
"avg_line_length": 34.929961089494164,
"alnum_prop": 0.6153503397571571,
"repo_name": "igeldev/batrak",
"id": "4a450555a700923469c7b52def15987b3892d278",
"size": "957... |
var loki = require("lokijs");
var db = new loki('db.json');
db.addCollection('top').insert([
{term:'JavaScript' , style :'warning'},
{term:'Angular 2' , style :'danger'},
{term:'NodeJS' , style :'success'},
{term:'ReactJS' , style :'warning'}
]);
db.addCollection('searches');
db.saveDatabase(); | {
"content_hash": "917781a7050a3bc94ed4fcb85951afae",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 23.384615384615383,
"alnum_prop": 0.6348684210526315,
"repo_name": "hawkesnc/TestPrograms",
"id": "0ab605daf0246230e54045dfae35bba0ad409036",
"size":... |
package com.creativetrends.app.simplicity.adapters;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Filter;
import android.widget.Filterable;
import androidx.recyclerview.widget.Recycl... | {
"content_hash": "31f7a9621566d2dd5ecbb33367331268",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 113,
"avg_line_length": 27.676470588235293,
"alnum_prop": 0.6843783209351754,
"repo_name": "creativetrendsapps/SimplicityBrowser",
"id": "8acaab3a82bb5fe8a8a3f87dbcd63d277ff8... |
#ifndef EMS_CMD_H
#define EMS_CMD_H
#include <time.h>
#include "ems.h"
struct romfile {
struct header header;
char *path;
time_t ctime;
};
int checkint();
void catchint();
void restoreint();
void cmd_title(int);
void cmd_delete(int, int, int, char**);
void cmd_format(int, int);
void cmd_restore(int, int,... | {
"content_hash": "accd2f4c798489d2a2021447aa5653f8",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 43,
"avg_line_length": 19.875,
"alnum_prop": 0.649895178197065,
"repo_name": "mikeryan/ems-flasher",
"id": "5e26f745097b822041ff7d21bf697a9c4d28b6ac",
"size": "477",
"bin... |
// @file data.hpp
// @brief Basic data structures
// @author Andrea Vedaldi
#ifndef __vl_data_hpp__
#define __vl_data_hpp__
#include <cstddef>
#include <string>
#define STRINGIZE(x) STRINGIZE_HELPER(x)
#define STRINGIZE_HELPER(x) #x
#define FILELINE STRINGIZE(__FILE__) ":" STRINGIZE(__LINE__)
namespace vl {
typ... | {
"content_hash": "a3024c87777e4437313143f613c34114",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 80,
"avg_line_length": 23.719298245614034,
"alnum_prop": 0.5290927021696252,
"repo_name": "gcheron/P-CNN",
"id": "b5d4ee88358d1f535101d9f6ed4c32b7e697e4e6",
"size": "4239"... |
FOUNDATION_EXPORT double KingBaseCategoryVersionNumber;
FOUNDATION_EXPORT const unsigned char KingBaseCategoryVersionString[];
| {
"content_hash": "b7e60a0536acdb78ab1480fb70c6f7b1",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 70,
"avg_line_length": 42.666666666666664,
"alnum_prop": 0.8828125,
"repo_name": "hengyangKing/MHPhotoBroswer",
"id": "7537b9db971838f8858e1a7523d60506bca1b01d",
"size": "12... |
layout: docwithnav
title: "kubectl port-forward"
---
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
<!-- END MUNGE: UNVERSIONED_WARNING -->
## kubectl port-forward
Forward one or more local ports to a pod.
### Synopsis
Forward one or more local ports to a pod.
```
{% raw %}
kubectl port-forward -p POD_NAME [LOCAL_PO... | {
"content_hash": "97d7cd4f8af054ff07c4858ad4562a18",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 155,
"avg_line_length": 34.44329896907217,
"alnum_prop": 0.6869200838072433,
"repo_name": "caesarxuchao/caesarxuchao.github.io",
"id": "b4f13a831b36baafb768d40069e048853d96b0... |
package com.google.sps.servlets;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.*;
import org.junit.Before;
import org.junit.Test;
import org.junit.After;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import java.io.PrintWriter;
import java.io.StringWriter;
import j... | {
"content_hash": "0b3553598e480253917baf113fbb7d3e",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 86,
"avg_line_length": 30.406779661016948,
"alnum_prop": 0.778149386845039,
"repo_name": "google/step197-2020",
"id": "b3e601d06dfb28030abd500772093ff215f59d11",
"size": "1... |
<?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:orientation="vertical">
<RelativeLayout
android:id="@+id/container_rellative"
android:layout_w... | {
"content_hash": "6234ab9e6bb443d3854a365a21164910",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 30.357142857142858,
"alnum_prop": 0.6941176470588235,
"repo_name": "WildanGarviandi/Bararaga",
"id": "ea927f76cdf80cdb9976c39fd109a58cedc2c63f",
"siz... |
require 'helper'
require 'mocha'
require 'json'
class TestSegment < Test::Unit::TestCase
def setup
@s = StravaApi::Base.new
api_result = JSON.parse segments_index_json
api_result.stubs(:parsed_response).returns("")
StravaApi::Base.stubs(:get).with('/segments', {:query => {:name => 'Hawk Hill'}}).ret... | {
"content_hash": "ba03e2096753686935cfd27507f8192b",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 120,
"avg_line_length": 30.571428571428573,
"alnum_prop": 0.6588785046728972,
"repo_name": "stevenchanin/strava-api",
"id": "4279a938dbd0e15ac8f4645d0eeb6d6e07754ad5",
"siz... |
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
import inspect
import io
import time
import unittest
import mock
from pants.java.nailgun_io import NailgunStreamWriter
from pants.java.nailgun_protocol import ChunkT... | {
"content_hash": "26209b7bc6a64a2023b4237b11e3c635",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 93,
"avg_line_length": 27.813333333333333,
"alnum_prop": 0.6500479386385427,
"repo_name": "UnrememberMe/pants",
"id": "7d7888f702b16bb154ae790282186ae1bf950830",
"size": "2... |
/*************************************************************
*
* MathJax/localization/lb/TeX.js
*
* Copyright (c) 2009-2018 The MathJax Consortium
*
* 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 co... | {
"content_hash": "44f82660d19c9f9efe0142a464307e6a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 76,
"avg_line_length": 32.17857142857143,
"alnum_prop": 0.6614872364039955,
"repo_name": "GerHobbelt/MathJax",
"id": "9bf359cfe626f759ef8e11cd133752ac2b7231ac",
"size": "15... |
package util
import (
"bufio"
"fmt"
"os"
"strings"
"github.com/lxc/lxd/shared"
)
// LoadModule loads the kernel module with the given name, by invoking
// modprobe.
func LoadModule(module string) error {
if shared.PathExists(fmt.Sprintf("/sys/module/%s", module)) {
return nil
}
_, err := shared.RunCommand... | {
"content_hash": "4625be9fb9a423e280589bb26e340b97",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 101,
"avg_line_length": 21.518987341772153,
"alnum_prop": 0.6776470588235294,
"repo_name": "mjeanson/lxd",
"id": "4019477af7b2000f5b0b57aa09077afb20e0916a",
"size": "1700",... |
package xerrors
import (
"errors"
"fmt"
"reflect"
)
func getError(unknown interface{}) error {
return findErrorInValue(reflect.ValueOf(unknown))
}
// findErrorInValue will try and genereate and error object either from the object itself if it can be created or its
// fields.
func findErrorInValue(v reflect.Value... | {
"content_hash": "7f2bc39683d0114f5d9469e69dca614c",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 124,
"avg_line_length": 27.07563025210084,
"alnum_prop": 0.654562383612663,
"repo_name": "Comcast/webpa-common",
"id": "71635a177582f8f83fc9368bb4f2c02179bfa191",
"size": ... |
<div class="content">
<div id="example_title">
<h1>Escape/Unescape ID</h1>
Element ID in DOM cannot have certain characters. If you build ids from a variable name (as it is done in w2ui
grid/form, etc), you should sanitize it. It is where these two functions come.
</div>
<div id="exa... | {
"content_hash": "b815eac421ef98d4e121c1da4ea027af",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 118,
"avg_line_length": 32.4,
"alnum_prop": 0.6491769547325102,
"repo_name": "vitmalina/w2ui",
"id": "3819f7ad0c80eb4ea0c39a7e7c7125c1495486d4",
"size": "972",
"binary": ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.11.29 at 12:35... | {
"content_hash": "13ce8b8b32e9cc3f173d50f60c81f5f2",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 111,
"avg_line_length": 24.333333333333332,
"alnum_prop": 0.5876980929358044,
"repo_name": "ryandcarter/hybris-connector",
"id": "82c2271672271e16ee520ef9569bf2854711b72e",
... |
local YwDeclare = YwDeclare
local YwClass = YwClass
local DLog = YwDebug.Log
local DLogWarn = YwDebug.LogWarning
local DLogError = YwDebug.LogError
-- Register new class LgBomb.
local strClassName = "LgBomb"
local LgBomb = YwDeclare(strClassName, YwClass(strClassName))
-- Member variables.
-- The c# class object.
L... | {
"content_hash": "8c30598905989808ef55a41b40bbdd53",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 130,
"avg_line_length": 28.602836879432623,
"alnum_prop": 0.691792710141334,
"repo_name": "zhutaorun/2DPlatformer-SLua",
"id": "0d093d55a94f8e3188972a2f60b1a63fb9b056ab",
... |
package agent
import (
"crypto/rand"
"errors"
"net"
"github.com/AdRoll/hologram/log"
"golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
)
var (
// Not sure if this needs a mutex around it. Probably not, because it only gets written once by one thing.
socketAddress string
successfulKey *agent.Key
p... | {
"content_hash": "bfd1d28b00f1ab4da083ba9dd95292b0",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 116,
"avg_line_length": 23.317073170731707,
"alnum_prop": 0.6846234309623431,
"repo_name": "AdRoll/hologram",
"id": "e3ab2eac6b7e060754806c4196ec25b7393a1194",
"size": "249... |
package com.oracle.xmlns.apps.crmcommon.salesparties.salespartiesservice.types;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous co... | {
"content_hash": "3398f481d98b05c075eb07b260573ea3",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 95,
"avg_line_length": 25.91176470588235,
"alnum_prop": 0.6912599318955732,
"repo_name": "dushmis/Oracle-Cloud",
"id": "cf6d20432043b2a518bcd7c297588e616021f2a2",
"size": "... |
import time
import re
import keyword
import builtins
from tkinter import *
from idlelib.Delegator import Delegator
from idlelib.configHandler import idleConf
DEBUG = False
def any(name, alternates):
"Return a named group pattern matching list of alternates."
return "(?P<%s>" % name + "|".join(alternates) + ")... | {
"content_hash": "9bfecd37d5406d6582bff8409391d125",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 77,
"avg_line_length": 38.10629921259842,
"alnum_prop": 0.5058373798946172,
"repo_name": "OptimusGitEtna/RestSymf",
"id": "22bb22f82bc4c46bdb63da91acc6b1854cf26a78",
"size... |
package org.kaaproject.kaa.server.control.service.loadmgmt;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import org.junit.Test;
import org.kaaproject.kaa.server.common.zk.gen.LoadInfo;
import org.kaaproject.kaa.server.control.service... | {
"content_hash": "e39272d140abd01e1abddc968c652c26",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 154,
"avg_line_length": 33.49411764705882,
"alnum_prop": 0.7298911134527573,
"repo_name": "sashadidukh/kaa",
"id": "1a601ca9fc5a0ca60fbda829f99007c5db8277dc",
"size": "3453... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.