text stringlengths 2 1.04M | meta dict |
|---|---|
export default {
// extend the resource
associations: true,
};
| {
"content_hash": "bb5f17b910852c6b3f613cc36f7d6248",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 24,
"avg_line_length": 16.75,
"alnum_prop": 0.6865671641791045,
"repo_name": "petekeller2/Epilogue-Starter-Kit",
"id": "661dfb3d6b1347afc4be154e713581fd77244cfc",
"size": "6... |
<?xml version="1.0" encoding="UTF-8"?>
<bitninja.de.holodatepickerdialog.datepicker.DatePicker xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:holo="http://schemas.android.com/apk/res-auto"
android:id="@+id/datePicker"
android:layout_width="wrap_content"
android:layout_height="wrap_cont... | {
"content_hash": "a85e1d36be61eef9dc42d7d67bb62069",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 114,
"avg_line_length": 48.77777777777778,
"alnum_prop": 0.7357630979498861,
"repo_name": "dgrigutsch/HoloDatePickerDialog",
"id": "3e8ad6bf79c830ff9db627d4158b0a34d7258a16",
... |
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid
android:color="@color/blue700" />
<corners
android:bottomRightRadius="4dp"
android:bottomLeftRadius="4dp"
android:topLeftRadius="4dp"
... | {
"content_hash": "72bc72704cbc440ce8d80db3d94b27f5",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 65,
"avg_line_length": 30.416666666666668,
"alnum_prop": 0.6493150684931507,
"repo_name": "tbj128/Raindrops",
"id": "4f2fbc458225481a037738fdd590f5107b06fed0",
"size": "365... |
(function() {
'use strict';
angular.element(document).ready(function() {
angular.bootstrap(document, ['app']);
});
function config($stateProvider, $urlRouterProvider, $logProvider, $httpProvider) {
$urlRouterProvider.otherwise('/');
$logProvider.debugEnabled(true);
$httpProvider.interceptors.p... | {
"content_hash": "18c9c33e6be8ccf0c590c678e5dad7a1",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 84,
"avg_line_length": 22.204545454545453,
"alnum_prop": 0.548618219037871,
"repo_name": "toby533/adopteunfilm",
"id": "9922d2b68c61362a1db2d59dd051f8e57d8d0355",
"size": "... |
require 'test_helper'
class UserobjectTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
| {
"content_hash": "be0bd3ff681022ab2f4578cf589328ac",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 46,
"avg_line_length": 17.714285714285715,
"alnum_prop": 0.7016129032258065,
"repo_name": "simnotes/countingthings",
"id": "b91b9d0409890444971185876ebed31ed9a5d6c9",
"size"... |
package com.ghoss.android.rappitest.presentation;
import android.app.Application;
import com.ghoss.android.rappitest.presentation.dagger.component.AppComponent;
import com.ghoss.android.rappitest.presentation.dagger.component.DaggerAppComponent;
/**
* Created by rrtatasciore on 14/10/17.
*/
public class RappiAppl... | {
"content_hash": "1843624618752f7fd1ddde2cb97aae80",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 84,
"avg_line_length": 24.192307692307693,
"alnum_prop": 0.7281399046104928,
"repo_name": "phanghos/rappi-test",
"id": "9767bdef22adafdd54ff612537292813623c3f74",
"size": "... |
require 'spec_helper'
module Spree
describe Api::OptionValuesController do
render_views
let(:attributes) { [:id, :name, :presentation, :option_type_name, :option_type_name] }
let!(:option_value) { create(:option_value) }
let!(:option_type) { option_value.option_type }
before do
stub_authe... | {
"content_hash": "d69f464267c6e488daa6e1e665037108",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 90,
"avg_line_length": 33.296875,
"alnum_prop": 0.5525574847489442,
"repo_name": "Antdesk/karpal-spree",
"id": "9b901212c49f8696f8fca2a66afcbceaf883a5d5",
"size": "4262",
... |
import Component from '@ember/component';
import layout from '../templates/components/select-dropdown-option';
export default Component.extend({
layout,
classNames: ['es-option'],
classNameBindings: ['model.isSelected:es-highlight'],
click() {
this.select(this.get('model'));
},
mouseEnter() {
thi... | {
"content_hash": "4ce7b746a6ac7d50c2d991fd4edee28a",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 68,
"avg_line_length": 22.25,
"alnum_prop": 0.6769662921348315,
"repo_name": "ladadeedee/ember-select",
"id": "98b0ecaf0588fecb6bf57a0a49e95df1661ab2a8",
"size": "356",
"... |
import React from 'react';
const Row = ({ children }) => {
return (
<div className="clearfix">
{ children }
</div>
);
};
export default Row;
| {
"content_hash": "df1f6c6f9a4ae5aae281057587ede979",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 31,
"avg_line_length": 14.636363636363637,
"alnum_prop": 0.5527950310559007,
"repo_name": "neilff/react-d3-examples",
"id": "e68ad719546683a0832c794e4fbb107d8ecf049f",
"siz... |
#ifndef opengl_COpenGLStandardObject_H
#define opengl_COpenGLStandardObject_H
#include <mrpt/opengl/CRenderizableDisplayList.h>
#include <mrpt/math/geometry.h>
#include <mrpt/utils/stl_extensions.h>
namespace mrpt {
namespace opengl {
typedef uint32_t _GLENUM;
using namespace mrpt::utils;
using namespace mrp... | {
"content_hash": "d51b9c46c2db0808882bb4b7d16ba8bb",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 153,
"avg_line_length": 34.15625,
"alnum_prop": 0.6642268984446478,
"repo_name": "samuelpfchoi/mrpt",
"id": "5b0ce546f7c8624e3f8308763ab48d14f7f10b08",
"size": "5022",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style lang="css">
body {
background-color: #F4F4F4;
color: #333;
font-family: Segoe UI,Tahoma,Arial,Verdana,sans-serif;
}
p#intro {
font-family: Cambria,serif;
font-size: 1.1em;
color: #444;
}
p#intro a {
color: #444;
}
p#int... | {
"content_hash": "9079087971ae18db50a35dfcebb1c159",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 266,
"avg_line_length": 38.33114754098361,
"alnum_prop": 0.6306560602172612,
"repo_name": "meejah/crossbarexamples",
"id": "85a8879a958d9e542e7954d836dc56230e619be2",
"siz... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.Collections;
namespace Microsoft.Build.Evaluation
{
/// <summary>
/// This interface represents a metadata object.
/// </summary>
... | {
"content_hash": "86e2f841f33b4ede6bcf36cc6b39f9b6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 101,
"avg_line_length": 27.428571428571427,
"alnum_prop": 0.7083333333333334,
"repo_name": "mono/msbuild",
"id": "5521a562ea694f84c4e7e1249385352e3d685f28",
"size": "386",
... |
<?php
class Airport_test extends CI_Model {
public function getAll()
{
return array(
array('title'=>'airport 1','content'=>'...'),
);
}
}
?> | {
"content_hash": "856442114f615ff1f0b256696302b469",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 51,
"avg_line_length": 18,
"alnum_prop": 0.49444444444444446,
"repo_name": "Usman-Asghar/careaxiom",
"id": "03e584cf3cce246b14a74c3454d889f86adf0661",
"size": "180",
"bin... |
<!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 -->
<title>org.myrobotlab.cmdline</title>
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
<script type="te... | {
"content_hash": "76ded5a6b69073b54f3a328546778751",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 130,
"avg_line_length": 42.65,
"alnum_prop": 0.6611957796014069,
"repo_name": "lanchun/myrobotlab",
"id": "ec701cdad41e2addc6bd0368920790e3d40c746a",
"size": "853",
"bina... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1"
android:versionName="1.0" package="de.madvertise.android.sdk">
<uses-sdk android:minSdkVersion="7" />
</manifest> | {
"content_hash": "5c6afba4cd9b74641491eb3dee455059",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 68,
"avg_line_length": 43.666666666666664,
"alnum_prop": 0.6946564885496184,
"repo_name": "FireRider/madvertise-android-sdk",
"id": "4fbdd4c12bc64ff73d4aef9b94a147f3c0b4ebf8",... |
using System;
using System.Collections.Generic;
using System.Text;
namespace P01_HospitalDatabase.Data
{
public class Configuration
{
public const string ConnectionString = "Server=(LocalDB)\\MSSQLLocalDB;Database=Hospital;Integrated Security=True";
}
}
| {
"content_hash": "4c1a0fa791eb1f0e072274c98aa7b893",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 123,
"avg_line_length": 25.09090909090909,
"alnum_prop": 0.75,
"repo_name": "CvetelinLozanov/SoftUni-C-",
"id": "5e5527343f3339f49ce60f4e3078c41bf6f434e7",
"size": "278",
... |
import requests
# Create your views here.
from django.views.generic import TemplateView
from intro.models import Staff
from intro.utils import toPersianDigit
class HomeView(TemplateView):
template_name = 'intro/home.html'
def get_context_data(self, *args, **kwargs):
registration_url = "http://ce.sh... | {
"content_hash": "1e39a370092f41603a2e3b2e8ea7b750",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 85,
"avg_line_length": 29.4,
"alnum_prop": 0.6993197278911565,
"repo_name": "Kianoosh76/webelopers-scoreboard",
"id": "88846b4106c3e03e46d6e111c9e6921f0e0a7591",
"size": "7... |
package org.apache.isis.core.metamodel.facets.actions.action.command;
import org.apache.isis.applib.annotation.Command.ExecuteIn;
import org.apache.isis.applib.annotation.Command.Persistence;
import org.apache.isis.core.metamodel.facetapi.FacetHolder;
import org.apache.isis.core.metamodel.facets.actions.command.Comm... | {
"content_hash": "f884d47be15692478a42313592074354",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 101,
"avg_line_length": 38.8,
"alnum_prop": 0.7508591065292096,
"repo_name": "incodehq/isis",
"id": "c1b7f713860654cbb322c7b076ffc99718897dfc",
"size": "1989",
"binary": ... |
package io.github.orionhealth.xbdd.model.common;
import java.util.Date;
public class Build {
String name;
Date publishDate;
boolean isPinned;
public String getName() {
return this.name;
}
public void setName(final String name) {
this.name = name;
}
public Date getPublishDate() {
return this.publishDa... | {
"content_hash": "118d5dfd906921c803dbe384f1dc9d82",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 53,
"avg_line_length": 17.09090909090909,
"alnum_prop": 0.7269503546099291,
"repo_name": "orionhealth/XBDD",
"id": "8ed0b1eb36fe48ecbe7c6256a81f5c62c23df23a",
"size": "564"... |
// File store for user attachments: images with tumbnails & other files.
// Supports image with thumbnails removal in single call.
//
// DB settings should be in:
//
// - N.config.database.mongo_files (if you need separate db)
// - N.config.database.mongo (fallback to main db)
//
// Web server located in autolo... | {
"content_hash": "7f86b37278a6a64838767ecdcb947f76",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 105,
"avg_line_length": 27.58565737051793,
"alnum_prop": 0.623627960716349,
"repo_name": "nodeca/nodeca.core",
"id": "e84ec10f649443c3c85fc74b8d92f7265be77060",
"size": "6... |
import expect from 'expect';
import { fork } from 'redux-saga/effects';
import sagas from '../sagas';
import watchGetAccountData from 'interactions/user/sagas/watch-get-account-data';
import watchGetAlbumImages from 'interactions/albums/sagas/watch-get-album-images';
import watchGetAlbums from 'interactions/albums/sag... | {
"content_hash": "6671899dc46eb9f355b6260e541ccc5b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 83,
"avg_line_length": 28.838709677419356,
"alnum_prop": 0.6778523489932886,
"repo_name": "romy/personal-imgur-gallery",
"id": "d97c4cad4e06ba9eae4ad38545c0974e647e25fd",
"... |
'use strict';
/**
* @ngdoc function
* @name flightNodeApp.controller:UserCreateController
* @description
* # UserCreateController
* Controller for the create user page.
*/
angular.module('flightNodeApp')
.controller('UserCreateController',
['$scope', '$log', 'messenger', 'roleProxy', 'authService', '... | {
"content_hash": "675695e5a82665051af5ae3ebb798123",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 190,
"avg_line_length": 37.375,
"alnum_prop": 0.49665551839464883,
"repo_name": "kpunjani/FlightNode.Demo",
"id": "a5137b0099d5c0089df91032a843b42e3e973383",
"size": "1794"... |
"""Unit tests for the "list_collectors" function."""
import unittest
from unittest import mock
from google.auth.transport import requests
from . import list_collectors
class ListCollectorsTest(unittest.TestCase):
@mock.patch.object(requests, "AuthorizedSession", autospec=True)
@mock.patch.object(requests.requ... | {
"content_hash": "6d23d21dd92c69859b0a7098041f0e66",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 73,
"avg_line_length": 36.2972972972973,
"alnum_prop": 0.5662695457930007,
"repo_name": "chronicle/api-samples-python",
"id": "d2d07a7999da9c0f666e1b52eb7a453ed31fb6a2",
"s... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("05... | {
"content_hash": "26c7041403e22f93044126bcb08517dd",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.19444444444444,
"alnum_prop": 0.7462792345854005,
"repo_name": "nellypeneva/SoftUniProjects",
"id": "d4d54001e682d9213d4565a872722cd15d6b2f4d",
"s... |
package com.advocatesOnline.daoImpl;
import java.io.IOException;
import java.io.InputStream;
import java.util.Date;
import javax.persistence.Query;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.io.IOUtils;
import org.apache.log4j.Logger;
import com.advocatesOnline.dao... | {
"content_hash": "1a9e06ab390d306b39c7dd85749e76fd",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 149,
"avg_line_length": 32.44385026737968,
"alnum_prop": 0.5994725564529422,
"repo_name": "tectronics/advocatesonline",
"id": "868c887d2ce854da01be1f957b7474e48cbbc068",
"... |
#include <linux/types.h>
#include <linux/param.h>
#include <linux/time.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/in.h>
#include <linux/pagemap.h>
#include <linux/sunrpc/clnt.h>
#include <linux/nfs.h>
#include <linux/nfs2.h>
#include <linux/nfs_fs.h>
#include <linux/nf... | {
"content_hash": "dd865a63b36624e6ef822840aad3b81a",
"timestamp": "",
"source": "github",
"line_count": 722,
"max_line_length": 92,
"avg_line_length": 25.222991689750693,
"alnum_prop": 0.6742078963263961,
"repo_name": "KristFoundation/Programs",
"id": "b417bbcd970465069afcd820a414b19e4493e7e7",
"si... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using Microsoft.CodeAnalysis;
namespace Roslyn.Test.Utilities
{
/// <summary>
/// Facto... | {
"content_hash": "29c045207148b89aabbac8f10e6990e9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 134,
"avg_line_length": 50,
"alnum_prop": 0.6691428571428572,
"repo_name": "brettfo/roslyn",
"id": "9bb102ef08752eaf0320271ac77514e8245d5dff",
"size": "1752",
"binary": f... |
totemExecStatus totemArgV(totemExecState *state)
{
if (!state->CallStack->NumArguments)
{
printf("no arguments argv\n");
return totemExecStatus_Break(totemExecStatus_Stop);
}
totemRegister *arg = &state->LocalRegisters[0];
if (!totemRegister_IsInt(arg))
{
printf... | {
"content_hash": "6e707796cbe0d90a27ca059ac332643c",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 142,
"avg_line_length": 28.742331288343557,
"alnum_prop": 0.664461045891142,
"repo_name": "tdsmale/TotemScript",
"id": "00b287ea4b652cb56bd60da55e070ad130cad053",
"size": ... |
<?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, ... | {
"content_hash": "eb7882164a43b4d262b1c81716591fa7",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 201,
"avg_line_length": 35.573913043478264,
"alnum_prop": 0.6384747005622097,
"repo_name": "apache/isis",
"id": "ac4ff8b995d2b0044e0f1213c46295fac0b4541b",
"size": "4091",... |
FROM ubuntu:14.04
ENV ERLANG_VSN 17.3
RUN apt-get update && \
apt-get install -y curl \
build-essential \
libncurses5-dev \
libssl-dev \
unixodbc-dev
RUN curl -O https://raw.githubusercontent.com/yrashk/kerl/master/kerl &... | {
"content_hash": "9823237c626786a468a94b9bbb808065",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 27.941176470588236,
"alnum_prop": 0.5389473684210526,
"repo_name": "studzien/erlang",
"id": "46da5ee383fdbc63848829068e87fc182e7366a9",
"size": "475"... |
const Sequelize = require('sequelize');
// const MarkerModel = sequelize.define('markers', {
// });
module.exports = {
name: 'articles',
model: {
title: {
type: Sequelize.STRING,
allowNull: false
},
content: {
type: Sequelize.JSON
},
previewSize: {
type: Sequelize.ARRA... | {
"content_hash": "57f5f01a8e1e15457a8c0e177fe98aa8",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 52,
"avg_line_length": 19.020833333333332,
"alnum_prop": 0.5443592552026287,
"repo_name": "ReactPoland/react-community",
"id": "bc07dcad17be0f8025036e7d74f26d3368d34804",
"... |
package org.jetbrains.jps.builders.java.dependencyView;
import com.intellij.util.io.DataExternalizer;
import com.intellij.util.io.DataInputOutputUtil;
import gnu.trove.THashSet;
import org.jetbrains.asm4.Type;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.io.PrintStream... | {
"content_hash": "09b49032ad8f1b68daec58f9995183bc",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 124,
"avg_line_length": 29.797356828193834,
"alnum_prop": 0.6595209934949734,
"repo_name": "romankagan/DDBWorkbench",
"id": "b358e1189b81d6ecab6fb5167fa231cba5b5ffd0",
"si... |
import java.util.Collection;
import java.util.HashSet;
import org.omg.dds.core.InstanceHandle;
import org.omg.dds.core.ServiceEnvironment;
import org.omg.dds.core.policy.Durability;
import org.omg.dds.core.policy.Partition;
import org.omg.dds.core.policy.PolicyFactory;
import org.omg.dds.core.policy.Reliability;
imp... | {
"content_hash": "8f64260f4c11650378c2ef3ed2629386",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 124,
"avg_line_length": 41.98941798941799,
"alnum_prop": 0.6280241935483871,
"repo_name": "osrf/opensplice",
"id": "45300a28a1448a9028051780c0d8f0e32427c92a",
"size": "873... |
This project provides a Node.js package that makes it easy to manage Windows Azure Web Site. Right now it supports:
- **Node.js version: 0.6.15 or higher**
- **API version: 2013-08-01**
## Features
- Manage web space
- Manage web site
- Manage web farm
## How to Install
```bash
npm install azure-mgmt... | {
"content_hash": "8519b3b1f972c0f6a6c77cf0da63e415",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 214,
"avg_line_length": 30.485714285714284,
"alnum_prop": 0.7000937207122774,
"repo_name": "dudeletslive/LosAlamosFoundation",
"id": "00157ad49486ccb5656d8fcb51645fc9f7d7d0f3... |
require "cli/parser"
require "commands"
module Homebrew
# Helper module for printing help output.
#
# @api private
module Help
# NOTE: Keep the length of vanilla `--help` less than 25 lines!
# This is because the default Terminal height is 25 lines. Scrolling sucks
# and concision is im... | {
"content_hash": "d5fa605201226db51ad514a51e9809c9",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 99,
"avg_line_length": 31.53125,
"alnum_prop": 0.595639246778989,
"repo_name": "vitorgalvao/brew",
"id": "66e38c35769514c4b275c4095f377e4e48672aec",
"size": "4081",
"bin... |
<!doctype html>
<html lang="en" ng-app="LunchCheck">
<head>
<title>Lunch Checker</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles/bootstrap.min.css">
<style>
.message { font-size: 1.3em; font-weight: bold; }
</style>... | {
"content_hash": "f044f64881c86e71a8840f11e773085b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 92,
"avg_line_length": 32.39393939393939,
"alnum_prop": 0.5594013096351731,
"repo_name": "zagallai/Coursera-AngularJS-JHU",
"id": "455fe701df8bcd303d8276f891dadfa40e3f833c",
... |
package org.onosproject.pcelabelstore.util;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurr... | {
"content_hash": "c7d696f9943cd6c3b09eb28fe17541fd",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 111,
"avg_line_length": 28.495726495726494,
"alnum_prop": 0.6361727654469106,
"repo_name": "donNewtonAlpha/onos",
"id": "05bbb7b4a7c21fc40dc1a4dc2baf558b8c799718",
"size":... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Wed Aug 08 01:09:03 PDT 2012 -->
<title> Class Hierarchy</title>
<meta name="date" content="2012-08-08">
<link rel="style... | {
"content_hash": "fec3cc12a12d02042dc3d152f39b2222",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 154,
"avg_line_length": 30.065573770491802,
"alnum_prop": 0.6076881134133042,
"repo_name": "mattb243/AmazonEC2Matlab",
"id": "8697f116ee76b4aadda4b8108a49c5c34069b88d",
"s... |
export interface ImageListItemClasses {
/** Styles applied to the root element. */
root: string;
/** Styles applied to an `img` element to ensure it covers the item. */
img: string;
/** Styles applied to the root element if `variant="standard"`. */
standard: string;
/** Styles applied to the... | {
"content_hash": "fb1ff9dd32b62903d8f6133ab41f9f8f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 75,
"avg_line_length": 44.72222222222222,
"alnum_prop": 0.715527950310559,
"repo_name": "cdnjs/cdnjs",
"id": "e8b93810fb86466648e58d83aa5ed4c967316c13",
"size": "805",
"b... |
var Thread = {
hostRunning: true,
activeLoops: 0,
_timers: [],
spin: function(ctrl) {
ctrl.startTime = ctrl.startTime || Date.now();
ctrl.timeout = false;
this.activeLoops++;
this._spinInternal(ctrl);
this.activeLoops--;
ctrl.elapsed = Date.now() - ctrl.startTime;
... | {
"content_hash": "38e14f20aea61737ecf5b99ad989031d",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 89,
"avg_line_length": 27.78,
"alnum_prop": 0.5795536357091433,
"repo_name": "mikedep333/duckpan-vagrant",
"id": "8c9daf6430074641cbdefc0342f89472f1f6b596",
"size": "2778"... |
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
// VisualNovelToolkit /_/_/_/_/_/_/_/_/_/.
// Copyright ©2013 - Sol-tribe. /_/_/_/_/_/_/_/_/_/.
//_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace ViNoToolkit{
publ... | {
"content_hash": "eaa686b1c13e37a96eb0ba1c7dd08167",
"timestamp": "",
"source": "github",
"line_count": 676,
"max_line_length": 133,
"avg_line_length": 29.772189349112427,
"alnum_prop": 0.6268011527377522,
"repo_name": "lapius/MusicalCube",
"id": "6c2044fb3cda7f494c35bb684afa6df7f596363b",
"size": ... |
/**
* Brick object
* @constructor
*/
BreakOut.BrickColorOrange = function (settings) {
BreakOut.Brick.call(this, settings);
this.textures = [
'brick-color-orange.png'
];
this.score = 20;
this.dropChance = 50;
};
BreakOut.BrickColorOrange.prototype = Object.create(BreakOut.Brick.prot... | {
"content_hash": "82de3cbc4b1cf6c9cd91ce51e7880361",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 78,
"avg_line_length": 17.210526315789473,
"alnum_prop": 0.6605504587155964,
"repo_name": "Couchfriends/breakout",
"id": "dc4db30a0d2a73520b2db5d060ef61d09f06d5ef",
"size":... |
#include <hal_ugv/control/Waypoint.h>
// COntroller constants
#define _X 0
#define _Y 1
#define _Z 2
#define _YAW 3
#define _Kxy 0.9 /* position proportional constant */
#define _Kv 0.09 /* velocity proportional constant */
#define _Kiz 0.0008 ... | {
"content_hash": "40ead4bc1bf00d860d8e684e829b719a",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 82,
"avg_line_length": 30.517241379310345,
"alnum_prop": 0.5271186440677966,
"repo_name": "jiangchenzhu/crates_zhejiang",
"id": "8be447abbd1c7b6db1e93b824e95289f553d768b",
... |
import React from 'react';
import {connect} from 'react-redux';
import {Container, Row, Col} from 'react-bootstrap';
import {updateInvoiceFilters} from '../../../actions/index';
import InvoiceListModel from '../models/InvoiceListModel';
import {GroupedInvoiceTable} from '../invoice-table/GroupedInvoiceTable';
import {N... | {
"content_hash": "ca94715c3431b93653319c224833461d",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 105,
"avg_line_length": 36.60294117647059,
"alnum_prop": 0.7010847730012053,
"repo_name": "be-pongit/confac-front",
"id": "b6715395e589ad9e19611fae275f0c94288c267f",
"size"... |
var adjust_zone = require('../common/adjust_zone');
var tmerc = require('./tmerc');
exports.dependsOn = 'tmerc';
exports.init = function() {
var zone = adjust_zone(this.zone, this.long0);
if (zone === undefined) {
throw new Error('unknown utm zone');
}
this.lat0 = 0;
this.long0 = (zone + 0.5) * Math.PI... | {
"content_hash": "fa297d3131c53207e27ebd0ffbda1a88",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 64,
"avg_line_length": 25.17391304347826,
"alnum_prop": 0.6424870466321243,
"repo_name": "Tomella/cossap-3d",
"id": "385cabb083cc091b3aeb9553229e874a6eecf448",
"size": "579... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConversationScope = exports.Environment = exports.OrphanedEventPersistences = exports.LogPersistences = exports.LogLevels = void 0;
/**
* Log level enum
*/
var LogLevels;
(function (LogLevels) {
LogLevels[LogLevels["None"] = 0] =... | {
"content_hash": "6cc07157f25ff44e1f7f7074f765243b",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 139,
"avg_line_length": 34.46666666666667,
"alnum_prop": 0.7132495164410058,
"repo_name": "comapi/comapi-sdk-js-bower",
"id": "1eea9e0dbe89fd2d1e5de121cf0317c1527b3b24",
"s... |
class AddUseUploadedPictureToUser < ActiveRecord::Migration
def change
add_column :users, :use_uploaded_picture, :boolean, default: false
end
end
| {
"content_hash": "f46897998c7e61534961cff2ee1c396d",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 70,
"avg_line_length": 30.8,
"alnum_prop": 0.7727272727272727,
"repo_name": "nnamon/coursemology.org",
"id": "9b4dfedec4b140be706a070bb30a2606d24f494f",
"size": "154",
"bi... |
// Copyright 2019 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "b953e8571db4d292c63394d6597f676a",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 100,
"avg_line_length": 41.6875,
"alnum_prop": 0.7760119940029985,
"repo_name": "aehlig/bazel",
"id": "7f4f4f0b1686560a236f8a8e0234f1d7c2b6b36b",
"size": "3335",
"binary"... |
namespace gameplay
{
static GLuint __maxVertexAttribs = 0;
static std::vector<VertexAttributeBinding*> __vertexAttributeBindingCache;
VertexAttributeBinding::VertexAttributeBinding() :
_handle(0), _attributes(NULL), _mesh(NULL), _effect(NULL)
{
}
VertexAttributeBinding::~VertexAttributeBinding()
{
// Delete ... | {
"content_hash": "a9cda51fa851d955508c3ad7ffe52a90",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 196,
"avg_line_length": 29.649484536082475,
"alnum_prop": 0.5861149745016226,
"repo_name": "zakki/openhsp",
"id": "09d2201f7509023260310ad126f1388287127453",
"size": "8721... |
package pl.npe.lpp.preprocessor.source;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import pl.npe.lpp.data.source.TexSource;
import pl.npe.lpp.preprocessor.LppParams;
import pl.npe.lpp.preprocessor.source.ProcessingContext;
import jav... | {
"content_hash": "a86bc741cba96858923137679a8b1b09",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 118,
"avg_line_length": 36.688311688311686,
"alnum_prop": 0.704070796460177,
"repo_name": "traczykowski/lpp",
"id": "fd0f98c8478243e0c9a3c0e8dba4f76038bc2491",
"size": "282... |
layout: post
date: 2011-08-15 16:10:00
title: Thoughts on Independence Day
tags: [archived-posts]
categories: archives
permalink: /:categories/:year/:month/:day/:title/
---
Celebrating one's patriotism is not a matter of flying the flag on one day...it also means not littering, not breaking the rules, being polite and... | {
"content_hash": "a596d8b195cf454a9bc536089f333622",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 390,
"avg_line_length": 70.625,
"alnum_prop": 0.7752212389380531,
"repo_name": "deeyum/deeyum.github.io",
"id": "8ba84acc0a426fab885176a5b0c9386307b0b91d",
"size": "569",
... |
//// <reference path="../_references.ts"/>
module powerbi.data {
/** Allows generic traversal and type discovery for a SQExpr tree. */
export interface ISQExprVisitorWithArg<T, TArg> {
visitEntity(expr: SQEntityExpr, arg: TArg): T;
visitColumnRef(expr: SQColumnRefExpr, arg: TArg): T;
... | {
"content_hash": "b5db6926e403ef3dfc883dfe4d8533e8",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 116,
"avg_line_length": 33.089795918367344,
"alnum_prop": 0.5924509682990009,
"repo_name": "galiya/PowerBI-visuals",
"id": "abe4a94e79f8c5229a73f30df175916e8eb86f67",
"siz... |
from oslo_config import cfg
from oslo_log import log as logging
from oslo_utils import timeutils
from oslo_utils import units
import taskflow.engines
from taskflow.patterns import linear_flow
from taskflow.types import failure as ft
from cinder import exception
from cinder import flow_utils
from cinder.i18n import _, ... | {
"content_hash": "2adaeb0e477945e0bd2cc6408adf3517",
"timestamp": "",
"source": "github",
"line_count": 763,
"max_line_length": 79,
"avg_line_length": 44.51376146788991,
"alnum_prop": 0.5818808149805677,
"repo_name": "JioCloud/cinder",
"id": "5f1a4adfcbb5b22d6f107ba73e1194d430a90a39",
"size": "3453... |
import { StyleSheet } from 'react-native'
import { Colors, Metrics, Fonts, ApplicationStyles } from '../../themes/'
export default StyleSheet.create({
...ApplicationStyles.screen
})
| {
"content_hash": "a9f0398f0249fa3c7eb4bff37a026f58",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 73,
"avg_line_length": 30.833333333333332,
"alnum_prop": 0.7243243243243244,
"repo_name": "phattranky/react-native-redux-boilerplate",
"id": "057e60c2976f824bf9f0bc92a90e6fa7d... |
package de.fuberlin.wiwiss.d2rq.expr;
import java.util.Set;
import de.fuberlin.wiwiss.d2rq.algebra.AliasMap;
import de.fuberlin.wiwiss.d2rq.algebra.Attribute;
import de.fuberlin.wiwiss.d2rq.algebra.ColumnRenamer;
import de.fuberlin.wiwiss.d2rq.sql.ConnectedDB;
/**
* A CASE statement that turns a BOOLEAN (TRUE, FALS... | {
"content_hash": "d82451cffc26efef9ca94601ac81f102",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 90,
"avg_line_length": 24.451612903225808,
"alnum_prop": 0.7401055408970977,
"repo_name": "vishalkpp/VirtualSPARQLer",
"id": "3eda468c0d51c979c79cd08393a72d2dbf702d46",
"si... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>TypeConverterAttribute Constructor</title>
<xml>
</xml>
<link rel="stylesheet" type="text/c... | {
"content_hash": "2daf60c028896c40a234d06da1108573",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 222,
"avg_line_length": 48.627450980392155,
"alnum_prop": 0.6451612903225806,
"repo_name": "gersonkurz/manualisator",
"id": "99b122c4ebba5f4342a920612eac6b40876fbf7d",
"siz... |
namespace net {
namespace test {
class MockQuicDispatcher : public QuicSimpleDispatcher {
public:
MockQuicDispatcher(
const QuicConfig& config,
const QuicCryptoServerConfig* crypto_config,
QuicVersionManager* version_manager,
std::unique_ptr<QuicConnectionHelperInterface> helper,
std::... | {
"content_hash": "5197164efa9b357a9d6cb04bca1fe48c",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 69,
"avg_line_length": 29.464285714285715,
"alnum_prop": 0.703030303030303,
"repo_name": "ssaroha/node-webrtc",
"id": "e4c41a649628c9c9f746bd9f983f0bb5cae5b87f",
"size": "1... |
module.exports = {
getCelsius() {
return Promise.resolve(12.34);
},
setHeating(on) {
// TODO console.log("turned heating " + on);
return Promise.resolve(on);
},
};
| {
"content_hash": "d7c118f41a824a154cbeeddf2d36c02b",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 53,
"avg_line_length": 21,
"alnum_prop": 0.582010582010582,
"repo_name": "Tentoe/laforge",
"id": "6ea50b63c50bfee55b132233fa81dc061104ae11",
"size": "189",
"binary": false... |
import cp from 'child_process';
export default (command, args, options = {}) => new Promise((resolve, reject) => {
const stdio = process.platform === 'win32'
? 'ignore'
: 'inherit';
const child = cp.spawn(command, args, { stdio, ...options });
child.on('error', (err) => {
reject(err);
});
ch... | {
"content_hash": "b207ca18e980a4ec8613a0f4c9c23e22",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 82,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.5648854961832062,
"repo_name": "nimzco/Environment",
"id": "024c53790676dbcf24976e3ecccca11aaebdd95b",
"size": "9... |
// Runs provided program and returns promise that resolves when it ends
'use strict';
var deferred = require('deferred')
, fork = require('child_process').fork;
module.exports = function (program/*, args, options*/) {
var def = deferred();
var child = def.promise.process = fork.apply(null, arguments);
child... | {
"content_hash": "d80b8bd9eb5b9bd2f4a559d82a469f12",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 71,
"avg_line_length": 30.071428571428573,
"alnum_prop": 0.6793349168646081,
"repo_name": "egovernment/eregistrations-demo",
"id": "5044abe48bb7df063dfabc81f7c74160ba20aa74",... |
```
$ npm install monpy-db
```
## Example
#### Model
```js
var db = require('monpy-db')('mysql');
function User(){
db.BaseEntity.apply(this, arguments);
}
db.inherits(User, db.BaseEntity);
```
#### Use
```js
var db = require('monpy-db')('mysql'),
co = require('co'),
config = {
pool: 5,
host: '... | {
"content_hash": "aece6e75c15a91a5558dadb4f578d91c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 41,
"avg_line_length": 14.753846153846155,
"alnum_prop": 0.5776850886339937,
"repo_name": "monpoco/monpy-db",
"id": "bd02cebd43fc08e89f55e1041749dc3e1ff82696",
"size": "120... |
{% extends "base.html" %}
{% block title %}Collected Urls{% endblock %}
{% block head %}
{{ super() }}
{% endblock %}
{% block content %}
<ul class="breadcrumb">
<li><a href="{{ url_for('get_hosts') }}">Hosts</a></li>
<li class="active">{{ host }}</li>
</ul>
<h1>{{ host }}</h1>
<d... | {
"content_hash": "e8598d0f4237ee6fd469bacc5f02e708",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 84,
"avg_line_length": 38.39393939393939,
"alnum_prop": 0.6140489344909235,
"repo_name": "Samuirai/nazo",
"id": "e0f778f9c5fc3c52757a846fa3f6ac4e707fe5b4",
"size": "1267",
... |
package org.apache.wss4j.policy.builders;
import org.apache.neethi.Assertion;
import org.apache.neethi.AssertionBuilderFactory;
import org.apache.wss4j.policy.SP11Constants;
import org.apache.wss4j.policy.SP13Constants;
import org.apache.wss4j.policy.SPConstants;
import org.apache.wss4j.policy.SPUtils;
import org.apa... | {
"content_hash": "e0a7058d8529239ef056ec14979cfc2c",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 110,
"avg_line_length": 40.282051282051285,
"alnum_prop": 0.7740292807129217,
"repo_name": "apache/wss4j",
"id": "3ca2fc77a6fe2fdabbef59cf3dfe9a1d9c858ab1",
"size": "2373",... |
/**
* Internal STM interface. Contains the interface that an STM has to implement
* for Tanger. The part of the interface that is visible in the application is
* in tanger-stm.h.
*/
#ifndef TANGERSTMINTERNAL_H_
#define TANGERSTMINTERNAL_H_
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#ifdef __cpl... | {
"content_hash": "e51839089360db046dce67138ba500c8",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 106,
"avg_line_length": 44.951219512195124,
"alnum_prop": 0.7482365708084645,
"repo_name": "nmldiegues/tm-study-pact14",
"id": "9ac406b0a217a81045c53b1590b77309cd6491fb",
... |
<!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_76-release) on Mon Nov 28 00:13:26 MST 2016 -->
<title>com.cloudycrew.cloudycar.driversummary</title>
<meta name="date" content="2016-11-28">
<... | {
"content_hash": "991410c6276bb3e4de147131660eb94c",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 406,
"avg_line_length": 38.49112426035503,
"alnum_prop": 0.6564181398923905,
"repo_name": "CMPUT301F16T12/CloudyCar",
"id": "20732428ba0a68f0990e9d62c2ef0fdde2dee8dc",
"si... |
# Configurations
Through the `PSFramework` you have a simple method that allows you to ...
- Publish settings
- With onboard documentation
- Input validation
- Scripts that run on change of settings
- That can be discovered and updated by the user
- That can be administrated by policy & DSC
The configuration ... | {
"content_hash": "9c781fe22a8a0f0644d63cb40599e7ee",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 147,
"avg_line_length": 35.57142857142857,
"alnum_prop": 0.7690763052208835,
"repo_name": "FriedrichWeinmann/PSModuleDevelopment",
"id": "d6c321033be690a9818ea51997e4f6171a75... |
// Copyright (c) 2012, 2013 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef DOCUMENT
#define DOCUMENT
#include "openMVG/cameras/P... | {
"content_hash": "de8f57f931dfd64f90430736a14a9e87",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 117,
"avg_line_length": 32.255639097744364,
"alnum_prop": 0.5634032634032634,
"repo_name": "danylaksono/openMVG",
"id": "cc8a7547e15c9f55da704f3f1411b56d8038dbc4",
"size":... |
//? include("macros.js");
/**
* Constructs a new ByteBuffer.
* @class The swiss army knife for binary data in JavaScript.
* @exports ByteBuffer
* @constructor
* @param {number=} capacity Initial capacity. Defaults to {@link ByteBuffer.DEFAULT_CAPACITY}.
* @param {boolean=} littleEndian Whether to use littl... | {
"content_hash": "f5afdd004c4c9de8ee56bec06568f489",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 120,
"avg_line_length": 25.818627450980394,
"alnum_prop": 0.5824947788114676,
"repo_name": "allankv/bdq-framework-slides",
"id": "4244f2b106f38ddaac3e569ae3e2321586fdc9c4",
... |
export const easings: {
entrance: {
expressive: string;
productive: string;
};
exit: {
expressive: string;
productive: string;
};
standard: {
expressive: string;
productive: string;
};
};
export function motion(name: string, mode: string): string;... | {
"content_hash": "e934bb04471895ca3ccaa92b3018d1a8",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 59,
"avg_line_length": 18.75,
"alnum_prop": 0.5733333333333334,
"repo_name": "georgemarshall/DefinitelyTyped",
"id": "173687d04c08ce74502e25224fb08383f715b8c4",
"size": "62... |
package com.canzs.lhjz.util;
import java.util.Map;
import org.apache.commons.beanutils.BeanUtils;
import org.apache.log4j.Logger;
public class BeanUtil {
private static final Logger logger = Logger.getLogger(BeanUtil.class);
public static void copyNotEmptyFields(Object src, Object dest) {
try {
Map<String,... | {
"content_hash": "f880efa251308833a070cb4c5953508c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 71,
"avg_line_length": 21.17142857142857,
"alnum_prop": 0.6639676113360324,
"repo_name": "czs/lhjz",
"id": "c0b3a3277100c14082cd62644114bfd16defe082",
"size": "741",
"bin... |
package org.ovirt.engine.api.model;
public enum UsbType {
LEGACY, NATIVE;
public String value() {
return name().toLowerCase();
}
public static UsbType fromValue(String value) {
try {
return valueOf(value.toUpperCase());
} catch (IllegalArgumentException e) {
... | {
"content_hash": "60503aeddeb7d7722d88b84e37576758",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 51,
"avg_line_length": 18.894736842105264,
"alnum_prop": 0.5766016713091922,
"repo_name": "yingyun001/ovirt-engine",
"id": "a545585edd13add736eb7991fd5b5f1b9db2a6ca",
"size... |
SUBDIR= btx boot2 libpc98 loader
.include <bsd.subdir.mk>
| {
"content_hash": "0c992dd6158076c988e6885449d737cb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 33,
"avg_line_length": 20,
"alnum_prop": 0.75,
"repo_name": "MarginC/kame",
"id": "7c7cf1c796d921382bc5492290468ffd1038a8a4",
"size": "138",
"binary": false,
"copies": "... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* BibSubject.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using dir... | {
"content_hash": "e69d3996d584fd9307824567c499791e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 20.551724137931036,
"alnum_prop": 0.6610738255033557,
"repo_name": "amironov73/ManagedIrbis",
"id": "b244d3f477098db1a352b0162aa75987ef379711",
"size... |
//// [a.ts]
declare function forwardRef(x: any): any;
declare var Something: any;
@Something({ v: () => Testing123 })
export class Testing123 { }
//// [a.js]
System.register([], function (exports_1, context_1) {
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key... | {
"content_hash": "316d83d62416fca4bb1a0fea381237ba",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 154,
"avg_line_length": 43.303030303030305,
"alnum_prop": 0.5157452764170749,
"repo_name": "alexeagle/TypeScript",
"id": "cc26df71f033a9ea38298e283e0de348949b0553",
"size":... |
'use strict';
var _ = require('lodash');
var through = require('through2');
var fs = require('fs');
var path = require('path');
var cssTransform = require('./css-transform');
var CleanCSS = require('clean-css');
var defaults = {
'autoInject': true,
'autoInjectOptions': {
'verbose': true
},
'mi... | {
"content_hash": "a8ca03d5e7e85413525c842739a38536",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 212,
"avg_line_length": 33.705128205128204,
"alnum_prop": 0.5290985165462153,
"repo_name": "sufyanAbbasi/gothicVR",
"id": "5b5a5686eab090934ceb90d1b44eb842780fdaf7",
"size"... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Pr... | {
"content_hash": "41c6f0cfc9dea65e2ebe22e5782da36e",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 96,
"avg_line_length": 26.62146892655367,
"alnum_prop": 0.7398132427843803,
"repo_name": "Redth/ZXing.Net.Mobile",
"id": "f9f17310d0886d82ae1d7b8b75bb8cc9e3c4e509",
"size"... |
package com.marshalchen.common.uimodule.smoothswitch;
import com.nineoldandroids.animation.AnimatorSet;
import com.nineoldandroids.animation.ObjectAnimator;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.LinearInterpolator;
... | {
"content_hash": "f3ef713e324626ad076da418c0674319",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 97,
"avg_line_length": 29.412371134020617,
"alnum_prop": 0.7318611987381703,
"repo_name": "apkdemo/UltimateAndroid",
"id": "f4bdd91ef30742f063d986c3b986283dbd68da4a",
"siz... |
<script src="<?php echo ResURL('ckeditor'); ?>/ckeditor.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
// thay đổi anh theo khi chọn 1 ảnh mới
$('#anh').change(function(event) {
if (this.files && this.files[0]) {
var reader = new FileReader();
... | {
"content_hash": "6c3acae430c8296d70f3c65ca5221f82",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 199,
"avg_line_length": 38.078947368421055,
"alnum_prop": 0.5765952545496429,
"repo_name": "phamdoanw/web",
"id": "97f70c73c17db70b4ea7ce6e28cd23020460a4a4",
"size": "4448... |
{% extends "project/base.html" %}
{% set page_title = _("Diff") %}
{% block pnav %}
{% from 'project/macros.html' import nav with context%}
{{ nav('upstream') }}
{% endblock %}
{% block pbody %}
{% from 'project/macros.html' import subnav_git with context%}
{{ subnav_git('diff') }}
<h3>{{ _("Changes between <a href=... | {
"content_hash": "a09b0b08cc7400a650a5dd8a33b26862",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 291,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.6157142857142858,
"repo_name": "vitalyvolkov/fontbakery",
"id": "fd7861705596b898a31ba407ad041a41d40dc793",
"siz... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "cc9558f79e7abc25b9db782ee7809e16",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "4455f680f0b16de7a48ea7a571d7ac03bdfc1f11",
"size": "181... |
<resources>
<string name="app_name">Pdfium Demo</string>
<string name="menu_pdf_files">PDF Files</string>
<string name="menu_presentation">Presentation</string>
<string name="menu_taxes">IRS 1040A</string>
<string name="menu_open">Picker</string>
</resources>
| {
"content_hash": "1d01cfe83a06f0ad1199cf6cd6809999",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 56,
"avg_line_length": 38.57142857142857,
"alnum_prop": 0.7185185185185186,
"repo_name": "commonsguy/cw-omnibus",
"id": "95e2d77042b2e8f69d7e4c4358617763abbbae86",
"size": "... |
This application makes use of the following third party libraries:
## Cache
Licensed under the **MIT** license
> Copyright (c) 2015 Hyper Interaktiv AS
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in... | {
"content_hash": "022444c98fa5d015f315c14fd46650aa",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 78,
"avg_line_length": 43.37692307692308,
"alnum_prop": 0.7949991133179641,
"repo_name": "TonnyTao/Acornote",
"id": "f77ccb4585a3d4440d20ebe96db8078c7e96cd6a",
"size": "56... |
namespace web_view {
class NavigationControllerDelegate {
public:
virtual ~NavigationControllerDelegate() {}
// Called when the navigation controller starts a navigation.
//
// TODO(erg): This should be removed and most of the PendingWebViewLoad logic
// should be moved to NavigationEntry and/or Navigation... | {
"content_hash": "44a7fe1ad9c5e146560a3294da397dd0",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 30.68421052631579,
"alnum_prop": 0.7530017152658662,
"repo_name": "joone/chromium-crosswalk",
"id": "51c4662d2182c6aa3402959624b30bb9bd20743c",
"size... |
package fsrepo
import (
"fmt"
"path"
ds "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore"
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore/flatfs"
levelds "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/ipfs/go-datastore/leveldb"
"github.com/ipfs/g... | {
"content_hash": "66283eb9e60c451529ae8cccfaeee2d6",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 96,
"avg_line_length": 33.44827586206897,
"alnum_prop": 0.7171821305841924,
"repo_name": "palkeo/go-ipfs",
"id": "c9fef0f122ab46af07caa7f1b437f6d4f173bf37",
"size": "2910",... |
package com.switchfly.inputvalidation.sanitizer;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class LocaleCodeSanitizerTest {
@Test
public void testExecute() throws Exception {
LocaleCodeSanitizer localeCodeSanitizer = new LocaleCodeSanitizer();
assertEquals(... | {
"content_hash": "4b8433cfd13808ad2e89de377ed49bac",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 76,
"avg_line_length": 34.583333333333336,
"alnum_prop": 0.7012048192771084,
"repo_name": "switchfly/switchfly-java",
"id": "194c5e1fb31e65adcaf7ecbe0f8f2c77b1bf9381",
"siz... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>nxt.crypto Class Hierarchy</title>
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
... | {
"content_hash": "e46ae4b4b8b0d11cbfed99e6ae0ab4d7",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 139,
"avg_line_length": 31.653225806451612,
"alnum_prop": 0.6175796178343949,
"repo_name": "stevedoe/nxt-client",
"id": "e2e9828d08fa95feb51c61098e1753a67b9547ce",
"size":... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d7094b9986a0e440c477b57213b8c78f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "ed873b6199b9d709289a2a8f76511b62e5a77765",
"size": "19... |
HDL-xLibCores
=============
HDL x-library of IP Cores
External tools and libraries
----------------------------
* CMake 2.8.10
* Verilator 3.862
* SystemC 2.3.1
* Google C++ Testing Framework gtest-1.7.0
* Doxverilog 2.8 (patched Doxygen 1.8.5 for verilog)
Build
-----
To build all modules in Linux:
mkdir buil... | {
"content_hash": "1c1395c8bd1eda9351e81d7f461b38e7",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 74,
"avg_line_length": 15.869565217391305,
"alnum_prop": 0.6589041095890411,
"repo_name": "tymonx/hdl-xlibcores",
"id": "304c1ff595a4f094842898ac096e178ef49304f4",
"size": ... |
* Latest features on master...
## v1.1.0 - May 24, 2013 - [view commits](https://github.com/lotaris/REPO_NAME/compare/v1.0.0...v1.1.0)
* **BREAKING!** API no longer does that. (Jane Doe)
* This now does that. (John Smith)
* Added a feature that... (John Doe)
* Fixed a bug where... (John Doe)
## v1.0.0 - March 4, ... | {
"content_hash": "08adb5d207e934422aeb334535e11f95",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 103,
"avg_line_length": 23,
"alnum_prop": 0.6405797101449275,
"repo_name": "lotaris/open-source-template",
"id": "907ecb022bb511be48984d5698de597c5011cde7",
"size": "367",
... |
package io.undertow.server.protocol.http;
import java.io.UnsupportedEncodingException;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.Map;
import io.undertow.UndertowMessages;
impo... | {
"content_hash": "28d5b52d3406f99d785426745d6da367",
"timestamp": "",
"source": "github",
"line_count": 847,
"max_line_length": 236,
"avg_line_length": 43.14876033057851,
"alnum_prop": 0.5616056037431253,
"repo_name": "aradchykov/undertow",
"id": "5f9f73682c193db9ae7f160dccfc241889bf1878",
"size": ... |
// Copyright 2018 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | {
"content_hash": "48fe2611656c9c18d9d08a32fcfb120d",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 95,
"avg_line_length": 33.095238095238095,
"alnum_prop": 0.6028776978417266,
"repo_name": "ILMTitan/google-cloud-visualstudio",
"id": "84ee89e20e82604e28d8adc524b009ac529051... |
package com.streamsets.pipeline.lib.io.fileref;
import com.codahale.metrics.Counter;
import com.codahale.metrics.Meter;
import com.streamsets.pipeline.api.Stage;
import java.io.IOException;
import java.text.DecimalFormat;
import java.util.Map;
/**
* The Implementation of {@link AbstractPrePostReadOperationPerformi... | {
"content_hash": "0d5a020eec820ed9504edd57fc343088",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 135,
"avg_line_length": 38.666666666666664,
"alnum_prop": 0.7258620689655172,
"repo_name": "z123/datacollector",
"id": "4825b8f88252f15346248af9e145415909934533",
"size": ... |
/**
* The core EndlessRunner blueprint game file.
*
* This file is only used to initalise (start-up) the main Kiwi Game
* and add all of the relevant states to that Game.
*
*/
//Initialise the Kiwi Game.
var game = new Kiwi.Game('content', 'NyanGame', null, {renderer: Kiwi.RENDERER_CANVAS, plugins:['LeapMotion']}... | {
"content_hash": "1d67777d712354aee2e12e2ec415fdcc",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 112,
"avg_line_length": 27.35,
"alnum_prop": 0.7422303473491774,
"repo_name": "tutsplus/kiwi-js-motion-control-with-leap",
"id": "2bfd6856c3e0ef473cabe7851b1b7b3402ffe53c",
... |
@interface testNativeToJSCore : JSCoreTestCase
@end
@implementation testNativeToJSCore
-(void)testReturnJSSignal
{
__block NSMutableArray* output = [@[] mutableCopy];
int rangeLength = 5;
Kaare* kaare = [[Kaare alloc] initWithTransport:[[KaareJSCoreTransport alloc] initWithContextFinder:^JSContext *{
... | {
"content_hash": "e4f89b88d02be5acde1dcecd327f8754",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 163,
"avg_line_length": 41.32857142857143,
"alnum_prop": 0.6164880746629796,
"repo_name": "artemyarulin/Kaare",
"id": "b2c99e5c66bff7315a861860f2b632be6223a22c",
"size": "... |
package ru.job4j.generic;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* @author Dmitry Belokursky
* @since 21.10.17.
*/
public class RoleStoreTest {
@Test
public void add() throws Exception {
RoleStore roleStore = new RoleStore();
... | {
"content_hash": "f6812544d9e96539b6a10b2e70e59694",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 84,
"avg_line_length": 26.625,
"alnum_prop": 0.6300469483568075,
"repo_name": "dbelokursky/dbelokursky",
"id": "f97838bdb998149d2439955e9c8154fa4524e721",
"size": "1065",
... |
set -e
# Store args to pass on to real terraform command
args="$@"
# Prompt for the 'region' variable if it's not set
if [ -z "$TF_VAR_region" ]; then
echo -n "Enter value for 'region': " && read TF_VAR_region
fi
export TF_VAR_region="$TF_VAR_region"
# Prompt for the 'environment' terraform variable if it's not se... | {
"content_hash": "3800710dc0263199095320ff74806732",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 31.08,
"alnum_prop": 0.7001287001287001,
"repo_name": "antonosmond/hello-world",
"id": "08bbfaa490bcd65688bfb40d42ed33466e061603",
"size": "1566",
... |
class NetworkDevice(object):
def __init__(self, ip, username, password):
self.ip = ip
self.username = username
self.password = password
def connect(self):
pass
def enable(self):
pass
def sh_ver(self):
pass
class NetworkDevice2(object):
def __init__(self, ip,... | {
"content_hash": "db39ef048c8fe3d6939928de8d85e52e",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 47,
"avg_line_length": 22.363636363636363,
"alnum_prop": 0.5894308943089431,
"repo_name": "bdlamprecht/python_class",
"id": "5286ba15a622b2d39cad96c1722463d0daf61f89",
"siz... |
namespace aura {
namespace test {
namespace {
using ui_controls::DOWN;
using ui_controls::LEFT;
using ui_controls::MIDDLE;
using ui_controls::MouseButton;
using ui_controls::RIGHT;
using ui_controls::UIControlsAura;
using ui_controls::UP;
using namespace ui_controls::internal;
class UIControlsWin : public UIControls... | {
"content_hash": "8cdff65f9bee8ec826ad49529d249eec",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 77,
"avg_line_length": 33.97530864197531,
"alnum_prop": 0.6101017441860465,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "7d1d2bbe4ef0775eb35aebeb574398c83168822e",... |
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
--
-- 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
... | {
"content_hash": "5554ac66514400cd9ad4e3aacd7ba486",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 79,
"avg_line_length": 37.53846153846154,
"alnum_prop": 0.73224043715847,
"repo_name": "uber/fbthrift",
"id": "fb2daa3f664cdb2816a1709e4ee0899d0bf66855",
"size": "1464",
... |





![](graphs_netmiko_scrapli/... | {
"content_hash": "1e3534baeb23086e45504caf493891f1",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 61,
"avg_line_length": 58.5,
"alnum_prop": 0.7806267806267806,
"repo_name": "ktbyers/netmiko",
"id": "c5599fc8281271d161520e6fdcd7689835d567f3",
"size": "453",
"binary": f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.