text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
return [
'stripeSecretKey' => getenv('SWIPE_STRIPE_SECRET_KEY'),
'stripePublicKey' => getenv('SWIPE_STRIPE_PUBLIC_KEY'),
'usernameBlacklist' => include 'swipe-username-disallow.php',
];
| {
"content_hash": "3263529d13bca7eb15db5516d5dde9be",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 65,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.6650717703349283,
"repo_name": "craftx/craftx.io",
"id": "6df0643058f9b3ced8b45140400eaa55688b3fac",
"size": "209"... |
package RQ2.Table6;
import java.io.*;
import java.util.*;
/*
* RQ2-2
* Goal: extract buggy snippets for FilterdPatches with repeated fixes
*
*/
public class BuggySnippetCollector {
String filteredNewPatchFolderPath = null, buggySnippetFolderPath = null;
int diffCount = 0, fixCount = 0, contextLineNum = 20;
St... | {
"content_hash": "4d06386837ec05451a0948927c799518",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 102,
"avg_line_length": 30.50314465408805,
"alnum_prop": 0.6550515463917526,
"repo_name": "Yuerr14/RepeatedFixes",
"id": "758c47ef2548636556efecf79b23c63c96d3bcf2",
"size"... |
#ifndef STEXCEPTION_HPP
#define STEXCEPTION_HPP
#include <QString>
namespace Starstructor {
class Exception
{
public:
explicit Exception(const QString& message, const QString& exType = "General exception")
: m_message(message),
m_exType(exType)
{
}
virtual ~Exception()
{
... | {
"content_hash": "fff02e2e37b492ebc6dfbf86a68f4d20",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 92,
"avg_line_length": 16.341772151898734,
"alnum_prop": 0.6367157242447715,
"repo_name": "Starstructor/starstructor-cpp",
"id": "24918df22ac3f64f0020e6c391ecfd0c40ab2649",
... |
package org.apache.flink.table.api.stream.table.validation
import org.apache.flink.streaming.api.scala.StreamExecutionEnvironment
import org.apache.flink.table.api._
import org.apache.flink.table.api.bridge.scala._
import org.apache.flink.table.api.internal.TableEnvironmentInternal
import org.apache.flink.table.runt... | {
"content_hash": "aae646d337cb058571e1087f34a08aa7",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 87,
"avg_line_length": 35.91549295774648,
"alnum_prop": 0.7321568627450981,
"repo_name": "rmetzger/flink",
"id": "773376a5f4eb13a86c311b9a5fd765f4e6cb1e80",
"size": "3355",... |
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta na... | {
"content_hash": "ce8eb3c976f8cd82bb5f4f74daabf00d",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 281,
"avg_line_length": 48.153583617747444,
"alnum_prop": 0.5668722092281523,
"repo_name": "Patrickkk/FunctionalSharp",
"id": "a41f818f65880ad07e1a41b719b5b76adcfd36e0",
"... |
const path = require('path');
const cpx = require('cpx2');
const { spawnSync } = require('child_process');
const fs = require('fs');
const rimraf = require('rimraf');
const fixture = path.join(__dirname, 'fixture');
const bin = path.resolve(__dirname, 'index.js');
function getTmpDirectory(prefix) {
const date = new ... | {
"content_hash": "cdbd0105a72de9dcac0a31ba02319138",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 91,
"avg_line_length": 40.280701754385966,
"alnum_prop": 0.6533101045296167,
"repo_name": "Talend/ui",
"id": "e1457e8f2e282cedf4d3ca0e219ef04af6be80a1",
"size": "2296",
"... |
import os
import json
import requests
from requests.auth import HTTPDigestAuth
from collections import OrderedDict
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
def get_solr_json(solr_url,
query,
api_key=None,... | {
"content_hash": "15ecdf83f1e61e059fc571c701785e53",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 83,
"avg_line_length": 48.343283582089555,
"alnum_prop": 0.715961716579191,
"repo_name": "mredar/ucldc_api_data_quality",
"id": "37975406d6be9d06e98f62b42559b45eb0fe8120",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Create an empty dictionary using the memory functions associated with a context.</title>
</head>
<body><div class="manua... | {
"content_hash": "d6d2bf6fe7c7464661f458d315f9b964",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 260,
"avg_line_length": 44.791666666666664,
"alnum_prop": 0.703875968992248,
"repo_name": "getdnsapi/getdns-php-bindings",
"id": "734be66a8652f8f92a13b17d7956a9ebc8f3242a",
... |
#ifndef __OPENCV_CONDENS_HPP__
#define __OPENCV_CONDENS_HPP__
#ifdef __cplusplus
extern "C" {
#endif
/************************************************************************/
/************************ Copy from compat.cpp **************************/
/****************************************************************... | {
"content_hash": "1e1ead06360cae763ae677fec1984625",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 103,
"avg_line_length": 35.17857142857143,
"alnum_prop": 0.5560067681895093,
"repo_name": "irvs/ros_tms",
"id": "45b08e45d14d16c3c790df4d0cccf49c0d576408",
"size": "5040",
... |
<?php
namespace Dellaert\DCIMBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints as DoctrineAssert;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* @ORM\Entity
* @ORM\Ta... | {
"content_hash": "1a2b7f7b5912319f7252890e4e702b33",
"timestamp": "",
"source": "github",
"line_count": 388,
"max_line_length": 87,
"avg_line_length": 15.876288659793815,
"alnum_prop": 0.6301948051948052,
"repo_name": "pdellaert/DCIMBundle",
"id": "5f68414b4b6117d8840b682cc6d91c616bd890b4",
"size":... |
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
namespace Microsoft.DotNet.Cli.Build
{
public static class Utils
{
public static void CleanNuGetTempCache()
{
// Clean NuGet Temp Cache on Linux (seeing some issues on Linux)
... | {
"content_hash": "73b74a2d1a7235afb29c36405d31af74",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 112,
"avg_line_length": 32.627737226277375,
"alnum_prop": 0.4894854586129754,
"repo_name": "danquirk/cli",
"id": "799bda56fd9b1261a4f873e064a12db2c692bb75",
"size": "4472"... |
function redirect(url){
document.location = url;
}
$jQuery(document).ready(function($){
$jQuery('.call-age-status').popover({
placement: 'left'
});
$jQuery(document).on('change', 'input:file', function (){
if (this.files[0]){
var fileName = this.files[0].name;
var ext = fileName.substr(fileName.lastIndexOf('... | {
"content_hash": "9cd42f50e9c0b3c2fe3ca3a347af8a07",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 175,
"avg_line_length": 30.225,
"alnum_prop": 0.5849462365591398,
"repo_name": "borkweb/plymouth-webapp",
"id": "9e2080314d87fba1d64c25681eee66b03632c99e",
"size": "6046",... |
class GaloisFieldElement(object):
"""
Element of a finite field
"""
def __init__(self):
pass
def __eq__(self, other):
return self.__dict__ == other.__dict__
class GaloisFieldArithmetic(object):
"""
A collection of arithmetic operators for finite field elements
"""
... | {
"content_hash": "e4dbc091ff04d0de4125af4cd4f22ebf",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 69,
"avg_line_length": 17.176470588235293,
"alnum_prop": 0.4460616438356164,
"repo_name": "FederatedAI/FATE",
"id": "2c452790ef60fa6130810f619f1779261009a4a8",
"size": "183... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
"http://struts.apache.org/dtds/struts-2.1.7.dtd">
<struts>
<package name="accountItem" namespace="/accountItem" extends="json-default">
<action name="*" class="accountItemActio... | {
"content_hash": "6c9088338858569bcf227f749b35c3e3",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 80,
"avg_line_length": 37.63636363636363,
"alnum_prop": 0.644927536231884,
"repo_name": "tycooc/ERP",
"id": "c470d14b013ad1dee4d4356127655b1f58e3a8cd",
"size": "414",
"bi... |
package org.elasticsearch.xpack.ml.dataframe.process;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.message.ParameterizedMessage;
import org.apache.lucene.util.SetOnce;
import org.elasticsearch.action.ActionListener;
import org.elasticsearch.action... | {
"content_hash": "200422e26dfb0f39654f21b8b1086815",
"timestamp": "",
"source": "github",
"line_count": 449,
"max_line_length": 140,
"avg_line_length": 51.198218262806236,
"alnum_prop": 0.6367235079171741,
"repo_name": "robin13/elasticsearch",
"id": "e1feb5c52422176e909da169700ac362fcc99e57",
"size... |
package com.thomas.controllers;
import com.thomas.models.Booking;
import com.thomas.services.BookingService;
import com.thomas.utils.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springfram... | {
"content_hash": "f9b3f215ee3b6d48fbde69c7679d8637",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 93,
"avg_line_length": 27.8125,
"alnum_prop": 0.6087078651685394,
"repo_name": "ThomasEvents/thomosevents",
"id": "aae29c1e0970fcc4536780517d43d2855513d994",
"size": "3560... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>write_at (2 of 8 overloads)</title>
<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="../../../index.html" title="Asio"... | {
"content_hash": "5dfe15871a647ef0c4efbe9811c3de27",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 339,
"avg_line_length": 63.253846153846155,
"alnum_prop": 0.6459929466131582,
"repo_name": "jeanleflambeur/silkopter",
"id": "db11039c28f45ba491dd97aa177cbd16a4b314e3",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b1e2ae3bfb9b01b55341e4a7ea08af63",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "26f05e9b6a56db22e4afd486ea43032896a23dae",
"size": "188... |
package weixin.popular.client;
import java.io.IOException;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.ResponseHandler;
import org.apache.http.util.EntityUtils;
import org.slf4j.Logger;
import or... | {
"content_hash": "46d0ff936a1003222403a622cfea3bfd",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 134,
"avg_line_length": 34.255319148936174,
"alnum_prop": 0.6944099378881987,
"repo_name": "liyiorg/weixin-popular",
"id": "515bb119756ac2818abe3e609be75c1556014451",
"size... |
namespace media {
#if !defined(OS_MACOSX)
// TODO(crogers): implement MIDIManager for other platforms.
MIDIManager* MIDIManager::Create() {
return NULL;
}
#endif
MIDIManager::MIDIManager()
: initialized_(false) {
}
MIDIManager::~MIDIManager() {}
bool MIDIManager::StartSession(MIDIManagerClient* client) {
//... | {
"content_hash": "913f665f9de255031d16c2492d1cdc6b",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 75,
"avg_line_length": 26.776315789473685,
"alnum_prop": 0.655036855036855,
"repo_name": "cvsuser-chromium/chromium",
"id": "b3262e4a034516ab8af46629bc3cfffa5b5d5ea7",
"siz... |
package org.geotools.filter.function;
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2005-2008, Open Source Geospatial Foundation (OSGeo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Pu... | {
"content_hash": "954f2d65d892bcb0d69c8b79320e10f6",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 104,
"avg_line_length": 34.15151515151515,
"alnum_prop": 0.6752440106477373,
"repo_name": "TerraMobile/TerraMobile",
"id": "f8767f0440911fa34ca740ecad4d83cc81046d79",
"size... |
using System;
using System.Runtime.Serialization;
namespace XCLCMS.Data.WebAPIEntity.RequestEntity.FileInfo
{
[DataContract]
[Serializable]
public class DiskFileListEntity
{
/// <summary>
/// 当前目录(物理路径)
/// </summary>
[DataMember]
public string CurrentDirectory ... | {
"content_hash": "4444bbd0ca1321369b4dd8c41cd4d536",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 57,
"avg_line_length": 21.727272727272727,
"alnum_prop": 0.602510460251046,
"repo_name": "xucongli1989/XCLCMS",
"id": "d718172be84514b6ec5e2324dba6ec321c5abf4e",
"size": "5... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RabbitMQ.Client;
using Newtonsoft.Json;
using Polly;
using Polly.Retry;
namespace RabbitHole
{
public class Publisher<T> : IPublisher<T>
where T : IMessage
{
public IMessage Message { get; private set; ... | {
"content_hash": "8983492006cd4ac0b0e4b303416c0a44",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 188,
"avg_line_length": 41.32520325203252,
"alnum_prop": 0.5321660436749951,
"repo_name": "alvesdm/RabbitHole",
"id": "996100c6ff4ed51c085b5085ae84ad09009ab3b8",
"size": "... |
cask 'rubymine' do
version '2018.1.3,181.4892.67'
sha256 'e7800ae4a5e6b21e9363c89a6cd513f926fe17e38e11a9dbb5fb69f9f9e2fe45'
url "https://download.jetbrains.com/ruby/RubyMine-#{version.before_comma}.dmg"
appcast 'https://data.services.jetbrains.com/products/releases?code=RM&latest=true&type=release',
... | {
"content_hash": "de66de5dc748bb39b367e52d6182fd99",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 249,
"avg_line_length": 44.12,
"alnum_prop": 0.6962828649138713,
"repo_name": "jpmat296/homebrew-cask",
"id": "6f5289f16dc2ad7bfa646298a182ef56002c8cf2",
"size": "1103",
... |
using System;
using System.Collections.Generic;
using System.Text;
using NUnit.Framework;
namespace OpenSim.Framework.Servers.Tests
{
[TestFixture]
public class VersionInfoTests
{
[Test]
public void TestVersionLength()
{
Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_... | {
"content_hash": "4c490eab019afd7d12bc0d890cff8c62",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 184,
"avg_line_length": 29.75,
"alnum_prop": 0.6470588235294118,
"repo_name": "allquixotic/opensim-autobackup",
"id": "49e5061316f9450e937e53048908956f510b87a7",
"size": "2... |
8x8x8 LED Cube für Arduino Uno Rev3
[](https://github.com/fuchsalex/Smart-Mirror/blob/master/LICENSE)
## Beschreibung
Ein LED Cube ist eine kubische Anordnung von LEDs. Die Größenordnungen liegen bei 3x3x3 bis über 10x10x10.
D... | {
"content_hash": "3066ebd797d4984e58ce3498fb137bb1",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 201,
"avg_line_length": 42.148936170212764,
"alnum_prop": 0.7945482079757699,
"repo_name": "fuchsalex/LED-Cube",
"id": "3ecf47477cf39865d09e29ca21004b3aca881fae",
"size": "... |
FOUNDATION_EXPORT NSString * const kCALayerKeyPathTransformRotation;
FOUNDATION_EXPORT NSString * const kCALayerKeyPathTransformRotationX;
FOUNDATION_EXPORT NSString * const kCALayerKeyPathTransformRotationY;
FOUNDATION_EXPORT NSString * const kCALayerKeyPathTransformRotationZ;
FOUNDATION_EXPORT NSString * const kCALay... | {
"content_hash": "e488ec97697b3b08b351eb62533357f0",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 72,
"avg_line_length": 34.6578947368421,
"alnum_prop": 0.8200455580865603,
"repo_name": "blurryssky/BSCategories",
"id": "619ba66c0f6af11171bbad101a40257c15759ced",
"size":... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Function papi_get_taxonomy_label</title>
<link rel="stylesheet" href="resources/bootstrap.min.css?973e37a8502921d56bc02bb55321f45b072b6f71">
<link rel="stylesheet" href="resources/style.css?04121df963d959d8cb6f3057fccf1e8067c675b0">
</head>
<body>
<nav... | {
"content_hash": "3243757ad7cb715131674cd93f5d8a0e",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 150,
"avg_line_length": 59.952513966480446,
"alnum_prop": 0.6714345618040348,
"repo_name": "wp-papi/wp-papi.github.io",
"id": "79a1d13cb9336e647be7a7aa12cdeccf2e9a67f5",
"... |
package org.apache.hadoop.yarn.server.resourcemanager.scheduler;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.metrics2.MetricsSystem;
import org.apache.hadoop.metrics2.annotation.Metrics;
import org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CSQueue;
@Metrics(context = "ya... | {
"content_hash": "e9b6212f2ad6eb7033ac0d50091ef3db",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 80,
"avg_line_length": 32.76712328767123,
"alnum_prop": 0.6743311036789298,
"repo_name": "nandakumar131/hadoop",
"id": "f43131809a0caebd912051ffc3730cb486a0d72d",
"size": "... |
package com.tec.os.repository;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import com.tec.os.model.Procedimento;
public interface ProcedimentoRepository extends JpaR... | {
"content_hash": "ded62076e7df844c9e3bf85185dfb694",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 83,
"avg_line_length": 25.75,
"alnum_prop": 0.8,
"repo_name": "alciosilva/ficha",
"id": "5b495c45aa7139a5ba08eab87c8649ae7540425f",
"size": "515",
"binary": false,
"cop... |
API Conventions
===============
The conventions of the Kubernetes API (and related APIs in the ecosystem) are intended to ease client development and ensure that configuration mechanisms can be implemented that work across a diverse set of use cases consistently.
The general style of the Kubernetes API is RESTful - c... | {
"content_hash": "b2b099682252e04fc41594ea12be5d98",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 662,
"avg_line_length": 72.17037037037036,
"alnum_prop": 0.7825105203736016,
"repo_name": "matttproud/kubernetes",
"id": "1ccd410cc8a4d56e0ce5a8fdbb18d9046cf3ea41",
"size"... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package networks;
/**
*
* @author mars
*/
public class TestEmployee {
public static void main(String[] args) {
Employe... | {
"content_hash": "147ac688a36c714247420e4c6a2b66f7",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 79,
"avg_line_length": 32.81818181818182,
"alnum_prop": 0.6777469990766389,
"repo_name": "devopsmwas/javapractice",
"id": "49d845852afee8ebc6970a9456e256ba48803227",
"size"... |
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('structure', '0016_customerpermissionreview'),
]
operations = [
migrations.RemoveField(model_name='customer', name='is_company',),
]
| {
"content_hash": "0b169104f49ea8ae8ede6a42e5720baf",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 74,
"avg_line_length": 21.583333333333332,
"alnum_prop": 0.6602316602316602,
"repo_name": "opennode/nodeconductor-assembly-waldur",
"id": "6ef428be3cfbd0720dad1f0fda08efa1551... |
#include <cstring>
#include <iostream>
#include <iterator>
#include <memory>
#include <string>
#include <vector>
#include <tinyxml2.h>
#include "libutils/log.h"
#include "libutils/io/preferences.h"
#include "libutils/io/xml_preferences_loader.h"
#include "libutils/str/encode_utils.h"
#include "libutils/str/str_util... | {
"content_hash": "8e4543aa03e7393260e949315a01990b",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 78,
"avg_line_length": 21.992424242424242,
"alnum_prop": 0.6822252841887703,
"repo_name": "nkming2/libutils",
"id": "eb7b98a22dbca28081d158cc6c30bb75eb68f105",
"size": "59... |
package org.dita.dost.store;
import net.sf.saxon.s9api.SaxonApiException;
import net.sf.saxon.s9api.Serializer;
import net.sf.saxon.s9api.XdmNode;
import org.dita.dost.exception.DITAOTException;
import org.dita.dost.util.XMLUtils;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.juni... | {
"content_hash": "de3833edd9c149a8f7269c910ada7b77",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 107,
"avg_line_length": 37.263565891472865,
"alnum_prop": 0.6979405034324943,
"repo_name": "shaneataylor/dita-ot",
"id": "fadccc94d6247c6fb36ae8198fec2436a6cee70b",
"size"... |
import unittest
from unittest import mock
import wikipedia
from orangecontrib.text.wikipedia import WikipediaAPI
from orangecontrib.text.corpus import Corpus
class StopingMock(mock.Mock):
def __init__(self, allow_calls=0):
super().__init__()
self.allow_calls = allow_calls
self.call_count... | {
"content_hash": "0974b2d83a00f8f83374361f21a975a4",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 93,
"avg_line_length": 31.5125,
"alnum_prop": 0.6120587068623562,
"repo_name": "cheral/orange3-text",
"id": "b8c78e939aba6abd79648de743505698d501d01b",
"size": "2521",
"b... |
"use strict";
var _require = require('./index-esm'),
uncontrollable = _require.default,
useUncontrolled = _require.useUncontrolled;
module.exports = uncontrollable;
module.exports.useUncontrolled = useUncontrolled;
module.exports.uncontrollable = uncontrollable; | {
"content_hash": "f47febc516967ee35f38e2c428788340",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 49,
"avg_line_length": 30.22222222222222,
"alnum_prop": 0.7720588235294118,
"repo_name": "brett-harvey/Smart-Contracts",
"id": "e6e8b7e7f47221728b5a8cffeeba7ca7094974e7",
"s... |
layout: post
categories: blog
title: Title
use_math: true
---
* Table of Contents
{:toc}
## Header
%include image
% 
% syntax highlighting
%{% highlight python %}
%import matplotlib as mpl
%mpl.use('Agg')
%{% endhighlight %}
| {
"content_hash": "4d5293a13eebc175583610d3e370bd7e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 55,
"avg_line_length": 14.15,
"alnum_prop": 0.6784452296819788,
"repo_name": "brantr/brantr.github.io",
"id": "1886c71483c920e87ba5dc5326492442fcae747d",
"size": "287",
"... |
import React, { Component } from 'react';
import styles from './Wrapper.css';
export default class Wrap extends Component {
render() {
return (
<div className={[styles.root, this.props.className].join(' ')}>
{this.props.children}
</div>
);
}
}
Wrap.propTypes = {
children: React.Prop... | {
"content_hash": "c2f3998b1b6e0de0df009905cb81c11c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 69,
"avg_line_length": 20.61111111111111,
"alnum_prop": 0.6361185983827493,
"repo_name": "scott-riley/loggins",
"id": "ac18cc1037128f1f5a1073e5d2ea89274027c33f",
"size": "3... |
var file = require('../../lib/FileUtil');
var ModifyProperties = (function () {
function ModifyProperties() {
this.initProperties();
}
ModifyProperties.prototype.getProperties = function () {
return this.projectConfig;
};
ModifyProperties.prototype.initProperties = function () {
... | {
"content_hash": "6d8ca94fede396f99c662e587a281620",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 87,
"avg_line_length": 34,
"alnum_prop": 0.5561497326203209,
"repo_name": "jiangzhonghui/egret-core",
"id": "62b7275348464bcf4ff6230fd21c7b89013e1558",
"size": "1636",
"b... |
#ifndef WASMINT_VARIABLE_H
#define WASMINT_VARIABLE_H
#include <cstdint>
#include <vector>
#include <types/Type.h>
namespace wasm_module {
class Type;
class InvalidDataSize : public std::exception {};
class Variable {
static const std::size_t size_ = 8;
const wasm_module::Type *type... | {
"content_hash": "521bbde7c1fedc0e20cca1dd767f836d",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 57,
"avg_line_length": 21.048387096774192,
"alnum_prop": 0.5532567049808429,
"repo_name": "Teemperor/wasmint",
"id": "0830beefad6850e180f9c0e3ceccfa568a3b3020",
"size": "3... |
title: com.virtlink.aesi.eclipse.debugging.model - aesi-eclipse
---
[aesi-eclipse](../index.html) / [com.virtlink.aesi.eclipse.debugging.model](.)
## Package com.virtlink.aesi.eclipse.debugging.model
### Types
| [AbstractDebugThread](-abstract-debug-thread/index.html) | `abstract class AbstractDebugThread : DebugEl... | {
"content_hash": "9d0e7d8550b1741f6ee0c0adab7f3c16",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 180,
"avg_line_length": 66.82352941176471,
"alnum_prop": 0.7808098591549296,
"repo_name": "Virtlink/aesi",
"id": "eced136fd77f4dc9a14327d55e3082bf13b32b35",
"size": "1140",... |
/*This file has been prepared for Doxygen automatic documentation generation.*/
/*! \file *********************************************************************
*
* \brief FreeRTOS port source for AVR32 UC3.
*
* - Compiler: GNU GCC for AVR32
* - Supported devices: All AVR32 devices can be used.
* - AppN... | {
"content_hash": "2b4fe28e094a3f5d90283570325d2a50",
"timestamp": "",
"source": "github",
"line_count": 473,
"max_line_length": 134,
"avg_line_length": 36.010570824524315,
"alnum_prop": 0.5963130393941173,
"repo_name": "miragecentury/M2_SE_RTOS_Project",
"id": "9607eef55d61de99081a905ab949dd08588b64b... |
By default, you can specify configuration when you register CAP services into the IoC container for ASP.NET Core project.
```c#
services.AddCap(config=>
{
// config.XXX
});
```
`services` is `IServiceCollection` interface, which can be found in the `Microsoft.Extensions.DependencyInjection` package.
If you don... | {
"content_hash": "4554cb174c8281b5b538292fd9f8953f",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 705,
"avg_line_length": 52.765625,
"alnum_prop": 0.7857565886881848,
"repo_name": "dotnetcore/CAP",
"id": "aeb87db0b017c0fa2bb49441f69f9c874cf22e17",
"size": "6771",
"bi... |
<!--
Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless require... | {
"content_hash": "90fae69a0ee5776e4e79221f0029512d",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 96,
"avg_line_length": 46.40277777777778,
"alnum_prop": 0.6982939239748578,
"repo_name": "ribertojunior/Sunshine-Version-2",
"id": "73202ec8eb282d3c141ee716211a67bb2068df7d",... |
class WebsiteSettingsUIBridge;
namespace content {
class WebContents;
}
// This NSWindowController subclass manages the InfoBubbleWindow and view that
// are displayed when the user clicks the favicon or security lock icon.
//
// TODO(palmer, sashab): Normalize all WebsiteSettings*, SiteSettings*,
// PageInfo*, et c.... | {
"content_hash": "e200786cb81588fd1a29a86e532e9cf2",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 79,
"avg_line_length": 36.0655737704918,
"alnum_prop": 0.7545454545454545,
"repo_name": "chuan9/chromium-crosswalk",
"id": "1832187e683f5ce33d44e5558931ba229ffbbf29",
"siz... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Fri Jan 10 21:37:06 UTC 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.apache.hadoop.h... | {
"content_hash": "ffd5a2cfc874f1898e7ef6842188fc1d",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 501,
"avg_line_length": 63.88970588235294,
"alnum_prop": 0.6675106456439176,
"repo_name": "wanhao/IRIndex",
"id": "30dca8c80a08a8dbd5e00ee624ed1243803dee84",
"size": "1737... |
Dev
***
Contents
.. toctree::
:maxdepth: 1
activex
bho
debug
dotnet/index
internet-explorer
msbuild
sql-server/index
visual-studio/index
wix/index
| {
"content_hash": "8d3857e551f270de53aca1d7317efee4",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 22,
"avg_line_length": 10.588235294117647,
"alnum_prop": 0.6388888888888888,
"repo_name": "pkimber/my-memory",
"id": "6475aa53da71c25ea6477941cc9dff63e575eb2e",
"size": "18... |
/*
* 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 u... | {
"content_hash": "b66a54836fa5ed601184ebc275a8d5e5",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 87,
"avg_line_length": 26.910958904109588,
"alnum_prop": 0.678544158819038,
"repo_name": "RPTools/zz-old-rptools-common",
"id": "b20b2cdf00264c0a830ff9fb571963af16f314ca",
... |
<div class="example" ng-controller="MainController as vm">
<div class="item" ng-repeat="item in vm.itemList">
{{ item }}
</div>
</div> | {
"content_hash": "5a426d257ee764191796aed5bc18f020",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 58,
"avg_line_length": 27.6,
"alnum_prop": 0.6594202898550725,
"repo_name": "baileyisms/Not-Explorer",
"id": "f3724cfb892e1c976b8db36aab9f8e07a1dd33fe",
"size": "138",
"bi... |
module Dogcatcher
VERSION = '0.3.3'.freeze
end
| {
"content_hash": "99fb4d427d54e94a8df566e611ba2bdb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 26,
"avg_line_length": 16.333333333333332,
"alnum_prop": 0.7142857142857143,
"repo_name": "zl4bv/dogcatcher",
"id": "40247788ad4b0f6098cbe510f973ed5c93c143bb",
"size": "49",... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed><tipo>Rua</tipo><logradouro>Piauí</logradouro><bairro>São Paulo</bairro><cidade>Barreiras</cidade><uf>BA</uf><cep>47807024</cep></feed>
| {
"content_hash": "f75123b9deb5c9f712a3ccdb9a1a456e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 141,
"avg_line_length": 99,
"alnum_prop": 0.7171717171717171,
"repo_name": "chesarex/webservice-cep",
"id": "9714b5267ae536aacf9e699ced14c436c0d5228e",
"size": "200",
"bin... |
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework.Interfaces;
using NUnit.Framework.Internal;
using NUnit.Framework.Internal.Builders;
using Ploeh.AutoFixture.Kernel;
namespace Ploeh.AutoFixture.NUnit3
{
/// <summary>
/// This attribute uses AutoFixture to generate value... | {
"content_hash": "7e7010c316392137a94b27fd623133c9",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 224,
"avg_line_length": 36.656565656565654,
"alnum_prop": 0.6277211352989804,
"repo_name": "sergeyshushlyapin/AutoFixture",
"id": "3b771721eb95499af2db211237afcdcf5b7a8c75",
... |
/*
* Main.java
*
*
*/
package openjava.ojc;
import java.io.PrintStream;
public class Main {
public static void main(String argc[]) {
System.err.println("OpenJava Compiler Version 1.1 " + "build 20031119");
CommandArguments arguments;
try {
arguments = new CommandArguments(... | {
"content_hash": "b27b2b4a3b43cb4ba0b121daf6a10249",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 80,
"avg_line_length": 30.37037037037037,
"alnum_prop": 0.4481707317073171,
"repo_name": "jeffoffutt/OJ",
"id": "652c465bcdb39566c5e29bb5818e42f50868f55b",
"size": "1640",
... |
layout: post
title: "A modern REST API in Laravel 5 Part 1: Structure"
subtitle: "A modern take on a scalable structure for your Laravel API"
date: 2016-04-11 17:04:00 +0200
author: "Esben Petersen"
header-img: "img/post-bg-01.jpg"
---
## tl;dr
<p>
This article will demonstrate how to separate ... | {
"content_hash": "593674fd53ce5a160ef8e02e01cc2c90",
"timestamp": "",
"source": "github",
"line_count": 708,
"max_line_length": 330,
"avg_line_length": 32.24152542372882,
"alnum_prop": 0.6960178735707715,
"repo_name": "esbenp/esbenp.github.io",
"id": "5a26c71af4be7f67291d1b61a65a7710727dafb2",
"siz... |
package com.google.gwtexpui.clippy.client;
import com.google.gwt.resources.client.CssResource;
public interface ClippyCss extends CssResource {
String label();
String copier();
String swf();
}
| {
"content_hash": "10e646778999027262048e6495c6bfb9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.7661691542288557,
"repo_name": "MerritCR/merrit",
"id": "05a1861f8c28483c591ecabd4988137004b250a8",
"size": "810",... |
#include "../header/game_object.h"
//Main State constants
const u16 SCREENHOLE =48; //How big percieved hole between screens is
const u16 BORDER = 4; //Border in pixels around screen (used for collisions)
//Defines for width and height of screen
const u16 SHEIGHT = 191;
const u16 SWIDTH = 255;
//Defines ... | {
"content_hash": "a44da967a19cdd5d9a29b41a31d04086",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 82,
"avg_line_length": 27.59493670886076,
"alnum_prop": 0.6944954128440367,
"repo_name": "jrgrafton/pucka-ds",
"id": "c7ff252693b02654362adfc2381377a45a8d0e79",
"size": "22... |
package org.uberfire.client.screens.todo;
import javax.annotation.PostConstruct;
import javax.inject.Inject;
import com.google.gwt.core.client.GWT;
import com.google.gwt.dom.client.Style;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.... | {
"content_hash": "5e1ef4568ccdf209b63d69d408c20c5e",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 73,
"avg_line_length": 32.46153846153846,
"alnum_prop": 0.5864928909952607,
"repo_name": "porcelli-forks/uberfire",
"id": "bcf02a856ff37ffbfdb4945baedceaf0554028d3",
"size"... |
// Copyright 2015 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.
#include "content/renderer/categorized_worker_pool.h"
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/conta... | {
"content_hash": "bf4eeacba47e8b5b34e69f1bbbb206a1",
"timestamp": "",
"source": "github",
"line_count": 516,
"max_line_length": 80,
"avg_line_length": 35.30813953488372,
"alnum_prop": 0.6995444316373017,
"repo_name": "ric2b/Vivaldi-browser",
"id": "bc3b469f52ad1146942e42516875cbeb82571bf4",
"size":... |
/**
* Select2 Bootstrap CSS 1.0
* Compatible with select2 3.3.2 and bootstrap 2.3.1
* MIT License
*/
.select2-container {
margin-top: 5px;
font-style: italic;
vertical-align: middle;
}
.select2-container.input-mini {
width: 60px;
}
.select2-container.input-small {
width: 90px;
}
.select2-container.input-m... | {
"content_hash": "40e6f0d8a37322fd5c131ef581082401",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 92,
"avg_line_length": 24.214876033057852,
"alnum_prop": 0.6866894197952218,
"repo_name": "cheftestn/redis-stat",
"id": "d86f692dd88e30b5205736d5f44301fdcdc4fd91",
"size":... |
module TmGrammar
module RSpec
module Util
module TempFiles
module_function
def files
@files ||= []
end
def clear
files.each(&:unlink)
end
end
end
end
end
| {
"content_hash": "21744c8b81099fb6c2d73d40e5514e99",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 30,
"avg_line_length": 14.117647058823529,
"alnum_prop": 0.49583333333333335,
"repo_name": "jacob-carlborg/tm_grammar",
"id": "654effa02f9c6d980e9d64367ad3ceeb4dea5d7e",
"s... |
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>friction_velocity — MetPy 0.6</title>
... | {
"content_hash": "3ac6a5094289dc089b7f3261eb6c3996",
"timestamp": "",
"source": "github",
"line_count": 426,
"max_line_length": 493,
"avg_line_length": 49.532863849765256,
"alnum_prop": 0.6579782948675418,
"repo_name": "metpy/MetPy",
"id": "baead9dcd9129b22efd599f8e234edd666a381ff",
"size": "21119"... |
// MIT License:
//
// Copyright (c) 2010-2012, Joe Walnes
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, ... | {
"content_hash": "62b9f7bc832941cd25243b4626dc8bae",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 106,
"avg_line_length": 32.95530726256983,
"alnum_prop": 0.5756907950500085,
"repo_name": "wangzhibinjunhua/watch_tcp_server",
"id": "f4a2116162a214f3f93baa4257e840767a3839d... |
if (typeof define !== 'function') {
var define = require('amdefine')(module);
}
// Functions which will be available to external callers
define([ "myclass","log4js", "./native_lib", "./utils", "./bridjs_exception", "./abstract_struct"], function(my, log4js, bridjs, Utils, BridjsException, AbstractStruct){
va... | {
"content_hash": "5b72a67e35367ad2c1d1e043e913a5c6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 170,
"avg_line_length": 31.473684210526315,
"alnum_prop": 0.6187290969899666,
"repo_name": "gautmaire/See-To-Learn",
"id": "b497443449992ca241988863252bd2d423362c18",
"size... |
<?php
require_once __DIR__.'/../src/autoload.php';
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\DependencyInjection\Loader\LoaderInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
//use Application\DevoriginBundle\DevoriginBundle;
//use Bundle\NewsBundle\NewsBundle;
class Devor... | {
"content_hash": "cfa77585777c453065b18c74369e9eb9",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 85,
"avg_line_length": 31.535714285714285,
"alnum_prop": 0.6311815779539449,
"repo_name": "vjousse/devorigin-symfony2",
"id": "b68242fa94060ae9dc836337ec891604f4335d16",
"s... |
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// This file implements the "bridge" between Java and C+... | {
"content_hash": "e893d43ffef2a93702843d8d22ddfe85",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 80,
"avg_line_length": 36.67857142857143,
"alnum_prop": 0.6416747809152873,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "c3a68cdf284d5a81f57823852f8ae4bb9b0af5cb",
"... |
/*
* 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
* distribut... | {
"content_hash": "b9ea9c5583129ea99738bf0b57b43d24",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 145,
"avg_line_length": 34.2,
"alnum_prop": 0.702729044834308,
"repo_name": "erichwang/presto",
"id": "40b90f42c1c67fdd700b6a5c70fd278feb0ddf0f",
"size": "2052",
"binary"... |
package com.bushstar.htmlcoinj.core;
import com.bushstar.htmlcoinj.params.MainNetParams;
import org.junit.Test;
import org.spongycastle.util.encoders.Hex;
import java.util.Arrays;
import static org.junit.Assert.*;
public class BloomFilterTest {
@Test
public void insertSerializeTest() {
BloomFilter f... | {
"content_hash": "7c0c094bf32bd2d14d1c9a3315607dbe",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 281,
"avg_line_length": 49.62337662337662,
"alnum_prop": 0.7278199424234494,
"repo_name": "machado-rev/htmlcoinj",
"id": "fdf8c697817e778545fd18a518cc6cc22e290433",
"size":... |
// ToolsAdd.cpp : implementation file
//
#include "stdafx.h"
#include "p4win.h"
#include "ToolsAdd.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CToolsAdd dialog
CT... | {
"content_hash": "717bb535439a2ca011605fec6103f457",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 77,
"avg_line_length": 22.227272727272727,
"alnum_prop": 0.5976482617586912,
"repo_name": "danieljennings/p4win",
"id": "a44ecbb6e6bdb6a021b62c29f839963b348f07b6",
"size": ... |
package com.thoughtworks.go.plugin.access.authorization;
import com.thoughtworks.go.plugin.domain.authorization.AuthorizationPluginInfo;
import com.thoughtworks.go.plugin.infra.PluginManager;
import com.thoughtworks.go.plugin.infra.plugininfo.GoPluginDescriptor;
import org.junit.Before;
import org.junit.Test;
import... | {
"content_hash": "c21c4b36a351c7b89a7b46c3cb55e936",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 152,
"avg_line_length": 42.57534246575342,
"alnum_prop": 0.7718790218790219,
"repo_name": "marques-work/gocd",
"id": "26ac4801c7819c6b2f47ca9fe959d1784200c2d1",
"size": "37... |
'use strict';
/**
* @ngdoc directive
* @name ubiApp.directive:taskList
* @description
* # taskList
*/
angular.module('ubiApp')
.directive('taskList', function () {
return {
templateUrl: 'views/tasklist.html',
controller: 'TasklistCtrl',
restrict: 'E',
scope:{
data:'=',
... | {
"content_hash": "b9b404b080788c5ab1de62ea9e86ae87",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 54,
"avg_line_length": 19.136363636363637,
"alnum_prop": 0.5439429928741093,
"repo_name": "healyma/ubidobi",
"id": "7dd49bb9c9e0bf61bb16dc831a1a11968d094618",
"size": "421"... |
package org.wildfly.swarm.internal;
import java.nio.file.Path;
/**
* Dummy implementation of {@link FileSystemLayout} which is to be used only in the appropriate test case.
*/
public class CustomFileSystemLayout extends FileSystemLayout {
public CustomFileSystemLayout(String path) {
super(path);
... | {
"content_hash": "fc5845a61ef8595f82d79f6045773d7b",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 106,
"avg_line_length": 26.764705882352942,
"alnum_prop": 0.6981684981684981,
"repo_name": "wildfly-swarm/wildfly-swarm",
"id": "51d58772d88cb7c8c5d637a7d763a618bd6d96d3",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_13) on Wed Aug 05 08:53:10 ICT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=utf8">
<TITLE>
Method
</TITLE>
<META N... | {
"content_hash": "abbd8a44fbe8a5cdb22b9ca97717d42a",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 545,
"avg_line_length": 46.26813880126183,
"alnum_prop": 0.6372809708870253,
"repo_name": "desiderantes/jgentle",
"id": "ae412c03bb1725e59d4f053021ede0347231807e",
"size":... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using... | {
"content_hash": "ae1c7cd3d5bd3452778f80848e1f0c8f",
"timestamp": "",
"source": "github",
"line_count": 3627,
"max_line_length": 194,
"avg_line_length": 22.42624758753791,
"alnum_prop": 0.5299483648881239,
"repo_name": "KevinRansom/roslyn",
"id": "3f5ef74ec4eaf72fe80f4a1fb28fd2bb64bd933d",
"size": ... |
title: Get started with Calico network policy for OpenStack
description: Extend OpenStack security groups by applying Calico network policy and using labels to identify VMs within network policy rules.
---
### Big picture
Use {{site.prodname}} network policy to extend security beyond OpenStack security groups.
### V... | {
"content_hash": "ad24cd243a364f87c3b0343e2c303e3f",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 424,
"avg_line_length": 45.08653846153846,
"alnum_prop": 0.7622094263169119,
"repo_name": "bcreane/calico",
"id": "cbcc21a16901b8e266146bb474217a509cc14bca",
"size": "4699... |
package org.ovirt.engine.core.bll;
import org.ovirt.engine.core.common.config.Config;
import org.ovirt.engine.core.common.config.ConfigValues;
import org.ovirt.engine.core.common.queries.TimeZoneQueryParams;
public class GetDefaultTimeZoneQuery<P extends TimeZoneQueryParams> extends QueriesCommandBase<P> {
public... | {
"content_hash": "873a9d7d3d9f4c96881578789a0d8f5f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 99,
"avg_line_length": 33.62068965517241,
"alnum_prop": 0.7138461538461538,
"repo_name": "zerodengxinchao/ovirt-engine",
"id": "592a1bd45a80c2498c99ce46e328d142e8fb877b",
"... |
#ifndef EFI_TIMER_DELAY_H
#define EFI_TIMER_DELAY_H
/**
* <!-- description -->
* @brief Defines the layout of the EFI_TIMER_DELAY struct:
* https://uefi.org/sites/default/files/resources/UEFI_Spec_2_8_final.pdf
*/
typedef enum
{
/**
* @brief The event’s timer setting is to be cancelled and no time... | {
"content_hash": "f0451ccf335240a7c379f18759772f29",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 77,
"avg_line_length": 25.91176470588235,
"alnum_prop": 0.6549375709421112,
"repo_name": "Bareflank/hypervisor",
"id": "97af6a05b5582d830fa3a5bf273cc7bd62c872fa",
"size": "... |
var extractZipFile,
resultObjs = {},
threadCallback = null,
_utils = require("../../lib/utils");
module.exports = {
extract: function (success, fail, args, env) {
var result = new PluginResult(args, env);
resultObjs[result.callbackId] = result;
extractZipFile.getInstance().extractFile(result.callbackId, ... | {
"content_hash": "29155f7afe7cd3a929bb3874c58aa8fe",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 76,
"avg_line_length": 24.683673469387756,
"alnum_prop": 0.5965274906986358,
"repo_name": "Makoz/WebWorks-Community-APIs",
"id": "ed24f6351a69dd1d078158efe2ff1f88e7012f88",
... |
package com.eebbk.joy;
import com.eebbk.joy.utils.L;
import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android... | {
"content_hash": "b33ea1c798f572e7e6f4a0dc89201266",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 111,
"avg_line_length": 20.5,
"alnum_prop": 0.69932716568545,
"repo_name": "jyqqhw/Joy",
"id": "0ad640c932719fc65ecbc83e846f2ccd44da106c",
"size": "2378",
"binary": fals... |
import { isStringNotEmpty } from "@runningdinner/shared";
/**
*
* @param queryParams URLSearchParams
* @param queryParamName name of URL query param
* @returns Returns the decoded url query param or an empty string
*/
export function getDecodedQueryParam(queryParams: URLSearchParams, queryParamName: string) {
... | {
"content_hash": "f0541de9a6a5a1561a9f4a5966617bef",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 92,
"avg_line_length": 31.866666666666667,
"alnum_prop": 0.7594142259414226,
"repo_name": "Clemens85/runningdinner",
"id": "eb7dc3e3f9fa00f4804203ca610a12abc05d8313",
"size... |
package com.linkedin.thirdeye.dashboard.resources;
import com.wordnik.swagger.annotations.ApiOperation;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List... | {
"content_hash": "9de0eb15d06f605b4da60c0afbbb3f03",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 158,
"avg_line_length": 42.25,
"alnum_prop": 0.7377852916314455,
"repo_name": "apucher/pinot",
"id": "3a2d43cc7a7f16e70ee264cdb301b980a7bf79e8",
"size": "12467",
"binary... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
<style type="t... | {
"content_hash": "c1c92ede1fb409c65651b24b0d3b959b",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 86,
"avg_line_length": 34.82824427480916,
"alnum_prop": 0.4391232876712329,
"repo_name": "007slm/kissy",
"id": "7ffe0d27acd3b9848541b56fc1f45d3cf940983a",
"size": "9163",
... |
/* $Id: lwdnoop.c,v 1.13 2008/01/22 23:28:04 tbox Exp $ */
/*! \file */
#include <config.h>
#include <isc/socket.h>
#include <isc/util.h>
#include <named/types.h>
#include <named/lwdclient.h>
void
ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) {
lwres_nooprequest_t *req;
lwres_noopresponse... | {
"content_hash": "8f7d41e32d93a60ce162ccb1e4bd0e22",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 71,
"avg_line_length": 21.86111111111111,
"alnum_prop": 0.6880559085133418,
"repo_name": "dplbsd/soc2013",
"id": "14d8e0c4cfbbc15f3f453f91a3cbcc5bd6f16e87",
"size": "2441",... |
// going to break the game into periods:1, 2, 3, 4, 5 etc. and that way all posts and all data will be the same for all players no matter when they start to play. This also solves Alessandra Casella's problem. There has to be a global clock that is gotten by an ajax call. The global clock gives periods: 1, 2, 3, plus h... | {
"content_hash": "921cb41f2a07c1cad5bb25898fd9f40b",
"timestamp": "",
"source": "github",
"line_count": 646,
"max_line_length": 548,
"avg_line_length": 37.9953560371517,
"alnum_prop": 0.519942961906702,
"repo_name": "jac2130/BayesGame",
"id": "4e9fd388f1f57e51d128a5b0ac3d8f30f277f661",
"size": "245... |
package net.drewke.tdme.gui.elements;
import net.drewke.tdme.gui.events.GUIKeyboardEvent;
import net.drewke.tdme.gui.events.GUIMouseEvent;
import net.drewke.tdme.gui.events.GUIMouseEvent.Type;
import net.drewke.tdme.gui.nodes.GUIColor;
import net.drewke.tdme.gui.nodes.GUIElementNode;
import net.drewke.tdme.gui.nodes.G... | {
"content_hash": "3469e766d990094436db8ca08cdf9c50",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 152,
"avg_line_length": 27.92217898832685,
"alnum_prop": 0.7364827201783724,
"repo_name": "andreasdr/tdme",
"id": "3b452cc598bb0ba1b35cf2022bc547db06f5f994",
"size": "7176... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>DestinyItemStateRequest | The Traveler</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" hr... | {
"content_hash": "887850a50c1d6d890af7d0f229bc3763",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 211,
"avg_line_length": 52.42796610169491,
"alnum_prop": 0.66806756647539,
"repo_name": "alexanderwe/the-traveler",
"id": "7ae944fab6094d6693aea1bad5a888e8dcc0fbf7",
"size... |
//
// GPKGFeatureOverlayQueryUtils.h
// geopackage-iosTests
//
// Created by Brian Osborn on 5/3/22.
// Copyright © 2022 NGA. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GPKGGeoPackage.h"
/**
* Feature overlay query utils
*/
@interface GPKGFeatureOverlayQueryUtils : NSObject
/**
* Test ... | {
"content_hash": "27b487a0448547a56d3b73e0bfda4e90",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 66,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.7165178571428571,
"repo_name": "ngageoint/geopackage-ios",
"id": "4a3490ef988c5fc5e7d6361025faf17dfd4b02c6",
"siz... |
import json
import nltk.sentiment.util
import os
import random
from _operator import itemgetter
from datetime import timedelta
from nltk.sentiment import SentimentIntensityAnalyzer
from Clustering.clustering import find_tweets_with_keywords_idf
from config.config import PROJECT_DIR, PCLOUD_DIR
from inputoutput.cli imp... | {
"content_hash": "bf9bb759ff55fea2ff466c0735a13089",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 124,
"avg_line_length": 36.621212121212125,
"alnum_prop": 0.5982623086470832,
"repo_name": "den1den/web-inf-ret-ml",
"id": "8cba69d28c7bf632b287a1970dce0c27dfdc4480",
"siz... |
/**************************************************************************************************
*** This file was autogenerated from GrCircleEffect.fp; do not modify.
**************************************************************************************************/
#ifndef GrCircleEffect_DEFINED
#define GrCirc... | {
"content_hash": "8c5bd8a87f844e33e234c8cc1d0b5143",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 100,
"avg_line_length": 45.51162790697674,
"alnum_prop": 0.6320899335717935,
"repo_name": "HalCanary/skia-hc",
"id": "c43ab987ea38fd043ce3433ff6c1f2de2a9800e9",
"size": "21... |
package cmd
import (
"fmt"
"io/ioutil"
"reflect"
"sort"
"testing"
kerrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
clientgotesting "k8s.io/client-go/testing"
kapi "k8s.io/kubernetes/pkg/apis/core"
"k8s.io/kubernetes/pkg/client/clie... | {
"content_hash": "8ca662e096d977f0ddbea4b48e5a0f37",
"timestamp": "",
"source": "github",
"line_count": 332,
"max_line_length": 152,
"avg_line_length": 37.102409638554214,
"alnum_prop": 0.7443578503003735,
"repo_name": "legionus/origin",
"id": "530ea8e21299a248a85780d5802564674940c7f5",
"size": "12... |
#ifndef __TimedAction_H_
#define __TimedAction_H_
#include "Action.h"
#include "Node.h"
namespace cocosdl
{
namespace action
{
/**
* This subclass of action provides the means of measuring time and calculating how much time has elapsed from one
* game engine call to other. Cannot be used directly... | {
"content_hash": "c54fdbd5aa8646655ac411a3a44d8abd",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 118,
"avg_line_length": 22.483333333333334,
"alnum_prop": 0.6293550778354337,
"repo_name": "ncerezo/cocosdl",
"id": "31da18adb5dff1c42baf69659d9ce91295a37d11",
"size": "196... |
package org.apache.camel.component.websocket;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteB... | {
"content_hash": "86d9e3e76d250fead7a3a44e83efb56b",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 111,
"avg_line_length": 35.604395604395606,
"alnum_prop": 0.5348765432098765,
"repo_name": "mcollovati/camel",
"id": "71d5a887242f492fa413e2f70bc7e31694070e67",
"size": "7... |
package com.google.gerrit.server.query.change;
import static com.google.common.base.MoreObjects.firstNonNull;
import static com.google.common.flogger.LazyArgs.lazy;
import static com.google.gerrit.server.project.ProjectCache.noSuchProject;
import static java.util.concurrent.TimeUnit.MINUTES;
import com.google.common.... | {
"content_hash": "7b49dc9d63b79b77e6cc826faf34076c",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 100,
"avg_line_length": 36.375,
"alnum_prop": 0.6835162398847134,
"repo_name": "GerritCodeReview/gerrit",
"id": "fc4c1d084daf272a0baa83785edef085c4c09768",
"size": "9630",... |
package com.nike.cerberus.validation;
import static org.mockito.Mockito.mock;
import com.nike.cerberus.domain.UserGroupPermission;
import java.util.HashSet;
import javax.validation.ConstraintValidatorContext;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.internal.util.c... | {
"content_hash": "2eeb0453ce1db470bb3c67020b733c48",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 90,
"avg_line_length": 27.48936170212766,
"alnum_prop": 0.7708978328173375,
"repo_name": "Nike-Inc/cerberus",
"id": "549edd2299f97858288b6871071fcbe8454d471d",
"size": "188... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4d8e09e9f1d6892814abb4d32e1e37d1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "2263557f0388a3aa40b113e3b4c35497bd23747b",
"size": "177... |
<#
.NOTES
Copyright (c) Microsoft Corporation. All rights reserved.
.SYNOPSIS
Create a VM as a new container host
.DESCRIPTION
Collects collateral required to create a container host
Creates a VM
Configures the VM as a new container host
.PARAMETER... | {
"content_hash": "13bc4c966e50bbc2a95b4d165f2f5591",
"timestamp": "",
"source": "github",
"line_count": 1491,
"max_line_length": 309,
"avg_line_length": 31.632461435278337,
"alnum_prop": 0.5936943431430752,
"repo_name": "larsiwer/Virtualization-Documentation",
"id": "57170797294a9b69eb1b904db8ab71ef0... |
package org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates;
import org.apache.hadoop.hive.ql.exec.Description;
import org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorAggregateExpression;
import org.apache.hadoop.hive.ql.exec.vector.ColumnVector;
import org.apache.hadoop.hive.ql.exec.vect... | {
"content_hash": "ab4aa531472c2c681cf7cdf334b99c36",
"timestamp": "",
"source": "github",
"line_count": 436,
"max_line_length": 102,
"avg_line_length": 27.09633027522936,
"alnum_prop": 0.6627729812087354,
"repo_name": "alanfgates/hive",
"id": "7f2a18ab8eddec25241d49602cebaeaaa1475c76",
"size": "126... |
require 'minitest/autorun'
require 'semverb'
class TestSemveRB < MiniTest::Test
def setup
@starting_pwd = Dir.pwd
end
def teardown
Dir.chdir(@starting_pwd)
end
def test_find_version_rb
Dir.chdir('test/fixtures/version_rb')
r = SemveRB.find_rb_version_const
assert_equal(['lib/foo/version... | {
"content_hash": "25957fbaf9a17d1da363f93bb6275952",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 78,
"avg_line_length": 26.944444444444443,
"alnum_prop": 0.6742268041237114,
"repo_name": "lloeki/semverb",
"id": "12fb6a7223b52fde81be277b9ee9263acda9f812",
"size": "970",... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of stand... | {
"content_hash": "6c9e7ed2498939d3b2e8d01c2aa22ba8",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 114,
"avg_line_length": 28.325481798715202,
"alnum_prop": 0.6024342304203205,
"repo_name": "cagecoin-project/cagecoin",
"id": "6e8fcc6b786ca11180c8f8ebae10066584437435",
"... |
/* Alloc.c -- Memory allocation functions
2008-09-24
Igor Pavlov
Public domain */
#ifdef _WIN32
#include <windows.h>
#endif
#include <stdlib.h>
#include "7zMyAlloc.h"
/* #define _SZ_ALLOC_DEBUG */
/* use _SZ_ALLOC_DEBUG to debug alloc/free operations */
#ifdef _SZ_ALLOC_DEBUG
#include <stdio.h>
int g_allocCount = 0... | {
"content_hash": "93812b4302b57370dbbf34b7e39b4e28",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 106,
"avg_line_length": 21.20472440944882,
"alnum_prop": 0.6476049015967322,
"repo_name": "AllegianceZone/Allegiance",
"id": "2df95c735b1fcf8580bf85fa6313a29b08405b3f",
"s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.