text stringlengths 2 1.04M | meta dict |
|---|---|
/* $NetBSD: hack.engrave.c,v 1.14 2011/08/07 06:03:45 dholland Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
* Amsterdam
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following cond... | {
"content_hash": "30389346680d3d9d76c3e74f9466dc2e",
"timestamp": "",
"source": "github",
"line_count": 399,
"max_line_length": 78,
"avg_line_length": 25.842105263157894,
"alnum_prop": 0.6090582872660266,
"repo_name": "execunix/vinos",
"id": "cd82725d5793d00952118f167e84b09ed9a6f41e",
"size": "1031... |
<table id="arial-black">
<thead>
<th><abbr title="Operating System">OS</abbr></th>
<th>
<span class="legend supported"><span class="icon-supported" aria-hidden="true"></span> Supported</span>
<span class="legend aliased"><span class="icon-aliased" aria-hidden="true"></span>Aliased</span>
<span class="lege... | {
"content_hash": "865534b3b8b659b126abd904a0b1fa22",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 204,
"avg_line_length": 38.60344827586207,
"alnum_prop": 0.6079723090665475,
"repo_name": "zachleat/font-family-reunion",
"id": "d2455aa30be0b5a250b27afe872a50f661101eab",
... |
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
❤️ **Donate:** Enjoying MagicMirror²? [Please consider a donation!](https://magicmirror.builders/donate) With your help we can continue to improve the MagicMirror²
## [2.11.0] - 2020... | {
"content_hash": "f7f9cb3a93da95d0cef074dbf11eae63",
"timestamp": "",
"source": "github",
"line_count": 702,
"max_line_length": 731,
"avg_line_length": 58.65242165242165,
"alnum_prop": 0.7805411181813766,
"repo_name": "n8many/MagicMirror",
"id": "0c952791e1fd17a742a7d6b6a4648b20986ac6e2",
"size": "... |
package util
// Flags represents a set of boolean flags as a bit mask.
type Flags uint64
const (
FlagNone Flags = 0
)
// HasFlag return true
func (fs Flags) HasFlag(f Flags) bool {
return fs&f > 0
}
| {
"content_hash": "2097815b56ef862e410f42d29b27cbd2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 57,
"avg_line_length": 16.692307692307693,
"alnum_prop": 0.6589861751152074,
"repo_name": "andreasstrack/util",
"id": "78664743005139136ddc1d27108e37a38fc4bc74",
"size": "2... |
package com.example.scoop.basics.common.time;
import java.text.SimpleDateFormat;
import java.util.Locale;
import java.util.TimeZone;
public class Iso8601Formatter {
public static SimpleDateFormat create() {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.US);
... | {
"content_hash": "7479a61fd50c3aef3f87b551bc18b3b8",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 104,
"avg_line_length": 30.5,
"alnum_prop": 0.7423887587822015,
"repo_name": "lyft/scoop",
"id": "04865dcccff3aea5e31e9c4515b5257b3d01e18c",
"size": "427",
"binary": fals... |
package com.commonsware.cwac.saferoom.test;
import androidx.annotation.NonNull;
import com.commonsware.dbtest.ClosedDatabaseTests;
import com.commonsware.dbtest.FactoryProvider;
public class SafeClosedDatabaseTests extends ClosedDatabaseTests {
@NonNull
@Override
protected FactoryProvider buildFactoryProv... | {
"content_hash": "603c8ce1e978d11b4462d18570bf01a2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 66,
"avg_line_length": 29.153846153846153,
"alnum_prop": 0.7941952506596306,
"repo_name": "commonsguy/cwac-saferoom",
"id": "77d66592294f864f7065aca86418534a785ce2a4",
"siz... |
<?php
/**
* sfI18N wraps the core i18n classes for a symfony context.
*
* @package symfony
* @subpackage i18n
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @version SVN: $Id: sfI18N.class.php 29520 2010-05-19 11:47:08Z fabien $
*/
class sfI18N
{
protected
$... | {
"content_hash": "7d0226ce887fcb6bec261375034759c2",
"timestamp": "",
"source": "github",
"line_count": 429,
"max_line_length": 156,
"avg_line_length": 29.76923076923077,
"alnum_prop": 0.588520867590635,
"repo_name": "studiodev/archives",
"id": "a754cdb3533ab409302063ace5fa28d31cd42318",
"size": "1... |
int main(int argc, char *argv[]) {
@autoreleasepool {
int retVal = UIApplicationMain(argc, argv, nil, nil);
return retVal;
}
}
| {
"content_hash": "7927c213512e68f9266b036ed9f7f836",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 22.285714285714285,
"alnum_prop": 0.5705128205128205,
"repo_name": "spectralmind/sonarflow-ios",
"id": "7beaf47d59f5e4aef74adcc2f2739f487b707913",
"si... |
package AliTV;
use 5.010000;
use strict;
use warnings;
use parent 'AliTV::Base';
use POSIX qw(ceil floor);
use YAML;
use Hash::Merge;
use AliTV::Genome;
use AliTV::Tree;
use File::Copy;
use JSON;
sub _initialize
{
my $self = shift;
# initialize the yml settings using the default config
$self->{_yml... | {
"content_hash": "65b4a7e153d85531abeb3f2e26d67220",
"timestamp": "",
"source": "github",
"line_count": 806,
"max_line_length": 199,
"avg_line_length": 27.450372208436725,
"alnum_prop": 0.5741468926553672,
"repo_name": "greatfireball/AliTV-perl-interface",
"id": "57d143363b45df8a11b1cc1036a9692d2bab0... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Enkodi remote controller</title>
<script>
(function() {
if (!process.env.HOT) {
const link = document.createElement('link');
link.rel = 'stylesheet';
link.href = './dist/style.css';
document.... | {
"content_hash": "9e9414ff92daa1b65b732c5fbb3b26d7",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 58,
"avg_line_length": 23.12121212121212,
"alnum_prop": 0.5163826998689384,
"repo_name": "qgadrian/enkodi-desktop",
"id": "fda7c32d96028de6b6dd549d4e0ba938eb03be16",
"size"... |
<nav>
<ul>
<li class="recieving-nav"><a href="<?php echo Yii::$app->getUrlManager()->getBaseUrl();?>/receiving/index"><i class="fa fa-download"></i> <span>Receiving</span></a></li>
<li class="dispatching-nav"><a href="<?php echo Yii::$app->getUrlManager()->getBaseUrl();?>/dispatching/index"><i class="fa fa... | {
"content_hash": "c863a8fc60f74e25635364faaa901f7b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 185,
"avg_line_length": 95.22222222222223,
"alnum_prop": 0.6207701283547258,
"repo_name": "ybanezmi/brds",
"id": "29ded4dee7731377f108168d53d58d62f5602c27",
"size": "857",
... |
Rails.application.routes.draw do
root 'home#index'
# get '/about' => 'home#about', as: 'about'
get '/photos/:id/:style/:device' => 'buildings#photo', as: 'photo'
get '/forge' => 'forge#index', as: 'forge'
get '/forge/list' => 'forge#list', as: 'forge_list'
devise_for :users,
path: 'u',
... | {
"content_hash": "20289a97f0bf320de4c16273c52944e9",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 96,
"avg_line_length": 29.224043715846996,
"alnum_prop": 0.5914360508601346,
"repo_name": "dfurber/historyforge",
"id": "ce7e99660d62daeedd2d6bdbe23617edc993c889",
"size":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c696f4ead90467f96ecb0b95d12b814b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "4391ec2a442fb957d82e6f0b5bde41d2f826fdb4",
"size": "192... |
/*!
* wavesurfer.js 2.1.1 (2018-11-19)
* https://github.com/katspaugh/wavesurfer.js
* @license BSD-3-Clause
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)... | {
"content_hash": "08e2124b9e85ccf86d078e1dc7f413bc",
"timestamp": "",
"source": "github",
"line_count": 753,
"max_line_length": 317,
"avg_line_length": 32.27091633466136,
"alnum_prop": 0.5762139917695474,
"repo_name": "extend1994/cdnjs",
"id": "120a5fa42f5f31dcc25b0ce61ffc8da455aae59f",
"size": "24... |
if [ "$1" != "" ] && [ "$1" = "-h" ]; then
echo "Shipyard Deploy uses the following environment variables:"
echo " ACTION: this is the action to use (deploy, upgrade, node, remove)"
echo " DISCOVERY: discovery system used by Swarm (only if using 'node' action)"
echo " IMAGE: this overrides the defaul... | {
"content_hash": "d91dff423110cf0f2f3d4f074a9e2d87",
"timestamp": "",
"source": "github",
"line_count": 371,
"max_line_length": 179,
"avg_line_length": 27.328840970350406,
"alnum_prop": 0.6084426472038662,
"repo_name": "MarsBighead/mustang",
"id": "d24b5a1735a66473c499ac0b97497e2d7255c1ae",
"size":... |
package org.elasticsearch.cluster.routing.allocation;
import org.elasticsearch.cluster.ClusterState;
import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticsearch.cluster.metadata.MetaData;
import org.elasticsearch.cluster.node.DiscoveryNodes;
import org.elasticsearch.cluster.routing.RoutingTable... | {
"content_hash": "ef435095b9fb3d474875467b7e8b4d5f",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 143,
"avg_line_length": 51.96511627906977,
"alnum_prop": 0.7290221526068472,
"repo_name": "andrewvc/elasticsearch",
"id": "36a20bc3f0f00416c466a49715fc938f0cf3c1bc",
"size"... |
#include "stdafx.h"
#include "actor.h"
#include "weapon.h"
#include "mercuryball.h"
#include "inventory.h"
#include "hudmanager.h"
#include "character_info.h"
#include "xr_level_controller.h"
#include "UsableScriptObject.h"
#include "customzone.h"
#include "GameMtlLib.h"
#include "ui/UIMainIngameWnd.h"
#include "Grenad... | {
"content_hash": "c42510f27016004852b8cd02a7cf5193",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 119,
"avg_line_length": 27.81967213114754,
"alnum_prop": 0.6624926340601061,
"repo_name": "OLR-xray/XRay-NEW",
"id": "c7e95a551c53b123a40da264cb3ddcc617f63308",
"size": "6... |
package com.daniel.weixin.cp.bean;
import org.testng.Assert;
import org.testng.annotations.Test;
@Test
public class WxCpXmlOutImageMessageTest {
public void test() {
WxCpXmlOutImageMessage m = new WxCpXmlOutImageMessage();
m.setMediaId("ddfefesfsdfef");
m.setCreateTime(1122l);
m.setFromUserName("fr... | {
"content_hash": "7ed4b2fe09e5e2f58857d370ec418310",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 120,
"avg_line_length": 34.270833333333336,
"alnum_prop": 0.5604863221884498,
"repo_name": "danileyang/mmp",
"id": "14e14defd12a9c72920594ed7fdfa9d9b923e988",
"size": "1645... |
package com.github.dmutti.annotations.strings;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface StringLength {
/** tamanho minimo da string */
int min() default 0;
/** tamanho maximo da string */
int max() default 0;
}
| {
"content_hash": "2fc28bfa2e03cba405ddb3c3fb189c89",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 46,
"avg_line_length": 19,
"alnum_prop": 0.7039473684210527,
"repo_name": "dmutti/object-validator",
"id": "0f9f1f62b6fb817bd8a1fcdaad69b2ddb20f6a3f",
"size": "920",
"bin... |
package com.mishiranu.dashchan.ui.preference;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.text.InputType;
import android.text.SpannableStringBuilder;
import android.text.style.ForegroundColorSpan;
import android.util.P... | {
"content_hash": "0aef0095c27d8508205d58da78c17b73",
"timestamp": "",
"source": "github",
"line_count": 306,
"max_line_length": 110,
"avg_line_length": 41.35294117647059,
"alnum_prop": 0.7720088509562194,
"repo_name": "Mishiranu/Dashchan",
"id": "7f294c7492f0c6aa8a1f1505744bc8bff7af34b9",
"size": "... |
package com.itheima.oschina.widget;
import android.app.Activity;
import android.support.v4.app.ShareCompat;
import android.text.style.ClickableSpan;
import android.view.View;
public class EmailSpan extends ClickableSpan {
private String email;
public EmailSpan(String email) {
this.email = email;
}
@Override
... | {
"content_hash": "602147c101192ee2b030af0919b9c3cf",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 64,
"avg_line_length": 22.833333333333332,
"alnum_prop": 0.7343065693430657,
"repo_name": "CoderTang/Itheima72",
"id": "872ca87923b4137e7300efd95ae2073b4b5f7ef6",
"size": "... |
<?php
namespace model\database;
use model\database\Connect\Connection;
use PDO;
class ProductImagesDao {
//Make Singleton
private static $instance;
private $pdo;
//Statements defined as constants
const ADD_PRODUCT_IMAGE = "INSERT INTO images (image_url, product_id) VALUES (?, ?)";
const G... | {
"content_hash": "c0e870e38894ed961011291fb53b164c",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 89,
"avg_line_length": 24.341176470588234,
"alnum_prop": 0.6191396810053166,
"repo_name": "lgadzhev/MagBuy",
"id": "ce6ff689afd90601f95f38348c91ada5d6786f1b",
"size": "2069... |
DOUBTFUL
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "07539a497f4f7b54408abf13578e34cb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "eaacfcf18c0f4c5373b054046498587afab9eaa2",
"size": "19... |
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information#
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you ma... | {
"content_hash": "0bb3cf862f6fb15ff124258e9c65a7ed",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 81,
"avg_line_length": 34.06024096385542,
"alnum_prop": 0.7347010965688009,
"repo_name": "apache/cloudstack-docs-install",
"id": "153146214e15f315bb33a5578fbdee0cf88a7081",
... |
<?php include 'header.php';
//==================== Insert New User =======================
if(isset($_POST['btnSave'])){
$cboBranch = $_POST['cboBranch'];
$txtUserName = post('txtUserName');
$txtPassword = post('txtPassword');
$txtLevel = post('txtLevel');
$txtDescription = post('txtDescription');
$... | {
"content_hash": "b147156bc5a2472bebb93361a6fc175c",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 141,
"avg_line_length": 43.75,
"alnum_prop": 0.33766233766233766,
"repo_name": "khbuoyrupppiseth7/WebShop",
"id": "21b38535b953a2b494ae7c84291218f26fae7c20",
"size": "5775... |
import * as React from 'react';
import { IconBaseProps } from 'react-icon-base';
export default class MdFilter3 extends React.Component<IconBaseProps, any> { } | {
"content_hash": "3b41369fdb4b34bcb87979c3cd510980",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 78,
"avg_line_length": 53,
"alnum_prop": 0.7672955974842768,
"repo_name": "progre/DefinitelyTyped",
"id": "891dd23d84fad8c4df3a8b8a7e31c89f44cf5336",
"size": "187",
"binar... |
PORTNAME= inn
PORTVERSION= 2.2.2
CATEGORIES= news
MASTER_SITES= ftp://ftp.isc.org/isc/inn/
PATCH_SITES= ftp://ftp.north.ad.jp/pub/IPv6/INN/
PATCHFILES= inn-2.2.2-v6-19991224.diff.gz
PATCH_DIST_STRIP= -p1
# Based on torstenb's port (1999/05/02)
MAINTAINER= kobayasi@north.ad.jp
Y2K= http://www.isc.org/inn-y2k.html
U... | {
"content_hash": "7fc7c28f2d154ccb5e912a012535fd31",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 76,
"avg_line_length": 35.442622950819676,
"alnum_prop": 0.7428307123034228,
"repo_name": "MarginC/kame",
"id": "1551440bfee268287ac521b8a0cd1a5ecd560de5",
"size": "2361",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Domain
{
public enum EntityStateOption {
Active,
Deleted,
}
public abstract class BaseEntity
{
public EntityStateOption EntityState { get; set; }
... | {
"content_hash": "81a132184a5489c8bd6e9b0a6ac4ecad",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 58,
"avg_line_length": 20.925925925925927,
"alnum_prop": 0.5893805309734513,
"repo_name": "asachanxxx/HRM",
"id": "f918a82544f9dea436d348e101ff6392b371b277",
"size": "567",... |
<?php
//namespace Library\Core;
class Data
{
public function __get($property) {
if (property_exists($this, $property)) {
return $this->$property;
}
}
public function __set($property, $value) {
//if (property_exists($this, $property)) {
$this->$property ... | {
"content_hash": "8ef298d2679c7cd44ac4a1c4346619ae",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 50,
"avg_line_length": 20.84,
"alnum_prop": 0.4990403071017274,
"repo_name": "ydk2/ymvc",
"id": "a491c552730f49e16daa16ef8c900e553d4e9e30",
"size": "521",
"binary": false... |
package com.googlecode.dex2jar.reader.io;
import java.io.File;
public class LeRandomAccessFileInput extends BeRandomAccessFileInput {
public LeRandomAccessFileInput(File file) {
super(file);
}
@Override
public int readUShortx() {
return readUByte() | (readUByte() << 8);... | {
"content_hash": "d74f2279c132bd65cc3c43e557b3086f",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 92,
"avg_line_length": 20,
"alnum_prop": 0.5696969696969697,
"repo_name": "acgmohu/android-toolkit",
"id": "67f6198c2b9fea939fc0ceef98d228515b1d4d3b",
"size": "1279",
"bi... |
package com.shootbox.t_fragment_activity;
import android.app.Activity;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
/**
* Created by yangyankai on 2015/11/17.
*/
public class LeftF... | {
"content_hash": "25850ad1d5dd0d92a1be502f96b5cb33",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 98,
"avg_line_length": 25.035714285714285,
"alnum_prop": 0.7589158345221113,
"repo_name": "yangyankai/Fragment-fragment-callbackListener",
"id": "e6a5c09e85d9fcd560f458e98e91... |
title: Portfolio
permalink: portfolio/webb/
layout: portfolio-category
header-title: <a href="/portfolio">Portfolio</a>
header-text: Webbprojekt
category: webb
---
| {
"content_hash": "4b95fd69f795142f7a7fdc4ce1a23a9b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 48,
"avg_line_length": 23.428571428571427,
"alnum_prop": 0.774390243902439,
"repo_name": "webbab2/webbab2.github.io",
"id": "bbbc285a62a2e4c2ccaa6796f4529ab997909104",
"size... |
package com.intellij.json.editor;
import com.intellij.execution.actions.ConfigurationContext;
import com.intellij.ide.actions.CopyReferenceAction;
import com.intellij.json.JsonBundle;
import com.intellij.json.JsonUtil;
import com.intellij.json.navigation.JsonQualifiedNameKind;
import com.intellij.json.navigation.JsonQ... | {
"content_hash": "eb1dc3d857e3b9bc58048d90fed4eaa0",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 114,
"avg_line_length": 42.55769230769231,
"alnum_prop": 0.7912336195210122,
"repo_name": "siosio/intellij-community",
"id": "634f243f861766459374c2dbf99c52a0a3e724d7",
"si... |
package hydrograph.engine.jaxb.groupcombine;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for type-transform-expression complex type.
*
* <p>The following schema fragment specifies the expected co... | {
"content_hash": "0eb16ff3a09a141251353080df2f58b1",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 131,
"avg_line_length": 40.906976744186046,
"alnum_prop": 0.709494030699261,
"repo_name": "capitalone/Hydrograph",
"id": "edc1bfe64d6de54648970b50899d1a966381c478",
"size":... |
package abi42_0_0.expo.modules.constants;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.UUID;
/**
* An installat... | {
"content_hash": "90a556efc09d9c90dedfd846c9e49088",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 124,
"avg_line_length": 33.95454545454545,
"alnum_prop": 0.7022757697456493,
"repo_name": "exponent/exponent",
"id": "7c85e8fba44ff294177c4cd17b660236f5eeaf32",
"size": "3... |
/* $Gateweaver: display.c,v 1.59 2007/09/24 14:31:27 cmaxwell Exp $ */
/*
* Copyright (c) 2005 Christopher Maxwell. All rights reserved.
*/
#include <sys/ioctl.h>
#include <sys/time.h>
#include <sys/param.h>
#include <ctype.h>
#include <curses.h>
#include <err.h>
#include <event.h>
#include <signal.h>
#include <stda... | {
"content_hash": "48b0646d749f0cc8408c08afd4566f92",
"timestamp": "",
"source": "github",
"line_count": 847,
"max_line_length": 77,
"avg_line_length": 23.082644628099175,
"alnum_prop": 0.6113242289396962,
"repo_name": "WrathOfChris/chopstix",
"id": "d461828fe811dfc18d975da41aa01e6962e831d2",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.google.code.play2.provider.play23.run.Reloader (Play!... | {
"content_hash": "2db66c1d8e5e25d86ae8d63026639319",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 530,
"avg_line_length": 49.12359550561798,
"alnum_prop": 0.6398673376029277,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "f71b3d2d87b92aadf92b90722... |
#include "tensorflow/compiler/mlir/tensorflow/utils/compile_mlir_util.h"
#include "absl/types/optional.h"
#include "absl/types/variant.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Supp... | {
"content_hash": "1484505c43a7a56501be1e6781dac9f7",
"timestamp": "",
"source": "github",
"line_count": 691,
"max_line_length": 89,
"avg_line_length": 44.74674384949349,
"alnum_prop": 0.6917852522639069,
"repo_name": "cxxgtxy/tensorflow",
"id": "61388d3f7f971c73bb624ddfba2613d8a03f659f",
"size": "3... |
<?xml version="1.0" ?>
<INPUT>
<MEDALS>
<MEDAL Id="1" MEDAL_THRESHOLD="52000" TYPE="Gold"/>
<MEDAL Id="2" MEDAL_THRESHOLD="79000" TYPE="Silver"/>
<MEDAL Id="3" MEDAL_THRESHOLD="102000" TYPE="Bronze"/>
</MEDALS>
<SpeedSettings Default="18" Max="150" Min="0"/>
<PenaltySettings SpeedLost="0.1" Ti... | {
"content_hash": "01432781c66e42858bf43e978207639a",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 66,
"avg_line_length": 25.735849056603772,
"alnum_prop": 0.5707478005865103,
"repo_name": "synaptek/MathFluency",
"id": "cc85d18a87e014b9329e68299b1a745d09f71c66",
"size":... |
package cn.easyproject.easyee.sm.sys.interceptor;
import java.util.Arrays;
import java.util.Date;
import java.util.Map;
import java.util.Map.Entry;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.method.HandlerMethod;
import org.springframew... | {
"content_hash": "1bf6d9146bb504c5a9bd3351e49b97a3",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 116,
"avg_line_length": 28.575221238938052,
"alnum_prop": 0.6958810777330443,
"repo_name": "ushelp/EasyEE",
"id": "55fd99304fda716b51aca13eee8f71f040d045a9",
"size": "3293... |
package com.linkedin.pinot.core.operator.transform.transformer.timeunit;
import java.util.Random;
import java.util.concurrent.TimeUnit;
import org.joda.time.DurationFieldType;
import org.joda.time.chrono.ISOChronology;
import org.testng.Assert;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.... | {
"content_hash": "8d5e1ab381e21cc73bc3a75b858e1a6a",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 118,
"avg_line_length": 40.92537313432836,
"alnum_prop": 0.7341356673960613,
"repo_name": "apucher/pinot",
"id": "98227fa89fb1b04e673b25218b951c92f0265470",
"size": "3379",... |
var
apiFunctions =require('./apiFunctions')
module.exports=Connection
function Connection(webSocketServer,webSocketConnection){
this.webSocketServer=webSocketServer
this.webSocketConnection=webSocketConnection
this.webSocketConnection.on('message',message=>{
this.handleMessage(message)
... | {
"content_hash": "265f8cea8c237394c9d403c7f7acac47",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 63,
"avg_line_length": 31.816326530612244,
"alnum_prop": 0.6561898652982682,
"repo_name": "anliting/gms",
"id": "489c44f615f819ac2914ebcd52b50509eb916775",
"size": "1559",
... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/variations/net/variations_http_headers.h"
#include <string>
#include "base/containers/flat_map.h"
#include "base/cxx17_backports.h"... | {
"content_hash": "91a8d43cfd080fcb11096ea711c8e0ce",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 80,
"avg_line_length": 41.2836676217765,
"alnum_prop": 0.6566490838423098,
"repo_name": "ric2b/Vivaldi-browser",
"id": "dc073e0b3d84a333738de372022d164cb1e74714",
"size": ... |
using NUnit.Framework;
using VanillaTransformer.Core.PostTransformations;
namespace VanillaTransformer.Tests.PostTransformations
{
[TestFixture]
public class ReFormatJSONTest
{
[Test]
public void should_be_able_to_reformat_json()
{
//ARRANGE
var ... | {
"content_hash": "3875dfd5f6762b907c9c0f16d9fb750f",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 122,
"avg_line_length": 35.28,
"alnum_prop": 0.5493197278911565,
"repo_name": "cezarypiatek/VanillaTransformer",
"id": "53be8b93e9f14d9c6e58d6de527f780f7bf0c60f",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
<report_format_detail>
<FileFormat>
<FormatID>109</FormatID>
<FormatName>AutoCAD Compiled Menu</FormatName>
<FormatVersion>
</FormatVersion>
<FormatAliases>
</FormatAli... | {
"content_hash": "743073a02521802548cfb0a332581b91",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 440,
"avg_line_length": 41.38775510204081,
"alnum_prop": 0.6849112426035503,
"repo_name": "exponential-decay/the-format-registry",
"id": "32e75ad3a0d5cc59cba8534f3556a5cfebb7... |
namespace eskeleton
{
class TranslateSprState : public ee::TranslateSpriteState
{
public:
TranslateSprState(ee::SpriteSelection* selection, const sm::vec2& first_pos);
protected:
virtual void Translate(const sm::vec2& offset) override;
}; // TranslateSprState
}
#endif // _EASYSKELETON_TRANSLATE_SPR_STATE_H_ | {
"content_hash": "d2265b91d7c140f07fd9a48b5004745f",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 78,
"avg_line_length": 19.8125,
"alnum_prop": 0.7634069400630915,
"repo_name": "xzrunner/easyeditor",
"id": "81ab9183fbd1f510575cdb2503c8319891f18fc8",
"size": "446",
"bi... |
using InfrastructureAsCode.Core.Extensions;
using InfrastructureAsCode.Powershell.Commands.Base;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
using System.Text;
using System.Threading.Tasks;
namespace InfrastructureAsCode.Pow... | {
"content_hash": "9299ec94b678b50d92ced46eb23f185a",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 117,
"avg_line_length": 35.59493670886076,
"alnum_prop": 0.5796586059743954,
"repo_name": "pinch-perfect/Infrastructure-As-Code",
"id": "255e20cd0852db72b9130eb80285094a69092... |
#include <aws/ec2/model/ReservedInstancesOffering.h>
#include <aws/core/utils/xml/XmlSerializer.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/memory/stl/AWSStringStream.h>
#include <utility>
using namespace Aws::Utils::Xml;
using namespace Aws::Utils;
namespace Aws
{
namespace EC2
{
namespac... | {
"content_hash": "556e0dea9a589d13935932489a264918",
"timestamp": "",
"source": "github",
"line_count": 363,
"max_line_length": 169,
"avg_line_length": 35.98347107438016,
"alnum_prop": 0.697060174552136,
"repo_name": "svagionitis/aws-sdk-cpp",
"id": "e09e8b96741f3ada37dc439e59e1a8beb3ff183f",
"size... |
package org.apache.derbyTesting.functionTests.tests.lang;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import junit.framework.Test;
import org.apache.derby.iapi.reference.SQLState;
impo... | {
"content_hash": "bd91d951155e8b7a9dc6bb2f38ae6e0a",
"timestamp": "",
"source": "github",
"line_count": 795,
"max_line_length": 155,
"avg_line_length": 36.40754716981132,
"alnum_prop": 0.5859936428966279,
"repo_name": "trejkaz/derby",
"id": "2de91c2f6ce16e6e96a43a59c1cddf7c1bb465f6",
"size": "29822... |
namespace TABS_UserControls.usercontrols {
public partial class events_tabs {
/// <summary>
/// upTabs control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind... | {
"content_hash": "6de7ea4704b07b01b37194b9f378aa05",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 84,
"avg_line_length": 33.46511627906977,
"alnum_prop": 0.5427380125086866,
"repo_name": "cmorrow/cmorrow.github.io",
"id": "96f4c0c808bdb011add29206c3f1e3c2ca20054c",
"siz... |
const path = require('path');
const rootPath = path.normalize(__dirname + '/..');
const env = process.env.NODE_ENV || 'development';
const config = {
development: {
root: rootPath,
app: {
name: '<%= slugify(appname) %>'
},
port: process.env.PORT || 3000,<% if(options.database == 'mongodb'){ %>
... | {
"content_hash": "80432256a5ef9278840189b45176321d",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 116,
"avg_line_length": 48.816326530612244,
"alnum_prop": 0.5681438127090301,
"repo_name": "petecoop/generator-express",
"id": "b044d3cb954d799feb2f6d737e7dc742751722aa",
"... |
import stripe
# Set your secret key: remember to change this to your live secret key in production
stripe.api_key = "sk_test_rgfft426e22w2mw2m2"
stripe.Customer.create(
source= "tok_1OgIlDSDDSFFaaKPesPD",
plan=103,
email="payinguser@example.com"
)
| {
"content_hash": "c8350c2dca8a00f8ec45f0cfebe11ea6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 84,
"avg_line_length": 18.571428571428573,
"alnum_prop": 0.7538461538461538,
"repo_name": "coding4medicine/notes-and-commands",
"id": "747cdd7d26833b37c1c198f51545cccaeb3985a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text.RegularExpressions;
using System.IO;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class SteamVrSettings : MonoBehaviour
{
const string SettingsFilename = "default.vrsettings";
// manifest not present on windows (... | {
"content_hash": "88e1a3f60c5826efb278d2ce384f1cab",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 254,
"avg_line_length": 29.38888888888889,
"alnum_prop": 0.7425330812854443,
"repo_name": "SoylentGraham/PopUnityCommon",
"id": "5a08d51f9b5af4b98814e1c6a99a983626d3d645",
... |
Argo allows you to easily decode loosely typed structures into strongly typed
models. When paired with functional programming concepts, Argo becomes a
beautiful way to decode JSON from network responses into your application
models. The following guides will teach you how to use Argo and how powerful it
can be.
## Hig... | {
"content_hash": "b7ebb73b64381d08b025780a71099e00",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 79,
"avg_line_length": 31.17241379310345,
"alnum_prop": 0.7588495575221239,
"repo_name": "edwardaux/Ogra",
"id": "1b0a16d2ab7426a0905cf1ef45c1a98256852568",
"size": "923",
... |
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <engine.h>
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#ifndef RTLD_NOW
#define RTLD_NOW 0
#endif
#endif
struct hc_engine {
int references;
char *name;
char *id;
void (*destroy)(ENGINE *);
const RSA_METHOD *rsa;... | {
"content_hash": "22fde90eb6184a6042c02517c0b7a932",
"timestamp": "",
"source": "github",
"line_count": 378,
"max_line_length": 70,
"avg_line_length": 16.944444444444443,
"alnum_prop": 0.5981264637002341,
"repo_name": "ystk/debian-heimdal",
"id": "de1901c4df2f787114e0b6d675449ae1f319661f",
"size": ... |
import { expect } from 'chai';
import value from '../../src/rules/value';
describe('value()', () => {
const sampleString = 'Hello World';
const sampleArray = ['hello', 'world'];
const sampleNumber = 1980;
it('Up & Running', () => {
expect(typeof value).to.equal('function');
});
it('accept a {string} ... | {
"content_hash": "9dc63fe3d72a95a4c9e3a7ce70fb7a73",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 67,
"avg_line_length": 28.289473684210527,
"alnum_prop": 0.5916279069767442,
"repo_name": "mediasmart/bobby",
"id": "478c59481875b3976e0ed2ad96c8543b250c8757",
"size": "107... |
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
... | {
"content_hash": "3f4caa29ab0c84d937a13bab34217af5",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 209,
"avg_line_length": 34.75555555555555,
"alnum_prop": 0.5918584825234442,
"repo_name": "sturadnidge/cf-demo-node",
"id": "e0b5338beec585c4b464dbc5d5e63072a6bdf167",
"si... |
package metrics
import (
"fmt"
"github.com/blang/semver"
"github.com/prometheus/client_golang/prometheus"
"sync"
)
// KubeOpts is superset struct for prometheus.Opts. The prometheus Opts structure
// is purposefully not embedded here because that would change struct initialization
// in the manner which people ... | {
"content_hash": "e5ec818d4a49772bc8eade9bc2408197",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 103,
"avg_line_length": 31.8,
"alnum_prop": 0.7398921832884097,
"repo_name": "enisoc/kubernetes",
"id": "1409f241020b339ee0a855fcb6005b26f652c20b",
"size": "2795",
"binar... |
<?php
/**
* Created by PhpStorm.
* User: dclauson
* Date: 11/23/2015
* Time: 1:24 PM
*/
namespace Elytus\LimoncelloBundle\DependencyInjection\Compiler;
use Elytus\LimoncelloBundle\EventListener\ControllerListener;
use Elytus\LimoncelloBundle\Integration\SymfonyIntegration;
use Symfony\Component\DependencyInjecti... | {
"content_hash": "fd9805bd5505e8c6413f5d9a1fc4262a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 114,
"avg_line_length": 43.266666666666666,
"alnum_prop": 0.75115562403698,
"repo_name": "drewclauson/elytus-limoncello-bundle",
"id": "bd790bba5a8614276964dca252cf99e940e9f5... |
<component name="libraryTable">
<library name="exposed-instrumentation-api-publish-0.5">
<CLASSES>
<root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test/exposed-instrumentation-api-publish/0.5/res" />
<root url="jar://$PROJECT_DIR$/app/build/intermediates/explod... | {
"content_hash": "1172f3e4fba368db8272b105024bdb7b",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 205,
"avg_line_length": 58.833333333333336,
"alnum_prop": 0.7181303116147308,
"repo_name": "Plot-ka/coolweather",
"id": "033dc93a652c829c452e7d14cb192b3d80cce579",
"size": ... |
using Nancy;
using Nancy.TinyIoc;
namespace Okanshi.Dashboard
{
public class Bootstrapper : DefaultNancyBootstrapper
{
protected override void ConfigureApplicationContainer(TinyIoCContainer container)
{
base.ConfigureApplicationContainer(container);
container.Register<IConfiguration>(Config.Instance);
}... | {
"content_hash": "6b6de9e9477ef333456555615f041b53",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 83,
"avg_line_length": 23.214285714285715,
"alnum_prop": 0.803076923076923,
"repo_name": "mvno/Okanshi.Dashboard",
"id": "2167dc7076b128f73423c1a7bfef06e8712cb616",
"size":... |
import React, { Component, PropTypes } from "react"
import Page from "../Page"
class Post extends Component {
// it's up to you to choose what to do with this layout ;)
render() {
const { props } = this
const { head } = props
const pageDate = head.date ? new Date(head.date) : null
return (
... | {
"content_hash": "39a103bc03c0456daa9ed87d5c5c6f62",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 60,
"avg_line_length": 18.27027027027027,
"alnum_prop": 0.5103550295857988,
"repo_name": "anthonydugois/polynomic",
"id": "ccd0bed4ef2063b2eaa1a5a5e03c30e93c852721",
"size"... |
.border-left {
border-left: solid 1px;
}
| {
"content_hash": "b41113de4a092574d7439de49b35b653",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 25,
"avg_line_length": 14.333333333333334,
"alnum_prop": 0.6511627906976745,
"repo_name": "lander854/firebase-crud",
"id": "e23cd0ee5ccbb7eb8b1339fd3872bbab25a926ab",
"size"... |
<?php
namespace Application;
use Zend\Mvc\ModuleRouteListener;
use Zend\Mvc\MvcEvent;
class Module
{
public function onBootstrap(MvcEvent $e)
{
$eventManager = $e->getApplication()->getEventManager();
$moduleRouteListener = new ModuleRouteListener();
$moduleRouteListener->atta... | {
"content_hash": "7dbb8d60704e1285d644190aa9120921",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 90,
"avg_line_length": 26.763157894736842,
"alnum_prop": 0.576204523107178,
"repo_name": "mrjingles/zendframework2",
"id": "92b43f2725326ba74b7dec3e00c6dccb01fc04d6",
"size... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/><!-- using block title in layout.dt--><!-- using block ddox.defs in ddox.layout.dt--><!-- using block ddox.title in ddox.layout.dt-->
<title>Field awe_cursor_type.AWE_CUR_WEST_PANNING</title>
<link rel="stylesheet" type="text/css" href="../../styles/ddox.css"... | {
"content_hash": "fb968e4a322ff87e1b9430ab32a8b524",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 197,
"avg_line_length": 34.17467248908297,
"alnum_prop": 0.5313059033989267,
"repo_name": "Circular-Studios/Dash-Docs",
"id": "5fa1b21fd1dbed7dda0328d1c906049f2dd6ab83",
"... |
static int statusG = 0;
typedef struct put_object_callback_data {
FILE *infile;
uint64_t contentLength, originalContentLength;
} put_object_callback_data;
static void responseCompleteCallback( S3Status status,
const S3ErrorDetails *error,
... | {
"content_hash": "5d2fdd112ad0473a30224278a813e209",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 83,
"avg_line_length": 27.057553956834532,
"alnum_prop": 0.5469290082424887,
"repo_name": "leesab/irods",
"id": "02bc7e64501a668fd83556edd292eb1265f6da67",
"size": "3986",... |
package pl.edu.agh.planner.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pl.edu.agh.planner.dao.ClassroomHourDao;
import pl.edu.agh.planner.domain.ClassroomHourEntity;
import java.util.List;
@Service("classroomHourService")
public class ... | {
"content_hash": "b25e26966c1bf0e7e433c17ad5b1092f",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 90,
"avg_line_length": 27.87272727272727,
"alnum_prop": 0.7495107632093934,
"repo_name": "Blondas/planner2",
"id": "3c12a2cea17aa6117325609badceff54219d6907",
"size": "1533... |
// -----------------------------------------------------------------------
// <copyright file="EventResponsibleUser.cs" company="Nodine Legal, LLC">
// Licensed to Nodine Legal, LLC under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// reg... | {
"content_hash": "54c3d0b4b68cf4dae4a212d243200d3f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 75,
"avg_line_length": 36.17948717948718,
"alnum_prop": 0.6272147413182141,
"repo_name": "NodineLegal/OpenLawOffice",
"id": "44de33e9451f8ce05905d481e553f682c350bba5",
"siz... |
import { assert } from 'chai';
import { createParser } from '~test/test-utils';
import { Expression } from '~/syntax';
describe('Expression', () => {
const parse = createParser(Expression);
it('should parse an array access as an expression', () => {
assert.isDefined(parse('a[1]'));
});
it('s... | {
"content_hash": "38aefced8939b4f169640dce93f76325",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 74,
"avg_line_length": 35.015625,
"alnum_prop": 0.5618027666220438,
"repo_name": "jchitel/renlang",
"id": "10fc2516281df0e67a4dcfc4d61b7ef8054bb320",
"size": "2241",
"bin... |
import os, sys
# init_params
# make_params_from_default
# make_params_from_yaml
# make_params_from_options
# check_params
#
# make_analyses
#
# make_file_layout
# init_paths
#
# read_matrices
# read_matrices_all
# strip_affx_control_probes
# log_matrices
# quantile_normalize_matrices
# dwd_normalize_matrices
# shif... | {
"content_hash": "1ca92e747129262a7153bd70f78600bf",
"timestamp": "",
"source": "github",
"line_count": 2009,
"max_line_length": 79,
"avg_line_length": 36.038327526132406,
"alnum_prop": 0.6097429593513902,
"repo_name": "jefftc/changlab",
"id": "061d5f287d658158faed6d68b7d629fec60e991a",
"size": "72... |
<?xml version="1.0"?>
<package format="2">
<name>igvc_sandbox</name>
<version>0.0.0</version>
<description>The RoboJackets' IGVC code base</description>
<maintainer email="mhannay3@gatech.edu">Matthew Hannay</maintainer>
<license>MIT</license>
<author email="matthew.barulic@gmail.com">Matthew Barulic</au... | {
"content_hash": "0b07560450b120cc31e4123803a1f467",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 75,
"avg_line_length": 34.31578947368421,
"alnum_prop": 0.7147239263803681,
"repo_name": "RoboJackets/igvc-software",
"id": "fe13a44cfb14889b4c3d8da2c0174722d8493950",
"siz... |
<mat-table #table [dataSource]="dataSource">
<ng-container matColumnDef="number">
<mat-header-cell *matHeaderCellDef [ngClass]="'flex75'"> N° </mat-header-cell>
<mat-cell *matCellDef="let element" [ngClass]="'flex75'"> {{element.movementNumber}} </mat-cell>
</ng-container>
<ng-conta... | {
"content_hash": "7ad47301cb89db422e56565af0337505",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 127,
"avg_line_length": 52.567567567567565,
"alnum_prop": 0.662210796915167,
"repo_name": "gerardogrisolini/Webretail",
"id": "ae61a3e7c47fd31bd624096a00a6de9215768929",
"s... |
import { Pipe, PipeTransform } from '@angular/core';
@Pipe({name: 'filter'})
export class searchPipe implements PipeTransform {
item:any;
transform(items:any, filter:any) {
if(filter)
{
return items.filter(itemc);
function itemc(item:any) {
... | {
"content_hash": "1aad2a52f9daae2712f2ce4bd3fb20c1",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 115,
"avg_line_length": 31.757575757575758,
"alnum_prop": 0.44274809160305345,
"repo_name": "debasiskar-devel-007/angular2ts",
"id": "d968c73a180159b9143e33d5176a3b5c205cd50b... |
<!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": "dec4d94de612594b0ca989fbe5272060",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 189,
"avg_line_length": 47.574803149606296,
"alnum_prop": 0.6638530287984111,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "a5e5bcc0dbb886ffecb3f592245956fec3563385",
"si... |
package nl.eernie.as;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java... | {
"content_hash": "d4274158e31fc2e208e6d0ba0f78133f",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 221,
"avg_line_length": 38.516666666666666,
"alnum_prop": 0.7771527477282562,
"repo_name": "Eernie/ASConfigCreator",
"id": "85972d99d248d2b5620d6207235b0c5b0eb7e7d1",
"siz... |
<?php
require_once '../../bootstrap.php';
use Pop\Code;
try {
// Create the code generator object
$code = new Code\Generator('code.php');
$code->setBody("// Let's get some stuff to happen here." . PHP_EOL . "\$blah = 'Sounds like a good idea';")
->appendToBody("echo \$blah;", false)
->s... | {
"content_hash": "6b29693dedec889f3e647e346f825884",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 111,
"avg_line_length": 25.88888888888889,
"alnum_prop": 0.5858369098712446,
"repo_name": "nicksagona/PopPHP",
"id": "4824fbc150e3928259b6be88d08f84d5e2a204ad",
"size": "46... |
Mac OS X thepandacoind build instructions
====================================
Authors
-------
* Laszlo Hanyecz <solar@heliacal.net>
* Douglas Huff <dhuff@jrbobdobbs.org>
* Colin Dean <cad@cad.cx>
* Gavin Andresen <gavinandresen@gmail.com>
License
-------
Copyright (c) 2009-2012 Bitcoin Developers
Distributed unde... | {
"content_hash": "975f6b6df336861bfb7df75967dffdb3",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 175,
"avg_line_length": 35.08108108108108,
"alnum_prop": 0.7432973805855162,
"repo_name": "chaosagent/pandacoin",
"id": "9971c112b170f80711eaaca1a03eaa08a8d4381b",
"size":... |
<?php
/**
* Base class that represents a query for the 'abnorm' table.
*
*
*
* @method AbnormQuery orderByAutoctr($order = Criteria::ASC) Order by the AutoCtr column
* @method AbnormQuery orderByFamily($order = Criteria::ASC) Order by the Family column
* @method AbnormQuery orderByGenus($order = Criteria::ASC)... | {
"content_hash": "18fcc996e859756fceeab9f54a0ef089",
"timestamp": "",
"source": "github",
"line_count": 1215,
"max_line_length": 375,
"avg_line_length": 42.82798353909465,
"alnum_prop": 0.6000269044507649,
"repo_name": "royrusso/fishbase",
"id": "e30dc97ec9cbe7ac726672127afde6727bbba133",
"size": "... |
package com.Dibike.common;
import java.io.Serializable;
/**
* 结果对象
* @author
* {"status":"0","msg":"成功","data":xxx}
*/
public class Result implements Serializable {
private static final long serialVersionUID = 1L;
private String status;//0表示成功,其他表示失败
private String msg;//消息
private Object data;//返回的数据
publi... | {
"content_hash": "9cc76528341421cf388eb90e700cd34d",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 49,
"avg_line_length": 16,
"alnum_prop": 0.678125,
"repo_name": "Saw85/DibikeManagement",
"id": "9eae4464b4d93ab3565c49e1ddbe19a87a71db49",
"size": "686",
"binary": false... |
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<!--
<parent>
<g... | {
"content_hash": "1901dbf3898809ea5936c925d54c1967",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 121,
"avg_line_length": 34.62059620596206,
"alnum_prop": 0.5204696673189824,
"repo_name": "cmu-cylab-privacylens/PrivacyLens",
"id": "d7dba8feadeffbf28bf8f47563efbc4c8443914... |
<!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">
<title>Shoes</title>
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css">... | {
"content_hash": "e2a278f8e0f08d975c771f8593f06d79",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 456,
"avg_line_length": 46.471698113207545,
"alnum_prop": 0.6987413723101908,
"repo_name": "Landerson352/uniform",
"id": "8ad9821efc3794e6913b468c190aa8cc2ff04dcd",
"size":... |
Two approaches
1. greedy. we pick the the element with most value ratio first. **Heap** problem. All elements are picked in sorted order.
1. partition. Better. The picked elements are not even in sorted order. We partition them basing on segments property.
#WeightedMedian.
We can partition element.
1. quick sort: par... | {
"content_hash": "c61e21697b7731c771b8a29ae3369c34",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 122,
"avg_line_length": 49,
"alnum_prop": 0.780045351473923,
"repo_name": "jasonzhang2022/algorithm",
"id": "6e2d8a5bdab27b058ed6eaff5906ff638ca25bbc",
"size": "467",
"bin... |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Workspace</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root>Loading...</app-root>
</body>
</html>
| {
"content_hash": "8152f75ab4c650ab396214d3899066db",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 70,
"avg_line_length": 21.142857142857142,
"alnum_prop": 0.6385135135135135,
"repo_name": "cumulous/web",
"id": "487ef63a0585e3a4c8f0374958d19b203fc11463",
"size": "296",
... |
//___________________________________________________________________________________
//
// Copyright (C) 2018, Mariusz Postol LODZ POLAND.
//
// To be in touch join the community at GITTER: https://gitter.im/mpostol/OPC-UA-OOI
//___________________________________________________________________________________
us... | {
"content_hash": "4db849923ffaa49e9b467be254691b14",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 86,
"avg_line_length": 29.65,
"alnum_prop": 0.5826306913996627,
"repo_name": "mpostol/OPC-UA-OOI",
"id": "d8c2fb8ef69bda78d33bd390535bf7edae3ffe96",
"size": "1188",
"bina... |
all:
g++ displayExample.cpp ../src/JHLEDBackpack.cpp -I../src -o displayExample
| {
"content_hash": "f76dd9d8ff4855aa326982a1fc0e3773",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 75,
"avg_line_length": 40.5,
"alnum_prop": 0.7283950617283951,
"repo_name": "jetsonhacks/JHLEDBackpack",
"id": "6500281747fc6ce3c322167f5bc92c6dceda5055",
"size": "81",
"b... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="sr" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About JohnKeyoin</source>
<translation>О JohnKeyoin-у</translation>
</... | {
"content_hash": "55230b081718d54b02109ad18076f6a4",
"timestamp": "",
"source": "github",
"line_count": 2919,
"max_line_length": 395,
"avg_line_length": 34.715998629667695,
"alnum_prop": 0.5996585616167995,
"repo_name": "JohnKeyCoin/JohnKeyoin",
"id": "971359a10aaaa6a7909937182b428403fa13bbb8",
"si... |
package com.qumasoft.qvcslib;
import com.qumasoft.qvcslib.commandargs.CreateArchiveCommandArgs;
import java.io.IOException;
import java.util.Collection;
import javax.swing.event.ChangeListener;
/**
* Directory manager interface. These are the methods that must be implemented by a client-side Directory manager.
* @... | {
"content_hash": "f5f94f8a3485d4965b04a02aba841d54",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 175,
"avg_line_length": 32.61206896551724,
"alnum_prop": 0.6917790113666402,
"repo_name": "jimv39/qvcsos",
"id": "aa208215cc3a1a348a001aaf7b72ebcb78a969c1",
"size": "4397"... |
/* $OpenBSD: lebuffervar.h,v 1.2 2001/08/20 19:48:33 jason Exp $ */
/* $NetBSD: lebuffervar.h,v 1.2 1998/07/27 19:25:34 pk Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Paul Kranenburg.
*
* Re... | {
"content_hash": "ff90446d6624cab995538a5c2939c200",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 78,
"avg_line_length": 48.84313725490196,
"alnum_prop": 0.7314331593737455,
"repo_name": "MarginC/kame",
"id": "42bac0f1972cd11d103bb6c83b7e0d8667d8c852",
"size": "2491",
... |
const config = require('./index');
config.extends = [
...config.extends,
"plugin:@typescript-eslint/eslint-recommended",
'plugin:@typescript-eslint/recommended'
];
config.plugins = [
...config.plugins,
'@typescript-eslint'
];
delete config.parser;
config.parserOptions = {
project: './tsconfi... | {
"content_hash": "ff6205eaf8de5a48ac79aa1a02ed61ba",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 75,
"avg_line_length": 31.638297872340427,
"alnum_prop": 0.6691324815063887,
"repo_name": "plotly/dash",
"id": "e47a6f51e68237c2fb4a480fe9e0ca4cd0938b15",
"size": "1487",
... |
package ca.corefacility.bioinformatics.irida.ria.unit.web;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.context.MessageSource;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springfram... | {
"content_hash": "d8086d573a0eaac3be0afb96dccd1e4d",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 82,
"avg_line_length": 31.234375,
"alnum_prop": 0.8084042021010506,
"repo_name": "phac-nml/irida",
"id": "c5689144b48a632b4e7407a1911fb919e8a15f96",
"size": "1999",
"bina... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>alexagc.github.io</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="manifest.json">
<link href="https://fon... | {
"content_hash": "05c27e230bd72cfa6d549b3ca726495e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 88,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.6151685393258427,
"repo_name": "alexagc/web-page",
"id": "f8c81028831dddf1a27663f0034b99971fd07e6b",
"size": "106... |
#ifndef ASTRO_OS
#define ASTRO_OS
#include <astro/astro.h>
#if ASTRO_PLATFORM_WIN32 || ASTRO_PLATFORM_WINRT
# define WIN32_LEAN_AND_MEAN 1
# include <windows.h>
#elif ASTRO_PLATFORM_NACL == 0 && ASTRO_PLATFORM_EMSCRIPTEN == 0
# include <dlfcn.h>
#endif
#if ASTRO_PLATFORM_OSX
# define ASTRO_DL_EXT "dylib"
#elif AST... | {
"content_hash": "059e26e6c04ce7c0cd6bd4e7d307ccbb",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 78,
"avg_line_length": 21.76271186440678,
"alnum_prop": 0.7032710280373832,
"repo_name": "team-astro/astro",
"id": "6de2576336e88b600528a8efb2727e8a0ad90886",
"size": "1340... |
namespace RandomTests.Entities.App
{
public class Intrebare : IEntityBase
{
public int ID { get; set; }
public string Text { get; set; }
public int? CapitolId { get; set; }
public virtual Capitol Capitol { get; set; }
public int? SubcapitolId { get; set; }
public virtual SubCapitol SubCapitol { get; set;... | {
"content_hash": "4fa7b9c1dfe8851204a99a7e3978953e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 52,
"avg_line_length": 30.4,
"alnum_prop": 0.6546052631578947,
"repo_name": "mihaibulaicon/RandomTests1",
"id": "f5ef59ea9aa82a1304e9902f32094598b73a3e79",
"size": "610",
... |
<?php
/**
* Swift Mailer LOGIN Authenticator Mechanism
* Please read the LICENSE file
* @author Chris Corbyn <chris@w3style.co.uk>
* @package Swift_Authenticator
* @license GNU Lesser General Public License
*/
require_once dirname(__FILE__) . "/../ClassLoader.php";
Swift_ClassLoader::load("Swift_Authenticator")... | {
"content_hash": "a600bfb470a0a84c2da12c2f305fdb5a",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 69,
"avg_line_length": 26.862745098039216,
"alnum_prop": 0.6649635036496351,
"repo_name": "hammadalinaqvi/bookstoregenie",
"id": "a50cecdcfedd6cbc7ba275b3446640cdbd2d169f",
... |
@interface B2DPolygonShapeTest : SenTestCase
@end
| {
"content_hash": "10b15a8ae915ef61ac79050b1178c14d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 45,
"avg_line_length": 17.333333333333332,
"alnum_prop": 0.8076923076923077,
"repo_name": "CurveBeryl/Joybox-Box2D",
"id": "6c12dd3d4feb76934885a855d75418882a11a7ce",
"size"... |
\PHPUnit\Framework\MockObject\Generator::generate('Foo', [], 'MockFoo', true, true)
--FILE--
<?php
abstract class Foo
{
public function one()
{
}
abstract public function two();
abstract protected function three();
}
require __DIR__ . '/../../../../vendor/autoload.php';
$generator = new \PHPUnit... | {
"content_hash": "4d34f01c6e148ebcd0563ddf3a582f5f",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 170,
"avg_line_length": 28.73856209150327,
"alnum_prop": 0.5731180350238799,
"repo_name": "rongeb/anit_cms_for_zf3",
"id": "e9afc972520cbe8a27115ee405354993e4cebb0a",
"siz... |
__author__ = 'olga'
import unittest
from gscripts.mapping.map_paired_or_single_with_STAR import MapSTAR
import tests
import os
import shutil
import sys
class Test(unittest.TestCase):
out_dir = 'test_output'
def setUp(self):
os.mkdir(self.out_dir)
def tearDown(self):
shutil.rmtree(self.o... | {
"content_hash": "16015fadb2f3bcc0fe6cd0987f1ba035",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 595,
"avg_line_length": 46.490566037735846,
"alnum_prop": 0.606737012987013,
"repo_name": "YeoLab/gscripts",
"id": "d83a3a92236c39287dc290e7b8f23cd7ab2f95ed",
"size": "2464... |
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "0a5d4bb03b95ad540977b23ddfcb905a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 90,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.6582278481012658,
"repo_name": "donnellyk/KVNBoundedImageView",
"id": "abff9fd461d008cc8d5790fca8425dd75064656e",
... |
import View from '../lib/View';
import ListResultColumnView from './list-result-col';
class ListResultRowView extends View {
constructor(opts) {
super(opts);
this.viewName = 'result';
this.template = '';
this.tag = 'tr';
this.columnOrder = opts.columnOrder || [];
}
render() {
super.rend... | {
"content_hash": "99ddc8a310139b953363ea6b5e9a2d3f",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 237,
"avg_line_length": 30.209302325581394,
"alnum_prop": 0.6066204772902233,
"repo_name": "joeyfromspace/administrate",
"id": "4bde61d08972edd40cd814612278b8384a249919",
"... |
var batched = require("../index")
var asyncThing = {
_state: {
1: 1
, 2: 2
, 3: 3
}
, getAll: function (callback) {
var state = this._state
process.nextTick(function () {
callback(null, state)
})
}
, get: function (id, callback) {
... | {
"content_hash": "3013faee6154666b1cb0527c0a364c7e",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 43,
"avg_line_length": 22.563636363636363,
"alnum_prop": 0.48106365834004833,
"repo_name": "Raynos/batched",
"id": "623ce2a2430dd48ff1c3003392eeee50e16e3571",
"size": "1241... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.