text stringlengths 2 1.04M | meta dict |
|---|---|
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/*
Created by : Hafiyyan
Created date : 08/06/2014
Last Updated date : 08/06/2014
Function : Model table Item Image
*/
class item_image extends CI_Model{
function __construct(){
parent::__construct();
$this->item... | {
"content_hash": "00dc6a68ceff381df4567ef43373424b",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 74,
"avg_line_length": 22.25,
"alnum_prop": 0.5820224719101124,
"repo_name": "OnBaseLabs/teangin",
"id": "38663c8478bc6ce1e246ef62a0599d1a8b83152d",
"size": "890",
"binar... |
using System;
using System.Diagnostics;
using Deq.Search.Soe.Extensions;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.SOESupport;
namespace Deq.Search.Soe.Infastructure.Commands {
/// <summary>
/// A command with no return value
/// </summary>
public abstract class Command {
/// <summa... | {
"content_hash": "4f55bba2760f9be6dd7e1191a059e9c7",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 114,
"avg_line_length": 29.325301204819276,
"alnum_prop": 0.5456039441248973,
"repo_name": "agrc/deq-enviro",
"id": "b01990bf18bc2107ddbb8a3af22d009712d2d887",
"size": "243... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\Url;
use yii\helpers\ArrayHelper;
use wbraganca\dynamicform\DynamicFormWidget;
use common\models\LookupState;
use backend\models\KdsProgram;
/* @var $this yii\web\View */
/* @var $model backend\modules\gallery\models\GalleryInfo */
/* @var $form y... | {
"content_hash": "77b1a1866fcdf1f71ab896a45d1b1568",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 161,
"avg_line_length": 38.875,
"alnum_prop": 0.5146991272393202,
"repo_name": "development2016/cdsb",
"id": "2810e2f0f2dd8247674209618a6a820e7638d805",
"size": "4354",
... |
package com.vanniktech.vntfontlistpreference;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import java.util.Arrays;
import java.util.Collection;
import static org.junit.Assert.assertEquals;
@RunWith(Parameterized.class)
public class StringFormatUtilsTest {
@Par... | {
"content_hash": "ddfd36450a189436f7e59a9645bb2fd3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 126,
"avg_line_length": 31.181818181818183,
"alnum_prop": 0.685131195335277,
"repo_name": "vanniktech/VNTFontListPreference",
"id": "09268ef180f32f48e4a2ece3403677ab906fc1aa"... |
START_ATF_NAMESPACE
void GUILD_BATTLE::CGuildBattleStateList::Advance(int iAdvance)
{
using org_ptr = void (WINAPIV*)(struct GUILD_BATTLE::CGuildBattleStateList*, int);
(org_ptr(0x1403df610L))(this, iAdvance);
};
GUILD_BATTLE::CGuildBattleStateList::CGuildBattleStateList(int iStateMax, i... | {
"content_hash": "48b08aeb3004b796ec2979befdb88ba8",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 141,
"avg_line_length": 44.48979591836735,
"alnum_prop": 0.668348623853211,
"repo_name": "goodwinxp/Yorozuya",
"id": "6b12a2df0b66e5a6060854b022b8ca2524f3c0ed",
"size": "44... |
#include "environment.h"
#include <qdebug.h>
#include <qstringlist.h>
#include <qmap.h>
#include <qdir.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qstandardpaths.h>
#include <process.h>
#include <errno.h>
#include <iostream>
//#define CONFIGURE_DEBUG_EXECUTE
//#define CONFIGURE_DEBUG_CP_DIR
using names... | {
"content_hash": "fb476cdaf070acda6c2d359f6eb82169",
"timestamp": "",
"source": "github",
"line_count": 602,
"max_line_length": 192,
"avg_line_length": 36.49501661129568,
"alnum_prop": 0.6033682294037324,
"repo_name": "klim-iv/phantomjs-qt5",
"id": "81769aa043ce7e8da74736a4f1b97e7d71b13311",
"size"... |
include ActionDispatch::TestProcess
FactoryGirl.define do
factory :feedback do
scheme_id 1
score 1
description "They provide good knowledge base"
end
end
| {
"content_hash": "8dc712a4bf5761cfecda5a077646a171",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 50,
"avg_line_length": 19,
"alnum_prop": 0.7485380116959064,
"repo_name": "bitzesty/scheme-finder-frontend",
"id": "9ff07ab6255332b0376d9d67abb80e4664f8e415",
"size": "171",... |
require 'spec_helper'
packages = [
'ntp'
]
dependencies = [
'cowsay',
'toilet',
'fortune-mod'
]
describe 'Packages' do
packages.each do |pkg|
describe package(pkg) do
it { should be_installed }
end
end
dependencies.each do |pkg|
describe package(pkg) do
it { should be_installed }... | {
"content_hash": "d72dc33c73cffee253a1c6af3cd3f351",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 68,
"avg_line_length": 20.717391304347824,
"alnum_prop": 0.6107030430220357,
"repo_name": "Yueyehua/puppet_template",
"id": "1d608676f089b04587b95a83d312e359c8420049",
"siz... |
/*
* For comments regarding functions please see the header file.
*/
#include <sstream>
#include "guichan/exception.h"
#include "guichan/imagefont.h"
#include "guichan/image.h"
namespace gcn
{
ImageFont::ImageFont(const std::string& filename, const std::string& glyphs)
{
if (Imag... | {
"content_hash": "19471e0ada1e688fb2715cf0cf4f877c",
"timestamp": "",
"source": "github",
"line_count": 275,
"max_line_length": 103,
"avg_line_length": 26.592727272727274,
"alnum_prop": 0.42444961028305755,
"repo_name": "k1643/StratagusAI",
"id": "52f22af4fe6c762bbd634f142686a3b72eed12c1",
"size": ... |
FROM balenalib/up-board-fedora:34-run
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
RUN dnf install -y \
python3-pip \
python3-dbus \
&& dnf clean all
# install "virtualenv", since the vast majority ... | {
"content_hash": "df21e1d9ff337de065f33806ade641f3",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 720,
"avg_line_length": 78.19354838709677,
"alnum_prop": 0.7322607260726073,
"repo_name": "nghiant2710/base-images",
"id": "0c546909f32cbf9a9c27d50778984c5366b4c460",
"size... |
define(['marionette',
'./footerTemplate.hbs'], function(Marionette, FooterTemplate){
var FooterView = Marionette.LayoutView.extend({
template: FooterTemplate
});
return FooterView;
});
| {
"content_hash": "28bb453e3c771fd846ce6844ee3341bc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 63,
"avg_line_length": 19.4,
"alnum_prop": 0.7319587628865979,
"repo_name": "UDA-EJIE/uda-rup",
"id": "5ec6d6a2a888f6c6df44c416242459552d452862",
"size": "195",
"binary":... |
#ifndef DeviceMotionEvent_h
#define DeviceMotionEvent_h
#include "Event.h"
namespace WebCore {
class DeviceMotionData;
class DeviceMotionEvent : public Event {
public:
~DeviceMotionEvent();
static PassRefPtr<DeviceMotionEvent> create()
{
return adoptRef(new DeviceMotionEvent);
}
static... | {
"content_hash": "8f9ea15c55006735ae3fc5fa1f8dc2d2",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 114,
"avg_line_length": 25.256410256410255,
"alnum_prop": 0.7532994923857868,
"repo_name": "aosm/WebCore",
"id": "f7080228652c7689b1eb74bf46e02485eeb6142d",
"size": "2316",... |
package org.spongepowered.api.entity.living.animal;
/**
* Represents a Pig.
*/
public interface Pig extends Animal {
}
| {
"content_hash": "90a3d50110be0c11f7bafa6f54146964",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 13.777777777777779,
"alnum_prop": 0.717741935483871,
"repo_name": "gabizou/SpongeAPI",
"id": "06c95222c0d99c431ff4c0f959c0350ff5339281",
"size": "1374... |
import os
import glob
import atexit
import random
import shutil
import string
import tempfile
from unittest import mock
import pytest
from libcloud.storage.drivers.local import LocalStorageDriver
def make_tmp_file(content=None):
content = content or b"1"
fd, path = tempfile.mkstemp()
with os.fdopen(fd... | {
"content_hash": "5ea7416d2acaec36f415c03223ec201d",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 97,
"avg_line_length": 24.339622641509433,
"alnum_prop": 0.6236434108527131,
"repo_name": "apache/libcloud",
"id": "9425cb43e81c681a7c187c2d8cc24c9d9db273f0",
"size": "336... |
package tw.kewang.cwb.utils;
public class Constants {
public static final String NOT_FOUND = "找不到資料";
public static final int ONE_HOUR = 60 * 60 * 1000;
}
| {
"content_hash": "7b0c721105d0ca6cdbb6b43629a77521",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 54,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.6951219512195121,
"repo_name": "kewang/cwb-lib-java",
"id": "ca6a26aa7286cc04ee2eb3dce3c2c394db47ec43",
"size": "1... |
<?php
namespace Cerad\Bundle\TournBundle\Controller\Schedule;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Cerad\Bundle\TournBundle\Controller\BaseController as MyBaseController;
class ScheduleOfficialListController extends MyBaseController
{
const SESSION_SCHE... | {
"content_hash": "b967ee082d98185ae947494882ecc67f",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 110,
"avg_line_length": 35.333333333333336,
"alnum_prop": 0.5483792936623125,
"repo_name": "cerad/cerad2",
"id": "e7bbf790c42e9baa61f01420f5421a792f9120aa",
"size": "4134"... |
package com.facebook.imagepipeline.producers;
import static org.fest.assertions.api.Assertions.assertThat;
import static org.mockito.Mockito.*;
import org.junit.*;
import org.junit.runner.*;
import org.mockito.*;
import org.robolectric.*;
@RunWith(RobolectricTestRunner.class)
public class BaseConsumerTest {
@Moc... | {
"content_hash": "23b1a8fa51097ed3184f0d7140590115",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 98,
"avg_line_length": 29.638709677419357,
"alnum_prop": 0.7185459294732259,
"repo_name": "MaTriXy/fresco",
"id": "d82135163d89034a7a55714c3490f79bfd7d706e",
"size": "4901... |
#pragma once
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ConfigService
{
namespace Model
{
/**
* <p>F... | {
"content_hash": "90258cb5bd73031f4a5b331f783a09c1",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 130,
"avg_line_length": 31.392307692307693,
"alnum_prop": 0.6701788777260476,
"repo_name": "jt70471/aws-sdk-cpp",
"id": "3f74237f1f51f135e8f84d1fe46e52223c8ba894",
"size":... |
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') | {
"content_hash": "ea89acbcf859a31b3c65ab3b4cad19cc",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 68,
"avg_line_length": 68,
"alnum_prop": 0.6764705882352942,
"repo_name": "nate63179/downer",
"id": "8d075800569043102220ab6458100a883394131c",
"size": "68",
"binary": fal... |
"""Simple tools to query github.com and gather stats about issues.
Thanks to the IPython team for developing this!
python github_stats.py --milestone 2.0 --since-tag rel-1.0.0
"""
#-----------------------------------------------------------------------------
# Imports
#-------------------------------------------... | {
"content_hash": "49c3f4e5f91309cec641e04b7ce58592",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 147,
"avg_line_length": 36.44394618834081,
"alnum_prop": 0.5608465608465608,
"repo_name": "blink1073/python-matlab-bridge",
"id": "ba6e36707f728ac8fbce3d5c69ae5fbd46803e72",... |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.2.0
Version: 3.3.0
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... | {
"content_hash": "7873f5787e515026fc969828f482898e",
"timestamp": "",
"source": "github",
"line_count": 2115,
"max_line_length": 356,
"avg_line_length": 32.24586288416076,
"alnum_prop": 0.5195601173020528,
"repo_name": "mono13th/mpo",
"id": "a3b2953bcbf9a2f94b0796e8111ab52d263507b1",
"size": "68200... |
################################################################################
## Makefile for compiling apps against the nRF51 SDK
################################################################################
################################################################################
## Usage
##
## In your ... | {
"content_hash": "8fa11ad714b138216a0f56155fe0ca40",
"timestamp": "",
"source": "github",
"line_count": 888,
"max_line_length": 194,
"avg_line_length": 41.0731981981982,
"alnum_prop": 0.6929783675595647,
"repo_name": "Tech4Race/nrf5x-base",
"id": "3084875bb1ac0440fb6c3246d0a7be1f8f5dc704",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsBuilder.Statements;
namespace CsBuilder.DSL
{
public static class UsingStatementExtensions
{
public static UsingStatement WithAlias(this UsingStatement usingStatement, string alias)
{
usin... | {
"content_hash": "de8b199c7e713fca0c24a26aa9e34e41",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 96,
"avg_line_length": 23.470588235294116,
"alnum_prop": 0.6967418546365914,
"repo_name": "jorgehmv/CsBuilder",
"id": "2a7ff07316b9c51f981e2d184f19cf6cdf29dacf",
"size": "4... |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads/v12/services/conversion_adjustment_upload_service.proto
namespace Google\Ads\GoogleAds\V12\Services;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
... | {
"content_hash": "17b6045a3d8724368dc354774ad7a72f",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 164,
"avg_line_length": 41.45,
"alnum_prop": 0.6944683784249526,
"repo_name": "googleads/google-ads-php",
"id": "c90dd8d32f6aac3f8b582e24c7b11e0869f962bd",
"size": "5803",... |
const _plotly_attr = merge_with_base_supported([
:annotations,
:background_color_legend, :background_color_inside, :background_color_outside,
:foreground_color_legend, :foreground_color_guide,
# :foreground_color_grid, :foreground_color_axis,
:foreground_color_text, :foreground_color_border,
:fo... | {
"content_hash": "76e9994034a60eba3cf2e76096014949",
"timestamp": "",
"source": "github",
"line_count": 641,
"max_line_length": 153,
"avg_line_length": 31.906396255850233,
"alnum_prop": 0.5489927635439077,
"repo_name": "JuliaPackageMirrors/Plots.jl",
"id": "3ad993f376961107dd3f05a2c33ee9491492a1ab",
... |
(function($) {
$.fn.DynamicScrollspy = function(opts) {
//define opts
opts = (typeof(opts) == 'undefined') ? {} : opts;
this.isinit = (typeof(this.isinit) == 'undefined') ? false : self.isinit;
//destroy scrollspy ooption
if (opts == 'destroy') {
this.isinit = false;
this.empty();
... | {
"content_hash": "f571d3b018f12fb8517d9cabe5ba2dba",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 144,
"avg_line_length": 28.621951219512194,
"alnum_prop": 0.5135634142877432,
"repo_name": "psalmody/dynamic-scrollspy",
"id": "216e3faa2833335cdd6d9f8cb0b0f561f35da3ac",
... |
ActiveRecord::Schema.define(version: 20160930190451) do
create_table "alerts", force: :cascade do |t|
t.integer "course_id", limit: 4
t.integer "user_id", limit: 4
t.integer "article_id", limit: 4
t.integer "revision_id", limit: 4
t.string "type", limit: 255
... | {
"content_hash": "03597f6390dee69f82ce60de2f84a918",
"timestamp": "",
"source": "github",
"line_count": 382,
"max_line_length": 163,
"avg_line_length": 44.95811518324607,
"alnum_prop": 0.5609642482822872,
"repo_name": "MusikAnimal/WikiEduDashboard",
"id": "1672ef5c2bc777d296779b65fc9c70dfdcccb594",
... |
package org.apache.calcite.sql.validate;
import org.apache.calcite.rel.type.RelDataType;
import org.apache.calcite.sql.SqlCall;
import org.apache.calcite.sql.SqlCallBinding;
import org.apache.calcite.sql.SqlNode;
import org.apache.calcite.sql.SqlOperator;
import org.apache.calcite.sql.type.SqlTypeName;
/**
* Namesp... | {
"content_hash": "eec6f6ecb639bb3e8c7be0edab1bc3ca",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 35.61290322580645,
"alnum_prop": 0.6684782608695652,
"repo_name": "googleinterns/calcite",
"id": "46f4534a5e3a0e632a78384dc55f9364e770c6d9",
"size": ... |
ActiveRecord::Schema.define(version: 20140314225458) do
create_table "activities", force: true do |t|
t.integer "user_id"
t.string "name"
t.boolean "is_count"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "counts", force: true do |t|
t.integer "activity_id"
t.... | {
"content_hash": "e55f3f36ebd0208f8c0f90b74b2ad861",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 104,
"avg_line_length": 30.295454545454547,
"alnum_prop": 0.6324081020255063,
"repo_name": "tommeng/LifeTapper-Web",
"id": "45ede5f8d4236adba28882c0d0817174310553d1",
"size... |
import logging
import time
from flask import Flask
from gevent.pywsgi import WSGIServer
def create_app():
app = Flask(__name__)
@app.route('/hello/file/')
def index():
return 'hello'
return app
class DemoMiddleware(object):
def __init__(self, app):
self.app ... | {
"content_hash": "36b258c2643975d94b67d4fde6ba405e",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 66,
"avg_line_length": 22.46875,
"alnum_prop": 0.5924895688456189,
"repo_name": "by46/geek",
"id": "4024aaa8b7f7b1ba89e9cca09a6e331b87c11501",
"size": "719",
"binary": fa... |
@interface ViewController : UIViewController
@end
| {
"content_hash": "dac9bcb2fad1f06d838859933c5c4541",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 44,
"avg_line_length": 10.6,
"alnum_prop": 0.7924528301886793,
"repo_name": "base0225/clock",
"id": "706c62179fd53adc4204f7bfd13d697ea2773797",
"size": "212",
"binary": fa... |
/*
* Created on Nov 28, 2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package sorting2014;
import java.lang.reflect.*;
/**
* @author rcs
*
* To change the template for this generated type comment go to
* Wind... | {
"content_hash": "1dc025825bfab01ba85e9cf09411f6e0",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 72,
"avg_line_length": 21.738095238095237,
"alnum_prop": 0.6549835706462213,
"repo_name": "waxerclaxer/Holding",
"id": "32141a1431a32dce365e1a7c46825c5e3e4b27a8",
"size": "... |
ikubeServices.service('resultsBuilderService', function($rootScope) {
this.buildResults = function(searchResults) {
var results = [];
// Iterate through the results from the Json data
angular.forEach(searchResults, function(key, value) {
var id = key['id'];
var fragment = key['fragment'];
if (!!fragment... | {
"content_hash": "c3de02f2fb4fb5888be54ec31262161b",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 81,
"avg_line_length": 24.228070175438596,
"alnum_prop": 0.6010137581462708,
"repo_name": "michaelcouck/ikube",
"id": "dcae406bdb02342bfacfe4ca391d9b0e192f61cd",
"size": "1... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2b04b50fbd2f0b6f4ec8091a6f9cf8cd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "7bf5dde03f7d5f237590d0738c7212f9ea5b6277",
"size": "190... |
<!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_25) on Fri Jul 22 10:51:30 CEST 2011 -->
<TITLE>
CalendarUrl
</TITLE>
<META NAME="date" CONTENT="2011-07-22">
<LINK REL ="stylesheet" TYPE="text/cs... | {
"content_hash": "53bbe9ca3243da69d3d73ce68923818a",
"timestamp": "",
"source": "github",
"line_count": 634,
"max_line_length": 257,
"avg_line_length": 43.572555205047315,
"alnum_prop": 0.6632036199095023,
"repo_name": "dcheng/PhoneGap-Calendar-Plugin",
"id": "f927f20325a44ffd88bb019f8d2640ad767ceb27... |
<!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_22) on Tue Nov 16 12:39:13 CET 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
org.resthub.oauth2.filter.service... | {
"content_hash": "c4d875e1f9315570a7f9fa66deb7b62c",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 435,
"avg_line_length": 44.160493827160494,
"alnum_prop": 0.6312552418227565,
"repo_name": "resthub/resthub.github.io",
"id": "1c5a412f863364a3d51ad66c2f3071b75af85e8a",
"... |
package org.kie.api.runtime.rule;
import java.util.Iterator;
/**
* <p>
* Contains the results of a query. The identifiers is a map of the declarations for the query, only patterns or fields that are bound can
* be accessed in the QueryResultsRow. This class can be marshalled using the drools-drools-pipeline modu... | {
"content_hash": "891b711424b6965b26cec8ac9b7824d4",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 153,
"avg_line_length": 29.5,
"alnum_prop": 0.7508474576271187,
"repo_name": "reynoldsm88/droolsjbpm-knowledge",
"id": "e47a98bec386d368aab875e8e16977b10e300699",
"size": "... |
file(REMOVE_RECURSE
"CMakeFiles/runtest.dir/runtest.cpp.obj"
"runtest.pdb"
"runtest.exe"
"runtest.exe.manifest"
"libruntest.dll.a"
)
# Per-language clean rules from dependency scanning.
foreach(lang CXX)
include(CMakeFiles/runtest.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
| {
"content_hash": "2279003856736b095d26cbe95c05aa35",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 68,
"avg_line_length": 24.75,
"alnum_prop": 0.7508417508417509,
"repo_name": "CFelipe/emmn",
"id": "c28dfc6754cbecffe88662d760c59fcd52ec109b",
"size": "297",
"binary": fa... |
{{ if .Site.Params.GA_KEY }}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ .Site.Params.GA_KEY }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == docum... | {
"content_hash": "1b102d5ebe9f2179985e3e9327f2d87f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 117,
"avg_line_length": 35.06666666666667,
"alnum_prop": 0.6045627376425855,
"repo_name": "georgeyk/hugony",
"id": "1e699f407d96190f86a6ca86a04778bbbeee829a",
"size": "526"... |
package schoperation.schopcraft.cap.thirst;
import net.minecraft.block.material.Material;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.mat... | {
"content_hash": "8e1459311595d7f9c7162765c5bf7806",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 179,
"avg_line_length": 42.15577889447236,
"alnum_prop": 0.6309452854929074,
"repo_name": "Schoperation/SchopCraft",
"id": "b3be3ae640cb020d51dec0e841d6690fc25f1ecc",
"siz... |
require 'rails_helper'
RSpec.describe ParametersList, type: :model do
describe 'Validations'
context 'With existing user' do
FactoryGirl.build(:user)
subject {FactoryGirl.build(:parameters_list)}
it {should validate_presence_of(:name)}
it {should validate_length_of(:name).is_at_least(5)}
i... | {
"content_hash": "88ae1ab9c5edc7c99f9b72dd497a0b42",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 64,
"avg_line_length": 33.75,
"alnum_prop": 0.6783068783068783,
"repo_name": "fchampreux/Rendez-vous",
"id": "7467ee30f60160e0e4f272d409fc9674c19361a5",
"size": "1585",
"... |
<!-- ================================================================== -->
<!-- Title: HMP45C Air Temperature SensingProcedure File -->
<!-- Date: September 20, 2012 -->
<!-- Author: H. Brown -->
<!-- ===========... | {
"content_hash": "bdf56a77d390ed00c2a516065c01d28e",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 128,
"avg_line_length": 39.450980392156865,
"alnum_prop": 0.5089463220675944,
"repo_name": "akrherz/iem",
"id": "43c996bf2709bd741d50436272dc1be0c83d2c36",
"size": "2012",
... |
import {Component} from "@angular/core";
@Component({
templateUrl: './demo.component.html',
styles: [`
.live-demo-wrap h4 {
font-size: 20px;
margin-bottom: 20px;
}
.live-demo-wrap p {
font-size: 14px;
margin: 10px 0 20px 0
}
`... | {
"content_hash": "1e9d4bd89f4d9a84686349bde065923d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 75,
"avg_line_length": 28.344827586206897,
"alnum_prop": 0.44525547445255476,
"repo_name": "rdkmaster/jigsaw",
"id": "415c399cd0d4b8306c07953b7521e6f9f621ea83",
"size": "82... |
'use strict'
/*
* Serves as a gate for the synced ports.
*
* chi: {
* <nodeId>: <uuid>
* }
*/
function PortSyncer (originId, syncPorts) {
this.syncPorts = syncPorts
this.originId = originId
this.store = {}
}
PortSyncer.prototype.add = function (link, p) {
if (!p.chi.hasOwnProperty(this.originId)) {
... | {
"content_hash": "01407e13a3dcc075d187a0d41088ef60",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 73,
"avg_line_length": 19.037735849056602,
"alnum_prop": 0.6105054509415263,
"repo_name": "psichi/chix",
"id": "a0a4d68418d35519af0afd60de0e8a921a3ee9f0",
"size": "1009",
... |
<!DOCTYPE html>
<html>
<head>
<title>Bézier Fun</title>
<script type="text/javascript" src="bezier-fun.js"></script>
<meta charset="utf-8">
</head>
<body style="margin: 0">
<canvas id="bezier-canvas" width="1280" height="720" style="border: 1px solid black"></canvas>
</body>
</html>
| {
"content_hash": "773b4aae17fc5504593c2c9545eb9cff",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 98,
"avg_line_length": 27.272727272727273,
"alnum_prop": 0.6433333333333333,
"repo_name": "KarlZylinski/bezier-fun",
"id": "81cd68efb1d53473aa58a1b90231fdf4e2fab3ef",
"size... |
from __future__ import division, unicode_literals
"""
This module contains some math utils that are used in the chemenv package.
"""
__author__ = "David Waroquiers"
__copyright__ = "Copyright 2012, The Materials Project"
__credits__ = "Geoffroy Hautier"
__version__ = "2.0"
__maintainer__ = "David Waroquiers"
__email_... | {
"content_hash": "7deb8ba278fd69b261ef9452cf72513e",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 119,
"avg_line_length": 35.42481203007519,
"alnum_prop": 0.59471505889844,
"repo_name": "matk86/pymatgen",
"id": "c52c5a411af9ea81afa3b50481b48e2388f503e2",
"size": "9533"... |
import os
import sys
import array
import getopt
import math
import random
import networkx
# Maximum weight for an edge
MAX_WEIGHT = 100
class GenGraphScript:
def __init__(self, argv):
self.argc = len(argv)
self.argv = argv
def usage(self):
print "Usage: " + sys.argv[0] + " [-w] [-g g... | {
"content_hash": "a7f7a2eecea6e556c52c7776f2bac8ad",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 103,
"avg_line_length": 28.815533980582526,
"alnum_prop": 0.47607816711590295,
"repo_name": "usc-cloud/parallel-louvain-modularity",
"id": "edfbd817062fc8c4ab995b7a075b9ebd1... |
package org.apache.cassandra.db.guardrails;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.function.Consumer;
import org.junit.Assert;
import org.junit.Test;
import static java.lang.String.format;
import static... | {
"content_hash": "dffb6bb5188295e9b8df6842830de684",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 126,
"avg_line_length": 48.149377593360995,
"alnum_prop": 0.5878145467080317,
"repo_name": "belliottsmith/cassandra",
"id": "e7eaeb40161938a17727d476691fedbd44916360",
"si... |
#ifndef CSSInitialValue_h
#define CSSInitialValue_h
#include "CSSValue.h"
#include <wtf/PassRefPtr.h>
namespace WebCore {
class CSSInitialValue : public CSSValue {
public:
static PassRef<CSSInitialValue> createExplicit()
{
return adoptRef(*new CSSInitialValue(/* implicit */ false));
}
stati... | {
"content_hash": "06f6623c78fd69604e2bec5d88effe8a",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 68,
"avg_line_length": 20.404761904761905,
"alnum_prop": 0.6837806301050176,
"repo_name": "aosm/WebCore",
"id": "a0a6e554885fa1081560cab68442d7797ae2fe1b",
"size": "1754",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8492bea0a1daee7e3c2765931b61a2aa",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "be3ff464eb34f26f96ca6504e2df5945e3c144d1",
"size": "187... |
import { trouveTarification } from 'containers/CommandeEdit/components/components/AffichePrix';
import round from 'lodash/round';
import memoize from 'lodash/memoize';
import groupBy from 'lodash/groupBy';
/* calcule les totaux de la commande
* @utilisateurId commande contenus de(s) l'utilisateur(s)
* @commandeContenu... | {
"content_hash": "1883d32b60673b7d732376330daeec51",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 105,
"avg_line_length": 37.625,
"alnum_prop": 0.6914451827242525,
"repo_name": "Proxiweb/react-boilerplate",
"id": "2569be13e54593fb87f541be9c0996d2ae99c56f",
"size": "2409... |
import AvailablePlayersModule from './availablePlayers'
import AvailablePlayersController from './availablePlayers.controller';
import AvailablePlayersComponent from './availablePlayers.component';
import AvailablePlayersTemplate from './availablePlayers.html';
describe('AvailablePlayers', () => {
let $rootScope, ma... | {
"content_hash": "a1d59f8deb01575798d9bdd5ef93dcb1",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 97,
"avg_line_length": 31.71698113207547,
"alnum_prop": 0.6395002974419988,
"repo_name": "kanzelm3/Fantasy-Football-Draft-Companion",
"id": "a6ece0c2e1bcd2fcfa940286d00746c5d... |
'use strict';
/**
* Authorization middleware
*
* Check that the user is logged in
*/
const jwt_check = require('./jwt_check');
module.exports = {
// User has to be logged in to post
isAuthorized: function (req, res, next) {
jwt_check(req, res, function (err) {
if (err) return next(err);
if (!... | {
"content_hash": "3299cec3af53017c271d406f3b77c1e4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 85,
"avg_line_length": 21.727272727272727,
"alnum_prop": 0.5857740585774058,
"repo_name": "chamsocial/Chamsocial",
"id": "8e3f2f8e87bde6e55aff39271160bd47e99051a6",
"size":... |
roFORWARD_DECL_PTR(RoButtonSound);
roFORWARD_DECL_PTR(RoLoginServerInterface);
struct RoPacketReceivedEvent;
struct RoServerConnectedEvent;
struct RoServerConnectRequestFailedEvent;
struct RoServerDisconnectedEvent;
enum class RoLoginStage
{
NONE,
LOGIN_PROMPT,
LOGIN_SERVER_CONNECTING,
LOGIN_SERVER_RE... | {
"content_hash": "9c1cb2d3619187c4cade0cf4a30a290b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 143,
"avg_line_length": 30.43103448275862,
"alnum_prop": 0.7852691218130312,
"repo_name": "ViteFalcon/RokLegend",
"id": "0be31b79c10a232f3d1ea5ecd3270efa73cebdf8",
"size": ... |
var app;
(function (app) {
var movieList;
(function (movieList) {
// Controller class
var MovieListCtrl = (function () {
function MovieListCtrl(dataAccessService, title, showImage, message, movies) {
var _this = this;
this.dataAccessService = dataAcces... | {
"content_hash": "ea29737a19dba59a0d26c71cca077c3b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 90,
"avg_line_length": 38.774193548387096,
"alnum_prop": 0.5166389351081531,
"repo_name": "DeborahK/Angular3Flavors",
"id": "a48a91758e532b85b338864e5b9473218623332e",
"siz... |
#ifndef PCH_H
#define PCH_H
// add headers that you want to pre-compile here
#include "framework.hpp"
#ifdef _DEBUG
#pragma comment(lib, "Boring32d.lib")
#else
#pragma comment(lib, "Boring32.lib")
#endif
#endif //PCH_H
| {
"content_hash": "5892f3db1eed3e14973d093c9aa4844b",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 48,
"avg_line_length": 16.928571428571427,
"alnum_prop": 0.6708860759493671,
"repo_name": "yottaawesome/Onyx32",
"id": "087c1b8075e8156442ad64eb7fa4dcbd272e92ec",
"size": "... |
"""Implements an |Edge| that receives messages with the HTTP protocol. WSGI_ is
a Python specification for defining communication between web servers and the
application.
The resulting edge can be used by any HTTP client, like curl::
$ curl -v -X POST -H 'Content-Type: message/rfc822' \\
--data-binary ... | {
"content_hash": "04f2e1520cd568b02e8a6f5c2b9c00b8",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 79,
"avg_line_length": 37.96825396825397,
"alnum_prop": 0.6341137123745819,
"repo_name": "slimta/python-slimta",
"id": "2738325f86bc0e4ccfa85719fedd92dfe672bdf0",
"size": ... |
"""
Support for controlling GPIO pins of a Raspberry Pi.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/rpi_gpio/
"""
# pylint: disable=import-error
import logging
from homeassistant.const import (
EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP... | {
"content_hash": "8150f80f10c8975f88d97f76a290d051",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 74,
"avg_line_length": 24.735294117647058,
"alnum_prop": 0.6646848989298454,
"repo_name": "Julian/home-assistant",
"id": "ab31378fb0b3c01c50769aebdd81df2d5f4454d2",
"size":... |
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.CSS
{
/// <summary>
/// Modifies the rule selector.
/// </summary>
[Command(ProtocolName.CSS.SetMediaText)]
public class SetMediaTextCommand
{
/// <summary>
/// Gets or sets ... | {
"content_hash": "29cfaefd8a51d02173732fc352048e44",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 48,
"avg_line_length": 22.653846153846153,
"alnum_prop": 0.6706281833616299,
"repo_name": "brewdente/AutoWebPerf",
"id": "b955c2245778938508a97320494023e9113ffc4b",
"size":... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | {
"content_hash": "19ee5d962cd16e778f6e81a0cd1103cb",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 94,
"avg_line_length": 33.88732394366197,
"alnum_prop": 0.7460515378221114,
"repo_name": "alaisi/nalloc",
"id": "40e6ea85ea79eebf834b8702b46169a3b919fed9",
"size": "2406",
... |
package stackongo
import (
"fmt"
"strings"
)
// AllComments returns all comments in site
func (session Session) AllComments(params map[string]string) (output *Comments, error error) {
output = new(Comments)
error = session.get("comments", params, output)
return
}
// Comments returns the comments with the given... | {
"content_hash": "7b6eab2a0740a4a2dff2c3ef45e987c2",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 121,
"avg_line_length": 35.82692307692308,
"alnum_prop": 0.6980676328502415,
"repo_name": "laktek/Stack-on-Go",
"id": "2c3ead3eead0d9a8996aa518b615479194245e63",
"size": "... |
<!DOCTYPE html>
<html lang="en-gb" dir="ltr" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script>
window.frctl = {
env: 'static'
};
</script>
<script>var cl = document.querySelector('html').classList; cl.remove('no... | {
"content_hash": "9d60d5c02def63d38fba63d590b01392",
"timestamp": "",
"source": "github",
"line_count": 1115,
"max_line_length": 885,
"avg_line_length": 34.017040358744396,
"alnum_prop": 0.5279337709931714,
"repo_name": "24ways/frontend",
"id": "d086a818ce3c42f57c7b339c715e7b3f6544268f",
"size": "3... |
package asposefeatures.workingwithslides.slidecomments.java;
import com.aspose.slides.IComment;
import com.aspose.slides.ICommentAuthor;
import com.aspose.slides.ICommentCollection;
import com.aspose.slides.ISlide;
import com.aspose.slides.Presentation;
import com.aspose.slides.SaveFormat;
public class AsposeCommen... | {
"content_hash": "38402c17ea2611707685efdef7657aa1",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 82,
"avg_line_length": 32.41772151898734,
"alnum_prop": 0.659117532213979,
"repo_name": "aspose-slides/Aspose.Slides-for-Java",
"id": "d81131aefd549c927cd12684cf763f741ba0ffd... |
package org.hisp.dhis.dxf2.dataset.streaming;
import com.fasterxml.jackson.core.JsonGenerator;
import org.hisp.dhis.dxf2.dataset.CompleteDataSetRegistration;
import java.io.IOException;
/**
* @author Halvdan Hoem Grelland
*/
public class StreamingJsonCompleteDataSetRegistration
extends CompleteDataSetRegistr... | {
"content_hash": "c81a841e570592964e534fee63d2d210",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 80,
"avg_line_length": 23.097560975609756,
"alnum_prop": 0.44456177402323127,
"repo_name": "vietnguyen/dhis2-core",
"id": "86fb799c749a1dec253369fd0694425829d4552f",
"size... |
void Install_Registry(bool erase=false, const char *key=DEFAULT_REGISTRY_LOCATION);
void Install_RegistryEnd();
extern TRegistry *settings;
struct filecopylist
{
const char *src;
const char *dest;
};
bool Install_InstallFiles( filecopylist * );
bool Install_DeleteFiles( filecopylist * );
bool Install_Add... | {
"content_hash": "f3cf7dfae1d1e41cd404af150502cfc1",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 83,
"avg_line_length": 30.55,
"alnum_prop": 0.5188216039279869,
"repo_name": "jdkoftinoff/if2kv2",
"id": "f6b327fa1288d0d7b952e0ccd8a053d9e7726e07",
"size": "1344",
"bina... |
[](https://travis-ci.org/smallhelm/droideka)
[](https://david-dm.org/smallhelm/droideka)
fight back against email scrapers
## What it does
* finds all `<a href="mailto:...` email addr... | {
"content_hash": "a1c2d95f4eb638148a40b0f81d9dace2",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 526,
"avg_line_length": 29.761194029850746,
"alnum_prop": 0.6880641925777332,
"repo_name": "smallhelm/droideka",
"id": "5b95c5a6f778eb2c2ed67e6a41f3bb6d674bc32e",
"size": "... |
migrants-now
============
Forces an immediate migrant wave. Only works after migrants have
arrived naturally. Equivalent to `modtools/force` ``-eventType migrants``
]====]
df.global.timed_events:insert('#',{
new = true,
type = df.timed_event_type.Migrants,
season = df.global.cur_season,
s... | {
"content_hash": "6333b4c84967eb73ed6adbb24024b921",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 30.642857142857142,
"alnum_prop": 0.6573426573426573,
"repo_name": "KohaiKhaos/modified-MWDF",
"id": "768fa0580812ffbada2aae29e707a2b53251a5d0",
"siz... |
package se.softhouse.garden.orchid.spring.utils;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
/**
* This is class makes it possible to concatenate strings using multiple [] as
* follows ${url['/a/b']['/c']}
*
* @author Mikael Svahn
*
*/
public class StringMap implements Map<Strin... | {
"content_hash": "ffc1895faf8ae8a623927bb82e39edcc",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 78,
"avg_line_length": 15.720930232558139,
"alnum_prop": 0.6915680473372781,
"repo_name": "Softhouse/orchid",
"id": "caec1526db27f19c6b61d537bf7d3884097eb4a5",
"size": "232... |
// Created by Loïc Gardiol on 30.10.13.
#import "FoodRestaurantInfoCell.h"
#import "FoodService.h"
#import "MapController.h"
#import "FoodRestaurantViewController.h"
#import "UIImageView+AFNetworking.h"
static const CGFloat kTopBarHeight = 30.0;
@interface FoodRestaurantInfoCell ()
@property (nonatomic, stro... | {
"content_hash": "39143ce2701c3cde19cb5d285b057b4a",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 264,
"avg_line_length": 42.723684210526315,
"alnum_prop": 0.7157376039421004,
"repo_name": "ValentinMinder/pocketcampus",
"id": "ad9ce8d3fbeefeea180ba69a5c23c7663e438af5",
... |
<!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_29) on Mon Nov 26 17:20:50 MSK 2012 -->
<TITLE>
AreaFormatRecord (POI API Documentation)
</TITLE>
<META NAME="date" CONTENT="2012-11-26">
... | {
"content_hash": "a30af9c3f6bc845573cce24ceb9cd1e6",
"timestamp": "",
"source": "github",
"line_count": 780,
"max_line_length": 344,
"avg_line_length": 39.93333333333333,
"alnum_prop": 0.6240208039039424,
"repo_name": "HRKN2245/CameraSunmoku",
"id": "f353fbdfdbfd4f934dee8c40b03366a5dcad890a",
"size... |
package scriptella.driver.text;
import scriptella.core.EtlCancelledException;
import scriptella.expression.PropertiesSubstitutor;
import scriptella.spi.AbstractConnection;
import scriptella.spi.ParametersCallback;
import scriptella.util.IOUtils;
import java.io.BufferedReader;
import java.io.BufferedWriter;... | {
"content_hash": "3d2c7b2a142f67bbe068dfb4822d306b",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 108,
"avg_line_length": 31.741071428571427,
"alnum_prop": 0.5969057665260197,
"repo_name": "scriptella/scriptella-etl",
"id": "0afc88e8d0ce9796258e0c65b617c98ab796a857",
"... |
/*************************************************************************/
/* visual_script_flow_control.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "3f39986b3c7c73a854e8d4b95c25b28e",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 78,
"avg_line_length": 33.67293233082707,
"alnum_prop": 0.6881768449257564,
"repo_name": "ex/godot",
"id": "91592d3d5504f2ad720a9b4f4d85e0f3a104699b",
"size": "8957",
"b... |
<!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_151) on Thu Dec 05 05:02:04 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SecretServerIdentityConsume... | {
"content_hash": "9c8eec16b2b984dd7122c36d4742b5b5",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 846,
"avg_line_length": 49.778225806451616,
"alnum_prop": 0.6729850141757797,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "39accc0d5dd87505a3147827b0a51bef187... |
package meta
import (
"testing"
"github.com/GoogleCloudPlatform/kubernetes/pkg/runtime"
)
type fakeCodec struct{}
func (fakeCodec) Encode(runtime.Object) ([]byte, error) {
return []byte{}, nil
}
func (fakeCodec) Decode([]byte) (runtime.Object, error) {
return nil, nil
}
func (fakeCodec) DecodeInto([]byte, r... | {
"content_hash": "a542c173e957e6aa8653631dd19eb1be",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 141,
"avg_line_length": 36.66030534351145,
"alnum_prop": 0.6994273815720978,
"repo_name": "bnprss/kubernetes",
"id": "954f69c75917c167377fbbcc6be1bbbe2bc0638d",
"size": "1... |
<?php
/**
* ResetPasswordHandlerTest.php
* restfully
* Date: 23.09.17
*/
namespace Components\Tests\Interaction\Users\ResetPassword;
use AppBundle\Validator\Result;
use Components\Infrastructure\Events\INotifier;
use Components\Infrastructure\Events\ResourceMessage;
use Components\Infrastructure\Response\ErrorRes... | {
"content_hash": "40404ff1342d54920c658a38a104ccb9",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 101,
"avg_line_length": 33.416666666666664,
"alnum_prop": 0.6928512053200333,
"repo_name": "avanzu/audiorama",
"id": "8d7b2b08d004fba4397931d7ea3f9ce4a892960b",
"size": "24... |
A Sample Node.js Rest API and a client app made with AngularJs
## Node.js REST API
## React Client (FLUX)
Made by Paulo Gabriel Poffal
| {
"content_hash": "f94bf94ba61657e484b54b7455067169",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 62,
"avg_line_length": 15.777777777777779,
"alnum_prop": 0.7183098591549296,
"repo_name": "pmajoras/pgp-logs",
"id": "dc32c7d2d492f2666b73f3f1994a55c405400021",
"size": "155... |
class CreateUsers < ActiveRecord::Migration
def change
create_table :users do |t|
t.string :name
t.string :username
t.string :password
t.timestamps
end
end
end
| {
"content_hash": "3d12dbeb8997d4780454e5bc569e8a9a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 43,
"avg_line_length": 17.90909090909091,
"alnum_prop": 0.6395939086294417,
"repo_name": "mhyee/wishlist",
"id": "db1cf32724c694a2289bb5be80488cbd0a50c024",
"size": "197",
... |
<?php
class Staple_Form_CheckboxGroup extends Staple_Form_Element
{
/**
* An array that holds the Checkbox elements.
* @var array[Staple_Form_CheckboxElement]
*/
protected $boxes = array();
public function addCheckbox(Staple_Form_CheckboxElement $box)
{
$this->boxes[] = $box;
return $this;
}
/**
... | {
"content_hash": "3667744f10f6d96af97ae90fc00ad4d7",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 109,
"avg_line_length": 20.122994652406415,
"alnum_prop": 0.59022056869519,
"repo_name": "advation/TimeTracker",
"id": "84904501c17e3ac671ed4646c5622604d32c4c68",
"size": ... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Sydowia 5: 53 (1951)
#### Original name
Leptosphaeria tofieldiae E. Müll., 1951
### Remarks
null | {
"content_hash": "cf1d414c4fb27e7b0f1b675db249e1da",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 14.153846153846153,
"alnum_prop": 0.7065217391304348,
"repo_name": "mdoering/backbone",
"id": "24a24782c505f4203a0b3598c6441f5885e190d1",
"size": "24... |
package com.sksamuel.elastic4s.requests.searches.aggs.builders
import com.sksamuel.elastic4s.json.{XContentBuilder, XContentFactory}
import com.sksamuel.elastic4s.requests.searches.aggs.{AbstractAggregation, SamplerAggregation, SubAggsBuilderFn}
object SamplerAggregationBuilder {
def apply(agg: SamplerAggregation, ... | {
"content_hash": "98090c638d0efb22291cb5ceed1aa7dc",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 132,
"avg_line_length": 41,
"alnum_prop": 0.801829268292683,
"repo_name": "sksamuel/elastic4s",
"id": "06d3e00450480639d6789a654ec7ac9abe112f7a",
"size": "656",
"binary":... |
using System;
using NUnit.Framework;
using Passenger.Attributes;
using Passenger.PageObjectInspections.UrlDiscovery;
using Passenger.PageObjectInspections.UrlVerification;
namespace Passenger.Test.Unit
{
[TestFixture]
public class PassengerConfigurationTests
{
[Test]
public void Ctor_Defau... | {
"content_hash": "f50024a2756d0860737b77496b1bab77",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 150,
"avg_line_length": 38.97560975609756,
"alnum_prop": 0.704630788485607,
"repo_name": "davidwhitney/Passenger",
"id": "fa62a574f1a0bed808b3544f93bdfbb8ba28a3ce",
"size":... |
FROM balenalib/smarc-px30-ubuntu:focal-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVittie... | {
"content_hash": "6cdc0f0cf665deff233068c81fa2be35",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 709,
"avg_line_length": 50.61052631578947,
"alnum_prop": 0.7038269550748752,
"repo_name": "nghiant2710/base-images",
"id": "73b08b1d2da5b2bd642e6f0bae6880287a33c9f6",
"size... |
@implementation EXProtocolImplementation
@end
| {
"content_hash": "1cb4b9a5c3a4ae6c4e5b96d031bca31d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 40,
"avg_line_length": 15.666666666666666,
"alnum_prop": 0.8723404255319149,
"repo_name": "carabina/Depend",
"id": "28723d5441c700654e334f714d2487616dcfffe3",
"size": "244",... |
<?php
namespace SpomkyLabs\JoseBundle\DependencyInjection\Source;
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\Reference;
final class E... | {
"content_hash": "f07287e75199e923343c08b1446a9737",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 89,
"avg_line_length": 33.30769230769231,
"alnum_prop": 0.4581408775981524,
"repo_name": "Spomky-Labs/JoseBundle",
"id": "65e47dc2abaa9a4a326ebb064e5936272d3d89fb",
"size"... |
package org.pac4j.core.http.ajax;
import org.junit.Test;
import org.pac4j.core.context.MockWebContext;
import static org.junit.Assert.*;
/**
* Tests the {@link DefaultAjaxRequestResolver}.
*
* @author Jerome Leleu
* @since 1.8.0
*/
public final class DefaultAjaxRequestResolverTests {
private final AjaxRequ... | {
"content_hash": "71d967f3f5df7895a35392df326d5703",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 107,
"avg_line_length": 28.575,
"alnum_prop": 0.6981627296587927,
"repo_name": "pac4j/pac4j",
"id": "bbd61394637f37594f08b545ce1ce6ebb86ba350",
"size": "1143",
"binary": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>zorns-lemma: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "1d59a11e927cc75dfa9b3299694762a9",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 159,
"avg_line_length": 40.449438202247194,
"alnum_prop": 0.5523611111111111,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "82e8cb081d00822cd133a46f3ef0b08c2cb45bb2",... |
package org.woltage.irssiconnectbot;
import java.util.List;
import org.woltage.irssiconnectbot.bean.HostBean;
import org.woltage.irssiconnectbot.service.TerminalBridge;
import org.woltage.irssiconnectbot.service.TerminalManager;
import org.woltage.irssiconnectbot.transport.TransportFactory;
import org.woltage.irssi... | {
"content_hash": "45ab4fd89e60b46183907578387bce5a",
"timestamp": "",
"source": "github",
"line_count": 556,
"max_line_length": 113,
"avg_line_length": 30.902877697841728,
"alnum_prop": 0.7362937958328484,
"repo_name": "irssiconnectbot/irssiconnectbot",
"id": "47e9844dab6d9326e0b49d5326d65ca857a99708... |
package com.linecorp.armeria.internal.common;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;
import static org.junit.jupiter.params.provider.Arguments.arguments;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ato... | {
"content_hash": "35ae5ffe270dcbbb0fb61cc2299ab042",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 109,
"avg_line_length": 43.345454545454544,
"alnum_prop": 0.673238255033557,
"repo_name": "minwoox/armeria",
"id": "6b96c728e12ed971e93c9f753ddf7debda96dd40",
"size": "540... |
using Client.Web.Controllers;
using Grit.Utility.Authentication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Client.Web
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
public ... | {
"content_hash": "bfaf826dc2b2d39b1ffeb762926d63dc",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 134,
"avg_line_length": 36.13157894736842,
"alnum_prop": 0.6460305899490167,
"repo_name": "hotjk/dotsso",
"id": "a3ec1485f4bb6634d3d568ac06d28897c62f9d50",
"size": "1375",
... |
require 'shell_shock/context'
require 'songbirdsh/player'
require 'songbirdsh/preferences'
require 'songbirdsh/command'
require 'yaml'
module Songbirdsh
class Cli
include ShellShock::Context
def with name, *aliases
aliases << name.to_s if aliases.empty?
add_command Command.load(name, @player),... | {
"content_hash": "182b6e17f84b80c8bb6cd86c7eeb6134",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 98,
"avg_line_length": 23.352941176470587,
"alnum_prop": 0.6586901763224181,
"repo_name": "markryall/songbirdsh",
"id": "ff43b0ac750e073b16d814560b10075cc4043a84",
"size": ... |
package ru.objective.jni.tasks.builders;
import org.apache.commons.bcel6.classfile.*;
import org.apache.commons.bcel6.generic.ArrayType;
import org.apache.commons.bcel6.generic.Type;
import org.apache.commons.lang3.StringUtils;
import ru.objective.jni.utils.MethodExportInfo;
import ru.objective.jni.utils.OJNIClassLo... | {
"content_hash": "443ba46f20c0491b7ddfda2ae14f3bf2",
"timestamp": "",
"source": "github",
"line_count": 529,
"max_line_length": 138,
"avg_line_length": 43.907372400756145,
"alnum_prop": 0.5715331295475093,
"repo_name": "ashitikov/Objective-JNI",
"id": "f3f346089a403db4bf3bd33080ecae9487e50c36",
"si... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package net.kirauks.minigames.launcher.games;
/**
*
* @author Karl
*/
public interface OnGameStartListener {
public void onGam... | {
"content_hash": "4ed7eb0f916205354fde703fb4d60e75",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 79,
"avg_line_length": 23.066666666666666,
"alnum_prop": 0.7341040462427746,
"repo_name": "Rauks/MiniGames",
"id": "0e075c7a22d7001c59c3c983036399b01887eb67",
"size": "346"... |
package org.conqat.lib.commons.reflect;
import org.conqat.lib.commons.assertion.CCSMPre;
import org.conqat.lib.commons.enums.EnumUtils;
/**
* Enumeration of Java primitives.
*
* @author deissenb
* @author $Author: kinnen $
* @version $Rev: 41751 $
* @ConQAT.Rating GREEN Hash: B6F3E3BF553614F037D41D71E5295463
... | {
"content_hash": "18b515ab02ce216932cfa6e322dc51bc",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 80,
"avg_line_length": 24.705426356589147,
"alnum_prop": 0.6968936303733919,
"repo_name": "vimaier/conqat",
"id": "7ed499c4e64e0e149a072fe9464467181886ebda",
"size": "4418... |
from django.conf import settings
from django.contrib.auth.models import User, Group, Permission, AnonymousUser
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ImproperlyConfigured
from django.test import TestCase
class BackendTest(TestCase):
backend = 'django.contrib... | {
"content_hash": "0a5808476cc0b21295c15de53102d76a",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 109,
"avg_line_length": 39.011428571428574,
"alnum_prop": 0.6591475025633514,
"repo_name": "disqus/django-old",
"id": "5163943716a7320c8512d4dc09cb9414e012e41d",
"size": "... |
This is an awful Pong clone in Rust using SDL2. Gotta start somewhere.
## Font
The font used it Alterbro Pixel Font, which seems released under no license but looks great and is available here:
http://www.alterebro.com/works/design/alterebro-pixel-font.ae
| {
"content_hash": "1c3fb13743a3c5a396ed315af92017e0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 114,
"avg_line_length": 37,
"alnum_prop": 0.7837837837837838,
"repo_name": "dpetersen/vbp",
"id": "5f4d189ecceb80c1bd502bb1c5d49c9f3dac75d1",
"size": "267",
"binary": fals... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("4.... | {
"content_hash": "b0e07b23a8b7d619813d04deeee7a531",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.083333333333336,
"alnum_prop": 0.7412935323383084,
"repo_name": "DimitarIvanov8/software-university",
"id": "f2a11c69b91a895ede2e6649ebdb5ea8ffabd0b... |
from flask.ext.sqlalchemy import SQLAlchemy
from sqlalchemy import Column, Integer, String, Date
from server.data import db, CRUDMixin
import datetime
import sys, re
import simplejson as json
from flask import jsonify
from server.chartviewer.models import *
from server.data import db, compile_query, query_to_list_json,... | {
"content_hash": "9f134bbecd20eb69a5008601d3fe2129",
"timestamp": "",
"source": "github",
"line_count": 458,
"max_line_length": 296,
"avg_line_length": 37.31659388646288,
"alnum_prop": 0.5340237551927915,
"repo_name": "ddinsight/dd-analytics",
"id": "0d91974f33bb4161b5128996ed8b64ddb7eb88b8",
"size... |
Connected
=========
Connected! is a connected textures API for Minecraft 1.7.10 that allows your blocks to have connected textures in multiple forms.
The ones that are implemented right now are:
- Normal blocks
- FMP microblocks
- BuildCraft facades
- EnderIO painted blocks
- EnderIO conduit facades
- Blocks implemen... | {
"content_hash": "aa30b1644f8d2e646b1725a0c0a4386f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 201,
"avg_line_length": 35.86363636363637,
"alnum_prop": 0.7515842839036755,
"repo_name": "amadornes/Connected",
"id": "207e50d625f8646d9c4a1a6b422ed73280d91a5d",
"size": "... |
require File.expand_path('../../test_helper', __FILE__)
class AddressTest < ActiveSupport::TestCase
def test_should_generate_full_address
address = Address.new
address.street1 = "300 Boylston Ave E"
address.street2 = "Piso2 Dto.4"
address.city = "Seattle"
address.region = "WA"
address.postco... | {
"content_hash": "640c431f7e90bfffcceaaba4ebb0dadc",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 129,
"avg_line_length": 31.11881188118812,
"alnum_prop": 0.6862869869551385,
"repo_name": "cema-sp/docker-redmine",
"id": "797f7a4b7f82eec1aa29cbb1349ee67a31813383",
"size... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using NUnit.Framework;
using osu.Game.Graphics;
using osu.Game.Overlays;
using osu.Game.Overlays.Dialog;
namespace osu.Game.Tests.Visual
{
[TestFixture]
public ... | {
"content_hash": "bbef01c37e261c009ee2f1b3c96832d5",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 79,
"avg_line_length": 33.77333333333333,
"alnum_prop": 0.416502171338334,
"repo_name": "naoey/osu",
"id": "e832793fc26237456999d01f70c3fa2b09ce9220",
"size": "2535",
"bi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.