text stringlengths 2 1.04M | meta dict |
|---|---|
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 330772 $ -->
<refentry xml:id="intltimezone.geterrormessage" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>IntlTimeZone::getErrorMessage</refname>
<refname>intltz_get_error_message</refname>
<refpurp... | {
"content_hash": "8a65337c609ad5f552ae4c4de7ed563c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 129,
"avg_line_length": 23.676923076923078,
"alnum_prop": 0.7179987004548408,
"repo_name": "mziyut/.vim",
"id": "44b5bbf7cadd05abf430f5469f19c4b47f23bf33",
"size": "1539",
... |
namespace clang {
namespace driver {
class ArgList;
/// \brief A concrete instance of a particular driver option.
///
/// The Arg class encodes just enough information to be able to
/// derive the argument values efficiently. In addition, Arg
/// instances have an intrusive double linked list which is used... | {
"content_hash": "27858a7f27cdae8eefb8ec32ec75c739",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 77,
"avg_line_length": 32.53636363636364,
"alnum_prop": 0.6624755518301202,
"repo_name": "dplbsd/soc2013",
"id": "662a2e2c618b3cda275e3ba4ae82bf22d69f4c14",
"size": "4283"... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Transport.Channels.Embedded
{
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
... | {
"content_hash": "771e36de856861baef895ae3117df961",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 103,
"avg_line_length": 29.702380952380953,
"alnum_prop": 0.558316633266533,
"repo_name": "dragonphoenix/proto-java-csharp",
"id": "15c4edc2bbf426330676c43099980533f2b5d654",... |
ActiveRecord::Schema.define(version: 20140626050616543543459000) do
create_table "coupons", force: true do |t|
t.string "code"
t.string "free_trial_length"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "customers", force: true do |t|
t.string "email"
t.datetime "... | {
"content_hash": "23cd140f30beb71a5b4ab7f112e4a61a",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 67,
"avg_line_length": 24.146341463414632,
"alnum_prop": 0.6212121212121212,
"repo_name": "Papercloud/koudoku",
"id": "91fc82d0d2b8f8543e086afdccac3b898dee932a",
"size": "1... |
set projectname=staff.admin
set target=%1%
if "%target%" == "" (
echo.
echo Error: Target is not set.
exit 1
)
set arch=%2%
if "%arch%" == "" (
echo.
echo Error: Arch is not set.
exit 1
)
set deploydir=%cd%\..\..\..\deploy\win_%arch%
set componentdir=%deploydir%\staff\components\%project... | {
"content_hash": "97645f5697bdf49b89b0bd401e5ae648",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 59,
"avg_line_length": 20.17391304347826,
"alnum_prop": 0.6206896551724138,
"repo_name": "google-code-export/staff",
"id": "56c84aabd8b9b011ba163e3beaa699092aaa3fc0",
"size... |
NS_BEGIN(CORE_MATH_NAMESPACE)
namespace scalar{
template<typename T>
struct Pi{
static inline void operation(T & a){
a = M_PI;
}
};
}
NS_END(CORE_MATH_NAMESPACE)
| {
"content_hash": "f5a1791f51b5267ff7d341616a919a70",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 44,
"avg_line_length": 21.6,
"alnum_prop": 0.5416666666666666,
"repo_name": "toeb/cpp.core",
"id": "f2ff862c4f9b7f755613c3b9c9e1d491d9f5c381",
"size": "303",
"binary": fa... |
import codecs
import sys
import getopt
import os
from learning.PageManager import PageManager
import json
import time
import logging
logger = logging.getLogger("landmark")
# logging.basicConfig(level=logging.INFO)
# logger = logging.getLogger("landmark")
# handler = logging.FileHandler('landmark.log')
# handler.setLev... | {
"content_hash": "f1517cfd7918c07f035caa19a68d7c3f",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 173,
"avg_line_length": 34.43877551020408,
"alnum_prop": 0.5466666666666666,
"repo_name": "usc-isi-i2/landmark-extraction",
"id": "c8024ed2ca0dd7f00e42ebffe28d0ab66f41364d",
... |
Library for network operations.
| {
"content_hash": "01723522e9eee4564c739fa860319f56",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 31,
"avg_line_length": 32,
"alnum_prop": 0.84375,
"repo_name": "Xevle/Xevle.Network",
"id": "3806ca51f111c493a49fbf29be9cf9328e4fc1b3",
"size": "48",
"binary": false,
"c... |
@implementation JsonObject
@synthesize json;
- (id) initWithJson:(id)obj {
self = [super init];
if (self) {
json = [obj retain];
}
return self;
}
- (id) initWithContentsOfFile:(NSString *)path {
NSString *str = [NSString stringWithContentsOfFile:path encoding:NSUTF8StringEncoding error:nil];
if (str) {
ret... | {
"content_hash": "6c012f9b43b41432c22a3f501cffb934",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 98,
"avg_line_length": 20,
"alnum_prop": 0.7055555555555556,
"repo_name": "cathandnya/Pixitail",
"id": "d7a2dd31b7e6165b714765cf7ccd7edb6580932a",
"size": "1060",
"binary... |
declare module 'react-simplemde-editor' {
declare module.exports: any;
}
declare module 'react-simplemde-editor/dist/simplemde.min.css' {
declare module.exports: any;
}
| {
"content_hash": "8d712ad7601b9a1c77a46c7bd5e912d9",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 64,
"avg_line_length": 24.857142857142858,
"alnum_prop": 0.7528735632183908,
"repo_name": "lbryio/lbry-electron",
"id": "7d23780f12b937179a81663bce9c559a10b60b2b",
"size": "... |
package com.cognifide.apm.api.actions;
import com.cognifide.apm.api.exceptions.ActionExecutionException;
import javax.jcr.RepositoryException;
import javax.jcr.ValueFactory;
import javax.jcr.security.AccessControlManager;
import org.apache.jackrabbit.api.JackrabbitSession;
import org.apache.jackrabbit.api.sec... | {
"content_hash": "6d9149d202c2627d4f5d0aa1704e577b",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 72,
"avg_line_length": 29,
"alnum_prop": 0.803448275862069,
"repo_name": "Cognifide/APM",
"id": "53006a95bb507fbbf744a2d68958ab5fa162d2f7",
"size": "1982",
"binary": fals... |
namespace http {
#ifdef _WIN32
class WinSock final {
public:
WinSock() {
WSADATA wsaData;
int error = WSAStartup(MAKEWORD(2, 2), &wsaData);
if (error != 0)
throw std::system_error(error, std::system_category(), "WSAStartup failed");
if (L... | {
"content_hash": "3443a67ac60d383a28b2614a9de4b3e5",
"timestamp": "",
"source": "github",
"line_count": 546,
"max_line_length": 120,
"avg_line_length": 35.8021978021978,
"alnum_prop": 0.44920196439533455,
"repo_name": "richkmeli/Richkware",
"id": "795b622496773aee863ce1d58cbe72d97ff489db",
"size": ... |
package gov.nih.nci.caadapter.common.validation;
import gov.nih.nci.caadapter.common.ApplicationException;
/**
* An application exception that that occurs when business rules are violated.
*
* @author OWNER: Matthew Giordano
* @author LAST UPDATE $Author: phadkes $
* @version $Revision: 1.3 $
* @since caAdapt... | {
"content_hash": "e311c4b4ab32e26d45b495eb1d94125f",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 78,
"avg_line_length": 21.612903225806452,
"alnum_prop": 0.7343283582089553,
"repo_name": "NCIP/caadapter",
"id": "664cb6a762d26a2c1775c46150c80a4ab9cc7397",
"size": "840",... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="null" lang="null">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>JspEncodingTest xref</title>
<link typ... | {
"content_hash": "5ce91c42a93efd854a2054ecda8a4b4a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 323,
"avg_line_length": 64.16129032258064,
"alnum_prop": 0.6269482151835093,
"repo_name": "pscadiz/pmd-4.2.6-gds",
"id": "418fa1a5605a84ecc6ad99cc3112905eb861138e",
"size":... |
import datetime
from django import template
from django.core.urlresolvers import reverse as urlreverse
from django.conf import settings
from django.db.models import Q
from django.utils.safestring import mark_safe
from ietf.ietfauth.utils import user_is_person, has_role
from ietf.doc.models import BallotDocEvent, Ball... | {
"content_hash": "c8ddb3929ef410f8f5feafdb73c59d97",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 128,
"avg_line_length": 34.57754010695187,
"alnum_prop": 0.559851531085679,
"repo_name": "mcr/ietfdb",
"id": "29f0b79e7273539a543d8edc13923fcfa460be2d",
"size": "8139",
... |
var path = require('path');
var assert = require('assert');
describe('confo', function() {
beforeEach(function() {
this.confo = require('..');
});
afterEach(function() {
this.confo = undefined;
});
it('should add _confo property in test environment', function() {
assert.equal(typeof this.confo._... | {
"content_hash": "7ab0a557c669b512063cac7e5752fd4a",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 80,
"avg_line_length": 34.232142857142854,
"alnum_prop": 0.6181533646322379,
"repo_name": "ssbb/confo",
"id": "77bed4c1b25fa267e3dcfec2be3c3339950347ff",
"size": "1917",
... |
#ifndef _CONS_H_
#define _CONS_H_
#define IO_KEYBOARD 1
#define IO_SERIAL 2
extern uint8_t ioctrl;
void putc(int c);
void xputc(int c);
void putchar(int c);
int getc(int fn);
int xgetc(int fn);
int keyhit(unsigned int secs);
void getstr(char *cmdstr, size_t cmdstrsize);
#endif /* !_CONS_H_ */
| {
"content_hash": "7152a1d33f8b0780b4f7c77cde4d9fd8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 45,
"avg_line_length": 15.789473684210526,
"alnum_prop": 0.6866666666666666,
"repo_name": "dplbsd/zcaplib",
"id": "a491e77b8cff2080f7168387a0f7452d32954f47",
"size": "879",... |
using CommandLine;
using Google.Cloud.Firestore;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace GoogleCloudSamples
{
public class AddData
{
public static string Usage = @"Usage:
C:\> dotnet run command YOUR_PROJECT_ID
Where command is ... | {
"content_hash": "e606573a9f27fa2f2807c77867fd514d",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 122,
"avg_line_length": 38.57716049382716,
"alnum_prop": 0.5513241059284743,
"repo_name": "GoogleCloudPlatform/dotnet-docs-samples",
"id": "0071ea58cd7bd8236a853257b75c1cb0f... |
(function(){
/* global d3 */
"use strict";
var margin = {top: 20, right: 80, bottom: 30, left: 50},
width = 860 - margin.left - margin.right,
height = 400 - margin.top - margin.bottom,
MAX_BANK_RADIUS=30,
parseDate = d3.time.format("%d/%m/%Y").parse,
x = d3.time.scale()
.range(... | {
"content_hash": "2b60ffaed2d14db08825751826acd5e1",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 417,
"avg_line_length": 41.94210526315789,
"alnum_prop": 0.5242815911657673,
"repo_name": "Kyrand/BrightonHackathon",
"id": "e8ee470933e550004333bca32cdcee0802256643",
"si... |
define(['dojo/_base/declare',
'dojo/Deferred',
'dojo/_base/lang',
'dojo/_base/array',
'jimu/LayerInfos/LayerInfos',
'dijit/form/Select',
'esri/tasks/query',
'esri/tasks/QueryTask',
'dijit/_TemplatedMixin',
'../BaseEditor'
], function(declare, Deferred, lang, array, LayerInfos, Select, Query, QueryTask... | {
"content_hash": "125097dfd7091b46e360b1b40e5f5d63",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 111,
"avg_line_length": 29.42105263157895,
"alnum_prop": 0.5684257602862254,
"repo_name": "tmcgee/cmv-wab-widgets",
"id": "4e99c07c3a44421a4caefaa1b5b73287d4de748a",
"size"... |
class Api::V1::ReviewsController < ApplicationController
def index
render json: Review.where(art_label_id: params[:art_label_id])
end
def show
# render json: Review.find(params[:id])
review_data = {
review: Review.find(params[:id]),
current_user: current_user,
votes: Vote.where(revie... | {
"content_hash": "0ea62afcd6597e6a5ca34425c5675d13",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 66,
"avg_line_length": 27.5,
"alnum_prop": 0.6571428571428571,
"repo_name": "koscim/beer-art-reviews",
"id": "cc3c7f1b72ef2a1e9869e4b26cc6181c366a340a",
"size": "385",
"b... |
package aci
import (
"archive/tar"
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"io/ioutil"
"os"
"strings"
"time"
"github.com/coreos/rkt/Godeps/_workspace/src/github.com/appc/spec/aci"
"github.com/coreos/rkt/Godeps/_workspace/src/github.com/appc/spec/schema"
"github.com/coreos/rkt/Godeps/_workspace/src/go... | {
"content_hash": "a679692fa4cf7ff0e54c5d32aed513e5",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 92,
"avg_line_length": 24.748387096774195,
"alnum_prop": 0.6819603753910324,
"repo_name": "jzelinskie/rkt",
"id": "3f16a10d33d5583cb294f84927a49ecd49875ecd",
"size": "4494... |
**Namespace:** [OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201605](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V201605.md)
**Assembly:** OfficeDevPnP.Core.dll
## Syntax
```C#
public Preferences()
```
## See also
- [Preferences](OfficeDevPnP.Core.Framework.Provisioning.Providers.Xml.V2016... | {
"content_hash": "17f100266cf7f2c8ffa61cdc66cbdf97",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 148,
"avg_line_length": 43,
"alnum_prop": 0.7928118393234672,
"repo_name": "PaoloPia/PnP-Guidance",
"id": "88ca0b6015fdc71846fb9fa1509770088a9e8291",
"size": "508",
"bina... |
#ifndef DB_LINEMOD_H_
#define DB_LINEMOD_H_
#include <object_recognition_core/db/document.h>
#include <opencv2/objdetect/objdetect.hpp>
namespace object_recognition_core
{
namespace db
{
// Specializations for cv::linemod::Detector
template<>
void
object_recognition_core::db::DummyDocument::get_... | {
"content_hash": "2f76e9e6eb3c7e30e1b9dd56609a8b8e",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 124,
"avg_line_length": 36.54081632653061,
"alnum_prop": 0.5548729405194079,
"repo_name": "WalkingMachine/sara_commun",
"id": "d74549ae4b052ae4129194d0d5c7690bcaa9c673",
"s... |
require "rails_helper"
describe Admin::BackupsController do
it "is a subclass of AdminController" do
expect(Admin::BackupsController < Admin::AdminController).to eq(true)
end
let(:backup_filename) { "2014-02-10-065935.tar.gz" }
context "while logged in as an admin" do
before { @admin = log_in(:admi... | {
"content_hash": "4c6db585faafe0c430e44ac4806fbc53",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 131,
"avg_line_length": 23.685279187817258,
"alnum_prop": 0.6056579511358765,
"repo_name": "rokn/Count_Words_2015",
"id": "050201a6ab098b942b71302bcec0ae65cfd95615",
"size... |
import map from 'lodash/map';
import get from 'lodash/get';
import uniq from 'lodash/uniq';
import meanBy from 'lodash/meanBy';
import flatten from 'lodash/flatten';
import { STATUSES } from './constants';
const keyMap = {
[STATUSES.completed]: 'completed',
[STATUSES.started]: 'started',
[STATUSES.notStarted]: '... | {
"content_hash": "47e0e16f7dadb8a9f64c305693fe3a87",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 95,
"avg_line_length": 30.594202898550726,
"alnum_prop": 0.6292436444023369,
"repo_name": "lyw07/kolibri",
"id": "a2d5935a487c5cdaec98528183a9870d3e808644",
"size": "6333"... |
//=================================================================================================
//=================================================================================================
#ifndef _BLAZE_MATH_FUNCTORS_RIGHTSHIFTASSIGN_H_
#define _BLAZE_MATH_FUNCTORS_RIGHTSHIFTASSIGN_H_
//****************... | {
"content_hash": "aa97d793c9fa704133499d6b8bf51f12",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 99,
"avg_line_length": 36.104166666666664,
"alnum_prop": 0.2890940565493364,
"repo_name": "camillescott/boink",
"id": "61d594f9123ae5699bb4e3db91d099a0b2e1dff5",
"size": "3... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `pthread_mutexattr_t` struct in crate `libc`.">
<meta name=... | {
"content_hash": "af912b469b80728ce18fc070c58d8a6c",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 596,
"avg_line_length": 53.5,
"alnum_prop": 0.5778816199376947,
"repo_name": "nitro-devs/nitro-game-engine",
"id": "a9d93ce32545f5ad9d4f8c6c6362c0b409254442",
"size": "643... |
<?php
/*
* 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.
*/
namespace IE\NylasSEClient\Authentication;
use IE\NylasSEClient\Model\Account;
/**
*
* @author jose.muriano
... | {
"content_hash": "a1125d5e62a994276d88406ad0398220",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 79,
"avg_line_length": 20.12,
"alnum_prop": 0.6878727634194831,
"repo_name": "Muriano/ie-nylas-se-php-client",
"id": "29273f560680f9f95f5763704a67d98ca46af5cd",
"size": "50... |
================
Write New Layers
================
This tutorial will guide you to write customized layers in PaddlePaddle. We will utilize fully connected layer as an example to guide you through the following steps for writing a new layer.
- Derive equations for the forward and backward part of the layer.
- Impleme... | {
"content_hash": "c789e811ad0d67e1b979104ff2fc62c6",
"timestamp": "",
"source": "github",
"line_count": 390,
"max_line_length": 856,
"avg_line_length": 51.44615384615385,
"alnum_prop": 0.687200956937799,
"repo_name": "yu239/Paddle",
"id": "110a9fb38f890a766bb4480e91feb22d3b0838a5",
"size": "20064",... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
This file is part of the Dutch Taxonomy (Nederlandse Taxonomie; NT)
Intellectual Property of the State of the Netherlands
Architecture: NT11
Version: 20161214
Release date: Wed Dec 14 09:00:00 2016
-->
<link:linkbase xmlns:link="http://www.x... | {
"content_hash": "c8df0c6b830a972e8f1087f883ff01da",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 211,
"avg_line_length": 79.375,
"alnum_prop": 0.752755905511811,
"repo_name": "dvreeze/tqa-workshop",
"id": "2f1c4b4891590807fb739c265bb39bd97790f212",
"size": "1270",
"b... |
#include "UnitTestFramework.h"
#include "InFnImageInitialization.h"
#include <sstream>
DEFINE_CATALOG_TABLE( InFnImageInitializationCatalog )
CATALOG_ENTRY( Catalog_Convert )
END_CATALOG_TABLE( InFnImageInitializationCatalog )
| {
"content_hash": "6d47726869ee4c2000da4577000d672b",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 54,
"avg_line_length": 24.1,
"alnum_prop": 0.7842323651452282,
"repo_name": "svn2github/framewave-trunk",
"id": "fabffd634289d9cbde17ef217169352f06d0fda4",
"size": "376",
... |
#pragma once
#include "String.h"
#include <type_traits>
namespace m
{
class SharedObject
{
public:
SharedObject();
SharedObject(const String &name);
~SharedObject();
bool load(const String &name);
template<typename T> T addressOf(const char *fname) const
... | {
"content_hash": "093a7c1485bed41503f6191c273ea945",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 82,
"avg_line_length": 21.875,
"alnum_prop": 0.5531428571428572,
"repo_name": "montoyo/mgpcl",
"id": "c784cc5df6bbc8e8ab3aa035ee567203a122a1c6",
"size": "1986",
"binary":... |
package org.apache.cassandra.db;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.List;
import com.codahale.metrics.Histogram;
import org.apache.cassandra.config.CFMetaData;
import org.apache.cassandra.cache.IMeasurableMemory;
import org.apache.cassandra.config.DatabaseDescriptor;
import org.... | {
"content_hash": "4e81afb00f5d31a72025b52daed6abd4",
"timestamp": "",
"source": "github",
"line_count": 836,
"max_line_length": 185,
"avg_line_length": 38.520334928229666,
"alnum_prop": 0.6325497624444928,
"repo_name": "mambocab/cassandra",
"id": "a709ec399e251b12a6911645ea6eac65a5292dd6",
"size": ... |
<?php
namespace Mailgun\Model\Suppression\Bounce;
use Mailgun\Model\Suppression\BaseResponse;
/**
* @author Sean Johnson <sean@mailgun.com>
*/
final class CreateResponse extends BaseResponse
{
}
| {
"content_hash": "c8c04a6d12a7338889fa9cb699532d71",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 47,
"avg_line_length": 14.428571428571429,
"alnum_prop": 0.7574257425742574,
"repo_name": "qisimah/web",
"id": "e91d5e887312912172df54052dc866825989ac6d",
"size": "368",
... |
- Supported usage
- [ ] Atom
- [ ] Sublime
- [ ] CLI
- [ ] Core (Node.js API)
- [ ] Core
- [ ] Standard Options & Languages
- [ ] Add Option
- Option has fields:
- `key` (unique)
- `description`
- `default`
- `type`
- ...
- [ ] Add Language
- Language has fields:
... | {
"content_hash": "58f200c95c05e0c4831462c9c8dd9270",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 113,
"avg_line_length": 21.20731707317073,
"alnum_prop": 0.6532489936745256,
"repo_name": "Unibeautify/unibeautify",
"id": "b3df329c3146ec2b4decea0a9820d9c4811fc67b",
"size... |
<tool id="iwtomics_testandplot" name="IWTomics Test" version="@VERSION@.0">
<description>and Plot</description>
<xrefs>
<xref type="bio.tools">iwtomics</xref>
</xrefs>
<macros>
<import>macros.xml</import>
</macros>
<expand macro="requirements" />
<command detect_errors="exit... | {
"content_hash": "0ca29d3ad10449b7e37e98df5ac32111",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 285,
"avg_line_length": 50.772946859903385,
"alnum_prop": 0.6825880114176974,
"repo_name": "blankenberg/tools-iuc",
"id": "843697565a150e4535a7db2fd727012c47e14c5a",
"size... |
<productinfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="optional">
<?xml-stylesheet type="text/xsl"href="optional"?>
<matlabrelease>2014a</matlabrelease>
<name>Robotics</name>
<type>toolbox</type>
<icon></icon>
<help_location>info</help_location>
<help_contents_icon>$... | {
"content_hash": "f08d09f3bdc402ea982b2d4a575a3b2b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 75,
"avg_line_length": 35.45454545454545,
"alnum_prop": 0.7538461538461538,
"repo_name": "madratman/riss_bingham",
"id": "3c142343693f3a292756333f6efc3e47b79c9269",
"size":... |
<?php
namespace League\CLImate\Settings;
class Manager
{
/**
* An array of settings that have been... set
*
* @var array $settings
*/
protected $settings = [];
/**
* Check and see if the requested setting is a valid, registered setting
*
* @param string $name
*
... | {
"content_hash": "85cad5b07d16711db0a4498f1a7636a5",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 76,
"avg_line_length": 20.576470588235296,
"alnum_prop": 0.5214408233276158,
"repo_name": "j-froehlich/magento2_wk",
"id": "e69a393faa602d1e83a0e15b92b6c2b80bbcf156",
"size... |
local Dict = torch.class("Dict")
function Dict:__init(data)
self.idxToLabel = {}
self.labelToIdx = {}
self.frequencies = {}
self.freqTensor = nil
-- Special entries will not be pruned.
self.special = {}
if data ~= nil then
if type(data) == "string" then -- File to load.
self:loadFile(data)
... | {
"content_hash": "1c757c8f2dbc5bf5a8910f4021535fca",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 100,
"avg_line_length": 23.80827067669173,
"alnum_prop": 0.6624032843833886,
"repo_name": "monsieurzhang/OpenNMT",
"id": "b6e5baeda8548aa6541fcc52eaae6fdda808a17a",
"size"... |
/* -- talk.js
Helpers function for talking.
*/
function TLK_tauntEnemy(target) {
var enemyName = getName(target);
var taunts = [
"Bagdad Gaming !",
"Ca sent le sapin.",
"Et d'la main gauche !",
"As-tu déja ramassé tes dents avec les doigts cassés " + enemyName + "?",
"Je pue peut-être, mais j'ai un gros ... | {
"content_hash": "5d187398acfaa4aba9f10f51da872c21",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 82,
"avg_line_length": 24.31578947368421,
"alnum_prop": 0.645021645021645,
"repo_name": "jleloup/leek-scripts",
"id": "16ad2752e22ad6faccb0efa803ae047151a07df9",
"size": "4... |
package org.apache.druid.server.coordination;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import org.apache.druid.discovery.NodeRole;
import org.apache.druid.java.util.common.StringUtils;
/**
* This enum represents types of druid services that hold segmen... | {
"content_hash": "65f283a15b2a1e6cc3b0c7870a3f083a",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 118,
"avg_line_length": 27.795698924731184,
"alnum_prop": 0.7137330754352031,
"repo_name": "leventov/druid",
"id": "0b860a1b0afe8ab4983305b48e6273ef15a6ffb4",
"size": "3392... |
#ifndef AVUTIL_AVUTIL_H
#define AVUTIL_AVUTIL_H
/**
* @file
* external API header
*/
#define AV_STRINGIFY(s) AV_TOSTRING(s)
#define AV_TOSTRING(s) #s
#define AV_GLUE(a, b) a ## b
#define AV_JOIN(a, b) AV_GLUE(a, b)
#define AV_PRAGMA(s) _Pragma(#s)
#define AV_VERSION_INT(a, b, c) (a<<16 | b<<8 | c)
#d... | {
"content_hash": "78e055d30f1ef3c7b1d08ce1f7837998",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 73,
"avg_line_length": 24.507042253521128,
"alnum_prop": 0.6155172413793103,
"repo_name": "eirTony/INDI1",
"id": "e9e07b92fd4cfa407ddf134875c39e68172dac64",
"size": "2566",... |
import unittest
from base_test_class import BaseTestCase
from selenium.webdriver.common.by import By
import sys
class VariousPagesTest(BaseTestCase):
def test_user_status(self):
driver = self.driver
driver.get(self.base_url + "user")
def test_calendar_status(self):
driver = self.drive... | {
"content_hash": "db37b925200b1757b7065a8b2d3e5148",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 96,
"avg_line_length": 31.806451612903224,
"alnum_prop": 0.6987829614604463,
"repo_name": "rackerlabs/django-DefectDojo",
"id": "0e2275d61ac59cf9bd51e49f73a9343e6e6f73ed",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Bepasty</title>
<!-- Bootstrap styles -->
<link ... | {
"content_hash": "a7f85d3c1aa4531bff261caf9e2b7d9a",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 149,
"avg_line_length": 51.49438202247191,
"alnum_prop": 0.4270128736635392,
"repo_name": "makefu/bepasty-server",
"id": "69e8b9ad0078420401804ece2837c2ea8db8a6b4",
"size":... |
package org.wso2.carbon.event.publisher.core.internal.util.helper;
import org.apache.xml.serialize.OutputFormat;
import org.apache.xml.serialize.XMLSerializer;
import org.w3c.dom.Document;
import org.wso2.carbon.event.publisher.core.exception.EventPublisherConfigurationException;
import org.xml.sax.InputSource;
impor... | {
"content_hash": "6501b79bfa538aa794edd32d8f41ed68",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 97,
"avg_line_length": 33.417910447761194,
"alnum_prop": 0.6761947297900849,
"repo_name": "kasungayan/carbon-analytics-common",
"id": "05c73133f50b20270d617d5eabf9ecda244ed15... |
<!DOCTYPE html>
<!-- include aframe -->
<script src="vendor/aframe.js"></script>
<!-- include aframe-artoolkit -->
<script src="../build/aframe-ar.js"></script>
<body style='margin : 0px; overflow: hidden; font-family: Monospace;'><div style='position: fixed; top: 10px; width:inherit; text-align: center; z-index: 1;'>... | {
"content_hash": "8f0cf268bb4aa05aac37b0ba07c70119",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 158,
"avg_line_length": 45.48,
"alnum_prop": 0.6798592788038699,
"repo_name": "zhangjialiang/ar-test",
"id": "721daadaa2e69d6df2278103106e83fc738b942f",
"size": "1137",
"... |
from __future__ import absolute_import
from datetime import timedelta
from django.http import HttpResponse
from django.test import TestCase
from django.test.client import RequestFactory
from django.contrib.auth.models import AnonymousUser
from django.contrib.auth import get_user_model
from django.contrib.sessions.bac... | {
"content_hash": "a295d88783bd489d57a8f314ca426850",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 191,
"avg_line_length": 51.39383561643836,
"alnum_prop": 0.7265276204437929,
"repo_name": "uhuramedia/django-experiments",
"id": "5a09c2540906d68f040c5975d57c4bff68ba0dad",
... |
'use strict';
const fs = require('hexo-fs');
const Promise = require('bluebird');
const pathFn = require('path');
const chalk = require('chalk');
function assetGenerator(locals) {
const self = this;
function process(name) {
return Promise.filter(self.model(name).toArray(), asset => fs.exists(asset.source).th... | {
"content_hash": "85e37c5d0a1f1a0c2dc6575f5331e2b4",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 102,
"avg_line_length": 26.807692307692307,
"alnum_prop": 0.5868005738880918,
"repo_name": "shadow000902/blog_source",
"id": "dce1b0c9470fad2ece0a52b463bf1b5fba13d623",
"si... |
Boucle d'événements : particularité NodeJS
 | {
"content_hash": "aa7196bbcccf203550d14d4c7ec111c2",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 60,
"avg_line_length": 34.666666666666664,
"alnum_prop": 0.8173076923076923,
"repo_name": "openhoat/lab-nodejs",
"id": "10ccaed3c4cbe3ebe9a1568bcdb0b0c1a3223699",
"size": "1... |
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _extends from "@babel/runtime/helpers/esm/extends";
import * as React from 'react';
import PropTypes from 'prop-types';
import { refType } from '@mat... | {
"content_hash": "c10ddb786c40331cf6ef2599bd207f57",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 165,
"avg_line_length": 35.14529914529915,
"alnum_prop": 0.6723005836575876,
"repo_name": "cdnjs/cdnjs",
"id": "47b13b38f5c65b9cec42c0dfd2ecbe6eb6a6ac72",
"size": "8224",
... |
from __future__ import absolute_import, division, print_function, unicode_literals
from c7n.manager import resources
from c7n.query import QueryResourceManager
@resources.register('step-machine')
class StepFunction(QueryResourceManager):
"""AWS Step Functions State Machine"""
class resource_type(object):
... | {
"content_hash": "625908f45c350292d4644b17483ef68f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 82,
"avg_line_length": 32.25,
"alnum_prop": 0.6651162790697674,
"repo_name": "jdubs/cloud-custodian",
"id": "f637ca4c66443e3a13e6d5236d32dc48fc06cf0f",
"size": "1235",
"b... |
package org.apache.geode.cache.query.internal.cq;
import org.apache.logging.log4j.Logger;
import org.apache.geode.StatisticDescriptor;
import org.apache.geode.Statistics;
import org.apache.geode.StatisticsFactory;
import org.apache.geode.StatisticsType;
import org.apache.geode.StatisticsTypeFactory;
import org.apach... | {
"content_hash": "2d8e2b030b55ae1ecd8f046a90626b10",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 100,
"avg_line_length": 29.920980926430516,
"alnum_prop": 0.6748019306074128,
"repo_name": "smanvi-pivotal/geode",
"id": "1688de7a664da1a808b2dd46c9d3bcde9572d617",
"size"... |
using System.Globalization;
using System.Net.Security;
using System.Runtime.InteropServices;
namespace System.Net
{
// Need a global so we can pass the interfaces as variables.
internal static class GlobalSSPI
{
internal static SSPIInterface SSPIAuth = new SSPIAuthType();
internal static SS... | {
"content_hash": "3594a354f257ce65e9869bc6ca24ab7a",
"timestamp": "",
"source": "github",
"line_count": 392,
"max_line_length": 307,
"avg_line_length": 51.2219387755102,
"alnum_prop": 0.693162010060262,
"repo_name": "matthubin/corefx",
"id": "209675c6d671a9c6c4d803c6f3785ccc9b05a8d3",
"size": "2023... |
import configurationVault from '@utils/configurationVault'
describe('index', () => {
it('should match the module', () => {
expect(configurationVault).toMatchSnapshot()
})
describe('defaults', () => {
it('should return the default value for autoAdd', () => {
expect(configurationVault.getAutoAdd()).... | {
"content_hash": "8cb37ac214b9cd2ff27340bf25b93b9b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 65,
"avg_line_length": 30.11111111111111,
"alnum_prop": 0.6457564575645757,
"repo_name": "carloscuesta/gitmoji-cli",
"id": "78e1ed7597ce405f44b0007e3a0337c109b7448e",
"size... |
template<armnn::DataType ArmnnType, typename T>
LayerTestResult<T, 2> Sqrt2dTest(
armnn::IWorkloadFactory& workloadFactory,
const armnn::IBackendInternal::IMemoryManagerSharedPtr& memoryManager,
const armnn::ITensorHandleFactory& tensorHandleFactory)
{
const unsigned int inputShape[] = { 2, ... | {
"content_hash": "9ab6fbec0f0608e19be346da3a40f0d4",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 78,
"avg_line_length": 33.97435897435897,
"alnum_prop": 0.7278490566037736,
"repo_name": "ARM-software/armnn",
"id": "d0a6b81de928644ebcb0530eb1c8d0738ce1a5fa",
"size": "6... |
package main
import (
"bytes"
"github.com/golang/glog"
"io/ioutil"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/kops/cmd/kops/util"
"k8s.io/kops/pkg/apis/kops"
"k8s.io/kops/pkg/diff"
"path"
"strings"
"testing"
"time"
)
var MagicTimestamp = metav1.Time{Time: time.Date(2017, 1, 1, 0, 0, 0, 0, time... | {
"content_hash": "6b00bc56737229e6d0438575497c3673",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 151,
"avg_line_length": 32.54761904761905,
"alnum_prop": 0.7302487198244331,
"repo_name": "leandrocr/kops",
"id": "2df1dc081e87c4743c3c928cedc5f8b8e638a2fc",
"size": "6037... |
<?php
class HTMLPurifier_ChildDef_CustomTest extends HTMLPurifier_ChildDefHarness
{
public function setUp()
{
parent::setUp();
}
public function test()
{
$this->obj = new HTMLPurifier_ChildDef_Custom('(a,b?,c*,d+,(a,b)*)');
$this->assertEqual($this->obj->elements, array(
... | {
"content_hash": "48868309501df3938beb062c2f79a1aa",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 88,
"avg_line_length": 30.513513513513512,
"alnum_prop": 0.4824328314142309,
"repo_name": "fayvlad/learn_yii2",
"id": "d0cc87bbab05ed0df90a4fde4040bca958995322",
"size": "... |
#pragma once
#include <cstdint>
#include <list>
#include <memory>
#include "envoy/network/connection_handler.h"
#include "envoy/network/filter.h"
#include "envoy/network/listen_socket.h"
#include "envoy/network/listener.h"
#include "source/common/network/utility.h"
#include "source/server/active_listener_base.h"
na... | {
"content_hash": "05e4f4ea65232c4b9f7c2fdb686cb3ec",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 100,
"avg_line_length": 40.182539682539684,
"alnum_prop": 0.7057080782144973,
"repo_name": "lyft/envoy",
"id": "e3dd74bfb95f9f7da9e1b14fc96ac5e7e828827a",
"size": "5063",
... |
package org.apache.druid.segment.data;
import org.apache.druid.common.utils.ByteUtils;
import org.apache.druid.java.util.common.io.smoosh.FileSmoosher;
import org.apache.druid.segment.IndexIO;
import org.apache.druid.segment.serde.MetaSerdeHelper;
import org.apache.druid.segment.writeout.SegmentWriteOutMedium;
impo... | {
"content_hash": "c1a6fae5236e4e229c80a29317697b1c",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 113,
"avg_line_length": 30.452830188679247,
"alnum_prop": 0.7257331681123502,
"repo_name": "dkhwangbo/druid",
"id": "ffc1ee84a6cdabcb15ff25141e551af4a81cdfb7",
"size": "56... |
FileAdaptor.loadTiddlyWikiCallback = function(status,context,responseText,url,xhr)
{
context.status = status;
if(!status) {
context.statusText = "Error reading file";
} else {
//# Load the content into a TiddlyWiki() object
context.adaptor.store = new TiddlyWiki();
if(!context.adaptor.store.importTiddlyWiki(... | {
"content_hash": "f459a70f080b96db7492e3fbfd0dc521",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 82,
"avg_line_length": 30.875,
"alnum_prop": 0.7388663967611336,
"repo_name": "TeravoxelTwoPhotonTomography/nd",
"id": "30ee96b2c98f614c9a4abc24c8c8a461d2b1b045",
"size": "... |
/** This script makes the Hall of Fame for the elapsed month.
* It should be run every 1st day of the month, in the working tree, and
* then a commit with the changes should be pushed to scala-lang.
*/
import java.net.URL
import scala.annotation.switch
import scala.io.Source
import scala.util.parsing.json._
ob... | {
"content_hash": "1c8d6d2cb8c3f0e5fc2f5e84b683c2a8",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 106,
"avg_line_length": 27.21455938697318,
"alnum_prop": 0.616640855976348,
"repo_name": "boldradius/scala-lang",
"id": "8a875c6233679b71f4f01efe17b2b97ae5eb17d4",
"size":... |
package com.linecorp.armeria.client.circuitbreaker;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import org.junit.jupiter.api.Test;
class EventCountTest {
@Test
void testCounts() {
assertThat(EventCount.of(0, 0).success... | {
"content_hash": "c4da8d51810584dcd824ffa09494fcd0",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 108,
"avg_line_length": 37.98039215686274,
"alnum_prop": 0.6685596282911719,
"repo_name": "kojilin/armeria",
"id": "c0d178f93378a6631c3b63613f8aab3714a980aa",
"size": "2570... |
@implementation FLCommand (Floc)
- (FLCFInterceptionCommandBlock)intercept {
return ^FLInterceptionCommand *(FLCommand *success, FLCommand *error) {
return [[FLInterceptionCommand alloc] initWithTarget:self success:success error:error];
};
}
- (FLCFMasterSlaveCommandBlock)slave {
return ^FLMasterS... | {
"content_hash": "a222f6121828f55845fd82a0d8259002",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 100,
"avg_line_length": 35.075471698113205,
"alnum_prop": 0.6691769768692846,
"repo_name": "sschmid/Floc-Commands",
"id": "e0c1d93b63a2daac0dae91c1f62152344f7bcf3e",
"size"... |
import os
import sys
import argparse
import logging
logger = logging.getLogger()
from counterpartylib.lib import log
log.set_logger(logger)
from counterpartylib import server
from counterpartylib.lib import config
from counterpartycli.util import add_config_arguments, bootstrap
from counterpartycli.setup import gener... | {
"content_hash": "5a2d8ed298335ac3f692d0649ce90a8d",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 187,
"avg_line_length": 59.52571428571429,
"alnum_prop": 0.6304118268215417,
"repo_name": "CounterpartyXCP/counterparty-cli",
"id": "9248dacb4ec290f65fff157385a2b53cbe14ae71... |
from lxml import etree
from xml.etree.ElementTree import iterparse
# coding: utf-8
from sqlalchemy import Table, Column,Integer,String,Float , DateTime, create_engine,MetaData,or_
from sqlalchemy.orm import mapper, sessionmaker
# import loadText as lt
import os
import pprint
import re
import os
import sys
import ... | {
"content_hash": "df11e9f573cd52e63fe9423116e8af53",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 107,
"avg_line_length": 24.947229551451187,
"alnum_prop": 0.5032258064516129,
"repo_name": "ygenc/ygenc.github.io",
"id": "9a3a8938fca807487c1380eaa5a0f1e8c834025e",
"size... |
<!DOCTYPE html>
<html>
<head>
<title>HTML, CSS AND THE DOM: PART 1</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.css">
<link rel="stylesheet" href="https://cdnjs.cl... | {
"content_hash": "d0a13435279f4650caed9d360164efad",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 427,
"avg_line_length": 51.22641509433962,
"alnum_prop": 0.6685082872928176,
"repo_name": "nick-shanks/nick-shanks.github.io",
"id": "981a474d8d3dede6b142a66e217026e9a8535fe5... |
.class Landroid/view/accessibility/IAccessibilityManagerClient$Stub$Proxy;
.super Ljava/lang/Object;
.source "IAccessibilityManagerClient.java"
# interfaces
.implements Landroid/view/accessibility/IAccessibilityManagerClient;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/vi... | {
"content_hash": "25e68a89eb8fadde68e9bf7feb052af9",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 121,
"avg_line_length": 23.734513274336283,
"alnum_prop": 0.709545115585384,
"repo_name": "baidurom/devices-g520",
"id": "44fb2c950feeb73ffb835820e07bc3569d85020f",
"size"... |
namespace aura {
class FocusManager;
class RootWindow;
namespace client {
class ActivationChangeObserver;
}
}
namespace views {
// An activation client that handles activation events in a single
// RootWindow. Used only on the Desktop where there can be multiple RootWindow
// objects.
class VIEWS_EXPORT DesktopActiv... | {
"content_hash": "d1963d68e570b5912753f26ee40b4e36",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 78,
"avg_line_length": 32.703125,
"alnum_prop": 0.7534639273769709,
"repo_name": "leighpauls/k2cro4",
"id": "b63f2250f048f439218577bb4f6556d4afb19802",
"size": "2729",
"b... |
//---------------------------------------------------------------------
// <copyright file="InitializeRoutes.cs" company="Sitecore Corporation">
// Copyright (c) Sitecore Corporation 1999-2015
// </copyright>
// <summary>The route ininitialization</summary>
//-------------------------------------------------------... | {
"content_hash": "cb778239dea03707a51759376b5b9738",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 94,
"avg_line_length": 38.77272727272727,
"alnum_prop": 0.5638921453692849,
"repo_name": "Sitecore/sccs-demo",
"id": "ab940ed96ff031a493e1c4909a277435586708db",
"size": "17... |
<?php
if (!defined('ELK'))
die('No access...');
/**
* Database driver interface
*/
interface Database
{
/**
* Fix up the prefix so it doesn't require the database to be selected.
*
* @param string $db_prefix
* @param string $db_name
*
* @return string
*/
function fix_prefix($db_prefix, $db_name);... | {
"content_hash": "33a75bae86bd9ba8c5cf214754ac40e8",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 129,
"avg_line_length": 22.89908256880734,
"alnum_prop": 0.6472355769230769,
"repo_name": "wizardaf/elkarte.net",
"id": "fc3ace35f10ec40cd2df391485696d3e2a1d6427",
"size":... |
package app.exam.io;
import app.exam.io.interfaces.ConsoleIO;
import org.springframework.stereotype.Component;
@Component
public class ConsoleIOImpl implements ConsoleIO {
@Override
public void write(String line) {
System.out.println(line);
}
}
| {
"content_hash": "7bfa00ea79d07225deed33ead57fa11c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 49,
"avg_line_length": 20.615384615384617,
"alnum_prop": 0.7388059701492538,
"repo_name": "ivelin1936/Studing-SoftUni-",
"id": "3d611e13a46e4fa40e4e36f3048ba64bed57a458",
"... |
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); y... | {
"content_hash": "5564873a1b6a333f1cbc947c725c8591",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 262,
"avg_line_length": 39.080357142857146,
"alnum_prop": 0.684715558601782,
"repo_name": "dhuang/incubator-airflow",
"id": "4a26c36b3142a044c3ae69b78b2bde11cfa88749",
"si... |
printf "\nStop any already-running server."
assert_ok "$FLOW" stop .
printf "\nCheck with munge_underscores = false (by default) should return no errors:\n"
assert_ok "$FLOW" check --no-flowlib .
printf "\nCheck with --munge-underscore-members flag should return one error on the _x update:\n"
assert_errors "$FLOW" ch... | {
"content_hash": "5ed3d004ae6bab0bfd221ea565916036",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 103,
"avg_line_length": 42.15,
"alnum_prop": 0.7354685646500593,
"repo_name": "nmote/flow",
"id": "d2e732ec4bc739c307f529c8ce5744122c017ae0",
"size": "1033",
"binary": fa... |
/* This file was generated automatically by Zephir do not modify it! */
#ifndef PHP_ICE_H
#define PHP_ICE_H 1
#ifdef PHP_WIN32
#define ZEPHIR_RELEASE 1
#endif
#include "kernel/globals.h"
#define PHP_ICE_NAME "ice"
#define PHP_ICE_VERSION "1.7.0"
#define PHP_ICE_EXTNAME "ice"
#define PHP_ICE_AUTHOR ... | {
"content_hash": "5550fc55800e1d3a40f99162fce12284",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 122,
"avg_line_length": 20.742857142857144,
"alnum_prop": 0.7196969696969697,
"repo_name": "mruz/framework",
"id": "68d8cbff1f0816c15231dec48dcfcbe469d4811b",
"size": "1452... |
lightline-hybrid
================
Overview
--------
lightline-hybrid brings awesome color scheme [vim-hybrid](https://github.com/w0ng/vim-hybrid) into [lightline.vim](https://github.com/itchyny/lightline.vim).
Setup
-----
Put `lightline-hybrid.vim` into your plugin directory.
Or if you are mad about [NeoBundle](ht... | {
"content_hash": "d86f5d134dd6c2df157beb5c1d9184e6",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 157,
"avg_line_length": 21.61904761904762,
"alnum_prop": 0.7004405286343612,
"repo_name": "cocopon/lightline-hybrid.vim",
"id": "f1ff50362b3238ca80b25c5ca9e69010b817f52e",
... |
require 'test_helper'
class UsersApiTest < ActionController::TestCase
include ApiAuthTestHelper
def setup
@controller = UsersController.new
add_auth_token_to_header
end
def user
@user ||= User.create(
name: 'Donald Cerrone',
email: 'cowboy@cerrone.co... | {
"content_hash": "7e9d2717cbacdee12fc90aa13ba16758",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 67,
"avg_line_length": 23.425,
"alnum_prop": 0.6147278548559232,
"repo_name": "revans/diesel",
"id": "d33abc87a7d76f437d916454c05d5725e4514f4e",
"size": "937",
"binary": ... |
package com.jk.util.model.table;
import java.text.Format;
import java.util.Vector;
import javax.swing.table.AbstractTableModel;
import javax.swing.table.TableCellEditor;
import javax.swing.table.TableCellRenderer;
import com.jk.util.JKNumbersUtil;
import com.jk.util.model.table.JKTableRecord.RecordStatus... | {
"content_hash": "dd3109e7607dd3c3a7697c4d865cc3b6",
"timestamp": "",
"source": "github",
"line_count": 1003,
"max_line_length": 107,
"avg_line_length": 26.94416749750748,
"alnum_prop": 0.5299537465309898,
"repo_name": "kiswanij/jk-util",
"id": "6d48df5f899e2a07b0d6208929d6f7b4fefab99b",
"size": "2... |
require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'test/unit'
require 'shoulda'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),... | {
"content_hash": "d787541072d4d8895b4b73c8ace29367",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 66,
"avg_line_length": 23.842105263157894,
"alnum_prop": 0.7284768211920529,
"repo_name": "phillc/elo-ratings",
"id": "ef430e1f016560d14d5456701b6c29c0345c02d1",
"size": "4... |
<html>
<head>
<meta name="description" content="Pmw - a toolkit for building high-level compound widgets in Python">
<meta name="content" content="python, megawidget, mega widget, compound widget, gui, tkinter">
<title>Pmw functions reference manual</title>
</head>
<body bgcolor="#ffffff" t... | {
"content_hash": "e25d04e4f5799c4dfd363269584697b6",
"timestamp": "",
"source": "github",
"line_count": 765,
"max_line_length": 313,
"avg_line_length": 42.257516339869284,
"alnum_prop": 0.6721007207597365,
"repo_name": "eflowbeach/draw-your-taf",
"id": "628fea4110f7bb7fa0a3ea8b16be2c5f4f8ac61f",
"s... |
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:build="http://schemas.microsoft.com/developer/appx/2012/build" IgnorableNamespaces="build">
<!--
THIS PACKAGE MANIFEST FILE IS GENERATED BY THE BUILD PROCESS.
Changes to this file will be lost when ... | {
"content_hash": "311a8f7cd57e092b6984b5d842e4ebb6",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 183,
"avg_line_length": 59.853658536585364,
"alnum_prop": 0.7442950285248574,
"repo_name": "ScruffyFurn/SumoBlocks",
"id": "46e901902aca5a5318908c23e157c74877edd1a6",
"size... |
namespace boost {
namespace unit_test {
// ************************************************************************** //
// ************** test_unit_fixture ************** //
// ************************************************************************** //
class BOOST_TEST_DECL test_unit_fix... | {
"content_hash": "dea4434c5718c5fed4ed0fbdaf8cb9d2",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 125,
"avg_line_length": 33.676829268292686,
"alnum_prop": 0.5082382762991128,
"repo_name": "SketchUp/sketchup-ruby-debugger",
"id": "a297ad9e9b32139dcd790d778d94cc73917713f1... |
'use strict';
/*
* hostProperties object module:
* Holds data and/or conversion information about each hosting property.
* Strongly coupled with hostMath.js
*/
// Library for arbitrary precision in numbers
const BigNumber = require('bignumber.js');
// Ensure precision
BigNumber.config({ DECIMAL_PLACES: 24 });... | {
"content_hash": "74aa2cfbf11b5a41a07b5fb980811237",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 80,
"avg_line_length": 21.989473684210527,
"alnum_prop": 0.6634753470560076,
"repo_name": "pmknutsen/Sia-UI",
"id": "809017e3889e26df866f15222e8d830116c069b6",
"size": "208... |
This is what you run on your computer. Make sure this runs FIRST before the client!
NOTE: Unlike the client, you can run this on any OS you can build it on.
| {
"content_hash": "bd880ca3f97def111a95941f357d5720",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 83,
"avg_line_length": 52.666666666666664,
"alnum_prop": 0.759493670886076,
"repo_name": "Megalegacy98/TheUltimatePrankProgram",
"id": "dcd8bfaaea37f58a5c7aefbc0896e03110fb25a... |
require 'formula'
class Openfst < Formula
homepage 'http://www.openfst.org/'
url 'http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/openfst-1.3.4.tar.gz'
sha1 '21972c05896b2154a3fa1bdca5c9a56350194b38'
def install
ENV.libstdcxx if ENV.compiler == :clang && MacOS.version >= :mavericks
system "./confi... | {
"content_hash": "56c8a7099de59578025cb28b2f6f7b85",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 80,
"avg_line_length": 32.9375,
"alnum_prop": 0.5977229601518027,
"repo_name": "JayBenzzz/homebrew",
"id": "db60df0e10f1eb3756407bb522dfa1c72db223b9",
"size": "527",
"bin... |
import os
import subprocess
import signal
import struct
import csv
try:
import pandas
except ImportError:
pandas = None
from wlauto import Instrument, Parameter, Executable
from wlauto.exceptions import InstrumentError, ConfigError
from wlauto.utils.types import list_of_numbers
class EnergyProbe(Instrument):... | {
"content_hash": "619a6d4fcb9da9acb0957c171b5e81ea",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 125,
"avg_line_length": 47.689922480620154,
"alnum_prop": 0.5832249674902471,
"repo_name": "jimboatarm/workload-automation",
"id": "6fc229ee28cf13aa87655a5292521c1a536bc50f"... |
#ifndef _WLC_SURFACE_H_
#define _WLC_SURFACE_H_
#include <stdbool.h>
#include <wayland-util.h>
#include <pixman.h>
#include <wlc/geometry.h>
#include <chck/pool/pool.h>
#include <wlc/wlc-render.h>
#include "resources/resources.h"
struct wlc_buffer;
struct wlc_output;
struct wlc_view;
struct wlc_surface_state {
st... | {
"content_hash": "2ab67bb9e414648d80bd5d4fa315069a",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 139,
"avg_line_length": 30.776470588235295,
"alnum_prop": 0.7270642201834863,
"repo_name": "Cloudef/wlc",
"id": "c77b3925e6e02fb5b6bb6762979f259b4b63fa13",
"size": "2616",
... |
package artie
/** Type class to map raw jsons to instances of `A`. */
trait Read[A] extends (String => Either[String, A])
| {
"content_hash": "6ad51c2851ab5a2966037d277b996e90",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 55,
"avg_line_length": 30.75,
"alnum_prop": 0.6829268292682927,
"repo_name": "pheymann/artie",
"id": "ac039bc7b4274ad884d3ed1a64b3e08ef4f0b4c1",
"size": "123",
"binary": f... |
#ifndef NFC_DB_NET_CLIENT_MODULE_H
#define NFC_DB_NET_CLIENT_MODULE_H
#include "NFComm/NFMessageDefine/NFMsgDefine.h"
#include "NFComm/NFPluginModule/NFIWorldToMasterModule.h"
#include "NFComm/NFPluginModule/NFIWorldLogicModule.h"
#include "NFComm/NFPluginModule/NFINetModule.h"
#include "NFComm/NFPluginModule/NFICl... | {
"content_hash": "b93fdb367da34b116267452d9c259066",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 107,
"avg_line_length": 26.060606060606062,
"alnum_prop": 0.7953488372093023,
"repo_name": "lightningkay/NoahGameFrame",
"id": "10684890a059d49a8f69cee0bfe56c72aaf21925",
"... |
Breakout
========
Another HTML5 experiment to implement BREAKOUT in a `<canvas>`
* You can find the [game here](http://codeincomplete.com/posts/2011/6/11/javascript_breakout/demo.html)
* You can find out [how it works](http://codeincomplete.com/posts/2011/6/11/javascript_breakout/index.html)
* [Managing Game Sta... | {
"content_hash": "7d9a8ceaa8673c0e451890d218717b6e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 108,
"avg_line_length": 65.61538461538461,
"alnum_prop": 0.7444314185228605,
"repo_name": "Sattanaso/CodeAndGames",
"id": "143645c39eb11755966ff9b00cb5252256039712",
"size"... |
<?php
return [
'adminEmail' => 'admin@example.com',
'supportEmail' => 'support@example.com',
'user.passwordResetTokenExpire' => 3600,
'logo' => ''
];
| {
"content_hash": "9c7d764b9ed9088235096fe8f3a46f23",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 44,
"avg_line_length": 24,
"alnum_prop": 0.5892857142857143,
"repo_name": "BoBRoID/plochadka",
"id": "e4c61586af25048c86c8cefb3913b62985ce5a67",
"size": "168",
"binary": f... |
package org.ebookdroid.core.views;
import org.ebookdroid.R;
import org.ebookdroid.core.IBrowserActivity;
import org.ebookdroid.core.bitmaps.BitmapManager;
import org.ebookdroid.core.presentation.BookNode;
import org.ebookdroid.core.presentation.BookShelfAdapter;
import android.content.Context;
import android.conten... | {
"content_hash": "1ba2be94c7fc7a772827ba07e621f6f8",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 110,
"avg_line_length": 37.00606060606061,
"alnum_prop": 0.6531280707500818,
"repo_name": "hk0792/UsefulClass",
"id": "6193827a6b88f513c1ab1aad9965f1b55fc7eabe",
"size": "... |
package org.elasticsearch.index.mapper;
import org.apache.lucene.document.Field;
import org.apache.lucene.document.SortedSetDocValuesField;
import org.apache.lucene.index.IndexOptions;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.MultiTermQuery;
import org.apache.lucene.search.Query;
import o... | {
"content_hash": "4edf150a53e1724528357e9ebcc20e7d",
"timestamp": "",
"source": "github",
"line_count": 711,
"max_line_length": 175,
"avg_line_length": 45.829817158931085,
"alnum_prop": 0.5887678379622525,
"repo_name": "zkidkid/elasticsearch",
"id": "6f529c82ea119f38d127a911932527b6885be9ec",
"size... |
#ifndef _INTEL_DPLL_MGR_H_
#define _INTEL_DPLL_MGR_H_
/*FIXME: Move this to a more appropriate place. */
#define abs_diff(a, b) ({ \
typeof(a) __a = (a); \
typeof(b) __b = (b); \
(void) (&__a == &__b); \
__a > __b ? (__a - __b) : (__b - __a); })
struct drm_i915_private;
struct intel_crtc;
struct intel_c... | {
"content_hash": "c24d2a79f364a9cb5ea641043f6062a5",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 73,
"avg_line_length": 28.274647887323944,
"alnum_prop": 0.6801992528019926,
"repo_name": "AlbandeCrevoisier/ldd-athens",
"id": "89c5ada1a3157003c165dae6f9af67908e3152cf",
... |
%% Introduction to *wavelet_2d*
% *wavelet_2d* is a function able to compute the wavelet transform of a
% signal. Given $$ J \in \bf{N} $$, the wavelet transform of a signal
% $$ x \in \bf{R}^N $$
% is given by
%
% $$ Wf(x) =\{x\ast \phi_J, x\ast\psi_{\lambda}\}_{\lambda \in \mathcal{P}} $$
% where in our case... | {
"content_hash": "a4de2ed46ffef698e3668c4858c7ab51",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 78,
"avg_line_length": 35.31372549019608,
"alnum_prop": 0.6762909494725152,
"repo_name": "sc1991327/scatnet-0.2",
"id": "9fcc841eedd64bdb45571978f386719c5f7ae460",
"size": ... |
using ColossalFramework.UI;
using UnityEngine;
namespace EptuiTlmIntegration
{
public class AutoLineInfoCloser : MonoBehaviour
{
public int lineID;
public UIPanel panel ;
public void Update()
{
if (!panel.isVisible)
{
Destroy(gameObject)... | {
"content_hash": "d73190f83d8f19c9a3e833c66b1d84f0",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 103,
"avg_line_length": 21.923076923076923,
"alnum_prop": 0.5210526315789473,
"repo_name": "earalov/Skylines-EPTUI-TLM-integration",
"id": "c59ef8ca80fc54528bc06b0164364f80bd... |
/*
* SOURCE FILE GENERATATED BY JACOB CHANNEL CLASS GENERATOR
*
* !!! DO NOT EDIT !!!!
*
* Generated On : Thu Jun 24 22:35:42 EST 2010
* For Interface : org.apache.ode.bpel.runtime.channels.Termination
*/
package org.apache.ode.bpel.runtime.channels;
/**
* An auto-generated channel interface... | {
"content_hash": "b0a15a0118e8b54ffb43988282250a97",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 71,
"avg_line_length": 32.333333333333336,
"alnum_prop": 0.7172312223858616,
"repo_name": "thiliA/wso2-ode",
"id": "85ce4814ecaf0a0a8ada5cb73f90acb22c572699",
"size": "679"... |
from mongoengine.connection import get_db
class query_counter(object):
""" Query_counter contextmanager to get the number of queries. """
def __init__(self):
""" Construct the query_counter. """
self.counter = 0
self.db = get_db()
def __enter__(self):
""" On every with bl... | {
"content_hash": "4e01255d02684f578907cafc801a4215",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 75,
"avg_line_length": 29.06779661016949,
"alnum_prop": 0.5440233236151604,
"repo_name": "colinhowe/mongoengine",
"id": "20620eba3cdfce08087c91c01989ea0f2b045aa2",
"size": ... |
package org.adonai.plugin.publish.fx.initstep;
import javafx.stage.Stage;
import javafx.stage.StageStyle;
import lombok.extern.slf4j.Slf4j;
import org.adonai.ApplicationEnvironment;
import org.adonai.api.InitStep;
import org.adonai.fx.Mask;
import org.adonai.fx.MaskLoader;
import org.adonai.fx.ScreenManager;
import or... | {
"content_hash": "688388cb02784e697482b235da772189",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 140,
"avg_line_length": 38.05769230769231,
"alnum_prop": 0.7448206164729662,
"repo_name": "moley/adonai",
"id": "62f65314b9ff1336844cd87ce46798b675d0a009",
"size": "1979",
... |
<html>
<head>
<title> Francis Chu's Home Page </title>
</head>
<body background="./gif/texture.gif">
<img src="http://www.cs.cornell.edu/Info/People/fcc/gif/mandel.gif">
<h1> Francis Chu </h1>
<h2> CS Graduate Student </h2>
<hr>
<img src="http://www.cs.cornell.edu/Info/People/fcc/gif/blueball.gif">
<a href="http... | {
"content_hash": "b35dc00591db1aad2f8214f16f4919a7",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 71,
"avg_line_length": 19.296875,
"alnum_prop": 0.6850202429149798,
"repo_name": "ML-SWAT/Web2KnowledgeBase",
"id": "930453172755581256209a55adfeb4eebdae59c3",
"size": "123... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.