text stringlengths 2 1.04M | meta dict |
|---|---|
package com.vsct.dt.strowgr.admin.core.security.model;
import java.security.Principal;
/**
* Created by william_montaz on 12/11/2014.
*/
public class User implements Principal {
/**
* Convenient 'untracked user' information
*/
public static final User UNTRACKED = new User(Platform.PRODUCTION.val... | {
"content_hash": "0079e7ac9688a3f65cc387b813b01d72",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 108,
"avg_line_length": 21.64814814814815,
"alnum_prop": 0.6449957228400343,
"repo_name": "voyages-sncf-technologies/strowgr",
"id": "212f1f36a36db695fc984aa0059dc04c1d0837f1... |
<?php
namespace Ytranslator\Exception;
class InvalidMethodsException
{
public function __construct($method, $find, $delimiter='::')
{
$expl = explode($delimiter, $method);
if (end($expl) !== $find) {
throw new InvalidArgumentException(sprintf("The method \"db\" no... | {
"content_hash": "005ca6d898a22751119a1175544e1a6b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 117,
"avg_line_length": 17.5,
"alnum_prop": 0.561038961038961,
"repo_name": "roggeo/ytranslator",
"id": "ff48290026ba8db8b6d6f06d0a01369e0aa3afb7",
"size": "546",
"binary... |
<?php namespace CodeIgniter\Debug;
use CodeIgniter\Config\BaseConfig;
/**
* Debug Toolbar
*
* Displays a toolbar with bits of stats to aid a developer in debugging.
*
* Inspiration: http://prophiler.fabfuel.de
*
* @package CodeIgniter\Debug
*/
class Toolbar
{
/**
* Collectors to be used and... | {
"content_hash": "66f04d667b5f7afa1bb9178a3cc23733",
"timestamp": "",
"source": "github",
"line_count": 193,
"max_line_length": 128,
"avg_line_length": 22.512953367875646,
"alnum_prop": 0.5113924050632911,
"repo_name": "wuzheng40/ci4t",
"id": "e43fdbf9162710ea1c827cef50be2f260ea884ed",
"size": "434... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "eebc960787a9f13c81ee427caf9fefb5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "f58fdd22a3acb80420e35a55ff059d4142a31cba",
"size": "19... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include "ifcpp/model/AttributeObject.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/model/BuildingGuid.h"
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/I... | {
"content_hash": "cfdaab5754b4925587ca1246e47144b9",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 228,
"avg_line_length": 48.74657534246575,
"alnum_prop": 0.738372909933961,
"repo_name": "ifcquery/ifcplusplus",
"id": "fb69416e46463f8a63d2938e7fa1b9cd5b3e033f",
"size": ... |
title: My PhoneGap Day 2012 Talk is Online
date: 2012-09-20 15:56:00 Z
tags:
- PhoneGap Network
type: post
format: html
external: true
link: http://simonmacdonald.blogspot.com/2012/09/my-phonegap-day-2012-talk-is-online.html
status: publish
author: Simon MacDonald
---
So at PhoneGap Day US 2012 I talked about a side p... | {
"content_hash": "1527347ad1988db892fbb0c802785bf0",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 409,
"avg_line_length": 69.3529411764706,
"alnum_prop": 0.7659033078880407,
"repo_name": "phonegap/blog",
"id": "5fd1bce327d67bccc986880b5a77fb2963d03511",
"size": "1183",
... |
include BenchHelpers
bench_log "Run sync session, forces source adapter query on every sync request"
@datasize = 100
@expected = Bench.get_test_data(@datasize)
@all_objects = "[{\"version\":3},{\"token\":\"%s\"},{\"count\":%i},{\"progress_count\":0},{\"total_count\":%i},{\"insert\":""}]"
@ack_token = "[{\"version\":3}... | {
"content_hash": "40eda16e3e7b3cb1bf94e5845a430d68",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 128,
"avg_line_length": 39.90196078431372,
"alnum_prop": 0.6388206388206388,
"repo_name": "rhomobile/rhoconnect",
"id": "e058d6c6c1156b57ed58d6d6d4aed594711b9ccc",
"size": ... |
package config
import (
. "gopkg.in/check.v1"
"github.com/go-git/go-git/v5/plumbing"
)
type ConfigSuite struct{}
var _ = Suite(&ConfigSuite{})
func (s *ConfigSuite) TestUnmarshal(c *C) {
input := []byte(`[core]
bare = true
worktree = foo
commentchar = bar
[pack]
window = 20
[remote "origin"]
... | {
"content_hash": "401dd194c10720a4fe9bff2966ebcde6",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 140,
"avg_line_length": 26.043650793650794,
"alnum_prop": 0.6577784549748591,
"repo_name": "mcuadros/go-git",
"id": "e5e3be543b4160116ef31c11fade2cfa322b8b39",
"size": "65... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Aug 22 03:43:49 EDT 2003 -->
<TITLE>
Uses of Package org.apache.struts.tiles.beans (Apache Struts API Documentation)
</TITLE>
<LINK REL ="stylesheet" TY... | {
"content_hash": "0c882349f43a13fc1157c85676613962",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 280,
"avg_line_length": 42.12582781456954,
"alnum_prop": 0.6145260179217105,
"repo_name": "codelibs/cl-struts",
"id": "88cda1f40bba633fe139917422d5e93415efd52e",
"size": "... |
Register-PSFTeppScriptblock -Name PSMD_dotNetTemplatesInstall -ScriptBlock {
Get-PSFTaskEngineCache -Module PSModuleDevelopment -Name "dotNetTemplates"
} | {
"content_hash": "8b916c442f9329afc9343ca88c0ba0bd",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 77,
"avg_line_length": 51.666666666666664,
"alnum_prop": 0.8516129032258064,
"repo_name": "FriedrichWeinmann/PSModuleDevelopment",
"id": "a4b04e5426dc65331379df7440815dbb6e9d4... |
<?php
namespace BaleenTest\Migrations\Service\DomainBus\Migrate\Single;
use Baleen\Migrations\Migration\OptionsInterface;
use Baleen\Migrations\Service\DomainBus\Migrate\AbstractRunnerHandler;
use Baleen\Migrations\Service\DomainBus\Migrate\Single\SingleHandler;
use Baleen\Migrations\Service\Runner\Event\Migration\M... | {
"content_hash": "3a61d3d879cde1745da8889bce3be9c6",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 84,
"avg_line_length": 33.21518987341772,
"alnum_prop": 0.6627286585365854,
"repo_name": "baleen/migrations",
"id": "68a7598d32eeb261687876e7fc2975d5eb61a276",
"size": "360... |
package filesystem
import (
"bytes"
"crypto/md5"
"encoding/hex"
"errors"
"flag"
"os"
"path/filepath"
"reflect"
"testing"
"time"
"github.com/adelowo/onecache"
)
var _ onecache.Store = MustNewFSStore("./")
var _ onecache.GarbageCollector = MustNewFSStore("./")
var fileCache *FSStore
func TestMain(m *test... | {
"content_hash": "f37cd3629429b822080f502ffb35ea0b",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 88,
"avg_line_length": 20.17063492063492,
"alnum_prop": 0.6380090497737556,
"repo_name": "adelowo/onecache",
"id": "992e9b1f3b2bc7e307008f7cbfd2ef2b910c38cf",
"size": "508... |
from __future__ import absolute_import
from __future__ import unicode_literals
| {
"content_hash": "58f214f084d82c07089cb83aab70d9fb",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 39,
"avg_line_length": 20.25,
"alnum_prop": 0.7530864197530864,
"repo_name": "huogerac/django-onedeploy",
"id": "ab8d1e9ec07473f222717db244fe2c3e893e57bb",
"size": "105",
... |
from blacksalt import BlackSalt
iptables = BlackSalt()
# When creating a BlackSalt instance you can pass in keyword arguments
# of arguments, the allowed arguments are:
# iptables = "BIN LOCATION HERE" # This defaults to /sbin/iptables
# printmode = True or False # This defaults to True and will print t... | {
"content_hash": "0bac4f164102450c564aef3d6a108029",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 106,
"avg_line_length": 49.767857142857146,
"alnum_prop": 0.6641550053821313,
"repo_name": "nonapod/blacksalt",
"id": "d6e4c7dfb588c7f2ce29ac90709cf5b5c0382830",
"size": "2... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="cardview_toolbar_spacer">80dp</dimen>
<dimen name="toolbar_double_height">96dp</dimen>
</resources> | {
"content_hash": "5233e76beb51e5b8e083e9a95261fefb",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 54,
"avg_line_length": 24.714285714285715,
"alnum_prop": 0.6820809248554913,
"repo_name": "Suleiman19/Android-Material-Design-for-pre-Lollipop",
"id": "c349b18b933fef3787043a3... |
[](https://codeclimate.com/github/puneethrai/OWE-Reimagined)
This is totally reimagined version of my original OWE app https://github.com/puneethrai/OWE
Demo: http://puneethrai.github.io/OWE-Reimagined
| {
"content_hash": "45ac26dfe8462cf4b51455b5791249bf",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 148,
"avg_line_length": 73,
"alnum_prop": 0.797945205479452,
"repo_name": "puneethrai/OWE-Reimagined",
"id": "43b92d5771d0c261d8c868ecfbdb8e2bea02b15f",
"size": "309",
"bi... |
<?php
include_once "init.inc.php";
include_once "utils.inc.php";
function auth_fingerprint($username) {
$username_encoded = urlencode($username);
$result = mysql_query("SELECT password FROM users WHERE username = '$username_encoded'") or die(mysql_error());
if (mysql_num_rows($result) != 1) {
return False... | {
"content_hash": "6a8bee652086bda6216f298bb5292913",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 166,
"avg_line_length": 26.85611510791367,
"alnum_prop": 0.6530940262523439,
"repo_name": "KMSUJ/archive",
"id": "46fa0ee193082fc3ee059c468f595baaeb8ebefd",
"size": "3733"... |
import { VO } from './VO';
declare let window:Window;
declare let knalledge:any;
declare let global:any;
declare let module:any;
/**
* @classdesc VKMap is data representation of the knowledge (KnAllEdge) map.
* It is stored on the server and it connects with other maps through edges
* represented with kEdges
* @c... | {
"content_hash": "d978d4bbbf77ee4883dd6858b4306cc6",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 95,
"avg_line_length": 27.63768115942029,
"alnum_prop": 0.6680650235972732,
"repo_name": "mprinc/KnAllEdge",
"id": "2fdce44144b3dd2c774170bccd036ae188b13c02",
"size": "1907... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ccs: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "d700004cb84c8cb4b0dc96aacb79adc3",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 255,
"avg_line_length": 42.34131736526946,
"alnum_prop": 0.5507000424268137,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "1369d192cfda18bf4aa216a2d5190f6792cac2bb",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "7ea43a0ede258e005fa8d1931d696f27",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "fb3b3c08a5594af432773953fa274a97350033cd",
"size": "216... |
import { useRouter } from 'next/router'
export default function Post(props) {
const router = useRouter()
if (typeof window === 'undefined') {
if (router.query.post?.startsWith('redir')) {
console.log(router)
throw new Error('render should not occur for redirect')
}
}
if (typeof window !==... | {
"content_hash": "5a031c90fb0ffac84f1896f8bd206970",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 71,
"avg_line_length": 21.08139534883721,
"alnum_prop": 0.5659128516271373,
"repo_name": "azukaru/next.js",
"id": "72807960f78c37bf3faf592d5f7a9d652bf5868c",
"size": "1813"... |
from nose import *
from ldns import LDNS_SECTION_QUESTION
from ldns.packet import Packet
from ldns.resourcerecord import resource_record_from_str
RR1 = "www.google.de. 299 IN AAAA 2a00:1450:4016:803::1018"
RR2 = "www.google.de. 299 IN A 173.194.44.55"
class TestPacket(object):
def setup(self):
self.pkt ... | {
"content_hash": "77704915f5d2a8469955bb2cd684c84e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 59,
"avg_line_length": 23.925925925925927,
"alnum_prop": 0.6501547987616099,
"repo_name": "gegenschall/cython-ldns",
"id": "d8c521f139a9da97b3dd41e9b0cca2875efdcdb1",
"size... |
'use strict';
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, ... | {
"content_hash": "4bcfde7060d4f6dbab80d032090868ca",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 534,
"avg_line_length": 44.96666666666667,
"alnum_prop": 0.6938472942920682,
"repo_name": "cdnjs/cdnjs",
"id": "57b56d33e37b04c7601b8ff94fb00681dd48599b",
"size": "5602",
... |
/**
* @file src/storage/Integrity.cpp
* @author Pawel Wieczorek <p.wieczorek2@samsung.com>
* @version 0.1
* @brief Implementation of Cynara::Integrity
*/
#include <dirent.h>
#include <errno.h>
#include <fstream>
#include <functional>
#include <memory>
#include <string.h>
#include <sys/stat.... | {
"content_hash": "e88a1372b71c6d26185c3acd71d3846f",
"timestamp": "",
"source": "github",
"line_count": 246,
"max_line_length": 98,
"avg_line_length": 32.577235772357724,
"alnum_prop": 0.6357624157723983,
"repo_name": "Samsung/cynara",
"id": "f8559154945394701755916b8f115fc46d818d58",
"size": "8681... |
/*global module, test, equal, ok, jQuery */
(function ($) {
"use strict";
/* If there is no delegation support, forcibly reset the plugin between
* test runs
*/
function resetPlugin() {
if (!$.fn.on && !$.fn.delegate && !$.fn.live) {
$.fn.example.boundClassNames = [];
... | {
"content_hash": "36ff2e589dff2edf047d73e54038b016",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 99,
"avg_line_length": 41.779359430604984,
"alnum_prop": 0.547274275979557,
"repo_name": "mudge/jquery_example",
"id": "bc881493b21f22c98ac4deb594978428aff164c3",
"size": ... |
package mtr.packet;
import mtr.data.EnumHelper;
import mtr.data.NameColorDataBase;
import mtr.data.SerializedDataBase;
import mtr.data.TransportMode;
import net.minecraft.network.FriendlyByteBuf;
import net.minecraft.util.thread.ReentrantBlockableEventLoop;
import java.util.Map;
import java.util.Set;
import java.util... | {
"content_hash": "c87c45946e1bc30ca6936fe2be9bd2b2",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 284,
"avg_line_length": 41.86,
"alnum_prop": 0.7740086000955566,
"repo_name": "jonafanho/Minecraft-Transit-Railway",
"id": "fb06a4decb444bcb785a27d3514c173eadb4a34d",
"size... |
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/bootstrap.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<tests... | {
"content_hash": "7fd3bb5c5b96a2c1278ddb37431cf500",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 169,
"avg_line_length": 32.5625,
"alnum_prop": 0.6775431861804223,
"repo_name": "felixsand/PhPsst",
"id": "d6855fbe6328a17c80efa197ad0ba948ad28158b",
"size": "521",
"bina... |
<?php
/**
* PSR2_Sniffs_Namespaces_NamespaceDeclarationSniff.
*
* Ensures namespaces are declared correctly.
*
* @category PHP
* @package PHP_CodeSniffer
* @author Greg Sherwood <gsherwood@squiz.net>
* @copyright 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
* @license https://github.com/squizlabs/PHP... | {
"content_hash": "0769438917297f3911b682fc1e884d85",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 94,
"avg_line_length": 28.391304347826086,
"alnum_prop": 0.5865237366003063,
"repo_name": "TheTypoMaster/SPHERE-Framework",
"id": "82da6a553af1920cb995f0734b4e0ac993d73944",
... |
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml" xml:lang=
"en-US">
<head>
<title>Concurrency Utilities Overview</title><script>var _hmt = _hmt || [... | {
"content_hash": "aa3a655640f364bf999ea03c6c6da5eb",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 293,
"avg_line_length": 48.60204081632653,
"alnum_prop": 0.7543564980054588,
"repo_name": "piterlin/piterlin.github.io",
"id": "13363084061a4d574a20674beca992e2f8432213",
... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:title="Placement Stats"
app:showAsAction="nev... | {
"content_hash": "2876d56da6b0ff103610f136bb6b91e3",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 64,
"avg_line_length": 37.22222222222222,
"alnum_prop": 0.6477611940298508,
"repo_name": "mkfeuhrer/TPO-MNNIT",
"id": "6557c77f177bc419ba44856f513036bc73677011",
"size": "33... |
class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
before_filter :verify_signed_in
private
def verify_signed_in
redirect_to need_session_path unless current_user
end
def current_user
@current_user ||= User.find(session[:user_id]) if session[:use... | {
"content_hash": "1806a5a02f85da9a8781759831cdd790",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 73,
"avg_line_length": 21.764705882352942,
"alnum_prop": 0.7081081081081081,
"repo_name": "jslate/shacs",
"id": "0c9220a27dd3ede6330f30951686b8d9a00dd1b4",
"size": "370",
... |
body {
-webkit-justify-content: center;
-moz-justify-content: center;
-ms-justify-content: center;
justify-content: center;
}
.non-narrow.zero-top-spacing {
padding-top: 0 !important;
}
section {
padding: 0 16px;
margin-left: 100px;
margin-right: 100px;
max-width: 750px;
}
div.column {
padding: 0 16px;
max-width: 750px... | {
"content_hash": "acfed8f2f703aaf3843a36cedf641e43",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 48,
"avg_line_length": 18.899328859060404,
"alnum_prop": 0.7201704545454546,
"repo_name": "Kjir/kjir.github.io",
"id": "f4b5487446aff0f7fbe5f177602cc1baa2691a0b",
"size": ... |
Doc.Ti=IAEA Safety Standards Series No. GSR Part 3, Radiation Protection and Safety of Radiation Sources: International Basic Safety Standards
Introduction.=[G/Org-IAEA-Safety-GSR3-CmA/Sec/1_Introduction_0.md]
General.=[G/Org-IAEA-Safety-GSR3-CmA/Sec/2_General_0.md]
Planned.=[G/Org-IAEA-Safety-GSR3-CmA/Sec/3_Planne... | {
"content_hash": "ca466501a4615c497555231c1400c2ee",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 143,
"avg_line_length": 34.23529411764706,
"alnum_prop": 0.7457044673539519,
"repo_name": "CommonAccord/Cmacc-Org",
"id": "cd668e3eed97b13158862292b549b2c62a4a8109",
"size"... |
package co.cask.cdap.explore.client;
import co.cask.cdap.common.discovery.EndpointStrategy;
import co.cask.cdap.common.discovery.RandomEndpointStrategy;
import co.cask.cdap.common.http.DefaultHttpRequestConfig;
import co.cask.cdap.explore.service.Explore;
import co.cask.cdap.security.spi.authentication.Authenticatio... | {
"content_hash": "7015136233694bc7e92e7bd6300a50ff",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 111,
"avg_line_length": 33.023809523809526,
"alnum_prop": 0.7700072098053352,
"repo_name": "caskdata/cdap",
"id": "4c7a11b5644bf2597a3ff5160be6c2b302bbdcd8",
"size": "3371"... |
<?php
/**
* @file
* Contains \Drupal\Core\Routing\RouteProvider.
*/
namespace Drupal\Core\Routing;
use Drupal\Core\Cache\Cache;
use Drupal\Core\Cache\CacheBackendInterface;
use Drupal\Core\Cache\CacheTagsInvalidatorInterface;
use Drupal\Core\Path\CurrentPathStack;
use Drupal\Core\PathProcessor\InboundPathProcesso... | {
"content_hash": "d97e5f6f62885853f959bceac7b96884",
"timestamp": "",
"source": "github",
"line_count": 419,
"max_line_length": 268,
"avg_line_length": 31.572792362768496,
"alnum_prop": 0.6402600347720916,
"repo_name": "fian005/asiavia_dev",
"id": "ac8188790a8cfd8d206f0ee52396e726aaaad9f2",
"size":... |
////////////////////////////////////////////////////////////////////////////////
//
// EXPANZ
// Copyright 2008-2011 EXPANZ
// All Rights Reserved.
//
// NOTICE: Expanz permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
//
////////////////... | {
"content_hash": "e69fdbe15f312cc2e050ee61128351aa",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 120,
"avg_line_length": 38.72222222222222,
"alnum_prop": 0.49856527977044474,
"repo_name": "expanz/expanz-iOS-SDK",
"id": "b621ce0c2a1927b594e27fd68260c3d768383e86",
"size"... |
package org.elasticsearch.xpack.autoscaling.capacity;
import org.elasticsearch.common.io.stream.NamedWriteable;
import org.elasticsearch.common.io.stream.StreamInput;
import org.elasticsearch.common.io.stream.StreamOutput;
import org.elasticsearch.common.io.stream.Writeable;
import org.elasticsearch.common.xcontent.... | {
"content_hash": "acb478ae54485e2e0791cb53ecf2a991",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 122,
"avg_line_length": 32.1219512195122,
"alnum_prop": 0.7091875474563402,
"repo_name": "nknize/elasticsearch",
"id": "8b35864b544fd024206f3b828b4fb19950c1e438",
"size": "... |
from sqlalchemy import MetaData
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.ext.declarative.api import DeclarativeMeta
from .error import BaseValidationError, ValidationError
from .attribute import validate_attribute
class MetaClass(DeclarativeMeta):
"""
"""
def __init__(cls,... | {
"content_hash": "3f2707297354866953f2ab1e9b045977",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 74,
"avg_line_length": 25.5,
"alnum_prop": 0.5633668101386896,
"repo_name": "minimum-core/sqlalchemy-validation",
"id": "b5967822753aba42f549b74f88968226b5a42d86",
"size": ... |
from applications import summarize_applications
from applications import comments_by_application
from users import summarize_users
| {
"content_hash": "590ff519ea669be2335cb150ee443d2f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 48,
"avg_line_length": 43.666666666666664,
"alnum_prop": 0.8778625954198473,
"repo_name": "vesahe/solitadds-backend",
"id": "c7df63da6ce8cbb4a52d6dc45b58da1674cea6c1",
"size... |
+++
Description = "PTL No More"
author = "mestery"
categories = ["OpenStack", "Open Source", "governance"]
date = "2015-09-11T20:50:37-05:00"
socialsharing = true
tags = ["Open Source", "governance", "OpenStack"]
title = "PTL No More"
url = ""
+++
I've been the OpenStack Neutron for 3 releases in a row. I started in ... | {
"content_hash": "45fb8a919dd5c3ca9d6f8b4698a4ac15",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 82,
"avg_line_length": 53.73809523809524,
"alnum_prop": 0.7789100575985822,
"repo_name": "mestery/siliconloons",
"id": "730c55490767bbee396fa95534bea53cd8f57fbd",
"size": "... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package paq_nomina;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.ejb.EJB;
import javax.faces.event.AjaxBehaviorEvent;
import org.prime... | {
"content_hash": "be14bcfbe700b518af9316ebc8da70eb",
"timestamp": "",
"source": "github",
"line_count": 1949,
"max_line_length": 388,
"avg_line_length": 46.87634684453566,
"alnum_prop": 0.7121122567369366,
"repo_name": "diego10j/produquimic",
"id": "d10fa53d80f85751fcfd4e02fb901d99671bcf0b",
"size"... |
using System;
using NUnit.Framework;
using Punku;
[TestFixture]
[Category ("Validate")]
public class Validate_OrganizationNumberSweden
{
[Test]
public void IsAkiteBolag01 ()
{
Assert.AreEqual (OrganizationNumberSweden.IsAktieBolag ("5566848635"), true);
}
[Test]
public void IsAkiteBolag02 ()
{
Assert.AreE... | {
"content_hash": "1d0e848888a534bbeaa48d814ffa98f6",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 19.58,
"alnum_prop": 0.7242083758937692,
"repo_name": "martinlindhe/Punku",
"id": "8879dcfb809d59ed77e7683e62a5500751f6f79d",
"size": "981",
"binar... |
#region Using Statements
using System;
using System.Text;
using Microsoft.Xna.Framework.Content;
#endregion
namespace RolePlayingGameData
{
/// <summary>
/// A range of character statistics values.
/// </summary>
/// <remarks>Typically used for constrained random modifiers.</remarks>
#if ... | {
"content_hash": "4c1ad6a9dd2ec057d2f91e95f6e52ae0",
"timestamp": "",
"source": "github",
"line_count": 276,
"max_line_length": 89,
"avg_line_length": 32.039855072463766,
"alnum_prop": 0.5085378265294583,
"repo_name": "vnen/xna-rpg-godot",
"id": "71c2e32eb58d70f0a6b7c25978661d04ddb910ad",
"size": "... |
<DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
<title>Kamal Traders - TORAN-623</title>
<!-- CSS -->
<link href="/css/materializ... | {
"content_hash": "39b2b0d913d8c082c1656e09d0e3fca2",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 113,
"avg_line_length": 36.940298507462686,
"alnum_prop": 0.5789898989898989,
"repo_name": "kamaltraders/kamal-traders",
"id": "e8b1cf9562e5fe6ec174218076e75e25f265e175",
... |
package org.opensaml.samlext.saml2mdui.impl;
import org.opensaml.common.impl.AbstractSAMLObjectBuilder;
import org.opensaml.samlext.saml2mdui.UIInfo;
/**
* Builder of {@link org.opensaml.samlext.saml2mdui.UIInfo}.
*/
public class UIInfoBuilder extends AbstractSAMLObjectBuilder<UIInfo> {
/**
* Constructo... | {
"content_hash": "cb5de01f7ce4801f17b42108bcf9fa7f",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 98,
"avg_line_length": 25.275862068965516,
"alnum_prop": 0.703956343792633,
"repo_name": "Safewhere/kombit-service-java",
"id": "a524179cd32fb658927ca5fcae909253d9c8ca49",
... |
from indico.modules.files.controllers import RHDeleteFile, RHFileDownload, RHFileInfo
from indico.web.flask.wrappers import IndicoBlueprint
_bp = IndicoBlueprint('files', __name__)
_bp.add_url_rule('/files/<uuid:uuid>', 'file_info', RHFileInfo)
_bp.add_url_rule('/files/<uuid:uuid>/download', 'download_file', RHFileD... | {
"content_hash": "fbb12471a635363f00e8898d0faa797f",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 88,
"avg_line_length": 46.44444444444444,
"alnum_prop": 0.7416267942583732,
"repo_name": "indico/indico",
"id": "b4956ba8eee9ac92d2584802a22d40ea664c856d",
"size": "632",
... |
package me.walkersneps.snepsbotx.gui;
import me.walkersneps.snepsbotx.SnepsBotX;
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class JoinIRCChannelGUI extends JFrame{
private JPanel rootPanel;
private JTextField channelToJoinTextField;
private JBu... | {
"content_hash": "c04f5d4ad48b28eecac23932a1013a70",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 66,
"avg_line_length": 18.34,
"alnum_prop": 0.6564885496183206,
"repo_name": "Walkersneps/SnepsBotX",
"id": "6d30f52e0ef18ef177ca9bec7e041491611c03ee",
"size": "917",
"bi... |
package com.google.code.mojo.license.document;
import com.google.code.mojo.license.header.Header;
import com.google.code.mojo.license.util.FileUtils;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import java.io.File;
import java.net.MalformedURLException;
import java.util... | {
"content_hash": "f4ebbe2d2009e4cf0f587328170bd28d",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 114,
"avg_line_length": 40.37125748502994,
"alnum_prop": 0.5909225749035895,
"repo_name": "neo4j/license-maven-plugin",
"id": "7a17a5ec7afa37ad2630915434b3bec0c1d53d22",
"... |
package com.sjl.dsl4xml.support.convert;
import com.sjl.dsl4xml.TypeSafeConverter;
public class NumberFloatConverter implements TypeSafeConverter<Number,Float> {
@Override
public boolean canConvertFrom(Class<?> aClass) {
return Number.class.isAssignableFrom(aClass);
}
@Override
public bo... | {
"content_hash": "7d16bca6cc5a49bfe63d626ea25647b1",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 78,
"avg_line_length": 24.6,
"alnum_prop": 0.6449864498644986,
"repo_name": "steveliles/dsl4xml",
"id": "dc3dfc7cf1cfeb5435a88639bddd57c69bfcb1f8",
"size": "738",
"binary... |
<?php
namespace Carnage\Cqrs\Event\Listener;
use Carnage\Cqrs\MessageHandler\AbstractMethodNameMessageHandler;
/**
* Class AbstractEventListener
* @package Carnage\Cqrs\Event\Listener
* @deprecated
*/
abstract class AbstractEventListener extends AbstractMethodNameMessageHandler
{
} | {
"content_hash": "d003fdc8169aea6542b4a3ab7431849c",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 77,
"avg_line_length": 20.642857142857142,
"alnum_prop": 0.8166089965397924,
"repo_name": "carnage/cqrs",
"id": "3e0eef48ef19f669f541c7c31fe7f7dcced47c5b",
"size": "289",
... |
.PHONY: clean-pyc clean-build docs
help:
@echo "clean-build - remove build artifacts"
@echo "clean-pyc - remove Python file artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "coverage - check code coverage quickly with the default Python"
@echo "docs... | {
"content_hash": "fb3102ebf68c70dbf902ba386d0e0da7",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 71,
"avg_line_length": 21.851063829787233,
"alnum_prop": 0.6991236611489776,
"repo_name": "pipermerriam/ethereum-alarm-clock",
"id": "acf03fa1567d7d178dfee680d00947b453782c6e... |
package ru.job4j.collectionsFramework;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.TreeSet;
import java.util.LinkedList;
import java.util.UUID;
/**
* Class for testing speed collections.
*
* @author Ayuzyak
* @since 31.03.2017
* @version 1.0
*/
class T... | {
"content_hash": "c2d83fcdc74b4318935b77eb11146c17",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 95,
"avg_line_length": 27.58823529411765,
"alnum_prop": 0.5934612651030562,
"repo_name": "YuzyakAV/ayuzyak",
"id": "9023c01985ed091c57052d6849c694c3d554da31",
"size": "281... |
@echo off
rem Copyright 2016 windocker authors. All rights reserved.
rem Use of this source code is governed by Apache License 2.0
rem that can be found in the LICENSE file.
rem --------------------------------------------------------------------
rem This script has to be run in each command prompt that Docker
... | {
"content_hash": "5e63f2b079f4be03017a6d202fdc2fc5",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 73,
"avg_line_length": 48.61290322580645,
"alnum_prop": 0.6529528865295289,
"repo_name": "kumlali/windocker",
"id": "290a446af99d6325fc8205386cff8191da8fa5a2",
"size": "150... |
var express = require('express');
var router = express.Router();
var title = { title: 'Quiz @danielearning' };
var quizController = require('../controllers/quiz_controller');
var commentController = require('../controllers/comment_controller');
var sessionController = require('../controllers/session_controller');
var ... | {
"content_hash": "057df6d2bd6ae8253c84bab14ea7a780",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 100,
"avg_line_length": 41.8,
"alnum_prop": 0.7102604997341839,
"repo_name": "danielearning/quizz",
"id": "269c23af60a0a7105c93c438c1def80fe5e35a8b",
"size": "1881",
"bin... |
dojo.provide("dojox.lang.tests.main");
try{
// functional block
dojo.require("dojox.lang.tests.listcomp");
dojo.require("dojox.lang.tests.lambda");
dojo.require("dojox.lang.tests.fold");
dojo.require("dojox.lang.tests.curry");
dojo.require("dojox.lang.tests.misc");
dojo.require("dojox.lang.tests.array");
dojo... | {
"content_hash": "53b2e1deabb9834616162ebe7e290012",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 45,
"avg_line_length": 30.11764705882353,
"alnum_prop": 0.720703125,
"repo_name": "weierophinney/pastebin",
"id": "50fd59f30093df17e55ecb82bc14683f85165625",
"size": "514",... |
package com.allen.oauth.utils;
import java.security.MessageDigest;
public class MD5Util {
private static String byteArrayToHexString(byte b[]) {
StringBuffer resultSb = new StringBuffer();
for (int i = 0; i < b.length; i++)
resultSb.append(byteToHexString(b[i]));
return resultSb.toString();
}
private st... | {
"content_hash": "66e7f7104b9bc69b717ec61b89e5b43b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 114,
"avg_line_length": 28.307692307692307,
"alnum_prop": 0.6594202898550725,
"repo_name": "allenfancy/Spring_OAuth",
"id": "22021085d173964c9d66dd118f10ef16e3c9a488",
"siz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SLC_Classview_CSharp.Assessment
{
public class Utility
{
public static string FormatAssessmentIdentificationCode(string identificationSystem, string ID)
{
return string.Format("'assessmen... | {
"content_hash": "fbff193c735b73a597af5f2651b61707",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 267,
"avg_line_length": 69.71717171717172,
"alnum_prop": 0.6961750217328311,
"repo_name": "mikeng13/slcCampNYC_teamMnM_web",
"id": "7a8980011f8ba6af15d112e02a7d8addf0a72170",... |
void Stencil2DPartitionChunks::fire(void){
LOAD_FRAME(Stencil2DPartition);
double *Initial = FRAME(Initial); //matrix pointer initial Matrix[M][N]
const uint64_t n_rows = FRAME(nRows); // matrix M row
const uint64_t n_cols = FRAME(nCols); // Matrix N column
double *New = FRAME(New);
uint64_t nTpRows = n_rows-2... | {
"content_hash": "c60146ba819ee27d1743e7b46ed2e904",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 101,
"avg_line_length": 29.17391304347826,
"alnum_prop": 0.7019374068554396,
"repo_name": "szuckerm/DARTS",
"id": "3d249c5afd2814eaf5ae542d3faffa63412054ab",
"size": "1472"... |
import React, { PropTypes } from 'react'
import { Label } from 'semantic-ui-react'
class Tag extends React.Component {
render () {
return (
<Label
as='a'
color={this.props.category.colour}
tag
>{this.props.value}</Label>
)
}
}
Tag.propTypes = {
category: PropTypes.sha... | {
"content_hash": "7ed716497f534ee3f6d629001942be0b",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 42,
"avg_line_length": 19.17391304347826,
"alnum_prop": 0.6326530612244898,
"repo_name": "amandahogan/eda-job-list",
"id": "a985c68bf51027ea5b339fa06d124ed885e7b3ef",
"size... |
{% extends "includes/base.html" %}
{% block content %}
<center><h2 class="alt title_color">Enter your Twitter username below to get started.</h2></center>
{% include "includes/_form.html" %}
{% include "faves/_view_counts.html" %}
{% endblock %}
| {
"content_hash": "75ecb56ad4fc46d61eff4d8456e85aa0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 99,
"avg_line_length": 19.46153846153846,
"alnum_prop": 0.6600790513833992,
"repo_name": "poeks/twitterbelle",
"id": "cf5ba478748981655eedc3ea934bcb35d9722662",
"size": "25... |
/*
* INCLUDES DATA FROM PANGO:
* https://developer.gnome.org/pango/stable/pango-Scripts-and-Languages.html
*/
#pragma once
#include "hb.h"
#include "unicode/uscript.h"
#include <vector>
#include <map>
#include <set>
#include <string>
#ifndef DEFAULT_LANGUAGES
#define DEFAULT_LANGUAGES "en:zh-cn"
#endif
class... | {
"content_hash": "3d9d2ebaeac0739f04d484f65a1496c6",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 99,
"avg_line_length": 30.88235294117647,
"alnum_prop": 0.6596825396825396,
"repo_name": "arielm/Unicode",
"id": "d6c0b678c95546fb88488ee42a37357dd20452e2",
"size": "3423"... |
declare function plural(n: number): number;
declare const _default: (string | number | (string[] | undefined)[] | number[] | (string | undefined)[] | typeof plural | {
'GEL': (string | undefined)[];
'MDL': string[];
'RON': (string | undefined)[];
'RUB': string[];
'RUR': string[];
'THB': string... | {
"content_hash": "3997a05927e5cb4c3ce3a1d7b4730666",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 123,
"avg_line_length": 28.1875,
"alnum_prop": 0.5543237250554324,
"repo_name": "Leo-g/Flask-Scaffold",
"id": "5c8dfe84d0552670427c5c29c0e3233bba895bb6",
"size": "653",
"... |
package com.iluwatar;
/**
*
* Mediator encapsulates how a set of objects (PartyMember) interact. Instead of
* referring to each other directly they use a mediator (Party) interface.
*
*/
public class App {
public static void main(String[] args) {
// create party and members
Party party = new PartyImpl(... | {
"content_hash": "5f9e1c915183c31a74583a24fdbcd4b8",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 80,
"avg_line_length": 23.393939393939394,
"alnum_prop": 0.6904145077720207,
"repo_name": "JonathanJohannsen/ObserverTest",
"id": "92905b29d6a5863aa012091e80bf014961821eeb",
... |
import { StatementSyntax, ValueReference } from 'glimmer-runtime';
import { AttributeBindingReference, RootReference, applyClassNameBinding } from '../utils/references';
import EmptyObject from 'ember-metal/empty_object';
export class CurlyComponentSyntax extends StatementSyntax {
constructor({ args, definition, tem... | {
"content_hash": "7c9e0b649a9be9fc4649a2f08779dc76",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 102,
"avg_line_length": 25.640522875816995,
"alnum_prop": 0.6724445577364262,
"repo_name": "topaxi/ember.js",
"id": "ea3cf4229ab9f9089f5ddea2b6953921725726ea",
"size": "39... |
package com.aserdyuchenko;
import com.aserdyuchenko.MaxLenght;
import com.aserdyuchenko.Point;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Тест для класса MaxLenght.
* 1. whenAllPointsInOnePointThenAreaZero()
* Невозможно построить треугольник, та... | {
"content_hash": "c8bfe7ba80e2fd8d6f5dccfc01a31813",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 100,
"avg_line_length": 28.13,
"alnum_prop": 0.6384642730181301,
"repo_name": "anton415/java-courses",
"id": "031ca7bcc5bc457fd385648fca17def221b0cb33",
"size": "3097",
... |
[](https://travis-ci.org/marcusberner/sandal)
[](https://ci.testling.com/marcusberner/sandal)
[](https://nodei.co/npm/san... | {
"content_hash": "bbb242046f68c142775017e5196182b9",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 520,
"avg_line_length": 34.609022556390975,
"alnum_prop": 0.7334347164892462,
"repo_name": "marcusberner/sandal",
"id": "afae8ca85d5da8296fbb6e6b360a2a187479735f",
"size":... |
extern "Java"
{
namespace javax
{
namespace swing
{
namespace plaf
{
namespace synth
{
class ColorType;
}
}
}
}
}
class javax::swing::plaf::synth::ColorType : public ::java::lang::Object
{
public: // actually protected
ColorType(::java::lang::S... | {
"content_hash": "d9aa5a4b839bf65a0b580520f26c4619",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 72,
"avg_line_length": 24.575,
"alnum_prop": 0.6337741607324516,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "99a238cf3025b8d26a4bd84d76914a590c216c65",
"si... |
package br.unicamp.ic.sed.mobilemedia.mobilephonemgr.warningexceptionshandler_mobilephonemgr.impl;
import br.unicamp.ic.sed.mobilemedia.mobilephonemgr.mobilephonecontroller.spec.req.IExceptionsHandlerCtr;
import br.unicamp.ic.sed.mobilemedia.mobilephonemgr.spec.prov.IManager;
class IExceptionsHandlerAdapter impl... | {
"content_hash": "b80f25c184ba094b636024c66da0db4e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 164,
"avg_line_length": 44.31578947368421,
"alnum_prop": 0.8171021377672208,
"repo_name": "leotizzei/MobileMedia-Cosmos-v1",
"id": "8a7aac1baafde45020461ea322f7596e453bcce0",... |
package org.weakref.jmx;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
public class CustomFlattenAnnotationObject extends FlattenObject
{
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.... | {
"content_hash": "ef65957f1fc610e95fa04c4dc44bbd30",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 64,
"avg_line_length": 22.36,
"alnum_prop": 0.7334525939177102,
"repo_name": "martint/jmxutils",
"id": "e39faa9959cbe13476953efb5424feacfb9f9021",
"size": "1167",
"binary... |
@interface Sha256Wrapper : NSObject
- (nullable instancetype)init;
- (int)updateWithData:(nonnull NSData *)data;
- (int)updateWithString:(nonnull NSString *)string;
- (nullable NSData *)finish;
@end | {
"content_hash": "b689ce818645ab7cbf80618226b53617",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.7512437810945274,
"repo_name": "spark/photon-tinker-ios",
"id": "b05a92a9aaf1da1654da40ac824c4fb6bdc19e01",
"size"... |
<?php
abstract class Shineisp_Api_Controller_Action extends Shineisp_Controller_Common {
public function init(){
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
}
/**
* Accept the request of the clients
*
* @param string $cla... | {
"content_hash": "b525c9e84566c88389e6b17b8f3ce53c",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 113,
"avg_line_length": 29.714285714285715,
"alnum_prop": 0.5389423076923077,
"repo_name": "shinesoftware/shineisp",
"id": "aab08e44f88980f193f986b22e6ca517728525e0",
"size... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>paramcoq: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" ... | {
"content_hash": "dd78d86f7112a82a94ca0b2aceaa3207",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 185,
"avg_line_length": 40.57831325301205,
"alnum_prop": 0.5369655581947743,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "f915d8200b79a4ba415d58e2f9d10e630382ec8a",
... |
<resources>
<string name="app_name">Metaball</string>
</resources>
| {
"content_hash": "d8ea665f27ddd27856945cd481daa131",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 45,
"avg_line_length": 23.666666666666668,
"alnum_prop": 0.6901408450704225,
"repo_name": "dgmltn/Android-Metaball",
"id": "3a7fd38fae31a7afb3ebad9f74ec691fa1b3cd69",
"size"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="description" content="<#name#> demo">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<title><#name#> demo</title>
<link rel="shortcut icon" href="images/avatar.png" type="image/x-icon" ... | {
"content_hash": "bed94c402ad143f1ea97a6fe8c0d9e0e",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 108,
"avg_line_length": 31.941176470588236,
"alnum_prop": 0.6556169429097606,
"repo_name": "xudafeng/generator-demo",
"id": "02d7d2ae350fc0084b84666e4e6432dfd5005c02",
"siz... |
<?php
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
use Illuminate\Support\Facades\Log;
use Illuminate\Database\Eloquent\ModelNotFoundException;
use Illuminate\Support\Facades\Response;
use Noherczeg\RestExt\Exceptions\ErrorMessageException;
use Noherczeg\RestExt\Exceptions\NotFoundExcepti... | {
"content_hash": "aae5397115b33ebce87ee365dfb03d69",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 97,
"avg_line_length": 27.07185628742515,
"alnum_prop": 0.4366290643662906,
"repo_name": "noherczeg/RestExt",
"id": "6d4920afe6221c0373ec10b688c01e3d9b3694e6",
"size": "45... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<div id="content-wrapper">
<div id="main-content">
<?php
if(is_array($response)){
print_r($response);
}
if(isset($response) && ! is_array($response)){... | {
"content_hash": "edf430bd0cd718603b484ef331d0512e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 72,
"avg_line_length": 26.379310344827587,
"alnum_prop": 0.4222222222222222,
"repo_name": "bicpu/gps-beta",
"id": "00ddd28e2ce097e215f72dcf8a391623c64556ee",
"size": "765",... |
package testutil
| {
"content_hash": "4fe89efcaa13773c0efca7134fec1ab8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 16,
"avg_line_length": 17,
"alnum_prop": 0.8823529411764706,
"repo_name": "luci/luci-go",
"id": "ed7b54ba18073a7ba828befe2ab6fdd3f6798f77",
"size": "685",
"binary": false,... |
audioCaptureDuration="30s"
# Where to save the volume adjustments
volumeDB="$HOME/can-you-hear-me/volume.csv"
# Which output device to choose (change if it doesn't work)
outputDevice="auto"
# End configuration
outputDevices="$(pacmd list-sinks | grep -e 'name:' -e 'index' -e 'Speakers' | grep 'name')"
numberOfOutpu... | {
"content_hash": "3afb335c2d4510f603a90cbed1339b13",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 167,
"avg_line_length": 39.892857142857146,
"alnum_prop": 0.6866606982990152,
"repo_name": "Decagon/can-you-hear-me",
"id": "1277705ace0d2ca587022fbc2b92eb99ee980a8d",
"siz... |
import argparse
from models.dense_net import DenseNet
from data_providers.utils import get_data_provider_by_name
train_params_cifar = {
'batch_size': 64,
'n_epochs': 300,
'initial_learning_rate': 0.1,
'reduce_lr_epoch_1': 150, # epochs * 0.5
'reduce_lr_epoch_2': 225, # epochs * 0.75
'validat... | {
"content_hash": "3602bb184d70bd15fe934cf54fa957c4",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 79,
"avg_line_length": 37.493589743589745,
"alnum_prop": 0.6060865105146179,
"repo_name": "ikhlestov/vision_networks",
"id": "46a107d0ae75d01ad21ea1ad479227d2bcb899c8",
"s... |
sudo -v
sudo apt-get install -y default-jre
sudo apt-get install -y default-jdk
| {
"content_hash": "a029314fa55a3618eefa16d84d93fe2d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 35,
"avg_line_length": 27,
"alnum_prop": 0.7530864197530864,
"repo_name": "idf/bootstraping",
"id": "7d1f4b3df767f8ca17c61c0f54d9cb839d020791",
"size": "81",
"binary": fal... |
* Kubernetes 1.8+
## Chart Details
This chart will do the following:
* Optionally deploy PostgreSQL, MongoDB
* Deploy RabbitMQ (optionally as an HA cluster)
* Deploy JFrog Xray micro-services
## Requirements
- A running Kubernetes cluster
- Dynamic storage provisioning enabled
- Default StorageClass set to allow... | {
"content_hash": "dcd20a56e1e29dd1f35bb7dbca78938b",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 163,
"avg_line_length": 66.45622119815668,
"alnum_prop": 0.5340822411760627,
"repo_name": "caiwenhao/charts",
"id": "ce9525cb3fbee8a524079a37d4b2cc0c2f69d973",
"size": "14... |
const should = require('should');
const sinon = require('sinon');
const configUtils = require('../../../../utils/configUtils');
const imageTransform = require('@tryghost/image-transform');
const logging = require('../../../../../core/shared/logging');
const normalize = require('../../../../../core/server/web/api/middle... | {
"content_hash": "78c703d392ae283f5755d0afdf828158",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 100,
"avg_line_length": 29.73170731707317,
"alnum_prop": 0.5373256767842494,
"repo_name": "bitjson/Ghost",
"id": "a467aaa733c84f997bb952587bd1cd9012679192",
"size": "2438",... |
// 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, Version 2.0 (the
// "License"); you may... | {
"content_hash": "b444179d808605ecabd88fb2138f8829",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 179,
"avg_line_length": 45.51945854483925,
"alnum_prop": 0.45134190766485766,
"repo_name": "argv0/cloudstack",
"id": "dbcaca07008e6d6e2d1e441afbb9a812cb3bc9ed",
"size": "2... |
package org.apache.camel.component.nagios;
import java.util.HashMap;
import java.util.Map;
import com.googlecode.jsendnsca.Level;
import com.googlecode.jsendnsca.MessagePayload;
import com.googlecode.jsendnsca.NagiosPassiveCheckSender;
import com.googlecode.jsendnsca.PassiveCheckSender;
import org.apache.camel.BindT... | {
"content_hash": "41ca97beea0ebaf7ff9a4f25b20f1644",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 125,
"avg_line_length": 33.33766233766234,
"alnum_prop": 0.6782236073237242,
"repo_name": "zregvart/camel",
"id": "c7302bd4b193663cf3b022431c7c47a62d82e359",
"size": "5936... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------------------... | {
"content_hash": "eca1bf27e3457689c13c59afdff41907",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 81,
"avg_line_length": 30.266666666666666,
"alnum_prop": 0.3832599118942731,
"repo_name": "SpiderLoveFish/ZJCRM",
"id": "a83c374e508d69dc9a66d84e37d3e5e63535d79a",
"size": ... |
package com.fluent.pgm.mixtures;
import com.fluent.collections.FList;
import com.fluent.collections.FListMultiMap;
import com.fluent.collections.FMap;
import com.fluent.core.*;
import com.fluent.math.*;
import com.google.common.util.concurrent.AtomicDouble;
import org.slf4j.Logger;
import java.io.IOException;
import ... | {
"content_hash": "8cff9eacd31716953e330535b0b7b954",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 117,
"avg_line_length": 37.022222222222226,
"alnum_prop": 0.6733193277310925,
"repo_name": "JoseLlarena/Mixtures-Of-Markov-Chains",
"id": "7e781dc1a05340bd362a07c14094abf655... |
jQuery(document).ready(function($){
//Put Your Custom Jquery or Javascript Code Here
}); | {
"content_hash": "3adaeef69f6a24a0681eb098fb7fc37a",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 49,
"avg_line_length": 23.5,
"alnum_prop": 0.7021276595744681,
"repo_name": "senerudev/odox",
"id": "87a3c668a0250f18bdf11a83080ebd8b91d79137",
"size": "118",
"binary": fa... |
using System.IO;
namespace TestFluentAssembly.TwoInterfaces
{
public interface IInterface1
{
IInterface2 Iface2 { get; }
}
public interface IInterface2
{
}
}
| {
"content_hash": "7405c263ceabf1426684f4411a4c3fe4",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 42,
"avg_line_length": 13.857142857142858,
"alnum_prop": 0.6443298969072165,
"repo_name": "reinforced/Reinforced.Typings",
"id": "0fcad4ec5539ac7622a90f314e6c4b056c391ff3",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f6cf137dc1b2dfe9e8a246dda2199fb9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "1977e481d367557a915519217f34ba63f469bfc0",
"size": "19... |
import 'core-js';
/**
* Determines if the provided object is a navigation command.
* A navigation command is anything with a navigate method.
*
* @param obj The object to check.
*/
export function isNavigationCommand(obj: any): boolean {
return obj && typeof obj.navigate === 'function';
}
/**
* Used during the acti... | {
"content_hash": "f7df88e083bff6a85e2775ad8495c99b",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 94,
"avg_line_length": 25.878048780487806,
"alnum_prop": 0.6842601319509897,
"repo_name": "milunka/router",
"id": "f20fe1556f9df9005d545ae545a46b5678020a0b",
"size": "1061"... |
module AWS
class SNS
# A module shared between {Topic} and {Subscription}. Provides methods
# for getting and setting the delivery policy and for getting the
# effective delivery policy.
module HasDeliveryPolicy
# @return [nil,Hash] Returns the delivery policy.
def delivery_policy
... | {
"content_hash": "77cdfbedba74f367b616abc936bde98e",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 75,
"avg_line_length": 26.509090909090908,
"alnum_prop": 0.6550068587105624,
"repo_name": "wearelung/portoalegrecc",
"id": "4fe38b4c2ecddb6a94a2dcc32a11efe1d8a48a65",
"size... |
<!-- version alpha 0.5.1 -->
<!doctype html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon.png" type="image/png" sizes="64x64">
<title>Sab-BOT-age</title>
<link h... | {
"content_hash": "1cb017b4cba352c95884359dd749182e",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 552,
"avg_line_length": 61.04195804195804,
"alnum_prop": 0.683927139420323,
"repo_name": "TrevorBoyce/trevorboyce.github.io",
"id": "648d9dbfda7233823fa44538b8687c200ce46fcc... |
@interface VideoPlayer : NSObject {
NSString *videoURL;
}
@property (nonatomic, retain) NSString *videoURL;
- (void)play;
@end
| {
"content_hash": "926ed2140e8d80d6678817c5cc2391ab",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 49,
"avg_line_length": 14.555555555555555,
"alnum_prop": 0.7175572519083969,
"repo_name": "soraxdesign/SoundCity",
"id": "544955021a41ba75470461d07b38dedac96cf9df",
"size": ... |
using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.CSharp.Data.Processing.FilteringAndValidation
{
public class AutofilterNonBlank
{
//Source directory
static string sourceDir = RunExamples.Get_SourceDirectory();
//Output directory
static string... | {
"content_hash": "f34664c9e9f0a5e70694521861a4a768",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 30.846153846153847,
"alnum_prop": 0.6350789692435578,
"repo_name": "aspose-cells/Aspose.Cells-for-.NET",
"id": "2cd23ce9fc8bb1d123bcad94e9aa44cd3351b56... |
This document describes the two methods to configure TLS on the Vault servers for a Vault cluster.
## Using the default TLS assets
If the TLS assets for a cluster are not specified using the custom resource (CR) specification field, `spec.TLS`, the operator creates a default CA and uses it to generate self-signed cer... | {
"content_hash": "064bab98422cdb149d0334430d74b97e",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 278,
"avg_line_length": 38.946236559139784,
"alnum_prop": 0.6971286581998896,
"repo_name": "coreos/vault-operator",
"id": "7f5b3f63376575e4f17e1b322b1234720e40a031",
"size"... |
package org.snaker.engine.parser.impl;
import org.snaker.engine.model.NodeModel;
import org.snaker.engine.model.StartModel;
import org.snaker.engine.parser.AbstractNodeParser;
import org.springframework.stereotype.Service;
/**
* 开始节点解析类
* @author yuqs
* @since 1.0
*/
public class StartParser extends AbstractNode... | {
"content_hash": "7a6794e5aafc4ce4cf21fe921c6aea8a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 53,
"avg_line_length": 20.285714285714285,
"alnum_prop": 0.7535211267605634,
"repo_name": "gtison/kf",
"id": "0002e2d13d29e7abf0fb631314b1a49a6471d69f",
"size": "1056",
"... |
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>hashCode</title>
<link href="../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../../../";</script> <script>const storage = localStorage.get... | {
"content_hash": "7139177a827bc4ecd3ec6b76f152f853",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 644,
"avg_line_length": 65.95238095238095,
"alnum_prop": 0.6406738868832732,
"repo_name": "stripe/stripe-android",
"id": "d6adfcdbee9fca6d8617b579b5a1d7512cd793bd",
"size":... |
layout: post
author: sunzn
date: 2015-12-8 12:47
title: Android Touch事件分发和消费机制讲解
category: Android
tag: [android,development,touch,animation]
---
本文转载自[网页](http://www.cnblogs.com/sunzn/archive/2013/05/10/3064129.html)

| {
"content_hash": "2a019540eb9594e590d19188cba45c2a",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 71,
"avg_line_length": 25.181818181818183,
"alnum_prop": 0.7689530685920578,
"repo_name": "ericsonyc/ericsonyc.github.io",
"id": "0d7bcb086515c760beeec318ee6d906b3a272f8b",
... |
import argparse
import sys
import string
import signal
signal.signal( signal.SIGPIPE, signal.SIG_DFL )
base = '/work/scripts/'
def list(s):
try:
return s.split(',')
except:
raise argparse.ArgumentTypeError("Must be a comma separated list of characters")
def replace( index, oldValue, newValue ):
valueList = ... | {
"content_hash": "da40510e90e8366185b70d74f5a2c148",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 160,
"avg_line_length": 31.1125,
"alnum_prop": 0.6749698674166332,
"repo_name": "tannermares/custom-sequence",
"id": "0bbdae6ee8bec413035093b248db5453ee8fbcce",
"size": "25... |
package com.movilizer.connector.persistence.listeners;
import com.movilitas.movilizer.v15.MovilizerGenericDataContainer;
import com.movilitas.movilizer.v15.MovilizerGenericDataContainerEntry;
import com.movilitas.movilizer.v15.MovilizerGenericUploadDataContainer;
import com.movilitas.movilizer.v15.MovilizerUploadDataC... | {
"content_hash": "edaa737ff4cebc3f9940db7deea7b59a",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 122,
"avg_line_length": 44.38461538461539,
"alnum_prop": 0.7733102253032929,
"repo_name": "Movilizer/movilizer-spring-connector",
"id": "966b7c691e271499b36dd379a0a7444167b25... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.