text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
namespace Predis\PubSub;
use Predis\ClientException;
use Predis\ClientInterface;
use Predis\NotSupportedException;
/**
* Client-side abstraction of a Publish / Subscribe context.
*
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
abstract class AbstractPubSubContext implements \Iterator
{
const... | {
"content_hash": "dd72981bd25e8d24343163ad93febab4",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 84,
"avg_line_length": 24.665024630541872,
"alnum_prop": 0.5811863391252247,
"repo_name": "h0x91b/redis-v8",
"id": "29126b0a1365d0e9f9ad18ddb334807f8b4d9383",
"size": "523... |
=head1 LICENSE
# Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
# Copyright [2016-2017] EMBL-European Bioinformatics Institute
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# ... | {
"content_hash": "02d3ef7a7eb284c767a4ff38698a56a9",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 131,
"avg_line_length": 26.83448275862069,
"alnum_prop": 0.5539707016191211,
"repo_name": "james-monkeyshines/ensembl-analysis",
"id": "758dd62362f50847314c252b0c4797c0a01b9... |
/**
* Main class for manifestParsing, it takes the URL, parse its content.
*/
package downloader.manifest;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
i... | {
"content_hash": "d4b1f1a12451802033f06e1d7c16cc23",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 112,
"avg_line_length": 26.51818181818182,
"alnum_prop": 0.7086047308878985,
"repo_name": "AhmadBadir/Downloader",
"id": "b067a159dde389b590f7bd47b29e65f60632a2cc",
"size"... |
package de.qaware.oss.metrics.jsr340;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Default;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.spi.InjectionPoint;
import java.util.logging.Logger;
/**
* A CDI producer implementation to inject Logger instance.... | {
"content_hash": "9dc95c065ec8fd59e7e5c589cd30cb6d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 66,
"avg_line_length": 26.379310344827587,
"alnum_prop": 0.7254901960784313,
"repo_name": "lreimer/cloud-native-javaee",
"id": "b01c135038cb7f85210b44c0ac2d873124b20be6",
"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "9132c6c9b9259a7424f803371411bed4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "cf11dde78b81b24af34d7f2da1ea3a13d1557353",
"size": "173... |
package uk.ac.ebi.embl.api.validation.check.genomeassembly;
import org.apache.commons.lang.StringUtils;
import uk.ac.ebi.embl.api.entry.genomeassembly.ChromosomeEntry;
import uk.ac.ebi.embl.api.validation.ValidationEngineException;
import uk.ac.ebi.embl.api.validation.ValidationResult;
import uk.ac.ebi.embl.api.valid... | {
"content_hash": "0ea205a51655ed26a99fe4ae3a21f5cb",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 238,
"avg_line_length": 43.48,
"alnum_prop": 0.765869365225391,
"repo_name": "enasequence/sequencetools",
"id": "cd68bd629682704b1c50fe409d67333ac6a0775c",
"size": "2941",
... |
var m = require('mithril'),
loginSrvc = require('./model/jwtSrvc');
var Home = m.component(require('./pages/Home'), loginSrvc, 'some Text'),
User = m.component(require('./pages/User'), loginSrvc);
m.route.mode = 'hash';
m.route(document.body, '/', {
'/': Home,
'/user': User
});
| {
"content_hash": "ec3eabf477e6b939d45ea99ada2654ce",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 72,
"avg_line_length": 25.833333333333332,
"alnum_prop": 0.5774193548387097,
"repo_name": "cachaito/mithril_jwt",
"id": "73d2c360be98dbbb4c6e6b6cb3e495a8c61e987e",
"size": ... |
using Swashbuckle.AspNetCore.SwaggerGen;
namespace AutoQueryable.AspNetCore.Swagger
{
public static class SwaggerGenOptionsExtensions
{
public static void AddAutoQueryable(this SwaggerGenOptions swaggerGenOptions)
{
swaggerGenOptions.OperationFilter<AutoQueryableOperationFilter>();... | {
"content_hash": "3e519b493c8276c1f09c8e8d5316dd16",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 85,
"avg_line_length": 28.166666666666668,
"alnum_prop": 0.7366863905325444,
"repo_name": "trenoncourt/AutoQueryable",
"id": "deac22a14de6f7705c1280e484cb92ece77f58c7",
"si... |
/*
http://www.cgsoso.com/forum-211-1.html
CG搜搜 Unity3d 每日Unity3d插件免费更新 更有VIP资源!
CGSOSO 主打游戏开发,影视设计等CG资源素材。
插件如若商用,请务必官网购买!
daily assets update for try.
U should buy the asset from home store if u use it in your project!
*/
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
using System;
using... | {
"content_hash": "a2741358b31e7fcbb1d0073a2553a7fc",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 112,
"avg_line_length": 29.73148148148148,
"alnum_prop": 0.5605730302086578,
"repo_name": "SeongBongJang/amuzlabBonRepo",
"id": "e56f2a78e1c5a3ef0d47488bf314f41192cda528",
... |
FROM balenalib/kitra710-fedora:35-run
ENV NODE_VERSION 16.14.0
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver keyserver.ubuntu.com --recv-ke... | {
"content_hash": "e3dad32652afe7277e9a475a4d8e0a20",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 689,
"avg_line_length": 66.34146341463415,
"alnum_prop": 0.7080882352941177,
"repo_name": "resin-io-library/base-images",
"id": "8ab1b99f1afec20c25b32b34d9ea71ba1e197810",
... |
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="latest_ob.xsl" type="text/xsl"?>
<current_observation version="1.0"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.weather.gov/view/current_observation.... | {
"content_hash": "2784d0aab819ef5c196cab947455db8c",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 90,
"avg_line_length": 44.04,
"alnum_prop": 0.717983651226158,
"repo_name": "pjconsidine/codingclass",
"id": "8a98d6215adf61e81184e3c6a406b48a13d1f7c1",
"size": "2202",
"... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sohu.cache.dao.AppDao">
<sql id="app_desc_add_fields">
app_id,name,user_id,status,intro,create_time,passed_time,type,officer,
... | {
"content_hash": "cefd79a0bcf8e107414d24af2687e9ad",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 193,
"avg_line_length": 38.066964285714285,
"alnum_prop": 0.5825026386771432,
"repo_name": "sohutv/cachecloud",
"id": "4ac47f8063fb17fc62fa2a2b86faeb19143d17bb",
"size": "... |
module Predicated
module PrintSupport
def inspect(indent="")
indent + to_s
end
private
def part_to_s(thing)
part_to_str(thing) {|thing| thing.to_s}
end
def part_inspect(thing, indent="")
part_to_str(thing, indent) {|thing| thing.inspect(indent)}
end
def par... | {
"content_hash": "baf8c8a9cd1da414623951e8fca11511",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 85,
"avg_line_length": 22.725806451612904,
"alnum_prop": 0.5592618878637331,
"repo_name": "sconover/predicated",
"id": "7939a1a3a41bff9196e1b9456204f2b4f60c74c7",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "41bfc1d86a1eaec14318f0da9bed83c3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "67bdc16aa588bf702e90778845ce1222041919ef",
"size": "186... |
<!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 Wed Nov 21 16:03:56 EST 2012 -->
<TITLE>
Uses of Class org.pentaho.di.core.database.SequenceMetaTests
</TITLE>
<META NAME="date" CONTENT="201... | {
"content_hash": "581d795bba3e9554fb13627238370838",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 234,
"avg_line_length": 42.048611111111114,
"alnum_prop": 0.6132122213047069,
"repo_name": "ColFusion/PentahoKettle",
"id": "f4f536744f960dc9f395f95da06f832fac9b8670",
"si... |
#import "BPMViewController.h"
#import "ScannerViewController.h"
#import "Constants.h"
#import "AppUtilities.h"
#import "CharacteristicReader.h"
#import "HelpViewController.h"
@interface BPMViewController () {
CBUUID *bpmServiceUUID;
CBUUID *bpmBloodPressureMeasurementCharacteristicUUID;
CBUUID *bpmInterm... | {
"content_hash": "5b1e72efd017b94434687901e6ddd593",
"timestamp": "",
"source": "github",
"line_count": 371,
"max_line_length": 194,
"avg_line_length": 39.3800539083558,
"alnum_prop": 0.6668720054757016,
"repo_name": "szqt/IOS-nRF-Toolbox",
"id": "940287699910b4f599fc6cbff91dd46c3323a1fe",
"size": ... |
package com.sourceallies.aeleakdetection;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.hamcrest.text.*;
import org.springframework.boot.test.SpringApplicationConfiguration;
import org.springframework.http.MediaType;
import org.springframework.mock.web.MockServletContext;
... | {
"content_hash": "036ace98b311b209d143473a25f605a2",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 87,
"avg_line_length": 36.07692307692308,
"alnum_prop": 0.7846481876332623,
"repo_name": "iowatiger08/AELeakDetectLibrary",
"id": "611ef9ba6226d340da92919b5353eed45e139dfe",
... |
<?xml version="1.0"?>
<project name="ejb3" basedir="." default="usage">
<!-- IMPORTS -->
<import file="${ts.home}/src/com/sun/ts/tests/ejb30/persistence/common/persistence-import.xml"/>
<import file="${ts.home}/bin/xml/ts.import.xml"/>
<property name="app.name" value="ejb3_field_types"/>
<property... | {
"content_hash": "0dadde4df33baef91c33fa5172c568ef",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 99,
"avg_line_length": 31.526315789473685,
"alnum_prop": 0.6001669449081803,
"repo_name": "datanucleus/tests",
"id": "19ab54d21e1d939e1b2696c2ed2a7926c45d7122",
"size": "11... |
package grammar
import (
"github.com/google/badwolf/bql/lexer"
"github.com/google/badwolf/bql/semantic"
)
var (
// bql LL1 grammar.
bql *Grammar
// semanticBQL contains the BQL grammar with hooks injected.
semanticBQL *Grammar
)
func init() {
initBQL()
initSemanticBQL()
}
// BQL LL1 grammar.
func BQL() *Gra... | {
"content_hash": "691098a2d4a75c8648ad9c2d3db16c06",
"timestamp": "",
"source": "github",
"line_count": 865,
"max_line_length": 84,
"avg_line_length": 21.4485549132948,
"alnum_prop": 0.5987171885948365,
"repo_name": "pombredanne/badwolf",
"id": "9a608d7157ff6cec7f12e10ce43b5e3e684eca18",
"size": "1... |
package io.swagger.api.impl;
import io.swagger.api.*;
import io.swagger.model.*;
import io.swagger.model.AuthorizeBody;
import io.swagger.model.BookBody;
import io.swagger.model.CreateBody;
import io.swagger.model.OnUsCreditTransferNLInfo;
import io.swagger.model.RejectClosedAccountBody;
import io.swagger.model.Rejec... | {
"content_hash": "b71606391c162b333718325ef7d2d974",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 184,
"avg_line_length": 47.25454545454546,
"alnum_prop": 0.7726048480184686,
"repo_name": "maartenvanheek/rebelapi",
"id": "ab62feb7dba3d273e80701df5d13d6b651686c10",
"size... |
clear
fake build -t build
| {
"content_hash": "04dabb600002cefd2ba944cfb0d2b289",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 19,
"avg_line_length": 13,
"alnum_prop": 0.7692307692307693,
"repo_name": "yjpark/dotfiles",
"id": "bb88169373a01bb73a5a83a62aa2f9333225b3e8",
"size": "26",
"binary": fals... |
package com.example.android.bitmapfun.util;
import com.example.android.bitmapfun.BuildConfig;
import android.content.Context;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable... | {
"content_hash": "9d27d31166680c0feb364f37334ea658",
"timestamp": "",
"source": "github",
"line_count": 463,
"max_line_length": 102,
"avg_line_length": 37.08639308855292,
"alnum_prop": 0.6162716207559257,
"repo_name": "indashnet/InDashNet.Open.UN2000",
"id": "d260660113c536e35bfb95513a32de82e2695f64"... |
<?php
namespace App\Console\Commands;
use App\Rate;
use Illuminate\Console\Command;
class CleanCsv extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'csv:clean';
/**
* The console command description.
*
* @... | {
"content_hash": "454a1cb55f8b974ae05e3aa78d1fccc5",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 94,
"avg_line_length": 21.417721518987342,
"alnum_prop": 0.48226950354609927,
"repo_name": "LucasLeandro1204/cotacao-api",
"id": "9c2c6711fa783bc38976931361e6108d0f61f2a9",
... |
package com.example.pinpaiactivity;
import java.util.ArrayList;
import java.util.List;
import com.example.activity.R;
import com.example.adapter.PinPaiAdapter;
import com.example.driverapp.widget.ElasticListViewBai;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
publ... | {
"content_hash": "e3ad33ca127602a4a5bbe46a70d9285f",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 96,
"avg_line_length": 28.903225806451612,
"alnum_prop": 0.7600446428571429,
"repo_name": "hxh129/AndroidProject",
"id": "ed06bb4522e6460bf87ebd26465d91eff49e26ba",
"size":... |
from open_facebook.api import *
import unittest
import logging
import mock
import datetime
from open_facebook.exceptions import OpenGraphException
logger = logging.getLogger()
from open_facebook.utils import json
TEST_USER_FORCE_CREATE = False
TEST_USER_DICT = {
'tommy': dict(name='Tommaso Ilgubrab'),
'thi': ... | {
"content_hash": "44d0de6e76b10c49ec9df0f3cfeec40d",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 457,
"avg_line_length": 38.783018867924525,
"alnum_prop": 0.6157463715235547,
"repo_name": "michaelBenin/Django-facebook",
"id": "a25560f0ddb271ba2346acc778f1c22749f5ac55",
... |
<?php
/**
* Simple test script for Propel drivers.
*
* This script will no do in-depth testing, but is designed to test whether drivers
* are correctly performing basic operations -- SELECT, UPDATE, DELETE, limit support,
* prepared query emulation, etc.
*
* IMPORTANT:
*
* Use this script with a clean versi... | {
"content_hash": "1b0acf24afee243693fc348e1cb6ac59",
"timestamp": "",
"source": "github",
"line_count": 805,
"max_line_length": 135,
"avg_line_length": 27.034782608695654,
"alnum_prop": 0.6326333685613197,
"repo_name": "alfonsojimenez/propel_15",
"id": "7455e9011156ece941f6cb5afc9dff39cc413929",
"s... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5d0c66ddf57f1bb6680c6c345154c9f9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "b3cf8316acdcca030375286cfe82296996474195",
"size": "18... |
package org.apache.cassandra.serializers;
import java.nio.ByteBuffer;
import java.util.LinkedHashMap;
import java.util.Map.Entry;
import org.apache.cassandra.utils.ByteBufferUtil;
public class UserTypeSerializer extends BytesSerializer
{
public final LinkedHashMap<String, TypeSerializer<?>> fields;
public ... | {
"content_hash": "54ee15c8f9496e8afef0f03e4df09f8b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 140,
"avg_line_length": 34.56896551724138,
"alnum_prop": 0.6064837905236907,
"repo_name": "krummas/cassandra",
"id": "7af6c4a78158f990c912653c9d6c1cabb2262873",
"size": "28... |
=========
Packstack
=========
SYNOPSIS
========
packstack [options]
DESCRIPTION
===========
Packstack is a utility that uses uses puppet modules to install OpenStack. It can be used to install each openstack service on separate servers, all on one server or any combination of these. There are 3 ways that Packstack... | {
"content_hash": "e002d432a1ffa0e5de72ac498dcbf004",
"timestamp": "",
"source": "github",
"line_count": 518,
"max_line_length": 390,
"avg_line_length": 35.237451737451735,
"alnum_prop": 0.715334465567304,
"repo_name": "reelai/packstack",
"id": "b7f9fe4964dbe447b6352392ba1eb30a17d215b7",
"size": "18... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4ef2098291a6d8c4524f78c6420baf28",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "f58ef73e6ecfb61c31dc4db266d28d13d41e5574",
"size": "19... |
package com.dgwave.car.maven;
import java.io.File;
import java.util.Arrays;
import java.util.List;
import org.codehaus.plexus.component.annotations.Component;
import org.codehaus.plexus.component.annotations.Requirement;
import org.codehaus.plexus.logging.Logger;
import org.eclipse.aether.artifact.Artifact;
... | {
"content_hash": "3a810a7d11c81a11f49a9525a9ddb5bb",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 108,
"avg_line_length": 31.59090909090909,
"alnum_prop": 0.6306954436450839,
"repo_name": "dgwave/ceylon-maven-plugin",
"id": "080447668e957312e6f1ea4182490fbbd237e79d",
"s... |
<?php
/**
* @package The_SEO_Framework\Classes
*/
namespace The_SEO_Framework;
defined( 'ABSPATH' ) or die;
/**
* The SEO Framework plugin
* Copyright (C) 2015 - 2016 Sybre Waaijer, CyberWire (https://cyberwire.nl/)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms o... | {
"content_hash": "64f243ee63fcd28013aeb8c41b5fe767",
"timestamp": "",
"source": "github",
"line_count": 1115,
"max_line_length": 223,
"avg_line_length": 26.91748878923767,
"alnum_prop": 0.6027054942858094,
"repo_name": "Kilbourne/biosphaera",
"id": "a175e91f0f722ab2694c4b6e0c899a09d29b596a",
"size"... |
FROM ubuntu:xenial
ENV LANG=en_US.UTF-8
RUN \
apt-get update && \
apt-get upgrade -y && \
apt-get install -y --allow-unauthenticated \
locales \
ca-certificates tzdata python2.7 netcat htop less curl libmysqlclient20 \
libjpeg8 libpng12-0 libxslt1.1 \
libmysqlclient-dev pyt... | {
"content_hash": "40190e9e6f1bcbbdb67dbdf5dbfc3753",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 130,
"avg_line_length": 37.333333333333336,
"alnum_prop": 0.65625,
"repo_name": "andriyg76/docker",
"id": "075a9c9d36a7909c65276ae0ca2b06cf2865ddc6",
"size": "672",
"bina... |
#include <aws/ecs/model/NetworkBinding.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace ECS
{
namespace Model
{
NetworkBinding::NetworkBinding() :
m_bindIPHasBeenSet(false),
m_containerPort(0),
... | {
"content_hash": "37a9f49e3e62dc933a5aecfdb83886b2",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 103,
"avg_line_length": 18.902912621359224,
"alnum_prop": 0.7082691319979456,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "33e7197227cf076d4cb04a4a1094ad2daad508b7",
"size":... |
'use strict';
var config = require('../config.js');
function checkAndCreateAlias(indexName, termValue, routingValue, resMsg, aliasToken, esClient)
{
console.log('index ['+indexName+'] with UUID ['+routingValue+']. Creating Alias for index ['+indexName+']!');
var aliasBodyWrite = {
"actions": [{
"... | {
"content_hash": "a5673ebb79083e3428ef0297e3dd1b4b",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 227,
"avg_line_length": 47.07142857142857,
"alnum_prop": 0.5870138167877965,
"repo_name": "vinvantest/biz_rec_code",
"id": "863635c93511039ec44680a6834baaa6e9ed83e7",
"siz... |
package com.vk.api.sdk.queries.notifications;
import com.vk.api.sdk.client.AbstractQueryBuilder;
import com.vk.api.sdk.client.VkApiClient;
import com.vk.api.sdk.client.actors.UserActor;
import com.vk.api.sdk.objects.base.BoolInt;
import java.util.Arrays;
import java.util.List;
/**
* Query for Notifications.markAsVi... | {
"content_hash": "f5cfa315964d6b793ab8eefffbb398a2",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 115,
"avg_line_length": 30.771428571428572,
"alnum_prop": 0.7307335190343547,
"repo_name": "kokorin/vk-java-sdk",
"id": "3ac597b23adff08ce3dd5a9d41f570792846bcfd",
"size": ... |
import pytest
import numpy as np
from numpy.testing import assert_allclose
from .... import units
from ....tests.helper import assert_quantity_allclose
from .. import LombScargle
ALL_METHODS = LombScargle.available_methods
ALL_METHODS_NO_AUTO = [method for method in ALL_METHODS if method != 'auto']
FAST_METHODS = [m... | {
"content_hash": "a1d1f4bd66c123df19adb0c68c1b3b66",
"timestamp": "",
"source": "github",
"line_count": 497,
"max_line_length": 79,
"avg_line_length": 34.074446680080484,
"alnum_prop": 0.6220253912016533,
"repo_name": "kelle/astropy",
"id": "1f8211fcf340abb04e6a76b702a38e96c513d795",
"size": "16935... |
<!-- Portfolio Grid Section -->
<section id="portfolio">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2 class="section-heading">Portfolio</h2>
<h3 class="section-subheading text-muted">Lorem ipsum dolor sit amet consectetur.</h3>
</div>
... | {
"content_hash": "36ea5e6d54c99fa3422c78c518e56b45",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 101,
"avg_line_length": 36.96551724137931,
"alnum_prop": 0.5149253731343284,
"repo_name": "iagomosqueira/agency",
"id": "6cd33dd0c2ba1ccd227aebd3651b15153ec81a6e",
"size": ... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "f73d5932781c37f777c5aa3758010e6e",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 112,
"avg_line_length": 49.10344827586207,
"alnum_prop": 0.6457162921348315,
"repo_name": "naveedaz/azure-powershell",
"id": "efbe13f80cbab1853af1c98b1118b4ced85fbe30",
"s... |
<section data-ng-controller="ApisController">
<div class="page-header">
<h1>New Api</h1>
</div>
<div class="col-md-12">
<form class="form-horizontal" data-ng-submit="create()" novalidate>
<fieldset>
<div class="form-group">
<label class="contro... | {
"content_hash": "eff5bdec6ab650f74979092cc241c883",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 123,
"avg_line_length": 37.69565217391305,
"alnum_prop": 0.49596309111880044,
"repo_name": "PongPi/admissions",
"id": "2e14b2c38f213f95d8059ba6b3f2649b12a6ae55",
"size": "8... |
import json
class ApiBase:
def __init__(self, name):
self.name = name
self.is_auth = False
self.username = ""
def icon_url(self):
raise NotImplementedError
def oauth_link(self):
raise NotImplementedError
def oauth_callback(self, params):
raise NotImpl... | {
"content_hash": "553a6974660828d35cfc9f777c1d0717",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 47,
"avg_line_length": 19.823529411764707,
"alnum_prop": 0.5756676557863502,
"repo_name": "blukat29/notifyhere",
"id": "5bccd5b02f4ae6371033b7265a5140983637688c",
"size": "... |
import Lumines from './src/Lumines.js';
let config = {
baseGravity: 120
};
const lumines = new Lumines(document.getElementById('lumines'), config);
lumines.start();
document.getElementById('stop').onclick = () => {
lumines.stop();
};
document.getElementById('start').onclick = () => {
lumines.start();
};
| {
"content_hash": "0e6ef22d9dc635b96b0f4d96bb83a9b8",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 72,
"avg_line_length": 22.785714285714285,
"alnum_prop": 0.6614420062695925,
"repo_name": "tobice/flux-lumines",
"id": "d655916d87599d22cf0619f3503850171a729bbc",
"size": "... |
#include <aws/servicecatalog/model/AccessLevelFilterKey.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace ServiceCatalog
{
namespace Model
{
namespace AccessLevelFi... | {
"content_hash": "fd54595ef951b80dc96ce5f179c7c2d2",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 92,
"avg_line_length": 29.835616438356166,
"alnum_prop": 0.610651974288338,
"repo_name": "ambasta/aws-sdk-cpp",
"id": "a310f24aaed7f28e6a75c350b20b2b5644b7ba78",
"size": "2... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Composition;
using Microsoft.CodeAnalysis.Formatting.R... | {
"content_hash": "4317abf584342aa40e50ea3661064998",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 126,
"avg_line_length": 37.40350877192982,
"alnum_prop": 0.6810506566604128,
"repo_name": "davkean/roslyn",
"id": "9d2dc49079c73d2df84b91d038d1d7205a1fe9aa",
"size": "2134"... |
import GridSquare
import random
from PIL import Image, ImageDraw
class DungeonRoom(object):
"""
This class is an object which describes a room in the Dungeon. It includes a
list of GridSquares, creatures, and the top-left position
"""
def __randint(self, a, b, seed):
"""
This method... | {
"content_hash": "59426220b1281ee4791541a720494897",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 80,
"avg_line_length": 28.914285714285715,
"alnum_prop": 0.5148221343873518,
"repo_name": "zmcneilly/gm_tools",
"id": "71274c616499dee4e60d8749d1363df69b97793c",
"size": "2... |
using System.Collections.Concurrent;
namespace Nimbus.Extensions
{
internal static class ConcurrentBagExtensions
{
internal static void Clear<T>(this ConcurrentBag<T> bag)
{
T dummy;
while (bag.TryTake(out dummy))
{
}
}
}
} | {
"content_hash": "85f03ff3924eb03671061904a1a2e578",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 64,
"avg_line_length": 20.6,
"alnum_prop": 0.5598705501618123,
"repo_name": "NimbusAPI/Nimbus",
"id": "5e09ae61edda3dc36829ad25bc1c7eb3af28b1af",
"size": "311",
"binary":... |
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:media="http://search.yahoo.com/mrss/"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>XML Sitemaps RSS Feed</title>
<link>http://www.example.com/</link>
<description>Exampl... | {
"content_hash": "3b2dff4b64e5873de1c2b7437c9cef14",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 49,
"avg_line_length": 27.933333333333334,
"alnum_prop": 0.6205250596658711,
"repo_name": "dhl/maxml",
"id": "1f185901ff974fcc262f59a7a37d93fae32a310c",
"size": "419",
"b... |
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this... | {
"content_hash": "8335a9cd90f6c78e731159fcbcc7a4c1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 83,
"avg_line_length": 40.69565217391305,
"alnum_prop": 0.7702991452991453,
"repo_name": "ilgrosso/syncope",
"id": "24c716b8bcd833a06f4b802f87b73fb8826b3565",
"size": "936"... |
@interface RXCurrentQueueViewController : UIViewController
@end
| {
"content_hash": "041b222bfde78379b1a0e9062cce84a6",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 58,
"avg_line_length": 21.666666666666668,
"alnum_prop": 0.8615384615384616,
"repo_name": "xzjxylophone/RXVerifyExample",
"id": "75810dd5db543bccd9823aba5b2367f5e599fef6",
"... |
module TransitlandClient
# Inherit from StandardError to provide error classes specific
# to different parts of the TransitlandClient. An ApiException
# will be raised when there is an error during an HTTP API call.
class ApiException < StandardError
end
# Inherit from StandardError to provide error class... | {
"content_hash": "6f19c6ab31d1de159f8f0563092a3f44",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 72,
"avg_line_length": 40.04545454545455,
"alnum_prop": 0.7832009080590239,
"repo_name": "transitland/transitland-ruby-client",
"id": "0e7ee032fa52b5787cf986f863b6669be3ca287... |
__author__ = 'SkyLapse'
from model.basemodel import BaseModel
class ApiKeyModel(BaseModel):
def get_collection(self):
return self.db['apikeys']
def _populate(self, item):
return {
"key": item["key"],
"machineName": item["machineName"],
"user": item["user"]... | {
"content_hash": "f5e6cadef03093d01a34b68962cae9d9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 47,
"avg_line_length": 22,
"alnum_prop": 0.5575757575757576,
"repo_name": "SkyLapse/DMS",
"id": "62aeb55489186b9dbe3771f17f21145868942a97",
"size": "330",
"binary": false... |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/code_cache/generated_code_cache.h"
#include <iostream>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "base/feature_list.h"
#inc... | {
"content_hash": "cebc74a0a9bcfcf322bcd828d7f21f84",
"timestamp": "",
"source": "github",
"line_count": 993,
"max_line_length": 80,
"avg_line_length": 39.03323262839879,
"alnum_prop": 0.6726522187822498,
"repo_name": "nwjs/chromium.src",
"id": "4030ed6ecfa04008f000db59fd5f0a28a3c24015",
"size": "38... |
<?php
namespace Tests\Flarum\Api\Handler;
use Flarum\Api\Handler\FloodingExceptionHandler;
use Flarum\Core\Exception\FloodingException;
use Tests\Test\TestCase;
class FloodingExceptionHandlerTest extends TestCase
{
private $handler;
public function init()
{
$this->handler = new FloodingExceptionH... | {
"content_hash": "7e8d7325b8228ab5351b40fa713d2520",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 74,
"avg_line_length": 26.733333333333334,
"alnum_prop": 0.6845386533665836,
"repo_name": "kirkbushell/core",
"id": "fae69cc0050e874f3c604ec890ad51d10a171dfa",
"size": "802... |
namespace Amazon.Lambda.DynamoDBEvents
{
using Amazon.DynamoDBv2.Model;
using System;
using System.Collections.Generic;
/// <summary>
/// AWS DynamoDB event
/// http://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html
/// http://docs.aws.amazon.com/lambda/latest/dg/eventsources.ht... | {
"content_hash": "26df077c33d8ba0e9534463f6bc0bc2e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 96,
"avg_line_length": 31.125,
"alnum_prop": 0.5732931726907631,
"repo_name": "thedevopsmachine/aws-lambda-dotnet",
"id": "310f4ab613f27e43f8f6ae6ed6da01332d5bb412",
"size"... |
package com.amazonaws.services.robomaker.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/robomaker-2018-06-29/ListSimulationApplications"
* target="_top">AWS API Documentation</... | {
"content_hash": "fd4cfda9add9a8bea7990486c9eae356",
"timestamp": "",
"source": "github",
"line_count": 430,
"max_line_length": 129,
"avg_line_length": 43.9953488372093,
"alnum_prop": 0.6482714874722486,
"repo_name": "jentfoo/aws-sdk-java",
"id": "5c8f7362dc1882ecaf278a4254a5e5765cb149d1",
"size": ... |
#ifndef TEE_OBJ_H
#define TEE_OBJ_H
#include <tee_api_types.h>
#include <kernel/tee_ta_manager.h>
#include <sys/queue.h>
#define TEE_USAGE_DEFAULT 0xffffffff
struct tee_obj {
TAILQ_ENTRY(tee_obj) link;
TEE_ObjectInfo info;
bool busy; /* true if used by an operation */
uint32_t have_attrs; /* bitfield identi... | {
"content_hash": "a2a03c3397d7fbd2968e305a3a0a0b41",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 74,
"avg_line_length": 25.42105263157895,
"alnum_prop": 0.6987577639751553,
"repo_name": "matt2048/optee_os",
"id": "2902932ce5f049884b876f8ff5e92f189b41813b",
"size": "235... |
Lean Tutorial
=============
Introduction
------------
Lean is an automatic and interactive theorem prover. It can be used to
create specifications, build mathematical libraries, and solve
constraints. In this tutorial, we introduce basic concepts, the logic
used in Lean, and the main commands.
Getting started
------... | {
"content_hash": "3e1c49780f08b25266369cbfb6b68503",
"timestamp": "",
"source": "github",
"line_count": 684,
"max_line_length": 548,
"avg_line_length": 39.646198830409354,
"alnum_prop": 0.6681539936573494,
"repo_name": "codyroux/lean0.1",
"id": "9f1235700c7e251eac28b99010562080e916228d",
"size": "2... |
"""Contains functions for performing events on rooms."""
from twisted.internet import defer
from ._base import BaseHandler
from synapse.types import UserID, RoomAlias, RoomID, RoomStreamToken
from synapse.api.constants import (
EventTypes, JoinRules, RoomCreationPreset
)
from synapse.api.errors import AuthError, ... | {
"content_hash": "77014ab745ab73a7d45469f062d8ebda",
"timestamp": "",
"source": "github",
"line_count": 493,
"max_line_length": 83,
"avg_line_length": 31.093306288032455,
"alnum_prop": 0.5108617652814926,
"repo_name": "TribeMedia/synapse",
"id": "99cb7db0db40d97995a93b3c29377b02f2003d3a",
"size": "... |
@interface SFModularization ()
@property (strong, nonatomic) NSMutableArray *modules;
@property (strong, nonatomic) NSMutableDictionary *nameModuleMap;
@property (strong, nonatomic) NSMutableDictionary *protocolModuleMap;
@property (strong, nonatomic) NSMutableDictionary *eventModulesMap;
@end
@implementation SFM... | {
"content_hash": "15a6dea5ded2b0036e66cec95d8fc096",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 166,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.6732307692307692,
"repo_name": "sofach/SFModularization",
"id": "cc606c6792af39d863366f9a67582b93283bb599",
"si... |
from .count import smartseq_count, droplet_count
from .quant import quant
__all__ = ["count", "detect"] | {
"content_hash": "056321035d3f89bc9789156888d82a16",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 48,
"avg_line_length": 26,
"alnum_prop": 0.7115384615384616,
"repo_name": "huangyh09/brie",
"id": "4f2697e40067d74f1c9a57d2a1ea4dbbea4e5825",
"size": "104",
"binary": fals... |
package org.spongepowered.api.util;
import com.google.common.collect.ImmutableSet;
import java.util.Arrays;
import java.util.Collection;
import java.util.Optional;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.Executor;
import j... | {
"content_hash": "b0e494d62f062da3d531452b51113cca",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 137,
"avg_line_length": 30.63063063063063,
"alnum_prop": 0.6176470588235294,
"repo_name": "ryantheleach/SpongeAPI",
"id": "4e630341036607bf664c90986a8352148c62b226",
"size... |
package rest;
import java.sql.Date;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.ServletContext;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws... | {
"content_hash": "203181467dcff10b5fe7d10106cca283",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 140,
"avg_line_length": 29.482758620689655,
"alnum_prop": 0.7214424951267057,
"repo_name": "ravelinx22/Iteracion2Sistrans",
"id": "9cb00823cd90a94b7c8d149b090486ef0bdb925e",... |
class ApplicationController < ActionController::Base
helper :all # include all helpers, all the time
# See ActionController::RequestForgeryProtection for details
# Uncomment the :secret if you're not using the cookie session store
protect_from_forgery # :secret => '09df61bbb1d592d41d68a3205f2816d0'
# See ... | {
"content_hash": "0fc5bbebeebaf2df68be1979974cf2f6",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 85,
"avg_line_length": 47.166666666666664,
"alnum_prop": 0.7756183745583038,
"repo_name": "remi/aux_codes",
"id": "f91eee790c19af583477c7a883ff1033b19c26d6",
"size": "720",... |
// Portions of this code come from the following open source works
/*
* uuidP.h -- private header file for uuids
*
* Copyright (C) 1996, 1997 Theodore Ts'o.
*
* %Begin-Header%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | {
"content_hash": "f6ee9179fcfb35de18aaf40d2e8cc26d",
"timestamp": "",
"source": "github",
"line_count": 284,
"max_line_length": 82,
"avg_line_length": 35.26056338028169,
"alnum_prop": 0.6690633113640903,
"repo_name": "googlestadia/pal",
"id": "8ee45ed3ee098d082c7e7789b3efe02179bf6325",
"size": "114... |
A Prolog compiler with an emphasis on running in and generating code for as many places as possible.
### Key goals:
* Reach: run identically on many platforms
* Speed: have reasonable performance, try to beat SWI Prolog
* Standards: move towards ISO compliance
* Extensibility: easy to implement native predicates
* Con... | {
"content_hash": "c7129f7397c0abedbca3f57e6ffccee5",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 220,
"avg_line_length": 56,
"alnum_prop": 0.8035714285714286,
"repo_name": "nickmain/anaphor-prolog",
"id": "0b86c6a801dd5f84d7b0811b3e1c2c14ebe37c24",
"size": "634",
"bi... |
  
# react-youtube
Simple [React](http://facebook.github.io/react/) componen... | {
"content_hash": "cd3c9ea298664f249167c83284663f4c",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 244,
"avg_line_length": 35.5875,
"alnum_prop": 0.6592904812082895,
"repo_name": "troybetz/react-youtube",
"id": "ab24c650b09a7332dc875039c034a54a558b52fd",
"size": "2847",
... |
<!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_102-google-v7) on Wed Jan 11 15:17:54 PST 2017 -->
<title>FsFile.Filter</title>
<meta name="date" content="2017-01-11">
<link rel="stylesheet" ... | {
"content_hash": "f0b14c7732bfb22c1aa64d34c5320741",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 391,
"avg_line_length": 34.36607142857143,
"alnum_prop": 0.6286048324240062,
"repo_name": "robolectric/robolectric.github.io",
"id": "9b6a7132a7776556b98f909c5724c6a5c9667a8... |
package de.framey.lab.evil.eviltentaclesofdeath.asm.command;
import java.util.Stack;
import org.objectweb.asm.tree.AbstractInsnNode;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.MethodInsnNode;
import org.objectweb.asm.tree.MethodNode;
import de.framey.lab.evil.eviltentaclesofdeath.Tentacle... | {
"content_hash": "7fad70e945b91c79c4c3d6ccfb2884ba",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 126,
"avg_line_length": 34.049180327868854,
"alnum_prop": 0.7631198844487241,
"repo_name": "Franknjava/TheNightOfTheTentacles",
"id": "061291bfea3886e9ca2c4d3e75685b8791aa10e... |
(function ($, window, undefined) {
$.fn.simplyScroll = function (options) {
return this.each(function () {
new $.simplyScroll(this, options);
});
};
var defaults = {
customClass: 'simply-scroll',
frameRate: 24, //No of movements per second
speed: 1, //... | {
"content_hash": "5b042324fdc89cfe045a8e7087b21489",
"timestamp": "",
"source": "github",
"line_count": 394,
"max_line_length": 172,
"avg_line_length": 40.1243654822335,
"alnum_prop": 0.4750458599531912,
"repo_name": "linayaounsw/linayaounsw.github.io",
"id": "9be86ddf82bc4039230c8a1c697924e61d2b2802... |
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
tools:context="org.opensharingtoolkit.nodeapp.MainActivity" >
<item
android:id="@+id/action_settings"
android:orderInCatego... | {
"content_hash": "3ae4af206a1c1e45f29658498d33c0f0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 35.083333333333336,
"alnum_prop": 0.6817102137767221,
"repo_name": "cgreenhalgh/opensharingtoolkit-nodeapps",
"id": "15eb2289c0d2114566cc0114a94fb9eb52... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\models\ProductsSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="products-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
... | {
"content_hash": "7d4a1cea01d837c292876a22da921c35",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 75,
"avg_line_length": 23.358974358974358,
"alnum_prop": 0.5016465422612514,
"repo_name": "SergeiHaidukov/c-fashion.ru",
"id": "34932e631c4a53975c6da1ba6266fdc26cee0a7b",
"... |
/**
* @class SimpleTasks.ux.ReminderColumn
* @extends Ext.grid.column.Column
* A grid column for selecting reminder times
*/
Ext.define('SimpleTasks.ux.ReminderColumn', {
extend: 'Ext.grid.column.Column',
xtype: 'remindercolumn',
config: {
/**
* @cfg {String} menuPosition
... | {
"content_hash": "72a6a89aab318c0e82baa9cac874037e",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 116,
"avg_line_length": 31.283333333333335,
"alnum_prop": 0.526638252530634,
"repo_name": "sqlwang/DeviceManagementSystem",
"id": "ea0483f8dabe3626ecb56dd70d01ea63c2e5368f",... |
<?php
namespace MagentoHackathon\Composer\Magento;
/**
* Parser class supporting translating path mappings according to
* the composer.json configuration.
*/
abstract class PathTranslationParser implements Parser
{
/**
* @var array Variants on each prefix that path mappings are checked
* against.
... | {
"content_hash": "8581124a195e8e99592ac488919f4b98",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 84,
"avg_line_length": 34.47126436781609,
"alnum_prop": 0.6128709569856619,
"repo_name": "j-froehlich/magento2_wk",
"id": "6ededdc1fe5016a59a5e572a9b2da1a379d396c2",
"size"... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.nativelibs4java.opencl.blas;
import com.nativelibs4java.opencl.CLEvent;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author ochafik
*/
public class CLEvents {
CLEvent lastWriteEvent;
... | {
"content_hash": "e080e197a45ab64472a5fa2992fdd9c7",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 111,
"avg_line_length": 30.318181818181817,
"alnum_prop": 0.6154422788605697,
"repo_name": "ctrimble/JavaCL",
"id": "f78a714fe06129901e55cb2fbe2978e587462e1e",
"size": "266... |
title: Authenticate
description: This tutorial will show you how to use the Auth0 WCF SDK to add authentication and authorization to your API.
---
::: panel-info System Requirements
This tutorial and seed project have been tested with the following:
* Microsoft Visual Studio 2015
:::
This tutorial explains how to con... | {
"content_hash": "ec73c771c1e9a8d96f984edde6129224",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 516,
"avg_line_length": 44.294871794871796,
"alnum_prop": 0.7765557163531114,
"repo_name": "Catografix/docs",
"id": "37c42c2b95ab7c5c4ec5dff4b58bdd65146eed71",
"size": "345... |
#ifndef _CONNECTION_FUNCTIONS_HEADER_
#define _CONNECTION_FUNCTIONS_HEADER_
#include "connection.h"
Connection * makeConnection(int socket);
void stopConnection(Connection * con);
void delConnection(Connection * con);
#endif /* _CONNECTION_FUNCTIONS_HEADER_ */
| {
"content_hash": "783117c9b9c53163ad9570c84153e56e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 42,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.7669172932330827,
"repo_name": "JamesKoenig/Gs503ToSql",
"id": "ad384f0c0b71ef3bb217db95fa4b434506dfb857",
"size"... |
require 'spec_helper'
describe Life do
it 'has a version number' do
expect(Life::VERSION).not_to be nil
end
end
| {
"content_hash": "ab90b1a9b07801af262130ffc9d82448",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 39,
"avg_line_length": 17.285714285714285,
"alnum_prop": 0.7024793388429752,
"repo_name": "jknabl/game-of-life",
"id": "b698e84984f539207f2b46191ae5d5fef301a4b4",
"size": "1... |
<?php
namespace Phython\Exceptions;
class OutputException extends JsonException
{
//
}
| {
"content_hash": "fd2a2d951dcf9578bdb70702c7807ef0",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 43,
"avg_line_length": 11.625,
"alnum_prop": 0.7419354838709677,
"repo_name": "marella/phython",
"id": "45f991bd7c7d8f46e9897659b888f72c0e53658c",
"size": "93",
"binary": ... |
<!-- Example taken from http://getbootstrap.com/examples/jumbotron-narrow/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
... | {
"content_hash": "c9806b622f824640d3b340f2a65bf462",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 202,
"avg_line_length": 38.598130841121495,
"alnum_prop": 0.5588377723970944,
"repo_name": "madeindublin/madeindublin.github.io",
"id": "9625e9c9e8ae9989e2a772fa9424fa5a4d2b... |
package org.cicadasong.cicadalib;
public class CicadaIntents {
private CicadaIntents() {
}
public static final String PACKAGE_PREFIX = "org.cicadasong.cicada.";
public static final String EXTRA_APP_MODE = "mode";
public static final String EXTRA_APP_NAME = "name";
public static final String EXTRA_SES... | {
"content_hash": "f1cb83716dcaf5f0c37cb65aa811e139",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 95,
"avg_line_length": 46.96551724137931,
"alnum_prop": 0.7400881057268722,
"repo_name": "cicada-dev/cicada",
"id": "f45507962946a746d73697c6b959c271646cfdff",
"size": "199... |
namespace Exceptionless.Web.Models;
public class UpdateProject {
public string Name { get; set; }
public bool DeleteBotDataEnabled { get; set; }
}
| {
"content_hash": "70c49667d1586997b674d3f0db221a7a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 50,
"avg_line_length": 26.166666666666668,
"alnum_prop": 0.7197452229299363,
"repo_name": "exceptionless/Exceptionless",
"id": "0b329277c21e4c6e384cb01a563ee435a48e2d13",
"s... |
"""
July 10th, 2015
werewolf refactor
"""
import time
import math
import yaml
import json
import copy
import random
from collections import defaultdict
import change_state
from router import command_router
from send_message import send_message
# main entry into the app.
def process_message(data, g=None): # g=None ... | {
"content_hash": "020c34d22a6a565a339d2715c359db11",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 78,
"avg_line_length": 24.333333333333332,
"alnum_prop": 0.6467710371819961,
"repo_name": "nickweinberg/werewolf-slackbot",
"id": "4b33d56364be96c6d1d5dc62232eb155c9e76c00",
... |
<a href="https://travis-ci.org/codinguser/gnucash-android" target="_blank">
<img src="https://travis-ci.org/codinguser/gnucash-android.svg?branch=develop" alt="Travis build status" />
</a>
# Introduction
GnuCash Android is a companion expense-tracker application for GnuCash (desktop) designed for Android.
It a... | {
"content_hash": "6554301b289a289f7a4762cebf612953",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 208,
"avg_line_length": 46.97345132743363,
"alnum_prop": 0.739638281838734,
"repo_name": "codinguser/gnucash-android",
"id": "b0dc7dfb6c95f86edea9d5b218eef8c22ca36242",
"s... |
from __future__ import absolute_import, division, print_function, unicode_literals
import os
import unittest
from contextlib import contextmanager
from pants.base.build_file import BuildFile
from pants.base.build_root import BuildRoot
from pants.base.file_system_project_tree import FileSystemProjectTree
from pants.bu... | {
"content_hash": "40e5f4a45321b25451dcaabfb40224be",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 101,
"avg_line_length": 40.944162436548226,
"alnum_prop": 0.6678651128192412,
"repo_name": "twitter/pants",
"id": "97c6259af1d0651640e4f34687ccd94983571854",
"size": "8213... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Base application theme. -->
<style name="AppTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">#3F51B5</item>
<!-- Light Indigo -->
<item name="colorPrimary... | {
"content_hash": "165ff8adaf746d7dfd00039ea796076e",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 87,
"avg_line_length": 55.78947368421053,
"alnum_prop": 0.6122641509433963,
"repo_name": "ab2005/imageloaderlib",
"id": "489d9e0801c14a7bf1bdfb699c0ef093f74ef56b",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.trablone.csscreated.test">
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" />
<application>
<uses-library android:name="android.test.runner" />
</applicat... | {
"content_hash": "b725ac59a26ac0792099ddf13c5cba72",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 74,
"avg_line_length": 41.25,
"alnum_prop": 0.6515151515151515,
"repo_name": "SnowVolf/XSS-Created",
"id": "7a3ec45b885f9890ce1599238843013d1d731d64",
"size": "660",
"bin... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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" co... | {
"content_hash": "7f7889585ae73bc279a8eedd12ba5437",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 490,
"avg_line_length": 72.9080459770115,
"alnum_prop": 0.7072363235062273,
"repo_name": "Shopify/unity-buy-sdk",
"id": "7601abd0eade2ac9a0cf732c8678b4cb38aba10f",
"size": ... |
package com.example.demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
@SpringBootApplication
public class TextsearchApplication {
public static v... | {
"content_hash": "a774396828100ab1e0d6fd937dc258d0",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 90,
"avg_line_length": 28.066666666666666,
"alnum_prop": 0.8123515439429929,
"repo_name": "ryslanzaharov/rzaharov",
"id": "f9b3840b13b2284afa955d24daebd315924c3700",
"size"... |
package io.reactivesocket.reactivestreams.extensions.internal.publishers;
import io.reactivesocket.reactivestreams.extensions.internal.SerializedSubscription;
import org.reactivestreams.Publisher;
import org.reactivestreams.Subscriber;
import org.reactivestreams.Subscription;
import io.reactivesocket.reactivestreams... | {
"content_hash": "acaa0648e56aea5957f64e2c539baf43",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 84,
"avg_line_length": 34.42028985507246,
"alnum_prop": 0.46989473684210525,
"repo_name": "NiteshKant/reactivesocket-java",
"id": "00e37cfbf1594f8958e88916be9d8bb1aaa5afb3",
... |
<?xml version="1.0"?>
<phpunit xmlns="http://schema.phpunit.de/coverage/1.0">
<file name="AWG.php">
<totals>
<lines total="27" comments="16" code="11" executable="0" executed="0" percent=""/>
<methods count="0" tested="0" percent=""/>
<functions count="0" tested="0" percent=""/>
<classes c... | {
"content_hash": "46e045a02683f09b18a1bedf358149c7",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 139,
"avg_line_length": 45.8235294117647,
"alnum_prop": 0.6033376123234917,
"repo_name": "fey89/Money",
"id": "2462b2f922482d454a55b7931b791b4ac356d8df",
"size": "779",
"... |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision$</version>
// </file>
using System;
using System.Drawing;
using System.Windows.Forms;
namespace ICSharpCode.TextEditor.... | {
"content_hash": "dd91cfd82927cb2c2cdb1b8faeb650a2",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 141,
"avg_line_length": 31.074766355140188,
"alnum_prop": 0.6993984962406015,
"repo_name": "liqipeng/ICSharpCode.TextEditor",
"id": "8c17c5bb9f1303b45db60475db9a8f65beaf0a6c... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="MultiSwipeRefreshLayout">
<attr name="foreground" format="reference" />
</declare-styleable>
<declare-styleable name="AccountImageView">
<attr name="maskDrawable" format="reference" />
<attr name="borderDra... | {
"content_hash": "2a735f3707e89bcc4b3b99b4ba1f0c54",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 58,
"avg_line_length": 31.857142857142858,
"alnum_prop": 0.6636771300448431,
"repo_name": "jossiwolf/HeilwigApp",
"id": "9f7a141fa8a5d4138a1f102650193cd76c89933f",
"size": ... |
/*
Title: XBee Node Test
*/
/****************************************************************************
* Copyright (C) 2016 by Ken Sarkies (www.jiggerjuice.info) *
* *
* This file is part of XBee-Acquisition ... | {
"content_hash": "0bb0289904e38c69949ed139e7d4a772",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 79,
"avg_line_length": 39.142857142857146,
"alnum_prop": 0.5106171201061712,
"repo_name": "ksarkies/XBee-Acquisition",
"id": "0414fcbfec25d9466fc7f5739f08b0338747a002",
"si... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2014 The Kuali Foundation
Licensed under the Educational Community 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.opensource.org/li... | {
"content_hash": "8256de4e581c7f860e770e2c04022996",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 204,
"avg_line_length": 34.16279069767442,
"alnum_prop": 0.6769911504424779,
"repo_name": "ewestfal/rice-svn2git-test",
"id": "aae445d48b2bd84211978475a8364b94a9b72d34",
"s... |
'use strict';
angular.module('semdomtrans',
[
'ui.router',
'bellows.services',
'bellows.services.comments',
'bellows.filters',
'semdomtrans.edit',
'semdomtrans.comments',
'semdomtrans.services',
'semdomtrans.review',
'pascalprecht.translate'
])
.config(['$stateProvider', '$url... | {
"content_hash": "653f1d6d25b79b281b9f9d04791d0fbe",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 100,
"avg_line_length": 33.23741007194245,
"alnum_prop": 0.6303030303030303,
"repo_name": "sil-student-projects/web-languageforge",
"id": "6b68b69c05d0ffc031eba739d18ddadfa2... |
from ocvfacerec.facerec.feature import AbstractFeature
from ocvfacerec.facerec.classifier import AbstractClassifier
class PredictableModel(object):
def __init__(self, feature, classifier):
if not isinstance(feature, AbstractFeature):
raise TypeError("feature must be of type AbstractFeature!")
... | {
"content_hash": "b1b91009715c86ba0ff873fd1163eccf",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 95,
"avg_line_length": 37.03846153846154,
"alnum_prop": 0.6801661474558671,
"repo_name": "warp1337/opencv_facerecognizer",
"id": "bf5c3cfd711ea72a5d4e7e9ac8a93f4a694b13df",
... |
package io.netty.bootstrap;
import io.netty.channel.Channel;
import io.netty.channel.ChannelFuture;
import io.netty.channel.ChannelFutureListener;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelOption;
import io.netty.channel.ChannelPromise;
import io.netty.channel.DefaultChannelPromise;
impo... | {
"content_hash": "6aaa0dec9fad1c50ca4a4c622dd642fb",
"timestamp": "",
"source": "github",
"line_count": 463,
"max_line_length": 119,
"avg_line_length": 35.183585313174945,
"alnum_prop": 0.603806015960712,
"repo_name": "sunng87/netty",
"id": "e6ece5a79f1239743c9ddb216345e9a5c7b9a4bb",
"size": "16924... |
<?php
declare(strict_types=1);
namespace Nastoletni\Code\Domain;
interface XkcdRepository
{
/**
* Returns random Xkcd comic.
*
* @return Xkcd
*/
public function getRandom(): Xkcd;
}
| {
"content_hash": "6b61b3acfc2d5236cea01cf007d5679f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 38,
"avg_line_length": 14.2,
"alnum_prop": 0.6244131455399061,
"repo_name": "nastoletni/code",
"id": "153c02ab0760a32e7214b68bbafb1a2cd9cc2412",
"size": "213",
"binary": ... |
package org.apache.lucene.queryparser.flexible.standard.builders;
import org.apache.lucene.index.Term;
import org.apache.lucene.queryparser.flexible.core.QueryNodeException;
import org.apache.lucene.queryparser.flexible.core.nodes.QueryNode;
import org.apache.lucene.queryparser.flexible.standard.nodes.RegexpQ... | {
"content_hash": "b04763802cf0df4246c32e0662391746",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 98,
"avg_line_length": 34.027027027027025,
"alnum_prop": 0.7601270849880858,
"repo_name": "terrancesnyder/solr-analytics",
"id": "14da91977bf2f233f63fe016c35d9c0e09c591e1",
... |
package game
type Inventory struct {
slots []Stack
itemLeft int
itemRight int
}
const (
INV_WIDTH = 5
INV_HEIGHT = 5
MAX_STACK = 50
)
func NewInventory() *Inventory {
// 0 -> (w * h) - 1 are the bag slots, 2 more for left equip, and 2 more again for right.
// [0, w*h - 1] = bag slots
// [w*h] ... | {
"content_hash": "2c11939d710b5f041d9b8e70c397c5c8",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 90,
"avg_line_length": 21.75968992248062,
"alnum_prop": 0.6316351977199858,
"repo_name": "crazy2be/buildblast",
"id": "ad5a169a511268cd9c4514e749dfbb914ee76941",
"size": "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.