text stringlengths 2 1.04M | meta dict |
|---|---|
/*! text-resources | 0.1.2 | 2017-09-06 */
(function(global, factory) {
if (typeof module === "object" && typeof module.exports === "object") {
global.CurrencyNames = module.require("./currency-names");
module.exports = factory(global);
} else {
factory(global);
}
})(this, function(g... | {
"content_hash": "6b938cc58603ce2da02a4ab6599c056c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 92,
"avg_line_length": 31.06896551724138,
"alnum_prop": 0.5471698113207547,
"repo_name": "yannickebongue/text-resources",
"id": "b0ab2ce9921674507789681c404f0c2a7f433901",
... |
<!DOCTYPE html>
<!--[if lt IE 7 ]>
<html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]>
<html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]>
<html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html class="not-ie" lang="en" xmlns:th="http://www.thymeleaf.org"><!--<![endif]-->
<... | {
"content_hash": "c452d3ab2963a00b71e9e108947c420d",
"timestamp": "",
"source": "github",
"line_count": 702,
"max_line_length": 240,
"avg_line_length": 70.77777777777777,
"alnum_prop": 0.4700720524896349,
"repo_name": "Diheng/PIServer",
"id": "ceb2e633623025315300427afa6a9b15eb9a54b5",
"size": "497... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__CWE129_rand_66b.c
Label Definition File: CWE126_Buffer_Overread__CWE129.label.xml
Template File: sources-sinks-66b.tmpl.c
*/
/*
* @description
* CWE: 126 Buffer Overread
* BadSource: rand Set data to result of rand(), which may be zero
*... | {
"content_hash": "9ef5ac0edfb411b45edc34bc8fd55c57",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 109,
"avg_line_length": 28.829268292682926,
"alnum_prop": 0.5901015228426396,
"repo_name": "JianpingZeng/xcc",
"id": "a188e8c8506b85c47aebdb147ce3c631d557bfc5",
"size": "23... |
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build ignore
/*
Input to cgo -godefs. See also mkerrors.sh and mkall.sh
*/
// +godefs map struct_in_addr [4]byte /* in_addr */
// +godefs map struct_in6_... | {
"content_hash": "82e95f8192f6a1a9b53f4721d2b7c212",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 64,
"avg_line_length": 20.445833333333333,
"alnum_prop": 0.7161198288159771,
"repo_name": "Triskite/willstone-goclone",
"id": "6e1dd4310af0c439b478346eff2ebcad66ad49cd",
"... |
import com.yoururl.libraryname._
new X
| {
"content_hash": "a5eef77e586a3668f87ae297d7930d2e",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 32,
"avg_line_length": 19.5,
"alnum_prop": 0.7948717948717948,
"repo_name": "P7h/ScalaPlayground",
"id": "dcc9735d01c5156739d3422a9d018265be93eb6d",
"size": "60",
"binary"... |
require 'milkode_test_work'
require 'milkode/cdstk/cdstk_command'
class TestCdstkCommand < Test::Unit::TestCase
def setup
@work = MilkodeTestWork.new({:default_db => true})
end
def test_main
t_setdb_set
t_setdb_reset
end
def teardown
@work.teardown
end
private
def t_setdb_set
... | {
"content_hash": "bf0c7dd8d353bd04dd0e184fed2b1ddc",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 98,
"avg_line_length": 19.976744186046513,
"alnum_prop": 0.6752037252619325,
"repo_name": "ongaeshi/mruby-code-search",
"id": "539de7cdfdb529666b9e66f936d430884f367e4d",
"s... |
require_relative 'node_util'
module Cisco
# SnmpCommunity - node utility class for SNMP community config management
class SnmpCommunity < NodeUtil
@communities = nil
def initialize(name, group, instantiate=true)
fail TypeError unless name.is_a?(String)
fail TypeError unless group.is_a?(String)... | {
"content_hash": "0572722be1687355d183c51d42414f5e",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 134,
"avg_line_length": 29.56989247311828,
"alnum_prop": 0.5821818181818181,
"repo_name": "chrisvanheuveln/cisco-network-node-utils",
"id": "4d5b7d44db8a780552f4d8f7b92f433cb... |
package com.pigbear.hi_andgmusic.ui.adapter;
import android.content.Context;
import android.support.v7.widget.AppCompatImageView;
import android.support.v7.widget.RecyclerView;
import android.text.Html;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.Vie... | {
"content_hash": "5e6271a75593f315834f97d40104c291",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 111,
"avg_line_length": 36.770833333333336,
"alnum_prop": 0.6179414542020775,
"repo_name": "AndGirl/HiAndG_Music",
"id": "45d4bca32f6fbbdaad57f2db31756f51cb4ed0b5",
"size"... |
"""Encoders for text data.
* TextEncoder: base class
* ByteTextEncoder: for ascii text
* TokenTextEncoder: with user-supplied vocabulary file
* SubwordTextEncoder: invertible
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import collections
from iterto... | {
"content_hash": "59dd4277716a618eeb28f0a10437096d",
"timestamp": "",
"source": "github",
"line_count": 1045,
"max_line_length": 91,
"avg_line_length": 33.97129186602871,
"alnum_prop": 0.6469577464788733,
"repo_name": "vthorsteinsson/tensor2tensor",
"id": "42d136a04fc5702fa54edfd667db0717c7731468",
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Reusable.Collections;
namespace Reusable.Tests.Collections
{
[TestClass]
public class ProjectionEqualityComparerTest
{
[TestMethod]
public void Equals_SameValues_True()
{
var comparer = ProjectionEq... | {
"content_hash": "10a11b0124bdbbac652017354eca9f0e",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 93,
"avg_line_length": 29.6,
"alnum_prop": 0.535472972972973,
"repo_name": "he-dev/Reusable",
"id": "b290f9e85c6b73dbd10bd669876d9a15ff3e293d",
"size": "1186",
"binary": ... |
package net.automatalib.modelcheckers.ltsmin.monitor;
import java.io.File;
import java.io.IOException;
import java.util.Collection;
import java.util.function.Function;
import net.automatalib.automata.base.compact.CompactTransition;
import net.automatalib.automata.transducers.MealyMachine;
import net.automatalib.auto... | {
"content_hash": "d34e83f98cca7a9f3937e48fa182eb69",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 177,
"avg_line_length": 36.3,
"alnum_prop": 0.5892075838599903,
"repo_name": "LearnLib/automatalib",
"id": "31d5e46b030621cf0f16bf415daa54a7f7797493",
"size": "6837",
"b... |
using std::string;
using std::cout;
using std::endl;
using std::random_device;
using std::default_random_engine;
using std::uniform_int_distribution;
using std::chrono::milliseconds;
using std::thread;
using std::this_thread::sleep_for;
using std::mutex;
using std::lock_guard;
using std::unique_lock;
using std::conditi... | {
"content_hash": "428694106dd1f4b2bb493fa439a1a3c2",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 68,
"avg_line_length": 22.729411764705883,
"alnum_prop": 0.5848861283643892,
"repo_name": "adnanaziz/epicode",
"id": "f608951af166bc6e57a2fc1a0ace91b09eb60596",
"size": "21... |
package at.ac.tuwien.dsg.hcu.common.model;
public class Functionality {
protected String name;
public Functionality(String name) {
super();
this.name = name;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name... | {
"content_hash": "6220e4e8a78f9ed21e749ca27bc20f60",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 73,
"avg_line_length": 21.807692307692307,
"alnum_prop": 0.48677248677248675,
"repo_name": "tuwiendsg/RAHYMS",
"id": "a6c205d4c6a1f88a4db6330365f5c1739e791803",
"size": "11... |
var gulp = require('gulp');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var notify = require('gulp-notify');
var browserSync = require('browser-sync').create();
gulp.task('admin', function() {
return gulp.src('js/admin/*.js')
.pipe(concat('jetstash-admin.js'))
... | {
"content_hash": "4950a52ec1edd984f8ec38c132697821",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 70,
"avg_line_length": 30.608695652173914,
"alnum_prop": 0.6150568181818182,
"repo_name": "shampine/patrickshampine.com",
"id": "809c883c5811e112145100e1caecbd1d0c49dd9a",
... |
package org.xlcloud.iam;
import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Produces;
import org.apache.log4j.Logger;
import org.xlcloud.iam.performance.IamPerformanceMonitorFilter;
import com.sun.jersey.api.client.Client;
/**
* Creates Jersey client instances tailored to OpenAM com... | {
"content_hash": "8ed55ccb5e2fccf5dca3f507c9233eb7",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 25.675675675675677,
"alnum_prop": 0.716842105263158,
"repo_name": "ow2-xlcloud/xlcloud",
"id": "8200db1694da4eb677845d41ac9ee650445d346f",
"size": "1... |
<!doctype html>
<head>
<meta charset="utf-8">
<title>PhilSHORE Gallery Item - 34</title>
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=EB+Garamond|Raleway:400,400italic,500,500italic,700,300|Josefin+Sans:400,600,400italic,700|Quicksand:400,700|Lora:400,700,400italic,700italic' rel='stylesheet... | {
"content_hash": "0776d51befb9f3e29891a52a07b0d59c",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 228,
"avg_line_length": 31.171232876712327,
"alnum_prop": 0.5319709953856295,
"repo_name": "philshore/philshore.github.io",
"id": "706f913fa12d1a5f2b9eb3a8b12842cbe545280b",... |
package com.jme3.system.lwjgl;
import com.jme3.input.lwjgl.GlfwJoystickInput;
import com.jme3.input.lwjgl.GlfwKeyInputVR;
import com.jme3.input.lwjgl.GlfwMouseInputVR;
import com.jme3.renderer.Renderer;
import com.jme3.renderer.RendererException;
import com.jme3.renderer.lwjgl.LwjglGL;
import com.jme3.render... | {
"content_hash": "7e90c5b49800a814c0c76efc026b6ef6",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 154,
"avg_line_length": 33.69259259259259,
"alnum_prop": 0.6083324172804221,
"repo_name": "zzuegg/jmonkeyengine",
"id": "c32f5607922b784c2ff5ad7c61c9a6f319231165",
"size":... |
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({ name: 'titlecase', pure: true })
export class TitleCasePipe implements PipeTransform {
transform(input: string): string {
return input.length === 0
? ''
: input.replace(/\w\S*/g, (txt) => txt[0].toUpperCase() + txt.substr(1).toLowerCase());... | {
"content_hash": "06f098201054e73399671796455894a3",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 93,
"avg_line_length": 32.7,
"alnum_prop": 0.636085626911315,
"repo_name": "thymikee/jest-preset-angular",
"id": "0ac6bd14d0d1d10c16e498e9a3d99663dd2139da",
"size": "327",
... |
from pyVmomi import vim
import nested_vsphere.utils as utils
import re
import random
trailer = ">>>>>>> "
class VESX(object):
def __init__(self, vm_name, host, datastore, vmfolder, network, mgmt_network, iso, mem, vcpu, si,
guestid='vmkernel6Guest', vmx_version='vmx-11', disk_size=8):
se... | {
"content_hash": "a06a4fbf29e61efe43b9c6e34b40e40e",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 119,
"avg_line_length": 47.75187969924812,
"alnum_prop": 0.5800661313179027,
"repo_name": "vfiftyfive/nested_vsphere",
"id": "bf1a6166d219b8c8c1b448d94f597dfae28e8599",
"s... |
namespace SquabPie.Mono.Cecil {
public sealed class LinkedResource : Resource {
internal byte [] hash;
string file;
public byte [] Hash {
get { return hash; }
}
public string File {
get { return file; }
set { file = value; }
}
public override ResourceType ResourceType {
get { return Reso... | {
"content_hash": "b21a270d4c2e78999b8e9a2792913e05",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 84,
"avg_line_length": 18.5,
"alnum_prop": 0.6655405405405406,
"repo_name": "ttRevan/cecil",
"id": "5e12a399b73b8aa009fe7ee10a5abfa65df75dd6",
"size": "769",
"binary": fa... |
<?php
/**
* Provides the navigation editing capabilities for admins to add pages
* and reorganize them in the site tree.
*/
if (! User::require_admin ()) {
$this->redirect ('/admin');
}
$page->title = i18n_get ('Navigation');
$page->layout = 'admin';
$page->add_script ('<script src="/apps/navigation/js/jquery.js... | {
"content_hash": "492b9471f4f841d5f3c62e45858eee75",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 83,
"avg_line_length": 22.357142857142858,
"alnum_prop": 0.6613418530351438,
"repo_name": "jbroadway/elefant-quickstart",
"id": "292a27a215f34cbf7c636ca28dc17803b06b81f5",
... |
<?php
function move_crossselling()
{
if (Db::getInstance()->ExecuteS('SELECT FROM `'._DB_PREFIX_.'module` WHERE `name` = \'crossselling\''))
{
Db::getInstance()->Execute('
INSERT INTO `'._DB_PREFIX_.'hook_module` (`id_module`, `id_hook`, `position`)
VALUES ((SELECT `id_module` FROM `'._DB_PREFIX_.'module` WHERE `name... | {
"content_hash": "31bf884b8dfd11d8d6646177c4d70ba2",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 223,
"avg_line_length": 34.42857142857143,
"alnum_prop": 0.6514522821576764,
"repo_name": "j1v3/lakombi",
"id": "44aefb5f9d3ebde8ee67e0c37d799af6b7b411c6",
"size": "482",
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ogldevtutorials.util;
import jglm.Quat;
import jglm.Vec3;
/**
*
* @author gbarbieri
*/
public class ViewData {
private Vec3 targetPos;
private Quat orient;
private float radius;... | {
"content_hash": "5d3e330d9b2ab1eba5739388081e7e15",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 64,
"avg_line_length": 19.25423728813559,
"alnum_prop": 0.5519366197183099,
"repo_name": "elect86/oglDevTutorials",
"id": "2b8185707eab3d6cd2a00ad9b7441776f5fe2ecb",
"size"... |
@implementation KNTLiteralsRule
+ (NSArray*)validateSource:(NSString *)source filename:(NSString *)filename {
static NSRegularExpression * number, * array, * dictionary;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
number = RX(@"(NSNumber number|NSNumber alloc] init)With");
... | {
"content_hash": "3f085f461d6e5d7a232ea1b07f47d5e2",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 110,
"avg_line_length": 37.592592592592595,
"alnum_prop": 0.6246305418719211,
"repo_name": "programmingthomas/Knyt",
"id": "ae8696777ba79b0514c4676d672a1db4395b9590",
"size... |
package org.jmotor.sbt.service
import org.apache.maven.artifact.versioning.{ArtifactVersion, DefaultArtifactVersion}
import org.jmotor.artifact.Versions
import org.jmotor.artifact.exception.ArtifactNotFoundException
import org.jmotor.artifact.metadata.MetadataLoader
import org.jmotor.artifact.metadata.loader.{IvyPatte... | {
"content_hash": "11ae08d28fdb3fca598f890271d2e153",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 122,
"avg_line_length": 38.80952380952381,
"alnum_prop": 0.6141980718667835,
"repo_name": "aiyanbo/sbt-dependency-updates",
"id": "f02d16086b0b27cdfd861b190e1e329774d1a409",... |
package com.blstream.myhoard.biz.model;
import com.blstream.myhoard.db.model.UserDS;
import java.util.List;
import java.util.Set;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import org.codehaus.jackson.annotate.JsonIgnore;
import o... | {
"content_hash": "7589d37075bdb4aae8aa302ecf1d1cbc",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 118,
"avg_line_length": 25.22151898734177,
"alnum_prop": 0.6155583437892095,
"repo_name": "blstream/myHoard_Java2",
"id": "6a9b6d3f0c309926ae56a050505e7d56ef28bcd1",
"size... |
package com.cyc.model.templates.web;
import com.cyc.model.templates.VelocityTemplateGroup;
/**
*
* @author nwinant
*/
abstract public class WebTemplateGroup extends VelocityTemplateGroup {
public WebTemplateGroup(String baseTargetDir, String baseTemplateDir) {
super(baseTargetDir, baseTemplateDir);
}
... | {
"content_hash": "e7054e4958af3a4de5f57a39bdf474ee",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 80,
"avg_line_length": 24.73076923076923,
"alnum_prop": 0.6757387247278382,
"repo_name": "cycorp/model-generator-suite",
"id": "ccc96ca70fa287c1da23fc6c0fb9b35555237eb2",
"... |
package pivotal.au.se.gemfirexdweb.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import pivotal.au.se.gemfirexdweb.main.Result;
import pivotal.au.se.gemfirexdwe... | {
"content_hash": "2b5111ed2958548b79aaf291611c1903",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 97,
"avg_line_length": 24.873949579831933,
"alnum_prop": 0.5986486486486486,
"repo_name": "papicella/snappy-store",
"id": "e0cede1911d033fb488885f88eb49a2783f35f79",
"size... |
import logging
import re
invite_pattern = re.compile(r"discord\.gg/\w{3}")
tag_pattern = re.compile(r"add.*tag.*\d{4}")
twitch_pattern = re.compile(r"twitch\.tv")
twitter_pattern = re.compile(r"twitter\.com")
debugging_pattern = re.compile(r"elmerbot_spam_name_debugging")
name_patterns = [invite_pattern, tag_pattern,... | {
"content_hash": "8523b50caa4c7678d899c3b4d42ba9f1",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 97,
"avg_line_length": 33.458333333333336,
"alnum_prop": 0.6874221668742216,
"repo_name": "scott-hand/elmerbot",
"id": "b441466f56eecfaa447749fd64261482d6c8e5aa",
"size": "... |
package burai.atoms.visible;
import burai.atoms.design.Design;
import burai.com.env.Environments;
import burai.com.font.FontTools;
import javafx.geometry.Point3D;
import javafx.scene.Group;
import javafx.scene.paint.Color;
import javafx.scene.paint.PhongMaterial;
import javafx.scene.shape.Cylinder;
impor... | {
"content_hash": "23adab0afedd95eb07536297dedc1db4",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 80,
"avg_line_length": 34.659574468085104,
"alnum_prop": 0.6083486801718846,
"repo_name": "BURAI-team/burai",
"id": "839cafb8216a3ae47cd97cace96a5faba80174d6",
"size": "387... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2... | {
"content_hash": "f2712391953662409211d437b1310c7f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 204,
"avg_line_length": 36.12820512820513,
"alnum_prop": 0.751596877217885,
"repo_name": "apache/maven-plugins",
"id": "0704be59b4d24f562dcec101e08cc3f44bb64708",
"size": "... |
package org.apache.spark.deploy.yarn
import java.io.{FileSystem => _, _}
import java.net.{InetAddress, UnknownHostException, URI}
import java.nio.ByteBuffer
import java.nio.charset.StandardCharsets
import java.security.PrivilegedExceptionAction
import java.util.{Locale, Properties, UUID}
import java.util.zip.{ZipEnt... | {
"content_hash": "7af5adb3aba4f946b92a0528828aa95a",
"timestamp": "",
"source": "github",
"line_count": 1491,
"max_line_length": 100,
"avg_line_length": 41.201877934272304,
"alnum_prop": 0.6802969136606329,
"repo_name": "lxsmnv/spark",
"id": "7225ff03dc34e4a27402af11a3d5a124ed686ff8",
"size": "6223... |
import { PreparedCommits } from '../interfaces/prepared-commits.interface';
/**
* Prepared commits
*/
export const preparedCommits: PreparedCommits = {
major: [
{
fileName: 'textarea.js',
fileContent: '// Textarea',
commit: {
type: 'refactor',
... | {
"content_hash": "02ac59fc1b5ab84b278e146bea8e6136",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 97,
"avg_line_length": 26.3,
"alnum_prop": 0.4296577946768061,
"repo_name": "dominique-mueller/automatic-release",
"id": "dc3eeafb65871b4966e8b9cf8c96a279b32d85c3",
"size":... |
package radial
import (
"math"
)
// DegToRad converts degrees to radians.
func DegToRad(deg float64) float64 {
return (deg * math.Pi) / 180
}
// RadToDeg converts radians to degrees.
func RadToDeg(rad float64) float64 {
return (rad * 180) / math.Pi
}
| {
"content_hash": "36d442a8731bbae651dcc7bd6c38e30a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 40,
"avg_line_length": 17.133333333333333,
"alnum_prop": 0.7042801556420234,
"repo_name": "Masterminds/convert",
"id": "f7660be6284ee5584ba55e3de47b2f459c8e89a7",
"size": "... |
Monster Battle
==========================
## Install
### Prerequisites
- Node.js - Download and Install Node.js with [NVM](https://github.com/creationix/nvm) (Node Version Manager) - Simple bash script to manage multiple active node.js versions.
```
brew install mongodb
npm install -g grunt
```
**NOTE:**
After insta... | {
"content_hash": "421b21646defab6fde11dfd36de0e142",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 174,
"avg_line_length": 17.625,
"alnum_prop": 0.6442080378250591,
"repo_name": "zhangchiqing/MonBattle",
"id": "be72059130e8040f0f4ad12b9fa8dca158d9ea79",
"size": "846",
... |
categories:
- tumblr
- archive
- quote
date: 2008-01-14T18:34:13Z
title: Quote 20080114
url: /2008/01/14/quote-20080114/
---
<blockquote><p>The truth is that most artists are mediocre. Most art is ephemeral. The good eye, the true patron, recognises and supports the best. For my money, the best artist alive is Cy Twom... | {
"content_hash": "667b2d3cd5a481f09d7d711ca7a7c183",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 390,
"avg_line_length": 51.7,
"alnum_prop": 0.746615087040619,
"repo_name": "stephenscott/sscott2",
"id": "4a5befbb2e2d1acb6ad61117792ce74bfe1ccdc5",
"size": "521",
"bina... |
import podcastparser
import urllib
import shutil
import os
# ToDo
# - compartementalise more, seperate podcast parsing from file generation
# - collect all podcasts in one variable and derive pls and m3u file
def get_episodes(episodes):
content = []
for e in episodes:
title = e['title']
... | {
"content_hash": "79eaeaeb3cc359c5649e28dbb428e7f4",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 84,
"avg_line_length": 25.114035087719298,
"alnum_prop": 0.5633950401676563,
"repo_name": "tcvj/pod2pls",
"id": "f3e8ae53b94020a354e8118cbdc5d3628e856266",
"size": "2863",... |
/**
* Created by artemr on 11/25/2016.
*/
package by.stqa.pft.addressbook.tests;
import by.stqa.pft.addressbook.model.GroupData;
import by.stqa.pft.addressbook.model.Groups;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import com.thoughtworks.xstream.XStream;
import org.slf4j.Logger;
impor... | {
"content_hash": "fc857ca5e5a77d586f692d5fa986d936",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 113,
"avg_line_length": 32.17777777777778,
"alnum_prop": 0.6875,
"repo_name": "artemrudenko/java_training16",
"id": "2a7b6c5738a89a164cfca4f6248bf42ae8e8ab68",
"size": "289... |
package android.support.v4.app;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
// Referenced classes of package android.support.v4.app:
// TaskStackBuilder
static class
implements
{
public PendingIntent getPendingIntent... | {
"content_hash": "98029aa9f85774adb841e27be3b0f33e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 105,
"avg_line_length": 23.48,
"alnum_prop": 0.6882453151618398,
"repo_name": "Half-Shot/FarnApp",
"id": "8f9ad28dcef5836c3ed76d7ebd09cb2a7728f165",
"size": "762",
"binar... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
namespace Teammanager.View
{
/// <summary>
/// Interaktionslogik für "App.xaml"
/// </summary>
public partial class App : Application
{
}
}
| {
"content_hash": "8b94888ebb7d28c1b588edea86d34fe6",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 42,
"avg_line_length": 18.875,
"alnum_prop": 0.6920529801324503,
"repo_name": "LennyLeonard/RW-Ligamodus",
"id": "b78b7720e36a7657ff4736e875d089a4d61b744e",
"size": "305",
... |
package com.cundong.fragmenttabhost;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTabHost;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
public class ... | {
"content_hash": "2d73eafb8c2cbfe41b19194e6de1f3a5",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 112,
"avg_line_length": 30.216216216216218,
"alnum_prop": 0.7401610017889088,
"repo_name": "cundong/FragmentTabHostDemo",
"id": "d9db9cb7a488435eb0389ffabd566aed0c54d0ed",
... |
\documentclass{beamer}
\usepackage{color,amsmath}
\usepackage{subfigure}
\usepackage{booktabs}
\usepackage{framed}
\usepackage{comment}
\def\vf{\vfill}
%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[]{Ethics}
\author[]{Matthew J. Salganik\\Department of Sociology\\Princeton University}
\date[]{Summer Institute in Computational So... | {
"content_hash": "a01ad6fe7f600608938e26fc1c3d8aeb",
"timestamp": "",
"source": "github",
"line_count": 298,
"max_line_length": 849,
"avg_line_length": 25.177852348993287,
"alnum_prop": 0.6914567506330801,
"repo_name": "compsocialscience/summer-institute",
"id": "91d4bf9e9b8352d1344c99086c0390d7ba117... |
package com.alorma.github.ui.actions;
import rx.Subscriber;
public abstract class Action<T> extends Subscriber<T> {
private ActionCallback<T> callback;
public abstract Action<T> execute();
public ActionCallback<T> getCallback() {
return callback;
}
public Action<T> setCallback(ActionCallback<T> callb... | {
"content_hash": "a3f4cc4e32a369413014043c46f86a56",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 60,
"avg_line_length": 16.03030303030303,
"alnum_prop": 0.6880907372400756,
"repo_name": "gitskarios/Gitskarios",
"id": "f93d94d1f482727a52377fcc7516d7888ce8aa3d",
"size": ... |
package org.apereo.cas.services;
import org.apereo.cas.config.CasCoreNotificationsConfiguration;
import org.apereo.cas.config.CasCoreServicesConfiguration;
import org.apereo.cas.config.CasCoreUtilConfiguration;
import org.apereo.cas.configuration.CasConfigurationProperties;
import org.apereo.cas.notifications.Communic... | {
"content_hash": "528c0d6cb6c380d074accca179c7544f",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 122,
"avg_line_length": 43.48062015503876,
"alnum_prop": 0.7692993403458727,
"repo_name": "pdrados/cas",
"id": "394cd987002c547ca9e9a4c8616b91950625201e",
"size": "5609",
... |
package com.example.coolweather1.util;
public interface HttpCallbackListener {
void onFinish(String response);
void onError(Exception e);
}
| {
"content_hash": "4a691843ca34fcc9f4c6b97c2bdec756",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 39,
"avg_line_length": 16.22222222222222,
"alnum_prop": 0.7876712328767124,
"repo_name": "xzzc/CoolWeather",
"id": "299b64f5e282a3250b525c7bb185a9eec94c422b",
"size": "146",... |
CommandTickets
==============
CommandTicket AKA CTickets
| {
"content_hash": "28e60cfdac0ce725db9f9ee236ff461e",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 26,
"avg_line_length": 14.5,
"alnum_prop": 0.6551724137931034,
"repo_name": "WaltsuHosting/CommandTickets",
"id": "b3af36772705c8eb859254fc5aeeabc313367e2a",
"size": "58",
... |
<resources>
<string name="app_name">SimpleTodo</string>
<string name="action_settings">Settings</string>
<string name="title_activity_edit_item">EditItemActivity</string>
</resources>
| {
"content_hash": "4929bd17b2e30d9154f6e4a2640be2ac",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 69,
"avg_line_length": 39.2,
"alnum_prop": 0.7244897959183674,
"repo_name": "koulmomo/SimpleTodo",
"id": "00d1d3997739879f1ae0667ae8ba0e37b6bf1161",
"size": "196",
"binary... |
package at.ufo.app.domain.entities;
import android.os.Parcel;
import android.os.Parcelable;
/**
* Created by Marius-Constantin on 1/15/2016.
*/
public class Artist implements Parcelable {
private int artistId;
private String name;
private String category;
private String categoryColor;
private S... | {
"content_hash": "c90c26d0a0ce614ea5a0180ff42f5a5c",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 95,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.6158493248045487,
"repo_name": "Xpitfire/ufo",
"id": "b3ec160332d1a47df1dc9dececc7650de9faffc5",
"size": "2814",... |
package org.eclipse.draw2d.text;
import java.util.List;
/**
* The layout manager for {@link InlineFlow} figures.
*
* <P>
* WARNING: This class is not intended to be subclassed by clients.
*
* @author hudsonr
* @since 2.1
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class InlineFlowLayout extends ... | {
"content_hash": "23b408073d11070c9caf620766bc700e",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 77,
"avg_line_length": 25.841726618705035,
"alnum_prop": 0.592706013363029,
"repo_name": "archimatetool/archi",
"id": "5aa5f1b49996e528b0692e7b875056361540aa43",
"size": "... |
from setuptools import setup
setup(
name='pyaltmetric',
version='0.2.0',
packages=['pyaltmetric'],
description='Python Altmetric API v1 wrapper',
long_description=open('README.rst').read(),
author='Will Earp',
author_email='will.earp@icloud.com',
url='https://github.com/wearp/pyaltmetri... | {
"content_hash": "6cbdb566b5ba523e67f3d34123ff419d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 70,
"avg_line_length": 32.76923076923077,
"alnum_prop": 0.6373239436619719,
"repo_name": "wearp/pyAltmetric",
"id": "9da5cf2d1e9b6582099897e6a138d32d189976fb",
"size": "898... |
product: material-ui
title: React Accordion component
components: Accordion, AccordionActions, AccordionDetails, AccordionSummary
githubLabel: 'component: accordion'
materialDesign: https://m1.material.io/components/expansion-panels.html
waiAria: https://www.w3.org/WAI/ARIA/apg/patterns/accordion/
---
# Accordion
<p ... | {
"content_hash": "19d02f22437fd058083330d25832150c",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 184,
"avg_line_length": 36.38333333333333,
"alnum_prop": 0.7750801649106733,
"repo_name": "mui-org/material-ui",
"id": "f1e97ed84b63ec782531239e1081d67acb73d706",
"size": "... |
{% extends "_base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% block content %}
<div class=" body-content">
<div class="row">
<h1>Estimate CBOMs</h1>
</div>
</div>
<form class="form" role="form" method="post" action="/estimate/" enctype="multipart/form-data">
{{ form.csrf_token }}
... | {
"content_hash": "95931ceb0736a5bb520b336adbd43dde",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 97,
"avg_line_length": 20.571428571428573,
"alnum_prop": 0.5746527777777778,
"repo_name": "a-leut/costed_bill_of_materials",
"id": "3b2ef8f978f86edc0921368c6cb7e5c309c1a0ff",... |
<!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>
<title>OR-Tools</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="utf-8"/>
<!--<lin... | {
"content_hash": "507b77d002c77d177d8c1978a9e874d5",
"timestamp": "",
"source": "github",
"line_count": 375,
"max_line_length": 501,
"avg_line_length": 52.936,
"alnum_prop": 0.673568082212483,
"repo_name": "or-tools/docs",
"id": "052306ae674b19a0c93f30418ccbd06ec5ca40d6",
"size": "19851",
"binary... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<meta name="generator" content="LibreOffice 6.1.3.2 (Linux)"/>
<meta name="author" content="Mariano Forti"/>
<meta name="created" content="2018-11-22T13:... | {
"content_hash": "66025d7ae93868795598d8535ee8cce1",
"timestamp": "",
"source": "github",
"line_count": 351,
"max_line_length": 180,
"avg_line_length": 59.92877492877493,
"alnum_prop": 0.7644877584977419,
"repo_name": "mdforti/mdforti.github.io",
"id": "7744231be7a2e55d5a0064376ab09f3ff966d63b",
"s... |
package org.hx.rainbow.server.oc.manage.service;
import java.util.Date;
import org.hx.rainbow.common.context.RainbowContext;
import org.hx.rainbow.common.util.ObjectId;
import org.hx.rainbow.common.core.service.BaseService;
import org.hx.rainbow.common.web.session.RainbowSession;
import org.springframework.co... | {
"content_hash": "cb99e77da81e6bafd92cc34fd1c8826e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 62,
"avg_line_length": 29.79245283018868,
"alnum_prop": 0.7485750474984167,
"repo_name": "youngor/openclouddb",
"id": "9e091a78ec20381ce4de4e64d16b3bdeeaeb9778",
"size": "2... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Hi</title>
<meta name="description" content="" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
... | {
"content_hash": "8e40edd0cd99d92cd16516a4833581ac",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 298,
"avg_line_length": 45.483333333333334,
"alnum_prop": 0.6201905459875412,
"repo_name": "mrcouthy/mrcouthy.github.io",
"id": "2ceeb9478a8d237aefda48dc808e8a3ca77a0dc6",
... |
/*
Erbele - Based on Fraise 3.7.3 based on Smultron by Peter Borg
Current Maintainer (since 2016):
Andreas Bentele: abentele.github@icloud.com (https://github.com/abentele/Erbele)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Yo... | {
"content_hash": "7dc451f1b7fd4ccade22b863a348a04a",
"timestamp": "",
"source": "github",
"line_count": 495,
"max_line_length": 306,
"avg_line_length": 42.04242424242424,
"alnum_prop": 0.6991014367401854,
"repo_name": "abentele/Erbele",
"id": "60b3c77e9ee2dac35d4916f79a0986b2808c4d55",
"size": "208... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- https://github.com/wildfly/... | {
"content_hash": "2276b11b9ca023dc56141644ee3d62cc",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 118,
"avg_line_length": 32.89399293286219,
"alnum_prop": 0.6625845955526909,
"repo_name": "matthogan/jee6-jaxwsrs-mongodb-template",
"id": "62a0f25248dd98df7071ed4d54dcf6068... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>itree: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "5b274b39a789cc573287e08e9ba16df9",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 159,
"avg_line_length": 41.73295454545455,
"alnum_prop": 0.5484002722940776,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "775a1d3ab5808e1ae8113d5053553bf1ca9fce25",
... |
title: any1
type: products
image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png
heading: y1
description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj
main:
heading: Foo Bar BAz
description: |-
***This is i a thing***kjh hjk kj
# Blah Blah
## Blah
### Baah
image1:
a... | {
"content_hash": "715248046125a4e197d13cd52fb45a10",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 61,
"avg_line_length": 22.2,
"alnum_prop": 0.6636636636636637,
"repo_name": "pblack/kaldi-hugo-cms-template",
"id": "fe377d9265cbcb0194816438a4d6cc2aebfb5b17",
"size": "337... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "79aac98cf90fa5940601b879b16b04ff",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "9e9b02b16ad2c0fd29dd0c293c904d155896b69a",
"size": "184... |
const { _electron: electron } = require('playwright')
const {
test: it
} = require('@playwright/test')
const { describe } = it
it.setTimeout(100000)
const log = require('./common/log')
const { expect } = require('chai')
const delay = require('./common/wait')
const nanoid = require('./common/uid')
const appOptions = r... | {
"content_hash": "30f509bc024d709d60f637794264c093",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 109,
"avg_line_length": 40.49038461538461,
"alnum_prop": 0.708857753502731,
"repo_name": "electerm/electerm",
"id": "ab0eb9984cc3ad5cc21a3f39146fbb4c02ff4499",
"size": "42... |
describe("The level/geometry/Line module", function() {
var test = require('../../setup');
var expect = test.require('chai').expect;
var Line = test.require('level/geometry/Line');
var Vector = test.require('math/Vector');
var Entity = test.require('entity/Entity');
var ERROR_ALLOWED = 0.0001;
function createC... | {
"content_hash": "e4dfab28e222e353676c342369bfe130",
"timestamp": "",
"source": "github",
"line_count": 392,
"max_line_length": 109,
"avg_line_length": 59.24744897959184,
"alnum_prop": 0.6471044133476856,
"repo_name": "bridgs/grapple-game",
"id": "4b477bf3d1ae8ef1ac468a28cdb626e1ef808917",
"size": ... |
package com.amazonaws.services.directory.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* Contains information about a Remote Authentication Dial In User Service (RADIUS) server.
* </p... | {
"content_hash": "6e0013d0bbcb2d75ace72445e42a3c72",
"timestamp": "",
"source": "github",
"line_count": 589,
"max_line_length": 141,
"avg_line_length": 32.32937181663837,
"alnum_prop": 0.62089066274551,
"repo_name": "dagnir/aws-sdk-java",
"id": "f2232d286b4edb9d5bc9fe38342345f992ec5138",
"size": "1... |
using AutoMapper;
using Sol.DTO;
using Sol.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sol.WebAPI.Mapping
{
public class AutomapperConfig
{
public static void ConfigureMapper(IMapperConfigurationExpression cfg)
{
... | {
"content_hash": "69ab509b8fe7041c3ecc4d3eb9493534",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 28.185185185185187,
"alnum_prop": 0.6557161629434954,
"repo_name": "zenontrujillo/sol-server",
"id": "e0a95121317237ff25fabef22561db5058a1b416",
"siz... |
Clazz.declarePackage ("JM");
Clazz.load (["JM.PhosphorusMonomer"], "JM.NucleicMonomer", ["java.lang.Character", "JU.Lst", "$.P3", "$.Quat", "$.V3", "J.c.STR", "JM.NucleicPolymer", "J.shapebio.BioShape", "JV.JC"], function () {
c$ = Clazz.decorateAsClass (function () {
this.hasRnaO2Prime = false;
this.baseCenter = n... | {
"content_hash": "9c92ed30393c0d2838440dea7022e6e5",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 197,
"avg_line_length": 32.00268817204301,
"alnum_prop": 0.6598908021839563,
"repo_name": "sillitoe/biojs-vis-pdbviewer",
"id": "aba5bb2a437313a0354148aa3f6442cade838743",
... |
class Recipes::Devise < Rails::AppBuilder
def ask
use_devise = answer(:devise) do
Ask.confirm "Do you want to use Devise for authentication? (required for ActiveAdmin)"
end
if use_devise
set(:authentication, use_devise)
ask_for_devise_model
end
end
def create
add_devise if ... | {
"content_hash": "e5e4e1ecd0b2dde88a3087d862757065",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 92,
"avg_line_length": 24.555555555555557,
"alnum_prop": 0.6470588235294118,
"repo_name": "platanus/potassium",
"id": "7db52540c4081503a190368976acf3913010211f",
"size": "1... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | {
"content_hash": "ad610d424a7d1522dc8e55842eebfa0e",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 84,
"avg_line_length": 37.56666666666667,
"alnum_prop": 0.7515527950310559,
"repo_name": "lhughey/Xamarin.Plugins-1",
"id": "1c55b11930da920364dfbf6f7b071d4b1c5b914d",
"siz... |
/*
* SystemSnapshotWebServer
* Author: Andrzej Piotrowski
*
* http://SystemSnapshotWebServer.com/
*
*/
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Windows.Forms;
namespace SystemSnapshotWebServer
... | {
"content_hash": "5226834ffd1d0f97bcb4e5b88042ab49",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 124,
"avg_line_length": 36.0939226519337,
"alnum_prop": 0.5107913669064749,
"repo_name": "siranen/SystemSnapshotWebServer",
"id": "ed3faac76b12614fbed9c8a0720bd438e7ba449d",... |
<?php
/*
|--------------------------------------------------------------------------
| Register The Laravel Class Loader
|--------------------------------------------------------------------------
|
| In addition to using Composer, you may use the Laravel class loader to
| load your controllers and models.... | {
"content_hash": "2caf9de4f0add469742990d6f0252de6",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 77,
"avg_line_length": 32.795180722891565,
"alnum_prop": 0.550330639235856,
"repo_name": "EdRands/laravel-seeder",
"id": "73a54a34e483619f2df9678a586080b91eca48ea",
"size":... |
#include <babylon/materials/node/optimizers/node_material_optimizer.h>
namespace BABYLON {
void NodeMaterialOptimizer::optimize(
const std::vector<NodeMaterialBlockPtr>& /*vertexOutputNodes*/,
const std::vector<NodeMaterialBlockPtr>& /*fragmentOutputNodes*/)
{
// Do nothing by default
}
} // end of namespace B... | {
"content_hash": "99d416bdbb3f8f3cdb7e899bd28ec515",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 27.25,
"alnum_prop": 0.7675840978593272,
"repo_name": "samdauwe/BabylonCpp",
"id": "b08f59308e803af7084bfdc17b8f2d9a33690c8a",
"size": "327",
"bina... |
package org.flywaydb.sample.webapp;
import org.flywaydb.core.Flyway;
/**
* Environment of this application.
*/
public class Environment {
/**
* Checks whether we are currently running on AppEngine.
*
* @return {@code true} if we are, {@code false} if not.
*/
public static boolean runnin... | {
"content_hash": "6a422a1a27d8e697d7aa3870af4e71f6",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 122,
"avg_line_length": 28.3,
"alnum_prop": 0.6113074204946997,
"repo_name": "IAops/flyway",
"id": "4b6e0a141bcd370e338c726c93c6b7ada3801c3a",
"size": "1736",
"binary": f... |
FROM nodesource/nsolid:carbon-latest
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ADD package.json /usr/src/app/package.json
RUN npm install --production
ADD server.js /usr/src/app/server.js
ENTRYPOINT ["nsolid", "server.js"]
| {
"content_hash": "9d57624b7eeb92437bb085f2fb4d1eb2",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 42,
"avg_line_length": 21.09090909090909,
"alnum_prop": 0.7543103448275862,
"repo_name": "nodesource/nsolid-kubernetes",
"id": "b0040cafa8c628a0863046eaa1b33abb30701adc",
"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId... | {
"content_hash": "41fd08ec0b0796fa533ac2214d14601e",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 105,
"avg_line_length": 27.64423076923077,
"alnum_prop": 0.6462608695652174,
"repo_name": "jkorab/camel-devoxx",
"id": "85012c50b41bcd615cce3595f289d77366694af3",
"size": ... |
// ----------------------------------------------------------------------------
// Copyright 2006-2010, GeoTelematic Solutions, Inc.
// All rights reserved
// ----------------------------------------------------------------------------
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you m... | {
"content_hash": "48c36ea3193321ebe21d005bde6b91f3",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 81,
"avg_line_length": 26.116666666666667,
"alnum_prop": 0.4620293554562859,
"repo_name": "cisdev123/OpenGTS_2.6.0",
"id": "85e37d253b5dc65fb2829195b8e254211816a5ae",
"siz... |
package com.not2excel.api.util;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* @author Richmond Steele
* @since 12/16/13
* Al... | {
"content_hash": "42670edd5dd395a78ca81f50197d147e",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 110,
"avg_line_length": 27.913333333333334,
"alnum_prop": 0.539049438738954,
"repo_name": "Not2EXceL/ClashOfBlocks",
"id": "d26cf0d1dd8841dd663af6c7e9d12367873d0d3e",
"siz... |
"""
Tests for Algorithms using the Pipeline API.
"""
from os.path import (
dirname,
join,
realpath,
)
from nose_parameterized import parameterized
from numpy import (
array,
arange,
full_like,
float64,
nan,
uint32,
)
from numpy.testing import assert_almost_equal
import pandas as pd
... | {
"content_hash": "887acf81fff8eb4eb5478708d3e8a1ec",
"timestamp": "",
"source": "github",
"line_count": 645,
"max_line_length": 79,
"avg_line_length": 33.83410852713178,
"alnum_prop": 0.5617926041332539,
"repo_name": "magne-max/zipline-ja",
"id": "e24996833f9651a332f0287b8608cdec56cf3f9b",
"size": ... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Mycoderma humuli Lasché
### Remarks
null | {
"content_hash": "f9dc9d64a5434416485e8a67f702ba8e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.846153846153847,
"alnum_prop": 0.7109375,
"repo_name": "mdoering/backbone",
"id": "d45b9f05b36b0b41c0d58fd606f59e6972546b77",
"size": "177",
"bin... |
//
// Created by Darin on 20/07/2018.
//
#include "call_js_on_app_context_task.h"
CallJsOnAppContextTask::CallJsOnAppContextTask(const std::string &instanceId, const std::string &func,
std::vector<VALUE_WITH_TYPE *> ¶ms) : WeexTask(instanceId) {
this->func = fu... | {
"content_hash": "118ae9413ee2992af684b410a33a86d3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 127,
"avg_line_length": 28.535714285714285,
"alnum_prop": 0.6483103879849812,
"repo_name": "alibaba/weex",
"id": "c12cd16bc718e2358be8d950117bdab4da70fdf1",
"size": "1607",... |
import logging
from mender.cli.utils import api_from_opts, run_command, dump_token, \
load_file, save_file, do_simple_get
from mender.client import user_url
def add_args(sub):
# deployments
sub.set_defaults(usercommand='')
pusub = sub.add_subparsers(help='Commands for user management')
plogin =... | {
"content_hash": "31a0f13f37522da92d67d83e80e7584d",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 75,
"avg_line_length": 32.94117647058823,
"alnum_prop": 0.5915816326530612,
"repo_name": "bboozzoo/mender-backend-cli",
"id": "2de92a7900e588784da1040c355f50e86095909e",
"... |
function bgfxProject(_name, _kind, _defines)
project ("bgfx" .. _name)
uuid (os.uuid("bgfx" .. _name))
kind (_kind)
if _kind == "SharedLib" then
defines {
"BGFX_SHARED_LIB_BUILD=1",
}
configuration { "vs20* or mingw*" }
links {
"gdi32",
"psapi",
}
configuration { "mingw*" }
... | {
"content_hash": "4d9a2ebd00729ee7cfe66ed7a543c10b",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 231,
"avg_line_length": 23.567901234567902,
"alnum_prop": 0.6178627553693034,
"repo_name": "BlueCrystalLabs/bgfx",
"id": "a946155bdc865f45d2ab4e5c93c0998cfd7f29dd",
"size"... |
package org.apache.hadoop.hdfs.server.datanode.fsdataset.impl;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.nio.channels.ClosedChannelException;
import java.io.OutputStreamWriter;
import java.nio.file.Files;... | {
"content_hash": "04651046c107112d312ecd265bb1d340",
"timestamp": "",
"source": "github",
"line_count": 894,
"max_line_length": 85,
"avg_line_length": 29.885906040268456,
"alnum_prop": 0.6528183247249045,
"repo_name": "wankunde/cloudera_hadoop",
"id": "9e8c588420c0b6fd872ac8b53035693925fde607",
"si... |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# Skip all tests on non-windows and non-PowerShellCore and non-elevated platforms.
$originalDefaultParameterValues = $PSDefaultParameterValues.Clone()
$originalWarningPreference = $WarningPreference
$WarningPreference = "SilentlyContinue"
$skipTe... | {
"content_hash": "fd2720c7de6215f8427ab42850de0c51",
"timestamp": "",
"source": "github",
"line_count": 2085,
"max_line_length": 223,
"avg_line_length": 42.954916067146286,
"alnum_prop": 0.5516017016335235,
"repo_name": "daxian-dbw/PowerShell",
"id": "0b73e7be7aaa22c4454d9d88a19f4e2903e3a022",
"siz... |
import * as WebSocket from 'ws';
import { Dispatcher } from './dispatcher';
import { Observer } from './observer';
import { Gpg } from '../gpg';
import { Message } from '../model';
import {
GpgCreateKeySet,
GpgResetYubikey,
GpgChangePinYubikey,
GpgChangeCard,
DeleteSecretKey,
RequestAsciiDispatcher,
Send... | {
"content_hash": "82e43dd09f294960aaf2079183ad7b48",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 78,
"avg_line_length": 31.11904761904762,
"alnum_prop": 0.7199693955623565,
"repo_name": "mabels/clavator",
"id": "636a5da04e1d899b60e165ef7e4749b31c5cd426",
"size": "1307"... |
package jy.sudoku.validator;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Scanner;
/**
*
* @author jonathanyantz
*/
public class Puzzle {
public static int[][] get(String location) {
ArrayList<String> list = new ArrayList();
... | {
"content_hash": "dcacb034e0574774a57197ff12488621",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 75,
"avg_line_length": 27.53125,
"alnum_prop": 0.5045402951191827,
"repo_name": "jryantz/sudoku-validator",
"id": "7da5e76ad2225a2961fe5dd33d9f538bb9e6044e",
"size": "1762"... |
<?php
namespace Oro\Bundle\EntityConfigBundle\Migrations\Schema\v1_14_1;
use Doctrine\DBAL\Schema\Schema;
use Oro\Bundle\MigrationBundle\Migration\Migration;
use Oro\Bundle\MigrationBundle\Migration\QueryBag;
/**
* Execute broken enums fix query.
*/
class UpdateConfigFieldBrokenEnum implements Migration
{
/**
... | {
"content_hash": "2b3d6299666f9e458a816534d2d19418",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 67,
"avg_line_length": 23.285714285714285,
"alnum_prop": 0.7280163599182005,
"repo_name": "orocrm/platform",
"id": "d9163912e90cc7c00ae275f01996d6cec2d69f27",
"size": "489"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Ilex peduncularis Reissek
### Remarks
null | {
"content_hash": "2e08c9de6b30e91f49070363165b377e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 11.307692307692308,
"alnum_prop": 0.7346938775510204,
"repo_name": "mdoering/backbone",
"id": "6d59dfe53430c69bfc3c85895b053eff69faad22",
"size": "19... |
package com.fourinone;
import java.util.ArrayList;
import java.util.List;
import java.io.Serializable;
import java.rmi.RemoteException;
//import java.rmi.ConnectException;
final public class ParkProxy{
private static String sid = null;
private Park pk;
private ParkLeader pl = null;
public ParkProxy... | {
"content_hash": "7bf430a36bd5750af6ea7fd1cad5dc52",
"timestamp": "",
"source": "github",
"line_count": 534,
"max_line_length": 145,
"avg_line_length": 32.835205992509366,
"alnum_prop": 0.6464583095699783,
"repo_name": "hnlaomie/fourinone",
"id": "ca1cb2dc7cdaf8c4cd7a5fac8986dd8376e76025",
"size": ... |
package cn.ucloud.ufile.body;
public class ErrorBody {
private int RetCode;
private String ErrMsg;
public ErrorBody() {
}
public int getRetCode() {
return RetCode;
}
public void setRetCode(int retCode) {
RetCode = retCode;
}
public String getErrMsg() {
return ErrMsg;
}
public void setErrMsg(S... | {
"content_hash": "15b5acf267a754e6f1c2b9e840bd7494",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 39,
"avg_line_length": 13.846153846153847,
"alnum_prop": 0.6861111111111111,
"repo_name": "hsiun/yoyo",
"id": "a1fcb525c7828770f14b36a325676cbbc6299015",
"size": "360",
"... |
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// 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("WpfTwitterStreamin... | {
"content_hash": "91c6754979f344bacb98908753e19714",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 96,
"avg_line_length": 39.44642857142857,
"alnum_prop": 0.7537347215934812,
"repo_name": "josemigallas/WcfTwitterStreamingService",
"id": "f8d505b67e6d4e6b7047b96707e975c7cb8... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paco: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "9fde47cc57c5e64f87897ef0f6d64045",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 159,
"avg_line_length": 41.28409090909091,
"alnum_prop": 0.5456922653454446,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6b2715557a96259211cadad696eb957a83056762",
... |
using System;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.CoreImage;
using System.Collections.Generic;
using MonoTouch.Dialog;
using System.Drawing;
using System.Linq;
using System.Reflection;
using MonoTouch.CoreGraphics;
namespace coreimage
{
[Register ("AppDelegate")]
public partial class ... | {
"content_hash": "65119accf151f7cff85586cce4c19174",
"timestamp": "",
"source": "github",
"line_count": 1083,
"max_line_length": 172,
"avg_line_length": 25.542936288088644,
"alnum_prop": 0.6312764342262227,
"repo_name": "bratsche/monotouch-samples",
"id": "63257775bed6685790a319fd3badbddb5b1760f0",
... |
/*
* 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
* distr... | {
"content_hash": "7fdd02b90c43889e8dbc82394a8b3519",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 96,
"avg_line_length": 27.715151515151515,
"alnum_prop": 0.6964793352285152,
"repo_name": "naver/ngrinder-recorder",
"id": "53ef97e5b2ce2ff2d2677f29c72063e3616d1dca",
"siz... |
from __future__ import division
from math import exp
from math import log
"""
This module contains a collection of functions to calculate
a mean tree height in meters using various height growth curves found
in the literature.
5/04/2016
Ryan Michie
Oregon DEQ
# ---------------
Citations
Bruce D. 1981. Consistent he... | {
"content_hash": "0189ad30371e7ca9c958e5482c9a0eb9",
"timestamp": "",
"source": "github",
"line_count": 341,
"max_line_length": 112,
"avg_line_length": 32.34310850439883,
"alnum_prop": 0.6315169099646387,
"repo_name": "rmichie/PyScripts",
"id": "ed9f4ef7837fe5d69a644a5fb3541aa466e723d0",
"size": "1... |
from .content_types import *
from .csv import *
from .dynamic import *
from .expandable import *
from .fields import *
| {
"content_hash": "90d518339e78e0ad6be0951fe3876869",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 28,
"avg_line_length": 23.8,
"alnum_prop": 0.7394957983193278,
"repo_name": "digitalocean/netbox",
"id": "eacde0040a9eec185dbce537854cd22189ab3ba6",
"size": "119",
"binary... |
/**
* Listens for the app launching then creates the window.
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function(launchData) {
chrome.app.window.create(
'index.html',
{
frame: 'none'... | {
"content_hash": "9c0513b260e6b46c33c955de99dc9b69",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 64,
"avg_line_length": 25.0625,
"alnum_prop": 0.6458852867830424,
"repo_name": "mtusk/super-soaper",
"id": "376e177295c68d60434c57c95700c4fa1a0af20a",
"size": "401",
"bin... |
set +e
_term() {
echo "caught signal"
kill -TERM "$virt_launcher_pid" 2>/dev/null
}
trap _term SIGTERM SIGINT SIGQUIT
# HACK
# Try to create /dev/kvm if not present
if [ ! -e /dev/kvm ]; then
mknod /dev/kvm c 10 $(grep '\<kvm\>' /proc/misc | cut -f 1 -d' ')
fi
chown :qemu /dev/kvm
chmod 660 /dev/kvm
# Cock... | {
"content_hash": "5c05eb071e6208c8ea829b41fcdc7523",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 68,
"avg_line_length": 24.603174603174605,
"alnum_prop": 0.6825806451612904,
"repo_name": "fabiand/kubevirt",
"id": "fe59d89eeaa2ebdb0db4305b11e6f53ece98dbf2",
"size": "156... |
set(PACKAGE_VERSION "6.700.4")
# Check whether the requested PACKAGE_FIND_VERSION is compatible
if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}")
s... | {
"content_hash": "d61cc64259af29e562d946e7d23ade30",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 67,
"avg_line_length": 33.54545454545455,
"alnum_prop": 0.7317073170731707,
"repo_name": "KaimingOuyang/HPC-K-Means",
"id": "19d634dd62ff2fbb2c52730167c44af90d118577",
"siz... |
FROM balenalib/raspberrypi3-64-debian:bookworm-run
# A few reasons for installing distribution-provided OpenJDK:
#
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
#
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
#
# For some sample build ti... | {
"content_hash": "cbad7465d78ac3ebe99cdb541b4144ca",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 679,
"avg_line_length": 51.810344827586206,
"alnum_prop": 0.7008319467554076,
"repo_name": "resin-io-library/base-images",
"id": "656727830c0a12258f928ddfbbfba34edf72751f",
... |
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/dbus/smb_provider_client.h"
#include <memory>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/files/file_util.h"... | {
"content_hash": "69ced9f5d1fe72f017f468b6c48e6e8f",
"timestamp": "",
"source": "github",
"line_count": 724,
"max_line_length": 80,
"avg_line_length": 37.908839779005525,
"alnum_prop": 0.6489834584274575,
"repo_name": "endlessm/chromium-browser",
"id": "f54eb833621c57ddda2122d5319adcf0008f1db9",
"s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.