text stringlengths 2 1.04M | meta dict |
|---|---|
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<stroke android:width="2dp"
android:color="#FFFFFF"/>
<gradient
android:angle="225"
android:startColor="#DD2ECCFA"
android:endColor="#df3342e4"/>
<corners
androi... | {
"content_hash": "5e8e6786dabf25ce16e8c143674417d8",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 67,
"avg_line_length": 33.5,
"alnum_prop": 0.6332622601279317,
"repo_name": "vidhyadhari1989/Learnopedia-C2C",
"id": "311760b51f420d8e5faa41e1d1923f5dbcbf5fa7",
"size": "46... |
package com.github.ljtfreitas.restify.http.contract;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Header(name = "Acc... | {
"content_hash": "399a57ac54c77d4f536af5cd4e1ca4ce",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 52,
"avg_line_length": 29.615384615384617,
"alnum_prop": 0.8051948051948052,
"repo_name": "ljtfreitas/java-restify",
"id": "2a00cefb84b9ef1c02608c15d168892ccdbff3d8",
"size... |
/**
* Created by Florin Chelaru ( florin [dot] chelaru [at] gmail [dot] com )
* Date: 11/8/2015
* Time: 1:23 AM
*/
/**
* @fileoverview
* @suppress {globalThis}
*/
if (COMPILED) {
goog.provide('vs.models');
}
// Extend the namespaces defined here with the ones in the base vis.js package
(function() {
u.ext... | {
"content_hash": "26e1497381133935b9b99da73328b39a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 78,
"avg_line_length": 20.05,
"alnum_prop": 0.6234413965087282,
"repo_name": "florin-chelaru/vs.models.plugins.js",
"id": "2745598909544bcac23eac567184c939862e3fe0",
"size"... |
AWS Setup Instructions
======================
Get AWS API credentials
-----------------------
1. [AWS credentials documentation](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSGettingStartedGuide/AWSCredentials.html)
Create a credentials file
-------------------------
1. Create a credentials file (eg ~/.... | {
"content_hash": "78876294b0cec35ff7dba5c0da01ba94",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 182,
"avg_line_length": 32.343511450381676,
"alnum_prop": 0.6990795374085438,
"repo_name": "cgwalters/openshift-ansible",
"id": "0e3128a927e13db96cb562ac96d76886c7cd7ca2",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><%= title %></title>
<meta name="description" content="">
<!-- 兼容性问题,使用浏览器最高版本来渲染-->
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
<% include ../../themes/them... | {
"content_hash": "4e1a283ba21a94012d1a34ca5a551099",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 136,
"avg_line_length": 40.509803921568626,
"alnum_prop": 0.6761858664085189,
"repo_name": "linder0209/hopefuture-blog",
"id": "4a314e71f841517f5b2ee49c248e5b336f2c899b",
"... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<!--
Copyright (C) 2006 Joe Walnes.
Copyright (C) 2006, 2007, 2009, 2011, 2012, 2013 XStream committers.... | {
"content_hash": "c7043e70b0ed0efc5eea721ed477a75d",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 201,
"avg_line_length": 32.588235294117645,
"alnum_prop": 0.5981498194945848,
"repo_name": "Groostav/XStream-GG",
"id": "d6fb34a596964be9757f0ac103d42c87253a03a7",
"size":... |
; Load 32 bytes (background and spite, 1st background) of palette from address
; PARAM1 - high byte of palette address
; PARAM2 - low byte of palette address
; Example: Loadpalette HIGH(palette), LOW(palette)
LoadPalette .macro
LDA #$3F ; set PPU working address 3F00 - palette
STA $2006
... | {
"content_hash": "59a6ab3fda55ee29676169ce830d596c",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 105,
"avg_line_length": 23.392857142857142,
"alnum_prop": 0.6335877862595419,
"repo_name": "yevgeniy-logachev/nesdev",
"id": "90e1d4242f6af8c33141e7034ce487c77a1fe0be",
"si... |
package org.example.api;
import java.util.Date;
public class Person {
private final String name;
private final String firstname;
private final Date birthDate;
private Address address;
public Person(String name, String firstname, Date birthDate, Address address){
this.name = name;
this.firstname = firstna... | {
"content_hash": "0de65f14b4f3c513a3718e86951de80e",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 79,
"avg_line_length": 16.365853658536587,
"alnum_prop": 0.7168405365126677,
"repo_name": "ibcn-cloudlet/example",
"id": "966226549bc9baf98260d0ef27bb130e6076d00e",
"size":... |
<?php
namespace Native5\Services\Messaging;
use Native5\Services\Messaging\MessagingException;
use Native5\Services\Common\ApiClient;
use Native5\Services\Messaging\Notifier;
use Native5\Services\Messaging\Message;
/**
* RemoteMailNotifier
*/
class RemoteMailNotifier extends ApiClient implements Notifier {
c... | {
"content_hash": "c07e5df6be003f1688bacd7f24598c63",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 129,
"avg_line_length": 32.40229885057471,
"alnum_prop": 0.5753813409010288,
"repo_name": "native5/native5-sdk-services-php",
"id": "7f55ffc24abc31ace0114b91fbc1923b74808c25"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>dpdgraph: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "a3532ba1617ba8c68ad515e959c1a626",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 159,
"avg_line_length": 41.49101796407186,
"alnum_prop": 0.5388945013710492,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6725bc55cbc0054802c2efaa1748c6397f4ab4e1",
... |
"""Manages the v6 batch definition schema"""
from __future__ import unicode_literals
from jsonschema import validate
from jsonschema.exceptions import ValidationError
from batch.definition.definition import BatchDefinition
from batch.definition.exceptions import InvalidDefinition
from recipe.diff.json.forced_nodes_v6... | {
"content_hash": "0f8317a1a0d1f6a0c3a7792b6d377f51",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 113,
"avg_line_length": 37.73202614379085,
"alnum_prop": 0.61285293608176,
"repo_name": "ngageoint/scale",
"id": "a09469c5828bf292240bf35d2c198c5a6e32b0a1",
"size": "5773"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Sun Mar 01 12:04:18 AEDT 2015 -->
<title>TimeStampResponse (Bouncy Castle Library 1.52 API Specification)</title>
<meta name="da... | {
"content_hash": "b01e3191dd86c9a8746ee5ae4c8c1186",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 308,
"avg_line_length": 39.95064935064935,
"alnum_prop": 0.6637409791300956,
"repo_name": "GaloisInc/hacrypto",
"id": "95a349913ea0552df3a018158176f11c3a5f8b7d",
"size": "... |
initializeWorkingDirAndScriptDir() {
# Set working directory and remove all symbolic links
workingDir=`pwd -P`
# Go the script directory
cd `dirname $0`
# If the file itself is a symbolic link (ignoring parent directory links), then follow that link recursively
# Note that scriptDir=`pwd -P` do... | {
"content_hash": "66e65d4a56b7b65a4637d59e4702594b",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 139,
"avg_line_length": 39.85245901639344,
"alnum_prop": 0.5462772521596051,
"repo_name": "droolsjbpm/droolsjbpm-build-bootstrap",
"id": "af24a76fd9fd23e38303b62d0d391a9bb2f... |
SameOriginObserver::SameOriginObserver(
content::WebContents* observed_contents,
const url::Origin& reference_origin,
base::RepeatingCallback<void(content::WebContents*)>
on_same_origin_state_changed)
: content::WebContentsObserver(observed_contents),
reference_origin_(reference_origin),
... | {
"content_hash": "0574e4b2f95f4515793e05207ea12080",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 67,
"avg_line_length": 38.958333333333336,
"alnum_prop": 0.7315508021390374,
"repo_name": "scheib/chromium",
"id": "bcd2583fdc81ada255f5f34c7bcb4f8001c461e7",
"size": "1214... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_51) on Fri Jul 19 02:58:57 EDT 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Class org.apache.solr.req... | {
"content_hash": "40c4d25677da1d0028865c66d02a5d40",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 300,
"avg_line_length": 43.03045685279188,
"alnum_prop": 0.6188510086115371,
"repo_name": "vertexinc/solr-4.4.0",
"id": "92550e37d1f6308e927b8d6f49161c807b8db09e",
"size":... |
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtNetwork import *
import sys
import struct
import time
from oscutil import *
class OSCController(QWidget):
'''A simple widget that creates some basic controls that send OSC events'''
def __init__(self):
super(OSCController,self).__init_... | {
"content_hash": "cd5ebe4996c94816b555088dd2502650",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 85,
"avg_line_length": 31.76,
"alnum_prop": 0.6192275398824517,
"repo_name": "synaesthetic/osctools",
"id": "bc1fa63e6e13970ddd57facc663c11da4451c109",
"size": "2511",
"b... |
package toml
import (
"errors"
"io/ioutil"
"runtime"
"strings"
)
// Definition of a TomlTree.
// This is the result of the parsing of a TOML file.
type TomlTree map[string]interface{}
// Keys returns the keys of the toplevel tree.
// Warning: this is a costly operation.
func (t *TomlTree) Keys() []string {
keys... | {
"content_hash": "1249d1742db3920c3696e9616c298639",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 78,
"avg_line_length": 24.70909090909091,
"alnum_prop": 0.6431199411331862,
"repo_name": "vimeo/carbon-tagger",
"id": "e5e9c1a79541d73acf337658ab1a2495a8c5ac75",
"size": "... |
jQuery(document).ready(function($){
//detect address change and determine lat and long values from entry.
$("#Form_ItemEditForm_Address").on("change",function(e){
if($.trim(e.target.value).length > 0 ){
$.ajax({
type: "POST",
url: "AddressLookup_Controller/fin... | {
"content_hash": "6adb0095341548303ce2a9f472f46b5e",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 73,
"avg_line_length": 38.333333333333336,
"alnum_prop": 0.5202898550724637,
"repo_name": "cbryer/silverstripe-google-store-finder",
"id": "a29fc7fc82c562276835f198cae98b2dd4... |
namespace autofill_assistant {
// An action to display a message.
class TellAction : public Action {
public:
explicit TellAction(ActionDelegate* delegate, const ActionProto& proto);
TellAction(const TellAction&) = delete;
TellAction& operator=(const TellAction&) = delete;
~TellAction() override;
private:
... | {
"content_hash": "62e928c3c5caadd40cdd126101586b72",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 74,
"avg_line_length": 29.11111111111111,
"alnum_prop": 0.7633587786259542,
"repo_name": "ric2b/Vivaldi-browser",
"id": "1c4304c1c0c848df603c9d25edc00d2915814e4b",
"size": ... |
package org.beiter.michael.eaudit4j.common;
/**
* This interface defines specification (getters, setters, maintenance methods) for fields to be used in audit events.
*/
public interface Field {
/**
* Get the name of the field.
* <p>
* This name is set, for instance, when the field is created.
... | {
"content_hash": "88b5ecfb5e25d4b6c2d3bedc7b0c4dc1",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 119,
"avg_line_length": 37.854166666666664,
"alnum_prop": 0.6571271326362136,
"repo_name": "mbeiter/eaudit4j",
"id": "1a740cddbbfa01b7b740c1ffd96963f2ff5214fd",
"size": "53... |
<?php
/**
* Based heavily on Tim Whitlock's VarnishAdminSocket.php from php-varnish
* @link https://github.com/timwhitlock/php-varnish
*
* Copyright (c) 2010 Tim Whitlock
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the... | {
"content_hash": "c3d44d59ece358553d2cfa8f92964d39",
"timestamp": "",
"source": "github",
"line_count": 482,
"max_line_length": 85,
"avg_line_length": 31.12655601659751,
"alnum_prop": 0.5168966206758648,
"repo_name": "mikrotikAhmet/mbe-cpdev",
"id": "db7580084943ccef15c3905238c159896f9ea78f",
"size... |
/*
* The following is auto-generated. Do not manually edit. See scripts/loops.js.
*/
#ifndef STDLIB_STRIDED_BASE_UNARY_T_T_H
#define STDLIB_STRIDED_BASE_UNARY_T_T_H
#include <stdint.h>
/*
* If C++, prevent name mangling so that the compiler emits a binary file having undecorated names, thus mirroring the behavior ... | {
"content_hash": "34a126d4204178e1fc930afb0920ffc0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 143,
"avg_line_length": 23.892857142857142,
"alnum_prop": 0.7219730941704036,
"repo_name": "stdlib-js/stdlib",
"id": "7f0b40870129d014d35bfa09baa07fcc51bfb7b9",
"size": "12... |
<?php
/**
* Gravatar shortcode for avatar and profile.
*
* Usage:
*
* [gravatar email="user@example.org" size="48"]
* [gravatar_profile who="user@example.org"]
*
* @package Jetpack
*/
add_shortcode( 'gravatar', 'jetpack_gravatar_shortcode' );
add_shortcode( 'gravatar_profile', 'jetpack_gravatar_profile_shortc... | {
"content_hash": "27ed6b9c2b847e4890720c74a3787b20",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 463,
"avg_line_length": 28.39644970414201,
"alnum_prop": 0.5999166493019379,
"repo_name": "pjhooker/monferratopaesaggi",
"id": "6a8e550929b9370ccda2f536458152b32c15fe5c",
... |
static inline int sgx_wrapper_shutdown(int fd, int how)
{
int retval;
ocall_shutdown(&retval, fd, how);
return retval;
}
static inline ssize_t sgx_wrapper_recv(int fd, void *buf, size_t len, int flags)
{
ssize_t retval;
ocall_recv(&retval, fd, buf, len, flags);
return retval;
}
static inline ssize_t sgx_wrapper_s... | {
"content_hash": "2e492137ff39a658dec944d32204b281",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 142,
"avg_line_length": 31.335051546391753,
"alnum_prop": 0.6882710972199375,
"repo_name": "shwetasshinde24/Panoply",
"id": "18c5923dcd56b623f71cebf5a220784dabb5b687",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Pleospora equiseti A.L. Sm., 1909
### Remarks
null | {
"content_hash": "858c80bf54e92cb6d89b036c86d6924d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.538461538461538,
"alnum_prop": 0.6993865030674846,
"repo_name": "mdoering/backbone",
"id": "855bb020f958741a5e58c265d5908075b84ed6b5",
"size": "22... |
#ifndef __WINE_SSPI_H__
#define __WINE_SSPI_H__
/* FIXME: #include <sdkddkver.h> */
#ifdef __cplusplus
extern "C" {
#endif
#define SEC_ENTRY __stdcall
typedef WCHAR SEC_WCHAR;
typedef CHAR SEC_CHAR;
#ifndef __SECSTATUS_DEFINED__
#define __SECSTATUS_DEFINED__
typedef LONG SECURITY_STATUS;
#endif
#ifdef UNICODE
t... | {
"content_hash": "a7ecd21cb7d8368d18e486aa3bb20364",
"timestamp": "",
"source": "github",
"line_count": 816,
"max_line_length": 89,
"avg_line_length": 38.39950980392157,
"alnum_prop": 0.7493457586008808,
"repo_name": "howard5888/wine",
"id": "15adb5993981539675d9d5044e94a26771f71809",
"size": "3211... |
package com.dysania.eventbusdemo;
import android.app.Application;
import org.greenrobot.eventbus.EventBus;
/**
* Created by DysaniazzZ on 2016/11/3.
*/
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
// 配置当一个事件没有订阅者订阅时不打印日志和发送无订阅者的事件
//... | {
"content_hash": "8ee4f9796e61fcb09e5c73adbe95e7a4",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 96,
"avg_line_length": 28.178571428571427,
"alnum_prop": 0.679340937896071,
"repo_name": "DysaniazzZ/AndroidPracticeDemos",
"id": "940be7ed85490be42cf3b5256550cff1b6fd5869",
... |
function spyc(S,marker,markersize);
% PURPOSE: produces a spy plot with colors
% that reflect the magnitude of the non-zero numbers
% -----------------------------------------------------
% USAGE: spyc(S) or spyc(S,marker,markersize)
if nargin == 2
markersize = 5;
elseif nargin == 1
markersize = 5;
marker... | {
"content_hash": "f1064bfcb0a7890961e98b796c1d7427",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 66,
"avg_line_length": 31.115384615384617,
"alnum_prop": 0.580964153275649,
"repo_name": "pradlanka/malini",
"id": "0ca4e4bb91ee89f1cd2c20a1b54b0868e09564f6",
"size": "809"... |
package com.google.api.ads.adwords.jaxws.v201601.cm;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* Base class... | {
"content_hash": "a631ddca4e81cc6e6f00cedee13ab8ff",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 119,
"avg_line_length": 24.75257731958763,
"alnum_prop": 0.6197417742607247,
"repo_name": "gawkermedia/googleads-java-lib",
"id": "490d2fd00b8817b827469665ecfd4dcf3d5f4e6f",
... |
import { lang } from '../index';
export default {
computed: {
language() {
return document.documentElement.lang;
}
},
methods: {
l: lang
}
}
export let LocalizationBase = baseKey => {
return {
methods: {
lSub(key) {
return lang... | {
"content_hash": "d619308194d004ae07ca27ae0804f633",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 49,
"avg_line_length": 17.80952380952381,
"alnum_prop": 0.4411764705882353,
"repo_name": "code16/sharp",
"id": "91ceabd0222ae8fbf34b51aa2bb7e3fbb8450527",
"size": "374",
... |
using System.Net;
using System.Net.Http;
using System.Web.Http;
using RopeWebApp2.Services;
using RopeWebApp2.Models;
namespace RopeWebApp2.Controllers
{
public class BigListApiController : ApiController
{
// Run and return BigList tests
public HttpResponseMessage GetBigListFillTestResults(int... | {
"content_hash": "b51f9f466038903fedcca6150b2990ee",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 81,
"avg_line_length": 39.895833333333336,
"alnum_prop": 0.6616187989556136,
"repo_name": "RopeLEAP/rope",
"id": "2a23732cbcef9149695045426437d8fdd42b400f",
"size": "1917",... |
package com.microsoft.azure.management.storage.v2019_04_01.implementation;
import com.microsoft.azure.arm.model.implementation.WrapperImpl;
import com.microsoft.azure.management.storage.v2019_04_01.Usages;
import rx.Observable;
import rx.functions.Func1;
import java.util.List;
import com.microsoft.azure.management.s... | {
"content_hash": "7dc2777a06027e2420ca2ca2221969ee",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 30.043478260869566,
"alnum_prop": 0.662807525325615,
"repo_name": "selvasingh/azure-sdk-for-java",
"id": "5c9e32de4d54b82e8d262b7684fb9830e9612d78",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Cl... | {
"content_hash": "ddf4acb582dd1d5380e694d5189a03d2",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.19444444444444,
"alnum_prop": 0.7462792345854005,
"repo_name": "kzu/CloudBuilder",
"id": "fe0df3d71af78eddd324f23d6f6d57c43abd7165",
"size": "1414... |
<?php
/*
Safe sample
input : get the $_GET['userData'] in an array
sanitize : cast in float
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and distribute this software and its docum... | {
"content_hash": "24d43c111a4d0fb1f50a15c93568c7f0",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 185,
"avg_line_length": 25.65671641791045,
"alnum_prop": 0.7196044211751018,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "4d745cfb38f5994d2222dcdc99171a0c5262... |
package blue.lapis.pore.impl.entity;
import blue.lapis.pore.converter.type.material.PotionEffectConverter;
import blue.lapis.pore.converter.type.material.PotionEffectTypeConverter;
import blue.lapis.pore.converter.vector.LocationConverter;
import blue.lapis.pore.converter.wrapper.WrapperConverter;
import blue.lapis.p... | {
"content_hash": "5f3cb50b2b46b221f4a1aaa3ccbd7297",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 115,
"avg_line_length": 30.117359413202934,
"alnum_prop": 0.6746225036531904,
"repo_name": "Lamp-Post/Pore",
"id": "dc994562070bcd873cb778d87ec72d51887c29d1",
"size": "134... |
@interface ViewController : UIViewController
@end
| {
"content_hash": "985505fbe9caceddf0d56c6872143fe4",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 44,
"avg_line_length": 10.6,
"alnum_prop": 0.7924528301886793,
"repo_name": "wokalski/gobi",
"id": "5e3c54e8e6c6ea4999b20dc98d908723c9882113",
"size": "225",
"binary": fal... |
<Spinner xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:entries="@array/sort_order"/> | {
"content_hash": "1778c83e616f5944a519eee0884703ad",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 67,
"avg_line_length": 47.5,
"alnum_prop": 0.7368421052631579,
"repo_name": "navdeepsekhon/PopMovies",
"id": "04e843b402f22f53bb27147a91d2c73622e3079e",
"size": "190",
"bi... |
using FinnAngelo.DALifyTests.Properties;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
namespace FinnAngelo.DALifyTests
{
public static class Setup
{
public static void DropExampleStuff(this SqlConnection conn)
{
... | {
"content_hash": "6a357a6904d984cc27f1fb7bd0bf08e0",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 103,
"avg_line_length": 40.40384615384615,
"alnum_prop": 0.6377915278438838,
"repo_name": "FinnAngelo/Tomfoolery",
"id": "304d27747d9ca1f3adbee3f395b71e36b28df55a",
"size":... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Pirate.PiVote.Crypto;
namespace Pirate.PiVote.Gui
{
public partial class DecryptPrivateKeyDialog : Form
{
... | {
"content_hash": "0631fea369590b4fd168769ccef2be8b",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 123,
"avg_line_length": 25.473684210526315,
"alnum_prop": 0.6035640495867769,
"repo_name": "dbrgn/pi-vote",
"id": "57c66929afc7c02e00c45c8b6ea54ce8936e43cb",
"size": "4022... |
Vignet::Vignet(const IplImage &img) : Filter(img, "Vignet") {
m_pointGrad = new PointGradient(cvPoint(img.width/2, img.height/2), 0.5, 1.0);
m_maskImg = cvCreateImage(cvGetSize(&img), IPL_DEPTH_64F, 1);
m_labImg = cvCreateImage(cvGetSize(&img), IPL_DEPTH_8U, 3);
}
Vignet::~Vignet() {
delete m_point... | {
"content_hash": "07e3555f233ff1494a9ee62c318019f1",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 82,
"avg_line_length": 20.6,
"alnum_prop": 0.6284201235657546,
"repo_name": "browny/filters-fun",
"id": "a2db67619ccd953cf979813e168ecb27874ccdde",
"size": "1166",
"binar... |
import codecs
import os
import re
from setuptools import setup, find_packages
with open('README.md') as f:
long_description = f.read()
###################################################################
NAME = "required"
PACKAGES = find_packages(where="src")
META_PATH = os.path.join("src", "required", "__init__... | {
"content_hash": "745a1d9b0378c1558c57f672349193ae",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 77,
"avg_line_length": 29.43820224719101,
"alnum_prop": 0.5732824427480916,
"repo_name": "shezadkhan137/required",
"id": "9c7cddf50205ba15bbdbea09d76faf23ebeb3268",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coquelicot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "1bff06eb5e0dfc233a89ff8830d27325",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 253,
"avg_line_length": 44.43604651162791,
"alnum_prop": 0.5571110820358498,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "ced1f70e6c790441309c5a5de1b776608088a440",
... |
package io.github.daviddenton.finagle.aws
case class AwsRegion(name: String) extends AnyVal {
override def toString = name
}
object AwsRegion {
val usEast = AwsRegion("us-east")
} | {
"content_hash": "4b1f4113dbb066163b86d84fe0aa5b30",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 51,
"avg_line_length": 20.555555555555557,
"alnum_prop": 0.7513513513513513,
"repo_name": "daviddenton/finagle-aws",
"id": "d9249badbdf79149f09bacfe26b7ca6f1795a0e8",
"size"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | {
"content_hash": "5d03774d173ea1da461cfa641d217ed0",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 159,
"avg_line_length": 40.171270718232044,
"alnum_prop": 0.560858203823408,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "97122502c1b98189dacc04eeef9c9c7af84679cd",
... |
package org.apache.guacamole.rest.history;
import org.apache.guacamole.net.auth.ActivityRecordSet;
import org.apache.guacamole.net.auth.ConnectionRecord;
/**
* A REST resource for retrieving and managing the history records of Guacamole
* connections. Connection history records describe the start/end times of eac... | {
"content_hash": "889905a930b3bc1326a4010c8829dbe5",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 113,
"avg_line_length": 33.53125,
"alnum_prop": 0.7576887232059646,
"repo_name": "mike-jumper/incubator-guacamole-client",
"id": "42e8a8581ae50af603ee8a18a461f0aa61d55193",
... |
// Blueberry
#include <berryISelectionService.h>
#include <berryIWorkbenchWindow.h>
// Qmitk
#include "QmitkFiberQuantificationView.h"
// Qt
#include <QMessageBox>
// MITK
#include <mitkNodePredicateProperty.h>
#include <mitkImageCast.h>
#include <mitkPointSet.h>
#include <mitkPlanarCircle.h>
#include <mitkPlanar... | {
"content_hash": "5588e56c835ecdd6f1b32065eea655e2",
"timestamp": "",
"source": "github",
"line_count": 463,
"max_line_length": 139,
"avg_line_length": 37.68034557235421,
"alnum_prop": 0.625300928579617,
"repo_name": "RabadanLab/MITKats",
"id": "75abea2c2291bf16d7acfc40001d064d8cf45260",
"size": "1... |
/*****************************************************************************/
/**
*
* @file xsdps_host.c
* @addtogroup sdps_v3_9
* @{
*
* Contains the interface functions of the XSdPs driver.
* See xsdps.h for a detailed description of the device and driver.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date ... | {
"content_hash": "33098fe3b193e4594eb2edf497dbadd0",
"timestamp": "",
"source": "github",
"line_count": 1798,
"max_line_length": 92,
"avg_line_length": 26.512791991101224,
"alnum_prop": 0.6091042584434655,
"repo_name": "armink/rt-thread",
"id": "25b5bc54cc01f0baebb2ef5904057ff8a28e8430",
"size": "4... |
'use strict';
function DeviceCtrl($rootScope, $scope, $route, $interval, GreenhouseService, $$getDevice, $$getEnvironment, $$getOutsideDataNow) {
var vm = this;
vm.device = $$getDevice.data;
vm.environment = $$getEnvironment.data;
vm.outsideData = $$getOutsideDataNow.data;
vm.temperatureData = [];
... | {
"content_hash": "1c38be0b754039201de85fe7c586ebee",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 133,
"avg_line_length": 34.270833333333336,
"alnum_prop": 0.5015197568389058,
"repo_name": "jkusnier/greenhouse-web",
"id": "7fb796b019ea871c218794d9282fb0bf368454c2",
"si... |
<!DOCTYPE html>
<meta charset=utf8>
<script src="../../resources/js-test.js"></script>
<p id="description"></p>
<div id="console">
Tests that hidden in markup works:
<div hidden><span class=fail>FAIL</span> - this line should not appear</div><div hidden=hidden><span class=fail>FAIL</span> - this line should not... | {
"content_hash": "dad32f13ca09495035f571767c96b26a",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 484,
"avg_line_length": 47.1025641025641,
"alnum_prop": 0.718562874251497,
"repo_name": "lordmos/blink",
"id": "38fdd01cdf5c32b4b950e36d4e12b50fd5bf62e6",
"size": "1837",
... |
class AnnotationDocument < ApplicationRecord
include Swagger::Blocks
serialize :payload, JSON
serialize :meta, JSON
belongs_to :project
belongs_to :raw_datum
belongs_to :interface_type
belongs_to :annotable, polymorphic: true
before_validation do
self.project = raw_datum.project if raw_datum
en... | {
"content_hash": "50418b05089ff74dc7a7aaeb713a9522",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 91,
"avg_line_length": 24.07920792079208,
"alnum_prop": 0.6291118421052632,
"repo_name": "Dalphi/dalphi",
"id": "52fc424aa34e7299651f25c61a338417ab296e95",
"size": "2432",... |
Absolutezero::Application.config.session_store :cookie_store, key: '_absolutezero_session'
| {
"content_hash": "06e779e77a3084701e35486ebc9fb3be",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 90,
"avg_line_length": 91,
"alnum_prop": 0.8131868131868132,
"repo_name": "Chun-Yang/absolutezero",
"id": "fd10e452d57a54280ee9e1a24348b83da614b53c",
"size": "152",
"binar... |
import * as vscode from 'vscode';
import { ElixirSenseClient } from './elixirSenseClient';
import { checkElixirSenseClientInitialized, checkTokenCancellation } from './elixirSenseValidations';
export class ElixirSenseDefinitionProvider implements vscode.DefinitionProvider {
elixirSenseClient: ElixirSenseClient;
... | {
"content_hash": "9cf3b0b0e0d351caac89ea0a84a6c55e",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 143,
"avg_line_length": 41.924528301886795,
"alnum_prop": 0.5922592259225923,
"repo_name": "mat-mcloughlin/vscode-elixir",
"id": "9517c168a3a19276bd232cea374d040ce5afc99c",
... |
Forms TODO
==========
BETA4 MUST HAVES
----------------
* CAPTCHA view helper
* Accept an element, pull the "captcha" attribute, and call render() on the
captcha
* Potentially a "captcha" element, with a dedicated property?
* Remove "InputFilterAwareInterface" from forms
RFC Items
---------
*... | {
"content_hash": "400a668403af52d53f830345d289ef22",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 111,
"avg_line_length": 41.63953488372093,
"alnum_prop": 0.6808154146886345,
"repo_name": "OtsList/OtsList.eu-AAC-for-OpenTibia",
"id": "d61f07929b33579be12f1e6df7281b4ada77c... |
ACCEPTED
#### According to
NUB Generator [implicit canonical]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "acaebd65bfc92e04d3c1b6151a2fbc96",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 34,
"avg_line_length": 9.923076923076923,
"alnum_prop": 0.6976744186046512,
"repo_name": "mdoering/backbone",
"id": "b7f0fc2eaf0685710f63dd188d3a673548fba098",
"size": "179... |
MModify::MModify(void) {
// Bei Beginn ist das Objekt nicht angehalten
setLock(false);
}
MModify::~MModify(void) {}
void MModify::display(OpenGL &aOpenGL){
aOpenGL.display(this);
}
void MModify::update(void){
update3();
}
void MModify::update(GLubyte aKey){
update2();
}
void MModify::upd... | {
"content_hash": "443834782b159be98e1f2010a96d714c",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 52,
"avg_line_length": 14.333333333333334,
"alnum_prop": 0.6361149110807114,
"repo_name": "hemmerling/cpp-3dogs",
"id": "3fdfd87ed38ca2996bd15119a0b1c29d7a14aa33",
"size": ... |
[](http://badge.fury.io/rb/refile)
[](https://travis-ci.org/refile/refile)
[](http://inch-ci.org/github/refile/refile)
Refile... | {
"content_hash": "320658fb047d2760918647f8ba19a022",
"timestamp": "",
"source": "github",
"line_count": 1038,
"max_line_length": 223,
"avg_line_length": 30.23699421965318,
"alnum_prop": 0.7391512139170331,
"repo_name": "refile/refile",
"id": "f6d7f70e1589d60ac548bdd400bf213f77423782",
"size": "3139... |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<configuration>
<testPath>/a/b/c</testPath>
<testValue>Hello</testValue>
<baseValue>Hello</baseValue>
</configuration>
| {
"content_hash": "2e341826817d2218c90a60420d61d2d3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 44,
"avg_line_length": 24.285714285714285,
"alnum_prop": 0.7,
"repo_name": "richkadel/flip.tv",
"id": "dafea0f451e43ad96d9718729d5e8efdaddcc044",
"size": "170",
"binary": ... |
{% extends "base.html" %}
{% load i18n %}
{% block main_class %}d-flex ovhd{% endblock %}
{% block main_content %}
<div class="row flex-1 d-flex w100 ovhd"> {# 'ovhd' is for Firefox #}
<div id="side-nav" class="side-nav side-tabnav col-md-3" >
<a href="#" title="{% trans "Close" %}" aria-label="{% trans "... | {
"content_hash": "85e2915cc2e0fa8502490bb4c84dd717",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 252,
"avg_line_length": 53.556451612903224,
"alnum_prop": 0.5112181900316217,
"repo_name": "miurahr/seahub",
"id": "267b8a9d400999e8afbae25d276546d1d0bc6e5a",
"size": "664... |
from __future__ import unicode_literals
from django.db import models, migrations
# This migration and the following one have been edited to be no-ops;
# previously, they set up django-markupfield's MarkupField for several
# fields on the blog models, then returned those fields to their
# original TextField definitio... | {
"content_hash": "79cc08b563fac25dba184daf61851519",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 70,
"avg_line_length": 33.875,
"alnum_prop": 0.7269372693726938,
"repo_name": "ubernostrum/blog",
"id": "c1b2045a483f8e83e618c78f0cfb1065eb3aef0e",
"size": "837",
"binary... |
namespace Facebook.CSSLayout
{
/**
* Class representing CSS spacing (padding, margin, and borders). This is mostly necessary to
* properly implement interactions and updates for properties like margin, marginLeft, and
* marginHorizontal.
*/
sealed class Spacing
{
/**
... | {
"content_hash": "52a5946d684a7da11103425620dde76e",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 107,
"avg_line_length": 33.392070484581495,
"alnum_prop": 0.512401055408971,
"repo_name": "gethinw/css-layout",
"id": "8c718e2573448f56d9900a52e7bb4682d35afa78",
"size": "... |
<?php
namespace Ublaboo\DataGrid\GroupAction;
use Nette;
/**
* @method void onSelect()
*/
class GroupMultiSelectAction extends GroupSelectAction
{
/**
* @var string
*/
protected $class = 'form-control input-sm selectpicker';
}
| {
"content_hash": "04c0f88cc84f41f4c6832f775a01822b",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 57,
"avg_line_length": 12.1,
"alnum_prop": 0.6942148760330579,
"repo_name": "chapcz/datagrid",
"id": "47a448706c7cbc500491830850ec202ab18ac1aa",
"size": "389",
"binary": ... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle(... | {
"content_hash": "556119532557e052ccc364e1c90f43bf",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 90,
"avg_line_length": 38.30769230769231,
"alnum_prop": 0.7570281124497992,
"repo_name": "trade-nexus/tradesharp-core",
"id": "482d00021bba5f89ac088b3aa2f0cea481006329",
"s... |
var app = angular.module("ethics-app");
// User delete controller
app.controller("userDeleteController", function($scope, $rootScope, $routeParams, $filter, $translate, $location, config, $window, $authenticationService, $userService) {
/*************************************************
FUNCTIONS
**... | {
"content_hash": "562a7572365aa886da498b8d5d02f983",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 170,
"avg_line_length": 31.75,
"alnum_prop": 0.5034120734908136,
"repo_name": "sitcomlab/Ethics-app",
"id": "e17b33b5248d6397484867a555e42d18794f3908",
"size": "1905",
"b... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.me.diankun.commonview">
<!-- 访问网络权限 -->
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".App"
android:allowBacku... | {
"content_hash": "605c90c62b15d2c57a116d98c6bd9e48",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 76,
"avg_line_length": 39.095238095238095,
"alnum_prop": 0.6169305724725944,
"repo_name": "qdiankun/androidbase",
"id": "bc6f9c9061dcb882d3ed5da43eb38cf7bca8422a",
"size": ... |
/*************************************
//
// rfid-socketio app
//
**************************************/
// express magic
var express = require('express');
var app = express();
var server = require('http').createServer(app)
var io = require('socket.io').listen(server);
var serialPort = require("serialport");
var Ser... | {
"content_hash": "9b32287cf4f222b6212bcb3a8fe88c69",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 100,
"avg_line_length": 22.62686567164179,
"alnum_prop": 0.5857519788918206,
"repo_name": "OpenUSJ/webrfid",
"id": "4888c1b163c9602f2e112324cd6608cb0387d1b2",
"size": "303... |
<?php
namespace tests\ObjectElement;
use Mockery\Adapter\Phpunit\MockeryTestCase;
use PHPCD\Element\ObjectElement\GenericProperty;
use Mockery;
use PHPCD\Element\ClassInfo\ClassInfo;
class GenericPropertyTest extends MockeryTestCase
{
public function testConstructor()
{
$classInfo = Mockery::mock(Cla... | {
"content_hash": "80b73f8aaec8e0209132cb470bc00e66",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 79,
"avg_line_length": 30.136363636363637,
"alnum_prop": 0.698340874811463,
"repo_name": "przepompownia/phpcd.vim",
"id": "a86a2d5862943711cffaff6027c7f2ff779ce159",
"size"... |
<span></table><span>
| {
"content_hash": "05dcd68e70c300ad19d9d21a03b75a1b",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 20,
"avg_line_length": 22,
"alnum_prop": 0.5909090909090909,
"repo_name": "robashton/zombify",
"id": "1839ecc88c90d593ba5f72a8da10ca5ebf1efe19",
"size": "22",
"binary": fa... |
#region Copyright
//
// DotNetNuke® - https://www.dnnsoftware.com
// Copyright (c) 2002-2018
// by DotNetNuke Corporation
//
// 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 restri... | {
"content_hash": "06b3a726bd655b88c06a67840f7f89ad",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 116,
"avg_line_length": 44.932203389830505,
"alnum_prop": 0.7578272350056583,
"repo_name": "RichardHowells/Dnn.Platform",
"id": "5a15c3ed68e04da639fc1ef6c8071b3c767522c3",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_51) on Thu Apr 28 18:37:27 UTC 2016 -->
<title>EncryptionOptions.ServerEncryptionOptions.InternodeEncryption (apache-cassandra API)</ti... | {
"content_hash": "e72216a484dbd58ab6f597f1ae6c7589",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 297,
"avg_line_length": 43.84571428571429,
"alnum_prop": 0.6954255180503063,
"repo_name": "elisska/cloudera-cassandra",
"id": "6f0e94b4ff11e5ff6890facc6a0f77af8c3b485f",
"... |
// Copyright (c) DotSpatial Team. All rights reserved.
// Licensed under the MIT license. See License.txt file in the project root for full license information.
using System;
namespace DotSpatial.Controls.Header
{
/// <summary>
/// By using this interface, the developers can create a button, menu, ribbon tab... | {
"content_hash": "5104904761b3e54e5f92cfdf731ff52f",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 112,
"avg_line_length": 31.134615384615383,
"alnum_prop": 0.6046942557134033,
"repo_name": "DotSpatial/DotSpatial",
"id": "8f3078301de2dd02faeeba10a1db251f4c22318c",
"size"... |
NAME = airdock/node
VERSION = 10
.PHONY: all clean build tag_latest release debug run
all: build
clean:
@CID=$(shell docker ps -a | awk '{ print $$1 " " $$2 }' | grep $(NAME) | awk '{ print $$1 }'); if [ ! -z "$$CID" ]; then echo "Removing container which reference $(NAME)"; for container in $(CID); do docker rm -f... | {
"content_hash": "1f4b0e5646717df841f242864f8899af",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 236,
"avg_line_length": 30.6,
"alnum_prop": 0.6220043572984749,
"repo_name": "airdock-io/docker-node",
"id": "7eb462775ef911b27290d3142747da0c9896fc4f",
"size": "918",
"b... |
package com.sun.org.apache.xerces.internal.util;
import java.util.Enumeration;
import java.util.Vector;
import javax.xml.namespace.NamespaceContext;
/**
* Writing a wrapper to re-use most of the namespace functionality
* already provided by NamespaceSupport, which implements NamespaceContext
* from XNI. It would... | {
"content_hash": "63f6e570ff8c38426c6083553cd2bc0e",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 90,
"avg_line_length": 32.80597014925373,
"alnum_prop": 0.6965423111919927,
"repo_name": "rokn/Count_Words_2015",
"id": "214315946fce0f7c2848d42fe55932dbf596a3f2",
"size": ... |
/*
* File: ParallelSuite.h
* Author: daniel
*
* Created on September 13, 2015, 5:14 PM
*/
#ifndef PARALLELSUITE_H
#define PARALLELSUITE_H
#include <thread>
#include <future>
#include "TestSuite.h"
#include "SynchronizedOutput.h"
namespace Test
{
/*!
* A suite which calls every sub-suite in an own t... | {
"content_hash": "5fd5cdc7cf9fb5934df83cd37b24fe73",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 86,
"avg_line_length": 20.9,
"alnum_prop": 0.6507177033492823,
"repo_name": "Kaayy-J/OHMComm-Light",
"id": "d171e0fc6d80f917547d3fd9370aaa08ea9fb47f",
"size": "836",
"bin... |
using namespace std;
int str_len;
void printAll(string text,int index,string str){
if(index==str_len) {cout<<str<<endl;return;}
else {
printAll(text,index+1,str);
str+=text[index];
printAll(text,index+1,str);
}
}
int main(int argc, char const *argv[])
{
string str="";
string text="ABCD";
str_len=4;
print... | {
"content_hash": "f22d1d59e4949eadacab44fb2e4247ae",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 48,
"avg_line_length": 17.45,
"alnum_prop": 0.667621776504298,
"repo_name": "AadityaJ/Spoj",
"id": "e025373d7718e681fa7271a391d6190905c7fe7e",
"size": "387",
"binary": fa... |
import string
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support.ui import Select
from selenium.common.exceptions import StaleElementReferenceException
from selenium.common.exceptions import NoSuchElementException
impor... | {
"content_hash": "835a48b9fc8768e5013ca5914228e28b",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 127,
"avg_line_length": 29.65497076023392,
"alnum_prop": 0.6933543679747585,
"repo_name": "jvahala/brew-thing",
"id": "4ac64c15b9841d1ac7ae07f0aa11a24fd7f58f2f",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/ct_white" />
<stroke android:color="@color/ct_divider" android:width="@dimen/ct_single_px"/>
<corners android:topLeftRadius="3dp" android:... | {
"content_hash": "f533e20b4a5224ae5d2ebbbca3237e99",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 83,
"avg_line_length": 53,
"alnum_prop": 0.6981132075471698,
"repo_name": "fuhongliang/CuiTrip",
"id": "56ba2ab89010e9c3d4a2b1bbfde1cb2984c33dd6",
"size": "424",
"binary":... |
package com.george.plugins.jira;
import java.io.File;
import org.apache.maven.plugin.testing.AbstractMojoTestCase;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
@RunWith(JUnit4.class)
public class GenerateReleaseNotesMojoTest extends Abst... | {
"content_hash": "a8a2c00811c65362dfc9fa5525c0941b",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 72,
"avg_line_length": 24.75,
"alnum_prop": 0.7411616161616161,
"repo_name": "maxifier/jira-maven-plugin",
"id": "51c81cc87fcbcee37a29cd5cb423b916e3592f10",
"size": "792",
... |
http://jasmine.github.io/1.3/introduction.html
https://github.com/mhevery/jasmine-node
jasmine-node jasmine-spec --verbose
| {
"content_hash": "95e59e2a4418ab8c2b449660fc87e945",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 46,
"avg_line_length": 41,
"alnum_prop": 0.7967479674796748,
"repo_name": "osser/nodejs-sample",
"id": "50b1c0e5e23a8eac6b0f78067a45acb6f658d933",
"size": "123",
"binary":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "c761d82789f7da372b42ae5737d040ed",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 159,
"avg_line_length": 41.78488372093023,
"alnum_prop": 0.5489077501043551,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "94ddad7a39d7a1a00a88baf1f462603808c94aa9",
... |
var expect = require('chai').expect;
var uniq = require('lodash').uniq;
var config = require('../../../../config');
// NOTE: we run tests in chrome only, because we mainly test server API functionality.
describe('[API] fixture.beforeEach/fixture.afterEach hooks', function () {
it('Should run hooks for all tests... | {
"content_hash": "60aae3a50cf76e8781698e8176d0b5c7",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 115,
"avg_line_length": 43.25,
"alnum_prop": 0.5321222130470685,
"repo_name": "churkin/testcafe",
"id": "0825c814836db4376df3998a29f90a1d09759c03",
"size": "6055",
"bina... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="rustdoc">
<meta name="description" content="API documentation for the Rust `GLOB_DOOFFS` constant in crate `libc`.">
<meta name="keywo... | {
"content_hash": "a80ceff7e5fab69be38321235f538511",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 199,
"avg_line_length": 37.252252252252255,
"alnum_prop": 0.5136638452237001,
"repo_name": "ebfull/ebfull.github.io",
"id": "43dbd753491fec224045592125a550d81db36414",
"si... |
package net.bull.javamelody;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Desktop;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.util.List;
import javax.swing.... | {
"content_hash": "c618b3780ed3cb1526194ef69b01ac2b",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 87,
"avg_line_length": 29.147783251231527,
"alnum_prop": 0.7201284434679737,
"repo_name": "javamelody/javamelody",
"id": "823a67fb471c0cee53d0bc3648dd98f30ab9a266",
"size"... |
from setuptools import setup, find_packages
import glob
# Get __version__
exec(open('nbserve/meta.py').read())
requires = ['flask',
'runipy',
'jupyter',
'tornado',
'jinja2',
'pyzmq']
setup(
name=__progname__,
version=__version__,
long_descriptio... | {
"content_hash": "3a4b03030d2b188455def6c0c0893249",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 77,
"avg_line_length": 25.448275862068964,
"alnum_prop": 0.5772357723577236,
"repo_name": "robchambers/nbserve",
"id": "188e486e80ece96f44dbbfbbf675c5e58a27137d",
"size": "... |
class Ticket < ActiveRecord::Base
include Interactable
attr_accessible :attendee, :event, :kind, :eventbrite_xid
belongs_to :attendee
belongs_to :event
has_many :interactions, as: :interactable
validates :eventbrite_xid, presence: true, uniqueness: true
validates :attendee_id, presence: true
validate... | {
"content_hash": "6672d9acbfbca00388ed6a2810b471bc",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 23.870967741935484,
"alnum_prop": 0.7216216216216216,
"repo_name": "geeksoflondon/hamster",
"id": "de495033a01b903f43348fa4910abe76008212d9",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated 17-April-2008 11:26:55.8906250 -->
<!-- Generated by MathSBML 2.7.2b -->
<!-- Generated using Mathematica Version 5.2 for Microsoft Windows (June 20, 2005) -->
<sbml xmlns="http://www.sbml.org/sbml/level2/version3"
level="2"
version="3">
<model id="case0042... | {
"content_hash": "f8001eb7d64dbea7d5108a2f1363ee0e",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 86,
"avg_line_length": 25.41614906832298,
"alnum_prop": 0.5625610948191594,
"repo_name": "stanleygu/sbmltest2archive",
"id": "2791a5da6f76998c2d2bf97bb90c20fc26ce7ca0",
"s... |
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
<h1> Hello. Welcome to the jQuery DOM Manipulation Challenge! </h1>
... | {
"content_hash": "703852f3d5804d64867bb1da39b8c409",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 89,
"avg_line_length": 26.15,
"alnum_prop": 0.6462715105162524,
"repo_name": "ZABarton/phase-0",
"id": "b685cab2f2f051e661d6b13e28d7ae278f4b55ea",
"size": "523",
"binary"... |
@interface FirstViewController ()
@end
@implementation FirstViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be ... | {
"content_hash": "a437d368071d8514a1ea8c4b7f19e107",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 76,
"avg_line_length": 19.941176470588236,
"alnum_prop": 0.7315634218289085,
"repo_name": "iqv8/ios.iqv8",
"id": "b61a20c3d3dd7519f21bc7d53f4b6c5a5c119fbf",
"size": "500",
... |
namespace {
// A class used to wait for animations.
class TestAPIAnimationObserver : public views::BoundsAnimatorObserver {
public:
TestAPIAnimationObserver() {}
virtual ~TestAPIAnimationObserver() {}
// views::BoundsAnimatorObserver overrides:
virtual void OnBoundsAnimatorProgressed(
views::BoundsAnim... | {
"content_hash": "b72bb715076ca2a2e3ccfd789b37d499",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 80,
"avg_line_length": 28.9125,
"alnum_prop": 0.748378728923476,
"repo_name": "junmin-zhu/chromium-rivertrail",
"id": "8d2885bb33e457543e09fe437244946bf20afd4d",
"size": "2... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3a5a2d8b79277a45ca73ee46cff4cbc2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "48dbfcc29b391ff6ee7ca435d3c13af3cbbe8d82",
"size": "197... |
package com.runetooncraft.warpigeon.engine.entity.mob;
import com.runetooncraft.warpigeon.engine.entity.Entity;
import com.runetooncraft.warpigeon.engine.graphics.AnimatedSprite;
import com.runetooncraft.warpigeon.engine.graphics.ScreenEngine2D;
import com.runetooncraft.warpigeon.engine.graphics.Sprite;
import c... | {
"content_hash": "2e5b4d9a4f51c98b75e4919fb657174f",
"timestamp": "",
"source": "github",
"line_count": 278,
"max_line_length": 213,
"avg_line_length": 29.262589928057555,
"alnum_prop": 0.6122925629993854,
"repo_name": "WarPigeon/War-Pigeon-Engine",
"id": "b32c5bbb92a302128589e5018ab35d67923bb263",
... |
/*
* Reset styles
* ----------------------------------------------------------------------------
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, t... | {
"content_hash": "beb083400eb68df0dbc4dee54602f906",
"timestamp": "",
"source": "github",
"line_count": 2274,
"max_line_length": 133,
"avg_line_length": 19.38258575197889,
"alnum_prop": 0.6422542880479173,
"repo_name": "hueniverse/postmile-web",
"id": "12e1e9f7e3807d5f9c7309720bcd8571740b4893",
"si... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Nane.Views;
using Xamarin.Forms;
namespace Nane
{
public class App : Application
{
public App()
{
// The root page of your application
MainPage = new Nane.Views.MainPage();
}
... | {
"content_hash": "271e3f39383742813e9f6289db01446e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 48,
"avg_line_length": 19.515151515151516,
"alnum_prop": 0.5574534161490683,
"repo_name": "SezginEge/Nane",
"id": "725a6d32404fb089793e8337613989e7b3058a56",
"size": "646",... |
<?php
require_once 'Twitter.php';
require_once 'mongoQueue.php';
require_once 'config.php';
$logFile = "crawler.log";
echo "You can kill this process ONLY when this is sleeping.\n\n";
// DBへ接続してコレクションを指定
$mongo = new Mongo();
$db = $mongo->selectDB(DB_NAME);
$dataCol = $db->selectCollection(DATA_COLLECTION_NAME);
/... | {
"content_hash": "052da3270f560874d522818f0a18651f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 95,
"avg_line_length": 27.56,
"alnum_prop": 0.6690856313497823,
"repo_name": "tcyyky/twitter_crawler",
"id": "4d9e75d0e7d3442b9e76b2b78a130efb22b363f6",
"size": "2423",
"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace _05.Only_Letters
{
class OnlyLetters
{
static void Main()
{
string input = Console.ReadLine();
var matches = Regex.Matches(input, @"(?<... | {
"content_hash": "41ac6b2eb6b28dd6addc40967b907cd7",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 90,
"avg_line_length": 24.193548387096776,
"alnum_prop": 0.5133333333333333,
"repo_name": "Shtereva/Fundamentals-with-CSharp",
"id": "b9c33ba9562e0eff7876a9ffcf29927a65f93147... |
import expect = require('expect.js');
import {
CommandRegistry
} from '@phosphor/commands';
import {
h, VirtualNode, VirtualDOM
} from '@phosphor/virtualdom';
import {
simulate
} from 'simulate-event';
import {
CommandLinker
} from '@jupyterlab/apputils';
describe('@jupyterlab/apputils', () => {
descri... | {
"content_hash": "9a53793e9763e74b8ce2df40a4983c4e",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 79,
"avg_line_length": 26.47972972972973,
"alnum_prop": 0.571829548354172,
"repo_name": "eskirk/jupyterlab",
"id": "295b7128fea027bd9cb3cdd18126606edf9b7246",
"size": "402... |
package org.jgroups.raft.client;
import org.jgroups.protocols.raft.CLIENT;
import org.jgroups.util.Util;
import java.net.InetAddress;
import java.util.concurrent.CompletableFuture;
/**
* Client which accesses the {@link org.jgroups.protocols.raft.CLIENT} protocol through a socket. Currently used to
* submit addSer... | {
"content_hash": "2a6a7f92e2b7d564f4cb953ccfa9e533",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 121,
"avg_line_length": 35.63855421686747,
"alnum_prop": 0.5267072346179851,
"repo_name": "belaban/jgroups-raft",
"id": "224739d0e79523333cfd1570460b3d09eadd4301",
"size": ... |
"use strict";
/** Information about an XLSX file
* @author TeamworkGuy2
* @since 2016-5-27
* @see OpenXmlIo.XlsxFileType
*/
var XlsxFileTypeImpl = /** @class */ (function () {
function XlsxFileTypeImpl(schemaUrl, contentType, schemaTarget, xlsxFilePath, pathIsTemplate, pathTemplateToken) {
this.schemaUr... | {
"content_hash": "da7be40bd18fb9616eefde2e6926d07c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 133,
"avg_line_length": 43.77272727272727,
"alnum_prop": 0.7102803738317757,
"repo_name": "TeamworkGuy2/xlsx-spec-utils",
"id": "735ceb4764f621b6a4cd862e692858b94afa2bc0",
... |
"""
Url Length Spider Middleware
See documentation in docs/topics/spider-middleware.rst
"""
import logging
from scrapy.http import Request
from scrapy.exceptions import NotConfigured
logger = logging.getLogger(__name__)
class UrlLengthMiddleware:
def __init__(self, maxlength):
self.maxlength = maxlen... | {
"content_hash": "15bd7dd928d79fa681a885fe57df953d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 28.405405405405407,
"alnum_prop": 0.6060894386298763,
"repo_name": "dangra/scrapy",
"id": "5be1f80cb05f181421a11e16291b4b3f97c80ec8",
"size": "1051",... |
package ch.harmen.iot.tinkerforge;
import com.tinkerforge.IPConnection;
interface ComponentFactory {
Object createComponent(final String uid,
final
IPConnection ipConnection);
}
| {
"content_hash": "c53574cce94d58ff6de27441932d384f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 54,
"avg_line_length": 21.818181818181817,
"alnum_prop": 0.625,
"repo_name": "harmenweber/space-project",
"id": "59626136ff907c0f0aac7a7dc05771e3ef6bdd5a",
"size": "240",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Musician & technologist; alumni of Cornell University and Fullstack Academy. Previo... | {
"content_hash": "2d9384c12a270652b1a48554d5f6b5a9",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 207,
"avg_line_length": 34.333333333333336,
"alnum_prop": 0.594722429673886,
"repo_name": "fourestfire/fourestfire.github.io",
"id": "c2d17ba10acbe79af6387e5e123d79895dc5a2c... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.