text stringlengths 2 1.04M | meta dict |
|---|---|
package seelog
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
"sort"
"strconv"
"strings"
"time"
)
// Common constants
const (
rollingLogHistoryDelimiter = "."
)
// Types of the rolling writer: roll by date, by time, etc.
type rollingType uint8
const (
rollingTypeSize = iota
rollingTypeTime
)
type rolli... | {
"content_hash": "4a05c5537605590e6863a6ee7e501ba7",
"timestamp": "",
"source": "github",
"line_count": 528,
"max_line_length": 146,
"avg_line_length": 27.539772727272727,
"alnum_prop": 0.6888797194140706,
"repo_name": "cider-plugins/cider-github-status",
"id": "9239e69f9388f74c93964d066c7f40de598f24... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template compare_hash</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name... | {
"content_hash": "bda19c8b2492bb4bc27395d9a7138437",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 460,
"avg_line_length": 79.21428571428571,
"alnum_prop": 0.6762849413886384,
"repo_name": "davehorton/drachtio-server",
"id": "5aa5b3251a68cf6c6abef56855f31c511d79bd92",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<sem:triples uri="http://www.lds.org/vrl/objects/furnishings/candelabras" xmlns:sem="http://marklogic.com/semantics">
<sem:triple>
<sem:subject>http://www.lds.org/vrl/objects/furnishings/candelabras</sem:subject>
<sem:predicate>http://www.w3.org/2004/02/skos/core#prefLab... | {
"content_hash": "698cd8d60bd17597095aedbf6289470c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 117,
"avg_line_length": 55.05555555555556,
"alnum_prop": 0.715438950554995,
"repo_name": "freshie/ml-taxonomies",
"id": "dac7a9537c54c2a148b57d75edc01adf5d0fe0a3",
"size": ... |
/*****************************************************************************/
/* XDMF */
/* eXtensible Data Model and Format */
/* */
... | {
"content_hash": "a7ae19bcff930f074e3d7c81dd3cd656",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 79,
"avg_line_length": 32.27956989247312,
"alnum_prop": 0.40806129247168554,
"repo_name": "keithroe/vtkoptix",
"id": "d8e5329f4d3720b969a5978599131eb38178f491",
"size": "30... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2c1498188bbb35f05aaef72a223101f5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "4bf76866fb1e03c6ca050a2523dd736f59dcbd20",
"size": "19... |
printf "any.js:3:15 = "
assert_ok "$FLOW" type-at-pos any.js 3 15 --strip-root --pretty
printf "any.js:4:2 = "
assert_ok "$FLOW" type-at-pos any.js 4 2 --strip-root --pretty
printf "any.js:4:6 = "
assert_ok "$FLOW" type-at-pos any.js 4 6 --strip-root --pretty
printf "any.js:5:5 = "
assert_ok "$FLOW" type-at-pos any.js ... | {
"content_hash": "f78f1f11fc4351be6f7a76440a983cd7",
"timestamp": "",
"source": "github",
"line_count": 389,
"max_line_length": 104,
"avg_line_length": 46.41388174807198,
"alnum_prop": 0.6939905843256715,
"repo_name": "popham/flow",
"id": "f8ad377bb8fe0b0da7d713659333bce782e61d8f",
"size": "18077",... |
'use strict';
// Load the module dependencies
var mongoose = require('mongoose'),
crypto = require('crypto'),
Schema = mongoose.Schema;
// Define a new 'UserSchema'
var UserSchema = new Schema({
firstName: String,
lastName: String,
email: {
type: String,
// Validate the email format
match: [/.+\@.+\..+/, "... | {
"content_hash": "d66b4f781b937543040318f88fa1a6fb",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 144,
"avg_line_length": 26.345132743362832,
"alnum_prop": 0.6896204232448774,
"repo_name": "rgonzalr/mean-test",
"id": "f30c609334620c271aa87919a84582e8d150617a",
"size": ... |
#ifndef TRULE_H_
#define TRULE_H_
#include <algorithm>
#include <vector>
#include <cassert>
#include <iostream>
#include "boost/shared_ptr.hpp"
#include "boost/functional/hash.hpp"
#include "sparse_vector.h"
#include "wordid.h"
#include "tdict.h"
class TRule;
typedef boost::shared_ptr<TRule> TRulePtr;
namespace cd... | {
"content_hash": "197b1a0b249369689eb0fa35dcd54f3a",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 198,
"avg_line_length": 32.74485596707819,
"alnum_prop": 0.5776046248586151,
"repo_name": "pks/cdec-dtrain-legacy",
"id": "7af467473d672f516d47ba10059c275baa5cca0b",
"size... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2014-2016 Red Hat, Inc. and/or its affiliates
and other contributors as indicated by the @author tags.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "710c6037352cd49c8e4d5994c355a928",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 113,
"avg_line_length": 38.757009345794394,
"alnum_prop": 0.6631299734748011,
"repo_name": "pilhuhn/rhq-metrics",
"id": "6f05a668c6c4fc01d9d3870fec8909cf10c5bc7b",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Autocomplete - Scrollable results</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery... | {
"content_hash": "590470269f4f8d0cb27bfedbf98536f2",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 237,
"avg_line_length": 22.468354430379748,
"alnum_prop": 0.6169014084507042,
"repo_name": "freewind/rythmfiddle",
"id": "8a648a01e6a2fe769516dadd122084dfef63f307",
"size":... |
/*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.world.config;
import com.google.common.collect.Lists;
import io.github.nucleuspowered.nucleus.internal.qsml.NucleusCon... | {
"content_hash": "033ec730fbfa161b990695117f1dd1ad",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 118,
"avg_line_length": 35.75,
"alnum_prop": 0.7097902097902098,
"repo_name": "OblivionNW/Nucleus",
"id": "fbbb4f8f6196e02fe393fdd435479709728bbd96",
"size": "858",
"bina... |
from __future__ import print_function
import sys
import esky
if getattr(sys,"frozen",False):
#app = esky.Esky(sys.executable,"https://example-app.com/downloads/")
app = esky.Esky(sys.executable,"http://localhost:8000")
try:
app.auto_update()
except Exception as e:
print ("ERROR UPDATIN... | {
"content_hash": "d524af507a85f809a28437d20b6e5369",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 73,
"avg_line_length": 24.8,
"alnum_prop": 0.6612903225806451,
"repo_name": "datalytica/esky",
"id": "92fdfad5a5c8f457ec592b00910f096707ba371b",
"size": "372",
"binary": ... |
package com.swordfish.bdd.senha;
import java.util.regex.Pattern;
import com.swordfish.bdd.senha.exception.SenhaInvalidaException;
import com.swordfish.bdd.senha.model.Configuracao;
import com.swordfish.bdd.senha.model.TipoSenha;
public class ValidadorSenha {
private static String padraoCaracEspeciais = "[$#&%@_*]"... | {
"content_hash": "d173d680c7b46938f7b5d45f707b213b",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 122,
"avg_line_length": 32.083333333333336,
"alnum_prop": 0.7215584415584415,
"repo_name": "tacsio/swordfish",
"id": "d06a6ea8b3599aef87c101aebda406ee799295e2",
"size": "3... |
<?php
namespace Symfony\Component\Form\Tests\Extension\Core\Type;
/**
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class ButtonTypeTest extends BaseTypeTest
{
/**
* @group legacy
*/
public function testLegacyName()
{
$form = $this->factory->create('button');
... | {
"content_hash": "091a578608dcfcc2dcb2fe7d2254b9cd",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 146,
"avg_line_length": 24.322580645161292,
"alnum_prop": 0.6312997347480106,
"repo_name": "pellu/roadtothesuccess",
"id": "fc31688c1130d749e666a503ada7201908179128",
"size... |
<?php
namespace Anax\DI;
/**
* Interface to implement for DI aware services to let them know of the current $di
*
*/
trait TInjectable
{
/**
* Properties
*/
protected $di; // the service container
/**
* Set the service container to use
*
* @param class ... | {
"content_hash": "9708050324a667d89fffc0fd0aea9c03",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 92,
"avg_line_length": 22.46031746031746,
"alnum_prop": 0.5547703180212014,
"repo_name": "nuvalis/JS-KMOM710",
"id": "d044b47a6092ba17a74a4fe9839a320f4b83e110",
"size": "14... |
// Copyright: 2014 PMSI-AlignAlytics
// License: "https://github.com/PMSI-AlignAlytics/dimple/blob/master/MIT-LICENSE.txt"
// Source: /src/objects/series/methods/_axisBounds.js
this._axisBounds = function (position) {
var bounds = { min: 0, max: 0 },
// The pr... | {
"content_hash": "886f8137d96a4dcfb81dd6af18715ac9",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 151,
"avg_line_length": 50.24786324786325,
"alnum_prop": 0.44021092022452796,
"repo_name": "GerHobbelt/dimple",
"id": "fb49e900a2232f41952fd68139c4ade1641d7ae0",
"size": "... |
- W5500 chip development platform for **net'enabled** microcotroller applications
- Ethernet (W5500 Hardwired TCP/IP chip) and 32-bit ARM® Cortex™-M0 based designs
- Arduino Pin-compatible platform hardware
- New Code Samples: [Updated network protocol libraries and example projects](https://github.com/Wiznet/W5500_EVB... | {
"content_hash": "6bfa27f5e09c36236d403a15ad194e03",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 185,
"avg_line_length": 51.07142857142857,
"alnum_prop": 0.7723076923076924,
"repo_name": "xd785/W5500_EVB",
"id": "a4c1e7bdad5871d103df7d08be8bd6aabce36aef",
"size": "3593... |
#pragma once
#include <aws/macie2/Macie2_EXPORTS.h>
#include <aws/core/utils/DateTime.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Macie2
{
namespace Model
{
/**
* <p>Provides information about ... | {
"content_hash": "c5f28dca6dbbf07a52069f675286d661",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 135,
"avg_line_length": 31.554545454545455,
"alnum_prop": 0.682800345721694,
"repo_name": "aws/aws-sdk-cpp",
"id": "fa37f3e30b0a29382ffa3979505a5ea6f5116219",
"size": "359... |
package bio.terra.common;
import bio.terra.model.ErrorModel;
import bio.terra.service.job.JobMapKeys;
import bio.terra.stairway.FlightContext;
import bio.terra.stairway.FlightMap;
import bio.terra.stairway.RetryRuleExponentialBackoff;
import bio.terra.stairway.RetryRuleRandomBackoff;
import com.fasterxml.jackson.core.... | {
"content_hash": "0a7a1e6ea3d75e041c5175799499c01e",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 99,
"avg_line_length": 36.851063829787236,
"alnum_prop": 0.7346997690531177,
"repo_name": "DataBiosphere/jade-data-repo",
"id": "ac6a6f5f02b8f49a4c605c0103919cc30cab4871",
... |
saschaeglaucom
==============
This is the code for my personal website, [saschaeglau.com](http://www.saschaeglau.com).
| {
"content_hash": "5f1e486ac266a4829c0bf8fd409761c1",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 88,
"avg_line_length": 30,
"alnum_prop": 0.6833333333333333,
"repo_name": "tmlye/saschaeglaucom",
"id": "775f76ffde48028061d3a64da2c8465a542051b0",
"size": "120",
"binary"... |
set -e
REPO_ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")" && cd ../../.. && pwd -P)
export PY=${PY:-python}
# Exports:
# + CARGO_HOME: The CARGO_HOME of the Pants-controlled rust toolchain.
# Exposes:
# + bootstrap_rust: Bootstraps a Pants-controlled rust toolchain and associated extras.
# shellcheck source=build-suppo... | {
"content_hash": "ca6cc1e47aa598b6bf3f115f6aa8941b",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 97,
"avg_line_length": 29.636363636363637,
"alnum_prop": 0.6625766871165644,
"repo_name": "twitter/pants",
"id": "bba51ea1f424ad625d9d725e2636fb02abe4ee52",
"size": "1325",... |
#ifndef GAME_STRATEGY_OUTSIDE_PATH_HANDLER
#define GAME_STRATEGY_OUTSIDE_PATH_HANDLER
#include "gameStrategyHandler.h"
/**
* Creates a new "route" for the robot which is not on a classical Path !
*/
void gameStrategyCreateOutsideTemporaryPaths(GameStrategyContext* gameStrategyContext);
/**
* Do the cle... | {
"content_hash": "816815fecac4cdd2a57da69a55a04e05",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 97,
"avg_line_length": 28.176470588235293,
"alnum_prop": 0.7703549060542797,
"repo_name": "svanacker/cen-electronic",
"id": "ad4f864367c9461ff988ea71e1a6acf46ae6ffe0",
"siz... |
/* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | {
"content_hash": "060e6eacf2867b8cbad39d8859b7fe1f",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 109,
"avg_line_length": 34.96848137535817,
"alnum_prop": 0.7385283513602098,
"repo_name": "NationalSecurityAgency/ghidra",
"id": "aecaec11a8fcf39184f205303eb14b00803fb735",
... |
/**
* TimeOfDay.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.axis.v201306;
/**
* Represents a specific time in a day.
*/
public class TimeOfDay implements java.io.Serializable {
/* Hour in 24 hour... | {
"content_hash": "69841e19714337fc01c99bd852cce04b",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 129,
"avg_line_length": 32.182857142857145,
"alnum_prop": 0.5900213068181818,
"repo_name": "nafae/developer",
"id": "5b0ef044513e6cfcc0585f14cfb30b1dfbab14a9",
"size": "56... |
global using Autofac.Extensions.DependencyInjection;
global using Autofac;
global using Azure.Core;
global using Azure.Identity;
global using Basket.API.Infrastructure.ActionResults;
global using Basket.API.Infrastructure.Exceptions;
global using Basket.API.Infrastructure.Filters;
global using Basket.API.Infrastructure... | {
"content_hash": "60e7f99e9e9fccae09178cd329ae3379",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 93,
"avg_line_length": 47.885245901639344,
"alnum_prop": 0.8657993837726806,
"repo_name": "albertodall/eShopOnContainers",
"id": "75f7a878e416e1173325df90af75308779c0fd60",
... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | {
"content_hash": "9af961b3fbdb191b40832bfaddd86614",
"timestamp": "",
"source": "github",
"line_count": 523,
"max_line_length": 83,
"avg_line_length": 35.267686424474185,
"alnum_prop": 0.542314990512334,
"repo_name": "ExpMoD/Ex-helper",
"id": "7e5e82fc51cb506683e061a5bfa82255447aefe9",
"size": "184... |
<li class="avam-selectable-item avam-group-menu" ng-click="onToggleSubMenu()"
ng-class="{'avam-menu-item-horizontal' : !isVertical()}">
<div class="avam-noselect" >
<i class="glyphicon {{icon}} avam-menu-icon"></i>
{{label}}
<i class="glyphicon glyphicon-menu-left avam-menu-group-indicator"
ng-class="{'glyph... | {
"content_hash": "b7d17734dd7005adcb8e108ec60c1a28",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 77,
"avg_line_length": 36.6,
"alnum_prop": 0.663023679417122,
"repo_name": "aryaadi3020/avamMenu",
"id": "86d409a0ed24d5d1b37f0de6af872956a2a121a4",
"size": "549",
"binar... |
namespace flutter_runner {
namespace {
// Layer separation is as infinitesimal as possible without introducing
// Z-fighting.
constexpr float kScenicZElevationBetweenLayers = 0.0001f;
constexpr float kScenicZElevationForPlatformView = 100.f;
constexpr float kScenicElevationForInputInterceptor = 500.f;
SkScalar Opacit... | {
"content_hash": "862cd68c6907b88bc01e42620821b03c",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 80,
"avg_line_length": 38.48022598870057,
"alnum_prop": 0.6367640581412422,
"repo_name": "jason-simmons/sky_engine",
"id": "f14d5e8e9d8567d1708be6f2868085c6c8d495d5",
"siz... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("SettlementApi.Context")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[a... | {
"content_hash": "db2a1b5310d9f2ab1d9b7f603fa02a1b",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 59,
"avg_line_length": 27.25,
"alnum_prop": 0.7227319062181448,
"repo_name": "wjwu/Settlement-React",
"id": "31beba7d81eec8b8ab5ab865b2bea7a16b657837",
"size": "1332",
"b... |
package edu.swmed.qbrc.jacksonate.rest.jackson.writers;
import java.io.IOException;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.JsonGenerator;
public class IntegerWriter implements Callable<Integer> {
@Override
public void call(Object param, JsonGenerator jgen) throws JsonGenera... | {
"content_hash": "cceb46be2ad777920dd522ad2405e06b",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 97,
"avg_line_length": 29.333333333333332,
"alnum_prop": 0.7909090909090909,
"repo_name": "QBRC/Jacksonate",
"id": "60c010da7804a99d4dae5b9ddbea0771ce4c135d",
"size": "440"... |
<!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_45) on Wed Mar 04 22:48:15 CET 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class org.optaplanner.cor... | {
"content_hash": "aba3e3489d8293d93f5d1eff1912a47f",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 495,
"avg_line_length": 55.60434782608696,
"alnum_prop": 0.6706544686840253,
"repo_name": "jormunmor/doctorado",
"id": "f27b45cc4f7682e2df316f948b51212157df2954",
"size": ... |
> Stability: 2 - Stable
The `os` module provides a number of operating system-related utility methods.
It can be accessed using:
```js
const os = require('os');
```
## os.EOL
<!-- YAML
added: v0.7.8
-->
* {string}
A string constant defining the operating system-specific end-of-line marker:
* `\n` on POSIX
* `\r\n... | {
"content_hash": "9545b9c24ead05d21ff35abb7ea640cb",
"timestamp": "",
"source": "github",
"line_count": 1177,
"max_line_length": 80,
"avg_line_length": 25.78334749362787,
"alnum_prop": 0.6216100438264078,
"repo_name": "RPGOne/Skynet",
"id": "6afa69d39edb1da45ba9987844195c57794d8c06",
"size": "30353... |
package shadowsocks
import (
"os"
"time"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
var (
// Logger used to out put the log, zap logger is fast and efficiency
Logger *zap.Logger
// Level can be set into Debug Info Error, and Error level is used by default
Level string
)
// SetLogger will generate a zap l... | {
"content_hash": "0e58e6a9a97266e6959fe2ff23073d2b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 78,
"avg_line_length": 25.610169491525422,
"alnum_prop": 0.7061548643282595,
"repo_name": "arthurkiller/shadowsocks-go",
"id": "68aec95fa65bd59ff47f038b9c46d541e1263b26",
"... |
#ifndef GONA_GRAPHICS_NATIVE_BITMAP_X_H
#define GONA_GRAPHICS_NATIVE_BITMAP_X_H
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <stdlib.h>
#include <string.h>
#include "../../GnImage.h"
#include "../GnBitmap.h"
class GnNativeBitmap : public GnBitmap {
public:
GnNativeBitmap(Display *display, Window wnd, u... | {
"content_hash": "a4bafe12942017db77011519af556f92",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 91,
"avg_line_length": 21.24576271186441,
"alnum_prop": 0.5991224571200638,
"repo_name": "airgiser/gona",
"id": "e18e2663c29f112dbd2cd9b9733e644ccff22e71",
"size": "2596",... |
<a href='https://github.com/angular/angular.js/edit/v1.4.x/src/ng/directive/ngEventDirs.js?message=docs(ngBlur)%3A%20describe%20your%20change...#L400' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit"> </i>Improve this Doc</a>
<a href='https://github.com/angular/angular.js/tree/v1.4.1/src... | {
"content_hash": "5aaae5d9e97fc2aa20da4c66f4f17849",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 254,
"avg_line_length": 24.07070707070707,
"alnum_prop": 0.6261015526647083,
"repo_name": "viral810/ngSimpleCMS",
"id": "b9c335914124e806c0975417b1d2aac2993e8eef",
"size": ... |
double inv_norm_cdf(double y0);
| {
"content_hash": "c6ce9ce47a8a98380ec455b707b2d0d3",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 31,
"avg_line_length": 32,
"alnum_prop": 0.75,
"repo_name": "jaak-s/macau",
"id": "8423d5d7b653e9fb49a87c29385dc4080ca5ef91",
"size": "46",
"binary": false,
"copies": "2... |
package com.planet_ink.coffee_mud.Abilities.Thief;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import ... | {
"content_hash": "5e5add5e5bc9cf149552655a4ac2ea5d",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 232,
"avg_line_length": 28.20327868852459,
"alnum_prop": 0.6515926528714252,
"repo_name": "bozimmerman/CoffeeMud",
"id": "a33f9fc0b6f3a35f0004689e7e2fe0f318c8cd1e",
"size"... |
package net.fortytwo.ripple.libs.math;
import net.fortytwo.flow.Sink;
import net.fortytwo.ripple.RippleException;
import net.fortytwo.ripple.model.ModelConnection;
import net.fortytwo.ripple.model.PrimitiveStackMapping;
import net.fortytwo.ripple.model.RippleList;
import net.fortytwo.ripple.model.StackMapping;
/**
*... | {
"content_hash": "4a38acc70a73da35893c706f01da8fb6",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 75,
"avg_line_length": 26.733333333333334,
"alnum_prop": 0.6321695760598504,
"repo_name": "joshsh/ripple",
"id": "4ec2dc7db1ada5caa1fc76fddf15a023d7bea56a",
"size": "1604",... |
import saga
c = saga.Context ('ssh')
c.user_id = 'dinesh'
s = saga.Session ()
s.add_context (c)
js = saga.job.Service("lsf+ssh://yellowstone.ucar.edu", session=s)
| {
"content_hash": "3063f0561573a6cc7ef2363db0f5e18c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 66,
"avg_line_length": 16.7,
"alnum_prop": 0.6586826347305389,
"repo_name": "telamonian/saga-python",
"id": "e98f840060550cbd1298c8c34ce001405e2006d3",
"size": "168",
"bi... |
package org.kie.karaf.itest.blueprint;
import org.kie.karaf.itest.AbstractKarafIntegrationTest;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.kie.api.runtime.KieSession;
import org.ops4j.pax.exam.Configuration;
import org.ops4j.pax.exam.Option;
import org.ops4j.pax.exam.junit.PaxExam;
import org... | {
"content_hash": "214e93fd4acb50496fcae157378e8aab",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 120,
"avg_line_length": 47.752941176470586,
"alnum_prop": 0.6136979551613698,
"repo_name": "reynoldsm88/droolsjbpm-integration",
"id": "2e11c4f0e8c70ef44cfe5d2cbfb0cb56f2cf47... |
#include <aws/logs/model/LogStream.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace CloudWatchLogs
{
namespace Model
{
LogStream::LogStream() :
m_logStreamNameHasBeenSet(false),
m_creationTime(0)... | {
"content_hash": "9fbde21217b08e7d56fe8d86b17daaf9",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 71,
"avg_line_length": 20.506493506493506,
"alnum_prop": 0.7241925269157695,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "421702f8d15445e360af14237f30de008f9216ba",
"size": ... |
<?php
namespace Lunr\Spark\Twitter;
/**
* Twitter Domains
*/
class Domain
{
/**
* Twitter API
* @var String
*/
const API = 'https://api.twitter.com/';
/**
* Twitter public stream
* @var String
*/
const STREAM = 'https://stream.twitter.com/';
/**
* Twitter ... | {
"content_hash": "f783c18a2fdb869c16d2f268c04e1cb9",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 57,
"avg_line_length": 14.621621621621621,
"alnum_prop": 0.5360443622920518,
"repo_name": "tardypad/lunr",
"id": "1e3393afab80eba948447c2c64ae2047fd4c6ea7",
"size": "788",
... |
import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import { orange500 } from 'material-ui/styles/colors'
import FontIcon from 'material-ui/FontIcon'
import AllocationTopbar from '../components/AllocationTopbar/AllocationTopbar'
import JobLink from '../components/JobLink/JobLink'
i... | {
"content_hash": "9889dd68df43d157b78e0e26e50f3993",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 109,
"avg_line_length": 25.986013986013987,
"alnum_prop": 0.6259418729817008,
"repo_name": "Wintermute1/hashi-ui",
"id": "62f4a26817d8fb2f454c211a51190759ebb3bb27",
"size"... |
//
// use_future.hpp
// ~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_ASIO_USE_FUTURE_HPP
#defi... | {
"content_hash": "e9a67af7008ebc5173c983170b7b8418",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 80,
"avg_line_length": 29.753086419753085,
"alnum_prop": 0.7051867219917013,
"repo_name": "fceller/arangodb",
"id": "01fb2760f376311a9c754f6f539227fecd68cbd2",
"size": "48... |
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
// angular 2 highcharts
import { ChartModule } from 'angular2-highcharts';
// charts
import {BarChartComponent} from './barchart';
import {LineChartComponent} from './linechart';
import {AreaChartComponent} from './areachart';
i... | {
"content_hash": "c7680c758d991618ea6bf633d83fed27",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 50,
"avg_line_length": 22.735294117647058,
"alnum_prop": 0.6468305304010349,
"repo_name": "alexcompton/kelsifinances",
"id": "e688ba6747be0f65446dd78a4e99560998dab9ce",
"si... |
Feedr helps you fetch and store Atom and RSS feeds.
Use it, for example, to build a feed reader.
## Installation
Add this line to your application's Gemfile:
gem 'feedr'
And then execute:
$ bundle
Or install it yourself as:
$ gem install feedr
## Usage
See feedr-example:
http://github.com/christia... | {
"content_hash": "b8d9a549133f1438bf079b7bb21817ca",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 64,
"avg_line_length": 19.5,
"alnum_prop": 0.7213675213675214,
"repo_name": "christianhellsten/feedr",
"id": "c5656569bf1c0a8a4fff21dedc7ce579ad62ff64",
"size": "594",
"b... |
import Mock from 'mockjs';
let expressApply = [];
for (let i = 0; i < 20; i++) {
expressApply.push(Mock.mock({
aid: Mock.Random.id(),
realname: Mock.Random.cname(),
schoolname: Mock.Random.cname(),
buildtime: Mock.Random.date(),
telephone: Mock.Random.integer(),
emplid: Mock.Random.integer()... | {
"content_hash": "c3615242bbd8e6f4087a280c933442b0",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 37,
"avg_line_length": 23,
"alnum_prop": 0.6400966183574879,
"repo_name": "chwech/idianfun-admin",
"id": "8c8d9a0cc57e6bd3d6dccbde38cf3356e4527535",
"size": "414",
"binar... |
A factory package for Meteor.
This version is very similar to https://atmospherejs.com/dburles/factory although internally it's implementation is quite different.
## Usage
To define a factory:
```
Factory.define("app", Apps, {
name: function() { return Faker.name(); }
});
```
To create an app and insert it into ... | {
"content_hash": "8c1c03aca22bdb7a79af7b2f5666ff72",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 178,
"avg_line_length": 25.892307692307693,
"alnum_prop": 0.7159833630421866,
"repo_name": "mdicaire/message_management_rest_api_app",
"id": "3595d170f2def41108350bff864d3ccb... |
<?xml version="1.0" ?>
<dynamics>
<package name="uo_widget_form_list.treeview.jquery">
<require>uo_widget_list.treeview.jquery</require>
</package>
<package name="uo_widget_form_list.auto_check.jquery">
<require>uo_widget.base.jquery</require>
<path priority="low">%sf_plugins_dir%/sfUnobstrusiveWidg... | {
"content_hash": "3e99f2bc31c342356b14eade87c8275a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 87,
"avg_line_length": 31.785714285714285,
"alnum_prop": 0.7168539325842697,
"repo_name": "Symfony-Plugins/sfUnobstrusiveWidgetPlugin",
"id": "f1674effdf3815052332e7297cb20a9... |
<?php
namespace RawPHP\CommunicationLogger\Adapter\Factory;
use PDO;
/**
* Class ConnectionFactory
*
* @package RawPHP\CommunicationLogger\Adapter\Factory
*/
class ConnectionFactory
{
/**
* Create PDO connection.
*
* @param string $type
* @param string $host
* @param string $port
... | {
"content_hash": "44ef2f5d674ed85a589479bbab1fd66a",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 76,
"avg_line_length": 19.65,
"alnum_prop": 0.5012722646310432,
"repo_name": "rawphp/communication-logger",
"id": "a8f662fdd4b49ad7832cc3a96236a41765e3e733",
"size": "786",... |
set(RESTRICT "" CACHE STRING "Sets RESTRICT value for current target.")
set(INLINE "" CACHE STRING "Sets INLINE value for current target.")
set(ARCH_ARM 0 CACHE BOOL "Enables ARM architecture.")
set(ARCH_MIPS 0 CACHE BOOL "Enables MIPS architecture.")
set(ARCH_X86 0 CACHE BOOL "Enables X86 architecture.")
set(ARCH_X86_... | {
"content_hash": "107af132bf08bad85fa7aa6ebef5cc5f",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 80,
"avg_line_length": 55.945205479452056,
"alnum_prop": 0.7653036238981391,
"repo_name": "smarter/aom",
"id": "6d982c32b03dd2ae6174bbc69208a47dc1f43314",
"size": "8982",
... |
import * as XhrTransforms from '../src/xhr-transformers';
import {Headers} from '../src/headers';
describe('transformers', () => {
it("timeout should set the xhr timeout to the message timeout if defined in the message", () => {
let xhr = {};
XhrTransforms.timeoutTransformer(null, null, {}, xhr);
expec... | {
"content_hash": "706e2cd6d92ab142f1ac4c04b6b17212",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 128,
"avg_line_length": 38.48529411764706,
"alnum_prop": 0.7011845624761177,
"repo_name": "davismj/http-client",
"id": "74a07fa35ee9956c7d9484af95880d99c3d1bb03",
"size": "... |
from flask import Blueprint, jsonify, current_app, request, g
from web.autorizacao import requer_acesso
from web.autenticacao import requer_usuario
from domain.recurso import DTOAgendamento, DTOIntervalo
from domain.usuario.nivel_acesso import *
from domain.iso8601 import to_iso
from domain.excecoes import *
api = Blu... | {
"content_hash": "e2c8a49106cb6c9df04091997d981085",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 85,
"avg_line_length": 31.491071428571427,
"alnum_prop": 0.6640204139495322,
"repo_name": "ESEGroup/Paraguai",
"id": "64036144c866f9eba20043ea2b27e01467a42ad7",
"size": "3... |
package org.apache.zeppelin.interpreter;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.lang.reflect.Constructor;
import java.lang.reflect... | {
"content_hash": "8a84f9b164538941f8158798df81ae89",
"timestamp": "",
"source": "github",
"line_count": 646,
"max_line_length": 97,
"avg_line_length": 32.746130030959755,
"alnum_prop": 0.6626169991490971,
"repo_name": "kidaa/incubator-zeppelin",
"id": "f753d5e19631a64d95b84869cefa25f46c4c5117",
"si... |
package com.google.template.soy.passes;
import com.google.template.soy.soytree.AbstractSoyNodeVisitor;
import com.google.template.soy.soytree.SoyNode;
import com.google.template.soy.soytree.SoyNode.ParentSoyNode;
import com.google.template.soy.soytree.TemplateNode;
/**
* Visitor for removing SoyDoc strings from {@... | {
"content_hash": "ca4b66d607e12725c09c792e76e79655",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 100,
"avg_line_length": 31.34285714285714,
"alnum_prop": 0.6144029170464904,
"repo_name": "yext/closure-templates",
"id": "76e5886db3781b34ae3253618307e9df1ed12198",
"size"... |
package jetbrains.buildServer.helm;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import java.util.Map;
/**
* Created by Evgeniy Koshkin (evgeniy.koshkin@jetbrains.com) on 29.11.17.
*/
public interface HelmCommandArgumentsProvider {
@NotNull
String getCommandId();
@NotNull
List<... | {
"content_hash": "5acf2b9ed1ffed5a7b576cbbf38fbe93",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 77,
"avg_line_length": 23,
"alnum_prop": 0.7519181585677749,
"repo_name": "ekoshkin/teamcity-kubernetes-plugin",
"id": "9c54fdb0840b3c18bd70d43f643ccce0049830d8",
"size": "... |
package de.unibremen.beduino.dcaf;
import de.unibremen.beduino.dcaf.datastructures.Authorization;
import de.unibremen.beduino.dcaf.datastructures.TicketRequestMessage;
import de.unibremen.beduino.dcaf.exceptions.NotAuthorizedException;
import org.jetbrains.annotations.NotNull;
import java.net.URI;
/**
* @author Con... | {
"content_hash": "19aa8c9f5f22c65a0158edc01d0c190c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 135,
"avg_line_length": 34.486486486486484,
"alnum_prop": 0.7210031347962382,
"repo_name": "beduino-project/dcaf-java",
"id": "530fb00bedbb3daef63c29cbda36145cb76b601f",
"s... |
*> \brief <b> DPBSVX computes the solution to system of linear equations A * X = B for OTHER matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DPBSVX + dependencies
*> <a href="http://www.... | {
"content_hash": "9f948049d33a7a0df1c5d408973f4292",
"timestamp": "",
"source": "github",
"line_count": 545,
"max_line_length": 111,
"avg_line_length": 33.49908256880734,
"alnum_prop": 0.5321794380237717,
"repo_name": "grisuthedragon/OpenBLAS",
"id": "b194d26a452396e53bd2f488c0d797be7b97bfb1",
"siz... |
<!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": "a49c5fc4591452746e836677689e34ea",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 364,
"avg_line_length": 47.42279411764706,
"alnum_prop": 0.6754787192805644,
"repo_name": "calvin456/intro_derivative_pricing",
"id": "3bbf8de3566e7b470666af90ecdb152c55d826... |
title: Cockpit 159
author: pitti
date: 2018-01-10 10:30
tags: cockpit linux
slug: cockpit-159
category: release
summary: Cockpit with VDO support and VM improvements
comments: 'true'
---
Cockpit is the [modern Linux admin interface](https://cockpit-project.org/). We release regularly.
Here are the release notes from v... | {
"content_hash": "a81ed18fec56b0af809c7ddeae5fa88c",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 128,
"avg_line_length": 38.9344262295082,
"alnum_prop": 0.7797894736842105,
"repo_name": "martinpitt/cockpit-project.github.io",
"id": "80ac64cf3a4a95a940c53fcda12886c3690cae... |
$(document).ready(function() {
// MENU
$(".menu-search ul li li:first-child a").css("border-top", "none");
$(".menu-search ul").supersubs({
minWidth: 15,
maxWidth: 40
}).superfish({
autoArrows: false,
dropShadows: false
});
var htmlStr = $("code").html();
$(... | {
"content_hash": "921fec80a4395568719fc984a0012464",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 126,
"avg_line_length": 28.046511627906977,
"alnum_prop": 0.47781923714759533,
"repo_name": "tassioauad/ZendFramework2-Module-Access",
"id": "b5ba91bb054281d3709b56e6758c93f... |
require 'spec_helper'
module VSphereCloud
describe IPConflictDetector, fake_logger: true do
let(:networks) do
{
'network_1' => ['169.254.1.1'],
'network_2' => ['169.254.2.1', '169.254.3.1']
}
end
let(:client) { instance_double(VSphereCloud::VCenterClient) }
context 'when ... | {
"content_hash": "9ac1de29944377c99f8f1469076ebf0b",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 94,
"avg_line_length": 35.76470588235294,
"alnum_prop": 0.5526315789473685,
"repo_name": "cloudfoundry-incubator/bosh-vsphere-cpi-release",
"id": "3d59c9efa68a263ac253597af4... |
@charset "utf-8";
html,body { margin:0; padding:0; width:100%;}
body{font-size:12px;font-family: "微软雅黑"; color:#333; line-height:160%; background: url(../images/login-bg.jpg) center top repeat-x #FFF; height:100%;}
p,ul,li,dd,h1,h2,h3,form,input,select,textarea{margin:0; padding:0; border:0;font-family:"微软雅黑"; lin... | {
"content_hash": "4acf1d45cacfaecf7f9759e4ccefe721",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 323,
"avg_line_length": 69.9795918367347,
"alnum_prop": 0.7247010790317877,
"repo_name": "yanwuv4yue/TGKS_COMMON",
"id": "4a6b1d133c83e7ce10c99df000d9fb6c2c65a5f9",
"size":... |
package org.ovirt.engine.ui.uicommonweb.models.vms;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.StoragePool;
import org.ovirt.engine.core.common.businessentities.VDSGroup;
import org.ovirt.engine.core.common.businessentities.VmTempla... | {
"content_hash": "6db5580f46cd7d68974534c137b46a04",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 146,
"avg_line_length": 42.601694915254235,
"alnum_prop": 0.5808633379749354,
"repo_name": "zerodengxinchao/ovirt-engine",
"id": "253a81c9384c7e765cde2cc735e43865dfbc6ccd",
... |
package io.github.siddharthgoel88.useragents.impl;
import io.github.siddharthgoel88.useragents.UserAgent;
/**
* UserAgents from latest to oldest for Irlbot
*/
public class Irlbot extends UserAgent {
public String[] getAllUserAgentStrings() {
String [] userAgentStrings = {
"IRLbot/3.0 (compatible; MSIE 6.0;... | {
"content_hash": "814459e8414c0d8cc4968d2352a4e215",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 72,
"avg_line_length": 31.85,
"alnum_prop": 0.695447409733124,
"repo_name": "siddharthgoel88/feku",
"id": "e3fd8bae14ace5de642e6c4473013f0f9865a498",
"size": "637",
"bina... |
package org.apache.jorphan.util;
/**
* This Exception is for use by functions etc to signal a Stop Test Now condition
* where there is no access to the normal stop method.
* Stop test now means interrupting current running samplers which will mark them as failed
*
*/
public class JMeterStopTestNowException exte... | {
"content_hash": "de482ac6054a26059fa9b660735d9bf0",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 118,
"avg_line_length": 27.303030303030305,
"alnum_prop": 0.7114317425083241,
"repo_name": "apache/jmeter",
"id": "9c9c6e6a21f5225506df629f434fd2c901b3d2a4",
"size": "1698"... |
[](https://travis-ci.org/tomerghelber/probabilities) [](https://coveralls.io/r/tomerghelber/probabilities)
Probabilities
=============
Provides programmatic access to ... | {
"content_hash": "ea573c8c95d8fb3e65414d78815045a6",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 258,
"avg_line_length": 41.1764705882353,
"alnum_prop": 0.75,
"repo_name": "tomerghelber/probabilities",
"id": "8e83ccb1401ae24729957968a432aac3d4fc58d2",
"size": "717",
... |
@interface CountdownTests : XCTestCase
@end
@implementation CountdownTests
- (void)setUp
{
[super setUp];
// Set-up code here.
}
- (void)tearDown
{
// Tear-down code here.
[super tearDown];
}
- (void)testExample
{
XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__);
}
@end
| {
"content_hash": "36027ad151b9535f0c349a12b9ad3e75",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 66,
"avg_line_length": 12.307692307692308,
"alnum_prop": 0.6125,
"repo_name": "zxl777/WorkingTimer",
"id": "02d4486020482c36f63be93a63888bc9717ffe9b",
"size": "495",
"bin... |
package grails.plugin.springsecurity.web.access.intercept;
import grails.plugin.springsecurity.InterceptedUrl;
import grails.plugin.springsecurity.ReflectionUtils;
import java.util.ArrayList;
import java.util.List;
import org.springframework.http.HttpMethod;
/**
* @author <a href='mailto:burt@burtbeckwith.com'>Bu... | {
"content_hash": "2e90705beb65e05912a4d984e7b78c88",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 103,
"avg_line_length": 28.140625,
"alnum_prop": 0.745141588006663,
"repo_name": "rumee/messaging",
"id": "3cc7b0833a8ccc43784bbf715ba9c3cde781698c",
"size": "2400",
"bin... |
#pragma once
#include "envoy/buffer/buffer.h"
#include "envoy/common/platform.h"
#include "envoy/local_info/local_info.h"
#include "envoy/network/connection.h"
#include "envoy/stats/histogram.h"
#include "envoy/stats/scope.h"
#include "envoy/stats/sink.h"
#include "envoy/stats/stats.h"
#include "envoy/stats/tag.h"
#in... | {
"content_hash": "a5823cff63690d4124be4b86f9ea30e4",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 100,
"avg_line_length": 36.654545454545456,
"alnum_prop": 0.7119708994708994,
"repo_name": "envoyproxy/envoy",
"id": "e1a5cd4e46aeb2de1921a634431f325746d34f35",
"size": "6... |
package io.appium.java_client;
public interface InteractsWithApps {
/**
* Launch the app which was provided in the capabilities at session creation
*/
public void launchApp();
/**
* Install an app on the mobile device
*
* @param appPath
* path to app to install
*/
public vo... | {
"content_hash": "3e7fe1af88f91441820501d983513584",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 77,
"avg_line_length": 24.88888888888889,
"alnum_prop": 0.6450892857142857,
"repo_name": "budioktaviyan/appium-sample",
"id": "4f9edd9e07e1fbefd726e69d103185e13c9d162f",
"s... |
package distributed.chat.service;
public class DistributedChatServiceInfo
{
public static final int PORT_NUMBER = 2000;
public static final String CHAT_SERVICE_BINDING = "CHAT_SERVICE";
}
| {
"content_hash": "8eece4ba7ca28bba4e94cb9109fd854d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 69,
"avg_line_length": 22.11111111111111,
"alnum_prop": 0.7638190954773869,
"repo_name": "jamoyer/DistributedChatService",
"id": "2ec3da47a3a5e3e0b1060b87514d82d881b53f55",
... |
/*==============================================================================
Program: Gutenberg
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... | {
"content_hash": "c1f6b47736457974b33580b5a8550e43",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 80,
"avg_line_length": 27.18918918918919,
"alnum_prop": 0.6242544731610338,
"repo_name": "vovythevov/Gutenberg",
"id": "64386f8f552b841f157c9b2ebc588f54ff6c01de",
"size": "... |
#include <stdio.h>
#include <string.h>
#include <syslog.h>
#include <xtables.h>
#include <linux/netfilter_ipv6/ip6t_LOG.h>
#ifndef IP6T_LOG_UID /* Old kernel */
#define IP6T_LOG_UID 0x08
#undef IP6T_LOG_MASK
#define IP6T_LOG_MASK 0x0f
#endif
#define LOG_DEFAULT_LEVEL LOG_WARNING
enum {
O_LOG_LEVEL = 0,
O_LOG_PREF... | {
"content_hash": "5f643ace89fdd0524153f57a8d43872a",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 75,
"avg_line_length": 28.13586956521739,
"alnum_prop": 0.6275835425922349,
"repo_name": "wilebeast/FireFox-OS",
"id": "a419ec91ec52d37b89d0d5b94003880486a99dbd",
"size": ... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_55) on Thu Sep 25 12:22:17 CEST 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface ... | {
"content_hash": "c8fd7ff1d13f8ee55433136440f18009",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 539,
"avg_line_length": 54.850746268656714,
"alnum_prop": 0.6644897959183673,
"repo_name": "ankor-io/ankor-framework",
"id": "14001feb0d4be5525834e6c5943af23b503573cf",
"s... |
include_recipe 'ambari::ambari_repo_setup'
package 'ambari-metrics-assembly' do
action :install
end
| {
"content_hash": "6314b8ccdc01aa21e94900255d906960",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 42,
"avg_line_length": 25.5,
"alnum_prop": 0.7843137254901961,
"repo_name": "NinjaLabib/chef-bach",
"id": "6444e6532455159a1ec48eb87760e84229a0cb76",
"size": "782",
"binar... |
using content::RenderFrameHost;
using content::WebContents;
namespace extensions {
// static.
const char SurfaceWorkerGuest::Type[] = "surfaceview";
// static
GuestViewBase* SurfaceWorkerGuest::Create(
content::BrowserContext* browser_context,
content::WebContents* owner_web_contents,
int guest_instance_... | {
"content_hash": "d677826e44202eec80ea796a5efdeba5",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 74,
"avg_line_length": 29.451219512195124,
"alnum_prop": 0.6641821946169773,
"repo_name": "markYoungH/chromium.src",
"id": "949a2a26c22ff271ec850b3ad292935d310dc7db",
"size... |
//
// Program Name - S4_SP_ArrayDemo.cpp
// Series: GetOnToC++ Step: 4 Side Program
//
// Purpose: Set the array to the even integers from 2 to 20 and Compute
// the sum of the elements of the array.
//
// Compile: g++ S4_SP_ArrayDemo.cpp -o S4_SP_ArrayDemo
// Execute... | {
"content_hash": "df70ed80376aab6afe67a8930821670c",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 77,
"avg_line_length": 29,
"alnum_prop": 0.5172413793103449,
"repo_name": "NarayanMahadevan/MakeTechEz",
"id": "88890363dff03586226f9992eb1ac17a79333e30",
"size": "1189",
... |
module P1 where
{-
(*) Find the last element of a list.
(Note that the Lisp transcription of this problem is incorrect.)
Example in Haskell:
Prelude> myLast [1,2,3,4]
4
Prelude> myLast ['x','y','z']
'z'
-}
lastElement :: [a] -> a
lastEl... | {
"content_hash": "68490fe33d13bd6bab1c5dfc8959a4c4",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 72,
"avg_line_length": 25.192307692307693,
"alnum_prop": 0.566412213740458,
"repo_name": "nikolaspapirniywork/99_problems",
"id": "18dde4b7d04d2932eff61584e0e4f6dd54126158",
... |
package org.ngrinder.script.controller;
import static org.fest.assertions.Assertions.assertThat;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.spy;
import static org.mockito.Mockito.when;
import org.junit.Test;
import org.ngrinder.common.util.HttpContainerContext;
import org.ngrinder.model... | {
"content_hash": "5dd671eef7b5be42b60336681d293b75",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 260,
"avg_line_length": 45.5,
"alnum_prop": 0.7893772893772893,
"repo_name": "SRCB-CloudPart/ngrinder",
"id": "1db395b20d9f52919978c301d15850beb7771d54",
"size": "1092",
... |
<?php
class FoldersController extends AppController {
public $uses = array('ApertureConnector.CustomSortOrder', 'ApertureConnector.Folder', 'ApertureConnector.Album');
public $components = array('ApertureConnector.Properties');
public $paginate = array(
'limit' => 16,
'fields' => array('modelId', 'uuid'... | {
"content_hash": "12977802de1454920ef0288042f7f4fc",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 729,
"avg_line_length": 33.60726072607261,
"alnum_prop": 0.5925562211529019,
"repo_name": "theus77/floral",
"id": "f2b395059daa207194cb43fc52b77e0ee17e40ad",
"size": "1018... |
<?php
//***************************************************************************//
// //
// Copyright (c) 2004-2017 Jonathon Freeman | CrunchDrop | Phillip //
// Copyright (c) 2007 Brian Otto ... | {
"content_hash": "775cd668b882dfb47003e92bf981f4be",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 328,
"avg_line_length": 33.074074074074076,
"alnum_prop": 0.5184770436730123,
"repo_name": "wtcBB/wtcBB",
"id": "ad9fa3ad7dbed2dee41a61005fcd988179ea9b2e",
"size": "2679",
... |
<?php
namespace Kunstmaan\VotingBundle\Tests\EventListener\Security;
use Kunstmaan\VotingBundle\Event\Facebook\FacebookLikeEvent;
use Kunstmaan\VotingBundle\EventListener\Security\MaxNumberByIpEventListener;
use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFounda... | {
"content_hash": "e62053a4f26d2014009f6bcacb0c5cd4",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 185,
"avg_line_length": 31.714285714285715,
"alnum_prop": 0.6357786357786358,
"repo_name": "wesleylancel/KunstmaanBundlesCMS",
"id": "809b7988ba21ac1f0eb752c90bcc393513cedb12... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LightNode.Server
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
public sealed class IgnoreClientGenerateAttribute : Attribute
{
}
... | {
"content_hash": "2a762121f6852502e703e921f830f7f1",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 93,
"avg_line_length": 23,
"alnum_prop": 0.7732919254658385,
"repo_name": "neuecc/LightNode",
"id": "d924940e766e2ef0175d68fddaf8abfcd58aaed3",
"size": "324",
"binary": f... |
<!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"/>
<title>Sauce-0.11.0: Membe... | {
"content_hash": "6710bdc0c12b43e71400ae5f87d73727",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 436,
"avg_line_length": 99.16666666666667,
"alnum_prop": 0.6940126050420168,
"repo_name": "phs/sauce",
"id": "3097aed00285bc1957ab82ac40ef367e2b894821",
"size": "9520",
"... |
from django.db import models
from django.contrib.auth.models import User
from django.utils import timezone
class Class(models.Model):
cls_id = models.AutoField("ClassManagement id", primary_key=True)
teacher = models.ManyToManyField(User, related_name='teacher', blank=True)
students = models.ManyToManyFie... | {
"content_hash": "da8652dff9019b058956576173ff1321",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 81,
"avg_line_length": 32.6,
"alnum_prop": 0.6932515337423313,
"repo_name": "Mihai925/EduCoding",
"id": "2895684f9dac73fed03073e3225fcc0f91eea2b0",
"size": "652",
"binary... |
<?php
namespace Symfony\Component\Messenger\Middleware;
use Symfony\Component\Messenger\Exception\NoHandlerForMessageException;
/**
* @author Samuel Roze <samuel.roze@gmail.com>
*/
class AllowNoHandlerMiddleware implements MiddlewareInterface
{
public function handle($message, callable $next)
{
t... | {
"content_hash": "d45acbad6934ca65b0ba0e98bf32f176",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 71,
"avg_line_length": 22.454545454545453,
"alnum_prop": 0.6781376518218624,
"repo_name": "pamil/symfony",
"id": "33494548f832f5bb4b068de630c5375c766aaa52",
"size": "723",
... |
Chris Caruso, Brian Chen, Joshua Wolfe
###### "In photography there is a reality so subtle <br> that it becomes more real than reality." <br> -Alfred Stieglitz
## About pocketDSLR
pocketDSLR is a bare-bones, point-n-shoot camera application designed for
Android Lollipop devices. It utilizes the Android 5.0 APIs (v. ... | {
"content_hash": "eb98cf25dc237b7fb905dab1f1538a24",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 120,
"avg_line_length": 44.22222222222222,
"alnum_prop": 0.7864321608040201,
"repo_name": "pocketDSLR/pocketDSLR",
"id": "4ee554878fc5fef04658ec4793bea0440624144b",
"size":... |
@interface Hope4CarViewController : GAITrackedViewController<UIActionSheetDelegate>
- (IBAction)startBackgroundSearch:(id)sender;
- (IBAction)showIntroduction:(id)sender;
@end
| {
"content_hash": "1fc09e5c365ba6c74b2f635dc29e203d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 83,
"avg_line_length": 25.571428571428573,
"alnum_prop": 0.8268156424581006,
"repo_name": "emrehasan/Hope4Car",
"id": "23c558fc92cb665f5c3a610b067b54e97bab7e87",
"size": "39... |
#ifndef UCDN_H
#define UCDN_H
#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__MINGW32__)
# define HB_BEGIN_VISIBILITY _Pragma ("GCC visibility push(hidden)")
# define HB_END_VISIBILITY _Pragma ("GCC visibility pop")
#else
# define HB_BEGIN_VISIBILITY
# define HB_END_VISIBILITY
#endif
#ifdef __cplusplus
# defi... | {
"content_hash": "38b5a28554219b31cdf62aa02cf56d8e",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 73,
"avg_line_length": 28.769491525423728,
"alnum_prop": 0.7654059149287145,
"repo_name": "indashnet/InDashNet.Open.UN2000",
"id": "802f044a8bbeda07e903faacd961dc6f406b7af4"... |
package cache
import (
"fmt"
"github.com/golang/glog"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/errors"
"k8s.io/kubernetes/pkg/api/unversioned"
"k8s.io/kubernetes/pkg/apis/apps"
"k8s.io/kubernetes/pkg/apis/batch"
"k8s.io/kubernetes/pkg/apis/extensions"
"k8s.io/kubernetes/pkg/labels"
)
// TOD... | {
"content_hash": "376db1a1fc0b822654f745261c6fea8c",
"timestamp": "",
"source": "github",
"line_count": 692,
"max_line_length": 144,
"avg_line_length": 31.748554913294797,
"alnum_prop": 0.7170232134729176,
"repo_name": "xenserverarmy/ose-scanner",
"id": "12351cfe5c2bdd586dc18e1927e67a7d804bfa79",
"... |
<?php
namespace SportTrackerConnector\Tests\Workout\Dumper\AbstractDumper;
use org\bovigo\vfs\vfsStream;
/**
* Test for \SportTrackerConnector\Workout\Dumper\AbstractDumper.
*/
class AbstractDumperTest extends \PHPUnit_Framework_TestCase
{
/**
* The root folder of vfsStream for testing.
*
* @va... | {
"content_hash": "e234ab75cc038a577aa5c004602d4ab8",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 135,
"avg_line_length": 31.5609756097561,
"alnum_prop": 0.6638330757341576,
"repo_name": "devuo/sports-tracker-connector",
"id": "3d408ccfb9fcc1a9844ef76fbe7cbb3be56f534f",
... |
function [nodeLabels] = UGM_Decode_Sample(nodePot, edgePot, edgeStruct,sampleFunc,varargin)
% [nodeLabels] = UGM_Decode_Sample(nodePot, edgePot,
% edgeStruct,sampleFunc,varargin)
%
% INPUT
% nodePot(node,class)
% edgePot(class,class,edge) where e is referenced by V,E (must be the same
% between feature engine and infe... | {
"content_hash": "938c5f2bea7b3dbdf39fbc40032fcee1",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 92,
"avg_line_length": 25.6,
"alnum_prop": 0.7122395833333334,
"repo_name": "shangliy/ee660",
"id": "c59e288832638b131eed8bb2b8fca447a52a4d8b",
"size": "768",
"binary": f... |
<?php
class DefaultController extends YBackController
{
/**
* Отображает товар по указанному идентификатору
* @param integer $id Идинтификатор товар для отображения
*/
public function actionView($id)
{
$this->render('view', array('model' => $this->loadModel($id)));
}
/**
... | {
"content_hash": "251d303dcc17aaa5179ca5a7e61b59c8",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 142,
"avg_line_length": 31.53846153846154,
"alnum_prop": 0.5305986696230599,
"repo_name": "itrustam/cupon",
"id": "5f087fa49c80816cacf34155ad37cc855f799788",
"size": "5183... |
package com.cloud.consoleproxy;
import java.util.HashMap;
import java.util.Map;
import com.cloud.consoleproxy.util.Logger;
public class ConsoleProxyHttpHandlerHelper {
private static final Logger s_logger = Logger.getLogger(ConsoleProxyHttpHandlerHelper.class);
public static Map<String, String> getQueryMap(... | {
"content_hash": "dd9e75788c9ea7e719f81e2785e3a26b",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 135,
"avg_line_length": 43.88235294117647,
"alnum_prop": 0.5297140303842717,
"repo_name": "GabrielBrascher/cloudstack",
"id": "51a703ae4b4a23c4460bfefaa98022206f9ceb53",
"... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>statsmodels.base.distributed_estimation.DistributedResults.bse — statsmodels v0.10.2 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesh... | {
"content_hash": "46c54baa47f0fbf2d4d38477bf8fbc7f",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 312,
"avg_line_length": 46.6280487804878,
"alnum_prop": 0.6530665620504773,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "a3da3601bc0824694afd0fbb027be40839119398... |
namespace wgt
{
QtMenuBar::QtMenuBar( QMenuBar & qMenuBar, const char * windowId )
: QtMenu( qMenuBar, windowId )
, qMenuBar_( qMenuBar )
{
}
void QtMenuBar::addAction( IAction & action, const char* path )
{
auto qAction = getQAction(action);
if ( qAction == nullptr )
{
qAction = createQAction( action );
}
as... | {
"content_hash": "11e2ec79ab51f3fc4190153c05c17b3b",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 123,
"avg_line_length": 23.71186440677966,
"alnum_prop": 0.6461758398856325,
"repo_name": "dava/wgtf",
"id": "f55601697a139745dafab8875d94eeb04c4ed6c2",
"size": "1592",
"... |
// Copyright 2018 The Bazel Authors. All rights reserved.
//
// 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 appl... | {
"content_hash": "9a106eb8b2de81677f63c3de43ae11f0",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 137,
"avg_line_length": 54.83870967741935,
"alnum_prop": 0.8066666666666666,
"repo_name": "akira-baruah/bazel",
"id": "1b1d866d48db2a0bd38d148cdb11c804622244d8",
"size": "5... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=type.U928.html">
</head>
<body>
<p>Redirecting to <a href="type.U928.html">type.U928.html</a>...</p>
<script>location.replace("type.U928.html" + location.search + location.hash);</script>
</body>
</html> | {
"content_hash": "a23e732fca5643ce3aea89b30c2f4c8e",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 90,
"avg_line_length": 29.7,
"alnum_prop": 0.6531986531986532,
"repo_name": "nitro-devs/nitro-game-engine",
"id": "bfc113f2a5bf711b9cdd5a38960eea68061bb127",
"size": "297",... |
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginRight="16dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="8dp"
>
<ImageVi... | {
"content_hash": "407f2e8798d6f5c64e35d166b7e78b24",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 71,
"avg_line_length": 34.86666666666667,
"alnum_prop": 0.6730401529636711,
"repo_name": "xuhaoyang/Weibo",
"id": "5f3e697c93e1ad011bb4c85a2adb72a81270431e",
"size": "523",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.