text stringlengths 2 1.04M | meta dict |
|---|---|
namespace Microsoft.Graph
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
/// <summary>
/// The type WorkbookFunctionsLargeRequestBody.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.... | {
"content_hash": "9156297e1be374d3b5fdeebe5eeaa983",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 137,
"avg_line_length": 33.10344827586207,
"alnum_prop": 0.65,
"repo_name": "ginach/msgraph-sdk-dotnet",
"id": "73aeb01b1391977725e4e14e3a8701cde65a2f83",
"size": "1431",
... |
using namespace json_spirit;
using namespace std;
void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out);
double GetDifficulty(const CBlockIndex* blockindex)
{
// Floating point number that is a multiple of the minimum difficulty,
// minimum difficulty = 1.0.
if (blockindex == NULL)
{
... | {
"content_hash": "6ae20739df9ab25639af9ffd72dc98b8",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 108,
"avg_line_length": 31.3206106870229,
"alnum_prop": 0.6273458445040214,
"repo_name": "youngstorch/pesacoin",
"id": "889703bf2673568776ebbc61c125139771b382d4",
"size": ... |
# Changelog
Shoelace follows [Semantic Versioning](https://semver.org/). Breaking changes in components with the <sl-badge variant="primary" pill>Stable</sl-badge> badge will not be accepted until the next major version. As such, all contributions must consider the project's roadmap and take this into consideration. F... | {
"content_hash": "80ca32d4b010025dca38e48272eda077",
"timestamp": "",
"source": "github",
"line_count": 1043,
"max_line_length": 696,
"avg_line_length": 77.25790987535954,
"alnum_prop": 0.7505832712831968,
"repo_name": "claviska/shoelace-css",
"id": "1ab113c0b8b687bb89004abd1749956c2384fa7e",
"size... |
.. currentmodule:: machine
class Timer -- control hardware timers
======================================
Hardware timers deal with timing of periods and events. Timers are perhaps
the most flexible and heterogeneous kind of hardware in MCUs and SoCs,
differently greatly from a model to a model. MicroPython's Timer cl... | {
"content_hash": "257428e8b05e31070a5f2a7dccce0a6e",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 107,
"avg_line_length": 36.9622641509434,
"alnum_prop": 0.6336566275310532,
"repo_name": "mhoffma/micropython",
"id": "eddb2ce78014be5a21bf55cda3be934637d8aadd",
"size": "... |
"""Information about mxnet."""
from __future__ import absolute_import
import os
import platform
import logging
def find_lib_path():
"""Find MXNet dynamic library files.
Returns
-------
lib_path : list(string)
List of all found path to the libraries.
"""
lib_from_env = os.environ.get('... | {
"content_hash": "8bf6787fef71490ea03a884300c95cf6",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 97,
"avg_line_length": 43.3968253968254,
"alnum_prop": 0.563643013899049,
"repo_name": "mbaijal/incubator-mxnet",
"id": "b4450510a4c4dfc94d1b2401029ba93b44569037",
"size": ... |
<?php
/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
/**
* Random Number Generator
*
* PHP versions 4 and 5
*
* Here's a short example of how to use this library:
* <code>
* <?php
* include('Crypt/Random.php');
*
* echo crypt_random();
* ?>
* </code>
*
* LICENSE: This library is fre... | {
"content_hash": "6b79009c288d2a735d12ba6d1c4e7697",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 107,
"avg_line_length": 35.353846153846156,
"alnum_prop": 0.5985639686684073,
"repo_name": "Numerico-Informatic-Systems-Pvt-Ltd/gsmpoly",
"id": "221cba53375639cc45369989a535... |
using System;
using System.Data.SqlClient;
using Graphite.DependencyInjection;
using Graphite.Reflection;
using NUnit.Framework;
using Should;
namespace Tests.Unit.DependencyInjection
{
[TestFixture]
public class RegistryTests
{
[Test]
public void Should_generate_friendly_stri... | {
"content_hash": "876873de08d547b50b1ac5f6ae3c4859",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 134,
"avg_line_length": 37.48148148148148,
"alnum_prop": 0.5622529644268774,
"repo_name": "mikeobrien/graphite",
"id": "0c2398929d97ab3a42ecafbef82bec8114824a94",
"size": "... |
namespace swift {
class SourceLoc;
class ReturnStmt;
class BraceStmt;
class AbstractClosureExpr;
class AbstractFunctionDecl;
/// This is a pointer to the AST node that a SIL instruction was
/// derived from. This may be null if AST information is unavailable or
/// stripped.
///
/// FIXME: This should eventually incl... | {
"content_hash": "1b64ffc02f9e81c4c70a0c8dd8fb41f7",
"timestamp": "",
"source": "github",
"line_count": 751,
"max_line_length": 80,
"avg_line_length": 33.339547270306255,
"alnum_prop": 0.6998961578400831,
"repo_name": "stephentyrone/swift",
"id": "c57af52aa3ff5016b8fa6b4a8a15df3be35cd010",
"size": ... |
package ml.puredark.hviewer.ui.activities;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Build;
import android.os.Bundle;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.CoordinatorLayout;
import android.support.v7.widget.Toolbar;
import androi... | {
"content_hash": "77a4b8b70e6389130c2826ba334ca391",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 96,
"avg_line_length": 34.35658914728682,
"alnum_prop": 0.6597472924187726,
"repo_name": "AI-Cloud/H-Viewer",
"id": "f642a0a37f345ad8e0c16b9642fb797722095fa0",
"size": "45... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ef5f0e48f878bc8096c30714ad0621d1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a29114981ffb0d020048997495dbc06475adcea1",
"size": "18... |
export default function trigger(element, str) {
element.dispatchEvent(new Event(str, {
view: window,
bubbles: true,
cancelable: true,
}));
}
| {
"content_hash": "ce053807bbd3080f840716e3083a39a8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 47,
"avg_line_length": 22.428571428571427,
"alnum_prop": 0.6624203821656051,
"repo_name": "lohfu/dollr",
"id": "fbc30b30df4de312eb268c33e141acb6d27d7aae",
"size": "157",
"... |
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
import { Observable } from 'rxjs/Observable';
import { Subject } from 'rxjs/Subject';
import { HeroSearchService } from './hero-search.service';
import { Hero } from './hero';
@Compone... | {
"content_hash": "ca357405cf4913b95a7b1ed011931fff",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 81,
"avg_line_length": 32.89795918367347,
"alnum_prop": 0.6488833746898263,
"repo_name": "KiT106/Curly",
"id": "af83666e025646d0a0080b7a182edd26af3832e6",
"size": "1612",
... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2017 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. -->
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/re... | {
"content_hash": "918ef5a7b8204d682a066d597b889cc0",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 81,
"avg_line_length": 44.702127659574465,
"alnum_prop": 0.6520704426463588,
"repo_name": "endlessm/chromium-browser",
"id": "5634ad71d893229b6408b1f6586823644d4e70ff",
"si... |
"""
Copyright (c) 2015 Civic Knowledge. This file is licensed under the terms of
the Revised BSD License, included in this distribution as LICENSE.txt
"""
from .core import *
class ErrorVT(ValueType):
role = ROLE.ERROR
vt_code = 'e'
def __init__(self,v):
pass
class MarginOfErrorVT(FloatValue)... | {
"content_hash": "0c824f3eddea61bfebf9082d25344416",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 86,
"avg_line_length": 22.273972602739725,
"alnum_prop": 0.5756457564575646,
"repo_name": "CivicKnowledge/rowgenerators",
"id": "de589218d4c7890af8538a6fce8d3ef8bdd2f27b",
... |
build:
docker build -t vothanhkiet/alpine-s6-krakend:latest -t vothanhkiet/alpine-s6-krakend:0.6.0 --rm=true .
upload:
docker push vothanhkiet/alpine-s6-krakend:0.6.0
docker push vothanhkiet/alpine-s6-krakend:latest
| {
"content_hash": "40728ddbb1cf5d73be40bbeb3fd92183",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 104,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.7818181818181819,
"repo_name": "vothanhkiet/dockerfile-collections",
"id": "4106a11f8e42b4331746d155b7ae48ec007178e... |
<!--
COPYRIGHT LICENSE: This information contains sample code provided in source
code form. You may copy, modify, and distribute these sample programs in any
form without payment to IBM for the purposes of developing, using, marketing
or distributing application programs conforming to the application programming ... | {
"content_hash": "3473097c1b0d13b8b0f1ee8d93f89582",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 86,
"avg_line_length": 34.1063829787234,
"alnum_prop": 0.7442295695570805,
"repo_name": "IBM-Bluemix/bluetag",
"id": "e7fa8b9429f923c1a93798de8ad85601f893c5f2",
"size": "16... |
from gi.repository import Gtk
import subprocess
class BrightnessScale:
def __init__(self):
# get active monitor and current brightness
self.monitor = self.getActiveMonitor()
self.currB = self.getCurrentBrightness()
def initUI(self):
# initliaze and configure window
... | {
"content_hash": "f363f22dd42a8e3fc3711b4f6cd80782",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 131,
"avg_line_length": 36.47191011235955,
"alnum_prop": 0.5754775107825015,
"repo_name": "ravikiranj/brightness-control",
"id": "0cc41bff0f3a61b4df369af194d2f2f992b460a1",
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace MrFusion.Models
{
public interface IBoard : IChildBase
{
[Required]
string Name { get; set; }
[Required]
Guid TeamId { get; s... | {
"content_hash": "1c8a20cec44a36d1abd95e5d464f4540",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 44,
"avg_line_length": 19.647058823529413,
"alnum_prop": 0.6646706586826348,
"repo_name": "sefl-corp/mr-fusion",
"id": "139002ab5e74f93418975008e52049900d97cacc",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>additions: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | {
"content_hash": "37a9b424d2154db76361ab18368bce28",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 229,
"avg_line_length": 41.80124223602485,
"alnum_prop": 0.5368499257057949,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "da6cb1d4c8aa8c1eac1e978112f7f3b46e077ea8",
... |
/* $NetBSD: ldapdb.c,v 1.3.12.2 2015/07/17 04:31:27 snj Exp $ */
/*
* ldapdb.c version 1.0-beta
*
* Copyright (C) 2002, 2004 Stig Venaas
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this ... | {
"content_hash": "ac03265954be43fa13ed95a96759c7c3",
"timestamp": "",
"source": "github",
"line_count": 692,
"max_line_length": 118,
"avg_line_length": 24.802023121387283,
"alnum_prop": 0.6135873681757269,
"repo_name": "execunix/vinos",
"id": "7ed3325d3b5dd7dd6fa904b12be883bf39ec09b8",
"size": "171... |
angular.module('starter', ['ionic', 'starter.services', 'starter.controllers'])
.config(function($stateProvider, $urlRouterProvider) {
// Ionic uses AngularUI Router which uses the concept of states
// Learn more here: https://github.com/angular-ui/ui-router
// Set up the various states which the app can be in... | {
"content_hash": "3f11418620669b9f09b1d4fd3cc9b8ee",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 23.903225806451612,
"alnum_prop": 0.5634278002699056,
"repo_name": "ashleyopie/ionicshellbetter",
"id": "b49479d13f403966feedec5a0c7c396b5bbd9703",
"... |
using Bridge.Html5;
using System;
namespace Bridge.jQuery2
{
public partial class jQuery
{
/// <summary>
/// Retrieve the elements matched by the jQuery object.
/// </summary>
/// <returns></returns>
public virtual Array Get()
{
return null;
}... | {
"content_hash": "f6a87d9b35186ea0a516b89893e282b1",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 113,
"avg_line_length": 29.253333333333334,
"alnum_prop": 0.5314494074749316,
"repo_name": "e-lefort/Frameworks",
"id": "9d903b402a1e55e9eea391c590189f210e8fd9ae",
"size": ... |
@interface ViewController : UIViewController
@end
| {
"content_hash": "bbb98894d67453659af476a663e3fa3b",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 44,
"avg_line_length": 10.6,
"alnum_prop": 0.7924528301886793,
"repo_name": "warmSunshine/MyUtilities",
"id": "c89402fd55962d9bc6127012e4d312c3cb892edb",
"size": "210",
"b... |
class CreateAuthTokens < ActiveRecord::Migration
create_table :auth_tokens do |t|
t.string :value
t.integer :user_id
t.datetime :expire_at
t.timestamps
end
end
| {
"content_hash": "b25630cb505dbd7d0cd857b2224f9b2f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 48,
"avg_line_length": 20.11111111111111,
"alnum_prop": 0.6961325966850829,
"repo_name": "soarpatriot/dream",
"id": "28f61bc472004d2dcef636b3b5c64d1fc8fef57a",
"size": "181"... |
/** @file MainGameScene.cpp
*/
#include "LevelInfo.h"
#include "Scene.h"
#include "Landscape.h"
#include "../FontInfo.h"
#include "../Audio.h"
#include "../../OpenGLESApp2/OpenGLESApp2.Android.NativeActivity/Renderer.h"
#include <boost/math/constants/constants.hpp>
#include <array>
#include <tuple>
#include <algorithm>... | {
"content_hash": "e4abdefc3f4eabf04e50c2ddd0f0e0b9",
"timestamp": "",
"source": "github",
"line_count": 1315,
"max_line_length": 190,
"avg_line_length": 35.79543726235742,
"alnum_prop": 0.6651228994497673,
"repo_name": "tn-mai/NDKOpenGLES2App",
"id": "da6c8edd1db78d645d0256aac215672894a9a939",
"siz... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
using Cheetah.DataAccess.Interfaces;
using Cheetah.DataAccess.Interfaces.Base;
using Cheetah.DataAccess.Repositories.Base;
using Cheetah.DataAccess.Models;
using PetaPoco;
namespace Cheetah.DataAccess.Repositories.B... | {
"content_hash": "32e94ca5167af8404e7276e838249956",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 99,
"avg_line_length": 28.404255319148938,
"alnum_prop": 0.6666666666666666,
"repo_name": "LarsVonQualen/cheetah",
"id": "660b520a23e8fff3bf02cc5bed0fc0c624896da2",
"size":... |
layout: default
title: CAS - Protocol Overview
category: Protocols
---
{% include variables.html %}
# Protocols Overview
The following protocols are supported and provided by CAS:
* [CAS](CAS-Protocol.html)
* [OAuth](OAuth-Protocol.html)
* [OpenID Connect](OIDC-Protocol.html)
* [WS Federation](WS-Federation... | {
"content_hash": "664096cc105b5225de9d487e3664d869",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 626,
"avg_line_length": 95.53846153846153,
"alnum_prop": 0.8011272141706924,
"repo_name": "apereo/cas",
"id": "861601694444de8483e4ee9c9edd37938c8ed73d",
"size": "4978",
... |
package org.examples.designpatterns.factory;
public class OperationMul implements Operation {
/**
* 乘法运算
*/
@Override
public double getResult(double numberA, double numberB) {
return numberA * numberB;
}
}
| {
"content_hash": "9eb284ced02488a02b1f373021ada3c6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.6779661016949152,
"repo_name": "Dustfate/examples",
"id": "defb0d611894b17ecbfaf28afe9e4021c9cc8e0f",
"size": "24... |
from rdkit import RDConfig
from rdkit import Chem
import sys,csv
def Convert(suppl,outFile,keyCol='',stopAfter=-1,includeChirality=0,smilesFrom=''):
w = csv.writer(outFile)
mol = suppl[0]
propNames = list(mol.GetPropNames())
if keyCol and keyCol in propNames:
propNames.remove(keyCol)
outL = []
if keyC... | {
"content_hash": "34a915ca49ee44beae9c675b5ed1f737",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 88,
"avg_line_length": 23.150943396226417,
"alnum_prop": 0.5908720456397718,
"repo_name": "rdkit/rdkit-orig",
"id": "7dfa514d8d81d71eeee5754c8e8743f93fd02ded",
"size": "39... |
package org.search.nibrs.stagingdata.model;
import java.time.LocalDate;
import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.search.nibrs.stagingdata.model.search.IncidentSearchRequest;
import org.search.nibrs.stagingdata.ut... | {
"content_hash": "4f7d1735dfb5122d6488e06edc57298a",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 82,
"avg_line_length": 23.1953125,
"alnum_prop": 0.7214550353654429,
"repo_name": "SEARCH-NCJIS/nibrs",
"id": "20fe3d1b230e67572578dd960f038935132920bc",
"size": "3620",
... |
package example.com.lenovo.tripbook.adapter;
import android.content.Context;
import android.util.Log;
import android.util.SparseArray;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.Button;
import android.widget.To... | {
"content_hash": "52144099c5e73eb2622d180376ef06f3",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 95,
"avg_line_length": 34.467289719626166,
"alnum_prop": 0.6672993492407809,
"repo_name": "BJTUTripbook1/tripbook",
"id": "4eb104d4c298f3969c160a82b610bd1d47189898",
"size... |
package org.jsillitoe.casino.keno.paytable;
public class PayTableException extends Exception {
private static final long serialVersionUID = 1L;
public PayTableException() {
// TODO Auto-generated constructor stub
}
public PayTableException(String message) {
super(message);
// TODO Auto-generated construct... | {
"content_hash": "49a47133c0dabd584ed3a8b093e3a540",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 115,
"avg_line_length": 25.774193548387096,
"alnum_prop": 0.772215269086358,
"repo_name": "jsillitoe/open-keno",
"id": "ed1cd545d29cd89eac6f8d1acca7f82aba745526",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
-->
<configuration>
<property>
<name>REPOSITORY_CONFIG_USERNAME</name>
<display-name>Repository config username</display-name>
<value>keyadmin</value>
<description></description>
</property>
<property>
<name>REPOSITORY_CONFIG_PASSWORD</name>
<... | {
"content_hash": "a3a0039215a42f6f41a5e60fcb48e708",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 143,
"avg_line_length": 28.71034482758621,
"alnum_prop": 0.6404035551285131,
"repo_name": "alexryndin/ambari",
"id": "c84615a2082544e1f904cdca40a9dbaceda85420",
"size": "4... |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>enet: _ENetProtocol... | {
"content_hash": "af4c23047456d47e148963c5960670f8",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 166,
"avg_line_length": 41.710144927536234,
"alnum_prop": 0.6511466296038916,
"repo_name": "FatalEagle/Crowbot",
"id": "a4de4fa428e2f0790287837241a832a71464ab27",
"size": "... |
package cspbuilder
import (
"strings"
)
const (
// Fetch Directives
ChildSrc = "child-src"
ConnectSrc = "connect-src"
DefaultSrc = "default-src"
FontSrc = "font-src"
FrameSrc = "frame-src"
ImgSrc = "img-src"
ManifestSrc = "manifest-src"
MediaSrc = "media-src"
ObjectSrc ... | {
"content_hash": "c211538b5ac8715f2d47b8ee8c56bf69",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 83,
"avg_line_length": 24.62727272727273,
"alnum_prop": 0.6718346253229974,
"repo_name": "unrolled/secure",
"id": "dd9e44347603c43a71d4acd05230666a00243f20",
"size": "2709... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "66759620e822da9fddb6208f08f23daf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "3e0c85f798128ede76608896e6778a4f0d8de96f",
"size": "186... |
package com.paypal.selion.grid;
import static com.paypal.selion.pojos.SeLionGridConstants.*;
import java.io.IOException;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.exec.CommandLine;
import org.apache.commons.lang.SystemUtils;
import com.paypal.selion.SeL... | {
"content_hash": "5096a209e8f471857d5ef5a512defe4c",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 122,
"avg_line_length": 40.61971830985915,
"alnum_prop": 0.6331484049930652,
"repo_name": "paulbrodner/SeLion",
"id": "f013a3d26cea9a586b4c76840d572d9e43920b7b",
"size": "... |
'use strict';
import * as React from "react";
import * as ReactDOM from "react-dom";
import { Home } from "./components/Home/Home";
ReactDOM.render(
<Home firstname="Damien" lastname="Assany" />,
document.getElementById("content")
);
| {
"content_hash": "2d79583794b5cf7e1db3e77d439eb5ff",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 22.272727272727273,
"alnum_prop": 0.6816326530612244,
"repo_name": "PandaDevIO/react-typescript-starter",
"id": "3e94763c01bfb54bdbfd46eb4ea5a87537f6b9... |
package org.openbaton.catalogue.mano.descriptor;
import java.io.Serializable;
import java.util.Set;
import javax.persistence.*;
import org.openbaton.catalogue.mano.common.ConnectionPoint;
import org.openbaton.catalogue.mano.common.Security;
import org.openbaton.catalogue.util.IdGenerator;
/**
* Created by lto on 0... | {
"content_hash": "e50407069323716c99d687190318cfe4",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 100,
"avg_line_length": 23.970588235294116,
"alnum_prop": 0.6773006134969325,
"repo_name": "openbaton/openbaton-libs",
"id": "af647e31aa6c41ab0cbbc3ce9d4c4408b6c3eb2e",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>Grav\Common\Errors | Grav API</title>
<link rel="stylesheet" type="text/css" href="../../css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="../..... | {
"content_hash": "ed1a46a2cbc88e269bb5b905f4f3a8cc",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 200,
"avg_line_length": 40.73873873873874,
"alnum_prop": 0.45466607695709865,
"repo_name": "getgrav/grav-api",
"id": "0d39bffb0db226ace6159918aafabf6cc8aeb08c",
"size": "4... |
<!--
Memory Example
java.lang:type=MemoryPool,name=<NAME>
CollectionUsage.committed
CollectionUsage.init
CollectionUsage.max
CollectionUsage.used
CollectionUsageThreshold
CollectionUsageThresholdCount
CollectionUsageThresholdExceeded
CollectionUsageThresholdSupported
MemoryManagerNames (note that the typ... | {
"content_hash": "24cde6f345ccdd07a153575edb9313e9",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 69,
"avg_line_length": 23.736842105263158,
"alnum_prop": 0.6890243902439024,
"repo_name": "TeamDewberry/jmxdatamart",
"id": "8382d1ef942964b212b3425adf818db48d5a9607",
"siz... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7df11d457a7f6a8ea43d64184e599995",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "785b2e2487ce3a29ad0e5f73b54c9c285071aa5b",
"size": "191... |
NS_ASSUME_NONNULL_BEGIN
@interface RXMaskViewViewController : UIViewController
@end
NS_ASSUME_NONNULL_END
| {
"content_hash": "834089d9f86360d1a480335711bd4602",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 54,
"avg_line_length": 15.571428571428571,
"alnum_prop": 0.8256880733944955,
"repo_name": "xzjxylophone/RXVerifyExample",
"id": "00ab16f1bcc2a57832f9981d823055931d070946",
"... |
import _ from 'lodash';
import './style.scss';
function component() {
//var element = document.createElement('div');
//element.innerHTML = _.join(['Hello', 'webpack'], ' ');
//return element;
}
document.body.appendChild(component());
| {
"content_hash": "a4e8378c205292e61b568d687f791e9e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 60,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.636,
"repo_name": "Raffi-001/bootspackbp",
"id": "500fefd8a07cfea7183302d25debd54fdb978136",
"size": "250",
"bi... |
from netforce.model import Model, fields
class customerMessage(Model):
_name = "cms.customer.message"
_fields = {
"name": fields.Char("Name", required=True),
"email": fields.Char("Email", required=True),
"description": fields.Text("Description",required=True),
}
customerMessage.re... | {
"content_hash": "ff3e099894f0f3a5ca63131087b859bf",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 64,
"avg_line_length": 27.416666666666668,
"alnum_prop": 0.6565349544072948,
"repo_name": "anastue/netforce",
"id": "372fbc6c9a42560e29798e3d3939f7d0eec5d1d2",
"size": "143... |
PyD and distutils
=================
PyD provides patches to distutils so it can use DMD, LDC, and GDC.
.. seealso::
`distutils <https://docs.python.org/2/library/distutils.html#module-distutils>`__
Mostly, this consists of a different :code:`setup` that must be called, and a different :code:`Extension` that mu... | {
"content_hash": "9f4680c8f6c2023aa32a0aeb36c56b24",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 192,
"avg_line_length": 21.661971830985916,
"alnum_prop": 0.6947334200260078,
"repo_name": "ariovistus/pyd",
"id": "5040d340a99c737aef5e2986343f03ba380be412",
"size": "307... |
<!DOCTYPE html>
<!--
~ Copyright (c) 2013, IT Services, Stockholm University
~ All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above ... | {
"content_hash": "50bbcb57b3ec6b044ec70997f39a2b15",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 93,
"avg_line_length": 38.624242424242425,
"alnum_prop": 0.615094931743292,
"repo_name": "carllarsson/hermes",
"id": "af3a78a1eb125d302747c6c19f05ffa1ffad73e2",
"size": "6... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace MostFrequentNumber
{
public class MostFrequentNumber
{
public static void Main()
{
string[] input = Console.ReadLine().Split();
int[] nums = new int[input.Length];
for (int i = 0; ... | {
"content_hash": "72dc1301c0cd0575aed4451f8aa0a25b",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 57,
"avg_line_length": 25.2,
"alnum_prop": 0.42151675485008816,
"repo_name": "arobertov/SoftUniExercises",
"id": "3ec00b9440a836fb137242f0b74befd8391544fa",
"size": "1136",... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e609d0a229ab3275b3bb3bf27d54d463",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "78cd7f5c1beb2a9b237bca81aa0d4c08260c65f3",
"size": "173... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\ResolutionCaseManagement\Types;
/**
*
* @property integer $pageNumber
* @property integ... | {
"content_hash": "87f4ce5c0d905b3e78189722c6db4c24",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 116,
"avg_line_length": 28.771929824561404,
"alnum_prop": 0.5835365853658536,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "95e9d3de8975d76aa4aa203d90cf90cfb6206090",
"s... |
/************************************************************************
* libc/math/lib_sqrt.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Ported by: Darcy Gong
*
* It derives from the Rhombs OS math library by Nick Johnson which has
* a compatibile, MIT... | {
"content_hash": "e4272ab8cd5a6931a176c059be152253",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 75,
"avg_line_length": 25.79787234042553,
"alnum_prop": 0.5360824742268041,
"repo_name": "lssgood/TizenRT",
"id": "e5b0ccd4d181c64c4797a0b4465ee78a8b4d98e0",
"size": "3200"... |
\section{Related readings}
\label{sec:related-readings}
\begin{itemize}
\item Closed queueing networks: \cite{lazowska1984quantitative,menasce2001capacity}
\item Comparison Open/Closed queueing networks: \cite{bondi1986influence,schroeder2006open,tay2013analytical,whitt1984open}
\item Stability conditions for q... | {
"content_hash": "fd3ac82ee7cd561e72bbd00258704fc1",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 124,
"avg_line_length": 27.622222222222224,
"alnum_prop": 0.7972646822204345,
"repo_name": "gmarciani/research",
"id": "a97cf0827d46431d6c3e8642932f0ae6b4833664",
"size": "... |
@font-face {
font-family: 'Roboto Condensed';
src: url('RobotoCondensed-Light-webfont.eot');
src: url('RobotoCondensed-Light-webfont.eot?#iefix') format('embedded-opentype'),
url('RobotoCondensed-Light-webfont.woff') format('woff'),
url('RobotoCondensed-Light-webfont.ttf') format('truetype... | {
"content_hash": "bd627b1cf897253b4719e5be717cd28a",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 86,
"avg_line_length": 38.416666666666664,
"alnum_prop": 0.6789587852494577,
"repo_name": "gsavin/gsavin.github.io",
"id": "bd220751b0ea45cdafaaf2c1bf39b17caf3226ab",
"size... |
Change Log
==========
*No releases yet...* | {
"content_hash": "52b9861ae80848b9cd4bce6458880e52",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 20,
"avg_line_length": 10.75,
"alnum_prop": 0.5116279069767442,
"repo_name": "carlovanhoutte/android-bank-finder",
"id": "3b051f809b9906adbaea63955e9fa610d4f98b92",
"size": ... |
<div>
Usa <a href="people">a própria lista de usuários do Hudson</a> para fazer a autenticação,
ao invés de delegar isto para um sistema externo.
Isto é indicado para uma configuração simples onde você não tem uma base
de usuário em lugar algum.
</div> | {
"content_hash": "960a3113f029fe7a841ccc7a51e6667b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 91,
"avg_line_length": 43.333333333333336,
"alnum_prop": 0.75,
"repo_name": "vivek/hudson",
"id": "29eebc6fa3e5c05d6febec01067a7859a00787f8",
"size": "260",
"binary": fals... |
@interface NSArray (Add)
- (NSString *)jsonStringEncoded;
@end
| {
"content_hash": "c814522b87feefb954cd2ba368c42f6f",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 32,
"avg_line_length": 13,
"alnum_prop": 0.7230769230769231,
"repo_name": "LarryPage/AutoParser",
"id": "3675d25118b41623a3a00ded83703c74f08f863e",
"size": "244",
"binary"... |
Downstream consumers of Content API updates are not always be interested in referent updates, or may not be equally concerned with all types of referent updates. Currently, Content API updates do not provide any metadata about what changed in a document. This puts the onus on consumers to either process every update, r... | {
"content_hash": "721c9412157b7815b2e5d3a2a8ebb002",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 451,
"avg_line_length": 54.02325581395349,
"alnum_prop": 0.753336203185536,
"repo_name": "washingtonpost/ans-schema",
"id": "0ab0509bb25d4d8ee79ed1f1ab8b28a9c2d73018",
"siz... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>org.robolectric.shadows.gms.common Class Hierarchy</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="s... | {
"content_hash": "2438b124f02556a2e1a4dbe54600cc77",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 330,
"avg_line_length": 41.061349693251536,
"alnum_prop": 0.6282683400567758,
"repo_name": "robolectric/robolectric.github.io",
"id": "13e79bb20d8850cd2c84313915c625fe416176... |
namespace ui {
LayerAnimationSequence::LayerAnimationSequence()
: properties_(LayerAnimationElement::UNKNOWN),
is_repeating_(false),
last_element_(0),
waiting_for_group_start_(false),
animation_group_id_(0),
last_progressed_fraction_(0.0) {}
LayerAnimationSequence::LayerAnimationSequ... | {
"content_hash": "3ed959fe5e39a7ac484486871b17f68b",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 79,
"avg_line_length": 29.396166134185304,
"alnum_prop": 0.6972068253450712,
"repo_name": "chromium/chromium",
"id": "41bf59c71c2cc3db1b94803dbc2e3cdb063f7f0f",
"size": "9... |
import numpy as np
import grizzly.numpy_weld as npw
import pandas as pd
import grizzly.grizzly as gr
import time
# Get data (NYC 311 service request dataset) and start cleanup
raw_data = pd.read_csv('data/us_cities_states_counties.csv', delimiter='|')
raw_data.dropna(inplace=True)
data = gr.DataFrameWeld(raw_data)
pri... | {
"content_hash": "9997e9f52dfc53531d7557d0b64e81be",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 104,
"avg_line_length": 38.08571428571429,
"alnum_prop": 0.7231807951987997,
"repo_name": "weld-project/weld",
"id": "63d00176bbe089df2073661c5f13efe6dc0aa3cf",
"size": "13... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>angles: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css"... | {
"content_hash": "ddfd524186c252d93160a21c32979c72",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 218,
"avg_line_length": 43.45086705202312,
"alnum_prop": 0.5621923639749901,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "64b5c30260e4649c6b473a8708c3710a595fe47a",
... |
"""
size_compare.py
Compare the compiled size of two revisions.
Usage: size_compare.py [-h|--help] [target_ref] [base_ref]
if no arguments are passed, compares HEAD to master.
if just `target_ref` is set, compares HEAD to `target_ref`
if `base_ref` is set, compares `target_ref` to `base_ref`."""
import subprocess
i... | {
"content_hash": "e47bee7a2e325bada31080ea176a6ee8",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 105,
"avg_line_length": 31.30081300813008,
"alnum_prop": 0.614025974025974,
"repo_name": "google/xi-editor",
"id": "83d03c88cd606f649cd65d4c5364a2a9cb737a82",
"size": "387... |
<?xml version="1.0"?>
<!--
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 "... | {
"content_hash": "f4721cbf616b055ecd2860e5332e7c24",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 81,
"avg_line_length": 33.7906976744186,
"alnum_prop": 0.5905024088093599,
"repo_name": "Mayo-WE01051879/mayosapp",
"id": "e477803e6f44530db1f38d7d7d6ef501b42b3edf",
"size"... |
/**
*
*/
package org.pjay;
import java.util.Random;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author vijayk
*
*/
@RestController
public class Wor... | {
"content_hash": "b5871cc066572c8fda2c6b86cf0fc98f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 94,
"avg_line_length": 22.130434782608695,
"alnum_prop": 0.6856581532416502,
"repo_name": "konduruvijaykumar/spring-cloud-boot-lab",
"id": "a0cfb0c06abe894329cdc7702960342a84... |
require "test_helper"
class Taxonomy::RedisCacheAdapterTest < ActiveSupport::TestCase
def subject
Taxonomy::RedisCacheAdapter.new(
redis_client:,
adapter: publishing_api_adapter,
)
end
def redis_client
@redis_client ||= stub
end
def publishing_api_adapter
@publishing_api_adapter... | {
"content_hash": "2b5ad51367814e5b4384b3de2f0fe881",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 95,
"avg_line_length": 28.75,
"alnum_prop": 0.7043478260869566,
"repo_name": "alphagov/whitehall",
"id": "a5d375215f7bc89c3c5b859217e4a128392aff43",
"size": "920",
"binar... |
package org.apache.spark.sql.execution.datasources.v2
import java.util
import scala.collection.JavaConverters._
import org.apache.hadoop.fs.{FileStatus, Path}
import org.apache.spark.sql.SparkSession
import org.apache.spark.sql.connector.catalog.{SupportsRead, SupportsWrite, Table, TableCapability}
import org.apac... | {
"content_hash": "fc4303e7693aa12e039dea6cdec6ec4b",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 99,
"avg_line_length": 40.833333333333336,
"alnum_prop": 0.7471162377994676,
"repo_name": "milliman/spark",
"id": "507feb2b595aa3a900b1acf24b6071e13dd49f26",
"size": "6435... |
package no.nextgentel.oss.akkatools.aggregate.aggregateTest_usingAggregateStateBase
import java.util.UUID
import akka.actor.{ActorPath, ActorSystem, PoisonPill, Props}
import akka.persistence.{DeleteMessagesFailure, DeleteMessagesSuccess, SaveSnapshotFailure, SaveSnapshotSuccess, SnapshotMetadata, SnapshotOffer}
impo... | {
"content_hash": "cd06cc843dacf0a792bc1cee0f277ea1",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 177,
"avg_line_length": 30.81967213114754,
"alnum_prop": 0.691063829787234,
"repo_name": "mbknor/akka-tools",
"id": "5d487c4608398e2badee26a137b879bda9062f96",
"size": "94... |
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "a24b9398b3d7aa8cb3137d361499185b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 90,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6582278481012658,
"repo_name": "xtreme-daniel-crampton/broken-navigation",
"id": "e5eec18bc1bff670c00984edb427c811a3... |
package com.voxelwind.server.network.rcon;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.ByteBufUtil;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.MessageToByteEncoder;
import java.nio.ByteOrder;
public class RconEncoder extends MessageToByteEncoder<RconMessage> {
@Overri... | {
"content_hash": "72c70787504ee953d0745d9acb62c37e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 105,
"avg_line_length": 35.24,
"alnum_prop": 0.7094211123723042,
"repo_name": "MylesIsCool/voxelwind",
"id": "d407f03425f18d4ee07ebe50dd71d5f50482a9ac",
"size": "881",
"b... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "87a677967c7123a6a0ad3b6c3e90c8c9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "2afb2baa647cd8297002c922fd4a6739acb0168f",
"size": "189... |
@interface PodsDummy_ILGHttpConstants_OSX : NSObject
@end
@implementation PodsDummy_ILGHttpConstants_OSX
@end
| {
"content_hash": "310a07acbe1827e6d22f2f7c897aaff9",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 52,
"avg_line_length": 27.5,
"alnum_prop": 0.8454545454545455,
"repo_name": "brockboland/VOKMockUrlProtocol",
"id": "220850f6ecc05c52d12d3dc7c900f5bf03314659",
"size": "144"... |
var brook = require('./brook.js'),
meb = new brook.MemoryEventBrook();
meb.eventCleanTimer(3600);
function get_ip (req) {
var ipaddr = req.header('x-forwarded-for');
if (ipaddr) ipAddress = ipaddr.split(',')[0];
if (!ipaddr) ipaddr = req.connection.remoteAddress;
return ipaddr;
}
function _apis (app) {
... | {
"content_hash": "9dff88f6cecd67c32cb14929c58ee21d",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 64,
"avg_line_length": 28.755555555555556,
"alnum_prop": 0.5873261205564142,
"repo_name": "dna2github/dna2oldmemory",
"id": "76433bfc7f813164081eff908fd857eb878233bb",
"siz... |
module SenorArmando
module Plugins
# Sends metrics to a remote statsd-compatible server
class StatsdSender < EventMachine::Connection
DEFAULT_HOST = '127.0.0.1'
DEFAULT_PORT = 8125
DEFAULT_FRAC = 1.0
#
def initialize options={}
@name = options[:name] || File.basename(G... | {
"content_hash": "e8d4fff9aca7bdff957de965e76e4456",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 115,
"avg_line_length": 27.294736842105262,
"alnum_prop": 0.5873505591978403,
"repo_name": "infochimps-labs/senor_armando",
"id": "b42ee92f3755dfddb61f76a321bd5d51c32f47e2",
... |
"""
Installs and configures AMQP
"""
from packstack.installer import basedefs
from packstack.installer import validators
from packstack.installer import processors
from packstack.installer import utils
from packstack.modules.common import filtered_hosts
from packstack.modules.documentation import update_params_usage
... | {
"content_hash": "d9140a538cf46f52976fe35d0b66b598",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 76,
"avg_line_length": 37.42929292929293,
"alnum_prop": 0.5879098637160977,
"repo_name": "imcsk8/packstack",
"id": "bc822100bc810d982c6734ba0f87cfae7797e907",
"size": "798... |
package Paws::CodePipeline::TransitionState;
use Moose;
has DisabledReason => (is => 'ro', isa => 'Str', request_name => 'disabledReason', traits => ['NameInRequest']);
has Enabled => (is => 'ro', isa => 'Bool', request_name => 'enabled', traits => ['NameInRequest']);
has LastChangedAt => (is => 'ro', isa => 'S... | {
"content_hash": "2f477422a9a81f12f12676ccb1d310d3",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 114,
"avg_line_length": 27.51948051948052,
"alnum_prop": 0.7243983010854177,
"repo_name": "ioanrogers/aws-sdk-perl",
"id": "3d41a9673fa8f9174517ac36f1e021cabd83b432",
"size... |
module Messenger
module Bot
class Request
def self.post(url, data)
url = URI.parse(url)
http = Net::HTTP.new(url.host, 443)
http.use_ssl = true
begin
request = Net::HTTP::Post.new(url.request_uri)
request["Content-Type"] = "application/json"
requ... | {
"content_hash": "05328141536aaa6045705bf1d2a478f3",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 58,
"avg_line_length": 29.192307692307693,
"alnum_prop": 0.5250329380764164,
"repo_name": "jun85664396/messenger-bot-rails",
"id": "caf896e5aacb91f23a456e3253ccad1eb5e8c7bf",... |
int main(int argc, char **argv)
{
SPTracer::Log::Info("SPTracer started");
// config file
std::string configFile = argc > 1 ? argv[1] : "sptracer.cfg";
SPTracer::Log::Info("Config file: " + configFile);
// create application
App app(configFile);
// check that application is initialized
if (!app.IsInitialize... | {
"content_hash": "313542b44cd1ab737fbac1b3231bba7f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 62,
"avg_line_length": 19.4,
"alnum_prop": 0.6623711340206185,
"repo_name": "bogoms/sptracer",
"id": "d12c8b3a9c5e7c68eec7f27530370c37b52dce8f",
"size": "432",
"binary": ... |
@interface RTextComposerViewController ()
@property (nonatomic, retain) UITextView *textView;
@property (nonatomic, retain) UIView *toolbarView;
@end
@implementation RTextComposerViewController
//@synthesize rightBarButtonItem = _rightBarButtonItem;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *... | {
"content_hash": "1c4da194fa3257a6dca7eaaf2c2bbf2d",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 158,
"avg_line_length": 33.625,
"alnum_prop": 0.6988847583643123,
"repo_name": "RobinQu/RUIKitchen",
"id": "0fd7fe4e5d4d77c2afe25cdeb9dba3b8104e539e",
"size": "4501",
"b... |
package com.baidu.rigel.biplatform.queryrouter.queryplugin.jdbc.service.impl;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Ser... | {
"content_hash": "96fbcecbe9a8293a22464c1ecfac5bf0",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 104,
"avg_line_length": 39.32051282051282,
"alnum_prop": 0.677535050537985,
"repo_name": "sdgdsffdsfff/bi-platform",
"id": "1811c878c546479aceff1a76f637bf0f9869579f",
"size... |
NAME="alan"
#*******************************************************************************
# Main Code
#*******************************************************************************
#Install Prereqs
sudo apt-get install gfortran g++ python-pip python-dev zlib1g-dev libhdf5-serial-dev libnetcdf-dev
pip install num... | {
"content_hash": "3b29e279d7df33b1cd289d750be1c0ce",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 185,
"avg_line_length": 47.67901234567901,
"alnum_prop": 0.7159502848265148,
"repo_name": "CI-WATER/erfp_era_interim_process",
"id": "83f0bb8fcf5a403938d483552dfc7de6a86a9737... |
/**
* @file
*
* @brief
*
* @date 22.06.2012
* @author Anton Bondarev
*/
#ifndef MIPS_ASM_IPL_H_
#define MIPS_ASM_IPL_H_
#include <asm/mipsregs.h>
typedef unsigned int __ipl_t;
static inline void ipl_init(void) {
unsigned int c0_reg;
/* read status registers for cleaning interrupts mask */
c0_reg = mips_... | {
"content_hash": "482948f4781dd898aedbb6673de40039",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 73,
"avg_line_length": 25.6,
"alnum_prop": 0.6292613636363636,
"repo_name": "abusalimov/embox",
"id": "2e47d51cab633a7aef7255fc0e8abc7700cbc5b8",
"size": "1408",
"binary"... |
import { Component } from '@angular/core';
@Component({
selector: 'ng-component',
templateUrl: './primary.component.html',
styleUrls: ['./primary.component.scss'],
})
export class PrimaryAngularComponent {}
| {
"content_hash": "068eee4bbe7d1ec0b746c6fa3cb64a4d",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 42,
"avg_line_length": 26.75,
"alnum_prop": 0.7102803738317757,
"repo_name": "dherges/ng-packagr",
"id": "6ce5169470583409653244dc061fd55f895b286f",
"size": "214",
"binary... |
using System;
using System.Collections.Generic;
using LuaInterface;
using UnityEngine;
namespace SLua
{
public partial class LuaDelegation : LuaObject
{
static internal int checkDelegate(IntPtr l,int p,out System.Func<UnityEngine.UI.ILayoutElement,System.Single> ua) {
int op = extractFun... | {
"content_hash": "023c2207642c30249dcad3e74a53151f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 123,
"avg_line_length": 25.043478260869566,
"alnum_prop": 0.5477430555555556,
"repo_name": "zhukunqian/unity5-slua",
"id": "477074c08ff45e2cdde295b6e8a218d638282680",
"size... |
<!--
Copyright 2017 The Kubernetes Authors.
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... | {
"content_hash": "016724aa9e27f483a62973d1da7fc748",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 115,
"avg_line_length": 39.19512195121951,
"alnum_prop": 0.5717174859987555,
"repo_name": "floreks/dashboard",
"id": "f5e70a319a3cf75a65864f43324e9f3f5d5baf4f",
"size": "6... |
<?php
/*
Safe sample
input : use proc_open to read /tmp/tainted.txt
SANITIZE : use in_array to check if $tainted is in the white list
construction : use of sprintf via a %s with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy... | {
"content_hash": "64ac1be3f6c869126f0860bd16545dcc",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 83,
"avg_line_length": 24.070422535211268,
"alnum_prop": 0.7173785839672323,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "b92c216c74591ca021132043e01f53c2815e... |
#if FEATURE_BREAKITERATOR
using ICU4N.Text;
using Lucene.Net.Analysis;
using Lucene.Net.Attributes;
using Lucene.Net.Diagnostics;
using Lucene.Net.Documents;
using Lucene.Net.Index;
using Lucene.Net.Index.Extensions;
using Lucene.Net.Support;
using Lucene.Net.Util;
using NUnit.Framework;
using System;
using System.Col... | {
"content_hash": "7df5f04209f8a62d72d47d090c48e4be",
"timestamp": "",
"source": "github",
"line_count": 1233,
"max_line_length": 238,
"avg_line_length": 45.63503649635037,
"alnum_prop": 0.5993993033340442,
"repo_name": "sisve/lucenenet",
"id": "1c15d4d70ed3cbffb7e2e9987171267f9558b410",
"size": "57... |
import yaml
from transcoder.output import OutputManager
class DiagnosticOutputManager(OutputManager):
"""Output manager for representing messages in diagnostic notation"""
@staticmethod
def output_type_identifier():
return 'diag'
def write_record(self, record_type_name, record):
pr... | {
"content_hash": "e4dd05ccdadbe0675a29149948abce89",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 24.5,
"alnum_prop": 0.7230320699708455,
"repo_name": "GoogleCloudPlatform/market-data-transcoder",
"id": "3d1cc6eccddf13cd8eb1f6142afda7e227638372",
... |
""" This file contains classes related to loading and saving a set of
connection objects to an XML file.
It defines the following
classes:
- ExtConnection
- DBConnection
- ExtConnectionList
"""
from __future__ import division
import os
import tempfile
import unittest
from vistrails.core.utils import VistrailsInter... | {
"content_hash": "2558259ebeb8a109fbafef6af48e4449",
"timestamp": "",
"source": "github",
"line_count": 316,
"max_line_length": 82,
"avg_line_length": 33.18037974683544,
"alnum_prop": 0.5642346208869814,
"repo_name": "hjanime/VisTrails",
"id": "8c18a8246b2aca8650fa233a04fdba9ea1eab11c",
"size": "12... |
package javax.sip.header;
import javax.sip.SipException;
/**
* This Exception is thrown when a user attempts decrement the Hop count when
* the message as already reached its max number of forwards.
*
* @author BEA Systems, NIST
* @version 1.2
*/
public class TooManyHopsException extends SipException {
/*... | {
"content_hash": "507a7c472394aa8c3a8755ac61b52bdf",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 77,
"avg_line_length": 24.41304347826087,
"alnum_prop": 0.6687444345503116,
"repo_name": "fhg-fokus-nubomedia/signaling-plane",
"id": "b695794e86b1c16f9cd2856627ddd0f7c1d448f... |
<?php
namespace Pantheon\Terminus\Collections;
use Pantheon\Terminus\Models\OrganizationUpstream;
/**
* Class OrganizationUpstreams
* @package Pantheon\Terminus\Collections
*/
class OrganizationUpstreams extends OrganizationOwnedCollection
{
const PRETTY_NAME = 'upstreams';
/**
* @var string
*/
... | {
"content_hash": "59d492a5f903e044b6e29ee674d1b39e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 23.575757575757574,
"alnum_prop": 0.6593830334190232,
"repo_name": "pantheon-systems/cli",
"id": "6ab437f75250773eb724d85bcb95eff5121c8fa0",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace XOMNI.SDK.Model.Private.Catalog
{
[Flags]
public enum DynamicAttributeTypeOptions : byte
{
NotInitialized = 0,
Retrievable = 1,
Filterable = 2,
Searchable = 4,
Facetable ... | {
"content_hash": "c0c32ef28dd1e87e636dce0599d891b2",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 50,
"avg_line_length": 19.77777777777778,
"alnum_prop": 0.6207865168539326,
"repo_name": "nseckinoral/xomni-sdk-dotnet",
"id": "c8f7dc604e49106b9e2963fb41c20e3d4595318e",
"... |
/*
* Do not modify this file. This file is generated from the cloudfront-2015-04-17.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.CloudFront.Mod... | {
"content_hash": "59035e23988329e2e059e67d9c555a7f",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 108,
"avg_line_length": 28.96551724137931,
"alnum_prop": 0.638095238095238,
"repo_name": "mwilliamson-firefly/aws-sdk-net",
"id": "05d1df2771637eb51b9fe3b2d2f259e5fda51aea",
... |
const assert = require('assert')
module.exports = async function (request, email, password) {
const { header, statusCode } = await request
.post('/api/session')
.set('Accept', 'application/json')
.send({ email, password: password || 'testing' })
assert.strictEqual(statusCode, 204)
const cookie = he... | {
"content_hash": "7a18ba9811969f50ca0e709114beb37f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 60,
"avg_line_length": 26.285714285714285,
"alnum_prop": 0.6657608695652174,
"repo_name": "BanManagement/BanManager-WebUI",
"id": "2649085d0879cf385d5bf193fa6174a78dc42831",
... |
import jinja2
import os
import webapp2
from google.appengine.ext import ndb
def guestbook_key(guestbook_name='default_guestbook'):
return ndb.Key('Guestbook', guestbook_name)
jinja_environment = jinja2.Environment(
loader=jinja2.FileSystemLoader(os.path.dirname(__file__)),
extensions=['jin... | {
"content_hash": "82b8a4f37a87a993d2a713345aef25e7",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 67,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6507352941176471,
"repo_name": "GoogleCloudPlatformTraining/cp100-appengine-datastore-python",
"id": "d3506d36cd485... |
try:
import pkg_resources
except ImportError:
pkg_resources = None
def is_namespace(modname):
# pylint: disable=no-member; astroid issue #290, modifying globals at runtime.
return (pkg_resources is not None
and modname in pkg_resources._namespace_packages)
| {
"content_hash": "91f38514e96f33e704848e0e8731c1e0",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 82,
"avg_line_length": 28.7,
"alnum_prop": 0.710801393728223,
"repo_name": "rvmoura96/projeto-almoxarifado",
"id": "79ff4e0a66e399d68fbdb904c751affb7781f6fe",
"size": "346"... |
import Subscription from './subscription';
import Operation from 'orbit/operation';
import Orbit from 'orbit/main';
import { lookupTransformation } from 'orbit-firebase/transformations';
export default Subscription.extend({
init: function(path, listener){
this.path = path;
this.listener = listener;
this.schema ... | {
"content_hash": "3528a4d3b9080853cc02b43e98c022bd",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 97,
"avg_line_length": 29.28205128205128,
"alnum_prop": 0.7005253940455342,
"repo_name": "lytbulb/orbit-firebase",
"id": "862aa1c441155a83d79ea93c295380bc35a55c49",
"size":... |
module MarionetteDust
module Generators
module Helpers
def asset_path
File.join('app', 'assets')
end
def javascript_path
File.join(asset_path, 'javascripts')
end
def entities_path
File.join(javascript_path, "entities")
end
def apps_path
... | {
"content_hash": "1624239d070f697a59e3fcd1e18983a0",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 73,
"avg_line_length": 20.44,
"alnum_prop": 0.5727332028701891,
"repo_name": "roperzh/marionette_dust-rails",
"id": "d026027c7aabafda16f80d0975b73ea00e3aff5f",
"size": "153... |
module.exports = {
after: require("./after"),
apply: require("./apply"),
ary: require("./ary"),
attempt: require("./attempt"),
before: require("./before"),
call: require("./call"),
debounce: require("./debounce"),
delay: require("./delay"),
iterate: require("./iterate"),
memoize:... | {
"content_hash": "85f1a644f9c294237df3349a6cb5f8e2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 38,
"avg_line_length": 30.36842105263158,
"alnum_prop": 0.5753899480069324,
"repo_name": "rl189020/expandjs",
"id": "98cd01df1adfb6a2003b141d17174ddd4ec5c661",
"size": "577... |
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "032c02265d485b0de6b7ba8e0adde3cd",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 154,
"avg_line_length": 46.716279069767445,
"alnum_prop": 0.6737355635205098,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "969dabb7626bef9988559fb2129065e878f3369a",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 322115 $ -->
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="imagickdraw.clone">
<refnamediv>
<refname>ImagickDraw::clone</refname>
<refpurpose>Makes an exact copy of the specified ImagickDraw object</refpurpose>
</refnamediv>
<refsect1 role="descri... | {
"content_hash": "8410b8690d2145de79928828d36cf50c",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 82,
"avg_line_length": 25.18,
"alnum_prop": 0.7307386814932486,
"repo_name": "mziyut/.vim",
"id": "3daaf6de9a7a65beab274f76809a3ea3969d324b",
"size": "1259",
"binary": fa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.