text stringlengths 2 1.04M | meta dict |
|---|---|
(function CharacterModel(angular, clazz) {
'use strict';
var app = angular.module('jsWars');
app.factory('Character', ['GameObject', function CharacterFactory() {
return clazz(function Character() {
this.extend = 'GameObject';
this.private = {
id: {
... | {
"content_hash": "b73f55d7027c7ac7f6289533a8654ffc",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 110,
"avg_line_length": 30.936708860759495,
"alnum_prop": 0.395253682487725,
"repo_name": "EnoF/JSWars",
"id": "855cee6dfb403ccedad19d9f723859159ecf5baa",
"size": "2498",
... |
riko FAQ
========
Index
-----
`What pipes are available`_ | `What file types are supported`_ | `What protocols are supported`_
What pipes are available?
-------------------------
Overview
^^^^^^^^
riko's available pipes are outlined below [#]_:
+----------------------+-----------+---------------+----------------... | {
"content_hash": "fc0fb12d23663e35d02bae9375e945ec",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 147,
"avg_line_length": 86.25630252100841,
"alnum_prop": 0.3620731647912709,
"repo_name": "nerevu/riko",
"id": "e19e06de423c458b0111566bcafc8506d5d1fc81",
"size": "20529",... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c5c6f50605083f11022d61ccd14b0617",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "7d387179af24a4a223b68312bc401a7e342da04d",
"size": "21... |
package pe.org.reclamos.entidad;
import java.io.Serializable;
import java.util.Date;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColum... | {
"content_hash": "4320e1b66f34d15dfabd9d1ac30802fb",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 114,
"avg_line_length": 21.543624161073826,
"alnum_prop": 0.7498442367601246,
"repo_name": "lekvispk/reclamos_vera",
"id": "fe3ed7087ad992140811892156ed09245882b8e8",
"siz... |
using System.Collections.Generic;
using MOE.Common.Models.Inrix;
using MOE.Common.Models.Inrix.Repositories;
namespace MOE.Common.Business.Inrix
{
public class Group
{
protected string description;
protected int id;
public List<Route> Items = new List<Route>();
protected stri... | {
"content_hash": "58a635d4d8a579b18bd9edec8ec6d177",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 106,
"avg_line_length": 25.186206896551724,
"alnum_prop": 0.5035596933187295,
"repo_name": "udotdevelopment/ATSPM",
"id": "6198661561fedbe918066c91931404e1156281a3",
"size... |
FAQS
======
Conda related
---------------
Create a conda environment on IP cluster::
module load conda
conda create --name py37 python=3.7
conda activate py37
add channel from where to download packages::
conda config --add channels r bioconda
conda install sequana
What are the dependencies
... | {
"content_hash": "e228f38923b8d64819135463ec205258",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 113,
"avg_line_length": 26.6,
"alnum_prop": 0.7058555479608111,
"repo_name": "sequana/sequana",
"id": "ec2410ea8fcf083b57259c14384b9610d82cba03",
"size": "8782",
"binary... |
require 'json'
require 'time'
require 'concurrent'
require 'sprockets/manifest_utils'
require 'sprockets/utils/gzip'
module Sprockets
# The Manifest logs the contents of assets compiled to a single directory. It
# records basic attributes about the asset for fast lookup without having to
# compile. A pointer f... | {
"content_hash": "1838bbf089c0914abeb3a5d7a0659d39",
"timestamp": "",
"source": "github",
"line_count": 336,
"max_line_length": 92,
"avg_line_length": 30.116071428571427,
"alnum_prop": 0.6126099416938433,
"repo_name": "msaintemarie/msaintemarie.github.io",
"id": "2d42c9f8b08a8c597153394b7472a114055e2... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Syst. mycol. (Lundae) 1: 505 (1821)
#### Original name
Boletus sector Ehrenb., 1820
### Remarks
null | {
"content_hash": "b9f9a59aa1f1b8724b72ba6287ba0e78",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 35,
"avg_line_length": 12.615384615384615,
"alnum_prop": 0.6829268292682927,
"repo_name": "mdoering/backbone",
"id": "4a81c6e5136d2f6c754cd317330de19f1a80d4ca",
"size": "23... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Cr... | {
"content_hash": "7209e12b158ee217cb02c6413a64f2ab",
"timestamp": "",
"source": "github",
"line_count": 877,
"max_line_length": 229,
"avg_line_length": 48.4321550741163,
"alnum_prop": 0.601577398469688,
"repo_name": "AsrOneSdk/azure-sdk-for-net",
"id": "0e46569a94e91373d6570c6c8288d221b30d3682",
"s... |
FROM balenalib/orangepi-plus2-ubuntu:eoan-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": "a0c729ccae74e338913fcb9e4ee1e8bb",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 706,
"avg_line_length": 51.8974358974359,
"alnum_prop": 0.7080039525691699,
"repo_name": "nghiant2710/base-images",
"id": "c700861eb166a56f25cb563b8f465a8db1cdf1e4",
"size"... |
package in.devmetric.opportunityhackcwdr.Fragments;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import... | {
"content_hash": "44c3f7f84a90dc01cc5ccf77b0b204e0",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 129,
"avg_line_length": 34.732824427480914,
"alnum_prop": 0.6751648351648352,
"repo_name": "SilverFoxA/OpportunityHack2k16",
"id": "2298515c2a8d6181a20aa900ec634020131817a8"... |
1. **Database**: [Dynomite](https://github.com/Netflix/dynomite)
2. **Indexing Backend**: [Elasticsearch 2.x](https://www.elastic.co)
2. **Servlet Container**: Tomcat, Jetty, or similar running JDK 1.8 or higher
There are 3 ways in which you can install Conductor:
#### 1. Build from source
To build from source, check... | {
"content_hash": "bf30e8968ef4c8f596ca75a87c1bef30",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 316,
"avg_line_length": 39.458333333333336,
"alnum_prop": 0.7745512143611405,
"repo_name": "d3sw/conductor",
"id": "6d2d58a906a771d06966a46baa1ca9716bc9d536",
"size": "3820... |
package ledger
import (
"crypto/ecdsa"
"errors"
"fmt"
"math/big"
"github.com/wojtechnology/glacier/crypto"
)
type Transaction struct {
AccountNonce uint64
V *big.Int
R, S *big.Int
To Address
Amount *big.Int
}
// ---------------
// Transaction API
// ---------------
type... | {
"content_hash": "f856cf53281f65b39bf6e7c2bdfb2c47",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 87,
"avg_line_length": 23.655555555555555,
"alnum_prop": 0.6284640676373885,
"repo_name": "Wojtechnology/glacier",
"id": "686c845df32f36cb877d3cb72138ec3803deb5ff",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.longsh.pagerslidingtabstrip">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl=... | {
"content_hash": "b920c2b3ff5e1b21705472bf3249385e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 76,
"avg_line_length": 33.55,
"alnum_prop": 0.6199701937406855,
"repo_name": "q805699513/PagerSlidingTabStrip",
"id": "dfaf5717a298128360f92d3f99a57588defd44b7",
"size": "6... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>metacoq-pcuic: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.m... | {
"content_hash": "f7576cb92eb2039d6e729f3dffa8febe",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 159,
"avg_line_length": 42.74054054054054,
"alnum_prop": 0.557986594157076,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "d21a8f704dd7c40d2c784a2473365c52eb798a4b",
... |
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/light_primary_color" />
<corners android:radius="20px" />
</shape> | {
"content_hash": "ca7815d8fd1dde428e2b294099f58ce5",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 65,
"avg_line_length": 39.833333333333336,
"alnum_prop": 0.6861924686192469,
"repo_name": "engineerchef/MovieDB",
"id": "281fc9eb39b039dee35f0a26cb5ba9fca177a2d8",
"size": "... |
<?php
namespace Brainstrap\Bundles\FrontBundle\Tests\Controller\Tariff;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class TariffGroupControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static:... | {
"content_hash": "fb37f7cb404c0d8c548a764d4a711097",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 134,
"avg_line_length": 36.92727272727273,
"alnum_prop": 0.6174298375184638,
"repo_name": "karmis/hotel",
"id": "68d26583b8925eb0d70c1feaebc23e3a46a19e95",
"size": "2031",
... |
require "pathname"
require "execjs"
require "json"
IS_SECTION = /^\s*\[(.+)\]\s*$/
module AutoprefixerRails
# Ruby to JS wrapper for Autoprefixer processor instance
class Processor
def initialize(params = {})
@params = params || {}
end
# Process `css` and return result.
#
# Options can ... | {
"content_hash": "3cdc7ca6f1f6ea4063daf923c3a55348",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 78,
"avg_line_length": 28.144329896907216,
"alnum_prop": 0.5642857142857143,
"repo_name": "hafeild/alice",
"id": "f5fa0b05e25793f58764873cd928757541529408",
"size": "5464"... |
{-# LANGUAGE UnicodeSyntax #-}
import Criterion.Main
import Control.DeepSeq
import Control.Monad (MonadPlus)
import Data.Serialize
import System.Environment
import LogicGrowsOnTrees
import LogicGrowsOnTrees.Checkpoint
import LogicGrowsOnTrees.Utils.PerfectTree
import qualified LogicGrowsOnTrees.Parallel.Adapter.Threa... | {
"content_hash": "e3d64878a689bf57f220493ef47d4dce",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 78,
"avg_line_length": 33.10526315789474,
"alnum_prop": 0.7170111287758346,
"repo_name": "gcross/LogicGrowsOnTrees",
"id": "49ae73e5d4b177d4baec55761423f616d224a48c",
"size... |
/**
* JBusiCmdProd.java 2010/06/08
*/
package com.ycsoft.beans.core.job;
import java.io.Serializable;
import com.ycsoft.daos.config.POJO;
/**
* JBusiCmdProd -> J_BUSI_CMD_PROD mapping
*/
@POJO(tn = "J_BUSI_CMD_PROD", sn = "", pk = "")
public class JBusiCmdProd implements Serializable {
// JBus... | {
"content_hash": "5d6054990c1348baf3c8e88105f4ea0b",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 67,
"avg_line_length": 17.483333333333334,
"alnum_prop": 0.6339370829361296,
"repo_name": "leopardoooo/cambodia",
"id": "a95d7136e163b9f7ff61cd42f327228c0fe00d75",
"size": ... |
package s3shared
// goModuleVersion is the tagged release for this module
const goModuleVersion = "1.13.3"
| {
"content_hash": "a24832d02a015ab7bf759c332d29e23f",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 56,
"avg_line_length": 27,
"alnum_prop": 0.7870370370370371,
"repo_name": "GeoNet/fdsn",
"id": "fac99791b7aca775eb4dc05d324d3fea5cb1540f",
"size": "183",
"binary": false,
... |
.class public Landroid/media/AudioTrack;
.super Ljava/lang/Object;
.source "AudioTrack.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/media/AudioTrack$NativeEventHandlerDelegate;,
Landroid/media/AudioTrack$OnPlaybackPositionUpdateListener;
}
.end an... | {
"content_hash": "5aa7beee04027b4a5fa9aa92273b6aae",
"timestamp": "",
"source": "github",
"line_count": 2150,
"max_line_length": 176,
"avg_line_length": 20.162790697674417,
"alnum_prop": 0.6659515570934256,
"repo_name": "baidurom/reference",
"id": "9013634ea3a0bd8799fbb59f9178ef77c3bb4da5",
"size":... |
The first release!!!
| {
"content_hash": "23da1fa31940180652efdcceb98393f3",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 20,
"avg_line_length": 21,
"alnum_prop": 0.7142857142857143,
"repo_name": "kou/mruby-slop",
"id": "4727ed8fd1380f044c044ea9a030d52162fe8fdf",
"size": "51",
"binary": false... |
<?php
namespace Gems\Task\Tracker\Import;
use Gems\Tracker\Engine\FieldsDefinition;
/**
*
*
* @package Gems
* @subpackage Task\Tracker
* @copyright Copyright (c) 2018 Erasmus MC
* @license New BSD License
* @since Class available since version 1.8.4
*/
class CreateTrackRoundConditionImportTask ... | {
"content_hash": "334fce94970aae606fe6af750c87695a",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 131,
"avg_line_length": 33.69662921348315,
"alnum_prop": 0.5541847282427476,
"repo_name": "GemsTracker/gemstracker-library",
"id": "d1b0fb2ac95ee0fe8597648564560eea4d20ef72",... |
/**
*/
package io.yaktor.conversation;
import io.yaktor.types.ProjectionField;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Transition</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link... | {
"content_hash": "9cb4d2ad2832112ba3db5cc805a810a8",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 128,
"avg_line_length": 34.7037037037037,
"alnum_prop": 0.6604855923159018,
"repo_name": "SciSpike/yaktor-dsl-xtext",
"id": "859dfa1048783c117a9897a799852e34a7b8096f",
"si... |
import { MongoClient, MongoClientOptions, Db, Collection } from "mongodb";
import { Bucket } from "./Bucket";
import {
AutoIncrementStrategy,
IncrementCountersStrategy,
} from "./autoIncrementStrategies";
export interface EventStoreOptions {
url: string;
connectOptions?: MongoClientOptions;
}
export class Eve... | {
"content_hash": "81c4e982aeaddd00c5ebc2a8f136fb32",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 74,
"avg_line_length": 23.822580645161292,
"alnum_prop": 0.6648612051455653,
"repo_name": "deltatre-webplu/nestore-js-mongodb",
"id": "4bc04e2ce6e855e1c77ae86f51a048039c38726... |
import pytest
from astropy.tests.helper import assert_quantity_allclose
from astropy.units import allclose as quantity_allclose
from astropy import units as u
from astropy.coordinates import Longitude, Latitude, EarthLocation
from astropy.coordinates.sites import get_builtin_sites, get_downloaded_sites, SiteRegistry
... | {
"content_hash": "5332f143f01e4ff4e59e3294128be919",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 141,
"avg_line_length": 36.270718232044196,
"alnum_prop": 0.6673267326732674,
"repo_name": "saimn/astropy",
"id": "160a24baa158808f31426c2f2a50e9da3e700399",
"size": "6566... |
module ActiveRecord
module ConnectionAdapters
module SQLServer
module DatabaseLimits
def table_alias_length
128
end
def column_name_length
128
end
deprecate :column_name_length
def table_name_length
128
end
depre... | {
"content_hash": "f7e9e7e18316b60bfb96d61a821a7492",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 74,
"avg_line_length": 19.873015873015873,
"alnum_prop": 0.5439297124600639,
"repo_name": "rails-sqlserver/activerecord-sqlserver-adapter",
"id": "4fa681115d827c80cfa862eb892... |
<?xml version="1.0" encoding="UTF-8"?>
<Message xmlns="urn:Messages">
<someData/>
<PolicyAccount>
<bankAccount>aaaaaaaaaaaaaaaaaa</bankAccount>
<GEVONDEN xmlns="">Hoi</GEVONDEN>
<PartyAgreementRole>
<Id>2410367</Id>
</PartyAgreementRole>
<PartyAgreementRole>
<Id>2412367</Id>
</PartyAgreementRole>
<... | {
"content_hash": "edd1af354cd863a1f495b99b5305249d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 47,
"avg_line_length": 24.2,
"alnum_prop": 0.7107438016528925,
"repo_name": "ibissource/iaf",
"id": "3bc1f7149cf8508fcbba6b2fc262dff6bb1fdbb8",
"size": "363",
"binary": f... |
page_title: "Usage - Hyper-V Provider"
sidebar_current: "hyperv-usage"
---
# Usage
The Hyper-V provider is used just like any other provider. Please
read the general [basic usage](/v2/providers/basic_usage.html) page for
providers.
The value to use for the `--provider` flag is `hyperv`.
Hyper-V also requires that y... | {
"content_hash": "06d94e2332aab086f1dcc6a7dd3586b6",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 34.05,
"alnum_prop": 0.7723935389133627,
"repo_name": "iNecas/vagrant",
"id": "e91c7e92e94b59eac584302deacc593c1152c5fc",
"size": "685",
"binary": ... |
var AnnotationToolMixin = require("../../writer").AnnotationToolMixin;
var TimecodeTool = React.createClass({
mixins: [AnnotationToolMixin],
displayName: "TimecodeTool",
annotationType: "timecode",
toolIcon: "fa-clock-o"
});
module.exports = TimecodeTool; | {
"content_hash": "f3e16f7d99d867c07ab03fe65634eef5",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 70,
"avg_line_length": 26.5,
"alnum_prop": 0.7396226415094339,
"repo_name": "substance/archivist-composer",
"id": "c2aeb0bb4cf8121191aa516390275bce1e2e4dea",
"size": "265",... |
import React from 'react'
import { renderWithTheme } from '@looker/components-test-utils'
import { screen, waitFor, fireEvent } from '@testing-library/react'
import { api } from '../../test-data'
import { DocPrimaryResponse } from './DocPrimaryResponse'
describe('DocPrimaryResponse', () => {
const response = api.m... | {
"content_hash": "abadcd4429950b3f6c0d8b93280039a6",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 68,
"avg_line_length": 32.785714285714285,
"alnum_prop": 0.6928104575163399,
"repo_name": "looker-open-source/sdk-codegen",
"id": "23418cacf29088c294ca25488595d71751f2c78f",
... |
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
... | {
"content_hash": "81c9ef7a447b53e451788c4469237331",
"timestamp": "",
"source": "github",
"line_count": 324,
"max_line_length": 219,
"avg_line_length": 38.0462962962963,
"alnum_prop": 0.7030907763446094,
"repo_name": "arenadata/ambari",
"id": "6c9289a767d682d57a909f0827cc1a744c523f9f",
"size": "123... |
package object
import (
"bytes"
"io"
"io/ioutil"
"github.com/go-git/go-git/v5/plumbing"
. "gopkg.in/check.v1"
)
type BlobsSuite struct {
BaseObjectsSuite
}
var _ = Suite(&BlobsSuite{})
func (s *BlobsSuite) TestBlobHash(c *C) {
o := &plumbing.MemoryObject{}
o.SetType(plumbing.BlobObject)
o.SetSize(3)
wr... | {
"content_hash": "612250ff2c13d03992b9f6d04b3cee47",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 81,
"avg_line_length": 21.495652173913044,
"alnum_prop": 0.6557443365695793,
"repo_name": "go-git/go-git",
"id": "44613433a1f474a719c7a29dbecfa63b548566a7",
"size": "2472"... |
int error_count = 0;
#ifndef BOOST_NO_ADL_BARRIER
#include "boost_no_adl_barrier.ipp"
#else
namespace boost_no_adl_barrier = empty_boost;
#endif
#ifndef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
#include "boost_no_arg_dep_lookup.ipp"
#else
namespace boost_no_argument_dependent_lookup = empty_boost;
#endif
#ifndef BOOST_NO_AR... | {
"content_hash": "a8f07b54036c685ae28d52916aa191d5",
"timestamp": "",
"source": "github",
"line_count": 1929,
"max_line_length": 148,
"avg_line_length": 33.37532400207361,
"alnum_prop": 0.6293005700439571,
"repo_name": "aspectron/jsx",
"id": "5af882395085f0ec09390a61d6768dcea32076fa",
"size": "6510... |
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@+id/elimina"
android:title="@string/dialog_remove_title" />
<!-- menu group
<group android:id="@+id/group1">
<item android:id="@+id/groupItem1"
... | {
"content_hash": "a5c98d39ea0f9ddf8a2356adbe49cf35",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 65,
"avg_line_length": 34.285714285714285,
"alnum_prop": 0.5770833333333333,
"repo_name": "souliss/soulissapp",
"id": "f46a1e90794c6720e0a9cc0ee899cb7d26455d17",
"size": "4... |
This Docker image features
- backup files to Amazon S3 (including tar & gzip)
- restore a backup
- optional: encrypt the backup file before uploading to S3 / decrypt after downloading from S3
## Backup
tar & gzip files in volume "/data", upload to S3 bucket
docker run --rm \
-v /var/myapp/data:/data:... | {
"content_hash": "e582b125bef4e2f2d6e59da8b5c20305",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 217,
"avg_line_length": 36.96363636363636,
"alnum_prop": 0.7137235612395475,
"repo_name": "rori-dev/backup-to-s3",
"id": "84e944b124ff43f5ea6ea83d1f071cdeab792e06",
"size":... |
from __future__ import absolute_import
import ast
# ============= standard library imports ========================
import os
import six
import yaml
from traits.api import Int, on_trait_change, Str, Property, cached_property, \
Float, Bool, HasTraits, Instance, TraitError, Button, List, Enum
from traitsui.api imp... | {
"content_hash": "b505d9e83d2d6b675a0b29c423db54d5",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 113,
"avg_line_length": 36.48717948717949,
"alnum_prop": 0.5541612287922899,
"repo_name": "UManPychron/pychron",
"id": "71ab0dee4ed52548ae9cce15a786c3f6aad90634",
"size": ... |
<!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"/>
<title>ITKMultigridAnisotr... | {
"content_hash": "0693517e9816413466e87a8dbf24b943",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 690,
"avg_line_length": 48.06666666666667,
"alnum_prop": 0.6715210355987055,
"repo_name": "nellogrb/MultigridAnisotropicDiffusion",
"id": "129fcd0eca7bd152d40277d4b0643c6b572... |
package com.intellij.ide.projectView.impl.nodes;
import com.intellij.icons.AllIcons;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.projectView.ProjectViewNode;
import com.intellij.ide.projectView.ViewSettings;
import com.intellij.ide.util.treeView.Ab... | {
"content_hash": "fde3369aaee10fca78f1becea156fb7a",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 151,
"avg_line_length": 37.84615384615385,
"alnum_prop": 0.7642276422764228,
"repo_name": "consulo/consulo",
"id": "cf0327c85f27d4abc2212df40d476d4ad59559e9",
"size": "601... |
using std::vector;
using cv::Mat; using cv::RotatedRect;
//¸¨ÖúÀ࣬ÓÃÒÔ´æ´¢Êä³öÄ¿±êµÄÖØÐÄ×ø±ê
class Coordinate
{
public:
Coordinate(){}
Coordinate(float x, float y) { mCenterX = x; mCenterY = y;}
void setCenterX(float x) { mCenterX = x;}
float getCenterX() {return mCenterX;}
void setCenterY(float y) {mCenterY = y... | {
"content_hash": "29be6bcb9b8719f9e8c85c9e705813c2",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 132,
"avg_line_length": 28,
"alnum_prop": 0.7314285714285714,
"repo_name": "sxxlearn2rock/SissorActionTest",
"id": "51a282c059302e52d6dc5e1a61ab9c31b578d7a8",
"size": "1543... |
@interface PodsDummy_Pods_ShakeNBake_BouncerSDK : NSObject
@end
@implementation PodsDummy_Pods_ShakeNBake_BouncerSDK
@end
| {
"content_hash": "8efc6b7e8124a2d0a8dc537245d847fa",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 58,
"avg_line_length": 30.5,
"alnum_prop": 0.8442622950819673,
"repo_name": "yahoo/SynUserMock",
"id": "c6d5b7b11972d2f32f06fa4a738add2f71212b93",
"size": "156",
"binary":... |
<!--<div class="login-page" [@routerTransition]>-->
<!--<div class="row">-->
<!--<div class="col-md-4 push-md-4">-->
<!--<img src="assets/images/logo.png" width="150px" class="user-avatar" />-->
<!--<h1>SB Admin BS4 Angular4</h1>-->
<!--<form #f="ngForm" (ngSubmit)="onLo... | {
"content_hash": "aeb2ce06997a49fbc86203d9b166da81",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 217,
"avg_line_length": 44.01136363636363,
"alnum_prop": 0.4606248386263878,
"repo_name": "delacro14/Utilica",
"id": "ee15e67cbdf2b9de21bdf14e905f1f90f5451ed5",
"size": "38... |
/* @flow*/
import { connect } from 'react-redux'
import { receiveLogin, requestLogin, loginError, validateEmail,
successValidateEmail, emailError, successValidatePassword,
passwordError, updateEmail, logoutUser, loginUser } from '../modules/loginUser'
import { userObject } from '../interfaces/user'
/... | {
"content_hash": "ea1cb3160f32479d4e4087191aaa026c",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 93,
"avg_line_length": 37.63333333333333,
"alnum_prop": 0.7480070859167405,
"repo_name": "synchu/schema",
"id": "6461d82242155e8004b70415bbefdd2fc0dc0c06",
"size": "2258",
... |
package org.eigenbase.sql.fun;
import java.util.*;
import org.eigenbase.reltype.*;
import org.eigenbase.sql.*;
import org.eigenbase.sql.type.*;
import org.eigenbase.sql.validate.*;
import com.google.common.collect.ImmutableList;
import static org.eigenbase.util.Static.RESOURCE;
/**
* Definition of the SQL <code>... | {
"content_hash": "03527c263a757ff03eda1e92b5f0b4e2",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 78,
"avg_line_length": 31.108974358974358,
"alnum_prop": 0.6233257778693592,
"repo_name": "nvoron23/incubator-calcite",
"id": "b120d78bc9fef0c6aa4450ccdf6d4ccc64971d31",
"... |
'use strict';
var shell = require('shelljs');
module.exports = function( grunt ) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
nodemon: require('./gruntConfig/nodemon.js')(),
watch: require('./gruntConfig/watch.js')(grunt),
concurrent: require('./gruntConfig/concur... | {
"content_hash": "e00adb4e06ee048f554efcf348d85233",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 70,
"avg_line_length": 30.25,
"alnum_prop": 0.5964187327823691,
"repo_name": "keunlee/sample-fullstack-app",
"id": "5047027633406ddd80695194170f1a24b9cd85bd",
"size": "726"... |
[url]: https://jonathanchan.me
# [jonathanchan.me][url] [](https://travis-ci.com/NathanJang/nathanjang.github.io)
This is the source code to my [personal website][url].
The site is continuously deployed to GitHub Pages with Travis.
To develo... | {
"content_hash": "886b9e266caf30038a7dab7d9d68e10b",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 157,
"avg_line_length": 28.10909090909091,
"alnum_prop": 0.7309184993531694,
"repo_name": "NathanJang/nathanjang.github.io",
"id": "5c3e63db19a2bb3c5b66fb591da8ee6a1ea352d6",... |
These source code samples are listed and grouped by their programming language and functions they use. ByteScout SWF To Video SDK helps with FLV to WMV in VBScript. ByteScout SWF To Video SDK is the library that can take SWF (Flash Macromedia) files and convert into WMV or AVI video with sound. Dynamic flash movie scen... | {
"content_hash": "b65a314bc7eb003aff1ec35fa3699109",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 428,
"avg_line_length": 42.98876404494382,
"alnum_prop": 0.7673810768426556,
"repo_name": "bytescout/ByteScout-SDK-SourceCode",
"id": "e1e30b0f72d3d5d40c954b75bfbee963fa574aa... |
module DCM
module Infrastructure
module ServerProduct
end
end
end
| {
"content_hash": "943dbebde2a8b9ec54d49cdb4b6f1bc3",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 24,
"avg_line_length": 13,
"alnum_prop": 0.7307692307692307,
"repo_name": "jbrien/rbdcm-api",
"id": "a0bca68b41abdfd4ed544e4ecfc8bcdb72fad92a",
"size": "78",
"binary": fal... |
from observedItem import *
from fileEventHandler import *
from fileObserver import *
__author__ = 'Daiki SHIMADA'
__version__ = '0.0.3'
__license__ = 'MIT'
| {
"content_hash": "40d167e87611fc4380e02c26318801b8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 31,
"avg_line_length": 22.714285714285715,
"alnum_prop": 0.6792452830188679,
"repo_name": "DaikiShimada/patlabor-python",
"id": "48e568248d80851fe88e0925144cb1e159082cf8",
"... |
import abc
import mock
from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils
import routes
import six
import webob
import webob.exc as webexc
import webtest
import neutron
from neutron.api import extensions
from neutron.api.v2 import attributes
from neutron.common im... | {
"content_hash": "f730cc9b0aab5be74c200f09c2997081",
"timestamp": "",
"source": "github",
"line_count": 827,
"max_line_length": 79,
"avg_line_length": 40.61547762998791,
"alnum_prop": 0.6156479799934502,
"repo_name": "wenhuizhang/neutron",
"id": "cc3f71c05790dfd63e20f1e58a296efc5ed94a7c",
"size": "... |
declare const _default: void;
export = _default;
| {
"content_hash": "9a4d50cda8822f39b050436b0de819f4",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 29,
"avg_line_length": 24.5,
"alnum_prop": 0.7346938775510204,
"repo_name": "iamatypeofwalrus/GlasswavesCo",
"id": "10b43061559fc936207fcdf4d195cc4e07f183ef",
"size": "49",
... |
{% import 'admin/static.html' as admin_static with context %}
{% import 'admin/lib.html' as lib with context %}
{% block body %}
{# content added to modal-content #}
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></b... | {
"content_hash": "a5ad08b39a171bb63aa25e07a259ef25",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 128,
"avg_line_length": 38.411764705882355,
"alnum_prop": 0.6294027565084227,
"repo_name": "HermasT/flask-admin",
"id": "7a6fabd8ae639ad44589ef9c56bc8dd362bf3502",
"size": ... |
using UnityEngine;
namespace SteamworksWrapper {
public sealed partial class Steam : MonoBehaviour {
public static class UserStats {
public static bool SetIntStat(string name, int stat) {
if (!steamInitialized) {
return false;
}
... | {
"content_hash": "f1c55670c5405f35fc2bbff28ab12294",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 127,
"avg_line_length": 30.51145038167939,
"alnum_prop": 0.4628471353515136,
"repo_name": "s-m-k/SteamworksWrapper",
"id": "cfa1086aa15c1c7464603051474a1ec7855df66c",
"siz... |
<?php
global $variabe;
$variable = "This has been loaded from the MODEL PHP file";
?> | {
"content_hash": "de102ee50207f132f195f841470e0293",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 63,
"avg_line_length": 16,
"alnum_prop": 0.625,
"repo_name": "Zelig880/basic-php-template-engine",
"id": "39b3b8415b597453c810857228e6c79df43d9508",
"size": "96",
"binary"... |
body {
height: 100%;
color: #3e444d;
background-color: #f4f5f7;
}
html {
height: 100% !important;
-ms-overflow-style: scrollbar;
}
#wrapper {
height: 100%;
width: 100%;
}
img {
-webkit-backface-visibility: hidden;
width: auto\9;
height: auto;
max-width: 100%;
vertical-align: middle;
border: 0... | {
"content_hash": "2f3fea07fd6a7b0ccc4a1a4b18034be0",
"timestamp": "",
"source": "github",
"line_count": 2830,
"max_line_length": 81,
"avg_line_length": 24.479505300353356,
"alnum_prop": 0.6838200268487377,
"repo_name": "saraho-shea/saraho-shea.github.io",
"id": "79d60b0b3389e6ecd2e91696f2866187b78cab... |
package ro.ase.cts.conexiune;
public class Server {
String ip;
String bd;
public Server(String ip, String bd) {
super();
this.ip = ip;
this.bd = bd;
}
public void conectare(User user){
}
public boolean testConexiune(User user){
return true;
}
}
| {
"content_hash": "58dc7d2c12eff08e40605016087c1810",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 41,
"avg_line_length": 14.105263157894736,
"alnum_prop": 0.6604477611940298,
"repo_name": "catalinboja/cts-2016",
"id": "ddb0a032cc5d853570fe7a1da14133776487e76c",
"size": ... |
package generate
import (
"fmt"
"github.com/arasuresearch/arasu/app"
"github.com/arasuresearch/arasu/cmd/arasu/generate/migration"
"github.com/arasuresearch/arasu/cmd/arasu/generate/scaffold"
"github.com/arasuresearch/arasu/cmd/common"
"github.com/arasuresearch/arasu/lib"
)
type Generate struct {
Scaffold sca... | {
"content_hash": "641e766ccd8d9449fe5f8db30c12d08b",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 103,
"avg_line_length": 21.536585365853657,
"alnum_prop": 0.6732729331823329,
"repo_name": "arasuresearch/arasu",
"id": "9c5a01af9eac8ed956d0d0a458935ffa4c2e7f90",
"size": ... |
import * as http from 'http'
import * as http2 from 'http2'
import * as https from 'https'
import { ConstraintStrategy, HTTPVersion } from 'find-my-way'
import { FastifyRequest, RequestGenericInterface } from './types/request'
import { RawServerBase, RawServerDefault, RawRequestDefaultExpression, RawReplyDefaultExpres... | {
"content_hash": "730525be801634e6f3c8442fda7f8a1a",
"timestamp": "",
"source": "github",
"line_count": 215,
"max_line_length": 286,
"avg_line_length": 48.032558139534885,
"alnum_prop": 0.7839643652561247,
"repo_name": "cdnjs/cdnjs",
"id": "aa0cc012d22ca0d229b6b79f5b433a30429ae6ca",
"size": "10327"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>hammer-tactics: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "aabdff734a2b26e910afd89c092f59fe",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 159,
"avg_line_length": 41.044444444444444,
"alnum_prop": 0.5610449377368706,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "51a5415543184029e7404e9ba382733ddab26734",... |
using ClientsLibrary;
using HslCommunication.Enthernet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using S... | {
"content_hash": "a23db6f112b4a4dd0a95f818e719c4de",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 143,
"avg_line_length": 30.88995215311005,
"alnum_prop": 0.506815365551425,
"repo_name": "dathlin/ClientServerProject",
"id": "27113846099d0bce1448840ada30e2615529e961",
"... |
module Azure::Network::Mgmt::V2020_04_01
module Models
#
# The information about security rules applied to the specified VM.
#
class SecurityGroupViewResult
include MsRestAzure
# @return [Array<SecurityGroupNetworkInterface>] List of network
# interfaces on the specified VM.
... | {
"content_hash": "9b7a4e783f258ed9f95b6ea036f1fb9a",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 82,
"avg_line_length": 29.372549019607842,
"alnum_prop": 0.5080106809078772,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "eb89ce974af2781668d443d085d279d5fad2a688",
"siz... |
game.EnemyBaseEntity = me.Entity.extend({
init : function(x, y, settings) {
this._super(me.Entity, 'init', [x, y, {
image: "tower",
width: 100,
height: 100,
spritewidth: "100",
spriteheight: "100",
getShape: function(){
re... | {
"content_hash": "428c84b6d55131e25fd0b9991f227d4d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 64,
"avg_line_length": 28,
"alnum_prop": 0.49767080745341613,
"repo_name": "Pzink3/ParkerZAwesomenauts",
"id": "05ebfa7443660d7fdefab602c4da57f49a505fe5",
"size": "1288",
... |
<?xml version="1.0" encoding="utf-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<parameters>
<!-- Utility cla... | {
"content_hash": "e82b0422ef3519aa7f6bb5fc1667dce2",
"timestamp": "",
"source": "github",
"line_count": 372,
"max_line_length": 158,
"avg_line_length": 60.016129032258064,
"alnum_prop": 0.6815372211771029,
"repo_name": "robfrawley/LiipImagineBundle",
"id": "2e3d6be8b0f70a2e21d659345bf6dbc68431c53e",
... |
*Unreleased*
*2.1.0 (March 06, 2022)*
* Three new transformations added:
- snake_case (thanks, @Finnegan5),
- camel_case,
- pascal_case
* Improved error message when called with an unknown transformation name
* Improved documentation
* Ensure Ruby 3.1.1 compability
* Switch from Travis CI to GitHub Actions
*2.... | {
"content_hash": "68494ec5316ab9561d6c9b2e11ac7327",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 72,
"avg_line_length": 22.294117647058822,
"alnum_prop": 0.6992084432717678,
"repo_name": "spickermann/deep_hash_transformer",
"id": "c6a9fd46c040522c50d712840e9d219f7a36a4d6... |
package ml.siddharth.inspireme;
import android.content.Intent;
import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import andr... | {
"content_hash": "cbfa4a3c13bc331b3242bf726554126b",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 94,
"avg_line_length": 35.11578947368421,
"alnum_prop": 0.6238009592326139,
"repo_name": "tapasweni-pathak/Women-GitHubers",
"id": "ed9eaf5f37beaa6b40ca2da8b862436c14eda031",... |
package initial
import "fmt"
// init functions are not renamed
func init() { foo() }
// Type S.
type S struct {
t
u int
}
// Function bar.
func bar(s *S) {
fmt.Println(s.t, s.u) // comment inside function
}
| {
"content_hash": "e9ddbed82fbe593359e01ff0aa554a68",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 49,
"avg_line_length": 12.588235294117647,
"alnum_prop": 0.6355140186915887,
"repo_name": "b3ntly/twelvefactor",
"id": "5d0d19009eb4025fbee70373983fafeae95db1d6",
"size": "... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package Datos;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;... | {
"content_hash": "3220fdcb1fe56703aa6ce2d8b4f25024",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 140,
"avg_line_length": 30.572,
"alnum_prop": 0.550830825592045,
"repo_name": "gonzapala/CPI",
"id": "742b64896cc340d771d59ed1e5e5737522631f3f",
"size": "7681",
"binary"... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v1.1.1-master-70cecda
*/body.md-THEME_NAME-theme,html.md-THEME_NAME-theme{color:'{{foreground-1}}';background-color:'{{background-color}}'} | {
"content_hash": "c1a6321188708b7da0ab6045dc207117",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 118,
"avg_line_length": 38.166666666666664,
"alnum_prop": 0.7117903930131004,
"repo_name": "Pikabanga/MelloWizard",
"id": "8b776a983ceffe53c97c67aa06de58825befe7f6",
"size":... |
import React, { Component } from 'react';
import { View, Image } from 'react-native';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { Title, Text, Button, Icon } from 'native-base';
import * as drawerActions from '../../actions/drawer';
import * as routeActions from '../../a... | {
"content_hash": "59b6c50e6c122ecc12fb9de3003f95a0",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 78,
"avg_line_length": 26.847457627118644,
"alnum_prop": 0.6332070707070707,
"repo_name": "lemol/diario-escola-sabatina",
"id": "0c0b431e9f0ffd690cd9ef5d5afc36c02b812c83",
... |
//============================================================================
// I B E X
// File : ibex_PdcInPolygon.h
// Author : Benoit Desrochers, Gilles Chabert
// Copyright : Ecole des Mines de Nantes (France)
// License : See the LICENSE file
// Created : Oc... | {
"content_hash": "e9fda65ea0b369e5dd51ede2c0898017",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 159,
"avg_line_length": 31.610526315789475,
"alnum_prop": 0.5254745254745254,
"repo_name": "benEnsta/ibex-geometry",
"id": "20ce25077cefb21bf8409263218e7129d4460214",
"size... |
from google.cloud import webrisk_v1
async def sample_create_submission():
# Create a client
client = webrisk_v1.WebRiskServiceAsyncClient()
# Initialize request argument(s)
submission = webrisk_v1.Submission()
submission.uri = "uri_value"
request = webrisk_v1.CreateSubmissionRequest(
... | {
"content_hash": "ab908d02ae0557c68b18354e51fc3e9a",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 66,
"avg_line_length": 25.347826086956523,
"alnum_prop": 0.7101200686106347,
"repo_name": "googleapis/python-webrisk",
"id": "adede368e79fc7c59d063400053f868be3601af1",
"si... |
const merge = require('merge');
export function last(array: any) {
return array[array.length - 1];
}
export function recursiveMerge(...args: any[]) {
return merge.recursive(...args);
}
export function compact(array: any) {
return array.filter((n: any) => n);
}
export function groupBy(array: any, key: any) {
... | {
"content_hash": "552c434d87d9462ab09195996b60075e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 48,
"avg_line_length": 21.8,
"alnum_prop": 0.6123853211009175,
"repo_name": "iurimatias/embark-framework",
"id": "ffe7a48e52993262e5f9eb5ab238aed0df198d0a",
"size": "436",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "41e60a44b9abc8d8040d994df9be8fc9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "81e24b078b009f3b780d3958b425c23354b17caa",
"size": "174... |
<section id="friends-screen" data-transition="slide" ng-style="style" ng-class="{ current: isCurrent, show: isShown, hide: isHidden, aside: isMenuOpen, right: isMenuRight, small: isMenuSmall }" screen>
<header>
<span class="title centered with-subtitle">
Friends
<small class="subtitle">Pass the remote... | {
"content_hash": "c4f277e9195732a4fcc46f28b51fdb85",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 201,
"avg_line_length": 50.84,
"alnum_prop": 0.6577498033044846,
"repo_name": "rybon/Remocial",
"id": "fd8a844f1512383603d0ae2528fa3c481ea7f09d",
"size": "1271",
"binary"... |
from robot.output.xmllogger import XmlLogger
class OutputWriter(XmlLogger):
def __init__(self, output):
XmlLogger.__init__(self, output, generator='Rebot')
def start_message(self, msg):
self._write_message(msg)
def visit_keyword(self, kw):
self.start_keyword(kw)
for chil... | {
"content_hash": "85b2ced9e30e480aa16d0090a36ce869",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 59,
"avg_line_length": 23.391304347826086,
"alnum_prop": 0.604089219330855,
"repo_name": "jaloren/robotframework",
"id": "41784099d4f0326c19afb7809cba032e5192e1b6",
"size":... |
package org.apache.camel.impl;
import org.apache.camel.Consume;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.Produce;
import org.apache.camel.ProducerTemplate;
import org.junit.Before;
import org.junit.Test;
public class DefaultCamelBeanPostProcessorTest extends ContextTestSupport {
privat... | {
"content_hash": "36d5d0b29f15165c071febc386383024",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 75,
"avg_line_length": 26.841269841269842,
"alnum_prop": 0.6617386162034299,
"repo_name": "kevinearls/camel",
"id": "006be1a4d31612b027511a4a9cb39920307c7db0",
"size": "249... |
/*
Title: Test Sending Email Without an SMTP Server
Sort: 1
*/
### **Tools to setup local SMTP server for your development**
- [Neptune](http://www.donovanbrown.com/post/Neptune-with-POP3)
- [SMTP4Dev](http://smtp4dev.codeplex.com/) - better choice because it lets you open email message in your default email client a... | {
"content_hash": "425c4900ff718dcdf9c94dc91cbd6381",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 175,
"avg_line_length": 35.63636363636363,
"alnum_prop": 0.735969387755102,
"repo_name": "jerkovicl/SistemiKB",
"id": "9c1df2464bdc7e2de67d033306e350d7b23396cf",
"size": "7... |
<?php
namespace Cms\AdminBundle\Controller;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Pagerfanta\Pagerfanta;
use Pagerfanta\Adapter\DoctrineORMAdapter;
use Pagerfanta\View\TwitterBootstrapView;
use Cms\AdminBundle\Entity\Page;
use Cms\AdminBundle\For... | {
"content_hash": "6fd201937e7c977f90f0ca89b57a2e55",
"timestamp": "",
"source": "github",
"line_count": 275,
"max_line_length": 119,
"avg_line_length": 30.77090909090909,
"alnum_prop": 0.5505790593240368,
"repo_name": "n1kula/simpleCMS",
"id": "494e009b4e002161ddfca0ab78d0adf4778401c9",
"size": "84... |
package org.zalando.riptide;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.github.restdriver.clientdriver.ClientDriver;
import com.github.restdriver.clientdriver.ClientDriverFactory;
i... | {
"content_hash": "5e02d1428f6c7a79a9b14794a56b6fe0",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 115,
"avg_line_length": 40.65822784810127,
"alnum_prop": 0.7484433374844334,
"repo_name": "zalando/riptide",
"id": "8d9516f967ec80cd8cb02d36424b8835c143dda2",
"size": "3212... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Faircoin</source>
<translation type="unfinished"/>
</message>... | {
"content_hash": "952bccfc3911b7cf893c851a7fde69cf",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.66883784710319,
"alnum_prop": 0.5911293935567955,
"repo_name": "pierce403/faircoin",
"id": "8f46e0b27cdb56e2d1c8d5a81b132cdbe07ddefa",
"size": ... |
Spree::Property.class_eval do
has_many :bulk_product_edit_properties, dependent: :delete_all, inverse_of: :property
has_many :products, through: :bulk_product_edit_properties
end
| {
"content_hash": "e80d5d901e745456271eedfe4d1e622d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 87,
"avg_line_length": 30.833333333333332,
"alnum_prop": 0.7621621621621621,
"repo_name": "astek-inc/spree-bulk-product-edit",
"id": "df270e83143869017e15e43801c38a9ddf303d08"... |
// Template Source: BaseEntityCollectionRequest.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// --------------------------... | {
"content_hash": "3a69a89ff073472ec1faab51db900414",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 221,
"avg_line_length": 36.6,
"alnum_prop": 0.7032006245121,
"repo_name": "microsoftgraph/msgraph-sdk-java",
"id": "d2268a79c0c4433489f726091045c85ac5503a6b",
"size": "640... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:gravi... | {
"content_hash": "b1b7e26c707d038d3fdd26c2b0f588ec",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 74,
"avg_line_length": 36.05714285714286,
"alnum_prop": 0.633122028526149,
"repo_name": "avinashkgit/Watook",
"id": "8ec1943f9926933d201a98d1afdf64d6af8320ea",
"size": "126... |
<Type Name="ArbVertexBlend" FullName="MonoMac.OpenGL.ArbVertexBlend">
<TypeSignature Language="C#" Value="public enum ArbVertexBlend" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ArbVertexBlend extends System.Enum" />
<AssemblyInfo>
<AssemblyName>MonoMac</AssemblyName>
<Assembl... | {
"content_hash": "13a4731e2d57581dbf9602d717362266",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 156,
"avg_line_length": 40.6198347107438,
"alnum_prop": 0.6669379450661241,
"repo_name": "PlayScriptRedux/monomac",
"id": "6264acc24ce07cc85a4a87bac17d2fc514eaedfe",
"size... |
package com.amazonaws.services.appsync.model.transform;
import java.math.*;
import javax.annotation.Generated;
import com.amazonaws.services.appsync.model.*;
import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*;
import com.amazonaws.transform.*;
import com.fasterxml.jackson.core.JsonToken;
import static co... | {
"content_hash": "f6870caa1fc464d3a26a9a9406369c85",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 136,
"avg_line_length": 37.01587301587302,
"alnum_prop": 0.6723842195540308,
"repo_name": "aws/aws-sdk-java",
"id": "156a1d049ca02dea472a86e412152e8daa817cbc",
"size": "291... |
package org.apache.kafka.common.requests;
import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.common.message.OffsetFetchResponseData;
import org.apache.kafka.common.message.OffsetFetchResponseData.OffsetFetchResponseGroup;
import org.apache.kafka.common.message.OffsetFetchResponseData.OffsetFetchRe... | {
"content_hash": "4dc855c3fb9e930f7f565877318dab18",
"timestamp": "",
"source": "github",
"line_count": 426,
"max_line_length": 132,
"avg_line_length": 48.71596244131455,
"alnum_prop": 0.5976485327422542,
"repo_name": "apache/kafka",
"id": "c73ea2afebb508c6e30d8917a520210706d6885f",
"size": "21551"... |
/**
* \file ssl_ticket.h
*
* \brief TLS server ticket callbacks implementation
*/
/*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in complian... | {
"content_hash": "7e067a0830fe86fd443ac6a5836176aa",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 78,
"avg_line_length": 32.830882352941174,
"alnum_prop": 0.6232922732362822,
"repo_name": "go-virgil/virgil",
"id": "7d87b7f1043a1c4545150dab06e89ff28c7e79e5",
"size": "44... |
package main.importedjs
import scala.scalajs.js
package object Meter extends js.GlobalScope {
def onVolumeChanged(volume: Int): Nothing = js.native
}
| {
"content_hash": "314ab2ca30c13edb937637d150e781b1",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 55,
"avg_line_length": 22,
"alnum_prop": 0.7857142857142857,
"repo_name": "jaapmengers/OneMinuteChanges",
"id": "e123d885e07d3a62e198c802aaaa71052ebe021d",
"size": "154",
... |
#include "config.h"
#include "core/html/DOMFormData.h"
#include "core/fileapi/Blob.h"
#include "core/fileapi/File.h"
#include "core/html/HTMLFormElement.h"
#include "wtf/text/TextEncoding.h"
#include "wtf/text/WTFString.h"
namespace blink {
namespace {
class DOMFormDataIterationSource final : public PairIterable<... | {
"content_hash": "f11ecdf9698a6f584628024bdc8cef23",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 120,
"avg_line_length": 27.121951219512194,
"alnum_prop": 0.6636690647482014,
"repo_name": "kurli/blink-crosswalk",
"id": "b338643fd235508736c334b441b58daaecd23d0f",
"size... |
<?php
include_once("php/check_login_status.php");
/*IMPORTANTE
Aunque esta logica actualmente funciona de manera correcta creo que es una forma errada de hacerlo
Estar pendiente para coregir cuando se pueda
*/
if(isset($_GET["user"])){
$user = mysqli_real_escape_string($conn, $_GET['user']);
if($user != $log_us... | {
"content_hash": "0a89640abd3bfaf4ff791cfee4fd5148",
"timestamp": "",
"source": "github",
"line_count": 330,
"max_line_length": 235,
"avg_line_length": 31.5,
"alnum_prop": 0.5994227994227994,
"repo_name": "morethanrunners/malvo",
"id": "bef9cf6f47816c9bd3b044937e54fd2a20a46c3c",
"size": "10395",
... |
class RetireCreditCardPayments < ActiveRecord::Migration
def up
execute(%{
INSERT INTO order_payments (
order_id,
provider_name,
provider_token,
status,
name,
number,
expiration_month,
expiration_year,
card_type,
create... | {
"content_hash": "40e0bbad2bcb0b823c306fa4c24e4220",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 77,
"avg_line_length": 28.735849056603772,
"alnum_prop": 0.6001313197636244,
"repo_name": "spookandpuff/islay-shop",
"id": "9d13184cfc3695c2fb0079460020b84d26c7df64",
"size... |
package org.elasticsearch.client;
import org.apache.http.HttpHost;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
/**
* {@link RestClient.Failure... | {
"content_hash": "c3e06a8fc19447e01784352353acc4bc",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 99,
"avg_line_length": 26.86046511627907,
"alnum_prop": 0.6744588744588744,
"repo_name": "GlenRSmith/elasticsearch",
"id": "1e92cab899aa919c105080a328d316be1bab1cef",
"size... |
package org.drools.lang.api.impl;
import org.drools.lang.api.*;
import org.drools.lang.descr.BindingDescr;
import org.drools.lang.descr.ExprConstraintDescr;
import org.drools.lang.descr.PatternDescr;
/**
* A descr builder implementation for Patterns
*/
public class PatternDescrBuilderImpl<P extends DescrBuilder< ... | {
"content_hash": "9af3a52ef3a8a88486559ccfa543aec4",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 137,
"avg_line_length": 35.23809523809524,
"alnum_prop": 0.6226351351351351,
"repo_name": "mswiderski/drools",
"id": "8f14fc074ca3b4b097ff74de78e18cf03be290f1",
"size": "35... |
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
func newOrdersCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "orders",
Short: "Get pending orders for an account",
Long: `Get pending orders for an account`,
RunE: ordersCmdFunc,
SilenceUsage: true,
}
return cmd... | {
"content_hash": "1db9799a798b54f4aefa2757cf05581b",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 61,
"avg_line_length": 17.06896551724138,
"alnum_prop": 0.6363636363636364,
"repo_name": "calvn/brokr",
"id": "7d8297dee4b4c50977b81f976dcc577972c01209",
"size": "1121",
... |
package readers_test
import (
"fmt"
"logradile/doppler/internal/readers"
"logradile/internal/end2end"
"net"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("UDP", func() {
var (
mockPacketWriter *mockPacketWriter
port uint16
udp *readers.UDP
conn net.... | {
"content_hash": "a4f6878b56f21167d225bdbb4bb66501",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 66,
"avg_line_length": 19.35,
"alnum_prop": 0.6416881998277347,
"repo_name": "apoydence/logradile",
"id": "a361ae683dfb9744e09052911f65d8b5b44e5949",
"size": "1179",
"bin... |
#ifndef BlynkApiMbed_h
#define BlynkApiMbed_h
#include <Blynk/BlynkApi.h>
#include <mbed.h>
template<class Proto>
BLYNK_FORCE_INLINE
void BlynkApi<Proto>::sendInfo()
{
static const char profile[] BLYNK_PROGMEM = "blnkinf\0"
BLYNK_PARAM_KV("ver" , BLYNK_VERSION)
BLYNK_PARAM_KV("h-beat" , BLYNK... | {
"content_hash": "21461faca7f00aa22d7816686f3c552f",
"timestamp": "",
"source": "github",
"line_count": 154,
"max_line_length": 137,
"avg_line_length": 29.207792207792206,
"alnum_prop": 0.5842596709648733,
"repo_name": "blynkkk/blynk-library",
"id": "4baf912edb5c3ba3692dcdd4941ab2f2f7be18d8",
"size... |
<?php
/**
* Generated 2019-11-17T18:31:00+00:00 16.0.19506.12022
*/
namespace Office365\SharePoint\Publishing;
use Office365\Runtime\ClientObject;
class PointPublishingTenantManager extends ClientObject
{
} | {
"content_hash": "e78991573679ab2df01f50d5884b8ffc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 55,
"avg_line_length": 16.307692307692307,
"alnum_prop": 0.7783018867924528,
"repo_name": "vgrem/phpSPO",
"id": "57ded224e734d85e320714b036a7f9a4cdabee8d",
"size": "212",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Mycol. helv. 7(1): 143 (1995)
#### Original name
Sphaeria picacea Cooke & Ellis, 1878
### Remarks
null | {
"content_hash": "49700ffc7fd6d38c9027e138404b57cf",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 14.692307692307692,
"alnum_prop": 0.6910994764397905,
"repo_name": "mdoering/backbone",
"id": "1e863bf87ce0ea82d08ae21df05bff639a346544",
"size": "26... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Rhamphoria obliqua var. microspora Maire
### Remarks
null | {
"content_hash": "3c7f7fb79973468dbf37cb797c6a5247",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 40,
"avg_line_length": 11.153846153846153,
"alnum_prop": 0.7241379310344828,
"repo_name": "mdoering/backbone",
"id": "e4f87beaa8ed133667edc1f7a5789aebf6566509",
"size": "20... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.