text stringlengths 2 1.04M | meta dict |
|---|---|
package org.wso2.andes.kernel.disruptor.inbound;
import com.lmax.disruptor.EventFactory;
import org.wso2.andes.kernel.AndesAckData;
import org.wso2.andes.kernel.AndesChannel;
import org.wso2.andes.kernel.AndesException;
import org.wso2.andes.kernel.AndesMessage;
import org.wso2.andes.kernel.dtx.DtxBranch;
import org... | {
"content_hash": "bcef824932bdb00fe4da03deef85acbd",
"timestamp": "",
"source": "github",
"line_count": 360,
"max_line_length": 114,
"avg_line_length": 27.586111111111112,
"alnum_prop": 0.6355855402275702,
"repo_name": "hastef88/andes",
"id": "3ea0af084a1b97f000cc5661e4da1cc749641453",
"size": "106... |
/**@file tsip_header_P_Preferred_Identity.h
* @brief SIP header 'P-Preferred-Identity'.
*
* @author Mamadou Diop <diopmamadou(at)doubango[dot]org>
*
*/
#ifndef _TSIP_HEADER_P_PREFERRED_IDENTITY_H_
#define _TSIP_HEADER_P_PREFERRED_IDENTITY_H_
#include "tinysip_config.h"
#include "tinysip/tsip_uri.h"
#include "... | {
"content_hash": "77568485fdc94870d04ba7b1e4ac77a8",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 122,
"avg_line_length": 31.877551020408163,
"alnum_prop": 0.6434058898847631,
"repo_name": "PeterXu/perfume",
"id": "9272932dc9892c29aefa0c1169e62e2151bf63ac",
"size": "230... |
/* http://javascript.crockford.com/private.html */
function MensaBackend() {
// constructor
var that = this;
dbUsers = TAFFY( getJsonUsers() );
dbText = TAFFY( getJsonText() );
var loggedInUser = false;
var reg = {"roomType":"","package":"","shareRoom":"0","shareWith":"","nbAdults":"0","nbChild... | {
"content_hash": "add69c6d9085f965d52aba5c79b0db9d",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 117,
"avg_line_length": 24.63157894736842,
"alnum_prop": 0.514102564102564,
"repo_name": "toel--/m2016",
"id": "0dcb6b1b196fd80005000e67ac50a44991722ead",
"size": "4688",
... |
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright Terracotta, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unle... | {
"content_hash": "5d6d3664dfb4473f39412a1a7433d8c0",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 76,
"avg_line_length": 32.75,
"alnum_prop": 0.6768447837150128,
"repo_name": "albinsuresh/terracotta-platform",
"id": "346a210128dfef5f61c6316797ab13555e320961",
"size": "1... |
include(CheckFunctionExists)
function(_find_library _names _check_function _result)
if(APPLE)
find_library(_lib
NAMES ${_names}
PATHS /usr/local/lib /usr/lib /usr/local/lib64 /usr/lib64
ENV DYLD_LIBRARY_PATH
)
else()
find_library(_lib
... | {
"content_hash": "723ba76720dcf3f21deac231ee272ffb",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 69,
"avg_line_length": 29.82608695652174,
"alnum_prop": 0.5699708454810496,
"repo_name": "robertodr/autocmake",
"id": "1d9c9807235c4f9b85e2c1a7d0821df8c0917d11",
"size": "8... |
<?php
/**
* $Id$
*
* Implements friend lists. also implements blocked contacts
*
* @author Martin Lindhe, 2007-2011 <martin@ubique.se>
*/
//STATUS: working, but deprecated. "bookmark to favorite user" exists in Bookmark.php
//TODO: a OO version of full functionality with sending friend request
throw new \Excep... | {
"content_hash": "47dbe92a33373ab0d90124abbe4dcee6",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 170,
"avg_line_length": 33.27871939736347,
"alnum_prop": 0.6108313055288326,
"repo_name": "martinlindhe/core_dev",
"id": "06da354ef3b8ebcb55e45354068d958644d89715",
"size"... |
sudo /usr/local/share/nginx/sbin/nginx
| {
"content_hash": "1ad35363ad06192f156eba10973da084",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 38,
"avg_line_length": 39,
"alnum_prop": 0.7948717948717948,
"repo_name": "samwhelp/demo-nginx-rtmp",
"id": "ebe333386fbdad5b68cb51884d6364b2ac05d91e",
"size": "60",
"bina... |
cd "$(dirname "${BASH_SOURCE[0]}")" || exit
git pull origin master
function heading() {
local divider="==================================="
echo -e "\n${divider}"
echo -e " $*"
echo ${divider}
}
function log {
echo -e "$*"
}
function has_internet_access() {
ping -c 1 -q google.com >&/dev/null
}
functio... | {
"content_hash": "dd8fba505dc74bcca29047aecc5e5cdf",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 96,
"avg_line_length": 22.2,
"alnum_prop": 0.6018991964937911,
"repo_name": "larrybotha/dotfiles",
"id": "f9d2108573f666c0666320b4bf9911f8fc91f72b",
"size": "4128",
"bin... |
name 'testsamp2'
maintainer 'The Authors'
maintainer_email 'you@example.com'
license 'All Rights Reserved'
description 'Installs/Configures testsamp2'
version '0.1.0'
chef_version '>= 14.0'
depends 'vagrant'
| {
"content_hash": "9a823614738e7fb60a49d209af5e1d24",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 43,
"avg_line_length": 23.22222222222222,
"alnum_prop": 0.7703349282296651,
"repo_name": "go-chef/chef",
"id": "341a2675083318f2e3e4fdec4acd11330213b62f",
"size": "209",
"... |
// ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
using Microsoft.WindowsAzure.Mobile.Service;
namespace ZumoE2EServerApp.DataObject... | {
"content_hash": "275e2fa4206ae2a578756038d5071892",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 80,
"avg_line_length": 26.90909090909091,
"alnum_prop": 0.47128378378378377,
"repo_name": "fabiocav/azure-mobile-services-test",
"id": "e0c95da6c2303a08ac8c5584d95c6896789712... |
define(function (require, exports, module) {
"use strict";
exports.last = function (a) {
return a[a.length - 1];
};
exports.stringReverse = function (string) {
return string.split("").reverse().join("");
};
exports.stringRepeat = function (string, count) {
var result... | {
"content_hash": "70768f14d17495c78f9da5536ad9569c",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 111,
"avg_line_length": 24.23076923076923,
"alnum_prop": 0.4588359788359788,
"repo_name": "wso2/carbon-analytics",
"id": "b97aa5c23c6292e5b7ea16d8787356024110bf25",
"size"... |
require 'ffi'
module User32
extend FFI::Library
ffi_lib 'user32.dll'
ffi_convention :stdcall
KEYEVENTF_KEYUP = 0x0002
attach_function :keybd_event, [:short, :short, :uint, :pointer], :void
attach_function :VkKeyScanA, [:char], :short
end
class RuKeyboard
def press_key key
code = User32::VkKeyScanA... | {
"content_hash": "a9affdc8bf84e1d1bcb2881595727138",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 72,
"avg_line_length": 21.416666666666668,
"alnum_prop": 0.6906614785992218,
"repo_name": "kosmaks/rukeyboard",
"id": "58198cff7b7382ef84c428d55a2e6682250fc3f7",
"size": "5... |
namespace g{namespace Fuse{namespace Camera{struct TakePictureOptions;}}}
namespace g{
namespace Fuse{
namespace Camera{
// public sealed class TakePictureOptions :15
// {
uType* TakePictureOptions_typeof();
void TakePictureOptions__ctor__fn(TakePictureOptions* __this);
void TakePictureOptions__get_CorrectOrientation... | {
"content_hash": "a54ab2560b27cd32866c456465d6f516",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 95,
"avg_line_length": 39.43478260869565,
"alnum_prop": 0.7585446527012127,
"repo_name": "blyk/BlackCode-Fuse",
"id": "ac5b2cafafdf30bbc21ad34fbec3ec01676a3aa2",
"size": "2... |
.datebox-calendar-inner {
height: 180px;
}
.datebox-button {
height: 18px;
padding: 2px 5px;
font-size: 12px;
text-align: center;
}
.datebox-current,
.datebox-close,
.datebox-ok {
text-decoration: none;
font-weight: bold;
opacity: 0.6;
filter: alpha(opacity=60);
}
.datebox-current,
.datebox-close {
... | {
"content_hash": "39462e7283192dcd918f6860995a6246",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 114,
"avg_line_length": 18.375,
"alnum_prop": 0.672108843537415,
"repo_name": "ldjking/wbscreen",
"id": "4a07c46dd5743ad1ed08007237fcd95b6cc3d527",
"size": "735",
"binary... |
/* jshint expr:true */
import Ember from 'ember';
import <%= classifiedModuleName %>Mixin from '<%= dasherizedPackageName %>/mixins/<%= dasherizedModuleName %>';
describe('<%= classifiedModuleName %>Mixin', function() {
// Replace this with your real tests.
it('works', function() {
var <%= classifiedModuleName... | {
"content_hash": "5b7e68b6b6e0f77484f2c4ea3b229ff9",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 111,
"avg_line_length": 40.75,
"alnum_prop": 0.6789366053169734,
"repo_name": "rwjblue/ember-cli-mocha",
"id": "4ec8b0fce925c28724dd6448c5de841e0d9d77c8",
"size": "489",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cours-de-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "90714df10c4c54bd46c944775df6e230",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 159,
"avg_line_length": 41.976190476190474,
"alnum_prop": 0.537861599546228,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "196f7b9820f1350f38c04eb9c264c7339844b0f5",
... |
<?php
namespace HbgEventImporter\MiddleLayer;
class Navigations extends \HbgEventImporter\MiddleLayer\SyncManager
{
public $singularName = "navigation";
public $pluralName = "navigations";
public function __construct()
{
parent::__construct($this->singularName, $this->pluralName);
if... | {
"content_hash": "7ffc1ea50503bf9ae7df72c5a44a4ff4",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 86,
"avg_line_length": 28.352941176470587,
"alnum_prop": 0.5373443983402489,
"repo_name": "helsingborg-stad/api-event-manager",
"id": "18651e1087a8aae0010ca11c4207f588941ebbe... |
Hej {TO_USERNAME},
Följande är ett e-postmeddelande skickas till dig med {FROM_USERNAME} via ditt konto på {SITENAME}. Om detta meddelande är spam, innehåller kränkande eller andra synpunkter som du finner stötande kontakta webmaster i styrelsen på följande adress:
{BOARD_EMAIL}
Har denna fullständiga e-postadress (... | {
"content_hash": "fb7afd2cd9489ba9d02d07bed679d3d6",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 246,
"avg_line_length": 42.666666666666664,
"alnum_prop": 0.75390625,
"repo_name": "chief-j/toloka",
"id": "315ec526678e31a3e352550faa9104e50c1a9728",
"size": "528",
"bin... |
dojo.provide("dojox.form.Uploader");
dojo.experimental("dojox.form.Uploader");
dojo.require("dojox.form.uploader.Base");
dojo.require("dijit.form.Button");
//
// TODO:
// i18n
// label via innerHTML
// Doc and or test what can be extended.
// Doc custom file events
// Use new FileReader() for thumbnails
/... | {
"content_hash": "48b150989005a8287cd25ea6b71b7400",
"timestamp": "",
"source": "github",
"line_count": 391,
"max_line_length": 126,
"avg_line_length": 27.785166240409207,
"alnum_prop": 0.6514175257731959,
"repo_name": "sulistionoadi/belajar-springmvc-dojo",
"id": "170bd485b9ab623176b1b4f717a5101b882... |
#include "fuse_dfs.h"
#include "fuse_impls.h"
#include "fuse_connect.h"
/**
* For now implement truncate here and only for size == 0.
* Weak implementation in that we just delete the file and
* then re-create it, but don't set the user, group, and times to the old
* file's metadata.
*/
int dfs_truncate(const ... | {
"content_hash": "dcaa31dce002d4826ef9d5903128beab",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 79,
"avg_line_length": 24.62962962962963,
"alnum_prop": 0.637593984962406,
"repo_name": "InMobi/hadoop",
"id": "cf2b0e4c7fa65cec5df15da0e32844aaa8f39441",
"size": "2136",
... |
package org.apache.synapse.mediators.filters;
import junit.framework.TestCase;
import org.apache.synapse.MessageContext;
import org.apache.synapse.config.xml.AnonymousListMediator;
import org.apache.synapse.mediators.TestMediateHandler;
import org.apache.synapse.mediators.TestMediator;
import org.apache.synapse.medi... | {
"content_hash": "618b47f3953bba1d81e5deee34bf5f1b",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 73,
"avg_line_length": 32.516129032258064,
"alnum_prop": 0.6640211640211641,
"repo_name": "ayyoob/carbon-apimgt",
"id": "490eeddbb038f857d9e8d264469d03a05765fa3b",
"size":... |
import ctypes
import pathlib
# refer to https://realpython.com/python-bindings-overview
if __name__ == "__main__":
# Load the shared library into ctypes
libname = pathlib.Path().absolute() / "libtiny_util.so"
print("load " + str(libname))
c_lib = ctypes.CDLL(libname)
num = 2.3
ret = c_lib.rou... | {
"content_hash": "24e0102984baee65853f9ab0b3d60c42",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 78,
"avg_line_length": 26.08695652173913,
"alnum_prop": 0.6166666666666667,
"repo_name": "walterfan/snippets",
"id": "9a36dc9dfb210f2906941d28a39634c1b07cdcac",
"size": "60... |
A Stunt Car Racer clone. A fork of http://sourceforge.net/projects/stuntcarremake
The point of this fork is:
* Fix the physics. It seems too fast.
* Port to OpenGL.
| {
"content_hash": "a2df3141cfc7f60792b21ae0f347d2c9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 81,
"avg_line_length": 33.2,
"alnum_prop": 0.7530120481927711,
"repo_name": "abainbridge/stunt-car-racer-opengl",
"id": "87c0e34402b667bc472c3010c63e3a593a7e499b",
"size": "... |
import unittest
import mock
class TestConnection(unittest.TestCase):
@staticmethod
def _get_target_class():
from google.cloud.storage._http import Connection
return Connection
def _make_one(self, *args, **kw):
return self._get_target_class()(*args, **kw)
def test_extra_hea... | {
"content_hash": "52f6808289aabbb38604715ad1bf6880",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 76,
"avg_line_length": 32.88235294117647,
"alnum_prop": 0.5670840787119857,
"repo_name": "dstrockis/outlook-autocategories",
"id": "cb9344a16389b6d47c261f7626aa1e133347ff42",... |
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public class Test {
public void testSetListSort(String[] args) {
System.out.println(Arrays.stream(args).distinct().sorted().toArray());
}
} | {
"content_hash": "3aed90ec9c864bdd539e90686f7b31c0",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 76,
"avg_line_length": 26.444444444444443,
"alnum_prop": 0.726890756302521,
"repo_name": "ThiagoGarciaAlves/intellij-community",
"id": "b150c343099f18db8980de5524f52bfa4fccb81... |
> Create, list, delete or verify tags.
> A tag is a static reference to a specific commit.
- List all tags:
`git tag`
- Create a tag with the given name pointing to the current commit:
`git tag {{tag_name}}`
- Create an annotated tag with the given message:
`git tag {{tag_name}} -m {{tag_message}}`
- Delete the ... | {
"content_hash": "6465d825e469c9fbf349cb375ea2088e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 66,
"avg_line_length": 19.884615384615383,
"alnum_prop": 0.688588007736944,
"repo_name": "cptdeka10/tldr",
"id": "2bf53b7267bba973d7a5164e4a8496db19da8ccc",
"size": "528",
... |
#pragma once
#include <aws/ecs/ECS_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/ecs/model/FSxWindowsFileServerAuthorizationConfig.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namesp... | {
"content_hash": "49217f716443f16949b28432319a2dc2",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 183,
"avg_line_length": 39.70652173913044,
"alnum_prop": 0.709416917601971,
"repo_name": "jt70471/aws-sdk-cpp",
"id": "6b280735ee3a3e8c8f28b5bc57b3212cfab31699",
"size": "... |
using System;
using System.IO;
using Newtonsoft.Json;
using NUnit.Framework;
namespace SoundCloud.Api.IntegrationTest
{
/// <summary>
/// This class tests the logic of the wrapper against the real SoundCloud API.
/// Therefore a clientid and token are needed. Both values are loaded from a settings... | {
"content_hash": "361d0e1e3cde740fa71b9388920705cd",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 104,
"avg_line_length": 30.83582089552239,
"alnum_prop": 0.6021297192642788,
"repo_name": "prayzzz/SoundCloud.Api",
"id": "09ecf5db64993030f6f76ea53a3927204145f76a",
"size"... |
<?php
require_once vc_path_dir('EDITORS_DIR', 'popups/class-vc-add-element-box.php');
/**
* Add element for VC editors with a list of mapped shortcodes for gri item constructor.
*
* @since 4.4
*/
Class Vc_Add_Element_Box_Grid_Item extends Vc_Add_Element_Box {
/**
* Get shortcodes from param type vc_grid_i... | {
"content_hash": "8cdd68bb33fc0f92a650b86f5590567d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 89,
"avg_line_length": 25.444444444444443,
"alnum_prop": 0.6746724890829694,
"repo_name": "nicholaspsmith/Bedrock-Sage",
"id": "db88ed7385a85ab493c46033e79e1b9a39337b54",
"... |
layout: page
title: Chatops and Hubot the basics
teaser: "Hubot was really not hard get started with. I started with it on my MacOS laptop. I already had these dependencies installed: node.js 5.x, npm, git. So what was left from the hubot installation instructions"
tags: hubot chatops slack
header:
image_fullwidth... | {
"content_hash": "45afb50da7335f3482cb30e6631902e0",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 394,
"avg_line_length": 48.60344827586207,
"alnum_prop": 0.764100744945016,
"repo_name": "twellspring/twellspring.github.io",
"id": "121cf9420500987e2de53be08395885d31d51e1b"... |
package com.github.javaparser.symbolsolver.reflectionmodel;
import com.github.javaparser.ast.AccessSpecifier;
import com.github.javaparser.resolution.declarations.*;
import com.github.javaparser.resolution.types.ResolvedReferenceType;
import com.github.javaparser.resolution.types.ResolvedTypeVariable;
import com.git... | {
"content_hash": "fd9811234284fe431fb55bd836b2baef",
"timestamp": "",
"source": "github",
"line_count": 762,
"max_line_length": 250,
"avg_line_length": 72.32808398950131,
"alnum_prop": 0.7547447109627318,
"repo_name": "rpau/java-symbol-solver",
"id": "a8d74abc0102c9977fd6f88c92e053a4adddac33",
"siz... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Journal of Mycology and Plant Pathology 34(3): 839 (2004)
#### Original name
Macalpinomyces pseudanthistiriae A.R. Patil, T.M. Patil & M.S. Patil, 2004
### Remarks
null | {
"content_hash": "858ffdc7433a1bb85c4ee694c5750c4f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 74,
"avg_line_length": 19.76923076923077,
"alnum_prop": 0.7198443579766537,
"repo_name": "mdoering/backbone",
"id": "b5fca03f20b92a0ac3c73e244041c15f7d540155",
"size": "355... |
models = {};
models.AddressInformation = function (cons, overrideObj) {
if (!overrideObj) { overrideObj = { }; }
if (!cons) { cons = { }; }
var i, length;
this.Name = cons.Name;
this.Address = cons.Address;
this.ZipCode = cons.ZipCode;
this.Owner = null;
if (cons.Owner) {
if (!overrideObj.OwnerInformation)... | {
"content_hash": "9628c7139c6ecd146e4a49ca03608508",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 78,
"avg_line_length": 23.827272727272728,
"alnum_prop": 0.6150324303700877,
"repo_name": "castle-it/sharp2Js",
"id": "6ce8b9d85a58f5b2a00aa9f49a3ae7147e46ac61",
"size": "... |
from webtest import TestApp
from mapproxy.response import Response
from mapproxy.security.referrer import ReferrerFilter, NONE, SELF, REGEX
DENIED=404
class CheckApp(object):
def __init__(self):
self._called = False
def __call__(self, environ, start_response):
self._called = True
... | {
"content_hash": "71dbf0cc8ab7bd1b23749ffa1c1cc459",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 77,
"avg_line_length": 31.49411764705882,
"alnum_prop": 0.5353007097497199,
"repo_name": "Anderson0026/mapproxy",
"id": "f863a8bd79f9cc66515416935abddcf2f3d436d3",
"size": ... |
package com.github.fakemongo.impl.index;
import com.mongodb.DBObject;
import com.mongodb.MongoException;
import java.util.LinkedHashMap;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* An index for the MongoDB.
*/
public class HashedIndex extends IndexAbstract<DBObject> {
pri... | {
"content_hash": "02610325b68472f13df7b2cbf041f5a9",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 106,
"avg_line_length": 27.931818181818183,
"alnum_prop": 0.7282343368592351,
"repo_name": "fnouama/fongo",
"id": "58f71b564c93a5b175d11c9bea4c5da89c57da1f",
"size": "1229"... |
* Liquid profiler (i.e. know how fast or slow your templates render) (#3762)
* Incremental regeneration (#3116)
* Add Hooks: a new kind of plugin (#3553)
* Upgrade to Liquid 3.0.0 (#3002)
* Add basic support for JRuby (commit: 0f4477)
* Drop support for Ruby 1.9.3. (#3235)
* Support Ruby v2.2 (#3234)
* ... | {
"content_hash": "6ffe451ef395a785efa00aa9e915f1cd",
"timestamp": "",
"source": "github",
"line_count": 1757,
"max_line_length": 127,
"avg_line_length": 46.4712578258395,
"alnum_prop": 0.7082424984690753,
"repo_name": "iRoxx/jekyll",
"id": "584ba12be1e85357913c9a07313ae0cdbcef586a",
"size": "81685"... |
package ckathode.weaponmod.item;
import net.minecraft.block.Block;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.... | {
"content_hash": "1102f6b5cff6310726250e67526080ec",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 199,
"avg_line_length": 26.5014164305949,
"alnum_prop": 0.7522180652057723,
"repo_name": "Ckathode/balkons-weaponmod",
"id": "1dcbec9734142f179742945be10841cc37016dba",
"s... |
package org.jspare.vertx.web.annotation.method;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.apache.commons.lang.StringUtils;
/**
* The Interface All.
*
* @author <a href="https://pflim... | {
"content_hash": "edf814dd0ad3e914e3865c3431b12c01",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 63,
"avg_line_length": 20.03030303030303,
"alnum_prop": 0.7004538577912254,
"repo_name": "jspare-projects/vertx-jspare",
"id": "b3ca893b9d3baa4ac49e16993c676ccf3da18db1",
"... |
use prometheus::*;
use prometheus_static_metric::*;
make_static_metric! {
pub label_enum MvccConflictKind {
prewrite_write_conflict,
rolled_back,
commit_lock_not_found,
rollback_committed,
acquire_pessimistic_lock_conflict,
pipelined_acquire_pessimistic_lock_amend_fa... | {
"content_hash": "6e410d3c670e32b4e9445ead758c20cc",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 96,
"avg_line_length": 31.545454545454547,
"alnum_prop": 0.6239193083573487,
"repo_name": "pingcap/tikv",
"id": "d2074b49af8fd67e01dcd16ccfa853bf35581076",
"size": "2844",
... |
from .base import HPXMLtoHEScoreTranslatorBase
from .exceptions import TranslationError
def convert_to_type(type_, value):
if value is None:
return value
else:
return type_(value)
class HPXML2toHEScoreTranslator(HPXMLtoHEScoreTranslatorBase):
SCHEMA_DIR = 'hpxml-2.3.0'
def check_hpw... | {
"content_hash": "dc2daaeaa4074d787d8e487dc2b8e308",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 173,
"avg_line_length": 47.61827956989247,
"alnum_prop": 0.618606751721802,
"repo_name": "NREL/hescore-hpxml",
"id": "4b247126b45494cc9204f2b40bbcb4ce8ff7c20c",
"size": "8... |
using System;
namespace Transport
{
class Transport
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int courses = (int)Math.Ceiling((double)n / (4 + 8 + 12));
Console.WriteLine(courses);
}
}
}
| {
"content_hash": "5ed66ac55e27c5aaf2a4bd38ac15c1b0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 70,
"avg_line_length": 16.555555555555557,
"alnum_prop": 0.5100671140939598,
"repo_name": "iliangeorgiev/SourceControlSystems",
"id": "345062ef96eb04f06bf194206db5c44400ec11b... |
package org.openprovenance.prov.xml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import org.openprovenance.prov.xml.builder.Equals;
import org.openprovenance.prov.xml.builder.HashCode;
import org.openprovenance.prov.xml.bui... | {
"content_hash": "3a2a1ddc9de1ef147eff19dccdbd309a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 122,
"avg_line_length": 32.81818181818182,
"alnum_prop": 0.7412742382271468,
"repo_name": "joansmith/ProvToolbox",
"id": "4c283e8b8f0decda025bfd7c0d4ff446164dff3a",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/bg" />
<item android:left="@dimen/quad_left1">
<bitmap android:src="@drawable/q2" android:gravity="left" />
</item>
<item android:left="@dimen/quad_left2">
<bitm... | {
"content_hash": "64df7902d7c1264255b9fb4675f2dd58",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 71,
"avg_line_length": 39.375,
"alnum_prop": 0.6746031746031746,
"repo_name": "takke/cpustats",
"id": "ee1747b098b539a804a7461572417564c03b20ab",
"size": "630",
"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 (version 1.7.0_03) on Tue May 22 06:24:54 CEST 2012 -->
<title>Quantifier (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="... | {
"content_hash": "f529f408ffc75d322b84e39fbea77eee",
"timestamp": "",
"source": "github",
"line_count": 455,
"max_line_length": 835,
"avg_line_length": 40.27032967032967,
"alnum_prop": 0.6428532445560224,
"repo_name": "mikec/PhotoSwipe",
"id": "121038803ff07478c4c0577a4bf9beb76308b6a6",
"size": "18... |
\begin{tabular}{ c c c c c c }
Program & Size & Allocs & Runtime & Elapsed & TotalMem\\
\hline
\end{tabular}
\begin{verbatim}
[("Project name","The Glorious Glasgow Haskell Compilation System")
,("GCC extra via C opts"," -fwrapv -fno-builtin")
,("C compiler command","C:\\TeamCity\\buildAgent\\work\\28754042a1be605... | {
"content_hash": "34c8e784cff89b813fc1bfcdb2fdb9e5",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 111,
"avg_line_length": 45.80281690140845,
"alnum_prop": 0.6531365313653137,
"repo_name": "Mistuke/GhcWindowsBuild",
"id": "d89c980c3bfb985e775e162fa9fc533c0af1edcf",
"size... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Bull. trimest. Soc. mycol. Fr. 98(4): 348 (1982)
#### Original name
Cortinarius aurantiacus Reumaux
### Remarks
null | {
"content_hash": "61395bc352d7d5857c100a179f595b3f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 48,
"avg_line_length": 13.846153846153847,
"alnum_prop": 0.7,
"repo_name": "mdoering/backbone",
"id": "66f839a6d3575357b18f48c91155eb0fe3db429f",
"size": "238",
"binary":... |
30 minute implementation of a kickstarter early bird watcher.
### Python Dependencies:
* BeautifulSoup 4
* Requests
Install them manually:
```
pip install beautifulsoup4
pip install requests
```
Or use the included `requirements.txt` file:
`pip install -r requirements.txt`
| {
"content_hash": "5feafb0fad92bad5d239ff29ad2b8601",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 61,
"avg_line_length": 18.533333333333335,
"alnum_prop": 0.7697841726618705,
"repo_name": "nicoschtein/kickwatch",
"id": "449c4ee71cd4fbfd60576f57a787e55c83a1ed08",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/main.css" type="text/css">
<l... | {
"content_hash": "9adace4a75309f66fee22ce0229eac8d",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 240,
"avg_line_length": 46.248908296943235,
"alnum_prop": 0.6923803229156831,
"repo_name": "terbolous/cloudstack-www",
"id": "6d3875878623f6f988e24c921575c78f35d8084d",
"s... |
{% extends 'layout.html' %}
{% from 'macros/basic.html' import octicon without context %}
{% block body %}
<h1>{{ role.name }}
<small>«administration»</small>
</h1>
<div class="row">
<div class="col-xs-12 col-md-9">
<form action="{{ url_for('admin.role_edit', name=ro... | {
"content_hash": "e908825098d56441e01334d67acf8e05",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 132,
"avg_line_length": 42.11764705882353,
"alnum_prop": 0.47067039106145253,
"repo_name": "MarekSuchanek/repocribro",
"id": "f35f59577ca035017ab4eda99269230e1a49977c",
"si... |
export * from './event.service'
export * from './event.model'
export * from './restricted-words.validator'
export * from './duration.pipe' | {
"content_hash": "9520f91223a6aee1d457503e31ef8ebd",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 44,
"avg_line_length": 34.5,
"alnum_prop": 0.7101449275362319,
"repo_name": "akkisahni/GameOnRent",
"id": "072b37cf66d6e201380cf303e2696341cb2de94f",
"size": "138",
"binar... |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class CodeWriter
</title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class CodeWriter
">
... | {
"content_hash": "1d152d66121048d4a090d3326bd57819",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 531,
"avg_line_length": 63.6530612244898,
"alnum_prop": 0.5737186827279805,
"repo_name": "dolittle/dolittle.github.io",
"id": "56a77e51eb36e99b4594d635eddbe67d403d118c",
"... |
#include "ndpi_protocols.h"
#ifdef NDPI_PROTOCOL_MAIL_IMAP
static void ndpi_int_mail_imap_add_connection(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
{
ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_MAIL_IMAP, NDPI_REAL_PROTOCOL);
}
void ndpi_search_mail_imap_tcp(str... | {
"content_hash": "79dbec4f3beca2e43aa79557a7ae1f94",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 126,
"avg_line_length": 57.321033210332104,
"alnum_prop": 0.5743530320587099,
"repo_name": "mpeuster/son-examples",
"id": "11a02a8f5314a4995667ac453d0f6639eebf5b99",
"size... |
'use strict';
(function () {
// Sidebar controller Controller Spec
describe('Sidebar controller Controller Tests', function () {
// Initialize global variables
var SidebarControllerController,
$scope,
$httpBackend,
$stateParams,
$location;
// The $resource service augments the ... | {
"content_hash": "468d1420068898661d0fc42ad30f3c69",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 115,
"avg_line_length": 35.258620689655174,
"alnum_prop": 0.6410757946210269,
"repo_name": "isaacluca287/ants-interview-fb-marketing-demo",
"id": "6d54b1da67cea12a72174ca9972... |
package net.wasdev.wlp.ant.install;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import io.openliberty.tools.ant.install.InstallUtils;
import io.openliberty.tools.ant.install.LibertyInfo;
import io.openliberty.tools.ant.install.Version;
import junit.framework.TestCase;
public class I... | {
"content_hash": "1e53f387028c58cf062c1c4a33d431a3",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 85,
"avg_line_length": 37.1063829787234,
"alnum_prop": 0.654243119266055,
"repo_name": "WASdev/ci.ant",
"id": "0e951385a2dea5a8a6a0d599c16fc301b025e111",
"size": "2344",
... |
package net.jahhan.init;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Inject;
import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import net.jahhan.common.extension.excep... | {
"content_hash": "95612f1cffb05d277e0ab83944de4c45",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 116,
"avg_line_length": 37.72380952380952,
"alnum_prop": 0.7240595809139106,
"repo_name": "nince-wyj/jahhan",
"id": "3504722ab2f896c81d61c5ae2cc05e79e90deb83",
"size": "39... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace solder.Models
{
public class SolderPosts : IComparable
{
public string UserName { get; set; }
public string Title { get; set; }
[Required]
... | {
"content_hash": "b6596b856798615150ddfcfe4b05c568",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 52,
"avg_line_length": 25.08,
"alnum_prop": 0.6044657097288676,
"repo_name": "ddbunc2/solder",
"id": "8dcf0f0b01a3b8f641e9a8ee9e4743267e616d35",
"size": "629",
"binary": ... |
package org.apache.spark.mllib.stat.test
import org.apache.commons.math3.distribution.ChiSquaredDistribution
import org.apache.spark.SparkException
import org.apache.spark.internal.Logging
import org.apache.spark.mllib.linalg._
import org.apache.spark.mllib.regression.LabeledPoint
import org.apache.spark.rdd.RDD
im... | {
"content_hash": "cd3e524b86dc7d669cc62134bb67b896",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 100,
"avg_line_length": 39.954098360655735,
"alnum_prop": 0.6622353520433284,
"repo_name": "wangyum/spark",
"id": "9c761824134c3d2fa75cecbea137920f41015b56",
"size": "1298... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e43af935b37b1e1acb6b21524fefc63f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "faf380f16c29526849c279b4c908331534bcea31",
"size": "187... |
'use strict';
var di = require('di');
module.exports = templateApiServiceFactory;
di.annotate(templateApiServiceFactory, new di.Provide('Http.Services.Api.Templates'));
di.annotate(templateApiServiceFactory,
new di.Inject(
'Promise',
'Errors',
'_',
'Http.Services.Api.Taskgraph.Sch... | {
"content_hash": "f8549a3929c3eeebce6a70fc1ecaa372",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 86,
"avg_line_length": 25.935897435897434,
"alnum_prop": 0.606524962926347,
"repo_name": "lanchongyizu/on-http",
"id": "b0b083bfd7967e37eac0977fdbc8e5d4bec9649f",
"size": "... |
class AddIsDeletedToProducts < ActiveRecord::Migration
def change
add_column :products, :is_deleted, :boolean, default: false, null: false
end
end
| {
"content_hash": "351dbcbbcb22a8d0e30828a92683de15",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 76,
"avg_line_length": 31,
"alnum_prop": 0.7548387096774194,
"repo_name": "sktocha/ab_admin",
"id": "24e89a0a2b32b3e8fa680271a5a6752c4625a9af",
"size": "155",
"binary": fa... |
layout: relation
title: 'obl'
shortdef: 'oblique modifier'
udver: '2'
---
The `obl` relation is used for non-core nominal dependents of clausal
predicates. In Swedish, `nmod` is used for prepositional complements/modifiers:
~~~ sdparse
Mamma har hand om barnen \n Mother takes care of the children
obl(har, barnen)
cas... | {
"content_hash": "04b955868fb7cbb5118b0966402d072d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 89,
"avg_line_length": 25.2,
"alnum_prop": 0.7328042328042328,
"repo_name": "UniversalDependencies/docs",
"id": "3e5addc975eeb1e2b6f237467d6baaa5bfe3f39c",
"size": "766",
... |
namespace DiscUtils.Udf
{
using System;
internal class LongAllocationDescriptor : IByteArraySerializable
{
public uint ExtentLength;
public LogicalBlockAddress ExtentLocation;
public byte[] ImplementationUse;
public int Size
{
get { return ... | {
"content_hash": "b8c6061140dd466f332fdbd653bdcc4f",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 78,
"avg_line_length": 27.47222222222222,
"alnum_prop": 0.564206268958544,
"repo_name": "jsakamoto/discutils",
"id": "e0e39d76a2d72299fc6c1e83828d8d880f7d6716",
"size": "21... |
@interface WAMappingRegistrar ()
@property (nonatomic, strong) NSMutableDictionary *indexedMappings;
@end
@implementation WAMappingRegistrar
- (instancetype)init {
self = [super init];
if (self) {
self.indexedMappings = [NSMutableDictionary dictionary];
}
return self;
}
- (void)registerMapp... | {
"content_hash": "8538f53a93bfa78d50ed9d7b97ef5958",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 67,
"avg_line_length": 22.344827586206897,
"alnum_prop": 0.7299382716049383,
"repo_name": "Wasappli/WAMapping",
"id": "5652f6ab76a01a56a42598eed17969b63d904660",
"size": "8... |
package com.gmail.inverseconduit.commands.providers.timer;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executors;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
import java.util.concurren... | {
"content_hash": "935eb8fd7a18274218cb7b82f9c783d5",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 154,
"avg_line_length": 40.60493827160494,
"alnum_prop": 0.6664639708117969,
"repo_name": "Vogel612/JavaBot",
"id": "288ad9efb72488172c7a4037ed3dee32aff6b1a1",
"size": "328... |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Knapcode.TorSharp.Sandbox")]
[assembly: ComVisible(false)]
[assembly: Guid("b1b318a7-a085-401e-96d3-320fe1066c45")]
| {
"content_hash": "8cff20dcb70c37dbdcf1f325b7321c84",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 56,
"avg_line_length": 34.5,
"alnum_prop": 0.7971014492753623,
"repo_name": "JSkimming/TorSharp",
"id": "8aa4e5496c1d9288fc6c7f5ed1e22c61e4c7fcca",
"size": "209",
"binary"... |
package com.arrggh.eve.api.crest.responses.eve;
import com.arrggh.eve.api.crest.responses.BasicResponseObjectValidation;
public class CrestApiMarketHistoryTest extends BasicResponseObjectValidation<CrestApiMarketHistory> {
@Override
protected Class<CrestApiMarketHistory> getClassUnderTest() {
return ... | {
"content_hash": "15d9a1fba0cf1af84023a3509e2dbea7",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 101,
"avg_line_length": 30.75,
"alnum_prop": 0.7784552845528455,
"repo_name": "WanderingMonk/eve-industrial",
"id": "b3026a2f5067ee6e7f5b3b1c9b82b4e6d9f52fd7",
"size": "492... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5b9d088651185d14f1310635972fd5a5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "6dec9fc807d45a5ab11a3c485608d5b23b1a2823",
"size": "178... |
<!--
Description: otimes
Expect: bozo and feed['title'] == u'testing \u2297 entity'
-->
<rss>
<channel>
<title>testing ⊗ entity</title>
</channel>
</rss> | {
"content_hash": "be640305db8e156ae2c9198a48f1b38b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 63,
"avg_line_length": 18.333333333333332,
"alnum_prop": 0.6484848484848484,
"repo_name": "hiidef/hiispider",
"id": "c91bb1cf0e453eeb01fb8760bc218a9afbe78108",
"size": "165"... |
<?php
namespace Gestalt\Loaders;
class YamlDirectoryLoader extends DirectoryLoader
{
/**
* The file extension that each file must have to be loaded.
*
* @var string
*/
protected $extension = 'yaml';
/**
* Define the method of translating the current file into a configuration.
... | {
"content_hash": "9219d35ebaffd2f71a23b7c253c1cced",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 78,
"avg_line_length": 20.291666666666668,
"alnum_prop": 0.6180698151950719,
"repo_name": "samrap/gestalt",
"id": "ede4f1bd6ca71c2f913b314338a043aafb0936ff",
"size": "487",... |
using System;
using System.Drawing;
namespace IDE
{
[Serializable]
public class PointProject
{
public float X, Y;
public PointProject(PointF point)
{
X = point.X;
Y = point.Y;
}
public PointProject(float x, float y)
{
X =... | {
"content_hash": "2355cb8d9a30deb0b140034231fe07e5",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 62,
"avg_line_length": 18.454545454545453,
"alnum_prop": 0.4942528735632184,
"repo_name": "jeanklann/M3PlusMicrocontrollerSimulator",
"id": "3fd39a925084f1040b563e3a9d63df3c3... |
require 'spec_helper_acceptance'
describe 'fqdn_rand_string function' do
describe 'success' do
include_context 'with faked facts'
context "when the FQDN is 'fakehost.localdomain'" do
before :each do
fake_fact('fqdn', 'fakehost.localdomain')
end
pp1 = <<-PUPPETCODE
$l = 10
... | {
"content_hash": "9a2f9f6cb90071e6c4a3c5f4aeceaeec",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 86,
"avg_line_length": 33.625,
"alnum_prop": 0.5943308550185874,
"repo_name": "integratedfordevelopers/integrated-puphpet",
"id": "4f8b4af8d157b0eab73dfc0d583a8d6bfc4278bf",
... |
package com.dubu.livecamera.gpuimage;
import android.opengl.GLES20;
/**
* Applies a ColorMatrix to the image.
*/
public class GPUImageColorMatrixFilter extends GPUImageFilter {
public static final String COLOR_MATRIX_FRAGMENT_SHADER = "" +
"varying highp vec2 textureCoordinate;\n" +
"\... | {
"content_hash": "d9cf365b5b2db864aeb5d7b4ac53ce4c",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 100,
"avg_line_length": 31.642857142857142,
"alnum_prop": 0.5972911963882619,
"repo_name": "DUBULEE/android-gpuimage-ndkbuild-sample",
"id": "5278b00dffac6d144b1753eef8243ae9... |
<?php
session_start();
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'inc' . DIRECTORY_SEPARATOR . 'config.inc.php');
if (key_exists('accesstoken', $_SESSION)) {
try {
$fb= GetFacebook();
} catch(Exception $e) {
die('Exception caught: ' . $e->getMessage());
}
$acce... | {
"content_hash": "d12c67a831578f367812d7fc7e97c27f",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 132,
"avg_line_length": 28.67391304347826,
"alnum_prop": 0.5966641394996209,
"repo_name": "steellynx/lpatg",
"id": "dc44073bde80d0ed2c4283e964c3dfbea013c825",
"size": "2638... |
// Copyright [2011] [PagSeguro Internet Ltda.]
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | {
"content_hash": "2395f6adc5de71273a45036f940f3c9a",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 93,
"avg_line_length": 30.926605504587155,
"alnum_prop": 0.5600711954909522,
"repo_name": "cornem/dotnet",
"id": "419926029860a25098535ada1bb7d0f983e8072c",
"size": "3373"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2005-2014 The Kuali Foundation
Licensed under the Educational Community 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.osedu.org/licenses/ECL-2.0
Unle... | {
"content_hash": "b2b999e58a079a74205029cd76309874",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 367,
"avg_line_length": 59.71836734693878,
"alnum_prop": 0.709042444125487,
"repo_name": "blackcathacker/kc.preclean",
"id": "9c4b4a8ab1158a64a02b67ed81d8a496fcea0a2a",
"s... |
Simple Template
===============
A simple scaffolding template to initialize projects.
- Based on the html5 boilerplate.
- Set up with gruntJS: Includes gruntfile.js and package.json
- Included grunt tasks:
- sass
- uglify
- autoprefixer
- watch
- clean
- concat
- modernizr
- imagemin
- htmlmin
- usemin | {
"content_hash": "03c30659b908d18942af1b177f62c49d",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 61,
"avg_line_length": 17.5,
"alnum_prop": 0.7015873015873015,
"repo_name": "pfulton/generator-stubble",
"id": "de2e87285b122502a019db543b175f99d4467841",
"size": "315",
... |
A simple socket server that carries out an LDAP update on a internal LDAP server independent of the network data transmitted.
## Dependencies:
* ldap (pip install ldap)
## How to run:
TODO
## How to build a binary:
TODO
| {
"content_hash": "5e9ce457f781e134554bc03c18c92ae0",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 125,
"avg_line_length": 22.3,
"alnum_prop": 0.7488789237668162,
"repo_name": "motorolja/ldap-updater",
"id": "add66ff9d7dbdcec7e1678c21b18d24cf076ed06",
"size": "238",
"b... |
//
// BrickKitDefine.h
// BrickKit
//
// Created by jinxiaofei on 16/6/20.
// Copyright © 2016年 JJ.sevn. All rights reserved.
//
#ifndef BrickKitDefine_h
#define BrickKitDefine_h
#pragma mark - define field
/**
* 开发环境配置 begin
*/
//#warning 需要手动更改的环境配置
/**
* 需要手动更改的配置(发布正式环境包时要全部注释) begin
*/
//#define Bric... | {
"content_hash": "df31c7191767b883adf37ddfdf55a14f",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 173,
"avg_line_length": 34.47872340425532,
"alnum_prop": 0.755939524838013,
"repo_name": "sven820/Brick",
"id": "ecd3f3fc7c85baba284ad9b590df2d0d5db2fad1",
"size": "3826",
... |
<!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_51) on Wed Sep 04 14:18:56 BST 2013 -->
<TITLE>
Trace2DException (Javadocs: gwoptics)
</TITLE>
<META NAME="date" CONTENT="2013-09-04">
<LINK REL ="... | {
"content_hash": "bfb49d7a29000ec0d6f292a913ad72bc",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 190,
"avg_line_length": 42.86192468619247,
"alnum_prop": 0.636372510737993,
"repo_name": "jooray/OpenBCI_Processing_NFB",
"id": "7c9f1366517dd6759245f615576616bcdcedf206",
... |
module Azure::ARM::Network
module Models
#
# Contains stats associated with the peering.
#
class ExpressRouteCircuitStats
include MsRestAzure
# @return [Integer] Gets BytesIn of the peering.
attr_accessor :primarybytes_in
# @return [Integer] Gets BytesOut of the peering.
... | {
"content_hash": "baf1e78393ff64702d7b218d30170819",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 63,
"avg_line_length": 26.81159420289855,
"alnum_prop": 0.4837837837837838,
"repo_name": "devigned/azure-sdk-for-ruby",
"id": "f9064dc359edd9aa3c2e73436244a402aa714eff",
"s... |
import B from 'bufx'
import path from 'path'
import { modelPathProps, buildDir } from './Helpers.js'
import { preprocessModel } from './Preprocessor.js'
const command = 'flatten [options] <outmodel>'
// TODO: Set to false for now to keep it hidden from the help menu, since
// this is an experimental feature
//const d... | {
"content_hash": "500cf5eff54332e04286b38d29dd6c18",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 105,
"avg_line_length": 38.703125,
"alnum_prop": 0.6314089624545821,
"repo_name": "ToddFincannon/SDEverywhere",
"id": "b7278a7c94fc57e7ace157bc0764067e414782df",
"size": "... |
@echo off
setlocal
set SCRIPTDIR=%~dp0
set PROJDIR=%SCRIPTDIR%..\..\
set LIBSDIR=%PROJDIR%libs\
set ORIGPATH=%PATH%
cd %PROJDIR%
@echo on
rmdir /S/Q %LIBSDIR%windows
mkdir %LIBSDIR%
mkdir %LIBSDIR%windows
set BUILDDIR=%PROJDIR%build_win32\
set OUTPUTDIR=%LIBSDIR%windows\win32\
rmdir /S/Q %BUILDDIR%
mkdir %BUILDDIR... | {
"content_hash": "c2ef6a57271839c88cfe149916d7aa68",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 149,
"avg_line_length": 28.08888888888889,
"alnum_prop": 0.7341772151898734,
"repo_name": "Naruto/simon_speck",
"id": "7d3738d655e7154efe6408daa4206bb7b90750b5",
"size": "1... |
var properties = [];
var options = Intl.DateTimeFormat(
'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short',
day: 'numeric', hour: 'numeric', minute: 'numeric',
second: 'numeric', timeZoneName: 'short'}).resolvedOptions();
for (var prop in options) {
if (options.hasOwnP... | {
"content_hash": "b028019b33dbac00993782e1118f905f",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 76,
"avg_line_length": 30.96153846153846,
"alnum_prop": 0.6683229813664596,
"repo_name": "espadrine/opera",
"id": "73684496e9b179ef3c922495dc5f458975abbdd2",
"size": "1941"... |
package config
import (
"bytes"
"errors"
"fmt"
"io"
"net/netip"
"strings"
"testing"
"github.com/vishvananda/netlink"
. "gopkg.in/check.v1"
"github.com/cilium/ebpf/rlimit"
"github.com/cilium/cilium/pkg/datapath"
"github.com/cilium/cilium/pkg/datapath/loader"
"github.com/cilium/cilium/pkg/maps/ctmap"
"g... | {
"content_hash": "f278feb4fdb24c132e312954cdbbaefb",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 110,
"avg_line_length": 26.631901840490798,
"alnum_prop": 0.6864777700990555,
"repo_name": "cilium/cilium",
"id": "e817859543e16738cf0805d5eed14fb84aedaf90",
"size": "8753... |
import glob
import os
import shutil
import stat
import sys
from distutils import log
from distutils import dir_util
from distutils.command.build_clib import build_clib
from setuptools.command.sdist import sdist
from setuptools import setup
from distutils.sysconfig import get_python_lib
# prebuilt libraries for Window... | {
"content_hash": "bb922c237bd190374e5c77abee1ce34e",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 136,
"avg_line_length": 32.5929648241206,
"alnum_prop": 0.5630588960838729,
"repo_name": "fvrmatteo/capstone",
"id": "cf8cd2b0ecf74fb444f39da7893b3065ab228c1b",
"size": "6... |
import * as React from 'react';
import { WidgetProps } from 'jsoninput/typings/types';
import { CommonViewContainer, CommonView } from './commonView';
import { Labeled, LabeledView } from './labeled';
import Form from 'jsoninput';
import { AvailableSchemas } from '.';
type SerializeViewBag = CommonView &
LabeledView... | {
"content_hash": "7086f25124577fee9415761aaffb48f0",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 76,
"avg_line_length": 24.88235294117647,
"alnum_prop": 0.6367218282111899,
"repo_name": "Heigvd/Wegas",
"id": "4115ebe7330a7514a8e117f95066af4e68c1b323",
"size": "1269",
... |
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Rekomenduj.to</title>
<link rel="stylesheet" href="http://localhost:8080/assets/... | {
"content_hash": "77f7327ed3a5d8513f420a188225c732",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 152,
"avg_line_length": 49.60909090909091,
"alnum_prop": 0.6481583287520616,
"repo_name": "przemektrepka/rekomenduj.to--app-front",
"id": "06d0c585fe2aa54c3c2caeec5b9e39a59c... |
.. _ml2_ovs_devstack:
=============================
Testing ML2 OVS with DevStack
=============================
This document describes how to test OpenStack Neutron with ML2 OpenvSwitch using
DevStack. We will start by describing how to test on a single host.
Single Node Test Environment
---------------------------... | {
"content_hash": "7f916d6a2a01127512ea660771329e37",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 136,
"avg_line_length": 33.666666666666664,
"alnum_prop": 0.7102310231023102,
"repo_name": "mahak/neutron",
"id": "1d8ccfe6fcbab8709b92ac8267416d90cf202c48",
"size": "4545... |
from __future__ import unicode_literals
import unittest
try:
import mock
except ImportError:
import unittest.mock as mock
import contrail_api_cli.schema as schema
from contrail_api_cli.context import Context
from contrail_api_cli.resource import Resource, LinkedResources, LinkType, Collection
BASE = "http://l... | {
"content_hash": "217cd190b58b461fd2cb03a8a9094d62",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 108,
"avg_line_length": 42.027624309392266,
"alnum_prop": 0.546601814118575,
"repo_name": "eonpatapon/contrail-api-cli",
"id": "ba0105cdad80c6390ba5e5f077f3588d98610d77",
... |
package com.aspose.cloud.sdk.appdemo.cells_demo;
import org.apache.log4j.BasicConfigurator;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.view.View;
import android.widget.Butt... | {
"content_hash": "7a9089582a32168b7bfe85ac5a70827c",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 90,
"avg_line_length": 34.8021978021978,
"alnum_prop": 0.7224502683928008,
"repo_name": "asposeforcloud/Aspose_Cloud_SDK_For_Android_Sample_Project",
"id": "d064b9fa0035bf32d... |
namespace Microsoft.Azure.Management.WebSites
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// RecommendationsOperations operations.
... | {
"content_hash": "574b0e52770d0c15ff267c0709f3dcbe",
"timestamp": "",
"source": "github",
"line_count": 625,
"max_line_length": 382,
"avg_line_length": 49.48,
"alnum_prop": 0.6160064672594988,
"repo_name": "hyonholee/azure-sdk-for-net",
"id": "7b51a739898754ed1cd019e042378da37d72c999",
"size": "312... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace PFire.Infrastructure.Entities
{
public class Friend : Entity
{
public int MeId { get; set; }
public User Me { get; set; }
public int ThemId { get; set; }
public User Them { ge... | {
"content_hash": "fd6b8c952c785de9a59b6ed08ad0c0fb",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 82,
"avg_line_length": 27.901960784313726,
"alnum_prop": 0.5059732958538299,
"repo_name": "darcymiranda/PFire",
"id": "22b70d20058cf02a9cb41cf45718d30ed1736593",
"size": "1... |
export class CrudInterface {
static readonly TYPE = 'crud-interface';
id:String;
rev:String;
view:String;
v1name:String;
v1email:String;
v1password:String;
v2name:String;
v2email:String;
v2password:String;
created:Date;
updated:Date;
... | {
"content_hash": "dc1a873f47e5ff14579fb4f3e2ef38e8",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 64,
"avg_line_length": 15.344827586206897,
"alnum_prop": 0.5887640449438202,
"repo_name": "Al-nimr-Studio/pos-team",
"id": "2e6f7de30c981864825e9a9fe40f349fa71b7cf3",
"size... |
@(databases: List[Database])
<!-- Navigation -->
<nav style="margin-bottom: 0">
<div class="navbar-default sidebar" role="navigation">
<div class="sidebar-nav navbar-collapse">
<ul class="nav" id="side-menu">
<li class="sidebar-search">
<div class="input-grou... | {
"content_hash": "e0eaae644971f707ce71a7210abe1e4c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 139,
"avg_line_length": 40.0625,
"alnum_prop": 0.4360374414976599,
"repo_name": "eric-haibin-lin/SecureDB",
"id": "a0a9bd4add512e4ad5a9f8dc056bcd52addc30bb",
"size": "1282"... |
@implementation DBTVerse
- (id) initWithDictionary:(NSDictionary *)dict
{
self = [super init];
if (self) {
self.bookId = dict[@"book_id"];
self.bookName = dict[@"book_name"];
self.bookOrder = dict[@"book_order"];
self.chapterId = dict[@"chapter_id"];
self.chapterTitle = ... | {
"content_hash": "525255e39a0a64d09b77a8964f814d8a",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 57,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.5834932821497121,
"repo_name": "jonchui/BibleMem",
"id": "9ac9b65c626b6637f55aa9ec8817c05ecdc1126e",
"size": "627"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "a889f0e1eef19ffdf64c83b787e1dba5",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 687,
"avg_line_length": 55.10476190476191,
"alnum_prop": 0.6660905634289664,
"repo_name": "aignacio/homestark_6LoWPAN",
"id": "825bdda1c5808594f096ae93a0266f61f5297c15",
"... |
using content::BrowserThread;
TtsMessageFilter::TtsMessageFilter(int render_process_id, Profile* profile)
: BrowserMessageFilter(TtsMsgStart),
render_process_id_(render_process_id),
profile_(profile) {
CHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
TtsController::GetInstance()->AddVoicesChan... | {
"content_hash": "e1f83fe7582692ec3c4856ca0928f519",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 78,
"avg_line_length": 33.27922077922078,
"alnum_prop": 0.7088780487804878,
"repo_name": "TeamEOS/external_chromium_org",
"id": "3c4707415837068582588e88fc2e9c3689d7d30d",
... |
<Type Name="CCEaseExponentialIn" FullName="CocosSharp.CCEaseExponentialIn">
<TypeSignature Language="C#" Value="public class CCEaseExponentialIn : CocosSharp.CCActionEase" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CCEaseExponentialIn extends CocosSharp.CCActionEase" />
<Ass... | {
"content_hash": "71384de0dc42ecc984c90d585fdb0f0a",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 202,
"avg_line_length": 46.63380281690141,
"alnum_prop": 0.6861975234068257,
"repo_name": "netonjm/CocosSharp",
"id": "784cd8c3b538c1e76886cdee4a905515cf1fb5ad",
"size": "3... |
package exporter
import (
"github.com/census-instrumentation/opencensus-service/consumer"
)
// TraceExporter composes TraceConsumer with some additional exporter-specific functions.
type TraceExporter interface {
consumer.TraceConsumer
// TraceExportFormat gets the name of the format in which this exporter sends ... | {
"content_hash": "98d6235fa5a67a3eff7878d0be3dab4f",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 93,
"avg_line_length": 31.75,
"alnum_prop": 0.7893700787401575,
"repo_name": "vityagi/azure-linux-extensions",
"id": "9f8c83c38fc87dd89791ab43e813673fbbbf556c",
"size": "16... |
from django.contrib.syndication.views import Feed
from articles.models import ArticleTranslation
from django.utils.translation import ugettext_lazy as _
from django.utils.translation import get_language
from django.conf import settings
import datetime
class ArticleFeed(Feed):
title = hasattr... | {
"content_hash": "b29861bb27dae89e40b59ace73be38d6",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 150,
"avg_line_length": 39.142857142857146,
"alnum_prop": 0.7235401459854015,
"repo_name": "platypus-creation/django-articles",
"id": "577e1ce11e54f5bde151a77558ad7af8c0545c5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.