text stringlengths 2 1.04M | meta dict |
|---|---|
namespace EPI.Strings
{
/// <summary>
/// Reverse all words in a sentence
/// e.g. "Alice likes Bob" transforms to "Bob likes Alice"
/// Preserve the sequence of whitespaces from the original string
/// e.g. " Hello World " transforms to " World Hello "
/// </summary>
public static class WordsReversal
{
pu... | {
"content_hash": "a246ef0947571f2276e79d49a7888bca",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 89,
"avg_line_length": 25.216666666666665,
"alnum_prop": 0.6311962987442168,
"repo_name": "dipakboyed/epibook.github.io.Puzzles",
"id": "ae3c1e29db21917022c13ce0fb494cfa81770... |
title: Daily Lesson
date: 12/06/2017
---
### <center>We are working on this lesson</center>
<center>Please come back later</center> | {
"content_hash": "be56ef648b4171c241347bc4b5931ca6",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 50,
"avg_line_length": 22.5,
"alnum_prop": 0.7037037037037037,
"repo_name": "imasaru/sabbath-school-lessons",
"id": "4c949dff500ec273cb642a4f72cfebdcf3d2c7b9",
"size": "139"... |
var registerGeometry = require('../core/geometry').registerGeometry;
var THREE = require('../lib/three');
registerGeometry('tetrahedron', {
schema: {
detail: {default: 0, min: 0, max: 5, type: 'int'},
radius: {default: 1, min: 0}
},
init: function (data) {
this.geometry = new THREE.TetrahedronGeomet... | {
"content_hash": "244f0ab2cab2d992baf78b899e0f79b2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 76,
"avg_line_length": 27.53846153846154,
"alnum_prop": 0.6480446927374302,
"repo_name": "dmarcos/aframe",
"id": "829ae5455eac5d0eda7b4f20daeefdc17937e44c",
"size": "358",
... |
package nu.nerd.beastmaster.zones;
import java.util.ArrayList;
import java.util.List;
import nu.nerd.beastmaster.zones.nodes.AndExpression;
import nu.nerd.beastmaster.zones.nodes.NotExpression;
import nu.nerd.beastmaster.zones.nodes.NumberExpression;
import nu.nerd.beastmaster.zones.nodes.OrExpression;
import nu.nerd... | {
"content_hash": "2d2d65c5f1d014230d2e09aba0e6fb89",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 142,
"avg_line_length": 34.51724137931034,
"alnum_prop": 0.49009324009324007,
"repo_name": "NerdNu/BeastMaster",
"id": "b7fcecbf3b3d6ff909c94dea83f1a3514aafe721",
"size": ... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for RxJS/dist/cjs/operators/zip-static.js</title>
<meta charset="utf-8">
<link rel="stylesheet" href="../../../../prettify.css">
<link rel="stylesheet" href="../../../../base.css">
<style type='text/css'>
div.coverage-summar... | {
"content_hash": "569fd54a165996252b21d7a823a8e229",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 174,
"avg_line_length": 34.483333333333334,
"alnum_prop": 0.6483808603189947,
"repo_name": "iproduct/ipt-angular2-reactive-websocket-demo",
"id": "84738c9777f15a2e7a7faa3477... |
/** @file
* @brief Generic data compression/decompression handling (RLE) implementation
*/
/** @addtogroup iolib_he
* @{
*/
#ifndef _IOLIB_HELIUM_MEMORY_COMPRESSION_H_
#define _IOLIB_HELIUM_MEMORY_COMPRESSION_H_
#include "he.memory.dynbuff.h"
/// Generic data compression/decompression handling (R... | {
"content_hash": "9cb84660d26cbb67fc0a1b2c9c0ec18b",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 78,
"avg_line_length": 26.84,
"alnum_prop": 0.7078986587183308,
"repo_name": "Reynmar/pocketheroes",
"id": "ac19d0680af7ff7a1b0f319df73c6f10778622b7",
"size": "1449",
"bi... |
layout: default
title: ICCSTE'19 - 4th International Conference on Civil, Structural and Transportation Engineering (ICCSTE)
meta: 4th International Conference on Civil, Structural and Transportation Engineering (ICCSTE 2019). This conference covers different topics such as Geotechnical Research, Structural Engineering... | {
"content_hash": "0c237d2ae04558b478ba3d52d1b13a65",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 627,
"avg_line_length": 76.07142857142857,
"alnum_prop": 0.6940532081377152,
"repo_name": "emdsgn/iccste",
"id": "0668b5a994e45a6aeee370365093a058091ceb17",
"size": "6394",... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Header <boost/convert/base.hpp></title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../... | {
"content_hash": "439699a799262e136f761a5d229d82c4",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 510,
"avg_line_length": 81.45098039215686,
"alnum_prop": 0.61651420317766,
"repo_name": "nawawi/poedit",
"id": "249c6de99ece73252c3292da0ea3439aa86082e0",
"size": "4154",
... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/**
File Name: lexica... | {
"content_hash": "61d044c44a49aff41d4ea0369e691495",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 79,
"avg_line_length": 24.72340425531915,
"alnum_prop": 0.6376936316695353,
"repo_name": "sergecodd/FireFox-OS",
"id": "94ae2e72faf5c7cd1f8517c5662e350474045b67",
"size": "... |
<div class="dialogwrapper label">
<div class="dialogheader">
<h3>Manage Users</h3>
<div class="line-bottom line"></div>
</div>
<div class="dialogscroll">
<div class="nano">
<div class="nano-content">
<table class="admintable" ng-if="!$ctrl.showNewUser && !$ctrl.editUser">
... | {
"content_hash": "0353eacc4e09d5f718075db0cf661b19",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 195,
"avg_line_length": 46.98850574712644,
"alnum_prop": 0.4963307240704501,
"repo_name": "i3mainz/labels",
"id": "56dbd428628fc152356b71000f71331298d2a44a",
"size": "4088"... |
import * as $G from '../../src/core/Graph';
import * as $N from '../../src/core/Nodes';
import * as $J from '../../src/io/input/JSONInput';
import * as $C from '../../src/io/input/CSVInput';
import * as $BF from '../../src/search/BellmanFord';
import { Logger } from '../../src/utils/logger';
const logger = new Logger(... | {
"content_hash": "fc16f2240f6b37d51e0db5bf6c1ec41f",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 145,
"avg_line_length": 35.84126984126984,
"alnum_prop": 0.6418659580749926,
"repo_name": "cassinius/Graphinius",
"id": "e5593c22a4477deb61aa19bf445e01f83bb9de3b",
"size":... |
package org.killbill.billing.server.log.obfuscators;
import java.util.Collection;
import java.util.LinkedList;
import java.util.regex.Pattern;
import ch.qos.logback.classic.spi.ILoggingEvent;
import com.google.common.collect.ImmutableList;
public class LoggingFilterObfuscator extends Obfuscator {
private stat... | {
"content_hash": "c8a04230cd35ca5d33dd525f45535a69",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 87,
"avg_line_length": 28.785714285714285,
"alnum_prop": 0.6898263027295285,
"repo_name": "marksimu/killbill",
"id": "536682f412be13aa033d52e92008c93aa3376805",
"size": "18... |
typedef std::string String;
#else
#if PLATFORM_ID == 88
#include "Arduino.h"
#else
#include <WString.h>
#endif
#endif
| {
"content_hash": "0cc8093caa3004e34243b68699f49660",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 27,
"avg_line_length": 7.875,
"alnum_prop": 0.6666666666666666,
"repo_name": "manGoweb/BLEDataTransfer",
"id": "b6b4379ed39a313713bcb78ad4ea07ffd88160c5",
"size": "349",
... |
const DrawCard = require('../../drawcard.js');
class WalderFrey extends DrawCard {
setupCardAbilities(ability) {
this.persistentEffect({
condition: () => this.game.currentChallenge && this.game.currentChallenge.isAttacking(this),
match: card => card !== this && card.hasTrait('House ... | {
"content_hash": "77e420cc48ac70110e3eafd9b5b28a06",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 106,
"avg_line_length": 33.46666666666667,
"alnum_prop": 0.6374501992031872,
"repo_name": "cryogen/gameteki",
"id": "231eaa2e4237e6e57e576f05126765a4e4e4c5ba",
"size": "502... |
<!doctype html>
<html>
<head>
<style>
h4 {font-weight:bold;}
</style>
</head>
<body>
<h4>
Versions
</h4>
<p>
blinkbox Books for iOS</br>
Version: %@</br>
%@
©Copyright 2014 blinkbox Books Ltd. All Rights Reserved.
<... | {
"content_hash": "4564e5cb0b0d7dee99e39261801f2b4e",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 347,
"avg_line_length": 27,
"alnum_prop": 0.6265938069216758,
"repo_name": "blinkboxbooks/ios-app",
"id": "b402cbb9e35d5bb5870ea8a4eabeb75b1e301f48",
"size": "1647",
"bin... |
package com.testdemo.entity;
import java.io.Serializable;
/**
* @AUTHOR:niejq@1dian.la
* @DATETIME:2017 05 02 13:45
* @DESC:
*/
public class PhoneInfo implements Serializable{
private String phone;
private String name;
public PhoneInfo(String phone, String name) {
this.phone = phone;
... | {
"content_hash": "1476d463c8a5a9ea9f119318f46923e4",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 49,
"avg_line_length": 18.651162790697676,
"alnum_prop": 0.5386533665835411,
"repo_name": "niejuqian/TestDemo",
"id": "4bdf5cfdd54ba6b0c0b9757d12b7d1a7718e20be",
"size": "8... |
package com.oracle.ptsdemo.healthcare.business.datasync.dynamic;
/**
*/
public class PharmacyMetaInfo extends MetaInfo {
/**
*/
public PharmacyMetaInfo() {
super();
}
}
| {
"content_hash": "1d50a500122ac8f71deac4befa0feb33",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 64,
"avg_line_length": 17.818181818181817,
"alnum_prop": 0.6377551020408163,
"repo_name": "delkyd/Oracle-Cloud",
"id": "2349c2db44ed4ecd725168702185dcd80502c6e6",
"size": "... |
//---------------------------------------------------------------------------
//
// Copyright (c) 2008-2010 AlazarTech, Inc.
//
// AlazarTech, Inc. licenses this software under specific terms and
// conditions. Use of any of the software or derviatives thereof in any
// product without an AlazarTech digitizer board i... | {
"content_hash": "ab2aaef7f87cd411cc7a0cc830dae0d8",
"timestamp": "",
"source": "github",
"line_count": 524,
"max_line_length": 151,
"avg_line_length": 41.770992366412216,
"alnum_prop": 0.49122807017543857,
"repo_name": "TeravoxelTwoPhotonTomography/fetch",
"id": "3fb7d5c7af3f3405edaee1d0d7d680e8bd8c... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// Ecma International makes this code available under the terms and conditions set
// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
// "Use Terms"). Any redistribution of this code must retain the above
// copyright and this n... | {
"content_hash": "89108379affbd145d835d02f408f025a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 82,
"avg_line_length": 34.107142857142854,
"alnum_prop": 0.6764397905759162,
"repo_name": "PiotrDabkowski/Js2Py",
"id": "dd9e75e157de92f0c2f4ea47ffb5fe81e510d6f2",
"size": ... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Docs for page OutputByteStream.php</title>
<link rel="stylesheet" href="../../... | {
"content_hash": "9a7ca5bc8ffca27827f0b9fd68ef3809",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 135,
"avg_line_length": 31.786585365853657,
"alnum_prop": 0.604642240552465,
"repo_name": "troikaitsulutions/templeadvisor",
"id": "57d0189474a32f235419460e626fde40e5d2cd5b"... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Ceské Houby 3: 624 (1921)
#### Original name
Leptonia decurrens Velen.
### Remarks
null | {
"content_hash": "a0578d5b4d3876a045ff0ba62dc47d47",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 25,
"avg_line_length": 11.615384615384615,
"alnum_prop": 0.7019867549668874,
"repo_name": "mdoering/backbone",
"id": "4ca69c4ed5eb44f9dad6dfec17613081c65935f3",
"size": "20... |
"use strict";
var Ember = require("ember")["default"] || require("ember");
var computed = require("ember").computed;
var typeOf = require("ember").typeOf;
var inspect = require("ember").inspect;
var on = require("ember").on;
var capitalCamelize = require("./utils").capitalCamelize;
var contains = require("./utils").con... | {
"content_hash": "6b757ce4c8199572256ebc146657430d",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 87,
"avg_line_length": 26.6203007518797,
"alnum_prop": 0.6316904392035023,
"repo_name": "greyhwndz/ember-fsm",
"id": "82ff05a4918b75d8a1ccd67e6ed6f0840769a04d",
"size": "7... |
import mocha from 'mocha'
import chai from 'chai'
import expect from 'expect'
import { findIndex } from '../src/findIndex'
describe( 'findIndex', () => {
it( 'returns -1 when no values pass the truth test', () => {
const isPrime = (number) => {
let start = 2;
while(start <= Math.sqrt(number)) {
if ... | {
"content_hash": "d1cd7fb370708353978ff603da12e1f4",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 80,
"avg_line_length": 21.736842105263158,
"alnum_prop": 0.5786924939467313,
"repo_name": "yaseenagag/AwesomeLibrary-",
"id": "bad3bb577305590da55a10ee60f61d0b328a0aea",
"s... |
package pipelines.images.cifar
import scala.reflect.ClassTag
import breeze.linalg._
import breeze.numerics._
import org.apache.spark.{SparkConf, SparkContext}
import org.apache.spark.rdd.RDD
import scopt.OptionParser
import evaluation.{AugmentedExamplesEvaluator, MulticlassClassifierEvaluator}
import loaders.Cifar... | {
"content_hash": "979cdbab55a7356162e0c0a30cea8c16",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 114,
"avg_line_length": 42.11602209944751,
"alnum_prop": 0.6972320608684245,
"repo_name": "tomerk/keystone",
"id": "2c4261ce2c5b5c44b45db43db2c50d9dc6903827",
"size": "762... |
DO LANGUAGE plpgsql $$
BEGIN
IF (SELECT COUNT(id)::int FROM departement WHERE nom = 'testing') = 0 THEN
INSERT INTO departement (nom, numero) VALUES ('testing', 999);
RAISE NOTICE 'departement testing has been inserted';
END IF;
END;
$$;
DO LANGUAGE plpgsql $$
DECLA... | {
"content_hash": "ed6f2ecb201f44b2cc580cc9dd93e8db",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 262,
"avg_line_length": 44,
"alnum_prop": 0.5928853754940712,
"repo_name": "openmaraude/fab_taxi",
"id": "9244f2833e220ad89fa4b3c4d7e86ec007142138",
"size": "1012",
"bina... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1">
<context>
<name>QsciCommand</name>
<message>
<location filename="qscicommandset.cpp" line="44"/>
<source>Move down one line</source>
<translation>Mover uma linha para baixo</translation>
</message>
<message>
... | {
"content_hash": "d2132642768b0719ad4303238ee06019",
"timestamp": "",
"source": "github",
"line_count": 3612,
"max_line_length": 112,
"avg_line_length": 38.03045404208195,
"alnum_prop": 0.6405587991205975,
"repo_name": "ChanJLee/ChanIDE",
"id": "5538ae177c8ce8aeba07e9920823c767e48842a5",
"size": "1... |
import React from 'react';
import { GeneralPropTypes, FlexboxPropTypes, createClassName, generalClassNames, removeProps, objectKeys } from '../utils';
/**
* Thumbnail component.
* http://foundation.zurb.com/sites/docs/switch.html
*
* @param {Object} props
* @returns {Object}
*/
export const Thumbnail = (props) =... | {
"content_hash": "2e97556f291ef0cad32e3b4316c89fc6",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 123,
"avg_line_length": 25,
"alnum_prop": 0.703076923076923,
"repo_name": "nordsoftware/react-foundation",
"id": "45e5134c8507f2303011444390dde6f803cd5050",
"size": "1300",... |
// @formatter:off
package com.microsoft.alm.visualstudio.services.security;
/**
* Represents a request to rename a token in a security namespace.
*
*/
public class TokenRename {
/**
* True if the existing token should be preserved; false if it should be deleted.
*/
private boolean copy;
/*... | {
"content_hash": "99e2966d12667b5b670673eaf46c2b4e",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 109,
"avg_line_length": 22.541176470588237,
"alnum_prop": 0.6122129436325678,
"repo_name": "Microsoft/vso-httpclient-java",
"id": "87bb209bf30928033956cc409a89b93757d59e41",
... |
const {
assert
} = require('chai');
const hooksCommon = require('../../lib/services');
var hook;
describe('services setSlug', () => {
beforeEach(() => {
hook = { type: 'before', method: 'create', params: { provider: 'rest', query: { a: 'a' } } };
});
describe('ignore feathers-socketio & feathers-rest cl... | {
"content_hash": "b1c3c90dcd0205415a651cdb9d05e731",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 97,
"avg_line_length": 29.672727272727272,
"alnum_prop": 0.5649509803921569,
"repo_name": "feathersjs/feathers-hooks-common",
"id": "0b0d8c8924e57854d329097119b4fbf3e56e29bb"... |
package MIP::Recipes::Download::Cadd_to_vcf_header;
use 5.026;
use Carp;
use charnames qw{ :full :short };
use English qw{ -no_match_vars };
use File::Basename qw{ dirname };
use File::Spec::Functions qw{ catfile };
use open qw{ :encoding(UTF-8) :std };
use Params::Check qw{ allow check last_error };
use utf8;
use war... | {
"content_hash": "7abf4156b8ba307e86e3737756de966a",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 106,
"avg_line_length": 31.17766497461929,
"alnum_prop": 0.4903940084662976,
"repo_name": "henrikstranneheim/MIP",
"id": "5ed4cc3b8bb9cdfa61d67bd4c3ce852fcee9e249",
"size"... |
package com.example.weizifen.coolweather;
import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
public class Launch extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(... | {
"content_hash": "d2e8fee303c754ef8642e69b42cc1c43",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 73,
"avg_line_length": 29.82608695652174,
"alnum_prop": 0.6516034985422741,
"repo_name": "weizifen/cool-weather",
"id": "3d05a2ef8f69f55c3e53221d1dc622192b6841ff",
"size": ... |
/**
* Contains the {@link com.hazelcast.spi.impl.operationservice.InternalOperationService} API.
*/
package com.hazelcast.spi.impl.operationservice;
| {
"content_hash": "c8c69f39448e95d99d526de81bb33d5b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 93,
"avg_line_length": 25.5,
"alnum_prop": 0.7777777777777778,
"repo_name": "tombujok/hazelcast",
"id": "3dd47b7348bfc39626b48121e848d76bedffb4fd",
"size": "778",
"binary"... |
<html><body>
<h4>Windows 10 x64 (18363.720)</h4><br>
<h2>wil_details_CachedHasNotificationState</h2>
<font face="arial"> wil_details_CachedHasNotificationState_Unknown = 0n0<br>
wil_details_CachedHasNotificationState_DoesNotHaveNotifications = 0n1<br>
wil_details_CachedHasNotificationState_HasNotification ... | {
"content_hash": "f381339b76b6631f6703b23e92136a7d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 78,
"avg_line_length": 50.285714285714285,
"alnum_prop": 0.7613636363636364,
"repo_name": "epikcraw/ggool",
"id": "efb41e15fae00d880b9054acd2ed82c5b41226c1",
"size": "352",
... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/policy/dlp/dlp_content_manager.h"
#include <memory>
#include <string>
#include <vector>
#include "ash/public/cpp/privacy_sc... | {
"content_hash": "74b7a91d63e2fc977b3bd69a31b8c029",
"timestamp": "",
"source": "github",
"line_count": 924,
"max_line_length": 84,
"avg_line_length": 38.234848484848484,
"alnum_prop": 0.719861869851963,
"repo_name": "ric2b/Vivaldi-browser",
"id": "543f56d19795974c84e76b1afd5d0fafd930c276",
"size":... |
title: "Layout: Header Video"
header:
video:
id: XsxDH4HcOWA
provider: youtube
categories:
- Layout
- Uncategorized
tags:
- video
- layout
---
This post should display a **header with a responsive video**, if the theme supports it.
## Settings
| Parameter | Required | Description |
|----------... | {
"content_hash": "69f1cbdbeb969dc8d90f8f68f92b4674",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 184,
"avg_line_length": 23.610169491525422,
"alnum_prop": 0.6525484565685571,
"repo_name": "fkkmemi/fkkmemi.github.io",
"id": "9286d9799a60be050c2bf291919861e3bf956880",
"s... |
package org.jtheque.xml.utils.javax;
import org.jtheque.xml.utils.NodeSaver;
import org.jtheque.xml.utils.XMLWriter;
import org.jtheque.xml.utils.Node;
import org.jtheque.xml.utils.NodeAttribute;
/**
* A Node Saver implementation with Java.
*
* @author Baptiste Wicht
*/
public final class JavaxNod... | {
"content_hash": "fd8752bb79b17032aa75b9785057f67f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 86,
"avg_line_length": 27.82608695652174,
"alnum_prop": 0.58984375,
"repo_name": "wichtounet/jtheque-xml-utils",
"id": "dd83e4775718318e45ae464690be3b040399968a",
"size": "... |
{-# LANGUAGE CPP, TemplateHaskell #-}
-----------------------------------------------------------------------------
--
-- Module : Main
-- Copyright : John Lång
-- License : The MIT License
--
-- Maintainer :
-- Stability :
-- Portability :
--
-- |
--
---------------------------------------------------... | {
"content_hash": "113b7d120de740ac1b180a241ca9671f",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 90,
"avg_line_length": 25.730337078651687,
"alnum_prop": 0.6043668122270742,
"repo_name": "jllang/Combinator",
"id": "fd3b7e449b2c8f7a2c2f4764b9777db2d7f7599f",
"size": "22... |
using System;
using System.Collections;
using System.Threading;
using Alachisoft.NCache.Runtime;
using Alachisoft.NCache.Web.Caching;
using Factory = Alachisoft.NCache.Web.Caching.NCache;
namespace Alachisoft.NCache.Tools.StressTestTool
{
/// <summary>
/// ThreadTest class, that contains all the logic use... | {
"content_hash": "d558948a6a6e629e7db6202ea523244a",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 249,
"avg_line_length": 37.38492063492063,
"alnum_prop": 0.5023882814987793,
"repo_name": "modulexcite/NCache",
"id": "14cba410b633aa84e1f9206c56053744e83f8c4d",
"size": "... |
var utils = require('../../e2e/utils')
describe('angular.simple_app', function () {
beforeEach(utils.verifyNoBrowserErrors)
it('should have correct number of transactions and traces', function (done) {
browser.url('/angular/index.e2e.html')
.executeAsync(function (cb) {
window.e2eUtils.runFixtur... | {
"content_hash": "6e39f9ad26821d1a85a5a21b53cc87ca",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 123,
"avg_line_length": 33.91463414634146,
"alnum_prop": 0.6163250629270047,
"repo_name": "jahtalab/opbeat-js",
"id": "374571f74cc2f12c075023148d230ec54f9dc6d6",
"size": "2... |
<?php
namespace app\controllers;
use Yii;
use app\models\SerieClassLink;
use app\models\SerieClassLinkSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* SerieClassLinkController implements the CRUD actions for SerieClassLink model.
*/
class SerieClassLinkController... | {
"content_hash": "7dbcac9b1febba984e02e08e663a6137",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 85,
"avg_line_length": 26.43801652892562,
"alnum_prop": 0.5470459518599562,
"repo_name": "dyarob/diane_yii2",
"id": "6e6e01386a62af4bc928a3eaafa0a774e4d40edb",
"size": "31... |
export default class TodoService {
constructor($http) {
this.$http = $http;
}
getAll() {
return this.$http.get('https://jsonplaceholder.typicode.com/todos');
}
} | {
"content_hash": "0e4007103945ebb2c9ec93979416176f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 76,
"avg_line_length": 22.444444444444443,
"alnum_prop": 0.5693069306930693,
"repo_name": "giovannigiordano/angular-electron-boilerplate",
"id": "2230a0a96f117fe4461b7e6e4222f... |
<div id="view">
<img id="button_list" src="apps/app_image/images/list.svg" class="image" onclick="app_image.triggerList();" />
<p>Aucune image à afficher pour le moment.</p>
</div>
<div id="list" style="display: none;">
<img src="apps/app_image/images/arrow.svg" class="arrow" />
<div id="cont... | {
"content_hash": "d178eee5109ca13054dcf5e3cd4a45e1",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 142,
"avg_line_length": 40.57142857142857,
"alnum_prop": 0.6244131455399061,
"repo_name": "Ne0blast/cosmos",
"id": "57087568bc82af0f1a542ce670e234735c88fc58",
"size": "856"... |
function [w,b] = shooting(x,y, reallambda)
[nd, dim] = size(x);
w=zeros(dim,1);
b = 0;
residuals = y;
lambda = 0.001;
for j = 1:1000
a=randperm(dim);
for i = a
% solve the local squared loss minimization step
% first, my contribution to the 'y's are
localcontribution = w(i) * x(:,i);
... | {
"content_hash": "368e3e65e354d176923c1d4bab2444b7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 70,
"avg_line_length": 29.322580645161292,
"alnum_prop": 0.5302530253025303,
"repo_name": "ekoontz/graphlab",
"id": "ebe4abdb1ef85de9cf8209cd52ed576fbddf3035",
"size": "909... |
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.iluwatar</groupId>
<... | {
"content_hash": "48cffa01be8cfdd8403613cf5e6e071d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 149,
"avg_line_length": 34.111111111111114,
"alnum_prop": 0.6758957654723127,
"repo_name": "john0xff/java-design-patterns",
"id": "8afae338cd1c4da5262652e60a32ad6280d4b944",
... |
'use strict';
var models = require('./index');
var util = require('util');
/**
* @class
* Initializes a new instance of the Salmon class.
* @constructor
* @member {string} [location]
*
* @member {boolean} [iswild]
*
*/
function Salmon() {
Salmon['super_'].call(this);
}
util.inherits(Salmon, models['Fi... | {
"content_hash": "ec4632fbe908616d5116ffe95f4bcc20",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 55,
"avg_line_length": 19.936842105263157,
"alnum_prop": 0.44878563885955647,
"repo_name": "jkonecki/autorest",
"id": "e1ead6a5cb87936b04564f3d6729d396ad06bfdc",
"size": "2... |
package graphql.schema;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import static graphql.Assert.assertNotNull;
public class GraphQLInterfaceType implements GraphQLType, GraphQLOutputType, GraphQLFieldsContainer, GraphQLCompositeType, GraphQLUnmodifiedTyp... | {
"content_hash": "30bf4c6b8ab96628dea00f8b193d6399",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 167,
"avg_line_length": 30.144144144144143,
"alnum_prop": 0.6583980872683801,
"repo_name": "BenjaminMalley/graphql-java",
"id": "07c5bd276cb32a418776e0050d2f6ce1fcdda798",
... |
package org.hawkular.client.android.adapter;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import java.util.ArrayList;
import java.util.List;
import org.hawkular.client.android.backend.model.Alert;
import org.hawkular.client.android.backend.model.Note;
import org.hawkular.client... | {
"content_hash": "2c05d3493143cd8198ef27331e6e8877",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 99,
"avg_line_length": 27.93975903614458,
"alnum_prop": 0.6722725312634756,
"repo_name": "sauravvishal8797/hawkular-android-client",
"id": "bf9c7711695504d02703ebf06a6ba9db05... |
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>openshift on Federico Ragona</title>
<link>https://fedragon.github.io/tags/openshift/</link>
<description>Recent content in openshift on Federico Ragona</description>
<... | {
"content_hash": "83a24ae57a7f62645f99684e59a596e6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 454,
"avg_line_length": 60.32,
"alnum_prop": 0.71684350132626,
"repo_name": "fedragon/fedragon.github.io",
"id": "71c23fccdade2d2d48a7cf24270badecdc9ed6da",
"size": "1508",... |
int
main (int argc, char** argv)
{
// Load input file into a PointCloud<T> with an appropriate type
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ> ());
// Load bun0.pcd -- should be available with the PCL archive in test
pcl::io::loadPCDFile ("bun0.pcd", *cloud);
// Create a K... | {
"content_hash": "967358a05e29617eb790cc99386db518",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 88,
"avg_line_length": 31.612903225806452,
"alnum_prop": 0.7,
"repo_name": "drmateo/pcl",
"id": "0efbca9c30b9685450dba1932830a4c143ebeeb5",
"size": "1103",
"binary": fals... |
<div class="commune_descr limited">
<p>
Marigné-Peuton est
un village
situé dans le département de Mayenne en Pays de la Loire. Elle comptait 543 habitants en 2008.</p>
<p>La commune compte quelques équipements, elle dispose, entre autres, de un terrain de tennis, un terrain de sport et un équipement d... | {
"content_hash": "edc83e0fa04eaa39e4eeb98859aa5a87",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 240,
"avg_line_length": 87.10526315789474,
"alnum_prop": 0.7341389728096677,
"repo_name": "donaldinou/frontend",
"id": "299cb94cf1e56f93da5cbde072ff76cd5958903b",
"size": "... |
// A good bit of this code was derived from the Three20 project
// and was customized to work inside NclApp
//
// All modifications by NclApp are licensed under
// the Apache License, Version 2.0
//
//
// Copyright 2009 Facebook
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not us... | {
"content_hash": "1fc7b3b91457c05a69160963d5bea112",
"timestamp": "",
"source": "github",
"line_count": 941,
"max_line_length": 144,
"avg_line_length": 25.109458023379382,
"alnum_prop": 0.7173269002877941,
"repo_name": "philellwood/nclapp",
"id": "0c21a388d411621941d7fd0d1de250fe787fb86c",
"size": ... |
filenames: Implements UFO User Name to File Name Algorithm
##########################################################
.. automodule:: fontTools.misc.filenames
:members: userNameToFileName
:undoc-members:
| {
"content_hash": "835e616fb9f637df53f203b9d0e8c0b6",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 58,
"avg_line_length": 35.166666666666664,
"alnum_prop": 0.5592417061611374,
"repo_name": "fonttools/fonttools",
"id": "2ebef3535bae1654a5c807e8cbce06a3e76cbaea",
"size": "2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MvcCore.Services
{
public interface ISmsSender
{
Task SendSmsAsync(string number, string message);
}
}
| {
"content_hash": "886b075cd68229d4bdc3fdf39f79f218",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 57,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.7327586206896551,
"repo_name": "haoyk/IdentityServer4.Samples",
"id": "2e1bba3fce28fdb7388916b9d50ef22550bdccab",
... |
package miner
import (
"errors"
"fmt"
"sync"
"time"
"github.com/NebulousLabs/Sia/build"
"github.com/NebulousLabs/Sia/crypto"
"github.com/NebulousLabs/Sia/modules"
"github.com/NebulousLabs/Sia/persist"
siasync "github.com/NebulousLabs/Sia/sync"
"github.com/NebulousLabs/Sia/types"
)
var (
errNilCS = err... | {
"content_hash": "bff4eb016e17693344f9adcc18000ff1",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 147,
"avg_line_length": 32.2491103202847,
"alnum_prop": 0.7019421761200618,
"repo_name": "MrStrong/Sia",
"id": "2bfb4583ca66e26a2b93213fd145d7876e39349b",
"size": "9062",
... |
package com.navigation.reactnative;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.ReadableMap;
import com.facebook.react.common.MapBuilder;
import com.facebook.react.uimanager.ThemedReactContext;
import com.facebook.react.uimanager... | {
"content_hash": "f46aa3e3476842ef8ec475f6d37d7b6f",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 91,
"avg_line_length": 28.97345132743363,
"alnum_prop": 0.6908979841172878,
"repo_name": "grahammendick/navigation",
"id": "09ccbf4fb990bb7e40a593f6f16338e5638969fe",
"siz... |
#include <aws/appstream/model/DeleteDirectoryConfigResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::AppStream::Model;
using namespace A... | {
"content_hash": "d9379123ca8e98c5fbf0f4dc31a8b133",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 122,
"avg_line_length": 24.64516129032258,
"alnum_prop": 0.7997382198952879,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "6db8c2d292c135295d4a10b2c4c45ead9a7562d2",
"size":... |
import argparse
import json
import os
import re
import urllib.request
_REPO_URL = 'https://dl.google.com/dl/android/maven2'
_GROUP_NAME = 'com/android/support'
_MODULE_NAME = 'cardview-v7'
_FILE_EXT = 'aar'
_OVERRIDE_LATEST = None
_PATCH_VERSION = 'cr1'
def do_latest():
if _OVERRIDE_LATEST is not None:
p... | {
"content_hash": "41213d5af9247549d31a80d3498dc0a9",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 79,
"avg_line_length": 31.52857142857143,
"alnum_prop": 0.594019030357952,
"repo_name": "scheib/chromium",
"id": "7be954e2a54027924b05b8fc34ccb38fd3b78927",
"size": "2496",... |
namespace v8 {
namespace internal {
// This macro provides a platform independent use of sscanf. The reason for
// SScanF not being implemented in a platform independent way through
// ::v8::internal::OS in the same way as SNPrintF is that the
// Windows C Run-Time Library does not provide vsscanf.
#define SScanF ssca... | {
"content_hash": "b4eaeabb47ccbb8a543409ed45f0f36e",
"timestamp": "",
"source": "github",
"line_count": 3393,
"max_line_length": 80,
"avg_line_length": 32.249336870026525,
"alnum_prop": 0.5611485807241688,
"repo_name": "mogoweb/webkit_for_android5.1",
"id": "629c209ea2f30a3949ad123e51315d0e80bff0f3",... |
import unittest
import re
import threading
import time
from selenium import webdriver
from app import create_app, db
from app.models import User, Role, Post, Permission
class SeleniumTestCase(unittest.TestCase):
client = None
@classmethod
def setUpClass(cls):
#start Chrome
try:
... | {
"content_hash": "632ac9e263914566b9d339b791aae998",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 136,
"avg_line_length": 32.47945205479452,
"alnum_prop": 0.5845634753268663,
"repo_name": "delitamakanda/socialite",
"id": "fb6744a5d2ba9d535c0a4160a9e2d490058b33db",
"size... |
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceManager;
namespace Azure.ResourceManager.CustomerInsights
{
/// <summary>
/// A Class representing a RelationshipResourceFormat along wit... | {
"content_hash": "7ba5e5e4694012acc5b346cc75d29189",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 488,
"avg_line_length": 67.85123966942149,
"alnum_prop": 0.7004263093788063,
"repo_name": "Azure/azure-sdk-for-net",
"id": "f0d412a00a008d183c3940f06051c35fde337f59",
"siz... |
package com.google.cloud.vmmigration.v1.samples;
// [START vmmigration_v1_generated_vmmigrationclient_listcutoverjobs_paged_async]
import com.google.cloud.vmmigration.v1.CutoverJob;
import com.google.cloud.vmmigration.v1.ListCutoverJobsRequest;
import com.google.cloud.vmmigration.v1.ListCutoverJobsResponse;
import c... | {
"content_hash": "579d08f82ea366cc9184d889a0920820",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 100,
"avg_line_length": 42.15384615384615,
"alnum_prop": 0.6952554744525548,
"repo_name": "googleapis/java-vmmigration",
"id": "e720f9d3f7de9f74719599cb7422f7935a1d6b19",
"... |
package client.app.products.tasks;
import java.awt.Color;
import share.app.brands.Brand;
import share.app.sections.Section;
import client.app.brands.tasks.SearchBrand;
import client.app.products.gui.def.GUIEditProduct;
import client.app.sections.tasks.SearchSection;
import client.core.gui.taks.Activity;
pub... | {
"content_hash": "166bdcce9a28481caa2cec2ff63841e3",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 74,
"avg_line_length": 25.058823529411764,
"alnum_prop": 0.6887994634473508,
"repo_name": "vndly/saas",
"id": "0774a93b826f9784ce1d582e05d9f843ce2662cf",
"size": "2982",
... |
<?xml version="1.0"?>
<!-- vim: set expandtab softtabstop=2 shiftwidth=2 tabstop=8: -->
<ruleset name="Lousson">
<description>The Lousson Project's coding standard</description>
<!--
The Lousson Project's coding standard derives directly from PSR1
(https://github.com/php-fig/fig-standards) -->
<rule ref... | {
"content_hash": "c1ed4612a6f1f73dd949a872f94c5546",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 73,
"avg_line_length": 38.328947368421055,
"alnum_prop": 0.7143837967730862,
"repo_name": "lousson/sniffs",
"id": "bc23b10a0d156e4a86570fc62ea649bf2f8b49b1",
"size": "5826... |
//-----------------------------------------------------------------------------
//Copyright (c) 2014 Peter Lama
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to deal
//in the Software without restriction, includi... | {
"content_hash": "4dcb5f00d9525c9776019e5224ae3fc9",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 80,
"avg_line_length": 28.7,
"alnum_prop": 0.6699850671976108,
"repo_name": "peterl94/SMeshViewer",
"id": "f563ec1cdc71083756f1ba314a307518ef65cb27",
"size": "2009",
"bin... |
/**@file
*
* @defgroup nrf_dfu_transport DFU transport API.
* @{
*
* @brief DFU transport module interface.
*/
#ifndef DFU_TRANSPORT_H__
#define DFU_TRANSPORT_H__
#include <stdint.h>
/**@brief Function for starting the update of Device Firmware.
*
* @retval NRF_SUCCESS Operation success.
*/
uin... | {
"content_hash": "4578ffbfe2b34dcb6dc9a3e911e86e03",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 62,
"avg_line_length": 18.033333333333335,
"alnum_prop": 0.6635859519408502,
"repo_name": "kevin-ledinh/banana-tree",
"id": "130beb3800d06ca01ffa18170c202aa9b16d515f",
"siz... |
@interface MLTableViewController : MLViewController <UITableViewDelegate, UITableViewDataSource>
@property (nonatomic, readwrite, strong) IBOutlet UITableView * tableView;
@property (nonatomic, readwrite, assign) BOOL clearsSelectionOnViewWillAppear;
@property (nonatomic, readwrite, assign) BOOL clearsSelectionOnReloa... | {
"content_hash": "4fd90b4d073a3c1f8bf3a94d66b61a17",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 96,
"avg_line_length": 33.41379310344828,
"alnum_prop": 0.8163054695562435,
"repo_name": "achimk/MLOperations",
"id": "1cee81c9a0d525271d77e00b1ba61702a137b2d5",
"size": "1... |
package com.github.dannil.scbjavaclient.client.businessactivities.database;
import java.util.Collection;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import com.github.dannil.scbjavaclient.client.AbstractClient;
import com.github.dannil.scbjavaclient.communication.... | {
"content_hash": "6e878f0a33f13418491ef951f0f287b6",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 110,
"avg_line_length": 34.07627118644068,
"alnum_prop": 0.6652573986570505,
"repo_name": "dannil/scb-java-client",
"id": "570df802d3bbef5e41339769723d89a83140f74a",
"size... |
require 'spec_helper'
describe Spree::Admin::SearchController do
stub_authorization!
let(:user) { create(:user) }
before do
user.ship_address = create(:address)
user.bill_address = create(:address)
user.save
end
it "can find a user by their email "do
spree_xhr_get :users, :q => user.email
... | {
"content_hash": "884bf69db84a4332d04ce5b912253dbd",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 60,
"avg_line_length": 27.44736842105263,
"alnum_prop": 0.6855225311601151,
"repo_name": "ambertch/stylestalk-spree",
"id": "4dfe2e6a9289a27dbf21cc2ddb12e4c81d72265c",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<!--L
Copyright Northwestern University.
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.io/psc/LICENSE.txt for details.
L-->
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-inst... | {
"content_hash": "abd250df9b1efa2dda61af89d9fd066a",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 115,
"avg_line_length": 43.088,
"alnum_prop": 0.6721128852580764,
"repo_name": "NCIP/psc",
"id": "ed61eceb71565deb1b2ce643ddc223eadf580572",
"size": "5386",
"binary": fa... |
function plotAndSaveHSV(imgH, imgS, imgV, figVisEnable, titleStr, outputPath,fileType)
% h = figure;set(h, 'Visible', figVisEnable);
% imshow(uint8(hsv2rgb(cat(3,imgH,imgS,imgV))))
% title(titleStr);
% if ~isempty(outputPath)
% saveas(h,outputPath,fileType);
% end
imgV(imgV>255)= 255;
imwrite(uint8(hsv2rgb(cat(3,i... | {
"content_hash": "a0fda51ac0ee76a3816150d5f048f275",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 86,
"avg_line_length": 41.44444444444444,
"alnum_prop": 0.7265415549597856,
"repo_name": "orlyliba/OCT_Reconstruction_and_Spectral_Analysis",
"id": "17021f33530a78ce53645bf5a0... |
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Graphi... | {
"content_hash": "9bbf2d92693cbd2807b17db1352aefdd",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 101,
"avg_line_length": 33.020833333333336,
"alnum_prop": 0.48832807570977915,
"repo_name": "NeoAdonis/osu",
"id": "9ab0c2792acd35dd011e9ab3caaebdea147385c1",
"size": "650... |
"""
Cache driver that uses SQLite to store information about cached images
"""
from __future__ import absolute_import
from contextlib import contextmanager
import os
import sqlite3
import stat
import time
from eventlet import sleep
from eventlet import timeout
from oslo_config import cfg
from oslo_log import log as l... | {
"content_hash": "121bf7ee76e5185034ac9417ab31407e",
"timestamp": "",
"source": "github",
"line_count": 474,
"max_line_length": 79,
"avg_line_length": 33.78902953586498,
"alnum_prop": 0.5427072927072927,
"repo_name": "klmitch/glance",
"id": "e30b59efa51cbcb99df37c1dd66f43ebeb8dc8e2",
"size": "16652... |
#import "RCTBridgeModule.h"
#import "RCTURLRequestDelegate.h"
/**
* Provides the interface needed to register a request handler. Request handlers
* are also bridge modules, so should be registered using RCT_EXPORT_MODULE().
*/
@protocol RCTURLRequestHandler <RCTBridgeModule>
/**
* Indicates whether this handler... | {
"content_hash": "7d5d7e9da45deb51b10d521a298ed4af",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 80,
"avg_line_length": 35.55555555555556,
"alnum_prop": 0.7583333333333333,
"repo_name": "15chrjef/mobileHackerNews",
"id": "c65c6bfd052235d76b7c819e3e044cc7ff35d18c",
"siz... |
DECLARE_LOG_CATEGORY_EXTERN(LogCharacterAI, Verbose, All);
| {
"content_hash": "1cb60e524253555c6c9be1e0037fe237",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 58,
"avg_line_length": 30,
"alnum_prop": 0.8,
"repo_name": "PopCap/GameIdea",
"id": "5e1fce462f4250a38e6ad54b1ff20f86f5f5a576",
"size": "240",
"binary": false,
"copies":... |
package org.visallo.web.routes.notification;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import org.visallo.webster.ParameterizedHandler;
import org.visallo.webster.annotations.Handle;
import org.visallo.webster.annotations.Required;
import org.visallo.core.exception.VisalloResourceNotFoundExc... | {
"content_hash": "bae2007baf2613c74aa7ef5393a74d39",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 113,
"avg_line_length": 41.77272727272727,
"alnum_prop": 0.7845484221980413,
"repo_name": "visallo/visallo",
"id": "d5b3c6b66bc11ddc20d0bf7b2c341fb78c141325",
"size": "1838... |
namespace cc {
// The frame index starts at 2 so that empty frames will be treated as
// completely damaged the first time they're drawn from.
static const int kFrameIndexStart = 2;
Surface::Surface(const SurfaceId& id, SurfaceFactory* factory)
: surface_id_(id),
previous_frame_surface_id_(id),
factor... | {
"content_hash": "5cda93850e6fe31e5ab137179b2d11f4",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 80,
"avg_line_length": 34.09444444444444,
"alnum_prop": 0.6677529737656835,
"repo_name": "danakj/chromium",
"id": "639a15ed7189aff19c6d14b287351113e6a3e838",
"size": "6648... |
"""
pycodeexport is a Python package for code generation.
"""
from __future__ import absolute_import, division, print_function
from ._release import __version__
from .dist import PCEExtension, pce_build_ext
| {
"content_hash": "7b72865ca5d08fd178ba2cbba0e133ff",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 64,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.7548076923076923,
"repo_name": "bjodah/pycodeexport",
"id": "f057ae9f07354f42e3d19eb168ec6f18b1fed964",
"size": "2... |
package gov.hhs.fha.nhinc.patientdiscovery.aspect;
import gov.hhs.fha.nhinc.util.Base64Coder;
import java.util.ArrayList;
import java.util.List;
import org.hl7.v3.BinaryDataEncoding;
import org.hl7.v3.EDExplicit;
import org.hl7.v3.MCCIMT000300UV01Acknowledgement;
import org.hl7.v3.MCCIMT000300UV01AcknowledgementDet... | {
"content_hash": "0a1a96702f349553d80fd67d84c923f1",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 118,
"avg_line_length": 37.67272727272727,
"alnum_prop": 0.708011583011583,
"repo_name": "beiyuxinke/CONNECT",
"id": "c5abb42c01f2166b3db8ab1f3b199c7c5e108724",
"size": "37... |
namespace media {
const char MediaLog::kEventKey[] = "event";
const char MediaLog::kStatusText[] = "pipeline_error";
// A count of all MediaLogs created in the current process. Used to generate
// unique IDs.
static base::AtomicSequenceNumber g_media_log_count;
MediaLog::MediaLog() : MediaLog(new ParentLogRecord(thi... | {
"content_hash": "f729d666d144a9904ca42885a6dac841",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 79,
"avg_line_length": 35.66935483870968,
"alnum_prop": 0.7210038435451052,
"repo_name": "youtube/cobalt",
"id": "6cb08ed64cb3fe9e6910e4c24c7f0280b050fc15",
"size": "4819"... |
#include "modules/audio_processing/vad/pitch_based_vad.h"
#include <math.h>
#include <string.h>
#include "modules/audio_processing/vad/vad_circular_buffer.h"
#include "modules/audio_processing/vad/common.h"
#include "modules/audio_processing/vad/noise_gmm_tables.h"
#include "modules/audio_processing/vad/voice_gmm_t... | {
"content_hash": "cbd169d6f5fee31a52b8ba975f979c62",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 118,
"avg_line_length": 34.80869565217391,
"alnum_prop": 0.6932300774419186,
"repo_name": "koobonil/Boss2D",
"id": "8b5421aa4f74dabdf0cf572c01394640cd32bb05",
"size": "441... |
<?php
echo '<div id="wrapper"> <div class="resulter">This is not your resource. ';
echo '<a href="'.base_url().'edit/" style="display:inline; font-size:.8em;">Try Again</a>';
echo '</div></div><br>';
?> | {
"content_hash": "078f92f9105cc7f7260e699a36782e08",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 91,
"avg_line_length": 22.88888888888889,
"alnum_prop": 0.6116504854368932,
"repo_name": "Chicodemilo/sanangelo.apartments",
"id": "df139fba227958b7cd8d7f7f560187118db452a5",
... |
package org.mortbay.jetty.client;
import java.io.File;
public class ExternalKeyStoreAsyncSslHttpExchangeTest extends SslHttpExchangeTest
{
protected void setUp() throws Exception
{
_scheme="https://";
startServer();
_httpClient=new HttpClient();
_httpClient.setConnectorType(Ht... | {
"content_hash": "927d42e7986d2524293dca28441c7e2e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 155,
"avg_line_length": 30.357142857142858,
"alnum_prop": 0.6670588235294118,
"repo_name": "cscotta/miso-java",
"id": "1f0b757c0757d3ed9ed99c55625889ab2c682e9a",
"size": "1... |
% Day 7: Calculating Diversity I
% Raymond Yee
% February 11, 2014 (<http://is.gd/wwod1407>)
# Goals Today
* Continue work on census data
* Preview Graphing and Map-Making
* Have time in class to work.
# Preview of Plotting Graphs and Maps
Do the following notebooks work for you to show basic graphics?
*
[Day_... | {
"content_hash": "5778b7e12133cce19f53334149591618",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 165,
"avg_line_length": 39.3125,
"alnum_prop": 0.7689454160042395,
"repo_name": "prabhamatta/Analyzing-Open-Data",
"id": "9e9d5894f5898787a736995e1ba7a9ebd23ed942",
"size":... |
<!DOCTYPE html>
<html>
<head>
<title>Auntie’s Skirts | A Child's Garden of Verses: Selected Poems | Robert Louis Stevenson | Lit2Go ETC</title>
<link rel="stylesheet" href="http://etc.usf.edu/lit2go/css/screenless.css" type="text/css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet"... | {
"content_hash": "6a739e6295c5a0cc7124fd4b560c447f",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 574,
"avg_line_length": 47.054621848739494,
"alnum_prop": 0.5710331279578533,
"repo_name": "adrianosb/maprecude_team_adriano_barbosa_and_andre_matsuda",
"id": "8d403689fc23f... |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:genius="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#e8e8e8"
android:paddingBottom... | {
"content_hash": "1b7e06c6d2bb6b5c6195f499897964e4",
"timestamp": "",
"source": "github",
"line_count": 476,
"max_line_length": 74,
"avg_line_length": 40.455882352941174,
"alnum_prop": 0.5301968115490471,
"repo_name": "x-android/Genius-Android",
"id": "b85d674c48aa12a67264748cbf53e2f3ac00de99",
"si... |
using System;
using System.Drawing;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.ObjCRuntime;
namespace macdoc
{
class MainClass
{
static void Main (string[] args)
{
NSApplication.Init ();
NSApplication.Main (args);
}
}
}
| {
"content_hash": "d96cd74636de4b1d9e4d4adc31b56d39",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 34,
"avg_line_length": 14.222222222222221,
"alnum_prop": 0.71484375,
"repo_name": "kangaroo/monomac",
"id": "ac7931a6aa7f653efc03feb2af4191ee9dd3ce5a",
"size": "256",
"bi... |
@interface CCSMACDData : CCSBaseData {
CCFloat _dea;
CCFloat _diff;
CCFloat _macd;
NSString *_date;
}
@property(assign, nonatomic) CCFloat dea;
@property(assign, nonatomic) CCFloat diff;
@property(assign, nonatomic) CCFloat macd;
@property(strong, nonatomic) NSString *date;
- (id)initWithDea:(CCFloat ... | {
"content_hash": "f77595f492377e77e2b3f16fbdde4ccf",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 94,
"avg_line_length": 26.266666666666666,
"alnum_prop": 0.7182741116751269,
"repo_name": "waynett/Cocoa-Charts",
"id": "048ad3a4a7dafe5ec177786dc9c43bc5e8b9e0f0",
"size": ... |
package ackcord.util
import ackcord.APIMessage
import ackcord.data.{GuildChannel, GuildId}
import akka.actor.typed._
import akka.actor.typed.scaladsl._
class APIGuildRouter[Inner](
ctx: ActorContext[GuildRouter.Command[APIMessage, Inner]],
replyTo: Option[ActorRef[GuildRouter.GuildActorCreated[Inner]]],
... | {
"content_hash": "14f10c8fd02f76d1c9559baef428f1b5",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 112,
"avg_line_length": 45,
"alnum_prop": 0.6914814814814815,
"repo_name": "Katrix-/AckCord",
"id": "a352d57ec4dc8e932c111aec150ac75a1adddcc2",
"size": "3884",
"binary": ... |
/**
* WikimediaUI Base v0.10.0
* Wikimedia Foundation user interface base variables
*/
.oo-ui-icon-alert {
background-image: url('themes/wikimediaui/images/icons/alert.png');
background-image: linear-gradient(transparent, transparent), /* @embed */ url('themes/wikimediaui/images/icons/alert.svg');
}
.oo-ui-imag... | {
"content_hash": "a44435b8f0444c5b124a912821db6fd2",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 151,
"avg_line_length": 62.604651162790695,
"alnum_prop": 0.7625061911837543,
"repo_name": "cdnjs/cdnjs",
"id": "691251e176e504355415f9270c308093f857a4a7",
"size": "8307",... |
All notable changes to this project will be documented in this file.
## [Unreleased]
## [0.2.0]
New API.
### Add
- Gradle publish script: github release, bintray upload and maven.
- README: Explanation for publish
### Changed
- API change: Package is now 'tokyo.northside.io'
- API change: class names are FileUtils... | {
"content_hash": "cf8f21c3123449e4058c1306f5594726",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 80,
"avg_line_length": 29.942857142857143,
"alnum_prop": 0.7347328244274809,
"repo_name": "miurahr/northside-io-java",
"id": "731e1793f42a0dc3fac7c6cb457abc25d30a9823",
"si... |
package org.antlr.tool;
import antlr.Token;
import org.antlr.Tool;
import org.antlr.misc.BitSet;
import org.antlr.analysis.DFAState;
import org.antlr.analysis.DecisionProbe;
import org.antlr.analysis.Label;
import org.antlr.stringtemplate.StringTemplate;
import org.antlr.stringtemplate.StringTemplateErrorListener;
im... | {
"content_hash": "19466cc640ec24c92b08be01791dfd97",
"timestamp": "",
"source": "github",
"line_count": 925,
"max_line_length": 126,
"avg_line_length": 34.71891891891892,
"alnum_prop": 0.7124085318387047,
"repo_name": "neelance/antlr4ruby",
"id": "63b31024b16b72044a46bb73a6de95ce779a0e1c",
"size": ... |
module ActionController #:nodoc:
# Methods for sending arbitrary data and for streaming files to the browser,
# instead of rendering.
module Streaming
DEFAULT_SEND_FILE_OPTIONS = {
:type => 'application/octet-stream'.freeze,
:disposition => 'attachment'.freeze,
:stream => true... | {
"content_hash": "2227457f78ec036c85c890fe41ceab4a",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 126,
"avg_line_length": 49.92178770949721,
"alnum_prop": 0.625,
"repo_name": "unilogic/zackup",
"id": "8a9fbfc1e09322891f8412525aad912642d605f5",
"size": "8936",
"binary... |
package main
import "fmt"
type Curr struct {
Currency string
Name string
Country string
Number int
}
var currencies = []Curr{
Curr{"DZD", "Algerian Dinar", "Algeria", 12},
Curr{"AUD", "Australian Dollar", "Australia", 36},
Curr{"EUR", "Euro", "Belgium", 978},
Curr{"CLP", "Chilean Peso", "Chile", 152},... | {
"content_hash": "77bc4e2096f5a8194b835d183add431e",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 57,
"avg_line_length": 23.07792207792208,
"alnum_prop": 0.6398424310635903,
"repo_name": "vladimirvivien/learning-go",
"id": "51f28e975c1872daa4a1d2965aa2b1dd63ff0506",
"si... |
package com.siyeh.ig.fixes.style;
import com.intellij.openapi.roots.ModuleRootModificationUtil;
import com.intellij.testFramework.IdeaTestUtil;
import com.siyeh.InspectionGadgetsBundle;
import com.siyeh.ig.IGQuickFixesTestCase;
import com.siyeh.ig.style.MethodRefCanBeReplacedWithLambdaInspection;
public class Method... | {
"content_hash": "2f70c502e1856a38c94858841e2994ef",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 116,
"avg_line_length": 20.884057971014492,
"alnum_prop": 0.7182512144344205,
"repo_name": "ThiagoGarciaAlves/intellij-community",
"id": "3466af99c0e4c78c48f4417f923d3432c12... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" media="screen" href="../../../../assets/css/symphony.css">
<link rel="stylesheet" type="text/css" media="screen" href="../../../../assets/css/symp... | {
"content_hash": "e74954d9526aa9c05f81459960699384",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 267,
"avg_line_length": 47.78947368421053,
"alnum_prop": 0.6071953010279001,
"repo_name": "bauhouse/html-symphony",
"id": "ab4179199e327fda13fee64c555b0d73b86dc0aa",
"size... |
<?php
/**
* Created by PhpStorm.
* User: sharif ahrari
* Date: 7/6/2016
* Time: 3:06 AM
*/
namespace Cobonto\Commands;
use Illuminate\Support\Str;
use Module\Commands\ModuleCommand;
use Symfony\Component\Console\Input\InputArgument;
class ModelCommand extends ModuleCommand
{
/**
* @string name
*/... | {
"content_hash": "1fe26881d43fab89d194739076e05a62",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 72,
"avg_line_length": 22.301204819277107,
"alnum_prop": 0.5569962182603998,
"repo_name": "cobonto/core",
"id": "f29c374e968556668432d398cd547c20d509c134",
"size": "1851",
... |
/**
* This is where the magic happens (Part 2)
* Now we are going to send commands to our Desktop App
*/
var requestHandle = null;
var searchYoutube = function(query, callback) {
var maxResults = 25;
// This searches the Youtube API endpoint and loads a list of results
var endpoint = "http://gdata.youtube.c... | {
"content_hash": "32f1dec242c392aee0db3693149904ea",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 147,
"avg_line_length": 25.528301886792452,
"alnum_prop": 0.6319290465631929,
"repo_name": "Aerolab/jsconf2014-workshop",
"id": "7a2c834a76f5f9c627d0231b77b487a22d322f9d",
... |
<div id="dialog-upload-new-signature-version" title="Upload New Version">
<script type="text/javascript">
$(document).ready(function() {
$("#id_data_type_dependency").tagit({
showAutocompleteOnFocus: true,
allowSpaces: true,
removeConfirmation: true,
afterTa... | {
"content_hash": "44f65c272157b8514a992b65b9e660be",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 114,
"avg_line_length": 39.67213114754098,
"alnum_prop": 0.5276859504132232,
"repo_name": "ckane/crits",
"id": "fb70b96dfe8d4095663149d74edab3e67be51d8a",
"size": "2421",
... |
using System.Windows;
namespace Mass_Effect_2_TLK_Tool
{
/// <summary>
/// Interaction logic for AboutWindow.xaml
/// </summary>
public partial class AboutWindow : Window
{
public string ApplicationVersion
{
get { return "v. " + App.GetVersion(); }
}
... | {
"content_hash": "dd65fb6074a6cbc9b8ef6b5a894f0276",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 68,
"avg_line_length": 20.84,
"alnum_prop": 0.5239923224568138,
"repo_name": "jgoclawski/me2-tlk-tool",
"id": "b910d3c1216b7a6f534281e5ae14e8076fdf07ad",
"size": "523",
"... |
__author__ = 'techkid6'
""" Allows for modification of requests from proxy clients"""
def handle_request(request):
return None
""" Allows for modification of responses returned to proxy clients"""
def handle_response(response):
return None | {
"content_hash": "ab8243b8be203d38c1b104d545a5a8fe",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 69,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.7349397590361446,
"repo_name": "techkid6/pyproxy",
"id": "f650b8abe7018f4a9bbaf23d7211c98b2bb80898",
"size": "1365... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.