text stringlengths 2 1.04M | meta dict |
|---|---|
Persistent<FunctionTemplate> CascadeClassifierWrap::constructor;
void
CascadeClassifierWrap::Init(Handle<Object> target) {
NanScope();
Local<FunctionTemplate> ctor = NanNew<FunctionTemplate>(CascadeClassifierWrap::New);
NanAssignPersistent(constructor, ctor);
ctor->InstanceTemplate()->SetInternalField... | {
"content_hash": "d96fbfd4a933fa01a1bb94c146b480f3",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 242,
"avg_line_length": 26.67361111111111,
"alnum_prop": 0.6448841447539703,
"repo_name": "shobhitchittora/ImageProcAPI",
"id": "3950c0436161f6eaacae2e9010b1cd6a22fddea4",
... |
SRAM cells
----------
The SKY130 process currently supports only single-port SRAM’s, which are contained in hard-IP libraries. These cells are constructed with smaller design rules (Table 9), along with OPC (optical proximity correction) techniques, to achieve small memory cells. Use of the memory cells or their devic... | {
"content_hash": "40059de4c094620750e21c5c1878176b",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 535,
"avg_line_length": 27.765625,
"alnum_prop": 0.6713562183455262,
"repo_name": "google/skywater-pdk",
"id": "b2790cf5314c9c2b2e5924be8bbb1dafe88a2ecb",
"size": "1785",
... |
import functools
import netaddr
from neutron_lib.api import validators
from neutron_lib import constants
from neutron_lib import exceptions as n_exc
from oslo_config import cfg
from oslo_db import exception as db_exc
from oslo_log import helpers as log_helpers
from oslo_log import log as logging
from oslo_utils import... | {
"content_hash": "e3f921591fc5abced1c5bf45c2b12737",
"timestamp": "",
"source": "github",
"line_count": 757,
"max_line_length": 79,
"avg_line_length": 45.65785997357992,
"alnum_prop": 0.5801001070508925,
"repo_name": "sebrandon1/neutron",
"id": "96328bbc0ee992112a2d9ac8f861f31f769fd117",
"size": "3... |
package com.davidbracewell.cache;
import com.davidbracewell.conversion.Cast;
import com.davidbracewell.function.Unchecked;
import com.davidbracewell.logging.Logger;
import com.davidbracewell.reflection.Reflect;
import com.davidbracewell.reflection.ReflectionUtils;
import com.davidbracewell.string.StringUtils;
import... | {
"content_hash": "561ce8a2b964c879ebea8efc3738fcde",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 115,
"avg_line_length": 39.46218487394958,
"alnum_prop": 0.6411839863713799,
"repo_name": "dbracewell/mango",
"id": "fdde38b82b58ded009e9e2aaf806399097d21d12",
"size": "55... |
'use strict';
let vm = require('vm'),
fs = require('fs'),
_ = require('lodash'),
yaml = require('js-yaml'),
blessed = require('blessed'),
Promise = require('bluebird'),
cmd = require('commander'),
contrib = require('blessed-contrib');
let conf = require('./conf'... | {
"content_hash": "b80515bcd7af8ac2b489ace56405673e",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 136,
"avg_line_length": 31.262569832402235,
"alnum_prop": 0.5643316654753395,
"repo_name": "hustcer/star",
"id": "952afad124533abeda638a594800f9f60e8ba45a",
"size": "5884"... |
$!APP_NAME!$
====
[](https://travis-ci.org/hmrc/$!APP_NAME!$) [  ](https://bintray.com/hmrc/releases/$!APP_NAME!$/_latestVersion)
| {
"content_hash": "2a84b4476e553473ec59d658fd6da9be",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 277,
"avg_line_length": 98.66666666666667,
"alnum_prop": 0.6891891891891891,
"repo_name": "hmrc/sbt-templates",
"id": "3d3c6abff8e76fef9aa1cbda8cf9e29fc1954224",
"size": "29... |
package me.Jasch.EasySocket.WebSocket;
import me.Jasch.EasySocket.Exceptions.*;
import me.Jasch.EasySocket.Message.MType;
import me.Jasch.EasySocket.Message.Message;
import org.apache.commons.lang.RandomStringUtils;
import org.java_websocket.WebSocket;
import org.jetbrains.annotations.NotNull;
import org.slf4j.Logger;... | {
"content_hash": "21fdf4ef5f7eab6a03e810ea0d017b89",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 119,
"avg_line_length": 33.48201438848921,
"alnum_prop": 0.6465406102277611,
"repo_name": "jaschmedia/EasySocket",
"id": "99f11997875f477f95f68891a92a03cd963e5c8f",
"size"... |
using System;
using StructureMap.Graph;
namespace StructureMap.Configuration
{
public interface IProfileBuilder
{
void AddProfile(string profileName);
void OverrideProfile(TypePath typePath, string instanceKey);
void SetDefaultProfileName(string profileName);
}
public interfac... | {
"content_hash": "2e55f8f55f715ec9f77ce1f1d7c47e9c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 92,
"avg_line_length": 28.275862068965516,
"alnum_prop": 0.7097560975609756,
"repo_name": "hp4711/structuremap",
"id": "a918b6bda1cc55032e084987fc1ea8e8caa12b28",
"size": "... |
package com.github.cafaudit.auditmonkey;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.hpe.caf.auditing.AuditChannel;
public class MonkeyFactoryTest
{
private AuditChannel channel;
pri... | {
"content_hash": "4378e3e5621b851b0834eedd17ee3388",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 90,
"avg_line_length": 28.18,
"alnum_prop": 0.7054648687012065,
"repo_name": "CAFAudit/audit-service",
"id": "b06793403dedf4d2a3c11926257cbe52d6d531ee",
"size": "2035",
"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... | {
"content_hash": "cef2394233879f7cfaf7e9a43c57e306",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 119,
"avg_line_length": 33.71923076923077,
"alnum_prop": 0.554693737880689,
"repo_name": "DynamoDS/designscript-archive",
"id": "6597815b8e2f9fc4a56685c81a850d2af28e7755",
... |
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using QuickGraph.Algorithms.ShortestPath;
namespace QuickGraph.Algorithms.Observers
{
/// <summary>
/// A distance recorder for directed tree builder algorithms
/// </summary>
/// <typeparam name="TVertex">type of a ve... | {
"content_hash": "9eb62142d7c0cf0e063b4257b10fec6f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 106,
"avg_line_length": 34.37837837837838,
"alnum_prop": 0.6407232704402516,
"repo_name": "ezg/PanoramicDataWin8",
"id": "a1a1ccf390faf6de0d834bb18997a26377f4554e",
"size":... |
<?php
namespace yii\filters;
use Yii;
use yii\base\ActionFilter;
use yii\base\InvalidConfigException;
use yii\web\Request;
use yii\web\Response;
/**
* Cors 过滤工具 [Cross Origin Resource Sharing](http://en.wikipedia.org/wiki/Cross-origin_resource_sharing).
*
* 请务必仔细阅读 CORS 能做的和不能做的事情。CORS 不保护您的 API,
* 但是允许开发人员授予对第... | {
"content_hash": "6db4367c8f293143ace18e2a3a6d1d9e",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 213,
"avg_line_length": 35,
"alnum_prop": 0.5632804232804233,
"repo_name": "yiichina/yii2",
"id": "71dace6aa13c8d282af8c70a94f41bd8a322e9fe",
"size": "10364",
"binary": ... |
setTimeout(function(){
(function(){
id = Ti.App.Properties.getString("tisink", "");
var param, xhr;
file = Titanium.Filesystem.getFile(Titanium.Filesystem.resourcesDirectory,"examples/table_view_api_controls.js");
text = (file.read()).text
xhr = Titanium.Network.createHTTPClient();
xhr.open("P... | {
"content_hash": "04aa2ac83b8fcae07eff060999e39b19",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 151,
"avg_line_length": 24.8,
"alnum_prop": 0.6758584807492196,
"repo_name": "steerapi/KichenSinkLive",
"id": "5af05b32eb08f1cb991a7484eb49bac94fc4db2f",
"size": "3844",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Qi4CS.Extensions.Configuration.Instance;
using System.Reflection;
using Qi4CS.Core.API.Model;
using Qi4CS.Core.API.Instance;
using Qi4CS.Core.SPI.Instance;
using System.Xml.Linq;
using CommonUtils;
using System.IO;... | {
"content_hash": "025f2b8f2a0a682c07a63e24047903fc",
"timestamp": "",
"source": "github",
"line_count": 568,
"max_line_length": 265,
"avg_line_length": 45.346830985915496,
"alnum_prop": 0.5420662344217106,
"repo_name": "CometaSolutions/Qi4CS",
"id": "eb1c8ff5b64070e20b4c83eea572c70e398dd658",
"size... |
package org.apache.tamaya.core;
import org.apache.tamaya.Configuration;
import org.apache.tamaya.PropertySource;
import org.apache.tamaya.core.properties.PropertySourceBuilder;
import java.util.*;
import java.util.function.Function;
import java.util.function.Predicate;
import java.util.function.UnaryOperator;
import... | {
"content_hash": "05112a8202bf3818bcaa965c0f86bd77",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 139,
"avg_line_length": 44.031088082901555,
"alnum_prop": 0.6281477994822311,
"repo_name": "johnament/tamaya",
"id": "1ddc301c354ccc2e1cae003815c14eb6f73b8f9a",
"size": "9... |
Dummy::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_c... | {
"content_hash": "328d0f2718e6dca005138920d1dd91ad",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 123,
"avg_line_length": 38.80769230769231,
"alnum_prop": 0.749587049884374,
"repo_name": "mapfish-appserver/gb_mapfish_appserver",
"id": "74ff7c0eb05a1b30ef9686fd4ae35ea3f13f... |
#include "InsertLineSegment.hh"
// #define USE_CDM 1
#include "Discretization/AddInteriorPoint.hh"
#if USE_CDM
#include "Discretization/ConstrainedDelaunayMesh.hh"
#else
#include "Discretization/DiscretizePolygon.hh"
#endif
#include "Discretization/RemoveBoundedRegion.hh"
#include "Shape/LineSegment.hh"
#include "S... | {
"content_hash": "36ca42a49f8e74e2557e963f65349ff7",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 96,
"avg_line_length": 26.747440273037544,
"alnum_prop": 0.626387648334822,
"repo_name": "tjcorona/Delaunay",
"id": "7dcacb486f7b5d5e6dfed013ebcc039d248c631a",
"size": "84... |
class OfferEvent < ActiveRecord::Base
belongs_to :offer
validates :offer, presence: true
validates :status, presence: true,
inclusion: { in: %w(CREATED SENT WITHDRAWN RETURNED RESENT ACCEPTED REJECTED) }
validates :description, presence: true
validates :created_at, presence: true
end
| {
"content_hash": "997975103697506e8c09565618884941",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 100,
"avg_line_length": 35.22222222222222,
"alnum_prop": 0.7097791798107256,
"repo_name": "talosdigital/TDJobs",
"id": "eb7618c6f6849b8314c20bf42bde00a9540bf919",
"size": "3... |
---
layout: post
title: "Présentation de la librairie PHP Xpression"
lang: fr
permalink: /fr/presentation-php-xpression/
excerpt: "En tant que développeur nous avons tous déjà eu besoin de filtrer un jeu de donnés (array, collection, API etc...). Nous allons découvrir la librairie Xpression qui va nous permettre d... | {
"content_hash": "0c8d63fc13f0649d3b4c14b58f165d5e",
"timestamp": "",
"source": "github",
"line_count": 503,
"max_line_length": 253,
"avg_line_length": 39.64811133200795,
"alnum_prop": 0.6525597954169383,
"repo_name": "eleven-labs/eleven-labs.github.io",
"id": "c7af5c5732dde79a2a88e7838d177f696c50d1b... |
EPUBJS.reader.BookmarksController = function() {
var reader = this;
var book = this.book;
var supportsTouch = 'ontouchstart' in window || navigator.msMaxTouchPoints;
var eventName = supportsTouch?"touchstart":"click";
var $bookmarks = $("#bookmarksView"),
$list = $bookmarks.find("#bookmarks");
var docfrag... | {
"content_hash": "a6b95d5bef3d9271a2786fec8497a9ee",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 76,
"avg_line_length": 23.953488372093023,
"alnum_prop": 0.6388349514563106,
"repo_name": "adn-tm/epub.js",
"id": "af4c1490cb2644a79532659392c54d263b24b238",
"size": "2060"... |
Nothing to see here, move along.
In all seriousness, the subcommand part of bini is designed to have the commands wrapped in a gem. This is a gem with a few fake commands, so I can test bini properly.
There is literally, nothing to see here.
Move along :wink:
| {
"content_hash": "a99bee65eefde51c26e3bbe65e625661",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 168,
"avg_line_length": 37.714285714285715,
"alnum_prop": 0.7613636363636364,
"repo_name": "erniebrodeur/bini-test-subcommand",
"id": "31a10edf0bcaefeba50291224b192fe7bac4ce9f... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cats-in-zfc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "79fa1c6257a765b42788a5acc6f010de",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 159,
"avg_line_length": 40.80790960451977,
"alnum_prop": 0.552955835525405,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "923ee3945fae66bf0328dc790a241be62204967b",
... |
<?php
namespace Chamilo\Core\Repository\Component;
use Chamilo\Core\Repository\Manager;
use Chamilo\Libraries\Architecture\Application\ApplicationConfiguration;
use Chamilo\Libraries\Architecture\Application\ApplicationFactory;
use Chamilo\Libraries\Architecture\Interfaces\ApplicationSupport;
/**
*
* @package core\... | {
"content_hash": "914152b4a3aa0da065a28956a4f56dc9",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 89,
"avg_line_length": 31.03448275862069,
"alnum_prop": 0.7233333333333334,
"repo_name": "cosnicsTHLU/cosnics",
"id": "31695d961b7c7b972f1bf25f100df0d178651d1a",
"size": "9... |
command -v brew > /dev/null && \
_LOCAL_SDK=$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk
[ -d "${_LOCAL_SDK}" ] || _LOCAL_SDK=$(local_lib_path google-cloud-sdk)
[ -f "${_LOCAL_SDK}/completion.bash.inc" ] && . "${_LOCAL_SDK}/completion.bash.inc"
unset _LOCAL_SDK
| {
"content_hash": "1d8d93b872132ccf2b9d461684c27629",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 83,
"avg_line_length": 57.6,
"alnum_prop": 0.6458333333333334,
"repo_name": "memes/home",
"id": "fe318ae3d83714cb6d67f627fda841b99bd0ffa3",
"size": "335",
"binary": false,... |
class CoronaRenderer;
class RoundCorners : public Corona::Abstract::Map, Corona::RoundEdgesShader
{
public:
CoronaRenderer *coronaRenderer;
Corona::ColorOrMap normalCamera;
RoundCorners();
RoundCorners(MObject sObject);
~RoundCorners();
Corona::String mapName = "RoundCorners";
int samplesCount = 10;
float radi... | {
"content_hash": "602fb023d6f4366f1b97ce97c5af4f2b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 121,
"avg_line_length": 37.03846153846154,
"alnum_prop": 0.7653167185877466,
"repo_name": "haggi/OpenMaya",
"id": "0c498fecdbd8e9d793cd6f3be832816236628a67",
"size": "1141"... |
How to get students in that mode where everything they read or learn is
productive? Avoid brute force techniques:
- Deadlines
- Tests
- Set curriculum
# What things can I do to learn something?
- Have a project (hobby or real world, not throw-away)
- Split concept into small parts and master them within the context... | {
"content_hash": "12f924d585373d0464ab67ad10022082",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 80,
"avg_line_length": 29.84090909090909,
"alnum_prop": 0.7532368621477532,
"repo_name": "devth/devth.github.com",
"id": "9030d18981c0e758cdfa5adf2833bbf4b8f5b83f",
"size":... |
package org.bzewdu.tools.perftrend.util;
import java.io.*;
public class ExternalCmd {
private static Runtime m_runtime;
private String[] cmd_v;
private Writer owriter;
private Writer ewriter;
private OutputStream ostream;
private OutputStream estream;
private File ofile;
private bool... | {
"content_hash": "a1b095e893798c0496004acbfc0aa5c3",
"timestamp": "",
"source": "github",
"line_count": 362,
"max_line_length": 318,
"avg_line_length": 26.87845303867403,
"alnum_prop": 0.5542651593011305,
"repo_name": "benzewdu/PerformanceTracker",
"id": "540da7685a6a7842e72a8e72b63aa91e38e1758e",
... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Javadoc API documentation for Fresco 1.1.0." />
<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
<title>... | {
"content_hash": "eaec48982b42b585013c02e71f1b27d4",
"timestamp": "",
"source": "github",
"line_count": 1076,
"max_line_length": 783,
"avg_line_length": 35.63104089219331,
"alnum_prop": 0.6027543754401523,
"repo_name": "desmond1121/fresco",
"id": "41448f7e9808eeb663e805273cfb5126801179e5",
"size": ... |
namespace _2.ConditionStatmentEx11OddNumber
{
using System;
using System.Collections.Generic;
using System.Linq;
public class OddNumber
{
public static void Main()
{
var n = Math.Abs(int.Parse(Console.ReadLine()));
while (n % 2 == 0)
{
... | {
"content_hash": "c1b9a6aa210871d5ee046c4d341fed77",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 65,
"avg_line_length": 23.863636363636363,
"alnum_prop": 0.5219047619047619,
"repo_name": "dontito88/ProgrammFundamentalsSecondChance",
"id": "5ca77517233f15df8b1e7ccd3a2c73d... |
package robots.epuck;
import gnu.io.CommPortIdentifier;
import gnu.io.NoSuchPortException;
import gnu.io.PortInUseException;
import gnu.io.SerialPort;
import gnu.io.SerialPortEvent;
import gnu.io.SerialPortEventListener;
import gnu.io.UnsupportedCommOperationException;
import java.io.BufferedInputStream;
... | {
"content_hash": "18b3e1fc009429c7e2a582f187dc7886",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 133,
"avg_line_length": 30.43108504398827,
"alnum_prop": 0.6439240628312615,
"repo_name": "iti-luebeck/ZUSMORO",
"id": "833197f5b3f06e2df465781553f8437d136bdbf3",
"size": ... |
layout: post
title: "Undertow tuning"
excerpt: "specific tunning for the performance boost"
categories: devnote
tags: [undertow, server]
modified: 2016-10-23
comments: true
share: false
author: chungyu
---
Observer the usage of your server `htop`, if the CPU hasn't been fully utilized, you can...
```java
server = Unde... | {
"content_hash": "b04b60e7a0896abe08742ea434699f67",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 170,
"avg_line_length": 43.568627450980394,
"alnum_prop": 0.7488748874887489,
"repo_name": "chungyushao/chungyushao.github.io",
"id": "f7313d0acd343bc1b006601a0af24fb04840f7c... |
import os
import re
from selenium import webdriver
from xvfbwrapper import Xvfb
from cabu.exceptions import DriverException
from cabu.utils.headers import Headers
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
from selenium import webdriver
try:
from urllib.parse import urlsplit
exc... | {
"content_hash": "913b0093c9169765f1f7a42e0aa6edf3",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 91,
"avg_line_length": 28.273291925465838,
"alnum_prop": 0.6603690685413005,
"repo_name": "thylong/cabu",
"id": "79f212ed18232d9a20e96553e02496b414e7481c",
"size": "4577",... |
from unittest import TestCase
from projects.gui import project_selector
class ProjectSelectorBaseCases(TestCase):
def test__project_selector_can_be_initialized(self):
data = [
'one',
'two',
'three'
]
selector = project_selector.ProjectSelector(data, '',... | {
"content_hash": "c97335bc98aaddce91127e01806b32cb",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 87,
"avg_line_length": 29.045871559633028,
"alnum_prop": 0.5259001895135819,
"repo_name": "tiborsimon/projects",
"id": "a78dbe7401062d70ea6a2d41c355db7c519f335d",
"size": ... |
#if !LESSTHAN_NET35
using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using CodeJam.Arithmetic;
using CodeJam.Strings;
using NUnit.Framework;
using static NUnit.Framework.Assert;
#if LESSTHAN_NET40
using EnumTargetingHelpers = CodeJam.Targeting.Enu... | {
"content_hash": "40dc860a70310fe300825ca952a961be",
"timestamp": "",
"source": "github",
"line_count": 364,
"max_line_length": 114,
"avg_line_length": 31.486263736263737,
"alnum_prop": 0.707180874269261,
"repo_name": "NN---/CodeJam",
"id": "eb84943c1ee6c79f13ff53c6bfcbf77f72346afc",
"size": "11463... |
<?php
/**
* Tag
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package skeleton
* @subpackage model
* @author Your name here
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
class Tag extends BaseTag
{
}
| {
"content_hash": "5278d97a80c97f66a6f884d2cb4d8ad9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 70,
"avg_line_length": 18.266666666666666,
"alnum_prop": 0.6423357664233577,
"repo_name": "bshaffer/Hadori-Demo",
"id": "e2c7f9706818fae8c308828584fb5ecf0bb8323e",
"size": ... |
var express = require('../')
, request = require('./support/http')
, assert = require('assert');
describe('res', function(){
describe('.json(object)', function(){
it('should not support jsonp callbacks', function(done){
var app = express();
app.use(function(req, res){
res.json({ foo: 'ba... | {
"content_hash": "954244bcb39b57103ee9117c9f98a8ed",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 95,
"avg_line_length": 25.885245901639344,
"alnum_prop": 0.5127717964956724,
"repo_name": "bevacqua/express",
"id": "da20a2c96c577c89e2f96aec94c059ce25cc730b",
"size": "47... |
package vgtest.testview.view;
import android.content.Context;
import android.widget.FrameLayout;
import android.widget.ScrollView;
//! 测试长幅绘图的滚动视图类
public class LargeView1 extends ScrollView {
public LargeView1(Context context) {
super(context);
this.createContentView(context);
... | {
"content_hash": "309636626b0133263e1721112bad15a0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 80,
"avg_line_length": 28.59090909090909,
"alnum_prop": 0.6947535771065183,
"repo_name": "aw691190716/vgandroid-demo",
"id": "e38ee1b5da7ddc578051752ea018c8ea7881410f",
"si... |
<?php
namespace Sylius\Behat\Context\Ui\Admin;
use Behat\Behat\Context\Context;
use Sylius\Behat\NotificationType;
use Sylius\Behat\Page\Admin\Crud\CreatePageInterface;
use Sylius\Behat\Page\Admin\Crud\IndexPageInterface;
use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface;
use Sylius\Behat\Page\Admin\Product\Crea... | {
"content_hash": "c42013d9f7a7d254f65f89d96e58ed6c",
"timestamp": "",
"source": "github",
"line_count": 562,
"max_line_length": 112,
"avg_line_length": 30.590747330960856,
"alnum_prop": 0.6319218241042345,
"repo_name": "Rvanlaak/Sylius",
"id": "cfd0a907922b135ba18dc7d2257eaa5f615ddc03",
"size": "17... |
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | {
"content_hash": "3689833e2930a45e0b1e1e26d6983aa7",
"timestamp": "",
"source": "github",
"line_count": 679,
"max_line_length": 83,
"avg_line_length": 35.35346097201767,
"alnum_prop": 0.632701520516559,
"repo_name": "shahmishal/swift",
"id": "f5fc0152eaed2a17b48c9d0d1675cdd8ee1a4e05",
"size": "2400... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Ponytail Express</title>
<base href="/">
<link rel="apple-touch-icon" sizes="57x57" href="assets/ico/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/ico/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x7... | {
"content_hash": "050f9f3c9407b78ec6a77990838e0ab4",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 95,
"avg_line_length": 46.588235294117645,
"alnum_prop": 0.6944444444444444,
"repo_name": "bdinsmor/pe2",
"id": "f24618fca47b27f3ce587bcc641015b53897eab2",
"size": "1584",
... |
<?php
class Dbsetting extends CI_Model {
public function __construct() {
$this->load->database();
}
//=====================================HEADER========================================================//
public function get_design_setup() {
$this->db->from('design_setup');
$qu... | {
"content_hash": "5dd6953d3b2f4014cdb34dc0fe676dd3",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 285,
"avg_line_length": 32.96153846153846,
"alnum_prop": 0.5078763127187864,
"repo_name": "infotechnab/BnW",
"id": "d9b0ff359194b3406b919f333dcd113c9a1fec1a",
"size": "342... |
./vendor/bin/phpunit --log-junit xunit-results.xml
| {
"content_hash": "e5e36f101e0af28cbe70059053b6d63e",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 50,
"avg_line_length": 51,
"alnum_prop": 0.7647058823529411,
"repo_name": "GoogleCloudPlatform/repo-automation-playground",
"id": "9da5af2ae43393e7fa8c35f6b72d4d7272bf3104",
... |
layout: v2/docs_base
id: ui
title: Ionic 2 UI
header_title: Ionic 2 UI
header_sub_title: Ionic 2 Developer Preview
---
<div class="improve-docs">
<a href='https://github.com/driftyco/ionic-site/edit/ionic2/docs/v2/ui/index.md'>
Improve this doc
</a>
</div>
<h1 class="title">UI</h1>
TODO
| {
"content_hash": "fc5379b89b7c62506b8581e5e2ef5aeb",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 83,
"avg_line_length": 19.866666666666667,
"alnum_prop": 0.6912751677852349,
"repo_name": "saimandeper/ionic-site",
"id": "f5e78aad75626ee5b994ba6267273ec8bfb447e7",
"size"... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*----------... | {
"content_hash": "1ff368eb5a2f5c94bb0c196e0321e4c3",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 92,
"avg_line_length": 27.13157894736842,
"alnum_prop": 0.6105722599418041,
"repo_name": "rbmj/wpilib",
"id": "5018ae58dfa4b3bf46972a79ba3e4c6b0ba98697",
"size": "2062",
... |
@interface ADReposViewCodeTableViewCell ()
@property (weak, nonatomic) IBOutlet UIView *containerView;
@property (weak, nonatomic) IBOutlet UIImageView *branchIcon;
@property (weak, nonatomic) IBOutlet UIButton *branchButton;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet... | {
"content_hash": "1f7e5dd0029d686749df811ade441422",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 126,
"avg_line_length": 39.95238095238095,
"alnum_prop": 0.7640047675804529,
"repo_name": "CrazyKids/Scarecrow",
"id": "5f1869a1a5eba187dc300da746ba68e70f99e3a9",
"size": "... |
<?php
namespace Magento\Framework\Search\Request\Aggregation;
use Magento\Framework\Search\Request\BucketInterface;
/**
* Term Buckets
*/
class TermBucket implements BucketInterface
{
/**
* @var string
*/
protected $name;
/**
* @var string
*/
protected $field;
/**
* @... | {
"content_hash": "7a14d99150e81d59a2f0d3fad62cdeed",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 62,
"avg_line_length": 16.18918918918919,
"alnum_prop": 0.5258764607679466,
"repo_name": "enettolima/magento-training",
"id": "159da1c2be1168cfaee0e497a46b724c71722d57",
"s... |
package net.minecraft.src;
import java.util.Random;
import net.minecraft.src.CreativeTabs;
public class BlockBoneOre extends Block
{
public BlockBoneOre(int par1)
{
super(par1, Material.rock);
this.setCreativeTab(CreativeTabs.tabBlock);
}
public int quantityDropped(Random r)
{
... | {
"content_hash": "88f260c0c1954192ed594afd3c543d93",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 59,
"avg_line_length": 20,
"alnum_prop": 0.6847826086956522,
"repo_name": "KinyoshiMods/Bone-Ore",
"id": "bbe342e2179ddfcc243b0b83f47e33164f873e25",
"size": "460",
"binar... |
[](https://github.com/reactphp/filesystem/actions)
[ReactPHP](https://reactphp.org/)'s filesystem component that enables non-blocking filesystem operations.
> **Development version:** This branch contains the code for the upcoming 0.2
> releas... | {
"content_hash": "515b65fbc9267d1c6f9cae649667e177",
"timestamp": "",
"source": "github",
"line_count": 287,
"max_line_length": 190,
"avg_line_length": 35.52613240418118,
"alnum_prop": 0.7375441349548842,
"repo_name": "reactphp/filesystem",
"id": "4093eeb8794f41816dee942946c4e6fbbf42da52",
"size": ... |
the_beneficiary=each {_party}
=[G/Agt-Cooperate-CmA/Sec/Relate/Assign/Benefit/0.md] | {
"content_hash": "cce09c3e0fdd155936253719508ac4f6",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 53,
"avg_line_length": 28,
"alnum_prop": 0.7619047619047619,
"repo_name": "CommonAccord/Cmacc-Source",
"id": "cb7229b1648836892d0bdf4b2cdd2607dcbd0529",
"size": "84",
"bin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CompareCloudware.Domain.Models
{
#region TagResult
public class TagResult
{
public virtual Tag Tag { get; set; }
public virtual CloudApplication CloudApplication { get; set; }
public vir... | {
"content_hash": "b69aca579ff2ec2e847d1fe7e7fc2231",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 75,
"avg_line_length": 37.51851851851852,
"alnum_prop": 0.6831194471865746,
"repo_name": "protechdm/CompareCloudware",
"id": "05cc7ba17c6c398fe605c94f0bce7e7bcd4d8c88",
"si... |
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.StringTokenizer;... | {
"content_hash": "863b6828fe135322b9c00da28e01a2c1",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 109,
"avg_line_length": 34.966887417218544,
"alnum_prop": 0.5657196969696969,
"repo_name": "cul/marcmods2rdf",
"id": "729a72e2ec4aeb6dfbc12a37a79ba45ba605825c",
"size": "5... |
cat >> ~/.bash_profile << EOF
export LIGHT_DIR=$(pwd)
alias lightdir='cd ${LIGHT_DIR}'
alias lightup='cd ${LIGHT_DIR} && vagrant up --provider vmware_fusion && vagrant ssh'
alias lightssh='cd ${LIGHT_DIR} && vagrant ssh'
EOF
source ~/.bash_profile
| {
"content_hash": "9f7dd76d3e46097d07b79cce8c08a9c7",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 85,
"avg_line_length": 27.77777777777778,
"alnum_prop": 0.684,
"repo_name": "framelab/lightbox",
"id": "7ccc9e2a3e53e4972940c9b6ec809de7cf843e2f",
"size": "262",
"binary":... |
<?php
/**
* In this file you set up your send email details.
*
* @package cake.config
*/
/**
* Email configuration class.
* You can specify multiple configurations for production, development and testing.
*
* transport => The name of a supported transport; valid options are as follows:
* Mail - Send ... | {
"content_hash": "ce40f69ab33f51a7afb898ebdf478e26",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 90,
"avg_line_length": 23.632911392405063,
"alnum_prop": 0.5875736475629352,
"repo_name": "jumacro/JCRM",
"id": "7dfdeaaf7a3aa58af71f2186d362130e086fcb23",
"size": "2540",
... |
require 'OpenNebula'
##############################################################################
# This class represents a generic Cloud Server using the OpenNebula Cloud
# API (OCA). Any cloud implementation should derive from this class
#############################################################################... | {
"content_hash": "2f865de75366d0b3f17572119e4488d6",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 78,
"avg_line_length": 28.53191489361702,
"alnum_prop": 0.48769574944071586,
"repo_name": "bcec/opennebula3.4.1",
"id": "904e072ec00f6374c97d32522b36a9e056ea3bb6",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>domain-theory: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "a5dd282c6ad9e3138c77f47b8fa8de0b",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 157,
"avg_line_length": 40.23170731707317,
"alnum_prop": 0.5360715368293423,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "05aa33d19d0976a304f7bf6497088c1757c81ace",
... |
<?php
class TestFiniteStateMachine extends FiniteStateMachine
{
public function close()
{
}
protected function _close()
{
}
public function checkout()
{
}
public function process()
{
}
public function pend()
{
}
public function complete()
{
}... | {
"content_hash": "f42158f40553177096fc80210c28df67",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 55,
"avg_line_length": 11.222222222222221,
"alnum_prop": 0.5346534653465347,
"repo_name": "tourman/fsm",
"id": "b00a9d353ac09b6e666353a9845c9095b7162897",
"size": "404",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2417ba0ab4ee438ca22f9b766b75bc91",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "5cf17d0675aae09e20cb47ae56e2f4558f7211b8",
"size": "18... |
DPToastView
===========
(Yet another) Highly customizable toast view for iOS. This toast view supports simple strings or attributed strings, word wrap, notifications, and much more.
## Usage
Add the dependency to your `Podfile`:
```ruby
platform :ios
pod 'DPToastView'
...
```
Run `pod install` to install the depen... | {
"content_hash": "ab83d693968b9b68d576bbdaaab4d430",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 157,
"avg_line_length": 32.34146341463415,
"alnum_prop": 0.6730769230769231,
"repo_name": "ebaker355/DPToastView",
"id": "f783a58ad6865b985183784a025e21469a398011",
"size":... |
/*
* BJAF - Beetle J2EE Application Framework
* 甲壳虫J2EE企业应用开发框架
* 版权所有2003-2015 余浩东 (www.beetlesoft.net)
*
* 这是一个免费开源的软件,您必须在
*<http://www.apache.org/licenses/LICENSE-2.0>
*协议下合法使用、修改或重新发布。
*
* 感谢您使用、推广本框架,若有建议或问题,欢迎您和我联系。
* 邮件: <yuhaodong@gmail.com/>.
*/
package com.beetle.framework.business.co... | {
"content_hash": "b10f89fe87c6d9a908962b90a0fbe755",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 68,
"avg_line_length": 24.73170731707317,
"alnum_prop": 0.6873767258382643,
"repo_name": "jbeetle/BJAF3.x",
"id": "3ea9d3d31f37b5008b22531c068b413f39ac9ca5",
"size": "2230"... |
<?php
namespace Documentor\Reflection;
/**
* @category Parsers
* @package Documentor
* @subpackage Reflection
* @author Julien Ballestracci <julien@nitronet.org>
* @license http://www.opensource.org/licenses/bsd-license.php BSD License
* @link http://github.com/neiluj/Documentor
*/
class Ref... | {
"content_hash": "3bcf2a804b833ad7644692d3c9a14ed6",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 78,
"avg_line_length": 19.863247863247864,
"alnum_prop": 0.5757314974182444,
"repo_name": "neiluJ/Documentor",
"id": "1fc959cd9f51de33334b46a406f1a562c6c9f9c3",
"size": "3... |
package btree
// Return the mutated node along with a boolean that says whether a rebalance
// is required or not.
func (kn *knode) remove(store *Store, key Key, mv *MV) (
Node, bool, int64, int64) {
index, equal := kn.searchEqual(store, key)
mk, md := int64(-1), int64(-1)
if equal == false {
return kn, false, ... | {
"content_hash": "c6dc81ddf18fc149912153205687a2df",
"timestamp": "",
"source": "github",
"line_count": 456,
"max_line_length": 90,
"avg_line_length": 29.767543859649123,
"alnum_prop": 0.6490349196994254,
"repo_name": "prataprc/gobtree",
"id": "9a29935d52dbc134deb77da61daa73aa7b2f9ae2",
"size": "14... |
This is the repository for Data Structure assignments of a BUPT team.
Current developer:
Tianrui Niu the mechanism designer, artist
Contact: heranort@163.com
Han Liu the algorithm implementor, database manager
Contact: liuhan132@foxmail.com
Mo Ying the GUI designer, vital developer
Contact: 1456415911@qq.com
## Cur... | {
"content_hash": "576e55fe6db2b23d828d61a02d4c74ed",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 123,
"avg_line_length": 26.414634146341463,
"alnum_prop": 0.7903970452446907,
"repo_name": "niwtr/map-walker",
"id": "23b644eaefecb4a1a14140c9691f4882f820cb59",
"size": "22... |
require 'spec_helper'
describe Compare do
include RepoHelpers
let(:project) { create(:project, :public, :repository) }
let(:commit) { project.commit }
let(:start_commit) { sample_image_commit }
let(:head_commit) { sample_commit }
let(:raw_compare) { Gitlab::Git::Compare.new(project.repository.raw_repos... | {
"content_hash": "57e7fd609d1eeb6d031ea5271a48e34b",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 116,
"avg_line_length": 27.774193548387096,
"alnum_prop": 0.6472125435540069,
"repo_name": "dreampet/gitlab",
"id": "0bc3ee014e6b4e1731925ebd131bbd02f12ab709",
"size": "34... |
Jayson is a [JSON-RPC 2.0][jsonrpc-spec] compliant server and client written in JavaScript for [node.js][node.js] that aims to be as simple as possible to use.
[jsonrpc-spec]: http://jsonrpc.org/spec.html
[jsonrpc1-spec]: http://json-rpc.org/wiki/specification
[node.js]: http://nodejs.org/
[travis]: https://travis-ci... | {
"content_hash": "5bd2a27f4ec8bca90dba540ac1202b73",
"timestamp": "",
"source": "github",
"line_count": 719,
"max_line_length": 349,
"avg_line_length": 34.280945757997216,
"alnum_prop": 0.7159201557935735,
"repo_name": "mtoma/zonemaster",
"id": "74b4f3a7f2c75a5d428f49dcfb134432b5c0d4b5",
"size": "2... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | {
"content_hash": "decd6178565a15f8585897df30fa0637",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 554,
"avg_line_length": 49.93827160493827,
"alnum_prop": 0.5705809641532756,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "7ccab9b498d01dceb4eedfa925a8f33258ee26c2",
... |
# Cronner [](https://travis-ci.org/stekycz/Cronner)
- [Description](#description)
- [Usage](#usage)
- [Annotations](#annotations)
- [Author](#author)
- [License](#license)
## Description
Simple tool which helps with maintenance of cron tasks.
I... | {
"content_hash": "ac3b4429010813b8c803489c62d52cab",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 127,
"avg_line_length": 31.577114427860696,
"alnum_prop": 0.7304238222782417,
"repo_name": "AntikCz/Cronner",
"id": "f2a45bef92fb306491fc63710c3cbafbc6598c33",
"size": "63... |
package blue.lapis.pore.impl.entity;
import blue.lapis.pore.converter.wrapper.WrapperConverter;
import org.bukkit.entity.EntityType;
import org.spongepowered.api.entity.living.monster.Creeper;
public class PoreCreeper extends PoreMonster implements org.bukkit.entity.Creeper {
public static PoreCreeper of(Creep... | {
"content_hash": "559c6a492240f5c14a11edfc009b912f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 83,
"avg_line_length": 22.736842105263158,
"alnum_prop": 0.6851851851851852,
"repo_name": "phase/Pore",
"id": "9b31db2c42deac63efd87f9808afe0305cc502c5",
"size": "2040",
... |
package frequentflyer.com.services;
import frequentflyer.com.domain.RotationDto;
import frequentflyer.com.entities.Combination;
import frequentflyer.com.services.exceptions.NvtServiceException;
import java.util.List;
/**
* Created by sasaradovanovic on 10/10/17.
*/
public interface RotationService {
/**
... | {
"content_hash": "f70f99b5cb7d8b93f029851e79b6f068",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 119,
"avg_line_length": 26.945454545454545,
"alnum_prop": 0.6734143049932524,
"repo_name": "sasa-radovanovic/ff-network-visualization-tool",
"id": "b29ffecdac9c92a33ddaa10251... |
'use strict';
/*
* If a string’s ratio of alphanumeric characters to total characters is less than 50%, the string is garbage
*/
module.exports = function alphanumeric(word) {
var totalLength = word.length;
var alphanumericLength = word.replace(/[^0-9A-Z]/gi, "").length;
if(totalLength !== 1 && alphanumeric... | {
"content_hash": "61fddc37103714bff71ba29fd4043245",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 109,
"avg_line_length": 25.933333333333334,
"alnum_prop": 0.6838046272493573,
"repo_name": "Amoki/rmgarbage",
"id": "eb56dcca43949d450774ebf383b64c0fd8832050",
"size": "391... |
<?php
namespace Doctrine\ODM\MongoDB\Mapping\Annotations;
/**
* @Annotation
* @deprecated This class will be removed in ODM 2.0
*/
final class Timestamp extends AbstractField
{
public $type = 'timestamp';
}
| {
"content_hash": "5478a62a83bffdade4a32b446bd1c012",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 16.692307692307693,
"alnum_prop": 0.7142857142857143,
"repo_name": "waldihuber/mongodb-odm",
"id": "3ef480cfe3dc443e085c682fbcb40f891fa2b3bd",
"size"... |
'''OpenGL extension NV.parameter_buffer_object
This module customises the behaviour of the
OpenGL.raw.GL.NV.parameter_buffer_object to provide a more
Python-friendly API
Overview (from the spec)
This extension, in conjunction with NV_gpu_program4, provides a new type
of program parameter than can be used as a c... | {
"content_hash": "e4b756f902968dbe71c09fde9bf83731",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 75,
"avg_line_length": 46.513513513513516,
"alnum_prop": 0.7960488088320744,
"repo_name": "frederica07/Dragon_Programming_Process",
"id": "e7ed60bb803260a9ed4d741256f902535c3... |
package sqlite
import (
"database/sql"
_ "github.com/mattn/go-sqlite3" // required database driver
)
// schema copied from https://github.com/mfn/osmlib-sqlite
// Connection - Connection
type Connection struct {
db *sql.DB
Stmt *Statements
}
// GetDB - expose the underlying db object
func (c *Connection) Get... | {
"content_hash": "18f95d4984518da93ba1b647e5e35088",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 129,
"avg_line_length": 22.339285714285715,
"alnum_prop": 0.6333599786837197,
"repo_name": "missinglink/pbf",
"id": "cc30e6c1a341896878fc0984fb6f912c61c2a0e8",
"size": "37... |
package akka.libprocess.serde
import java.io.{ ByteArrayInputStream, ByteArrayOutputStream, ObjectInputStream, ObjectOutputStream }
import scala.util.Try
class RawMessageSerDe extends MessageSerDe {
override def deserialize(message: TransportMessage): Try[AnyRef] = Try {
val bs = new ByteArrayInputStream(messa... | {
"content_hash": "4a1581caf33ec5dbf4981a35900f605f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 101,
"avg_line_length": 29.347826086956523,
"alnum_prop": 0.7437037037037038,
"repo_name": "drexin/akka-libprocess",
"id": "ca1f8f1aa0479ec236883e495312345457e89935",
"size... |
<!DOCTYPE html>
<html>
<!-- I used Google's Material Design Lite here (getmdl.io)-->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.1.3/material.blue-orange.min.css" />
<script defer src="https://code.getmdl.io/1.1.3/mater... | {
"content_hash": "b0a4c05dd96d1ee80ddb1505f464791b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 197,
"avg_line_length": 34.35294117647059,
"alnum_prop": 0.6789383561643836,
"repo_name": "Racer500/Hub",
"id": "bae7c3350f4457ae99f26cc97b5a41d0cf1d8693",
"size": "1168",
... |
<!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 (1.8.0_77) on Mon May 23 19:36:19 EDT 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Uses of Class org.tartarus.s... | {
"content_hash": "0d02d88cdb7884754300ace1bdb61b45",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 143,
"avg_line_length": 35.92142857142857,
"alnum_prop": 0.5971366076754822,
"repo_name": "YorkUIRLab/irlab",
"id": "e45e86987494091bc5cd486963f0c66ae9aa29e8",
"size": "50... |
<!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 (1.8.0_31) on Wed Dec 17 20:48:22 PST 2014 -->
<title>compact2 - java.nio.file.attribute (Java Platform SE 8 )</title>
<meta name="date" content="2014... | {
"content_hash": "a591c87e98cabd4a6992e9db1e2c3e29",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 223,
"avg_line_length": 89.81481481481481,
"alnum_prop": 0.7455670103092783,
"repo_name": "fbiville/annotation-processing-ftw",
"id": "a2c4d57d9b4bac2ea294283533e01d73e7582c7... |
//
// Copyright 2018 SenX S.A.S.
//
// 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": "384c1b7c34f2dd7853247c5a8df781b4",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 115,
"avg_line_length": 32.52247191011236,
"alnum_prop": 0.6291242010709968,
"repo_name": "hbs/warp10-platform",
"id": "bfd7722cf11069408d50f0439ad1cb955cef14ea",
"size": ... |
<!doctype html>
<html class="default no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Errors | </title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="../assets/css/main.css">... | {
"content_hash": "9d8566398f3a4e847c3aeb3183c9b9fd",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 229,
"avg_line_length": 55.32522796352583,
"alnum_prop": 0.6556971761344907,
"repo_name": "activenode/EdgeJS",
"id": "645fb9f807ca64b4b34d02ce5d470dcc6d23ffd5",
"size": "1... |
<!DOCTYPE html>
<link rel="stylesheet" href="../resources/default.css"></style>
<body style="height:2000px">
<div style="top: 700px; left: 100px" class="absolute green"></div>
</body>
<script>
window.scrollTo(100, 500);
</script>
| {
"content_hash": "d48096649b579b4b551bcb370b6d4c1f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 68,
"avg_line_length": 29,
"alnum_prop": 0.6853448275862069,
"repo_name": "ric2b/Vivaldi-browser",
"id": "ee0721bad5a278e3b55db7505b1e98df5fb0bb05",
"size": "232",
"binary... |
<?php namespace Arcanesoft\Backups\Providers;
use Arcanedev\Support\Providers\CommandServiceProvider as ServiceProvider;
use Arcanesoft\Backups\Console\InstallCommand;
use Arcanesoft\Backups\Console\PublishCommand;
/**
* Class CommandServiceProvider
*
* @package Arcanesoft\Backups\Providers
* @author ARCAN... | {
"content_hash": "95d15c9bbb7d659e2eb4b12482b70306",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 74,
"avg_line_length": 26.344827586206897,
"alnum_prop": 0.5641361256544503,
"repo_name": "ARCANESOFT/Backups",
"id": "4e8e73c055e360e260f76b623925f743e57ec406",
"size": "7... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `PF_ATMPVC` constant in crate `libc`.">
<meta name="keyword... | {
"content_hash": "51c1fc084618862ea0da34e87cc667e1",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 197,
"avg_line_length": 38.04424778761062,
"alnum_prop": 0.5096534077692486,
"repo_name": "nitro-devs/nitro-game-engine",
"id": "e8f0fc28123efa366593d6ca05a17ff5a9292e6f",
... |
package br.org.am.biblioteca.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import br.org.am.biblioteca.dao.GrupoDAO;
import br.org.am.biblioteca.model.Grupo;
@Service
@Transaction... | {
"content_hash": "f1b782c19ad687fc74ac9cb667778259",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 64,
"avg_line_length": 26.17391304347826,
"alnum_prop": 0.7691029900332226,
"repo_name": "eltonsrc/biblioteca",
"id": "e36e5e06ae11dd1792d243cff0d72fa7d2958026",
"size": "6... |
class coDCEL;
/// Returns an arbitrary half edge of the resulting face or coUint32(-1) if no joining took place
coUint32 coAbsorbNextRadialFace(coDCEL& dcel, coUint32 edgeIdx);
| {
"content_hash": "d179982d8be00fa969db7f2c70b25740",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 97,
"avg_line_length": 44.5,
"alnum_prop": 0.7921348314606742,
"repo_name": "smogpill/core",
"id": "174f71ea00c1b8f0cbdfea8cf14ebddb293d7ef9",
"size": "353",
"binary": fal... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d696bb645185a77ad8f06a58f6035e9d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "401e91a8b7b0c8b4a6f5419caf60e5e73a8a51a3",
"size": "185... |
<?php
namespace App\Http\Controllers;
use Auth;
use App\Repositories\GameRepository;
use App\Criteria\VisibleGameCriterion;
use App\Criteria\GameHasTagRequestCriterion;
use App\Http\Requests\StoreGameRequest;
use App\Http\Requests\UpdateGameRequest;
use App\Entities\Game;
class GameController extends Controller
{
... | {
"content_hash": "cda36b9d3c5ce4b854000ec13ed4c2e6",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 110,
"avg_line_length": 24.150793650793652,
"alnum_prop": 0.5747617482747289,
"repo_name": "jupiter24/web-chess",
"id": "894df216edfe19eda9df6b38d1a459dba351a7a7",
"size":... |
=head1 NAME
ProteinTreeAdaptor - DESCRIPTION of Object
=head1 SYNOPSIS
=head1 DESCRIPTION
=head1 CONTACT
Contact Jessica Severin on implemetation/design detail: jessica@ebi.ac.uk
Contact Ewan Birney on EnsEMBL in general: birney@sanger.ac.uk
=head1 APPENDIX
The rest of the documentation details each of the o... | {
"content_hash": "91e06c406e085872f0a491f5bb93162c",
"timestamp": "",
"source": "github",
"line_count": 664,
"max_line_length": 157,
"avg_line_length": 30.724397590361445,
"alnum_prop": 0.6089407381991079,
"repo_name": "adamsardar/perl-libs-custom",
"id": "efd98eb5f1f2474071acd1d22e095e9a28e21e01",
... |
"use strict";
const ROUND_DURATION = 10000;
const WAIT_DURATION = 2000;
const TRIVIA_FILE = "data/trivia.json";
const TriviaManager = require("../trivia-manager");
exports.game = "trivia";
exports.aliases = ["triv"];
const Trivia = new TriviaManager(TRIVIA_FILE);
class TriviaGame extends Rooms.botGame {
constr... | {
"content_hash": "937f80ba5fbdb251423e784080e8d9ea",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 173,
"avg_line_length": 35.53061224489796,
"alnum_prop": 0.556193758376412,
"repo_name": "sparkychildcharlie/Foxiebot-kit",
"id": "fdc068b16437483ca19623dd97c903e423918519",... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PullRequest
{
public PullRequest() { }
public PullRequest(int number)
{
Number = number;
... | {
"content_hash": "b063e251dd4c5554cfc47a110e4cd4eb",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 512,
"avg_line_length": 32.27272727272727,
"alnum_prop": 0.5463306152705708,
"repo_name": "rlugojr/octokit.net",
"id": "5644a0b3eb14419b6edc6ad5fae32d00c0986cb9",
"size": ... |
<!DOCTYPE html>
<html>
<head>
#include("/common/header.html")
${css}
</head>
${body}
<script src="${url('/resources/js/jquery-2.1.1.js')}"></script>
<script src="${url('/resources/js/bootstrap.min.js')}"></script>
${js}
</html>
| {
"content_hash": "82915d84e997041405818afc6dc7de93",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 64,
"avg_line_length": 20.90909090909091,
"alnum_prop": 0.6173913043478261,
"repo_name": "uchoice/uchoice-ucenter",
"id": "61bd4fe554ea71deaa371681c0f8e12f3d9e5101",
"size"... |
We study how to use own user management in activiti for a while. So let me start to introduce how we implement it.
We take an example for the 'Openstack Keystone User Management', and of course, we can use any user management modules of third party to instead the 'Keystone'
According to the Big Man --- Nadav Azaria -... | {
"content_hash": "b1a5abdfa236d02116b1aa0bd69acc3f",
"timestamp": "",
"source": "github",
"line_count": 269,
"max_line_length": 270,
"avg_line_length": 32.57992565055762,
"alnum_prop": 0.7635782747603834,
"repo_name": "xiabin1235910/Activiti-Article",
"id": "42220b9251a2857bc27151fcfadb94acc1499306",... |
/*
* @test SpreadNullArg
* @bug 7141637
* @summary verifies that the MethodHandle spread adapter can gracefully handle null arguments.
* @run main SpreadNullArg
* @author volker.simonis@gmail.com
*/
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType... | {
"content_hash": "41f72af30ae30446022ae97c467ad69b",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 96,
"avg_line_length": 28.866666666666667,
"alnum_prop": 0.6859122401847575,
"repo_name": "rokn/Count_Words_2015",
"id": "195e106d542f61f92fb0ced08306dfefa8a5275b",
"size":... |
""" Distribution setup for ‘python-daemon’ library. """
from __future__ import (absolute_import, unicode_literals)
import sys
import os
import os.path
import pydoc
import distutils.util
from setuptools import (setup, find_packages)
import version
fromlist_expects_type = str
if sys.version_info < (3, 0):
from... | {
"content_hash": "201fc7f4a414ceecf6ef6ab07ea7e828",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 79,
"avg_line_length": 26.835051546391753,
"alnum_prop": 0.5985401459854015,
"repo_name": "eaufavor/python-daemon",
"id": "6edb8abe9b6af4bfa298fc0e43802d300e939391",
"size"... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | {
"content_hash": "9f57e6c9f3eb84634df8da1b214dce9f",
"timestamp": "",
"source": "github",
"line_count": 1338,
"max_line_length": 92,
"avg_line_length": 42.0186846038864,
"alnum_prop": 0.7091478273243095,
"repo_name": "google/protobuf",
"id": "debdd6670c522782d1ca545a16df1442a499113c",
"size": "5622... |
Apiary
=======
[](https://raw.githubusercontent.com/robojackets/apiary/master/LICENSE) [](https... | {
"content_hash": "4ae94dbd29cc383226880f097a434c18",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 793,
"avg_line_length": 69.04524886877829,
"alnum_prop": 0.6137361557113834,
"repo_name": "RoboJackets/apiary",
"id": "4f3a92f1c971952e9295785567d6a4db3753905e",
"size": "... |
require 'closer'
begin
require 'cucumber/rails'
puts 'cucumber-rails loaded.'
rescue LoadError => e
end
DatabaseCleaner.strategy = :truncation
require_relative 'hooks/fixtures'
require 'daddy/cucumber'
| {
"content_hash": "644a0206f8a4a9203ef3f8d53d1a848f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 38,
"avg_line_length": 16.153846153846153,
"alnum_prop": 0.7666666666666667,
"repo_name": "ichylinux/daddy",
"id": "fee9b396f595beb532d57b1f6cd1c9e301ca9bae",
"size": "210"... |
import './commands'
// Alternatively you can use CommonJS syntax:
import '@cypress/code-coverage/support'
| {
"content_hash": "5894b9c7bead72a9d4e28bac7a380024",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 45,
"avg_line_length": 26.75,
"alnum_prop": 0.7663551401869159,
"repo_name": "thednp/bootstrap.native",
"id": "e02780e1f923bf4146089b6d36c9eceee551154e",
"size": "710",
"b... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: Google/Ads/GoogleAds/Util/FieldMasks/Proto/tester.proto
namespace Google\Ads\GoogleAds\Util\FieldMasks\Proto;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* The n... | {
"content_hash": "f16e94447e7f698c1da38c8de6001e1f",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 131,
"avg_line_length": 28.455223880597014,
"alnum_prop": 0.6409651193286127,
"repo_name": "googleads/google-ads-php",
"id": "3971ca530201325d420b719207ed8703aa12a0ce",
"s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpSharp
{
/// <summary>
/// Provides additional methods to help working with strings.
/// </summary>
public static class StringSharp
{
#region Casing methods
/// <summ... | {
"content_hash": "c692d5537ef08e2d401e7845d435bbc3",
"timestamp": "",
"source": "github",
"line_count": 319,
"max_line_length": 181,
"avg_line_length": 39.41379310344828,
"alnum_prop": 0.5507038892865664,
"repo_name": "mbillard/csharpsharp",
"id": "e5faae6b4f402e4a0feed2e1e445a925521a2ba3",
"size":... |
import { moduleFor, test } from 'ember-qunit';
moduleFor('controller:submit', 'Unit | Controller | submit', {
// Specify the other units that are required for this test.
// needs: ['controller:foo']
needs: ['validator:presence', 'validator:length', 'validator:format'],
});
// Replace this with your real tests... | {
"content_hash": "e313e899bb99662ceba6be641eca9f11",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 74,
"avg_line_length": 32.53846153846154,
"alnum_prop": 0.6855791962174941,
"repo_name": "hmoco/ember-preprints",
"id": "8a9e53fcda94ce932b7e8351739c6e43744e3fda",
"size": ... |
@interface SomeUnitTest : BaseTestCase
@end
@implementation SomeUnitTest
-(void)setUp {
[super setUp];
// Set-up code here.
}
-(void)tearDown {
// Tear-down code here.
[super tearDown];
}
-(void)testExample {
id mockFoo = [OCMockObject mockForClass:[NSString class]];
[[[mockFoo stub] an... | {
"content_hash": "be6bc90ef4b47458c4c0f02d02b62b3a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 62,
"avg_line_length": 17.583333333333332,
"alnum_prop": 0.6516587677725119,
"repo_name": "twobitlabs/iOSXcodeStarterProject",
"id": "2f5a809d2500415ae334a61b9b7a1f5b38f32b36... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.