text stringlengths 2 1.04M | meta dict |
|---|---|
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Dommel.IntegrationTests;
using Xunit;
namespace Dommel.Json.IntegrationTests;
[Collection("JSON Database")]
public class InsertTests
{
[Theory]
[ClassData(typeof(JsonDatabaseTestData))]
public void InsertsNullObject(Datab... | {
"content_hash": "8285241b286a038b5f06fec963980c27",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 74,
"avg_line_length": 28.7125748502994,
"alnum_prop": 0.5607924921793535,
"repo_name": "henkmollema/Dommel",
"id": "7e15c45f774365196216b2a1e9943c5ab71559bc",
"size": "47... |
from unittest import TestCase
import klineyes
from klineyes.util.test_data import load_test_data
class TestEyes(TestCase):
def test_get_dates_pattern(self):
'''
testing
:return:
'''
klineyes.get_dates_pattern(input_data=load_test_data(), ptypes=['hammer', 'line', 'star']) | {
"content_hash": "070a93e5a7085313ab7669a68f3fceb9",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 98,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.64375,
"repo_name": "tenstone/klineyes",
"id": "fb3fd86292dca0483f7cd4c678cca8ff70d6b9ec",
"size": "320",
"bina... |
' Copyright (c) 2015 ZZZ Projects. All rights reserved
' Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
' Website: http://www.zzzprojects.com/
' Feedback / Feature Requests / Issues : http://zzzprojects.uservoice.com/forums/283927
' All ZZZ Projects products: Entity Framework Exten... | {
"content_hash": "f7722e407418c604fa85d9405ecd6c28",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 108,
"avg_line_length": 40,
"alnum_prop": 0.7602272727272728,
"repo_name": "mario-loza/Z.ExtensionMethods",
"id": "06c8b49cbe22f8bd9458034f15a407285f489b1b",
"size": "881",... |
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
namespace NonFactors.Mvc.Grid
{
public static class GridExtensions
{
public static Htm... | {
"content_hash": "608c7e87dc6afb8365d8e7305b3df6ae",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 127,
"avg_line_length": 36.76923076923077,
"alnum_prop": 0.6645746164574616,
"repo_name": "NonFactors/MVC6.Grid",
"id": "c0ce3c95676665f292554152ca09a6eef50700b8",
"size": ... |
package com.github.aleksandermielczarek.realmrepository.configuration;
import io.realm.Realm;
/**
* Created by Aleksander Mielczarek on 22.09.2016.
*/
public interface RealmProvider {
Realm provideRealm();
}
| {
"content_hash": "3c098d6a4416d90ce73afe3f06cb5be2",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 18.166666666666668,
"alnum_prop": 0.7614678899082569,
"repo_name": "AleksanderMielczarek/RealmRepository",
"id": "6398c02bf14a8d1f26a464c3506abc2aa6631... |
[[ -z "${BASH_SOURCE}" ]] && echo "Cannot locate self." && exit 1
cd "${BASH_SOURCE%/*}"
echo 'cleaning old generated code...'
rm -rf ./clients/*
rm -rf ./commands/*
echo 'building client generator...'
go get google.golang.org/api/google-api-go-generator
echo 'building gcloud_apis_gen...'
go get ./gcloud_apis_gen || e... | {
"content_hash": "227b0fce0c175c9ccf0e56b944691a1c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 106,
"avg_line_length": 40.416666666666664,
"alnum_prop": 0.6907216494845361,
"repo_name": "mbrukman/gcloud",
"id": "201807d86ff16e6f8000ee0aed2726632a5705d4",
"size": "498... |
"""
Wind Turbine Company - 2013
Author: Stephan Rayner
Email: stephan.rayner@gmail.com
"""
from HIL.controller.Base_Controller import Base_Controller
from Yaw_Generation import Yaw_Generation
Yaw_Generation = Yaw_Generation()
class Yaw_Manual(Base_Controller):
"""docstring for Yaw_Manual"""
def __init__(self)... | {
"content_hash": "0b171d2649f2e76555a047e566c2e3da",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 86,
"avg_line_length": 36.39622641509434,
"alnum_prop": 0.5759460860549508,
"repo_name": "stephan-rayner/HIL-TestStation",
"id": "bc96c7d3608c6635bf6269b3bc13c8fc9a6121a2",
... |
import { Template } from 'meteor/templating';
import { t, roomTypes } from '../../utils/client';
import { settings } from '../../settings/client';
import { Rooms } from '../../models/client';
import { callbacks } from '../../callbacks/client';
Template.chatRoomItem.helpers({
roomData() {
const unread = this.unread... | {
"content_hash": "2a9f6e46c8a0b2cbb6359270f2cd8fe6",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 86,
"avg_line_length": 31.07547169811321,
"alnum_prop": 0.6363084395871281,
"repo_name": "subesokun/Rocket.Chat",
"id": "45d7a5c8555c22a1e569d01638a8de503c6e6d4b",
"size": ... |
using namespace std;
using namespace ngraph;
constexpr NodeTypeInfo pattern::op::Or::type_info;
const NodeTypeInfo& pattern::op::Or::get_type_info() const
{
return type_info;
}
bool pattern::op::Or::match_value(Matcher* matcher,
const Output<Node>& pattern_value,
... | {
"content_hash": "08f9909be231b0c4a83999358d9db404",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 68,
"avg_line_length": 25.583333333333332,
"alnum_prop": 0.5716612377850163,
"repo_name": "NervanaSystems/ngraph",
"id": "f43d3b469ba4a9448d65933fdc557e71914ac329",
"size":... |
$(document).ready(function(){
/** Show error message */
function show_error(message){
console.error(message);
if(PNotify){
$(function(){
new PNotify({
title: 'Error',
text: message,
type: 'error',
desktop: {
desktop: true
}
});
});
}
}
/* Payment */
$(".pay_... | {
"content_hash": "4c9787e3bccb2a64e090f1729aa38fe5",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 64,
"avg_line_length": 19.5,
"alnum_prop": 0.5769230769230769,
"repo_name": "intelligenia/django-virtual-pos",
"id": "21e4c59d3d809442c4ca12b5993371c762d0ce8f",
"size": "17... |
/* !
* Vue.js v2.4.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
(function(global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global.Vue = factory());
}(thi... | {
"content_hash": "59102d649aa1e4dcd523bbf86c805e93",
"timestamp": "",
"source": "github",
"line_count": 10402,
"max_line_length": 302,
"avg_line_length": 28.67756200730629,
"alnum_prop": 0.5319238092683973,
"repo_name": "xixixida/egg-vue-blog",
"id": "cb9d010b725ef1b8074a9f425aa30da80b1e5a43",
"siz... |
UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent))
class S05_TESTINGGROUNDS_API UGrassComponent : public UHierarchicalInstancedStaticMeshComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
UGrassComponent();
UPROPERTY(EditDefaultsOnly, Category = Spawning)
... | {
"content_hash": "c36bbaaf0feac99aa6e3b558f6ae9692",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 122,
"avg_line_length": 26.153846153846153,
"alnum_prop": 0.7970588235294118,
"repo_name": "professionaljones/S05_TestingGrounds",
"id": "2254cba601cff5dc74a5e102bc2392963ef0... |
<?php
declare(strict_types=1);
namespace Sylius\Bundle\UiBundle\Block;
use Sonata\BlockBundle\Event\BlockEvent;
use Sonata\BlockBundle\Model\Block;
/**
* @deprecated
*/
final class BlockEventListener
{
public function __construct(private string $template)
{
@trigger_error(
sprintf('U... | {
"content_hash": "4d78f933e9446a7b66f8955d00684679",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 183,
"avg_line_length": 24.75,
"alnum_prop": 0.6251402918069585,
"repo_name": "Sylius/Sylius",
"id": "22abf98c9d55dc765fe5ddd4f9014f1502c042c5",
"size": "1102",
"binary":... |
package temple.multiplayer.net.bluetooth.device;
import android.bluetooth.BluetoothSocket;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import temple.multiplayer.net.common... | {
"content_hash": "bf604fecf3c8efff8cb6962fbee671d8",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 162,
"avg_line_length": 34.28481012658228,
"alnum_prop": 0.57282628761307,
"repo_name": "MediaMonks/tilt-game-android",
"id": "be4ba7593d93653d9df83a8dd42e88e8928d3654",
"... |
"""The type mappings for the ``simplejson``-like API.
In particular, this module provides the extension to native Python data types with
particulars of the Ion data model.
"""
# Python 2/3 compatibility
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from ... | {
"content_hash": "c945eee0dafd18235b42e8665ee9c161",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 115,
"avg_line_length": 35.78536585365854,
"alnum_prop": 0.629907306434024,
"repo_name": "almann/ion-python",
"id": "9db902da13cc3d7944ff53dcc3aaf033ca784602",
"size": "79... |
package android.graphics.drawable;
import android.annotation.NonNull;
import android.content.res.ColorStateList;
import android.content.res.Resources;
import android.content.res.Resources.Theme;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import andro... | {
"content_hash": "7e56bdd61ff4f0f09134cc632000b6b1",
"timestamp": "",
"source": "github",
"line_count": 974,
"max_line_length": 102,
"avg_line_length": 33.91581108829569,
"alnum_prop": 0.6295634800508567,
"repo_name": "Ant-Droid/android_frameworks_base_OLD",
"id": "cf91be1ea364c4bcbd6d8834f05a91c2013... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1bccaed33e7697cf5813d6ce813c0560",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "7a38e0b67cd14c570956bd60d6230e4b88388c68",
"size": "176... |
package edu.hnu.webapp.conf;
import com.jfinal.config.Routes;
/**
* APP端Routes配置
* @author simon
*
*/
public class ApiRoutes extends Routes{
@Override
public void config() {
}
}
| {
"content_hash": "ad74010e24fa817507c1823cc100198c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 38,
"avg_line_length": 11.294117647058824,
"alnum_prop": 0.6770833333333334,
"repo_name": "xgl1999/hnudemo",
"id": "f187970555677f07a59efc0e9cd8d878f6a34d8e",
"size": "825"... |
module HasOffers.API.Affiliate.BrandDesign
where
import Data.Text
import GHC.Generics
import Data.Aeson
import Control.Applicative
import Network.HTTP.Client
import qualified Data.ByteString.Char8 as BS
import HasOffers.API.Common
-------------------------------------------------------------------------------... | {
"content_hash": "8c7aa7223409ba26adc4c00aa7488be9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 80,
"avg_line_length": 24.76923076923077,
"alnum_prop": 0.6149068322981367,
"repo_name": "kelecorix/api-hasoffers",
"id": "94f3d4975f65c82e61b67dffa1962ba07be982d9",
"size"... |
@charset "utf-8";
/*css reset*/
body,dd,dl,dt,h1,h2,h3,h4,h5,ul,ol,li,p,form,select,input{margin:0;padding:0}
ul,li {list-style:none;}
img {border: none;}
input,select{font-family: "Arial","Microsoft YaHei"}
input[type="checkbox"], input[type="radio"] {margin: 0;vertical-align: middle;margin-right: 2px;margin-top: -2px... | {
"content_hash": "4b7da9f084d692bf2074cec27382ea73",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 208,
"avg_line_length": 40.390977443609025,
"alnum_prop": 0.7464631422189129,
"repo_name": "cqdewei/cqdewei-php-cms",
"id": "80048d0474cb4add774824bc0c430c25f29222c3",
"si... |
<HTML>
<HEAD>
<title>Autonomous Systems for SPACE ROBOTICS Lab</title>
</HEAD>
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#000FF0 VLINK=#990FFF ALINK=#FF0000>
<h1 ALIGN=CENTER>The Autonomous Systems for SPACE ROBOTICS Lab</h1>
<h2 ALIGN=CENTER>(Safe, Provably Accurate, Cross-disciplinary Engineering Research On BOunded, T... | {
"content_hash": "b8ed34be92b2f0c43b3bdc7a55e33857",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 155,
"avg_line_length": 35.111111111111114,
"alnum_prop": 0.740506329113924,
"repo_name": "AS4SR/website",
"id": "7dd6fb1ffd5f0e5d036d3a8d2c43c381fe7fe063",
"size": "632",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_65) on Tue Feb 04 13:29:24 EST 2014 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Function (Storm Core 0.9.1-incuba... | {
"content_hash": "ae96769eb9f662d4d41e9ba8d031765c",
"timestamp": "",
"source": "github",
"line_count": 227,
"max_line_length": 794,
"avg_line_length": 48.36123348017621,
"alnum_prop": 0.6503006012024048,
"repo_name": "techdocscn/storm",
"id": "e7dea7758e2ec6339953b4d18b39a0f10d81367d",
"size": "10... |
<resources>
<color name="black_overlay">#66000000</color>
<color name="shadow">#f0f0f0</color>
</resources> | {
"content_hash": "aa184307c6d36ba1ec620f4e76d3a5c3",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 49,
"avg_line_length": 19.5,
"alnum_prop": 0.6666666666666666,
"repo_name": "benjaminthorent/AndroLight",
"id": "5c4a79f9ffdf4bfbd118d7d5c73f7f9a1920b83a",
"size": "117",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_array_long_realloc_51b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete_array.label.xml
Template File: sources-sinks-51b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory M... | {
"content_hash": "2ff6198d2b6d8e1e2faa82d9a15486d0",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 112,
"avg_line_length": 29.150943396226417,
"alnum_prop": 0.6951456310679611,
"repo_name": "JianpingZeng/xcc",
"id": "5c2c9c8f04e0c15a0e62f021129da8265f968d84",
"size": "15... |
package aQute.bnd.build;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.ref.WeakReference;
import java.net.URI;
import java.net.URL;
import java.net.URLClassLoader;
import java.u... | {
"content_hash": "0593b7a56f68136bce3e6e311efcabba",
"timestamp": "",
"source": "github",
"line_count": 1145,
"max_line_length": 115,
"avg_line_length": 26.38515283842795,
"alnum_prop": 0.665618483333885,
"repo_name": "GEBIT/bnd",
"id": "2c020ab725c2e12232b473c6b899e6e479ff9081",
"size": "30211",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3984df65ae995fe3574dbf32e0047f97",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "9962b083089e07db762fe669815101b55245aabe",
"size": "18... |
package org.apache.hadoop.hdfs.security;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.impl.Log4JLogger;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.h... | {
"content_hash": "590656d1c914be18244eeef4de0a5905",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 91,
"avg_line_length": 37.463022508038584,
"alnum_prop": 0.7019139987983865,
"repo_name": "smkniazi/hops",
"id": "610e72c1392610b76f4670bc4aa40e72db0886f1",
"size": "12457... |
title: Introduction
subtitle: What does Didit do?
category: intro
---
# Introduction
[](public/didit-screenshot.png)
Didit is a continuous build system for the classroom.
+ Didit is integrated with student [Git] repositories.
When students push new commits to their ... | {
"content_hash": "560bcb826461675cb3659511dd4db90a",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 217,
"avg_line_length": 54.935483870967744,
"alnum_prop": 0.7762771579565473,
"repo_name": "maxg/didit",
"id": "41aa1f2fe78eb998aefc074eb0318654c9182058",
"size": "3410",
... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package services;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import o... | {
"content_hash": "afee578b2764fc9b6032ca03e74b23e5",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 83,
"avg_line_length": 31.646408839779006,
"alnum_prop": 0.6178421787709497,
"repo_name": "DARKATOS/BUSAPP",
"id": "5c38b569f1ccd13d3b3397d02bec12b2175aedcb",
"size": "572... |
/*
* www.ichmags.net - Backgammon
*/
package net.ichmags.backgammon;
import net.ichmags.backgammon.setup.IPlayer;
import net.ichmags.backgammon.setup.impl.Player;
/**
* A helper class to easily share common definitions and functionalities.
*
* @author Anastasios Patrikis
*/
public class CommonEngine {
/**
... | {
"content_hash": "8a1e5c2cbc4e97781b35ca2885ea6247",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 91,
"avg_line_length": 29.055555555555557,
"alnum_prop": 0.6832377310388783,
"repo_name": "apatrikis/imn-backgammon-engine-impl",
"id": "c0c8bc0e58c123d914d81cd117de58ea7ddb1... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tutorial_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:orientation="vertical">
<org.buildmlear... | {
"content_hash": "db1eb7d6670e2123f1317881dc2d279a",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 62,
"avg_line_length": 35.078947368421055,
"alnum_prop": 0.660165041260315,
"repo_name": "opticod/BuildmLearn-Toolkit-Android",
"id": "f5c093a9ce69ed55c0cc4640645bc7bfb7e91d9... |
@implementation CocoaVideoScriptModel
+ (NSDictionary *)JSONKeyPathsByPropertyKey {
return @{
};
}
+ (NSValueTransformer *)startTimeJSONTransformer {
return [MTLValueTransformer reversibleTransformerWithForwardBlock:^id(id str) {
return [NSNumber numberWithLong:([CocoaVideoScriptModel getM... | {
"content_hash": "f2c7898bac81182653475773a9970b7f",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 247,
"avg_line_length": 46.8125,
"alnum_prop": 0.7298620382732532,
"repo_name": "chenyongwei/CocoaVideoPlayer",
"id": "482832909ee447472dff5e04c236aacb41298f09",
"size": "2... |
.. _ref-sorted-containers:
----------------------------------------
Overview of Sorted Containers
----------------------------------------
Three sorted containers are provided:
SortedDict, SortedMultiDict and SortedSet.
*SortedDict* is similar to the built-in Julia type ``Dict``
with the additional feature that the k... | {
"content_hash": "5d681b915be4f5c48da24e6cc24ebcad",
"timestamp": "",
"source": "github",
"line_count": 1033,
"max_line_length": 90,
"avg_line_length": 37.20135527589545,
"alnum_prop": 0.704494001925629,
"repo_name": "JuliaPackageMirrors/DataStructures.jl",
"id": "9645f15a6fd5d3160e20b9a3a334686b21a2... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Comprobante extends Model
{
protected $table = 'comprobantes';
}
| {
"content_hash": "b047d155d13d86202e78d9b88cbb6215",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 39,
"avg_line_length": 13.9,
"alnum_prop": 0.7410071942446043,
"repo_name": "ferglezt/ServiciosEducativos",
"id": "a3a0b71f04a2786b71db4eadbe0274a04900ef01",
"size": "139",... |
module GLib
module Deprecatable
unless respond_to?(:define_singleton_method)
def define_singleton_method(name, &block)
singleton_class = class << self; self; end
singleton_class.__send__(:define_method, name, &block)
end
end
@@deprecated_const = {}
def define_deprecated_co... | {
"content_hash": "d56f44a5120525c251f5d69be7b3cf2d",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 106,
"avg_line_length": 36.95302013422819,
"alnum_prop": 0.5664729386124228,
"repo_name": "mat-mo/arch-pkgs",
"id": "7da4e61028f23761644eaa3f1f55206e3528a21d",
"size": "55... |
/**
* @ngdoc overview
* @name pascalprecht.translate
*
* @description
* The main module which holds everything together.
*/
angular.module('pascalprecht.translate', ['ng'])
.run(runTranslate);
function runTranslate($translate) {
'use strict';
var key = $translate.storageKey(),
storage = $translate.st... | {
"content_hash": "9033411555f59a9de8aebd72555ce3ef",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 86,
"avg_line_length": 27.095238095238095,
"alnum_prop": 0.6827768014059754,
"repo_name": "k-nut/angular-translate",
"id": "622520e1e9af7b0f47b8c62c8efc92cf58bb03ec",
"size... |
#include "std.h"
#include "config.h"
#include "lpc_incl.h"
#include "file_incl.h"
#include "swap.h"
#include "simul_efun.h"
#include "comm.h"
#include "md.h"
/*
* Swap out programs from objects.
*
* Todo:
* Separate objects/programs, so that they can swapped out
* independently. This way even inherited progr... | {
"content_hash": "679b5da919d360cc31fc5c9497dfb320",
"timestamp": "",
"source": "github",
"line_count": 538,
"max_line_length": 88,
"avg_line_length": 25.2546468401487,
"alnum_prop": 0.5941708986531243,
"repo_name": "holtsoftware/potential-octo-wallhack",
"id": "0e99a56ba61c0b87d6f5036f7cbda1b82952c4... |
package com.twitter.util.registry
import scala.util.control.NoStackTrace
import org.scalatest.funsuite.AnyFunSuite
class FormatterTest extends AnyFunSuite {
test("asMap generates reasonable Maps") {
val registry = new SimpleRegistry
registry.put(Seq("foo", "bar"), "baz")
registry.put(Seq("foo", "qux"), ... | {
"content_hash": "84f35ac46247b82ef0760e1c4bbdc981",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 96,
"avg_line_length": 32.725,
"alnum_prop": 0.6168831168831169,
"repo_name": "twitter/util",
"id": "05e044d18b82595fffd05bdc4d7449eaea4a1a32",
"size": "2618",
"binary": ... |
/*
* Custom Type Definitions
* When including 3rd party modules you also need to include the type definition for the module
* if they don't provide one within the module. You can try to install it with typings
typings install node --save
* If you can't find the type definition in the registry we can make an ambient... | {
"content_hash": "f8d8e56a17a22e9419a83d506c74b215",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 99,
"avg_line_length": 32.22666666666667,
"alnum_prop": 0.7012825817128672,
"repo_name": "23deg/23",
"id": "0ca98dc7bb7fcceb8b8ea73ed5546ab55afdc0af",
"size": "2417",
"bi... |
<!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_171) on Mon Aug 06 14:29:36 PDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Package com.j... | {
"content_hash": "6697bd685befb64c631ea68bdb7d428c",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 308,
"avg_line_length": 38.01851851851852,
"alnum_prop": 0.6171456405260595,
"repo_name": "kiswanij/jk-util",
"id": "506521ac95f3acfd1047b1a823d801a4c20fbba2",
"size": "61... |
' 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.
Imports Microsoft.CodeAnalysis.Remote.Testing
Namespace Microsoft.CodeAnalysis.Editor.UnitTests.FindReferences
Pa... | {
"content_hash": "8240e685f484e62370bef4f0bde338b8",
"timestamp": "",
"source": "github",
"line_count": 462,
"max_line_length": 141,
"avg_line_length": 29.01298701298701,
"alnum_prop": 0.5980304386750224,
"repo_name": "sharwell/roslyn",
"id": "1776e2d32a990d8a873d7e165b85eee085a273e0",
"size": "134... |
#include "tensorflow/tsl/profiler/utils/group_events.h"
#include <algorithm>
#include <cstdint>
#include <functional>
#include <iterator>
#include <map>
#include <memory>
#include <optional>
#include <queue>
#include <string>
#include <utility>
#include <vector>
#include "absl/algorithm/container.h"
#include "absl/... | {
"content_hash": "8d99c56c298b18ceccb94d51f6821a13",
"timestamp": "",
"source": "github",
"line_count": 780,
"max_line_length": 80,
"avg_line_length": 36.684615384615384,
"alnum_prop": 0.6654434892010904,
"repo_name": "tensorflow/tensorflow-pywrap_tf_optimizer",
"id": "5a718d0614c8d9ee1ff89d101cb40ed... |
using namespace boost::filesystem;
using namespace boost::filesystem::path_traits;
std::vector<StationBase> DirectoryProperties::initialize_stations()
{
// create vector of 'numberOfFolders' StationBases
std::vector<StationBase> station( this->numberOfFolders );
// initialize stations parameters, as name, path, t... | {
"content_hash": "8ab517af33546b5a2435eb8844e2103c",
"timestamp": "",
"source": "github",
"line_count": 348,
"max_line_length": 161,
"avg_line_length": 27.74712643678161,
"alnum_prop": 0.5605840927920464,
"repo_name": "leomiquelutti/mtaas",
"id": "041ce2b8a6ee194beff15f250b88843b070f8525",
"size": ... |
import mock
from rally.plugins.openstack.context.network import allow_ssh
from tests.unit import fakes
from tests.unit import test
CTX = "rally.plugins.openstack.context.network.allow_ssh"
class AllowSSHContextTestCase(test.TestCase):
def setUp(self):
super(AllowSSHContextTestCase, self).setUp()
... | {
"content_hash": "af94c5eab9d90157c968c19cd63b00af",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 78,
"avg_line_length": 40.50375939849624,
"alnum_prop": 0.6047893075923519,
"repo_name": "redhat-openstack/rally",
"id": "8615bc08a1a9a2abf6e50b48d16c0ee6e84722d6",
"size"... |
`Home <index.html>`_ OpenStack-Ansible Installation Guide
Installation workflow
---------------------
This diagram shows the general workflow associated with OSA
installation.
**Figure 1.7. Installation workflow**
.. image:: figures/workflow-overview.png
--------------
.. include:: navigation.txt
| {
"content_hash": "f16b272606555a76a073eb094b1f51a2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 59,
"avg_line_length": 20.266666666666666,
"alnum_prop": 0.6842105263157895,
"repo_name": "jpmontez/os-ansible-deployment",
"id": "fa885b5c648888de546b153b5d13960a16ef3829",
... |
package com.intellij.refactoring.introduceField;
import com.intellij.codeInsight.AnnotationUtil;
import com.intellij.codeInsight.completion.JavaCompletionUtil;
import com.intellij.ide.util.ClassFilter;
import com.intellij.ide.util.PropertiesComponent;
import com.intellij.ide.util.TreeClassChooser;
import com.intellij.... | {
"content_hash": "2856a5329068665a6e65ba6c362e6bb5",
"timestamp": "",
"source": "github",
"line_count": 497,
"max_line_length": 232,
"avg_line_length": 40.9215291750503,
"alnum_prop": 0.7113285475464648,
"repo_name": "goodwinnk/intellij-community",
"id": "c2520c71a602ff4e10b48fb8330ea148abb93071",
... |
<?xml version='1.0' encoding='UTF-8'?>
<para xmlns="http://docbook.org/ns/docbook" version="5.0">
<!-- Warning: Do not edit this file. It is automatically
generated and your changes will be overwritten.
The tool to do so lives in openstack-doc-tools repository. -->
<table rules="all" xml:id="config_table_... | {
"content_hash": "b2f8af5c17934960dae933a67a144454",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 123,
"avg_line_length": 39.714285714285715,
"alnum_prop": 0.6127098321342925,
"repo_name": "kairoaraujo/openstack-manuals",
"id": "34f5321f940b9c8042fd82475bb90a29231e58ce",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
Izv. Donsk. Inst. Sel'sk. Kohz. Melior. 9:47, 54, 58. 1929
#### Original name
null
### Remarks
null | {
"content_hash": "aceb7a5b432a5e3e9c99e45593a6ab0b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 13.846153846153847,
"alnum_prop": 0.6833333333333333,
"repo_name": "mdoering/backbone",
"id": "6022c955c6043c6e5a35efad5371965b0b5d21e3",
"size": "24... |
package com.jongsoft.harvester.api;
import com.jongsoft.harvester.exception.NotFoundException;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframe... | {
"content_hash": "42d7a7bb193eacf6accb995e68a05c9f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 109,
"avg_line_length": 50.9,
"alnum_prop": 0.8231827111984283,
"repo_name": "gjong/web-harvester",
"id": "b2bdff691aaa339a566c70bcc7617327a92551c9",
"size": "1018",
"bin... |
class CreateActors < ActiveRecord::Migration
def change
create_table :actors do |t|
t.string :first_name
t.string :last_name
t.string :image
t.string :bio
t.timestamps
end
end
end
| {
"content_hash": "ddb82d712e9bb6e63d1274018aeafc12",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 20.181818181818183,
"alnum_prop": 0.6306306306306306,
"repo_name": "ummahusla/codecademy-exercise-answers",
"id": "7bcc379746f9fb955e472c5654979943454e... |


![Azure US Gov ... | {
"content_hash": "210106369063152b0087f5d6fd14a0b7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 360,
"avg_line_length": 84.375,
"alnum_prop": 0.8222222222222222,
"repo_name": "sabbour/azure-quickstart-templates",
"id": "b95be30119b6215797b1e304ae59f4ebad40b374",
"size... |
require_relative "test_helper"
require_relative "../lib/giblish/resourcepaths"
module Giblish
class ResourceTests < GiblishTestBase
include Giblish::TestUtils
def create_resource_dir resource_topdir
Dir.exist?(resource_topdir) || FileUtils.mkdir_p(resource_topdir)
%i[dir1 dir2 images].each do |d... | {
"content_hash": "0cd211a1f45c8bb76484b1093dee249f",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 114,
"avg_line_length": 32.881147540983605,
"alnum_prop": 0.5299763180855042,
"repo_name": "rillbert/giblish",
"id": "1e310407b3362cb717b67a8f102800b3fddbf757",
"size": "8... |
<?php
/**
*
* @package Core_Resource
* @author Christian Gijtenbeek <gijtenbeek@terena.org>
*/
class Core_Resource_UsersRoles extends TA_Model_Resource_Db_Table_Abstract
{
protected $_name = 'user_role';
protected $_primary = 'user_role_id';
// many to many mapping
protected $_referenceMap = array(
'Use... | {
"content_hash": "3c69b04702e7882c65e87b60c0fe2a6a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 74,
"avg_line_length": 19.322580645161292,
"alnum_prop": 0.6277128547579299,
"repo_name": "Christian-G/terena-core",
"id": "6a10fcda611f5589256dea0290289bfe17c11254",
"size... |
package com.company.ordermanagement.portal.controllers;
import com.company.ordermanagement.entity.Product;
import com.company.ordermanagement.portal.command.LoginUserCommand;
import com.haulmont.cuba.core.app.DataService;
import com.haulmont.cuba.core.global.LoadContext;
import com.haulmont.cuba.portal.security.Porta... | {
"content_hash": "1bf4cbfd8c5d45895b00a89d1af8bea4",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 82,
"avg_line_length": 33.282051282051285,
"alnum_prop": 0.7557781201848999,
"repo_name": "mariodavid/cuba-ordermanagement",
"id": "fdf88866b33cf18ad6049543e63bf1af4e243f98",... |
.. _relativity:
****************************************************************
Relativistic functions (`plasmapy.formulary.relativity`)
****************************************************************
.. currentmodule:: plasmapy.formulary.relativity
.. automodapi:: plasmapy.formulary.relativity
| {
"content_hash": "b352bfca855194e5e18e5124919d2ecc",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 64,
"avg_line_length": 33.44444444444444,
"alnum_prop": 0.4485049833887043,
"repo_name": "StanczakDominik/PlasmaPy",
"id": "0ea5df3b631ce852af482bfff96d197734fa3c9c",
"size"... |
#ifndef OVR_Recording_h
#define OVR_Recording_h
namespace OVR { namespace Recording {
enum RecordingMode
{
RecordingOff = 0x0,
RecordForPlayback = 0x1,
RecordForLogging = 0x2
};
}} // OVR::Recording
#ifdef ENABLE_RECORDING
#include "Recording/Recording_Recorder.h"
#else
// If Recording is not enable... | {
"content_hash": "1de3fa666bfea1e7259dbded99ce3b6f",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 89,
"avg_line_length": 25.491525423728813,
"alnum_prop": 0.7121010638297872,
"repo_name": "stevespiss/oculus_ros",
"id": "fc83270a2bd7e5743b7b4f5a3730ff6303401d43",
"size":... |
#pragma once
#include "core_api.h"
template <typename T> inline void SAFE_DELETE( T* & object)
{
if (object)
{
delete object;
object = nullptr;
}
}
template <typename T> inline void SAFE_DELETE( T* && object)
{
if (object) delete object;
}
template <typename Base, typename Derived>
inline void dynamicCast... | {
"content_hash": "462e5e8e1baf884307ebe71a9806ff2f",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 108,
"avg_line_length": 26.685393258426966,
"alnum_prop": 0.7322105263157894,
"repo_name": "Vaishal-shah/Envision",
"id": "27f75592f2793c03b36d1ce448acd0082440e937",
"size"... |
package com.wind.oauth.integration;
import org.springframework.beans.BeansException;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Bean;
import org.springframework.security.web.util.matcher.AntPathRequest... | {
"content_hash": "b4b3115e974102cff26169a0516b66b7",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 152,
"avg_line_length": 36.91588785046729,
"alnum_prop": 0.7255696202531645,
"repo_name": "ustcwudi/SpringBoot-Seed",
"id": "8d35f88d398c64d51bef236dd55031e9fa24068c",
"si... |
package com.zhanjiqiang.qweather.activity;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageButton;
import andr... | {
"content_hash": "c231951c89ebc156b2fa8e2e915db823",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 116,
"avg_line_length": 34.152709359605915,
"alnum_prop": 0.6000288475407471,
"repo_name": "zhanjiqiang/QWeather",
"id": "ad25e86b24f4a212c3bf6494cace0a60851e17cf",
"size"... |
def VIM::has ident
# All return values from `evaluate` are strings, and
# # "0" evaluates to true in ruby.
return VIM::evaluate("has('#{ident}')") != '0'
end
class OxnzToolkit
def initialize
end
def msg lvl = 'normal', msg
msg = '"' + msg + '"'
case lvl
when 'normal'
VIM::command "echo #{msg}"
whe... | {
"content_hash": "62ed08493e1a380890b4aad8797151a2",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 64,
"avg_line_length": 17.771428571428572,
"alnum_prop": 0.6302250803858521,
"repo_name": "zzqrjcode/dot-files",
"id": "b92243865836475c9fb4bc7203e8c65720df6598",
"size": "... |
require File.expand_path('../boot', __FILE__)
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "sprockets/railtie"
# require "rails/test_u... | {
"content_hash": "302fc52d7e88e70cc4b8208f5a769ae1",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 99,
"avg_line_length": 40.705882352941174,
"alnum_prop": 0.736271676300578,
"repo_name": "gouf/rails_speech_download_sample",
"id": "4401c9ef0e35c3ee96a24175a2265eae787f6c93"... |
package com.graphhopper.coll;
import com.carrotsearch.hppc.cursors.IntCursor;
import java.util.Iterator;
/**
* Implements the bitset interface via a hash set. It is more efficient for only a few entries.
* <p>
*
* @author Peter Karich
*/
public class GHTBitSet implements GHBitSet {
private final GHIntHashS... | {
"content_hash": "105c5d0f2aee3d26119491632e832e21",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 95,
"avg_line_length": 20.454545454545453,
"alnum_prop": 0.5841269841269842,
"repo_name": "prembasumatary/graphhopper",
"id": "56d4bcf82ca4dfad3aed37e31723349f1f68beb1",
"s... |
/*********************************************************************/
/* Copyright (c) 2011 - 2012, The University of Texas at Austin. */
/* All rights reserved. */
/* */
/* Redistribution and use in sou... | {
"content_hash": "c76aaca905c2b6e987ed09b7dba24dca",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 117,
"avg_line_length": 30.976190476190474,
"alnum_prop": 0.6119331283627979,
"repo_name": "shuaibarshad/KAUST-DisplayCluster",
"id": "ce1d2996af424ed8c7a5e94f06328ec431a961... |
use std::fmt::Debug;
use std::f64::consts::PI;
pub trait ActivationFunction: Clone + Debug + Send + Sized + PartialEq + Eq {
fn formula_gnuplot(&self, x: String) -> String;
fn name(&self) -> String;
fn calculate(&self, x: f64) -> f64;
}
#[inline(always)]
fn bipolar_debug_check(x: f64) -> f64 {
debug_a... | {
"content_hash": "44bf4ed49918647f42067104260c7f64",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 95,
"avg_line_length": 33.088235294117645,
"alnum_prop": 0.5898666666666667,
"repo_name": "mneumann/cppn-rs",
"id": "98c6c682b3171c4ce42cff22190e869080f3d76d",
"size": "56... |
export { default } from './RadioButton.js';
| {
"content_hash": "d4aab4fd477e574082d4996cdebdeea0",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 43,
"avg_line_length": 44,
"alnum_prop": 0.6818181818181818,
"repo_name": "wix/wix-style-react",
"id": "f0fc8d2503d96a6ea39851a8d31d1a2e99daf450",
"size": "44",
"binary": ... |
package org.apache.hadoop.yarn.client.api.impl;
import com.google.common.annotations.VisibleForTesting;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.classification.InterfaceAudience.Private;
import org.apache.hadoop.classification.InterfaceStability.Un... | {
"content_hash": "ebbac4180c7ff8ae11c9822424e59e21",
"timestamp": "",
"source": "github",
"line_count": 552,
"max_line_length": 94,
"avg_line_length": 37.8731884057971,
"alnum_prop": 0.7369654644599637,
"repo_name": "srijeyanthan/hops",
"id": "d9c9d467c2bdd90367335caa95c7a8c13864d9ea",
"size": "217... |
FROM balenalib/photon-xavier-nx-debian:sid-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVi... | {
"content_hash": "9498d7f8ae828ea3752302cdb78db7c2",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 708,
"avg_line_length": 50.873684210526314,
"alnum_prop": 0.7032898820608318,
"repo_name": "resin-io-library/base-images",
"id": "e298bca115bc34d91a76b40f0f78ac31f2a47d9d",
... |
package net.sourceforge.thegreymenstool.dao;
import net.sourceforge.thegreymenstool.domain.ActivityType;
import net.sourceforge.thegreymenstool.domain.Project;
/**
* Data access object for {@link Project} related access.
*
* @author bruelle
*
*/
public interface ActivityTypeDao extends NamedObjectDao... | {
"content_hash": "b8e7b59269d0dffb2440bc83dd510bef",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 70,
"avg_line_length": 26.153846153846153,
"alnum_prop": 0.7617647058823529,
"repo_name": "bruelle/greymenstool",
"id": "53b491a63a8ac53c1930c29d1b0e6574d5f64b14",
"size": ... |
An Android library that scans for Bluetooth Low Energy beacons, parses them into known entities, and provides interfaces to them to the application. It can recognize the following beacon formats:
- Eddystone: URL, UID, EID, Telemetry, encrypted TLM
- iBeacon, AltBeacon
- Estimote Nearable
- URIBeacon
- any other generi... | {
"content_hash": "9af539cc8fa44cc65bfcc72fac907060",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 351,
"avg_line_length": 82.59375,
"alnum_prop": 0.7807415815361332,
"repo_name": "Codefy/onebeacon-android",
"id": "46888c679f47a06756a2d3ce7347007d4ea2a812",
"size": "5328... |
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var util_1 = require("@firebase/util");
var Repo_1 = require("./Repo");
var util_2 = require("./util/util");
var parser_1 = require("./util/libs/parser");
var validation_1 = require("./util/validation");
require("./Repo_transaction");
/** @co... | {
"content_hash": "5179457fc926bcbfd7d4364a7a9e227b",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 148,
"avg_line_length": 36.94117647058823,
"alnum_prop": 0.5925841674249318,
"repo_name": "aggiedefenders/aggiedefenders.github.io",
"id": "33190e73cabc4ab3978b5cb04ae0f37dd... |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/netlink.h>
#include <linux/jhash.h>
#include <linux/netfilter.h>
#include <linux/netfilter/nf_tables.h>
#include <net/netfilter/nf_tables.h>
#include <net/netfilter/nf_queue.h>
static u32 jhash_initval __read_mostly;
struct ... | {
"content_hash": "efbbf56cb48f525e35a68a5697bebc8e",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 75,
"avg_line_length": 24.70731707317073,
"alnum_prop": 0.6683119447186574,
"repo_name": "publicloudapp/csrutil",
"id": "96805d21d618b7be7f0b802e4738d4d2afa6de7f",
"size":... |
# This will single-thread multiple runs of randomized configuration files of Societies
# on the supercomputer cluster.
#
# Last revised: BRH 08.06.2018
# (note: check out this link for picky rules about math and variables in bash shell scripts:
# http://faculty.salina.k-state.edu/tim/unix_sg/bash/math.html)
cd ~/Soci... | {
"content_hash": "854095d9171d43ca6290f7f0469e0ec7",
"timestamp": "",
"source": "github",
"line_count": 299,
"max_line_length": 132,
"avg_line_length": 38.99665551839465,
"alnum_prop": 0.5606346483704975,
"repo_name": "bhaney22/SocietiesABM",
"id": "6d66fa40358a0a181b0b2f7dede2d0303d735fb3",
"size"... |
package org.waveprotocol.wave.examples.fedone.persistence;
import com.google.inject.AbstractModule;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.google.inject.name.Named;
import org.waveprotocol.wave.crypto.CertPathStore;
import org.waveprotocol.wave.examples.fedone.persistence.me... | {
"content_hash": "f76d28d12a112a3ea7b636e24ff35f29",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 97,
"avg_line_length": 31.564705882352943,
"alnum_prop": 0.7316436824450242,
"repo_name": "jkatzer/jkatzer-wave",
"id": "7bf4922fad4ae089ee7581172a62f17195423122",
"size": ... |
#pragma once
#include <aws/workmail/WorkMail_EXPORTS.h>
#include <aws/workmail/WorkMailRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace WorkMail
{
namespace Model
{
/**
*/
class AWS_WORKMAIL_API ListMobileDeviceAccessRulesRequest : public WorkMailReque... | {
"content_hash": "0f801438fce2e04f5253a903b4fe8723",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 140,
"avg_line_length": 34.48780487804878,
"alnum_prop": 0.71004243281471,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "6be15462e33a6ca81d2a26582d763902afb1db1c",
"size": "29... |
<rss>
<item>
<title>queen latifah bonds with dolly parton over breasts</title>
<link>
http://rssfeeds.usatoday.com/~r/usatoday-lifetopstories/~3/7mn2ddit92c/1
</link>
<pubDate>24 May 2011 22:01:00 +0000</pubDate>
<category>
<![CDATA[ entertainment ]]>
</category>
<description>
<](https://travis-ci.org/wangchongjie/multi-task)
[](https://coveralls.io/github/wangchongjie/multi-task?branch=master)
[;
SelectBuilder add(List<Func> selections);
List<Func> build();
}
| {
"content_hash": "98f0bdf78845f27be384189484274e6c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 45,
"avg_line_length": 16.941176470588236,
"alnum_prop": 0.7152777777777778,
"repo_name": "codefacts/elasta",
"id": "b0a4f4748ab04ca090d25b2f20f2d4b58590af40",
"size": "288... |
$packagesDir = "$PSScriptRoot\packages"
$nuget_exe = "$PSScriptRoot\NuGet.exe"
function Get-LatestPackageFolder ([string]$package) {
Get-ChildItem "$packagesDir\$package.*" | Select-Object -Last 1
}
# Find or download nuget.exe
if (-not (Test-Path $nuget_exe)) {
Write-Host "Downloading Nuget.exe"
(new-objec... | {
"content_hash": "12e601c40d73a0a3cf377065f214a36f",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 97,
"avg_line_length": 30.703703703703702,
"alnum_prop": 0.7273823884197829,
"repo_name": "andlju/hyperspec",
"id": "0578f3102ec1d2241a171967aca591abf06288b7",
"size": "830... |
<!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": "aaea74f2aeb977a7507b2fbe8d956243",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 598,
"avg_line_length": 67.76303317535545,
"alnum_prop": 0.7085606378514477,
"repo_name": "kkuhrman/AblePolecat",
"id": "bde0969e4d4f1ed7d491125b7c2c6da45e382243",
"size":... |
package models
type Geolocation struct {
IPAddress string `json:"ipaddress"`
City string `json:"city"`
Country string `json:"country"`
Latitude float64 `json:"latitude"`
Longitude float64 `json:"longitude"`
}
| {
"content_hash": "9dadf536ba7a6bf1c942764fd7f6576c",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 37,
"avg_line_length": 25.11111111111111,
"alnum_prop": 0.7079646017699115,
"repo_name": "zulhilmizainuddin/geoip-webservice",
"id": "340cfeee9b102169c51121ec88f368e0bca5a8fd"... |
<!-- This file is generated automatically. Do not change its content. -->
The BarChart control enables you to render a bar chart from one or more series of values. | {
"content_hash": "f3577d3bdb63b4f37f40a3008a463091",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 91,
"avg_line_length": 82.5,
"alnum_prop": 0.7575757575757576,
"repo_name": "DevExpress/AjaxControlToolkit",
"id": "a0be7229f838378993b5d94fbf915121dd6d432c",
"size": "165",... |
from __future__ import unicode_literals
import sys
from PySide import QtGui
from PySide import QtCore
class Ejemplo11(QtGui.QWidget):
def __init__(self):
super(Ejemplo11, self).__init__()
self.WidgetsParte2_4()
def WidgetsParte2_4(self):
self.boton = QtGui.QPushButton('Abrir imagen')... | {
"content_hash": "b353953d9eeeea6e5614535c228344f8",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 69,
"avg_line_length": 31.93617021276596,
"alnum_prop": 0.6295802798134577,
"repo_name": "DoctorMalboro/CharlaPySidePyDayLujan2014",
"id": "798059fad1cc20011719935fe431a61385... |
#include "config.h"
#include "WebKitCSSArrayFunctionValue.h"
#if ENABLE(CSS_SHADERS)
namespace WebCore {
WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue()
: CSSValueList(WebKitCSSArrayFunctionValueClass, CommaSeparator)
{
}
WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue(const WebKitCSSArray... | {
"content_hash": "1638c2440facf0ba94e5111d6e67098d",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 102,
"avg_line_length": 22.91891891891892,
"alnum_prop": 0.7936320754716981,
"repo_name": "klim-iv/phantomjs-qt5",
"id": "813016913de8120df3c1bf995c7c81d55de0b69f",
"size":... |
local class = require('opus.class')
local UI = require('opus.ui')
local Util = require('opus.util')
UI.Text = class(UI.Window)
UI.Text.defaults = {
UIElement = 'Text',
value = '',
height = 1,
}
function UI.Text:layout()
if not self.width and not self.ex then
self.width = #tostring(self.value)
end
UI.Window... | {
"content_hash": "a792d3eb8d2791186fb200e47a8a9b5e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 68,
"avg_line_length": 21.8,
"alnum_prop": 0.6857798165137615,
"repo_name": "kepler155c/opus",
"id": "5bf379921d8c4b8a2eae8adb868a55cefc1477cc",
"size": "436",
"binary": ... |
package org.duracloud.common.annotation;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import org.apache.commons.beanutils.BeanUtils;
/**
* @author "Daniel Bernstein (dbernstein@durspace.org)"
*/
public class FieldMatchValidator
implements ConstraintValidator... | {
"content_hash": "e2da5838919342c54c3dc4ded12275a4",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 102,
"avg_line_length": 33.27272727272727,
"alnum_prop": 0.6700819672131147,
"repo_name": "duracloud/management-console",
"id": "6b5175a69836fb258211af43b30ea2f26333a15d",
... |
<!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_05) on Thu Nov 12 23:45:52 CET 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface o... | {
"content_hash": "26d7a614a7686e46cef8a08290c74a15",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 612,
"avg_line_length": 51.11176470588235,
"alnum_prop": 0.6960524801473127,
"repo_name": "osmdroid/OsmdroidXamarin",
"id": "4319293792e449d73f61fc587a880dc12a7a1667",
"si... |
<?php
namespace app\modules\shop\models;
use Yii;
use yii\behaviors\TimestampBehavior;
/**
* This is the model class for table "{{%inventory_storage_rel}}".
*
* @property integer $id
* @property integer $storage_id
* @property integer $goods_id
* @property integer $sku_id
* @property integer $total
* @propert... | {
"content_hash": "98de2c6b8ba5784c1e632b1ae8a2f86d",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 95,
"avg_line_length": 21.90909090909091,
"alnum_prop": 0.4927385892116183,
"repo_name": "cboy868/lion",
"id": "6a4ea7b347569f572bc001de7f23e03e5252b3e7",
"size": "1988",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Wed Mar 18 19:43:01 PDT 2015 -->
<title>PollServiceGrpc.PollServiceFutureStub (grpc-examples 0.1.0-SNAPSHOT API)</title>
<meta n... | {
"content_hash": "c7eda6db95835b52c4374b8def883cbf",
"timestamp": "",
"source": "github",
"line_count": 294,
"max_line_length": 442,
"avg_line_length": 44.8469387755102,
"alnum_prop": 0.6784224497535077,
"repo_name": "nivedhithaVenkatachalam/grpc-java",
"id": "a86edb59f04227629bd6dc1643b97b5b0e3c24eb... |
using System;
using System.Collections.Generic;
using XenAdmin.Core;
using XenAdmin.Dialogs;
using XenAPI;
using XenAdmin.Controls;
using XenAdmin.Actions;
using XenAdmin.SettingsPanels;
using System.Drawing;
namespace XenAdmin.Wizards.NewVMWizard
{
public partial class Page_CloudConfigParameters : XenTabPage,... | {
"content_hash": "064d3614bba463d15d2591da7e8a6a33",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 161,
"avg_line_length": 33.300448430493276,
"alnum_prop": 0.5892809049286292,
"repo_name": "robhoes/xenadmin",
"id": "948f8b1e0a08c48b3f6c4861b0919c2d9779814d",
"size": "8... |
package io.awacs.component.org.jetbrains.java.decompiler.code.optinstructions;
import io.awacs.component.org.jetbrains.java.decompiler.code.JumpInstruction;
import java.io.DataOutputStream;
import java.io.IOException;
public class GOTO_W extends JumpInstruction {
public void writeToStream(DataOutputStream out, i... | {
"content_hash": "52ccc7c698c1112ff57861a164332113",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 82,
"avg_line_length": 24.473684210526315,
"alnum_prop": 0.7655913978494624,
"repo_name": "ArcherFeel/AWACS",
"id": "345a10d523891007346ebdf679882b5bfdd73d59",
"size": "106... |
package org.apache.geode.internal.logging;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
/**
* Defines the common date format for GemFire and provides DateFormat instances.
*
*/
public class DateFormatter {
/**
* The format string used to format the timestamp of GemF... | {
"content_hash": "6dce31c24079f9932eb496e8c7591661",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 98,
"avg_line_length": 26.371794871794872,
"alnum_prop": 0.6689353427321342,
"repo_name": "deepakddixit/incubator-geode",
"id": "6df52faf301f92f4c8d2cffe51441da3d8bee3e9",
... |
#include "clientmodel.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "transactiontablemodel.h"
#include "main.h"
#include "init.h" // for pwalletMain
#include "ui_interface.h"
#include <QDateTime>
#include <QTimer>
static const int64 nClientStartupTime = GetTime();
Cl... | {
"content_hash": "1e57bcf5e87c2b26daa0ba1912a88fe9",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 115,
"avg_line_length": 26.53529411764706,
"alnum_prop": 0.7098204389270671,
"repo_name": "Aphrodite-coin/Aphrodite-coin",
"id": "a444d1d6e79cf34618837efb3463388aee2e2806",
... |
<?php
namespace Symfony\Component\Serializer\Tests\Fixtures;
final class AbstractDummyThirdChild extends AbstractDummyFirstChild
{
}
| {
"content_hash": "d17298aa3ed982c63bb67a368c3bc010",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 67,
"avg_line_length": 15.222222222222221,
"alnum_prop": 0.8321167883211679,
"repo_name": "lyrixx/symfony",
"id": "3701e8c3f3bed00fddf4d9ef4ba923cb52e6bb4d",
"size": "366",
... |
cask "deskreen" do
version "2.0.4"
sha256 "43b9a49d0ff70211a88cfd23bf660dac9f3609063dde3ccf6d07f5307050e443"
url "https://github.com/pavlobu/deskreen/releases/download/v#{version}/Deskreen-#{version}.dmg",
verified: "https://github.com/pavlobu/deskreen/"
name "Deskreen"
desc "Turns any device with a we... | {
"content_hash": "213357e8df8c9a9fd3143fe93c70859f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 98,
"avg_line_length": 29.375,
"alnum_prop": 0.7205673758865249,
"repo_name": "chrisfinazzo/homebrew-cask",
"id": "021a2148dc34efe81919ad155b39dcde68faee65",
"size": "705",... |
'''
SPDX-License-Identifier: Apache-2.0
Copyright 2017 Massachusetts Institute of Technology.
'''
import traceback
import sys
import functools
import asyncio
import simplejson as json
from sqlalchemy.exc import SQLAlchemyError
from sqlalchemy.orm.exc import NoResultFound
import tornado.ioloop
import tornado.web
from... | {
"content_hash": "7c5f3a581c61338faa9b12797e66b7cf",
"timestamp": "",
"source": "github",
"line_count": 1006,
"max_line_length": 174,
"avg_line_length": 41.35487077534791,
"alnum_prop": 0.5814484532365455,
"repo_name": "mit-ll/python-keylime",
"id": "cfcb59f556094b20442dbc68eda467acad8028cf",
"size... |
import os
import setuptools
VERSION = '0.1.1'
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setuptools.setup(
name='pyglib',
author='Benjamin Staffin',
author_email='benley@gmail.com',
url='https://github.com/benley/pyglib',
install_requires=[
'python-gflags'... | {
"content_hash": "3d1fd1ab3db07978603657e1fcb09315",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 75,
"avg_line_length": 27.129032258064516,
"alnum_prop": 0.6076099881093936,
"repo_name": "benley/pyglib",
"id": "43cb28b47c5faf4602af4057e03636bafa1ffbb9",
"size": "864",
... |
"""
Note: Django 1.4 support was dropped in #107
https://github.com/pydanny/dj-stripe/pull/107
"""
from django.contrib import admin
from .models import Event, EventProcessingException, Transfer, Charge#, Plan
from .models import Invoice, InvoiceItem, CurrentSubscription, Customer
class CustomerHasCardListFi... | {
"content_hash": "a230291a54f32fba6c0b35b48725504c",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 77,
"avg_line_length": 23.23859649122807,
"alnum_prop": 0.5582062509436811,
"repo_name": "rawjam/dj-stripe",
"id": "fbedf2d89b79450e7ba0ed8e37ee0b81065db280",
"size": "664... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.