text stringlengths 2 1.04M | meta dict |
|---|---|
// Copyright (c) 2011-2013 The Zapcard developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef OPTIONSDIALOG_H
#define OPTIONSDIALOG_H
#include <QDialog>
class MonitoredDataMapper;
class OptionsModel;
class QVal... | {
"content_hash": "c3db0fcb25e58417c4bd93017e135b7f",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 73,
"avg_line_length": 23.728813559322035,
"alnum_prop": 0.7242857142857143,
"repo_name": "zapcard/zapcard",
"id": "1040e4eaae1e42413e8545a34e71388aaf7f5a9e",
"size": "1400... |
#include <gtest/gtest.h>
#include <math.h>
#include <stdexcept>
#include <vector>
#include "testing_symv.hpp"
#include "utility.h"
using ::testing::TestWithParam;
using ::testing::Values;
using ::testing::ValuesIn;
using ::testing::Combine;
using namespace std;
// only GCC/VS 2010 comes with std::tr1::tuple, but it... | {
"content_hash": "e2bf74ab89fba40c9097916575f163c2",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 98,
"avg_line_length": 32.90853658536585,
"alnum_prop": 0.5649434871224754,
"repo_name": "kknox/rocBLAS",
"id": "2b5f9e5643ce4fdf4682d014f5643049dbb48d48",
"size": "5601",... |
/*************************************************************************/
/* editor_import_collada.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "d9909384d697ea53f0d32c7d76c2299a",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 157,
"avg_line_length": 60.166666666666664,
"alnum_prop": 0.5263157894736842,
"repo_name": "MarianoGnu/godot",
"id": "bf453227656c37669ca22d70c7d397fb06ab1576",
"size": "28... |
<?php
namespace Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Form;
use TYPO3Fluid\Fluid\Core\ViewHelper\TagBuilder;
require_once(__DIR__ . '/FormFieldViewHelperBaseTestcase.php');
/**
* Test for the "Button" Form view helper
*/
class ButtonViewHelperTest extends \Neos\FluidAdaptor\Tests\Unit\ViewHelpers\Form\FormFie... | {
"content_hash": "9d2586a96288748945d27884137595cf",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 141,
"avg_line_length": 37.520833333333336,
"alnum_prop": 0.6690727373681288,
"repo_name": "gerhard-boden/flow-development-collection",
"id": "85bafe173f9a7edba5ec756ad3ecced... |
@interface SFClosingWindow : NSWindow
{
}
@end
| {
"content_hash": "0c82a5338bfa738470c621f2d95df7c1",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 37,
"avg_line_length": 9.6,
"alnum_prop": 0.7291666666666666,
"repo_name": "CarlosRDomin/Soundflower",
"id": "418e712ea3d280b3db6e64cc5d340648ed2a9ce3",
"size": "227",
"bi... |
Article 1250
----
Cette subrogation est conventionnelle :
1° Lorsque le créancier recevant son paiement d'une tierce personne la subroge
dans ses droits, actions, privilèges ou hypothèques contre le débiteur : cette
subrogation doit être expresse et faite en même temps que le paiement ;
2° Lorsque le débiteur emprunt... | {
"content_hash": "0258ae553e99ed9b6af64575d7552b3d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 80,
"avg_line_length": 55.2,
"alnum_prop": 0.7983091787439613,
"repo_name": "caioproiete/illacceptanything",
"id": "5159d3d0aeae238f5a2ed4fc74ec16ab49089bcf",
"size": "855"... |
from .resource import Resource
class ApplicationGatewayFirewallRuleSet(Resource):
"""A web application firewall rule set.
Variables are only populated by the server, and will be ignored when
sending a request.
All required parameters must be populated in order to send to Azure.
:param id: Resou... | {
"content_hash": "6b6ee10c43239132ef2cd55a4e7df99a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 175,
"avg_line_length": 40.596774193548384,
"alnum_prop": 0.6324990067540723,
"repo_name": "lmazuel/azure-sdk-for-python",
"id": "5df851b1412d1977be4d2971b524abc3635f7165",
... |
{% extends 'base.html' %}
{% load tz %}
{% load i18n %}
{% load l10n %}
{% block head_title %}TaskBuster Django Tutorial{% endblock %}
{% block content %}
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<div class="container">
<h1>{% trans "Welcome to TaskBuster!... | {
"content_hash": "a0cae8ef8caebf898a3fc14d9e70a37c",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 283,
"avg_line_length": 43.73684210526316,
"alnum_prop": 0.6046931407942239,
"repo_name": "heschlie/taskbuster",
"id": "ff0c4ae7365d68bb944727dd2538bccec6bf1646",
"size": "... |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SERVICES_STORAGE_INDEXED_DB_LEVELDB_FAKE_LEVELDB_FACTORY_H_
#define COMPONENTS_SERVICES_STORAGE_INDEXED_DB_LEVELDB_FAKE_LEVELDB_FACTORY_H_
#include <memory>... | {
"content_hash": "1f9879bde91b4f24b67f67ff240c32d0",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 81,
"avg_line_length": 37.48235294117647,
"alnum_prop": 0.6939736346516008,
"repo_name": "chromium/chromium",
"id": "1a1efc799b04fb51171a860b97c93f0020d3112e",
"size": "318... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__unsigned_int_max_square_73a.cpp
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-73a.tmpl.cpp
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: max Set data to the max value for unsigned in... | {
"content_hash": "1f7d587c792437f3e7d27179da949532",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 113,
"avg_line_length": 25.847457627118644,
"alnum_prop": 0.6567213114754098,
"repo_name": "maurer/tiamat",
"id": "22ba354d72bca901abad1d1982f97d48a180ae96",
"size": "3050... |
using UnityEngine;
using System.Collections;
public class EntranceDoorway : MonoBehaviour
{
}
| {
"content_hash": "122872b60e2461ef7900c1069f0020e2",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 44,
"avg_line_length": 16,
"alnum_prop": 0.8020833333333334,
"repo_name": "harjup/WizardBroadcast",
"id": "f8adb90e774c7c0d8dd3cc61c8fa392c9b7cbc19",
"size": "98",
"binary... |
all:
pio run
upload:
pio run -t upload
monitor:
pio device monitor -b 115200
test: upload monitor
| {
"content_hash": "ea492c5cefddd1c98c428104f86515b7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 29,
"avg_line_length": 10.4,
"alnum_prop": 0.7211538461538461,
"repo_name": "ambientsound/wirelight",
"id": "7f0145ec0533ca1e4f737cf101a8973257f82f81",
"size": "104",
"bi... |
namespace hash_functions {
int knuth_div_hash(long k, int n) {
return (k * (k + 3) ) % n;
}
int mod_hash(long k, int n) {
return k % n;
}
int mult_hash(long k, int n) {
float A = 0.5 * (sqrt(5) - 1);
int s = floor(A * pow(2, 32));
int x = k * s;
return x >> (32 - 16);
}
int kn... | {
"content_hash": "729a9d0ff0e77ca222c0e5738445f0ad",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 74,
"avg_line_length": 21.161616161616163,
"alnum_prop": 0.6219570405727923,
"repo_name": "Dacilndak/ds",
"id": "2acdaed66d853fc23344004baf33e63b9f2d70e4",
"size": "2199",
... |
namespace sb
{
GLSLLoaderFileDependencyResolver::GLSLLoaderFileDependencyResolver(
std::string basePath
):
_basePath{basePath}
{
}
std::unique_ptr<std::istream> GLSLLoaderFileDependencyResolver::getDependency(
std::string dependencyName
)
{
// todo: fix it
auto olddep = dependencyName;
auto la... | {
"content_hash": "64fcc4f3c5fa605974a50cd4ee2a131d",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 80,
"avg_line_length": 23.16260162601626,
"alnum_prop": 0.6128466128466128,
"repo_name": "sienkiewiczkm/shabui",
"id": "271a0f66f75cbc891d22fa45a47cf591a61f95f7",
"size": ... |
package ehpc
//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
//distribu... | {
"content_hash": "0a5b48a44cdd40fd97687eb80b646c6d",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 155,
"avg_line_length": 41.007751937984494,
"alnum_prop": 0.7843100189035916,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "873bde773059fa2909f3e42d69ca7041c0cf670c",
... |
<?php
namespace BusinessLogicDomainUsersTest\Repository;
use BusinessLogicDomainUsers\Entity\UserEntity;
use BusinessLogicDomainUsers\Repository\UsersRepository;
use ApplicationLibraryTest\Repository\AbstractRepositoryTestCase;
use Doctrine\ORM\Mapping\ClassMetadata;
class UserRepositoryTest extends AbstractReposit... | {
"content_hash": "0a2745cd908fbde519089c0d35973bdf",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 102,
"avg_line_length": 26.323529411764707,
"alnum_prop": 0.7094972067039106,
"repo_name": "harpcio/zf2-demo",
"id": "d80e0131bad831754a3d987f8671b1e61892f80d",
"size": "11... |
namespace tsp
{
class GeneticAnalyser
{
private:
const Graph &graph_;
std::vector<double> distances_;
public:
GeneticAnalyser(const Graph &graph);
~GeneticAnalyser();
double getDistance(const Individual &ind);
double getBestDistance(const Population &po... | {
"content_hash": "a46200fa3e13506093e72da9689fde14",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 63,
"avg_line_length": 24.384615384615383,
"alnum_prop": 0.6608832807570978,
"repo_name": "AvS2016/ParallelTSP",
"id": "3d691e774f737d75142a26e9bfbc55aee919ea71",
"size": "... |
app.factory('colorService', function() {
function brand_primary(variation) {
return get_color(get_color_name('brand-primary'), variation);
}
function brand_success(variation) {
return get_color(get_color_name('brand-success'), variation);
}
function brand_info(variation) {
return get_color(get_co... | {
"content_hash": "8d6b320c3eb78c9e891d9684ab00cad8",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 65,
"avg_line_length": 26.125,
"alnum_prop": 0.6643882433356118,
"repo_name": "FlavienGARCIA/shooting-sport-webapp",
"id": "011fda60e092d05481f4f95ea8e68a567dede4f5",
"size... |
package org.pathvisio.plugins.gexview;
import java.awt.event.ActionEvent;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;
im... | {
"content_hash": "b691c21865cf18dda48146f33069d772",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 126,
"avg_line_length": 23.125714285714285,
"alnum_prop": 0.7099085742525327,
"repo_name": "kozo2/pathvisio",
"id": "bc9beabecc4e126ec1a0eec3c9564196d3b59635",
"size": "47... |
using namespace lldb_private;
class TestScriptInterpreterPython : public ScriptInterpreterPythonImpl {
public:
using ScriptInterpreterPythonImpl::Initialize;
using ScriptInterpreterPythonImpl::InitializePrivate;
};
void PythonTestSuite::SetUp() {
FileSystem::Initialize();
HostInfoBase::Initialize();
// Scrip... | {
"content_hash": "b344f727c135dec3e771d5e5009ad797",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 80,
"avg_line_length": 32.74683544303797,
"alnum_prop": 0.6804535498002835,
"repo_name": "endlessm/chromium-browser",
"id": "78234612500b103f08bedd82096d97580ace3e25",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="cancel">خیر</string>
<string name="copy">کپی</string>
<string name="copyUrl">کپی URL</string>
<string name="cut">بریدن</string>
<string name="defaultVoiceMailAlphaTag">پست صوتی</string>
<string name="defaultMsisdnAlphaTag">MSISDN1... | {
"content_hash": "fc082714592470c6d12747e553b462b2",
"timestamp": "",
"source": "github",
"line_count": 2665,
"max_line_length": 410,
"avg_line_length": 89.50168855534709,
"alnum_prop": 0.7413194590016854,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "9530eb8a6ca2a77c643013adf0e8b2282811c615",
"siz... |
package javax.el;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
public class TestListELResolver {
/**
* Tests that a null context results in an NPE as per EL Javadoc.
*/
@Test(expected = NullPointerException.class)... | {
"content_hash": "f86c8f26892f28ceda4bc47e58c5dd97",
"timestamp": "",
"source": "github",
"line_count": 373,
"max_line_length": 80,
"avg_line_length": 31.32975871313673,
"alnum_prop": 0.6190313195276399,
"repo_name": "plumer/codana",
"id": "d31710047b25fc8bfd666b5f6648bcd20347958b",
"size": "12488"... |
'use strict';
/**
* Paged Issue Attachment list representation.
*/
class IssueAttachmentCollection extends Array {
/**
* Create a IssueAttachmentCollection.
* @property {string} [nextLink] Next page link if any.
*/
constructor() {
super();
}
/**
* Defines the metadata of IssueAttachmentCol... | {
"content_hash": "94f172459ea4249deee74c67e9bda9b7",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 71,
"avg_line_length": 22.42622950819672,
"alnum_prop": 0.4992690058479532,
"repo_name": "Azure/azure-sdk-for-node",
"id": "f8b97f11064c83b7059dcba48a24315b26376fa9",
"size... |
<?php
declare(strict_types=1);
namespace Sylius\Bundle\AdminApiBundle\Migrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
class Version20170711151342 extends AbstractMigration
{
public function up(Schema $schema): void
{
$this->abortIf($this->connection->getData... | {
"content_hash": "d9e64cdc1fcb26a72719099dcfac2a96",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 167,
"avg_line_length": 57.476190476190474,
"alnum_prop": 0.7137531068765535,
"repo_name": "mbabker/Sylius",
"id": "2963a6eae42540c3bad55b9eb1a19893e23f1f30",
"size": "2625... |
/* This file was auto-generated by ensurePackage() in @jupyterlab/buildutils */
@import url('~@lumino/widgets/style/index.css');
@import url('~@jupyterlab/ui-components/style/index.css');
@import url('~@jupyterlab/apputils/style/index.css');
@import url('~@jupyterlab/statusbar/style/index.css');
@import url('~@jupyte... | {
"content_hash": "5a266db875becd6c17249f72517e361a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 79,
"avg_line_length": 43.42857142857143,
"alnum_prop": 0.7368421052631579,
"repo_name": "jupyter/jupyterlab",
"id": "8f48c1cca5f768d731c9fff2c406bebc1e82f83f",
"size": "86... |
package org.jbpm.persistence.map.impl;
import static org.jbpm.persistence.util.PersistenceUtil.*;
import static org.kie.api.runtime.EnvironmentName.ENTITY_MANAGER_FACTORY;
import java.util.HashMap;
import java.util.Set;
import org.drools.persistence.jta.JtaTransactionManager;
import org.infinispan.Cache;
import or... | {
"content_hash": "70f3aedd35f8bf880f5fd82969e05929",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 126,
"avg_line_length": 32.851485148514854,
"alnum_prop": 0.6636528028933092,
"repo_name": "murador/droolsjbpm-integration",
"id": "8310c2b6cd8b1016a8fbc9be90a735a094f9eab3"... |
from unittest import TestCase
import mox
import os
import ConfigParser
import random
import shutil
from nappingcat import config
class TestOfConfig(TestCase):
def setUp(self):
self.mox = mox.Mox()
self.filename = 'tests/.%d.conf' % random.randint(1,100)
def tearDown(self):
self.mox.Uns... | {
"content_hash": "567aa11ecbe3b33bdd3f9f2ae91c2da5",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 71,
"avg_line_length": 27.653061224489797,
"alnum_prop": 0.6302583025830258,
"repo_name": "chrisdickinson/nappingcat",
"id": "2a0274945f072934fb14909174015747ed66d9ea",
"si... |
package playn.robovm;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.Map;
import org.robovm.apple.coregraphics.CGAffineTransform;
import org.robovm.apple.coregraphics.CGBitmapContext;
import org.robovm.apple.coregraphics.CGBlendMode;
import org.robovm.apple.coregraphics.CGImage;
import org.r... | {
"content_hash": "0046aade69068672b07b970222b9a262",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 100,
"avg_line_length": 31.134939759036143,
"alnum_prop": 0.6758764801485954,
"repo_name": "playn/playn",
"id": "947bb92a16acec09c222030161a917ecc575a0c1",
"size": "13512"... |
<?php
namespace Alphatrader\ApiBundle\Api;
use Alphatrader\ApiBundle\Api\Exception\AlphaTraderApiException;
use Alphatrader\ApiBundle\Api\Exception\HttpErrorException;
use Alphatrader\ApiBundle\Model\Error;
use GuzzleHttp\Client;
use JMS\Serializer\Serializer;
use JMS\Serializer\SerializerBuilder;
use Psr\Http\Messag... | {
"content_hash": "8d0ea54973b6cb511a7b50ba292013ee",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 95,
"avg_line_length": 26.665289256198346,
"alnum_prop": 0.5169688516968852,
"repo_name": "ljbergmann/AlphaTraderApiBundle",
"id": "edc6fcf72a85292f774492fbf8d0de47cd46c881"... |
const lambdaNamespace = 'AWS/Lambda';
module.exports = {
functionInvocations: {
namespace: lambdaNamespace,
enabled: true,
actionsEnabled: true,
type: 'static',
metric: 'Invocations',
threshold: 100,
statistic: 'Sum',
period: 60,
evaluationPeriods: 1,
datapointsToAlarm: 1,
... | {
"content_hash": "2454a41897c4c6236ab834e77647ae91",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 56,
"avg_line_length": 23.660714285714285,
"alnum_prop": 0.6626415094339623,
"repo_name": "ACloudGuru/serverless-plugin-aws-alerts",
"id": "bbbc468cf5249d33830d9891d504755110... |
<template name="emptyPage">
<!-- Page heading -->
{{> pageHeading title='Empty page' category='Other pages' }}
<div class="wrapper wrapper-content">
<div class="middle-box text-center animated fadeInRightBig">
<h3 class="font-bold">This is page content</h3>
<div class="err... | {
"content_hash": "b2f8491e8bd27f926717ca11acd959db",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 110,
"avg_line_length": 39.88235294117647,
"alnum_prop": 0.5958702064896755,
"repo_name": "Lvxingpai/Clairvoyance",
"id": "9516b089d34fca901e0c3cfc5451f24bf9ba62cb",
"size"... |
import pytest
import unittest
from modules.sfp_talosintel import sfp_talosintel
from sflib import SpiderFoot
@pytest.mark.usefixtures
class TestModuleTalosintel(unittest.TestCase):
def test_opts(self):
module = sfp_talosintel()
self.assertEqual(len(module.opts), len(module.optdescs))
def te... | {
"content_hash": "b664ff85023c66f9cd41af6959779766",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 64,
"avg_line_length": 28.73076923076923,
"alnum_prop": 0.7001338688085676,
"repo_name": "smicallef/spiderfoot",
"id": "10a888ca5ecc32bd0df7a50277bede65a5d0bd00",
"size": "... |
package prune
import (
"encoding/json"
"fmt"
"net/http"
"net/url"
"reflect"
"time"
"github.com/docker/distribution/manifest/schema2"
"github.com/docker/distribution/registry/api/errcode"
"github.com/golang/glog"
gonum "github.com/gonum/graph"
kerrapi "k8s.io/apimachinery/pkg/api/errors"
kmeta "k8s.io/api... | {
"content_hash": "86bb0b59d226688a0934a1bea89b5e73",
"timestamp": "",
"source": "github",
"line_count": 1339,
"max_line_length": 161,
"avg_line_length": 35.66168782673637,
"alnum_prop": 0.7371363950493184,
"repo_name": "radanalyticsio/oshinko-cli",
"id": "22c4b859df0bae6585255390e45bb11132cff4d0",
... |
<!DOCTYPE html>
<html>
<head>
<title>Forbidden! (403)</title>
<link rel="icon" type="image/png" href="/images/bullet.png"/>
<link rel ="stylesheet" type ="text/css" href ="/css/style.css" />
</head>
<body>
<div class="header">
<a href="/Datafari"><img src="/images/datafari_small_text_logo.png"></... | {
"content_hash": "e9adbce5ab319fd341cdee3980896a6e",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 83,
"avg_line_length": 31.80952380952381,
"alnum_prop": 0.6167664670658682,
"repo_name": "francelabs/datafari",
"id": "ae21b523442fa46ae97f70878dfc449118ebab9e",
"size": "6... |
(function(API, Utils, DialogWindow) {
'use strict';
/**
* An 'Input' dialog
*
* @param args Object An object with arguments
* @param callback Function Callback when done => fn(ev, button, result)
*
* @option args title String Dialog title
* @option ar... | {
"content_hash": "2955268d3e14df7360e4942989368212",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 82,
"avg_line_length": 30.95,
"alnum_prop": 0.5819870759289176,
"repo_name": "salman-kamkoriwala/OsJsSample",
"id": "fcb9c2d9dd9c2d81114229c241ba61efddc89b10",
"size": "402... |
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"path"
"strings"
"testing"
"time"
"golang.org/x/net/context"
"github.com/jacobsa/fuse"
"github.com/jacobsa/gcloud/gcs"
"github.com/jacobsa/gcloud/gcs/gcsfake"
"github.com/jacobsa/gcloud/gcs/gcsutil"
. "github.com/jacobsa/ogletest"
"github.com/jacobsa/... | {
"content_hash": "864eb1d12e18b31617edeac56aea3d4b",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 73,
"avg_line_length": 22.25,
"alnum_prop": 0.6154093097913322,
"repo_name": "BanzaiMan/gcsfuse",
"id": "dcd0698aae1d27d354f80db1d4fde8931daac136",
"size": "3725",
"bina... |
/*
* 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": "4d106e0619bdedcd222228551b9f729a",
"timestamp": "",
"source": "github",
"line_count": 731,
"max_line_length": 201,
"avg_line_length": 49.3844049247606,
"alnum_prop": 0.6536565096952909,
"repo_name": "troels/nz-presto",
"id": "2905bb8a670843c12f108afa104ddbcb75fe18be",
"size": "361... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_21) on Sat May 11 22:07:16 BST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... | {
"content_hash": "304cd6d6b293ba6fe1637094828a5001",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 389,
"avg_line_length": 57.012,
"alnum_prop": 0.6323581000491124,
"repo_name": "chinhnc/floodlight",
"id": "c4aa78ae6eef24dbaf1a7589ac93f5669a223cea",
"size": "14253",
"... |
<?php
echo "Yes, php is working!\n";
| {
"content_hash": "e701338ce427ea1a802799629c08ddf8",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 30,
"avg_line_length": 12.666666666666666,
"alnum_prop": 0.6052631578947368,
"repo_name": "rfay/ddev",
"id": "c6d0fd140c04dce8febd339741cfdce8f4b6706d",
"size": "38",
"bin... |
FROM fooblahblah/hubot-victorops
MAINTAINER Jeff Simpson, jeff@syncrodoka.net
ENV HUBOT_ADAPTER victorops
ENV HUBOT_PORT 8080
ENV HUBOT_NAME hubot
ENV HUBOT_VICTOROPS_KEY=xxxxxxxxxxx
ENV HUBOT_VICTOROPS_URL=wss://chat.victorops.com/chat
ENV PORT ${HUBOT_PORT}
EXPOSE ${HUBOT_PORT}
CMD bin/hubot
| {
"content_hash": "31804aad948c678c51342317fd179019",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 53,
"avg_line_length": 22.923076923076923,
"alnum_prop": 0.8053691275167785,
"repo_name": "fooblahblah/bot-cfg",
"id": "6e214d84496c4dd9aa02218496cb1edea4f2f506",
"size": "... |
export declare const velocityPerSecond: (
velocity: number,
frameDuration: number
) => number;
| {
"content_hash": "1bb23c39e4ff1ba755fe9c994c0542cb",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 41,
"avg_line_length": 24.75,
"alnum_prop": 0.7474747474747475,
"repo_name": "InventingWithMonster/redshift",
"id": "b597e3646438fc8bc72f11621d925f46b23b2ba1",
"size": "99",... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tw__tweet_view"
style="@style/tw__TweetContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
tools:ignore=... | {
"content_hash": "f1e6170c2c76abf0b479eef4435e1488",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 365,
"avg_line_length": 42.689189189189186,
"alnum_prop": 0.6574865463754352,
"repo_name": "jacquesgiraudel/TP-Formation-Android",
"id": "7c45d30986562646acb38c95400f1586a5c7... |
define(["pat-image-crop"], function(pattern) {
describe("pat-image-crop", function() {
beforeEach(function() {
$("<div/>", {id: "lab"}).appendTo(document.body);
});
afterEach(function() {
$("#lab").remove();
});
describe("setup", function() {
... | {
"content_hash": "ccc38282e9ead6dfe8a4772c9998f265",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 83,
"avg_line_length": 34.401869158878505,
"alnum_prop": 0.4232545503939147,
"repo_name": "janga1997/Patterns",
"id": "47589269fcaab7c397fea0063cbe3b97c438baaa",
"size": "... |
import javax.mail.Message.RecipientType;
import org.codemonkey.simplejavamail.Email;
import org.codemonkey.simplejavamail.Mailer;
import org.codemonkey.simplejavamail.TransportStrategy;
/**
* Demonstration program for the Simple Java Mail framework.
* <p>
* <b>IMPORTANT</b>: <br />
* This testclass was ... | {
"content_hash": "498b97d84cc7fdbd388e4a48964b97bc",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 135,
"avg_line_length": 43.073170731707314,
"alnum_prop": 0.7072480181200453,
"repo_name": "SidneyShaw/simple-java-mail",
"id": "0fcd8e1d487af5a6060c0e714df09b895e88bfb1",
... |
/*
* Author: Piotr Dobrowolski
* dobrypd[at]gmail[dot]com
*
*/
#ifndef EXPOSUREVALUE_HPP_
#define EXPOSUREVALUE_HPP_
#include <ostream>
#include <string>
namespace kernel
{
/*
*
*/
class ExposureValue
{
public:
enum Program {Auto, Speed, Aperture, ISO};
ExposureValue(float value);
ExposureValue(f... | {
"content_hash": "b6b8d3c1837d2fc340d9d51dd5cfb0dc",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 76,
"avg_line_length": 18.4,
"alnum_prop": 0.6758893280632411,
"repo_name": "dobrypd/HDR-Simple-Framework",
"id": "7388ad10e7a41e384831616bad6ce40b5ddf8d9b",
"size": "2171"... |
title: navigation.hierarchical-navigation.breadcrumb.title
help: navigation.hierarchical-navigation.breadcrumb.help
label: fix
---
<h2 id="br1" class="hidden">Breadcrumbs</h2>
<ol class="breadcrumb" role="navigation" aria-labelledby="br1">
<li><a href="#">Home page EDA</a><span class="icon icon--greater"></span></li... | {
"content_hash": "57acf4a26a603db381929bc4619d2cef",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 99,
"avg_line_length": 59.6,
"alnum_prop": 0.685682326621924,
"repo_name": "ComperioAG/styleguide_geologieportal",
"id": "b666bce1d5fdcaacc0cd58c7a410deff0734b4c2",
"size":... |
Notes for talks and sessions at Open Data Science Conference 2017 | East :sailboat:
The Open Data Science Conference 2017 | East
Wednesday, May 3 - Friday, May 5 2017
Hynes Convention Center, Boston, MA

## Important Links
-... | {
"content_hash": "0b98cca31c8afae39baa822aee25a3dc",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 290,
"avg_line_length": 52.30434782608695,
"alnum_prop": 0.7538099196453311,
"repo_name": "jasdumas/odsc17-notes",
"id": "e11fb9a9725d91ee8e85b788d2e7fcb653137407",
"size"... |
using LinqToDB;
using LinqToDB.Linq;
using NUnit.Framework;
namespace Tests.Exceptions
{
using Model;
[TestFixture]
public class DmlTests : TestBase
{
[Test]
public void InsertOrUpdate1([InsertOrUpdateDataSources] string context)
{
using (var db = GetDataContext(context))
{
db.BeginTransaction()... | {
"content_hash": "819caf09b8bf59a1d51da610439d542a",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 105,
"avg_line_length": 19.75,
"alnum_prop": 0.5763713080168776,
"repo_name": "LinqToDB4iSeries/linq2db",
"id": "8758703a7809e0db4f17d1b33e1109a6168fd6ec",
"size": "1187",
... |
require 'test_helper'
class HostEnvironmentDataTest < Test::Unit::TestCase
context "host environment class" do
setup do
@klass = Radar::DataExtensions::HostEnvironment
@instance = @klass.new(create_exception_event)
end
should "be able to convert to a hash" do
result = @instance.to_hash... | {
"content_hash": "785e7cb1e286d2703e2dba56397986da",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 53,
"avg_line_length": 24.733333333333334,
"alnum_prop": 0.6819407008086253,
"repo_name": "mitchellh/radar",
"id": "2d1bf8fb2daaa02b3cc4ea888c5b54254f879ce1",
"size": "371"... |
module Sisimai::Lhost
# Sisimai::Lhost::KDDI parses a bounce email which created by au by KDDI.
# Methods in the module are called from only Sisimai::Message.
module KDDI
class << self
# Imported from p5-Sisimail/lib/Sisimai/Lhost/KDDI.pm
require 'sisimai/lhost'
Indicators = Sisimai::Lhost.... | {
"content_hash": "e931a974d0d7b49312acfa98f15c4bab",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 85,
"avg_line_length": 40.46017699115044,
"alnum_prop": 0.5328083989501312,
"repo_name": "azumakuniyuki/rb-Sisimai",
"id": "3122d9dd27dfdcc79adf72c79c8a08392da58117",
"siz... |
namespace Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Update
{
using Microsoft.Azure.Management.ContainerRegistry.Fluent.Models;
/// <summary>
/// Container interface for all the updates related to a registry task.
/// </summary>
public interface IUpdate :
Microsoft.Az... | {
"content_hash": "028536ed42a3225b8a118d6c7d055e1b",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 212,
"avg_line_length": 54.426829268292686,
"alnum_prop": 0.691239076854134,
"repo_name": "hovsepm/azure-libraries-for-net",
"id": "a3a56b9c97903a350eec893182d7d637d5137074"... |
body {
padding-top: 56px;
padding-bottom: 20px
}
/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
padding-left: 15px;
padding-right: 15px
}
/* Carousel */
.carousel-caption p {
font-size: 20px;
line-height: 1.4
}
/* ... | {
"content_hash": "884135dec1de608e9dc24c80a6dbad6d",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 72,
"avg_line_length": 19.4,
"alnum_prop": 0.5979381443298969,
"repo_name": "DotNetDevs/Synology",
"id": "f63be5eef32d55bb7dec76275b67072a4ea11d82",
"size": "681",
"binar... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("La... | {
"content_hash": "c0ec2a6151426db7399463431b0e17e8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 40.666666666666664,
"alnum_prop": 0.7479508196721312,
"repo_name": "PCurd/LastFM-Search",
"id": "8a89113e568727c074a73984305769cd69571bf2",
"size": "... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Peach.group</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<script t... | {
"content_hash": "7f0cbe1b5f1ffadb65c0ffc1d41a9f89",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 147,
"avg_line_length": 36.3936170212766,
"alnum_prop": 0.5796550716164864,
"repo_name": "thecrackofdawn/Peach2.3",
"id": "80204fc2c97a1a7ca5411b2ca7dff1734374d85a",
"size... |
#include <aws/rds/model/DescribeDBClusterBacktracksResult.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <utility>
using namespace Aws::RDS::Model;
using namespace Aws::Util... | {
"content_hash": "424ffa5993b854811d69e6d2d6e9b310",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 139,
"avg_line_length": 33.403225806451616,
"alnum_prop": 0.7556735876388219,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "ac3496bd3b52699fabf4e04de033bb2053994676",
"size"... |
An seL4 library to simplify sel4 thread and process management
| {
"content_hash": "c66b134f067e19cd05c5c21ef859dbf9",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 62,
"avg_line_length": 32,
"alnum_prop": 0.828125,
"repo_name": "winksaville/libsel4thrds",
"id": "9e53c3f6a27488d962f2c9a18f44fe5bba1bf907",
"size": "80",
"binary": false... |
package com.amazonaws.services.opsworks.model.transform;
import java.util.Map;
import java.util.Map.Entry;
import java.math.*;
import java.nio.ByteBuffer;
import com.amazonaws.services.opsworks.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.faste... | {
"content_hash": "8d0b0ccbd58e733afc9e6b59e90690ed",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 73,
"avg_line_length": 33.25,
"alnum_prop": 0.6209641751437417,
"repo_name": "mhurne/aws-sdk-java",
"id": "0a1e7f8a96487a3ee17a916a67354eff062611b8",
"size": "2848",
"bin... |
package org.ruscoe.example.tilegame;
import org.ruscoe.example.tilegame.R;
import android.app.Activity;
import android.os.Bundle;
/**
* Displays information about this application.
*
* @author Dan Ruscoe (ruscoe.org)
* @version 1.0
*/
public class About extends Activity
{
/** Called when the activity is fir... | {
"content_hash": "d641c3df9cabf663324b9480591c933c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 53,
"avg_line_length": 22.681818181818183,
"alnum_prop": 0.7054108216432866,
"repo_name": "FujitaRyota/Android-Tile-Based-Game-Training",
"id": "be74bb2b4cb7ac2686327eb478e9e... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (9-Debian) on Thu Sep 28 23:12:51 GMT 2017 -->
<title>Uses of Class dollar.api.guard.NotNullCollectionGuard (Dollar Core - API for writing dynamic Jav... | {
"content_hash": "8cfd9a05637cf0bac5a0135af4465f01",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 148,
"avg_line_length": 37.8562091503268,
"alnum_prop": 0.6312154696132597,
"repo_name": "neilellis/dollar",
"id": "ab2c278d8c0b43c3685472a525f62c63172c2dc0",
"size": "579... |
<?xml version="1.0" encoding="UTF-8" ?>
<XML>
<Content>UPDATE</Content>
<Clip>
<ClipName>INPRIEM0754</ClipName>
<TipoContenido>INFORMATIVOS PROGRAMAS</TipoContenido>
<Contenido><![CDATA[ IEM 02SEP14]]></Contenido>
<O... | {
"content_hash": "aedebff12bfe320ba9f4f314025ad763",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 85,
"avg_line_length": 42.81818181818182,
"alnum_prop": 0.4564755838641189,
"repo_name": "valeraovalles/sait",
"id": "e586257972c6b9ea13a428a8ce77dfa1def2e742",
"size": "18... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "49c5d4387a26a82618d8bb0adc81b8b4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "09964bd4480aa409168819b4168637662611048d",
"size": "189... |
package org.zmpp.vm;
import org.zmpp.iff.FormChunk;
import org.zmpp.iff.WritableFormChunk;
/**
* This interface should be implemented by user interfaces that implement game
* saving functionality. This keeps the game saving facilities independent of
* implementation details.
*
* @author Wei-ju Wu
* @version 1.... | {
"content_hash": "625649145cfa0f6ed0840e30fb9d074d",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 78,
"avg_line_length": 24.774193548387096,
"alnum_prop": 0.6927083333333334,
"repo_name": "wandora-team/zmpp-wandora",
"id": "cdf6782468fe36b39bef94ecd6ea80c8a83687b9",
"si... |
"""Module for testing the add dns environment command."""
import unittest
if __name__ == "__main__":
import utils
utils.import_depends()
from brokertest import TestBrokerCommand
class TestUpdateDnsEnvironment(TestBrokerCommand):
def test_100_update_comments(self):
self.noouttest(["update_dns_e... | {
"content_hash": "eac650c962d15b30a79abcd94cb132b9",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 81,
"avg_line_length": 37.41463414634146,
"alnum_prop": 0.6323337679269883,
"repo_name": "quattor/aquilon",
"id": "305a3e69dfa6b0ef48523bc81b907152953b7f09",
"size": "2249"... |
/*
* \file drm_fops.c
* File operations for DRM
*
* \author Rickard E. (Rik) Faith <faith@valinux.com>
* \author Daryll Strauss <daryll@valinux.com>
* \author Gareth Hughes <gareth@valinux.com>
*/
/*
* Created: Mon Jan 4 08:58:31 1999 by faith@valinux.com
*
* Copyright 1999 Precision Insight, Inc., Cedar Pa... | {
"content_hash": "7f88c100f8c66cc5c5413ee91baaa3ef",
"timestamp": "",
"source": "github",
"line_count": 837,
"max_line_length": 111,
"avg_line_length": 28.33930704898447,
"alnum_prop": 0.6822091062394604,
"repo_name": "AlbandeCrevoisier/ldd-athens",
"id": "7af7f8bcb3558244781c0ac4f486452e852deca9",
... |
Universal Shields Adapter for STM32 Nucleo 64 boards
====================================================
Universal Adapter for Nucleo 64 boards that supports various expansion boards
including:
* STM32 Nucleo pinsas a mother
* Arduino shields, **including ICSP(SPI) pins**
* TI BoosterPack (LaunchPad) 40-pin
* 2 x At... | {
"content_hash": "4103e020ce4a438ab4ce7178496502fa",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 89,
"avg_line_length": 35.125,
"alnum_prop": 0.7372479240806643,
"repo_name": "kbumsik/Nucleo2Arduino-Adapter",
"id": "d1862ceac9f784fe6211eb5edc10e65b7097fe19",
"size": "1... |
package authorization
import (
"encoding/json"
"io/ioutil"
"log"
"net"
"net/http"
"net/http/httptest"
"os"
"path"
"reflect"
"testing"
"bytes"
"github.com/docker/docker/pkg/plugins"
"github.com/docker/go-connections/tlsconfig"
"github.com/gorilla/mux"
"strings"
)
const pluginAddress = "authzplugin.sock... | {
"content_hash": "5aa0c7a79bb58a0d2ad4efa7fc724ec6",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 126,
"avg_line_length": 26.233333333333334,
"alnum_prop": 0.6830439079486094,
"repo_name": "vijaykilari/docker",
"id": "b79e3f27db2372b7b3c8ccd1482070193064ff12",
"size": ... |
import pytest
import netmiko
import time
from DEVICE_CREDS import *
def setup_module(module):
module.EXPECTED_RESPONSES = {
'base_prompt' : 'root@pynet-jnpr-srx1',
'router_prompt' : 'root@pynet-jnpr-srx1>',
'router_conf_mode' : 'root@pynet-jnpr-srx1#',
'interface_ip' ... | {
"content_hash": "8d09847d4d95c18c5f3ae8b5c5bac8bf",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 97,
"avg_line_length": 25.91304347826087,
"alnum_prop": 0.6669463087248322,
"repo_name": "nvoron23/netmiko",
"id": "3d735c139db1753984fbaf369ded9f6d9d2e313b",
"size": "2407... |
using System;
using System.IO;
using System.Security.Cryptography;
using System.Security.Cryptography.Xml;
using System.Text;
using System.Xml;
using NUnit.Framework;
namespace MonoTests.System.Security.Cryptography.Xml {
// Note: GetInnerXml is protected in XmlDsigBase64Transform making it
// difficult to test pr... | {
"content_hash": "629c6db8f28518944cb71e827bcdc434",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 173,
"avg_line_length": 28.03267973856209,
"alnum_prop": 0.6782466775472138,
"repo_name": "jjenki11/blaze-chem-rendering",
"id": "2238f0b598533ca7ee36e70b2ca3c0cff9245b70",
... |
// Deletes the specified folder, forcing read-only files to be deleted as well.
function DeleteFolder(path)
{
var fso = new ActiveXObject("Scripting.FileSystemObject");
fso.DeleteFolder(path, true);
}
// Checks whether the specified file exists.
function FileExists(path)
{
var fso;
fso = new Act... | {
"content_hash": "b4477f18f8c7ccd210aa38ff5a2ade94",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 82,
"avg_line_length": 23.0472972972973,
"alnum_prop": 0.6053943125183231,
"repo_name": "vebin/odata.net",
"id": "9db6e6bfd2e38f16996e1d85a7a0184765a8f6ce",
"size": "3971"... |
from os.path import expanduser
HOME = expanduser('~')
ROOT_PATH = HOME + '/Dropbox/Projeto/Entropia/Fidelidade'
TWITTER_DATA_PATH = HOME + "/Twitter.Info"
FRIENDS_INFO_PATH = TWITTER_DATA_PATH + '/Friends.Info'
INTERACTIONS_INFO_PATH = TWITTER_DATA_PATH + '/Interactions.Info'
FILE_NAMES = ['interacoesLikes', 'int... | {
"content_hash": "f33b41e9e3276893b1df99012ebf6ca9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 120,
"avg_line_length": 42.05263157894737,
"alnum_prop": 0.737171464330413,
"repo_name": "jblupus/PyLoyaltyProject",
"id": "4f0fcd45ccfaaa60245cc0f68536214c93b23f8e",
"size... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.flowable</groupId>
<art... | {
"content_hash": "4ef8b92966c7839cc7fc4349d7a54823",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 108,
"avg_line_length": 43.525,
"alnum_prop": 0.672027570361861,
"repo_name": "flowable/flowable-engine",
"id": "f626d41db0462282f351ea8b7ed12df365f82c59",
"size": "1741",
... |
<?php
namespace SteamCondenser\Community;
use SteamCondenser\Community\GameStatsDatum\Instance;
class GameStatsDatum {
/**
* @var string
*/
protected $apiName;
/**
* @var mixed
*/
protected $defaultValue;
/**
* @var GameStatsSchema
*/
protected $schema;
... | {
"content_hash": "21f2f0cb0395447ece9ba4bbfdffcf79",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 88,
"avg_line_length": 20.431372549019606,
"alnum_prop": 0.5911708253358925,
"repo_name": "koraktor/steam-condenser-php",
"id": "d8670288e290e10860bcb093f69f4d25eee9cf5b",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.springframework.boot.mav... | {
"content_hash": "ffb8cc579a5e784f5d418da3a7ec295b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 104,
"avg_line_length": 37.41935483870968,
"alnum_prop": 0.7129310344827586,
"repo_name": "philwebb/spring-boot",
"id": "fa5832c24ef0919e6248b47dfcbd1dc5da5a99c7",
"size": ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package it.av.fac.dfcl2.test;
import it.av.fac.dfcl2.NoDefuzzifyEIOMS;
import java.util.Collection;
import java.util.HashMap;... | {
"content_hash": "6cb8ceda330a09eb79577eb12b3bad7e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 113,
"avg_line_length": 40.61764705882353,
"alnum_prop": 0.5981173062997828,
"repo_name": "Regateiro/FuzzyAC",
"id": "1dae425ddbc71326c3bf51c571db7c29f7d21191",
"size": "27... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="FruitActivityTheme" parent="AppTheme">
<item name="android:statusBarColor">@android:color/transparent</item>
</style>
</resources> | {
"content_hash": "8d467ae71f33624434e6185d701aab9f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 77,
"avg_line_length": 30.142857142857142,
"alnum_prop": 0.6824644549763034,
"repo_name": "DossShi/AndroidStudy",
"id": "564d89cedeb6097eaf898e37efa4de33fca66de3",
"size": "... |
using System;
using System.ComponentModel;
using System.Text;
using StackingEntities.Model.BlockEntities.BaseClasses;
using StackingEntities.Model.Items;
using StackingEntities.Model.Metadata;
namespace StackingEntities.Model.BlockEntities
{
[Serializable]
public class RecordPlayer : BlockEntityBase
{
#region Pr... | {
"content_hash": "da2798f39980d80eaa953e2142b6eabd",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 73,
"avg_line_length": 19.6875,
"alnum_prop": 0.6865079365079365,
"repo_name": "Sidneys1/MinecraftMultitool",
"id": "5b69984e785a9b87c901f29af52c28f38040b963",
"size": "126... |
package io.dropwizard.db;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.MetricRegistry;
import org.apache.tomcat.jdbc.pool.ConnectionPool;
import org.apache.tomcat.jdbc.pool.DataSourceProxy;
import org.apache.tomcat.jdbc.pool.PoolConfiguration;
import java.sql.SQLFeatureNotSupportedException;
import ... | {
"content_hash": "08b2f11c95895b3d67cd3622e269c61c",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 95,
"avg_line_length": 36.17857142857143,
"alnum_prop": 0.7201382033563672,
"repo_name": "zhiqinghuang/dropwizard",
"id": "392f4a6ca2c208e53bc47853dbfdee492ea1d46b",
"size"... |
namespace content {
namespace {
class WebUIURLLoaderFactory;
void CallOnError(
mojo::PendingRemote<network::mojom::URLLoaderClient> client_remote,
int error_code) {
mojo::Remote<network::mojom::URLLoaderClient> client(
std::move(client_remote));
network::URLLoaderCompletionStatus status;
status.... | {
"content_hash": "689eff2e25b99966072cef0e78788aed",
"timestamp": "",
"source": "github",
"line_count": 355,
"max_line_length": 80,
"avg_line_length": 40.45070422535211,
"alnum_prop": 0.6827298050139275,
"repo_name": "scheib/chromium",
"id": "0106f2395836c28483a7c65294ebe2b0b674f54b",
"size": "1639... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_162) on Sat Feb 02 18:57:41 CET 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>com.communote.plugins.api.r... | {
"content_hash": "d9c739ce8a3bfdaa02531f1bdc49b557",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 250,
"avg_line_length": 46.688995215311,
"alnum_prop": 0.6482885837261734,
"repo_name": "Communote/communote.github.io",
"id": "887163440251f22b99bebc5fc29dc4117d6d4892",
... |
class ChangeColumnName < ActiveRecord::Migration
def change
rename_column :servers, :in_provision, :no_refresh
end
end
| {
"content_hash": "2ab0bd86fcfed825174062ed80f17e24",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 54,
"avg_line_length": 25.4,
"alnum_prop": 0.7559055118110236,
"repo_name": "OnApp/cloudnet",
"id": "e04f810af7628b3a7c938b98a5dc6482927b037f",
"size": "127",
"binary": fa... |
function DPad (el, buttonName) {
this.buttonName = buttonName;
this.onButtonPresed = this.onButtonPresed.bind(this);
this.onAxisMove = this.onAxisMove.bind(this);
el.addEventListener('trackpaddown', this.onButtonPresed);
el.addEventListener('trackpadup', this.onButtonPresed);
el.addEventListener('axismove',... | {
"content_hash": "6b55cbf0856794bc14c53d6fbb3bdf9b",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 97,
"avg_line_length": 30.596491228070175,
"alnum_prop": 0.6393348623853211,
"repo_name": "fernandojsg/aframe-input-mapping-component",
"id": "5b92a8736bdd5fe8c3081da0e3fd4c8... |
//
// GTLQueryBooks.m
//
// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// Books API (books/v1)
// Description:
// Lets you search for books and manage your Google Books library.
// Documentation:
//... | {
"content_hash": "85027ff9e02fd189f33567760657de2a",
"timestamp": "",
"source": "github",
"line_count": 563,
"max_line_length": 88,
"avg_line_length": 35.854351687388984,
"alnum_prop": 0.7208461309818687,
"repo_name": "issen/YahooRoomFinder-iOS",
"id": "6e3cf5c26e059e1385fdc7e49dd4ffbcd77712b6",
"s... |
function testSubstitution() {
var values = [
[ "hello world", null ],
[ "hello $world", null ],
[ "hello ${Cur} world", "'hello '+($this)+' world'" ],
[ "${Cur} hello", "($this)+' hello'" ],
[ "hello ${Cur}", "'hello '+($this)" ],
[ "$ ${Cur}", "'$ '+($this)" ],
[ "$${Cur}", "'$'+($this)... | {
"content_hash": "73965807080fff291b9939e4df645b13",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 80,
"avg_line_length": 32.35,
"alnum_prop": 0.6043276661514683,
"repo_name": "hgschmie/shindig",
"id": "e4871b3429c38c27fa370e2d2b2d8c33e4e4f974",
"size": "7272",
"binar... |
;(function(){
var Tokenizer = function( tokenizers, doBuild ){
if( !(this instanceof Tokenizer ) )
return new Tokenizer( tokenizers, onEnd, onFound );
this.tokenizers = tokenizers.splice ? tokenizers : [tokenizers];
if( doBuild )
this.doBuild = doBuild;
};
Tokenizer.prototype = {
... | {
"content_hash": "e101ecca2c741180f5f3462e097ebf61",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 72,
"avg_line_length": 23.176470588235293,
"alnum_prop": 0.5564720812182741,
"repo_name": "3rdandUrban-dev/amp.fm",
"id": "64520aa146a47cd3a408fe7a01b0a15edb6d3786",
"size"... |
text-blaster
============
An InDesign plugin for quickly placing text.
This script will read a text file, store the contents, and place lines into
the job - either in a text frame or by replacing selected text. Companion file blastit.jsx allows
keyboard shortcut to be used to place text in job.
Just load the file i... | {
"content_hash": "9d65ab463f5f78ca8c927520034e346c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 97,
"avg_line_length": 36.9,
"alnum_prop": 0.7560975609756098,
"repo_name": "TomFalkner/text-blaster",
"id": "bf81faa82bf00e0d4d143b3b9aa21904b20c0b07",
"size": "369",
"b... |
package de.dpunkt.myaktion.controller;
import de.dpunkt.myaktion.data.CampaignProducer;
import de.dpunkt.myaktion.model.Campaign;
import de.dpunkt.myaktion.model.Donation;
import de.dpunkt.myaktion.services.DonationService;
import de.dpunkt.myaktion.util.Events.Deleted;
import javax.enterprise.event.Event;
import jav... | {
"content_hash": "9b9c07594e6138a5182452c4de2803cb",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 91,
"avg_line_length": 27.765625,
"alnum_prop": 0.7484524479459763,
"repo_name": "marcusschiesser/my-aktion-2nd",
"id": "4c5128bdf64ef1302e8a021b1bd636f85c94b70b",
"size": ... |
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>HTableInterfaceFactory xref</title>
<link type... | {
"content_hash": "9570dc726539bcaa0c0da47b7c771fba",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 325,
"avg_line_length": 96.80392156862744,
"alnum_prop": 0.6765242049827831,
"repo_name": "scalingdata/Impala",
"id": "64ed747de8343fcbf9843d63ee906991853da58a",
"size": "7... |
For Snow Leopard (which uses [Python 2.6](http://www.python.org/download/releases/2.6/)), you will need the param_parser package:
sudo easy_install argparse
This script should not be run manually, instead, after building as usual:
make deploy
During the process, the disk image window will pop up briefly where th... | {
"content_hash": "44d92b736834c921e6e33d4bd068e10a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 129,
"avg_line_length": 33.92307692307692,
"alnum_prop": 0.7664399092970522,
"repo_name": "habibmasuro/moneta-0.10.0",
"id": "fea18f1b0573a13440b01d774066586e54893257",
"si... |
package LeetcodeTemplate;
import java.util.List;
public class _0119PascalsTriangleII {
public static void main(String[] args) {
System.out.println(getRow(3));
System.out.println(getRow(0));
System.out.println(getRow(1));
}
public static List<Integer> getRow(int rowIndex) {
}
}
| {
"content_hash": "34094dfa72c8cdd9f9f2e6a8b1422f75",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 51,
"avg_line_length": 19.466666666666665,
"alnum_prop": 0.726027397260274,
"repo_name": "darshanhs90/Java-Coding",
"id": "65d183814f030eccdcc63e383d36e7ae1724ac8a",
"size"... |
require 'test_helper'
###
# This class tests communication with OrientDB cluster and load balancing.
class TestClient < Test::Unit::TestCase
PROXY_URL = 'http://bad.domain.com'
###
# Test inintialization of single node.
def test_one_node_initialization
client = Orientdb4r.client :instance => :new
ass... | {
"content_hash": "e41ad7fcc0c9797b3ea637f54e905660",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 102,
"avg_line_length": 33.94047619047619,
"alnum_prop": 0.6762539459838653,
"repo_name": "Headlinerfm/orientdb4r",
"id": "c0ec16e89ce29812b0d89470ec907041bb32e428",
"size"... |
require 'sinatra'
require 'slim'
require 'json'
require_relative 'lib/input-rymer'
require_relative 'lib/addition-freq_dict'
configure do
set :dict, Addition::FreqDict.new('data/freq-dict.pl.bin')
end
configure :test do
disable :logging
end
get '/' do
slim :home
end
get '/results.json' do
logger.info "Looki... | {
"content_hash": "d545f000e345d4c12b948ce1f4a3f049",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 68,
"avg_line_length": 17.62162162162162,
"alnum_prop": 0.7039877300613497,
"repo_name": "mPastuszko/homophones",
"id": "663d304569c12ad2a12a531664e94e653fe12426",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="3dp" />
<stroke
android:width="1dp"
android:color="@color/primary" />
<solid android:color="@color/cancel_btn_selected_color"/>
</s... | {
"content_hash": "e4f36d8dc1dd655b4752b1ed0ef222de",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 65,
"avg_line_length": 36.111111111111114,
"alnum_prop": 0.6553846153846153,
"repo_name": "code2rise/dietplanner",
"id": "76d3f2f6a3dfe03065d4beb5b847ad6a0be6d3d3",
"size": ... |
<?php
namespace Ksoft\Tssaa\WebAppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Ksoft\Tssaa\WebAppBundle\Entity\Member;
class Me... | {
"content_hash": "c6eacce7f2026ee2fdf200df1029032f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 59,
"avg_line_length": 27.346938775510203,
"alnum_prop": 0.6231343283582089,
"repo_name": "nikorova/tssaa",
"id": "216fa019bb5676d83a8ad0a3122361ab6204bc84",
"size": "1340"... |
[](https://travis-ci.org/nebez/gulp-semistandard)
[](http://badge.fury.io/js/gulp-semistandard)
> [Semi-Standard](https://github.com/Flet/semistandard/) linter for gulp
## Information
<tabl... | {
"content_hash": "5e0e2394151f9aa72ce8298bfed65c16",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 115,
"avg_line_length": 18.13978494623656,
"alnum_prop": 0.6822762299940723,
"repo_name": "claydiffrient/gulp-semistandard",
"id": "08426490a146c5460bcbccfe76d355d5edc51c31",... |
@extends('layouts.app')
@section('content')
<section class="content-header">
<h1 class="pull-left">Territories</h1>
@if(Auth::user()->is_admin)
<h1 class="pull-right">
<a class="btn btn-primary pull-right" style="margin-top: -10px;margin-bottom: 5px" href="{!! route('territories.... | {
"content_hash": "5ffab3ce14d0cab156215294bc5cd523",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 148,
"avg_line_length": 27.357142857142858,
"alnum_prop": 0.5169712793733682,
"repo_name": "WoodyNaDobhar/interquest",
"id": "8c0d09cbb1f562dcb46670be16c75e4290be1b52",
"si... |
<?php
/**
* Modest bootstrap hero unit widget.
* Thanks to Christphe Boulain for suggesting content capturing.
* @see <http://twitter.github.com/bootstrap/components.html#typography>
*/
class TbHeroUnit extends CWidget
{
/**
* @var string the heading text.
*/
public $heading;
/**
* @var boolean indicate... | {
"content_hash": "406dc37f9089adf6a5a5bbe0652c21c3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 72,
"avg_line_length": 18.353846153846153,
"alnum_prop": 0.6160938809723386,
"repo_name": "xiaocids/trending_business",
"id": "43337cce55dc651f86b65b512fb5a0342b30eadd",
"s... |
package net.ME1312.SubServers.Client.Bukkit.Network.Packet;
import net.ME1312.Galaxi.Library.Container.ContainedPair;
import net.ME1312.Galaxi.Library.Map.ObjectMap;
import net.ME1312.Galaxi.Library.Util;
import net.ME1312.SubData.Client.Protocol.PacketObjectIn;
import net.ME1312.SubData.Client.Protocol.PacketOut;
imp... | {
"content_hash": "f7cf533142c844bd1b61d5b4a316521d",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 164,
"avg_line_length": 30.977272727272727,
"alnum_prop": 0.7101980924431401,
"repo_name": "ME1312/SubServers-2",
"id": "a8b6272ada0d15f014d19607882ae7a6cebbed4f",
"size": ... |
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="UTF-8">
<title>Goutham Harsha</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<link rel="stylesheet" href="/css/normalize.css">
<link href='https://fonts.googleapis.com/css... | {
"content_hash": "c25df8679d481726dabcbbb592c405a2",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 305,
"avg_line_length": 36.81927710843374,
"alnum_prop": 0.6724476439790575,
"repo_name": "gouthamkgh/gouthamkgh.github.io",
"id": "4043bcb10d538d91f6c078b0459fc72f18f649d0",... |
<html lang="en">
<head>
<title>Tracepoint Packets - Debugging with GDB</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Debugging with GDB">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Remote-Prot... | {
"content_hash": "9bfba0c765bab08c374912d615a2c749",
"timestamp": "",
"source": "github",
"line_count": 458,
"max_line_length": 549,
"avg_line_length": 73.73362445414847,
"alnum_prop": 0.7132662126147468,
"repo_name": "bouffalolab/bl_iot_sdk_matter",
"id": "d365419106c893deb3cbbd2da9ecb26393eed8ee",
... |
const proxy = require('proxy-middleware')
const path = require('path')
const express = require('express')
const cookieParser = require('cookie-parser')
const config = require('../webpack/webpack.config')()
const devhost = process.env.npm_package_config_devhost || 'localhost'
const serverPort = 3000
const webpackPort =... | {
"content_hash": "48f440dec360ce77cf8bc1daeeda67d6",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 105,
"avg_line_length": 30.939393939393938,
"alnum_prop": 0.6797257590597453,
"repo_name": "Drathal/react-playground",
"id": "2d0ff772d72b8c20a4c2bdb3e7354da638cd14d7",
"si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.