text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
/**
* Created by PhpStorm.
* User: bailz777
* Date: 18/05/2017
* Time: 12:10
*/
namespace Beyerz\GoogleApiBundle\DependencyInjection\Compiler;
use Beyerz\GoogleApiBundle\Service\ServiceProvider;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjec... | {
"content_hash": "d3085d87966dedbc860264be41e614e8",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 149,
"avg_line_length": 62.215859030837,
"alnum_prop": 0.5204276711746796,
"repo_name": "beyerz/GoogleApiBundle",
"id": "ab6a1484a78ba23c65abd8c3ae9f61f961ea9bac",
"size":... |
external help file: Microsoft.Azure.Commands.RecoveryServices.Backup.dll-Help.xml
ms.assetid: 1097FF29-1C23-4960-930C-5C1227419359
online version:
schema: 2.0.0
---
# Get-AzureRmRecoveryServicesBackupContainer
## SYNOPSIS
Gets Backup containers.
## SYNTAX
```
Get-AzureRmRecoveryServicesBackupContainer [-ContainerT... | {
"content_hash": "ae027a986a76e13e30f81c7c4b6b5dd0",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 314,
"avg_line_length": 23.36842105263158,
"alnum_prop": 0.7852852852852853,
"repo_name": "krkhan/azure-powershell",
"id": "21d36d2036cfce18ac823de5efecc45845cbfb5b",
"siz... |
function(other) {
if (is$(other, {t:OpenValueConstructor$jsint})) {
if (other.meta===this.meta)return true;
return this.container.equals(other.container) &&
this.name.equals(other.name);
}
return false;
}
| {
"content_hash": "a87038193bec9ea4f13896ed9a9d75a3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 52,
"avg_line_length": 28.125,
"alnum_prop": 0.6666666666666666,
"repo_name": "gijsleussink/ceylon",
"id": "a9b6bdd3274c105a1ef5a14fefe0f37d39fd7cd4",
"size": "225",
"bina... |
package org.ovirt.engine.core.bll.session;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import org.apache.commons.lang.StringUtils;
import org.ovirt.engine.core.common.interfaces.IVdcUser;
import org.ovirt.engine.core.compat.... | {
"content_hash": "8e0d0a8c48db31817d8d6313bc3a66d8",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 95,
"avg_line_length": 34.07327586206897,
"alnum_prop": 0.6178368121442125,
"repo_name": "derekhiggins/ovirt-engine",
"id": "568ef6a49743f5ad6d87d1515bbf785c9e5ff6ab",
"si... |
<?php
namespace morningtrain\Themer\Services;
use morningtrain\Janitor\Exceptions\JanitorException;
use morningtrain\Janitor\Services\Janitor;
use morningtrain\Themer\Contracts\Theme;
class Themer
{
/**
* @var Janitor
*/
protected $janitor;
public function __construct()
{
$this->j... | {
"content_hash": "f38ea231ea9d6f624f69feda28d0db10",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 93,
"avg_line_length": 21.208333333333332,
"alnum_prop": 0.5270137524557956,
"repo_name": "Morning-Train/foundation",
"id": "d79f53b6740e062aba3a84e7b105240ec4058395",
"siz... |
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <getopt.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <locale.h>
#include "closeout.h"
#include "error.h"
#include "progname.h"
#include "relocatable.h"
#include "basename.h"
#include "xalloc.h"
#include "exit.h"... | {
"content_hash": "43c3f2461d671e7da908d25b1bad4baf",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 80,
"avg_line_length": 23.50408719346049,
"alnum_prop": 0.5562253651750522,
"repo_name": "execunix/vinos",
"id": "d7ae08f7adce9a921a31e9b7f701d9e687ef0bbe",
"size": "9528"... |
using MIGAZ.Generator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MIGAZ.Tests.Fakes
{
class FakeTelemetryProvider : ITelemetryProvider
{
public void PostTelemetryRecord(string tenantId, string subscriptionId, Dictionary... | {
"content_hash": "821f07a302fb848fd026ce42a33b1770",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 146,
"avg_line_length": 26.136363636363637,
"alnum_prop": 0.697391304347826,
"repo_name": "tomhollander/classic-iaas-resourcemanager-migration",
"id": "7d529ebb4f0ea7bb1c072b... |
'''
Created on Dec 20, 2012
@author: rtermondt
'''
class WebFactionFixes(object):
"""Sets 'REMOTE_ADDR' based on 'HTTP_X_FORWARDED_FOR', if the latter is
set.
Based on http://djangosnippets.org/snippets/1706/
"""
def process_request(self, request):
if 'HTTP_X_FORWARDED_FOR' in request.... | {
"content_hash": "d1060079944686e12cd347bec5fbf5ae",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 75,
"avg_line_length": 23.526315789473685,
"alnum_prop": 0.6196868008948546,
"repo_name": "richtermondt/inithub-web",
"id": "642d8c8ac1b67e01c8ee0fa302fc4fa6a14c1455",
"siz... |
using System;
using System.Reflection;
using Vexe.Runtime.Extensions;
namespace Vexe.Runtime.Types
{
[Obsolete("Please use the UnityEvent equivalents instead")]
public class uAction : uBaseDelegate<Action>
{
public override Type[] ParamTypes
{
get { return Type.EmptyTypes; }
}
public override Type Retu... | {
"content_hash": "77761f2c2fb5b4f1bc9e372cd84c3bc0",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 80,
"avg_line_length": 19.365482233502537,
"alnum_prop": 0.674180865006553,
"repo_name": "vexe/VFW",
"id": "17e0754b622e0b299523235ed97e6d6b1783faa6",
"size": "3817",
"b... |
package com.github.snd297.yp.finalentities.persistence;
import static com.google.common.collect.Sets.newHashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.OneToMany;
import com.github.snd297.yp.utils.hibernate.LongIdAndVersion;
@Entity
pu... | {
"content_hash": "399f73476e2141947cc58c13b578c53b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 61,
"avg_line_length": 21.838709677419356,
"alnum_prop": 0.740029542097489,
"repo_name": "snd297/yeoman-programmer",
"id": "2b8a4e6f7b3994f69019565595cc134edd99b922",
"size... |
"""
<DefineSource>
@Date : Fri Nov 14 13:20:38 2014 \n
@Author : Erwan Ledoux \n\n
</DefineSource>
A Mobilizer
"""
#<DefineAugmentation>
import ShareYourSystem as SYS
BaseModuleStr="ShareYourSystem.Standards.Walkers.Recruiter"
DecorationModuleStr="ShareYourSystem.Standards.Classors.Classer"
SYS.setSubModule(globa... | {
"content_hash": "956580c0598673c8177e8ffdc325cfc0",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 90,
"avg_line_length": 20.520661157024794,
"alnum_prop": 0.7249295207410391,
"repo_name": "Ledoux/ShareYourSystem",
"id": "d976ecb3602a083f624ee380b1080ffd975ea886",
"size... |
package org.assertj.core.internal.objects;
import static java.util.Arrays.asList;
import static org.assertj.core.error.ShouldBeIn.shouldBeIn;
import static org.assertj.core.test.ErrorMessages.arrayIsEmpty;
import static org.assertj.core.test.ErrorMessages.arrayIsNull;
import static org.assertj.core.test.ObjectArrays.... | {
"content_hash": "7193beea21710f2d044e12625792250e",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 99,
"avg_line_length": 31.655172413793103,
"alnum_prop": 0.7334785766158315,
"repo_name": "lpandzic/assertj-core",
"id": "01d04e6d07af078429ff0a4240c10606b03fc4d0",
"size":... |
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
namespace PrefabEvolution
{
[InitializeOnLoad]
static class PEPrefabScriptExt
{
static PEPrefabScriptExt()
{
PEPrefabScript.EditorBridge.OnValidate = OnValidate;
PEPrefabScript.EditorBridge.GetAssetGuid... | {
"content_hash": "85464726c877aded3d10fb2545452900",
"timestamp": "",
"source": "github",
"line_count": 445,
"max_line_length": 180,
"avg_line_length": 31.40449438202247,
"alnum_prop": 0.6852951699463328,
"repo_name": "Zammy/ProjectRevolver",
"id": "561ebb9c33bab380efe73ed454741a38ea31da98",
"size"... |
CRMWebAPI.prototype.GetOptionSetByName = function (optionSetName) {
var self = this;
return new Promise(function (resolve, reject) {
self.GetList('GlobalOptionSetDefinitions',
{Select:['Name']}).then(
function (r)
{
r.List.forEach(function(... | {
"content_hash": "28920b9d2202c250d2c85b3bb7927143",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 178,
"avg_line_length": 44.101351351351354,
"alnum_prop": 0.46805576834686685,
"repo_name": "davidyack/Xrm.Tools.CRMWebAPI",
"id": "bd7de27cd34d68d539c4b57a6d85401c0077ef4a"... |
<div class="comments" id="comments">
<span class="widget-title">已有 ${post.commentsCount} 条评论</span>
<#if (post.commentPage)?? && (post.commentPage.list?size > 0) >
<#assign commentList = post.commentPage.list />
<ol class="comment-list">
<#list commentList as comment >
<li items... | {
"content_hash": "995dcc61c853973e80792e891ddbefa9",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 227,
"avg_line_length": 58.51685393258427,
"alnum_prop": 0.4573732718894009,
"repo_name": "amuguelove/blog",
"id": "08bd22ee22449348b8b0835ad0a074a4fa269f1e",
"size": "5271... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../includes/m... | {
"content_hash": "cca84210ebc33cbb192d65bf499cfabb",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 231,
"avg_line_length": 61.924731182795696,
"alnum_prop": 0.39763847890258724,
"repo_name": "apache/cloudstack-www",
"id": "caa52c013e13c6d685efc36f4522c0047f6682e7",
"size... |
/*
* 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 writing, software
* distribut... | {
"content_hash": "e9f4a6b1d54b3d912bc634caa486f145",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 161,
"avg_line_length": 39.01063829787234,
"alnum_prop": 0.7302972457049359,
"repo_name": "albertocsm/presto",
"id": "9b40de263bd537643a956705fccdcd050401d066",
"size": "7... |
<?php
class DeleteLogFormatterTest extends LogFormatterTestCase {
/**
* Provide different rows from the logging table to test
* for backward compatibility.
* Do not change the existing data, just add a new database row
*/
public static function provideDeleteLogDatabaseRows() {
return array(
// Current ... | {
"content_hash": "254ffd0efed2265b5501d181dc18f3eb",
"timestamp": "",
"source": "github",
"line_count": 527,
"max_line_length": 86,
"avg_line_length": 23.174573055028464,
"alnum_prop": 0.5096208957668059,
"repo_name": "owen-kellie-smith/mediawiki",
"id": "28e7efaf8fe772c208b0e70139e0ad9140c2cc94",
... |
package org.orekit.propagation.analytical;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import org.apache.commons.math3.exception.MathIllegalArgumentException;
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
import org.apache.commons.math3.util.FastMath;
import org... | {
"content_hash": "87f63b34064fdc2a63e29b60c6191dfc",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 133,
"avg_line_length": 44.264150943396224,
"alnum_prop": 0.596845694799659,
"repo_name": "wardev/orekit",
"id": "6c6ca58a6d2d9ba06480d3d887d50dc013266f81",
"size": "12566... |
<?php
namespace Controller;
class Index extends Base
{
public function _run()
{
echo "hello world";
echo testFunction();
new \Dw\Event();
echo "<br />";
\Dw\Event::add();
$this->display();
//$this->display('index');
}
}
| {
"content_hash": "c7b9cb195ab7ce17383b2cdc009acff8",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 34,
"avg_line_length": 17.058823529411764,
"alnum_prop": 0.49310344827586206,
"repo_name": "LastMusic/SinglePHP",
"id": "ca327e9ef08c834da8dfaa7cbe9a71c5f3e2c161",
"size": ... |
const simple = {
props : [ 'formId', 'model', 'id', 'initValue', 'label', 'disabled', 'autofocus' ],
data : function() { return {
value : this.initValue,
timeoutFn : undefined,
error : undefined,
help : undefined
}},
computed : {
htmlId : function() {
... | {
"content_hash": "8e7f7df5b681b7806e05e12891198b60",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 87,
"avg_line_length": 29.491525423728813,
"alnum_prop": 0.4925287356321839,
"repo_name": "mignonat/healer",
"id": "e28b8ee059a8cda20abd79ab8061bd221372a8d1",
"size": "1740... |
"""
==========================
Cython-Accelerated Metrics
==========================
:Authors:
Moritz E. Beber
:Date:
2016-04-21
:Copyright:
Copyright |c| 2016, Moritz E. Beber, all rights reserved.
:File:
__init__.py
.. |c| unicode: U+A9
"""
from __future__ import absolute_import
from .spatial imp... | {
"content_hash": "cfb1a9ad8f99ac9b72269002a04f6250",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 61,
"avg_line_length": 15.523809523809524,
"alnum_prop": 0.5368098159509203,
"repo_name": "Midnighter/nadist",
"id": "44062d2561ef90b474878da4e6f1bf2fb11db39f",
"size": "35... |
import * as yargs from 'yargs';
import * as clean from '../cmds/clean';
import * as shutdown from '../cmds/shutdown';
import * as start from '../cmds/start';
import * as status from '../cmds/status';
import * as update from '../cmds/update';
const CHROMEDRIVER_ALIAS = 'chrome';
const CHROMEDRIVER = 'chromedriver';
con... | {
"content_hash": "3ee82dbaeb251fee99140216d3219ba2",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 80,
"avg_line_length": 38.58015267175573,
"alnum_prop": 0.6709537000395727,
"repo_name": "cnishina/webdriver-manager",
"id": "ae313738d6d6a7f2ba597c858345efd28060df67",
"s... |
import logging
from sqlalchemy import Table, Column, Integer, String, DateTime, ForeignKey, Float, Numeric, Text
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker, relationship
connection_string = ""
Base = declarative_base()
class Sa... | {
"content_hash": "af400703e85e4c9985d3be78e8c1416d",
"timestamp": "",
"source": "github",
"line_count": 255,
"max_line_length": 112,
"avg_line_length": 30.172549019607843,
"alnum_prop": 0.6785807122433065,
"repo_name": "UdS-TelecommunicationsLab/SDNalytics",
"id": "b61b3c7d7b9c572bbca51c7f4a6df7891c5... |
<div class="pure-g">
<div class="island3 pure-u-1 pure-u-lg-2-3">
<h3>Speed up your <strong>AngularJS</strong> development with a complete and scalable build system that scaffolds the project for you. Just focus on writing code and tests,
<code>angular-kickstart</code> will take care of the rest.<... | {
"content_hash": "f8b8189838adb06bbb090b168cad2ed9",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 342,
"avg_line_length": 50.95180722891566,
"alnum_prop": 0.6795932844644124,
"repo_name": "dcm31/web-app-chatbot",
"id": "be0dc4e3c39fce354bbf23085185677d8c39e0ea",
"size":... |
/* Written by Filip Navara <xnavara@volny.cz> */
#ifndef _WINBER_H
#define _WINBER_H
#pragma GCC system_header
#include <_mingw.h>
/*
* LDAP Basic Encoding Rules API
* References:
* The C LDAP Application Program Interface
* http://www.watersprings.org/pub/id/draft-ietf-ldapext-ldap-c-api-05.txt
*
* Light... | {
"content_hash": "bd243b1389471e3b8f684dd47628c01a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 76,
"avg_line_length": 27.241935483870968,
"alnum_prop": 0.7353463587921847,
"repo_name": "mihail-morosan/OCAPE",
"id": "450b7a7a03522cced71d4aa0e561c525914d442d",
"size": ... |
"""module to provide updating installing process function.
.. moduleauthor:: Xiaodong Wang <xiaodongwang@huawei.com>
"""
import logging
from compass.log_analyzor.line_matcher import LineMatcher, IncrementalProgress
from compass.log_analyzor.file_matcher import FileMatcher
from compass.log_analyzor.adapter_matcher ... | {
"content_hash": "80f7c62130b901aae78540abcc0bd890",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 78,
"avg_line_length": 44.62589928057554,
"alnum_prop": 0.46525874576817666,
"repo_name": "SysCompass/compass",
"id": "776f1f4107e46ca88c5e7ef7f184552a129b16ba",
"size": "... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17929
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | {
"content_hash": "b050a275a26b5da39e1faff82f6877c9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 151,
"avg_line_length": 43,
"alnum_prop": 0.5760797342192691,
"repo_name": "fschwiet/SizSelCsZzz",
"id": "6c50684f8ead8cae8e1c78f66db15ae3f09a957b",
"size": "1507",
"bina... |
package com.mkl.tools.eu.vo.province;
import java.util.*;
/**
* Additional information on a european province.
*
* @author MKL
*/
public class ProvinceInfo {
/** Principal name of the city. */
private String nameCity;
/** Additional names of the city. */
private List<String> altNameCity = new Arra... | {
"content_hash": "b3835fb285b32f0c4dcb96c1eb646ecb",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 82,
"avg_line_length": 25.545023696682463,
"alnum_prop": 0.6003710575139146,
"repo_name": "FogiaFr/tools",
"id": "cb259356e04e2f786af120c845bfa41b5a33dd77",
"size": "5390"... |
var chalk = require('chalk');
var MsTranslator = require('mstranslator');
var apiKey = process.env['CORDOVA-SIMULATE-TRANSLATE-API-KEY'];
var translateArray;
if (apiKey) {
var translatorClient = new MsTranslator({
api_key: apiKey
}, true);
translateArray = function (texts, targetLanguage) {
... | {
"content_hash": "cc59e0d6fcb04913fe0c56c2b5a78615",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 125,
"avg_line_length": 30.533333333333335,
"alnum_prop": 0.5560407569141194,
"repo_name": "Microsoft/taco-simulate-server",
"id": "291a8e9e6dfca2c73e79f81526544ef1e931ae5c",... |
package request
import (
"strconv"
"strings"
"time"
"github.com/tidepool-org/platform/structure"
structureBase "github.com/tidepool-org/platform/structure/base"
structureParser "github.com/tidepool-org/platform/structure/parser"
)
type Values struct {
base *structureBase.Base
values *map[string][]string
p... | {
"content_hash": "1472fc1baf7154d8ecde24aa293044f4",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 106,
"avg_line_length": 21.05466237942122,
"alnum_prop": 0.7072388515577276,
"repo_name": "tidepool-org/platform",
"id": "7889810241f8f6fdac34a0b0c66a5e43389577f1",
"size"... |
package org.destinationsol.ui;
import org.destinationsol.SolApplication;
import java.util.List;
public interface SolUiScreen {
List<SolUiControl> getControls();
default void onAdd(SolApplication solApplication) {
// Intentionally left blank
}
default void updateCustom(SolApplication solApp... | {
"content_hash": "ce052e4680ea5d6a0bf148178e4aae23",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 132,
"avg_line_length": 26,
"alnum_prop": 0.7133699633699634,
"repo_name": "Sigma-One/DestinationSol",
"id": "6cd180671ed3f7bef6bf3e7fbeda134b61ec8f2b",
"size": "1683",
"... |
namespace System.Buffers.Text
{
public static partial class Utf8Parser
{
private static bool TryParseByteX(ReadOnlySpan<byte> text, out byte value, out int bytesConsumed)
{
if (text.Length < 1)
{
bytesConsumed = 0;
value = default;
... | {
"content_hash": "9cefc410d57972ab5259e780262f56ef",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 136,
"avg_line_length": 40.323442136498514,
"alnum_prop": 0.4586798145558908,
"repo_name": "fgreinacher/corefx",
"id": "ade55f6a51d6ed545b78483b12b081ce1310c40b",
"size": ... |
<!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": "dfce288f0d75e67011ab9cc76c82fb36",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 481,
"avg_line_length": 57.57272727272727,
"alnum_prop": 0.6818253592294331,
"repo_name": "larlf/mirror_client",
"id": "301fba8ec5cc301809f19ee64ee1487bc84d6c74",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data class="ActivityAmendPhoneBinding">
</data>
<LinearLayout
android:layout_width... | {
"content_hash": "14ad483b6a895a782fc125a9c7ed51c9",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 75,
"avg_line_length": 42.5390625,
"alnum_prop": 0.5054178145087236,
"repo_name": "MelvinWang/NewShare",
"id": "490b87154e81f89e73f7ca8581eb3f064dd59575",
"size": "5503",
... |
package LeetcodeTemplate;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class _0428SerializeAndDeserializeNaryTree {
public static void main(String[] args) {
Codec codec = new Codec();
Node n1 = new Node(1);
Node n2 = new Node(2);
Node n3 = new Node(3);
Node n4 = new N... | {
"content_hash": "65e36b7265185bf9193208c25eb1c0d3",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 67,
"avg_line_length": 24.49425287356322,
"alnum_prop": 0.6428906616611919,
"repo_name": "darshanhs90/Java-InterviewPrep",
"id": "1fde0bd79d2bc1439b23be26df376920d3633a45",
... |
<!doctype html>
<html>
<title>npmrc</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../../static/style.css">
<link rel="canonical" href="https://www.npmjs.org/doc/files/npmrc.html">
<script async=true src="../../static/toc.js"></script>
<body>
<div id="wrapper">
<h1><a href... | {
"content_hash": "915fa0aeab5b771b1e44884be8ea783a",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 807,
"avg_line_length": 68.82022471910112,
"alnum_prop": 0.7147755102040816,
"repo_name": "Nayaata/Web-Front-end-develeopment",
"id": "79d55f4bb0ac8e861069849e26e628538eb5f85... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<title>4_放大镜</title>
</head>
<body>
<canvas id="canvas" style="display: block;margin: 0 auto;borde... | {
"content_hash": "c47a35040a2e34aa6205991b4ed94f32",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 86,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.569377990430622,
"repo_name": "hiyangguo/study",
"id": "da57ac3180519f4f967b3e3e5fe54c5c99704f9f",
"size": "3631... |
mod required_directive;
use required_directive::transform_fixture;
use fixture_tests::test_fixture;
#[test]
fn action_argument_omitted_invalid() {
let input = include_str!("required_directive/fixtures/action-argument-omitted.invalid.graphql");
let expected = include_str!("required_directive/fixtures/action-... | {
"content_hash": "cb8d29bf796a18dde00c3ab6dfb69c56",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 224,
"avg_line_length": 61.98654708520179,
"alnum_prop": 0.7742168849019749,
"repo_name": "voideanvalue/relay",
"id": "d394bc755d418bd6d585c762af346aa69308d2dd",
"size": "... |

This is MVP project for Android app that is written in [Kotlin](https://github.com/JetBrains/kotlin) and uses [Espresso](https://developer.android.com/intl/ja/tools/testing-support-library/index.html#Espresso) to run both unit and i... | {
"content_hash": "056b63bf83b53c610389b44f2dc5e325",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 250,
"avg_line_length": 42.121212121212125,
"alnum_prop": 0.720863309352518,
"repo_name": "pot8os/Kotlin-test-sample",
"id": "ecbf5c05d6f6c69a1ca9a38be313b9af75f1c8bf",
"si... |
package org.pentaho.di.trans.steps.excelinput.jxl;
import jxl.Cell;
import jxl.Sheet;
import org.pentaho.di.core.spreadsheet.KCell;
import org.pentaho.di.core.spreadsheet.KSheet;
public class XLSSheet implements KSheet {
private Sheet sheet;
public XLSSheet(Sheet sheet) {
this.sheet = sheet;
}
pu... | {
"content_hash": "83917c70d85c85c51aecf078c217379a",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 51,
"avg_line_length": 21.023809523809526,
"alnum_prop": 0.6443941109852774,
"repo_name": "lihongqiang/kettle-4.4.0-stable",
"id": "3b3e8d27f1673d81864e5c382e641c2b5ac52f36",... |
'use strict';
/**
* A prediction and label pair of an example.
*
*/
class LabeledUtterance {
/**
* Create a LabeledUtterance.
* @property {number} [id] ID of Labeled Utterance.
* @property {string} [text] The utterance. E.g.: what's the weather like in
* seattle?
* @property {array} [tokenizedTex... | {
"content_hash": "45619867847088d99128908c71c141be",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 78,
"avg_line_length": 26.588709677419356,
"alnum_prop": 0.44858962693357596,
"repo_name": "Azure/azure-sdk-for-node",
"id": "e1c2b8ef7c905d945df0691f9246947e55a6510c",
"s... |
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ retu... | {
"content_hash": "192a009ced1b8fd3892c78cf04cae51a",
"timestamp": "",
"source": "github",
"line_count": 22032,
"max_line_length": 765,
"avg_line_length": 33.58401416122005,
"alnum_prop": 0.6797288366492189,
"repo_name": "pmaxit/DJANGO_IOT",
"id": "74f1921abef5af34a68858ca23f81167747307c1",
"size": ... |
using namespace swift;
using namespace Lowering;
static bool isUnmappedDecl(Decl *D) {
if (auto *AFD = dyn_cast<AbstractFunctionDecl>(D))
if (!AFD->getBody())
return true;
if (isa<ConstructorDecl>(D) || isa<DestructorDecl>(D))
return false;
return D->isImplicit() || isa<EnumCaseDecl>(D);
}
/// W... | {
"content_hash": "c22e310300d4dc019849d0ce14317fd3",
"timestamp": "",
"source": "github",
"line_count": 745,
"max_line_length": 80,
"avg_line_length": 34.96241610738255,
"alnum_prop": 0.6572349982723539,
"repo_name": "gottesmm/swift",
"id": "5f0776e1edebf30cf6f4456adf96f2869d0ab622",
"size": "27060... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ipc: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "8243f0a68b76f5e9d077fbb4c44eeacb",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 159,
"avg_line_length": 42.226519337016576,
"alnum_prop": 0.5681015308125081,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "728f034bb6d8fdfc26bdeec63750e111508c0255",... |
package org.gradoop.flink.algorithms.gelly.functions;
import org.apache.flink.api.java.functions.FunctionAnnotation;
import org.gradoop.common.model.impl.id.GradoopId;
import org.gradoop.common.model.impl.pojo.Vertex;
import org.gradoop.common.model.impl.properties.PropertyValue;
/**
* Maps EPGM vertex to a Gelly v... | {
"content_hash": "a4f8241db359347a88142034f280ea3f",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 100,
"avg_line_length": 31.72093023255814,
"alnum_prop": 0.7631964809384164,
"repo_name": "smee/gradoop",
"id": "3cff194c3cfac280fafb694305474f28ce2645d7",
"size": "2001",
... |
'use strict';
var path = require('path');
var util = require('./util');
var assert = require('assert');
var Config = require('./config');
var format = require('util').format;
var Performance = require('./performance');
var omit = require('lodash-node/compat/object/omit');
var merge = require('lodash-node/compat/obje... | {
"content_hash": "19e395369bbb114191e235da205ae290",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 103,
"avg_line_length": 32.424,
"alnum_prop": 0.6328645447816432,
"repo_name": "reggi/react-engine",
"id": "109519f5f9bb1c1382be6ccbf9d2474f0069b9e0",
"size": "5732",
"b... |
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.8/angular.min.js"></script>
<!-- you don't need ignore=notused in your code, this is just here to trick the cache -->
<script src="../dist/angular-grid.js?ignore=notused2"></script>
<link rel="stylesheet" type="text/css" href... | {
"content_hash": "092ad7bf46cf1a40306723bd559d0fc4",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 96,
"avg_line_length": 46.172413793103445,
"alnum_prop": 0.6452576549663929,
"repo_name": "ocombe/angular-grid",
"id": "b0ec8565af0ac42f872f9cccfde6ef25057d1f5b",
"size": "... |
ES5Harness.registerTest( {
id: "15.4.4.17-8-9",
path: "TestCases/chapter15/15.4/15.4.4/15.4.4.17/15.4.4.17-8-9.js",
description: "Array.prototype.some returns false if 'length' is 0 (subclassed Array, length overridden with [0]",
test: function testcase() {
foo.prototype = new Array(1, 2, 3);
function foo() {}
... | {
"content_hash": "ca8ee12f78a0f174c15ee50f1489acc3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 113,
"avg_line_length": 34.9,
"alnum_prop": 0.6926934097421203,
"repo_name": "luboid/ES5.Script",
"id": "20fd07e9cde34bed71d2c06d3bdc85149048b9f0",
"size": "2957",
"binar... |
require 'uri'
require 'httparty'
require 'persistent_httparty'
class Github < Versioneye::Service
A_WORKERS_COUNT = 4
A_USER_AGENT = 'Chrome/28(www.versioneye.com, support@versioneye.com)'
A_DEFAULT_HEADERS = {
'Accept' => 'application/vnd.github.v3+json',
'User-Agent' => A_USER_AGENT,
'Connection' ... | {
"content_hash": "7feaa2ba7abdaca19270586482bab5f9",
"timestamp": "",
"source": "github",
"line_count": 517,
"max_line_length": 133,
"avg_line_length": 29.290135396518377,
"alnum_prop": 0.6420788483127517,
"repo_name": "versioneye/versioneye-core",
"id": "2a4bb3ab8ffa95f2e5491e67443ebd3a04bf84f5",
... |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="/socket.io/socket.io.js"></script>
<button id="testpost">Test Post</button>
<button id="testlisten">Test Listen</button>
<script>
var sequences = {
"buildtingometeor":function(buildData){
return [
'. ~/.nv... | {
"content_hash": "a48876238742b414b6d4509d5e5490fa",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 130,
"avg_line_length": 29.314814814814813,
"alnum_prop": 0.6089703095388502,
"repo_name": "Program3r/libra",
"id": "dad92416b14fd1737fe009fdb4dc0e784275c797",
"size": "158... |
/**
* @fileoverview Loading and saving blocks with localStorage and cloud storage.
* @author q.neutron@gmail.com (Quynh Neutron)
*/
'use strict';
// Create a namespace.
var BlocklyStorage = {};
BlocklyStorage.localStorageID = null
/**
* Backup code blocks to localStorage.
* @private
*/
BlocklyStorage.backupBlo... | {
"content_hash": "7b275104a565614525cf2eca5b6250b6",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 79,
"avg_line_length": 30.877906976744185,
"alnum_prop": 0.6936546789681792,
"repo_name": "nles/kooditunti",
"id": "e914d6e247738de11b59461c446c3ca10bd7ca1d",
"size": "598... |
using System;
using System.Linq.Expressions;
#if DEBUG
// ReSharper disable InconsistentNaming
#pragma warning disable 3010
#endif
namespace AntData.ORM.Linq.Builder
{
using SqlQuery;
interface IBuildContext
{
#if DEBUG
string _sqlQueryText { get; }
#endif
ExpressionBuilder Builder { get; }
Expressi... | {
"content_hash": "ef427c6d5df67b535e5c2c0634b09eb9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 100,
"avg_line_length": 34.77142857142857,
"alnum_prop": 0.6713229252259655,
"repo_name": "yuzd/AntData.ORM",
"id": "f95b1ac28e3bbe6340d8d8fb13888dc72aa53855",
"size": "121... |
module FreeImage
##
# FreeImage supports the following color types:
#
# :minis_black:: Monochrome bitmap (1-bit) -> first palette entry is black.
# Palletised bitmap (4 or 8-bit) and single channel non standard bitmap -> the bitmap has a greyscale palette
# :minis_white:: Monochrome ... | {
"content_hash": "4f2bf5f4b2079db0f9e3a82c452b6630",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 136,
"avg_line_length": 47.08695652173913,
"alnum_prop": 0.543859649122807,
"repo_name": "cfis/free-image-ruby",
"id": "55fa1a43a1b90338c8137c4861b88a4b11b7e8a5",
"size": "... |
package ca.etsmtl.applets.seemobile.model;
import org.joda.time.DateTime;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Created by gnut3ll4 on 28/12/15.
*/
public class Session {
private String session;
public Session() {
DateTime dateTime = DateTime.now();
int per... | {
"content_hash": "5b2af24812fdae842e2dbd68d33ba827",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 64,
"avg_line_length": 22.84,
"alnum_prop": 0.5656742556917689,
"repo_name": "ApplETS/SEEMobile-Android",
"id": "8c1681f76b70ced61f1979eff5e3adbde4cf4359",
"size": "1142",
... |
#ifndef _MSWSOCK_H
#define _MSWSOCK_H
#pragma GCC system_header
#include <_mingw.h>
/*
* MS-specific extensions to Windows Sockets, exported from mswsock.dll.
* These functions are N/A on Windows9x.
*/
#ifdef __cplusplus
extern "C" {
#endif
#define SO_CONNDATA 0x7000
#define SO_CONNOPT 0x7001
#define SO... | {
"content_hash": "fe7065aa3085872e24aefdf341c8486a",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 109,
"avg_line_length": 24.794642857142858,
"alnum_prop": 0.7529708318329132,
"repo_name": "melvin-mancini/Multitasking-RealTime-Arduino-System",
"id": "900447fc3994bc518f58... |
require 'spec_helper'
describe MissingKid, vcr: { cassette_name: 'missing_kids', allow_playback_repeats: true } do
context '#update!' do
it 'creates a record for each alert' do
expect {
MissingKid.update!
}.to change(MissingKid, :count).by(8)
end
end
context 'with existing records' do... | {
"content_hash": "6bac42bb1f06414e63a9d4a011ef4aa3",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 92,
"avg_line_length": 28.53846153846154,
"alnum_prop": 0.6406109613656783,
"repo_name": "dblock/slack-amber-alert",
"id": "67e8e01427978e6a3adf77e11e0764b8393062cf",
"size... |
package wroblicky.andrew.euterpe.songs;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.HashSet;
import java.util.Set;
import wroblicky.andrew.euterpe.artists.Artist;
import wroblicky.andrew.euterpe.dao.SqliteDAOFactory;
import wroblicky.andrew.euterpe.parser.SongIde... | {
"content_hash": "18d593172268304fe719dae9a234ea1b",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 115,
"avg_line_length": 29.23728813559322,
"alnum_prop": 0.6533333333333333,
"repo_name": "ykcilborw/Euterpe",
"id": "ba2f9b72d3d4bea6746d4b6a834b67cf106daf62",
"size": "3... |
#ifndef __NET_STACK_INTF_H__
#define __NET_STACK_INTF_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <wireless.h>
#include <skbuff.h>
struct netif;
//----- ------------------------------------------------------------------
// Ethernet Buffer
//----- ------------------------------------------------------------... | {
"content_hash": "d978e4119e55285aaca6f05546970e85",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 101,
"avg_line_length": 33.21311475409836,
"alnum_prop": 0.5700888450148075,
"repo_name": "jeongchanKim/TizenRT",
"id": "e1c7bde54ca71f3d5cb4d5d06fe764bfc6e953aa",
"size": ... |
package net
import (
"os/exec"
"strconv"
"strings"
"github.com/toorop/telegraf/plugins/system/ps/common"
)
func NetIOCounters(pernic bool) ([]NetIOCountersStat, error) {
out, err := exec.Command("/usr/sbin/netstat", "-ibdn").Output()
if err != nil {
return nil, err
}
lines := strings.Split(string(out), "\... | {
"content_hash": "a1f5a995b5151366e08dbbbd378be28b",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 64,
"avg_line_length": 19.38888888888889,
"alnum_prop": 0.5945558739255015,
"repo_name": "toorop/telegraf",
"id": "4342eec350640d99039a7a8a761fff8812116d64",
"size": "1414"... |
package com.twosigma.beakerx;
import com.twosigma.beakerx.kernel.KernelFunctionality;
import com.twosigma.beakerx.kernel.Utils;
import com.twosigma.beakerx.kernel.comm.BxComm;
import com.twosigma.beakerx.kernel.comm.Comm;
import com.twosigma.beakerx.kernel.msg.JupyterMessages;
public class CommMock extends BxComm {
... | {
"content_hash": "babe6c37ec58ae6ee838ac90a2234e75",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 86,
"avg_line_length": 30.68421052631579,
"alnum_prop": 0.7838765008576329,
"repo_name": "twosigma/beaker-notebook",
"id": "cc45177466820882d62d07fbfc9e7431a6701005",
"size... |
package com.bbn.nlp.corpora.ere;
import com.google.common.base.Objects;
import com.google.common.base.Optional;
import static com.google.common.base.Preconditions.checkNotNull;
public final class EREEntityMention implements ERESpanning {
private final String id;
private final String type;
private final ERESpan... | {
"content_hash": "38a7593b418e8e014c724459d7c9be41",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 127,
"avg_line_length": 22.47222222222222,
"alnum_prop": 0.6613102595797281,
"repo_name": "BBN-E/bue-common-open",
"id": "6f999d0d295deaeaeec589185d574073b782d8ac",
"size":... |
from __future__ import annotations
from typing import Literal, Mapping, Optional, Sequence, Union
from pydantic import BaseModel, Extra, Field, root_validator, validator
from datadog_checks.base.utils.functions import identity
from datadog_checks.base.utils.models import validation
from . import defaults, validator... | {
"content_hash": "8c8d2c8be8b7c66a66d3a9d631470b1d",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 110,
"avg_line_length": 26.992248062015506,
"alnum_prop": 0.6872487076392878,
"repo_name": "DataDog/integrations-core",
"id": "6eb6abfa206dd7aef4201819b67d4a47dbdb4adb",
"... |
#ifndef __STUB_H
#define __STUB_H
/******************************************************************************/
/***** DEBUG FUNCTION *****/
/******************************************************************************/
/* Uncomment the following line to enable ... | {
"content_hash": "27211a8281aa3329375e99c39bf100e0",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 95,
"avg_line_length": 33.95,
"alnum_prop": 0.5393225331369661,
"repo_name": "pdonadeo/ocaml-lua",
"id": "954d1a3b7d92df0882121367693811e7e7a00282",
"size": "6790",
"bin... |
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<color name="primary">#3498db</color>
<color name="primaryDark">#1976D2</color>
<color name="accent">#FFC107</color>
<color name="window_background">#F5F5F5</color>
</resources> | {
"content_hash": "47a20f86870e020dda012fdca334be98",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 51,
"avg_line_length": 35.142857142857146,
"alnum_prop": 0.6585365853658537,
"repo_name": "kphillpotts/IntroXamarinWithVS",
"id": "8d561365b0f94557fb096a03e64e819115b4908c",
... |
package com.javaquery.core.date;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* Example: String to Date in Java
* @author javaQuery
* @date 22nd November, 2015
* @Github: https://github.com/javaquery/Examples
*/
public class StringToD... | {
"content_hash": "cfafea6e9200674a3e815a5591ecc8f4",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 110,
"avg_line_length": 35.26229508196721,
"alnum_prop": 0.5829846582984658,
"repo_name": "javaquery/Examples",
"id": "11edfe600a22ccd1d7a075fa39f1dadf6373038d",
"size": "2... |
(function () {
angular.module('apps')
.controller('mailserversetting', mailserversetting);
mailserversetting.$inject = ['$window', '$timeout', 'systemApi'];
function mailserversetting($window, $timeout, $api) {
var self = this;
self.Initialize = function () {
self.JsonModel = $window['MailServerSettingJso... | {
"content_hash": "d98311f576a5acd30a6df3814878a9c5",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 83,
"avg_line_length": 24.666666666666668,
"alnum_prop": 0.6148648648648649,
"repo_name": "CodingWorkshop/IEnglishTutors",
"id": "7da8e6001644f5a1ddd356343735782187e761ef",
... |
<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model common\models\ChronologySearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="chronology-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'method' => 'get',
]); ?>... | {
"content_hash": "2db1b557db1c1f76e7bc4d7778cac167",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 22.242424242424242,
"alnum_prop": 0.5367847411444142,
"repo_name": "djail1313/kk",
"id": "ee136eef4d9e495770ff61b213b862ecd7900ec5",
"size": "734",
... |
package com.msi.elasticachequery.integration;
import java.util.Collection;
import java.util.LinkedList;
import java.util.UUID;
import org.junit.Test;
import org.slf4j.Logger;
import com.amazonaws.AmazonServiceException;
import com.amazonaws.services.elasticache.model.CreateCacheParameterGroupRequest;
import com.amaz... | {
"content_hash": "a517d586916462588abc887aa7404a32",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 99,
"avg_line_length": 43.478873239436616,
"alnum_prop": 0.768383543893748,
"repo_name": "TranscendComputing/TopStackElasticCache",
"id": "6ffb38ee45dcc833cb4cfb300568d93981f... |
PATFT is a simple gem to extract relevant data from raw HTML provided by the
USPTO at http://patft.uspto.gov/. PATFT uses Nokogiri and XPath to scan HTML
files provided to it and returns a structure (e.g., Hash/JSON) representation
of the patent document.
**WARNING**: PATFT is under active development, refer to the ro... | {
"content_hash": "829fd3bde464c455113fd111985b26df",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 109,
"avg_line_length": 24.617283950617285,
"alnum_prop": 0.7071213640922769,
"repo_name": "zalepa/patft",
"id": "a6072b8a4d93b869f10494006f173d01761caeb9",
"size": "2034",... |
package com.alibaba.json.bvt.bug;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import junit.framework.TestCase;
import com.alibaba.fastjson.JSON;
public class Bug14 extends TestCase {
public void test_0() throws Exception ... | {
"content_hash": "dd90b93764e8f301816015bcbb8bb731",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 77,
"avg_line_length": 25.015625,
"alnum_prop": 0.5321673953778888,
"repo_name": "weiwenqiang/GitHub",
"id": "fc9f013b7e19b4f4c419e97633ec71198f299df9",
"size": "1601",
"... |
def test_hello_world(workspace):
workspace.src('pom.xml', r'''
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>... | {
"content_hash": "61a870735974070cd349a7fab78e707c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 112,
"avg_line_length": 27.972972972972972,
"alnum_prop": 0.5990338164251208,
"repo_name": "imsardine/learning",
"id": "0ddfb41f73a8d1f812f28efc88f88a1a23ad591e",
"size": "... |
DROP SERVER um_federated;
CREATE SERVER um_federated
FOREIGN DATA WRAPPER mysql
OPTIONS (HOST '192.168.2.167',USER 'federatedUser',PASSWORD 'federated2017' ,PORT 3017,DATABASE 'user_manager');
DROP TABLE IF EXISTS `lbs.um_user`;
CREATE TABLE `lbs.um_user` (
`id` varchar(32) NOT NULL COMMENT '主键id 32位guid',
... | {
"content_hash": "dc7234427ca4f56cff16be595cbcaff4",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 116,
"avg_line_length": 52.31578947368421,
"alnum_prop": 0.7253521126760564,
"repo_name": "yu757371316/MySQL",
"id": "22e7d3fcf25e0d8fbb6b2a4b624c61c27f0194e1",
"size": "11... |
<!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": "03ed015f6e8851c50667033950edd0ec",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 346,
"avg_line_length": 61.8859649122807,
"alnum_prop": 0.6589652728561304,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "d5cc939924b214252c83cc12ecf09c62c4c86a37",
"size... |
ExtensionAppProvider::ExtensionAppProvider(
AutocompleteProviderListener* listener,
Profile* profile)
: AutocompleteProvider(listener, profile,
AutocompleteProvider::TYPE_EXTENSION_APP) {
// Notifications of extensions loading and unloading always come from the
// non-incognito profile, but we... | {
"content_hash": "68bca675b0b5335a23c6defaafc2993b",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 81,
"avg_line_length": 39.9009900990099,
"alnum_prop": 0.6698511166253102,
"repo_name": "junmin-zhu/chromium-rivertrail",
"id": "33ffde95d5c12f56d1d7be811e08cb1c0de1e08f",
... |
module(..., lunit.testcase, package.seeall)
local common = dofile("common.lua")
local net = require "luanode.net"
function test()
local huge_data = ("start"):rep(1240):rep(1024)
local server = net.createServer(function (self, socket)
--socket:setNoDelay()
--socket.timeout = 0
socket:setEncoding("ut... | {
"content_hash": "7e7622d41183e791988b0656cf5f2079",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 55,
"avg_line_length": 20.533333333333335,
"alnum_prop": 0.6636363636363637,
"repo_name": "ichramm/LuaNode",
"id": "7b7696a5b82716de57ca41d8b17642cafb8c7b00",
"size": "1540... |
/**
* HUD class
* @param psv (PhotoSphereViewer) A PhotoSphereViewer object
*/
function PSVHUD(psv) {
PSVComponent.call(this, psv);
this.$svg = null;
this.markers = {};
this.currentMarker = null;
this.hoveringMarker = null;
this.create();
}
PSVHUD.prototype = Object.create(PSVComponent.prototype);
PSV... | {
"content_hash": "709ff98f3c14e7fa8e0b593fe2231bf8",
"timestamp": "",
"source": "github",
"line_count": 653,
"max_line_length": 160,
"avg_line_length": 26.64012251148545,
"alnum_prop": 0.6476201425615083,
"repo_name": "marcin1337/Photo-Sphere-Viewer",
"id": "031b8cd15e1c33c5a3d627593f719e0c1d5b6e17",... |
package KartoffelKanaalPlugin.plugin.kartoffelsystems.PulserSystem;
public class PNTechNLOADED extends PNTech{
//NLOADED = Not loaded
//Dit is geen Tech voor een PulserNotification, maar een vervanger voor een niet-virtuele of ongeladen data
protected byte[] data;
protected PNTechNLOADED(byte[] src){
super(src);... | {
"content_hash": "2c9f94372ea85d8459c509514006d148",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 129,
"avg_line_length": 27.904761904761905,
"alnum_prop": 0.7482935153583617,
"repo_name": "VincentK2000/KartoffelKanaalPlugin",
"id": "c277dc6c2c6271b5fe941fdd4146c8a43c1880... |
The MIT License (MIT)
Copyright (c) 2015 Zhengshi Lucia Zhao
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, mer... | {
"content_hash": "87268bb4bcaf801bb12225ce2bd09836",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 51.714285714285715,
"alnum_prop": 0.8038674033149171,
"repo_name": "jungjung917/StatisticalInference",
"id": "6e0fa19a0f0856f23a6e58be6c9c1e7686ba42d9"... |
package org.kuali.coeus.common.questionnaire.api.core;
import org.kuali.coeus.common.questionnaire.api.question.QuestionContract;
import org.kuali.coeus.sys.api.model.IdentifiableNumeric;
public interface QuestionnaireQuestionContract extends IdentifiableNumeric {
public Long getQuestionnaireId();
public Lo... | {
"content_hash": "27d7f6af9c9993830bd426cd8a1799bf",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 76,
"avg_line_length": 24.62962962962963,
"alnum_prop": 0.7759398496240602,
"repo_name": "blackcathacker/kc.preclean",
"id": "0c19998883e0d22c42fcfebfe6a5d7a7b698d546",
"si... |
"use strict";
function setOfCachedUrls(e) {
return e.keys().then(function(e) {
return e.map(function(e) {
return e.url
})
}).then(function(e) {
return new Set(e)
})
}
var precacheConfig = [
["/static/pwa/textformat/textformat.html", "132d3884d3dd3f78fa91f957ac8f2... | {
"content_hash": "77212a124ced11d1815b7c04734a95df",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 272,
"avg_line_length": 42.85585585585586,
"alnum_prop": 0.5417279798192138,
"repo_name": "edwindvinas/ULAPPH-Cloud-Desktop",
"id": "3ffb2e3d6734267694d9304b3caf48835e3f356b... |
- Create a directory "vpn_check" under Site24x7 Linux Agent plugin directory - /opt/site24x7/monagent/plugins/vpn_check
- Download the files "vpn_check.py" , "isp.sh" and place it under the "vpn_check" directory
wget https://raw.githubusercontent.com/site24x7/plugins/master/vpn_check/vpn_check.py
wget https://... | {
"content_hash": "7d1db4d5dc4e0a5939a28007b8d791a2",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 150,
"avg_line_length": 35.2,
"alnum_prop": 0.7566287878787878,
"repo_name": "site24x7/plugins",
"id": "650fa2df8545b144b228f1cb999955075dc3e7d3",
"size": "1149",
"binary... |
<?php
namespace backend\assets;
use yii\web\AssetBundle;
/**
* Main backend application asset bundle.
*/
class AppAsset extends AssetBundle
{
public $basePath = '@webroot';
public $baseUrl = '@web';
public $css = [
'css/site.css',
];
public $js = [
];
public $depends = [
... | {
"content_hash": "b370556a0176c8b49e3e6e015af97350",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 42,
"avg_line_length": 16.59090909090909,
"alnum_prop": 0.5863013698630137,
"repo_name": "hughshen/yii2-bcms",
"id": "e8b2d38e295350c2a895d3da1c69ed7dd22d2610",
"size": "36... |
window.nitrogen = {
ApiKey: ApiKey,
Blob: Blob,
CommandManager: CommandManager,
Device: Device,
Message: Message,
Permission: Permission,
Principal: Principal,
Service: Service,
Session: Session,
User: User
};
| {
"content_hash": "9c28fe4500280978a3fd0ad36042f4f2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 33,
"avg_line_length": 19.166666666666668,
"alnum_prop": 0.7043478260869566,
"repo_name": "irjudson/client",
"id": "458a937ea32093a62c43a514004450dcaecc35de",
"size": "230"... |
<?xml version="1.0" encoding="utf-8"?>
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="500"
android:fillAfter="false"
android:fromXScale="0.0"
android:fromYScale="1.0"
android:interpolator="@android:anim/linear_interpolator"
android:pivotX="5... | {
"content_hash": "f0370432817f86a27c9de81734bbacb1",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 65,
"avg_line_length": 38.09090909090909,
"alnum_prop": 0.6443914081145584,
"repo_name": "luoyuan800/NeverEnd",
"id": "951cda057433f582cfbcef61ded547481ae9701a",
"size": "4... |
using System;
namespace OpenMetaverse.Imaging
{
public class ManagedImage
{
[Flags]
public enum ImageChannels
{
Gray = 1,
Color = 2,
Alpha = 4,
Bump = 8
};
public enum ImageResizeAlgorithm
{
... | {
"content_hash": "5c1a3dce0c87247079cac43dac35d190",
"timestamp": "",
"source": "github",
"line_count": 511,
"max_line_length": 122,
"avg_line_length": 34.56555772994129,
"alnum_prop": 0.39891298193964786,
"repo_name": "radegastdev/libopenmetaverse",
"id": "7a024609841336861e10a146dc2e70d15bb7aff5",
... |
/**
*/
package CIM.IEC61970.Meas;
import CIM.IEC61970.ControlArea.AltGeneratingUnitMeas;
import CIM.IEC61970.ControlArea.AltTieMeas;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Analog Value</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* ... | {
"content_hash": "3cf4c362cb4b6039d79f6dc87ef99ecf",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 208,
"avg_line_length": 44.56153846153846,
"alnum_prop": 0.6904885206283445,
"repo_name": "georghinkel/ttc2017smartGrids",
"id": "f680944dc294c68c7e0d8a0c594eeb234957f9f5",
... |
package com.pivotal.gemfirexd.internal.impl.store.access.conglomerate;
import com.pivotal.gemfirexd.internal.iapi.services.sanity.SanityManager;
import com.pivotal.gemfirexd.internal.iapi.store.raw.ContainerHandle;
import com.pivotal.gemfirexd.internal.iapi.store.raw.Page;
import com.pivotal.gemfirexd.internal.iapi... | {
"content_hash": "504a597718323886d6d612bbe60f8c72",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 80,
"avg_line_length": 29.40776699029126,
"alnum_prop": 0.410366457576758,
"repo_name": "papicella/snappy-store",
"id": "04256c05f6c9d1302a18abf403931f86bdc8f9ea",
"size":... |
class PythonQtShell_QIconEngine : public QIconEngine
{
public:
PythonQtShell_QIconEngine():QIconEngine(),_wrapper(NULL) {};
~PythonQtShell_QIconEngine();
virtual QSize actualSize(const QSize& size, QIcon::Mode mode, QIcon::State state);
virtual void addFile(const QString& fileName, const QSize& size, QIc... | {
"content_hash": "156218870cf15ecb3a637cd7fd738775",
"timestamp": "",
"source": "github",
"line_count": 2049,
"max_line_length": 658,
"avg_line_length": 54.96290873596877,
"alnum_prop": 0.7826210497340591,
"repo_name": "codeyash/plugins",
"id": "79df812dec5af5da0550214965052ef966fb3739",
"size": "1... |
<?xml version="1.0" encoding="UTF-8"?>
<config>
<basicConfig>
<!-- The following configurations are path in test machine.
zstackPkg is zstack all in one package tar.gz file.
zstackInstallScript is the installation script, which could be
downloaded from zstack website or get from zstack-uti... | {
"content_hash": "385b26e177814fecf8c9b39fb928b4c4",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 85,
"avg_line_length": 41.51127819548872,
"alnum_prop": 0.6696250679224778,
"repo_name": "SoftwareKing/zstack-woodpecker",
"id": "b4b6ccb5f827f1f7d15ecfadd28e521d8a10d6d9",
... |
using System.Globalization;
using Xunit;
namespace Soltys.ChangeCase.Tests
{
public class SwapCaseTests
{
[Fact]
public void SwapCaseInStringsTest()
{
string input = null;
Assert.Equal("", input.SwapCase());
Assert.Equal("TEST", "test".SwapCase());
... | {
"content_hash": "7cb807a4f18629f951c70e721a542b29",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 101,
"avg_line_length": 28.72,
"alnum_prop": 0.5766016713091922,
"repo_name": "soltys/Soltys.ChangeCase",
"id": "4d767bd13b8899ec5007f53f5c98516805b57f6b",
"size": "735",
... |
using System;
namespace DistanceCalculator.WebApiService.Areas.HelpPage
{
/// <summary>
/// This represents an image sample on the help page. There's a display template named ImageSample associated with this class.
/// </summary>
public class ImageSample
{
/// <summary>
/// Initiali... | {
"content_hash": "9e7e3b2774cf0ce52f356e9a7cc8d313",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 130,
"avg_line_length": 26.21951219512195,
"alnum_prop": 0.5348837209302325,
"repo_name": "ttitto/WebDevelopment",
"id": "7aea8c375a75505507630f9fc7824eca77c98f6e",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ISB Journal of Science</title>
</head>
<frameset rows="*" cols="200,800"... | {
"content_hash": "885a4be2d644c61a66b804c48653f108",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 113,
"avg_line_length": 35.92857142857143,
"alnum_prop": 0.679920477137177,
"repo_name": "InternationalSchoolBangkok/eales_internationalscholasticjournalofscience",
"id": "fa... |
<!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_43) on Tue Apr 09 16:55:13 ICT 2013 -->
<TITLE>
Uses of Class org.apache.hadoop.security.token.delegation.AbstractDelegationTokenSelector (Hadoop 1.0... | {
"content_hash": "16acf29d961ad211f2a4aa8088c7ce95",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 430,
"avg_line_length": 48.87777777777778,
"alnum_prop": 0.6469652193680382,
"repo_name": "jrnz/hadoop",
"id": "3863317769176962b39381a985f85dd38c76df08",
"size": "8798",
... |
<?php
$areaTemp = $area -> getLastTempToday();
$classToday = $areaTemp ? ($areaTemp->invalid ? $areaTemp->invalid->type : 'success') : 'muted';
$icoToday = $areaTemp ? ($areaTemp->invalid ? 'fa-flash' : 'fa-check') : 'fa-times';
$titleToday = $areaTemp ? ($areaTemp->invalid ? ucfirst($areaTemp->inval... | {
"content_hash": "6b82de4f5ba231f0bf49d56684d445f5",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 197,
"avg_line_length": 45.440298507462686,
"alnum_prop": 0.4256856626703892,
"repo_name": "denislevin/webapp-dashboard",
"id": "77c94fa5cc149dd9e5fd6c4e35a4c459c83026b5",
... |
license: 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... | {
"content_hash": "441f0fa36157a7c850c35b821818affa",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 125,
"avg_line_length": 31.881944444444443,
"alnum_prop": 0.5811370071879765,
"repo_name": "maveriklko9719/Coffee-Spills",
"id": "2ea3517528d43064dad94c2c0a7f089961623b55",
... |
FROM balenalib/jn30b-nano-ubuntu:disco-run
ENV NODE_VERSION 12.21.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" |... | {
"content_hash": "d97fde37e2554b8abc0f1fe593d803a0",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 691,
"avg_line_length": 64.24444444444444,
"alnum_prop": 0.7042545831892079,
"repo_name": "nghiant2710/base-images",
"id": "1b63d3c9ff54760dfeaacbfe2456e9c45cb0291b",
"size... |
// Copyright 2018 The Oppia 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 ap... | {
"content_hash": "ce9599f81b4b0d6be8a7bee365ac888f",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 76,
"avg_line_length": 31.91,
"alnum_prop": 0.7000940144155438,
"repo_name": "kevinlee12/oppia",
"id": "309a5791983f11a2346c369d24dc4b5d322d2563",
"size": "3191",
"binar... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
$route['404_override'] = '';
$route['translate_uri_dashes'] = FALSE;
$route['news/create'] = 'news/create';
$route['news/(:any)'] = 'news/view/$1';
$route['news'] = 'news';
$route['(:any)'] = 'pages/view/$1';
$route['default_controller'] = 'pages/vi... | {
"content_hash": "84bb9128cf1dac2d1a05584cc63ebd70",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 63,
"avg_line_length": 32.4,
"alnum_prop": 0.6265432098765432,
"repo_name": "jimhome1608/jim_php",
"id": "10a388cb0fc4da992bd88243df7fd3cc9a523a1e",
"size": "324",
"binar... |
account :scott
create_account :scott, :master
close_ledger
payment :master, :scott, [:native, 1000_000000]
| {
"content_hash": "a1a8d17ec69e7f13b29aae261dc31641",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 47,
"avg_line_length": 15.857142857142858,
"alnum_prop": 0.7297297297297297,
"repo_name": "graydon/stellar_core_commander",
"id": "5e7c54184efeaa0d2ed4245947c67bca0916604c",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.