text stringlengths 2 1.04M | meta dict |
|---|---|
.registration__login-form {
} | {
"content_hash": "e8de28b4b795a3d72fc516a9d78304e2",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 27,
"avg_line_length": 10,
"alnum_prop": 0.7,
"repo_name": "yavalvas/react-blog",
"id": "33d1172c6b130c1e279396a67e19f6bc3fbe1a30",
"size": "30",
"binary": false,
"copie... |
<?php
/**
* Class Shop for Backward compatibility
*/
class ShopBackwardModuleUpdated extends Shop
{
const CONTEXT_ALL = 1;
public $id = 1;
public $id_shop_group = 1;
public $physical_uri = __PS_BASE_URI__;
public function getContextType()
{
return ShopBackwardModule::CONTE... | {
"content_hash": "6224829e901ad90711a6753da308c68a",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 47,
"avg_line_length": 15.404255319148936,
"alnum_prop": 0.5455801104972375,
"repo_name": "FabienSerny/sellermania-prestashop",
"id": "2a131d0f4ec610cee58c0745d1bbe042cf96733... |
#include <aws/mediapackage-vod/model/PresetSpeke20Video.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace MediaPackageVod
{
namespace Model
{
namespace PresetSpeke... | {
"content_hash": "52a82b8412690cb62aa9e92aec555b44",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 92,
"avg_line_length": 35.926829268292686,
"alnum_prop": 0.6021724372029871,
"repo_name": "aws/aws-sdk-cpp",
"id": "43039708a9fcbe0875d677cdbeee4ba6e66f741c",
"size": "453... |
class Zip < ActiveRecord::Base
end
| {
"content_hash": "f33033002b4de376ba955df09e3031bf",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 30,
"avg_line_length": 17.5,
"alnum_prop": 0.7714285714285715,
"repo_name": "deild/RubyOnRailsEtudeDeCas",
"id": "252915ef84a1b5935a8a604733cb8a33c0d574e1",
"size": "240",
... |
Accounts.onCreateUser(function(options, user){
var userProperties = {
profile: options.profile || {},
karma: 0,
isInvited: false,
isAdmin: false,
postCount: 0,
commentCount: 0,
invitedCount: 0,
votes: {
upvotedPosts: [],
downvotedPosts: [],
upvotedComments: [],
... | {
"content_hash": "4a8b8a78618efe7d113dba62655a598f",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 99,
"avg_line_length": 29.058333333333334,
"alnum_prop": 0.6452537998279323,
"repo_name": "MallorcaJS/discuss.mallorcajs.com",
"id": "086211676c157aed9b07046bc2f68880c6350de... |
layout: post
title: Proxmox VE installation with Cfengine under Debian
created: 1351847302
tags: linux automation virtualization kvm
---
Following up the CFEngine series of OpenStack for [Debian](/node/94)
and [Ubuntu](/node/78) here's another one, but this time for
[Proxmox VE](http://www.proxmox.com) and Debian.
The... | {
"content_hash": "6ba994bfcc798a13f6dab6b1cdf86683",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 134,
"avg_line_length": 38.541666666666664,
"alnum_prop": 0.787027027027027,
"repo_name": "dnaeon/dnaeon.github.io",
"id": "457ac8def6698f0310d9ad599e53a73c7f449111",
"size... |
window.gulpicon = function( css, foo ){
// expects a css array with 3 items representing CSS paths to datasvg, datapng, urlpng
if( !css || css.length !== 3 ){
return;
}
// Thanks Modernizr & Erik Dahlstrom
var w = window,
svg = !!w.document.createElementNS && !!w.document.createElementNS('http://www.... | {
"content_hash": "f3002083804468902ab15ccde0c8e9b9",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 280,
"avg_line_length": 35.71875,
"alnum_prop": 0.6176727909011374,
"repo_name": "wakayama-io/generator-sandbox",
"id": "8ada856d58d230b0dce1fa286570b9e6eb967402",
"size": ... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2016-2017 Red Hat, Inc.
~
~ Red Hat licenses this file to you under the Apache License, version
~ 2.0 (the "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ ... | {
"content_hash": "8c339c11bfc6aafa766f4beb1b50d44b",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 108,
"avg_line_length": 38.404761904761905,
"alnum_prop": 0.5412275263484191,
"repo_name": "kameshsampath/vertx-maven-plugin",
"id": "9b06d32c3e6700480824f1fa1774509043489315... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e0c3274ef96176c95bbab3173c2bbf17",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "93073050845ff0d35754e9f300cb02aea5462a93",
"size": "195... |
import 'babel-polyfill'
import City from '../models/city'
import Router from 'koa-router'
import { baseApi } from '../config'
const api = 'city'
const router = new Router();
router.prefix(`/${baseApi}/${api}`)
/* eslint-disable no-unused-vars, no-param-reassign, new-cap */
// GET /api/city
router.get('/', async(ct... | {
"content_hash": "450ea0e799c32825baac30fdb79edbad",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 78,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.5796923076923077,
"repo_name": "NCZkevin/generator-rest-koa2",
"id": "a838b55eb07cc0c90cdf87bf670d638af487df84",
... |
require File.dirname(__FILE__) + "/../test_helper"
class TestImport < Test::Unit::TestCase
def setup
@wc = stub_everything("working_copy")
@cmd = Piston::Commands::Import.new
end
def test_temp_dir_name_hides_tmpdir_as_a_dotfile_and_suffixes_with_tmp
@wc.stubs(:path).returns(Pathname.new("tmp/a/dir")... | {
"content_hash": "8836b738bde8900c426a4dd1bf7cbf53",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 31.153846153846153,
"alnum_prop": 0.6765432098765433,
"repo_name": "jeremylightsmith/piston",
"id": "c1711743cd91e6b21f609d5bddd6433a18c96fa0",
"size... |
package org.apache.spark.sql.execution.datasources.parquet
import java.math.{BigDecimal, BigInteger}
import java.nio.ByteOrder
import scala.collection.JavaConverters._
import scala.collection.mutable.ArrayBuffer
import org.apache.parquet.column.Dictionary
import org.apache.parquet.io.api.{Binary, Converter, GroupC... | {
"content_hash": "aceded018873b7f94b369d5307835b9f",
"timestamp": "",
"source": "github",
"line_count": 565,
"max_line_length": 109,
"avg_line_length": 38.72566371681416,
"alnum_prop": 0.6941499085923217,
"repo_name": "ArvinDevel/onlineAggregationOnSparkV2",
"id": "2ff2fda3610b8857a5de9a02ffe23e6163f... |
{% extends "common/page_base.html" %} {# common/page_base.html extends layout.html #}
{% block css %}
{{ super() }}
<style>
.item {
cursor: move;
text-align: center;
}
</style>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-12... | {
"content_hash": "061a99651a8887ff1a1849a9bf697274",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 156,
"avg_line_length": 36.35123966942149,
"alnum_prop": 0.5255200636580653,
"repo_name": "walidham/iws2",
"id": "b7739998e00cad44acfb9e0b8442037566850a90",
"size": "8797"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b7aac198e52dfc384e09d389cada3405",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "27cb7dc63d2cda2a7be4e4738cdf57af57e1ad23",
"size": "181... |
Completely working Web Browser for iPads
This is completely working app.
Itunes link: http://bit.ly/starflyinc

# Author
Arturs Derkintis
Twitter: @DerkintisArturs
# License
MIT
| {
"content_hash": "048b980cdb085f144b8485a757fcbff1",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 77,
"avg_line_length": 14.052631578947368,
"alnum_prop": 0.7640449438202247,
"repo_name": "artursDerkintis/Starfly",
"id": "1c22dedf84b8c5a4d141746e5d027f1225465c07",
"size... |
package Web::Summarizer::ReferenceTargetPairwiseSummarizer;
use strict;
use warnings;
use Moose;
use namespace::autoclean;
with('Web::Summarizer::ReferenceTargetSummarizer');
__PACKAGE__->meta->make_immutable;
1;
| {
"content_hash": "d7d583d8df5b629695573c7b617a4c31",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 59,
"avg_line_length": 15.642857142857142,
"alnum_prop": 0.771689497716895,
"repo_name": "ypetinot/web-summarization",
"id": "a15d283e5080b0e6e140f21f928fc630b09c713d",
"si... |
package ru.pashkin.jmt.model.figures;
import ru.pashkin.jmt.model.AbstractFigure;
import java.awt.Point;
public class Snag extends AbstractFigure {
private static final Point[] leftOrientation = new Point[4];
private static final Point[] rightOrientation = new Point[4];
private static final Point[] upO... | {
"content_hash": "a4c5536d8aaf95d292c8102e29be6e07",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 65,
"avg_line_length": 31.150943396226417,
"alnum_prop": 0.5844942459115687,
"repo_name": "pashkinmv/java-multiplayer-tetris",
"id": "d34898e75787aac6a3aed494bee1783d3f086a3a... |
package quasar.contrib.fs2
import slamdata.Predef.{Boolean, None, Option, Some, Throwable, Unit}
import java.util.Iterator
import java.util.stream.{Stream => JStream}
import scala.util.{Either, Left}
import cats.effect.{Concurrent, Resource, Sync}
import cats.syntax.monadError._
import fs2.concurrent.{NoneTerminat... | {
"content_hash": "8a2876e39e319db427bd99fb64f0c56f",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 89,
"avg_line_length": 30.213333333333335,
"alnum_prop": 0.6037069726390115,
"repo_name": "slamdata/quasar",
"id": "06fddd56e6efe916a34e57e9d098f85de78c954b",
"size": "2869... |
extern ConfigVariableInt gl_version;
extern EXPCL_PANDAGL ConfigVariableBool gl_support_fbo;
extern ConfigVariableBool gl_cheap_textures;
extern ConfigVariableBool gl_ignore_clamp;
extern ConfigVariableBool gl_support_clamp_to_border;
extern ConfigVariableBool gl_support_texture_lod;
extern ConfigVariableBool gl_ignore... | {
"content_hash": "9c9ad483de9454108c7eed7952e3dbef",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 73,
"avg_line_length": 38.696969696969695,
"alnum_prop": 0.8206734534064213,
"repo_name": "mgracer48/panda3d",
"id": "ec1db27cf1da74afd62409960a4874b7ab8f1d38",
"size": "37... |
using System.Collections.Generic;
using Umbraco.Cms.Core.Models;
namespace Umbraco.Cms.Core.Persistence.Repositories
{
/// <summary>
/// Represents a repository for <see cref="IAuditEntry"/> entities.
/// </summary>
public interface IAuditEntryRepository : IReadWriteQueryRepository<int, IAuditEntry>
... | {
"content_hash": "48f87acb8030a8aea3f1225c5b1c2ac0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 120,
"avg_line_length": 34.54545454545455,
"alnum_prop": 0.6513157894736842,
"repo_name": "JimBobSquarePants/Umbraco-CMS",
"id": "159267c16e5d6cdd0f8e5b14439a1c1275ecd001",
... |
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
package pe.ijooswk.pic2count;
public final class R {
public static final class attr {
}
public static final class dimen {
... | {
"content_hash": "3a8bb7a37b949786ea920077a8708264",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 91,
"avg_line_length": 39.55,
"alnum_prop": 0.6880530973451328,
"repo_name": "ijooswk/pic2count",
"id": "ad3c282138f1d44e5871a0271d1e0cdf62c52847",
"size": "3164",
"binar... |
<?php
namespace BW\ShopBundle\Controller;
use BW\MainBundle\Utility\FormUtility;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use BW\ShopBundle\Entity\Product;
use BW\ShopBundle\Form\ProductType;
/**
* Class ProductController
* @package BW\ShopBundle\Contr... | {
"content_hash": "6c6d94eaf753efaaa6883e7e7bbb791c",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 104,
"avg_line_length": 28.072992700729927,
"alnum_prop": 0.5504420176807072,
"repo_name": "bocharsky-bw/bow",
"id": "6b393bc010f93b9e10a2d413aad4a531cf9f7494",
"size": "7... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- All the css and script files included in this head is mandatory for my-tree directive-->
<link href="my_tree_directive/my_tree_directive.css" rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.... | {
"content_hash": "0b1eb4db0ec3d624d01afe5c453e3a30",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 164,
"avg_line_length": 44.407407407407405,
"alnum_prop": 0.5379482902418682,
"repo_name": "abhilashpullelil/my_tree_directive",
"id": "7e244840e823b4e70df1ed4e326eb7038eb8d0... |
int main(int argc, char * argv[]) {
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "1830cd67acaebed0ebafee9af0930fd3",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 88,
"avg_line_length": 30.4,
"alnum_prop": 0.6842105263157895,
"repo_name": "joeleee/ChatBarDemo",
"id": "adfe1b7242c31ff9d51f4f8adf9495a32665971a",
"size": "331",
"binary... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
<head><title></title></head>
<body>
<h2>Nucleoitide BLAST</h2>
<h3>Description</h3>
<p>
This tool runs nucleotide BLAST search using the NCBI BLAST server. The query sequence file can contain up to 10 sequences.
</p>
<h3>Parameters<... | {
"content_hash": "45802a5fff6bd1e072497026618db1fc",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 140,
"avg_line_length": 70.56060606060606,
"alnum_prop": 0.7710972729224823,
"repo_name": "chipster/chipster-tools",
"id": "81bd19c7f96b817035e27efcb2be61b40f512ee0",
"size... |
package com.smartlogic.classificationserver.client;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
public class Result extends Cla... | {
"content_hash": "f2b1d1e98f604b017d6936afb8c4f35f",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 127,
"avg_line_length": 34.46913580246913,
"alnum_prop": 0.710243553008596,
"repo_name": "Smartlogic-Semaphore-Limited/Java-APIs",
"id": "a3d2ee1c1ed662fd9839e45056b420780092... |
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/action_settings"
android:orderInCategory="100"
android:showAsAction="never"
android:title="@string/action_settings"/>
</menu>
| {
"content_hash": "aafefccca8229dd4f762d4ee361474d3",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 66,
"avg_line_length": 24,
"alnum_prop": 0.6212121212121212,
"repo_name": "heitornascimento/doe-recife",
"id": "54861f056a8bd1746180bc429690f5c960d293b4",
"size": "264",
... |
package org.secureauth.sarestapi.data.DFP;
import com.fasterxml.jackson.annotation.*;
import java.util.HashMap;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonPropertyOrder({
"uaBrowser",
"uaString",
"uaDevice",
"uaEngine",
"uaOS",
"uaCPU",
"uaPlatform",
"langua... | {
"content_hash": "0ea7a73fc6dd4157af8d0b7b99e60d8b",
"timestamp": "",
"source": "github",
"line_count": 455,
"max_line_length": 91,
"avg_line_length": 24.67032967032967,
"alnum_prop": 0.6678841870824054,
"repo_name": "SecureAuthCorp/saidp-sdk-java",
"id": "db0942731bd7eec37090c40d8530bf69ca50d459",
... |
var Backbone = require('backbone');
var StationView = require('views/station');
var StationsList = Backbone.View.extend({
tagName: 'section',
initialize: function(options) {
this.router = options.router;
},
render: function() {
var self = this;
var stationsView = this.collection.map(function(station) {
... | {
"content_hash": "8d1bb4170c338a230017122b62600a15",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 79,
"avg_line_length": 24.3,
"alnum_prop": 0.6975308641975309,
"repo_name": "rguico/divvy-neighborhoods",
"id": "99de7d61ee607f7fde6f68f764d1532eb6e17851",
"size": "486",
... |
import * as p from "core/properties"
import {input, textarea, select, option, Keys} from "core/dom"
import {extend} from "core/util/object"
import {DOMView} from "core/dom_view"
import {Model} from "../../../model"
import {DTINDEX_NAME, Item} from "./data_table"
export abstract class CellEditorView extends DOMView {
... | {
"content_hash": "f3faab6460b339ddf7e04adcd705b2da",
"timestamp": "",
"source": "github",
"line_count": 447,
"max_line_length": 105,
"avg_line_length": 22.172259507829978,
"alnum_prop": 0.662798910301685,
"repo_name": "Karel-van-de-Plassche/bokeh",
"id": "532fe3f2ff240bd4094747a43414483d03d9fff5",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5a2cfbb06fd466f8533ab0f1ebb9778a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "14f3e44a53950ea4d62a63e863ab7b7ed11b9b89",
"size": "180... |
ACCEPTED
#### According to
NUB Generator [autonym]
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a5aa41d0d6af05941b2cf22afef73362",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 23,
"avg_line_length": 9.076923076923077,
"alnum_prop": 0.6779661016949152,
"repo_name": "mdoering/backbone",
"id": "09c1881618f7b90e28e6fac22a7c84be98475c44",
"size": "188... |
from bson import ObjectId
import copy
import time
from eve.tests import TestBase
from eve.tests.utils import DummyEvent
from eve import STATUS, STATUS_OK, ETAG
from eve.tests.test_settings import MONGO_DBNAME
class TestVersioningBase(TestBase):
def setUp(self):
self.versioned_field = 'ref'
self.un... | {
"content_hash": "03f3a160452699e46c2522cf0d802510",
"timestamp": "",
"source": "github",
"line_count": 1363,
"max_line_length": 82,
"avg_line_length": 41.60014673514306,
"alnum_prop": 0.6154388811484807,
"repo_name": "Graghav/surabi",
"id": "bd436cfeb8e5110eb679c4a5e86593e498706470",
"size": "5672... |
char* find(char *haystack, char needle);
int main(){
char sentence[400];
char word;
int position;
fgets(sentence, 400, stdin);
scanf("%c", &word);
position = find(sentence, word) - sentence;
if(find(sentence, word)){
printf("%d", position);
}else{
printf("%d", -1)... | {
"content_hash": "d3c57911225b2f6614c1bbe44cf065e8",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 54,
"avg_line_length": 13.418604651162791,
"alnum_prop": 0.5320623916811091,
"repo_name": "elsys/po-homework",
"id": "c474e51177de7ac202c6e7395b0edc34ae58fd65",
"size": "61... |
<!--
~ Copyright (c) 2016 Network New Technologies Inc.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless requir... | {
"content_hash": "5905dd294a15e0410206728a4d4ed98a",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 108,
"avg_line_length": 35.32857142857143,
"alnum_prop": 0.6275778406793369,
"repo_name": "networknt/undertow-server",
"id": "9795b2816c29b89432eb877b06b51470af627ac6",
"si... |
'''
Created on 2015/09/08
@author: yangjun
'''
import unittest
import sys
import json
import logging
class ParametrizedTestCase(unittest.TestCase):
""" TestCase classes that want to be parametrized should
inherit from this class.
"""
def __init__(self, methodName='runTest', param=None):
... | {
"content_hash": "53089604cd7cc62d8c23d4d4f4ffca4b",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 79,
"avg_line_length": 30.142857142857142,
"alnum_prop": 0.6242383209207854,
"repo_name": "junneyang/datadrivedunittest",
"id": "84215b929da939c85540b06e3b86f8aa0ebd4f52",
... |
#import <SkimNotes/SKNExtendedAttributeManager.h>
#import <SkimNotes/NSFileManager_SKNExtensions.h>
#import <SkimNotes/PDFDocument_SKNExtensions.h>
#import <SkimNotes/PDFAnnotation_SKNExtensions.h>
#import <SkimNotes/SKNPDFAnnotationNote.h>
| {
"content_hash": "cc6dd5b240578a144b8d5dff69d2a7a2",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 49,
"avg_line_length": 24.6,
"alnum_prop": 0.8252032520325203,
"repo_name": "camillobruni/skim",
"id": "eae7e4d3152be92584a1c7882c63e0528bdb7d5a",
"size": "1878",
"binary... |
DEFAULT_EVENT_IMAGE = 'img/default_event.png'
| {
"content_hash": "b626fe48cbb1a8611258de53ce6fe651",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 45,
"avg_line_length": 46,
"alnum_prop": 0.7608695652173914,
"repo_name": "freeslugs/eventum",
"id": "6ec193362247bb1d3b0ed3c94ba1b5cef638fb30",
"size": "106",
"binary": f... |
<?php
namespace Nette\Application;
use Nette;
/**
* Presenter request. Immutable object.
*
* @author David Grudl
*
* @property string $presenterName
* @property array $parameters
* @property array $post
* @property array $files
* @property string $method
*/
final class Request extends Ne... | {
"content_hash": "f753764a7cb62fb301cb240b7d79f850",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 99,
"avg_line_length": 18.03584229390681,
"alnum_prop": 0.5200715421303657,
"repo_name": "DerDu/MOC-Framework-Mark-V",
"id": "4572db7bcdc31ab19d74f1911fbadd0cce024c13",
"s... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>persistent-union-find: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootst... | {
"content_hash": "bb5790243084fac4abf8a3e0981b3d19",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 157,
"avg_line_length": 42.17341040462428,
"alnum_prop": 0.5538651315789473,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "99214e9114ad8ee635b10e96cb81592d79ae16db",
... |
#region Apache License Version 2.0
#endregion Apache License Version 2.0
using System;
using System.Text;
using System.Collections.Generic;
using System.IO;
using System.Xml.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Senparc.Weixin.Cache;
using Senparc.Weixin.Cache.Redis;
using Senparc.Weixin.Ex... | {
"content_hash": "d31d5e2ee0b08f9d1f6100ed02437545",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 113,
"avg_line_length": 30.062937062937063,
"alnum_prop": 0.5459409164922074,
"repo_name": "JeffreySu/WeiXinMPSDK",
"id": "4fd5f8178cb4a603f3c676ec584dddcf2c19b853",
"size... |
#ifndef RANDOMSEQUENCEGENERATOR_H_
#define RANDOMSEQUENCEGENERATOR_H_
#include "generator/InvalidRecordException.h"
#include "generator/AbstractSequenceGenerator.h"
#include "runtime/setter/SetterChain.h"
#include <Poco/AutoPtr.h>
#include <Poco/BasicEvent.h>
#include <Poco/PriorityEvent.h>
#include <Poco/PriorityD... | {
"content_hash": "6afd0f0f96ed4f46b6b44cff36c9ea65",
"timestamp": "",
"source": "github",
"line_count": 454,
"max_line_length": 161,
"avg_line_length": 27.920704845814978,
"alnum_prop": 0.6351372672767435,
"repo_name": "codeaudit/myriad-toolkit",
"id": "eb84b34395371622e3228c2d83ba5c80dbd4e39b",
"s... |
import React from 'react';
import PropTypes from 'prop-types';
const Navigation = ({components}) => {
return (
<ul className="navigation">
{
components.map( name => {
return (
<li key={name}>
<a href={`#${name}`}>{name}</a>
</li>
);
... | {
"content_hash": "376a16c6f7093326da08b36bca63f99a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 45,
"avg_line_length": 18.625,
"alnum_prop": 0.5055928411633109,
"repo_name": "eliaslopezgt/ps-react-eli",
"id": "f3b78f26c6a7134e0fd54361004a0ac97b79d88a",
"size": "447",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>MaterialAdminLTE 3 | Forgot Password (v2)</title>
<!-- Google Font: Source Sans Pro -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+P... | {
"content_hash": "896389cfbb4f16da5034335d2955aaf8",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 122,
"avg_line_length": 38.317460317460316,
"alnum_prop": 0.6006628003314002,
"repo_name": "DucThanhNguyen/MaterialAdminLTE",
"id": "fc542cdf9e4699a0e330106da19d6c52771b12e2"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>动态粒子特效__符海飞个人网站</title>
<!--title图标-->
<link rel="shortcut icon" type="image/x-icon" href="../../../images/favicon/favicon.ico">
<!--CSS.-->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
</head>
... | {
"content_hash": "327cd12e60368dba5cd171051900e861",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 301,
"avg_line_length": 46.63636363636363,
"alnum_prop": 0.6289798570500325,
"repo_name": "turkey321/turkey321.github.com",
"id": "0525d472947b5cf93adf1813e957f7e15158996e",
... |
<?xml version="1.0" encoding="UTF-8"?>
<containers xmlns="http://www.appserver.io/appserver">
<container name="combined-appserver">
<servers>
<server name="http">
<virtualHosts>
<virtualHost name="angular-messages.dev www.angular-messages.dev">
... | {
"content_hash": "95f59d47ec6e2c034d0ffae10a0c0694",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 125,
"avg_line_length": 48.46341463414634,
"alnum_prop": 0.3809763462506291,
"repo_name": "FlorianHartl/angular-messages",
"id": "3441de28f1fa3d8f2cf824f886b0cae5b38fee97",
... |
package com.example.android.movies.models;
import android.os.Parcel;
import android.os.Parcelable;
import com.example.android.movies.utilities.DateUtils;
/**
* Class describing a movie object
*/
public class Movie implements Parcelable {
// id of the movie
private int id;
//title of the movie
priv... | {
"content_hash": "163695ff1e5ed064367f70df3e04a1fa",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 140,
"avg_line_length": 25.61111111111111,
"alnum_prop": 0.6352133044107013,
"repo_name": "PavlosIsaris/Udacity-Popular-movies-Android-App",
"id": "d09ab603a9957e9c606d56317... |
**springboot-jetty-undertow-demo**: This module is a basic SpringBoot web application demonstrating how to use Jetty or Undertow Servlet containers instead of default Tomcat container.
#### How to run?
Cuurently spring-boot-starter-undertow is configured to use Undertow container.
springboot-jetty-undertow-demo> mvn... | {
"content_hash": "2837396e66170db2b84c62d357938895",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 184,
"avg_line_length": 46,
"alnum_prop": 0.782608695652174,
"repo_name": "sivaprasadreddy/springboot-learn-by-example",
"id": "ea4efa9ab41c8ca21cb95a8152fd2e86cab2b3dc",
"... |
using System.Reflection;
using System.Resources;
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("PluralSight Downl... | {
"content_hash": "f0d09064d662ac21c5e2ab5f232ee438",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 40.054054054054056,
"alnum_prop": 0.752361673414305,
"repo_name": "CodeBlueDev/PluralSightDownloader",
"id": "eb6dd089ec9f9bb2dfbc5f5f6bedf621fee284cb"... |
layout: post
title: Self Host a Wiki or Knowledge Base for Your Team
author: Sasank Chilamkurthy
---
How is your startup sharing knowledge with the rest of your team?
We've been using slack's `#general` or `#random` channels to make announcements.
We regularly post documents and PPTs in slack channels so that they can... | {
"content_hash": "13d2b4613128c696ab6756bfbe86a5ac",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 493,
"avg_line_length": 50.11864406779661,
"alnum_prop": 0.7632735880960433,
"repo_name": "chsasank/chsasank.github.io",
"id": "1bf7031a294e085e82d99b218a02ab22d2527440",
"... |
module.exports = function (options) {
var seneca = this;
var plugin = "gcm";
/*
|--------------------------------------------------------------------------
| Dependencies
|--------------------------------------------------------------------------
*/
var gcm = require("node-gcm");
... | {
"content_hash": "501e470ca9fb55c8bd56306cb91af005",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 103,
"avg_line_length": 32.38317757009346,
"alnum_prop": 0.42395382395382397,
"repo_name": "Xzya/PushMicroservice",
"id": "73c48801113f36ee6afb951b1c0b97cb0686e983",
"size... |
package com.babylove.www.spring.ioc.demo1.dao;
public interface InjectionDao {
public void save(String args);
}
| {
"content_hash": "26f14daeeedf6b726a65f8b84e5e564a",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 46,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.7672413793103449,
"repo_name": "l81893521/spring-example",
"id": "a90009b591f2afaddfebcd1bf5300ddf5dc6457b",
"size... |
require 'chef/provisioning/aws_driver/aws_provider'
require 'retryable'
class Chef::Provider::AwsInternetGateway < Chef::Provisioning::AWSDriver::AWSProvider
include Chef::Provisioning::AWSDriver::TaggingStrategy::EC2ConvergeTags
provides :aws_internet_gateway
def action_detach
internet_gateway = Chef::Res... | {
"content_hash": "f75dc2faa15a98740b89b2abbd902b01",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 117,
"avg_line_length": 29.56,
"alnum_prop": 0.699594046008119,
"repo_name": "Fodoj/chef-provisioning-aws",
"id": "56fb9abe4d10b722a2d025fa6346bfdc022617d8",
"size": "2217"... |
/**
* 1. Start the server
* 2. Launch Browser-Sync
*/
var gulp = require('gulp');
var browserSync = require('browser-sync').create(),
config = require('../config')(),
plg = require('gulp-load-plugins')({
pattern: ['gulp-*', 'gulp.*'],
replaceString... | {
"content_hash": "0550420d83c4d920001d46043c8b199c",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 82,
"avg_line_length": 25.602564102564102,
"alnum_prop": 0.513770655983976,
"repo_name": "strues/TopShelf",
"id": "16d860a64604974e1232a44f97692f8e74f2f048",
"size": "1997"... |
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, fillIn, waitUntil, find } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { clickTrigger, selectChoose } from 'ember-power-select/test-support/helpers';
module('Integration | Compon... | {
"content_hash": "8f6d5bdf54fcbe2a9ba225487341fd1d",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 102,
"avg_line_length": 27.748148148148147,
"alnum_prop": 0.6348104644954619,
"repo_name": "xomaczar/ember-paper",
"id": "82b7e871e39e9752fd60767185056d4fdb8fa8e6",
"size"... |
using Autofac;
namespace Crane.Core.Tests.TestUtilities
{
public static class ModuleExtension
{
public static IContainer BuildContainerWithModule(this Module module)
{
var builder = new ContainerBuilder();
builder.RegisterModule(module);
var container = buil... | {
"content_hash": "90193b7d02524280a5c21cc984b771cb",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 77,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6236842105263158,
"repo_name": "ewilde/crane",
"id": "bf1d65aae240a342df75e08918afdb1e62874622",
"size": "382",
... |
<div className="button-Primary">
<i className="icon icon-Arrow-Right" />
</div>;
| {
"content_hash": "5d647a7958def4c66fa2d99c10f13d75",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 43,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6588235294117647,
"repo_name": "trevonerd/babel-plugin-react-jsx-boilerplate",
"id": "2320faf3562b4f7b7a04c42128a306... |
function FileData_Pairs(x)
{
x.t("properties","managing");
x.t("properties","[characterization]");
x.t("properties","continue");
x.t("properties","defining");
x.t("properties","unique");
x.t("properties","section");
x.t("managing","sample");
x.t("[characterization]","properties");
x.t("once","click");
x.t("s... | {
"content_hash": "6f16e57233aad740b30b05b749ba01fe",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 39,
"avg_line_length": 28.12676056338028,
"alnum_prop": 0.613420130195293,
"repo_name": "NCIP/cananolab",
"id": "7964b5a753a97bf594ccc71342a972b3a91677b6",
"size": "1997",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
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, Ver... | {
"content_hash": "c3588b53fd47f5cd1bbfb2030206c5fb",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 118,
"avg_line_length": 36.3855421686747,
"alnum_prop": 0.678476821192053,
"repo_name": "mattfenwick/bigtop",
"id": "d413cfb84cf3738a62197441c4e4219da194b959",
"size": "302... |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions for the replication GUI
*
* @package PhpMyAdmin
*/
namespace PhpMyAdmin;
use PhpMyAdmin\Core;
use PhpMyAdmin\Message;
use PhpMyAdmin\Replication;
use PhpMyAdmin\Response;
use PhpMyAdmin\Url;
use PhpMyAdmin\Util;
/**
* PhpMyAdmin\ReplicationGui class... | {
"content_hash": "2fbe5abcbfade816e6b424e24b0c550f",
"timestamp": "",
"source": "github",
"line_count": 1094,
"max_line_length": 175,
"avg_line_length": 39.11791590493601,
"alnum_prop": 0.463068115434046,
"repo_name": "cytopia/devilbox",
"id": "f9e3534df8123d002939e64cd3585083800bb7a9",
"size": "42... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Fra... | {
"content_hash": "939cd1d5ffc728d3a4cf87ec8c2fa0ac",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 149,
"avg_line_length": 34.63095238095238,
"alnum_prop": 0.480577518047439,
"repo_name": "Tom94/osu-framework",
"id": "7c75a74532b35f96622f407a763ad223910490b4",
"size": "... |
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
typedef double swift_double2 __attribu... | {
"content_hash": "e8ad9cf78eded3dff4b85fe5da90f8bc",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 176,
"avg_line_length": 42.38549618320611,
"alnum_prop": 0.7777577667717245,
"repo_name": "1640/MovingHelper",
"id": "fa2f609f3c264a3dd623f6527298b7cc58140409",
"size": "1... |
<?php
namespace My\BetBundle\Entity;
use Doctrine\ORM\EntityRepository;
/**
* BetRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class BetRepository extends EntityRepository
{
public function findAllUserBets($start, $end)
{
$query = $t... | {
"content_hash": "20481e4c5377d7a154945c67a9c5189e",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 73,
"avg_line_length": 26.962025316455698,
"alnum_prop": 0.5666666666666667,
"repo_name": "damianoo84/pracamagisterska",
"id": "4e152422b325842c5bfc15deca793e24f8d15219",
"... |
#include <math.h>
#include <stdio.h>
#include "HalideRuntime.h"
#include "HalideBuffer.h"
#include <assert.h>
#if COMPILING_FOR_CUDA
#include "HalideRuntimeCuda.h"
#elif COMPILING_FOR_OPENCL
#include "HalideRuntimeOpenCL.h"
#endif
#include "gpu_object_lifetime.h"
#include "../common/gpu_object_lifetime.h"
using nam... | {
"content_hash": "ea72088c6146d0003f64b97070b12d5a",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 114,
"avg_line_length": 23.310344827586206,
"alnum_prop": 0.5976331360946746,
"repo_name": "jiawen/Halide",
"id": "920bfdce7322c17333124ddbb5cbeaae8ad9bb86",
"size": "1352"... |
Set-StrictMode -Version Latest
Set-Location (Split-Path $PSScriptRoot)
tool/version.ps1
node_modules/.bin/tsc --project src/tsconfig.json
| {
"content_hash": "aa4f7cd04f40500bfe4dc9273810e373",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 49,
"avg_line_length": 27.8,
"alnum_prop": 0.7985611510791367,
"repo_name": "cedx/reverse-proxy.js",
"id": "124c5d6f59d0ae13fe4871cab07de45020b1ad06",
"size": "159",
"bina... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>File common/libraries/Logger.php</title>
<link rel="stylesheet" href="resources/bootstrap.min.css?08b23951ef4599ca9cbf1f902d0e8290c9653ddd">
<link rel="stylesheet" href="resources/style.css?062e9e59e0b8c44fbaaded5b... | {
"content_hash": "8667cbf395dd2399f17002e7b00270a4",
"timestamp": "",
"source": "github",
"line_count": 665,
"max_line_length": 537,
"avg_line_length": 72.6,
"alnum_prop": 0.6145321982642556,
"repo_name": "nailsapp/site-docs",
"id": "4d11703315414e3fb4eb8c65ebf8fe1c780e367e",
"size": "48279",
"bi... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "f98205b975b9a06eea9341855dbe4c83",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 136,
"avg_line_length": 51.68023255813954,
"alnum_prop": 0.7017662279221509,
"repo_name": "yuananf/presto",
"id": "8ea3a494bd5e271bb9e5c1ecb47958719c1859bd",
"size": "8889... |
package com.yummynoodlebar.config;
import static junit.framework.TestCase.assertEquals;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.when;
import java.util.Date;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
i... | {
"content_hash": "e8d6eef20c660d53f43d5e578ea8f15e",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 130,
"avg_line_length": 34.532467532467535,
"alnum_prop": 0.8108311395261376,
"repo_name": "cnbcg/yummynoodlebar-project",
"id": "e9660736cb416aaf55d73f62724d11f1a05dc01d",
... |
package com.herak.bouldershare.classes;
import android.Manifest;
import android.content.ContentValues;
import android.content.Context;
import android.content.pm.PackageManager;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Color;
import a... | {
"content_hash": "437e143dbfb379b4dccb3425b6dee996",
"timestamp": "",
"source": "github",
"line_count": 470,
"max_line_length": 213,
"avg_line_length": 35.88085106382979,
"alnum_prop": 0.5845588235294118,
"repo_name": "DarkokraD/BoulderShare",
"id": "dac58a7fc25fd57856ebd70d5ac318d012e524a2",
"size... |
<?xml version="1.0" encoding="iso-8859-1" ?>
<project name="MobileMedia-Cosmos-v6" default="full-build-and-run-default" basedir=".">
<!-- Define all relevant properties here. -->
<property name="workspace.dir" location="${basedir}"/>
<!-- <property file="homeBuild.properties"/>-->
<property file="labBuild.pr... | {
"content_hash": "94aed8c40093b72d106b488d7ee2824c",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 191,
"avg_line_length": 47.550943396226415,
"alnum_prop": 0.5167843821918895,
"repo_name": "leotizzei/MobileMedia-Cosmos-v6",
"id": "156e397e16df91a775146f332e2a449c8a017629... |
var Sequelize = require('sequelize');
module.exports = function(sequelize) {
var Gratitude = sequelize.define('gratitudes', {
entry: Sequelize.STRING(500),
interface: Sequelize.STRING(10),
datetime: Sequelize.DATE,
userId: {
type: Sequelize.INTEGER,
references: {
model: 'users', /... | {
"content_hash": "761e6e11fa145065f24d157a9650387f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 104,
"avg_line_length": 25.61111111111111,
"alnum_prop": 0.6355748373101953,
"repo_name": "scrumptiousAmpersand/journey",
"id": "c9540d1c6d41d15224498bcbb2615367769ebed8",
... |
using System;
using Jobs.Tasks.Events;
namespace Jobs.Reports
{
/// <summary>
/// A description of a task taken as a snapshot.
/// </summary>
public interface iTaskReport
{
/// <summary>
/// The history of events for this task.
/// </summary>
iEventRecorder EventRec... | {
"content_hash": "17ca976ec12e9c1693ffcd40379aaa7b",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 52,
"avg_line_length": 21.03846153846154,
"alnum_prop": 0.5009140767824497,
"repo_name": "thinkingmedia/gems",
"id": "a435cafa59b34c64f17b3fc37ebb626b21c97c03",
"size": "54... |
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import numpy as np
import tensorflow as tf
# Data sets
IRIS_TRAINING = "./iris/iris_training.csv"
IRIS_TEST = "./iris/iris_test.csv"
# Load datasets.
# csv 文件读取方法
training_set = tf.contrib.learn.datasets.base... | {
"content_hash": "3403df2f4fbe3e06b29821ff54776cac",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 84,
"avg_line_length": 29.231884057971016,
"alnum_prop": 0.623202776400595,
"repo_name": "yu961549745/tfnote",
"id": "18fb92a87eb20616116ae6faf6ec42ecfd1ed6ff",
"size": "21... |
package asw.socket.server.connector;
import asw.socket.service.Service;
import java.net.*;
import java.io.*;
import java.util.logging.Logger;
/* Remote proxy lato server per il servizio Service. */
public class ServiceServerTCPProxy {
/* logger */
private Logger logger = Logger.getLogger("asw.socket.server.conne... | {
"content_hash": "faab230e5aa7aeaad4b1f5228ebfce12",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 77,
"avg_line_length": 31.555555555555557,
"alnum_prop": 0.6387323943661972,
"repo_name": "aswroma3/asw",
"id": "4dfe33a5a5b3560d36eb66789f7fc24e723e8d14",
"size": "1420",
... |
.mdc-dialog,
.mdc-dialog__scrim {
position: fixed;
top: 0;
left: 0;
align-items: center;
justify-content: center;
box-sizing: border-box;
width: 100%;
height: 100%;
}
.mdc-dialog {
display: none;
z-index: 7;
}
.mdc-dialog .mdc-dialog__surface {
background-color: #fff;
/* @alternate */
backgr... | {
"content_hash": "a1b726af675a5131d2963d3bbc392625",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 138,
"avg_line_length": 22.263157894736842,
"alnum_prop": 0.65467747382641,
"repo_name": "Chan4077/chan4077.github.io",
"id": "9b688553273927c521caa3b340e243ee7403a34f",
"... |
Using a schedule's specific id. display the Whencast on a page. The schedule id can be gotten from the "share/embed" section on any Whencast. This sample does not require an Access Token.
## Requirements
Include the WhenHub scripts in your html file:
`<script src="https://cdn.whenhub.com/lib/whenhub/whencast.help... | {
"content_hash": "572ad1a823a29fbb3d08a28e747bad98",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 188,
"avg_line_length": 66.83333333333333,
"alnum_prop": 0.7456359102244389,
"repo_name": "WhenHub/dev-samples",
"id": "9e64d032e29ff495f66debce3e8f5ad0d36bd8e3",
"size": "4... |
import java.util.*;
/*
* Represents the table onto which we can deal cards. Cam also
* pick up cards from table if there are any present.
*/
public class Table
{
public Table (boolean debug)
{
_theTable = null;
_debug = debug;
}
public boolean deal (Deck theDeck, int increment)
... | {
"content_hash": "a87494b39742e69ad406e0168dc872e2",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 77,
"avg_line_length": 21.475409836065573,
"alnum_prop": 0.5465648854961832,
"repo_name": "nmcl/scratch",
"id": "72c2ce960f99abdbdac2d6ac2a41c26d4a1535d2",
"size": "1310",
... |
//#define DEBUG_MOUSETRACKING
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Diagnostics;
using System.Text;
using System.IO;
using System.Threading;
using Poderosa.Document;
using Poderosa.View;
using Poderosa.Sessions;
using Pod... | {
"content_hash": "c7eeedfaf0034c3653f23c0dd9e8a872",
"timestamp": "",
"source": "github",
"line_count": 1301,
"max_line_length": 245,
"avg_line_length": 39.068408916218296,
"alnum_prop": 0.5522153143936414,
"repo_name": "ArsenShnurkov/poderosa",
"id": "558ace07c27bb601b20db875a08e64854f9184a0",
"si... |
import {HttpModule, Http} from '@angular/http';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import {TranslateModule, TranslateLoader} fr... | {
"content_hash": "637ad9696d3a16e8dd26d328bf9d4e73",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 92,
"avg_line_length": 29.390625,
"alnum_prop": 0.7150451887293993,
"repo_name": "Pencroff/PerfJS",
"id": "a3702aae68cfb85772dcdb07df71778aae6dd9e8",
"size": "1882",
"bin... |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... | {
"content_hash": "7d4a747dfb94c604e024dc17f80d3ede",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 94,
"avg_line_length": 29.215686274509803,
"alnum_prop": 0.6335570469798658,
"repo_name": "tum-i22/obfuscated-programs",
"id": "3b15634354dd2cb386837e7a99673f1426a1cea9",
... |
This is a set of tools to output sensor (or other) data from an arduino, graph it with Processing, and log it with a C# Console Application to a file, a database, or both. The Console application is TopShelf enabled so it can be installed as a Windows Service.
### General Requirements
- To upload the Arduino Sketch,... | {
"content_hash": "bb14391a5fee74736fc5f2f264238198",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 260,
"avg_line_length": 45.107142857142854,
"alnum_prop": 0.7695961995249406,
"repo_name": "Ehryk/ArduinoMonitor",
"id": "a3778729cae7a6f22c11d0460a3dea807a7246f6",
"size":... |
using content::BrowserContext;
namespace quota_internals {
QuotaInternalsHandler::QuotaInternalsHandler() {}
QuotaInternalsHandler::~QuotaInternalsHandler() {
if (proxy_.get())
proxy_->handler_ = NULL;
}
void QuotaInternalsHandler::RegisterMessages() {
web_ui()->RegisterMessageCallback("requestInfo",
... | {
"content_hash": "2f847668608cf7bdf0088921e36a32d2",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 77,
"avg_line_length": 32.63513513513514,
"alnum_prop": 0.7060041407867494,
"repo_name": "danakj/chromium",
"id": "62af29aff01fe0d9c98f98801ba5b1432690fa8d",
"size": "3054"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d596818812634839cb01fa1af16a5e69",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "33768a129560a17ab41582abb417908bc15f3461",
"size": "172... |
package com.github.assisstion.Quizzer.vocab;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import com.github.assisstion.Quizzer.system.QuestionFactory;
import com.github.assisstion.Quizzer.syste... | {
"content_hash": "2f10269658b53f1c40ab88da18cb982e",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 143,
"avg_line_length": 23.646464646464647,
"alnum_prop": 0.6247330200768902,
"repo_name": "assisstion/Quizzer",
"id": "d4eb50b2fac65eeb1a556d4ddcb1afafa72ae17e",
"size": ... |
package commandline.language.parser.specific;
import org.junit.Test;
import java.io.File;
import static org.junit.Assert.assertEquals;
/**
* User: gno, Date: 01.08.13 - 11:13
*/
public class FileArgumentParserTest {
public FileArgumentParserTest() {
super();
}
@Test
public void testParse() {
FileArgument... | {
"content_hash": "a38a3856be527f28b0f85bfd6ddc79e7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 45,
"avg_line_length": 18.071428571428573,
"alnum_prop": 0.7055335968379447,
"repo_name": "Gabro86/java-command-line-interface",
"id": "4e30d6deab4645271548163455862cc9640d74... |
package deprecated.org.crf.utilities;
import deprecated.org.crf.function.DerivableFunction;
import org.apache.log4j.Logger;
/**
* A {@link DerivableFunction} that remembers the last computed value and gradient.
* So, if the user calls {@link #value(double[])} for the same point (and there was
* no other call to {@... | {
"content_hash": "f45b3153336d7e80a39de4e9c7bba5f3",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 117,
"avg_line_length": 28.43421052631579,
"alnum_prop": 0.7399352151781583,
"repo_name": "digitalheir/java-rechtspraak-library",
"id": "4636565c51c83b7c4c64d7168bb28e96e37cd... |
'use strict';
/**
* Placeholder `render` function.
*
* @private
* @param {string} fmt - render format
* @throws {Error} must be implemented by descendant classes
*/
function render() {
throw new Error( 'not implemented' );
}
// EXPORTS //
module.exports = render;
| {
"content_hash": "886b8492b8cbe858e12f5550c1307ca9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 59,
"avg_line_length": 14.263157894736842,
"alnum_prop": 0.6678966789667896,
"repo_name": "stdlib-js/stdlib",
"id": "d7046a7a64631bce4aa0734f34672caf2fec27ba",
"size": "887... |
"""Test Notebook plugin."""
#-------------------------------------------------------------------------------------------------
# Imports
#-------------------------------------------------------------------------------------------------
import os.path as op
import re
from textwrap import dedent
from podoc.ast import... | {
"content_hash": "f23097e253296ffd22419daebe2c051c",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 98,
"avg_line_length": 32.96511627906977,
"alnum_prop": 0.5534391534391534,
"repo_name": "rossant/podoc",
"id": "756865ac510bf81df156345313a16d171c51e1e5",
"size": "5695",... |
package helios
import (
"io/ioutil"
"net/http"
"testing"
)
const (
ServerAddress = "http://localhost:8080"
)
func skipInShortMode(t *testing.T) {
if testing.Short() {
t.Skip("Skipping E2e test in short mode.")
}
}
func getResponse(address string, t *testing.T) []byte {
resp, err := http.Get(address)
if er... | {
"content_hash": "7860d3d1de889cd4d54ed35eec3f0688",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 55,
"avg_line_length": 16.65625,
"alnum_prop": 0.6585365853658537,
"repo_name": "ArturKlajnerok/helios",
"id": "c961aab9f458ee4ed6dc00dd24096d3674b872d6",
"size": "533",
... |
import React, { Component } from 'react';
import MapView from './map-view';
import RecentPins from './recent-pins';
import PinControls from './pin-controls';
import UserStatusBar from './user-status-bar';
export default ({
pins,
auth,
mapOptions,
updateMapPrefs,
addPin,
removeAllPins,
logi... | {
"content_hash": "9be368a3dd3d12fc18339cb1cc926c23",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 85,
"avg_line_length": 27.176470588235293,
"alnum_prop": 0.487012987012987,
"repo_name": "mtharrison/whereyouat",
"id": "bc850e5f8f3bd73dd175b0bd7c46c0411a9bb252",
"size": ... |
{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'css/bootstrap-theme.min.css' %}" rel="stylesheet">
<link href="{% static 'css/font-awesome.css' %}" rel="stylesheet">
<link... | {
"content_hash": "bf7c83f29a73ebb268845574963c47cd",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 169,
"avg_line_length": 47.31967213114754,
"alnum_prop": 0.37103758877533344,
"repo_name": "krainet/Wordplease",
"id": "c4b24a6e33dac17603a52aa0d39367b7de3535ca",
"size": ... |
<?xml version="1.0"?>
<InterchangeStudentGrade xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ed-fi.org/0100"
xsi:schemaLocation="http://ed-fi.org/0100 ../../../../../../../sli/edfi-schema/src/main/resources/edfiXsd-SLI/SLI-Interchange-StudentGrade.xsd">
<Action ActionT... | {
"content_hash": "f0ec975589c63d0c5d96b72ccf6f7350",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 169,
"avg_line_length": 53.5,
"alnum_prop": 0.5393858477970628,
"repo_name": "inbloom/secure-data-service",
"id": "625873e9fb740cf8f573b0ebb18e2be77272b25b",
"size": "2247"... |
#ifndef _ALTOVA_INCLUDED_AIMXML_ALTOVA_iso_ALTOVA_CNPPD_ED_Signature
#define _ALTOVA_INCLUDED_AIMXML_ALTOVA_iso_ALTOVA_CNPPD_ED_Signature
#include "type_iso.CANY.h"
namespace AIMXML
{
namespace iso
{
class CNPPD_ED_Signature : public ::AIMXML::iso::CANY
{
public:
AIMXML_EXPORT CNPPD_ED_Signature(xercesc::DOMNo... | {
"content_hash": "f6bcde001dec26a3c9d441087a5cdc16",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 134,
"avg_line_length": 28.424242424242426,
"alnum_prop": 0.7494669509594882,
"repo_name": "NCIP/annotation-and-image-markup",
"id": "5d5c1be37030c32e3a90b7a40c2fb4fb014951dc... |
package fixtures.http.implementation;
import retrofit2.Retrofit;
import fixtures.http.HttpServerFailures;
import com.microsoft.rest.ServiceCall;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceResponse;
import com.microsoft.rest.ServiceResponseBuilder;
import com.microsoft.rest.ServiceRes... | {
"content_hash": "c3c64d0e5da92702569424b5f37d7d3a",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 122,
"avg_line_length": 43.55747126436781,
"alnum_prop": 0.6451378809869376,
"repo_name": "AzCiS/autorest",
"id": "4a625a16d15130a722f76409c6054423e4f74fb3",
"size": "1547... |
using System;
using System.Collections.Generic;
using System.Data;
using FluentMigrator.Builders.Execute;
using FluentMigrator.Expressions;
namespace FluentMigrator
{
public interface IMigrationProcessor : IQuerySchema, IDisposable
{
IMigrationProcessorOptions Options { get; }
string Connection... | {
"content_hash": "0572e78f483bde3a725191cdb19eae81",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 68,
"avg_line_length": 41.94642857142857,
"alnum_prop": 0.7428693060876969,
"repo_name": "jogibear9988/fluentmigrator",
"id": "dd3887bf6045dc315f45dbfae10319bd72f2ebf0",
"s... |
namespace taichi::lang {
class LowerAccessPass : public Pass {
public:
static const PassID id;
struct Args {
std::vector<SNode *> kernel_forces_no_activate;
bool lower_atomic;
};
};
} // namespace taichi::lang
| {
"content_hash": "255f98d7ba31a8134be065b6fac2814f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 51,
"avg_line_length": 17.615384615384617,
"alnum_prop": 0.6724890829694323,
"repo_name": "yuanming-hu/taichi",
"id": "68f764fbddd1ccbc0a483e51ba3b47f296e353a6",
"size": "2... |
package com.amazonaws.sample.lex;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
public class MessagesListAdapter extends BaseAdapter {
private Context context;
pr... | {
"content_hash": "54add707759403eac30b982009f15fc3",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 100,
"avg_line_length": 27.743243243243242,
"alnum_prop": 0.6385776911836337,
"repo_name": "awslabs/aws-sdk-android-samples",
"id": "d111c63d78113dd54cd672ec6d6d8f45f57f114d"... |
@interface SamuraiHtmlStyleObject(NumberPt)
- (BOOL)isPt;
@end
#pragma mark -
@interface SamuraiHtmlNumberPt : SamuraiHtmlNumber
@end
#endif // #if (TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR)
| {
"content_hash": "3ba50de9f6ad1c53a1ac8de5aac31fc8",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 59,
"avg_line_length": 16.583333333333332,
"alnum_prop": 0.7537688442211056,
"repo_name": "cyndibaby905/samurai-native",
"id": "3504a813fa0aa2a6f951134b03c2123bb7bb5d19",
"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | {
"content_hash": "6c130a5f79fa374dbe9fe27ff9a07b0e",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 383,
"avg_line_length": 54.843511450381676,
"alnum_prop": 0.5902985593987056,
"repo_name": "coq-bench/coq-bench.github.io-old",
"id": "1ffc53468389ab0333b9c010c82f4f66d8ddcb... |
import { difference } from 'lodash'
export default difference
| {
"content_hash": "2b6d9f0f7396239e1e5458e6c2ab400d",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 35,
"avg_line_length": 21,
"alnum_prop": 0.7777777777777778,
"repo_name": "WorldBrain/WebMemex",
"id": "7b4319c1e91537d7690091e3883c3dc9c5861530",
"size": "63",
"binary": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.