text stringlengths 2 1.04M | meta dict |
|---|---|
package org.apache.catalina.util;
import java.io.Serializable;
import java.net.MalformedURLException;
/**
* <p><strong>URL</strong> is designed to provide public APIs for parsing
* and synthesizing Uniform Resource Locators as similar as possible to the
* APIs of <code>java.net.URL</code>, but without the abi... | {
"content_hash": "5a590ff76b21108102d4b52fdc4732f2",
"timestamp": "",
"source": "github",
"line_count": 693,
"max_line_length": 81,
"avg_line_length": 28.382395382395384,
"alnum_prop": 0.5134475570695002,
"repo_name": "plumer/codana",
"id": "f2bcef0264639aec6f4cf995eec7789dbdb2a15c",
"size": "20473... |
namespace net {
class DrainableIOBuffer;
class IOBuffer;
class IOBufferWithSize;
} // namespace net
namespace gcm {
// A helper class for interacting with a mojo consumer pipe that is receiving
// protobuf encoded messages. If an error is encounters, the input stream will
// store the error in |last_error_|, and Get... | {
"content_hash": "bc9c15f3126195926f74ab8d268ce13f",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 80,
"avg_line_length": 39.31550802139037,
"alnum_prop": 0.719804134929271,
"repo_name": "endlessm/chromium-browser",
"id": "109f4168d9e8455e5fde54412f87624b7ae07c6a",
"siz... |
/*-------------distributions.h------------------------------------------------//
*
* Purpose: to hold all possible distributions for SDL and OGL stuff
*
*-----------------------------------------------------------------------------*/
#ifndef DIST_H
#define DIST_H
#include "../include/GL_setup.h"
// STD functions
voi... | {
"content_hash": "6d1b1a022b5c1978a707fd7e9311a80f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 80,
"avg_line_length": 27.125,
"alnum_prop": 0.5622119815668203,
"repo_name": "leios/SciVL",
"id": "f9a84cbab983407df94a96b3599a38d8893cc8d4",
"size": "651",
"binary": fa... |
package com.amazonaws.services.lightsail.model;
import javax.annotation.Generated;
/**
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public enum MetricUnit {
Seconds("Seconds"),
Microseconds("Microseconds"),
Milliseconds("Milliseconds"),
Bytes("Bytes"),
Kilobytes("Kilobytes"),
... | {
"content_hash": "eca4010f65ad04456fb2adcd60db5f1c",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 91,
"avg_line_length": 26.37837837837838,
"alnum_prop": 0.6239754098360656,
"repo_name": "jentfoo/aws-sdk-java",
"id": "912868dc4464f9e2c92fabd2128143ed6e5043f3",
"size": "... |
package org.apache.commons.chain2.web.portlet;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import javax.portlet.PortletContext;
import org.apache.commons.chain2.web.MapEntry;
/**
... | {
"content_hash": "9bbf5fa5746d64548f2ccb92e2da83e6",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 93,
"avg_line_length": 26.15126050420168,
"alnum_prop": 0.6127892030848329,
"repo_name": "apache/commons-chain",
"id": "165dc793b243e5bef078ad742f1065f91358be1d",
"size": ... |
<?php
namespace Magento\Payment\Model\Cart\SalesModel;
/**
* Wrapper for \Magento\Quote\Model\Quote sales model
*/
class Quote implements \Magento\Payment\Model\Cart\SalesModel\SalesModelInterface
{
/**
* Sales quote model instance
*
* @var \Magento\Quote\Model\Quote
*/
protected $_sales... | {
"content_hash": "edd0358d2d12ee12f4e70e1f9b6fb0f0",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 81,
"avg_line_length": 22.55855855855856,
"alnum_prop": 0.5163738019169329,
"repo_name": "enettolima/magento-training",
"id": "03a25f838e02ce4a9762f69a47ea37b854d5882c",
"... |
<?php
declare(strict_types=1);
namespace Doctrine\ODM\MongoDB\Tests\Mocks;
use Doctrine\Common\EventSubscriber;
use Doctrine\ODM\MongoDB\Event\OnFlushEventArgs;
use Exception;
class ExceptionThrowingListenerMock implements EventSubscriber
{
public function getSubscribedEvents(): array
{
return ['onF... | {
"content_hash": "88df6e4199c89ff6eb6ee3d7b83a43e3",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 62,
"avg_line_length": 21,
"alnum_prop": 0.7272727272727273,
"repo_name": "doctrine/mongodb-odm",
"id": "7b1ad70be59993845681490da742324300beb599",
"size": "462",
"binary... |
FROM balenalib/intel-nuc-debian:stretch-run
ENV GO_VERSION 1.15.7
# gcc for cgo
RUN apt-get update && apt-get install -y --no-install-recommends \
g++ \
gcc \
libc6-dev \
make \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*
RUN set -x \
&& fetchDeps=' \
curl \
' \
&& apt-get update && apt-get i... | {
"content_hash": "c149876c9d29a9659b74178ce085e527",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 688,
"avg_line_length": 50.43478260869565,
"alnum_prop": 0.7047413793103449,
"repo_name": "nghiant2710/base-images",
"id": "f6bd08a2fe856f59bf42a43c1d76ff00871e031b",
"size... |
AV-Panels
=========
Mobile Web Notification Panels Library
| {
"content_hash": "9414cd1f4055c79fab00d1b89b775a7f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 38,
"avg_line_length": 15,
"alnum_prop": 0.7,
"repo_name": "aaronalexvargas/AVPanels.Library-codesample",
"id": "497ae5cada6a067e63448aa7e2b9e5fa7e891399",
"size": "60",
"... |
(function () {
'use strict';
angular.module('tf-training.core', []);
})();
| {
"content_hash": "73280674bb8076d343210e240007fd01",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 43,
"avg_line_length": 14.166666666666666,
"alnum_prop": 0.5176470588235295,
"repo_name": "akarienta/taskforce-training",
"id": "1542b6763131bbabea6877790e5d1aae72a015f6",
"... |
package uk.org.sljo.gigsec.domain;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonIgnore;
import org.hibernate.envers.Audited;
import org.springframework.data.annotation.CreatedBy;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModified... | {
"content_hash": "a2ab08b271f58ad57a97ebf4333a2037",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 106,
"avg_line_length": 28.19277108433735,
"alnum_prop": 0.7431623931623932,
"repo_name": "clamped/gigsec",
"id": "9cf2ef0076d631c016202783889e2cc767488885",
"size": "2340"... |
package org.apache.camel.component.leveldb;
import java.util.HashMap;
import java.util.Map;
import org.apache.camel.AggregationStrategy;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.component.util.HeaderDt... | {
"content_hash": "5d25790e41591c117f4f8b159c6b1125",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 107,
"avg_line_length": 34.247191011235955,
"alnum_prop": 0.6246719160104987,
"repo_name": "punkhorn/camel-upstream",
"id": "163f522386e770baff1763ffda4c0d830a4f25b7",
"siz... |
from __future__ import absolute_import
from django.contrib import messages
from django.core.urlresolvers import reverse
from django.db.models import Q
from django.utils.translation import ugettext_lazy as _, ugettext
from sentry import roles
from sentry.models import OrganizationMember, OrganizationMemberTeam, \
... | {
"content_hash": "0b75422d77d285bdc95fbf0d4620726d",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 97,
"avg_line_length": 36.89473684210526,
"alnum_prop": 0.5905848787446505,
"repo_name": "jean/sentry",
"id": "114d63e7ffbbdad0510a6ab7419cf24e9bdcaceb",
"size": "4206",
... |
- AngularJS
- ngRoute
- angular-translate
## CSS Dependencies
- Bootstrap CSS
- Fontawesome
| {
"content_hash": "29ccbfffe55c6ee333fe118a8fcfb496",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 19,
"avg_line_length": 10.555555555555555,
"alnum_prop": 0.7368421052631579,
"repo_name": "mmalfertheiner/pmc-layout",
"id": "85b49aa133742c6dfa4488740891dba21fba4cdf",
"siz... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Api extends CI_Controller {
/**
* Index Page for this controller.
*
* Maps to the following URL
* http://example.com/index.php/welcome
* - or -
* http://example.com/index.php/welcome/index
* - or -
* Since this controller... | {
"content_hash": "b23b9377c55fcd19322cd8b535d2512a",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 127,
"avg_line_length": 26.88,
"alnum_prop": 0.5620535714285714,
"repo_name": "guillermofr/interestelegram_bot",
"id": "d0d9756256f845d754f02bf17f3bc995bdc4419f",
"size": ... |
<?xml version='1.0' encoding='UTF-8'?>
<widget xmlns="http://www.w3.org/ns/widgets" xmlns:intelxdk="http://xdk.intel.com/ns/v1" id="not.yet.specified" version="0.0.1">
<!--This file is generated by the Intel XDK. Do not edit this file as your edits will be lost. -->
<!--To change the contents of this file, se... | {
"content_hash": "835b0133d9718c661702f3a436d8e286",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 128,
"avg_line_length": 68,
"alnum_prop": 0.6993464052287581,
"repo_name": "WWC-IoT-Fridge/barcode",
"id": "15e5682c70433462140fb357895b8895a85ad8b7",
"size": "612",
"bina... |
import numpy as np
from SimPEG import (
maps,
optimization,
inversion,
inverse_problem,
directives,
data_misfit,
regularization,
)
def spectral_ip_mappings(
mesh,
indActive=None,
inactive_eta=1e-4,
inactive_tau=1e-4,
inactive_c=1e-4,
is_log_eta=True,
is_log_tau=... | {
"content_hash": "f0e5449931759f09353f5977231072c6",
"timestamp": "",
"source": "github",
"line_count": 191,
"max_line_length": 88,
"avg_line_length": 25.32460732984293,
"alnum_prop": 0.6158776100888981,
"repo_name": "simpeg/simpeg",
"id": "18b766b3e106c5a3603a8608bd74dbe80f51af6a",
"size": "4837",... |
#pragma once
#include "SVGPathSegWithContext.h"
namespace WebCore {
class SVGPathSegLinetoRel final : public SVGPathSegSingleCoordinate {
public:
static Ref<SVGPathSegLinetoRel> create(const SVGPathElement& element, SVGPathSegRole role, float x, float y)
{
return adoptRef(*new SVGPathSegLinetoRel(e... | {
"content_hash": "e5f118ff0242b0fc250990a42221547d",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 112,
"avg_line_length": 26.423076923076923,
"alnum_prop": 0.7219796215429404,
"repo_name": "gubaojian/trylearn",
"id": "dcdf4838ac39fa5a1c7c1a58483f07fbf9ac7e13",
"size": "... |
=========
##read_grib is a WMO GRiB Edition 1 file reader for MATLAB
Current Version: r4 (10 March 2013)
##NOTE RE: Grib2 files
read_grib does NOT read grib2 files, and there is no chance that it will. It is much easier to do one of two things:
1. Use nctoolbox, available on GitHub at https://github.com/nctoolbox/... | {
"content_hash": "e70f776a810103bf78c2ebac37404559",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 537,
"avg_line_length": 49.590062111801245,
"alnum_prop": 0.7094188376753507,
"repo_name": "MajorChina/CPOP",
"id": "fe6efa5262e5c9857372c9f1be1b9554cd69d126",
"size": "79... |
@interface TwoViewController : UIViewController
@property (nonatomic, strong) RACSubject *delegateSignal;
@end
| {
"content_hash": "527a3909054a61ed07deb599d2656b03",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 57,
"avg_line_length": 22.6,
"alnum_prop": 0.8141592920353983,
"repo_name": "qinting513/Learning-QT",
"id": "a6122c665894adfd8bdab7aa0bc8c573f73526c3",
"size": "296",
"bin... |
namespace MassTransit.SagaStateMachine
{
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Threading.Tasks;
using Internals;
/// <summary>
/// Accesses the current state as a string property
/// </summary>
/// <typeparam name=... | {
"content_hash": "603235aca5d4a0521da74b3608269bad",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 151,
"avg_line_length": 37.0722891566265,
"alnum_prop": 0.6373090672733182,
"repo_name": "phatboyg/MassTransit",
"id": "7758776db051353f0874731a0d4bdadd2e8a4f9a",
"size": "... |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/pm.h>
#include <linux/device.h>
#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/libata.h>
#include <linux/ahci_platform.h>
#include <linux/acpi.h>
#include <linux/pci_ids.h>
#include "ahci.h"
#define DRV_NAME "ahci"
... | {
"content_hash": "3e341f4565156d45fffb70bb0ba6332e",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 67,
"avg_line_length": 25.172043010752688,
"alnum_prop": 0.68859461768475,
"repo_name": "publicloudapp/csrutil",
"id": "1befb114c3844c507939fe82924d60340edce15b",
"size": "... |
<div class="commune_descr limited">
<p>
Boissières est
un village
localisé dans le département de Lot en Midi-Pyrénées. Elle comptait 350 habitants en 2008.</p>
<p>À proximité de Boissières sont localisées les communes de
<a href="{{VLROOT}}/immobilier/uchaud_30333/">Uchaud</a> située à 3 km, 3&nbs... | {
"content_hash": "b7e0894a4274b157996d84144130aa20",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 134,
"avg_line_length": 74,
"alnum_prop": 0.7329093799682035,
"repo_name": "donaldinou/frontend",
"id": "4f47e83738cfd3e1c7cf1a355346174966fce5fd",
"size": "1294",
"binar... |
The goal of this gem is to parse a crontab timing specification and produce an
object that can be queried about the schedule.
This gem began as an extraction of Rufus::CronLine from the [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) gem.
[](ht... | {
"content_hash": "41c58f2c53dbb3e65ea1fca062aa4145",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 128,
"avg_line_length": 29.357142857142858,
"alnum_prop": 0.7339821573398215,
"repo_name": "bwthomas/whedon",
"id": "eac11809e932dfc69dffc244fa925ce653a0477b",
"size": "126... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>gov.nasa.... | {
"content_hash": "02fa333e1fc7bef1a732441e986c766f",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 100,
"avg_line_length": 28.38095238095238,
"alnum_prop": 0.6112975391498882,
"repo_name": "chrismattmann/apple",
"id": "3f02ff2c7d5d45a56db4b886816a920e518e7ed6",
"size": "... |
using System;
using System.Globalization;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace MyLife.Core
{
public class JsonHttpHelper : HttpHelperBase
{
private JsonSerializerSettings Settings { get; set; }
publ... | {
"content_hash": "7320044ed81525bbf9d896191393aa21",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 101,
"avg_line_length": 31.714285714285715,
"alnum_prop": 0.5488565488565489,
"repo_name": "LazyTarget/MyLife",
"id": "923e5e862497fdb0c592c7e7996a2e036f486c6d",
"size": "2... |
CouchDB as the State Database
=============================
State Database options
----------------------
The current options for the peer state database are LevelDB and CouchDB. LevelDB is the default
key-value state database embedded in the peer process. CouchDB is an alternative external state database.
Like the L... | {
"content_hash": "26b3f11589549fc45e9c733cd5320d7b",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 189,
"avg_line_length": 56.1985559566787,
"alnum_prop": 0.7687415687030257,
"repo_name": "jimthematrix/fabric",
"id": "360c0c545d2d578e73f82e8d83be3926118dab92",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering PUBLIC "-//Hibernate/Hibernate Reverse Engineering DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<table-filter match-name=".*"></table-filter>
<table name="t_arti... | {
"content_hash": "cf44c0bbb4231c838306628a751bce85",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 178,
"avg_line_length": 28.703296703296704,
"alnum_prop": 0.6738131699846861,
"repo_name": "thu0ng91/maiyeu",
"id": "71a58669ffd6efce4c13ea9f64e918c2e9fa1506",
"size": "261... |
declare let ExpoAppleAuthenticationButtonSignInWhite: any;
declare let ExpoAppleAuthenticationButtonSignInWhiteOutline: any;
declare let ExpoAppleAuthenticationButtonSignInBlack: any;
declare let ExpoAppleAuthenticationButtonContinueWhite: any;
declare let ExpoAppleAuthenticationButtonContinueWhiteOutline: any;
declare... | {
"content_hash": "db250a315db805bf1b7b262ed154160c",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 416,
"avg_line_length": 94,
"alnum_prop": 0.9168278529980658,
"repo_name": "exponentjs/exponent",
"id": "46566555a16de855de5921c3d5bdef873ec27e44",
"size": "1034",
"binar... |
/**
* @file cdcacm.h
*
* cdcacm bootloader definitions.
*/
#pragma once
extern void usb_cinit(void *config);
extern void usb_cfini(void);
extern int usb_cin(void);
extern void usb_cout(uint8_t *buf, unsigned len);
| {
"content_hash": "40affb2a3dacce188d1e806059bff781",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 49,
"avg_line_length": 14.866666666666667,
"alnum_prop": 0.6905829596412556,
"repo_name": "acfloria/Firmware",
"id": "18175b5c685b13f1f66c689a574490f34a046aea",
"size": "19... |
@interface ____Tests : XCTestCase
@end
@implementation ____Tests
- (void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
}
- (void)tearDown {
// Put teardown code here. This method is called after the invocation of each test me... | {
"content_hash": "d3be705302f0497ff748c8c0b5e2a46c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 107,
"avg_line_length": 25.03448275862069,
"alnum_prop": 0.6804407713498623,
"repo_name": "wowiwj/Xcode",
"id": "d14b7ea561347e0ab67687f1a0bfbea9f6526b31",
"size": "890",
... |
var url = 'https://sweltering-inferno-6192.firebaseio.com';
var firebaseRef = new Firebase(url);
function funct1(event) {
event.preventDefault();
var tweet_content = $("#user-input").val();
tweet_content = tweet_content.trim();
if (tweet_content.length > 1){
firebas... | {
"content_hash": "4509c977fe90dd431ad6ad6e7df9db24",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 60,
"avg_line_length": 26.047619047619047,
"alnum_prop": 0.5557586837294333,
"repo_name": "peanutbutternsam/peanutbutternsam.github.io",
"id": "c811282c00e194fee2ef39b6db234f... |
namespace courier {
absl::Status Router::Bind(absl::string_view method,
std::shared_ptr<HandlerInterface> method_handler,
bool is_high_priority) {
if (method.empty()) {
return absl::InvalidArgumentError("Bind method name must be non-empty");
}
if (method_ha... | {
"content_hash": "1ce0f9a7e579abd3a43f76b9481dd68e",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 79,
"avg_line_length": 30.73469387755102,
"alnum_prop": 0.6321381142098274,
"repo_name": "deepmind/launchpad",
"id": "dffa3bb4bd4a18a4c1d24a48c8826a599fc7cdc1",
"size": "24... |
while true; do
echo "Restaring cib"
./gradlew run
sleep 5
done
| {
"content_hash": "10f900f716e379642108bcd7ff44a944",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 24,
"avg_line_length": 15,
"alnum_prop": 0.6266666666666667,
"repo_name": "phzfi/RIC",
"id": "d5a59b4baa091e275e7022350f10a0354f0c3156",
"size": "88",
"binary": false,
"... |
<?php
//! Utility class for ZIP archives
class Zip extends Base {
//@{ Locale-specific error/exception messages
const
TEXT_Required='A ZIP archive must be specified',
TEXT_NotValid='File %s is not a valid ZIP archive',
TEXT_UnMethod='Unsupported compression method';
//@}
//@{ ZIP header signatures
const... | {
"content_hash": "1f527480ae087cb6d733b344b7814ffa",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 64,
"avg_line_length": 26.129139072847682,
"alnum_prop": 0.6039792168292992,
"repo_name": "liosha2007/temporary-groupdocs-php-sdk",
"id": "a806476d8e5233443c8aaeca3d09e44859... |
package org.spongepowered.common.event.tracking.phase.plugin;
import org.spongepowered.common.event.tracking.TrackingUtil;
public class BlockWorkerPhaseState extends BasicPluginState {
BlockWorkerPhaseState() {
}
@Override
public void unwind(BasicPluginContext phaseContext) {
phaseContext.g... | {
"content_hash": "2cb4055d17b8b15ad57b4270df3b2e40",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 89,
"avg_line_length": 28.16,
"alnum_prop": 0.71875,
"repo_name": "SpongePowered/SpongeCommon",
"id": "4bfb9af4c4d5ffe6ee1989c477716539d7de1410",
"size": "1951",
"binary"... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<groupId>com.demo</groupId>
<modelVersion>4.0.0</modelVersion>
<artifactId>rest-demo</artifactId>... | {
"content_hash": "7ad6b9b6a65af446135f9408baa02d34",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 105,
"avg_line_length": 33.72477064220183,
"alnum_prop": 0.6139825897714908,
"repo_name": "vollov/spring-lab",
"id": "384b739c7b59832af9323e93ea578dbd06f22390",
"size": "3... |
namespace Prometheus.Client.Tests.Mocks
{
public interface IDummyMetric : IMetric
{
void Observe(long? ts);
}
}
| {
"content_hash": "fd1a463723ca8275a4159438eddc6bb8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 43,
"avg_line_length": 18.857142857142858,
"alnum_prop": 0.6515151515151515,
"repo_name": "phnx47/Prometheus.Client",
"id": "6769c8dde02086bbe41e51d2649964f8721253ee",
"size... |
<!DOCTYPE html>
<title>Reference for WebVTT rendering, ::cue(v), background properties</title>
<style>
html { overflow:hidden }
body { margin:0 }
.video {
display: inline-block;
width: 320px;
height: 180px;
position: relative;
font-size: 9px;
}
.cue {
position: absolute;
bottom: 0;
left:... | {
"content_hash": "962e186600bf66f0b249a8c3c0075014",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 99,
"avg_line_length": 22.833333333333332,
"alnum_prop": 0.6175182481751825,
"repo_name": "chromium/chromium",
"id": "c45b7a550a7c8726d6c2da31ef472e23746e07f2",
"size": "68... |
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height=... | {
"content_hash": "7419ff81df2051a608b2cc9008b65ddb",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 107,
"avg_line_length": 41.64705882352941,
"alnum_prop": 0.6927966101694916,
"repo_name": "k24/prefsoven",
"id": "03c43f8a7ad4bd43ec2f32e8090833e2bdce5419",
"size": "1416",... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cours-de-coq: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "f4b14280197998fcc95f084cfcff944d",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 159,
"avg_line_length": 41.066265060240966,
"alnum_prop": 0.5376265219304679,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "070b0f124e5e1311316268c8d7a189dbf031239e",... |
<?php
namespace SituacaoResponsavelCatequizando\Controller;
use Estrutura\Controller\AbstractCrudController;
use Estrutura\Helpers\Cript;
use Estrutura\Helpers\Data;
use Zend\View\Model\ViewModel;
use Zend\View\Model\JsonModel;
class SituacaoResponsavelCatequizandoController extends AbstractCrudController
{
... | {
"content_hash": "d42a8fded27f0f951dae7d4b10d9c95d",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 223,
"avg_line_length": 32.299065420560744,
"alnum_prop": 0.5992476851851852,
"repo_name": "alyssontkd/catequese",
"id": "851391e16ddaa9a393b00aa1456aae1a50939ec1",
"size"... |
namespace lasso {
struct ProxGradConfig {
int worker_rank = -1;
int feature_start = 0;
int feature_end = 0;
int num_samples = 0;
int num_reps = 1;
};
class ProxGrad {
public:
ProxGrad(const ProxGradConfig& config);
void ProxStep(
const std::vector<petuum::ml::SparseFeature<float>*>& X_cols,
... | {
"content_hash": "781a08f3ecb735fd26a2539048ce18b4",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 68,
"avg_line_length": 26.551724137931036,
"alnum_prop": 0.6538961038961039,
"repo_name": "daiwei89/wdai_petuum_public",
"id": "af6865b70dca6d51f0e12fc6ac104705796886d2",
"... |
PermissionsEx can be configured in-game using its set of commands:
## Argument types
- *subject type*: a type of subject
- *subject*: A compound argument of subject type and identifier
- *context*: A `<context-type>=<context-value>`
- *rank-ladder*: The name of a currently existing rank ladder
- *permission*: A perm... | {
"content_hash": "fec00026dbd8c506aee788e1dc76384a",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 148,
"avg_line_length": 37.44505494505494,
"alnum_prop": 0.742626559060895,
"repo_name": "PEXPlugins/PermissionsEx",
"id": "3390e189aef3d84080d16937ef339050b3d0e4f9",
"siz... |
class Admin::NamespacesController < Admin::BaseController
def index
@special_namespaces = Namespace.where(global: true)
@namespaces = Namespace.not_portus
.where(global: false)
.order("created_at ASC")
.page(params[:page])
end
... | {
"content_hash": "ddef05bdd931d924ce8294a2c91e84f5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 57,
"avg_line_length": 36,
"alnum_prop": 0.5524691358024691,
"repo_name": "angry-tony/Portus-20170827",
"id": "465321e3b22fcd12057902a7db524cb34daf9129",
"size": "324",
"b... |
FROM balenalib/up-core-plus-ubuntu:cosmic-run
# 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
# install python dependencies
RUN apt-get... | {
"content_hash": "801db76a1d957316a1bb1e2690afaa72",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 723,
"avg_line_length": 52.01282051282051,
"alnum_prop": 0.7071727877742174,
"repo_name": "nghiant2710/base-images",
"id": "6d18a4befd8529bb66973ac009627750d13e7f59",
"size... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.hssf.record.IndexRecord (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" ... | {
"content_hash": "61d7b344c55b1f1c0cb619be0d2678a4",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 349,
"avg_line_length": 42.31875,
"alnum_prop": 0.6166002067641412,
"repo_name": "lunheur/JiraSorting",
"id": "6c5b1127f99e287b7d32bd7fe31e639627b65c3c",
"size": "6771",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "367da35727e7c1772fea2e4072d8b08b",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.942583732057415,
"alnum_prop": 0.5099085365853658,
"repo_name": "dcarda/aba.route.validator",
"id": "8454296b604ae162a173f21f3ae4543367579d51",
... |
/// <reference path="../_references.ts"/>
module powerbitests.customVisuals {
import VisualClass = powerbi.visuals.samples.Histogram;
import ValueByAgeData = powerbitests.customVisuals.sampleDataViews.ValueByAgeData;
import assertColorsMatch = powerbitests.helpers.assertColorsMatch;
describe("Histog... | {
"content_hash": "ac393df04855219a7a0eaa9a1e47f738",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 149,
"avg_line_length": 37.10322580645161,
"alnum_prop": 0.47713441140671187,
"repo_name": "sagarvadodaria/PowerBI-visuals",
"id": "50c0f8ecb74f702fe81edb571b8920efa762016b"... |
<?php
namespace GDAPI;
class Type
{
private $clientId;
public function __construct($clientId,$schema)
{
$this->clientId = $clientId;
$this->schema = $schema;
}
public function getById($id)
{
$url = $this->getUrl($id);
$client = $this->getClient();
return $client->request('GET', $u... | {
"content_hash": "b56699ee697f3974de8dff60697723d9",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 140,
"avg_line_length": 25.77777777777778,
"alnum_prop": 0.5044827586206897,
"repo_name": "godaddy/gdapi-php",
"id": "6c9cab4bcb8b128e045c4bf776bb7e7ce7648698",
"size": "6... |
<?php
namespace Services\Event;
use Services\IBaseService;
//Each repository class would implement its own interface class which
//extends the IBaseService:
interface IEventService extends IBaseService {
} | {
"content_hash": "316c327756cd5d8fe5802412877dd1d6",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 72,
"avg_line_length": 19.333333333333332,
"alnum_prop": 0.728448275862069,
"repo_name": "RowlandOti/SlimeApi",
"id": "2c37e2117a70de7db86f63e31eb123f11ece4098",
"size": "2... |
import React from 'react';
import {FilePair} from './CodeDiff';
import {PerceptualDiffMode} from './DiffView';
import {isSameSizeImagePair} from './utils';
// XXX should this just be a component?
/**
* Returns a React.DIV which boxes the changed parts of the image pair.
* scaleDown is in [0, 1], with 1 being full-s... | {
"content_hash": "7b82bf87361b3d0659aa4c3ca1f81ba9",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 75,
"avg_line_length": 33.48,
"alnum_prop": 0.6129032258064516,
"repo_name": "danvk/webdiff",
"id": "f8957e106963291d9ea4a3b5ff7054509267e0af",
"size": "1674",
"binary": ... |
"""
<Program>
transition_canonical_to_twopercent.py
<Purpose>
The purpose of this program is to transition nodes from the
canonical state to the twopercent state by bypassing
through the movingto_twopercent state.
<Started>
November 10, 2010
<Author>
Monzur Muhammad
monzum@cs.washington.edu
<Usage>
... | {
"content_hash": "74ccbbe4d0ee3c13fe67f66454699c35",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 128,
"avg_line_length": 30.6,
"alnum_prop": 0.7379396202925614,
"repo_name": "SensibilityTestbed/clearinghouse",
"id": "ed38d068c71c8980b2b20239b6a2cd4932491e33",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>angles: 31 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="styl... | {
"content_hash": "91cb47171bd2061a3e6d9049d043ede4",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 212,
"avg_line_length": 49.90217391304348,
"alnum_prop": 0.571335221084731,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "84a285bc4122c149106bc7ddf5cbe7c5257df803",
... |
import '../../index';
import { Reference } from '../../src/api/Reference';
import { Query } from '../../src/api/Query';
import { RepoInfo } from '../../src/core/RepoInfo';
export declare const TEST_PROJECT: any;
/**
* Fake Firebase App Authentication functions for testing.
* @param {!FirebaseApp} app
* @retu... | {
"content_hash": "695dd645aa8f3372245a27913f3ffd37",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 84,
"avg_line_length": 43.1219512195122,
"alnum_prop": 0.709841628959276,
"repo_name": "tipographo/tipographo.github.io",
"id": "4cfecf2f4fc0a90e397d9666e78140bf7b35a3e7",
... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... | {
"content_hash": "ca4b905e6ed9af95b47bc28862d085d4",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 696,
"avg_line_length": 38.906976744186046,
"alnum_prop": 0.6535415421398685,
"repo_name": "Kielan/graduation",
"id": "f58b5595b40c8fe0f0c2cb9f0dae473f821287e3",
"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_92) on Wed Jul 27 21:19:24 CEST 2016 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class net.sourcefor... | {
"content_hash": "2b50fd6236c0f8fc456297a407a0087c",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 438,
"avg_line_length": 51.78974358974359,
"alnum_prop": 0.6447172987424498,
"repo_name": "jasonwee/videoOnCloud",
"id": "c65ec352929c97f04d35a01cf72dfb1bc86df9cd",
"size"... |
package com.amazonaws.services.iot.model.transform;
import static com.amazonaws.util.StringUtils.UTF8;
import static com.amazonaws.util.StringUtils.COMMA_SEPARATOR;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.OutputStreamWriter;
import java.io.StringWriter;
import java.i... | {
"content_hash": "5b6405173f23ab69aa6c26e8a92896fb",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 101,
"avg_line_length": 35.75,
"alnum_prop": 0.693986013986014,
"repo_name": "nterry/aws-sdk-java",
"id": "80bae43eec62d644e5d1ebae77ecf8ed276ec9b5",
"size": "4162",
"bi... |
ActiveAdmin.register SubjectMatter do
menu false
permit_params :name, :description, :order, :is_active, :course_id,
lesson_attributes: [:_destroy, :id, :name, :order, :is_approved]
remove_filter :lesson
controller do
def scoped_collection
super.inc... | {
"content_hash": "ff3c9e125c7842e3ee209ad277d8c92c",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 101,
"avg_line_length": 29.377777777777776,
"alnum_prop": 0.43872919818456885,
"repo_name": "empowerhack/SoulMedicine",
"id": "96c14d74b956c76c23c83107bb267c0d10b7c148",
"s... |
using System;
using System.Reactive.Linq;
using System.Windows.Forms;
using System.Reactive.Disposables;
namespace Excercise4
{
class Program
{
static void Main()
{
var txt = new TextBox();
var frm = new Form()
{
Controls = { txt... | {
"content_hash": "7fb5ac28710a77f5b26edcb37ebf53ec",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 110,
"avg_line_length": 30.94736842105263,
"alnum_prop": 0.5306122448979592,
"repo_name": "airbreather/RandomFireplace",
"id": "337e545b91ce0860d1318af237dbb807be61e627",
"... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__new_wchar_t_memcpy_11.cpp
Label Definition File: CWE126_Buffer_Overread__new.label.xml
Template File: sources-sink-11.tmpl.cpp
*/
/*
* @description
* CWE: 126 Buffer Over-read
* BadSource: Use a small buffer
* GoodSource: Use a large bu... | {
"content_hash": "b734af44ab915c37df680d527f5affbf",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 107,
"avg_line_length": 27.924137931034483,
"alnum_prop": 0.5764386268214374,
"repo_name": "JianpingZeng/xcc",
"id": "f60047be941860503c96f674d63274e7de067860",
"size": "4... |
import { regexAddress } from 'lbry-redux';
type DraftTxValues = {
address: string,
// amount: number
};
export const validateSendTx = (formValues: DraftTxValues) => {
const { address } = formValues;
const errors = {};
// All we need to check is if the address is valid
// If values are missing, users wont... | {
"content_hash": "804b2489df8611a22144de8c723c3ba1",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 74,
"avg_line_length": 26.42105263157895,
"alnum_prop": 0.6733067729083665,
"repo_name": "lbryio/lbry-electron",
"id": "a697155adb7a2a958b8d934f71d9e0a84c52e815",
"size": "... |
package com.rodrigodev.xgen4j.model.common.template.model;
import com.rodrigodev.xgen4j.model.common.clazz.ClassDefinition;
import com.rodrigodev.xgen4j.service.time.TimeService;
import lombok.Getter;
import lombok.NonNull;
import lombok.Setter;
import lombok.experimental.Accessors;
import javax.inject.Inject;
impo... | {
"content_hash": "7411ebd0a0acb7b351f1d84f258642f0",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 133,
"avg_line_length": 30.536231884057973,
"alnum_prop": 0.7138111058376839,
"repo_name": "RodrigoQuesadaDev/XGen4J",
"id": "59dbd0e70483952193093d494bcecf91ef7dfd6d",
"si... |
layout: post
comments: true
title: MultiISO LiveDVD
category : Linux
tags : [iso]
---

>MultiISO LiveDVD is an integrated Live DVD technology which combines some of the very popular Live CD ISOs already available on the internet... | {
"content_hash": "9c53c4622d0da1af4ed28620931e8d79",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 415,
"avg_line_length": 38.42424242424242,
"alnum_prop": 0.75,
"repo_name": "em3rg3/em3rg3.github.io",
"id": "219ca7b4ad0c1b559e3f0ee87c31ec2270521795",
"size": "1272",
"... |
// this file was created by SCC 2019 and is largely a derived work from the
// original java class/interface
package org.orekit.python;
import org.orekit.frames.Frame;
import org.orekit.orbits.OrbitType;
import org.orekit.orbits.PositionAngle;
import org.orekit.propagation.Propagator;
import org.orekit.propagation.c... | {
"content_hash": "242198d8be3f54b46a19573a4815beb8",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 80,
"avg_line_length": 27.537815126050422,
"alnum_prop": 0.6640219713152273,
"repo_name": "petrushy/Orekit",
"id": "fa1aa95f56f74ad081504616ede306d621874bd6",
"size": "411... |
https://pubchem.ncbi.nlm.nih.gov/summary/summary.cgi?cid=46941307
| {
"content_hash": "f15cb35460920c1268bbbd231f32abf7",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 65,
"avg_line_length": 66,
"alnum_prop": 0.803030303030303,
"repo_name": "andrewdefries/ToxCast",
"id": "74583c27f36e18ef02d79f58a844bd5b2bbb25e1",
"size": "66",
"binary":... |
<html>
<head>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<title>test</title>
<link rel="icon" type="image/png" sizes="96x96" h... | {
"content_hash": "32e385909bb8fe76731689e66f5487d3",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 216,
"avg_line_length": 43.583333333333336,
"alnum_prop": 0.5952836201402167,
"repo_name": "1701-jan09-java/ims",
"id": "2613f276a4e18cbe427177155731b559455a226e",
"size": ... |
class SecureRequestPropagationMiddleware(object):
"""
When running on AWS Elastic Beanstalk, we suffer
an issue where HTTPS requests arriving at the load
balancer are propagated to the individual hosts as
HTTP requests. If the host issues a redirect it
issues it using the same scheme as its inco... | {
"content_hash": "f17ea6d1c1d37c99c91a3515ae82d526",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 84,
"avg_line_length": 37.375,
"alnum_prop": 0.7090301003344481,
"repo_name": "rtucker-mozilla/WhistlePig",
"id": "5156063255fd009a22d707d74ac3e3f079b5ba03",
"size": "897",... |
\hypertarget{instruction__decoder_8hpp}{}\section{include/mips/decoder/instruction\+\_\+decoder.hpp File Reference}
\label{instruction__decoder_8hpp}\index{include/mips/decoder/instruction\+\_\+decoder.\+hpp@{include/mips/decoder/instruction\+\_\+decoder.\+hpp}}
{\ttfamily \#include $<$mips/core.\+hpp$>$}\\*
{\ttfamily... | {
"content_hash": "272ee36111d46cb40f32481cd0226b3e",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 146,
"avg_line_length": 52.714285714285715,
"alnum_prop": 0.7344173441734417,
"repo_name": "mathnogueira/mips",
"id": "d003370ae99b702b55897d92e808506e3a0e20de",
"size": "7... |
package main
type Action interface {
Run() error
}
| {
"content_hash": "479a81fdac0d9f04c87a644d5307fe0c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 23,
"avg_line_length": 10.6,
"alnum_prop": 0.7169811320754716,
"repo_name": "wuub/roj",
"id": "49c226221c56496aafe9c281c92bb72475824312",
"size": "53",
"binary": false,
... |
/**
* This loader is needed to add additional exports and is a workaround for a Webpack bug that doesn't
* allow exports from multiple files in the same entry.
* @see https://github.com/webpack/webpack/issues/15936.
*/
export default function (this: import('webpack').LoaderContext<{}>, content: string, map: Parame... | {
"content_hash": "aebf8c82be6f1956fad087205e278230",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 155,
"avg_line_length": 54.285714285714285,
"alnum_prop": 0.7473684210526316,
"repo_name": "angular/angular-devkit-build-angular-builds",
"id": "c57506949cfaef27655353e61486d3... |
package main
import (
"flag"
"github.com/golang/glog"
rad "github.com/radanalyticsio/oshinko-cli/pkg/client/clientset/versioned"
informers "github.com/radanalyticsio/oshinko-cli/pkg/client/informers/externalversions"
"github.com/radanalyticsio/oshinko-cli/pkg/crd/controller"
"github.com/radanalyticsio/oshinko-cl... | {
"content_hash": "ff45964e034d5bcee82b8ac0431deb61",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 123,
"avg_line_length": 29.38235294117647,
"alnum_prop": 0.7157157157157157,
"repo_name": "radanalyticsio/oshinko-cli",
"id": "067d0334d14d6c520ffd658eb2d54b65bf2be0f6",
"... |
"""Tests for the fetch_worker module."""
import Queue
import logging
import sys
import time
import unittest
# Local Libraries
import gflags
FLAGS = gflags.FLAGS
# Local modules
from dpxdt.client import fetch_worker
class FetchWorkerTest(unittest.TestCase):
"""Tests for the FetchWorker."""
def setUp(self):... | {
"content_hash": "ac1f54f788b897a8df925242499ab6f7",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 83,
"avg_line_length": 23.904761904761905,
"alnum_prop": 0.6633466135458167,
"repo_name": "bslatkin/dpxdt",
"id": "a21eb947184c2b1ef12092ed1546af89a8208106",
"size": "1603"... |
package main
import (
"fmt"
"net"
"strings"
"github.com/hashicorp/terraform/helper/schema"
)
func resourceDNS() *schema.Resource {
return &schema.Resource{
Create: resourceDNSCreate,
Read: resourceDNSRead,
Update: resourceDNSUpdate,
Delete: resourceDNSDelete,
Schema: map[string]*schema.Schema{
"... | {
"content_hash": "a0e61fa1a6c70e37feb5139a8c7477ec",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 69,
"avg_line_length": 17.904761904761905,
"alnum_prop": 0.6456117021276596,
"repo_name": "mattwilmott/terraform-foreman",
"id": "dc0e94620a7982c520abb47522d49c68f736d1af",
... |
package com.amazonaws.services.lightsail.model.transform;
import java.util.List;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.lightsail.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* DiskMarshaller
*/
@G... | {
"content_hash": "7ebd588673244d21e4aec8f534ce3fed",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 159,
"avg_line_length": 64.78494623655914,
"alnum_prop": 0.7546887966804979,
"repo_name": "aws/aws-sdk-java",
"id": "dfb4acd3048461f38c8afa5ce1abd70bdc1acd29",
"size": "660... |
Package bit provides a bit array implementation and some utility functions.
## Installation
```sh
go get github.com/robskie/bit
```
## Example
A bit array can be used to compactly store integer values in exchange for slower
operations. For example, suppose you have an input that varies from 0 to 1000,
and you want t... | {
"content_hash": "cdc0cd4b1b98ddcdf9c62ac1c6993017",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 82,
"avg_line_length": 35.02857142857143,
"alnum_prop": 0.6794453507340946,
"repo_name": "robskie/bit",
"id": "c84973411401c0791c7fa08cb7e96de5f50a63e8",
"size": "2459",
... |
package ru.job4j.listspeed;
import org.junit.Ignore;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/**
* Класс тестов класса Speed.
*/
public class SpeedTest {
/**
* Объект класса Speed.
*/
private final Speed test = new Speed();
/**
... | {
"content_hash": "1ce79a0a3d9c290533cf50aeebcea04d",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 132,
"avg_line_length": 37.578125,
"alnum_prop": 0.6632016632016632,
"repo_name": "yaegorko/Egor-Kuznetcov",
"id": "a8fb619d4466a60234f22b2d8dff6bbe4712562d",
"size": "2664... |
package cn.haoyunbang.haocommon.widget.qrcode.utils;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.AsyncTask;
import android.os.Batter... | {
"content_hash": "22ddb481a8df988d57f0cb1265f3b150",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 99,
"avg_line_length": 25.544642857142858,
"alnum_prop": 0.7287661656763369,
"repo_name": "haoyunbang/HaoCommon",
"id": "fe561ce6392914ed137a3d658930a6162d61a0cf",
"size":... |
package uk.joshiejack.penguinlib.client.scripting.wrappers;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.item.ItemStack;
import net.minecraft.util.NonNullList;
import uk.joshiejack.penguinlib.client.gui.CyclingStack;
import uk.joshiejack.penguinlib.client.gui.book.label.LabelBook;
import u... | {
"content_hash": "70b8955af9b263a1a1af4580f1fe50ed",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 121,
"avg_line_length": 43.327586206896555,
"alnum_prop": 0.6951850378034222,
"repo_name": "joshiejack/Harvest-Festival",
"id": "f49abe1410447c2c62a4fffb6c586faec5b64f65",
... |
// MIT License
//
// Copyright (c) 2019 Remy Noulin
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify,... | {
"content_hash": "d799f132e819487d206c9bdcbbee4845",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 111,
"avg_line_length": 36.00366300366301,
"alnum_prop": 0.7609115881574932,
"repo_name": "RemyNoulin/libsheepy",
"id": "a2b408f78e2fb77746111dd1fd55fdf43dba1fac",
"size":... |
import django.db.models.deletion
from django.conf import settings
from django.db import IntegrityError, migrations, models
def _populate_hq_oauth_application(apps, schema_editor):
HQOauthApplication = apps.get_model('hqwebapp', 'HQOauthApplication')
Application = apps.get_model(settings.OAUTH2_PROVIDER_APPLIC... | {
"content_hash": "ea0339f1b342892ce1fd3ac79d510891",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 114,
"avg_line_length": 35.27906976744186,
"alnum_prop": 0.5899802241265656,
"repo_name": "dimagi/commcare-hq",
"id": "60c188f997b6050a652f84424e40aed244c4862d",
"size": "1... |
package com.beirtipol.svnmergeutils;
import java.util.function.Predicate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.tmatesoft.svn.core.SVNLogEntry;
/**
*
* @author beirtipol@gmail.com
*
*/
public class QuietTimeMergeCheckerPredicate implements Predicate<SVNLogEntry> {
... | {
"content_hash": "8494923e9d8a72a92a511fb61db1291b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 170,
"avg_line_length": 31.454545454545453,
"alnum_prop": 0.7514450867052023,
"repo_name": "beirtipol/svn-merge-utils",
"id": "5b79cd7bb8e7d7d8497aed480967ed355b21b215",
"s... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
J. Coll. agric. , Hokkaido Imp. Univ. 45: 222 (1941)
#### Original name
Trichoglossum hirsutum f. variabile E.J. Durand, 1908
### Remarks
null | {
"content_hash": "b9976e9a3fb93e2d18c96bdb0a22f9cf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 53,
"avg_line_length": 17.692307692307693,
"alnum_prop": 0.7,
"repo_name": "mdoering/backbone",
"id": "202edd2b2c953d5f07b39a0a5deb53601cc00301",
"size": "319",
"binary":... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>What’s new in Statsmodels — statsmodels v0.10.1 documentation</title>
<link rel="stylesheet" href="../_static/nature.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" t... | {
"content_hash": "210825f00a6a179f0c04ab5804d2bc74",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 210,
"avg_line_length": 42.970238095238095,
"alnum_prop": 0.6212771852057072,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "dea0baff0348970a5b8e01484c9259b72eacf5... |
package org.apache.nutch.urlfilter.api;
// JDK imports
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;
import java.util.ArrayList;
import java.util.List;
import org.junit.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
// Nutch imports
im... | {
"content_hash": "67b52da8309072c93f3dab7b478c8cda",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 79,
"avg_line_length": 26.33613445378151,
"alnum_prop": 0.6273133375877473,
"repo_name": "nhahv/apache-nutch-1.x",
"id": "0b582318e355d9c6d547206ccad0ef730aeae4c2",
"size"... |
(function(window, $){
'use strict';
/**
* @fileOverview Contains the awesome plug-in code.
* @version 1.0.1
* @author Hyyoon &lt;hyyoon@mz.co.kr
*/
/**
* See (http://jquery.com/)
* @name jQuery
* @class
* See the jQuery Library (http://jquery.com/) for full details. This just
* documents ... | {
"content_hash": "315cd3810f706ba3b30822f4088372cc",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 147,
"avg_line_length": 29.08888888888889,
"alnum_prop": 0.5805958747135218,
"repo_name": "sorita114/imageSlider",
"id": "28098a9afa3ee5c92e6999925b2d47595a4e759c",
"size":... |
<application>
<component name="CodeInsightSettings">
<option name="AUTO_POPUP_JAVADOC_INFO" value="true" />
<option name="SELECT_AUTOPOPUP_SUGGESTIONS_BY_CHARS" value="true" />
<option name="SHOW_FULL_SIGNATURES_IN_PARAMETER_INFO" value="true" />
<option name="SURROUND_SELECTION_ON_QUOTE_TYPED" value=... | {
"content_hash": "44db1d53aee247c3e37d170758aa6b69",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 49.54545454545455,
"alnum_prop": 0.691743119266055,
"repo_name": "jackmiras/intellij-idea-config",
"id": "03cb076047a2ee7eab8a5d7ec576ddd52d636ff6",
... |
package com.zheng.cms.web.schedule;
import com.taobao.pamirs.schedule.IScheduleTaskDealSingle;
import com.taobao.pamirs.schedule.TaskItemDefine;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
/**
* 测试任务
* Created by zhangshuz... | {
"content_hash": "e805ebc318ae5c0432db0e329d3bed9f",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 164,
"avg_line_length": 26.555555555555557,
"alnum_prop": 0.6586969515839809,
"repo_name": "shuzheng/zheng",
"id": "2fbf3829ed67777b7c6ebcd6d696b45ddb17e606",
"size": "1897... |
"""Tests for BERT trainer network."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from absl.testing import parameterized
import tensorflow as tf
from tensorflow.python.keras import keras_parameterized # pylint: disable=g-direct-tensorflow-import
from ... | {
"content_hash": "bff819a9a99f39fe277657b848aad268",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 101,
"avg_line_length": 44.09782608695652,
"alnum_prop": 0.7160463396598472,
"repo_name": "tombstone/models",
"id": "8e00c0313c61e1d8b1c4075933efee6eddcefd58",
"size": "474... |
"use strict";
var __extends = (this && this.__extends) || function (d, b) {
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var SearchMailboxesResult_1 = require("../../Mai... | {
"content_hash": "abffcfd8e26d973c0d8b5f649c9448b5",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 174,
"avg_line_length": 38.55769230769231,
"alnum_prop": 0.6488778054862843,
"repo_name": "eino-makitalo/ews-javascript-npmbuild",
"id": "7625bf2faa04bb16a2a7dd54d92c08980031... |
<?php
/**
* Created by IntelliJ IDEA.
* User: brlamore
* Date: 7/18/14
* Time: 4:57 PM
*/
namespace RockIT\TechgamesBundle\Model;
class TeamManager{
private $_items = array();
private $_profileManager;
public function __construct()
{
$this->_profileManager = new ProfileManager();
... | {
"content_hash": "f71378b68ddaa1eefb697cfe64d8c868",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 99,
"avg_line_length": 37.31304347826087,
"alnum_prop": 0.5697972500582614,
"repo_name": "briglx/techgames",
"id": "4d3d2b08fd4d0d1d667e60c524b3dd24eeeb0e57",
"size": "429... |
#import "YapDatabaseTransaction.h"
#import "YapDatabasePrivate.h"
#import "YapDatabaseExtensionPrivate.h"
#import "YapDatabaseString.h"
#import "YapDatabaseLogging.h"
#import "YapCache.h"
#import "YapCollectionKey.h"
#import "YapTouch.h"
#import "YapNull.h"
#import <objc/runtime.h>
#if ! __has_feature(objc_arc)
#warn... | {
"content_hash": "5c436ac3020f595500561f640dbf5c85",
"timestamp": "",
"source": "github",
"line_count": 5866,
"max_line_length": 124,
"avg_line_length": 34.140811455847256,
"alnum_prop": 0.6856244070504819,
"repo_name": "ramoslin02/YapDatabase",
"id": "46b20dc749359a94e1b9340a329b55426365a8c7",
"si... |
import Ember from 'ember';
var require = Ember.__loader.require;
var OutletKeyword = require('ember-htmlbars/keywords/outlet').default;
var ViewNodeManager = require('ember-htmlbars/node-managers/view-node-manager').default;
export function patchOutletKeyword() {
var baseRender = OutletKeyword.render;
OutletKeywor... | {
"content_hash": "5133d87ca6ff63a00de922301beaddcb",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 112,
"avg_line_length": 33.76744186046512,
"alnum_prop": 0.6873278236914601,
"repo_name": "mdehoog/ember-routable-components-shim",
"id": "9a9f45104ffdda50785e0fd0ba6cc38edfb... |
Raytracer in haskell
## Goal
Implementing a haskell raytracer which can render physically believable
pictures. The 'pbrt' of haskell ( https://github.com/mmp ).
## TODO
- [ ] Absract stuff into modules.
- [ ] Use lua to define scene(s), camera's, objects, shaders, texture (image and mapping), position and scale (ST... | {
"content_hash": "b7aade733c5d5d2408b0dbccd733e614",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 609,
"avg_line_length": 48.333333333333336,
"alnum_prop": 0.768025078369906,
"repo_name": "wouteroostervld/snell",
"id": "5ec3b5bcbb2cfecd9934a791aafb3015416796f0",
"size":... |
<?php
namespace ZendTest\Http\Header;
use Zend\Http\Header\IfModifiedSince;
class IfModifiedSinceTest extends \PHPUnit_Framework_TestCase
{
public function testIfModifiedSinceFromStringCreatesValidIfModifiedSinceHeader()
{
$ifModifiedSinceHeader = IfModifiedSince::fromString('If-Modified-Since: Sun,... | {
"content_hash": "b673f5c80a1f8e509a1a0481a6a6ed5b",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 116,
"avg_line_length": 36.679245283018865,
"alnum_prop": 0.7052469135802469,
"repo_name": "malinink/zend-http",
"id": "8a9cf0514995eb90ac9e83aa36157bb44bf22d91",
"size": "... |
package com.reason.lang.core.psi;
import com.intellij.psi.impl.source.tree.*;
import com.intellij.psi.tree.*;
import org.jetbrains.annotations.*;
public class PsiDefaultValue extends CompositePsiElement {
public PsiDefaultValue(@NotNull IElementType elementType) {
super(elementType);
}
@Override
... | {
"content_hash": "fae0fe6a2e69287ac69c5d1fe14d0ac6",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 63,
"avg_line_length": 24.9375,
"alnum_prop": 0.7167919799498746,
"repo_name": "reasonml-editor/reasonml-idea-plugin",
"id": "1555812d1f15f5f856eb0eceb67c0f57109f7618",
"si... |
/// Deserialization infrastructure for tflite. Provides functionality
/// to go from a serialized tflite model in flatbuffer format to an
/// interpreter.
///
#ifndef TENSORFLOW_LITE_MODEL_H_
#define TENSORFLOW_LITE_MODEL_H_
#include <memory>
#include "tensorflow/lite/c/c_api_internal.h"
#include "tensorflow/lite/cor... | {
"content_hash": "d52fcfbf7186efdcfe084b9479c8376c",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 80,
"avg_line_length": 47.96244131455399,
"alnum_prop": 0.7293461237274863,
"repo_name": "ghchinoy/tensorflow",
"id": "cf5c930455fbd8c6be7daefc9755d7d3501c5d95",
"size": "... |
package co.cdev.agave.web;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.util.Comparator;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.SortedSet;
import java.util.TreeSet;
import java.util.logging.Level;... | {
"content_hash": "2efe713fbd0f1bb4bbabb2b842e6a642",
"timestamp": "",
"source": "github",
"line_count": 464,
"max_line_length": 124,
"avg_line_length": 41.75431034482759,
"alnum_prop": 0.5856302260761845,
"repo_name": "damiancarrillo/agave-framework",
"id": "11b1a01154713af04d606ce5500244a38e9fdaa0",... |
/**
* A Lambda function that looks up a AMI ID for a given ami name.
**/
const CfnLambda = require('cfn-lambda');
const CleanupLogic = require('./bucketCleanupLogic.js');
//Clean up S3 bucket
var Delete = (requestPhysicalID, cfnRequestParams, reply) => {
new CleanupLogic(cfnRequestParams.BucketName, function (... | {
"content_hash": "6e8e65929b59bcf585e560ad1578601d",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 83,
"avg_line_length": 26.352941176470587,
"alnum_prop": 0.6741071428571429,
"repo_name": "base2Services/cloudformation-custom-resouces",
"id": "b830d056b4776052678736bbc61d7... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<include
layout="@layout/title_bar"
... | {
"content_hash": "0bff8a8021b76d51ee48f08fc3075b92",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 72,
"avg_line_length": 34.75,
"alnum_prop": 0.5833333333333334,
"repo_name": "chen4346/MyMedialPlayer",
"id": "13632419917478bd19cea2bcfaf18f77eb7357c3",
"size": "1668",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.