text stringlengths 2 1.04M | meta dict |
|---|---|
package de.taimos.daemon.spring.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Repository;
impo... | {
"content_hash": "1dd1437ee2d36df5395e7ddcf0308e78",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 128,
"avg_line_length": 27,
"alnum_prop": 0.7923280423280423,
"repo_name": "taimos/dvalin",
"id": "1105da150b5414eac5037a9b8b06a3d3dbefdb0b",
"size": "1378",
"binary": fa... |
"""
Provides caparg version information.
"""
# This file is auto-generated! Do not edit!
# Use `python -m incremental.update caparg` to change this file.
from incremental import Version
__version__ = Version('caparg', 17, 4, 0)
__all__ = ["__version__"]
| {
"content_hash": "1916aebaafa518d5002ca87d91f79c85",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 64,
"avg_line_length": 23.363636363636363,
"alnum_prop": 0.6809338521400778,
"repo_name": "moshez/caparg",
"id": "cb8a30435d9e34452d816bb0368641754c5cbfc4",
"size": "257",
... |
function(test)
string_encode_bracket("asb[asddasdw]asdwad")
ans(res)
assert("${res}" MATCHES "asb.asddasdw.asdwad")
string_decode_bracket("${res}")
ans(res)
assert("${res}" "asb[asddasdw]asdwad" EQUALS)
endfunction() | {
"content_hash": "03d75b6f2235f71cf8cfdd672d78fe85",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 48,
"avg_line_length": 21,
"alnum_prop": 0.683982683982684,
"repo_name": "tempbottle/cmakepp",
"id": "b3f9055f3a5c9b733170a73397b4515ad476b16d",
"size": "231",
"binary": ... |
/*jslint node: true */
// Karma configuration
// http://karma-runner.github.io/0.10/config/configuration-file.html
module.exports = function (config) {
'use strict';
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
// testing framework to use (j... | {
"content_hash": "bd9a0358e77ed6a0db461d3041874fed",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 89,
"avg_line_length": 26.56896551724138,
"alnum_prop": 0.5509409474367294,
"repo_name": "henvic/thin.gs",
"id": "4107cd4514d540f1d84d8b93b809c95f7fb5db13",
"size": "1541",... |
package ec2
import (
"context"
awsmiddleware "github.com/aws/aws-sdk-go-v2/aws/middleware"
"github.com/aws/aws-sdk-go-v2/aws/signer/v4"
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
"github.com/aws/smithy-go/middleware"
smithyhttp "github.com/aws/smithy-go/transport/http"
)
// Gets information about the subn... | {
"content_hash": "6caa6c3a9969b1a533bfecaf08de99a5",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 173,
"avg_line_length": 31.503184713375795,
"alnum_prop": 0.7474727052163365,
"repo_name": "tklauser/cilium",
"id": "f1da5b1bc32b31ae0a8b728380ffb0d1eb8a83ec",
"size": "49... |
package org.osmdroid.util;
/**
* {@link PointAccepter} that simplifies the list of consecutive points with the same X or Y.
* One goal is to have faster Path rendering.
* As we clip the Path with a rectangle, additional segments are created by {@link SegmentClipper}.
* When most of the Polygon is out of the screen... | {
"content_hash": "e2bccaa122ea31e6fcaba72e55cbb82d",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 99,
"avg_line_length": 31.91390728476821,
"alnum_prop": 0.5042539946046898,
"repo_name": "osmdroid/osmdroid",
"id": "f707db7c1c39aec53166b5cf308f4d8b4d46554a",
"size": "48... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devi... | {
"content_hash": "b73f73becdc394def5581edd7c375698",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 635,
"avg_line_length": 31.487603305785125,
"alnum_prop": 0.5921259842519685,
"repo_name": "gunhanb/blog",
"id": "65e741af0c0cf929b01d6b21bcd4658dd63eca84",
"size": "3811"... |
import logging
import sys
from datetime import datetime
from django.conf import settings
from django.views.debug import technical_500_response
from django.http import HttpResponseRedirect, HttpResponse
from npactweb import MissingFileError, ImmediateHttpResponseException, \
RedirectException
logger = logging.get... | {
"content_hash": "b5bf157fab3e76ace293af95f223c133",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 79,
"avg_line_length": 36.78181818181818,
"alnum_prop": 0.6183885318833415,
"repo_name": "victor-lin/npact",
"id": "68d14799178a9d28b18604071de1844b635dc1d7",
"size": "2023... |
/*
µ¼º½À¸ nav
*/
.navbar-header{
display: none;
top: 0;
left: 0;
width: 100%;
}
.dropdown-toggle{
color:#fff;
text-decoration:none;
list-style:none;
}
.dropdown-toggle:hover{
color:#eee;
text-decoration:none;
list-style:none;
}
@media only screen and (max-width: 940px)
{
#global-nav .navbar-... | {
"content_hash": "74c173033144b833159977bc4738c970",
"timestamp": "",
"source": "github",
"line_count": 626,
"max_line_length": 128,
"avg_line_length": 19.033546325878593,
"alnum_prop": 0.6675618967687789,
"repo_name": "augustanshu/miwo",
"id": "0482a1494ab5cf1afb15b35cb60a5fe5c844a600",
"size": "1... |
import logging
if __name__ == '__main__':
logging.basicConfig()
_log = logging.getLogger(__name__)
# Test generated documentation of attributes, elements, and classes
import pyxb.binding.generate
import pyxb.binding.datatypes as xs
import pyxb.binding.basis
import pyxb.utils.domutils
from pyxb.utils import six
imp... | {
"content_hash": "5e8b694aa2a608be4ccb813ba5580c86",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 135,
"avg_line_length": 36.523809523809526,
"alnum_prop": 0.7066492829204694,
"repo_name": "CantemoInternal/pyxb",
"id": "d11723ef77813a91739e426dca732141d1ccf515",
"size"... |
package org.apache.flink.runtime.io.network.partition;
import org.apache.flink.core.memory.MemorySegment;
import org.apache.flink.runtime.io.network.buffer.Buffer;
import org.apache.flink.runtime.io.network.buffer.BufferRecycler;
import org.apache.flink.runtime.io.network.partition.ResultSubpartition.BufferAndBacklo... | {
"content_hash": "bc95737c08a93b07fef7100243556542",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 99,
"avg_line_length": 31.150862068965516,
"alnum_prop": 0.6355334163553341,
"repo_name": "zentol/flink",
"id": "3cf7a08b77fafeaee3b63b9705e38a373b3374d0",
"size": "8032",... |
export class ContentRules {
public maxMediaWidth: number | null = null;
public maxMediaHeight: number | null = null;
public truncateLinks = false;
constructor(data?: Partial<ContentRules>) {
Object.assign(this, data);
}
}
| {
"content_hash": "7cb0e64f6aa92d40349f8adafdce4bb2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 45,
"avg_line_length": 25.555555555555557,
"alnum_prop": 0.7304347826086957,
"repo_name": "gamejolt/gamejolt",
"id": "835f9c49dae48c2116d51e3b9b00006fa05a3dd3",
"size": "230... |
package org.genyris.interp.builtin;
import org.genyris.core.Constants;
import org.genyris.core.Exp;
import org.genyris.core.Pair;
import org.genyris.exception.GenyrisException;
import org.genyris.interp.ApplicableFunction;
import org.genyris.interp.ClassicFunction;
import org.genyris.interp.Closure;
import org.genyris... | {
"content_hash": "e52d2f7764590ec8aa1d80852018c2ab",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 101,
"avg_line_length": 34.17857142857143,
"alnum_prop": 0.7669801462904912,
"repo_name": "ravikumar10/genyris",
"id": "5456079b4e56bbe7ea022c0f354c883c7e76f448",
"size": "... |
module Vanity
module Adapters
class << self
# Creates new connection to Redis and returns RedisAdapter.
#
# @since 1.4.0
def redis_connection(spec)
require "redis"
fail "redis >= 2.1 is required" unless valid_redis_version?
require "redis/namespace"
fail "re... | {
"content_hash": "aae0a8f9676dcedc098a7199039d7d9f",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 112,
"avg_line_length": 31.240174672489083,
"alnum_prop": 0.5998043052837574,
"repo_name": "CGTrader/vanity",
"id": "7b9b8fe76c15ac5b8d830935a9a9bd85389182b4",
"size": "71... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "aa9cceef06b992435b7899f4587d7732",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "09ad55fe132429dcbf07f17170f4eec63afc8ae9",
"size": "20... |
#pragma once
/*
------------------µ¼³öº¯Êý--------------
*/
BOOL __stdcall XLInitDownloadEngine();
DWORD __stdcall XLURLDownloadToFile(LPCTSTR pszFileName, LPCTSTR pszUrl, LPCTSTR pszRefUrl, LONG & lTaskId);
DWORD __stdcall XLQueryTaskInfo(LONG lTaskId, LONG *plStatus, ULONGLONG *pullFileSize, ULONGLONG... | {
"content_hash": "f6c76e7054edaee6afa7b06b4fee27ba",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 112,
"avg_line_length": 31.17142857142857,
"alnum_prop": 0.6223648029330889,
"repo_name": "the7day/py-ui4win",
"id": "70f0e06692b8d39dbec61e98858e8eb20d0b9f07",
"size": "10... |
<component name="libraryTable">
<library name="support-v4-21.0.3">
<CLASSES>
<root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/21.0.3/res" />
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/21.0.3/libs... | {
"content_hash": "4e7e37b64edf77554f9afad75e93a15b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 188,
"avg_line_length": 58.15384615384615,
"alnum_prop": 0.6944444444444444,
"repo_name": "RowdyRajan/FlickrBrowser",
"id": "b3ccd71d6b71d81f9b9b01dfd4ef98aaad019c5e",
"siz... |
import streamifyArray from 'streamify-array';
import { Readable } from 'stream';
const stream: Readable = streamifyArray([1, 2, 3]);
stream.on('data', (d) => console.log('Data: ' + d));
stream.on('end', () => console.log('Done!'));
// $ExpectError
streamifyArray();
| {
"content_hash": "7ba62536cc8547541adc9a839905f485",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 52,
"avg_line_length": 29.77777777777778,
"alnum_prop": 0.6567164179104478,
"repo_name": "dsebastien/DefinitelyTyped",
"id": "095acdda762598a3ba534dbd6613e3e6e6a177b7",
"siz... |
#ifndef SimTK_SIMMATH_GEO_BOX_H_
#define SimTK_SIMMATH_GEO_BOX_H_
/** @file
Defines primitive operations involving 3d rectangular boxes. **/
#include "SimTKcommon.h"
#include "simmath/internal/common.h"
#include "simmath/internal/Geo.h"
#include <cassert>
#include <cmath>
#include <algorithm>
namespace SimTK {
/... | {
"content_hash": "ae67687e63303760200f6dda9c27e03f",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 80,
"avg_line_length": 41.240112994350284,
"alnum_prop": 0.6707308719775327,
"repo_name": "opensim-org/opensim-metabolicsprobes",
"id": "7142511f92d56eb5b5ce576b0e9b2d659197... |
package org.opensaml.saml1.core.impl;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.opensaml.saml1.core.AttributeDesignator;
import org.opensaml.saml1.core.AttributeQuery;
import org.opensaml.xml.XMLObject;
import org.opensaml.xml.util.XMLObjectChildrenList;
/**
* Con... | {
"content_hash": "77a22bb8a6021e092c02aa824bab8672",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 104,
"avg_line_length": 31.73015873015873,
"alnum_prop": 0.7058529264632316,
"repo_name": "Safewhere/kombit-web-java",
"id": "531c18c301885180f54d54ae173b0bd6cbc6e50b",
"si... |
/**
* @author Mat Groves http://matgroves.com/ @Doormat23
*/
PIXI.StripShader = function()
{
// the webGL program..
this.program;
this.fragmentSrc = [
"precision mediump float;",
"varying vec2 vTextureCoord;",
"varying float vColor;",
"uniform float alpha;",
"uniform sampler2D ... | {
"content_hash": "29ae0c1ecddb9bb418d49566323b598c",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 105,
"avg_line_length": 31.815384615384616,
"alnum_prop": 0.663926499032882,
"repo_name": "GoodBoyDigital/phaser",
"id": "80d8394c4d4b2fe0db4343258dceba4e14688073",
"size":... |
package security
import (
"crypto/tls"
"log"
"strings"
"github.com/cockroachdb/cockroach/util"
"github.com/gogo/protobuf/proto"
)
const (
// NodeUser is used by nodes for intra-cluster traffic.
NodeUser = "node"
// RootUser is the default cluster administrator.
RootUser = "root"
)
// LogTLSState logs infor... | {
"content_hash": "f7270159033624d77b47980ce5a628d6",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 97,
"avg_line_length": 29.992,
"alnum_prop": 0.7132568684982662,
"repo_name": "marcuswestin/cockroach",
"id": "da50ce435da6fdcc2cd8e230e09f6a882ce40e2f",
"size": "4402",
... |
#include "arm_math.h"
/**
* @ingroup groupMath
*/
/**
* @defgroup offset Vector Offset
*
* Adds a constant offset to each element of a vector.
*
* <pre>
* pDst[n] = pSrc[n] + offset, 0 <= n < blockSize.
* </pre>
* ... | {
"content_hash": "f2b978d8b36fff3a0eae28c44484593c",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 96,
"avg_line_length": 22.592,
"alnum_prop": 0.5439093484419264,
"repo_name": "jys0305/highspeedlogger",
"id": "d7ca663bbddb46767e61f4c926942e9b5892f6e8",
"size": "3945",
... |
Sourcery is a command line tool, you can either run it manually or in a custom build phase using following command:
```
$ ./sourcery --sources <sources path> --templates <templates path> --output <output path>
```
> Note: this command may be different depending on the way in which you installed Sourcery (see [Install... | {
"content_hash": "902ff56f6c93d7f84965e8b72544ec9b",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 274,
"avg_line_length": 42.123456790123456,
"alnum_prop": 0.727432590855803,
"repo_name": "Antondomashnev/Sourcery",
"id": "85e5b1acbe402dd6b0840fba47803c538d4e36ff",
"size... |
package org.apache.flink.table.planner.calcite
import org.apache.flink.table.planner.plan.nodes.calcite.{LogicalExpand, LogicalRank}
import org.apache.flink.table.runtime.operators.rank.{RankRange, RankType}
import org.apache.calcite.plan.Contexts
import org.apache.calcite.rel.`type`.{RelDataType, RelDataTypeField}... | {
"content_hash": "96a6ef8cdeef32b09cebbc5f3ca80822",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 100,
"avg_line_length": 31.927083333333332,
"alnum_prop": 0.7079934747145188,
"repo_name": "kl0u/flink",
"id": "62a1cd6bf21475707b311dbf125b8905edeb9fb9",
"size": "3870",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ccs: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" re... | {
"content_hash": "802c16680d37c64c2f806e1f72dac1c5",
"timestamp": "",
"source": "github",
"line_count": 175,
"max_line_length": 159,
"avg_line_length": 42.34285714285714,
"alnum_prop": 0.5516869095816465,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "91f0e69bcac1105cde767b664e590179c4db258a",
... |
package com.amazonaws.services.lightsail.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;
/**
* <p>
* Describes the monthly data transfer in and out of your virtual private server (or <i>instance</... | {
"content_hash": "853c6350967ddca5bf442b9936a12a22",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 137,
"avg_line_length": 30.344,
"alnum_prop": 0.6351173213814922,
"repo_name": "jentfoo/aws-sdk-java",
"id": "3fba84eb6271b3864974c6b878306b45134b5a4c",
"size": "4373",
... |
package cz.vhromada.catalog.web.genre.controller;
import cz.vhromada.catalog.entity.Genre;
import cz.vhromada.catalog.web.event.PanelData;
import cz.vhromada.catalog.web.event.PanelEvent;
import cz.vhromada.catalog.web.flow.CatalogFlow;
import cz.vhromada.catalog.web.genre.mo.GenreMO;
import cz.vhromada.catalog.web.ge... | {
"content_hash": "fa9555cef3524d46d9d8a7868cd3989f",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 144,
"avg_line_length": 36.266666666666666,
"alnum_prop": 0.7614889705882353,
"repo_name": "vhromada/Catalog-Wicket",
"id": "0435ec3056e8b17e019967d5a7ed933ee2179fe0",
"siz... |
<?php
/*
Safe sample
input : backticks interpretation, reading the file /tmp/tainted.txt
sanitize : use mysql_real_escape_string via an object
construction : use of sprintf via a %s with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
... | {
"content_hash": "2a0282bab005c44c40708ec0af466817",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 75,
"avg_line_length": 23.984375,
"alnum_prop": 0.7452768729641693,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "7d66b2c15726294b3d84402e8a5d388f8fee6281",
... |
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Windows.Forms;
using System.Reflection;
using System.IO;
using SIL.IO;
using SIL.Windows.Forms.Extensions;
using SIL.Windows.Forms.HtmlBrowser;
namespace SIL.Windows.Forms.Widgets
{
/// <summary>
/// Any links we... | {
"content_hash": "5000f2b4427b095b18db458d112a0f96",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 118,
"avg_line_length": 29.265432098765434,
"alnum_prop": 0.6739084581311959,
"repo_name": "ermshiperete/libpalaso",
"id": "2669259663cce0a0e4c4c9a0dac5867d8a5909ce",
"siz... |
package com.gerken.gumbo.storm;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
import backtype.storm.Config;
import backtype.storm.generated.GlobalStreamId;
import backtype.storm.generated.Grouping;
import backtype.storm.hooks.ITaskHook;
import backtype.storm.hooks.info... | {
"content_hash": "de68f243b825b7f17fcd6ec9e22a7b82",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 91,
"avg_line_length": 26.66393442622951,
"alnum_prop": 0.7337841992007378,
"repo_name": "chrisGerken/gumbo",
"id": "41778ea2aa18e60ac0c3652b72f52fd4dc8cfdb8",
"size": "32... |
// Copyright 2007, 2008 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... | {
"content_hash": "bae7dc53c68cb823c723d38f455509e8",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 118,
"avg_line_length": 36.642857142857146,
"alnum_prop": 0.7263157894736842,
"repo_name": "apache/tapestry-5",
"id": "58245b7e7b7f257183a86b5234577d164d8e7455",
"size": "2... |
package co.cask.cdap.data2.util.hbase;
import co.cask.cdap.common.conf.CConfiguration;
import co.cask.cdap.common.conf.Constants;
import co.cask.cdap.data2.util.TableId;
import co.cask.cdap.proto.Id;
import org.junit.Assert;
import org.junit.Test;
public class HTable10NameConverterTest {
@Test
public void testG... | {
"content_hash": "057e8690f5b317895cb79d3a574ba3fc",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 112,
"avg_line_length": 41.69230769230769,
"alnum_prop": 0.7813653136531366,
"repo_name": "hsaputra/cdap",
"id": "005c3e9d5ab3293508d7b623b5c48fb236cad3d5",
"size": "1681",... |
Here are some examples of calling the C++ library from other languages
such as C, Octave, and Python.
Although the geodesic capabilities of GeographicLib have been
implemented natively in several languages. There are no plans to do the
same for its other capabilities since this leads to a large continuing
obligation ... | {
"content_hash": "a764e22cabca0aac73863aef457b5a77",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 72,
"avg_line_length": 49.0625,
"alnum_prop": 0.8101910828025478,
"repo_name": "geographiclib/geographiclib",
"id": "217b7114a7129c50cab1d245ed64a638ab6af698",
"size": "847... |
<?php
namespace App\Model;
use Sifoni\Model\Base;
/**
*
*/
class Comment extends Base
{
protected $table = 'comments';
protected $primaryKey = 'id';
}
| {
"content_hash": "2dd84a78242ca0cd00d01a5ecb29fb2d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 31,
"avg_line_length": 9.9375,
"alnum_prop": 0.6540880503144654,
"repo_name": "tanUIT/sifoniBlog",
"id": "7bfbe33763a9e1e16694d6696f13918046b201c7",
"size": "159",
"binar... |
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';
promise_test(async t => {
const pc = new RTCPeerConnection();
t.add_cleanup(() => pc.close());
let resolveIceCandidatePromise = null;
const iceCa... | {
"content_hash": "0b9a2788b19d40acf87c1eb413645b90",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 79,
"avg_line_length": 40.42307692307692,
"alnum_prop": 0.7326355851569933,
"repo_name": "scheib/chromium",
"id": "6c97afe94ae59743896c9d26bb850cc754f57e5b",
"size": "1051"... |
<?php
/* SonataDoctrineORMAdminBundle:Form:filter_admin_fields.html.twig */
class __TwigTemplate_5f23aa286417520d4e12356eea1b2edbd16cf5c28d0c77fb8d5f1b3f479c38ab extends Twig_Template
{
public function __construct(Twig_Environment $env)
{
parent::__construct($env);
$this->parent = $this->env->... | {
"content_hash": "84598948b345ee60624c8254a1d5642a",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 107,
"avg_line_length": 25.425,
"alnum_prop": 0.6588003933136677,
"repo_name": "etisbew/TMS",
"id": "06ada5ace06618c33d6e120405af7bc441397881",
"size": "1017",
"binary": ... |
using Foundation;
using System;
using System.CodeDom.Compiler;
using UIKit;
namespace Music.tvOS
{
[Register ("SongCollectionView")]
partial class SongCollectionView
{
void ReleaseDesignerOutlets ()
{
}
}
} | {
"content_hash": "3eac65723f7c1a9a4c1e3680a7660d55",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 38,
"avg_line_length": 16.466666666666665,
"alnum_prop": 0.6558704453441295,
"repo_name": "Cloudwu8888/UWP-experiences",
"id": "b1dd3b09f388a5f5f5181061937c2c5e90986e42",
"... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "1ca14a615255b084836932a0e05b13d3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 10.923076923076923,
"alnum_prop": 0.7183098591549296,
"repo_name": "mdoering/backbone",
"id": "a1990ba46b523c67c6f8ca3f92b69dc6c49e7f9f",
"size": "19... |
var ProjectView = Backbone.Marionette.ItemView.extend({
tagName: 'a',
className: 'list-group-item',
template: '#project_item',
templateHelpers: {
getStatus: function() {
var STATES = [ 'warning', 'success', 'danger', 'info' ]
return STATES[this.projectStatus.status]
},
},
serializeDat... | {
"content_hash": "db3894a538a2ef81a937ec6721652fb5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 93,
"avg_line_length": 25.45,
"alnum_prop": 0.6738703339882122,
"repo_name": "codepogo/shipscope",
"id": "7bc912e98003ee8afe0b4b368b987a1d44496f73",
"size": "509",
"binar... |
RSpec.describe RuboCop::Cop::Layout::IndentationWidth do
subject(:cop) { described_class.new(config) }
let(:config) do
RuboCop::Config.new('Layout/IndentationWidth' => cop_config,
'Layout/IndentationConsistency' => consistency_config,
'Layout/EndAlignment' => end... | {
"content_hash": "d28d8b8bab1b4a1c3a3483363568bbe0",
"timestamp": "",
"source": "github",
"line_count": 1185,
"max_line_length": 80,
"avg_line_length": 27.78481012658228,
"alnum_prop": 0.46150341685649204,
"repo_name": "urbanautomaton/rubocop",
"id": "406d0ffa9e4cbd0c53ee649edeadd1553cc1b80c",
"siz... |
define(['easel', 'underscore'],
function(createjs, _) {
return function(window) {
function Stage(el) {
this.initialize(el);
this.spawnPoints =
generateSpawnPoints(this.canvas.width,
this.canvas.height);
... | {
"content_hash": "09988343eda8d40e172bc2c9d10971f0",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 63,
"avg_line_length": 31.696428571428573,
"alnum_prop": 0.40450704225352113,
"repo_name": "jmahoney/evacuation",
"id": "8d389d8313c066234de198a066ecf505fb3a81bf",
"size": ... |
package Entidades;
import javax.swing.JOptionPane;
public class Rey extends Pieza {
@Override
public boolean esMovimientoValido(String posIni, String posFin, String color,Partida par, String colorTurno) {
Integer filaIni = Integer.parseInt(RecuperarFila(posIni));
char colIni = RecuperarColumna(posIni).charA... | {
"content_hash": "415505397014eb0406302d0bc85a8ed6",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 245,
"avg_line_length": 40.95575221238938,
"alnum_prop": 0.6099827139152982,
"repo_name": "maxiRodriguez/ParteWEBJava",
"id": "e4bc395ec1771a87f044dde8f34fb5c05d904bab",
"... |
function animateOpen(right) {
if (right != 0) {
var curWidth = $('#graph-grid').width();
$('#graph-grid').animate({'width': curWidth - 400});
}
}
function animateClose() {
var curWidth = $('#graph-grid').width();
$('#graph-grid').width('auto');
var autoWidth = $('#graph-grid').width();
$('#graph-grid').width... | {
"content_hash": "0a0c63452fed9a8c127e0e5d28ec144d",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 108,
"avg_line_length": 26.174311926605505,
"alnum_prop": 0.6358219418156327,
"repo_name": "noam-io/host",
"id": "e75021f9f3eea6df406ef1b446415d00c868704a",
"size": "2882"... |
/* Test if #line commands are generated properly even when header
includes self. */
/* { dg-do compile } */
#include "20000628-1.h"
int main(void) { return a + b + c; }
| {
"content_hash": "53aa2a17a7fbaee4af37921b9b8506b5",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 65,
"avg_line_length": 34.6,
"alnum_prop": 0.6473988439306358,
"repo_name": "the-linix-project/linix-kernel-source",
"id": "41b84108c6c9441a6605ba2e5bb90cd6f293a2b5",
"size"... |
#include "precompiled.hpp"
#include "code/debugInfoRec.hpp"
#include "code/pcDesc.hpp"
#include "code/scopeDesc.hpp"
#include "memory/resourceArea.hpp"
#include "oops/oop.inline.hpp"
#include "runtime/handles.inline.hpp"
ScopeDesc::ScopeDesc(const nmethod* code, int decode_offset, int obj_decode_offset, bool reexec... | {
"content_hash": "879d0d3e8b0c350d9e2b477dcf9f73d5",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 118,
"avg_line_length": 32.16086956521739,
"alnum_prop": 0.6394484250371772,
"repo_name": "firstblade/Open-Source-Research",
"id": "b8c2e2d1f4db787ee7e768359da3a09853c82a4b"... |
> Read and write meta information in files.
- Remove all EXIF metadata from the given files:
`exiftool -All= {{file}}`
- Increase time photo taken by 1 hour in directory:
`exiftool "-AllDates+=0:0:0 1:0:0" {{directory}}`
- Decrease time photo taken by 1 day and 2 hours on JPEGs only:
`exiftool "-AllDates-=0:0:1 2... | {
"content_hash": "a4d4243488c443b0b22d6b3ee4315393",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 94,
"avg_line_length": 29.571428571428573,
"alnum_prop": 0.7069243156199678,
"repo_name": "AgamAgarwal/tldr",
"id": "d3ea22509042230e53474b6933dace11afc29e23",
"size": "633... |
#include <sbml/Model.h>
#include <sbml/Compartment.h>
#include <sbml/Species.h>
#include <sbml/Parameter.h>
#include <sbml/UnitDefinition.h>
#include <sbml/Event.h>
#include <sbml/Reaction.h>
#include <sbml/EventAssignment.h>
#include <sbml/SpeciesReference.h>
#include <sbml/Rule.h>
#include <sbml/math/FormulaFormatt... | {
"content_hash": "374bef2f12bf1699451554a76901dda7",
"timestamp": "",
"source": "github",
"line_count": 406,
"max_line_length": 91,
"avg_line_length": 24.751231527093594,
"alnum_prop": 0.6409592994327794,
"repo_name": "TheCoSMoCompany/biopredyn",
"id": "05adc68da61ec07b77c88f0a7be1f4c73398a19f",
"s... |
package org.mybatis.jpetstore.service;
import org.mybatis.jpetstore.domain.Account;
import org.mybatis.jpetstore.mapper.AccountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
/**
* ... | {
"content_hash": "79c40306da9c17c4fe97d7aa1edeef59",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 78,
"avg_line_length": 24.071428571428573,
"alnum_prop": 0.7433234421364985,
"repo_name": "Pradeeshg/gitdemo",
"id": "83f137a83d9239f58ed4bd1b6a6196731757c123",
"size": "19... |
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title></title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script>
var loadedCount = 0;
var nestingTest = async_test("Test <object> nesting inside <object>");
onload = n... | {
"content_hash": "ef89694a30c84c0bd657ef9c13eae1b0",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 103,
"avg_line_length": 44.089285714285715,
"alnum_prop": 0.6302146618063994,
"repo_name": "scheib/chromium",
"id": "47cf8016935d22a1ad92734bf0a2db21ace4a81c",
"size": "246... |
title: Ben Ballingall
lead: false
dark-theme: true
region: NSW
house: Legislative Council
email: ben.ballingall@voteflux.org
image: candidates/ben-ballingall.jpg
facebook: https://www.facebook.com/BenBallingallFluxTheSystem
#linkedin:
twitter: https://twitter.com/HomoNoetic
bio:
- >
I'm Ben, I'm a university stude... | {
"content_hash": "dae359b985c12529325e7f3ab96a6e1e",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 121,
"avg_line_length": 45.69565217391305,
"alnum_prop": 0.7507136060894386,
"repo_name": "voteflux/vote-flux-v2",
"id": "8d42449028e9fd2145c02d42bacce42598c9a16d",
"size":... |
<!DOCTYPE HTML>
<html>
<body style="text-shadow: 5px 5px 1.5px red;">
<span style="direction: rtl; unicode-bidi: bidi-override">abcde</span>
</body>
</html>
| {
"content_hash": "8420794c0438490a9bacbac947b22973",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 70,
"avg_line_length": 26.166666666666668,
"alnum_prop": 0.6878980891719745,
"repo_name": "wilebeast/FireFox-OS",
"id": "5cd48769fc06b294524c74bb7ebf5664c193c0a4",
"size": "... |
/*
* Module to encapsulate logic for passport instantiation used for
* authentication.
*
* Exports function that return instance of passport object.
*
* */
'use strict';
var model = require('./model/db'),
passport = require('passport'),
Promise = require('bluebird'),
LocalStrategy = require('... | {
"content_hash": "7e1e064f863af9f04c3a8dc168b09a64",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 90,
"avg_line_length": 25.51829268292683,
"alnum_prop": 0.614336917562724,
"repo_name": "akanuragkumar/Leave.Management.System",
"id": "128b4a4efec1d46671671f898f301876e00a6... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"> <!-- Use Chrome Frame in IE -->
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
<t... | {
"content_hash": "f1103ef0742a740e6f3c11a7dfe2494f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 146,
"avg_line_length": 53.46666666666667,
"alnum_prop": 0.6920199501246883,
"repo_name": "uhef/Oskari-Routing-frontend",
"id": "d16926dbd1c6f649d2fbcc91d83dfa577d05fc8e",
... |
package nl.yoink.org.springframework.web.servlet.mvc.method.annotation;
import org.springframework.web.servlet.mvc.condition.RequestCondition;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping;
import java.lang.reflect.Method;
/**
* <p>Extension of the default {@link RequestM... | {
"content_hash": "11d72f4294cfae4fe24781d49388c77e",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 129,
"avg_line_length": 43.851063829787236,
"alnum_prop": 0.7792333818534692,
"repo_name": "jhkuperus/spring-webmvc-profile-conditions",
"id": "02b98c145d68c696fd28ac69fec0a2... |
<?php
global $v_contest;
?>
<h2 class='PageTitle'>
<span>
<?=$v_contest['name']?>
</span>
<span>
<?php
if (!is_null($v_contest['date'])) {?>
- <?=GetItalianDate($v_contest['date'])?>
<?php
} ?>
</span>
<span>
<?php
if (!is_null($v_contest['SolutionsZip'])) { ?>
<a href='../Modify/DownloadFiles.php?typ... | {
"content_hash": "a1729c398a4381a3148745d6027d39b3",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 273,
"avg_line_length": 32.6,
"alnum_prop": 0.6288343558282209,
"repo_name": "walypala23/correzioni-olimpiadi",
"id": "5ee9a685d4b88c00a1420b6a843e3a62defd5b83",
"size": "9... |
from unittest.mock import patch
from django.core.cache import cache
from django.db import connection
from django.test import TestCase
from explorer.app_settings import EXPLORER_DEFAULT_CONNECTION as CONN
from explorer import schema
class TestSchemaInfo(TestCase):
def setUp(self):
cache.clear()
@pa... | {
"content_hash": "9fd5c9a1fb56c10455677abc791f046d",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 74,
"avg_line_length": 37.89772727272727,
"alnum_prop": 0.64047976011994,
"repo_name": "groveco/django-sql-explorer",
"id": "73d1f43aa0c29431c5dcdcb38ea31a7c0746bd7d",
"siz... |
package org.apache.hadoop.hbase.master;
import java.io.IOException;
import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.Server;
import org.apache.hadoop.hbase.TableDescriptors;
import org.apache.hadoop.hbase.TableNotDisabledException;
import org.apache.hadoop.hbase.TableNotFoundException;... | {
"content_hash": "f5e15fe45481b8ccd593b3be5a91a779",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 86,
"avg_line_length": 28.363636363636363,
"alnum_prop": 0.7293956043956044,
"repo_name": "Shmuma/hbase-trunk",
"id": "c4b42ae5038ca080c5f4f380a935d1386b77a380",
"size": "3... |
#if defined(__GNUC__)
#warning "Inclusion of header files from include/Qt is deprecated."
#elif defined(_MSC_VER)
#pragma message("WARNING: Inclusion of header files from include/Qt is deprecated.")
#endif
#endif
#include "../Qt3Support/q3shared.h"
| {
"content_hash": "75da7544b9fed8be43fe3e95e4c36fa6",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 92,
"avg_line_length": 34.75,
"alnum_prop": 0.6726618705035972,
"repo_name": "stephaneAG/PengPod700",
"id": "6817c496f79013979d80af0d95bb0b9ce966dab6",
"size": "308",
"bin... |
require "spec_helper"
describe OpenXml::Docx::Elements::AbsolutePositionTab do
include ElementTestMacros
it_should_use tag: :ptab, name: "absolute_position_tab"
with_no_attributes_set do
it_should_output "<w:ptab/>", assign: false
end
for_attribute(:alignment) do
%i(center left right).each do |allo... | {
"content_hash": "d2a803003e7f04b60395bb4cb9802b68",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 94,
"avg_line_length": 25.43103448275862,
"alnum_prop": 0.6610169491525424,
"repo_name": "genebot/rocx",
"id": "b52f9e6af3314c6e516256287ffcb00cdf03bc56",
"size": "1475",
... |
<!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": "9bab58119029da7c402ca8d9c7b6d443",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 296,
"avg_line_length": 43.92344497607655,
"alnum_prop": 0.5096949891067538,
"repo_name": "dcarda/aba.route.validator",
"id": "e9f7ac6d2fd692089240afdf3060c114afca9968",
"... |
<?php
namespace ZendGData\Docs;
use ZendGData\GApps;
/**
* Data model class for a Google Docs ACL Entry.
*
* Each acl entry describes a single ACL for a given document
* domain.
*
* This class represents <atom:entry> in the Google Data protocol.
*
* @category Zend
* @package ZendGData
* @subpackage G... | {
"content_hash": "e31fdad7e655ff1362841b8810406705",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 82,
"avg_line_length": 28.355704697986578,
"alnum_prop": 0.5865088757396449,
"repo_name": "asdf0577/wufan",
"id": "9c47b472c0283da0d6cce2abb42d691a0fe1f8a3",
"size": "4551... |
package org.mule.examples;
import static org.junit.Assert.assertEquals;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.json.JSONOb... | {
"content_hash": "ba2eb715ca8b2fa58752344cba93a7ea",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 160,
"avg_line_length": 36.8018018018018,
"alnum_prop": 0.7121175030599756,
"repo_name": "lenka-mizikova/anypoint-examples",
"id": "2aea7aa84a35da009eaa015ff9bb23da3d306194"... |
package org.gradle.api;
/**
* Allows specification of configuration for some action.
*
* <p>The configuration is represented using zero or more initialization parameters to use when constructing an instance of the implementation class. The following types are supported:</p>
*
* <ul>
* <li>{@link String}</l... | {
"content_hash": "148712febc93b3081a38cf57802fa78b",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 188,
"avg_line_length": 36.108695652173914,
"alnum_prop": 0.6580373269114991,
"repo_name": "gradle/gradle",
"id": "a53e5c067946fe465d148f55d85be827715d7498",
"size": "2276"... |
Using these tools from an LTI Consumer
======================================
Depending on the administrator of the Tsugi server, you may
be able to get an LTI key and secret for the use of the tools
on the server. Tsugi has a capability to let you log in
and request keys that can be enabled by the sytem owner.
Tsug... | {
"content_hash": "7a6a68aa1f9e40ec9aaba6239a7b0b23",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 79,
"avg_line_length": 36.346456692913385,
"alnum_prop": 0.7506499133448874,
"repo_name": "reysantos/tsugi",
"id": "3778ea5a90c569cfffcbc5543dec8866a78704cc",
"size": "462... |
/*
* 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 org.ohdsi.webapi.evidence;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* @author asena5
*/
public class Ev... | {
"content_hash": "309fefb043ec5637264f118c26613d71",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 79,
"avg_line_length": 24.807692307692307,
"alnum_prop": 0.7069767441860465,
"repo_name": "OHDSI/WebAPI",
"id": "da05ee46025c954db74b2cac9f64af27cecfad50",
"size": "645",
... |
import { getShapeType } from '../../../../src/geometry/util/get-shape-type';
describe('getShapeType', () => {
it('getShapeType', () => {
expect(getShapeType({}, 'circle')).toBe('circle');
expect(getShapeType({ shape: 'point' }, 'circle')).toBe('point');
expect(getShapeType({ shape: ['point', '33'] }, 'ci... | {
"content_hash": "f7ec7e0590868aed2065412277cd9dff",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 77,
"avg_line_length": 39.22222222222222,
"alnum_prop": 0.5807365439093485,
"repo_name": "antvis/g2",
"id": "a0c96d1d7a3085eb1983b9e3e0b4799cfbfa195a",
"size": "353",
"bin... |
module Azure::SQL::Mgmt::V2017_10_01_preview
#
# The Azure SQL Database management API provides a RESTful set of web
# services that interact with Azure SQL Database services to manage your
# databases. The API enables you to create, retrieve, update, and delete
# databases.
#
class ManagedDatabaseVulnera... | {
"content_hash": "469fb6790a9f519ff62e43093c7e658d",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 306,
"avg_line_length": 55.26932668329177,
"alnum_prop": 0.7135315616116952,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "40de817f3719cdf7087455079e3839cb65973e4c",
"si... |
<ng-form name="_form" ng-cloak>
<md-input-container flex class="md-block" ng-class="{'md-icon-left': $component.icon}" md-is-error="$component.invalid && ($component.touched || $component.dirty)" md-no-float="$component.noFloat">
<md-icon class="material-icons" ng-if="$component.icon">{{ $component.icon }}... | {
"content_hash": "295b086c0ad8a860a89e1996dadd785f",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 201,
"avg_line_length": 38.303030303030305,
"alnum_prop": 0.5419303797468354,
"repo_name": "gleandroj/angular-material-simple-components",
"id": "88c1a2eb67caa85034fd27ec58ac... |
package ca.uhn.fhir.jpa.dao.dstu3;
import org.junit.Test;
public class FhirSystemDaoDstu3SearchTest extends BaseJpaDstu3SystemTest {
@Test
public void testSearchByParans() {
// code to come.. just here to prevent a failure
}
/*//@formatter:off
* [ERROR] Search parameter action has conflicting types token ... | {
"content_hash": "fe6c97b06772508671c3b88c423b1fee",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 84,
"avg_line_length": 57.02325581395349,
"alnum_prop": 0.7846655791190864,
"repo_name": "ismael-sarmento-jr/hapi-fhir",
"id": "0a1b5bfc920ee96b159b0e40fadf65cb5a49f9ac",
"... |
=======================
Introduction
=======================
This is the documentation for a hyperloop optimization framework, which can be found
in this `github repository`__.
.. __: https://github.com/OpenMDAO-Plugins/Hyperloop
The hyperloop concept is a proposed transportation system that could offer lower cos... | {
"content_hash": "9dddf9e6e1882825756901b9184fdcee",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 131,
"avg_line_length": 39.865671641791046,
"alnum_prop": 0.7588918008236616,
"repo_name": "whiplash01/Hyperloop",
"id": "4a4581932db9ebd8bcd3f9026e0aeaead855b181",
"size":... |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | {
"content_hash": "7a454c572fd384fa971e837fa8c72490",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 182,
"avg_line_length": 29.402173913043477,
"alnum_prop": 0.6872458410351201,
"repo_name": "googleapis/google-api-java-client-services",
"id": "35b3b40cde110492bde23757a0ae53... |
#include "avformat.h"
typedef struct ASSContext{
unsigned int extra_index;
}ASSContext;
static int write_header(AVFormatContext *s)
{
ASSContext *ass = s->priv_data;
AVCodecContext *avctx= s->streams[0]->codec;
uint8_t *last= NULL;
if(s->nb_streams != 1 || avctx->codec_id != CODEC_ID_SSA){
... | {
"content_hash": "a0443fad0fdc19694d60d9381e3246a0",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 75,
"avg_line_length": 22.123287671232877,
"alnum_prop": 0.5863777089783282,
"repo_name": "dariorapisardi/flipdroid",
"id": "d1b93e82ef034aade59f374ab21848ea618f3d84",
"siz... |
#pragma once
#include <aws/config/ConfigService_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/config/model/ConfigurationAggregator.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespac... | {
"content_hash": "e1c5a2ae42008d97c4a0cf4647b15504",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 189,
"avg_line_length": 37.768595041322314,
"alnum_prop": 0.7185995623632385,
"repo_name": "aws/aws-sdk-cpp",
"id": "468b7a47fcb32fa1c59a9810172aa0625b923309",
"size": "46... |
export const pluralize = (plural, n, singular = false) => {
const singleton = singular || plural.replace(/e?s$/, '');
return n === 1 ? singleton : plural;
};
export const localeDate = date =>
(new Date(date)).toLocaleDateString('en-Us',
{ year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minut... | {
"content_hash": "b16b27899611f2ebd0a5ea523ed4b8b0",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 92,
"avg_line_length": 42.125,
"alnum_prop": 0.629080118694362,
"repo_name": "zooniverse/notes-from-nature-landing",
"id": "af56f52179d0c6fd9879f99d4a26816b24596e78",
"size"... |
package org.kaazing.gateway.server.context.resolve;
import static com.hazelcast.core.LifecycleEvent.LifecycleState.SHUTTING_DOWN;
import static org.kaazing.gateway.server.context.resolve.DefaultServiceContext.BALANCER_MAP_NAME;
import static org.kaazing.gateway.server.context.resolve.DefaultServiceContext.MEMBERID_BA... | {
"content_hash": "43e1864f4e3d7a140e82f450ad07ead4",
"timestamp": "",
"source": "github",
"line_count": 826,
"max_line_length": 129,
"avg_line_length": 44.29903147699758,
"alnum_prop": 0.6369872372987894,
"repo_name": "adrian-galbenus/gateway",
"id": "f9e29c4b910d89124a1696052fcdb13bbdfdfc5e",
"siz... |
using namespace Geometry;
DiscreteLAC::DiscreteLAC()
: closed_(false), alpha_(-1), sampling_rate_(20), tolerance_(epsilon)
{
}
bool DiscreteLAC::closed() const {
return closed_;
}
void DiscreteLAC::setClosed(bool b) {
closed_ = b;
}
double DiscreteLAC::alpha() const {
return alpha_;
}
void DiscreteLAC::set... | {
"content_hash": "227c8293248f7b9b98d5457e8aadc455",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 96,
"avg_line_length": 30.482758620689655,
"alnum_prop": 0.5685197155785391,
"repo_name": "salvipeter/discrete-clothoids",
"id": "e2e32f07a8a4e5e8b857a421b1b4689a694ad4c0",
... |
<?php defined('BX_DOL') or die('hack attempt');
class BxBaseModProfileInstaller extends BxBaseModGeneralInstaller
{
protected $_sParamDefaultProfileType;
function __construct($aConfig)
{
parent::__construct($aConfig);
$this->_sParamDefaultProfileType = 'sys_account_default_profile_type';... | {
"content_hash": "9c9e4d7f63af50af8682fde162ff97a3",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 103,
"avg_line_length": 29.09090909090909,
"alnum_prop": 0.60703125,
"repo_name": "camperjz/una",
"id": "27f0bb1c71b583bee1bd1b59374be59b27ab2fa8",
"size": "1483",
"binar... |
$PackageName = 'neo4j-community'
# Per-package parameters
$downloadUrl = 'http://neo4j.com/artifact.php?name=neo4j-community-2.1.6-windows.zip'
$md5Checksum = '25cf8ed7ede030e2afe5f37ca91fea5f'
$neozipSubdir = 'neo4j-community-2.1.6'
$neoServerApiJarSuffix = '2.1.6'
try {
# Taken from https://github.com/chocolatey/c... | {
"content_hash": "33ea90c3a18b4eb3760476bbf101c39a",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 187,
"avg_line_length": 41.90625,
"alnum_prop": 0.6814317673378076,
"repo_name": "glennsarti/neo4j-community-chocolatey",
"id": "4484cfdcfc43dedd7613597fc7a2a9f560f38bf3",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content... | {
"content_hash": "6ef57b83efaf1a551f6a777b64d68627",
"timestamp": "",
"source": "github",
"line_count": 471,
"max_line_length": 999,
"avg_line_length": 41.77070063694268,
"alnum_prop": 0.6174646741892853,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "9feaa505dbf56ff4b13b746450fe458aab2ed96... |
import { Rigidbody3D } from "./Rigidbody3D";
import { PhysicsComponent } from "./PhysicsComponent";
/**
* @internal
*/
export class BulletInteractive {
/**@internal */
static _interactive: object = {
//Dynamic刚体,初始化时调用一次,Kinematic刚体,每次物理tick时调用(如果未进入睡眠状态),让物理引擎知道刚体位置。
"getWorldTransform": (ri... | {
"content_hash": "8b25394fb933277396dedc410f5e79df",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 97,
"avg_line_length": 43.41379310344828,
"alnum_prop": 0.6489277204130263,
"repo_name": "layabox/layaair",
"id": "4ffadfcdb204f67d1c6dd66f1c17c0c0a3bc2675",
"size": "1455"... |
/**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include <gen-py3/hsmodule/clients_wrapper.h>
namespace cpp2 {
HsTestServiceClientWrapper::HsTestServiceClientWrapper(
std::shared_ptr<cpp2::HsTestServiceAsyncClient> async_client) :
async... | {
"content_hash": "bf5ac319140c124986aea0b7bf7cdc27",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 104,
"avg_line_length": 24.954545454545453,
"alnum_prop": 0.7231329690346083,
"repo_name": "getyourguide/fbthrift",
"id": "fae6d1d3b3ecca55089e1f623fd8d481a31e9f04",
"size"... |
package co.cask.cdap.etl.common;
import co.cask.cdap.etl.api.Emitter;
import co.cask.cdap.etl.api.InvalidEntry;
import co.cask.cdap.etl.api.Transform;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import org.junit.Assert;
import org.junit.Test;
import java.util.Array... | {
"content_hash": "613188bc6ea843502cae52580eea5afe",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 117,
"avg_line_length": 47.361111111111114,
"alnum_prop": 0.6271994134897361,
"repo_name": "chtyim/cdap",
"id": "5ee4d80c17060e2a900742d77bb7cb59b13ccb08",
"size": "14237"... |
Animations to implement in a future update.
- Snaking
- Start from bottom/top and toggled each light to the same color, start again with new color, loop
- Similar to setting up branches where each branch is on the same light
- Twinkle with tweening
- An implementation of the Twinkle animation where colors ... | {
"content_hash": "daf372ce20c2c9e557a64d67a6b07031",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 102,
"avg_line_length": 48.714285714285715,
"alnum_prop": 0.7653958944281525,
"repo_name": "Changer098/ChristmasPi",
"id": "7931437264e4067427167cfb925a1fe298f4e72f",
"size"... |
namespace chromeos {
namespace device_sync {
namespace {
// TODO(https://crbug.com/1164001): remove after migrating to ash.
namespace mojom = ::ash::device_sync::mojom;
// TODO(https://crbug.com/933656): Use async execution time metrics to tune
// these timeout values.
constexpr base::TimeDelta kWaitingForGetDevice... | {
"content_hash": "a9930c5e29f6c51a3ac19dd0eccaa506",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 80,
"avg_line_length": 35.245098039215684,
"alnum_prop": 0.7324061196105702,
"repo_name": "scheib/chromium",
"id": "4d2cd29bdd5b0ac3b9b754a42d1f94b1f8c1322f",
"size": "816... |
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE toc
PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 2.0//EN"
"http://java.sun.com/products/javahelp/toc_2_0.dtd">
<toc version="2.0">
<tocitem text="ZAP User Guide" tocid="toplevelitem">
<tocitem text="Bővítmények" tocid="addons">
<tocitem t... | {
"content_hash": "6c05d1e8532b8d9b6797798093544144",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 109,
"avg_line_length": 37.416666666666664,
"alnum_prop": 0.6859688195991092,
"repo_name": "veggiespam/zap-extensions",
"id": "9cc074569ecadaa30c290e89da3a756f5c9e133a",
"s... |
// =================================================================================================
// ADOBE SYSTEMS INCORPORATED
// Copyright 2010 Adobe Systems Incorporated
// All Rights Reserved
//
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
// of the Adobe lic... | {
"content_hash": "b553a34178259fb4b9cd6e1625293547",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 110,
"avg_line_length": 34.283236994219656,
"alnum_prop": 0.6600910470409712,
"repo_name": "zthomas/xmp-sdk",
"id": "f8cc31bed7c60ba56c0928c219dffd37f3ce74b4",
"size": "59... |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/inspector/inspector_animation_agent.h"
#include <memory>
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h... | {
"content_hash": "caa4f2959e4d9a16a6bb0e60b0a5a1e1",
"timestamp": "",
"source": "github",
"line_count": 589,
"max_line_length": 107,
"avg_line_length": 39.249575551782684,
"alnum_prop": 0.7074573925080024,
"repo_name": "chromium/chromium",
"id": "fe85d7baade1aa2ece2eabac196194c3c0026086",
"size": "... |
package org.apache.solr.analytics.util;
import java.io.IOException;
import java.util.Arrays;
import java.util.Date;
import org.apache.lucene.util.BytesRef;
import org.apache.lucene.util.NumericUtils;
import org.apache.solr.schema.FieldType;
import org.apache.solr.schema.TrieDateField;
import org.apache.solr.schema.... | {
"content_hash": "4600b895b036aa97df032ebef6d4a008",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 114,
"avg_line_length": 33.01273885350319,
"alnum_prop": 0.6899479066177889,
"repo_name": "PATRIC3/p3_solr",
"id": "320d3f5c2481282c0f58475e8908484edfe23221",
"size": "598... |
package logginghttp
import (
"context"
"net/http/httptest"
"testing"
"github.com/gorilla/mux"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/xmidt-org/webpa-common/logging"
)
func TestRequestMethodKey(t *testing.T) {
assert := assert.New(t)
assert.Equal(requestMethodK... | {
"content_hash": "9060144dafa98f37339b617f0af20325",
"timestamp": "",
"source": "github",
"line_count": 202,
"max_line_length": 71,
"avg_line_length": 22.876237623762375,
"alnum_prop": 0.6760441462886821,
"repo_name": "Comcast/webpa-common",
"id": "f63ca67fb160a98dd2c4c14b7bd556ce439d3872",
"size":... |
package org.dynamicloud.wiztorage.writer;
import junit.framework.TestCase;
import org.dynamicloud.wiztorage.configurator.StorageConfigurator;
import org.dynamicloud.wiztorage.exception.FileWriterException;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOExce... | {
"content_hash": "fee5cfdd6c81bb7132b9069f244c724a",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 103,
"avg_line_length": 31.524590163934427,
"alnum_prop": 0.6219448777951118,
"repo_name": "dynamicloud/wiztorage_for_java",
"id": "da16e4f4f2ec7bc0f16b9bd1eaf80af757365eaf",... |
layout: "generic"
title: "Oxfolk: Cat's calling academy"
---
<article class="background-blue">
<div class="content">
<h1>Oxfolk Links</h1>
</div>
</article>
<article class="background-green">
<div class="content">
<h3>Other local ceilidhs</h3>
<ul>
<li>
... | {
"content_hash": "52d784a3f4402208253ffcde542da7e3",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 110,
"avg_line_length": 38.642276422764226,
"alnum_prop": 0.47401641068798656,
"repo_name": "oxfolk/oxfolk.org.uk",
"id": "46bb9e622cbe65b4fdd32494397776ba2ec77784",
"size... |
<?php
namespace Backend\Modules\ModuleMaker\Actions;
use Backend\Core\Engine\Base\ActionAdd;
use Backend\Core\Engine\Form;
use Backend\Core\Engine\Language;
use Backend\Core\Engine\Model;
use Backend\Modules\ModuleMaker\Engine\Helper as BackendModuleMakerHelper;
/**
* This is the add field-action, it will display a... | {
"content_hash": "741940227adb7e6d32fe74e49cfb486e",
"timestamp": "",
"source": "github",
"line_count": 264,
"max_line_length": 155,
"avg_line_length": 37.43939393939394,
"alnum_prop": 0.4696479158235532,
"repo_name": "Schetss/CarCor",
"id": "ff5c57144bb7c120a464f725d4868eb89797a26d",
"size": "9884... |
title: Twig Recipes
taxonomy:
category: docs
---
This page contains an assortment of problems and their respective solutions related to Twig templating.
1. [List the last 5 recent blog posts](#list-the-last-5-recent-blog-posts)
1. [List the blog posts for the year](#list-the-blog-posts-for-the-year)
1. [Displayin... | {
"content_hash": "5d327e20733d7e82ab9093b9df44c755",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 368,
"avg_line_length": 27.98235294117647,
"alnum_prop": 0.6792095858734497,
"repo_name": "miljan-aleksic/grav-learn",
"id": "012191f78fdf7cbac348d03d9fb2ba3f11f5dc77",
"s... |
// Type definitions for bootstrap.datepicker
// Project: https://github.com/eternicode/bootstrap-datepicker
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jquery/jquery.d.ts"/>
interface DatepickerOptions {
... | {
"content_hash": "725e497f3ccedf3f8b7ad38a2516f37b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 65,
"avg_line_length": 27.925925925925927,
"alnum_prop": 0.7029177718832891,
"repo_name": "Diullei/DefinitelyTyped_test_proposal",
"id": "f18d57515a0ad2c0f8cb4940e97b8c8bd8d1... |
/**
* This class is for Non-java clients. Please do not remove or modify.
*/
package com.hazelcast.client.test;
public class Derived2Custom extends Derived1Custom {
public Derived2Custom() {
}
public Derived2Custom(int value) {
super(value);
}
}
| {
"content_hash": "42502170b1511685bf21cf08cd8bf7f5",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 70,
"avg_line_length": 17.3125,
"alnum_prop": 0.6714801444043321,
"repo_name": "mesutcelik/hazelcast",
"id": "dc28c218a26a11cdd21897489eb98ec5a00e8aa3",
"size": "902",
"b... |
package processframework
import akka.actor.Actor._
import akka.actor.{ ActorLogging, Actor, ActorContext }
import akka.persistence.{ PersistentActor, RecoveryCompleted }
import processframework.Process.{ AbortCommand, AbortEvent }
import scala.reflect._
object PersistentProcess {
case class Perform[State](action: ... | {
"content_hash": "d3deaf14427ada658e3f3fcda48d87a1",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 199,
"avg_line_length": 38.5531914893617,
"alnum_prop": 0.7097130242825607,
"repo_name": "jaapterwoerds/process",
"id": "6b62e3649af685f592b8fa4a19be7a6517f2653c",
"size": ... |
package cz.kamenitxan.jakon.webui.controller.objectextension
import cz.kamenitxan.jakon.core.configuration.Settings
import cz.kamenitxan.jakon.core.database.DBHelper
import cz.kamenitxan.jakon.core.dynamic.{Get, Pagelet}
import cz.kamenitxan.jakon.core.model.JakonUser
import cz.kamenitxan.jakon.core.service.UserServic... | {
"content_hash": "8b91aaf557445c4a7caaa28a91eb97ea",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 131,
"avg_line_length": 33.642857142857146,
"alnum_prop": 0.7489384288747346,
"repo_name": "kamenitxan/Jakon",
"id": "c55161a24e9ecc72ea4b42f3dd58155e1e1a2257",
"size": "18... |
<!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>
<script type="text/javascript" src="reflection.js"></script>
<title>Reflection.js Testsuite</title>
<style type="text/css">
body { background-color... | {
"content_hash": "e20bdf5b1876011030a82f5215b4ad0e",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 257,
"avg_line_length": 42.820754716981135,
"alnum_prop": 0.6873760740251157,
"repo_name": "jonrosenberg/rosenbergj-website",
"id": "ffcdd9ba3e02e970f2650bfb5f8e4034f90820e6... |
<?php
namespace iRAP\AwsWrapper\Requests;
/*
* 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.
*/
class RequestDescribeInstances extends Ec2RequestAbstract
{
private $m_region;
p... | {
"content_hash": "cb5318229043640c4c434846d9419a4f",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 102,
"avg_line_length": 31.902439024390244,
"alnum_prop": 0.5981141692150866,
"repo_name": "iRAP-software/package-aws-wrapper",
"id": "5e1b4c41bb5592bc04f23f832f3cdc38552f6d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.