text stringlengths 2 1.04M | meta dict |
|---|---|
import os
import random
import logging
import stat
_logger = logging.getLogger("cwltool")
def abspath(src, basedir):
if src.startswith("file://"):
ab = src[7:]
else:
ab = src if os.path.isabs(src) else os.path.join(basedir, src)
return ab
class PathMapper(object):
"""Mapping of files ... | {
"content_hash": "ea8368f8b7faff8cd71a579cbdfd880f",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 93,
"avg_line_length": 30.6375,
"alnum_prop": 0.507547939616483,
"repo_name": "brainstorm/common-workflow-language",
"id": "ef739cf85d3a615bad5b3f982e2e35d655698e8b",
"size... |
package org.carlspring.strongbox.yaml;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.nio.file.Files;
import java.util.Objects;
import org.carlspring.strongbox.uti... | {
"content_hash": "cf6bfeb92a640a58e79855093fef0a67",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 108,
"avg_line_length": 32.642857142857146,
"alnum_prop": 0.6721371261852662,
"repo_name": "strongbox/strongbox",
"id": "a88a1b5a11b7a9b2435d5d04ee78357b3565e122",
"size": ... |
cordova.define("io.litehelpers.cordova.sqlite.SQLitePlugin", function(require, exports, module) { (function() {
var DB_STATE_INIT, DB_STATE_OPEN, READ_ONLY_REGEX, SQLiteFactory, SQLitePlugin, SQLitePluginTransaction, argsArray, dblocations, newSQLError, nextTick, root, txLocks;
root = this;
READ_ONLY_REGEX = /^... | {
"content_hash": "079b043dad603e200d5a2f9149865a8a",
"timestamp": "",
"source": "github",
"line_count": 576,
"max_line_length": 413,
"avg_line_length": 29.74826388888889,
"alnum_prop": 0.5777064487890283,
"repo_name": "caballerojavier13/Tap_to_publish",
"id": "62c18af618dcd528f1968ffcd702701d8d514ae3... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_splash"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@di... | {
"content_hash": "4aa5b4d98157d875789b442679b4d5c9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 74,
"avg_line_length": 46.46153846153846,
"alnum_prop": 0.7301324503311258,
"repo_name": "gearedmonkey/rain",
"id": "a81bd6d9fdd5db7f77b9b8e98afcaed93f0cc59e",
"size": "604... |
jQuery(document).ready(function($) {
$('form#login').on('submit', function(e){
$('form#login p.status').show().text(ajax_login_object.loadingmessage);
$.ajax({
type: 'POST',
dataType: 'json',
url: ajax_login_object.ajaxurl,
data: {
'act... | {
"content_hash": "afa0263e4ea55fb726e205b134513def",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 79,
"avg_line_length": 37.34782608695652,
"alnum_prop": 0.4807916181606519,
"repo_name": "TimeTravelersHackedMe/Flat-Roots-Masonry",
"id": "0d0de69661a2ccb70f7533585bbc31dc2d... |
import random
import numpy
from matplotlib import pyplot ## == import matplotlib.pyplot
## Hive + Enemy
num_bees = 1000
num_warrior =numpy.random.randint(1,num_bees+1)
num_worker= num_bees - num_warrior
alert=False
print "num warrior", num_warrior
print "num worker", num_worker
print "\n"
class Queen_Bee:
... | {
"content_hash": "565b62a60ca9d4b182b2512480da3a17",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 89,
"avg_line_length": 20.347058823529412,
"alnum_prop": 0.6082682856316854,
"repo_name": "omsktransmash/ScientificPythonTutorial",
"id": "7566cf85d72e67ba7994350523f5da633b... |
<?php
/**
* WordPress Coding Standard.
*
* @package WPCS\WordPressCodingStandards
* @link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards
* @license https://opensource.org/licenses/MIT MIT
*/
namespace WordPress\Sniffs\PHP;
use PHP_CodeSniffer_File as File;
/**
* Discourages the us... | {
"content_hash": "05ef5b4143b365c3dfe9b793e553d388",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 106,
"avg_line_length": 37.25396825396825,
"alnum_prop": 0.6548785683851726,
"repo_name": "mattyrob/WordPress-Coding-Standards",
"id": "763ab86b24b5b8bc9fcab6653efab62c8c2562... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Fungal Diversity 26(2): 396 (2007)
#### Original name
Troposporella fumosa P. Karst., 1892
### Remarks
null | {
"content_hash": "0fb894e601bf0318e902bcde68d0a20f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 15.076923076923077,
"alnum_prop": 0.7091836734693877,
"repo_name": "mdoering/backbone",
"id": "d146f656bc25fd9b6db04ee98703186ebab9f3c7",
"size": "28... |
from __future__ import (absolute_import, division, generators, nested_scopes, print_function,
unicode_literals, with_statement)
import logging
import sys
import lockfile
import psutil
from lockfile import pidlockfile
logger = logging.getLogger(__name__)
class OwnerPrintingPIDLockFile(pidloc... | {
"content_hash": "526abffa7ac515cfd73343bfd68f7afb",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 99,
"avg_line_length": 31.89189189189189,
"alnum_prop": 0.6754237288135593,
"repo_name": "tejal29/pants",
"id": "2f7780dc51a1834ee64e407b01bc94147a3186a0",
"size": "1327",
... |
package v3
import (
"github.com/rancher/norman/lifecycle"
"github.com/rancher/norman/resource"
"github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
"k8s.io/apimachinery/pkg/runtime"
)
type GlobalRoleBindingLifecycle interface {
Create(obj *v3.GlobalRoleBinding) (runtime.Object, error)
Remove(obj *v3.Gl... | {
"content_hash": "35a5a2be60028519fe931688acf9ce7f",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 170,
"avg_line_length": 31.059701492537314,
"alnum_prop": 0.7597308986064392,
"repo_name": "rancher/rancher",
"id": "7cb9dac44373bbe385de4191ab22794b36014af3",
"size": "208... |
"""
Test the parallel module.
"""
# Author: Gael Varoquaux <gael dot varoquaux at normalesup dot org>
# Copyright (c) 2010-2011 Gael Varoquaux
# License: BSD Style, 3 clauses.
import time
try:
import cPickle as pickle
PickleError = TypeError
except:
import pickle
PickleError = pickle.PicklingError
fr... | {
"content_hash": "3cb2dbeae44b1d828630694525b405ee",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 80,
"avg_line_length": 30.067357512953368,
"alnum_prop": 0.5121488885059452,
"repo_name": "ominux/scikit-learn",
"id": "2599acb393439c3a178716305fcaa0591e02449e",
"size": ... |
import fs from 'fs';
import path from 'path';
import { listen, closeServer } from './socket_server';
import worker from './worker';
import workerList from './worker_list';
export const init = (rScriptPath: string, port: number = 50595) => {
// Resolve rWorkerPath
const resolvedRScriptPath = path.resolve(rScriptPat... | {
"content_hash": "dd8645718ff902383eb7316fc46cf11a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 68,
"avg_line_length": 26.384615384615383,
"alnum_prop": 0.7055393586005831,
"repo_name": "tlaanemaa/rworker",
"id": "f89fa21f70067eb8c6c19033c8ba8ee8167a775f",
"size": "69... |
/**
* Some polyfiller to make old browsers more ES5 like
*/
if (!Object.keys) {
/**
* @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/keys
*/
Object.keys = function(o) {
if (o !== Object(o)) {
throw new TypeError('Object.keys called on non-obje... | {
"content_hash": "dbe76b101efa7081f8a735b683f4c36f",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 137,
"avg_line_length": 30.5,
"alnum_prop": 0.58932324506095,
"repo_name": "ryanwilliams/jah",
"id": "41be2363ce03a6dc6d83b11a6552ff1b3547e18a",
"size": "2379",
"binary":... |
package org.waveprotocol.box.server.authentication;
import com.google.common.base.Preconditions;
import org.waveprotocol.box.server.persistence.AccountStore;
/**
* This class holds a reference to a global AccountStore object. It is used in
* classes which are not instantiated by Guice, and for which the only way... | {
"content_hash": "fcf1cc50ed6016effb5221f72a4b2a95",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 92,
"avg_line_length": 31.76,
"alnum_prop": 0.7418136020151134,
"repo_name": "gburd/wave",
"id": "5c10627d2a6d79dffeca928edba252b8b9344c11",
"size": "2185",
"binary": fal... |
/**
* @author sunag / http://www.sunag.com.br/
*/
THREE.RawNode = function( value ) {
THREE.GLNode.call( this, 'v4' );
this.value = value;
};
THREE.RawNode.prototype = Object.create( THREE.GLNode.prototype );
THREE.RawNode.prototype.constructor = THREE.RawNode;
THREE.GLNode.prototype.generate =... | {
"content_hash": "3c7a5375a9cdf8f6189ed7bbf99d73f6",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 66,
"avg_line_length": 18.054054054054053,
"alnum_prop": 0.6017964071856288,
"repo_name": "masterfish2015/my_project",
"id": "f01d2ba4cd2a7dbb2ee722731ad2d4e9747cec3e",
"si... |
px4_nuttx_configure(HWCLASS m4 CONFIG nsh ROMFS y ROMFSROOT px4fmu_common IO px4io-v2)
#set(config_uavcan_num_ifaces 2)
set(config_module_list
#
# Board support modules
#
#drivers/barometer
drivers/differential_pressure
drivers/distance_sensor
#drivers/magnetometer
#drivers/adis16448
drivers/airspeed
drive... | {
"content_hash": "ca5e3f230baa3469cda1c5d3a78d0873",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 86,
"avg_line_length": 16.74871794871795,
"alnum_prop": 0.7654623392529087,
"repo_name": "jlecoeur/Firmware",
"id": "7e0e16b8b0cf88dca4c0997286bc1837f7151ae5",
"size": "32... |
package com.example.fw;
public class Contact implements Comparable<Contact> {
public String name;
public String surname;
public String email;
public String internetContact;
public String streetAddress;
public String city;
public String postalCode;
public String country;
public String phone;
public String f... | {
"content_hash": "da12e33189c83c86dd82108d8533b3a8",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 104,
"avg_line_length": 19.47179487179487,
"alnum_prop": 0.6331314195417435,
"repo_name": "ErmOlka/Prog4Test",
"id": "6d0f8a6aac101fd47f1b35c2a888058e85d22d99",
"size": "3... |
import time
from oslo_log import log as logging
from oslo_service import loopingcall
from cinder import coordination
from cinder import exception
from cinder.i18n import _
from cinder.volume.drivers.dell_emc.vmax import utils
LOG = logging.getLogger(__name__)
WRITE_DISABLED = "Write Disabled"
UNLINK_INTERVAL = 15
U... | {
"content_hash": "27a6170ffc5a6fb0b07e72158a389cda",
"timestamp": "",
"source": "github",
"line_count": 772,
"max_line_length": 78,
"avg_line_length": 42.6800518134715,
"alnum_prop": 0.5756472123584935,
"repo_name": "phenoxim/cinder",
"id": "b356bbd4ca2719990a8da6ae8986c6d81ea62209",
"size": "33599... |
<?php
namespace Application\Controller;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
use Application\Form\LoginForm;
use Application\Model\User;
use Application\Model\UserTable;
use Zend\Authentication\Adapter\DbTable as AuthAdapter;
use Zend\Session\Config\StandardConfig;
use Zend... | {
"content_hash": "d1b0a079b53822ca67a7296ef1a0c868",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 113,
"avg_line_length": 32.152866242038215,
"alnum_prop": 0.5263470681458003,
"repo_name": "Mikielis/crm",
"id": "620b965e96b6bc968e84f01f0c0fce7561b034f0",
"size": "5048"... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Using Processing — Leap Motion JavaScript SDK v3.1 documentation</title>
<link rel="stylesheet" href="../../cpp/_static/bootst... | {
"content_hash": "9537e3b87e3a3ec9693af91ac83a00d9",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 174,
"avg_line_length": 35.718100890207715,
"alnum_prop": 0.5797956301404005,
"repo_name": "oscarorti/pae-gesture-recognition",
"id": "c1cb08e6ead9dd2635862c8a40dafaf84cf241... |
package utils
import "strings"
var (
// Options: boolean, enum, list, number, string, time
typesToGo = map[string]string{
"boolean": "*bool",
"enum": "string", // TODO: Custom "enum" type
"list": "[]string",
"number": "*int",
"int": "*int",
"long": "*int",
"string": "string",
"time": ... | {
"content_hash": "eb5ff78150a55b309e9c424542b596a5",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 99,
"avg_line_length": 24.131147540983605,
"alnum_prop": 0.5896739130434783,
"repo_name": "control-center/serviced",
"id": "63729603918b91419ac21210f6a43d1ebbfdfc45",
"siz... |
//Copyright 2014 Spin Services Limited
//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 w... | {
"content_hash": "4cb4435c9a62ff224bcf7632c113d955",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 92,
"avg_line_length": 32.86,
"alnum_prop": 0.7297626293365794,
"repo_name": "jpendlebury/SS.Integration.Adapter",
"id": "b0d0fb26399fb762cb7b2de5cc4f00e6c7276f32",
"size":... |
package com.thimbleware.jmemcached;
import com.thimbleware.jmemcached.storage.bytebuffer.BlockStorageCacheStorage;
import com.thimbleware.jmemcached.storage.CacheStorage;
import com.thimbleware.jmemcached.storage.bytebuffer.BlockStoreFactory;
import com.thimbleware.jmemcached.storage.bytebuffer.ByteBufferBlockStore;
... | {
"content_hash": "187203b7d4eca5596cd866c33eeb4ca9",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 182,
"avg_line_length": 44.194871794871794,
"alnum_prop": 0.6247389185425853,
"repo_name": "urbanairship/jmemcache-daemon",
"id": "b3ce2f98bd8741f7b55948836576b5a62e91331a",... |
package com.microsoft.bingads.campaignmanagement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymo... | {
"content_hash": "2f948b21978baed430115b10cfab4679",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 135,
"avg_line_length": 26.203125,
"alnum_prop": 0.6636851520572451,
"repo_name": "JeffRisberg/BING01",
"id": "2ec26deaf8ade115c694b838c78ec2c8fae619da",
"size": "1677",
... |
package org.apache.spark.util
import java.util.Set
import java.util.Map.Entry
import java.util.concurrent.ConcurrentHashMap
import scala.collection.{JavaConversions, mutable}
import org.apache.spark.Logging
private[spark] case class TimeStampedValue[V](value: V, timestamp: Long)
/**
* This is a custom implement... | {
"content_hash": "c5f520ba8a6e00297ae24548e9bf307a",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 98,
"avg_line_length": 30.451851851851853,
"alnum_prop": 0.6725857455606908,
"repo_name": "andrewor14/iolap",
"id": "8de75ba9a9c92d7cde36941d052dd4392d226acc",
"size": "49... |
package org.smartdeveloperhub.harvesters.it.backend.exhibitor;
import com.google.common.collect.Lists;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.smartdeveloperhub.harvesters.it.backend.Collector;
import org.smartdeveloperhub.harvesters.it.backend.Commit;
import org.smartdeveloperhub.harvest... | {
"content_hash": "dbc2a73e9f9543179b4130a43ec27c20",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 94,
"avg_line_length": 23.764705882352942,
"alnum_prop": 0.7282178217821782,
"repo_name": "SmartDeveloperHub/sdh-it-harvester",
"id": "089d117101366595b6ccd1a260e0f25e9274b6... |
import argparse
import re
import sys
import os
import difflib
import const
def main(argv):
# define return code const value
const.CheckPassFail = 1
const.CheckPassOK = 0
const.GeneralError = -1
const.UnknownArguments = -2
const.MissingResult = -3
# Parse the command line
parser = a... | {
"content_hash": "1884a5b8b647f01eec8041cdb4954bfa",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 107,
"avg_line_length": 39.214285714285715,
"alnum_prop": 0.581056466302368,
"repo_name": "libengu/llilc",
"id": "7336c6e1eb2aae34f51cb3ee36bcaeac1c6e6cf0",
"size": "4974",... |
// RTM.Tools
// RTM.Component.CameraMovementDetector
// CameraMovementDetectorComponent.cs
//
// Created by Bartosz Rachwal.
// Copyright (c) 2015 Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan. All rights reserved.
using System;
using OpenRTM.Core;
using RTM.Component... | {
"content_hash": "3bf57cb7708b9d5eeee101aa1fc3813c",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 137,
"avg_line_length": 33.22077922077922,
"alnum_prop": 0.6360437842064113,
"repo_name": "rachwal/RTM-Tools",
"id": "9cd4f97e330b53eaf3ffa529979622a486beec98",
"size": "25... |
import numpy as np
import tvm
from tvm import relay
from tvm.relay import transform
def run_opt_pass(expr, opt_pass):
assert isinstance(opt_pass, transform.Pass)
mod = relay.Module.from_expr(expr)
mod = opt_pass(mod)
entry = mod["main"]
return entry if isinstance(expr, relay.Function) else entry.... | {
"content_hash": "43c0b6be18c13005db9a6f0f8fb2107c",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 72,
"avg_line_length": 30.985507246376812,
"alnum_prop": 0.5762394761459307,
"repo_name": "Huyuwei/tvm",
"id": "97b20c6b9219a91ec21f2076a681a84b1f5fd1a5",
"size": "5061",
... |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2009-2012 the original author or authors.
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.ap... | {
"content_hash": "0a9bffe86dfc9f434377430afd76629c",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 91,
"avg_line_length": 33.34,
"alnum_prop": 0.6778644271145771,
"repo_name": "Azhenge32/mybatis-3.2.5-note",
"id": "d90a07c6078ae94fec5ff15646e7f348548450f0",
"size": "1667... |
System.register([], function (_export) {
"use strict";
var _classCallCheck, BlankPage;
return {
setters: [],
execute: function () {
_classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } };
Bl... | {
"content_hash": "3f2e5c62bbd8e9b20bb0f5df07ddd080",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 298,
"avg_line_length": 46.1875,
"alnum_prop": 0.7631935047361299,
"repo_name": "atornes/aurelia-sb-admin-2",
"id": "007e8c9e18ec150b802b37f1549b9b86aa512c67",
"size": "739... |
package com.planet_ink.coffee_mud.Races;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
import com.pl... | {
"content_hash": "cd675209ae0f8377d4f0e961e74ac1f2",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 91,
"avg_line_length": 36.77536231884058,
"alnum_prop": 0.7004926108374384,
"repo_name": "robjcaskey/Unofficial-Coffee-Mud-Upstream",
"id": "789c49ba0170e369a32e1d0b4716722f... |
{% extends "base.html" %}
{% block content -%}
{% if page_mode == 'create' %}
<h1>Please create your profile before using Popcorn</h1>
{% endif %}
{% if page_mode == 'edit' %}
<img src="{{ profile.gravatar_url }}" />
{% endif %}
<form action="{{ url('users_edit') }}" method="post">
<div class="">
{% if form.... | {
"content_hash": "4f0d5cb1ca9aeabf61585632867fc0c9",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 166,
"avg_line_length": 24.92982456140351,
"alnum_prop": 0.553835327234342,
"repo_name": "enkiv2/popcorn_maker",
"id": "3512da4b0705019ef8fadd29bc80746e66bfa3c1",
"size": "... |
package com.google.gerrit.acceptance.api.accounts;
import static com.google.common.truth.Truth.assertThat;
import com.google.gerrit.acceptance.AbstractDaemonTest;
import com.google.gerrit.acceptance.NoHttpd;
import com.google.gerrit.extensions.client.EditPreferencesInfo;
import com.google.gerrit.extensions.client.Key... | {
"content_hash": "1af6b68a14167fca325392308a0722f9",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 76,
"avg_line_length": 35.91954022988506,
"alnum_prop": 0.73696,
"repo_name": "joshuawilson/merrit",
"id": "dd5bcbbbef5c25303c6ef4a9ed29c4786c98cfb3",
"size": "3734",
"bi... |
using System;
using System.ComponentModel;
namespace Azure.ResourceManager.Models
{
/// <summary> The type of identity that created the resource. </summary>
public readonly partial struct CreatedByType : IEquatable<CreatedByType>
{
private readonly string _value;
/// <summary> Initializes ... | {
"content_hash": "be199fe18046c486b20ba500d61ce567",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 132,
"avg_line_length": 51.2,
"alnum_prop": 0.664453125,
"repo_name": "Azure/azure-sdk-for-net",
"id": "f6a42cff06d9762c61dc5621325dcc19a00a9e27",
"size": "2698",
"binary... |
https://jvns.ca/blog/2018/06/19/what-i-use-wireshark-for/
Network Performance Measurement Tool for TCP, UDP & HTTP : https://github.com/Microsoft/Ethr
| {
"content_hash": "1ba089d63f7f275e8d7bb8adef8a34ba",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 92,
"avg_line_length": 50.666666666666664,
"alnum_prop": 0.7631578947368421,
"repo_name": "prateekpandey14/Explorer",
"id": "6f3661183d2c1e628eb5ba7ec553087b4f9d7bb8",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
http://www.liquibase.org/xml/ns/dbchangelog/dbchan... | {
"content_hash": "e47de8c9d6abf31b7067fcc0f3eb3458",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 87,
"avg_line_length": 44.666666666666664,
"alnum_prop": 0.6828358208955224,
"repo_name": "all-of-us/workbench",
"id": "ffe09e61a4bd22a0706ad522e541cd1aa7743639",
"size": "... |
#region License
// Copyright (c) 2007 James Newton-King
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to use,
/... | {
"content_hash": "233de2d347dbb3e888c1be99c0f434b3",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 128,
"avg_line_length": 46.03125,
"alnum_prop": 0.7406653088934148,
"repo_name": "assinnata/ChainUtils",
"id": "11e7ecff557b5e4ac7606de84d1054d530840359",
"size": "1475",
... |
import os, platform
import dynamixel
import time
import options
import math
import serial
ticks_per_rad = 4096.0/(math.pi*2)
############################################
# _______ __ ______ __
# /_ __(_)_ _ / // / __ \_ _____ ________/ /
# / / / / ' \ / _ / /_/ / |/|/ / _ `/ __... | {
"content_hash": "76f3fae479463a7d15e9a840bb7e7d10",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 181,
"avg_line_length": 33.004329004329,
"alnum_prop": 0.6798268625393494,
"repo_name": "skyleradams/tim-howard",
"id": "65d9f24001b36ba44760cb925e4fd74451e9073b",
"size":... |
#include "config.h"
#include "web/ExternalPopupMenu.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
#include "platform/PopupMenuClient.h"
#include "platform/geometry/FloatQuad.h"
#include "platform/geometry/IntPoint.h"
#include "platform/text/TextDirection.h"
#include "public/platform/WebVect... | {
"content_hash": "f67765978710c4f2d30e2b2de80ce3ab",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 146,
"avg_line_length": 33.99134199134199,
"alnum_prop": 0.6994396332144677,
"repo_name": "crosswalk-project/blink-crosswalk-efl",
"id": "37944028b1cd0f15433b947baab44feddd2... |
'use strict';
const camelize = require('camelize');
const msPattern = /^-ms-/;
/**
* Camelcases a hyphenated CSS property name, for example:
*
* > camelizeStyleName('background-color')
* < "backgroundColor"
* > camelizeStyleName('-moz-transition')
* < "MozTransition"
* > camelizeStyleName('-ms-tra... | {
"content_hash": "2522f12edd6b7bb6a2621e8daedbe876",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 79,
"avg_line_length": 22.6,
"alnum_prop": 0.6740412979351033,
"repo_name": "facebook/fbjs",
"id": "147302509b76aa10b49635b5714c678bb6ae893e",
"size": "915",
"binary": fa... |
require 'ohai'
class Chef
class Provider
class Ohai < Chef::Provider
def whyrun_supported?
true
end
def load_current_resource
true
end
def action_reload
converge_by("re-run ohai and merge results into node attributes") do
ohai = ::Ohai::System.ne... | {
"content_hash": "941be47cce5d209895f29f643e038770",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 76,
"avg_line_length": 25.6,
"alnum_prop": 0.6067708333333334,
"repo_name": "sideci-sample/sideci-sample-chef",
"id": "a6b5ab5daa20c8417a2d86b04652566674675b4d",
"size": "1... |
/**
* Package for calculate task.
*
* @author Bronislav Shestakov (mailto:bshestakov@gmail.com)
* @version $Id$
* @since 11.10.17
*/
package ru.job4j; | {
"content_hash": "fd5a41657a478c33dc2bdbd4624a75ee",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 59,
"avg_line_length": 19.625,
"alnum_prop": 0.6687898089171974,
"repo_name": "aPailOfCoffee/bshestakov",
"id": "baa9b429b60a546dd61e185212ff45f92899636e",
"size": "157",
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... | {
"content_hash": "ad910136e589dced50a2ede6659d73d0",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 151,
"avg_line_length": 35.6,
"alnum_prop": 0.5823970037453183,
"repo_name": "mcdenis/TileIconifier",
"id": "a6716aba4ddd59d6cb7004f545c7f9d57fb54fb1",
"size": "1070",
"b... |
package com.ikimuhendis.ldrawer.sample;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.widget.DrawerLayout;
import android.view.MenuItem;
import android.view.... | {
"content_hash": "0f0715252531cf952134b9110877b279",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 131,
"avg_line_length": 38.27272727272727,
"alnum_prop": 0.5542925008483204,
"repo_name": "0359xiaodong/LDrawer",
"id": "fc8737a47e3166e23706eca38325514cbe6de01d",
"size":... |
#import <UIKit/UITableView.h>
| {
"content_hash": "21a4f31f803b23fbd451a6254e4726f3",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 29,
"avg_line_length": 10.666666666666666,
"alnum_prop": 0.71875,
"repo_name": "codyd51/libPassword",
"id": "56002a2dc28663eb1e7bdd14cad788e45b2e2b20",
"size": "165",
"bin... |
MVC = {
Options: {},
Test: {},
File: function(path){ this.path = path; },
runner: function(f){
if(!window.in_command_window && !jQuery.browser.rhino)
f();
},
mvc_root: null,
include_path: null,
root: null,
Object: { extend: function(d, s) { for (var p in s) d[p] = s[p]; return d;} },
get_... | {
"content_hash": "33ccd1233eb109383184af97812d7f58",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 94,
"avg_line_length": 33.7463768115942,
"alnum_prop": 0.5514279579128194,
"repo_name": "slaff/attachix",
"id": "42901fb10a65e2f994041d74a3ada4d9f91d8a91",
"size": "4657",... |
class PerspectiveCameraController final
{
public:
PerspectiveCameraController();
// Sets the ModelViewMatrix to have the camera settings defined by this PerspectiveCameraController.
void positionCamera();
// Sets the projection matrix. Caches data used when automatically positioning camera.
void setPerspe... | {
"content_hash": "c7bc5093bf9c97fead6bdd80bf0968cb",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 166,
"avg_line_length": 28.791666666666668,
"alnum_prop": 0.7228654124457308,
"repo_name": "breannansmith/scisim",
"id": "1242a340c352053ade18be4b45d7d4922448f011",
"size":... |
using System;
using MediaManager.Library;
namespace MediaManager.Media
{
public class MediaItemFailedEventArgs : MediaItemEventArgs
{
public MediaItemFailedEventArgs(IMediaItem mediaItem, Exception exception, string message) : base(mediaItem)
{
Exeption = exception;
Mes... | {
"content_hash": "5c9ad1699f852343e4a8724383d95c8e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 116,
"avg_line_length": 27.470588235294116,
"alnum_prop": 0.6638115631691649,
"repo_name": "martijn00/XamarinMediaManager",
"id": "77323f60bfcfa7eae18e30fbb7b2c82cb2fba070",
... |
var webpack = require('webpack');
var loaders = ['babel'];
var port = process.env.PORT || 3000;
var plugins = [
new webpack.DefinePlugin({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
})
];
var entry = {
demo0: './demos/demo0/index.jsx',
demo1: './demos/demo1/index.jsx',
demo2: './demos/... | {
"content_hash": "921533d622641d64a97d1a9a0828e53f",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 94,
"avg_line_length": 24.285714285714285,
"alnum_prop": 0.6006535947712418,
"repo_name": "nelix/react-motion",
"id": "435a2373e201dd4df8734f022d2db0c0a5318356",
"size": "1... |
module Azure::Network::Mgmt::V2018_04_01
module Models
#
# Contains FQDN of the DNS record associated with the public IP address
#
class PublicIPAddressDnsSettings
include MsRestAzure
# @return [String] Gets or sets the Domain name label.The concatenation
# of the domain name label... | {
"content_hash": "c7d66dc8cffc9160ddc811f8f1dd7a66",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 79,
"avg_line_length": 33.84722222222222,
"alnum_prop": 0.560525235945835,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "7f6de112c3206220865cf7cb6e066c1c74cd26e2",
"size"... |
rb-hlld
=======
Ruby class for interacting with a hlld server (https://github.com/armon/hlld). MIT Licensed.
Example
-------
All commands accepted by hlld are implemented in rb-hlld. Here is a basic example script.
```ruby
# rb-hlld - Example basic usage script
require_relative 'lib/HlldClient.rb'
# Establish a ... | {
"content_hash": "afa6a8825e0265323ca1caf0c88e4e68",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 93,
"avg_line_length": 22.46808510638298,
"alnum_prop": 0.7159090909090909,
"repo_name": "mdlayher/rb-hlld",
"id": "af67dcd7e9e1286e84213ce2947d10d67ad36c49",
"size": "1056... |
package org.scalatra
package fileupload
import servlet._
import org.apache.commons.fileupload.servlet.ServletFileUpload
import org.apache.commons.fileupload.disk.{DiskFileItem, DiskFileItemFactory}
import collection.JavaConversions._
import scala.util.DynamicVariable
import java.util.{List => JList, HashMap => JHashM... | {
"content_hash": "0d83ea8c84eefab7ed4b8764dba27e39",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 179,
"avg_line_length": 43.395973154362416,
"alnum_prop": 0.7101763068357563,
"repo_name": "louk/scalatra",
"id": "9ae8a55fff5290eab4ef1f5431f4c0d25d18b9d5",
"size": "6466... |
id: 171
title: When Machine Learning Meets Amazon Web Services (AWS)
date: 2014-01-09T23:48:09+00:00
author: lo
layout: post
guid: /?p=171
permalink: /when-machine-learning-meets-amazon-web-services-aws/
categories:
- Kaggle
- Machine Learning
tags:
- Advice
- AWS
- Kaggle
- Machine Learning
---
## Summary
... | {
"content_hash": "7c0445aaf0978ce177c6f1b5c80d7823",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 538,
"avg_line_length": 69.92307692307692,
"alnum_prop": 0.7528419508617529,
"repo_name": "log0/log0",
"id": "5063a8ffd6037b7a1b5470d29c938dcc358cd3c2",
"size": "2736",
"... |
* [[Webmin administration]]
* [[vTiger Technical routines]] - reset passwords etc.
* [[MySQL administration]]
* [[Subversion administration]]
* [[Redmine administration]]
* [[Scalr administration]]
* [[Gluster administration]]
* [[LDAP routines]]
# Installation routines
Development arch:
* [[Subversion installation]... | {
"content_hash": "473e9209d0ea098a08276c6b0f14ce17",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 97,
"avg_line_length": 21.34313725490196,
"alnum_prop": 0.7225539733578319,
"repo_name": "colmsjo/myblog.old",
"id": "109c151fa645ff72eb80ba926c978b98fcac34f1",
"size": "2... |
layout: post
title: '2014-01-13のJS: sweet.js 0.4.0、Generatorチュートリアル、同期的に書ける結合テストフレームワークTestium'
category: JSer
date: '2014-01-13T23:41:46+09:00'
tags:
- macro
- generator
- debug
- testing
- node.js
permalink: /post/73206411885/2014-01-13-js-sweet-js
---
<p>JSer.info #157 - JavaScriptをマクロを使って展開出来る<a href="http://sweetj... | {
"content_hash": "887f98d4849831eecd73aaba4be5369e",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 731,
"avg_line_length": 83.18775510204081,
"alnum_prop": 0.7452529316520289,
"repo_name": "tako-black/jser.github.io",
"id": "6e2028e84e3511e358b9d93357fb4481e3b416f2",
"s... |
<?php
namespace Nht\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
class VerifyCsrfToken extends BaseVerifier
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}
| {
"content_hash": "d75f90d93ba28b21e9fe739c40d31a38",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 18.294117647058822,
"alnum_prop": 0.6559485530546624,
"repo_name": "fsd14/nht-starter",
"id": "db9a05617e9aeb3c4019e95f6b83c71e1945b454",
"size": "31... |
<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> <a name="line.16"></a>
<FONT color="green">017</FONT> package org.apache.commons.math3.distribution;<a name="line.17"></a>
<FONT color="green">018</FONT> <a name="line.18"></a>
<FONT color="green">019</FONT> import org.apache.commons.math3.e... | {
"content_hash": "b8f18d389ed80fd14eecf16c08df4edf",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 174,
"avg_line_length": 66.87544483985765,
"alnum_prop": 0.6015325670498084,
"repo_name": "vaisaghvt/gameAnalyzer",
"id": "9b09dc7cfec6278b4b6327af719f75948f4cf597",
"size... |
package org.sculptor.framework.accessapi;
/**
* <p>Access command for finding objects by condition. The specified
* {@link #setRestrictions restrictions} are used to build the restrictions with
* simple equals conditions.</p>
* <p>Command design pattern.</p>
*/
public interface FindByConditionAccess... | {
"content_hash": "7fe923b2526119bfb5c11cf10a1fd26c",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 88,
"avg_line_length": 27.35,
"alnum_prop": 0.7221206581352834,
"repo_name": "sculptor/sculptor",
"id": "86f3d4f1168c45389e7b73199f7dca0d47ae677b",
"size": "1215",
"binar... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6193e758e434b17280e9a04c819ea1ea",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "7c0b0a3df4107406ecd246e9af7bbee0392b7620",
"size": "18... |
package net.xylophones.planetoid.game.model
case class PlayerInput(val left: Boolean = false,
val right: Boolean = false,
val thrust: Boolean = false,
val reverseThrust: Boolean = false,
val fireMissile: Boolean = false,
... | {
"content_hash": "738e4b0f12e11bcab778ca14da07defc",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 58,
"avg_line_length": 45.666666666666664,
"alnum_prop": 0.5060827250608273,
"repo_name": "wjsrobertson/planetoid3d",
"id": "b611630dbc227aad25c25d56c5e3a2fd2b32cc3a",
"size... |
/**
* CalculadoraService.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package calc;
public interface CalculadoraService extends javax.xml.rpc.Service {
public java.lang.String getCalculadoraAddress();
public calc.Calculadora g... | {
"content_hash": "34e9b91309b90184ca49e5214d3c6658",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 107,
"avg_line_length": 30.375,
"alnum_prop": 0.7654320987654321,
"repo_name": "FernandoDeCarvalhoAlmeida/caddados",
"id": "984aa1412377fb7a3e5fc5e84968641c3fbd4835",
"size... |
@interface SpriteKitUniversalMenus_tvOSUITests : XCTestCase
@end
@implementation SpriteKitUniversalMenus_tvOSUITests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop imm... | {
"content_hash": "9e0f12696373f7874eb04cc24e508373",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 178,
"avg_line_length": 35.9,
"alnum_prop": 0.7260909935004642,
"repo_name": "Dzamir/SpriteKitUniversalMenus",
"id": "3b57e3c2201582a072ae5ac8cad4d410bb778932",
"size": "13... |
package org.zenoss.dropwizardspring.testclasses;
import com.codahale.metrics.health.HealthCheck;
@org.zenoss.dropwizardspring.annotations.HealthCheck
public class FakeHealthCheck extends HealthCheck {
@Override
protected Result check() throws Exception {
return null;
}
}
| {
"content_hash": "2e74bcda58d7892d546940137a541c9b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 22.76923076923077,
"alnum_prop": 0.7702702702702703,
"repo_name": "zenoss/zenoss-zapp",
"id": "3f397d2383dea0a735607927be16ef13129e00e0",
"size": "89... |
import logging
if __name__ == '__main__':
logging.basicConfig()
_log = logging.getLogger(__name__)
import pyxb.binding.generate
import pyxb.binding.datatypes as xs
import pyxb.binding.basis
import pyxb.utils.domutils
import os.path
xsd='''<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.or... | {
"content_hash": "d085b759fb0a47b4f7d6d3da86a791ec",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 104,
"avg_line_length": 40.80612244897959,
"alnum_prop": 0.6799199799949988,
"repo_name": "jonfoster/pyxb-upstream-mirror",
"id": "0c06be75895c8c0e80ac308190077614d1cf0f16",
... |
body{
background: url("../img/nosotros.jpg") fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
} | {
"content_hash": "55dc3b9bd4c65f6f8fd2862f7df4057a",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 47,
"avg_line_length": 25,
"alnum_prop": 0.6971428571428572,
"repo_name": "slorenzo/unamas.unamenos",
"id": "74f11f6e8bbb47f19e2b4b4b65cce9c0ca272025",
"size": "175",
"bin... |
/* $Id$ */
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); y... | {
"content_hash": "cf81ff68904b03d9079ae8aba85a1023",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 96,
"avg_line_length": 34.44897959183673,
"alnum_prop": 0.7559241706161137,
"repo_name": "gladyscarrizales/manifoldcf",
"id": "1f3ffb254630826ddf06ce337c1ff1827310e461",
"s... |
package org.apache.flink.table.runtime.operators.sink;
import org.apache.flink.api.common.state.StateTtlConfig;
import org.apache.flink.streaming.runtime.streamrecord.StreamRecord;
import org.apache.flink.streaming.util.KeyedOneInputStreamOperatorTestHarness;
import org.apache.flink.streaming.util.OneInputStreamOper... | {
"content_hash": "d1fec737cfaaf64827fb9c7dfa6c17a7",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 99,
"avg_line_length": 43.26126126126126,
"alnum_prop": 0.7211578508954603,
"repo_name": "tillrohrmann/flink",
"id": "3b246beeb2d87fa5669d229a9aaa687f64c48c95",
"size": "5... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e74ce8d850f5cbc4712de31281a8b869",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "062526f97c82f02666ef583c7d91644096b6bbf4",
"size": "174... |
import genusTypes from '../../../../constants/genus_types';
import shortAnswer from './short_answer';
describe('shortAnswer', () => {
let item;
beforeEach(() => {
item = {
id: '1234',
genusTypeId: 'item-genus-type%3Aqti-order-interaction-object-manipulation%40ODL.MIT.EDU',
bank... | {
"content_hash": "5c11668ac35fd6d6cfc3904b59593f15",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 95,
"avg_line_length": 25.8,
"alnum_prop": 0.5325581395348837,
"repo_name": "atomicjolt/OpenAssessmentsClient",
"id": "106798385dcc2c8d7101129e3b6d6eef41830100",
"size": "1... |
<?php
class Kwc_Shop_Cart_Checkout_Payment_PayPal_Cancel_Component extends Kwc_Abstract
{
public static function getSettings()
{
$ret = parent::getSettings();
$ret['contentSender'] = 'Kwc_Shop_Cart_Checkout_Payment_PayPal_Cancel_ContentSender';
return $ret;
}
}
| {
"content_hash": "cbced712ecf2d292a46991d5c5038fd4",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 93,
"avg_line_length": 29.8,
"alnum_prop": 0.6711409395973155,
"repo_name": "fraxachun/koala-framework",
"id": "159b97143e39eda508f50726f59797c4757b1741",
"size": "298",
... |
export Lemma
const SPACE = ' '
immutable Lemma
word::AbstractString
pos::Char
tagsense_count::Int
synset_offsets::Vector{Int}
id::Int
pointer_syms::Vector{AbstractString}
end
function Lemma(lexicon_line, id)
parts = split(lexicon_line, SPACE)
word = shift!(parts)
pos = shift!... | {
"content_hash": "ea082e03198474f4c47a25d771fa983c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 24.741935483870968,
"alnum_prop": 0.6427640156453716,
"repo_name": "JuliaPackageMirrors/WordNet.jl",
"id": "39d3fcd9474d91a674c4b6e1403029e8e0e2e6b7",
... |
package ru.parsentev.task_005;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import ru.parsentev.task_002.Point;
import ru.parsentev.task_003.Triangle;
import java.math.BigDecimal;
import java.math.RoundingMode;
import static java.lang.Math.abs;
import static java.lang.Math.pow;
import static java.lang.Ma... | {
"content_hash": "73e68dc52d1f84a87e131baf40f8dd3c",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 192,
"avg_line_length": 36.10526315789474,
"alnum_prop": 0.5903790087463557,
"repo_name": "kirillkrohmal/course_test",
"id": "fa0a332801352dd838090aa05a34431075ae24cb",
"si... |
<!-- TODO - not using controllerAs because ionic modal 1.x does not support it -->
<div class="modal">
<div class="invite-friends">
<ion-header-bar>
<h1 class="title">Invite Friends!</h1>
</ion-header-bar>
<ion-content>
<div class="list">
<label class... | {
"content_hash": "731b0604ac1d332268fef588692c256e",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 98,
"avg_line_length": 39.91428571428571,
"alnum_prop": 0.4609878310665712,
"repo_name": "jtbdevelopment/core-games-ionic-ui",
"id": "30fab599f2ef2e093df4f87357c6409d0a22a9eb... |
<?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... | {
"content_hash": "755b24730ca9c09f0b2fac757932a9ce",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 201,
"avg_line_length": 37.03243243243243,
"alnum_prop": 0.5581666909940155,
"repo_name": "mathieufortin01/pdfbox",
"id": "e6c9e1cdc17f0ab233cfa40070b51175276bb14e",
"size... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "aa6637c166b42bab2475e7fe4407acad",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "501e842e32ab5fc786b834670f8efac1b4535750",
"size": "20... |
package com.google.android.exoplayer2.metadata;
import static com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem.END_OF_STREAM_ITEM;
import static com.google.android.exoplayer2.testutil.FakeSampleStream.FakeSampleStreamItem.sample;
import static com.google.common.truth.Truth.assertThat;
impo... | {
"content_hash": "2963cd5c140a25e29795a7a51052b668",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 110,
"avg_line_length": 41.58585858585859,
"alnum_prop": 0.6650473645858634,
"repo_name": "amzn/exoplayer-amazon-port",
"id": "42dcaa572d368b49ce2354b5d540509b98fd3de4",
"... |
'use strict';
var domClasses = require('min-dom/lib/classes');
var CURSOR_CLS_PATTERN = /^djs-cursor-.*$/;
module.exports.set = function(mode) {
var classes = domClasses(document.body);
classes.removeMatching(CURSOR_CLS_PATTERN);
if (mode) {
classes.add('djs-cursor-' + mode);
}
};
module.exports.unse... | {
"content_hash": "8dce2b39d887fb49f89f000fd38e92f3",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 48,
"avg_line_length": 17.85,
"alnum_prop": 0.6610644257703081,
"repo_name": "thr0w/diagram-js",
"id": "fc285738b7c3bc590c007b0c0740c9f763b9649b",
"size": "357",
"binary"... |
<?php
namespace Concrete\Core\File\Search\Field\Field;
use Concrete\Core\File\FileList;
use Concrete\Core\File\FolderItemList;
use Concrete\Core\File\Set\Set;
use Concrete\Core\File\Type\Type;
use Concrete\Core\Search\Field\AbstractField;
use Concrete\Core\Search\Field\FieldInterface;
use Concrete\Core\Search\ItemList... | {
"content_hash": "4f0e86aff82ea54d92b1fbf7b0b489fb",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 87,
"avg_line_length": 26.579710144927535,
"alnum_prop": 0.6101417666303163,
"repo_name": "MrKarlDilkington/concrete5",
"id": "5d0f5e86c0b60129787ee3802ff35a24b19f392e",
"s... |
package com.baculsoft.java.android.views.main;
import com.baculsoft.java.android.internal.data.local.TwitterSearch;
import com.baculsoft.java.android.views.base.IView;
/**
* @author Budi Oktaviyan Suryanto (budioktaviyans@gmail.com)
*/
public interface MainView extends IView {
void onShowProgressDialog();
... | {
"content_hash": "c6f88bf2873a20c3d859803d12fa03f0",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 68,
"avg_line_length": 24.42105263157895,
"alnum_prop": 0.7672413793103449,
"repo_name": "budioktaviyan/java-android",
"id": "7075f371d87e260d80455f6e5de0ca1e0e5fabbf",
"si... |
<html>
<head><title>Logicality</title></head>
<body>
Logicality
</body>
</html> | {
"content_hash": "b268639bf2af7d7f23772e168d8aa166",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 38,
"avg_line_length": 13.166666666666666,
"alnum_prop": 0.6835443037974683,
"repo_name": "adamschlag/adamschlag.github.io",
"id": "962709d3258fca2bf18f139a7495cbea5daaf83a",
... |
package ohehehou.example;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import ohehehou.view.VerticalStepView;
public class MainActivity extends AppCompatActivity {
private VerticalStepView stepView;
private VerticalStepVie... | {
"content_hash": "682a29f15e33391ecfb4e41021c4311a",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 80,
"avg_line_length": 32.483333333333334,
"alnum_prop": 0.6747049769112365,
"repo_name": "oHeHeHou/VerticalStepsView",
"id": "b2e6c65fc62fec4285e0e744e7561f25ccc74cb5",
"s... |
package com.microsoft.bingads.v12.api.test.entities.criterions.campaign.negative_location.write;
import java.util.Arrays;
import java.util.Collection;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameter;
import org.junit.runn... | {
"content_hash": "02122fad2b35ccea88159a9d06a83a77",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 131,
"avg_line_length": 37.416666666666664,
"alnum_prop": 0.6815144766146993,
"repo_name": "bing-ads-sdk/BingAds-Java-SDK",
"id": "fafe711b0a2fcae52d2f09b5a64aded06597da5f",
... |
<?php
require_once (dirname(dirname(__FILE__)).'/getlist.class.php');
/**
* Grabs a list of plugins.
*
* @param integer $start (optional) The record to start at. Defaults to 0.
* @param integer $limit (optional) The number of records to limit to. Defaults
* to 10.
* @param string $sort (optional) The column to so... | {
"content_hash": "9ce53c4cebb5c9fba3278f21ce9e8c5a",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 36.10526315789474,
"alnum_prop": 0.7201166180758017,
"repo_name": "raadhuis/modx-basic",
"id": "e34a46d92d983e694b9f3179fd09402b0556c02a",
"size": "6... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>kildall: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "06b74f9b48f8b5a3f559673ed34bd0ba",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 222,
"avg_line_length": 42.96449704142012,
"alnum_prop": 0.5557085800853877,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "40eb79af704e0d844757deaa81e79de5de9f2c37",
... |
<?php
namespace ClassCentral\SiteBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use ClassCentral\SiteBundle\Entity\TextAd;
use ClassCentral\SiteBundle\Form\TextAdType;
/**
* TextAd controller.
*
*/
class TextAdController extends Controll... | {
"content_hash": "16d82806b50e8295180d861a3495caef",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 90,
"avg_line_length": 26.86231884057971,
"alnum_prop": 0.5643377394119233,
"repo_name": "classcentral/class-central",
"id": "b9e3da9d52fcdb3b2de86406e614387bf2769d32",
"s... |
<?xml version="1.0" encoding="UTF-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<pa... | {
"content_hash": "72699eb181126722ba45fe4216829802",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 145,
"avg_line_length": 52,
"alnum_prop": 0.6935096153846154,
"repo_name": "alphalemon/BusinessSliderBundle",
"id": "b6e94abd9c4e3cbd9231531994bc44aa09a62259",
"size": "832... |
Bitcoin Core version 0.11.1 is now available from:
<https://bitcoin.org/bin/bitcoin-core-0.11.1/>
This is a new minor version release, bringing security fixes. It is recommended
to upgrade to this version as soon as possible.
Please report bugs using the issue tracker at github:
<https://github.com/bitcoin/bitc... | {
"content_hash": "c0a57b04e80bb209c3fe873618442a3f",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 106,
"avg_line_length": 38.77906976744186,
"alnum_prop": 0.7658170914542729,
"repo_name": "mainconceptx/DAS",
"id": "c8a2186d88f345ddfc4f6c3fe7471896244b7a47",
"size": "66... |
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit nam... | {
"content_hash": "f7387d63014866083b62261fb4dcf743",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 122,
"avg_line_length": 56.125,
"alnum_prop": 0.7171492204899778,
"repo_name": "jjYBdx4IL/misc",
"id": "ecba2615751a1c966566f1c1ade46dcf64d0b673",
"size": "449",
"binary":... |
using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("CodeClimber.net")]
[assembly: AssemblyProduct("Google Reader Connector for .NET")]
[assembly: AssemblyCopyright("Copyright © Simone Chiaretta 2010 - New BSD License")]
[assembly: AssemblyInformationalVersion("1.0 Alpha")]
[assembly: As... | {
"content_hash": "4015d5265c162c50977f1ab0bea3de9e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 84,
"avg_line_length": 43.333333333333336,
"alnum_prop": 0.7769230769230769,
"repo_name": "aragorn55/codeclimber",
"id": "9cde44e93f42564ccd6e81acb67e17e971a7c0c7",
"size": ... |
{% extends "admin/change_form.html" %}
{% block extrahead %}
{{ block.super }}
<script type="text/javascript" src="{{ MEDIA_URL_OUT_S3}}js/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript" src="{% url tinymce-js "default" %}"></script>
{% endblock %}
| {
"content_hash": "56b1d8662754390aaf359b6ea243cdff",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 92,
"avg_line_length": 38.285714285714285,
"alnum_prop": 0.6492537313432836,
"repo_name": "codepython/CollectorCity-Market-Place",
"id": "20928983393b6f616082ca50b73a960f8f629... |
package uk.joshiejack.settlements.network.npc;
import io.netty.buffer.ByteBuf;
import uk.joshiejack.settlements.entity.EntityNPC;
import uk.joshiejack.settlements.entity.ai.action.Action;
import uk.joshiejack.settlements.entity.ai.action.ActionChat;
import uk.joshiejack.penguinlib.network.PenguinPacket;
import uk.josh... | {
"content_hash": "b66a63b074c92837b36e90579be68fec",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 77,
"avg_line_length": 31.3953488372093,
"alnum_prop": 0.6962962962962963,
"repo_name": "joshiejack/Harvest-Festival",
"id": "f6958c5fe32dd35859b25197f22d09c854be8c43",
"si... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="1d9f3660-6a09-4813-b0ba-79d51e8d10cb" name="Default" comment="" />
<ignored path="olxnativeads.iws" />
<ignored path=".idea/workspace.xml" />
<option name="EXCLUDED_CONVERTED_TO_I... | {
"content_hash": "0a44982c77528a5689875ae3b8cd1b0d",
"timestamp": "",
"source": "github",
"line_count": 1994,
"max_line_length": 231,
"avg_line_length": 73.59327983951856,
"alnum_prop": 0.6133496882346928,
"repo_name": "jblorenzo/NativeAds",
"id": "5d2a6b75394e709ecaa841f3e3778e9b6f1910c1",
"size":... |
int main( ){
ofSetupOpenGL(450,200,OF_WINDOW); // <-------- setup the GL context
// this kicks off the running of my app
// can be OF_WINDOW or OF_FULLSCREEN
// pass in width and height too:
ofRunApp(new ofApp());
}
| {
"content_hash": "7a9c383b7967940bf3544cffc04a20ad",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 70,
"avg_line_length": 25,
"alnum_prop": 0.6488888888888888,
"repo_name": "ofZach/piano",
"id": "10805f4982de7675743b25d3ad382dc49506a505",
"size": "340",
"binary": false,... |
(function($) {
$.fn.toc = function(options) {
var self = this;
var opts = $.extend({}, jQuery.fn.toc.defaults, options);
var container = $(opts.container);
var headings = $(opts.selectors, container);
var headingOffsets = [];
var activeClassName = opts.prefix+'-active';
var scrollTo = function(e) {
... | {
"content_hash": "5642623446d372586ab733d1119930d8",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 109,
"avg_line_length": 30.676190476190477,
"alnum_prop": 0.5796336541446756,
"repo_name": "woollybogger/api.fireboltjs.com",
"id": "c4d2e04510882c0e18dd772fd1f00b4d6f4e09ee... |
package com.spgrainger.smartmeter.Properties;
public class GameConstants {
public static final int NUM_DISTRICTS = 23;
}
| {
"content_hash": "6c1be9306ac0c8230b4af9f113ee5a27",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 47,
"avg_line_length": 21.166666666666668,
"alnum_prop": 0.7716535433070866,
"repo_name": "spGrainger/smart-meter-game",
"id": "0ca544687af7d8df584456529e7b15c3eade6d86",
"s... |
package com.chxd.policeDog.controller;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.chxd.policeDog.config.MyProps;
import com.chxd.policeDog.dao.*;
import com.chxd.policeDog.vo.*;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.xjj.ut... | {
"content_hash": "b792aefb94562aa27d20456a263940db",
"timestamp": "",
"source": "github",
"line_count": 823,
"max_line_length": 208,
"avg_line_length": 40.23693803159174,
"alnum_prop": 0.5613468216820172,
"repo_name": "kysq/custom-web",
"id": "3fa0695e489863ad7220b889b576708cb4096fd8",
"size": "343... |
Ruby FFI (x86) bindings to essential GUI related Windows APIs

## Install
gem install windows_gui
## Use
See examples folder (the UIRibbon example requires windows_com gem)
| {
"content_hash": "1f44340482af0d90124147f50f75d535",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 67,
"avg_line_length": 19,
"alnum_prop": 0.7607655502392344,
"repo_name": "rpeev/ffi-wingui-core",
"id": "3b2ffd4a621dece52e418fffaec0b80c04cdd167",
"size": "223",
"binar... |
// Copyright 2019 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... | {
"content_hash": "d5946fdda7abd55a1ff59513978d4c8c",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 80,
"avg_line_length": 24.575,
"alnum_prop": 0.712783994574432,
"repo_name": "eProsima/Fast-DDS",
"id": "f4a81914dd09258baee50b2638e8071c5d4ac4de",
"size": "2949",
"bina... |
<?php
namespace GingerPayments\Payment\Order\Customer;
use GingerPayments\Payment\Common\StringBasedValueObject;
final class MerchantCustomerId
{
use StringBasedValueObject;
/**
* @param string $value
*/
private function __construct($value)
{
$this->value = $value;
}
}
| {
"content_hash": "37246932cc4b1a05fed12cf5b48d8a40",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 57,
"avg_line_length": 17.333333333333332,
"alnum_prop": 0.6730769230769231,
"repo_name": "gingerpayments/ginger-opencart",
"id": "474fe1dc040df517efb3c932cf0ea27854c01981",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.