text stringlengths 2 1.04M | meta dict |
|---|---|
package org.lilyproject.repository.impl.test;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.lilyproject.hadooptestfw.TestHelper;
import org.lilyproject.repository.api.Repository;
import org.lilyproject.repository.impl.BlobStoreAccessRegistry;
p... | {
"content_hash": "0d4e9d133745c50b50343c5d83b441d5",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 107,
"avg_line_length": 30.955555555555556,
"alnum_prop": 0.7430007178750897,
"repo_name": "NGDATA/lilyproject",
"id": "f2193ec0b7157a81dc87e49999ccec9dcde08265",
"size": "... |
package ca.isda.web;
import java.io.IOException;
import java.text.DateFormat;
import java.util.Date;
import java.util.List;
import java.util.Locale;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.support.ReloadableResourceBundleMessage... | {
"content_hash": "4b6e57df4e83e2db431fd5c4061cb583",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 85,
"avg_line_length": 30.7248322147651,
"alnum_prop": 0.7383136740934906,
"repo_name": "vollov/isda-java",
"id": "5ac486f90f6ebab222731f34f548fe9850d18e2b",
"size": "4578... |
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"... | {
"content_hash": "0f8da078d73b0db0ba46fcc00d0824b1",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 140,
"avg_line_length": 45.02884615384615,
"alnum_prop": 0.7443946188340808,
"repo_name": "phoenixzsun/engblog",
"id": "eb57cf2095f64e71abb6d9c2e15fd7e0a63f7866",
"size": ... |
// Copyright © 2013-2022 Andy Goryachev <andy@goryachev.com>
package goryachev.swing;
import goryachev.common.log.Log;
import goryachev.swing.img.jhlabs.GaussianFilter;
import goryachev.swing.img.mortennobel.ResampleOp;
import java.awt.Color;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.im... | {
"content_hash": "f7f8354c37bce513d45bb6658d9eece5",
"timestamp": "",
"source": "github",
"line_count": 470,
"max_line_length": 136,
"avg_line_length": 21.642553191489363,
"alnum_prop": 0.601651592607157,
"repo_name": "andy-goryachev/PasswordSafe",
"id": "e045aade11b1d38ad64b5ede9552339d63c38d99",
... |
package com.b2international.snowowl.datastore.request;
import com.b2international.snowowl.datastore.request.repository.RepositoryGetRequestBuilder;
import com.b2international.snowowl.datastore.request.repository.RepositorySearchRequestBuilder;
import com.b2international.snowowl.datastore.request.system.ServerInfoGetR... | {
"content_hash": "80a6a910f7bf8e55f25ee34768b4da2f",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 95,
"avg_line_length": 28.646153846153847,
"alnum_prop": 0.7787325456498388,
"repo_name": "IHTSDO/snow-owl",
"id": "27bba324fefee552a95d7d966a36d8cf18e690fe",
"size": "2489... |
<?php
namespace AppBundle\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use AppBundle\Serializer\JsonSerializer;
class PromotionController extends AbstractController{
... | {
"content_hash": "abe67fa8e6929f5e117b0e4d6f8eac79",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 77,
"avg_line_length": 28.4,
"alnum_prop": 0.7056338028169014,
"repo_name": "jvbijleveld/ruilen",
"id": "721aaf762b171e7b25e7e1ad5555313b88b7e427",
"size": "710",
"binary... |
layout: page
title : Archive
header : Post Archive
categories: [AllSites]
group: navigation_old
nav_home_class: ""
nav_blog_class: ""
nav_archive_class: "active"
nav_tags_class: ""
---
{% include JB/setup %}
{% assign posts_collate = site.posts %}
{% include JB/posts_collate %} | {
"content_hash": "70472fbdc33f5f6ca4281cfbf4e4e8af",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 39,
"avg_line_length": 19.928571428571427,
"alnum_prop": 0.6953405017921147,
"repo_name": "groundh0g/groundh0g.github.io",
"id": "f2c69a98ec9e1f72bff8694180873e9c63c54edb",
... |
package com.salesmanager.core.business.services.customer.attribute;
import java.util.List;
import com.salesmanager.core.business.exception.ServiceException;
import com.salesmanager.core.business.services.common.generic.SalesManagerEntityService;
import com.salesmanager.core.model.customer.attribute.CustomerOption;
im... | {
"content_hash": "27004324d682f586b8a5d990bd6daa7f",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 96,
"avg_line_length": 28.178571428571427,
"alnum_prop": 0.8453738910012675,
"repo_name": "shopizer-ecommerce/shopizer",
"id": "aa8969d524f3b385ef695230e08f2efe9bb6a162",
"... |
using Toggl.Core.Analytics;
namespace Toggl.Core.UI.Models
{
public struct OnboardingScrollParameters
{
public OnboardingScrollAction Action;
public OnboardingScrollDirection Direction;
public int PageNumber;
}
}
| {
"content_hash": "afa43a5c84476953e745487c7ac4e683",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 51,
"avg_line_length": 22.727272727272727,
"alnum_prop": 0.72,
"repo_name": "toggl/mobileapp",
"id": "affd2c0f937b6f6cb653e76c545e1944bbeadbb0",
"size": "250",
"binary": ... |
from corehq.util.urlvalidate.urlvalidate import (
PossibleSSRFAttempt,
validate_user_input_url,
)
from corehq.apps.sms.models import SMSBase
from corehq.util.metrics import metrics_counter
def verify_sms_url(url, msg, backend):
try:
validate_user_input_url(url)
except PossibleSSRFAttempt as ... | {
"content_hash": "ef3d1571a3aed3a24df4baffbcc6068a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 28.047619047619047,
"alnum_prop": 0.6553480475382003,
"repo_name": "dimagi/commcare-hq",
"id": "ba03b875f1a3ba108e73bbc56cfa6730a8dc9704",
"size": "5... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.borntodieee.pintugame"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="14"
and... | {
"content_hash": "97b85d1386541804c84a3c0e54ff9495",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 95,
"avg_line_length": 39.75,
"alnum_prop": 0.6397124887690926,
"repo_name": "Borntodieee/pintugame",
"id": "f6fcfdec5b8951b06a25eda06bc204695810ab74",
"size": "2226",
"b... |
<?php
// Connexion à la base de données
try
{
$dbh = new PDO('mysql:host=mayotte.goulagoula.webcup.fr;dbname=goulagoula', "goulagoula", "[BGbKJb63OF]");
}
catch(Exception $e)
{
die('Erreur : '.$e->getMessage());
}
// Insertion du message à l'aide d'une requête préparée
$req = $bdd->prepare('INSERT I... | {
"content_hash": "ad315dc34bac3f0defed07fc35137120",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 106,
"avg_line_length": 15.727272727272727,
"alnum_prop": 0.6551059730250481,
"repo_name": "toiha/webcup-2017-goulagoula",
"id": "6f8acdbf8c09a8439dda9d9f24678963ad8484ff",
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.anarres.ipmi.protocol.packet.ipmi.command.sol;
import org.anarres.ipmi.protocol.client.visitor.IpmiClientIpmiCommandHandler;
import org.anarres.ipmi.protocol.client.visitor.IpmiHandlerContext;
import org.ana... | {
"content_hash": "a4faf0a30ce2a491f3b8a29067581a50",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 102,
"avg_line_length": 34.357142857142854,
"alnum_prop": 0.7900207900207901,
"repo_name": "shevek/ipmi4j",
"id": "41bc09a90f171d28aa97c59f86ca419a8d20b317",
"size": "962",... |
<?php
$this->breadcrumbs=array(
'品牌'=>array('index'),
$model->name,
);
?>
<?php $this->widget('bootstrap.widgets.TbDetailView',array(
'data'=>$model,
'attributes'=>array(
'id',
'name',
array(
'name'=>'logo',
'type'=>'image',
'value'=>CHtml::image(Yii::app()->params['imgPath'].$model->logo),
),
'... | {
"content_hash": "eff329f272c19d8b41c3d88885fc5e8b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 159,
"avg_line_length": 26.794117647058822,
"alnum_prop": 0.5718990120746432,
"repo_name": "baoweikai/yoyoke",
"id": "7aece1c172291bf70a54766719932cb3aa7174d1",
"size": "92... |
package com.github.solairerove.web.rest;
import com.github.solairerove.config.DefaultProfileUtil;
import io.github.jhipster.config.JHipsterProperties;
import org.springframework.core.env.Environment;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.u... | {
"content_hash": "6121a1ee2f8f4b6819337940ab00c352",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 103,
"avg_line_length": 29.63768115942029,
"alnum_prop": 0.6953545232273839,
"repo_name": "solairerove/woodstock",
"id": "eff648a0cc6d83ea35fa8a45d1e2bd46061b054b",
"size":... |

# The Finding Of Items
A run tracker and logger for The Binding of Isaac: Afterbirth+
### Download [Here](http://moddingofisaac.com/mod/900/thefindingofitems)
### Features
* Seed, character, item, floor + curse, boss an... | {
"content_hash": "f5aff787e2d0e27cb450150566f047e4",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 181,
"avg_line_length": 42.93103448275862,
"alnum_prop": 0.7578313253012048,
"repo_name": "espilioto/TFOI",
"id": "a3625b855bb95c87fbb59abcaa04f1a41f5b66ed",
"size": "2490"... |
//Generated by the Argon Build System
#include "btSphereShape.h"
#include "BulletCollision/CollisionShapes/btCollisionMargin.h"
#include "LinearMath/btQuaternion.h"
btVector3 btSphereShape::localGetSupportingVertexWithoutMargin(const btVector3& vec)const
{
(void)vec;
return btVector3(btScalar(0.),btScalar(0.),bt... | {
"content_hash": "74fb2253099287fa84778b4535dc4e59",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 146,
"avg_line_length": 24.6,
"alnum_prop": 0.7594850948509485,
"repo_name": "skylersaleh/ArgonEngine",
"id": "b0c7d5ffd874ca67a7679b9c4f8d4f3ba0ae528b",
"size": "2411",
... |
<?php
namespace Skl\BlogBundle\Bigbrother;
use Symfony\Component\EventDispatcher\Event;
class MessagePostEvent extends Event
{
protected $message;
protected $user;
protected $autorise;
public function __construct($message, UserInterface $user)
{
$this->message = $message;
$this->user... | {
"content_hash": "c7806fc25ebdc4b6d8c9282226b43586",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 62,
"avg_line_length": 18.871794871794872,
"alnum_prop": 0.6372282608695652,
"repo_name": "nassafou/serApp",
"id": "066d4c17caaa6181f6a612df3d9c30288eb4c87e",
"size": "739"... |
import flask
import flask_wtf
import wtforms
import auth
import util
from main import app
TESTS = [
'pageres',
'responsive',
'grid',
'heading',
'paragraph',
'font',
'table',
'form',
'button',
'alert',
'badge',
'label',
'filter',
'pagination',
'social',
]
class TestForm(flask_wtf.Form)... | {
"content_hash": "4f8f8c0fc4d3bc86836d36621a9968eb",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 79,
"avg_line_length": 28.144329896907216,
"alnum_prop": 0.667032967032967,
"repo_name": "dhstack/gae-init",
"id": "0cfd702b5e6b6a013dcb1a74cd6fd304e2eb1d5b",
"size": "2747... |
using System;
using System.Collections.Generic;
namespace Universe.SqlTrace
{
public class TraceGroupsReport<TKey> : Dictionary<TKey, SqlGroupCounters<TKey>>
{
private SqlCounters _Summary;
public readonly TraceColumns GroupingField;
public SqlCounters Summary
{
g... | {
"content_hash": "326038ea44e61054471cbffeb5d3bada",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 83,
"avg_line_length": 24.441176470588236,
"alnum_prop": 0.4981949458483754,
"repo_name": "devizer/Universe.SqlTrace",
"id": "4ca2a80704457ac7a23cc9122bdb2c9725406a61",
"si... |
#include "OldAircraftRoadItem.h"
OldAircraftRoadItem::OldAircraftRoadItem(uint32 id)
: OldItem(ItemTypes::aircraftRoadItem, id)
{
}
OldAircraftRoadItem::~OldAircraftRoadItem()
{
}
bool
OldAircraftRoadItem::save(DataBuffer* dataBuffer) const
{
DEBUG_DB(mc2dbg << " OldAircraftRoadItem::save()" << e... | {
"content_hash": "df286a416e4c9de03552d167e97411bf",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 70,
"avg_line_length": 20.892857142857142,
"alnum_prop": 0.6888888888888889,
"repo_name": "wayfinder/Wayfinder-Server",
"id": "ed13fd2c8527a8a04590d72660bab34b620f600a",
"s... |
package com.hazelcast.map;
/**
* Determines if the object implementing this interface is locked or not.
*/
@FunctionalInterface
public interface LockAware {
/**
* @return true if the object is locked, false otherwise, null if N/A
*/
Boolean isLocked();
}
| {
"content_hash": "089e0851e331401535b6b1e594bc7745",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 73,
"avg_line_length": 17.5,
"alnum_prop": 0.6785714285714286,
"repo_name": "mdogan/hazelcast",
"id": "d1a96a8f456e77d2f5e26703fa205b3dd5b56bba",
"size": "905",
"binary":... |
dray_sort\wipe_remove recyclerview
Android N编译版本
仅供学生参考不要copy
| {
"content_hash": "c96bef3d0fe5488e0a2d5f24aba4fcb8",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 34,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.8709677419354839,
"repo_name": "PerterJu/DragSwipeRecyclerView",
"id": "a6df4e8f207e4abfad463b536754b58db4cfdec7",
... |
package org.apache.pig.test;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileWriter;
im... | {
"content_hash": "a46720e485e0a53542008f16e28acf6b",
"timestamp": "",
"source": "github",
"line_count": 782,
"max_line_length": 177,
"avg_line_length": 41.16496163682864,
"alnum_prop": 0.6334068528470691,
"repo_name": "dmeister/pig-cll-gz",
"id": "92f3a595d8d4b289c1e4b43fc499b18796c5c996",
"size": ... |
package org.buildmlearn.learnfrommap.questionmodule;
import java.io.Serializable;
import java.util.Locale;
import org.buildmlearn.learnfrommap.questionmodule.GeneratedQuestion.Type;
import uk.ac.shef.wit.simmetrics.similaritymetrics.JaroWinkler;
import android.annotation.SuppressLint;
import android.content.Context;
... | {
"content_hash": "da48b0a76ffbf9bbed44fbbb65349169",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 76,
"avg_line_length": 17.97826086956522,
"alnum_prop": 0.7037484885126964,
"repo_name": "BuildmLearn/Mobile-applications",
"id": "5efe2ab67a90228f7cb1c4202b4abcaa0186f977",... |
package org.mortbay.jetty.client;
public class AsyncSslHttpExchangeTest extends SslHttpExchangeTest
{
protected void setUp() throws Exception
{
_scheme="https://";
startServer();
_httpClient=new HttpClient();
_httpClient.setConnectorType(HttpClient.CONNECTOR_SELECT_CHANNEL);
... | {
"content_hash": "b3dbf0fdd0fa06406fc77ba49614cfce",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 74,
"avg_line_length": 25.4375,
"alnum_prop": 0.683046683046683,
"repo_name": "napcs/qedserver",
"id": "e3a2e3c749c2a9896c284c0a3b855098bc208b2f",
"size": "1222",
"binary... |
title: "Developing an LADM-compliant Mobile Data Collector for Accelerating Participatory Cadastral Mapping and Registration Activities"
collection: publications
permalink: /publication/2019-ladm-datacollector
date: 2019-10-03
venue: '8th Land Administration Domain Model Workshop'
paper: 'https://repository.tudelft.nl/... | {
"content_hash": "072770dfadf2bc9e8549a5c0271b2b13",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 305,
"avg_line_length": 81.1,
"alnum_prop": 0.8212083847102343,
"repo_name": "danylaksono/danylaksono.github.io",
"id": "02b20411ca02bd814e4a984b788cfc92b6ede4df",
"size": ... |
package org.openapitools.model;
import java.net.URI;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.ArrayList;
import java.util.List;
import org.openapitools.model.FreeStyleBuild;
import org.openapitools.model.FreeSt... | {
"content_hash": "ef123ed97fdd621b1b9a54be85c01e8d",
"timestamp": "",
"source": "github",
"line_count": 740,
"max_line_length": 388,
"avg_line_length": 26.82027027027027,
"alnum_prop": 0.7083186375774676,
"repo_name": "cliffano/swaggy-jenkins",
"id": "c9dacb1a953f3fef4bb186ad2d87ad9bfb4b9557",
"siz... |
package org.innovateuk.ifs.project.correspondenceaddress.viewmodel;
import org.innovateuk.ifs.project.projectdetails.viewmodel.BasicProjectDetailsViewModel;
import org.innovateuk.ifs.project.resource.ProjectResource;
/**
* The view model that backs the project address
*/
public class ProjectDetailsAddressViewModel ... | {
"content_hash": "8b1ec21a95d62e762c0bf3deb738c6b7",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 100,
"avg_line_length": 30.06382978723404,
"alnum_prop": 0.7338995046001415,
"repo_name": "InnovateUKGitHub/innovation-funding-service",
"id": "45d45eeac9f8da4b85b30b825227c2... |
<!-- TODO: Write a brief abstract explaining this sample -->
This sample demonstrates how to add operations onto the undo/redo stack.
<a href="https://pro.arcgis.com/en/pro-app/sdk/" target="_blank">View it live</a>
<!-- TODO: Fill this section below with metadata about this sample-->
```
Language: ... | {
"content_hash": "d49980888162f2624c644c19ce968584",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 516,
"avg_line_length": 67.08474576271186,
"alnum_prop": 0.7357251136937848,
"repo_name": "Esri/arcgis-pro-sdk-community-samples",
"id": "54a470089739049c3d20f878c736b20250ef... |
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can b... | {
"content_hash": "1d9bedd779c51f6ddba15686feb14b14",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 76,
"avg_line_length": 20.058823529411764,
"alnum_prop": 0.6979472140762464,
"repo_name": "nicholasxjy/ios-learn",
"id": "c3df11ff6918e338fcc50d42afda8d54e085d41a",
"size":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e5db2643c881a0dcb22623b99d62f6a0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "94110caf83c58a86192ab945e00bf5a7fe4cf384",
"size": "192... |
using System;
using System.Text;
namespace Outlander.Core.Client.Tests
{
public class InMemoryScriptLog : IScriptLog
{
public StringBuilder Builder = new StringBuilder();
public event EventHandler<ScriptLogInfo> Info = delegate { };
public event EventHandler<ScriptLogInfo> NotifyStarted = delegate { };
publ... | {
"content_hash": "0cd26b7cd6f9726277572b3fb4baf107",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 72,
"avg_line_length": 25.620689655172413,
"alnum_prop": 0.7348586810228802,
"repo_name": "joemcbride/outlander",
"id": "d537ab9e2a8b6f67fe300a91b67c011bacb185a3",
"size": ... |
[](https://travis-ci.org/cogumbreiro/habanero-coq)
[](https://gitlab.com/cogumbreiro/habanero-coq/commits/master)
# Coq Formalization of the Habaner... | {
"content_hash": "fc7b5df79c07ed78f709c890e92d6ee7",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 280,
"avg_line_length": 42.9,
"alnum_prop": 0.7762237762237763,
"repo_name": "cogumbreiro/habanero-coq",
"id": "8e95c1fc809c115413883f04a78f9d9767d3a530",
"size": "1718",
... |
echo "You can build an eclipse project via a workspace from the command line"
#:
echo "eclipsc.exe -noSplash -data "D:\Source\MyProject\workspace" -application org.eclipse.jdt.apt.core.aptBuild
It uses the jdt apt plugin to build your workspace automatically. This is also known as a 'Headless Build'. Damn hard to fig... | {
"content_hash": "dafdbe5379983763eff874783801c38c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 175,
"avg_line_length": 48.61538461538461,
"alnum_prop": 0.7610759493670886,
"repo_name": "bayvictor/distributed-polling-system",
"id": "8a365981979a5561fd1b57a4691afaf2b17ab... |
package br.ufsc.ftsm;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import com.google.common.collect.Multimap;
import com.google.common.collect.MultimapBuilder;
import com.google.common.collect.Ordering;
impor... | {
"content_hash": "8522e68d62587b2b53059efe6defb098",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 144,
"avg_line_length": 45.59756097560975,
"alnum_prop": 0.717838994383525,
"repo_name": "lehmann/ArtigoMSM_UFSC",
"id": "c9c7d2884d0928f4a7e88a8011c107233afb771b",
"size"... |
@ECHO OFF
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set BUILDDIR=_build
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
set I18NSPHINXOPTS=%SPHINXOPTS% .
if NOT "%PAPER%" == "" (
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
set I18N... | {
"content_hash": "f7331fe6c9945227a88835141deedef2",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 79,
"avg_line_length": 26.61216730038023,
"alnum_prop": 0.7046720960137163,
"repo_name": "nitely/django-djconfig",
"id": "cd55bf4fd4f93f46bf9b7378922ae62fc18d77a8",
"size"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8011ba74d09e6b448b89c7b9a27054c1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "6270afab3da41494263b540696acc84be1ba1cc1",
"size": "19... |
class GithubDailyUpdate::Report
attr_accessor :reporters
def initialize(options = {})
client = ::Octokit::Client.new
@reporters = [
GithubDailyUpdate::Reporter::Merged.new(client, options),
GithubDailyUpdate::Reporter::OpenPulls.new(client, options)
]
end
def generate
@reporters.ma... | {
"content_hash": "ce3e02a9c49a42b1f9e17935bb4fab73",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 65,
"avg_line_length": 23.4,
"alnum_prop": 0.6809116809116809,
"repo_name": "jhubert/github-daily-update",
"id": "3beb548769b815d778d5d3fb4625a6237ff9a8a9",
"size": "386",
... |
const Flint = require('../../../')
const mocks = require('../../mocks')
const populateDB = require('../../populatedb')
const supertest = require('supertest')
const mongoose = require('mongoose')
exports.before = async function before (plugins = []) {
const flintServer = new Flint({ listen: false, plugins })
const ... | {
"content_hash": "af7bf8ad18acfea8df8af5ce1a89760f",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 59,
"avg_line_length": 24.8,
"alnum_prop": 0.5659824046920822,
"repo_name": "JasonEtco/flintcms",
"id": "b754d9bf384b0181f01239c66dc22ef481f0e307",
"size": "1364",
"binar... |
(function(app) {
app.merge({
config:{
// =require script.Configuration.js
},
initiate: function() {
var configuration = app.config, local = app.localStorage;
var process = function() {
// =require script.Initiate.process.js
};
var route = function() {
// =requ... | {
"content_hash": "97a78b8ff8674dd38807104e25b3bb56",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 67,
"avg_line_length": 28.257425742574256,
"alnum_prop": 0.5112123335669236,
"repo_name": "scriptive/core",
"id": "02892b076f61cef81d5ed1eac417080749ecd2b2",
"size": "2854... |
package apple.uikit;
import apple.NSObject;
import apple.foundation.NSArray;
import apple.foundation.NSCoder;
import apple.foundation.NSDictionary;
import apple.foundation.NSMethodSignature;
import apple.foundation.NSSet;
import apple.foundation.protocol.NSSecureCoding;
import apple.uikit.protocol.NSTextLocation;
impo... | {
"content_hash": "3f381d2abd755b755c3b0420b1de5ac1",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 119,
"avg_line_length": 34.59450171821306,
"alnum_prop": 0.7355716698122579,
"repo_name": "multi-os-engine/moe-core",
"id": "92b5c55ebc23a99d622c648eb8ddf83885aea046",
"si... |
package hu.ssh.progressbar.replacers;
import hu.ssh.progressbar.progress.Progress;
import hu.ssh.progressbar.helpers.HumanTimeFormatter;
public class TotalTimeReplacer implements Replacer {
private static final String IDENTIFIER = ":total";
@Override
public final String getReplaceIdentifier() {
return IDENTIF... | {
"content_hash": "e4d4e6e4a755afd2beff71bca0fbbe69",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 73,
"avg_line_length": 22.875,
"alnum_prop": 0.7777777777777778,
"repo_name": "arguslab/Argus-SAF",
"id": "e22f5f3a41c8bbd5e5a43ad247b206ba86416ecb",
"size": "903",
"bina... |
class AppListControllerDelegate;
class ExtensionAppModelBuilder;
class Profile;
namespace app_list {
class SearchController;
}
namespace base {
class FilePath;
}
namespace content {
class NotificationDetails;
class NotificationSource;
}
namespace gfx {
class ImageSkia;
}
#if defined(USE_ASH)
class AppSyncUIStateWa... | {
"content_hash": "66ed04047375c2413664826c2e40f9f6",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 80,
"avg_line_length": 35.9375,
"alnum_prop": 0.7208695652173913,
"repo_name": "cvsuser-chromium/chromium",
"id": "4555eef332e63600b0903f590d4bc619d6da9d77",
"size": "4192"... |
//
// GTLQueryCivicInfo.h
//
// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Google Civic Information API (civicinfo/v2)
// Description:
// An API for accessing civic information.
// Documentation:... | {
"content_hash": "cb811d6fd26c0d2659d8367e34898cfa",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 95,
"avg_line_length": 44.8780487804878,
"alnum_prop": 0.7544836956521739,
"repo_name": "wildsonjr/Google-API-Client",
"id": "c1a036333dbe926ae53e874e9ac44945d92c7bf0",
"s... |
*Chapter 8 Shiny Dashboards*
-------
A simple Shiny App that predicts revenue from user inputted marketing expenditure via a linear regression model.

####Overview
Our scena... | {
"content_hash": "27e59035e6fe70c2ba1b4ccc6d08e4fa",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 214,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.7416267942583732,
"repo_name": "757RUG/presentations",
"id": "a400f188047d8e196b091254852b3ec357cf7633",
"size":... |
package apimachinery
import (
"context"
"fmt"
"strconv"
"time"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
schedulingv1 "k8s.io/api/scheduling/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachine... | {
"content_hash": "16b3e42a3a3635a8ca07a4a0547603a7",
"timestamp": "",
"source": "github",
"line_count": 1729,
"max_line_length": 338,
"avg_line_length": 50.82706766917293,
"alnum_prop": 0.7718365953573054,
"repo_name": "tcnghia/kubernetes",
"id": "5514ab3f4dffdcd0679d2f376b4893d795940f6a",
"size": ... |
from openpyxl import load_workbook
class Spreadsheet():
'''Creates an Excel spreadsheet containing information built in algo3'''
def __init__(self, filename, startdate, tbwschedule, folder):
self.folder = folder
self.filename = filename
self.createdoc()
self.writeshifts(tbwsche... | {
"content_hash": "fb5b551ca6423a16917b27d928f14ed1",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 79,
"avg_line_length": 37.34782608695652,
"alnum_prop": 0.5529685681024447,
"repo_name": "KCorpse/GSM",
"id": "d4ea02c65b21f03fe5f417d195ccc5e3e46b7417",
"size": "1718",
... |
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="STDOUT" target="SYSTEM_OUT">
<PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n" />
</Console>
</Appenders>
<Loggers>
<Logger name="com.lrother.accs" level="debug"/>
<Root level="error">
<AppenderRef ref="STDOUT" /... | {
"content_hash": "c0f67c395b5e2e431279d26f68c6dfaf",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 64,
"avg_line_length": 25.714285714285715,
"alnum_prop": 0.6194444444444445,
"repo_name": "lrother/account-service",
"id": "465cb96fb7587705f316d208285833a14f931c54",
"size... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Reflection;
using Autofac.Extras.Common.Reflection;
namespace x.UnitTest
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void enumTest()
{
String enumName = Charter.A.ToString();
... | {
"content_hash": "d9c2a3356e5d9cbd8864b9aa2fe63b08",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 52,
"avg_line_length": 20.37037037037037,
"alnum_prop": 0.5854545454545454,
"repo_name": "Ju2ender/CSharp-Exercise",
"id": "295a0354bb8decd29624e83515ec209075e28313",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="2dp"
android:paddingStart="@dimen/directions_left_paddin... | {
"content_hash": "17995fa2f99e9f745f26283893face12",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 72,
"avg_line_length": 41.515151515151516,
"alnum_prop": 0.6766423357664234,
"repo_name": "GIlyass/TouristScheduler",
"id": "41f0638f486fe71f6bf42700a91d143e42a38eb7",
"siz... |
/*
* Created on 23-Sep-2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package com.ivstuart.tmud.command.info;
import com.ivstuart.tmud.command.BaseCommand;
import com.ivstuart.tmud.command.CommandProvider;
import com.ivstu... | {
"content_hash": "9b212db143a2f894c7a6ea35f9452b5b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 71,
"avg_line_length": 25.08108108108108,
"alnum_prop": 0.6810344827586207,
"repo_name": "ivstuart/tea-mud",
"id": "fc3582134a8f6d867e7f28f177d41f9bd225d5c9",
"size": "1547... |
<resources>
<string name="app_name">metrostore</string>
<string name="app_title">Metrostore</string>
<string name="action_settings">Settings</string>
<string name="btn_start_name">Start</string>
<string name="bitrate_placeholder">Tempo</string>
<string name="default_bitrate">4</string>
<str... | {
"content_hash": "3cea68867a9a039935f021559719c898",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 53,
"avg_line_length": 40.25,
"alnum_prop": 0.6754658385093167,
"repo_name": "azee/metrostore",
"id": "0ccc2459bbddc67345c22b7a32f4d8751010cc4b",
"size": "644",
"binary":... |
package com.kata.businessrules;
import org.junit.Before;
import org.junit.Test;
import com.kata.businessrules.payment.PaymentBehavior;
import com.kata.businessrules.products.Product;
import static org.mockito.Mockito.*;
import java.util.Arrays;
public class TestRuleEngineForPaymentBehaviors {
private RuleEngine b... | {
"content_hash": "dcd3185af368e143db1de31721a2a186",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 69,
"avg_line_length": 29.140350877192983,
"alnum_prop": 0.8019265502709211,
"repo_name": "a-ostrovsky/business_rules_kata",
"id": "8e2cd48ca96a3d289f174c001685b59b0543cc75",... |
#include <aws/lightsail/model/GetOperationsForResourceResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::Lightsail::Model;
using namespac... | {
"content_hash": "d173f37e662b2b4bc3233eb41aab4fa9",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 128,
"avg_line_length": 26.956521739130434,
"alnum_prop": 0.771774193548387,
"repo_name": "cedral/aws-sdk-cpp",
"id": "15cabc7f753cf9191ce88e864df726f2dde29e36",
"size": "1... |
namespace impala {
class ArrayValueBuilder;
class Compression;
class DescriptorTbl;
class Expr;
class HdfsPartitionDescriptor;
class MemPool;
class SlotDescriptor;
class Status;
class TextConverter;
class Tuple;
class TupleDescriptor;
class TPlanNode;
class TScanRange;
class Codec;
/// Intermediate structure used for... | {
"content_hash": "c13059064338f3fb4523dcf7c03213a7",
"timestamp": "",
"source": "github",
"line_count": 397,
"max_line_length": 92,
"avg_line_length": 48.34760705289673,
"alnum_prop": 0.7211628633948108,
"repo_name": "cloudera/recordservice",
"id": "9113a1fb520e1d2533e6c73c5e0edcb50d52052e",
"size"... |
<div ng-show="slaveshow" class="row fullheight">
<div class="col-xs-9 fullheight">
<slave-terminal ng-style="style"></slave-terminal>
</div>
<div class="col-xs-3 fullheight termpanel">
<nutty-signin></nutty-signin>
<input type="text" class="form-control" placeholder="Description" ng-... | {
"content_hash": "2c519ae1d6aa30968aaf554786677db0",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 165,
"avg_line_length": 37.88461538461539,
"alnum_prop": 0.6060913705583756,
"repo_name": "harshavardhana/nuttyapp",
"id": "411cef1baa5a67f201996a071fc57b0090dd942e",
"size... |
import EightPuzzleWithHeuristics as Problem
#puzzle14a.py:
CREATE_INITIAL_STATE = lambda: Problem.State([4, 5, 0, 1, 2, 8, 3, 7, 6]) | {
"content_hash": "e751153644b33ea8b8188e3e6a2d0b34",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 73,
"avg_line_length": 33.25,
"alnum_prop": 0.7218045112781954,
"repo_name": "vaibhavi-r/CSE-415",
"id": "6a7e79693cab7e6c7fd53ad61a58224e3ba83ed9",
"size": "133",
"binary... |
/**
* An AngularJS directive for showcasing features of your website
* @version v0.1.2 - 2015-07-15
* @link https://github.com/DaftMonk/angular-tour
* @author Tyler Henkel
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function (window, document, undefined) {
'use strict';
angular.module(... | {
"content_hash": "088caccb15eee56b7f53548b1ebff47c",
"timestamp": "",
"source": "github",
"line_count": 466,
"max_line_length": 581,
"avg_line_length": 36.78969957081545,
"alnum_prop": 0.5296896873541764,
"repo_name": "Real-Skill/angular-tour",
"id": "78d76e29af8af5820f6c950b71f84556306149e6",
"siz... |
using System.Collections.Generic;
using System.Diagnostics;
using System.Dynamic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Frapid.ApplicationState.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Frapid.Config.DataAccess;
using Frapid.Config.Api.Fakes;
usi... | {
"content_hash": "2006f3caa590290256a1309b2808731c",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 114,
"avg_line_length": 24.84100418410042,
"alnum_prop": 0.49486272528212905,
"repo_name": "nubiancc/frapid",
"id": "f58ba6f1e302625c345fc8cb85431688eb50b02f",
"size": "59... |
package org.apache.mesos.chronos.scheduler.jobs
import java.util.logging.Logger
import org.apache.mesos.Protos.{TaskID, TaskState, TaskStatus}
import org.apache.mesos.chronos.scheduler.state.PersistenceStore
import org.joda.time.{DateTime, DateTimeZone}
import scala.collection.mutable
/**
* This file contains a nu... | {
"content_hash": "5dc73d0639a3392aee1d8ebd0c6bcdfe",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 132,
"avg_line_length": 38.81159420289855,
"alnum_prop": 0.669529499626587,
"repo_name": "mikkokupsu/chronos",
"id": "3e5e2745e8797abd513b24ed546f7ae6b5430b5e",
"size": "5... |
package edu.irabank.form;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
public class Billpaymerchantapp... | {
"content_hash": "8097c6a97032dccac0630f5413c55426",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 47,
"avg_line_length": 18.073170731707318,
"alnum_prop": 0.6923076923076923,
"repo_name": "rsubra13/ss",
"id": "d2a86aabb26d4cbd514aaa34ec0e571ef9534e14",
"size": "1482",
... |
package org.jdbcsqltest;
import java.sql.*;
import java.util.Properties;
/**
* Created by shivshi on 5/1/17.
*/
public class JdbcDriver {
private Connection conn = null;
private String dbType;
private static String SCHEMA_NAME = "testschema";
private Properties props;
public JdbcDriver(Propert... | {
"content_hash": "9ed9137d0db27fe381e088f755b91c4b",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 133,
"avg_line_length": 33.45132743362832,
"alnum_prop": 0.6195767195767196,
"repo_name": "shivarajugowda/jdbcSQLTest",
"id": "4bdfeb805c21627ddb4a302800d65531388a63f8",
"... |
<component name="libraryTable">
<library name="support-v4-23.0.1">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/23.0.1/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/app/build/intermediates/expl... | {
"content_hash": "c4e8e2b9cc7c7e326c5e3afb9644d2ab",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 152,
"avg_line_length": 55,
"alnum_prop": 0.6829545454545455,
"repo_name": "AmniX/MaterialPatternllockView",
"id": "da793bdff26f695df68b1837f17f7f7a9c341aaa",
"size": "880"... |
package org.apache.bcel.classfile;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import org.apache.bcel.Constants;
/**
* This class is derived from the abstract
* <A HREF="org.apache.bcel.classfile.Constant.html">Constant</A> class
* and represents a reference to ... | {
"content_hash": "bdc10c2c15fe70ce24d66f4f4435f0d2",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 86,
"avg_line_length": 23.11881188118812,
"alnum_prop": 0.6038543897216274,
"repo_name": "treejames/JMD",
"id": "f30e0d423fc27f9484777861caccd3e3364d3ef0",
"size": "2968",... |
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-offset-3 col-md-6 col-lg-offset-3 col-lg-6">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-12 box-circle bg-white" style="margin-top: 25%;">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<img class="img-responsive center-block" ng-src=... | {
"content_hash": "4c97bb5c682717e830726a5a9fe4e0f7",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 210,
"avg_line_length": 71.48936170212765,
"alnum_prop": 0.6220238095238095,
"repo_name": "cronodev/hotlibrary",
"id": "cefa63ccb1f5d7ecd5d3fa7043d99686cc7d89ae",
"size": "... |
export { yuan, fixedZero, getTimeDistance, deepGet } from './utils';
export * from './validate';
export * from './validators';
export { LazyService } from './lazy.service';
export { AdUtilsModule } from './utils.module';
| {
"content_hash": "6a1e39aa048c15362992fd6d98a47c64",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 68,
"avg_line_length": 44.2,
"alnum_prop": 0.6968325791855203,
"repo_name": "yoryu/cardinn",
"id": "81bd6cbc40824870a73b1f79840de3e2dae8f8eb",
"size": "221",
"binary": fal... |
import AFRAME, { THREE } from 'aframe/src';
import debug from 'debug';
import { bind } from 'utils/components';
const warn = debug('app:components:z-trigger:warn');
AFRAME.registerComponent('z-trigger', {
dependencies: ['z-entity'],
schema: {
id: { type: 'string' },
type: { type: 'string' },
_unknown... | {
"content_hash": "35f2ece4fca819a0b9d3073b3933fc5a",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 84,
"avg_line_length": 31.170212765957448,
"alnum_prop": 0.5692832764505119,
"repo_name": "kabbi/zanzarah-tools",
"id": "f48c521540a0734e46147c85aab47801f67a9284",
"size": ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE789_Uncontrolled_Mem_Alloc__malloc_char_listen_socket_01.c
Label Definition File: CWE789_Uncontrolled_Mem_Alloc__malloc.label.xml
Template File: sources-sinks-01.tmpl.c
*/
/*
* @description
* CWE: 789 Uncontrolled Memory Allocation
* BadSource: listen_socket R... | {
"content_hash": "3672bf87caee4bca272dce48c50c2544",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 109,
"avg_line_length": 30.7986798679868,
"alnum_prop": 0.5489712816116588,
"repo_name": "maurer/tiamat",
"id": "245f5bbefb7b807996406ee390b766e1278ebfbd",
"size": "9332",... |
namespace AjSharpure.Primitives
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AjSharpure.Expressions;
using AjSharpure.Language;
public class VarPrimitive : IFunction
{
public bool IsSpecialForm
{
... | {
"content_hash": "ae368c4532e53b090964a6d00b4b9b8e",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 130,
"avg_line_length": 28.02857142857143,
"alnum_prop": 0.5942915392456677,
"repo_name": "ajlopez/AjSharpure",
"id": "c4e7d4cc3ca2c9e39f080fd1e121d45611eda251",
"size": "9... |
module SpreeShipworks
module Xml
module Address
def to_shipworks_xml(name, context)
context.element name do |a|
a.element 'FullName', self.full_name
a.element 'Company', ""#self.user.try(:company)
a.element 'Street1', self.address1
a.element 'Street2',... | {
"content_hash": "e0b189b21ef543c0162aa62082c0a1de",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 139,
"avg_line_length": 37.63235294117647,
"alnum_prop": 0.5524293343754071,
"repo_name": "bypotatoes/spree_shipworks",
"id": "abbe0f5df7d0fcb973d7e750285ece8425f69732",
"... |
/**
*============================================================================
* The Ohio State University Research Foundation, The University of Chicago -
* Argonne National Laboratory, Emory University, SemanticBits LLC,
* and Ekagra Software Technologies Ltd.
*
* Distributed under the OSI-approved BSD 3-Clau... | {
"content_hash": "d3ac79689df027a5171bc029e6620831",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 101,
"avg_line_length": 36,
"alnum_prop": 0.7135802469135802,
"repo_name": "NCIP/cagrid-portal",
"id": "304b6cb4e989e2902be64caff8c7f56ebefe37a7",
"size": "1620",
"binary... |
#ifndef mitkFillRegionTool_h_Included
#define mitkFillRegionTool_h_Included
#include "mitkSetRegionTool.h"
#include <MitkSegmentationExports.h>
namespace us {
class ModuleResource;
}
namespace mitk
{
/**
\brief Fill the inside of a contour with 1
\sa SetRegionTool
\ingroup Interaction
\ingroup ToolManag... | {
"content_hash": "8d74a7b422bfff2d752d66ab83e510c6",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 82,
"avg_line_length": 19.618181818181817,
"alnum_prop": 0.7479147358665431,
"repo_name": "ireicht/MITK-CSI",
"id": "b86aae31ddcf18c2ae88d701cd5ab72931953965",
"size": "157... |
import {Component, Input, OnChanges, OnDestroy, OnInit, SimpleChanges} from '@angular/core';
import * as THREE from 'three';
import {
BoxGeometry,
Line,
Mesh,
MeshBasicMaterial,
Object3D,
Scene,
Vector2,
Vector3,
WebGLRenderer
} from 'three';
import * as TWEEN from '@tweenjs/tween.js';
import {Subscr... | {
"content_hash": "c65c3549fd5115d30b136b193da3b718",
"timestamp": "",
"source": "github",
"line_count": 480,
"max_line_length": 140,
"avg_line_length": 32.920833333333334,
"alnum_prop": 0.6728262245285407,
"repo_name": "reflectoring/coderadar",
"id": "51da009b35ece26604877ce6191042fea7542963",
"siz... |
package de.lazyheroproductions.campuscardreader.UI;
import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.net.Uri;
import android... | {
"content_hash": "544effbd948d100d11261846cc672cf4",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 134,
"avg_line_length": 40.266666666666666,
"alnum_prop": 0.667519566526189,
"repo_name": "ueman/CampusCardReader",
"id": "52fce8ae04443456815003403ebea5c02c08f3a0",
"size... |
package common
import (
"sync"
"time"
)
// Key type used in the cache.
type Key interface{}
// Value type held in the cache. Cannot be nil.
type Value interface{}
// RemovalListener is the callback function type that can be registered with
// the cache to receive notification of the removal of expired elements.
t... | {
"content_hash": "39923483a83115d92cac29457fdd3932",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 94,
"avg_line_length": 30.815384615384616,
"alnum_prop": 0.7192960559161258,
"repo_name": "lflxp/sflowtool",
"id": "25f3be7d92b4e3a865ea709304812dc9f0a6ee24",
"size": "880... |
package mailchimp
import (
"bytes"
"encoding/json"
"fmt"
"io"
"net/http"
"net/url"
"regexp"
"sync"
"time"
"github.com/influxdata/telegraf"
)
const (
reportsEndpoint string = "/3.0/reports"
reportsEndpointCampaign string = "/3.0/reports/%s"
)
var mailchimpDatacenter = regexp.MustCompile("[a-z]+[0... | {
"content_hash": "0524f161a95cedcc4977bbbe811f3bcb",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 93,
"avg_line_length": 23.56451612903226,
"alnum_prop": 0.6642710472279261,
"repo_name": "influxdata/telegraf",
"id": "71e7bcea6d53553df0a55c8ebb6c9a67f448535f",
"size": "... |
/*!
* REasy UI Validate @VERSION
*
* Depends:
* reasy-ui-core.js
* reasy-ui-checker.js
*/
(function () {"use strict";
var defaults = {
wrapElem: $('body'),
custom: null,
success: function () {},
error: function () {}
};
function Validate(options) {
this.options = $.extend({}, defaults, options);
this.$... | {
"content_hash": "6290146fdf0f74b6531acc02dafe68cb",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 65,
"avg_line_length": 19.316326530612244,
"alnum_prop": 0.6296883254094031,
"repo_name": "zhzhchwin/Reasy-ui",
"id": "6218ee2f29fe10f31ebf5c99f5781ba764236335",
"size": "2... |
<?php
namespace Amp\Websocket;
use Amp\ByteStream\InputStream;
use Amp\Promise;
use Amp\Socket\SocketAddress;
use Amp\Socket\TlsInfo;
interface Client
{
/**
* Receive a message from the remote Websocket endpoint.
*
* @return Promise<Message|null> Resolves to message sent by the remote.
*
... | {
"content_hash": "bbde533bbb4c56ebc5445f36f7ac80cb",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 118,
"avg_line_length": 30.573248407643312,
"alnum_prop": 0.6447916666666667,
"repo_name": "amphp/websocket",
"id": "bb76b01f423167a4c8148a918e5c7938e1dbbeee",
"size": "48... |
<?php
namespace Thaumatic\Junxa;
use Thaumatic\Junxa\Exceptions\JunxaDatabaseModelingException;
use Thaumatic\Junxa\Exceptions\JunxaNoSuchColumnException;
use Thaumatic\Junxa\KeyPart;
/**
* Models a database key.
*/
final class Key
{
/**
* @const int key collation: the key is stored in ascending order
... | {
"content_hash": "98db26ba786ab5ad5bb81951e6baf42d",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 79,
"avg_line_length": 25.49789029535865,
"alnum_prop": 0.5846433890451762,
"repo_name": "thaumatic/junxa",
"id": "aa3a454e175a8416be0a8781de7497b9f6957ad8",
"size": "6043... |
package net.oneandone.troilus.async;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionException;
import net.oneandone.troilus.AbstractCassandraBasedTest;
import net.oneandone.troilus.Dao;
import net.oneandone.troilus.DaoImpl;
import net.oneandone.troilus.Record;
import net.oneand... | {
"content_hash": "ddc02256daff3c0b26b8e1f89bdb41e4",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 127,
"avg_line_length": 39.915789473684214,
"alnum_prop": 0.5477320675105485,
"repo_name": "mindis/Troilus",
"id": "fbea8de08c601f8f8672b24638a63d8e2461704f",
"size": "4411... |
# CI Detector
[](https://packagist.org/packages/ondram/ci-detector)
[](https://packagist.org/packages/ondram/ci-detector)
... | {
"content_hash": "c3b842132f39c0bd22e927291e0c4b8e",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 453,
"avg_line_length": 69.02072538860104,
"alnum_prop": 0.516252533593574,
"repo_name": "OndraM/ci-detector",
"id": "4994602d1c9f59d0be801a85a6ceb5fcf8fd83de",
"size": "1... |
<?php
try{
new $class(new stdClass());
}
catch(TypeError $e){
$status = $e->getMessage() == "Argument 1 passed to $class::__construct() must be an instance of UVLoop, instance of stdClass given"?'ok':'fail';
echo "$class $status";
} | {
"content_hash": "a53e48d1011138708a0789f8c7f14c9e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 149,
"avg_line_length": 30.5,
"alnum_prop": 0.639344262295082,
"repo_name": "RickySu/php_ext_uv",
"id": "60ac959269ccd93be4c227dee115fedae76e3dfd",
"size": "244",
"binary"... |
(function(audiojs, audiojsInstance, container) {
// Use the path to the audio.js file to create relative paths to the swf and player graphics
// Remember that some systems (e.g. ruby on rails) append strings like '?1301478336' to asset paths
var path = (function() {
var re = new RegExp('audio(\.min)?\.js.*'),... | {
"content_hash": "eb7d04657c48b13fcba75c24ef0fe2f0",
"timestamp": "",
"source": "github",
"line_count": 625,
"max_line_length": 161,
"avg_line_length": 42.3616,
"alnum_prop": 0.6104396434506723,
"repo_name": "edinella/ploud",
"id": "763f18879e4cb7d16f9bf25d624e2c4419828a06",
"size": "26527",
"bin... |
package org.apache.beam.sdk.io.gcp;
import static org.apache.beam.sdk.util.ApiSurface.classesInPackage;
import static org.apache.beam.sdk.util.ApiSurface.containsOnlyClassesMatching;
import static org.hamcrest.MatcherAssert.assertThat;
import com.google.common.collect.ImmutableSet;
import java.util.Set;
import org.a... | {
"content_hash": "3fa0f43b8b77884044594da5b99473de",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 98,
"avg_line_length": 42.37096774193548,
"alnum_prop": 0.6848115721355158,
"repo_name": "xsm110/Apache-Beam",
"id": "0987140e7d8a872fc3088467d1b851b98d139413",
"size": "34... |
// g2o - General Graph Optimization
// Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source cod... | {
"content_hash": "cc954603ebbd872c3c1adb2c6abd76b7",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 155,
"avg_line_length": 37.87323943661972,
"alnum_prop": 0.6822238750464856,
"repo_name": "LRMPUT/DiamentowyGrant",
"id": "a688aa1ee59b9164c8e965369423607dc156e5bd",
"size... |
class TestExample : public TestCase{
public:
TestExample(int id, std::string brief): TestCase(id, brief){};
protected:
int32_t testint = 12345;
TEST(test1);
TEST(test2);
TEST(test3);
TEST_CASE_METHODS
};
#endif //SE2_TEST_FRAMEWORK_TESTEXAMPLE_H
| {
"content_hash": "69ada2fdd355bdb11bd4abe5af724643",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 66,
"avg_line_length": 20.923076923076923,
"alnum_prop": 0.6727941176470589,
"repo_name": "ReneHerthel/ConveyorBelt",
"id": "b965f69c49329c151e432d7624436e16049a7cde",
"siz... |
'use strict';
import Promise from 'bluebird';
import Joi from 'joi';
export default [
{
path: '/v1/teams',
method: 'GET',
config: {
handler: {
async: Promise.coroutine(function* (request, reply) {
let result = yield Promise.resolve([]);
reply(result);
})
}... | {
"content_hash": "69accbb792f0b5ab68a4cdaf8038a09e",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 106,
"avg_line_length": 23.67910447761194,
"alnum_prop": 0.49196344153797666,
"repo_name": "TylerGarlick/convergent-api",
"id": "6e9ba9f4fbf7bbec0bc78cc65849d7ac7bfb89e2",
... |
(function (angular) {
// Create all modules and define dependencies to make sure they exist
// and are loaded in the correct order to satisfy dependency injection
// before all nested files are concatenated by Gulp
// Config
angular.module('uiNotifier.config', [])
.value('uiNotifier.config', {
debu... | {
"content_hash": "c4d6ac717a2410ae6225f99a4488303b",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.680577849117175,
"repo_name": "mihnsen/ui-notifier",
"id": "a0b1fdf6f4c448958966c7cf70761bb7a5b1348e",
"size": "6... |
package net.projecteuler.barreiro.problem;
import net.projecteuler.barreiro.algorithm.Primes;
import java.util.HashMap;
import java.util.Map;
import static java.util.stream.LongStream.rangeClosed;
import static net.projecteuler.barreiro.algorithm.util.LongUtils.pow;
import static net.projecteuler.barreiro.algorith... | {
"content_hash": "aa9761dd072a405ff6b30b3e128a0e27",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 137,
"avg_line_length": 29.357142857142858,
"alnum_prop": 0.6828872668288727,
"repo_name": "barreiro/euler",
"id": "9dbbe989b97ec3ea3f380fcbda75cd4ca63af496",
"size": "1288... |
package org.lxp.crawler;
import com.github.tomakehurst.wiremock.junit.WireMockRule;
import org.apache.http.HttpStatus;
import org.apache.http.conn.ConnectionPoolTimeoutException;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
imp... | {
"content_hash": "29a6956afa29e71e95ef7654c5f40a8c",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 143,
"avg_line_length": 38.67857142857143,
"alnum_prop": 0.7156048014773777,
"repo_name": "hivsuper/study",
"id": "fdb27632db629e51019a0830ef8422f01c812b51",
"size": "4332... |
package duckdns
import (
"errors"
"fmt"
"net/http"
"time"
"github.com/go-acme/lego/v3/challenge/dns01"
"github.com/go-acme/lego/v3/platform/config/env"
)
// Config is used to configure the creation of the DNSProvider
type Config struct {
Token string
PropagationTimeout time.Duration
PollingInte... | {
"content_hash": "254e15687538fef1889ceb16c9698d4a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 109,
"avg_line_length": 31.908045977011493,
"alnum_prop": 0.7557636887608069,
"repo_name": "xenolf/lego",
"id": "aec3659117b66f349fae3f44cf307664100d95b3",
"size": "2947",
... |
package io.spine.server.command.model.given.commander;
import com.google.common.collect.ImmutableList;
import io.spine.core.External;
import io.spine.model.contexts.projects.command.SigAddTaskToProject;
import io.spine.model.contexts.projects.command.SigAssignTask;
import io.spine.model.contexts.projects.command.Sig... | {
"content_hash": "4a23b221c1eec0f723f6209993580c10",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 98,
"avg_line_length": 37.7875,
"alnum_prop": 0.7790274561693682,
"repo_name": "SpineEventEngine/core-java",
"id": "08c87e3f1a005bd43c778410f64f807472435227",
"size": "4264... |
OraQB
=====
Oracle SQL query builder for Node.JS.
[](https://travis-ci.org/thaumant/oraqb) | {
"content_hash": "f0e6882675a1c5cbf71de4bc02ada41d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 111,
"avg_line_length": 27.166666666666668,
"alnum_prop": 0.7300613496932515,
"repo_name": "thaumant/node-oraqb",
"id": "dce0dc460d3cbda9262fad5cf7203dafc6f67002",
"size": "... |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternGuards #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE CPP #-}
{-# OPTIONS_HADDOCK hide #-}
module Text.Markdown.Block
( Block (..)
, ListType (..)
, toBlocks
, toBlockLines
) where
import Prelude
import Control.... | {
"content_hash": "c01157c4bffd59ca72af47544cd38e1c",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 112,
"avg_line_length": 36.54913294797688,
"alnum_prop": 0.5212715483156729,
"repo_name": "thefalconfeat/markdown",
"id": "a99a0199feb6119048034568c94887f5efdc55d0",
"size... |
using Android.App;
using Android.Content;
using Android.Gms.Auth;
using Android.Gms.Auth.Api;
using Android.Gms.Auth.Api.SignIn;
using Android.Gms.Common;
using Android.Gms.Common.Apis;
using System;
using System.Reactive;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
using T... | {
"content_hash": "a610748515ae2df1c24638a265ad566a",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 133,
"avg_line_length": 32.76646706586826,
"alnum_prop": 0.5444078947368421,
"repo_name": "toggl/mobileapp",
"id": "74e615412ee379a53c7e351547c9c09e0596839d",
"size": "547... |
package com.bh.wechat.response;
import java.io.Serializable;
public class Help implements Serializable {
private static final long serialVersionUID = -8456386106123940446L;
private int helpId;
private String title;
public int getHelpId() {
return helpId;
}
public void setHelpId(in... | {
"content_hash": "e792b4c329dc935b19b4cb40bdfdbc26",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 71,
"avg_line_length": 18.071428571428573,
"alnum_prop": 0.6462450592885376,
"repo_name": "liufeiit/wechat-mall",
"id": "e8cf1693b74f8c3d8e26712bda7612face194baa",
"size": ... |
const std::string CLIENT_NAME("Satoshi");
// Client version number
#define CLIENT_VERSION_SUFFIX "-beta"
// The following part of the code determines the CLIENT_BUILD variable.
// Several mechanisms are used for this:
// * first, if HAVE_BUILD_INFO is defined, include build.h, a file that is
// generated by the ... | {
"content_hash": "b70058acffa8a46c7485685221ad5bcf",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 155,
"avg_line_length": 39.42857142857143,
"alnum_prop": 0.7069746376811594,
"repo_name": "nusacoin/nusacoin",
"id": "4177fa94619dc3adf33e4a092a1391a40135a775",
"size": "26... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3740b2cc28662b37789e72387c0c7b90",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "26e45adc3c307577a0316f4d5c52d821290b49ef",
"size": "179... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="@drawable/com_facebook_button_blue_pressed"
android:state_focused="true"
android:state_pressed="true"
/>
<item
android:drawable="@drawable/com_facebook_... | {
"content_hash": "077264aa79087fecabf5d9f83e1a1848",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 115,
"avg_line_length": 33,
"alnum_prop": 0.6763636363636364,
"repo_name": "Insside/android-iCiudades",
"id": "f2ac1c21c9e01b5d97e2b2707ffa02c4c0bfe335",
"size": "825",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.