text stringlengths 2 1.04M | meta dict |
|---|---|
package com.armannds.eldgos.katla.popularmovies.ui.detail;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerVie... | {
"content_hash": "89e897930a3d604e0da47ee60f599de8",
"timestamp": "",
"source": "github",
"line_count": 198,
"max_line_length": 124,
"avg_line_length": 35.08585858585859,
"alnum_prop": 0.6877788973657694,
"repo_name": "armannds/eldgos-katla",
"id": "af5a4a446466c04eaf13a675ae8d40c6c37cc9a9",
"size"... |
textarea {
font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}
.footer {
clear: both;
position: relative;
height: 1em;
margin-top: 3em;
color: #666;
text-align: center;
padding: 1em;
font-size: 80%;
}
html,... | {
"content_hash": "d5345eb6d01720e40243bc5e570fe9d4",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 128,
"avg_line_length": 47.97894736842105,
"alnum_prop": 0.6502852128126371,
"repo_name": "zifnab06/zifb.in",
"id": "b1eba238d49d5672cf770d4be261741191b4827a",
"size": "455... |
<?php
namespace Pulsestorm\Magento2\Cli\Generate\Di;
use function Pulsestorm\Pestle\Importer\pestle_import;
pestle_import('Pulsestorm\Pestle\Library\input');
pestle_import('Pulsestorm\Pestle\Library\output');
pestle_import('Pulsestorm\Magento2\Cli\Library\getDiLinesFromMage2ClassName');
pestle_import('Pulsestorm\Cli\To... | {
"content_hash": "2ab057ac824836d903be0ac02110fdfa",
"timestamp": "",
"source": "github",
"line_count": 251,
"max_line_length": 117,
"avg_line_length": 30.203187250996017,
"alnum_prop": 0.5255243371586862,
"repo_name": "astorm/pestle",
"id": "5ea86fa652ee4e03cc7f46f39baba22ed6ca1dbd",
"size": "7581... |
<?php
defined('IN_IA') or exit('Access Denied');
$where = '';
$starttime = empty($_GPC['starttime']) ? strtotime(date('Y-m-d')) : strtotime($_GPC['starttime']);
$endtime = empty($_GPC['endtime']) ? TIMESTAMP : strtotime($_GPC['endtime']) + 86399;
$where .= " AND createtime >= '$starttime' AND createtime < '$endtime... | {
"content_hash": "a4a14d8886a5aaf361347c62f9f94155",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 243,
"avg_line_length": 44.125,
"alnum_prop": 0.5878186968838527,
"repo_name": "royalwang/saivi",
"id": "fc61c6fd18723bb9e9ca25bcd891a4991fe8768f",
"size": "2210",
"binar... |
import pytz
from datetime import datetime, timedelta
from django.db.models.signals import post_save
from django.contrib.auth.models import Group, Permission
from django.core.urlresolvers import reverse
from django.shortcuts import redirect
from django.test.client import Client, RequestFactory
from django.utils.timezon... | {
"content_hash": "695ca9ed42aa73378ae5ad493ba90d3b",
"timestamp": "",
"source": "github",
"line_count": 548,
"max_line_length": 97,
"avg_line_length": 49.32664233576642,
"alnum_prop": 0.5802227072620325,
"repo_name": "mozilla/remo",
"id": "c73ca19739c95a2bfd1052ffc2221684c61d4673",
"size": "27031",... |
package org.uiautomation.ios.server.command;
import org.openqa.selenium.remote.Response;
import org.uiautomation.ios.server.IOSServerManager;
public abstract class PostHandleDecorator extends HandlerDecorator {
public PostHandleDecorator(IOSServerManager driver) {
super(driver);
}
public abstract void de... | {
"content_hash": "3c2daeb0863ad7ed0430ef580dc7ced1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 68,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.8057142857142857,
"repo_name": "shutkou/ios-driver",
"id": "7f32228fb13833a0786618b7686de277dd43d8d4",
"size": "9... |
require "pathname"
module Geonames
module Data
class Feature
def self.field(name)
@fields ||= []
index = @fields.size
@fields << name
if block_given?
define_method name do
yield(@data[index])
end
else
define_method name do
... | {
"content_hash": "3c67b25acd445f55892693a5c67d4f16",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 71,
"avg_line_length": 24.25862068965517,
"alnum_prop": 0.5245202558635395,
"repo_name": "johncarney/geonames-data",
"id": "6c9469b4e0fb1ffd256e7c080959646b874f539d",
"size... |
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Field, reduxForm } from 'redux-form';
import { CardText } from 'material-ui/Card';
import IconButton from 'material-ui/IconButton';
import ActionHide from 'material-ui/svg-icons/action/highlight-off';
import compose from 'recompose/c... | {
"content_hash": "bafd160435e9524f371946f3e8697e01",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 135,
"avg_line_length": 37.61290322580645,
"alnum_prop": 0.5134362492853058,
"repo_name": "matteolc/admin-on-rest",
"id": "65be12cd2099ad2ded54f360d86f6e932313c8fb",
"size"... |
title: "UART HWIP Technical Specification"
---
# Overview
This document specifies UART hardware IP functionality. This module
conforms to the
[Comportable guideline for peripheral functionality.](/doc/rm/comportability_specification)
See that document for integration overview within the broader
top level system.
##... | {
"content_hash": "4170c01ff2fccfda207f5e3c7ee7347f",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 218,
"avg_line_length": 40.30406852248394,
"alnum_prop": 0.6903092126235256,
"repo_name": "alainmarcel/Surelog",
"id": "f510739eeb0ab0487fe574be1e922e8131a60197",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fram... | {
"content_hash": "01fe84aa2219741b2df7fa27d5b08188",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 317,
"avg_line_length": 43.44918032786885,
"alnum_prop": 0.5645940235436161,
"repo_name": "fiahil/Zappy",
"id": "965bfc9607c10c1ab53f0d901d89fbb9a69c1015",
"size": "13252"... |
package org.apache.oodt.cas.filemgr.browser.view.panels;
import org.apache.oodt.cas.filemgr.browser.controller.TableListener;
import java.awt.*;
import java.util.Vector;
import javax.swing.*;
import javax.swing.border.LineBorder;
public class TablePane extends JPanel{
public Vector<Integer> hiddenCols;
publ... | {
"content_hash": "a88392b804760a8ef609712956829221",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 68,
"avg_line_length": 21.266666666666666,
"alnum_prop": 0.632183908045977,
"repo_name": "lewismc/oodt",
"id": "3c06a602312a1715b6c7d955ebe25108b5235d4e",
"size": "3673",
... |
require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your applica... | {
"content_hash": "e6a2d12daeceed172c7aa0208e96fd68",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 100,
"avg_line_length": 43.018181818181816,
"alnum_prop": 0.7104818258664413,
"repo_name": "ledermann/docker-rails",
"id": "1dd6bf0cc07e33f320d90d741a224b579f64227d",
"siz... |
The default middleware validates incoming `Content-Type` and `Accept` HTTP headers.
Based on routing configuration, it fills `IJsonApiRequest`, an injectable object that contains JSON:API-related information about the request being processed.
It is possible to replace the built-in middleware components by configuring ... | {
"content_hash": "6af0865a91f9286d53a4fc44b1817cea",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 158,
"avg_line_length": 33.886792452830186,
"alnum_prop": 0.7193763919821826,
"repo_name": "Research-Institute/json-api-dotnet-core",
"id": "9be350250aa38ae963e6c5689f286532d... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.11
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* -----------------------------... | {
"content_hash": "0b428d1443faa8ec254ccbf1eebe944b",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 121,
"avg_line_length": 35.5,
"alnum_prop": 0.7433978873239436,
"repo_name": "libgdx/libgdx",
"id": "dd06b830bbfa953dafc742a1c8f5d3660d417c38",
"size": "4544",
"binary":... |
package ca.corefacility.bioinformatics.irida.repositories.assembly;
import ca.corefacility.bioinformatics.irida.model.assembly.GenomeAssembly;
import ca.corefacility.bioinformatics.irida.model.assembly.UploadedAssembly;
import ca.corefacility.bioinformatics.irida.repositories.IridaJpaRepository;
import ca.corefacility... | {
"content_hash": "d6dd3523e64e7d3ad086cf4d6e83808a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 112,
"avg_line_length": 41.45,
"alnum_prop": 0.8262967430639324,
"repo_name": "phac-nml/irida",
"id": "da976d8454499d5d848ca29af0b42cefdf667f18",
"size": "829",
"binary":... |
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
"""
Verify that we have proper strings like Copyright notices on all the
right files in our distributions.
Note that this is a source file and packaging test, not a functional test,
so the name of this script doesn't end in *Tests.py.
"""
import fnmatch
i... | {
"content_hash": "3bb98bced34cd572121d17a16ddff1b1",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 83,
"avg_line_length": 28.59504132231405,
"alnum_prop": 0.5332369942196532,
"repo_name": "andrewyoung1991/scons",
"id": "3288d5f62b7b74d0b65ad04f3a318c57a6448cb2",
"size":... |
export function initialize(/* application */) {
}
export default {
initialize
};
| {
"content_hash": "214dc83d13c0d9e3879cd97966aae1b8",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 47,
"avg_line_length": 14,
"alnum_prop": 0.6904761904761905,
"repo_name": "knownasilya/ember.js",
"id": "f3083e3831aba908cc79c9aaba0aa2bb40a8fd06",
"size": "84",
"binary":... |
using System.Collections.Generic;
using PhotoLife.Models;
using PhotoLife.Models.Enums;
namespace PhotoLife.Services.Contracts
{
public interface IPostService
{
Post GetPostById(int id);
IEnumerable<Post> GetAll();
IEnumerable<Post> GetTopPosts(int topCount);
IEnumerable<Post> ... | {
"content_hash": "6a2acd1f6c7d5e2cbc97ee5f34a5c806",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 118,
"avg_line_length": 36.76470588235294,
"alnum_prop": 0.728,
"repo_name": "Branimir123/PhotoLife",
"id": "c9353c37a79d37540ac6ceae840708e4b65c4f3a",
"size": "627",
"bi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using AllReady.Areas.Admin.Controllers;
using AllReady.Areas.Admin.Features.Events;
using AllReady.Areas.Admin.Features.Itineraries;
using AllReady.Areas.Admin.Features.Organizations;
... | {
"content_hash": "69679748da26c4cf7a3f1e1c220a3adb",
"timestamp": "",
"source": "github",
"line_count": 1642,
"max_line_length": 289,
"avg_line_length": 44.46467722289891,
"alnum_prop": 0.6158661023681363,
"repo_name": "forestcheng/allReady",
"id": "a9e3834e89faa243d50f410ef54c4b4fbc759d20",
"size"... |
#ifndef __USE_APP_PLATFORM_H__
#define __USE_APP_PLATFORM_H__
/*============================ INCLUDES ======================================*/
#include ".\app_cfg.h"
#include <stdio.h>
#include <ARMCM4_FP.h>
#include ".\stdout_USART.h"
/*============================ MACROS =======================================... | {
"content_hash": "c3d49ebb787ac798356bb675d8dc1a8d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 85,
"avg_line_length": 29.416666666666668,
"alnum_prop": 0.3890462700661001,
"repo_name": "GorgonMeducer/Generic_MCU_Software_Infrastructure",
"id": "3bb69187933debee94616852... |
using Windows.UI;
using Neuronia.Core.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using Neuronia.Core.Tweets;
using Windows.UI.Xaml.Media;
using Neuronia.Hub.Common;
using Neuronia.Hub.Data;
namespace N... | {
"content_hash": "ac9c626c429e7ceece748c0659285a44",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 127,
"avg_line_length": 26.294117647058822,
"alnum_prop": 0.6134228187919463,
"repo_name": "garicchi/Neuronia",
"id": "82799819d632b9206107bad7c570c09c1e7fa4b9",
"size": "2... |
<manifest package="com.mridang.bluetooth"
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="13"
android:versionName="1.3">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
... | {
"content_hash": "5215b4f24bb1be7f0d0ab99305f957c4",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 98,
"avg_line_length": 38.45454545454545,
"alnum_prop": 0.6004728132387707,
"repo_name": "mridang/dashclock-bluetooth",
"id": "95822e390c7c9fb086f61ae5cf9672ac8de8766c",
"s... |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE OverloadedStrings #-}
-- | Handy path information.
module Stack.Path
( path
, pathParser
) where
import Control.Monad.Catch
import Control.Monad.Logger
import Control.Monad.Reader
import Control.Monad.Trans.Control
impo... | {
"content_hash": "bdb660386b6dca9cdf1a30832828421f",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 121,
"avg_line_length": 41.041666666666664,
"alnum_prop": 0.5969543147208122,
"repo_name": "AndreasPK/stack",
"id": "2c387ea62d1ad635231a85b205b8eceebb6d13f9",
"size": "88... |
namespace Microsoft.Web.Mvc {
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq.Expressions;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using System.Web.Routing;
using Microsoft.Web.Mvc.Internal;
public static class ExpressionInputE... | {
"content_hash": "2a12c46b3ef4fa32a4ec26ae6e2e6cfb",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 274,
"avg_line_length": 71.14876033057851,
"alnum_prop": 0.7278429550470438,
"repo_name": "amshen/Samples",
"id": "d2062c7354b40a30b55319ed69837312b5935a7f",
"size": "8611... |
<!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": "7beb308e95a584d65b7cf26902f39203",
"timestamp": "",
"source": "github",
"line_count": 199,
"max_line_length": 550,
"avg_line_length": 79.38190954773869,
"alnum_prop": 0.6455023105652972,
"repo_name": "hz37/sfx",
"id": "8cea14c7e7063f5f1b0faea506d09f5500a8c4b9",
"size": "16931",
... |
<!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_151) on Wed Jul 17 09:40:07 MST 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Interface org.wildf... | {
"content_hash": "341ad819bc61b22aba34d18544cda8b8",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 747,
"avg_line_length": 64.2135922330097,
"alnum_prop": 0.6778046567886302,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "b9b177097160bad6e54d01f537b661c23791d... |
using namespace snowcrash;
using namespace snowcrashtest;
const mdp::ByteBuffer ValuesFixture
= "+ Values\n"
" + `1234`\n"
" + `0000`\n"
" + `beef`\n"
"";
TEST_CASE("Recognize values signature", "[values]")
{
mdp::MarkdownParser markdownParser;
mdp::MarkdownNode markdownAS... | {
"content_hash": "2e50a904389373019aa30164b883b048",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 118,
"avg_line_length": 33.7710843373494,
"alnum_prop": 0.6667855868712094,
"repo_name": "apiaryio/snowcrash",
"id": "20ced6a15ef24a8bf2ed49900b8122ab5ea331f2",
"size": "30... |
import gc
from ilastik.gui.ribbons.ilastikTabBase import IlastikTabBase, TabButton
from ilastik.core.dataMgr import PropertyMgr
from ilastik.gui.overlayWidget import OverlayWidget
from ilastik.gui.iconMgr import ilastikIcons
from ilastik.modules.classification.gui.guiThreads import *
from ilastik.modules.classific... | {
"content_hash": "81b35b76b28d951ffd2edbae58544db5",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 237,
"avg_line_length": 48.06535947712418,
"alnum_prop": 0.6694316018493337,
"repo_name": "ilastik/ilastik-0.5",
"id": "7fed66f036770172b521879e8c6f0bd3782bbe1d",
"size": ... |
#region Copyright
// <copyright file="IHasTabs.cs">
// Copyright (c) 2013-2015, Justin Kadrovach, All rights reserved.
//
// This source is subject to the Simplified BSD License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATIO... | {
"content_hash": "1e7d009e3b1137566f216eef658766bb",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 77,
"avg_line_length": 28.291666666666668,
"alnum_prop": 0.6877761413843888,
"repo_name": "WreckedAvent/slimCat",
"id": "b9c28eba9eddcf38586755d4892ec1f374a9ff07",
"size": ... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Rhabdospora tomispora Berl.
### Remarks
null | {
"content_hash": "40edecbfa2e92e41165936cdd91b2991",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 27,
"avg_line_length": 10.153846153846153,
"alnum_prop": 0.7121212121212122,
"repo_name": "mdoering/backbone",
"id": "ededaa3e4126df91a76a761271062437a2169b4a",
"size": "18... |
/* 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/. */
'use strict';
module.metadata = {
'stability': 'unstable'
};
const { Cc, Ci } = require('chrome');
const array ... | {
"content_hash": "aebf6b3a682a538989c8d92db54262ec",
"timestamp": "",
"source": "github",
"line_count": 427,
"max_line_length": 88,
"avg_line_length": 30.206088992974237,
"alnum_prop": 0.7121259109939525,
"repo_name": "willium/browser-extension",
"id": "e522648579ff700511eb3982fe26b94c19ee3b34",
"s... |
package org.primefaces.adamantium.view.data.treetable;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.ViewScoped;
import org.primefaces.adamantium.service.DocumentService;
import org.primefaces.m... | {
"content_hash": "197c76e223814b70cf29b30801438ffa",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 68,
"avg_line_length": 24.862745098039216,
"alnum_prop": 0.695583596214511,
"repo_name": "salviof/SuperBits_FrameWork",
"id": "fcff9bd443a45a7740fdec2624cd1bb33c350657",
"s... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c82e2d0d6c5623c13722d8d084178062",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 8.384615384615385,
"alnum_prop": 0.6788990825688074,
"repo_name": "mdoering/backbone",
"id": "47a14d3ce713d507f75c9fdee53220793107271c",
"size": "160... |
int resize_gif(char *out, char *file, int tw, int th, int scale);
| {
"content_hash": "70afaab81c71b4e6a3aac185f8c85ef5",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 65,
"avg_line_length": 33.5,
"alnum_prop": 0.6716417910447762,
"repo_name": "ivanfitenko/convlite",
"id": "1552769fdd8f40b4d6732c29c96a685aa8be2ed4",
"size": "67",
"binary... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/TutoriahV2.iml" filepath="$PROJECT_DIR$/TutoriahV2.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
... | {
"content_hash": "6d06bdf9dbaba2a043425cec77b40dbe",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 102,
"avg_line_length": 39.666666666666664,
"alnum_prop": 0.6610644257703081,
"repo_name": "tonyzhang617/tutoriah",
"id": "8ef9278d7ef403960965ce8af49d0bd1f4b157ba",
"size":... |
using System.Collections.Generic;
using System.Linq;
using Ludiq.Controls.Editor;
using Ludiq.Reflection.Internal;
using UnityEditor;
using UnityEditor.Animations;
using UnityEngine;
namespace Ludiq.Reflection.Editor
{
[CustomPropertyDrawer(typeof(AnimatorParameter))]
public class AnimatorParameterDrawer : TargetedD... | {
"content_hash": "59c8ef99490b2fc594d7aa0c5e0ec2d4",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 119,
"avg_line_length": 24.261363636363637,
"alnum_prop": 0.7018735362997658,
"repo_name": "lazlo-bonin/unity-reflection",
"id": "90bbc9c7621ce925cdbd9b2c4201b3b8d14e9add",
... |
from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
from thrift.protocol import fastbinary
except:
fastbinary = None
class ErrorType(object):
NoError = 0
Server = 1
Network = 2
... | {
"content_hash": "d94bae7cf9ae4a78e2b7a5b75c1e1e97",
"timestamp": "",
"source": "github",
"line_count": 1159,
"max_line_length": 188,
"avg_line_length": 31.055220017256257,
"alnum_prop": 0.6163976328730586,
"repo_name": "longaccess/longaccess-client",
"id": "f6efefd88528bc58ae1549a966d87d998f5cf16d",... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f095c5334bb2a1195a62adbafc3aa720",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "5b8a6d8c59ec0d84d185d0d0bf16bfd99c063f66",
"size": "19... |
//
// ViewController.m
// MLEmojiLabel
//
// Created by molon on 5/19/14.
// Copyright (c) 2014 molon. All rights reserved.
//
#import "ViewController.h"
#import "MLEmojiLabel.h"
@interface ViewController ()<MLEmojiLabelDelegate>
@property (nonatomic, strong) MLEmojiLabel *emojiLabel;
@property (nonatomic, stro... | {
"content_hash": "9e9473f191c2deb3a9d4431431a3f7bb",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 695,
"avg_line_length": 36.666666666666664,
"alnum_prop": 0.63125,
"repo_name": "changcunyuan/TText",
"id": "29161014fe3c48abc562cfb9f8449453579d7ee0",
"size": "5586",
"... |
$(function() {
$('body').on('click', '.page-scroll a', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
});
| {
"content_hash": "0dacdc1b43533514460e1c361e04c4d8",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 61,
"avg_line_length": 32,
"alnum_prop": 0.4965277777777778,
"repo_name": "Tunsy/tunsy.github.io",
"id": "c6778ec9183bcd882453b9ef130860c741e40f59",
"size": "288",
"binary... |
#include "pg_upgrade.h"
#include <fcntl.h>
#include "storage/bufpage.h"
#include "storage/checksum.h"
#include "storage/checksum_impl.h"
static int copy_file(const char *fromfile, const char *tofile, bool force);
#ifdef WIN32
static int win32_pghardlink(const char *src, const char *dst);
#endif
#ifdef NOT_USED
st... | {
"content_hash": "9e85ed8ee9f857a4ff2ba447621acade",
"timestamp": "",
"source": "github",
"line_count": 577,
"max_line_length": 96,
"avg_line_length": 24.09358752166378,
"alnum_prop": 0.6468134081427133,
"repo_name": "Chibin/gpdb",
"id": "3bdaa9fc8f54bb0226ed6e725573138cbce68765",
"size": "14102",
... |
import optparse
import os
import sys
from util import build_utils
from util import proguard_util
def _ParseOptions(args):
parser = optparse.OptionParser()
build_utils.AddDepfileOption(parser)
parser.add_option('--proguard-path',
help='Path to the proguard executable.')
parser.add_option('... | {
"content_hash": "10b3f9ce492e075178c018d68ff56a78",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 80,
"avg_line_length": 32.33802816901409,
"alnum_prop": 0.6890243902439024,
"repo_name": "wuhengzhi/chromium-crosswalk",
"id": "d019350a33ce56bd05c4d051f2757a99630e7c6f",
"... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace CarWorkshopCodeFirst
{
[DataContract(IsReference = true)]
public partial class EmployeeMechanic : EmployeeType
{
[DataMember]
public bool NeedsSupervison { get; set; }
}
}
| {
"content_hash": "5da966d4aa6b04ce0c20470296d27b94",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 56,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.7016393442622951,
"repo_name": "kzfabi/EntitiesToDTOs",
"id": "9931202e0683da4f28bfe46a090e323d4fc7aa53",
"size":... |
import play.api.data.FormError
import play.api.templates.PlayMagic.translate
import play.twirl.api._
import scala.collection.JavaConverters._
import scala.language.implicitConversions
package views.html.helper {
case class FieldElements(
id: String,
field: play.api.data.Field,
input: Html,
... | {
"content_hash": "8d8e69dbc13ff58609d17db9be15177f",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 117,
"avg_line_length": 35.935251798561154,
"alnum_prop": 0.5953953953953954,
"repo_name": "marcospereira/playframework",
"id": "198bb704010598bd67f172a2d19f2f82cf05a008",
... |
<?php
/* @var $loader \Composer\Autoload\ClassLoader */
$loader = require __DIR__ . "/../vendor/autoload.php";
$loader->addPsr4('Sokil\\State\\', __DIR__); | {
"content_hash": "33e34cd602f56a4a805e03e188a776ee",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 54,
"avg_line_length": 31.2,
"alnum_prop": 0.6282051282051282,
"repo_name": "sokil/php-state",
"id": "64028ebb65064a0575942b61c5a7b135cfc8ba0e",
"size": "156",
"binary": f... |
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:layout_width="fill_parent"
android:layout_height="fill_parent"
... | {
"content_hash": "b0ce0436cd9917b627828cc23c5d25ca",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 70,
"avg_line_length": 33.916666666666664,
"alnum_prop": 0.6117936117936118,
"repo_name": "scimmia/SmartDoctor",
"id": "367cd8a50016fe6c39bcdf8dccfa95305088cf81",
"size": "... |
A simple golang <a href="https://context.io" target="_blank">Context.IO</a> client library. Primarily all it does is
sign the requests made to Context.IO with your key and secret. This allows you to make requests to Context.IO endpoints and either
get an \*http.request object back for parsing, or just the json respon... | {
"content_hash": "63c372d284e8540413284b42d58cf2dd",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 131,
"avg_line_length": 79.2,
"alnum_prop": 0.7727272727272727,
"repo_name": "dmlyons/goContextIO",
"id": "44b386ae4d512ad9904f25bb85654aece23dca08",
"size": "411",
"binar... |
<?php
namespace Application\Service\Notification;
use Application\Service\EntityManagerAwareInterface;
use Application\Service\EntityManagerAwareTrait;
use Application\Entity\User;
use Application\Entity\Notification;
use Zend\EventManager\ListenerAggregateInterface;
use Zend\EventManager\ListenerAggregateTrait;
use ... | {
"content_hash": "352d1c0524036cd9993ed91707f1c061",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 95,
"avg_line_length": 24.789473684210527,
"alnum_prop": 0.7494692144373672,
"repo_name": "bit-it-krayina/free2",
"id": "18f0b6c65b15335bc685c07c57c5158b5b2076ae",
"size": ... |
"""The jewish_calendar component."""
import logging
from typing import Optional
import hdate
import voluptuous as vol
from homeassistant.const import CONF_LATITUDE, CONF_LONGITUDE, CONF_NAME
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.discovery import async_load_platform
_LOGGER =... | {
"content_hash": "4ad1a031e69b99e250397186b4c99c37",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 88,
"avg_line_length": 34.48571428571429,
"alnum_prop": 0.6174399337199669,
"repo_name": "tchellomello/home-assistant",
"id": "dfde274faa8c910d9c5631cadf398f90c958699b",
"... |
package com.planet_ink.coffee_mud.Libraries.interfaces;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;... | {
"content_hash": "6c76ed5dc55baad3a09f7cdb50d48cd5",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 71,
"avg_line_length": 25.303030303030305,
"alnum_prop": 0.6263473053892216,
"repo_name": "robjcaskey/Unofficial-Coffee-Mud-Upstream",
"id": "5b6a2e5b715c5c76168c403d779ae7eb... |
<testsuites>
<testsuite failures="0"
errors="0"
time="1.13689517974854"
tests="120"
name="01-aws4_testsuite_t">
<testcase time="0.851598024368286"
name="1 - post-x-www-form-urlencoded Canonical Request"></testcase>
<testcase time="0.00056004524... | {
"content_hash": "9bac727ddd81fc662802d0d1604ad379",
"timestamp": "",
"source": "github",
"line_count": 446,
"max_line_length": 124,
"avg_line_length": 50.847533632286996,
"alnum_prop": 0.6777052650145515,
"repo_name": "gitpan/Net-Amazon-SignatureVersion4",
"id": "e8584d002632402da356726d6fb0cf453a89... |
@font-face {
font-family: 'siteorigin-panels';
src: url('icons/siteorigin-panels.eot?-yv2c11');
src: url('icons/siteorigin-panels.eot?#iefix-yv2c11') format('embedded-opentype'), url('icons/siteorigin-panels.woff?-yv2c11') format('woff'), url('icons/siteorigin-panels.ttf?-yv2c11') format('truetype'), url('icons/s... | {
"content_hash": "0b130274997df52168eeb4c4a8899795",
"timestamp": "",
"source": "github",
"line_count": 1767,
"max_line_length": 283,
"avg_line_length": 30.97906055461234,
"alnum_prop": 0.7045853123858239,
"repo_name": "moraam/webdesign",
"id": "9ae873134372a11b7082d4275334aa8f4ee8737f",
"size": "5... |
FROM balenalib/astro-tx2-fedora:36-run
RUN dnf -y update \
&& dnf clean all \
&& dnf -y install \
gzip \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
tar \
&& dnf clean all
# set JAVA_HOME
ENV JAVA_HOME /usr/lib/jvm/java-openjdk
CMD ["echo","'No CMD command was set in Dockerfile! Details about CMD comm... | {
"content_hash": "c553e143379eda68029b13c49d0d70f0",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 673,
"avg_line_length": 58.81818181818182,
"alnum_prop": 0.7094281298299846,
"repo_name": "resin-io-library/base-images",
"id": "48441bfdb33bf1c8e4b85a5a8e7d815c2bd7db28",
... |
#import <DevToolsCore/XCDiffTextDataSource.h>
@interface XCDiffLineDataSource : XCDiffTextDataSource
{
void *_tokenStorage;
}
+ (id)diffLineDataSourceWithContentsOfFile:(id)arg1 encoding:(unsigned long long)arg2 error:(id *)arg3;
+ (void)initialize;
- (id)copyWithZone:(struct _NSZone *)arg1;
- (void)dealloc;
- ... | {
"content_hash": "4cc19cc7dec695be0af198e8df62d5f9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 103,
"avg_line_length": 25.526315789473685,
"alnum_prop": 0.7690721649484537,
"repo_name": "larsxschneider/Xcode-Scripting-Interface",
"id": "c1f495a3ad5d5446ef8bdfbb9a42a04c... |
package org.nem.core.model;
import org.junit.*;
import org.junit.experimental.runners.Enclosed;
import org.junit.runner.RunWith;
import org.nem.core.model.mosaic.*;
import org.nem.core.model.primitive.*;
import org.nem.core.test.*;
import java.util.stream.IntStream;
@RunWith(Enclosed.class)
public class TransactionF... | {
"content_hash": "79b482e65d5390b0de0db59cd8a65238",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 116,
"avg_line_length": 35.135245901639344,
"alnum_prop": 0.7121194447684591,
"repo_name": "NewEconomyMovement/nem.core",
"id": "07bb71209f4dca0d25e0fe12aaadf05ee9071345",
... |
<?php
declare(strict_types=1); // @codeCoverageIgnore
namespace Recoil\ReferenceKernel;
use SplPriorityQueue;
/**
* Please note that this code is not part of the public API. It may be
* changed or removed at any time without notice.
*
* @access private
* @final
*
* EventQueue is used to schedule events for e... | {
"content_hash": "24b9491d47ce5504a75b67bd263313d3",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 86,
"avg_line_length": 24.928571428571427,
"alnum_prop": 0.4995224450811843,
"repo_name": "recoilphp/recoil",
"id": "a1bde5318fe6efd4563407b95e54786ac923ab42",
"size": "31... |
"""
# test_fil2h5
"""
import pytest
import os
import blimpy as bl
from tests.data import voyager_fil
VOYA_DIR = os.path.dirname(voyager_fil) + "/"
def name_case(in_string, out_string):
infile = in_string
outfile = out_string
os.system("cp " + voyager_fil + " " + infile)
bl.fil2h5.make_h5_file(infil... | {
"content_hash": "4154f2bc9b4f2f04d26c9066e685752a",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 98,
"avg_line_length": 24.861538461538462,
"alnum_prop": 0.6262376237623762,
"repo_name": "UCBerkeleySETI/blimpy",
"id": "9a08710439a1966251fe6756ac42e8b1f6168954",
"size":... |
package util;
import org.bson.BsonDocument;
import org.bson.codecs.BsonDocumentCodec;
import org.bson.codecs.DecoderContext;
import org.bson.json.JsonReader;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.... | {
"content_hash": "dfa8e291299479a1ae1016e55690cb08",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 127,
"avg_line_length": 33.890625,
"alnum_prop": 0.6523743660673121,
"repo_name": "jsonking/mongo-java-driver",
"id": "a375c3a63dc6c9bc9ae99346eec6baaf33b505a0",
"size": "2... |
.groups { margin-top: 24px; }
.group-help { background: url("../img/question-round.svg") no-repeat; width: 22px; height: 26px; display: inline-block; margin-left: 6px; position: relative; top: 5px; cursor: pointer; }
#pen { margin-top: 150px; display: block; width: 100%; height: 400px; background: url("../img/pen.svg... | {
"content_hash": "690f361564f49e421969427b53572ceb",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 230,
"avg_line_length": 68.5,
"alnum_prop": 0.7041362530413625,
"repo_name": "otnp/lanlan",
"id": "8ad2cda52ac8d5fe431e9a18e2cfce0e609d796e",
"size": "2055",
"binary": fa... |
package 'tar'
user 'kafka'
include_recipe 'kafka::_defaults'
include_recipe 'kafka::_setup'
include_recipe 'kafka::_install'
directory node.kafka.config_dir do
owner node.kafka.user
group node.kafka.group
mode '755'
recursive true
end
template ::File.join(node.kafka.config_dir, 'log4j.properties') do
sour... | {
"content_hash": "7e4a8a4134e608df3fd9b8af84193559",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 78,
"avg_line_length": 23.507462686567163,
"alnum_prop": 0.699047619047619,
"repo_name": "yvonq/datasift-connector",
"id": "06e449f8119419cbf9de7d1fcc9b0391f585b431",
"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 (1.8.0_66) on Mon Dec 14 15:42:36 CST 2015 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class play.data.bind... | {
"content_hash": "2f6b11dbfee1976da2fa8736386a3708",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 410,
"avg_line_length": 56.577319587628864,
"alnum_prop": 0.6694606413994169,
"repo_name": "play1-maven-plugin/play1-maven-plugin.github.io",
"id": "f6e1c4b1b8a8c292e15e3f0e... |
namespace gfx {
class NumStepper : public BaseButton {
public:
NumStepper();
void setup( ci::vec2 pos, int gap, std::string symbol );
void draw();
virtual void onMouseOver();
virtual void onMouseOut();
virtual void onClick();
ci::signals::Signal<void(void)> signalOnClick;
... | {
"content_hash": "2454cfab59c7fbd79f047ee6bcb5327f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 60,
"avg_line_length": 19.8,
"alnum_prop": 0.601010101010101,
"repo_name": "cwhitney/SilverSprint",
"id": "704c4a668bde269e16c6e7166bd2ae28901af79c",
"size": "578",
"bina... |
#include <aws/connectparticipant/model/SortKey.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace ConnectParticipant
{
namespace Model
{
namespace SortKeyMapper
... | {
"content_hash": "627b7feb77a2f9e0cb96a1d69c698f5c",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 92,
"avg_line_length": 27.104477611940297,
"alnum_prop": 0.5963656387665198,
"repo_name": "awslabs/aws-sdk-cpp",
"id": "6d0a7941236c2b29d6162190ff1e51858bcc336d",
"size": "... |
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_extraction.text import TfidfTransformer
import sys
from bunch import *
import numpy as np
import random
from sklearn.linear_model import LogisticRegression
from nltk.stem import WordNetLemmatizer
import re
import cPickle
def load_unlabele... | {
"content_hash": "0508602d96a3cdb2e15ee0aaba327560",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 76,
"avg_line_length": 34.05172413793103,
"alnum_prop": 0.6632911392405063,
"repo_name": "HazyResearch/dd-genomics",
"id": "83b4cf2c6964279ebd9501ca3dd77d7cf7a8cbd5",
"size... |
<div class="panel panel-default shadow-z-0">
<div class="video-wrapper">
<div class="video-hover-buttons" ng-show="verto.data.callState == 'active'">
<div id="moderator-tools" ng-show="verto.data.confRole == 'moderator'">
<button tooltip-placement="bottom" tooltip-title="{{'MESSAGE_PLAY' | translate... | {
"content_hash": "06eeb44d7d9765e16c47ee2638437d79",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 274,
"avg_line_length": 64.21238938053098,
"alnum_prop": 0.6028114663726571,
"repo_name": "Traderlynk/Etherlynk",
"id": "bfbd42f8424a4214c533f86df63782bc80821935",
"size":... |
package com.qiniu.http;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.List;
public interface Dns {
List<InetAddress> lookup(String hostname) throws UnknownHostException;
}
| {
"content_hash": "a7a32e96238c2119f5cb3ea00b29a3d9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 74,
"avg_line_length": 24,
"alnum_prop": 0.8009259259259259,
"repo_name": "qiniu/java-sdk",
"id": "0dd158c8fef23dd154cec6770b08c7952fcd6701",
"size": "216",
"binary": fals... |
/*
* EVE Swagger Interface
* An OpenAPI for EVE Online
*
* The version of the OpenAPI document: 1.12
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package net.troja.eve.esi.model;
import ... | {
"content_hash": "202fc65aeaee93e619ee5c63e1864cc5",
"timestamp": "",
"source": "github",
"line_count": 228,
"max_line_length": 179,
"avg_line_length": 31.32894736842105,
"alnum_prop": 0.6669466610667787,
"repo_name": "burberius/eve-esi",
"id": "f2a25399183cd41f8d7ba8adac8f4555e5e47141",
"size": "7... |
package org.hisp.dhis.sharing;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hisp.dhis.user.User;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CascadeSharingParameters
{
/**
* TRUE: do not save anything, just r... | {
"content_hash": "d2d9e14ff9531587d2c1bdf5bba9af47",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 70,
"avg_line_length": 21.145833333333332,
"alnum_prop": 0.6512315270935961,
"repo_name": "msf-oca-his/dhis2-core",
"id": "03c65e01cb9bbb7a12ee0a3a3a30c6c6e7f9eee1",
"size"... |
using FluentAssertions;
using HtmlAgilityPack;
using Moq;
using NeuroLinker.Enumerations;
using NeuroLinker.Interfaces.Helpers;
using NeuroLinker.Workers;
using NUnit.Framework;
using System;
using System.IO;
using System.Net;
using NeuroLinker.ResponseWrappers;
namespace NeuroLinker.Tests.Workers
{
public class ... | {
"content_hash": "d7fa33aa558d87024ff28bfba8db0ed3",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 104,
"avg_line_length": 30.258426966292134,
"alnum_prop": 0.5777942814704791,
"repo_name": "NinetailLabs/NeuroLinker",
"id": "4b9bd9b3c7e20ed181eadce57091c327bab6e47b",
"si... |
package org.febit.form;
import java.util.Map;
/**
*
* @author zqq90
* @param <E>
* @param <I>
*/
public interface ModifyForm<E, I> extends BaseForm {
E updateModify(E model, int prefile);
Map<String, Object> modifyMap(final int profile);
I id();
}
| {
"content_hash": "ce5c3d3b566ddbffb3313e76c6f728df",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 53,
"avg_line_length": 13.6,
"alnum_prop": 0.6323529411764706,
"repo_name": "febit/febit-common",
"id": "662e34d0edff6bd8b23ddf843a7523b18594055c",
"size": "893",
"binary... |
package com.oculusinfo.tilegen.tiling
import java.lang.{Double => JavaDouble}
import scala.util.Try
import com.oculusinfo.binning.io.serialization.impl.PrimitiveAvroSerializer
import com.oculusinfo.binning.{BinIndex, TileData, TileIndex}
import com.oculusinfo.binning.impl.{AOITilePyramid, WebMercatorTilePyramid, S... | {
"content_hash": "ca23634a786259117e662e095528789a",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 118,
"avg_line_length": 37.5959595959596,
"alnum_prop": 0.7095647501343364,
"repo_name": "unchartedsoftware/aperture-tiles",
"id": "47664b608570702c3986cb5d75ab42ff63687295",... |
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
define([
'exports',
'../Core/_Global'
], function hoverable(exports, _Global) {
"use strict";
// not supported in WebWorker
if (!_Global.docume... | {
"content_hash": "096f9fa2aac26412f8eca119ef25cdc1",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 155,
"avg_line_length": 36.18518518518518,
"alnum_prop": 0.6550665301944729,
"repo_name": "nobuoka/winjs",
"id": "e362dacb4689b6cc29a95e2259674b6650499a5d",
"size": "979",
... |
<?php
namespace common\models;
use Yii;
/**
* This is the model class for table "partners_countries".
*
* @property integer $ID
* @property integer $user_id
* @property integer $country_id
* @property string $created_on
* @property string $modified_on
*/
class PartnersCountries extends \common\models\base\ba... | {
"content_hash": "69cf74bd4f14a796f9a100f620dcc335",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 85,
"avg_line_length": 21.858974358974358,
"alnum_prop": 0.5319648093841642,
"repo_name": "shibam2015/KandePohe",
"id": "ebbc9cea8bfc77257152e2ba063211c6480afe9e",
"size": ... |
"""
Zonomi DNS Driver
"""
from libcloud.common.zonomi import ZonomiConnection, ZonomiResponse
from libcloud.common.zonomi import ZonomiException
from libcloud.dns.base import DNSDriver, Zone, Record
from libcloud.dns.types import ZoneDoesNotExistError, ZoneAlreadyExistsError
from libcloud.dns.types import RecordAlread... | {
"content_hash": "d3592449598b657028f78951fea92efd",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 79,
"avg_line_length": 31.51212121212121,
"alnum_prop": 0.5400519280700067,
"repo_name": "ByteInternet/libcloud",
"id": "4f0eea0751ea1d80ed28fd58560fbf8297cf08e5",
"size":... |
import sys # for reading from argv
import boto.sqs
import boto.sqs.queue
from boto.sqs.message import Message
from boto.sqs.connection import SQSConnection
from boto.exception import SQSError
conn = boto.sqs.connect_to_region("eu-west-1", aws_access_key_id='xxIAINXYPLZEZUALDFYQ', aws_secret_access_key='xxfZms2LJR39mi/... | {
"content_hash": "f328ed31feb9b9ba502c5153c9c39707",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 154,
"avg_line_length": 35.388888888888886,
"alnum_prop": 0.7409733124018838,
"repo_name": "mcgettin/dockerLab",
"id": "2a6a302fa8bbe6f279568f22e9e156a997e26503",
"size": "... |
using DotNetRevolution.EventSourcing.Snapshotting.CodeContract;
using System.Diagnostics.Contracts;
namespace DotNetRevolution.EventSourcing.Snapshotting
{
[ContractClass(typeof(SnapshotProviderFactoryContract))]
public interface ISnapshotProviderFactory
{
void AddProvider(AggregateRootType eventP... | {
"content_hash": "aa121d1c9ea67be42b5a00065735fcdc",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 98,
"avg_line_length": 33.57142857142857,
"alnum_prop": 0.8,
"repo_name": "DotNetRevolution/DotNetRevolution-Framework",
"id": "560c237c62b22ec346a5d79abb4dadc94cf8704c",
"... |
namespace Google.Cloud.DataCatalog.V1.Snippets
{
// [START datacatalog_v1_generated_DataCatalog_UpdateTagTemplateField_sync_flattened2_resourceNames]
using Google.Cloud.DataCatalog.V1;
using Google.Protobuf.WellKnownTypes;
public sealed partial class GeneratedDataCatalogClientSnippets
{
///... | {
"content_hash": "aa91d2fea67ba1417a031987513d3bad",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 153,
"avg_line_length": 50.03703703703704,
"alnum_prop": 0.7017024426350851,
"repo_name": "jskeet/gcloud-dotnet",
"id": "5b9cb172bb54c117842288bda34cd41eb76f1848",
"size": ... |
"""
rdf tools package
"""
from .helpers import *
from .association import *
| {
"content_hash": "a938313a4d6701cf94919e5eadd00a17",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 26,
"avg_line_length": 12.833333333333334,
"alnum_prop": 0.6883116883116883,
"repo_name": "SemanticComputing/rdf_dm",
"id": "178ad0fd8f6a67450f8825aeb7857e206733d386",
"size... |
namespace MTV{
class TraceReader : public QObject,
public Producer<MTR::Record> {
Q_OBJECT;
public:
BoostPointers(TraceReader);
public:
static const size_t default_bufsize = 10*1024;
public:
TraceReader(const size_t bufsize = default_bufsize);
// ~TraceReader() {
... | {
"content_hash": "d3477d0e9356be052dbb858263adeb68",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 119,
"avg_line_length": 28.35031847133758,
"alnum_prop": 0.6578297011907437,
"repo_name": "ronichoudhury/mtvx",
"id": "275ec07aa70426c1d33eff32ab9892a18111fc38",
"size": "... |
package com.gemstone.gemfire.internal.admin;
import com.gemstone.gemfire.distributed.internal.InternalDistributedSystem.DisconnectListener;
import com.gemstone.gemfire.i18n.LogWriterI18n;
/**
* Used to create and configure a {@link GfManagerAgent}.
*/
public class GfManagerAgentConfig {
/**
* Constructs a ... | {
"content_hash": "f3603c9197dd7dafc3ff5274d696a09a",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 94,
"avg_line_length": 26.691358024691358,
"alnum_prop": 0.6896392229417206,
"repo_name": "SnappyDataInc/snappy-store",
"id": "f7e7babdd89d94a6c9547c0719df30c324a47e38",
"s... |
package org.springframework.boot.test.autoconfigure.restdocs;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.spr... | {
"content_hash": "c777354c8ffaa7e7f89f2acf0c52ffc3",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 87,
"avg_line_length": 29.75,
"alnum_prop": 0.757703081232493,
"repo_name": "lburgazzoli/spring-boot",
"id": "2e4207daaa94952ae61e9d8fd7e92406f207656c",
"size": "2763",
"... |
import Orbit from './main';
const { deprecate } = Orbit;
export type Listener = (...args: any[]) => any;
/**
* The `Notifier` class can emit messages to an array of subscribed listeners.
* Here's a simple example:
*
* ```ts
* import { Notifier } from '@orbit/core';
*
* let notifier = new Notifier();
* notif... | {
"content_hash": "c39921f79ed11c4d56ba2d6851841499",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 147,
"avg_line_length": 25.092105263157894,
"alnum_prop": 0.6171997902464604,
"repo_name": "orbitjs/orbit-core",
"id": "8a7dc3037e17fb7cd4eae978fe3dfd9a928997b0",
"size": "... |
use strict;
use warnings;
use FileHandle;
use Bio::EnsEMBL::Registry;
use Bio::Tools::CodonTable;
use Bio::DB::HTS::Tabix;
use Data::Dumper;
my $registry = 'Bio::EnsEMBL::Registry';
$registry->load_registry_from_db(
-host => 'ensembldb.ensembl.org',
-user => 'anonymous',
-db_version => 92,
);
my $file = 'db... | {
"content_hash": "5523e85c58321d966ac5d07c07059b06",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 242,
"avg_line_length": 30.586021505376344,
"alnum_prop": 0.6048514677447706,
"repo_name": "at7/work",
"id": "7865f72738e2c312ae2ad4dc000cd8db001bdc6f",
"size": "5689",
... |
title: 'Support from Google Cloud Platform'
date: 2018-07-27 12:00:00 -0500
author: kidzik
categories: [nips]
---
[Google Cloud Platform](http://cloud.google.com/) generously offered to support our [NIPS 2018 AI for prosthetics challenge](https://www.crowdai.org/challenges/nips-2018-ai-for-prosthetics-challenge/leader... | {
"content_hash": "d9b6c8663c6f117a4d3701103ed61623",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 305,
"avg_line_length": 60.26315789473684,
"alnum_prop": 0.765938864628821,
"repo_name": "stanfordnmbl/osim-rl",
"id": "ffa57277649afb749f3fcc90d6016a79c0e28589",
"size": "... |
export Avatar from './avatar';
export InlineAvatar from './inlineAvatar';
| {
"content_hash": "8303a4d367411fdf1ecb4fd329795f81",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 42,
"avg_line_length": 37,
"alnum_prop": 0.7567567567567568,
"repo_name": "theseushu/funong-web",
"id": "30ad0c5efcc330858dc39d544e3b18bdc7e72c09",
"size": "74",
"binary":... |
/**
* Created by blajv on 22.06.2017.
*/
import React from 'react';
import { fetchTagForCandidateSkill} from "../utils/CandidateAPI";
/**
* Component which describes a single set of skills a candidate has
*/
export default class SkillItem extends React.Component {
constructor(props) {
super(props);
... | {
"content_hash": "1751263e798277eadfe2cfc16f33c411",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 85,
"avg_line_length": 23.972972972972972,
"alnum_prop": 0.5400225479143179,
"repo_name": "serban-petrescu/candidate-management",
"id": "d3a1c30d3739baf5ad3eab9da5e83db421855... |
<!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.5.0_22) on Wed Apr 03 10:04:47 GMT-03:00 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class opennlp.uima.... | {
"content_hash": "fcb91b42fcf513a8b38d0ec0ee3832bd",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 209,
"avg_line_length": 42.4822695035461,
"alnum_prop": 0.6267111853088481,
"repo_name": "opener-project/nerc-fr",
"id": "031f0910110456d3b673c12fc5ae36224dd380ed",
"size"... |
// .NAME vtkSphereWidget - 3D widget for manipulating a sphere
// .SECTION Description
// This 3D widget defines a sphere that can be interactively placed in a
// scene.
//
// To use this object, just invoke SetInteractor() with the argument of the
// method a vtkRenderWindowInteractor. You may also wish to invoke
//... | {
"content_hash": "4f8bb8e163e5ebabf5155c65829a4234",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 79,
"avg_line_length": 33.77037037037037,
"alnum_prop": 0.7299846457556481,
"repo_name": "cjh1/VTK",
"id": "15b1ae170ff3eede27612987cc4ba9521d223662",
"size": "9703",
"b... |
package com.mrcodeninja.util;
import com.mrcodeninja.util.concurrent.atomic.LongAdder;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.AbstractMap;
import java.util.Map;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* @author mrcodeni... | {
"content_hash": "847edc4436eb0089c2a4fec1366d9142",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 88,
"avg_line_length": 30.627659574468087,
"alnum_prop": 0.6651615144147274,
"repo_name": "mrcodeninja/top-twitter-tags",
"id": "04ad23ea2d53f2e71eaea3077da1788112ac799b",
... |
<!DOCTYPE html>
<html lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=devic... | {
"content_hash": "8b276f57abaabc8f3f6b5761d6353fc9",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 275,
"avg_line_length": 30.539473684210527,
"alnum_prop": 0.6240844463593279,
"repo_name": "jakeokt/jakeokt.github.io",
"id": "9a31d50f40b9673eea9bbe39f029f29619a9cbf3",
"... |
namespace media {
WebMStreamParser::WebMStreamParser()
: state_(kWaitingForInit),
unknown_segment_size_(false) {
}
WebMStreamParser::~WebMStreamParser() = default;
void WebMStreamParser::Init(
InitCB init_cb,
const NewConfigCB& config_cb,
const NewBuffersCB& new_buffers_cb,
bool ignore_text... | {
"content_hash": "46c0f89cab2e5e29319c016453e93a4f",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 80,
"avg_line_length": 27.71641791044776,
"alnum_prop": 0.6598007539041465,
"repo_name": "scheib/chromium",
"id": "951cba094c992c95b566aae6b327322aa6d94570",
"size": "8195... |
import React, { Component } from 'react';
import { reduxForm } from 'redux-form';
class CheckinForm extends Component {
onSubmitHandler(props) {
this.props.createPost(props)
.then(() => {
this.context.router.push('/');
});
}
render() {
const {
coords,
handleSubmit,
... | {
"content_hash": "6802e0b8aa12d1dd4c70def96ce675c6",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 106,
"avg_line_length": 30.55952380952381,
"alnum_prop": 0.5862874951305025,
"repo_name": "VahanAper/checkin",
"id": "fdb8d77d956cf1f0d19d97ac4cfcef75d423ca3c",
"size": "25... |
module Bundler
class Source
autoload :Rubygems, 'bundler/source/rubygems'
autoload :Path, 'bundler/source/path'
autoload :Git, 'bundler/source/git'
def self.mirror_for(uri)
uri = URI(uri.to_s) unless uri.is_a?(URI)
# Settings keys are all downcased
mirrors = Bundler.settin... | {
"content_hash": "b2787f96852ea85083c48539aa029b1b",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 101,
"avg_line_length": 26.756756756756758,
"alnum_prop": 0.6373737373737374,
"repo_name": "1tylermitchell/healthcheck",
"id": "04643b49771345062c9b1360b64ddb53267e9d28",
"... |
require.config({
waitSeconds: 200,
paths: {
jquery: 'libs/jquery/dist/jquery',
jqueryui: 'libs/jqueryui/ui/jquery-ui',
backbone: 'libs/backbone-amd/backbone',
underscore: 'libs/underscore-amd/underscore',
marionette: 'libs/marionette/lib/backbone.marionette',
'backbone.wreqr' : 'libs/backbon... | {
"content_hash": "d78f5d824280fab727c71296ba3eac42",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 184,
"avg_line_length": 36.19230769230769,
"alnum_prop": 0.6737513283740701,
"repo_name": "ejvaudio/live_list",
"id": "b9f245593952ffe57cf4a026ddedde36a65183a9",
"size": "1... |
// -----------------------------------------------------------------------
// <copyright file="AuditEntityController.cs" company="OSharp开源团队">
// Copyright (c) 2014-2018 OSharp. All rights reserved.
// </copyright>
// <site>http://www.osharp.org</site>
// <last-editor>郭明锋</last-editor>
// <last-date>2018-08-... | {
"content_hash": "7cdc130a5d06fe0a489c9c91b0f456e5",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 199,
"avg_line_length": 40.26,
"alnum_prop": 0.5509190263288624,
"repo_name": "i66soft/osharp-ns20",
"id": "d361bd262a394e2ec9652b146090e9341c107a7b",
"size": "4150",
"b... |
import {Component, Input, OnInit} from '@angular/core';
import {Episode} from './episode';
import {Time} from "../common/time";
@Component({
selector: 'episode-length',
template: '{{data}}'
})
export class EpisodeLengthComponent implements OnInit {
@Input()
episode: Episode;
data: string;
ngO... | {
"content_hash": "7373a8826d70cc2a0c43edd0640e34f4",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 73,
"avg_line_length": 21.761904761904763,
"alnum_prop": 0.6170678336980306,
"repo_name": "vhromada/Catalog-Angular",
"id": "4954a83b73c8872eaab8cbedfc4c42d03c0c4115",
"siz... |
function generateKeyStats(data){
numberOfIncidents(data);
}
function numberOfIncidents(data){
var count=0;
var begin = new Date();
begin.setDate(begin.getDate()-30);
data.forEach(function(d){
if(d['#date']>begin){
count++;
}
});
$('#numberofincidents').html(data... | {
"content_hash": "1cf8ed480895a11559ad3e7d8fd9d19f",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 279,
"avg_line_length": 30.181818181818183,
"alnum_prop": 0.5309810671256454,
"repo_name": "BrcMapsTeam/east_africa_security",
"id": "e12aff083c67fb7ab3327c21cb6a2355eb94b79... |
package org.pentaho.big.data.impl.cluster;
import org.apache.commons.io.FileUtils;
import org.apache.commons.vfs2.VFS;
import org.apache.commons.vfs2.impl.StandardFileSystemManager;
import org.apache.commons.vfs2.provider.UriParser;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.j... | {
"content_hash": "c4527458b57332f1d05673652413fe2f",
"timestamp": "",
"source": "github",
"line_count": 668,
"max_line_length": 149,
"avg_line_length": 43.625748502994014,
"alnum_prop": 0.7302518701530437,
"repo_name": "pentaho/big-data-plugin",
"id": "d01b483e568a4b68c39d82a77e90119de34ddb4e",
"si... |
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.GLightbox = factory());
}(this, (function () { 'use strict';
function _typeof(obj) {
"@ba... | {
"content_hash": "d9299b620c2fa93520771c89d3a5b851",
"timestamp": "",
"source": "github",
"line_count": 3623,
"max_line_length": 692,
"avg_line_length": 29.820866685067625,
"alnum_prop": 0.5447376458936886,
"repo_name": "cdnjs/cdnjs",
"id": "5be2b143b43bd564edeac1e45160e23febd2cc8d",
"size": "10804... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Code Igniter User Guide</title>
<style type='text/css' media='all'>@import url('../userguide.css');</style>
<link rel='stylesheet' type='text/css' media='all' href='../usergui... | {
"content_hash": "c5d54c70a6fc9b41c96155d634823da9",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 387,
"avg_line_length": 45.239766081871345,
"alnum_prop": 0.6970010341261634,
"repo_name": "Calico90/codeigniter-version-scan",
"id": "a16fa95d45cbd6678a39fa13f028144f941214... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.