text stringlengths 2 1.04M | meta dict |
|---|---|
// copyright 2013 github.com/jestan (Jestan Nirojan), 2016 nqzero - offered under the MIT License
// jestan relicensed under mit from apache 2.0 in commit 6257a448d74616b4c2bc3a7d3cdf354de39165d7
package kilim.plugins;
import kilim.tools.Weaver;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.... | {
"content_hash": "a6622ea14913d83f06870512ae0377e7",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 111,
"avg_line_length": 41.44705882352941,
"alnum_prop": 0.6383763837638377,
"repo_name": "nqzero/kilim",
"id": "4a219ee97ee1e44b546f23f16669420699abc6d4",
"size": "3523",
... |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="resources/SVGTestCase.js"></script>
<script src="../../resources/js-test.js"></script>
<script src="../../paint/invalidation/resources/text-based-repaint.js"></script>
</head>
<body onload="runRepaintTest()">
<h1>SVG 1.1 dynamic update tests</h1>... | {
"content_hash": "124eb64a00fc473acde90314ee7a2d44",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 80,
"avg_line_length": 32.714285714285715,
"alnum_prop": 0.6855895196506551,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "9822b54e3a30d5654d01bab04e80b9598e9a564a"... |
<!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": "bf08f10bbf4d356e3ab849ebd8dc82b1",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 192,
"avg_line_length": 46.18131868131868,
"alnum_prop": 0.664128494943486,
"repo_name": "improve-project/platform",
"id": "41ed9f67b0f88ed8171d5f174698745b0840e76b",
"siz... |
package org.apache.sysml.runtime.matrix.operators;
import org.apache.sysml.runtime.DMLRuntimeException;
import org.apache.sysml.runtime.functionobjects.GreaterThan;
import org.apache.sysml.runtime.functionobjects.GreaterThanEquals;
import org.apache.sysml.runtime.functionobjects.LessThan;
import org.apache.sysml.ru... | {
"content_hash": "ae14fdd983424b15d9effeacf403f314",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 68,
"avg_line_length": 26.209302325581394,
"alnum_prop": 0.7675244010647737,
"repo_name": "Myasuka/systemml",
"id": "3a4c481d8b7de5acad7583b4cb64b747a97b9eb6",
"size": "193... |
layout: page
title: Acting
subtitle: Coming soon...
---
To be edited.
| {
"content_hash": "f72fee669c50a4ce50c050257bb9fc92",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 24,
"avg_line_length": 11.833333333333334,
"alnum_prop": 0.6901408450704225,
"repo_name": "paulhendricks/kylehendershot.com",
"id": "b4b5ea0a665ff7e9b7a4abfcd86091a740694002",... |
/**
* @file Driver for DesignWare PWM driver.
*
* The timer IP block can act as both timer and PWM. Under PWM mode, each port
* has two registers to specify how long to stay low, and how long to stay high.
* Care must be taken so that PWM and timer functions are not both enabled
* on one port.
*
* The set of ... | {
"content_hash": "54a7a5550a45b4341361abcbd30aa049",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 80,
"avg_line_length": 23.9163179916318,
"alnum_prop": 0.677221833449965,
"repo_name": "coldnew/zephyr-project-fork",
"id": "83f1e27c8a2261661037405d885c7e1035bbe406",
"si... |
package org.nick.wwwjdic.ocr;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;
import android.hardware.Camera;
import android.hardware.Camera.Size;
public class ReflectionUtils {
private static Method Parameters_getSupportedPreviewSizes;
private sta... | {
"content_hash": "9d9f421cab1ab115006d0fdcbc008c90",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 76,
"avg_line_length": 34.104838709677416,
"alnum_prop": 0.5670371246157484,
"repo_name": "nelenkov/wwwjdic",
"id": "2f159dfd067a60137b071fcc4ad796ce011d56ac",
"size": "42... |
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/highmem.h>
#include <linux/dma-mapping.h>
#include <asm/tlbflush.h>
/*
* This address range defaults to a value that is safe for all
* platforms which currently set CONFIG... | {
"content_hash": "c96f09fd7502b17a855d266c58ac32f6",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 83,
"avg_line_length": 23.522613065326635,
"alnum_prop": 0.652531510361034,
"repo_name": "ut-osa/laminar",
"id": "6656d47841d06e02ae07d794349075dd30794ecb",
"size": "10294... |
package com.elderbyte.vidada.domain.tags.definitions;
import com.elderbyte.vidada.domain.tags.Tag;
import com.elderbyte.vidada.domain.tags.ontology.model.*;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
import javax.swing.text.html.Option;
import java.io.File;
import java.io.IOExceptio... | {
"content_hash": "2a704f64bd26c5a6682805df4ecb8390",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 86,
"avg_line_length": 26.682242990654206,
"alnum_prop": 0.5246935201401051,
"repo_name": "Vidada-Project/Vidada-Server",
"id": "98a58de4d98f65234cc57b4bd92d752181098108",
... |
{% extends 'libya_site/staff.html' %}
{% load i18n %}
{% block content %}
<h1 class="page-width cushion">{% trans "Upload new registration centers" %}</h1>
<div class="milk">
<div class="page-width cushion">
<form class="two-thirds" method="post" action="{% url 'upload-centers-csv' %}" enctype="multipart... | {
"content_hash": "fc975e463349fb5b6a56262dac0bbbff",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 126,
"avg_line_length": 37.11904761904762,
"alnum_prop": 0.5471456061577935,
"repo_name": "SmartElect/SmartElect",
"id": "38c54a91bfa48c8a5f9eef7e2a101e54cc078679",
"size":... |
go-slugification
================
[](https://travis-ci.org/rhinoman/go-slugification)
Description
-----------
Creates Slugified versions of strings suitable for use in URLs
Installation
------------
```
go get github.com/rhinoman/go-s... | {
"content_hash": "683df45c640a17b32387b6e7c34ab1fa",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 133,
"avg_line_length": 16.928571428571427,
"alnum_prop": 0.679324894514768,
"repo_name": "rhinoman/wikifeat",
"id": "283f4e1c9b42f4d6bc46a06a9fc7209032706ef7",
"size": "47... |
<!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 (version 1.7.0) on Wed Aug 13 15:01:43 EDT 2014 -->
<title>OrderItemsList</title>
<meta name="date" content="2014-08-13">
<link rel="stylesheet... | {
"content_hash": "12d6a1e9d53cf894cebca5388a5c6efc",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 896,
"avg_line_length": 42.22105263157895,
"alnum_prop": 0.6060001662095903,
"repo_name": "VHAINNOVATIONS/AVS",
"id": "565a304b4b52b81b2d6d197ae0149f6a39ca702f",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "53a3c9d9a30afa9b17744384c9f7f1ed",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "97539c0ac3ec3d934b42add23df00ad265e807af",
"size": "190... |
var lib = __dirname + '/../lib';
var Protocol = require(lib + '/protocol/protocol');
var Packets = require(lib + '/protocol/packets');
var PacketWriter = require(lib + '/protocol/PacketWriter');
var options = {
rows : 100000,
bufferSize : 64 * 1024,
};
console.error('Config:', options);
f... | {
"content_hash": "3aa32f839d2c4d38256914a6d3a7799e",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 293,
"avg_line_length": 28.55045871559633,
"alnum_prop": 0.6699871465295629,
"repo_name": "Mobinet113/GraffitiGrid",
"id": "3e1c9a097c9c6573bd03b4674443d0d50fbfcad2",
"siz... |
Benchmark and Testing for nodeGame.
## Overview
The benchmark script reads settings from a config file, starts the
nodeGame server, connects a number of PhantomJS clients to the specified
channel and lets them play.
While playing, the script collects statistics about the number and the
timing of all exchanged messag... | {
"content_hash": "a647d903f2f28c3385922873db140a3a",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 96,
"avg_line_length": 40.23857868020305,
"alnum_prop": 0.7214583070518481,
"repo_name": "nodeGame/nodegame-benchmark",
"id": "22671f6222a2c0eb2df99d6adc230a980f3d1866",
"... |
[Source code of released version](https://github.com/meteor/meteor/tree/master/packages/oauth1) | [Source code of development version](https://github.com/meteor/meteor/tree/devel/packages/oauth1)
***
Common functionality for OAuth 1 clients. See the [project
page](https://www.meteor.com/accounts) on Meteor Accounts fo... | {
"content_hash": "f7e7755dc536744c1071f65c6757e913",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 195,
"avg_line_length": 55.833333333333336,
"alnum_prop": 0.7850746268656716,
"repo_name": "Hansoft/meteor",
"id": "3b3205f286d4b58583e5080a40b36aa347d97be3",
"size": "344",... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
namespace WebAddressBookTests
{
public class HelperBase
{
protected IWebDriv... | {
"content_hash": "10c47a3913ef63f14ef039920576a9b8",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 59,
"avg_line_length": 22.47826086956522,
"alnum_prop": 0.5444874274661509,
"repo_name": "Nasts/charp_training_pam",
"id": "b064e5c082de65b90f2b9dfc5130c227f4e5054f",
"size... |
package com.pozirk.ads.admob;
import com.adobe.fre.FREContext;
import com.adobe.fre.FREExtension;
import com.pozirk.ads.admob.context.ExtensionContext;
public class Extension implements FREExtension
{
public FREContext createContext(String contextType)
{
return new ExtensionContext();
}
public void disp... | {
"content_hash": "faec7989d7bfa964d2c14fcfcd823a42",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 53,
"avg_line_length": 16.130434782608695,
"alnum_prop": 0.7439353099730458,
"repo_name": "pozirk/ANEAdMob",
"id": "75d5c4e0624666dfb258ce275b5916111d34f74c",
"size": "992"... |
package org.apache.ctakes.ytex.kernel;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.InvalidPropertie... | {
"content_hash": "1d4028516627082ac25f151951bad067",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 77,
"avg_line_length": 32.06521739130435,
"alnum_prop": 0.7366779661016949,
"repo_name": "TCU-MI/ctakes",
"id": "0d31fa3f89ca76be651f75184d923389156bc66f",
"size": "8183",... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 o... | {
"content_hash": "13dd3f0214d8ed5fe6caa161274334b8",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 201,
"avg_line_length": 40.49122807017544,
"alnum_prop": 0.5571923743500866,
"repo_name": "manoramahp/carbon-analytics-common",
"id": "3fdc7d2ba3967765c670b94a59128e098f9475... |
using System.Globalization;
namespace Imgix_Dotnet.Operations.PixelDensity
{
/// <summary>
/// ImgixImage extension methods that set pixel density related parameters on the Url.
/// </summary>
public static class PixelDensityExtensions
{
/// <summary>
///
/// </summary>
... | {
"content_hash": "c286409861b74e18e5fc6260c959b697",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 90,
"avg_line_length": 31.904761904761905,
"alnum_prop": 0.6014925373134329,
"repo_name": "estei/Imgix-Dotnet",
"id": "cfe4a3984b476c041e276591168d9aed332d84a0",
"size": "6... |
C++ library to help you handle dates from the Gregorian Calendar. Programming with dates should be almost as simple and easy as programming with strings and integers. Applications with lots of date-time related computations can be simplified significantly by having a robust set of operators and calculation capabilities... | {
"content_hash": "c34a3c4fb336f89649d5973a8ebc22a8",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 321,
"avg_line_length": 38.93798449612403,
"alnum_prop": 0.6812661755922755,
"repo_name": "Avikalp7/Date-Class",
"id": "462ae2c2856bfde5c5375cc26d91052e4ce71701",
"size": ... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="he" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About OraCoin</source>
<translation type="unfinished"/>
</message>
<message>
<location line="... | {
"content_hash": "3d455e32c3ec870631d3c9870279ef26",
"timestamp": "",
"source": "github",
"line_count": 3227,
"max_line_length": 395,
"avg_line_length": 34.63309575457081,
"alnum_prop": 0.5980887787331896,
"repo_name": "Oracoin-Project/Oracoin",
"id": "d3843f8d69de05ffb07739b8f760b4db3d4e5c0f",
"si... |
<?php
namespace Genesis\SQLExtension\Context\Exceptions;
use Exception as BaseException;
use Genesis\SQLExtension\Context\Representations\Entity;
class UpdateException extends BaseException
{
const CODE = 0;
/**
* @param string $dataProperty The property that was not found.
* @param BaseException ... | {
"content_hash": "7f57b68946547ade889f6346656e4389",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 108,
"avg_line_length": 28.523809523809526,
"alnum_prop": 0.6844741235392321,
"repo_name": "forceedge01/genesis-behat-sql-extension",
"id": "d437ee146ad6abcc66afcd090ded68e7f... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=1024, user-scalable=no">
<title>Docker</title>
<!-- Required stylesheet -->
<link rel="stylesheet" media="screen" href="core/deck.core.css">
<!-- Exte... | {
"content_hash": "1d2182193bea1a99ed6571296a557fbb",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 265,
"avg_line_length": 39.35813953488372,
"alnum_prop": 0.6277475774048689,
"repo_name": "carlosroh/docker_talk_con_10_porciento_mas_memes..._remasterizado",
"id": "4910a16... |
include_recipe 'windows'
registry_key 'HKLM\Software\Policies\Microsoft\Internet Explorer\Main' do
values [{ name: 'DisableFirstRunCustomize', type: :dword, data: 1 }]
action :create
recursive true
end
| {
"content_hash": "3c828f112ef1854adae51e56ba1bdafe",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 73,
"avg_line_length": 30,
"alnum_prop": 0.7523809523809524,
"repo_name": "valyukov/internet-explorer-cookbook",
"id": "b71f671d05fc5778c3339c022af8ede38e630d62",
"size": "2... |
from collections import namedtuple
import numpy as np
from pgmpy.extern.six.moves import map
State = namedtuple('State', ['var', 'state'])
def cartesian(arrays, out=None):
"""Generate a cartesian product of input arrays.
Parameters
----------
arrays : list of array-like
1-D arrays to form... | {
"content_hash": "d20a0ae415f4adb4592228b5c3cccadd",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 102,
"avg_line_length": 26.48314606741573,
"alnum_prop": 0.5447602885023335,
"repo_name": "anaviltripathi/pgmpy",
"id": "0c404457909432e43cba6a6ed9a9d0eef555132e",
"size": ... |
using UnityEngine;
using System;
using LuaInterface;
using SLua;
using System.Collections.Generic;
public class Lua_UnityEngine_Collision : LuaObject {
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static public int constructor(IntPtr l) {
try {
UnityEngine.Collision o;
o=new UnityEngine.Collision();... | {
"content_hash": "d137b7df123d14ba6f85d38a45b1d509",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 68,
"avg_line_length": 26.52173913043478,
"alnum_prop": 0.7173770491803279,
"repo_name": "insthync/asset-bundle-with-slua",
"id": "6b435b825fe5d5967addb177d306a6b46cc83491",... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("09... | {
"content_hash": "d46cd9d54f2b730f5154fbb580648d3d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.25,
"alnum_prop": 0.7466383581033262,
"repo_name": "NikolaySpasov/Softuni",
"id": "50a9330ad64347ecfa1527277f759827690330cb",
"size": "1416",
"b... |
"""The rescue mode extension."""
from oslo.config import cfg
import webob
from webob import exc
from nova.api.openstack import common
from nova.api.openstack import extensions as exts
from nova.api.openstack import wsgi
from nova import compute
from nova import exception
from nova.i18n import _
from nova import utils... | {
"content_hash": "bcc6fe4f57e4ebb3cc5f08ac2e076b6a",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 79,
"avg_line_length": 38.56842105263158,
"alnum_prop": 0.6108078602620087,
"repo_name": "maelnor/nova",
"id": "3c9fb34f19a22ba86469ebfb992bd657c3df5b5c",
"size": "4269",
... |
from __future__ import with_statement
from winsys import registry, accounts
new_key = registry.copy (r"HKLM\Software\Python", r"HKLM\Software\WinsysPython")
try:
with new_key.security () as sec:
sec.break_inheritance (copy_first=False)
sec.dacl += [
("Users", "R", "ALLOW"),
(accounts.m... | {
"content_hash": "e0b9ccca5d513de51e4c19b12d699146",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 80,
"avg_line_length": 24.941176470588236,
"alnum_prop": 0.5966981132075472,
"repo_name": "one2pret/winsys",
"id": "dcdccf3323851feaf56e2b5ed30d5a73bb7dc210",
"size": "424"... |
// Template Source: BaseEntity.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------... | {
"content_hash": "169895b535c09b7d77c4ea340287469f",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 152,
"avg_line_length": 30.233766233766232,
"alnum_prop": 0.6615120274914089,
"repo_name": "microsoftgraph/msgraph-sdk-java",
"id": "fb3837395af54f110dd3386e4fc51ee950bb6231"... |
#ifndef WABT_WAT_WRITER_H_
#define WABT_WAT_WRITER_H_
#include "wabt/common.h"
namespace wabt {
struct Module;
class Stream;
struct WriteWatOptions {
bool fold_exprs = false; // Write folded expressions.
bool inline_export = false;
bool inline_import = false;
};
Result WriteWat(Stream*, const Module*, con... | {
"content_hash": "127f5d30624f5b37b6a5ffcafa0023a1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 64,
"avg_line_length": 17.26086956521739,
"alnum_prop": 0.7052896725440806,
"repo_name": "WebAssembly/wabt",
"id": "a56c7ab32fbd6a96ce5decf4cb08cea466dc924f",
"size": "1020... |
// Copyright 2012 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*---
es5id: 11.3.2_1_a_L15
description: >
Tests that the function returned by
Intl.NumberFormat.prototype.format meets the requirements for
built-in objects defined by the introdu... | {
"content_hash": "24fb89bc1ceed6d92ff0da590c0710bc",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 70,
"avg_line_length": 34.93333333333333,
"alnum_prop": 0.7538167938931297,
"repo_name": "baslr/ArangoDB",
"id": "cdfcf105284265b422ffc686945cbc9f6ee380a9",
"size": "524",
... |
set -e
MY_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd ${MY_DIR}
if [[ -z `which ruby` ]]; then
echo "Please ensure ruby is installed and in your path" && exit 1
fi
if [[ -z `which curl` ]]; then
echo "Please ensure the command line utility curl is installed and in your path" && exit 1
fi
if [[ !... | {
"content_hash": "bd00b32afc5da4ab9025c6729918bf7d",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 202,
"avg_line_length": 38.61363636363637,
"alnum_prop": 0.6362566215420836,
"repo_name": "espaco-guerra/engine-server",
"id": "2b56ca9b56bdaceebc4b74db8383f391273c0b69",
"... |
<!DOCTYPE html><html><head><meta charset="utf-8" />
<meta http-equiv="refresh" content="0;url=/place/sudan/" />
</head></html> | {
"content_hash": "32f8b90e9caa18233fa4b872dd0d79ac",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 59,
"avg_line_length": 42,
"alnum_prop": 0.6587301587301587,
"repo_name": "okfn/opendataindex-2015",
"id": "44ea8c7eab97eb6ba524a2c1e4f3907561521590",
"size": "126",
"bina... |
@implementation JCMappingModelCacheTests
- (void)setUp {
entity = [[FauxEntityDescription entityDescriptionWithName:@"TestValidMappingModel"] retain];
NSBundle *bundle = [NSBundle bundleForClass:[self class]];
mappingModel = [[JCMappingModel mappingModelForEntity:entity bundle:bundle] retain];
}
- (void)tearDo... | {
"content_hash": "37706b729e62f1fa2cfe4d0ec2e7d7c2",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 190,
"avg_line_length": 26.75,
"alnum_prop": 0.7768691588785047,
"repo_name": "ellneal/CoreData-JSON",
"id": "4b2fbeb3f7aa1b5eb4ab921ea971f6aa5b72f68a",
"size": "2632",
"... |
package com.cocos2dj.protocol;
public interface INodePool {
public void pushPoolNode(INode node);
}
| {
"content_hash": "411588c8f6f71fce9f26b4233137e4a9",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 38,
"avg_line_length": 15,
"alnum_prop": 0.7714285714285715,
"repo_name": "mingwuyun/cocos2d-java",
"id": "2d1fc7ad354c0464f62290e981fc419670b24ec0",
"size": "105",
"binar... |
package Battleships.exception;
/*
* Author: Michael
* Created: 11 November 2004 19:53:55
* Modified: 11 November 2004 19:53:55
*/
@SuppressWarnings("serial")
public class PositionExceedsBoardException extends RuntimeException {
public PositionExceedsBoardException() {
}
PositionExceedsBoardExcept... | {
"content_hash": "a2b2ac8974b692a1c060037ac6a19ab1",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 69,
"avg_line_length": 20.5,
"alnum_prop": 0.7235772357723578,
"repo_name": "scvetkovski/Software-Design-Patterns",
"id": "4002c277c91eb8224ab0285c631ed15c2353346e",
"size"... |
import test
class HelloTest(test.Base):
def test_hi(self):
self.assertTrue(True)
| {
"content_hash": "7cea45741f83b16f993da287571721e9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 29,
"avg_line_length": 18.8,
"alnum_prop": 0.6702127659574468,
"repo_name": "JakeWharton/mkvdts2ac3",
"id": "3888b4afbbc6665c4d9b979a63ed733c11082d04",
"size": "94",
"bina... |
package stringmanipulation.controller;
public class Runner
{
public static void main(String[] args)
{
StringCommands myProgram = new StringCommands();
System.out.println(myProgram.orToOur("flavor"));
WordReverser myReverser = new WordReverser();
System.out.println(myReverser.reverse("George"));
}
}
| {
"content_hash": "4eafb70619fd413ebf3e7cb61aff6d58",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 51,
"avg_line_length": 22.785714285714285,
"alnum_prop": 0.7398119122257053,
"repo_name": "ayusufji/JavaWorkspace",
"id": "f0a570488ea5554437d6fcdb733d56dbff102556",
"size"... |
import Component from '@ember/component';
export default Component.extend({
setCodeBlockHeight() {
const h = this.$('.additional-logging-configuration-content').height() + 12;
this.$('.logging-format pre').height(h + 'px');
},
outputTagsChanged: function() {
this.setCodeBlockHeight();
}.observes('... | {
"content_hash": "67d43307ff2254efbd38f31a450a40b4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 80,
"avg_line_length": 28.666666666666668,
"alnum_prop": 0.6773255813953488,
"repo_name": "pengjiang80/ui",
"id": "bf0b39d8b6f9098abefc1a85716374835c386423",
"size": "344",... |
'use strict';
// Base
import 'vs/base/common/strings';
import 'vs/base/common/errors';
// Editor
import 'vs/editor/contrib/accessibility/browser/accessibility';
import 'vs/editor/contrib/defineKeybinding/browser/defineKeybinding';
import 'vs/editor/contrib/inspectTMScopes/electron-browser/inspectTMScopes';
import '... | {
"content_hash": "333fd6f299483bb30f3dbe54956ce394",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 104,
"avg_line_length": 43.46551724137931,
"alnum_prop": 0.8228877429591432,
"repo_name": "charlespierce/vscode",
"id": "439cccc17e6e8217b0b7810ac2b16502fde4eb7e",
"size":... |
(function( window ) {
var QUnit,
assert,
config,
onErrorFnPrev,
testId = 0,
fileName = (sourceFromStacktrace( 0 ) || "" ).replace(/(:\d+)+\)?/, "").replace(/.+\//, ""),
toString = Object.prototype.toString,
hasOwn = Object.prototype.hasOwnProperty,
// Keep a local reference to Date (GH-283)
Date = window.Da... | {
"content_hash": "e85b4ffba3ed9906a56f9d03092999c4",
"timestamp": "",
"source": "github",
"line_count": 2144,
"max_line_length": 179,
"avg_line_length": 26.43516791044776,
"alnum_prop": 0.5987261146496815,
"repo_name": "chrismichaelscott/iugo",
"id": "94c0f99583bd9dcd147512d56d4bae9959713eca",
"siz... |
package com.intel.analytics.bigdl.models.resnet
import com.intel.analytics.bigdl.nn.{CrossEntropyCriterion, Module}
import com.intel.analytics.bigdl._
import com.intel.analytics.bigdl.models.resnet.ResNet.{DatasetType, ShortcutType}
import com.intel.analytics.bigdl.optim._
import com.intel.analytics.bigdl.utils.{Eng... | {
"content_hash": "9012fe78ee1f26e2ab7bc89dab660a16",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 98,
"avg_line_length": 35.082352941176474,
"alnum_prop": 0.6733735747820255,
"repo_name": "122689305/BigDL",
"id": "711f9e955b41a016ac2aab746d7f5bcef85dbbcf",
"size": "3583... |
C# based application for sql script generation
| {
"content_hash": "8e3bbdcc5c5d7d692c31c9f221914d8d",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 46,
"avg_line_length": 48,
"alnum_prop": 0.8125,
"repo_name": "MJWherry/SQLScriptGenerator",
"id": "e2b029b4b4e4d661a99326d3a97ac3219fce9ec0",
"size": "70",
"binary": fals... |
export * from './collapsible-item/collapsible-item.component';
export * from './collapsible.component';
| {
"content_hash": "63db2ce4e9fc927a7b4d956fa551a988",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 62,
"avg_line_length": 52,
"alnum_prop": 0.7596153846153846,
"repo_name": "hiagodotme/ng2-materialize",
"id": "7249f418c2a870f1dd2e1666059f0c66fb0fbde3",
"size": "104",
"b... |
<?php
namespace MyEvents\MainBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Organisation
*
* @ORM\Table(name="organisation", uniqueConstraints={@ORM\UniqueConstraint(name="uq_organisation_utilisateur_manifestation", columns={"utilisateur", "manifestation"})}))
* @ORM\Entity(repositoryClass="OrganisationRe... | {
"content_hash": "2e7c05daeaf8e10473ba0cfdc17ae984",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 170,
"avg_line_length": 21.81651376146789,
"alnum_prop": 0.6888141295206055,
"repo_name": "mneute/my-events",
"id": "c945b6a7548a97b2759e046a088c574e4bc45ef8",
"size": "23... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
in Gaudichaud-Beaupré, Voy. Uranie. Bot. 200 (1827)
#### Original name
Sticta gaudichaudiana Pers.
### Remarks
null | {
"content_hash": "add27ff49c680e7eadd04d0eeb3c50c4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 51,
"avg_line_length": 13.76923076923077,
"alnum_prop": 0.7150837988826816,
"repo_name": "mdoering/backbone",
"id": "504d2eec276600d9e00d087806146689b55dc4e4",
"size": "231... |
package com.droidcon.snaphack.key;
/**
* Created by tmaslon on 8/25/2016.
*/
import java.io.IOException;
import java.security.InvalidKeyException;
import java.security.KeyStore;
import java.security.KeyStoreException;
import java.security.NoSuchAlgorithmException;
import java.security.PrivateKey;
import... | {
"content_hash": "837de10f9a3030bb74b157c32fc4f29a",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 124,
"avg_line_length": 33.4228855721393,
"alnum_prop": 0.5727895206906818,
"repo_name": "tomek2k4/android-keygen-test",
"id": "c64db7cf00bce769f975a8c885a876d27443e5fa",
... |
require 'spec_helper'
module Spec
module Mocks
describe Mock do
treats_method_missing_as_private :subject => Mock.new, :noop => false
before(:each) do
@mock = mock("test mock")
end
after(:each) do
@mock.rspec_reset
end
describe "deprecated #stub_everyt... | {
"content_hash": "fcc291b692bf0ddafd1529a3b0994e52",
"timestamp": "",
"source": "github",
"line_count": 594,
"max_line_length": 190,
"avg_line_length": 36.754208754208754,
"alnum_prop": 0.5748900696225724,
"repo_name": "AMEE/provenance.prototype",
"id": "9c636a338f35198132498fb7cf5c41c62418dd3d",
"... |
<?PHP
$this->load->view("includes/Administration/header");
$this->load->view("includes/Administration/sidebar");
?>
<body>
<div class="content-wrapper">
<section class="content">
<div class="row">
<div class="col-md-12">
<!--<a href="AddRestaurant.... | {
"content_hash": "03e2f07364f7a08118e83d882682dc60",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 127,
"avg_line_length": 41.84848484848485,
"alnum_prop": 0.4093651943036447,
"repo_name": "emelyan1987/FoodDelivery",
"id": "2db5bddc695537bc5eb85307c04392fa96b5d569",
"siz... |
//===--------------------------- Unwind-EHABI.cpp -------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//
// Implements ARM zero-cost ... | {
"content_hash": "6640f19466457d5f841360e39e4df8e3",
"timestamp": "",
"source": "github",
"line_count": 999,
"max_line_length": 93,
"avg_line_length": 36.747747747747745,
"alnum_prop": 0.5726893846531013,
"repo_name": "endlessm/chromium-browser",
"id": "a8a64cbfd7e5e3c7f91dcee91adeffe73eb0ec76",
"s... |
namespace Tiny3D {
namespace Math {
void Plane::Define(const Vector3& v0, const Vector3& v1, const Vector3& v2)
{
Vector3 dist1 = v1 - v0;
Vector3 dist2 = v2 - v0;
Define(dist1.CrossProduct(dist2), v0);
}
/// Define from a normal vector and a point on the plane.
void Plane::Define(const Vector3& normal, ... | {
"content_hash": "a8892cb0ada936d49af4baf2385578e5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 20.95,
"alnum_prop": 0.665871121718377,
"repo_name": "stievie/Tiny3D",
"id": "1d6be590043d352ef9a4d5551694274e8872409d",
"size": "459",
"binary": f... |
use std::io::{Read, Write, BufRead, BufStream, self};
use std::mem;
use std::collections::BTreeMap;
use std::u16;
use std::num::{Int, FromPrimitive, ToPrimitive};
use std::slice::SliceConcatExt;
use url::Url;
use rand::{thread_rng, Rng};
use nonce::Nonce;
use message::{WSMessage, WSHeader, WS_MASK, WS_LEN, WS_LEN16, W... | {
"content_hash": "d82ad7623868f55b3c99ecfdd2bbc264",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 154,
"avg_line_length": 33.88145896656535,
"alnum_prop": 0.5196913967883735,
"repo_name": "kstep/rust-bare-websocket",
"id": "6b36ce5d23545be0a48e3e194904b7efe96be2e2",
"s... |
define({
"_widgetLabel": "Kiinteistöjen luonnostelu",
"newTraverseButtonLabel": "Aloita uusi läpikäynti",
"invalidConfigMsg": "Virheellinen määritys",
"geometryServiceURLNotFoundMSG": "Geometriapalvelun URL-osoitetta ei voi noutaa",
"editTraverseButtonLabel": "Muokkaa läpikäyntiä",
"mapTooltipForStartNewTra... | {
"content_hash": "13bbb7f3738c2b440b90092385220538",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 146,
"avg_line_length": 49.5,
"alnum_prop": 0.7476943346508564,
"repo_name": "tmcgee/cmv-wab-widgets",
"id": "a4e0f53d04378aafbbaeafdc09f583f39e464038",
"size": "5385",
"... |
package com.bpl.tucao.dto;
/**
* @author cuiyongdai
* @desc
* @date 2017/8/10 0010.
*/
public class HotCommentDto {
private Integer hotId;
private Integer userId;
private String nickName;
private String content;
public Integer getHotId() {
return hotId;
}
public void setHotId... | {
"content_hash": "9690fadb158fdbb0f9c04a0dbf808f32",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 46,
"avg_line_length": 17.82608695652174,
"alnum_prop": 0.6048780487804878,
"repo_name": "vanroid/bpl-server",
"id": "6b5bd43bc2aa1b265158d23a6e6e4d93f8a550e1",
"size": "82... |
package org.bridje.orm.srcgen.model;
import javax.xml.bind.Unmarshaller;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlTransient;
/**
* Information about a negated condition with an "and" operator.
*/
@XmlAccessorType(XmlAcces... | {
"content_hash": "7fc2089848737dbe5fa07cd95042864d",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 68,
"avg_line_length": 20.8,
"alnum_prop": 0.6522435897435898,
"repo_name": "bridje/bridje-framework",
"id": "d14223206f057f5f832a50d90fc7cb8613af1262",
"size": "1849",
"... |
package lumberjack
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"testing"
"time"
"github.com/flynn/flynn/Godeps/_workspace/src/github.com/BurntSushi/toml"
"gopkg.in/yaml.v1"
)
// !!!NOTE!!!
//
// Running these tests in parallel will almost certainly cause sporadic (or even
// regular) fai... | {
"content_hash": "e149260fcc50233c9acc5542c7d7df43",
"timestamp": "",
"source": "github",
"line_count": 634,
"max_line_length": 93,
"avg_line_length": 23.121451104100945,
"alnum_prop": 0.6765127225595198,
"repo_name": "mubassirhayat/flynn",
"id": "c486e085ddac8b7fada09fdc48d2582206f31b26",
"size": ... |
"""Helper functions for supporting route domains"""
import re
from requests.utils import quote as urlquote
from requests.utils import unquote as urlunquote
# Pattern: <ipaddr>%<route_domain>
ip_rd_re = re.compile(r'^([^%]*)%(\d+)$')
# Pattern: <partition/folder_paths>/<ipaddr>%<route_domain>[:|.]<port>
path_ip_rd_p... | {
"content_hash": "4a85f77103ec8859f0d5b0acb80b859f",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 74,
"avg_line_length": 30.760416666666668,
"alnum_prop": 0.6105655265831358,
"repo_name": "ryan-talley/f5-cccl",
"id": "cd41aff1a0f8fefc3eedc0248eafa064eaaef450",
"size": "... |
<Type Name="TableSection" FullName="Xamarin.Forms.TableSection">
<TypeSignature Language="C#" Value="public sealed class TableSection : Xamarin.Forms.TableSectionBase<Xamarin.Forms.Cell>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit TableSection extends Xamarin.Form... | {
"content_hash": "89aaf139365b9f949970d7bd2bd050fa",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 177,
"avg_line_length": 46.85294117647059,
"alnum_prop": 0.6854990583804144,
"repo_name": "Hitcents/Xamarin.Forms",
"id": "7faeb599cdb061255b3522a3f75312eaa52c0916",
"size"... |
package com.amazonaws.services.health.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.health.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* EventMarshaller
*/
@Generated("com.amazonaws:aws-... | {
"content_hash": "3f0584d77de1bf8d1d6b21afe32bbbd2",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 157,
"avg_line_length": 56.84507042253521,
"alnum_prop": 0.7532210109018831,
"repo_name": "dagnir/aws-sdk-java",
"id": "681694cc6bbeea58eac693aa97dfc4fde058d53a",
"size": "... |
"use strict";
// THIS CODE WAS AUTOMATICALLY GENERATED
// DO NOT EDIT THIS CODE BY HAND
// RUN THE FOLLOWING COMMAND FROM THE WORKSPACE ROOT TO REGENERATE:
// npx nx generate-lib @typescript-eslint/scope-manager
Object.defineProperty(exports, "__esModule", { value: true });
exports.webworker_importscripts = void 0;
exp... | {
"content_hash": "753f246cd1989f9bac52e86fc8fbe34e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 67,
"avg_line_length": 45.111111111111114,
"alnum_prop": 0.770935960591133,
"repo_name": "ChromeDevTools/devtools-frontend",
"id": "e9413d6c6e3c7cace93d24b7a81d80be80e41dfc",
... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "dd6b2759673b6826772666f1049e7dc2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6779661016949152,
"repo_name": "mdoering/backbone",
"id": "f472fa1a6d0ba64fea46c8b0e7430c1a430c4009",
"size": "182... |
cd ios/ObjectiveC/Zone/1-QuickStart/Complete/
pod install
cd ../../2-Notification/Starter/
pod install
cd ../Complete/
pod install
cd ../../3-InApp-Action/Starter/
pod install
cd ../Complete/
pod install
cd ../../../SWIFT/Zone/1-QuickStart/Complete/
pod install
cd ../../2-Notification/Starter/
pod install
cd ../Complet... | {
"content_hash": "e969da2e81568041dc22509cbc23f35f",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 45,
"avg_line_length": 19.476190476190474,
"alnum_prop": 0.7188264058679706,
"repo_name": "Connecthings/sdk-tutorial",
"id": "5416005d59054c43e20b338f5ff9b5107f0c5009",
"si... |
package ProxyConn;
use strict;
use warnings;
use Data::Dumper;
use AnyEvent::Socket;
use AnyEvent::Handle;
use AnyEvent;
use JSON::XS;
use FileOutput;
use Mappings;
use Moose;
use PacketHandler;
use PredefinedAtoms;
use v5.10;
has 'fh' => (is => 'ro', isa => 'Ref', required => 1);
has 'conn_id' => (is => 'ro', isa =>... | {
"content_hash": "66eceef8c480527f12c34f69316d5b69",
"timestamp": "",
"source": "github",
"line_count": 298,
"max_line_length": 129,
"avg_line_length": 30.19463087248322,
"alnum_prop": 0.5135585685707935,
"repo_name": "x11vis/x11vis",
"id": "bdece3470a3f175429e3a9dfbac4eff27b76b66f",
"size": "9129"... |
import preSVM as pre
import nifti as nf
import os as os
## Globals needed to create the SVMLIB data for a run
## =================================================
svmBaseName = 'rPRC_block_svmData.txt'
roiVmr = 'rPRC_block.nii'
trainLab1 = 'STI'
trainLab2 = 'STU'
testLab1 = 'TESTNSU'
testLab2 = 'TESTSTU'
os.chdir('... | {
"content_hash": "b0d01535bdeca4a391ae7d04c3aaece6",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 72,
"avg_line_length": 26.633333333333333,
"alnum_prop": 0.6779307467667918,
"repo_name": "parenthetical-e/pyBV",
"id": "6ec5029b2ffa6eb91a45d426b1d344d50bc5bf16",
"size": ... |
<?php
namespace App;
/**
* Класс для хранения в сессии пользовательских данных
*
*/
class Session
{
private $values = array();
public $filter = array();
public function __construct() {
}
public function __set($name, $value) {
$this->values[$name] = $value;
}
pu... | {
"content_hash": "473bc4e92825fd05bcbcb9698c01d978",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 59,
"avg_line_length": 17.68421052631579,
"alnum_prop": 0.5297619047619048,
"repo_name": "leon-mbs/zippyerp",
"id": "94fc1eba0fdfddf199de4e4f9876770f1d023cc0",
"size": "740... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "b649f4c47a82ebd91d977e1f655aedb5",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.92822966507177,
"alnum_prop": 0.5097483934211959,
"repo_name": "dcarda/aba.route.validator",
"id": "833353ec2f4d9a43f8a71f903ef182496e51b6bc",
"... |
package saltchannel.v2;
import java.util.concurrent.LinkedBlockingQueue;
import saltchannel.BadPeer;
import saltchannel.ByteChannel;
import saltchannel.ComException;
import saltchannel.util.TimeChecker;
import saltchannel.util.TimeKeeper;
import saltchannel.v2.packets.AppPacket;
import saltchannel.v2.packets.M4Packet;... | {
"content_hash": "3a30ab1da6e7289b05fed7649e128ebf",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 100,
"avg_line_length": 34.872832369942195,
"alnum_prop": 0.6035140062986906,
"repo_name": "assaabloy-ppi/salt-channel",
"id": "1dc77891fe58bc62d9805542d3e7da5e959bcd53",
... |
Converter
=========
Converter is a customizable unit converter application. It is licesned under the MIT license. Please see the [wiki](https://github.com/KerryL/Converter/wiki/Home) for more detailed information.
Converter is built on wxWidgets. It compiles and runs under both MSW and GTK.
Converter was inspired... | {
"content_hash": "69af137e00c963acab34bd02f1e5262f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 495,
"avg_line_length": 91.5,
"alnum_prop": 0.7993754879000781,
"repo_name": "KerryL/Converter",
"id": "c694e24013cf18dc20ae75794ee5f348ffa1075a",
"size": "1281",
"binary... |
// The MIT License (MIT)
// Copyright 2015 Siney/Pangweiwei siney@yeah.net
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the right... | {
"content_hash": "4145acf3d2e213cb59faf68c5bcd2e46",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 176,
"avg_line_length": 36.224137931034484,
"alnum_prop": 0.5268919562113279,
"repo_name": "mr-kelly/slua",
"id": "4b3d1eb8415345eec7019aedc41db129c9bda6b1",
"size": "6305... |
<?php declare(strict_types=1);
/**
* Base class to all analysers accessible through the AnalyserPlugin.
*
* @category PHP
* @package PHP_Reflect
* @author Laurent Laville <pear@laurent-laville.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
*/
namespace Bartlett\Reflect\Anal... | {
"content_hash": "367ad687e16384215a029a483a90c26c",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 101,
"avg_line_length": 23.996350364963504,
"alnum_prop": 0.5079847908745247,
"repo_name": "llaville/php-reflect",
"id": "685520c361f22b895ec51ce3f54b747b2497a688",
"size"... |
#ifndef itkChildTreeIterator_h
#define itkChildTreeIterator_h
#include "itkTreeIteratorBase.h"
namespace itk
{
template <typename TTreeType>
class ITK_TEMPLATE_EXPORT ChildTreeIterator : public TreeIteratorBase<TTreeType>
{
public:
/** Typedefs */
using Self = ChildTreeIterator;
using Superclass = TreeIterator... | {
"content_hash": "116afab9382058550e4267f53b86d1ad",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 80,
"avg_line_length": 22.55128205128205,
"alnum_prop": 0.7003979533826038,
"repo_name": "vfonov/ITK",
"id": "089a8ee13cd7bbcb10ef006b9470bad0007924e2",
"size": "2515",
"... |
<?php
namespace Gibilogic\CrudBundle\Model;
/**
* Simple OptionsResolver for the paginated entity repository options
* (filtering and sorting).
*
* @author Matteo Guindani https://github.com/Ingannatore
*/
class PaginatedEntityRepositoryOptionsResolver extends SimpleOptionsResolver
{
/**
* {@inheritdo... | {
"content_hash": "283da51dd875dcad3cf908c2db9d5d3d",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 76,
"avg_line_length": 24.323529411764707,
"alnum_prop": 0.5453446191051995,
"repo_name": "Ingannatore/gibilogic-crud-bundle",
"id": "0a21a1ffc66963cb781a9c9e24c09f36de394eee... |
import bsddb
#classes
class File(object):
'''handle dataobject i/o'''
def __init__(self, project, idfix):
self.project = project
self.idfix = idfix
def dump(self):
db = bsddb.btopen(self.project, 'c')
list = db
db.sync()
return list
def get(self, id):
return float(self.dump()[str(id)])
def set(s... | {
"content_hash": "368f4a982be6007ee38257bc90711b6c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 48,
"avg_line_length": 18.21212121212121,
"alnum_prop": 0.6289517470881864,
"repo_name": "catinello/time-tracker",
"id": "9de110e2317d0f6aaacd4af01b096ea64f03bd5e",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2... | {
"content_hash": "05adb56411cdc4b296848cbb3a5eb354",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 74,
"avg_line_length": 41,
"alnum_prop": 0.7209469153515065,
"repo_name": "android/views-widgets-samples",
"id": "7382a9042076e92005846826d2fc2e62b9f3158f",
"size": "1394",... |
require 'rails_helper'
module UnsPerson
RSpec.describe Reference, type: :model do
pending "add some examples to (or delete) #{__FILE__}"
end
end
| {
"content_hash": "852a3a232c5b791b9b951bd2972b4e01",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 58,
"avg_line_length": 22,
"alnum_prop": 0.7012987012987013,
"repo_name": "unsilo/uns_person",
"id": "ce04dfae7cc4643e89d573a1e451a99d049a07de",
"size": "154",
"binary": f... |
package com.dian.service.sys;
import java.util.List;
import com.dian.model.sys.Attachment;
import core.service.Service;
public interface AttachmentService extends Service<Attachment> {
List<Object[]> queryFlowerList(String epcId);
void deleteAttachmentByForestryTypeId(Long forestryTypeId);
}
| {
"content_hash": "fbd267f6df8c1db96416bf4d44ca3d8f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 64,
"avg_line_length": 21.133333333333333,
"alnum_prop": 0.7665615141955836,
"repo_name": "eyeshot/2dianmarket",
"id": "eb9e5f92b15d9d32f048014ca2cbc84120d84e18",
"size": "... |
Extra Lazy Associations
=======================
.. versionadded:: 2.1
In many cases associations between entities can get pretty large. Even in a simple scenario like a blog.
where posts can be commented, you always have to assume that a post draws hundreds of comments.
In Doctrine 2.0 if you accessed an association ... | {
"content_hash": "86bacd6af09a8ad713aa64db673e07db",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 160,
"avg_line_length": 42.21052631578947,
"alnum_prop": 0.6770573566084788,
"repo_name": "lcobucci/doctrine2",
"id": "407de5e05240aa0864a2ee59acbea50e0e44d5c1",
"size": "3... |
rss: false
layout: article
title: "Inspect and Tweak Your Pages: the Basics"
seotitle: "Inspect and Tweak Your Pages in the Chrome DevTools Elements Panel"
description: "Inspect and live-edit the HTML & CSS of a web page using the Chrome DevTools Elements panel."
introduction: "Inspect and live-edit the HTML & CSS of a... | {
"content_hash": "5fbe70a4279a1258eedfd427ac1971c4",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 448,
"avg_line_length": 57.592592592592595,
"alnum_prop": 0.762593783494105,
"repo_name": "paulirish/WebFundamentals",
"id": "5b0fa3e0d316af8a7f2690128b742acf8673c5fb",
"s... |
use strict;
use Getopt::Long;
use File::Basename qw(basename dirname);
my $usage= "\n$0
--etb \t<str>\tenrichment result table in the format column one sample, row one gene set
--gmt \t<str>\tgene sets file in gmt format
--outDir \t<str>\toutput directory
--pv \t<str>\tpvalue cutoff to filter etb file... | {
"content_hash": "b1f53f8022a450bd9c3d74588b707a2b",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 164,
"avg_line_length": 38.90714285714286,
"alnum_prop": 0.676763967933419,
"repo_name": "pengchy/EACO",
"id": "546ba676ca1b13ebe5145cca44dd368df445de15",
"size": "16418",... |
The algorithm screens and characterizes nodules as well as masses and scans for emphysema as well as aorta calcifications using pre-trained models.
In the end, the results are aggregated and the cancer probability is calculated using XGBoost.
## Source
**Author:** Pierre Fillard
**Repository:** https://github.com/pf... | {
"content_hash": "b0ecb103969d6fbbc95a4f300115ab8a",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 214,
"avg_line_length": 40.535714285714285,
"alnum_prop": 0.6323054331864905,
"repo_name": "vessemer/concept-to-clinic",
"id": "5e3378bbec85709b21cf7d92fd16f142fa907743",
... |
Duolingo is a wrapper gem for the duolingo api. It allows
you to query the api for a particular users details.
## Installation
Add this line to your application's Gemfile:
gem 'duolingo'
And then execute:
$ bundle
Or install it yourself as:
$ gem install duolingo
## Usage
The information you can ge... | {
"content_hash": "287a2106f92cde0ca8f41da8be7bec0c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 92,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.725748502994012,
"repo_name": "mrageh/duolingo",
"id": "ad1d11751afd7adbe16c3334ef2436cf62653b53",
"size": "961",... |
package edu.utah.further.core.api.collections.page;
import edu.utah.further.core.api.context.Api;
import edu.utah.further.core.api.context.Labeled;
/**
* This type is a factory of pagers (paging iterators). Registered by a
* {@link PagingProvider}.
* ---------------------------------------------------------------... | {
"content_hash": "1ab1ae71cfed07cf3f0ba5ea8c224470",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 90,
"avg_line_length": 29.75,
"alnum_prop": 0.5817711700064642,
"repo_name": "openfurther/further-open-core",
"id": "044c5e85a4042151a19610c234c140c4a9164d7a",
"size": "216... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_27) on Sat Jul 13 14:32:25 CEST 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.github.sarxos.... | {
"content_hash": "7a691c4043cf6a47f967eb0ca0f37a22",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 363,
"avg_line_length": 47.77777777777778,
"alnum_prop": 0.6419712070874861,
"repo_name": "nekszer/WebCam-Java",
"id": "eac8800a66f2c8282a31d9fe5efdb85ae086c81a",
"size": ... |
The package of `github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/frontdoor/armfrontdoor` is using our [next generation design principles](https://azure.github.io/azure-sdk/general_introduction.html) since version 1.0.0, which contains breaking changes.
To migrate the existing applications to the latest version, p... | {
"content_hash": "65365fa34a954bf4c33c37692c18fa50",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 257,
"avg_line_length": 97.6,
"alnum_prop": 0.7950819672131147,
"repo_name": "Azure/azure-sdk-for-go",
"id": "e13b1c9f70d81f075185e6202e2452ab1ece2de6",
"size": "530",
"bi... |
<?php
namespace Mautic\CoreBundle\Doctrine;
use Doctrine\DBAL\Migrations\AbstractMigration;
use Doctrine\DBAL\Schema\Schema;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
abstract class AbstractMauticMigration extends AbstractMigrati... | {
"content_hash": "0d467d7307a51edf20d18c4d0a823161",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 118,
"avg_line_length": 27.530054644808743,
"alnum_prop": 0.5021834061135371,
"repo_name": "rcdelfin/mautic",
"id": "674992defccad0d32f4dc57e1be349bb677181e6",
"size": "52... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.4.2_05) on Thu Sep 30 22:16:07 GMT+01:00 2004 -->
<TITLE>
NoSuchMessageException (Spring Framework)
</TITLE>
<META NAME="keywords" CONTENT="org.springfr... | {
"content_hash": "41f53a6bc58eaa34dce652fe8735a74c",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 259,
"avg_line_length": 41.96415770609319,
"alnum_prop": 0.6470789203963102,
"repo_name": "dachengxi/spring1.1.1_source",
"id": "75e28fb3c9b9e2352330b3ddddaea5a9c75c28b4",
... |
package com.linecorp.armeria.client;
import java.net.URI;
import java.util.Optional;
import java.util.Set;
import java.util.function.Supplier;
import org.slf4j.LoggerFactory;
import com.linecorp.armeria.common.Scheme;
import io.netty.channel.EventLoop;
import io.netty.channel.EventLoopGroup;
/**
* Creates and m... | {
"content_hash": "c077a5088c0d905aad6275d22f587bae",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 111,
"avg_line_length": 36.611111111111114,
"alnum_prop": 0.6785172339041838,
"repo_name": "jonefeewang/armeria",
"id": "98bacd76e2d4c4ad771c4250128702da12ced64e",
"size":... |
package translation // import "github.com/open-telemetry/opentelemetry-collector-contrib/exporter/signalfxexporter/internal/translation"
import (
"fmt"
"strconv"
"strings"
"time"
"unicode"
sfxpb "github.com/signalfx/com_signalfx_metrics_protobuf/model"
"go.opentelemetry.io/collector/pdata/pcommon"
"go.opentel... | {
"content_hash": "24d178071d165af26788944d7b9d891f",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 154,
"avg_line_length": 32.05864197530864,
"alnum_prop": 0.7441032059304901,
"repo_name": "open-telemetry/opentelemetry-collector-contrib",
"id": "cca241bb50f0ef1f0dfe0ddfe9... |
namespace wi {
class TokenBucket {
public:
TokenBucket(int token_count, int seconds_count);
bool IsEmpty();
private:
float token_count_;
int token_count_limit_;
dword ms_per_token_;
long64 ms_last_token_;
};
} // namespace wi
#endif // __TOKENBUCKET_H__
| {
"content_hash": "c418fdfddceda51ac8beeed6dc865814",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 52,
"avg_line_length": 15.722222222222221,
"alnum_prop": 0.6466431095406361,
"repo_name": "spiffcode/hostile-takeover",
"id": "2bee54dfd174abab40c9446132128db0c9196661",
"s... |
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
var RecipeSchema = new Schema({
name: { type: String},
recipe_country_id : {type: mongoose.Schema.Types.ObjectId, ref: 'Country'},
creation_date : {type: Date, default: Date.now},
update_date : {type:Date},
delete_date : {type: Date, default: n... | {
"content_hash": "34ca88daa5371ab6823f4ca84ea0dc7e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 114,
"avg_line_length": 38.421052631578945,
"alnum_prop": 0.7054794520547946,
"repo_name": "damdamgo/VilRecipe",
"id": "33434ed73c1f0b1da37788bd82c6009e029ca794",
"size": "... |
package logs
import (
"github.com/jagregory/cfval/constraints"
. "github.com/jagregory/cfval/schema"
)
// see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html
var LogStream = Resource{
AwsType: "AWS::Logs::LogStream",
// Name
ReturnValue: Schema{
Type: ValueStrin... | {
"content_hash": "f9fbdc2386ffde1e5ab8151e512cd3d7",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 102,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.7023809523809523,
"repo_name": "jagregory/cfval",
"id": "7301299cebaba188316a8f368d111d870fed7f74",
"size": "504... |
package metric
import (
"hume/record"
)
type NumRecords struct {
BaseMetric
Counter
}
func (nr *NumRecords) Init() error {
return nr.Counter.Initialize()
}
func (nr *NumRecords) Process(rec *record.Record) {
nr.Count("true")
}
| {
"content_hash": "1fa130c20924eb7158562a4160f255cf",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 51,
"avg_line_length": 13.11111111111111,
"alnum_prop": 0.6991525423728814,
"repo_name": "ARodri/hume",
"id": "d5b8741e626038d5490f24cd78a9e89c24b4525c",
"size": "236",
"... |
package thebob.ja2maptool.util.map.controller.base;
import java.util.Observable;
import java.util.Observer;
import thebob.ja2maptool.util.map.layers.map.IMapLayerManager;
import thebob.ja2maptool.util.map.renderer.ITileRendererManager;
/**
*
* @author the_bob
*/
public abstract class MapControllerBase extends Obs... | {
"content_hash": "c7749b1eee055eaaf5400d25e05f4a65",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 144,
"avg_line_length": 26.35,
"alnum_prop": 0.6729917773561037,
"repo_name": "starcatter/ja2tools",
"id": "13c43684e9afb7ad63ffca228c1537204b69f8ef",
"size": "2715",
"bi... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4d950104849a61df4cab5d3521193dc8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "c5434b5d87f90095597cdec8177a293fab88b5fe",
"size": "195... |
package org.sf.cafebabe.task.serfile;
import java.awt.event.ActionEvent;
import javax.swing.*;
import org.sf.cafebabe.Constants;
import org.sf.cafebabe.util.Actions;
import org.sf.cafebabe.util.IconProducer;
public class PlainActions extends Actions implements Constants {
private final static String COLLAPSE_TREE_... | {
"content_hash": "d210e690f0edfabf824a633dc8df7b94",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 82,
"avg_line_length": 35.2952380952381,
"alnum_prop": 0.6753912574203994,
"repo_name": "shvets/cafebabe",
"id": "03ee168395bf2c218ca1ad9729c9b3bf791e9eb6",
"size": "3728"... |
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %... | {
"content_hash": "19df84e64f8281a1799321d19455ab3e",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 105,
"avg_line_length": 37.42857142857143,
"alnum_prop": 0.6030534351145038,
"repo_name": "code-helix/slatekit",
"id": "053ddc12bb60a41c911f46aa36e14bd71b3ee1fe",
"size": "... |
package com.hp.autonomy.frontend.find.hod.beanconfiguration;
import com.hp.autonomy.frontend.configuration.ConfigService;
import com.hp.autonomy.frontend.configuration.HostAndPort;
import com.hp.autonomy.frontend.configuration.RedisConfig;
import com.hp.autonomy.frontend.find.core.beanconfiguration.RedisCondition;
i... | {
"content_hash": "c40ffe912b3bfdfc6c43e6cd30e475a5",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 128,
"avg_line_length": 41,
"alnum_prop": 0.7093840429929723,
"repo_name": "ExperisIT-rav/FindExperisIT",
"id": "cba2cd1de4462b7b6c29eb14756b6413634c0d1c",
"size": "2601",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.