text stringlengths 2 1.04M | meta dict |
|---|---|
. /home/airi/distro/install/bin/torch-activate
if [ -f "./on_training" ]; then
echo "On Training. Exit."
exit 1
fi
touch on_training
./classifier.py --dlibFacePredictor ignore --cuda train --classifier DBN --epoch 400 output/embedding/user
mv -f output/embedding/user/classifier.pkl ../dbn/
./classifier.py -... | {
"content_hash": "ff428fc1fd796fe16ba899c4918ed800",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 109,
"avg_line_length": 31.625,
"alnum_prop": 0.7391304347826086,
"repo_name": "SeonghoBaek/RealtimeCamera",
"id": "8a1ee67199f350c0ca6dd56ad07ebba548808503",
"size": "518"... |
'use strict';
angular.module('clansApp')
.service('clandata', function($http, $q, $rootScope, $location, CONFIG){
this.Fetch = function() {
var deferred = $q.defer();
$http.get(CONFIG.clanDataUrl).success(function (data) {
console.log('Data successful');
deferred.resolve(data);
}).error(funct... | {
"content_hash": "cfdca87d6cf34c46cd18fb1528f0318f",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 93,
"avg_line_length": 24.134751773049647,
"alnum_prop": 0.5568615927123126,
"repo_name": "Echo12/armaclans.de",
"id": "0c8b4c815304deae26db93fa0f34995e9e81063d",
"size": ... |
define(['bluebird', 'common/ui', 'common/html', 'common/events'], (Promise, UI, html, Events) => {
'use strict';
const div = html.tag('div'),
span = html.tag('span'),
button = html.tag('button'),
baseCss = 'kb-filetype-panel',
fileTypeIcon = `${baseCss}__filetype_icon`,
... | {
"content_hash": "811d199b313379dc867d919ed4470015",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 103,
"avg_line_length": 39.275862068965516,
"alnum_prop": 0.47157594381035994,
"repo_name": "kbase/narrative",
"id": "309eaf4e0b79f9ea15897b29ae25fd0405897a20",
"size": "9... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Containers/Array.h"
#include "Containers/BitArray.h"
// Forward declarations.
template<typename ElementType,typename Allocator = FDefaultSparseArrayAllocator >
class TSparseArray;
/** The result of a sparse array allocation. */
st... | {
"content_hash": "697dca32bd8d08107d5a5110d552b603",
"timestamp": "",
"source": "github",
"line_count": 997,
"max_line_length": 237,
"avg_line_length": 30.613841524573722,
"alnum_prop": 0.7233470938994824,
"repo_name": "PopCap/GameIdea",
"id": "165f3bd87ade80ea99902f129de436d1a7dc5ffd",
"size": "30... |
//package io.iansoft.blockchain.service.mapper;
//
//import io.iansoft.blockchain.domain.*;
//import io.iansoft.blockchain.service.dto.ResourceDTO;
//
//import org.mapstruct.*;
//
///**
// * Mapper for the entity Resource and its DTO ResourceDTO.
// */
//@Mapper(componentModel = "spring", uses = {CoinMapper.class, })
/... | {
"content_hash": "b648c996e6c3a72ab016d8b956154e92",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 80,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.6316425120772947,
"repo_name": "iansoftdev/all-blockchain",
"id": "af65711b3fd5a01ddeda78fe8a09b403eae13f16",
"si... |
if(!dojo._hasResource["dojox.drawing.manager.Canvas"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["dojox.drawing.manager.Canvas"] = true;
dojo.provide("dojox.drawing.manager.Canvas");
(function(){
dojox.drawing.manager.Canvas = dojox.drawing.util.oo.de... | {
"content_hash": "fb445b3b3cc2d5c287080bdd39ed1e7c",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 144,
"avg_line_length": 29.958333333333332,
"alnum_prop": 0.6437512418040929,
"repo_name": "henry-gobiernoabierto/geomoose",
"id": "a06d9048089c0cc44a9b773af9800efc2457db1a"... |
<!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/html; charset=utf-8" />
<title>Search — Material Model Laboratory 3.0 documentatio... | {
"content_hash": "fed0c0c37699d00ef09747c98fe6e2fb",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 143,
"avg_line_length": 34.1578947368421,
"alnum_prop": 0.6394453004622496,
"repo_name": "matmodlab/matmodlab2",
"id": "db41466c844edc89b38595e4e98f78595a9fa150",
"size": ... |
.v-tree-node {
background: transparent url(img/collapsed.png) no-repeat 2px 1px;
}
.v-tree-node-expanded {
background: transparent url(img/expanded.png) no-repeat 2px 1px;
}
.v-tree-node-caption {
margin-left: 18px;
}
.v-tree-node-caption .v-icon {
margin: 0 2px 0 -2px;
}
.v-tree-node-caption span {
padding: 0 1px... | {
"content_hash": "cf0b46da73b694011c8daf95dc8ceb02",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 121,
"avg_line_length": 22.964285714285715,
"alnum_prop": 0.6547433903576982,
"repo_name": "rjenkins/Reusable-Vaadin-Custom-Layout-Forms",
"id": "bec3b318dd6269ddc79b3150e931... |
/* */
define(['exports', 'aurelia-pal', 'aurelia-task-queue', 'aurelia-metadata'], function (exports, _aureliaPal, _aureliaTaskQueue, _aureliaMetadata) {
'use strict';
exports.__esModule = true;
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) ... | {
"content_hash": "83bd3fc2ce1fa16abb195e5abf78f145",
"timestamp": "",
"source": "github",
"line_count": 5236,
"max_line_length": 568,
"avg_line_length": 32.25935828877005,
"alnum_prop": 0.6141909892842342,
"repo_name": "bitfly-p2p/bitfly-client",
"id": "aa10771deb9cf654a61a47a22f001f393400276f",
"s... |
'use strict';
var utils = require('./utils');
function Task(queue, id, data, attempts) {
this._queue = queue;
this.id = id;
this.data = data;
this.attempts = attempts || 0;
}
/**
* The callback to run when a task is complete
* @param {Object} [err] - Any error that occured while processing task
* @param ... | {
"content_hash": "b472b46495156f2a2f07e7f5a1109f71",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 78,
"avg_line_length": 21.263157894736842,
"alnum_prop": 0.5899339933993399,
"repo_name": "jimgswang/RedisQueue",
"id": "b2dfae7b3ca3ffad68d13444afdd8997a1a99567",
"size": ... |
from ciscoconfparse import CiscoConfParse
def parser():
parse = CiscoConfParse('parsefile.txt')
crypto = parse.find_objects(r'crypto map CRYPTO')
for i in crypto:
print i.text
for child in i.children:
print child.text
parser()
| {
"content_hash": "1ba3b503497cfab32cbb907f6344bc09",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 53,
"avg_line_length": 29.666666666666668,
"alnum_prop": 0.6629213483146067,
"repo_name": "thecableguy11492/pynet_practice",
"id": "f8517dd43f739ed7fabd19289cc28225e0a7d88d",
... |
./fetch-mean.sh > mean.dat
| {
"content_hash": "1bc84cb050353a2dcdd08ac18db379a5",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 26,
"avg_line_length": 27,
"alnum_prop": 0.6666666666666666,
"repo_name": "mkurnosov/tscbench",
"id": "8a5dcc85ee564cf9969eed60710995b11a12ff32",
"size": "38",
"binary": f... |
<?php
namespace Simgroep\ConcurrentSpiderBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Loader;
/**
* This is the class that lo... | {
"content_hash": "ae5bacf51ef2e9fa56e6457f4a1da7f0",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 132,
"avg_line_length": 57.34090909090909,
"alnum_prop": 0.7177962742766548,
"repo_name": "Breuls/concurrent-spider-bundle",
"id": "0d1629e67ec4190835a31de086fb753584d55fb0",... |
<merge xmlns:android="http://schemas.android.com/apk/res/android" >
<ListView
android:id="@+id/lv_favorlilst"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@android:color/white"
android:isScrollContainer="false" />
<... | {
"content_hash": "b70637f144544e8abc782674f9028d51",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 67,
"avg_line_length": 31.77777777777778,
"alnum_prop": 0.6118881118881119,
"repo_name": "linghp/ZLFAsist",
"id": "3e0dfd748f86bb681dca800120911c74d4a3c70b",
"size": "572",... |
/* 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": "82fc8ebb18b0c77f26b1736d95e1675d",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 102,
"avg_line_length": 41.44897959183673,
"alnum_prop": 0.7493845396356474,
"repo_name": "dbmalkovsky/flowable-engine",
"id": "0ac6dab35a59927b43837c5ea72e5cd57bf11431",
"... |
Scalr.regPage('Scalr.ui.account2.environments.clouds.gce', function (loadParams, moduleParams) {
var params = moduleParams['params'];
var form = Ext.create('Ext.form.Panel', {
bodyCls: 'x-container-fieldset',
fieldDefaults: {
anchor: '100%',
labelWidth: 110
},
autoScro... | {
"content_hash": "3ea59045e8784ba2803fad80c9e907f5",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 96,
"avg_line_length": 33.277227722772274,
"alnum_prop": 0.42308836655757215,
"repo_name": "kikov79/scalr",
"id": "586a6b9e04f8b23c05022e8888b887e7674eec3d",
"size": "3361... |
<?php
/*
Safe sample
input : Get a serialize string in POST and unserialize it
Uses a number_int_filter via filter_var function
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, and di... | {
"content_hash": "2cdb8afb8e628d9f4c81becd4600c4e9",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 75,
"avg_line_length": 23.921875,
"alnum_prop": 0.7393860222077073,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "36efe7c25d99f68588e0ebf3e39b4f7be04e44c7",
... |
import React, {Component} from 'react';
import './AutomatedRuns.css';
import 'react-select/dist/react-select.css';
import { Modal, Button, Alert } from 'react-bootstrap';
import CodeMirror from 'react-codemirror';
import 'codemirror/lib/codemirror.css';
import 'codemirror/mode/python/python';
function DisplayError(pro... | {
"content_hash": "479579a893ab9cf32f8a23a093048a68",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 97,
"avg_line_length": 27.885057471264368,
"alnum_prop": 0.5886232481450948,
"repo_name": "reiinakano/xcessiv",
"id": "e28064b72d4c6396a91249b1d9d10a910a49666c",
"size": "2... |
from ducktape.mark.resource import cluster
from kafkatest.tests.kafka_test import KafkaTest
from kafkatest.services.streams import StreamsEosTestDriverService, StreamsEosTestJobRunnerService, StreamsEosTestVerifyRunnerService
import time
class StreamsEosTest(KafkaTest):
"""
Test of Kafka Streams exactly-once... | {
"content_hash": "89f9272d06d3c018e7db141c4febf75f",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 133,
"avg_line_length": 29.677777777777777,
"alnum_prop": 0.6330962186447023,
"repo_name": "YMCoding/kafka-0.11.0.0-src-with-comment",
"id": "305cde095777b888d5b55ddc3c14a058... |
require 'gemoji'
require 'magnet/markdown/filter'
class Magnet::Markdown::Filter::Emoji < HTML::Pipeline::Filter
def self.emojis
Emoji.all.map(&:aliases).flatten.sort
end
def self.regexp_pattern
@regexp_pattern ||= /:(?<name>#{ (emojis.map { |n| Regexp.escape(n) }).join('|') }):/xo
end
def self.img... | {
"content_hash": "f05acd01446f92dc4fe143927cf0f4e4",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 123,
"avg_line_length": 24.672727272727272,
"alnum_prop": 0.6285924834193073,
"repo_name": "magnet-inc/magnet-markdown",
"id": "d9b6a7532888c1f35ac3bfe78eef8054f1115e83",
"... |
package helpers
import (
"io/ioutil"
"strings"
"talisman/detector/severity"
mock "talisman/internal/mock/prompt"
"talisman/prompt"
"talisman/talismanrc"
"testing"
"github.com/golang/mock/gomock"
"github.com/spf13/afero"
logr "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
func init() ... | {
"content_hash": "1bb2988c0a13651c186ed01ff2b66aae",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 177,
"avg_line_length": 42.430278884462155,
"alnum_prop": 0.7490140845070422,
"repo_name": "thoughtworks/talisman",
"id": "2ddf2df0dc298e0137dd5fccc1cae5210d5f08b3",
"size... |
namespace theia {
// Estimate a model using EVSAC sampler.
template <class ModelEstimator>
class Evsac : public SampleConsensusEstimator<ModelEstimator> {
public:
typedef typename ModelEstimator::Datum Datum;
typedef typename ModelEstimator::Model Model;
typedef ModelEstimator Estimator;
// Params:
... | {
"content_hash": "a492dc3c79e2317dcf0bae702027a9dd",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 79,
"avg_line_length": 39.24,
"alnum_prop": 0.6952089704383282,
"repo_name": "klemmster/TheiaSfM",
"id": "969d7bce182f30e781dac7882baf967e08c8b1dc",
"size": "4002",
"bina... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
| Generated by Apache Maven Doxia at 2016-10-07
| Rendered using Apache Maven Fluido Skin 1.2.1
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http... | {
"content_hash": "48079b7e90971d07bc4ac2ae4949d491",
"timestamp": "",
"source": "github",
"line_count": 385,
"max_line_length": 251,
"avg_line_length": 49.25454545454546,
"alnum_prop": 0.6260612772240679,
"repo_name": "Dericktan/phpjasper",
"id": "ac8ee6ed3f84a00aa8ae08ce72e957fec4de761a",
"size": ... |
import sys
import os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0,... | {
"content_hash": "67921a363836f27e40f2e47b81365edd",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 79,
"avg_line_length": 32.79668049792531,
"alnum_prop": 0.6972419028340081,
"repo_name": "PyCQA/pep8",
"id": "7935b0b2f63c40a8b3d5e980fd2285ac90732072",
"size": "8328",
... |
package com.facebook.litho.editor;
import com.facebook.litho.editor.model.EditorValue;
import java.lang.reflect.Field;
/**
* A class to operate on Component fields from an external editor such as Flipper.
*
* <p>It is meant to be implemented for a single class. This pairing [Class, Implementation] cannot
* be d... | {
"content_hash": "7f6b1062b9f1b28f1a1093e1338aae39",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 100,
"avg_line_length": 37.41935483870968,
"alnum_prop": 0.7422413793103448,
"repo_name": "facebook/litho",
"id": "7dce51189ba265cd6980d6506f873326fb368947",
"size": "1778"... |
# spedycjacentrala
This application was generated using JHipster, you can find documentation and help at [https://jhipster.github.io](https://jhipster.github.io).
Before you can build this project, you must install and configure the following dependencies on your machine:
1. [Node.js][]: We use Node to run a develop... | {
"content_hash": "f251a5db73383c0cd5635bb8c3b89beb",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 143,
"avg_line_length": 38.464285714285715,
"alnum_prop": 0.7294955122253173,
"repo_name": "wyzellak/sandbox-internet-apps-design",
"id": "c3c8e123a0bbe92fa90e44db5d6b3f1aa09... |
//
// AppDelegate.m
// StackTray
//
// Created by Remco on 27/04/14.
// Copyright (c) 2014 DutchCoders. All rights reserved.
//
#import "AppDelegate.h"
#import "PreferencesWindowController.h"
#import "AboutWindowController.h"
#import "ConsoleWindowController.h"
#import </Users/sunil/workspace/buffer/aws-sdk-ios/sr... | {
"content_hash": "84079b69bdbb198a6283daabe858b7fe",
"timestamp": "",
"source": "github",
"line_count": 698,
"max_line_length": 257,
"avg_line_length": 42.03868194842407,
"alnum_prop": 0.6457417441979347,
"repo_name": "bufferapp/stacktray",
"id": "ec48357b395c8e161b9b60d48535fb8d2241b1d5",
"size": ... |
package com.sangam.aditya.smarthelmet;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.location.Address;
import android.location.Geocoder;
import android.location.Location;
im... | {
"content_hash": "be8224438e50a06917a52b947235a62b",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 159,
"avg_line_length": 39.97338403041825,
"alnum_prop": 0.6166650813278798,
"repo_name": "Aditya8795/Smart-Bike",
"id": "d4bd9b8a3c256c079238a3d8a543bdd48115fe5e",
"size"... |
"""
SQLAlchemy-JSONAPI Example
Colton J. Provias - cj@coltonprovias.com
An example of basic usage of SQLAlchemy-JSONAPI
"""
from pprint import pprint
from sqlalchemy import create_engine, Column, Integer, Unicode, UnicodeText
from sqlalchemy import ForeignKey
from sqlalchemy.orm import relationship, backref
from sqla... | {
"content_hash": "98a9b4fcf4df4d5db7d9e18945d25957",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 78,
"avg_line_length": 33.301886792452834,
"alnum_prop": 0.639943342776204,
"repo_name": "18F/sqlalchemy-jsonapi",
"id": "59c74e29e5ba93bc523430bae93b2cc58b8d2ee4",
"size"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2d602f8a8abcf3ff7082658abf850821",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "a980661bed10196107803e857dae7cc0a39a68e6",
"size": "17... |
require 'asciidoctor'
require 'test/unit'
require_relative '../lib/extensions/html_postprocessor'
class TestHtmlPostprocessor < Test::Unit::TestCase
def test_single
input = 'A single test para'
assert_equal("<div class=\"paragraph\">\n<p>A single test para\n</div>",
Asciidoctor::Document.ne... | {
"content_hash": "185d75c30e094bf223dcb8bd4a4f6d47",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 28.916666666666668,
"alnum_prop": 0.6945244956772334,
"repo_name": "bsmith-n4/jekyll_aspec",
"id": "6cddb785631c50f1352bd13c240aaea54bc4cd8f",
"size"... |
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.Media.Models
{
public partial class SelectVideoTrackById : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
writer.WritePropertyName("tra... | {
"content_hash": "a9b235eca02d960642b38498af9cd92f",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 97,
"avg_line_length": 32.60526315789474,
"alnum_prop": 0.5544794188861986,
"repo_name": "Azure/azure-sdk-for-net",
"id": "5622a4ec6b9a9b3d687958e27f96a1c819a2fe12",
"size"... |
CREATE OR REPLACE FUNCTION CC_TRANSLATE (
inValue VARCHAR2)
RETURN VARCHAR2
IS
outValue VARCHAR2(200);
BEGIN
outValue := upper(inValue);
For x in (select value_in, value_out
from CC_TRANSLATORS
order by order_numb) loop
outValue := replace(outValue, x.value_in, x.value_o... | {
"content_hash": "811f24e0f0660562d3bf6e9dc9961c0a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 61,
"avg_line_length": 23.72222222222222,
"alnum_prop": 0.6440281030444965,
"repo_name": "NCIP/clinical-connector",
"id": "968b5e3c38ea085b873b4942437320f9486de16e",
"size"... |
package org.spongepowered.forge.mixin.core.world.entity.projectile;
import net.minecraft.world.entity.Entity;
import net.minecraft.world.entity.projectile.ThrownEnderpearl;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;... | {
"content_hash": "1ec8e35db048eae32691aee34bf10030",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 153,
"avg_line_length": 40.95238095238095,
"alnum_prop": 0.7662790697674419,
"repo_name": "SpongePowered/Sponge",
"id": "ef47ed235d97ef7f24acbf36f7365797a308a881",
"size": ... |
.class final Lmf/org/apache/xml/serialize/ObjectFactory$ConfigurationError;
.super Ljava/lang/Error;
.source "ObjectFactory.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lmf/org/apache/xml/serialize/ObjectFactory;
.end annotation
.annotation system Ldalvik/annotation/InnerClas... | {
"content_hash": "d066b5bab1331106e5485037aaafc245",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 119,
"avg_line_length": 25,
"alnum_prop": 0.7681818181818182,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "a4c473505517f6f817d25b897dc9bd2ec976a664",
"size": "1100",
"bi... |
package com.effektif.workflow.api.workflow.diagram;
/**
* The two-dimensional bounding box of a BPMN diagram, or of a node on the diagram.
*/
public class Bounds {
public Point lowerRight;
public Point upperLeft;
public Bounds() {
}
public Bounds(Point upperLeft, Point lowerRight) {
... | {
"content_hash": "d32632450c6866f8513bb7d1bd2db7c1",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 102,
"avg_line_length": 26.789473684210527,
"alnum_prop": 0.6024885396201702,
"repo_name": "jblankendaal/effektif",
"id": "6c99d40347a191d85fec53b948ef512fbbb53060",
"size... |
import React from 'react';
import PropTypes from 'prop-types';
import TimePickerPanel from 'rc-time-picker/lib/Panel';
import classNames from 'classnames';
import { generateShowHourMinuteSecond } from '../time-picker';
import warning from '../_util/warning';
import { getComponentLocale } from '../_util/getLocale';
decl... | {
"content_hash": "eacdb98d29832e6ea19ae48ea9876fef",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 99,
"avg_line_length": 28.681818181818183,
"alnum_prop": 0.593026941362916,
"repo_name": "cigar/iwiw_design",
"id": "cf1ecee3b748c1613a7e9ce5c44b68ad7c092abb",
"size": "31... |
package com.google.cloud.deploy.v1.samples;
// [START clouddeploy_v1_generated_CloudDeploy_ListRollouts_Paged_async]
import com.google.cloud.deploy.v1.CloudDeployClient;
import com.google.cloud.deploy.v1.ListRolloutsRequest;
import com.google.cloud.deploy.v1.ListRolloutsResponse;
import com.google.cloud.deploy.v1.Re... | {
"content_hash": "574803e397936878ee9ee192471841c1",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 100,
"avg_line_length": 41.05882352941177,
"alnum_prop": 0.6867239732569246,
"repo_name": "googleapis/google-cloud-java",
"id": "a5f9f27250808b5dd751dfee6ad3243528b63d03",
... |
/*
* Created on 20-Jan-2005
*/
package com.jboss.transaction.txinterop.proxy;
import org.xml.sax.Attributes;
import org.xml.sax.ContentHandler;
import org.xml.sax.Locator;
import org.xml.sax.SAXException;
/**
* Sax parser for rewriting the XML via the proxy.
* @author kevin
*/
public class BaseHandler implement... | {
"content_hash": "bdc19551fa895950f99c0072d56dbca6",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 90,
"avg_line_length": 24.988095238095237,
"alnum_prop": 0.6369699857074798,
"repo_name": "nmcl/wfswarm-example-arjuna-old",
"id": "637eed5267a32bb0ed32c6a979ad6c0017233a76"... |
#include "Filter_Updater.h"
Filter_Updater::Filter_Updater(Model_Refiner& refiner) :
filter(parallel), _refiner(refiner) {
}
Filter_Updater::~Filter_Updater() {
}
void* Filter_Updater::operator ()(void *token) {
return _refiner.update(token);
}
| {
"content_hash": "41b8914af7596f255267fbb6daaf12cd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 19.76923076923077,
"alnum_prop": 0.6926070038910506,
"repo_name": "shravanmn/Yahoo_LDA",
"id": "af61bd538f4b1724b12d1efce39f1ec236069c51",
"size": "1... |
describe EvilEvents::Core::Events::AbstractEvent do
it_behaves_like 'dispatchable interface' do
let(:dispatchable) { Class.new(described_class) }
end
it_behaves_like 'manageable interface' do
let(:manageable) { Class.new(described_class) }
end
it_behaves_like 'observable interface' do
let(:obser... | {
"content_hash": "e881da45977e5ae0397988161ef2f52f",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 96,
"avg_line_length": 33.87903225806452,
"alnum_prop": 0.654606046179481,
"repo_name": "0exp/evil_events",
"id": "279bc52103f80cdc8741456223122de9944fd095",
"size": "4232... |
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (11.0.5) on Thu Mar 18 22:21:49 NZDT 2021 -->
<title>Uses of Class io.ebean.config.dbplatform.DbType (ebean api 12.8.0 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2021... | {
"content_hash": "639f7a7a616f0d48bd917c8df2bdfded",
"timestamp": "",
"source": "github",
"line_count": 328,
"max_line_length": 377,
"avg_line_length": 48.8719512195122,
"alnum_prop": 0.6752339363693075,
"repo_name": "ebean-orm/ebean-orm.github.io",
"id": "e0cf3cfc96f18219d5f3baee7a4a1450e44e1a06",
... |
package org.sti.jagu;
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.api.errors.*;
import java.io.IOException;
import java.net.URI;
/**
* Created by stitakis on 30.05.15.
*/
public interface RepositoryManager {
Git cloneRepository(URI remoteRepo) throws GitAPIException;
Git cloneRemoteRepository... | {
"content_hash": "e345309b3e9f526d691eb2fa59252492",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 27.166666666666668,
"alnum_prop": 0.7898773006134969,
"repo_name": "stitakis/jagu",
"id": "e771dd77fe1f0ac1741cc900e9230d77afff3f36",
"size": "652",
... |
namespace {
//"This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library"
int dummy_to_avoid_msvc_linker_warning_LNK4221;
}
#endif
| {
"content_hash": "74146bb1aaff38dd6b3806a6eda0965c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 150,
"avg_line_length": 44.2,
"alnum_prop": 0.7828054298642534,
"repo_name": "TyRoXx/silicium",
"id": "d39e7b715e9cf28d9a1bc8a4c3d664c91d5c8026",
"size": "277",
"binary": ... |
package main
import (
"fmt"
"io/ioutil"
"net/http"
"os"
"os/exec"
"strings"
"time"
"github.com/go-check/check"
)
type testCondition func() bool
type testRequirement struct {
Condition testCondition
SkipMessage string
}
// List test requirements
var (
DaemonIsWindows = testRequirement{
func() bool { ... | {
"content_hash": "fa0b59cce6c133932173d2e06fe8e6b9",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 111,
"avg_line_length": 26.60135135135135,
"alnum_prop": 0.6631953263906528,
"repo_name": "hyperhq/hypercli",
"id": "7d07c125ccf681ace024bdad340a6c40825b8a49",
"size": "39... |
using System;
using System.Linq;
using log4net;
using PostSharp.Aspects;
namespace FP.PostSharpSamples.DAL
{
[Serializable]
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property, Inherited = true)]
public class WrapDALExceptionAspect : OnE... | {
"content_hash": "bfc2200e5fe8845d6c03bb876651d576",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 144,
"avg_line_length": 39.68181818181818,
"alnum_prop": 0.6907216494845361,
"repo_name": "fpommerening/PostSharpSamples",
"id": "6afc0ae9edbf7c3bb89e265b7e9546033091a546",
... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<ldml>
<identity>
<version number="$Revision: 1.51 $"/>
<generation date="$Date: 2009/05/05 23:06:34 $"/>
<language type="ar"/>
<territory type="SA"/>
</identity>
<localeDisplayNames>
<scripts>
<script type="Ital"... | {
"content_hash": "6d130009a7d645e3395a5ce8df5697b5",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 51,
"avg_line_length": 24.62,
"alnum_prop": 0.6108854589764419,
"repo_name": "markdev/markandkitty",
"id": "cd85b30e5bb7348e3999ba46cdb633d908d7ef8d",
"size": "1294",
"bi... |
"use strict";
exports.TEST_COMPLETE = 'TEST_COMPLETE';
exports.TEST_LOAD = 'TEST_LOAD';
exports.TEST_RESULT = 'TEST_RESULT';
exports.TEST_RUN = 'TEST_RUN';
//# sourceMappingURL=types.js.map | {
"content_hash": "e3ba812e861ebd5846899a51705e0c70",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 40,
"avg_line_length": 31.5,
"alnum_prop": 0.7248677248677249,
"repo_name": "coderoad/core-coderoad",
"id": "dcc02972372214ca657e98e01eb86d554e725c4f",
"size": "189",
"bin... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Consp. fl. afric. 5:774. 1894
#### Original name
null
### Remarks
null | {
"content_hash": "fdc1731aa4dea70cf169496b6b341703",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.23076923076923,
"alnum_prop": 0.6855345911949685,
"repo_name": "mdoering/backbone",
"id": "0579ee13a818a4a0e818f00f6a7cad1a44f3a068",
"size": "228... |
set -euxo pipefail
export GHCVER=8.6.1
# Download and unpack the stack executable
mkdir -p ~/.local/bin
export PATH=$HOME/.local/bin:$PATH
curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
# Get stackage-curator
wget https://s3.amazonaws.com/stack... | {
"content_hash": "3ddef4cd011e36f6e85b076374c499cd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 119,
"avg_line_length": 25.91304347826087,
"alnum_prop": 0.7600671140939598,
"repo_name": "Shimuuar/stackage",
"id": "27c860e09d40fff13b811a80a692d28c23ecd883",
"size": "61... |
from JumpScale import j
import JumpScale.baselib.redis
from CmdRouter import CmdRouter
class CmdRouterFactory:
"""
"""
def get(self,path):
return CmdRouter(path)
| {
"content_hash": "2087a657c288599d316efef2be48d987",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 15.615384615384615,
"alnum_prop": 0.6354679802955665,
"repo_name": "Jumpscale/jumpscale6_core",
"id": "ce1b67f9a8e87a2d7cf2ba31639fb6e9d2f8a33b",
"si... |
name 'postfix'
maintainer 'Chef Software, Inc.'
maintainer_email 'cookbooks@chef.io'
license 'Apache-2.0'
description 'Installs and configures postfix for client or outbound relayhost, or to do SASL auth'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '5.1.1'
recipe 'postfix', 'Instal... | {
"content_hash": "725549fe2507ac6e6ae738e425ffe243",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 98,
"avg_line_length": 46.24,
"alnum_prop": 0.7621107266435986,
"repo_name": "mawatech/postfix",
"id": "4c5c70ced6943c0982efeae29a86c7ffdd7c6488",
"size": "1156",
"binary... |
module Course::Assessment::Answer::ProgrammingTestCaseHelper
# Get a hint message. Use the one from test_result if available, else fallback to the one from
# the test case.
#
# @param [Course::Assessment::Question::ProgrammingTestCase] The test case
# @param [Course::Assessment::Answer::ProgrammingAutoGrading... | {
"content_hash": "611857b56d70db20a59fca626219d5a3",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 96,
"avg_line_length": 46.9041095890411,
"alnum_prop": 0.6977219626168224,
"repo_name": "cysjonathan/coursemology2",
"id": "d8ea0bf4dfe59dad382797a24cd1d26fbd67c287",
"size... |
OctoClient (Github API)
=======================
A ruby gem for accessing the Github API - provides extensive stubbing support
Distributed under the MIT license - see LICENSE file for details
| {
"content_hash": "8ef2af768ff2342fbf0f6abbb120737d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 77,
"avg_line_length": 32.166666666666664,
"alnum_prop": 0.7046632124352331,
"repo_name": "tansaku/octoclient",
"id": "0c4413f666aadbc2fd28b08abbb8f597392305b5",
"size": "19... |
<?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... | {
"content_hash": "93450ca070693b66139a912dfb7507fd",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 201,
"avg_line_length": 37.724137931034484,
"alnum_prop": 0.5987202925045704,
"repo_name": "mghosh4/druid",
"id": "4be642b60a008c6aee1949a45f9898eb488e2a76",
"size": "4376... |
package com.example.physics;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
... | {
"content_hash": "3848f1e1d9e5bb6e33200c8653b8b75a",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 98,
"avg_line_length": 31.04032258064516,
"alnum_prop": 0.6879709015328657,
"repo_name": "LouJones/ProjectX",
"id": "cab7d17392f97a91cb118d1add3cf53b83f1ff7d",
"size": "38... |
.. _article3:
=============
Article 3
=============
In the works of Eco, a predominant concept is the distinction between ground and figure. The characteristic theme of Porter’s[7] essay on textual deconstruction is the role of the reader as artist. It could be said that Baudrillard promotes the use of socialist rea... | {
"content_hash": "eeb3daf7ab55ec6837bbac851da2d28b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 360,
"avg_line_length": 96.05263157894737,
"alnum_prop": 0.8038356164383562,
"repo_name": "laufercenter/meld",
"id": "bee791a02a728f5937ba2f948567ae5c59bd9dda",
"size": "18... |
<!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": "90511dbc5b7efed69506a0e19fb38ce9",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 181,
"avg_line_length": 38.490196078431374,
"alnum_prop": 0.6749872643912379,
"repo_name": "stweil/tesseract-ocr.github.io",
"id": "bb932c64379aa0268099d6967a0d9cb21808bb2e"... |
/*
jQuery(document).foundation();
jQuery(".off-canvas-submenu").hide();
jQuery(".off-canvas-submenu-call").click(function() {
var icon = jQuery(this).parent().next(".off-canvas-submenu").is(':visible') ? '+' : '-';
jQuery(this).parent().next(".off-canvas-submenu").slideToggle('fast');
jQuery(this).find("s... | {
"content_hash": "e33b15cec4ef80c984ee3455c5f213de",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 92,
"avg_line_length": 27,
"alnum_prop": 0.6402116402116402,
"repo_name": "haa-gg/TastesLikeNeonThrashMetal",
"id": "b695016ffdd3f92ae02f0d8b988c22438c02433f",
"size": "378... |
package amazed.maze;
public class Case extends CaseAbstraite {
private boolean nord = false;
private boolean sud = false;
private boolean est = false;
private boolean ouest = false;
public Case(boolean nord, boolean sud, boolean est, boolean ouest){
this.nord = nord;
this.sud = sud;
this.est = e... | {
"content_hash": "44d9a471bd42e24191580ac2ce4f13d8",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 68,
"avg_line_length": 16.444444444444443,
"alnum_prop": 0.6187258687258688,
"repo_name": "xavierhardy/amazed",
"id": "a13d293787a5eaeee1de9977d4085796b0e0d42e",
"size": "2... |
package springfox.documentation.service;
import springfox.documentation.schema.ModelSpecification;
import java.util.Comparator;
import java.util.List;
import java.util.Map;
import java.util.Set;
import static java.util.stream.Collectors.*;
@SuppressWarnings("deprecation")
public class ApiListing {
private fina... | {
"content_hash": "c28941afeb62fff01e6d463ca4b52463",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 73,
"avg_line_length": 25.728571428571428,
"alnum_prop": 0.7187673514714048,
"repo_name": "springfox/springfox",
"id": "23b69582af711c88c026403db0b14280598d3852",
"size": ... |
#ifndef SRC_CPP_SVCS_STMGR_SRC_MANAGER_TMASTER_CLIENT_H_
#define SRC_CPP_SVCS_STMGR_SRC_MANAGER_TMASTER_CLIENT_H_
#include <set>
#include <string>
#include <vector>
#include "network/network_error.h"
#include "proto/messages.h"
#include "network/network.h"
#include "basics/basics.h"
namespace heron {
namespace stmg... | {
"content_hash": "8d2434715f7899680adf7af034bbae9d",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 97,
"avg_line_length": 36.3859649122807,
"alnum_prop": 0.7034715525554484,
"repo_name": "lucperkins/heron",
"id": "656115930d086062f3fb207c59fdb6bf3be66fab",
"size": "4742... |
<?php
namespace ALawrence\LaravelWonde;
use Illuminate\Contracts\Container\Container;
use Illuminate\Foundation\Application as LaravelApplication;
use Illuminate\Support\ServiceProvider;
use Laravel\Lumen\Application as LumenApplication;
use Wonde\Client as WondeClient;
/**
* This is the main Wonde service provid... | {
"content_hash": "979681513e3a123a69c18db8b644910e",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 89,
"avg_line_length": 22.271186440677965,
"alnum_prop": 0.5593607305936074,
"repo_name": "A-Lawrence/laravel-wonde",
"id": "d1c31f24f4c1c420ee23b4116b0873358b543785",
"si... |
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!--
$Id: CmsCount.hbm.xml 3932 2010-10-26 12:05:48Z orangeforjava $
-->
<hibernate-mapping>
<class entity-name="CmsCount" table="cms_count">
... | {
"content_hash": "a5849ee147c52a941912141bf4599279",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 79,
"avg_line_length": 38.707317073170735,
"alnum_prop": 0.5639571518588532,
"repo_name": "juweiping/ocms",
"id": "45b9f578b8dcf2abf44134c8469dd8fa0a29a3e8",
"size": "1587"... |
This script generates prometheus rules set for alertmanager from any properly formatted kubernetes yaml based on defined input, splitting rules to separate files based on group name.
Currently following imported:
- [coreos/kube-prometheus rules set](https://github.com/coreos/kube-prometheus/master/manifests/prometheu... | {
"content_hash": "a64036805877895df05af5fab6ee3625",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 231,
"avg_line_length": 58.244897959183675,
"alnum_prop": 0.7610371408549405,
"repo_name": "helm/charts",
"id": "d383726d9bd3c6ef1105963470446aeb039c4644",
"size": "2940",
... |
mxArray *message(std::vector<nix::valid::Message> mes) {
const mwSize size = static_cast<mwSize>(mes.size());
mxArray *list = mxCreateCellArray(1, &size);
for (size_t i = 0; i < mes.size(); i++) {
nix::valid::Message curr = mes[i];
struct_builder msb({ 1 }, { "id", "msg" });
msb.s... | {
"content_hash": "2839207efa7c6481e3e00a48da261391",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 108,
"avg_line_length": 34.54330708661417,
"alnum_prop": 0.5698655117392295,
"repo_name": "mpsonntag/nix-mx",
"id": "c83c6f1cd34d301b336358448ffc0f6bf5786dc8",
"size": "48... |
package twitter4j.auth;
import twitter4j.*;
import twitter4j.conf.Configuration;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import j... | {
"content_hash": "7afb9b3f2288e3d3939d6f37bcc19d94",
"timestamp": "",
"source": "github",
"line_count": 465,
"max_line_length": 385,
"avg_line_length": 43.37204301075269,
"alnum_prop": 0.6329829432764776,
"repo_name": "takke/twitter4j",
"id": "bbd73079ec7f6d6dd77713bede6eeddc784d6e4e",
"size": "207... |
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework... | {
"content_hash": "2dcb3bc39fc246de343965644cc4a856",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 204,
"avg_line_length": 32.231884057971016,
"alnum_prop": 0.7050359712230215,
"repo_name": "deki/spring-boot",
"id": "c849cd9d1735fe882c8cfa63489768a21de67aea",
"size": "22... |
UndoFX
======
UndoFX is a general-purpose undo manager for JavaFX (or Java applications in general).
Highlights
----------
**Arbitrary type of change objects.** Change objects don't have to implement any special interface, such as `UndoableEdit` in Swing.
**No requirements on the API of the control.** To add undo ... | {
"content_hash": "13c34928ffa8bdc8c80c1a431bf6d034",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 453,
"avg_line_length": 37.51428571428571,
"alnum_prop": 0.7313023610053313,
"repo_name": "TomasMikula/UndoFX",
"id": "d951fa69cbda7d5cbbc507bba8bd6d64c0b3c122",
"size": "... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AH.DUtility;
using AH.ModuleController.DMSSR;
using AH.ModuleController.UI.ACCMS.Reports.Viewer;
namespace AH.ModuleController.U... | {
"content_hash": "9fd680497166ce435fc65fdf9d6996f9",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 184,
"avg_line_length": 41.833827893175076,
"alnum_prop": 0.548162859980139,
"repo_name": "atiq-shumon/DotNetProjects",
"id": "5137da8c1bb573a283ecd4c5267d974817dbc9ca",
"... |
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
req.output.title = "Gateways | Status";
res.render('gateways', req.output);
});
/* GET gateway id page. */
router.get('/:*', function(req, res, next) {
req.output.title = "Gateways | ... | {
"content_hash": "ebf38983962eefd7048c230afba713aa",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 81,
"avg_line_length": 31.45,
"alnum_prop": 0.575516693163752,
"repo_name": "JacoBezuidenhout/NodeProjects",
"id": "1055e894db3b579af1a2167242fe1f0a48b48711",
"size": "314... |
using System.Collections.Generic;
namespace Papper.Internal
{
internal static class InternalExtensions
{
/// <summary>
/// Removes an element from the middle of a queue without disrupting the other elements.
/// </summary>
/// <typeparam name="T">The element to remove.</typepa... | {
"content_hash": "f35b88aa801233807fb80cb24c8bbdd1",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 120,
"avg_line_length": 32.9,
"alnum_prop": 0.5159574468085106,
"repo_name": "proemmer/papper",
"id": "38ff8ad7d973d45d224821f32fb269dff2f6f83c",
"size": "1318",
"binary"... |
sea-b20-day16hw-MeanMedianModeBackbone
======================================
Mean, Median, and Mode (now with Backbone!)
To test (or use) run server.js and grunt watchForBuild.
Enter numbers as a comma separated list of values, ie:
``` 1,1999,5,5,18,0,16,404,16 ```
 {
/**
* Generates an RFC4122-compliant GUID.
* See http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-jav... | {
"content_hash": "44bed70f1e0e0b992318a08c288db9fe",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 112,
"avg_line_length": 34.418502202643175,
"alnum_prop": 0.49635223345705876,
"repo_name": "Diggs/restque",
"id": "e2b836ddfaae2e6b70ab0405f4800b08e0cecf0f",
"size": "781... |
using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
namespace MVC5Skeleton.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit htt... | {
"content_hash": "378d46de2efe6bdbb4b9f1357e709559",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 175,
"avg_line_length": 36.63636363636363,
"alnum_prop": 0.707196029776675,
"repo_name": "gvaduha/homebrew",
"id": "c18a9ea7cd8369fb87fa152715dcd151b1b0c6c8",
"size": "1211... |
package com.example.android.sunshine.app.model;
import android.graphics.Bitmap;
import java.util.Date;
/**
* Created by cristhian on 4/07/16.
*/
public class TodayWeather {
private int weatherId;
private String todayDate;
private String todayMaxTemp;
private String todayMinTemp;
private Bitmap... | {
"content_hash": "c39575f7c1858ff155f7b435982f9c7d",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 125,
"avg_line_length": 23.876923076923077,
"alnum_prop": 0.6791237113402062,
"repo_name": "cristh18/Sunshine",
"id": "217386fb50785a2321b01eafd077c8c7a2571b69",
"size": "1... |
Krylov Documentation
====================
This page contains the Krylov Package documentation.
The :mod:`_bicgstab` Module
---------------------------
.. automodule:: pyamg.krylov._bicgstab
:members:
:undoc-members:
:show-inheritance:
The :mod:`_cg` Module
---------------------
.. automodule:: pyamg.kr... | {
"content_hash": "b71017fd3a9a06e0573eb300e5b9b55b",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 52,
"avg_line_length": 18.753246753246753,
"alnum_prop": 0.5422437673130194,
"repo_name": "pombreda/pyamg",
"id": "c72e25eb819657998ef837c8d45a4412f524f505",
"size": "1444"... |
<?php
namespace Pulpy\CoreBundle\Services\Post;
use Pulpy\CoreBundle\Entity\AbstractPost,
Pulpy\CoreBundle\Services\ResourceResolverService;
class PostResourceResolverService extends ResourceResolverService {
public function fileForPostAndResourceName(AbstractPost $post, $name) {
return $this->fileF... | {
"content_hash": "7b09d7b98b1b78345fc5f6e75ac45fe9",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 75,
"avg_line_length": 26.608695652173914,
"alnum_prop": 0.6879084967320261,
"repo_name": "netgusto/PPSymfony",
"id": "a0d090b14c7b5812a17b66f92dbd80aedf9e165b",
"size": "6... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... | {
"content_hash": "d34000e711ada4e0deab826228b2ad0f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 78,
"avg_line_length": 30.416666666666668,
"alnum_prop": 0.4904109589041096,
"repo_name": "pushrbx/squidex",
"id": "21f66e2ffd26df440431aaa0695abddc9b98d1fb",
"size": "732"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_101) on Mon Sep 19 15:00:38 UTC 2016 -->
<title>org.springframework.jca.cci.connection (Spring Framework 4.3.3.RELEASE API)</title><script>var ... | {
"content_hash": "6da586763ce97bb93fccaa40b1e635e8",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 338,
"avg_line_length": 86.44444444444444,
"alnum_prop": 0.7493573264781491,
"repo_name": "piterlin/piterlin.github.io",
"id": "9eb3b32e8a5d50d9cda9fcfaafae2ce0dfa635a2",
"... |
require 'puppet_x/bsd/hostname_if/trunk'
describe 'Trunk' do
subject(:trunkif) { HostnameIf::Trunk }
describe 'content' do
it 'supports a full example' do
c = {
proto: 'lacp',
interface: ['em0']
}
expect(trunkif.new(c).content).to match(%r{trunkproto lacp trunkport em0})
... | {
"content_hash": "821a88b6efdf3ace05da2425736ea006",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 122,
"avg_line_length": 22.75,
"alnum_prop": 0.5682888540031397,
"repo_name": "buzzdeee/puppet-bsd",
"id": "5d8e1faf29e62e18a8053eaaef6cd40872e22f58",
"size": "637",
"bin... |
<!doctype html>
<!--
Copyright 2017 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<html>
<body>
<webview></webview>
<script src="main.js"></script>
</body>
</html>
| {
"content_hash": "da9b7a6c98cdde2ae904ff55e7ac663c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 20.416666666666668,
"alnum_prop": 0.6938775510204082,
"repo_name": "nwjs/chromium.src",
"id": "eba2601e0a1622b29fc9235251e9d3c9a192fae4",
"size": "24... |
// This file is automatically generated.
package adila.db;
/*
* LG Spectrum
*
* DEVICE: i_vzw
* MODEL: VS920 4G
*/
final class i5fvzw {
public static final String DATA = "LG|Spectrum|";
}
| {
"content_hash": "7d293b6777c6c02b68a378d0a0ca15e1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 53,
"avg_line_length": 15.307692307692308,
"alnum_prop": 0.6582914572864321,
"repo_name": "karim/adila",
"id": "7f83cb6b52c82f17113e1cc167c6a3498e0dc146",
"size": "199",
... |
package worker
import (
"context"
"fmt"
"github.com/ohsu-comp-bio/funnel/cmd/version"
"github.com/ohsu-comp-bio/funnel/config"
"github.com/ohsu-comp-bio/funnel/events"
"github.com/ohsu-comp-bio/funnel/proto/tes"
"github.com/ohsu-comp-bio/funnel/storage"
"github.com/ohsu-comp-bio/funnel/util"
"os"
"path/filep... | {
"content_hash": "5894ad22df6288229734dc086482ae64",
"timestamp": "",
"source": "github",
"line_count": 316,
"max_line_length": 86,
"avg_line_length": 24.65506329113924,
"alnum_prop": 0.653831343858298,
"repo_name": "buchanae/funnel",
"id": "3dd9788c967573f6509367a948f60bf661a75b9a",
"size": "7791"... |
<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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>com.alibaba.rocketmq</groupId>
<artifactId>rocketmq-all</artifactId>
<version>3.0.8-SNAPSH... | {
"content_hash": "92227130a6af87f0ee0cc9b0caae0190",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 204,
"avg_line_length": 32.375,
"alnum_prop": 0.7194337194337195,
"repo_name": "ans76/RocketMQ",
"id": "7a236b73034e8eab1082b613cd8304792af99cf4",
"size": "777",
"binary"... |
dotnet ef migrations add Initial -c GuardContext -o Migrations/Guard
dotnet ef migrations add Grant -c PersistedGrantDbContext -o Migrations/Grant
dotnet ef migrations add Config -c ConfigurationDbContext -o Migrations/Config
dotnet ef database update -c GuardContext
dotnet ef database update -c PersistedGrantDbContex... | {
"content_hash": "0c0f3618c4597b5c291c3b2b53a42b08",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 78,
"avg_line_length": 53.285714285714285,
"alnum_prop": 0.8471849865951743,
"repo_name": "zahasoft/guard",
"id": "361154f45e2a03dd56af5a200ecc11ab0d314e10",
"size": "373",
... |
layout: page
title: About
---
<p class="message">
About
</p>
| {
"content_hash": "55818ea46ad29d908e438f70c5ae7221",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 19,
"avg_line_length": 8.125,
"alnum_prop": 0.6,
"repo_name": "kangfoo2/kangfoo2.github.io",
"id": "591c32f763a7e98c689bd1f2d884a928d2d4cf1d",
"size": "69",
"binary": fals... |
using System;
namespace Esp.Net.Examples.ReactiveModel.ClientApp.Model.Events
{
public class RejectQuoteEvent
{
public RejectQuoteEvent(Guid quoteId)
{
QuoteId = quoteId;
}
public Guid QuoteId { get; private set; }
}
} | {
"content_hash": "58a825bba3d899d1f68ba65a956ab2f3",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 63,
"avg_line_length": 19.785714285714285,
"alnum_prop": 0.6173285198555957,
"repo_name": "esp/esp-net",
"id": "4a00053a5979f217242c27f838e5865b8d6195aa",
"size": "279",
... |
using System;
using SDRSharp.Radio;
namespace SDRSharp.DNR
{
public unsafe class NoiseFilter : FftProcessor
{
private const int WindowSize = 32;
private const int FftSize = 1024 * 4;
private const float OverlapRatio = 0.2f;
private float _noiseThreshold;
private reado... | {
"content_hash": "36e1ecc3274c43705a4e0cd4fad49148",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 78,
"avg_line_length": 28.8,
"alnum_prop": 0.4852430555555556,
"repo_name": "murphy666/sdrsharp_experimental",
"id": "128ec8fabbfcf606a2476e1b7f8e2b1808a6e643",
"size": "23... |
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class ChangeScene : MonoBehaviour {
public string sceneName;
void OnControllerColliderHit(ControllerColliderHit other)
{
if (other.gameObject.tag == "LoadScene") {
SceneManager.LoadScene (sceneName);
}
}
}
| {
"content_hash": "d98d63b0fe4d58612684845c5bdcb466",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 23.53846153846154,
"alnum_prop": 0.7745098039215687,
"repo_name": "spandananitdgp/Egyptian-Mummification-VR-Experience",
"id": "ff566cb9079a0a4595ac332... |
package org.camunda.community.process_test_coverage.examples.junit5.platform8;
import io.camunda.zeebe.client.ZeebeClient;
import io.camunda.zeebe.client.api.response.ActivatedJob;
import io.camunda.zeebe.client.api.response.ProcessInstanceEvent;
import io.camunda.zeebe.process.test.api.ZeebeTestEngine;
import io.camu... | {
"content_hash": "76a8f8ce08786cffe38e1ee2ef9b31cf",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 179,
"avg_line_length": 39.35353535353536,
"alnum_prop": 0.7089322381930184,
"repo_name": "camunda/camunda-process-test-coverage",
"id": "bb99d9248fb88431f72c3abf9556f29ab7f3... |
package de.tuberlin.uebb.sl2.modules
import java.io.File
import java.net.URL
import scalax.file.FileSystem
import scalax.file.Path
import scala.io.Source
trait AbstractFile {
/**
* Used to abstract from the differences between files from a .jar file ({@link BottledFile})
* and files from the file system ({@li... | {
"content_hash": "5da4fd5b7c601e32dd86c5f6c32ce6ed",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 95,
"avg_line_length": 21.96062992125984,
"alnum_prop": 0.57475797776981,
"repo_name": "choeger/sl2",
"id": "d4211bbc5b8bc63f09d48e817f6621ebe6648f9d",
"size": "2789",
"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_array_int64_t_alloca_82_bad.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete_array.label.xml
Template File: sources-sink-82_bad.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: a... | {
"content_hash": "6cd7901201da5534c15cb3a9f7f437f8",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 98,
"avg_line_length": 32.8125,
"alnum_prop": 0.7095238095238096,
"repo_name": "maurer/tiamat",
"id": "449b9df449e6d9f06c418874fa83fb3f44f0cc60",
"size": "1050",
"binary"... |
namespace blink {
class CSSStyleValue;
// This class is designed for CSS Paint such that its instance can be safely
// passed cross threads.
class CORE_EXPORT CrossThreadStyleValue {
public:
enum class StyleValueType {
kUnknownType,
kUnparsedType,
kKeywordType,
kUnitType,
kColorType,
};
vi... | {
"content_hash": "b6ac451f09e282d055932e9e15fa74cb",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 76,
"avg_line_length": 21.941176470588236,
"alnum_prop": 0.7372654155495979,
"repo_name": "endlessm/chromium-browser",
"id": "4b213fc00d2b3229a05dd52c3ad982b9b5ad0b26",
"si... |
package com.planet_ink.coffee_mud.Abilities.Spells;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
im... | {
"content_hash": "2dd38776c0e58f1edfab0132757aae52",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 102,
"avg_line_length": 37.53846153846154,
"alnum_prop": 0.7148711943793911,
"repo_name": "robjcaskey/Unofficial-Coffee-Mud-Upstream",
"id": "1b830eae8145cc0dd70518b40fc6854c... |
/* Google Map Service */
(function(){
'use strict';
angular.module('myApp')
.factory('mapService', function(){
var service = {
setMap: setMap,
getMap: initialize
}
var lat = 0,
lng = 0,
url = "",
tags = []
function setMap(lat, lng, url, location){
... | {
"content_hash": "71384af331e63933e71b277ec10b5cf1",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 92,
"avg_line_length": 16.628865979381445,
"alnum_prop": 0.5257284562926224,
"repo_name": "kpingul/foodWidget",
"id": "59185e770c6c1b935448e47d88b071066011ecdf",
"size": "1... |
package com.klarna.hiverunner.sql.cli.beeline;
import static org.mockito.Matchers.any;
import static org.mockito.Mockito.never;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.mockito.Mo... | {
"content_hash": "3488a3651bc3eaa1caa7b1fd31d4fd9c",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 65,
"avg_line_length": 29.609756097560975,
"alnum_prop": 0.7067545304777595,
"repo_name": "klarna/HiveRunner",
"id": "8b1b20953fc9733606b0b5dde94585e57d8d556e",
"size": "18... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PhotographyApi.SelfHost
{
class Program
{
static void Main(string[] args)
{
}
}
}
| {
"content_hash": "1b8e3aa6b77bff2d336e272427574dc9",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 39,
"avg_line_length": 16.4,
"alnum_prop": 0.6585365853658537,
"repo_name": "QuinntyneBrown/PhotographyApi",
"id": "2a14fdde75c81dd71f9504eab3a567f353ce3318",
"size": "248"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.