text stringlengths 2 1.04M | meta dict |
|---|---|
define([
'jquery',
'underscore',
'backbone',
'translate'
], function($, _, Backbone, _t) {
'use strict';
var BaseView = Backbone.View.extend({
isUIView: true,
eventPrefix: 'ui',
template: null,
idPrefix: 'base-',
appendInContainer: true,
initialize: function(options) {
this.op... | {
"content_hash": "93a2256f510824d452af115cfbaca1e0",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 76,
"avg_line_length": 25.866666666666667,
"alnum_prop": 0.5329896907216495,
"repo_name": "domruf/mockup",
"id": "eeba14a0326b209f7e1dfec687665ee23179787f",
"size": "1940",... |
package io.xpydev.paycoinj.net;
import io.xpydev.paycoinj.core.Utils;
import io.xpydev.paycoinj.utils.Threading;
import com.google.common.annotations.VisibleForTesting;
import com.google.protobuf.ByteString;
import com.google.protobuf.MessageLite;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java... | {
"content_hash": "d17e2b5a4dac2fdc2dfc30a4778734be",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 124,
"avg_line_length": 44.55045871559633,
"alnum_prop": 0.6618616144975288,
"repo_name": "PaycoinFoundation/paycoinj",
"id": "3d4fabe3309c511f9e5ffa3a898a00cd05380085",
"... |
import {InspectTool, InspectToolView} from "./inspect_tool"
import {Tooltip, TooltipView} from "../../annotations/tooltip"
import {RendererView} from "../../renderers/renderer"
import {GlyphRenderer, GlyphRendererView} from "../../renderers/glyph_renderer"
import {GraphRendererView} from "../../renderers/graph_renderer... | {
"content_hash": "4c3c65ef3c8af55452a46f30503ae94e",
"timestamp": "",
"source": "github",
"line_count": 501,
"max_line_length": 131,
"avg_line_length": 32.18363273453094,
"alnum_prop": 0.565058298189035,
"repo_name": "jakirkham/bokeh",
"id": "9e8c866a0c18a24472c681ee68d56d85f1ce55d2",
"size": "1612... |
module Azure::GraphRbac::V1_6
#
# The Graph RBAC Management Client
#
class Groups
include MsRestAzure
#
# Creates and initializes a new instance of the Groups class.
# @param client service class for accessing basic functionality.
#
def initialize(client)
@client = client
end
... | {
"content_hash": "2a50b96d8d328ad8eb280e12f2536c2b",
"timestamp": "",
"source": "github",
"line_count": 1074,
"max_line_length": 129,
"avg_line_length": 39.399441340782126,
"alnum_prop": 0.6560557721848045,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "f3b888bd35446ba1941584a8e01c15b41846dec4",
"... |
module Member::Addon
module GithubOAuth
extend SS::Addon
extend ActiveSupport::Concern
include Member::Addon::BaseOAuth
included do
define_oauth_fields(:github)
end
end
end
| {
"content_hash": "4f5e0f6c408c0f5fb89e12752f1028ef",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 36,
"avg_line_length": 18.545454545454547,
"alnum_prop": 0.696078431372549,
"repo_name": "sunny4381/shirasagi",
"id": "a16b5ed2ab06f304985ab18d0595563d522179be",
"size": "2... |
package org.locationtech.geomesa.geojson
import java.io.Closeable
import com.github.benmanes.caffeine.cache.Caffeine
import com.typesafe.scalalogging.LazyLogging
import com.vividsolutions.jts.geom.{Geometry, Point}
import org.geotools.data.{DataStore, FeatureWriter, Query, Transaction}
import org.geotools.factory.H... | {
"content_hash": "d0f6cefa34007e0af3e5a8700838d28d",
"timestamp": "",
"source": "github",
"line_count": 430,
"max_line_length": 124,
"avg_line_length": 37.14418604651163,
"alnum_prop": 0.6705484598046582,
"repo_name": "nagavallia/geomesa",
"id": "f59ec7de6f75d57dfd43cf9a9acf2aa994c1b0cb",
"size": "... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="es_CL" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About SPEC</source>
<translation>Sobre SPEC</translation>
</message... | {
"content_hash": "eb6f3953b2cfe91fa4e8978c587c74ed",
"timestamp": "",
"source": "github",
"line_count": 2952,
"max_line_length": 402,
"avg_line_length": 36.078252032520325,
"alnum_prop": 0.6114381754504568,
"repo_name": "noise23/spec-wallet",
"id": "0da40c5aa30ddad461c6d8605bed72c18f532c38",
"size"... |
<a href='http://github.com/angular/angular.js/edit/master/docs/content/tutorial/step_00.ngdoc' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this doc</a>
<ul doc-tutorial-nav="0"></ul>
<p>You are now ready to build the AngularJS phonecat app. In this step, you will becom... | {
"content_hash": "1575ab99572586bce489b962f809b992",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 198,
"avg_line_length": 61.525,
"alnum_prop": 0.7362860625761886,
"repo_name": "leandrooriente/racha-conta",
"id": "4d0bb85f0347aeed13a42a96e6fdc9d24b0a859d",
"size": "738... |
<?xml version="1.0" encoding="utf-8"?>
<menu
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/menu_item_share"
android:icon="@drawable/ic_share_dark"
android:title="@string/share_title"
app:... | {
"content_hash": "3d4ac390bbb6a07601724e45b36dc6d5",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 62,
"avg_line_length": 33.59090909090909,
"alnum_prop": 0.6224627875507442,
"repo_name": "StepicOrg/stepik-android",
"id": "c172c9b902eb8ed1256ae875b88346948607bc8c",
"size... |
(function($){
function buildGrid(target){
var opts = $.data(target, 'edatagrid').options;
$(target).datagrid($.extend({}, opts, {
onDblClickCell:function(index,field){
if (opts.editing){
$(this).edatagrid('editRow', index);
focusEditor(field);
}
},
onClickCell:function(index,field){
... | {
"content_hash": "e83ad681df85e072f04e2907313bd05c",
"timestamp": "",
"source": "github",
"line_count": 300,
"max_line_length": 95,
"avg_line_length": 26.85,
"alnum_prop": 0.5787709497206703,
"repo_name": "masach/FjutOrgProject",
"id": "31f6f06786dd8772e2c1ab4b1e7a3687cc2478f9",
"size": "8270",
"... |
using Test
using MPI
function find_sources(path::String, sources=String[])
if isdir(path)
for entry in readdir(path)
find_sources(joinpath(path, entry), sources)
end
elseif endswith(path, ".jl")
push!(sources, path)
end
sources
end
@testset "mpi examples" begin
examples_dir = joinpath(@__D... | {
"content_hash": "62769faf028f8ce307e47514af4ebee4",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 76,
"avg_line_length": 26.548387096774192,
"alnum_prop": 0.6318347509113001,
"repo_name": "JaredCrean2/PETSc.jl",
"id": "6cff2e484c5ee946a0bf2d258ca82c9022189863",
"size": ... |
package org.nd4j.linalg.schedule;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.nd4j.shade.jackson.annotation.JsonProperty;
/**
* Inverse schedule, with 3 parameters: initial value, gamma and power.<br>
* value(i) = initialValue * (1 + gamma * iter)^(-power)
* where i is the iteration or epoch (d... | {
"content_hash": "83d689ec8214af92d200e4dbbb04f41e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 83,
"avg_line_length": 32.2093023255814,
"alnum_prop": 0.6664259927797834,
"repo_name": "deeplearning4j/nd4j",
"id": "5565313fc2c81dbaae1e00816e590eea4a97301b",
"size": "13... |
//@result Submitted a few seconds ago • Score: 50.00 Status: Accepted Test Case #0: 0s Test Case #1: 0s Test Case #2: 0s Test Case #3: 0s Test Case #4: 0s Test Case #5: 0s Test Case #6: 0s Test Case #7: 0s Test Case #8: 0s Test Case #9: 0s
//@algorithm dfs
#include <cmath>
#include <climits>
#include <cstdio>
#include... | {
"content_hash": "765f49477ac6129be3e3ffd598822955",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 239,
"avg_line_length": 36.30769230769231,
"alnum_prop": 0.541843220338983,
"repo_name": "FeiZhan/Algo-Collection",
"id": "6acfacc0bc6b11855bb430ab904d053fc1e67758",
"size"... |
/**
Core script to handle the entire theme and core functions
**/
var Metronic = function() {
// IE mode
var isRTL = false;
var isIE8 = false;
var isIE9 = false;
var isIE10 = false;
var resizeHandlers = [];
var assetsPath = '../../assets/';
var globalImgPath = 'global/img/';
va... | {
"content_hash": "6c37c833fcecf69b4dd727b394b386d3",
"timestamp": "",
"source": "github",
"line_count": 1022,
"max_line_length": 338,
"avg_line_length": 37.031311154598825,
"alnum_prop": 0.4708291497119907,
"repo_name": "lycheng423/yii2",
"id": "fd89fdf937e8da5322e981d00d13c51cde27bee4",
"size": "3... |
<?php
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<script type='text/javascript'>
var idcomments_acct = '<?php echo $account; ?>';
var idcomments_post_id = 'zoo-<?php echo $this->_item->id; ?>';
var idcomments_post_url;
</script>
<span id="IDCommentsPostTitle" style="display:none"></spa... | {
"content_hash": "9a24a74b3f610ddfcb4d021c9ce9c170",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 105,
"avg_line_length": 28.6,
"alnum_prop": 0.6946386946386947,
"repo_name": "notarget84/Grupo-Estudos-do-Pulmao",
"id": "941d5ecf893a3877dc004b3b25a7fa9f540fc344",
"size":... |
package dcd.academic.DAO.impl;
import java.sql.ResultSet;
import java.util.ArrayList;
import com.mysql.jdbc.Connection;
import com.mysql.jdbc.PreparedStatement;
import dcd.academic.DAO.ShareDAO;
import dcd.academic.model.Gift;
import dcd.academic.mysql.dbpool.DBConnectionManage;
public class ShareDaoImp... | {
"content_hash": "9031758671a13abe677f7d90a2ff304b",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 75,
"avg_line_length": 29.756410256410255,
"alnum_prop": 0.6535975872468763,
"repo_name": "SchoolProjs/Gitsoo",
"id": "60c35efb5f377874033cce3d2f216ba8428f6556",
"size": "2... |
/* 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... | {
"content_hash": "bdc5c595ce6fda783bb32286ae82213d",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 124,
"avg_line_length": 37.94117647058823,
"alnum_prop": 0.7550387596899225,
"repo_name": "stefan-ziel/Activiti",
"id": "327c9b0ea2529ac92dcb89d656e2df68be2b6092",
"size": ... |
<?php
/**
* Created by PhpStorm.
* User: Gavin
* Date: 06/12/14
* Time: 13:33
*/
class InterestsTest extends UnitTestCase
{
public function testInterests()
{
$interests = Interest::getTopLevel();
$this->assertTrue($interests->count() == 25);
$links = $interests[0]->getChildrenLink... | {
"content_hash": "adbe7f037ccea5495f41f9dc3d77cec7",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 84,
"avg_line_length": 23.64,
"alnum_prop": 0.583756345177665,
"repo_name": "ApprecieOpenSource/Apprecie",
"id": "08e90502cd543fc2f73dac3068d7c2d47e3b2a0a",
"size": "591",
... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2014 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/l... | {
"content_hash": "312f6788d53bfac66ac765937cebba0a",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 433,
"avg_line_length": 64.5925925925926,
"alnum_prop": 0.7173165137614679,
"repo_name": "haleyharrison/android_instagram",
"id": "3ff22cd71461acfb829cead275b81ddff81a4763",
... |
package org.apereo.cas.support.oauth.web.response.accesstoken.ext;
import org.apereo.cas.support.oauth.OAuth20Constants;
import org.apereo.cas.support.oauth.OAuth20GrantTypes;
import org.apereo.cas.support.oauth.services.OAuthRegisteredService;
import org.apereo.cas.support.oauth.util.OAuth20Utils;
import org.apereo.c... | {
"content_hash": "62599fc89a4fea94d9646ee36083db0f",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 144,
"avg_line_length": 35.42372881355932,
"alnum_prop": 0.7760765550239235,
"repo_name": "philliprower/cas",
"id": "b01b19089d7449da624aa0189de2923c6508f32a",
"size": "209... |
from __future__ import division, with_statement
import functools
# http://wiki.python.org/moin/PythonDecoratorLibrary#Memoize
def memoized(obj):
cache = obj.cache = {}
@functools.wraps(obj)
def memoizer(*args, **kwargs):
key = str(args) + str(kwargs)
if key not in cache:
cache... | {
"content_hash": "f0a567df335485d21b198c7fa9b90543",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 85,
"avg_line_length": 35.395833333333336,
"alnum_prop": 0.5397292525014714,
"repo_name": "nwinter/bantling",
"id": "c597b24bf562067bce9475c53fa9c9441c507502",
"size": "344... |
package eventkitui.test.page.navpanel.groups;
import eventkitui.test.page.core.LoadablePage;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
public class NewGroupPage extends LoadablePage {
@FindBy(id = "custom-text-field") private WebElemen... | {
"content_hash": "4ce5698a81c0aacd6f3d498d500002d4",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 114,
"avg_line_length": 29.08823529411765,
"alnum_prop": 0.7138523761375126,
"repo_name": "terranodo/eventkit-cloud",
"id": "4c0e504d1c138fc54b4309e5c24ad4ff3126e699",
"siz... |
/*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.teleport.commands;
import com.google.inject.Inject;
import io.github.nucleuspowered.nucleus.api.teleport.data.Teleport... | {
"content_hash": "785711d65e062057d4f2d4efe3c84dcb",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 158,
"avg_line_length": 49.08450704225352,
"alnum_prop": 0.6425633668101387,
"repo_name": "NucleusPowered/Nucleus",
"id": "2dcf090e09e4ce413ae0e10f937f15b3c7baa238",
"size... |
@implementation TKAppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.viewController = [[TKNavigationController alloc] initWithRootViewController:[self... | {
"content_hash": "07b057bf21a7eced1c3efcdec55162e0",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 129,
"avg_line_length": 44.869565217391305,
"alnum_prop": 0.6497093023255814,
"repo_name": "mapedd/TKNavigationController",
"id": "e322b7600b24438b2f72e15c15f50c6de6f26d7a",
... |
package com.ansteel.common.tpl.domain;
import java.util.ArrayList;
import java.util.Collection;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.OrderBy;
import javax... | {
"content_hash": "1971e3ef9208ff0bb789d52a59938434",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 82,
"avg_line_length": 20.56756756756757,
"alnum_prop": 0.7316396554241495,
"repo_name": "LittleLazyCat/TXEYXXK",
"id": "5daa61882a2607846e4c556102820bc8a3f6071f",
"size":... |
@interface ARNImageStoreCache : NSObject
+ (void)clear;
+ (void)setThumbnailCacheLimit:(NSUInteger)cacheLimit;
+ (void)setImageCacheLimit:(NSUInteger)cacheLimit;
+ (void)addThumbnailImageWithImage:(UIImage *)image imageURL:(NSURL *)imageURL;
+ (void)addImageWithImage:(UIImage *)image imageURL:(NSURL *)imageURL;
+ (... | {
"content_hash": "0639f3fb666422ad0c06ee437c8d31ca",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 79,
"avg_line_length": 30.857142857142858,
"alnum_prop": 0.7754629629629629,
"repo_name": "xxxAIRINxxx/ARNImageCache",
"id": "4c9783089298afcbc3bd48fd7a4ad8b8c863781b",
"si... |
from .base import BaseImporter
from pupa.utils import get_pseudo_id, _make_pseudo_id
from opencivicdata.legislative.models import (Event, EventLocation, EventSource, EventDocument,
EventDocumentLink, EventLink, EventParticipant,
... | {
"content_hash": "93d576f2d063ce06ea0f7987e775e3ab",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 96,
"avg_line_length": 44.371428571428574,
"alnum_prop": 0.5091221292122773,
"repo_name": "opencivicdata/pupa",
"id": "8d4e0dac52f85bf225d45d836f42ae53a562bd1b",
"size": "... |
static sandbox::BrokerServices* g_broker_services = NULL;
namespace content {
namespace {
// The DLLs listed here are known (or under strong suspicion) of causing crashes
// when they are loaded in the renderer. Note: at runtime we generate short
// versions of the dll name only if the dll has an extension.
// For mo... | {
"content_hash": "eef9c27654d06c1f302d60f50b8868a6",
"timestamp": "",
"source": "github",
"line_count": 779,
"max_line_length": 80,
"avg_line_length": 40.67522464698331,
"alnum_prop": 0.6376002019819479,
"repo_name": "wuhengzhi/chromium-crosswalk",
"id": "35c33d597cc2a730df0c55f89cfa67fb6ea27f5f",
... |
import pyaudio
import wave
import sys
CHUNK = 1024
if len(sys.argv) < 2:
print("Plays a wave file.\n\nUsage: %s filename.wav" % sys.argv[0])
sys.exit(-1)
wf = wave.open(sys.argv[1], 'rb')
p = pyaudio.PyAudio()
stream = p.open(format=p.get_format_from_width(wf.getsampwidth()),
channels=wf.ge... | {
"content_hash": "44377b4bfdcc753f031591703a7daf00",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 71,
"avg_line_length": 18.633333333333333,
"alnum_prop": 0.6189624329159212,
"repo_name": "tdb-alcorn/pymusic",
"id": "f828549b7ec984c74f87eae157b7482fa396233a",
"size": "5... |
% Unify.tex
% vim:set ft=tex spell:
\documentclass{article}
\usepackage {xcolor}
\newcommand \todo[1] {\textcolor{red}{TODO: }#1}
\newcommand \catname[1] {{\normalfont\textbf{#1}}}
\newcommand \Set {\catname {Set}}
\newcommand \Cat {\catname {Cat}}
\begin{document}
\section {Intro}
Normally unification is presente... | {
"content_hash": "9dde81083f400a233d991926ad849bc8",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 890,
"avg_line_length": 99.5925925925926,
"alnum_prop": 0.7772406098921533,
"repo_name": "cartazio/omega",
"id": "32e9e11e61193e269276eea90b2702bf04401bf4",
"size": "5378",... |
"use strict";import"../../Series/WordcloudSeries.js"; | {
"content_hash": "d2bac3341b27bfb8abbdf33c4879b1c9",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 53,
"avg_line_length": 53,
"alnum_prop": 0.7169811320754716,
"repo_name": "cdnjs/cdnjs",
"id": "06625ac63094783402670ccf4337fe524c149626",
"size": "53",
"binary": false,
... |
package edu.msu.mi.socnet;
/**
* Created by josh on 6/9/15.
*/
public interface AttributeProvider {
MyGraphMLExporter.AttributeType getType();
String getName();
String getDataType();
String getValue(Object obj);
}
| {
"content_hash": "90189934c62ffbb937b71e6e4ea9b726",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 46,
"avg_line_length": 14.058823529411764,
"alnum_prop": 0.6778242677824268,
"repo_name": "jintrone/knoeval",
"id": "f2f4d0ee1106ffca71b3892a8b0d6868f6add888",
"size": "239... |
<?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:util="http://www.springframework.org/schema/util"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/... | {
"content_hash": "5966fe01a15ce0b1a1167bbbba0c5aba",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 168,
"avg_line_length": 49.5625,
"alnum_prop": 0.7116435477091215,
"repo_name": "jensfischerhh/cloudurlwatcher",
"id": "c8ec2cabbd89998b74bbeae184f872d0d741e316",
"size": "... |
package main
import (
"github.com/cznic/cc"
bg "github.com/gorgonia/bindgen"
)
func isInput(fnName string, p bg.Parameter) bool {
return inList(p.Name(), inputParams[fnName])
}
func isOutput(fnName string, p bg.Parameter) bool {
return inList(p.Name(), outputParams[fnName])
}
func isIO(fnName string, p bg.Param... | {
"content_hash": "20d9e7ec21ee0f06699347210351471f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 60,
"avg_line_length": 21.66216216216216,
"alnum_prop": 0.6949469744229569,
"repo_name": "chewxy/cu",
"id": "875082f11fb289864195fe005c78622616b74ecb",
"size": "1603",
"b... |
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.7.4
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re
class V1HostAli... | {
"content_hash": "fc327dd05927dc0c7c8098d1facb1fdb",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 105,
"avg_line_length": 25.49645390070922,
"alnum_prop": 0.5171070931849792,
"repo_name": "sebgoa/client-python",
"id": "1af24f87300316f48f0e888977fbf9cd9550c884",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f85a257d6fb33411b9a953ad6b4c627b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "5fdbded255146d546867ef3f9cab687566b25214",
"size": "169... |
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your application in memory, allowing both threaded web serve... | {
"content_hash": "8c81202a8ff8161d85bf222c80a7127c",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 102,
"avg_line_length": 40.329268292682926,
"alnum_prop": 0.7514363471424251,
"repo_name": "cmu-is-projects/Manna",
"id": "9873b9ceaa2c2573a36f08d4771744717db5211a",
"size"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7fc617cdf3434edf5295463f21fd0a64",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "34eb87af9fc69ec0e7fb49646a0dc9e5b4a95f3d",
"size": "194... |
using Cofoundry.Core.AutoUpdate;
namespace Cofoundry.Domain.Installation;
public class ImportPermissionsCommand : IVersionedUpdateCommand
{
public string Description
{
get { return GetType().Name; }
}
public int Version
{
get { return 1; }
}
}
| {
"content_hash": "3448fb34bda5defb0c7a4af3427a15f7",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 63,
"avg_line_length": 18,
"alnum_prop": 0.6631944444444444,
"repo_name": "cofoundry-cms/cofoundry",
"id": "d2a935688acd0a08995858ea0b1583e2d71c1ed4",
"size": "290",
"bin... |
using NineRays.ILOMD;
using NineRays.ILOMD.Options;
namespace MiniObfuscator.Core
{
public class Obfuscator
{
public ObfuscatorSettings Settings { get; private set; }
public Obfuscator(ObfuscatorSettings settings)
{
Settings = settings;
}
public bool Obfuscate()
{
if (!Settin... | {
"content_hash": "3fc1db821034bcadce6ee73cba6c3c8c",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 89,
"avg_line_length": 27.87272727272727,
"alnum_prop": 0.6777560339204175,
"repo_name": "msynk/obfuscator",
"id": "d141d40dedfde77daaf8a92d8e9de7c567c83dc7",
"size": "1535... |
class Spree::Admin::PromotionRulesController < Spree::Admin::BaseController
helper 'spree/promotion_rules'
before_filter :load_promotion, :only => [:create, :destroy]
before_filter :validate_promotion_rule_type, :only => :create
def create
# Remove type key from this hash so that we don't attempt
# to... | {
"content_hash": "582843ed91de358e0b2a95dc9925aeca",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 92,
"avg_line_length": 36.16,
"alnum_prop": 0.6847345132743363,
"repo_name": "codesavvy/sandbox",
"id": "bff790d246ba5423417e067a6e3da7ca4f2a7524",
"size": "1808",
"binar... |
require 'spec_helper'
describe Admin::Config::ShippingZonesController do
render_views
before(:each) do
activate_authlogic
@user = create_super_admin_user
login_as(@user)
end
it "index action should render index template" do
get :index
response.should render_template(:index)
end
#it... | {
"content_hash": "ab79c3dea221dd19c31315fdcaf73013",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 80,
"avg_line_length": 31.147540983606557,
"alnum_prop": 0.7,
"repo_name": "hbdev012/ror-e-comm",
"id": "5e987a10928788010da93b6e08a7376f842f70ae",
"size": "1900",
"binar... |
require('dotenv').load();
// Require keystone
var keystone = require('keystone');
var swig = require('swig');
// Disable swig's bulit-in template caching, express handles it
swig.setDefaults({ cache: false });
// Initialise Keystone with your project's configuration.
// See http://keystonejs.com/guide/config for ava... | {
"content_hash": "efceaa4c7a0492fee093d8add1dd452e",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 124,
"avg_line_length": 25.41747572815534,
"alnum_prop": 0.6913674560733384,
"repo_name": "minehartdesign/andrewhackmann.com",
"id": "783ba4d9070760e498fc79d3562c17946641c8c... |
package ecs
//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
//distribut... | {
"content_hash": "9cfe6d9011cb8942ca74b2e22c245746",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 84,
"avg_line_length": 46.80769230769231,
"alnum_prop": 0.7682826622843056,
"repo_name": "kubernetes/cloud-provider-alibaba-cloud",
"id": "7c1ce28b3b8facb01f9721d4f78fe84e12d... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Prodr. 1:644. 1824
#### Original name
null
### Remarks
null | {
"content_hash": "3fc2a06789a2152cb468d870dd5c0fce",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.384615384615385,
"alnum_prop": 0.6891891891891891,
"repo_name": "mdoering/backbone",
"id": "1aaac20ea13c80490d69fd9c3f120bfba5fb7221",
"size": "20... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class vw_usuario_ativo_venda extends Model
{
public $fillable = ['id','user_id','ativ_cd_id','ativo_cd_ativo','usav_dt_venda','usav_qt_ativo'];
} | {
"content_hash": "14de87ef1780562b9c61053e76dd90d6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 102,
"avg_line_length": 20.636363636363637,
"alnum_prop": 0.6563876651982379,
"repo_name": "wcneto/laravel-stocks-robo-advisor",
"id": "e84fb2104294bdf29d0f75814bd98ed0bc0c82... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2019.09.... | {
"content_hash": "6cdeabc5f02799328e6ea56023290c7b",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 122,
"avg_line_length": 26.51875,
"alnum_prop": 0.6132453452745699,
"repo_name": "h3nrique/CTeModel",
"id": "cec2dbe0428fbc4118a760c7341ca0faf16d6718",
"size": "4243",
"... |
//
// ImageViewDemoController.m
// MeiTuanDemo
//
// Created by CarlXu on 16/9/9.
// Copyright © 2016年 CarlXu. All rights reserved.
//
#import "ImageViewDemoController.h"
@interface ImageViewDemoController ()<UITableViewDelegate,UITableViewDataSource>
@property (nonatomic, strong) UITableView *tableView;
@proper... | {
"content_hash": "6a5fc541788f40c4134508dfaface331",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 305,
"avg_line_length": 32.6910569105691,
"alnum_prop": 0.7266849042526735,
"repo_name": "CarlXu1008/CodeFarmers",
"id": "e9faf3d97e64e4f919d1394621db261b05a1667d",
"size"... |
/* Delphi brush is contributed by Eddie Shipman */
dp.sh.Brushes.Delphi = function()
{
var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
'case char class comp const constructor currency destructor div do double ' +
'downto else end except exports extended fals... | {
"content_hash": "d164c653f02c537cc39b3820d68d2172",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 115,
"avg_line_length": 62.25806451612903,
"alnum_prop": 0.6212435233160621,
"repo_name": "boneman1231/org.apache.felix",
"id": "efeb2f704b5e363cc701791e2b3f1ef371602148",
... |
<?php
namespace GP\OpenAlboPretorio\Scraper;
use GP\OpenAlboPretorio\Scraper;
/**
* @author Giovanni Pirrotta <giovanni.pirrotta@gmail.com>
*/
class AlboPretorioScraperFactory implements AlboPretorioScraperFactoryInterface
{
const TERME_VIGLIATORE = 1;
const BARCELLONA_POZZO_DI_GOTTO = 2;
p... | {
"content_hash": "5002c4efe6e742ebf144cee2dc3b2eda",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 99,
"avg_line_length": 27.463414634146343,
"alnum_prop": 0.6349911190053286,
"repo_name": "gpirrotta/OpenAlboPretorio",
"id": "b602b088acf456c1f0034dc65ed965e5a3920678",
"s... |
create serial ser1
START WITH -10000000000000000000000000000000000000;
select * from db_serial WHERE name='ser1';
drop serial ser1; | {
"content_hash": "d63c923d1d96854fdee6103866df9237",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 51,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.8120300751879699,
"repo_name": "CUBRID/cubrid-testcases",
"id": "27ac6745ac9ddbba9c3f218df8ff61d573a00b2a",
"size"... |
package net.violet.platform.datamodel.mock;
import java.util.ArrayList;
import java.util.List;
import net.violet.db.records.AbstractMockRecord;
import net.violet.platform.datamodel.Feed;
import net.violet.platform.datamodel.FeedItem;
import net.violet.platform.datamodel.Files;
import net.violet.platform.datamodel.fac... | {
"content_hash": "6b8021054a197d06875ebf52c15b9946",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 98,
"avg_line_length": 23,
"alnum_prop": 0.7533274179236912,
"repo_name": "sebastienhouzet/nabaztag-source-code",
"id": "d5d2c307babaa6448dc3be9866a8f35987145752",
"size": ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__wchar_t_listen_socket_w32CreateFile_64a.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-64a.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: listen_socket Re... | {
"content_hash": "890eec8e7e0bf56df28fc4fc229d2f25",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 131,
"avg_line_length": 27.02051282051282,
"alnum_prop": 0.5655722148415259,
"repo_name": "maurer/tiamat",
"id": "07d6b50707e608ba5a228cdd0a4e474069876413",
"size": "5269"... |
@interface LSPEmotionPage()
@property (strong,nonatomic) LSPEmotionPopView *popView;
@property (nonatomic,weak) UIButton *deleteBtn;
@end
@implementation LSPEmotionPage
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
UIButton *deleteBtn = [UIButt... | {
"content_hash": "9855758a5cbaf6b7accdbc364a857378",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 141,
"avg_line_length": 29.2972972972973,
"alnum_prop": 0.6510608856088561,
"repo_name": "lispeng/LSPStatus",
"id": "d62fd56c0944736fa6f81d1a4eb677c2edae422d",
"size": "48... |
package edu.usu.sdl.openstorefront.security;
import javax.servlet.http.HttpServletRequest;
import org.apache.shiro.authc.AuthenticationToken;
/**
* This hold the Header info used in the auth
*
* @author dshurtleff
*/
public class HeaderAuthToken
implements AuthenticationToken
{
private String username;
priv... | {
"content_hash": "688853e01da54f1fa3046392a2d283e2",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 53,
"avg_line_length": 14.86111111111111,
"alnum_prop": 0.7299065420560747,
"repo_name": "skycow/openstorefront",
"id": "da9cceca072917ff82da1753be86ef94e400f9d0",
"size":... |
title: Shallow Dream
categories:
- Machine Learning
- Perceptron
- Python
- Deep Dream
---
So far, this experiment has yielded one major take away: **_I need more tools!_**
Based on the very broad concept behind [Google's Deep Dream project](http://deepdreamgenerator.com/), [Thunder](https://github.com/ThunderShiviah... | {
"content_hash": "bc5590c5a7edb8162fe1b73d73960b70",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 639,
"avg_line_length": 61.80769230769231,
"alnum_prop": 0.7576228998133168,
"repo_name": "uglyboxer/uglyboxer.github.io",
"id": "6f7173767fef019e753dd709a54ddc915aa4ab23",
... |
package edu.mecc.race2ged.navigation;
import android.R;
import android.app.ActionBar;
import android.app.Activity;
import android.content.res.TypedArray;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
impo... | {
"content_hash": "0b6489fb6bfdabbf7490b75babaf7000",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 96,
"avg_line_length": 36.91525423728814,
"alnum_prop": 0.6117998163452709,
"repo_name": "RegionalAdultEducation/Race2GED2",
"id": "a37c97d0435883c91280a1e8056db8717ba65c1a"... |
package com.hazelcast.spi.impl;
import com.hazelcast.logging.ILogger;
import com.hazelcast.nio.Packet;
import static com.hazelcast.instance.OutOfMemoryErrorDispatcher.inspectOutOfMemoryError;
import static com.hazelcast.nio.Packet.FLAG_OP_CONTROL;
import static com.hazelcast.nio.Packet.FLAG_OP_RESPONSE;
/**
* A {... | {
"content_hash": "f2efa1aa05d2775a77e6d7089c3242ed",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 113,
"avg_line_length": 39.78082191780822,
"alnum_prop": 0.5946969696969697,
"repo_name": "tombujok/hazelcast",
"id": "2c952bc2613c39144763a20e08cbaeef64123e15",
"size": "3... |
import React, { PureComponent } from "react";
import studentReporturl from "../../util/student-report-url";
export default class StudentReportLink extends PureComponent {
render() {
const {student, started, activityIndex} = this.props;
const studentId = student.get("id");
const name = student.get("name")... | {
"content_hash": "95e07c07ea47c026ba5117c0b096ab7c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 62,
"avg_line_length": 23.20689655172414,
"alnum_prop": 0.6166419019316494,
"repo_name": "concord-consortium/portal-report",
"id": "a96522b7308e5c05ac80b162ead5f8ea69107189",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Sun Oct 26 05:56:44 EDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="utf-8">
<title>API Help (Sol... | {
"content_hash": "76563d505f8b94f20993bce5af55f22a",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 497,
"avg_line_length": 39.758620689655174,
"alnum_prop": 0.6682567215958369,
"repo_name": "kilfu0701/Solr4-Scaffold",
"id": "ebb465f460b2c1e4117a338b48502861a6a9bd7e",
"s... |
package org.drools.compiler.integrationtests;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.drools.core.marshalling.impl.ProtobufMarshaller;
import org.drools.core.util.DroolsStreamUtils;
import org.kie.api.KieBase;
import org.kie.api.marshalling.O... | {
"content_hash": "f708e297fba55c12d686b1b8ddc4b2ee",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 173,
"avg_line_length": 44.945454545454545,
"alnum_prop": 0.5161812297734628,
"repo_name": "ngs-mtech/drools",
"id": "22f41d886ea37d45c1267fa0c1f530d957c92060",
"size": "7... |
#include <aws/codestar-connections/CodeStarconnectionsEndpoint.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <aws/core/utils/HashingUtils.h>
using namespace Aws;
using namespace Aws::CodeStarconnections;
namespace Aws
{
namespace CodeStarconnections
{
namespace CodeStarconnectionsEndpoint
{
... | {
"content_hash": "52e2c471a623e582fd44c4f7e98b9374",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 101,
"avg_line_length": 26.39344262295082,
"alnum_prop": 0.6577639751552795,
"repo_name": "cedral/aws-sdk-cpp",
"id": "03af3c6ac45eb7703334cf735349fec95312cb50",
"size": "1... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>flocq-quickchick: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | {
"content_hash": "b827ac00b75265392b84703a9d400f22",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 157,
"avg_line_length": 42.333333333333336,
"alnum_prop": 0.5489313835770528,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "ffabf9c78fcbb65e284e6943d4cdeb5fd932ad19",... |
module Builderator
module Control
class Version
##
# Sort earliest -> latest
# (Array.last -> latest (e.g. 1.0.0), Array.first -> earliest(e.g. 0.0.1))
##
module Comparable
include ::Comparable
def <=>(other)
## Simple version comparison
return ma... | {
"content_hash": "24aef88d2d9b08840083ff8963307461",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 113,
"avg_line_length": 30.61038961038961,
"alnum_prop": 0.5337293169282987,
"repo_name": "rapid7/builderator",
"id": "d688ad3a918de470feacab9b6f1e830f131e24e1",
"size": "2... |
<?php
/**
* @see Zend_Gdata_Query
*/
require_once('Zend/Gdata/Query.php');
/**
* @see Zend_Gdata_Gbase_Query
*/
require_once('Zend/Gdata/Gbase/Query.php');
/**
* Assists in constructing queries for Google Base Customer Items Feed
*
* @link http://code.google.com/apis/base/
*
* @category Zend
* @packag... | {
"content_hash": "d1f91d32a02edd1d9062a3b6d10dde51",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 87,
"avg_line_length": 20.975609756097562,
"alnum_prop": 0.5627906976744186,
"repo_name": "vrunoa/examen-fadgut",
"id": "5112e0a63edf2a42d7ac89b03cb15d26a65c0a33",
"size": ... |
<!--
Copyright © 2015 Cask Data, Inc.
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 writi... | {
"content_hash": "352ca23fcfa85dec58c72d0124edcbd6",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 37.94736842105263,
"alnum_prop": 0.7558945908460472,
"repo_name": "chtyim/cdap",
"id": "0f95f107bea54ae3b2792eb2d2e1b64dfd28e54e",
"size": "722",
"... |
package com.actram.solace.interpreter.error;
/**
* An error representing a {@link String} conversion fail caused by the
* interpreted value being out of range.
*
* @author Peter André Johansen
*/
public class OutOfRangeError implements InterpreterError {
} | {
"content_hash": "4288fb3fc82915097d0d711dcf3c2cf9",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 71,
"avg_line_length": 26.2,
"alnum_prop": 0.7633587786259542,
"repo_name": "peterjohansen/gus",
"id": "0f395838375ed9de25011ccb1098fc0ffbcd8de2",
"size": "263",
"binary"... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Common attributes -->
<attr name="bootstrapBrand" format="enum">
<enum name="primary" value="0"/>
<enum name="success" value="1"/>
<enum name="info" value="2"/>
<enum name="warning" value="3"/>
<enum name="danger" ... | {
"content_hash": "5b7d04d3bbd9deb002328c57388f6a02",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 56,
"avg_line_length": 31.958620689655174,
"alnum_prop": 0.5897712559343979,
"repo_name": "haitao111313/Android-Bootstrap",
"id": "59f56d538907693dadf406db17af8baf3f483241",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... | {
"content_hash": "11b256b7b2b32de2d62cfd60537716ab",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 999,
"avg_line_length": 37.47142857142857,
"alnum_prop": 0.5974620118729916,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "18cd8366a2a67725af249768e141d7253e0e479... |
/**
* Proxy connectivity data object if using on box behind a proxy.
*/
export interface ProxyData {
hostname: string;
port: string|number;
}
| {
"content_hash": "fc55865a52ce2543c704ec3ba652c16d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 65,
"avg_line_length": 21.142857142857142,
"alnum_prop": 0.7094594594594594,
"repo_name": "crisboarna/fb-messenger-bot-api",
"id": "16d4649f9b09b2244830f1a56170d898a98ed4a7",
... |
require 'clockwork'
require "sidekiq"
require 'yaml'
RAILS_ENV = ENV['RAILS_ENV']
if RAILS_ENV.nil?
fail ArgumentError, "clockwork must be started with RAILS_ENV"
end
bitsy_config_yml = File.join(File.dirname(__FILE__), "bitsy.yml")
CONFIG = YAML.load_file(bitsy_config_yml)[RAILS_ENV]
Sidekiq.configure_server do |... | {
"content_hash": "1a31c91fc729ecdf0bbc4d62ddc866ca",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 65,
"avg_line_length": 24.344827586206897,
"alnum_prop": 0.7039660056657224,
"repo_name": "dheeraj510/bitsy",
"id": "adef22a1194201f57add1616a08dc96931628369",
"size": "706... |
package applicant.ml.naivebayes
import applicant.nlp.LuceneTokenizer
import applicant.etl.ApplicantData
import org.apache.spark.mllib.feature.{HashingTF, IDFModel}
import org.apache.spark.mllib.linalg.{Vectors, Vector, SparseVector}
object NaiveBayesFeatureGenerator {
val htf = new HashingTF(10000)
val tokenizer ... | {
"content_hash": "f39250614305d6820aac16a87ea7c43a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 77,
"avg_line_length": 31.636363636363637,
"alnum_prop": 0.7298850574712644,
"repo_name": "dataworks/internship-2016",
"id": "7b14b55308b053bafb3ab3ad04b750a04ce7ca0b",
"si... |
package testclient
import (
"fmt"
"sync"
"github.com/emicklei/go-restful/swagger"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/api/v1"
"k8s.io/kubernetes/pkg/apimachinery/registered"
"k8s.io/kubernetes/pkg/client/restclient"
"k8s.io/kubernetes/pkg/client/typed... | {
"content_hash": "613235fdfe0d4a889f82bbd39e9cb5cd",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 121,
"avg_line_length": 32.520782396088016,
"alnum_prop": 0.7637771596120593,
"repo_name": "spinolacastro/origin",
"id": "5f4485b45fa8c8806d77b46de4e485b1ab395f3b",
"size"... |
package com.blackstone.goldenquran.models.models;
/**
* Created by Abdullah on 5/31/2017.
*/
public class ChangePageEvent {
private int pageNumber;
public void setPageNumber(int pageNumber) {
this.pageNumber = pageNumber;
}
public int getPageNumber() {
return pageNumber;
}
... | {
"content_hash": "6628ed496446f74a261a481e0ce99fac",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 49,
"avg_line_length": 17.82608695652174,
"alnum_prop": 0.6609756097560976,
"repo_name": "salemoh/GoldenQuranAndroid",
"id": "9bc605b444e237bbc5ebb2d0f8ee0fe55e288365",
"si... |
package scouter.client.xlog.dialog;
import java.io.FileWriter;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.layout.TableColumnLayout;
import org.eclipse.... | {
"content_hash": "5b99eee592b912a4e52e77ca2817fae5",
"timestamp": "",
"source": "github",
"line_count": 446,
"max_line_length": 129,
"avg_line_length": 32.02242152466368,
"alnum_prop": 0.667273491107688,
"repo_name": "yuyupapa/OpenSource",
"id": "1573947409914597082a6c15c6491e141bba906e",
"size": "... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta... | {
"content_hash": "dae39013311e59fae676b0d56b6e0d97",
"timestamp": "",
"source": "github",
"line_count": 1186,
"max_line_length": 269,
"avg_line_length": 78.57841483979765,
"alnum_prop": 0.4364014850741464,
"repo_name": "LECAN/Projet_Transversal",
"id": "f300195d54ecbe5a23d66bdecb1d216283bce0d2",
"s... |
#include <pangolin/video/drivers/join.h>
namespace pangolin
{
VideoJoiner::VideoJoiner(const std::vector<VideoInterface*>& src)
: src(src), size_bytes(0)
{
// Add individual streams
for(size_t s=0; s< src.size(); ++s)
{
VideoInterface& vid = *src[s];
for(size_t i=0; i < vid.Streams()... | {
"content_hash": "c28f2e37557cb51fc013a2f06c38e342",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 95,
"avg_line_length": 20.4025974025974,
"alnum_prop": 0.5913430935709739,
"repo_name": "pinglin/Pangolin",
"id": "76ac9eed9197a7e6c01ebf6a28897bf86b283fce",
"size": "2792"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Wed Oct 12 20:49:58 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "c7882f3bbe4e9a96a9f3363ec1b5c01e",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 151,
"avg_line_length": 38.01709401709402,
"alnum_prop": 0.6094874100719424,
"repo_name": "wangchuande/apache-flume-1.7.0",
"id": "8d7d7793f5d8b60596ea7ee404e8586ee93b6764",... |
package liquibase.statement.core;
import liquibase.statement.*;
import java.util.*;
public class AddColumnStatement extends AbstractSqlStatement {
private String catalogName;
private String schemaName;
private String tableName;
private String columnName;
private String columnType;
private Ob... | {
"content_hash": "40019902109dc8cb63cf6171811d9946",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 195,
"avg_line_length": 28.16740088105727,
"alnum_prop": 0.6248045042227088,
"repo_name": "liquibase/liquibase",
"id": "d15daa373ae6daf5b101b9f977ab9632df73aa67",
"size": ... |
package me.denley.notary.sample;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widge... | {
"content_hash": "382caab16d00d113affdd48dd7a384bc",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 145,
"avg_line_length": 40.59016393442623,
"alnum_prop": 0.5887183629509962,
"repo_name": "denley/Notary",
"id": "fd492d760d9ac29256cff8fa5a0f94fe09f7a892",
"size": "7428"... |
function plotTimeseries(timeseries){
// Flot Line Charts - Multiple Axes - With Data
$(function(timeseries) {
function euroFormatter(v, axis) {
return v.toFixed(axis.tickDecimals) + "€";
}
function doPlot(position) {
$.plot($("#flot-multiple-axes-chart"), [{
data: timeseri... | {
"content_hash": "776ac7d2a97bd52224e969434c555dc7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 79,
"avg_line_length": 25.28846153846154,
"alnum_prop": 0.4326996197718631,
"repo_name": "raminetinati/SouthamptonMSVisualisation",
"id": "2d29d5014f78909c0a3f2fdea81519544c8... |
package main
import (
"fmt"
)
type Fetcher interface {
// Fetch mengembalikan isi dari URL dan daftar URL yang ditemukan
// di halaman tersebut.
Fetch(url string) (body string, urls []string, err error)
}
// Crawl menggunakan fetcher untuk secara rekursif mengambil semua halaman
// dimulai dari url, sampai kedal... | {
"content_hash": "d58b8040ac995ee7b00a69067f4ad8fd",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 74,
"avg_line_length": 21.83529411764706,
"alnum_prop": 0.6476293103448276,
"repo_name": "shuLhan/go-tour-id",
"id": "d342aa1f583ba4f1a3389f454da0ea3e5d586b54",
"size": "18... |
<?php
class Kwc_Newsletter_Detail_StatisticsController extends Kwf_Controller_Action_Auto_Grid
{
protected $_buttons = array();
protected $_position = 'pos';
protected function _initColumns()
{
parent::_initColumns();
$this->_columns->add(new Kwf_Grid_Column('pos'));
$this->_co... | {
"content_hash": "ba3c8fa168667400488f723f6cb7e082",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 134,
"avg_line_length": 37.17142857142857,
"alnum_prop": 0.4719446579554189,
"repo_name": "Sogl/koala-framework",
"id": "0a36f1451ace2d787cf53fa83d6e2a8aa2e052a9",
"size":... |
from django.conf.urls.defaults import *
from django.contrib import admin
from django.conf import settings
admin.autodiscover()
urlpatterns = patterns('',
url(r'^niwi-admin/', include(admin.site.urls)),
)
from django.views.generic import RedirectView
from niwi.web.views.main import Sitemap, Robots
urlpatterns +=... | {
"content_hash": "c2e277a32781728995035d40320055cd",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 85,
"avg_line_length": 29.609756097560975,
"alnum_prop": 0.6729818780889621,
"repo_name": "niwinz/niwi-web",
"id": "10ef6efcf544a56e68005ab2e6356eb9b62403eb",
"size": "1239... |
package 'duply' do
action :install
end
| {
"content_hash": "be78d8610295eba5ff132564c19cde7f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 18,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.7317073170731707,
"repo_name": "datacoda/chef-duply",
"id": "0f3d8d3b27b7932849f32b3e843e65de87c76091",
"size": "6... |
//
// TeacherViewController.m
// CoreData.HW
//
// Created by Artem Belkov on 31/08/15.
// Copyright © 2015 Artem Belkov. All rights reserved.
//
#import "TeacherViewController.h"
#import "Course.h"
#import "Teacher.h"
#import "University.h"
#import "DataManager.h"
@interface TeacherViewController ()
@end
@impl... | {
"content_hash": "f09ff5d39416f17956d6f87513688d12",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 190,
"avg_line_length": 37.667857142857144,
"alnum_prop": 0.6643595335166398,
"repo_name": "bestK1ngArthur/iOSDevCourse",
"id": "9ceebc67485821d02d7a2d2c2e12f23b31350e38",
... |
package jade.content.schema;
import jade.content.abs.*;
import jade.content.onto.*;
import jade.util.leap.Iterator;
/**
* This class represent the schema of aggregate entities in
* an ontology.
* @author Federico Bergenti - Universita` di Parma
*/
public class AggregateSchema extends TermSchema {
p... | {
"content_hash": "01918aff140d8a5bb4bad60ad7cef3e7",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 89,
"avg_line_length": 28.587412587412587,
"alnum_prop": 0.6731898238747553,
"repo_name": "shookees/SmartFood_old",
"id": "384dda3d6de5c3c3bd45e06814906a37e55795e1",
"size... |
$(function(){
// Bind normal buttons
Ladda.bind( '.btn-ladda', { timeout: 2000 } );
// Bind progress buttons and simulate loading progress
Ladda.bind( '.btn-ladda-progress', {
callback: function( instance ) {
var progress = 0;
var interval = setInterval( function() {
progress = Math.min( progress + ... | {
"content_hash": "c5644ba3cf5431aaea4379caaaa8f328",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 61,
"avg_line_length": 24.9,
"alnum_prop": 0.6004016064257028,
"repo_name": "johnotaalo/EQA",
"id": "315b12e005ab3381a0343d27e3e7063b72c5766d",
"size": "498",
"binary": f... |
<?php
namespace App\Components\GitHub;
use App\Events\GitHub\FileContentFetched;
use GitHub;
use Illuminate\Console\Command;
class FetchGitHubFileContent extends Command
{
/**
* The console command name.
*
* @var string
*/
protected $signature = 'dashboard:github';
/**
* The con... | {
"content_hash": "158514a023cc06f5e251042dd5aaf432",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 105,
"avg_line_length": 25.068181818181817,
"alnum_prop": 0.5611967361740707,
"repo_name": "fuguevit/dashboard",
"id": "d54d142871576573553a82f7fdb12abde337ed04",
"size": "... |
using NUnit.Framework.Internal;
namespace NUnit.Framework.Constraints
{
/// <summary>
/// StringConstraint is the abstract base for constraints
/// that operate on strings. It supports the IgnoreCase
/// modifier for string operations.
/// </summary>
public abstract class StringConstraint : Con... | {
"content_hash": "f135a89390181685277df6279216ee0d",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 109,
"avg_line_length": 34.03125,
"alnum_prop": 0.6026936026936027,
"repo_name": "nunit/nunit",
"id": "ba89b3277a49f5c9b88bc28fdd138b59cfea0a2d",
"size": "3359",
"binary"... |
title: GetMatricesFromBundle
category: moduledocs
module:
category: Bundle
package: SCIRun
tags: module
---
# {{ page.title }}
## Category
**{{ page.module.category }}**
## Description
### Summary
This module retrieves a **matrix** object from a bundle.
**Detailed Description**
This module retrieves a **ma... | {
"content_hash": "953725d57c83c2a1d615b2c9419541ce",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 353,
"avg_line_length": 35.096774193548384,
"alnum_prop": 0.7426470588235294,
"repo_name": "collint8/SCIRun",
"id": "b71fc43aa322bf1663f122b738afa226b2cbb481",
"size": "109... |
package com.graphhopper;
import com.bedatadriven.jackson.datatype.jts.JtsModule;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.graphhopper.config.CHProfile;
import com.graphhopper.config.LMProfile;
import com.graphhopper.config.Profile;
import com.graphhopper.reader.dem.*;
import com.graphhopper.read... | {
"content_hash": "aeaad0f7b172af8d8ddbb4e3d7f360bc",
"timestamp": "",
"source": "github",
"line_count": 1198,
"max_line_length": 237,
"avg_line_length": 46.36644407345576,
"alnum_prop": 0.6684789457576467,
"repo_name": "fbonzon/graphhopper",
"id": "7400554ce7841dfd14ef07e98059a6bacfdea145",
"size":... |
<?php
add_theme_support( 'menus' );
add_theme_support( 'post-thumbnails' );
add_theme_support( 'custom-header' );
add_theme_support( 'widgets' );
function register_theme_menus() {
register_nav_menus(
array(
'primary-menu' => __('Primary Menu')
)
);
}
add_action('init', 'register_theme_menus');
func... | {
"content_hash": "ac9814800b68bfb906e5c3166a4f3dd8",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 188,
"avg_line_length": 41.86538461538461,
"alnum_prop": 0.6467615985300873,
"repo_name": "DhaAlae/Wordpress_theme_vidnlol",
"id": "a57c5a8ac257eb8d5a5a8f576e0933f3180534e4",... |
package org.apache.activemq.apollo.broker.web;
import org.apache.activemq.apollo.util.Service;
import org.fusesource.hawtdispatch.Task;
import java.net.URI;
/**
* @author <a href="http://www.christianposta.com/blog">Christian Posta</a>
*/
public interface WebServer extends Service {
public void update(Task ta... | {
"content_hash": "addaeadb405e5d3641b13c2fa2c2f4ec",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 75,
"avg_line_length": 23.466666666666665,
"alnum_prop": 0.7357954545454546,
"repo_name": "christian-posta/activemq-apollo-java-port",
"id": "034511d2033147dc7a0735de551a4f5f... |
<div class="statementparagraph" id="problemmainstatement">
<p>
Baltic Olympiad in Informatics – programmeringstävlingen för länderna i östersjöregionen – kommer till våren att anordnas i Stockholm, och deltagarna kommer åka tunnelbana mellan vandrarhemmet och tävlingsarenan.
</p>
<p>
På tunnelbanet... | {
"content_hash": "4d0d2c3ad389cab4d63628b2772def75",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 337,
"avg_line_length": 38.875,
"alnum_prop": 0.7290996784565916,
"repo_name": "ArVID220u/judge",
"id": "691ae06d189f82ae336f09b32e855ea5c62d77aa",
"size": "1278",
"binar... |
#include <ruby.h>
#include <stdbool.h>
#include <stdint.h>
#include <constants.h>
#include <struct.h>
#include "macros.h"
VALUE rb_thrift_binary_proto_native_qmark(VALUE self) {
return Qtrue;
}
static int VERSION_1;
static int VERSION_MASK;
static int TYPE_MASK;
static int BAD_VERSION;
static ID rbuf_ivar_id;
... | {
"content_hash": "42ac4d349e041ff9f2cf039475d2acf3",
"timestamp": "",
"source": "github",
"line_count": 424,
"max_line_length": 125,
"avg_line_length": 33.45283018867924,
"alnum_prop": 0.6767484489565708,
"repo_name": "steven-sheffey-tungsten/thrift",
"id": "bd1c2da10949dd562c5832af6a7f7300621cdc0b",... |
package com.google.template.soy.exprtree;
import com.google.common.base.Preconditions;
import com.google.template.soy.base.SourceLocation;
import com.google.template.soy.basetree.AbstractNode;
import com.google.template.soy.basetree.CopyState;
/**
* Abstract implementation of an ExprNode.
*
* <p>Important: Do no... | {
"content_hash": "4009c07f235c8d312acceb851fb20706",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 81,
"avg_line_length": 25.571428571428573,
"alnum_prop": 0.7560521415270018,
"repo_name": "google/closure-templates",
"id": "392ab9a54d5a57a3ceedc863093d01cd40f2afc5",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b973094e33d38792552eb65d6ed9e8fb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "fb3a8109dc050828de59bc351495812a253bb9cb",
"size": "194... |
import React, { Component } from 'react';
import { FormattedMessage } from 'react-intl';
class Privacy extends Component {
render() {
return (
<h1 className="text-center"><FormattedMessage id={ 'privacy' } /></h1>
);
}
}
export default Privacy;
| {
"content_hash": "38bcbc55d69fdd12ee5639ab5addaab0",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 22.083333333333332,
"alnum_prop": 0.6490566037735849,
"repo_name": "jhonfredynova/Scaffolding-Nodejs-Reactjs",
"id": "ce7dba54d46ca31d18d1497bc0b59bfc3... |
package org.jivesoftware.smack.sasl.core;
import static org.junit.Assert.assertEquals;
import org.jivesoftware.smack.DummyConnection;
import org.jivesoftware.smack.SmackException;
import org.jivesoftware.smack.SmackException.NotConnectedException;
import org.jivesoftware.smack.sasl.packet.SaslNonza.AuthMechanism;
im... | {
"content_hash": "fad035ac617ac21715de293a5f5abc2a",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 139,
"avg_line_length": 45.0377358490566,
"alnum_prop": 0.750733137829912,
"repo_name": "vanitasvitae/Smack",
"id": "490a855d67d4b7c11ed17f2a70b5bf928c34603e",
"size": "299... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.