text stringlengths 2 1.04M | meta dict |
|---|---|
package zendesk.belvedere;
import android.annotation.SuppressLint;
import android.content.ContentResolver;
import android.content.Context;
import android.database.Cursor;
import android.os.Build;
import android.os.Bundle;
import android.provider.MediaStore;
import androidx.annotation.Nullable;
import java.util.Local... | {
"content_hash": "65a56f69ddfed0251e44f89788fc4bdb",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 104,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.632280701754386,
"repo_name": "zendesk/belvedere",
"id": "a0ee345dcc20504282d5a642b9869f8c83624b84",
"size": "28... |
"""Tests for `meta_dataset.models.experimental.reparameterizable_base`."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import itertools
from absl.testing import parameterized
from meta_dataset import test_utils
from meta_dataset.models.experimental imp... | {
"content_hash": "115a0245b5ecee584c72ba5d7f42076b",
"timestamp": "",
"source": "github",
"line_count": 487,
"max_line_length": 80,
"avg_line_length": 38.56673511293634,
"alnum_prop": 0.6723458630603769,
"repo_name": "google-research/meta-dataset",
"id": "6457d98f880458d16e0fc6d579261c9e8c522fe4",
... |
package com.kumuluz.ee.jpa.common.jta;
import javax.persistence.EntityManager;
/**
* @author Tilen Faganel
* @since 2.4.0
*/
public class NonTxEntityManagerHolder {
private EntityManager em;
public EntityManager getEntityManager() {
return em;
}
public void setEntityManager(EntityManage... | {
"content_hash": "cacf91f0ca86ab7d9d53973bf26a14f1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 52,
"avg_line_length": 17.047619047619047,
"alnum_prop": 0.6731843575418994,
"repo_name": "kumuluz/kumuluzee",
"id": "9b45586052dacc61705c64482e713dc2414da9e3",
"size": "13... |
package com.didichuxing.doraemonkit.weex.info;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import android.view.View;
import android.widget.ListView;
import com.didichuxing.doraemonkit.kit.core.BaseFragment;
import com.didichuxing.doraemonkit.widget.titlebar.HomeT... | {
"content_hash": "6709ac5d9b243df84a5f84c15e52c883",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 88,
"avg_line_length": 28.717391304347824,
"alnum_prop": 0.6979560938682816,
"repo_name": "didi/DoraemonKit",
"id": "0b32a3b7575c91aa9d362dd85ce83e3a6719898e",
"size": "132... |
package org.mibew.api;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* @author inspirer
*/
public class Utils {
private static final String HEX_DIGITS = "0123456789abcdef";
public static String md5(String string) throws NoS... | {
"content_hash": "f032f28cd1110eff5053aa11132553ef",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 104,
"avg_line_length": 27.551724137931036,
"alnum_prop": 0.7271589486858573,
"repo_name": "Mibew/java",
"id": "ba8595d03700b95adf12afb88b92d5a727b4cdbe",
"size": "799",
... |
package org.jetbrains.plugins.groovy.lang.groovydoc.lexer;
import com.intellij.lexer.LexerBase;
import com.intellij.lexer.MergingLexerAdapter;
import com.intellij.psi.tree.IElementType;
import com.intellij.psi.tree.TokenSet;
import com.intellij.util.text.CharArrayUtil;
import java.io.IOException;
/**
* @author il... | {
"content_hash": "13bf60381cef0f7b89c972b44c7d70c0",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 207,
"avg_line_length": 28.352201257861637,
"alnum_prop": 0.6433007985803016,
"repo_name": "joewalnes/idea-community",
"id": "ec08cf5eb4d28de75d5f54343471ddba3fc5c29e",
"s... |
var
gutil = require('gulp-util'),
path = require('path'),
lintspaces = require('../index'),
options = {
newline: true,
indentation: 'tabs',
trailingspaces: true,
ignores: [
'js-comments'
]
}
;
require('should');
describe('main', function() {
it('the plugin should be valid ;-)', function(done... | {
"content_hash": "9bfa68bb69f0c48ac8ecb25434dac079",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 54,
"avg_line_length": 16.58695652173913,
"alnum_prop": 0.564875491480996,
"repo_name": "kjvalencik/gulp-lintspaces",
"id": "702c5789bb89a9c4713728d2be67d306dad43fab",
"siz... |
package com.mana.innovative.rest.consumer;
import com.mana.innovative.dto.consumer.Customer;
import com.mana.innovative.dto.request.RequestParams;
import com.mana.innovative.service.consumer.CustomerService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
impo... | {
"content_hash": "69887c85ef6943984b0710247c692653",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 121,
"avg_line_length": 33.193548387096776,
"alnum_prop": 0.651846452866861,
"repo_name": "arkoghosh11/bloom-test",
"id": "938b9bff1242b788ce7688b49baf735559aaba0e",
"size... |
uint256 scrypt_salted_multiround_hash(const void* input, size_t inputlen, const void* salt, size_t saltlen, const unsigned int nRounds);
uint256 scrypt_salted_hash(const void* input, size_t inputlen, const void* salt, size_t saltlen);
uint256 scrypt_hash(const void* input, size_t inputlen);
uint256 scrypt_blockhash(con... | {
"content_hash": "f8450bc9dcbd62a913a0ef01b2d897fa",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 136,
"avg_line_length": 60.333333333333336,
"alnum_prop": 0.7707182320441989,
"repo_name": "GregoryBetz/DarkSilk-Release-Candidate",
"id": "d81c45add0fa397a6064fd0d2dd10c87603... |
module("StopQueryService");
function initStopQueryService() {
return new SuperMap.REST.StopQueryService(GlobeParameter.trafficTransferURL, {
eventListeners: {
processCompleted: succeed,
processFailed: failed
}
});
function succeed(event) {
}
function fa... | {
"content_hash": "8cfe1507c4d8082e090a5f0d1665fe39",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 101,
"avg_line_length": 33.20253164556962,
"alnum_prop": 0.5951200914982844,
"repo_name": "SuperMap/iClient-for-JavaScript",
"id": "285caa6678e3f037085527efa121b8eabc698079",... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | {
"content_hash": "959047e23bda5df835e02fcd3d389740",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 75,
"avg_line_length": 34.71153846153846,
"alnum_prop": 0.6720221606648199,
"repo_name": "profesorfalken/jHardware",
"id": "87eeae5baeadb8f5294eb4e6748942287e4b9a13",
"size... |
.. _implementers:
Implementing Filesystems
========================
With a little care, you can implement a PyFilesystem interface for any filesystem, which will allow it to work interchangeably with any of the built-in FS classes and tools.
To create a PyFilesystem interface, derive a class from :class:`~fs.base.FS... | {
"content_hash": "03184c3fe57c18384baed9ea246ed549",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 311,
"avg_line_length": 37.51006711409396,
"alnum_prop": 0.706566469851494,
"repo_name": "PyFilesystem/pyfilesystem2",
"id": "bb055d6904577ec514387d1be5b39430d1ad02a9",
"s... |
<?php
/**
* Created by PhpStorm.
* User: dwendlandt
* Date: 17/06/14
* Time: 19:02
*/
namespace Elastification\Client\Tests\Unit\Request\V1x;
use Elastification\Client\Exception\RequestException;
use Elastification\Client\Request\RequestMethods;
use Elastification\Client\Request\V1x\DeleteDocumentRequest;
class ... | {
"content_hash": "5103f1b7e40d117775065f0ef584cc53",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 105,
"avg_line_length": 25.02013422818792,
"alnum_prop": 0.6048819742489271,
"repo_name": "elastification/php-client",
"id": "7713fcf2fe6f25586cb3e73d680c26912a8ccd1b",
"s... |
include ../Makefile.variables
include Makefile.inc
all: syscalls libc shellCodeModule shellDataModule
shellCodeModule:
cd ShellModule; make
shellDataModule:
printf "This is sample data." >> shellDataModule.bin && dd if=/dev/zero bs=1 count=1 >> shellDataModule.bin
libc:
cd libc; make
clean:
cd ShellModule; mak... | {
"content_hash": "a8b0ff155b95055b81a97626f2c709c8",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 108,
"avg_line_length": 19.458333333333332,
"alnum_prop": 0.7623126338329764,
"repo_name": "sebikul/UnicOS",
"id": "10aeb1f572cf39417c74b9a56f5799c87bf1ea4f",
"size": "467"... |
require File.dirname(__FILE__) + "/../../test_helper.rb"
class Ubiquo::UbiquoUserProfilesControllerTest < ActionController::TestCase
def test_should_get_edit
login(:josep)
get :edit
assert_response :success
assert_equal ubiquo_users(:josep).id, assigns(:ubiquo_user).id
end
def test_should_update... | {
"content_hash": "b2d48ba8972e2507dec350e58c038e61",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 162,
"avg_line_length": 38.411764705882355,
"alnum_prop": 0.6906584992343032,
"repo_name": "gnuine/ubiquo",
"id": "28e710151cadc2e658c98562e3c77b717e8a8d26",
"size": "653",... |
static class Keywords
{
struct kwinfo { const char* kw; Token token; };
static kwinfo keywords[];
int count;
bool bsearch(const char* key, int& idx)
{
idx = 0;
int low = 0;
int high = count - 1;
while (low <= high)
{
idx = (low + high) / 2;
... | {
"content_hash": "c8c259b6f5f1f7f247a98d4696288b48",
"timestamp": "",
"source": "github",
"line_count": 516,
"max_line_length": 81,
"avg_line_length": 23.434108527131784,
"alnum_prop": 0.483460138934833,
"repo_name": "Playermet/shannon",
"id": "0ae6dcf8212826837132bdec06cb6835f0f5a90b",
"size": "12... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Sp. pl. 1:136. 1753
#### Original name
null
### Remarks
null | {
"content_hash": "3df53ba1829f06288e64c00697e92d5b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.461538461538462,
"alnum_prop": 0.6778523489932886,
"repo_name": "mdoering/backbone",
"id": "689462a7f5926d0009034e3ce8230b11370efe31",
"size": "19... |
<?php
namespace Nette\Utils;
use Nette,
RecursiveIteratorIterator;
/**
* Finder allows searching through directory trees using iterator.
*
* <code>
* Finder::findFiles('*.php')
* ->size('> 10kB')
* ->from('.')
* ->exclude('temp');
* </code>
*
* @author David Grudl
*/
class Finder exten... | {
"content_hash": "2e7b9d8c69d223028ef7e1b1ec734739",
"timestamp": "",
"source": "github",
"line_count": 396,
"max_line_length": 115,
"avg_line_length": 21.517676767676768,
"alnum_prop": 0.5734068771270978,
"repo_name": "johnymachine/moje-predsevzeti",
"id": "ca6769bb132ef82f420fc4c18613398db2990cc3",... |
<?php
use Illuminate\Support\Str;
use Faker\Generator as Faker;
/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| you... | {
"content_hash": "d37f56a9571316d0ad96de63dd253480",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 95,
"avg_line_length": 32.72,
"alnum_prop": 0.5488997555012225,
"repo_name": "halfpetal/OpenNotion",
"id": "b898a16d9b12df151c8aa62f2572c7d01ccb29b3",
"size": "818",
"bin... |
class CreateOrganizationInvitations < ActiveRecord::Migration
def change
create_table :organization_invitations do |t|
t.belongs_to :organization, index: true
t.belongs_to :user, index: true
t.timestamps
end
end
end
| {
"content_hash": "2632bed46e6884f6fa06cdd8bb71cd81",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 61,
"avg_line_length": 24.7,
"alnum_prop": 0.708502024291498,
"repo_name": "CucumisSativus/galeopterus",
"id": "8b8bd8b015be7ced1903c8243402f13d1dc20377",
"size": "247",
... |
#include <config/config_class.h>
#include <config/config_exporter.h>
#include <config/config_object.h>
bool
ConfigObject::activate(void) const
{
return (instance_->activate(this));
}
void
ConfigObject::marshall(ConfigExporter *exp) const
{
class_->marshall(exp, instance_);
}
bool
ConfigObject::set(const std::str... | {
"content_hash": "b585aa0c629d7e0ab9167c5c03395101",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 68,
"avg_line_length": 17.52173913043478,
"alnum_prop": 0.7220843672456576,
"repo_name": "diegows/wanproxy",
"id": "4811fc9c206ea301d517142cd8d4f05103547237",
"size": "1750... |
#pragma once
#include <aws/ds/DirectoryService_EXPORTS.h>
#include <aws/ds/DirectoryServiceRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <utility>
namespace Aws
{
namespace DirectoryService
{
namespace Model
{
/**
*/
class AWS_DIRECTORY... | {
"content_hash": "393dac07f6774a48dc8d57d17c66c5ec",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 150,
"avg_line_length": 34.26428571428571,
"alnum_prop": 0.6685428392745466,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "a190a950b6c133760398372dccc0bf2b322af0b7",
"size": ... |
<?php
namespace Railken\Lem\Tests\App\Repositories;
use Railken\Lem\Repository;
use Railken\Lem\Tests\App\Models\User;
class UserRepository extends Repository
{
/**
* return whatever or not the email is unique.
*
* @param string $email
* @param User $user
*
* @return bool
*/
... | {
"content_hash": "44abd2fb1c202d988b89d81d53a5718a",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 101,
"avg_line_length": 22.272727272727273,
"alnum_prop": 0.6081632653061224,
"repo_name": "railken/laravel-manager",
"id": "f4b8ece4409f4dfde813f3cf42615a0733ac8a0c",
"siz... |
Foundation is the most advanced responsive front-end framework in the world. Quickly go from prototype to production, building sites or apps that work on any kind of device with Foundation. Includes layout constructs, like a fully customizable, responsive grid, commonly used JavaScript plugins, and full A11Y support.
... | {
"content_hash": "59a6169236a1df3b83e1bb3a79eb9d3e",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 375,
"avg_line_length": 30.636904761904763,
"alnum_prop": 0.7482028366038469,
"repo_name": "DaSchTour/foundation-sites",
"id": "822f25689979f5efba317da3073413aace61accd",
... |
#if !defined(BOOST_PP_IS_ITERATING)
// Copyright David Abrahams 2001.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
# ifndef POINTER_HOLDER_DWA20011215_HPP
# define POINTER_HOLDER_DWA20011215_HPP
# include... | {
"content_hash": "cd26276f13e0ee4353fd5d2e1fd2ef3b",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 115,
"avg_line_length": 28.629955947136565,
"alnum_prop": 0.6467148792121865,
"repo_name": "UCL-BLIC/legion-buildscripts",
"id": "c5caefe62ce76c5966c3c2bf7a9308219f01ecc6",
... |
"""Support for UV data from openuv.io."""
import asyncio
from pyopenuv import Client
from pyopenuv.errors import OpenUvError
from homeassistant.const import (
ATTR_ATTRIBUTION,
CONF_API_KEY,
CONF_BINARY_SENSORS,
CONF_ELEVATION,
CONF_LATITUDE,
CONF_LONGITUDE,
CONF_SENSORS,
)
from homeassist... | {
"content_hash": "8219555dbbd60c1dee06a0652104cf62",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 88,
"avg_line_length": 30.631067961165048,
"alnum_prop": 0.6419968304278922,
"repo_name": "kennedyshead/home-assistant",
"id": "e1af166a3c2964cb8ed4a7eff5a6c8051cb09117",
... |
/**
* @file
*/
#include "src/statement/Assert.hpp"
#include "src/visitor/all.hpp"
birch::Assert::Assert(Expression* cond, Location* loc) :
Statement(loc),
Conditioned(cond) {
//
}
void birch::Assert::accept(Visitor* visitor) const {
visitor->visit(this);
}
| {
"content_hash": "99d830ee138effc7a9965b1d171f1cf8",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 56,
"avg_line_length": 17.125,
"alnum_prop": 0.656934306569343,
"repo_name": "lawmurray/Birch",
"id": "80c8665ba77714887d9f1450b230c5b84fc3f0da",
"size": "274",
"binary":... |
namespace llvm {
class Module;
class Function;
class BasicBlock;
class ProfileInfoLoader {
const std::string &Filename;
Module &M;
std::vector<std::string> CommandLines;
std::vector<unsigned> FunctionCounts;
std::vector<unsigned> BlockCounts;
std::vector<unsigned> EdgeCounts;
std::vector<unsign... | {
"content_hash": "767d5df4cf8d5222b49bbbe383fd7740",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 79,
"avg_line_length": 27.387096774193548,
"alnum_prop": 0.7102473498233216,
"repo_name": "ssaroha/node-webrtc",
"id": "9e0c393c428fbc873bc2e8991557bb9881abe172",
"size": "... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9-ea) on Sun Oct 30 18:56:31 UTC 2016 -->
<title>EXTABGR (LWJGL 3.1.0 - OpenGL)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2016-10-30">
<link rel="stylesheet" type="text/... | {
"content_hash": "bdc97fdaed35ab448c15233e20101782",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 179,
"avg_line_length": 32.840989399293285,
"alnum_prop": 0.6370776845276522,
"repo_name": "VirtualGamer/SnowEngine",
"id": "bccbe1f3197323f03f9978c8be5f1c0bf579a244",
"si... |
package org.keycloak.testsuite.events;
import org.junit.After;
import org.junit.Assert;
import org.junit.Test;
import org.keycloak.events.admin.OperationType;
import org.keycloak.representations.idm.AdminEventRepresentation;
import org.keycloak.representations.idm.AuthDetailsRepresentation;
import java.text.ParseEx... | {
"content_hash": "5902b74f105a2533046fcb0bc869f383",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 214,
"avg_line_length": 75.235,
"alnum_prop": 0.6745530670565562,
"repo_name": "agolPL/keycloak",
"id": "0db44be9582e231e79619c1988afd1e2d9d7bdbc",
"size": "15721",
"bin... |
using System.Net.Sockets;
using Kyru.Core;
using ProtoBuf;
namespace Kyru.Network.TcpMessages.ServerState
{
internal sealed class GetObjectState : IServerState
{
private readonly NetworkStream stream;
private readonly KyruApplication app;
private readonly GetObjectRequest getObjectRequest;
i... | {
"content_hash": "f93d641f2e853182659e5b0115754928",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 103,
"avg_line_length": 26,
"alnum_prop": 0.7243589743589743,
"repo_name": "zr40/kyru-dotnet",
"id": "073ec880dca94a21cabc1dc021c17f5efd481d0e",
"size": "1092",
"binary":... |
namespace $ {
export function $mol_guard_defined<T>(value: T): value is NonNullable<T> {
return value !== null && value !== undefined
}
}
| {
"content_hash": "64df2bd41ba626fcd812eecb1ac38bea",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 75,
"avg_line_length": 28.4,
"alnum_prop": 0.6549295774647887,
"repo_name": "eigenmethod/mol",
"id": "38a587e990df59b0070c7045d40cea0391107f31",
"size": "142",
"binary": f... |
Some configurations are needed by the SDK and are independent of bot type (i.e.
Hubot, Botkit, Rasa etc).
At the time of this writing only the Hubot adapter is production ready, but more
are in development.
In local development, the following can be set in an `.env` file. In production
they would need to be set on se... | {
"content_hash": "a1ab422d96783e39aa99d84b64569cb8",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 174,
"avg_line_length": 58.45454545454545,
"alnum_prop": 0.7237947122861587,
"repo_name": "RocketChat/Rocket.Chat.Docs",
"id": "e539908182921dc13f67cf729c49dade864a3536",
"... |
#region Copyright
// Copyright (c) 2016 Daniel Alan Hill. All rights reserved.
//
// 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
//
... | {
"content_hash": "8f661dff6de1ac46472be4f9a79d25be",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 76,
"avg_line_length": 31.657894736842106,
"alnum_prop": 0.6957605985037406,
"repo_name": "DanielAHill/Reflection",
"id": "e35c27dc81dc7eba8e40ec8ac58aff2e2db5ff12",
"size"... |
<!-- Navigation -->
<nav class="navbar navbar-default navbar-fixed-top" id="georeport_nav">
<div class="navbar-header page-scroll" id="header_logo">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Togg... | {
"content_hash": "dcdc63a188c6d0253b620baf6a8fc8fb",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 183,
"avg_line_length": 43.275862068965516,
"alnum_prop": 0.46879150066401065,
"repo_name": "state-hiu/SecondaryCities2",
"id": "362afb7584fa92f788bab22fbcba1da67fd557d4",
... |
#region Copyright & License
// Copyright © 2012 - 2013 François Chabot, Yves Dierick
//
// 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/LICEN... | {
"content_hash": "51c1007ab527673003b6c091550c7824",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 121,
"avg_line_length": 34.611111111111114,
"alnum_prop": 0.7495987158908507,
"repo_name": "icraftsoftware/BizTalk.Factory",
"id": "3daf2b255a9e15eac4d40401d1cf43d3d043a369",... |
Home={init:function(){console.log("Objeto Literal Iniciado")}},Home.init(); | {
"content_hash": "902677e8be94a178e6a74bcd20117ffe",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 75,
"avg_line_length": 75,
"alnum_prop": 0.7333333333333333,
"repo_name": "stehleao/dctb-utfpr",
"id": "ac6b602b66416ff4d50e1d6b8011f0397eeb1a82",
"size": "75",
"binary": ... |
"""
Simple utility for splitting user input. This is used by both inputsplitter and
prefilter.
Authors:
* Brian Granger
* Fernando Perez
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the ... | {
"content_hash": "6b2e58fa7c6acf98c33e7b65493d373d",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 88,
"avg_line_length": 34.471014492753625,
"alnum_prop": 0.5642211477822157,
"repo_name": "mattvonrocketstein/smash",
"id": "55e76d9e89b340e918e5cf8f3785b6f92f45c033",
"si... |
import argparse
from paac import train
parser = argparse.ArgumentParser(description='parameters_setting')
parser.add_argument('--lr', type=float, default=0.00025, metavar='LR',
help='learning rate (default: 0.0001)')
parser.add_argument('--gamma', type=float, default=0.99, metavar='G',
... | {
"content_hash": "2cde8199f2678803b0d4e6f5a3c2159d",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 87,
"avg_line_length": 53.642857142857146,
"alnum_prop": 0.6344873501997337,
"repo_name": "pianomania/paac-pytorch",
"id": "295f719c18344f2540ca51349d390e0e35366782",
"size... |
/*jshint node:true*/
'use strict';
var express = require('express');
var app = express();
var bodyParser = require('body-parser');
var favicon = require('serve-favicon');
var logger = require('morgan');
var port = process.env.PORT || 8001;
var four0four = require('./utils/404')();
var environment = process.env.NODE_E... | {
"content_hash": "3aa24ba7fb0edc34f12208652390ecff",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 79,
"avg_line_length": 30.140350877192983,
"alnum_prop": 0.6216530849825378,
"repo_name": "fplgusmao/semanticCitiesAnalytics",
"id": "8eedd8d99fe11cf5c5a73485b2d5ca8bfe57536e... |
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ProjectPageTest extends TestCase
{
public function testProjectIndex()
{
try
{
$this->visit('/login')
... | {
"content_hash": "9ae6c85b074b65e15b800856c1994ff8",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 88,
"avg_line_length": 36.535055350553506,
"alnum_prop": 0.4551055448944551,
"repo_name": "walteryu/dwa15-p4",
"id": "25a561afc28319ea653c9b72a7ef7841255fddf8",
"size": "9... |
package com.haulmont.cuba.core.sys.connectionpoolinfo;
import javax.management.*;
import java.util.regex.Pattern;
public interface ConnectionPoolInfo {
/**
* @return connection pool name
*/
String getPoolName();
/**
* @return registered bean name for connection pool
*/
ObjectNam... | {
"content_hash": "d0c4a7bcf96f5ddc8a937d00c8f6c245",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 78,
"avg_line_length": 21.763157894736842,
"alnum_prop": 0.6638452237001209,
"repo_name": "cuba-platform/cuba",
"id": "29ae46abeebe3c2b6e1f6bbb9fede98488763ddc",
"size": "1... |
@echo off
taskkill/F /IM openfin.exe
taskkill /IM node.exe /F
del /q "%localappdata%\OpenFin\cache\*"
FOR /D %%p IN ("%localappdata%\OpenFin\cache\*.*") DO rmdir "%%p" /s /q
del /q "%localappdata%\OpenFin\apps\*"
FOR /D %%p IN ("%localappdata%\OpenFin\apps\*.*") DO rmdir "%%p" /s /q
del /q "%localappdata%\OpenFin\r... | {
"content_hash": "eb54f74bd1c5dae63140a78b6d6a8710",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 73,
"avg_line_length": 30.3,
"alnum_prop": 0.641914191419142,
"repo_name": "owennw/OpenFinD3FC",
"id": "f98484b9293bfb6fd361271fbfff45796033c68f",
"size": "606",
"binary"... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "496d5a34499d3d3de2f244d29040e89b",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 404,
"avg_line_length": 56.13157894736842,
"alnum_prop": 0.763244256915143,
"repo_name": "alfantp/azure-powershell",
"id": "a7f236f5fb6e36be782c61ae70a16a594112fcd2",
"size... |
<?php
/* WebProfilerBundle:Profiler:table.html.twig */
class __TwigTemplate_5399e58eed2fce5aee4cccde610840c83b423806050c8e4f2805f4de18548c6d extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = a... | {
"content_hash": "b575d4fad149202c6529f6fdee73a6bb",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 257,
"avg_line_length": 33.62162162162162,
"alnum_prop": 0.5160771704180064,
"repo_name": "quepasso/advert",
"id": "f3424c80e5b8f87b0dee24c8f980ffbe002ebb3d",
"size": "2488... |
package org.apache.camel.component.avro;
import org.apache.avro.Protocol;
import org.apache.avro.Schema;
import org.apache.camel.AsyncEndpoint;
import org.apache.camel.Component;
import org.apache.camel.Consumer;
import org.apache.camel.Exchange;
import org.apache.camel.ExchangePattern;
import org.apache.camel.Proces... | {
"content_hash": "b38dc8d655383d2c47ed71ff41445ab7",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 191,
"avg_line_length": 34.397260273972606,
"alnum_prop": 0.7100756670649144,
"repo_name": "onders86/camel",
"id": "9dfd2a8523eb1ab14e9086fa39717f5c90141a42",
"size": "3314... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Fri Mar 28 15:35:32 CET 2014 -->
<title>Uses of Class jade.domain.FIPAAgentManagement.NotRegistered (JADE v4.3.2 API)</titl... | {
"content_hash": "6d3ca366a3e95e1646afa3d73dfcfd29",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 214,
"avg_line_length": 39.1551724137931,
"alnum_prop": 0.6184500220167327,
"repo_name": "tomkren/pikater",
"id": "c306aa781a3c9a1d92962046436ce9d226c72ecf",
"size": "4542... |
"""The frontend for the Mojo bindings system."""
import os
import sys
from optparse import OptionParser
from parser import mojo_parser
from parser import mojo_translate
from generators import mojom_data
from generators import mojom_cpp_generator
def Main():
parser = OptionParser(usage="usage: %prog [options] file... | {
"content_hash": "a270df33bd8e5b6aac09e756de6284df",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 80,
"avg_line_length": 32.23684210526316,
"alnum_prop": 0.676734693877551,
"repo_name": "cvsuser-chromium/chromium",
"id": "567adf7113c414e78c71ad893e54d5e3df427124",
"size... |
using System;
using System.Collections.Generic;
using System.Text;
namespace HockeyApp.Common.Enums
{
public enum TournamentAnnounsementSorting
{
Name,
CreateDate
}
}
| {
"content_hash": "af80b793ecec9e0e9f51d859f12803cc",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 45,
"avg_line_length": 16.416666666666668,
"alnum_prop": 0.6954314720812182,
"repo_name": "ekonor/hokeyapp",
"id": "9705a4f35b9bd17eecb3bd52f052a6de5f515ba1",
"size": "199"... |
from __future__ import absolute_import
import itertools
import json
import os
import shutil
import tempfile
import time
import unittest
import caffe_pb2
import math
# Find the best implementation available
try:
from cStringIO import StringIO
except ImportError:
from StringIO import StringIO
from bs4 import ... | {
"content_hash": "036cf523dcdacfce8c217bee1f41c723",
"timestamp": "",
"source": "github",
"line_count": 1415,
"max_line_length": 117,
"avg_line_length": 33.386572438162545,
"alnum_prop": 0.5912112103636594,
"repo_name": "ethantang95/DIGITS",
"id": "fc037f8527d3808769d4951b8395f3e5bb7d6756",
"size":... |
package io.druid.server.http.security;
import com.google.inject.Inject;
import com.sun.jersey.spi.container.ContainerRequest;
import io.druid.server.security.Access;
import io.druid.server.security.AuthorizerMapper;
import io.druid.server.security.AuthorizationUtils;
import io.druid.server.security.ForbiddenExceptio... | {
"content_hash": "c76d764f413dc22522c00289e0097055",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 118,
"avg_line_length": 31.746666666666666,
"alnum_prop": 0.7165056698866022,
"repo_name": "winval/druid",
"id": "f3f8a16343a7f8460a47b8265d74ac3d4af55146",
"size": "3186",... |
"""
oauthlib.oauth1.rfc5849
~~~~~~~~~~~~~~
This module is an implementation of various logic needed
for signing and checking OAuth 1.0 RFC 5849 requests.
"""
from __future__ import absolute_import, unicode_literals
import base64
import hashlib
import logging
log = logging.getLogger(__name__)
import sys
try:
impor... | {
"content_hash": "c94dd556c7eb6bca4014d643fd413215",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 133,
"avg_line_length": 46.547400611620795,
"alnum_prop": 0.6322186452926878,
"repo_name": "kylebebak/Requester",
"id": "6d8960eb2f91d93762d3b5a9dda59bf343e49f4b",
"size":... |
WITH daysCte (d) AS
(SELECT CONVERT(DATETIME, '1 January 2011') AS d -- starting date
UNION ALL
SELECT DATEADD(D, 1, d) FROM daysCte
WHERE DATEPART(yyyy, d) <= 2012 -- stop year
)
SELECT d
, DATEPART(wk, d) AS week_number
, DATENAME(dw, d) AS day_name
, DATENAME(m, d) AS... | {
"content_hash": "95dce4c6180cc788abc7bf03ec08ae9e",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 31.5,
"alnum_prop": 0.6031746031746031,
"repo_name": "antlr/codebuff",
"id": "ca5f38a5cf1112e89cbaf80d93446445c5d03afe",
"size": "378",
"binary": f... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- TODO: define the server-side client ID. See readme.md for details -->
<string name="server_side_client_id"></string>
<string name="app_name">Using Google</string>
<string name="action_settings">Settings</string>
<string name="login_bt... | {
"content_hash": "1939e54cb39a5a03ad8a513704e3bc01",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 78,
"avg_line_length": 36.142857142857146,
"alnum_prop": 0.6620553359683794,
"repo_name": "pmhsfelix/ndc-oslo-14-mobile-auth",
"id": "b4388c89f8b87422fb7bc3c21487db86b483ecaa... |
angular.module('ngNuxeoClient')
.service('nuxeo', ['$injector', 'Automation', 'Document', 'Folder', 'Section', 'Workspace', 'NuxeoDirectory', 'NuxeoTag',
function ($injector, Automation, Document, Folder, Section, Workspace, NuxeoDirectory, NuxeoTag) {
/**
* All basic nuxeo services are registered ... | {
"content_hash": "18b6516b9667d527471b9d0bc0ebf760",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 123,
"avg_line_length": 33.056603773584904,
"alnum_prop": 0.5684931506849316,
"repo_name": "fmaturel/angular-nuxeo",
"id": "da941cc33131e4c170daddc2035ec4871e8c86ed",
"size... |
<?php
namespace Thorazine\Hack\Models\Builders;
use Illuminate\Database\Eloquent\Model;
class Textarea extends BaseBuilder
{
/**
* The databae table
*/
protected $table = 'builder_textareas';
/**
* Set the type
*/
public $type = 'textarea';
/**
* Constructor
*/
... | {
"content_hash": "425696dfee2c114b4c675c8da4931230",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 48,
"avg_line_length": 15.586206896551724,
"alnum_prop": 0.577433628318584,
"repo_name": "Thorazine/hack",
"id": "9a40a6671c148bdcf30957feb04641298759620c",
"size": "452",
... |
package com.amazon.pay.response.ipn.model;
import com.amazon.pay.response.model.IdList;
import com.amazon.pay.response.model.Price;
import com.amazon.pay.response.model.Status;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement... | {
"content_hash": "649f5668864eef58c734b10d7299c7df",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 112,
"avg_line_length": 31.586466165413533,
"alnum_prop": 0.6924541775767674,
"repo_name": "amzn/login-and-pay-with-amazon-sdk-java",
"id": "095eac27fbe5e1159256c6cb6a8d4f94... |
/**
* @note HEADER-ONLY IMPLEMENTATION FILE
* @warn Do not include directly
*/
// C++ Standard library
#include <ctime>
#include <cstring>
// FFNN
#include <ffnn/assert.h>
#include <ffnn/logging.h>
#include <ffnn/optimizer/none.h>
#include <ffnn/internal/signature.h>
namespace ffnn
{
namespace layer
{
template<ty... | {
"content_hash": "ef9f775b3b7092d42e55adc71aa3de96",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 96,
"avg_line_length": 30.375,
"alnum_prop": 0.6765432098765433,
"repo_name": "briancairl/ffnn-cpp",
"id": "6996ed26fa8a433f42242a6b6ee79e611b548879",
"size": "3645",
"b... |
a new repo for training
| {
"content_hash": "abae42f544c66648769195f19edef5b5",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 23,
"avg_line_length": 24,
"alnum_prop": 0.7916666666666666,
"repo_name": "igoretk/java_ht_new",
"id": "76118d63ff8d335998186742fb27ec5f16179caf",
"size": "38",
"binary": ... |
package org.omg.IOP;
/**
* org/omg/IOP/TAG_ALTERNATE_IIOP_ADDRESS.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from c:/workspace/8-2-build-windows-amd64-cygwin/jdk8u65/4987/corba/src/share/classes/org/omg/PortableInterceptor/IOP.idl
* Tuesday, October 6, 2015 4:40:34 PM PDT
*/
public in... | {
"content_hash": "e69f55cad32fe8ecb58895c623a9a5fb",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 123,
"avg_line_length": 36,
"alnum_prop": 0.6436314363143631,
"repo_name": "Java8-CNAPI-Team/Java8CN",
"id": "13cf8f02a8853efbc8de1dd05db7635bd96f0a35",
"size": "1476",
"... |
Recipes
================
These recipes include some command-line utilities written with many comments
and designed to be easy to follow. You can use them as a template for your own
code.
For now, look at the source code and its comments on `github <https://github.com/richardkiss/pycoin/tree/master/recipes/multisig>`_... | {
"content_hash": "9a0759d872b9cbed6533aa3a066c9851",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 132,
"avg_line_length": 40.25,
"alnum_prop": 0.7484472049689441,
"repo_name": "richardkiss/pycoin",
"id": "bb8cf56c81a510ca478c3b8fa97d1b77ed8f7b78",
"size": "322",
"binar... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/bottom_sheet_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="c... | {
"content_hash": "69c36d100d0c5be7d9d276860a56dd52",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 86,
"avg_line_length": 35.84423676012461,
"alnum_prop": 0.5798713714583695,
"repo_name": "intel-isl/MiDaS",
"id": "77a348af90e2ed995ff106cd209cbf304c6b9153",
"size": "1150... |
package org.apache.harmony.vts.test.vm.jvmti;
/**
* @author Valentin Al. Sitnick
* @version $Revision: 1.1 $
*
*/
public class GetClassLoader0101 {
static public void main(String args[]) {
CustomClassLoader_GetClassLoader0101 ccl = new CustomClassLoader_GetClassLoader0101();
try {
... | {
"content_hash": "60cfb968237cd0a33a9c38bda83d889a",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 94,
"avg_line_length": 24.40625,
"alnum_prop": 0.6209987195902689,
"repo_name": "freeVM/freeVM",
"id": "e96d1f840f2514f823d0e9fd269b229ad37c1fb0",
"size": "1434",
"binary... |
namespace asio {
namespace detail {
class std_thread
: private noncopyable
{
public:
// Constructor.
template <typename Function>
std_thread(Function f, unsigned int = 0)
: thread_(f)
{
}
// Destructor.
~std_thread()
{
join();
}
// Wait for the thread to exit.
void join()
{
if (... | {
"content_hash": "330a70d6602ff40bfe08d4e07755ee54",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 42,
"avg_line_length": 14.435897435897436,
"alnum_prop": 0.6252220248667851,
"repo_name": "laeotropic/HTTP-Proxy",
"id": "dc11d7e1b483927dac159002bb693c189669de3c",
"size":... |
require 'thor'
require 'thor/group'
module HalfMoon
class ProjectGenerator < Thor::Group
include Thor::Actions
argument :name
# 実行されたディレクトリに作成する
def self.source_root
File.expand_path(File.dirname(__FILE__))
end
def create_assets
@current = File.expand_path(File.dirname('.'))
... | {
"content_hash": "d5b1f03b0f6d55a0000536a2287f7ed9",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 104,
"avg_line_length": 25.927007299270073,
"alnum_prop": 0.588963963963964,
"repo_name": "sobreera/halfmoon",
"id": "f96326d4833908d079fb85e4469b2ac1be9c05b8",
"size": "3... |
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.avapira.bobroreader.ThreadFragment">
<!-- TODO: Upda... | {
"content_hash": "4b138eacd2db8e0c1d2ef7b1cea5580c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 71,
"avg_line_length": 41.07692307692308,
"alnum_prop": 0.6385767790262172,
"repo_name": "AvaPirA/Bobroreader",
"id": "08c366598f076b1be430a84b50d8525072c5a788",
"size": "5... |
""" P1 tests for VPN users
"""
# Import Local Modules
from nose.plugins.attrib import attr
from marvin.cloudstackException import cloudstackAPIException
from marvin.cloudstackTestCase import cloudstackTestCase
from marvin.integration.lib.base import (
Account,
... | {
"content_hash": "8e5598b22dbbed059c7ae1234f479954",
"timestamp": "",
"source": "github",
"line_count": 435,
"max_line_length": 88,
"avg_line_length": 42.813793103448276,
"alnum_prop": 0.47540807560137455,
"repo_name": "mufaddalq/cloudstack-datera-driver",
"id": "9ee907bd94c7e86e092fc811cc59352e03050... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-field: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.... | {
"content_hash": "0b767f6d350eb127d8e1b93e4d77caec",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 554,
"avg_line_length": 49.44512195121951,
"alnum_prop": 0.5654211370082625,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "808d5a51ff83ca3f50b6f069ef11772fd94d506d",
... |
import { strictEqual } from 'assert';
import { Block, doc, initApp, removeApp, NodeMixin as Node } from '../../src';
let app;
let block;
const container = doc.create('div');
const remove = () => {
removeApp(container);
app = null;
block = null;
};
class NodeHelper extends Block {
static html = html`
<div... | {
"content_hash": "7eee98dfbce3c0bd329f52329a35d584",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 92,
"avg_line_length": 21.682539682539684,
"alnum_prop": 0.58199121522694,
"repo_name": "dwaynejs/dwayne",
"id": "8cbfcc4360aaeac191f7af3ee9594172faa4f792",
"size": "1366",... |
[](http://lib.haxe.org/p/pixijs) [](http://badge.fury.io/js/hxpixijs) [](https://travis-ci.org/pixijs/pixi-haxe)
======... | {
"content_hash": "ac07ce45e2c3e9e2a99d687a6fe80ff5",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 313,
"avg_line_length": 34.40909090909091,
"alnum_prop": 0.7350066050198151,
"repo_name": "Tiago-Ling/pixi-haxe",
"id": "2f31daa105704194f32f619ce64c3cab53165fb3",
"size":... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... | {
"content_hash": "fdabcedb52d690a16e067c9b50ed194f",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 81,
"avg_line_length": 40.78082191780822,
"alnum_prop": 0.7282499160228418,
"repo_name": "leighpauls/k2cro4",
"id": "84a25b891f4a742663ef57d77344cdbb357f4024",
"size": "297... |
layout: bare
title: Seagate Longmont Class
description: Seagate Longmont Class
tags: [notes, class]
path: classnotes/2012-12-07-seagate-class.md
eventdate: 2012-12-03
---
Held on December 3, 2012
Taught by:
* Tim Berglund ([Twitter](http://twitter.com/tlberglund), [GitHub](https://github.com/tlberglund))
* Jordan Mc... | {
"content_hash": "6f27f6c78f50953c21d548bdbd9cb6fc",
"timestamp": "",
"source": "github",
"line_count": 598,
"max_line_length": 150,
"avg_line_length": 24.078595317725753,
"alnum_prop": 0.648933953746788,
"repo_name": "youpeiban/youpeiban.github.io",
"id": "a8628c06cf557ce1f389d71d425b86c2b325e79c",
... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLET_H
#define BITCOIN_WALLET_H
#include "core.h"
#include "cryp... | {
"content_hash": "46ccc706a53b4244352665ca9bebd1ab",
"timestamp": "",
"source": "github",
"line_count": 1031,
"max_line_length": 203,
"avg_line_length": 32.09602327837052,
"alnum_prop": 0.6381493457435556,
"repo_name": "mirrax/Feathercoin2",
"id": "db9ae3cf76250fb61699a483c505b08bd1fa76e4",
"size":... |
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Goals for Version 2.0</title>
<style type="text/css">
BODY {
Font-family: Verdana;
}
P {
Font-size: 12px;
}
</style>
</head>
<body>
<... | {
"content_hash": "ca3d2e16a7d9f4791267e58d370e30af",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 156,
"avg_line_length": 25.166666666666668,
"alnum_prop": 0.5584988962472406,
"repo_name": "todor-dk/HTML-Renderer",
"id": "d6734496ae0e5cfb678b459368b789eb2c2612f3",
"size... |
\documentclass[10pt,xcolor=pdflatex]{beamer}
\usepackage{newcent}
\usepackage[utf8]{inputenc}
\usepackage[czech]{babel}
\usepackage{hyperref} % \href for image (\includegraphics)
\usepackage{fancyvrb}
\usetheme{FIT}
\usepackage{soul} % for crossing text (\st{})
\definecolor{sourcesclr}{rgb}{.38,.38,.38}
\newcommand{... | {
"content_hash": "4ef177547eb1764f3e62284c030c8ffa",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 269,
"avg_line_length": 29.03095238095238,
"alnum_prop": 0.5663085376855573,
"repo_name": "JarekParal/bcthesis",
"id": "1daf27bd6dc66f55efd557a3b346b8440cf999b7",
"size": ... |
ActiveRecord::Schema.define(version: 20161216081042) do
create_table "pictures", force: :cascade do |t|
t.string "image"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
create_table "posts", force: :cascade do |t|
t.string "title"
t.text "summary"
t.... | {
"content_hash": "a2445c6d94693dc87edf17319a350a6f",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 58,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.628696604600219,
"repo_name": "TombaX/BlogRails5",
"id": "e498deb0b3d7d8b1dc7dd27b51c1d01a2213e60a",
"size": "163... |
layout: post
title: Radionica? Veblog?
date: '2003-02-10 09:02:14 +0100'
mt_id: 3
post_id: 3
author: jablan
---
**Radionica** je samo lako pamtljivo ime za sajt sa prilično širokom tematikom. Većina zapisa je na ovaj ili onaj način vezana za softver, razvoj programa i veb sajtova i proizašla je iz svakodnevne prakse r... | {
"content_hash": "c9b81954cd243a89fcb6b009c8b3b71c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 380,
"avg_line_length": 72,
"alnum_prop": 0.7796296296296297,
"repo_name": "jablan/stari-blog",
"id": "cde32b480ab5427ecd5418bc04047105d3fa9777",
"size": "1113",
"binary"... |
package template.server
object Index {
def apply(cacheBreaker: String, environment: Environment) = {
val mainScript = environment match {
case Environment.Dev => "client-fastopt.js"
case Environment.Prod => "client-opt.js"
}
s"""<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
... | {
"content_hash": "e8e182ac655b81db04ac567de90a5dca",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 84,
"avg_line_length": 21.897435897435898,
"alnum_prop": 0.5749414519906323,
"repo_name": "markschaake/akka-http-scalajs",
"id": "a7b197b052a708e00e7adfcf392ab3233b183241",
... |
import argparse
import io
import json
import logging
import pandas as pd
import sys
from pprint import pprint
from . import engage, events, export, funnel, retention
def events_get(args):
print(events.events(args.event, args.type, args.unit, args.interval,
"csv" if args.csv else "json"))
... | {
"content_hash": "20f7b74c42a25317e2aeeb7330e062ec",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 118,
"avg_line_length": 49.23828125,
"alnum_prop": 0.5247124157080524,
"repo_name": "atomic-labs/mixpanel-cli",
"id": "df19dcef3947312f3542f575d7f4e36aa1c70fcf",
"size": "... |
package com.laranevans.springrestreact.config;
import com.laranevans.springrestreact.model.domain.Possession;
import com.laranevans.springrestreact.model.domain.Person;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.rest.core.config.RepositoryRestConfiguration;
import org.... | {
"content_hash": "80417e8aa03b89f1f8873b5e139a9cdf",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 118,
"avg_line_length": 47.48979591836735,
"alnum_prop": 0.7262569832402235,
"repo_name": "laran/spring-data-rest-mvc-react",
"id": "ed09a5b81de1e377b39ad0e688fac9139d4fe01d"... |
const SET_PLAYER_READY = 'SET_PLAYER_READY';
const TOGGLE_PLAYER_READY = 'TOGGLE_PLAYER_READY';
export function setReady({ readyState, target }) {
return {
readyState,
target,
source: target,
type: SET_PLAYER_READY,
};
}
export function toggleReady({ target }) {
return {
target,
source: ... | {
"content_hash": "1fd3a2d7164948cefcbad2ace42834e6",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 54,
"avg_line_length": 19.823529411764707,
"alnum_prop": 0.6454005934718101,
"repo_name": "inooid/react-redux-card-game",
"id": "b620a0891d7947362e83a2cf5b36901d0f78b122",
... |
<?php
class SeleniumTestHTMLLogger {
public function setHeaders() {
global $wgOut;
$wgOut->addHeadItem( 'selenium', '<style type="text/css">
.selenium pre {
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
white-space: ... | {
"content_hash": "a4549789438e9a9e9f3f03e5360df32e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 100,
"avg_line_length": 27.805555555555557,
"alnum_prop": 0.5994005994005994,
"repo_name": "AKFourSeven/antoinekougblenou",
"id": "21332cf000c39a5d6298a6fa6c5198031f1064c1",
... |
package de.swoeste.infinitum.common.utils.properties;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Enumeration;
import java.util.List;
import java.util.Properties;
/**
* @author swoeste
*/
public class SortedProperties extends ExtendedProperties {
private static final long serial... | {
"content_hash": "7978b7cd06a81e3ced41f35288ee604f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 71,
"avg_line_length": 21.346938775510203,
"alnum_prop": 0.6405353728489483,
"repo_name": "swoeste/infinitum-svn-search",
"id": "030dbc55fcbe5a8ace0d5fc38babc5066c49e0d2",
... |
/*
* 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
* d... | {
"content_hash": "ae1d3bb1f40d407c4306bbb250e82ce1",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 108,
"avg_line_length": 35.183673469387756,
"alnum_prop": 0.6261020881670534,
"repo_name": "sailesh341/JavApi",
"id": "c63173056c9187f71fec5f6ca787a960edd24ba3",
"size": "... |
ACCEPTED
#### According to
GRIN Taxonomy for Plants
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "70d58f1840ab5fc0a67520446e7d1dc9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 24,
"avg_line_length": 9.153846153846153,
"alnum_prop": 0.6890756302521008,
"repo_name": "mdoering/backbone",
"id": "3f612b27da460a70ab6210bceeb739f9a1715fe0",
"size": "197... |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "91b4af806fa0911b53e59e546e51528f",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 81,
"avg_line_length": 32.40909090909091,
"alnum_prop": 0.7367928938756428,
"repo_name": "1and1/camunda-bpm-platform",
"id": "507ef421dea8c588969f9a696d9ec995649e0135",
"si... |
<template name="inviteFriends">
<div class="add-friends well">
<button type="button" class="close" aria-hidden="true">×</button>
{{> inviteFriendsInput}}
</div>
</template> | {
"content_hash": "0a4c4f35c11d43836b3cc9393bcfa18c",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 75,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.6684210526315789,
"repo_name": "pushpickup/pushpickup",
"id": "6750bcf4194616e12f1da9a5a2663f4588936006",
"size": ... |
using System.Data.SqlClient;
using System.Linq;
using EIDSS.Reports.BaseControls.BaseDataSetTableAdapters;
namespace EIDSS.Reports.Document.ActiveSurveillance {
public partial class SessionFarmReportDataSet {
}
}
namespace EIDSS.Reports.Document.ActiveSurveillance.SessionFarmReportDataSe... | {
"content_hash": "bf2454fdfa1715308e1277c57dcd76e6",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 92,
"avg_line_length": 26.51219512195122,
"alnum_prop": 0.5712971481140754,
"repo_name": "EIDSS/EIDSS-Legacy",
"id": "3845069b2451fc1ba070ea6ffc90c357427ab7e5",
"size": "10... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d9e529f8b39d75bdf7acaa7dd0e17fed",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "af6410c64389edc3324a4b8b8b82b8864d1289cb",
"size": "176... |
export default {
currentCall: 'Current Call',
viewCalls: 'View Calls',
incomingCall: '{numberOf} Incoming Call',
incomingCalls: '{numberOf} Incoming Calls',
callOnHold: '{numberOf} Call On Hold',
callsOnHold: '{numberOf} Calls On Hold',
};
| {
"content_hash": "212d6552ac7d404b935211636e581d78",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 45,
"avg_line_length": 31.5,
"alnum_prop": 0.7023809523809523,
"repo_name": "ringcentral/ringcentral-js-widget",
"id": "9c728611fc474011d34d20b1631d925bae4b69f2",
"size": "2... |
require 'mongo'
require 'lite_spec_helper'
describe Mongo::Crypt::ExplicitDecryptionContext do
require_libmongocrypt
include_context 'define shared FLE helpers'
let(:credentials) { Mongo::Crypt::KMS::Credentials.new(kms_providers) }
let(:mongocrypt) { Mongo::Crypt::Handle.new(credentials, logger: logger) }
... | {
"content_hash": "874bada941acbd1d31b613281216a575",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 288,
"avg_line_length": 33.067961165048544,
"alnum_prop": 0.6635349383440986,
"repo_name": "mongodb/mongo-ruby-driver",
"id": "337d55f5c18d1f3952fc5047cef74c6aee168577",
"... |
<?php
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// 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://w... | {
"content_hash": "300cc04d09ce2caa8aaf8bc08afcef94",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 183,
"avg_line_length": 43.734693877551024,
"alnum_prop": 0.6511899206719552,
"repo_name": "LindaLawton/Google-APIs-PHP-Samples",
"id": "1d10f9e6b2c31fbb573489062f24767b2b85c... |
@interface TWPhotoLoader ()
@property (strong, nonatomic) NSMutableArray *allPhotos;
@property (strong, nonatomic) ALAssetsLibrary *assetsLibrary;
@property (readwrite, copy, nonatomic) void(^loadBlock)(NSArray *photos, NSError *error);
@end
@implementation TWPhotoLoader
+ (TWPhotoLoader *)sharedLoader {
static... | {
"content_hash": "4928eae0a73e4d1dacfb97da4005b01f",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 124,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.654066985645933,
"repo_name": "ambujshukla/InstagramPhotoPicker",
"id": "46a456befc930027f6d1ccbf16022ab261e9d8fc"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>mango.unittest.TestCase.assertNotIn — mango 0... | {
"content_hash": "dbe837a1399a942c43656ccd16a3f174",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 268,
"avg_line_length": 48.0625,
"alnum_prop": 0.6087451235370611,
"repo_name": "pymango/pymango",
"id": "250e916921208473c2345d9ca6e48f82328374e3",
"size": "6154",
"bin... |
// flow-typed signature: a0664698f9fe39edd3896da6e9b3bd6d
// flow-typed version: <<STUB>>/graphql-anywhere_v^3.0.0/flow_v0.51.0
/**
* This is an autogenerated libdef stub for:
*
* 'graphql-anywhere'
*
* Fill this stub out by replacing all the `any` types.
*
* Once filled out, we encourage you to share your wo... | {
"content_hash": "7368b890b6bcf1ca6ebcbe984068906d",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 77,
"avg_line_length": 29.865671641791046,
"alnum_prop": 0.7436281859070465,
"repo_name": "hsavit1/gosofi_webpage",
"id": "cdeda3ea7c2dab0a22dd5fc5a81ccb5dcca6f2b9",
"size"... |
extern crate crayon;
extern crate env_logger;
use crayon::impl_vertex;
use crayon::prelude::*;
impl_vertex! {
Vertex {
position => [Position; Float; 2; false],
}
}
struct Window {
surface: SurfaceHandle,
shader: ShaderHandle,
mesh: MeshHandle,
texture: TextureHandle,
vcmds: Comman... | {
"content_hash": "664b504898c65851512d7faf4f2eae5a",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 83,
"avg_line_length": 28.704761904761906,
"alnum_prop": 0.5600530856005309,
"repo_name": "shawnscode/crayon",
"id": "199239667a4424047ba785d9c1e593826242912d",
"size": "3... |
package org.hibersap;
public class ConfigurationException
extends HibersapException {
private static final long serialVersionUID = 1L;
public ConfigurationException( final String msg ) {
super( msg );
}
public ConfigurationException( final String msg, final Throwable t ) {
... | {
"content_hash": "76eae43b39dab5d819b710b52eadd08c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 20.294117647058822,
"alnum_prop": 0.6695652173913044,
"repo_name": "drbunsen-bsteam/hibersap",
"id": "6b46d57989c3be38f5286b0140905846fa415c07",
"siz... |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/object.h
// Purpose: wxObject class, plus run-time type information macros
// Author: Julian Smart
// Modified by: Ron Lee
// Created: 01/02/97
// RCS-ID: $Id$
// Copyright: (c) 1997 Julian Smart
// ... | {
"content_hash": "234c01a5445698a424b5590266854c1b",
"timestamp": "",
"source": "github",
"line_count": 498,
"max_line_length": 127,
"avg_line_length": 39.91566265060241,
"alnum_prop": 0.5581044370661032,
"repo_name": "clinthidinger/ofxWxWidgets",
"id": "cb9d8f8c98ff700ce587223aae669ae5fb4ebc5c",
"... |
<?php
namespace Conpago\Migrations\Contract;
/**
* Provides adapter of application presentation layer for migration process.
*/
interface IMigrateCommandPresenter
{
/**
* Report start of migration process.
*
* @param integer $count Number of migrations to run in current course.
*
* @r... | {
"content_hash": "1436c0aafc74f4562d644fb927e1f024",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 78,
"avg_line_length": 22.594594594594593,
"alnum_prop": 0.6423444976076556,
"repo_name": "conpago/conpago-migrations-contract",
"id": "45ea18d8e60de74d0f359822e3b74f033bf287... |
namespace ConApp.Model
{
public class MathDemo
{
public int Value;
public int GetSquare()
{
return Value * Value;
}
public static int GetSquareOf(int x)
{
return x * x;
}
public static double GetPi()
{
... | {
"content_hash": "9aeb5727a9eae48238a8e91432f621d6",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 44,
"avg_line_length": 16.136363636363637,
"alnum_prop": 0.4507042253521127,
"repo_name": "ifairy/CSharpExample",
"id": "3f587b814a00bc48d02a068254caa88beff78118",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.