text stringlengths 2 1.04M | meta dict |
|---|---|
package apps
import (
"strings"
"github.com/dokku/dokku/plugins/common"
)
// ReportSingleApp is an internal function that displays the app report for one or more apps
func ReportSingleApp(appName string, format string, infoFlag string) error {
if err := common.VerifyAppName(appName); err != nil {
return err
}
... | {
"content_hash": "59df2ab3ba91b3a9a1866cc435be0750",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 122,
"avg_line_length": 24.73076923076923,
"alnum_prop": 0.7146189735614308,
"repo_name": "progrium/dokku",
"id": "ec69410bee22f93288b5d68a245905000ad3b7d3",
"size": "1286"... |
@implementation PassbookCell
- (id)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:CGRectMake(0, 0, CGRectGetWidth(frame), CGRectGetHeight(frame))];
if (self) {
UIView *cardView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(frame), CGRectGetHeight(frame))];
cardView.... | {
"content_hash": "70bcf6aaf9188ed90c21bf519dd92dbc",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 122,
"avg_line_length": 39.13636363636363,
"alnum_prop": 0.6364692218350755,
"repo_name": "jaythrash/CollectionViewLayoutDemo",
"id": "6f4806d19375233f0bd7fdf11d8b78813db80ef... |
require 'spec_helper'
describe 'stdlib::ip_in_range' do
describe 'signature validation' do
it { is_expected.not_to eq(nil) }
it { is_expected.to run.with_params.and_raise_error(ArgumentError, %r{'stdlib::ip_in_range' expects 2 arguments, got none}) }
it { is_expected.to run.with_params('one', 'two', '3')... | {
"content_hash": "513e2718af40ccc65373fc212a7d74d8",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 184,
"avg_line_length": 66.05882352941177,
"alnum_prop": 0.680320569902048,
"repo_name": "DavidS/puppetlabs-stdlib",
"id": "01d800ce6c2f801160edb2c36c615bcc2c41b715",
"size... |
/*
* File: app/view/formAplicacion.js
*
* This file was generated by Sencha Architect version 4.1.2.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 5.1.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 5.1.x. For more
* ... | {
"content_hash": "45a921946314b637c21f0b8f9932021c",
"timestamp": "",
"source": "github",
"line_count": 513,
"max_line_length": 117,
"avg_line_length": 34.33723196881092,
"alnum_prop": 0.5021856372409877,
"repo_name": "devmaster-terian/hwt-backend",
"id": "1178f65c5c68fb3bbc4983f4bb64216759624f27",
... |
package net.analizer.rxbuslib;
import junit.framework.Assert;
import net.analizer.rxbuslib.annotations.Subscribe;
import net.analizer.rxbuslib.annotations.SubscribeBehavior;
import net.analizer.rxbuslib.annotations.SubscribeTag;
/**
* A simple SubscriberEvent mock that records Strings.
* <p/>
* For testing fun, a... | {
"content_hash": "1b01c5f597ad975e9b193bd88b60290b",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 26.695652173913043,
"alnum_prop": 0.6913680781758957,
"repo_name": "analizer1/RxBusLib",
"id": "709182b55736e1a89520e204ecc921b6f87b6e18",
"size": "1... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib 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... | {
"content_hash": "c344ec172e288f51508115bd101c494d",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 139,
"avg_line_length": 22.30666666666667,
"alnum_prop": 0.6228332337118948,
"repo_name": "stdlib-js/www",
"id": "7dda77acaf18ad631adb4064920d34ac7dbe61d8",
"size": "3346"... |
<html lang="en">
<head>
<title>Symbol Names - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Symbols.html#Symbols" title="Symbols"... | {
"content_hash": "532bed2b2cf9dd83d6b2e21ca9816db6",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 232,
"avg_line_length": 57.933734939759034,
"alnum_prop": 0.7214307996256629,
"repo_name": "marduino/stm32Proj",
"id": "648d0814acd93cc7aefe92f6117ffe9a2c390e31",
"size": ... |
package com.facebook.nifty.client;
import com.facebook.nifty.core.NettyServerConfig;
import com.facebook.nifty.core.NiftySecurityHandlers;
public interface NiftyClientSecurityFactory
{
NiftySecurityHandlers getSecurityHandlers(int maxFrameSize, NettyClientConfig clientConfig);
}
| {
"content_hash": "864249978a2d1ec038f5022861b136af",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 96,
"avg_line_length": 28.7,
"alnum_prop": 0.8501742160278746,
"repo_name": "facebook/nifty",
"id": "97323a20326c24812feab532011b52643e4edda9",
"size": "889",
"binary": f... |
let mongoose = require("mongoose");
mongoose.connect("mongodb://localhost/login");
var usr_grupoSchemaJSON=new mongoose.Schema({
email:String ,
usuario:{type:mongoose.Schema.ObjectId,ref:"users"} ,//relacion usuario 1:M contactos
usr_grupo:{type:mongoose.Schema.ObjectId,ref:"usr_grupo"} ,//relacion ... | {
"content_hash": "2cc5733130bf77e4b62e4644812f4184",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 94,
"avg_line_length": 36.357142857142854,
"alnum_prop": 0.724950884086444,
"repo_name": "omiguelca/mensajeVisual",
"id": "a7df7e42bbc45d51278df804c6fce7cf7659d2d6",
"size"... |
import sys
if sys.platform == 'cli':
import clr
clr.AddReference('integrate')
from scipy__integrate__vode import *
| {
"content_hash": "4fbc6e0d7b6524fe17aa1686e259f030",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 40,
"avg_line_length": 16.25,
"alnum_prop": 0.6615384615384615,
"repo_name": "jasonmccampbell/scipy-refactor",
"id": "dc09f6ab84ad3025bf26023596ae5d7834002c28",
"size": "131... |
tixastronauta/acc-ip
=============================
[](https://travis-ci.org/tixastronauta/acc-ip)
PHP 5 library to retrieve client's accurate IP Address
# Installing
Add this library as a composer dependency:
```
$ composer require tixast... | {
"content_hash": "6b28753b292bc44e10e84ae6b99988ce",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 123,
"avg_line_length": 32.27450980392157,
"alnum_prop": 0.7612393681652491,
"repo_name": "tixastronauta/acc-ip",
"id": "84c8d15824c8857dd34b7fc8360e070ebdd24c8b",
"size": ... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib 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... | {
"content_hash": "c187e249616eb85301b28143bf3daea8",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 139,
"avg_line_length": 22.313333333333333,
"alnum_prop": 0.6229459217209441,
"repo_name": "stdlib-js/www",
"id": "4f10b8bb6675586de11cc86cdea95aacbb255a71",
"size": "3347... |
package com.ryanmichela.sshd;
import org.bukkit.ChatColor;
import org.fusesource.jansi.Ansi;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.text.SimpleDateFormat;
import java.util.EnumMap;
import java.util.Map;
import java.util.logging.Formatter;
import java.util.logging.LogRecord;
public cla... | {
"content_hash": "8e7c5dad5f94057e70184ce3c8632339",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 120,
"avg_line_length": 49.2020202020202,
"alnum_prop": 0.6633134879901458,
"repo_name": "rmichela/Bukkit-SSHD",
"id": "4df169727835ed408db7df7dcef32309bf3d980d",
"size": "... |
for i, force in pairs(game.forces) do
if force.technologies["advanced-material-processing"].researched then
force.recipes["alien-steel-plate"].enabled = true
end
if force.technologies["automation-2"].researched then
force.recipes["alien-steam-engine"].enabled = true
end
end | {
"content_hash": "308235396527226d78292f77e040c680",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 70,
"avg_line_length": 31.444444444444443,
"alnum_prop": 0.7667844522968198,
"repo_name": "renoth/factorio-alien-module",
"id": "e9192f1f76a304b567547a80172dd12072cff6f0",
"... |
layout: page
title: Swift Blue Llc. Conference
date: 2016-05-24
author: Jean Gross
tags: weekly links, java
status: published
summary: Vivamus dictum massa ac orci aliquet dapibus. Interdum.
banner: images/banner/leisure-05.jpg
booking:
startDate: 06/09/2016
endDate: 06/10/2016
ctyhocn: DHNHSHX
groupCode: SBLC
... | {
"content_hash": "dc2ea156bbd316d329e80f79a32e8616",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 660,
"avg_line_length": 76.33333333333333,
"alnum_prop": 0.8091079226450405,
"repo_name": "KlishGroup/prose-pogs",
"id": "9d469d9968221a1106db0b9bf70c8337fe01baed",
"size":... |
package it.unitn.ing.rista.diffr.detector;
import it.unitn.ing.rista.diffr.*;
import it.unitn.ing.rista.awt.*;
import it.unitn.ing.rista.util.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.io.BufferedReader;
import java.io.IOException... | {
"content_hash": "0fa982f592e08f14158e93f645df448b",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 135,
"avg_line_length": 28.970954356846473,
"alnum_prop": 0.6506731595531366,
"repo_name": "luttero/Maud",
"id": "9df043011e48dd74cd3838d9564e594410a0fe7c",
"size": "7841"... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.connectopensource</groupId>
<artifactId>Production</artifactId>
<... | {
"content_hash": "633c7e40db060775707d89057182972c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 204,
"avg_line_length": 39.1578947368421,
"alnum_prop": 0.6599462365591398,
"repo_name": "sailajaa/CONNECT",
"id": "b9dfcb1dd7a802d117d0eb5757fa5982cbf4d685",
"size": "744"... |
var EventEmitter = require('events').EventEmitter
, util = require('util')
, request = require('request').defaults({ jar: true });
var BasicRenderer = function() {};
util.inherits(BasicRenderer, EventEmitter);
BasicRenderer.prototype.render = function(url, actions, cookiejar) {
var renderer = this;
var conf =... | {
"content_hash": "3d9283e83f77c79d47f1148f5a3fd7b9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 68,
"avg_line_length": 27.869565217391305,
"alnum_prop": 0.6536661466458659,
"repo_name": "ContentMine/thresher",
"id": "e99b9ceb8bdc754f9a4ab71ad7eecfd6faba6e29",
"size": ... |
// Copyright 2019 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.
import 'chrome://resources/cr_elements/icons.m.js';
import 'chrome://resources/cr_elements/shared_vars_css.m.js';
import 'chrome://resources/polymer/v3_0/... | {
"content_hash": "d523990066c63e547d7257157ddd10a3",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 100,
"avg_line_length": 28.873333333333335,
"alnum_prop": 0.6518125144308474,
"repo_name": "ric2b/Vivaldi-browser",
"id": "1a44751bc79920d10cd7bd8ce502771c3f98f5e4",
"size... |
'use strict';
class SecondaryHeading {
beforeRegister() {
this.is = 'secondary-heading';
this.properties = {
name: {
type: String
},
first: {
reflectToAttribute: true,
type: Boolean
}
};
}
created() { }
ready() { }
attached() { }
detached() { }... | {
"content_hash": "4c6f0eb7b6a89f26df23b936448d3998",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 34,
"avg_line_length": 14.461538461538462,
"alnum_prop": 0.5292553191489362,
"repo_name": "JustinXinLiu/polymer-app-design",
"id": "38001e097dd4d1120ab5890306bd54b230845f45",... |
{% extends "base.html" %}
{% block page_title %}<a href={% url 'mantises:detail-mantis' mantis.id %}>{{ mantis.name }}</a>'s Molt History{% endblock page_title %}
{% block content %}
{% if history %}
{% for molt in history %}
<div>
<a href="{% url 'mantises:edit-molt' molt.id %}">{{ molt.from... | {
"content_hash": "4c3b6450b1aa44b18a9892ce9b160141",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 136,
"avg_line_length": 27.529411764705884,
"alnum_prop": 0.5427350427350427,
"repo_name": "archen/mantistrack",
"id": "776de6a2dfc567dc46d8376ad899b23208781aff",
"size": "... |
(function(){
'use strict';
var app = require('./app'),
config = require('./config');
// routes = require('./routes'),
// api = require('./routes/api'),
app.listen(config.port, function () {
console.log('Server started in ', config.env, ' mode, at port ', config.port);
});
// app.set('views'... | {
"content_hash": "25a540fc3f2ad14fd71e3026409e625a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 82,
"avg_line_length": 27.321428571428573,
"alnum_prop": 0.5803921568627451,
"repo_name": "ChefSocial/website-frontend",
"id": "749ece3b33ac67dd073c230829e23d6c426d20a7",
"... |
<div class="commune_descr limited">
<p>
Gentioux-Pigerolles est
un village
localisé dans le département de Creuse en Limousin. Elle totalisait 368 habitants en 2008.</p>
<p>Si vous pensez venir habiter à Gentioux-Pigerolles, vous pourrez facilement trouver une maison à acheter. </p>
<p>Le parc d'habitat... | {
"content_hash": "1ba65c78943dd29944e42c9a89915e32",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 146,
"avg_line_length": 80.11111111111111,
"alnum_prop": 0.746879334257975,
"repo_name": "donaldinou/frontend",
"id": "deba4b861555ce737b313f76635c698e76fdaf24",
"size": "1... |
"""
S. Van Hoey
2016-06-06
"""
import os
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib.ticker import FuncFormatter
from skimage.feature import canny
from skimage.segmentation import clear_border
from skimage.morphology import dilation, rectangle
from skimage.me... | {
"content_hash": "e6d8684fe3e72c6125ded133f2709e3e",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 151,
"avg_line_length": 34.51870324189526,
"alnum_prop": 0.5744834561479555,
"repo_name": "gbellandi/bubble_size_analysis",
"id": "6fe8a2134cb82f89b2a84bf203354a1a0036efac",... |
package turksem.util
import scala.collection.immutable.SortedSet
// basic, inefficient immutable union-find based on sets
class SetUnionFind[A] private (
val sets: Set[SortedSet[A]])(
implicit ord: Ordering[A]) {
def add(a: A): SetUnionFind[A] =
if(sets.forall(!_.contains(a))) new SetUnionFind(sets + Sorte... | {
"content_hash": "6cd8424ad5a79a6e29be27829e4bbdf9",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 76,
"avg_line_length": 29.9,
"alnum_prop": 0.6555183946488294,
"repo_name": "julianmichael/mturk-semantics",
"id": "65957ef810560ebc89120d8ab15ad7dea7d5e826",
"size": "897"... |
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Data.Objects.DataClasses;
namespace Cats.Models.Hubs.MetaModels
{
public sealed class CommoditySourceMetaModel
{
[Required(ErrorMessage="Commodity Source is required")]
public Int32 CommoditySourceID {... | {
"content_hash": "909e5acad2cf51e06d7cb05b400491da",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 81,
"avg_line_length": 23.92,
"alnum_prop": 0.7324414715719063,
"repo_name": "ndrmc/cats",
"id": "513414aca74c9afac58a829d08a898063898bdff",
"size": "598",
"binary": fals... |
/*
* Adapter for requesting bids from RTK Aardvark
* To request an RTK Aardvark Header bidding account
* or for additional integration support please contact sales@rtk.io
*/
var utils = require('src/utils.js');
var bidfactory = require('src/bidfactory.js');
var bidmanager = require('src/bidmanager.js');
var adload... | {
"content_hash": "18aa17ff3af7b7858f3bb0a1e278d643",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 183,
"avg_line_length": 38.483870967741936,
"alnum_prop": 0.6950963956412406,
"repo_name": "LiranMotola/Prebid.js",
"id": "27c5b6a23b5f7c2e986d64c85c6bfb5519b9e65a",
"size... |
const argv = require('minimist')(process.argv.slice(2));
const cors = require('./amp-cors');
const pc = process;
const fs = require('fs');
const multer = require('multer');
const recaptchaRouter = require('express').Router();
const upload = multer();
const recaptchaMock = `
window.grecaptcha = {
ready: (callback)... | {
"content_hash": "226da48a3afd1cf973ebf9c004058577",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 70,
"avg_line_length": 23.272727272727273,
"alnum_prop": 0.6302083333333334,
"repo_name": "zhouyx/amphtml",
"id": "9f4946b09abe43b00de30b8d5d2f373b7e4d7198",
"size": "2163"... |
from setuptools import setup, find_packages
readme = open('README.txt').read()
setup(
name='matchtools',
version='0.1',
author='Russell J. Funk and Julian Katz-Samuels',
author_email='funk@umich.edu',
license='',
description='Package that provides data-cleaning tools.',
long_description=open('README.... | {
"content_hash": "a658afb856fc0a0765a1c749828f7cce",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 61,
"avg_line_length": 30.833333333333332,
"alnum_prop": 0.6837837837837838,
"repo_name": "jkatzsam/matchtools",
"id": "e18c6bf642cb399b2fd80e42a1feefcb93bf0d3e",
"size": "... |
package monix.reactive.internal.operators
import monix.execution.exceptions.DummyException
import monix.reactive.Observable
import scala.concurrent.duration.Duration.Zero
import scala.concurrent.duration._
import scala.util.Failure
object MapAccumulateSuite extends BaseOperatorSuite {
def createObservable(source... | {
"content_hash": "c44750d07f2677ecab913da31ecff64f",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 111,
"avg_line_length": 30.967741935483872,
"alnum_prop": 0.6630208333333333,
"repo_name": "alexandru/monifu",
"id": "e5318e0a34628f9bab037646ac12606db67be7dc",
"size": "25... |
if [[ -z "$1" ]]; then it=20; else it=$1; fi
rm -r *.bak representatives*.csv *.gv candidates_representatives* *lvl1* problem points_representatives*.csv *rprtmp*
itm1=$(( $it - 1 ))
echo "git add segments.csv points_segments.csv patches.csv points_primitives.csv primitives_it${it}.bonmin.csv points_primitives_it$itm1... | {
"content_hash": "860ebb05815706143c2cd0b919292ca3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 149,
"avg_line_length": 66.6,
"alnum_prop": 0.7237237237237237,
"repo_name": "NUAAXXY/globOpt",
"id": "a10c8297fa745caaada97f65786830c5e387528d",
"size": "345",
"binary": ... |
(function (global, exports) {
'use strict';
exports.testExtraShouldReturnFive = function () {
return 5;
};
exports.testExtraShouldCallToRuntime = function() {
return exports.runtime(3);
};
})
| {
"content_hash": "dd1e7ff3d02a1524f472491c6bff9a81",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 53,
"avg_line_length": 21.1,
"alnum_prop": 0.6682464454976303,
"repo_name": "dawangjiaowolaixunshan/runtime",
"id": "829ddee01a4c140aacbfa9ca4969daae9ad7929d",
"size": "379... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1e4d3e5ca60633fcba1aa7ba4ebbba63",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "54ee0f8de23c3fa70f6e285d93d9ceb9181e9c73",
"size": "173... |
package taglib
import (
"fmt"
"os"
"strings"
_ "testing"
)
func ExampleDecode() {
f, err := os.Open("testdata/BeatThee.mp3")
if err != nil {
panic(err)
}
fi, err := f.Stat()
if err != nil {
panic(err)
}
tag, err := Decode(f, fi.Size())
if err != nil {
panic(err)
}
fmt.Println("Title:", strings.Tr... | {
"content_hash": "d28647d5e24945ce4d8b96d40ad6611c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 56,
"avg_line_length": 18.470588235294116,
"alnum_prop": 0.6273885350318471,
"repo_name": "hjfreyer/taglib-go",
"id": "ce20d76b18e78e28f7f36adad3e90435d7b2f050",
"size": "1... |
As of this version release notes can be found at [Releases](https://github.com/DominicTobias/universal-react/releases)
#### 1.0.0-rc1
- Hot reloading for reducers
- Stop app errors during server-side render from being silently swallowed in a promise
- `readyOnActions` returns a Promise which simplifies calling cod... | {
"content_hash": "9183722e2cf6f728c2107fdabec46fd9",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 142,
"avg_line_length": 31.022727272727273,
"alnum_prop": 0.7326007326007326,
"repo_name": "rhoffmann8/redux-jaca",
"id": "54eb8ad75a2d0a3fa84b293dc91f6f45232f519b",
"size"... |
using System.Collections.Generic;
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Compute.Models
{
public partial class GalleryList
{
internal static GalleryList DeserializeGalleryList(JsonElement element)
{
IReadOnlyList<Gallery> value = default;
... | {
"content_hash": "627d3c1930d5a9588808596897c90350",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 79,
"avg_line_length": 33.111111111111114,
"alnum_prop": 0.43087248322147653,
"repo_name": "stankovski/azure-sdk-for-net",
"id": "a648fe88a5a4723bcfe0b29cead53de0aab83824",
... |
/* PYRO's amazing stylesheet v1.0 */
* {margin: 0; padding:0;}
html, body {height: 100%; }
body {width:100%; background: white; font-size: 100%;
font-family: Arial, sans-serif;}
h1, h2, h3, h4, p {padding: 0 0 20px 0;}
a {text-decoration: none; color: #999; transition: color 2s linear; -moz-transition: color 2s l... | {
"content_hash": "3feaab78a0f7252d82dd7050d8631fa0",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 260,
"avg_line_length": 30.51219512195122,
"alnum_prop": 0.69597655209166,
"repo_name": "ystvns/ystvns.github.io",
"id": "7d0596dbc5fd8c7f1388b5405d95d70145f6cacc",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coqoban: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "63451ca884814c0bed445608efa2527c",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 166,
"avg_line_length": 41.05487804878049,
"alnum_prop": 0.5379474231397594,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "eb2268ae8619523892f4c49443dd90bc017ab787",
... |
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4M459... | {
"content_hash": "aff17932f9c718bd8f76bbd14a78c43a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 177,
"avg_line_length": 47.666666666666664,
"alnum_prop": 0.6031468531468531,
"repo_name": "christothes/FriscoCyclingClub",
"id": "14b907ca387aa2cd811ecf0987d52d60dca7dc5a",
... |
package org.apache.geode.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Annotates a program element that exists, or is more widely visible than otherwise necessary, only
* for use in test code.
*
* <p>
* Introduced while m... | {
"content_hash": "cc366ffe709c2800d68ecfbe2c816eaf",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 100,
"avg_line_length": 27.869565217391305,
"alnum_prop": 0.7613104524180967,
"repo_name": "PurelyApplied/geode",
"id": "7080f49f3f7933f52a83c989677d2f7405ba4c01",
"size": ... |
package auth
import (
"errors"
"net/http"
)
var (
// ErrInvalidCredential is returned when the auth token does not authenticate correctly.
ErrInvalidCredential = errors.New("invalid authorization credential")
)
// AuthenticationHandler is an interface for authorizing a request
type AuthenticationHandler interfac... | {
"content_hash": "91cc09c2febfa64c6b9cef84fdbf4581",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 89,
"avg_line_length": 21.944444444444443,
"alnum_prop": 0.7772151898734178,
"repo_name": "steven-zou/harbor",
"id": "2e2173c3941b7720bfaea4817e27dffcb8c1b62c",
"size": "98... |
define(['jquery','jqueryui'], function($){
// Hijack the default form and hide the submit button
// we'll be auto submitting the sort results
$('input[name=race_types_order]').hide();
$('#race_types_sortable')
.sortable()
// .disableSelection()
.bind('sortupdate', function(event, ui){
// build a list... | {
"content_hash": "cb6c2194df7c3907868f99562a35e05f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 91,
"avg_line_length": 31.043478260869566,
"alnum_prop": 0.6071428571428571,
"repo_name": "iufer/race",
"id": "83b9aa685249502c163c6af57119dbcb0529df34",
"size": "1428",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/demo_rxbus_frag_12"
android:baselineAligned="false"
android:orientation="vertical"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:minHeight="220dp"
xmlns:android="http://schemas.android.c... | {
"content_hash": "93f4884ade2bc7ef7a60967956ed3ade",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 26.357142857142858,
"alnum_prop": 0.6327913279132791,
"repo_name": "cowthan/AyoWeibo",
"id": "2a70a68eb91b537028ddc096be3ba4d1216b887f",
"size": "738... |
try:
from weakref import WeakMethod
except ImportError:
from opencensus.common.backports import WeakMethod
import calendar
import datetime
import weakref
UTF8 = 'utf-8'
# Max length is 128 bytes for a truncatable string.
MAX_LENGTH = 128
ISO_DATETIME_REGEX = '%Y-%m-%dT%H:%M:%S.%fZ'
def get_truncatable_str... | {
"content_hash": "0490dcc264b3985c7297689de00499d8",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 77,
"avg_line_length": 25.837606837606838,
"alnum_prop": 0.6318226926893814,
"repo_name": "census-instrumentation/opencensus-python",
"id": "9ed6b0afed8fa832ba31a654a0d2e182... |
package com.geth1b.coding.design.patterns.creational.prototype;
/**
* - Copying is more efficient than creation of new object
*
* @author geth1b
*/
public class Prototype {
public static void main(String[] args) {
IPrototype prototype = new ConcretePrototype("Hello world");
ConcretePrototype obj = (Con... | {
"content_hash": "8ec234e7d5c89bfe5b400540b0455a5d",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 69,
"avg_line_length": 24.34375,
"alnum_prop": 0.6842105263157895,
"repo_name": "yang458567/h1b-coding-interview",
"id": "a0974f723bd391f4c72bcb2c0041c7ba67ee8d41",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YYProject.AdvancedDeletion
{
internal sealed class DefaultRmHelper : RmHelper
{
public override Boolean TryGetHolderListOfFiles(String[] fileNames, out RmProcessInfo[] result)... | {
"content_hash": "ecd495a40c5e4773bf168ec3deec946f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 172,
"avg_line_length": 26.416666666666668,
"alnum_prop": 0.6514195583596214,
"repo_name": "differentrain/DeletionTool",
"id": "c940454295e58a3aeaea54c3453c7389eb727241",
"... |
package ssh
import (
"io/ioutil"
"log"
"code.google.com/p/go.crypto/ssh"
)
func Config() *ssh.ServerConfig {
config := &ssh.ServerConfig{
PasswordCallback: func(conn *ssh.ServerConn, user, pass string) bool {
return user == "test" && pass == "test123"
},
}
config.NoClientAuth = true
pemBytes, err := io... | {
"content_hash": "5a9cbc4cca13e2f3c8aaedcd8936bb6d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 72,
"avg_line_length": 22.151515151515152,
"alnum_prop": 0.66484268125855,
"repo_name": "kdorland/ssh_chat",
"id": "cfaad847ea3593b7f509def9f4126f27a2cd33dc",
"size": "731"... |
package mpapi
import (
"database/sql"
"github.com/kierdavis/mealplanner/mpdata"
"github.com/kierdavis/mealplanner/mpdb"
"log"
"net/url"
"strconv"
"time"
)
// fetchSuggestions handles an API call to generate suggestions for a given date.
// Expected parameters: date. Returns: an array of suggestion objects.
fun... | {
"content_hash": "67368a36b3117bcbf76f3ede24307256",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 81,
"avg_line_length": 27.024390243902438,
"alnum_prop": 0.7148014440433214,
"repo_name": "kierdavis/mealplanner",
"id": "58eee4639d3c5750b7da6c87eb9773fe0dc1713b",
"size":... |
<template name="postPage">
<section class="home-container">
<div class="home-feed">
<div class="feed-page">
{{#with item}}
{{> feedPost}}
{{/with}}
</div>
</div>
</section>
</template>
| {
"content_hash": "e2ae1c77761ef2efc8f4b9ead0a80359",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 33,
"avg_line_length": 19.09090909090909,
"alnum_prop": 0.5619047619047619,
"repo_name": "BaseNY/base",
"id": "6b80632b1d1f1c42343f50ca4f0d38ddef3de8c4",
"size": "210",
"... |
@class NSString;
@interface UBERNibDisplayPage : UBERWorkoutDisplayPage
{
NSString *_nibName;
}
+ (id)pageWithUID:(id)arg1 displayNameKey:(id)arg2 descriptionKey:(id)arg3 nibName:(id)arg4;
+ (id)pageWithUID:(id)arg1;
+ (id)predefinedPageKeys;
@property(copy, nonatomic) NSString *nibName; // @synthesize nibName=_n... | {
"content_hash": "0653d20a62e940757683d9b9b2f38f0c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 92,
"avg_line_length": 28.6,
"alnum_prop": 0.7604895104895105,
"repo_name": "JChanceHud/GearIndicator",
"id": "457cf0465c04da35bf83a4f3caa8d57c9be8283a",
"size": "747",
"... |
package com.sequenceiq.cloudbreak.clusterproxy;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
import java.util.Arrays;
import java.util.Set;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.run... | {
"content_hash": "23b0347ba5b582551cb1ae3e5c95cd3c",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 125,
"avg_line_length": 32.61290322580645,
"alnum_prop": 0.7146389713155292,
"repo_name": "hortonworks/cloudbreak",
"id": "b30bb8f2a59aaefc30138e870f34157fac0a3632",
"size"... |
<!--
DOM
=========
DOM stands for document object model.
DOM describes how HTML document works and how Java script can interact with HTML and dynamically change the contents of HTML document.
In HTML DOM all elements are represented as objects.
Java script can dynamically change the contents of the HTLM page by intera... | {
"content_hash": "9f7ff44b240476954658dac6c9d090d2",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 134,
"avg_line_length": 30.770833333333332,
"alnum_prop": 0.7129316181448883,
"repo_name": "santoshtechie9/javascript-examples",
"id": "0722b1f4f616be541ca834b2aa7a10a5e50b37... |
package com.avanza.astrix.context.mbeans;
public interface MBeanServerFacade {
void registerMBean(Object mbean, String folder, String name);
void unregisterMBean(String folder, String name);
}
| {
"content_hash": "3ee781e28e65a5e8c04a708e52c44b23",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 62,
"avg_line_length": 20,
"alnum_prop": 0.79,
"repo_name": "AvanzaBank/astrix",
"id": "09eb520051849629a476dc8b2599490c78c09853",
"size": "798",
"binary": false,
"copi... |
package org.wildfly.camel.examples.cxf;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
@WebService(serviceName="greeting", endpointInterface = "org.wildfly.camel.examples.cxf.GreetingService")
public class GreetingServiceImpl {
@WebMethod(operationName = "greet")
public ... | {
"content_hash": "656abb5512bbf339de7e7ea18c6343ad",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 107,
"avg_line_length": 30.866666666666667,
"alnum_prop": 0.7300215982721382,
"repo_name": "grgrzybek/wildfly-camel",
"id": "41295aa75bf5ee2ad7d066679e356b7d88556dcf",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>org.eclipse.pd... | {
"content_hash": "dcf4aa43a129f5eb05055630e76a267f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 99,
"avg_line_length": 37.375,
"alnum_prop": 0.725752508361204,
"repo_name": "asankas/developer-studio",
"id": "42c7bc80a22d82c66bff9b5360bd1c6ab62cfdeb",
"size": "598",
... |
CREATE TABLE order_item (
id BIGINT(20) NOT NULL AUTO_INCREMENT,
order_id BIGINT(20),
target_type INT,
target_id BIGINT(20),
price FLOAT,
orig_price FLOAT,
quantity INT DEFAULT '1',
status TINYINT(4) DEFAULT '0',
created_at TIMESTAMP DEF... | {
"content_hash": "ecafdf1f4f848ef0edb59fa760b4a684",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 63,
"avg_line_length": 33.23529411764706,
"alnum_prop": 0.6194690265486725,
"repo_name": "dimaninc/di_core",
"id": "0caddafe064ef8647aa9ae3d6f5c0fdd0c202aec",
"size": "565"... |
{% extends 'base.html' %}
{% block header %}
{% include 'explain_header.html' %}
{% endblock %}
{% block main %}
<div class="row">
<div class="main explain-preamble">Alrighty, the question was:</div>
</div>
<div class="row">
<div class="main explain">
{{ question|render_exp... | {
"content_hash": "19e698a015f4780ab0125d34bc983a8f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 85,
"avg_line_length": 28.285714285714285,
"alnum_prop": 0.5033670033670034,
"repo_name": "alexandershov/pydrill",
"id": "f37e318a34792a61e37a4e5644f0807a8af128b2",
"size":... |
using System;
using System.Diagnostics;
using System.Reflection;
using System.Reflection.Emit;
namespace OpenRiaServices.DomainServices.Server
{
internal static class DynamicMethodUtility
{
/// <summary>
/// Gets a factory method for a late-bound type.
/// </summary>
/// <remar... | {
"content_hash": "90af17c9e198580c13c5e47cacfb331b",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 152,
"avg_line_length": 39.88841201716738,
"alnum_prop": 0.5374435119431892,
"repo_name": "Daniel-Svensson/OpenRiaServiecs",
"id": "1cf87971160222984190c08f7088be4a0dd4e691"... |
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)applica... | {
"content_hash": "28950cc19b5bce1037118f99150ea109",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 281,
"avg_line_length": 45.853658536585364,
"alnum_prop": 0.7851063829787234,
"repo_name": "WangGuibin/MyCodeSnippets",
"id": "35d44eda63fe0916de5a87af6599b9dd33f20379",
"s... |
Collection of scripts for benchmarking various tools
## git-clone
`bin/benchmark-git-clone.sh` benchmarks several cloning strategies.
The appropriate cloning strategy can vary depending on the server implementation
(*eg.* JGit vs. regular git server).
| {
"content_hash": "7e5b74f5a01f63420e8e03b2e2bbc247",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 80,
"avg_line_length": 31.875,
"alnum_prop": 0.8,
"repo_name": "JcDelay/benchmarks",
"id": "876707285599efc60e0b76c0b23a03bcda78f3d3",
"size": "269",
"binary": false,
"c... |
package org.locationtech.geowave.format.landsat8.index;
import org.locationtech.geowave.core.index.persist.InternalPersistableRegistry;
import org.locationtech.geowave.core.index.persist.PersistableRegistrySpi;
public class Landsat8PersistableRegistry implements
PersistableRegistrySpi,
InternalPersistableReg... | {
"content_hash": "e695b0750cee40f42335e979b3b4ad4a",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 94,
"avg_line_length": 34.8125,
"alnum_prop": 0.8186714542190305,
"repo_name": "ngageoint/geowave",
"id": "87ce6552c60e18fd90dbb33840565922533a7ba3",
"size": "992",
"bina... |
void layout_fr_double_baseline( double *position, int nodes,
int *es, int edges, int dummy_dim,
int MAX_IT, double temp );
// version using sse (2way double, 128bit registers)
// 2x speedup over double baseline
void layout_fr_double_simd_only( double *position, int nodes... | {
"content_hash": "040d0f6b12f9c9c6ea14a8279527096c",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 73,
"avg_line_length": 40.92424242424242,
"alnum_prop": 0.5338763420955202,
"repo_name": "sg-dev/pyFastLayout",
"id": "3c5a8ac03579845fe4ded45e53d4599990298cc8",
"size": "3... |
import os
import contextlib
import mock
from oslo_config import cfg
from oslo_utils import importutils
import six
import webob.exc
from neutron.api import extensions as api_ext
from neutron.common import config
from neutron import context as n_context
from neutron.manager import NeutronManager
from neutron.plugins.c... | {
"content_hash": "310981a18cbc32b789579ca8626c1825",
"timestamp": "",
"source": "github",
"line_count": 1124,
"max_line_length": 79,
"avg_line_length": 51.69928825622776,
"alnum_prop": 0.5309069007055585,
"repo_name": "CiscoSystems/networking-cisco",
"id": "58bd99006a1a96662cd02bf1d3d72e7dd3f955ac",
... |
Gone is a wiki engine written in [Go](http://golang.org). It's
* KISS,
* Convention over Configuration and
* designed with Developers and Admins in mind.
With Gone, you can
* display Markdown, HTML and Plaintext straight from the filesystem.
* edit just any file that's made of text.
* have all this without setup, no... | {
"content_hash": "f42606adb0cefcffaaf3fe5c2a4e6459",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 150,
"avg_line_length": 39.1057268722467,
"alnum_prop": 0.7183733243212798,
"repo_name": "fxnn/gone",
"id": "c81cb008d99ccaca30b59f14a6f01c017152368b",
"size": "8885",
"... |
namespace blink {
class Modulator;
class ModuleScript;
class ModuleScriptLoaderClient;
class ModuleScriptLoaderRegistry;
class ResourceFetcher;
enum class ModuleGraphLevel;
// ModuleScriptLoader is responsible for loading a new single ModuleScript.
//
// ModuleScriptLoader constructs FetchParameters and asks ModuleSc... | {
"content_hash": "625503e71008f89dc5ed6808194c8633",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 86,
"avg_line_length": 33.857142857142854,
"alnum_prop": 0.7195715676728335,
"repo_name": "ric2b/Vivaldi-browser",
"id": "4bb9ac940d8c2af7ad7532de62028b62df93bcc5",
"size":... |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.accengage.samples.coffeesample" >
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<application
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:th... | {
"content_hash": "d180d909c948a7937014e357f6f1ec2c",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 85,
"avg_line_length": 39.35820895522388,
"alnum_prop": 0.5851346226772848,
"repo_name": "Accengage/A4S-SDK-Samples-Android",
"id": "4ac84768e5d8c3048d3386a69acb8b1333922dad"... |
#include "imap-urlauth-common.h"
#include "array.h"
#include "ioloop.h"
#include "net.h"
#include "fdpass.h"
#include "istream.h"
#include "ostream.h"
#include "str.h"
#include "strescape.h"
#include "eacces-error.h"
#include "llist.h"
#include "hostpid.h"
#include "execv-const.h"
#include "env-util.h"
#include "var-... | {
"content_hash": "12972b1243a70c2571f584612b446a8a",
"timestamp": "",
"source": "github",
"line_count": 378,
"max_line_length": 72,
"avg_line_length": 24.854497354497354,
"alnum_prop": 0.6642895156998403,
"repo_name": "LTD-Beget/dovecot",
"id": "653ba6757afb7f368fe03e90b5489f3ab9a7f8be",
"size": "9... |
@implementation Verse (CoreDataProperties)
@dynamic chapter;
@dynamic book;
@dynamic verseNumber;
@dynamic text;
@end
| {
"content_hash": "cf055df7272eccc91a6c1269c7855481",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 42,
"avg_line_length": 15,
"alnum_prop": 0.7833333333333333,
"repo_name": "jonchui/BibleMem",
"id": "74085d08bfda0ce442b05193bacf28c613974e9d",
"size": "402",
"binary": fa... |
#pragma once
#ifndef GEODE_PROXYREMOTEQUERYSERVICE_H_
#define GEODE_PROXYREMOTEQUERYSERVICE_H_
#include <geode/internal/geode_globals.hpp>
#include <memory>
#include "CqService.hpp"
#include "UserAttributes.hpp"
#include <geode/QueryService.hpp>
#include <geode/AuthenticatedView.hpp>
#include "ThinClientCacheDistrib... | {
"content_hash": "37026e04b675767fd5a79f1d08199f8c",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 74,
"avg_line_length": 27.56578947368421,
"alnum_prop": 0.7556085918854415,
"repo_name": "mmartell/geode-native",
"id": "9372f083c119aaf11f047551d28ce9262d0c8386",
"size": ... |
/**
*
*/
package org.flowninja.persistence.mongodb.repositories;
import org.flowninja.persistence.mongodb.data.MongoAdminRecord;
import org.flowninja.types.generic.AdminKey;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import org.springframework.data.repository.CrudRepository;
/**
* @author... | {
"content_hash": "19d38661573a072f8ba0f69ba8569f08",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 136,
"avg_line_length": 27.941176470588236,
"alnum_prop": 0.8210526315789474,
"repo_name": "rbieniek/flow-ninja",
"id": "9504f4ddd053f643b93b9cf1fc7b5e2cb421f5fb",
"size": ... |
<?php
namespace Guzzle\Parser\Message;
abstract class AbstractMessageParser implements MessageParserInterface
{
protected function getUrlPartsFromMessage($requestUrl, array $parts)
{
$urlParts = array(
'path' => $requestUrl,
'scheme' => 'http'
);
if (isset($parts['headers']['Host'])) {
$urlParts['host']... | {
"content_hash": "41f83d20657ffdd14783a9c356426b5a",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 70,
"avg_line_length": 16.96551724137931,
"alnum_prop": 0.6107723577235772,
"repo_name": "TropicalRobot/finding-beyond",
"id": "c88189601f15a2229dc4f6cfb5128efe20b1ae2e",
"... |
\hypertarget{classMyOption_1_1DigitalPutOption}{}\section{My\+Option\+:\+:Digital\+Put\+Option Class Reference}
\label{classMyOption_1_1DigitalPutOption}\index{My\+Option\+::\+Digital\+Put\+Option@{My\+Option\+::\+Digital\+Put\+Option}}
{\ttfamily \#include $<$options.\+h$>$}
Inheritance diagram for My\+Option\+:\... | {
"content_hash": "de6b71146a3d35c6f5967886b93c90e6",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 603,
"avg_line_length": 79.00709219858156,
"alnum_prop": 0.7712746858168761,
"repo_name": "calvin456/intro_derivative_pricing",
"id": "41e3682160f576a02f99df121d436aee38fe82... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "39d796237c963034ce60ac6396d9fd4e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "416b76aa207480e19c2ae04637d76d1b33f33824",
"size": "176... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ff3eb3e0d941bdfb68fd75552ad73eda",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "512b02a3c2085e07c40bba6aaed07b91c5ffd5a0",
"size": "177... |
@interface GRGraffitiGestureRecognizer : UIGestureRecognizer
-(id)initWithLanguage:( GRGraffitiAlphabets )language_id_
recognitionMethod:( GRRecognitionMethods )method_id_
target:( id )target_
action:( SEL )action_;
//@@ ItemType : NSString
@property ( nonatomic, retain, readonly )... | {
"content_hash": "ccb0434e0271eaa467ebaff04807a414",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 67,
"avg_line_length": 31.88235294117647,
"alnum_prop": 0.7380073800738007,
"repo_name": "dodikk/iPalmGraffiti",
"id": "56f833a4cf3c2a8f95ea63c816af073b44dfa972",
"size": "... |
namespace remoting {
CapturerHelper::CapturerHelper() : size_most_recent_(0, 0) {
}
CapturerHelper::~CapturerHelper() {
}
void CapturerHelper::ClearInvalidRects() {
base::AutoLock auto_inval_rects_lock(inval_rects_lock_);
inval_rects_.clear();
}
void CapturerHelper::InvalidateRects(const InvalidRects& inval_rec... | {
"content_hash": "d367afd071d3c63b5cf0227065edc631",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 73,
"avg_line_length": 31.054545454545455,
"alnum_prop": 0.6826697892271663,
"repo_name": "Crystalnix/house-of-life-chromium",
"id": "eba7c1260821c6ff0e0b5d7ba38f0c0492780a5c... |
/**
* Hyperion
* utilities.hpp
*
* @author: Evangelos Mavropoulos <evmavrop@gmail.com>
* @date: 14/8/2016
*/
#ifndef UTILITIES_HPP_
#define UTILITIES_HPP_
#include <image.hpp>
namespace utilities {
void fromImageToMat(Mat &, Image &);
}
#endif /* UTILITIES_HPP_ */
| {
"content_hash": "36dfbf7691a3a76dd4b35ea5d2543972",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 54,
"avg_line_length": 14.578947368421053,
"alnum_prop": 0.6678700361010831,
"repo_name": "evmavrop/Hyperion",
"id": "d85be4afeb23110c07a64531e94c472a8fa583e3",
"size": "27... |
"""
Code to deal with binding site test cases.
"""
from _biopsy import *
from binding_hit import *
import random
def calc_sensitivity( tp, fn ):
return tp + fn and float(tp)/(float(tp)+float(fn)) or 0
def calc_specificity( tn, fp ):
return tn + fp and float(tn)/(float(tn)+float(fp)) or 0
def evaluate_disc... | {
"content_hash": "ab0d4a3ed6a01c7f6a8cd31e58b3ebcc",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 84,
"avg_line_length": 31.275,
"alnum_prop": 0.5528377298161471,
"repo_name": "JohnReid/biopsy",
"id": "6235f400862eeee08a32e4fe260b1681d9047b8e",
"size": "6292",
"binar... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.cosmos.implementation;
import com.azure.cosmos.implementation.apachecommons.lang.StringUtils;
/**
* While this class is public, but it is not part of our published public APIs.
* This is meant to be int... | {
"content_hash": "c61851e73239325af1fe6b488ccabaf6",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 102,
"avg_line_length": 29.868852459016395,
"alnum_prop": 0.6344676180021954,
"repo_name": "selvasingh/azure-sdk-for-java",
"id": "8050bf096d56080dee661a0a7c983be6aee1011a",
... |
from string import Template
from datetime import date
bitcoinDir = "./";
inFile = bitcoinDir+"/share/qt/Info.plist"
outFile = "Sealandcoin-Qt.app/Contents/Info.plist"
version = "unknown";
fileForGrabbingVersion = bitcoinDir+"bitcoin-qt.pro"
for line in open(fileForGrabbingVersion):
lineArr = line.replace(... | {
"content_hash": "543a5d7e02e7bdbebeedfa5357ab21bb",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 69,
"avg_line_length": 27.375,
"alnum_prop": 0.710806697108067,
"repo_name": "FromTheSea/Freedom",
"id": "b9dcc00bbea8aa167b1d12a73e2c09bcbb97adba",
"size": "903",
"binar... |
import unittest
from cupy import testing
import cupyx.scipy.special # NOQA
import numpy
import warnings
@testing.gpu
@testing.with_requires('scipy')
class TestPolygamma(unittest.TestCase):
@testing.with_requires('scipy>=1.1.0')
@testing.for_all_dtypes(no_complex=True)
@testing.numpy_cupy_allclose(atol... | {
"content_hash": "08100f4cae4f41625d5c68422e666420",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 76,
"avg_line_length": 33.898305084745765,
"alnum_prop": 0.6315,
"repo_name": "cupy/cupy",
"id": "1b34c19b819cb47e3ae8256f684ef4ca48419a8d",
"size": "2000",
"binary": fal... |
// Author: Prasanna V. Loganathar
// Created: 9:26 AM 20-01-2015
// Project: RedScooby
// License: http://www.apache.org/licenses/LICENSE-2.0
using System;
using System.Threading;
using System.Threading.Tasks;
namespace RedScooby.Infrastructure.Framework
{
public class SynchronizationContextDispatcher : IDispatc... | {
"content_hash": "eb0f7c2325d6c9e47190e4da76317ef1",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 76,
"avg_line_length": 23.666666666666668,
"alnum_prop": 0.515003061849357,
"repo_name": "prasannavl/RedScooby",
"id": "6d4095e3ee5cc91c520d13f30e473a6eb7695568",
"size": "... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateLogTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('log', function (Blu... | {
"content_hash": "9b1255aa4d0f1d6580a2fcb158a01e49",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 59,
"avg_line_length": 20.97142857142857,
"alnum_prop": 0.5367847411444142,
"repo_name": "mrkirby153/KirBotPanel",
"id": "764dd312bde1449d4cdebb14e38ccc21f3cac9d0",
"size":... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
namespace Flashcards21.Data
{
public interface IStorage
{
List<String> GetAllCardBoxIDs();
void StoreCardBox(string filename, string title, string description, int nofCard... | {
"content_hash": "b76aebc8453b4e8a00512f3a456fce55",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 103,
"avg_line_length": 34.45454545454545,
"alnum_prop": 0.7269129287598944,
"repo_name": "nitesis/furry-sniffle",
"id": "9d10d7214246c529bf7aba90ac3d34eefcc06e56",
"size":... |
package opsworks
import (
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/internal/protocol/jsonrpc"
"github.com/aws/aws-sdk-go/internal/signer/v4"
)
// Welcome to the AWS OpsWorks API Reference. This guide provides descriptions,
// syntax, and usage examples about AWS OpsWorks actions and data types, i... | {
"content_hash": "05892a8475dc930d222434a687a893a6",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 156,
"avg_line_length": 39.71578947368421,
"alnum_prop": 0.7524516300026504,
"repo_name": "digantsh/aws-sdk-go",
"id": "0d4366aa7f54fa34b3fcb6b83836b7f7961a513c",
"size": "... |
'use strict';
require('configureForRelayOSS');
const RelayClassic_DEPRECATED = require('RelayClassic_DEPRECATED');
const RelayQuery = require('../RelayQuery');
const RelayQueryTransform = require('../RelayQueryTransform');
const RelayTestUtils = require('RelayTestUtils');
describe('RelayQueryTransform', () => {
... | {
"content_hash": "32fa5dbbccfe851f39c10378fa2c0b0f",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 75,
"avg_line_length": 25.525862068965516,
"alnum_prop": 0.5555555555555556,
"repo_name": "apalm/relay",
"id": "82807d06a79587100ce639806eae157860160f80",
"size": "3181",
... |
namespace OldestFamilyMember
{
using System.Collections.Generic;
using System.Linq;
public class Family
{
private List<Person> members;
public Family()
{
this.members = new List<Person>();
}
public void AddMember(Person member)
{
... | {
"content_hash": "24ad8a4becbbd8f172c4c6e74dcbeb09",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 47,
"avg_line_length": 21.6,
"alnum_prop": 0.5166666666666667,
"repo_name": "NikolaySpasov/Softuni",
"id": "ed9191fafb7cf6a18e2b27f3fc9e22207cca47e9",
"size": "542",
"bin... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "248d09f3f183108c8532558c9b3129dc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "0c11600c762f91f6fca028ae96b57fe546f47f5f",
"size": "185... |
setTimeout(function() {
return 1;
}, 0);
| {
"content_hash": "571a7e7eaca1d8e4cb686bdd650ad82a",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 23,
"avg_line_length": 14.333333333333334,
"alnum_prop": 0.6046511627906976,
"repo_name": "danielstjules/buddy.js",
"id": "ccf040ba30d0827fead71db3245ea29ccb32d10a",
"size":... |
CC=gcc
CFLAGS=-Wall
.PHONY: clean distclean
default: chat
nothing:
chat: chat.h chat.c client.c server.c io.h io.c
$(CC) $(CFLAGS) -o chat chat.c client.c server.c io.c
clean:
$(RM) *~
distclean: clean
$(RM) chat
| {
"content_hash": "00a181aa3a416719bfd0fbbd7a7a719b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 54,
"avg_line_length": 13.8125,
"alnum_prop": 0.669683257918552,
"repo_name": "kpjim-axl/oslab-ntua",
"id": "05fef29144860f5c5e5b6af2aac9eea673064ed4",
"size": "221",
"bi... |
package net.diamonddominion.esaych.survival;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import net.diamonddominion.esaych.CustomPlugin;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.Material;
import org.bukkit.block.Block;
import o... | {
"content_hash": "d7bd4682c162cfd77758d5e0b44a14ba",
"timestamp": "",
"source": "github",
"line_count": 720,
"max_line_length": 248,
"avg_line_length": 32.768055555555556,
"alnum_prop": 0.6512948755986945,
"repo_name": "Esaych/DDCustomPlugin",
"id": "f7ea17343225927ef7972ab574e6dfb9ac0f5c0f",
"size... |
#define VER_INTERNAL_NAME "path_set"
#define VER_FILE_DESCRIPTION "Modify system and user environment variables"
#define VER_MAJOR 1
#define VER_MINOR 7
#define VER_STRING2 "1.7"
#include "ver_defaults.h"
| {
"content_hash": "e36e0e31c45bcc394ea604e2e6fb04a0",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 75,
"avg_line_length": 28.25,
"alnum_prop": 0.6991150442477876,
"repo_name": "rasa/path_set",
"id": "fbf1bf66071fde1182e43520ddaacb44c0fb8d27",
"size": "297",
"binary": fa... |
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.testng.annotations.Test;
public class FileUpload {
@Test
public void run() throws InterruptedException {
... | {
"content_hash": "612e9035ab6b15f5923a5d1d05993cc1",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 84,
"avg_line_length": 27.404761904761905,
"alnum_prop": 0.733275412684622,
"repo_name": "sandeepsajiru/wordpressSelenium",
"id": "c8e523ce008ae4e2b2acb2d6c6ded6b62260a144",
... |
<?php
namespace ARIPD\AdminBundle\Util\VPOS;
class YKB {
public $XML_SERVICE_URL;
public $mid;
public $tid;
// no-TDS
public $tranDateRequired = 1;
public $amount;
public $ccno;
public $currencyCode = 'YT';
public $cvc;
public $expDate;
public $installment;
public $XID;
// TDS
publ... | {
"content_hash": "9d08439ae567076f2ccf2865aaa516ff",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 95,
"avg_line_length": 30.745098039215687,
"alnum_prop": 0.6087372448979592,
"repo_name": "gobb/albatros",
"id": "2a0c05f78a018581221e829a9d567497c4958460",
"size": "3136"... |
int GetMaxLightSerializedSize() {
return std::max(
{GetPointLightSerializedSize(), GetAreaLightSerializedSize(), GetEnvLightSerializedSize()});
}
const ADFloat *SampleDirect(const ADFloat *buffer,
const ADBSphere &sceneSphere,
const ADVector3 &pos,
... | {
"content_hash": "7690ea279501f1f4a6ba537d2889bbd5",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 100,
"avg_line_length": 34.430817610062896,
"alnum_prop": 0.4117270983651475,
"repo_name": "BachiLi/dpt",
"id": "7fa2ad10f3c1361a16870276d2dcec1750aff676",
"size": "11057"... |
/* ------------------
* AbstractGraph.java
* ------------------
* (C) Copyright 2003-2008, by Barak Naveh and Contributors.
*
* Original Author: Barak Naveh
* Contributor(s): Christian Hammer
* Vladimir Kostyukov
*
* $Id$
*
* Changes
* -------
* 24-Jul-2003 : Initial revision (BN);
*... | {
"content_hash": "073f4f3c4d5e3b2519a20ba15d3df65a",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 80,
"avg_line_length": 27.387417218543046,
"alnum_prop": 0.5491476242292347,
"repo_name": "Alejandro-Frech/AnalisisAlgoritmos",
"id": "6edcb5fbe57fd6f92912ccf80957c8d4a4f5d7... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysi... | {
"content_hash": "6a9b51a29179f7c29661900f4fd5bd88",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 265,
"avg_line_length": 45.01639344262295,
"alnum_prop": 0.6462733673221656,
"repo_name": "sharwell/roslyn",
"id": "424d747c7d6a329e95694340b80bd98e119e1f27",
"size": "824... |
// SPDX-License-Identifier: MIT
package protocol
import "github.com/caixw/apidoc/v7/core"
// TextDocumentIdentifier text documents are identified using a URI.
// On the protocol level, URIs are passed as strings.
// The corresponding JSON structure looks like this:
type TextDocumentIdentifier struct {
// The text d... | {
"content_hash": "e104074b8c3b9e0d2f42aaca3ae74c9c",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 156,
"avg_line_length": 41.16847826086956,
"alnum_prop": 0.7584158415841584,
"repo_name": "caixw/apidoc",
"id": "3831e6d860f54fdd7a603386fd51590a8f111dd3",
"size": "7669",... |
require_relative 'boot'
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Classdirectory
class Application < Rails::Application
# Initialize configuration defaults for originally generated ... | {
"content_hash": "df1e7769ae86809a04130896181c3167",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 82,
"avg_line_length": 33.388888888888886,
"alnum_prop": 0.7653910149750416,
"repo_name": "CCSU-CS416F17/CS416F17CourseInfo",
"id": "1ec26d26b73ec7ca6dfb7a8da2d8c23a82f15c30"... |
import type {Path} from '../paths'
import type {SanityDocument} from '../documents'
export interface Reference {
_type: string
_ref: string
_key?: string
_weak?: boolean
_strengthenOnPublish?: {
type: string
weak?: boolean
template?: {id: string; params: Record<string, string | number | boolean>}... | {
"content_hash": "16d41957975c19b3dd7e0d325c2e3b55",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 78,
"avg_line_length": 26.72222222222222,
"alnum_prop": 0.7318087318087318,
"repo_name": "sanity-io/sanity",
"id": "7acc76eb9454c2fd4b673566cf1a42def12bfe45",
"size": "962"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.