text stringlengths 2 1.04M | meta dict |
|---|---|
package com.alibaba.dubbo.remoting.exchange.support;
import com.alibaba.dubbo.remoting.Channel;
import com.alibaba.dubbo.remoting.ChannelHandler;
import com.alibaba.dubbo.remoting.RemotingException;
import com.alibaba.dubbo.remoting.exchange.ExchangeChannel;
import com.alibaba.dubbo.remoting.exchange.ExchangeH... | {
"content_hash": "9a873b9999e0437ed43b60a38e2e876f",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 91,
"avg_line_length": 35.01010101010101,
"alnum_prop": 0.7186959030582805,
"repo_name": "mingbotang/dubbo",
"id": "c423b7a359f5fb38f007bf82a9913c9631372ad5",
"size": "4089... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_32) on Wed Jul 18 13:34:51 UTC 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Interface org.apac... | {
"content_hash": "d07274cc89fa97d0559f6bb8b287b5e2",
"timestamp": "",
"source": "github",
"line_count": 1048,
"max_line_length": 621,
"avg_line_length": 73.83587786259542,
"alnum_prop": 0.6559834582579478,
"repo_name": "normann/apache-solr",
"id": "afd690c173eb3ce7a0bbf929c9006606bb72ad2e",
"size":... |
namespace remoting {
namespace {
class ContinueWindowWin : public ContinueWindow {
public:
ContinueWindowWin();
~ContinueWindowWin() override;
protected:
// ContinueWindow overrides.
void ShowUi() override;
void HideUi() override;
private:
static BOOL CALLBACK DialogProc(HWND hwmd, UINT msg, WPARAM w... | {
"content_hash": "b829087ca10c4f3e94a29daf5f615095",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 77,
"avg_line_length": 23.872881355932204,
"alnum_prop": 0.6364927227547036,
"repo_name": "joone/chromium-crosswalk",
"id": "548d9280fce26bdce39604dc587eb089614dd3d1",
"si... |
<?php
namespace Cercanias\Provider;
/**
* @author Rober Martín H <rmh.dev@gmail.com>
*/
interface TimetableParserInterface
{
/**
* @return \DateTime
*/
public function getDate();
/**
* @return string
*/
public function getDepartureName();
/**
* @return string
*/... | {
"content_hash": "e690b6ee6bedd27432f875f09a3770b6",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 60,
"avg_line_length": 15.702702702702704,
"alnum_prop": 0.5851979345955249,
"repo_name": "rmhdev/cercanias",
"id": "0438af93eb53e873251b7604c56289219c371b35",
"size": "790... |
<HTML><HEAD><TITLE>Xilinx Design Summary</TITLE></HEAD>
<BODY TEXT='#000000' BGCOLOR='#FFFFFF' LINK='#0000EE' VLINK='#551A8B' ALINK='#FF0000'>
<TABLE BORDER CELLSPACING=0 CELLPADDING=3 WIDTH='100%'>
<TR ALIGN=CENTER BGCOLOR='#99CCFF'>
<TD ALIGN=CENTER COLSPAN='4'><B>MAC4 Project Status (02/11/2016 - 00:12:10)</B></TD><... | {
"content_hash": "07dfb9588f3a09f2e11f0471b93cf73e",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 414,
"avg_line_length": 59.26011560693642,
"alnum_prop": 0.6823058915333593,
"repo_name": "Main-Project-MEC/Systolic-Processor-On-FPGA",
"id": "298600560631c8aec359f5946a8d8... |
using BEPUphysics.Entities;
using BEPUphysics.Entities.Prefabs;
using BEPUphysics.PositionUpdating;
using BEPUutilities;
namespace BEPUphysicsDemos.Demos
{
/// <summary>
/// A set of jenga blocks.
/// </summary>
public class JengaDemo : StandardDemo
{
/// <summary>
///... | {
"content_hash": "9d87264b37efc288076b77e6d2d21162",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 145,
"avg_line_length": 36.16438356164384,
"alnum_prop": 0.4071969696969697,
"repo_name": "Anomalous-Software/BEPUPhysics",
"id": "665e4038a267c9271f642174ffeaa8ebf9f77682",
... |
<?php
namespace Surfnet\YubikeyApiClientBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* @codeCoverageIgnore
*/
class Configuration implements ConfigurationInterface
{
public function getConfigTreeBu... | {
"content_hash": "e1fa19b0e50353155b3b70f046859177",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 106,
"avg_line_length": 36.19607843137255,
"alnum_prop": 0.419284940411701,
"repo_name": "SURFnet/yubikey-api-client-bundle",
"id": "38b1713062a11779e549d51583729abd946dfc3e"... |
<?php
namespace Imhonet\Connection\DataFormat\Bool\PDO;
use Imhonet\Connection\DataFormat\IBool;
class Set implements IBool
{
/**
* @var \PDOStatement|bool
*/
protected $data;
/**
* @inheritdoc
*/
public function setData($data)
{
$this->data = $data;
return $... | {
"content_hash": "e47c65028774cf6c4949c70891fc649b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 54,
"avg_line_length": 14.76923076923077,
"alnum_prop": 0.5260416666666666,
"repo_name": "Serjick/Connection",
"id": "66210e98e74884d2a6bebba054599cc354dc8e54",
"size": "57... |
namespace boost
{
namespace lexer
{
namespace detail
{
class iteration_node : public node
{
public:
iteration_node (node *next_, const bool greedy_) :
node (true),
_next (next_),
_greedy (greedy_)
{
node_vector::iterator iter_;
node_vector::iterator end_;
_next->... | {
"content_hash": "eed09eb5eb97c7e663bd2b50ef60aa8f",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 75,
"avg_line_length": 21.8625,
"alnum_prop": 0.5060034305317325,
"repo_name": "stan-dev/math",
"id": "aee7531b980f4348462a82737411d1785b2d0c60",
"size": "2161",
"binary"... |
package com.citrix.netscaler.nitro.resource.config.ns;
import com.citrix.netscaler.nitro.resource.base.*;
import com.citrix.netscaler.nitro.service.nitro_service;
import com.citrix.netscaler.nitro.service.options;
import com.citrix.netscaler.nitro.util.*;
import com.citrix.netscaler.nitro.exception.nitro_exception;
... | {
"content_hash": "1c68e75e28817c1d86f117f09ecb656d",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 135,
"avg_line_length": 23.93840579710145,
"alnum_prop": 0.6935068866353867,
"repo_name": "netscaler/nitro",
"id": "ed382564a74805958df7b4205f3720417eb103bf",
"size": "722... |
var BlankonUiFeatureGridStack = function () {
return {
// =========================================================================
// CONSTRUCTOR APP
// =========================================================================
init: function () {
BlankonUiFeatureGridSt... | {
"content_hash": "9999cdcfc336e5b632a431dcf84a9d7b",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 84,
"avg_line_length": 29.785714285714285,
"alnum_prop": 0.30335731414868106,
"repo_name": "minhquang520/sach",
"id": "6bf7b59b7d6cd0d84efbc2564d533061077ff7b6",
"size": "8... |
package org.keycloak.subsystem.adapter.saml.extension;
import org.jboss.as.controller.AbstractAddStepHandler;
import org.jboss.as.controller.OperationContext;
import org.jboss.as.controller.OperationFailedException;
import org.jboss.dmr.ModelNode;
/**
* @author <a href="mailto:mstrukel@redhat.com">Marko Strukelj</a... | {
"content_hash": "1aab2abd8a6b6eb8799aa6f314bc8203",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 131,
"avg_line_length": 30.454545454545453,
"alnum_prop": 0.7731343283582089,
"repo_name": "gregjones60/keycloak",
"id": "1799290cca838b37a70a31d62bcac7e7cacddacf",
"size":... |
namespace Google.Cloud.Dialogflow.V2.Snippets
{
// [START dialogflow_v2_generated_Conversations_ListConversations_sync_flattened_resourceNames2]
using Google.Api.Gax;
using Google.Api.Gax.ResourceNames;
using Google.Cloud.Dialogflow.V2;
using System;
public sealed partial class GeneratedConvers... | {
"content_hash": "e5bbad0d7822a9b27026fbcd1ad14fe7",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 126,
"avg_line_length": 44.610169491525426,
"alnum_prop": 0.6177811550151976,
"repo_name": "jskeet/google-cloud-dotnet",
"id": "4fc93554d76e63967b9c6fab6d07cbc56f4e0783",
"... |
const $ = require('jquery')
const getFormDataUploader = function (form,file,url,cb) {
try {
const formData =new FormData()
formData.append('file',file)
const xhr = new XMLHttpRequest()
xhr.open('POST',$(form).attr('action'))
xhr.onload = function () {
if(x... | {
"content_hash": "7b8e1b406ce62789f7479a4af6c7f80f",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 93,
"avg_line_length": 30.095238095238095,
"alnum_prop": 0.5363924050632911,
"repo_name": "ljwrer/js-design-pattern",
"id": "6b675ece3daf4f5fb2887c92ba8ab8469e43a651",
"siz... |
"""Stand-alone fitting utilities"""
import numpy as np
from scipy.special import gamma, psi
from ..misc import easylsq
from ..misc.errorvalue import ErrorValue
__all__ = ['fit_shullroess']
def fit_shullroess(q, Intensity, Error, R0=None, r=None):
"""Do a Shull-Roess fitting on the scattering data.
Inputs:
... | {
"content_hash": "4766270198123825011eada946eb8169",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 150,
"avg_line_length": 40.103092783505154,
"alnum_prop": 0.5727506426735218,
"repo_name": "awacha/sastool",
"id": "1f5e84a87c760529817ee49c1d1c9839f285a0b2",
"size": "3890... |
title: Meet the php-build core team
layout: post
emailsignup: false
tags:
- Programming
---
Over the past half year I've noticed that issues and pull requests start
piling up and are taking often even weeks to resolve on the
[php-build][] project. Due to this I've decided to form the php-build
Core Team.
Let's wel... | {
"content_hash": "c2a329a17b8552142b238eb22946d527",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 180,
"avg_line_length": 45.705882352941174,
"alnum_prop": 0.7644787644787645,
"repo_name": "CHH/CHH.github.io",
"id": "cd1543844880a5d6ffc029cf250c9efda3cbac53",
"size": "1... |
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.CodeRefactorings;
using Microsoft.CodeAnalysis.Formatting;
namespace RefactoringEssentials.CSharp.CodeRefactorings
{
[ExportCodeRefactoringProvid... | {
"content_hash": "362a8795b7ff2b8db36be21319d2caf0",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 256,
"avg_line_length": 53.63157894736842,
"alnum_prop": 0.5701668302257115,
"repo_name": "SSkovboiSS/RefactoringEssentials",
"id": "0cf863096f5c8203e41e865e578f165a6fa1599e... |
var Zipato = require('./lib/zipato')
var zipato = new Zipato()
module.exports = zipato | {
"content_hash": "7745b698d7e51a1706ab23d37ebd19c1",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 36,
"avg_line_length": 17.6,
"alnum_prop": 0.7045454545454546,
"repo_name": "espenmjos/zipato",
"id": "40c04f3551dcdceaca33cc8b40dcc77cf2f62847",
"size": "88",
"binary": f... |
require_relative '../lib/pudl/context'
describe Pudl::Context do
subject { Pudl::Context.new }
it "raises an error if key is not a symbol" do
expect {
subject.set "not a symbol", "value"
}.to raise_error(ArgumentError)
end
it "has no values" do
expect(subject.values).to eq({})
end
des... | {
"content_hash": "ca90f76be8800911c6209cd9734253db",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 84,
"avg_line_length": 21.910112359550563,
"alnum_prop": 0.5715384615384616,
"repo_name": "doozr/Pudl",
"id": "7ace43e237d5a9a8191e4edbd6f3db422ff8ae24",
"size": "3900",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>qcert: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "c1aeaac710fdd3502b48ceb7cf88a89d",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 355,
"avg_line_length": 42.983050847457626,
"alnum_prop": 0.5569137749737119,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "15b47f93d9b912c32f64982f3a189d8b0ea644d5",... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.0-rc4-master-3e15998
*/
goog.provide('ng.material.components.subheader');
goog.require('ng.material.components.sticky');
goog.require('ng.material.core');
/**
* @ngdoc module
* @name material.components.subheader
* @descri... | {
"content_hash": "ccca772123867bec2e5b076b03b6da40",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 100,
"avg_line_length": 34.205607476635514,
"alnum_prop": 0.662568306010929,
"repo_name": "maximeBuguel/mirror",
"id": "a6f940cbf0c0369bc58915d059b6ea3c97365b79",
"size": ... |
package org.assertj.core.api.bytearray;
import static org.assertj.core.util.Lists.newArrayList;
import static org.mockito.Mockito.verify;
import java.util.List;
import org.assertj.core.api.ByteArrayAssert;
import org.assertj.core.api.ByteArrayAssertBaseTest;
/**
* Tests for <code>{@link ByteArrayAssert#hasSameSi... | {
"content_hash": "22c07337e018152bfaae6431f2dfec64",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 95,
"avg_line_length": 26.129032258064516,
"alnum_prop": 0.7666666666666667,
"repo_name": "xasx/assertj-core",
"id": "2b3c1982a504c320d39744f893392046bbef2dda",
"size": "14... |
'''
This script parses uni-math symbols from
http://milde.users.sourceforge.net/LUCR/Math/data/unimathsymbols.txt
and save the result as a json file.
The result is used to generate command intellisense for LaTeX Workshop.
'''
import json
def remove_relation_character(description):
"""
From unimathsymbols.txt
... | {
"content_hash": "81183f7401fddca552db7eff82d60abc",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 84,
"avg_line_length": 35.1044776119403,
"alnum_prop": 0.5846088435374149,
"repo_name": "James-Yu/LaTeX-Workshop",
"id": "665d69c353a7847bd949ce50aa11d14eb4e6efb3",
"size":... |
__author__ = 'frank'
import zstacklib.utils.daemon as daemon
import zstacklib.utils.http as http
import zstacklib.utils.log as log
import zstacklib.utils.shell as shell
import zstacklib.utils.iptables as iptables
import zstacklib.utils.jsonobject as jsonobject
import zstacklib.utils.lock as lock
import zstacklib.utils... | {
"content_hash": "9c66addb10ee0977463663e4876a9435",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 95,
"avg_line_length": 28.457142857142856,
"alnum_prop": 0.6470883534136547,
"repo_name": "live4thee/zstack-utility",
"id": "531074f1e2809cb45dac4f18383a45cc594ef0b0",
"siz... |
import pygame
class Message(pygame.sprite.Sprite):
"""A class som simplify message writing."""
align_left = 'left';
align_right = 'right';
align_center = 'center';
def __init__(self, msglist, title=None, rect=None, vector=(0,0), align=align_left, linepadding=0.1,
padding=0.1, ... | {
"content_hash": "3d7810b2bb3ae72ac48f1e467b99f3c8",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 126,
"avg_line_length": 44.15533980582524,
"alnum_prop": 0.5756376429199648,
"repo_name": "khan-git/pialarmclock",
"id": "3d217d6ce3ee6b2e8b1705c42de820b057cbf361",
"size"... |
package co.cask.cdap.cli;
import ch.qos.logback.classic.Level;
import ch.qos.logback.classic.Logger;
import co.cask.cdap.cli.command.system.HelpCommand;
import co.cask.cdap.cli.command.system.SearchCommandsCommand;
import co.cask.cdap.cli.commandset.DefaultCommands;
import co.cask.cdap.cli.completer.supplier.Endpoin... | {
"content_hash": "437ea90de0d7a2493627caca1d3db518",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 112,
"avg_line_length": 36.44047619047619,
"alnum_prop": 0.6908689970597843,
"repo_name": "mpouttuclarke/cdap",
"id": "4038db324449e5afee1f7fd1f96e5389c555b340",
"size": "... |
package org.labkey.wnprc_ehr.service.dataentry;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.json.JSONObject;
import org.labkey.api.data.CompareType;
import org.labkey.api.data.Container;
import org.labkey.api.ehr.EHRService;
import org.labkey.api.ehr.security.EHRSecu... | {
"content_hash": "b33ea11d1ab0c6a7740e96d43eb674e8",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 278,
"avg_line_length": 44.174193548387095,
"alnum_prop": 0.7460201548123265,
"repo_name": "WNPRC-EHR-Services/wnprc-modules",
"id": "f0a3703326e2a4c3440263cc7efc845e1a9de2b... |
import { MochaAdapter } from '../lib/adapter'
const errorHandlingSpecs = ['./test/fixtures/error.handling.spec.js']
const errorHandlingPromiseSpecs = ['./test/fixtures/error.handling.promise.spec.js']
const errorHandlingAsyncSpecs = ['./test/fixtures/error.handling.async.spec.js']
const errorHandlingPromiseAsyncSpecs ... | {
"content_hash": "4e6682e0c0ac72061f5ee51dc0401570",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 95,
"avg_line_length": 54.451219512195124,
"alnum_prop": 0.6022396416573348,
"repo_name": "Capt-Slow/wdio-mocha-framework",
"id": "434ed17e57ad2ee665dd8b91476dd7c6769247e5",
... |
import yaml
from argparse import ArgumentParser
from constants import GOOGLE_CLOUD_TEST
from dict_util import deep_get
from yaml_util import load_resources_yaml
''' Remove all resources considered to be Kuberenetes Helm tests from
a given manifest file. '''
_HELM_HOOK_KEY = 'helm.sh/hook'
_HOOK_SUCCESS = 'test... | {
"content_hash": "1a1471ebafa558326ea80ee6d6734d40",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 111,
"avg_line_length": 31.64,
"alnum_prop": 0.6877370417193426,
"repo_name": "cliveseldon/marketplace-k8s-app-tools",
"id": "9a6388fa6c5a069e62d5e2fa1fd80b29a7fb6ae2",
"si... |
<link rel="import" href="chrome://resources/polymer/polymer/polymer.html">
<link rel="import" href="chrome://resources/polymer/polymer/layout.html">
<link rel="import" href="chrome://resources/polymer/core-animated-pages/core-animated-pages.html">
<link rel="import" href="chrome://resources/polymer/core-animated-pages/... | {
"content_hash": "94db9fe83a22b5807640d852bc863b3e",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 101,
"avg_line_length": 40.81720430107527,
"alnum_prop": 0.6090621707060063,
"repo_name": "PeterWangIntel/chromium-crosswalk",
"id": "be137ac0eb95c0d39264bea0a3b72f1b181660bb... |
working_directory "/path/to/machiavelli"
# Unicorn PID file location
# pid "/path/to/pids/unicorn.pid"
pid "/path/to/machiavelli/tmp/pids/unicorn.pid"
# Path to logs
# stderr_path "/path/to/log/unicorn.log"
# stdout_path "/path/to/log/unicorn.log"
stderr_path "/path/to/machiavelli/log/unicorn.log"
stdout_path "/path/... | {
"content_hash": "e2d601bd96db5a275a11fbb8821e5e91",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 66,
"avg_line_length": 24.904761904761905,
"alnum_prop": 0.7571701720841301,
"repo_name": "glasnt/machiavelli",
"id": "5d957ef53e5d3d611bc80486fa6b6fcedf29a986",
"size": "6... |
<#######################################################################################
# xDNSServerAddress : DSC Resource that will set/test/get the current DNS Server
# Address, by accepting values among those given in xDNSServerAddress.schema.mof
#############################################################... | {
"content_hash": "ab7154da7409dc41483a6049947a1f4e",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 194,
"avg_line_length": 36.1566265060241,
"alnum_prop": 0.5088303898700434,
"repo_name": "cyberious/puppetlabs-dsc",
"id": "e3795a25f69fb6ac73159b9166e4eac5eac4b1c3",
"siz... |
set -e
# In a mutable host scenario, Capistrano would handle symlinking ./public/system to a persistent
# directory on the host. We'll have to recreate this pattern by providing a mount target (/mnt/system)
# that we'll mount a persistent volume to later and symlink ./public/system to that mount point.
# Note: We ca... | {
"content_hash": "7c7460b10e1ec7c873fcc3c8c3957947",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 103,
"avg_line_length": 50.8,
"alnum_prop": 0.7375328083989501,
"repo_name": "ndlib/honeycomb",
"id": "7d00b0c93e9918b04910c16c73367dfdb6af9f71",
"size": "841",
"binary":... |
<!DOCTYPE html>
<head>
<script src="build/react.js"></script>
<script src="build/react-dom.js"></script>
<script src="build/browser.min.js"></script>
</head>
<body>
<!--八、this.state-->
<div id="example">
</div>
<script type="text/babel">
var LikeButton = React.createClass({
getInitialState: func... | {
"content_hash": "c36d5b15c0c375f7446eb172db8c4a97",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 68,
"avg_line_length": 24.86111111111111,
"alnum_prop": 0.5027932960893855,
"repo_name": "yxwandroid/front-end-development",
"id": "c654b5bd1a8632600277c23083e789a6b333f5e1",... |
test_description='test git fast-import utility'
. ./test-lib.sh
. "$TEST_DIRECTORY"/diff-lib.sh ;# test-lib chdir's into trash
# Print $1 bytes from stdin to stdout.
#
# This could be written as "head -c $1", but IRIX "head" does not
# support the -c option.
head_c () {
"$PERL_PATH" -e '
my $len = $ARGV[1];
while... | {
"content_hash": "80cf4e1a05dca6a4aecdf148af467f28",
"timestamp": "",
"source": "github",
"line_count": 2932,
"max_line_length": 141,
"avg_line_length": 22.023533424283766,
"alnum_prop": 0.7150821550802967,
"repo_name": "pniebla/test-repo-console",
"id": "ac6f3b6af25c67ae3a2c0748c34f99b4cd0d4b32",
... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.roots.libraries.ui.impl;
import com.intellij.openapi.application.ApplicationNamesInfo;
import com.intellij.openapi.project.Project;
import com.intell... | {
"content_hash": "b6d3743cad1d37d3b92ea8e93bb329a4",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 145,
"avg_line_length": 37.63779527559055,
"alnum_prop": 0.6962343096234309,
"repo_name": "msebire/intellij-community",
"id": "6ba910128bfb1d74a503d81ec6bd9755214e3499",
"... |
module PhusionPassenger
class << self
# Set during spawning, and set back to nil when spawning is done.
attr_accessor :_spawn_options
@@event_starting_worker_process = []
@@event_stopping_worker_process = []
@@event_credentials = []
@@event_after_installing_signal_handlers = []
def on_event(name, &block)
c... | {
"content_hash": "fd5fa1d50e13c43c192ce336348513b8",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 77,
"avg_line_length": 22.370786516853933,
"alnum_prop": 0.6931190356604722,
"repo_name": "schubi2/rubygem-passenger",
"id": "75b1123c156e27010c56b0ab23f70665d402213b",
"si... |
<style>
.btn-default {
background-color: #ffffff;
border-color: #f2f2f2;
color: #5d5c5c;
}
.btn-group, .btn-group-vertical {
width: 100%;
}
.btn-check-main {
font-size: 1.1em;
padding: 10px 2px;
width: 12.5%;
}
.btn-check-main2 {
... | {
"content_hash": "6626458f4633309f8a830899ac2e8de6",
"timestamp": "",
"source": "github",
"line_count": 502,
"max_line_length": 191,
"avg_line_length": 61.310756972111555,
"alnum_prop": 0.47595685229709533,
"repo_name": "Pwex/comunity",
"id": "15c4b1f5d79673e1553ba8404ffaf5a00d38d37c",
"size": "308... |
/*global define*/
'use strict';
// Dependecies
define([
'jquery',
'jquery-ui',
'pubsub',
'underscore'
], function(
jQuery,
jQuery_ui,
PubSub,
_
)
{
/* This module is used in order to get the current value/state of an HTML element. */
// Variables //
var $selector... | {
"content_hash": "1b883a9ab865ec579375eeb918e3bec9",
"timestamp": "",
"source": "github",
"line_count": 628,
"max_line_length": 127,
"avg_line_length": 44.68471337579618,
"alnum_prop": 0.5622193713919179,
"repo_name": "gvcm/CWAPP",
"id": "9b9c0202f9ba78d857473050720353b4b6730182",
"size": "28062",
... |
@interface NUILabelRendererTests : XCTestCase
@property (strong, nonatomic) UILabel *sut;
@end
@implementation NUILabelRendererTests
- (void)setUp
{
[super setUp];
[NUISettings initWithStylesheet:@"TestTheme.NUI"];
_sut = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 12, 12)];
_sut.text = ... | {
"content_hash": "11f5e4190dee6d72f7d0a6b3c73d180f",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 129,
"avg_line_length": 25.63157894736842,
"alnum_prop": 0.714835728952772,
"repo_name": "tutoru/nui",
"id": "9da185d5481c65b56a941bf5d4775217df5a705c",
"size": "4100",
... |
ARG IMAGE_TYPE
ARG PY_VERSION
# Currenly all of our dev images are GPU capable but at a cost of being quite large.
# See https://github.com/tensorflow/build/pull/47
FROM tensorflow/build:latest-python$PY_VERSION as dev_container
ARG TF_PACKAGE
ARG TF_VERSION
ARG PY_VERSION
RUN pip uninstall $TF_PACKAGE -y
RUN pip ins... | {
"content_hash": "0835712984515330372f20301e3212fd",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 84,
"avg_line_length": 30.803030303030305,
"alnum_prop": 0.721593703885883,
"repo_name": "tensorflow/recommenders-addons",
"id": "9da63d453d9178eb5c51569297af9828dde55059",
... |
var testRoundNumber = 0;
// The test pattern cycles as a color fill of red, then green, then blue.
var colors = [ [ 255, 0, 0 ], [ 0, 255, 0 ], [ 0, 0, 255 ] ];
var curIdx = 0;
// Capture parameters.
var width = 64;
var height = 48;
var frameRate = 15;
// The stream to playback in the video element.
var receiveStrea... | {
"content_hash": "e6be49e01411f8a5d2147f4871805157",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 80,
"avg_line_length": 37.0929203539823,
"alnum_prop": 0.6200644160801623,
"repo_name": "ric2b/Vivaldi-browser",
"id": "283796670d362fcb28f78b28312637a74ec06c6f",
"size": ... |
import {Request, Response} from 'express';
import * as _ from 'lodash';
import {onError} from '../../api/responses/errorHandler';
import {onSuccess} from '../../api/responses/successHandler';
import {dbErrorHandler} from '../../config/dbErrorHandler';
import {User} from './service';
export default class UserController... | {
"content_hash": "4630d2f9e89265507de064c4e1330039",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 76,
"avg_line_length": 30.68,
"alnum_prop": 0.6571056062581486,
"repo_name": "raphaellima8/typescript-api",
"id": "b4edb9772fd2001a2a446e033404b22b87426356",
"size": "1534"... |
FactoryGirl.define do
factory :user do
email Faker::Internet.email
user Faker::Internet.user_name
phone Faker::PhoneNumber.phone_number
first_name Faker::Name.first_name
last_name Faker::Name.first_name
groups "#{Faker::Company.name},#{Faker::Company.name},#{Faker::Company.name}"
role Use... | {
"content_hash": "ab472eb8e55b1ec1edc999b775ae977d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 81,
"avg_line_length": 25.791666666666668,
"alnum_prop": 0.6865912762520194,
"repo_name": "GSA/social-media-registry",
"id": "b375995ac36f86112828dc0f77e2d8e5fb8bda09",
"si... |
module GoodData
module Environment
module ConnectionHelper
set_const :DEFAULT_SERVER, 'https://staging2.getgooddata.com'
set_const :DEFAULT_USER_URL, '/gdc/account/profile/d8b356b30c0c12d1b4b97f56d6706ef2'
end
module ProjectHelper
set_const :PROJECT_ID, 'i640il7dyatqmvak24zzr09ypt3ghqu2... | {
"content_hash": "93aeaf94519f3b59724aed5f93102ead",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 90,
"avg_line_length": 32.8,
"alnum_prop": 0.7134146341463414,
"repo_name": "mankerious/lcmdemo",
"id": "cc1f292ebada01a8c2311e174dfb18e21b346f16",
"size": "712",
"binary... |
<!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_151) on Thu Feb 08 09:04:03 MST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.config.ma... | {
"content_hash": "c14766324d0897c9f920ddb4b6421edf",
"timestamp": "",
"source": "github",
"line_count": 363,
"max_line_length": 489,
"avg_line_length": 68.2396694214876,
"alnum_prop": 0.7136974688143394,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "f2cd8a38cc9a3e54bf4c7ebba55faad3cd0a5... |
Mac OS X songcoind build instructions
====================================
Authors
-------
* Laszlo Hanyecz <solar@heliacal.net>
* Douglas Huff <dhuff@jrbobdobbs.org>
* Colin Dean <cad@cad.cx>
* Gavin Andresen <gavinandresen@gmail.com>
License
-------
Copyright (c) 2009-2012 Bitcoin Developers
Distributed under th... | {
"content_hash": "a15f3bd41acc48edef41aa06cc88363c",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 175,
"avg_line_length": 34.49189189189189,
"alnum_prop": 0.7384422504309669,
"repo_name": "Songcoin/Songcoin",
"id": "d7fe1074031b6f3e05a588e3083dd80c1e20e074",
"size": "6... |
#ifndef vtkDICOMFileSorter_h
#define vtkDICOMFileSorter_h
#include <vtkObject.h>
#include "vtkDICOMModule.h" // For export macro
class vtkStringArray;
class vtkIntArray;
class vtkDICOMMetaData;
//! Sort DICOM files and group them by study and series.
/*!
* If a list of input files is provided via SetInputFileName... | {
"content_hash": "f4fba7bf6971e55874b9c744ee004b48",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 74,
"avg_line_length": 28.888157894736842,
"alnum_prop": 0.7107720337053063,
"repo_name": "Atamai/tactics",
"id": "e88d7e9d7762b4010f9a4d111d28d262341a42e9",
"size": "4911... |
'use strict';
angular.module('yamaApp').factory('Users', function (Restangular) {
return Restangular.service('users');
});
| {
"content_hash": "2218fbbbc52470a9d28fd1dcae2de62c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 67,
"avg_line_length": 25,
"alnum_prop": 0.712,
"repo_name": "fthamura/yamajs",
"id": "5da223908b739ca75be2203d7eec307dd302cd74",
"size": "125",
"binary": false,
"copies... |
<?php
$object = ($_GET[1] != 0) ? new Content($_GET[1]) : new Content();
$level_name = ($_GET[1] != 0) ? $object->__get('content_varchar_1') : $module->__get('module_title');
$system_name = $module->__get('module_system_name');
//permissions
$level = ($object->__get('content_level') != '') ? ($object->__get('conten... | {
"content_hash": "4662f7b78c46680e5fc5aa935340e7b2",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 346,
"avg_line_length": 64,
"alnum_prop": 0.5771484375,
"repo_name": "hugomarin/artBO",
"id": "9ed81d6183a27791a69a5bcd3955d7ece321301d",
"size": "4096",
"binary": false,... |
<?php
namespace Welhott\Vatlidator\Provider;
use Welhott\Vatlidator\VatProvider;
/**
* Class VatFinland
* @package Welhott\Vatlidator\Provider
*/
class VatFinland extends VatProvider
{
/**
* The ISO 3166-1 alpha-2 code that represents this country
* @var string
*/
private $country = 'FI';
... | {
"content_hash": "67f284fc198c9ee497fe88e29b1621fe",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 79,
"avg_line_length": 20.342105263157894,
"alnum_prop": 0.53751617076326,
"repo_name": "rvelhote/libvat",
"id": "9a004d262c29c5bd944d3a1515f0f58e12b22ba3",
"size": "2652",... |
package usbong.android.builder.fragments.dialogs;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
/**
* A simple {@link android.support.v4.app.Fragment} subclass.
* Use the {@link AddingChildT... | {
"content_hash": "629cdd54083d1dec7157e3faa7dec1ed",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 107,
"avg_line_length": 34.78260869565217,
"alnum_prop": 0.6233333333333333,
"repo_name": "linusmotu/usbong-builder",
"id": "48eaaf5f3ec7c0241512b0d7411adb3b5955d46c",
"siz... |
//
// GTLAdSenseAdUnits.h
//
// ----------------------------------------------------------------------------
// NOTE: This file is generated from Google APIs Discovery Service.
// Service:
// AdSense Management API (adsense/v1.3)
// Description:
// Gives AdSense publishers access to their inventory and the abil... | {
"content_hash": "dc01b39300560c96d94b856b95c6f1d5",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 79,
"avg_line_length": 28.06,
"alnum_prop": 0.6550249465431219,
"repo_name": "buidinhnguyen/GoogleAPI",
"id": "360d53b0045ba45cd501189624c8dfb04f397a64",
"size": "1998",
... |
package runtime_test
import (
"bytes"
"encoding/json"
"reflect"
"strings"
"testing"
"github.com/gengo/grpc-gateway/examples/examplepb"
"github.com/gengo/grpc-gateway/runtime"
"github.com/golang/protobuf/proto"
"github.com/golang/protobuf/ptypes/empty"
structpb "github.com/golang/protobuf/ptypes/struct"
"gi... | {
"content_hash": "136fcf2e83e764dc0aeb07863ef3dafd",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 87,
"avg_line_length": 27.016326530612243,
"alnum_prop": 0.6297023719595105,
"repo_name": "digitalfishpond/dashboard",
"id": "e476db588d58126b0b5508e3f00e8668776a3d78",
"s... |
<h1>Contacts</h1>
<a href="https://github.com/alxzoomer" target="_blank">My code on GitHub</a> | {
"content_hash": "2209bf5dcf5f43017ca8834cd3a6f092",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 76,
"avg_line_length": 32,
"alnum_prop": 0.6875,
"repo_name": "alxzoomer/WebAPI-AngularJS-Seed",
"id": "5230e1cfae6b879913226072c55e14b74a806bdc",
"size": "98",
"binary": ... |
package com.linkedin.pinot.core.data.readers;
import java.io.File;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import org.apache.commons.io.FileUtils;
import org.apache.commons.lang3.RandomStringUtil... | {
"content_hash": "39eb055df1c6cfae368422ffa7409dc1",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 124,
"avg_line_length": 35.93150684931507,
"alnum_prop": 0.7277926038886771,
"repo_name": "tkao1000/pinot",
"id": "849f909bb8fe0487c148715da82c8f45e96b155a",
"size": "5883... |
---
layout: post
title: "Markdown Tips & Tricks - Part 2"
categories: [jekyll, github, tutorials in English]
tags: [markdown, kramdown, jekyll, github, github pages, git]
meta_keywords: markdown, kramdown, jekyll, github, github pages, git, tips and tricks, dicas e truques
author: Marcia Ramos
fb_section: Tutorials - J... | {
"content_hash": "65cced419c4061560673322db9094935",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 456,
"avg_line_length": 42.153583617747444,
"alnum_prop": 0.6997004291150514,
"repo_name": "VirtuaCreative/blog",
"id": "981c0e52be0b26c8806630f8ab9c59780a108b64",
"size":... |
var Promise = require('bluebird');
var fs = require('fs');
var path = require('path');
var _ = require('lodash');
var csv = Promise.promisifyAll(require('csv'));
var OUTPUT_DIR = '../data/';
var gtfsPath = path.resolve(__dirname, '../tampere_gtfs_latest');
// Format:
// shape_id,shape_pt_lat,shape_pt_lon,shape_pt... | {
"content_hash": "c0791c27a4e1e3267b161d66e71112fb",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 77,
"avg_line_length": 27.384615384615383,
"alnum_prop": 0.6007724719101124,
"repo_name": "kimmobrunfeldt/googlemaps-demo",
"id": "65f718e3eabab831a9d9bc6cc87adc5be6682a00",... |
<?php
class Phoenix_Moneybookers_Model_Acc extends Phoenix_Moneybookers_Model_Abstract
{
/**
* unique internal payment method identifier
*/
protected $_code = 'moneybookers_acc';
protected $_paymentMethod = 'ACC';
}
| {
"content_hash": "1248692063fd3969696f8763e1952d6b",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 80,
"avg_line_length": 25.1,
"alnum_prop": 0.6533864541832669,
"repo_name": "almadaocta/lordbike-production",
"id": "d5fd3e1355e1108c801d8617c44e2db49b4effd5",
"size": "100... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e638ce4506d67f26ff1c6f10caf6c207",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "858d5e2b33ae5127d468f90f0f749dde175b1cf8",
"size": "185... |
angular.module('settings', [])
.factory('AppSettingsService', AppSettingsService);
/**
* A service that exposes anything is present in the django configuration for the settings JS_CONFIG. This is
* usually a config dict
* Note: The {% js_config %} tag must be present somewhere in the HTML template
* @construct... | {
"content_hash": "e2a0fd01b811c9b4e158c00ef3c25bac",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 109,
"avg_line_length": 32.625,
"alnum_prop": 0.7203065134099617,
"repo_name": "h2020-westlife-eu/VRE",
"id": "fa1b5117811438407a1f5c4f7ada4cb39b025af5",
"size": "522",
"... |
package org.activiti.runtime.api.event.impl;
import org.activiti.api.task.runtime.events.TaskCandidateUserAddedEvent;
import org.activiti.engine.delegate.event.ActivitiEntityEvent;
import org.activiti.engine.task.IdentityLink;
import org.activiti.runtime.api.model.impl.APITaskCandidateUserConverter;
import java.util... | {
"content_hash": "337ea5ccfad69ee5972a0b34f9e4b6dc",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 132,
"avg_line_length": 42.0625,
"alnum_prop": 0.7852897473997028,
"repo_name": "Activiti/Activiti",
"id": "feec13edf275f7fc32b01bea338fb4068ae4ccc4",
"size": "1957",
"bi... |
declare function ToLength(value: unknown): number;
export = ToLength;
| {
"content_hash": "06388f20b4a4577aa9412f185bed085d",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 50,
"avg_line_length": 35,
"alnum_prop": 0.7857142857142857,
"repo_name": "markogresak/DefinitelyTyped",
"id": "ebca699476ea0b5d7acf1315f4d3c31d798b34f0",
"size": "70",
"b... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, V... | {
"content_hash": "fdd05bea602c89ec2b9eed748e3f6891",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 119,
"avg_line_length": 41.38235294117647,
"alnum_prop": 0.7356076759061834,
"repo_name": "guptapuneet/lens",
"id": "6503261f29150023a8f53bbd417a257cf07ca17d",
"size": "140... |
/* { dg-do preprocess } */
/* Tests that #include does not allow the terminating '>' or '"' to be
escaped, as per the standard. */
/* Source: Neil Booth, 4 Nov 2000. */
#include "silly\"" /* { dg-error "extra tokens" "" } */
/* These error is No such file or directory, just once. However, this
message i... | {
"content_hash": "f0cc67d003ac11166079bdc765b46d45",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 70,
"avg_line_length": 34,
"alnum_prop": 0.5827205882352942,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "9370d0944e6e664a4f535410089276a29ab2f902",
"size":... |
__author__ = 'scarroll'
from pygov.usda.enums import *
from pygov.usda.domain import Nutrient, Food, FoodReport
from pygov.base.client import DataGovClientBase, get_response_data
class UsdaClient(DataGovClientBase):
def __init__(self, api_gov_key):
super(UsdaClient, self).__init__('usda/', api_gov_key)
... | {
"content_hash": "4d789f0ef18c4cf7e46313341fe6cd17",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 143,
"avg_line_length": 44.734693877551024,
"alnum_prop": 0.6747262773722628,
"repo_name": "skeryl/pygov",
"id": "4fe20b2f87185031a7a73ca455ee954a8f6e9774",
"size": "2192",... |
package com.hoho.android.usbserial.examples;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.hardware.usb.UsbDevice;
import android.hardware.usb.UsbManager;
import android.os.AsyncTask;
import android.os.Bundle;
import android.os.Handler;
import android.os.M... | {
"content_hash": "1f363465f67848d625c63d745405f568",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 114,
"avg_line_length": 35.6431718061674,
"alnum_prop": 0.5886787788901249,
"repo_name": "nfcwormhole/NFC_WIFI_Share",
"id": "df37418aff85bab278cfa0bf96c2c082590e9b75",
"s... |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<script src="https://unpkg.com/konva@7.2.5/konva.min.js"></script>
<script src="shape-stage.js"></script>
<meta charset="utf-8" />
<title>dusen n' dusen drawing</title>
<link rel="stylesheet" href="shape-style.... | {
"content_hash": "27b500afbcbca40d82c57e87dd54d309",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 83,
"avg_line_length": 31.333333333333332,
"alnum_prop": 0.624113475177305,
"repo_name": "stephtzhang/stephtzhang.github.io",
"id": "4079054216d83c56e1e9b107c5590cc968d50e8b"... |
/**
* Module dependencies.
*/
var EventEmitter = require('events').EventEmitter
, debug = require('debug')('runner')
, Test = require('./test')
, utils = require('./utils')
, noop = function(){};
/**
* Expose `Runner`.
*/
module.exports = Runner;
/**
* Initialize a `Runner` for the given `suite`.
*
... | {
"content_hash": "90c46d2d169c0f5fa6ae192fecf73cc8",
"timestamp": "",
"source": "github",
"line_count": 422,
"max_line_length": 91,
"avg_line_length": 19.753554502369667,
"alnum_prop": 0.5927303262955854,
"repo_name": "dmohl/expectThat",
"id": "6132757ddc8c1279b2a2fd5b9571dfdf5a065fbd",
"size": "83... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Kinect_for_Windows_2._0_Demo
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
... | {
"content_hash": "6cd2e4a8061e4df09920385dadbbc5f1",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 65,
"avg_line_length": 24.09090909090909,
"alnum_prop": 0.6150943396226415,
"repo_name": "GEMISIS/Kinect-for-Windows-2.0-Demo",
"id": "a14438200fe55d23157a9cb6a7cfe216b208799... |
<?php
namespace Neos\Flow\I18n\Cldr\Reader\Exception;
use Neos\Flow\I18n\Cldr\Exception\InvalidCldrDataException;
/**
* The "Invalid Plural Rule" exception
*
* Thrown when plural rule equation from CLDR is invalid (which probably means
* that CLDR repository is corrupted).
*
* @api
*/
class InvalidPluralRuleE... | {
"content_hash": "1dbec93413dcea47c93381f6a8e34d53",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 78,
"avg_line_length": 21.529411764705884,
"alnum_prop": 0.76775956284153,
"repo_name": "daniellienert/flow-development-collection",
"id": "9f75c9e20069b0689956ced87209921adf... |
using System;
using Mina.Core.Session;
namespace Mina.Handler.Chain
{
/// <summary>
/// A <see cref="IoHandlerCommand"/> encapsulates a unit of processing work to be
/// performed, whose purpose is to examine and/or modify the state of a
/// transaction that is represented by custom attributes provide... | {
"content_hash": "a7e00b1014018be9f7fea46c44fc130c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 85,
"avg_line_length": 31.5625,
"alnum_prop": 0.6811881188118812,
"repo_name": "longshine/Mina.NET",
"id": "7818dcb2a51679d4ea8ea2645fdc166b097c2eae",
"size": "507",
"bin... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/concepts/actions/drawing" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/concepts/actions/drawing</sem:subject>
<sem:predicate>http://www.w3.org/2004/02/skos/core#prefLabel</sem:predic... | {
"content_hash": "e83ba91c969606e92a5907f102f9089e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 110,
"avg_line_length": 53.27777777777778,
"alnum_prop": 0.7059436913451512,
"repo_name": "freshie/ml-taxonomies",
"id": "b058482a59494348cd8ab37b3fd3ab1e33b503a3",
"size":... |
package laika.directive.std
import laika.api.RenderPhaseRewrite
import laika.ast.Path.Root
import laika.ast.RelativePath.CurrentTree
import laika.ast.sample.ParagraphCompanionShortcuts
import laika.ast.{BlockSequence, Image, InternalTarget, LengthUnit, Options, RootElement, SpanSequence, Styles, Text}
import laika.f... | {
"content_hash": "7a784cac8a97512b016e5219b5565cbc",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 140,
"avg_line_length": 35.52884615384615,
"alnum_prop": 0.6365358592692828,
"repo_name": "planet42/Laika",
"id": "34b1bd35a98dc0924f6110d830ce50183b28cd04",
"size": "4315... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You under the Apache Lice... | {
"content_hash": "b0b6553f46bc24fbb539f69abe07717c",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 105,
"avg_line_length": 32.68695652173913,
"alnum_prop": 0.6525671721202447,
"repo_name": "lburgazzoli/camel",
"id": "30c708b70b977e428f005fdd178f495328672d7f",
"size": "3... |
This folder includes materials covered during the 5th week of the course (2 lectures of 2.5 hour duration). Overview of the first 4 week material was provided followed by a midterm exam (exam paper available in this folder). During the 2nd lecture alternative libraries for scraping were covered (urllib2 as an alternati... | {
"content_hash": "0e694d3987a5e3b94f5afc60960b37a9",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 625,
"avg_line_length": 60,
"alnum_prop": 0.7772727272727272,
"repo_name": "HrantDavtyan/Data_Scraping",
"id": "92a1ff27df8efcea458e6d6fbdd90f62675e38a9",
"size": "1335",
... |
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('cbh_chembl_model_extension', '0019_auto_20150721_0515'),
]
operations = [
migrations.RemoveField(
model_name='skinningconfig',
... | {
"content_hash": "b81bb07e89dd0142bb8b7bdabbbc20e0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 66,
"avg_line_length": 21.11764705882353,
"alnum_prop": 0.6128133704735376,
"repo_name": "thesgc/cbh_chembl_model_extension",
"id": "cba303ffb7c08c7a7404e7e077d732d46c1f9256"... |
/*
# Method to create a list
# input: list of items separated by spaces (example: "carrots apples cereal pizza")
# steps:
# go through list
# set default quantity to 1
# print the list to the console [can you use one of your other methods here?]
# output: object container showing the items and it's quantities
#... | {
"content_hash": "ab845c23fb571877876104089ec3e5da",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 131,
"avg_line_length": 30.5,
"alnum_prop": 0.7096994535519126,
"repo_name": "billdevcode/phase-0",
"id": "6a950db3497ee1dc053a1a6964a30ce152e9ebf8",
"size": "2928",
"bin... |
"""
Python API for KB SRU
"""
import sys
import urllib
import requests
from lxml import etree
SRU_BASEURL = 'http://jsru.kb.nl/sru/sru'
SRU_BASEURL += '?version=1.2&maximumRecords=%i'
SRU_BASEURL += '&operation=searchRetrieve'
SRU_BASEURL += '&startRecord=%i'
SRU_BASEURL += '&recordSchema=%s'
SRU_BASEURL += '&x-colle... | {
"content_hash": "ac41b440b1d784cc69f13a1c0f788d1b",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 106,
"avg_line_length": 36.633720930232556,
"alnum_prop": 0.5153943818441518,
"repo_name": "KBNLresearch/omSipCreator",
"id": "4d986bc4e8b34e71f5af799c5a0cb6fff78aa276",
"... |
<?php
namespace Oro\Bundle\EmailBundle\Tests\Unit\Manager;
use Doctrine\Bundle\DoctrineBundle\Registry;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\ORM\EntityManager;
use Gaufrette\Filesystem;
use Symfony\Component\HttpFoundation\File\File as ComponentFile;
use Symfony\Component\HttpFoundation\File\... | {
"content_hash": "868e3411caa8e7f18facc77ee493aeb5",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 119,
"avg_line_length": 33.246212121212125,
"alnum_prop": 0.6248148570126467,
"repo_name": "geoffroycochard/platform",
"id": "6169ef31d9c4a045bb644c6a15280ef37eb406f1",
"s... |
class FixNilDescriptions < ActiveRecord::Migration[4.2]
class DraftContentItem < ApplicationRecord; end
class LiveContentItem < ApplicationRecord; end
def up
models = [DraftContentItem, LiveContentItem]
models.each do |m|
m.find_each do |item|
description = item.description
if des... | {
"content_hash": "e97916be7a8173fb63b623a7fa3b78a9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 55,
"avg_line_length": 21.869565217391305,
"alnum_prop": 0.6540755467196819,
"repo_name": "alphagov/publishing-api",
"id": "70a464c0b8eaf4e1b91fcada960c37403d091e10",
"size... |
require "spec_helper"
require "rubocop"
RSpec.describe 'CI' do
before(:all) do
drop_dummy_database
remove_project_directory
create_dummy_project
end
it "correctly bundles the config file" do
yml_path = "#{project_path}/.circleci/config.yml"
content = IO.read(yml_path)
expect(File.exist?(... | {
"content_hash": "915c840710fabce5e345ea9e55f9fba9",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 25.11764705882353,
"alnum_prop": 0.6838407494145199,
"repo_name": "platanus/potassium",
"id": "e0d3bde1b3406f26cf347caf2cc71c01d6edc924",
"size": "42... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><!-- NAME: 1 COLUMN -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-sc... | {
"content_hash": "d1d3b8e3874cf4915b3a9f42da4d5dfd",
"timestamp": "",
"source": "github",
"line_count": 637,
"max_line_length": 485,
"avg_line_length": 50.19152276295134,
"alnum_prop": 0.6020267734267484,
"repo_name": "EESoc/eesoc-website",
"id": "35cd98abb24505f4b748719c88548c0e8cdb051b",
"size": ... |
module RepoManager
# An abstract superclass for basic action functionality specific to an
# application implementation. Put application specific code here.
class AppAction < BaseAction
# Used by asset factory to create assets. Override in app_action.rb or a
# descendant to set the class to be instanti... | {
"content_hash": "daf2a9543509defdfbd24c3738e454dd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 77,
"avg_line_length": 23.73913043478261,
"alnum_prop": 0.6831501831501832,
"repo_name": "robertwahler/repo_manager",
"id": "8aeea286c2c8b6d10c8632e128ba34b2a9f1dfb0",
"siz... |
from __future__ import print_function
try:
import ConfigParser
except ImportError:
import configparser as ConfigParser
import mock
import os
import subprocess
from helpers import unittest
from luigi import six
import luigi
import luigi.cmdline
from luigi.mock import MockTarget
class SomeTask(luigi.Task):
... | {
"content_hash": "80325f63ca5f8cd302390e8437243021",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 151,
"avg_line_length": 42.209726443769,
"alnum_prop": 0.6297256426874055,
"repo_name": "edx/luigi",
"id": "feaea5db62b842f6b28e7205e960b246866341b0",
"size": "14490",
"... |
"""
* Copyright 2007,2008,2009 John C. Gunther
* Copyright (C) 2009 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
*
* 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/lic... | {
"content_hash": "7c5ba57c9539dbadfc48e115927524b1",
"timestamp": "",
"source": "github",
"line_count": 3865,
"max_line_length": 195,
"avg_line_length": 36.32833117723157,
"alnum_prop": 0.6478929413356693,
"repo_name": "Hasimir/pyjs",
"id": "60b4e299b9d0a77c767967130b569af448983d8b",
"size": "14040... |
// Follow the instructions in uppercase/README.md for running these tests.
// Visit https://firebase.google.com/docs/functions/unit-testing to learn more
// about using the `firebase-functions-test` SDK.
// Chai is a commonly used library for creating unit test suites. It is easily extended with plugins.
const chai ... | {
"content_hash": "df0ab4350e0a1e23825bd35e3e47c538",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 103,
"avg_line_length": 40.44705882352941,
"alnum_prop": 0.664630599185573,
"repo_name": "firebase/functions-samples",
"id": "fc49330347fedf403499e6dd19556a8a60e20544",
"si... |
package org.elasticsearch.xpack.ml.dataframe.stats;
import org.elasticsearch.test.ESTestCase;
import org.elasticsearch.xpack.core.ml.dataframe.stats.common.DataCounts;
import org.elasticsearch.xpack.core.ml.utils.PhaseProgress;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import jav... | {
"content_hash": "98c63cddf67ef88d1fce6352e2e36d01",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 95,
"avg_line_length": 43.75916230366492,
"alnum_prop": 0.6396267049533381,
"repo_name": "GlenRSmith/elasticsearch",
"id": "dcde7dab0bd597905d3a22cb37ad40e85bc2e33f",
"siz... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/Yonah/development/react/react-native-heading/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.1/res/values-sl/values-sl.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_bar_home... | {
"content_hash": "378ec60ae7e2b9d124e2bc8d1003d279",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 184,
"avg_line_length": 93.52,
"alnum_prop": 0.7549187339606501,
"repo_name": "yonahforst/react-native-heading",
"id": "da09d3e45a45fee9fd151af43bfd4145ba80b91a",
"size": "... |
package org.commonjava.indy.bind.jaxrs;
import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import javax.ws.rs.ext.ExceptionMapper;
import org.apache.commons.lang3.exception.ExceptionUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* T... | {
"content_hash": "1974ce7a642df989d897b4eb1947a248",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 97,
"avg_line_length": 33.51219512195122,
"alnum_prop": 0.6790393013100436,
"repo_name": "ruhan1/indy",
"id": "8db8a9c04fa043e269f9ea6f60b0388d14c080c0",
"size": "2021",
... |
Change log
==========
v4.6.0
------
* Improve support for alternative settings in SpaceGroup.
* Fix respect for user_incar_settings in MPNonSCFSet and MPSOCSet
* Support for argcomplete in pmg script.
* Speed ups to Ewald summation.
* Add functionality to parse frequency dependent dielectric function.
* Improvements t... | {
"content_hash": "6da8dfc8d2320e8a2c7d2fc6a9a5ae8b",
"timestamp": "",
"source": "github",
"line_count": 1157,
"max_line_length": 122,
"avg_line_length": 33.54624027657736,
"alnum_prop": 0.7535619508927421,
"repo_name": "ndardenne/pymatgen",
"id": "974c9798496e6a32d8eb5315cfcbb3233b9105c9",
"size": ... |
using System.Collections.Generic;
using System.Linq;
using Benchmarks.Enums;
using Benchmarks.Models;
using Benchmarks.ViewModels;
using Omu.ValueInjecter;
namespace Benchmarks.Mapping
{
public class ValueInjectorMappings
{
public static void Init()
{
Mapper.Reset();
M... | {
"content_hash": "9f40ee76dca7a4014472764141158da4",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 106,
"avg_line_length": 39.361111111111114,
"alnum_prop": 0.5532815808045166,
"repo_name": "modulexcite/ExpressMapper",
"id": "776eeecefcb4d18910279c9ee6b0e38a6a5595ed",
"s... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple p... | {
"content_hash": "1c4f08e58ef5917915ae24da13835820",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 79,
"avg_line_length": 26.285714285714285,
"alnum_prop": 0.45471014492753625,
"repo_name": "gm-ah/Cachet",
"id": "ebece693eb1d841435341439c827a1fce50b03bc",
"size": "762",
... |
layout: null
---
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<title type="text">{{ site.title }}</title>
<generator uri="https://github.com/mojombo/jekyll">Jekyll</generator>
<link rel="self" type="application/atom+xml" href="{{ site.url }}/feed.xml" />
<link rel="alt... | {
"content_hash": "cfc267d6da902f8f7e6fb48decd2fbf7",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 132,
"avg_line_length": 39.45945945945946,
"alnum_prop": 0.6006849315068493,
"repo_name": "savvyclutch/savvyclutch.github.io",
"id": "c1932d3a45bd97c275245bbd582a0870dcb877ea... |
/**
<p> Classes and interfaces to create and handle web services.</p>
*/
package javolution.xml.ws;
| {
"content_hash": "1e0cc09cbd5e2d38e7c3a6687920908c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 65,
"avg_line_length": 20.4,
"alnum_prop": 0.7058823529411765,
"repo_name": "rPraml/org.openntf.domino",
"id": "0eef27c8501ceee738fc8eac62ed15f2f1a2e300",
"size": "102",
"... |
package weibo4j.examples.timeline;
import weibo4j.Timeline;
import weibo4j.examples.oauth2.Log;
import weibo4j.model.WeiboException;
import weibo4j.org.json.JSONArray;
public class GetRepostWeekly {
public static void main(String[] args) {
String access_token =args[0];
Timeline tm = new Timeline();
... | {
"content_hash": "a5db5a32f5fa529e29f5b78622941ed5",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 43,
"avg_line_length": 22.608695652173914,
"alnum_prop": 0.698076923076923,
"repo_name": "ManGroup/Demo",
"id": "d88ccddb09ac13c78fbc5ee24425c237d825c31c",
"size": "520",
... |
/**@jsx*/
var builder = require('focus').component.builder;
var Button = require('../../common/button/action').component;
var SelectAction = require('../../common/select-action').component;
var actionContextualMixin = {
/**
* Display name.
*/
displayName: 'list-action-contextual',
/**
* In... | {
"content_hash": "fc39ca1633ad340facb07f2a2411631d",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 192,
"avg_line_length": 31.64788732394366,
"alnum_prop": 0.57543391188251,
"repo_name": "Bernardstanislas/focus-components",
"id": "bf90565db4395204f0ffb0788c3241df20530bb6",... |
package ca.uhn.fhir.jpa.entity;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
//@formatter:off
@Entity
@Table(name = "HFJ_SPIDX_DATE" /*, indexes= {@Index(name="IDX_S... | {
"content_hash": "5067c6b7cc8b54c3d63dd8d2bfcaed56",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 123,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.7465277777777778,
"repo_name": "gajen0981/FHIR-Server",
"id": "303a27970899f5aef4e1d40519bcbd60aab80893",
"size"... |
package org.apache.myfaces.trinidad.convert;
import java.text.DecimalFormatSymbols;
import java.util.Locale;
import javax.faces.convert.ConverterException;
import javax.faces.convert.NumberConverter;
import javax.faces.component.UIComponent;
import javax.faces.component.UIViewRoot;
import org.apache.myfaces.trinid... | {
"content_hash": "dc1ad062375b538e30825a44b0f26dbd",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 77,
"avg_line_length": 28.69060773480663,
"alnum_prop": 0.6886192952050838,
"repo_name": "adamrduffy/trinidad-1.0.x",
"id": "0f29f4fdd11deabb85c0aff2d5518f9d4098f2c6",
"si... |
function out = iszero(f)
%ISZERO True for zero CHEBTECH objects.
% ISZERO(F) returns logical TRUE is F.COEFFS has only zero entries and logical
% FALSE otherwise.
% Copyright 2016 by The University of Oxford and The Chebfun Developers.
% See http://www.chebfun.org/ for Chebfun information.
out = ~any(f.coeffs... | {
"content_hash": "ee3ace7f79702ce76cb41a0155ae3925",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 80,
"avg_line_length": 27.823529411764707,
"alnum_prop": 0.6892177589852009,
"repo_name": "alshedivat/chebfun",
"id": "55d6ef06261774663868ad204965e9b17e315e91",
"size": "4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.