text stringlengths 2 1.04M | meta dict |
|---|---|
var requirejs = require('../../r.js');
//Try an optimization pass.
requirejs.optimize({
baseUrl: '../../../requirejs/tests',
name: 'one',
include: 'dimple',
out: 'builds/outSingleOpt.js',
optimize: 'none'
}, function (resultText) {
console.log('requirejs.optimize:\n===============... | {
"content_hash": "5fe012c8aac3ae1353ee8b0452c37f91",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 101,
"avg_line_length": 29.214285714285715,
"alnum_prop": 0.5537897310513448,
"repo_name": "quantumlicht/collarbone",
"id": "7a6590083520acd046b2aeb7c414cdc268497952",
"siz... |
namespace spider {
namespace {
const ::google::protobuf::Descriptor* consumer_register_req_descriptor_ = NULL;
const ::google::protobuf::internal::GeneratedMessageReflection*
consumer_register_req_reflection_ = NULL;
} // namespace
void protobuf_AssignDesc_consumer_5fregister_5freq_2eproto() {
protobuf_AddDes... | {
"content_hash": "b956f0d84109d433d84e17e1ff4912c1",
"timestamp": "",
"source": "github",
"line_count": 352,
"max_line_length": 104,
"avg_line_length": 32.51136363636363,
"alnum_prop": 0.688395665851101,
"repo_name": "wonghoifung/learning-python",
"id": "8cd8050182edecba3d649138abf35bcd91ce1aa8",
"... |
SYNONYM
#### According to
Index Fungorum
#### Published in
Fragm. flor. geobot. (Kraków) 20(1): 97 (1974)
#### Original name
Mycoblastus alpinus (Fr.) Th. Fr. ex Hellb.
### Remarks
null | {
"content_hash": "3d709818d95a67ae52019da38486fe7f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 46,
"avg_line_length": 14.538461538461538,
"alnum_prop": 0.6666666666666666,
"repo_name": "mdoering/backbone",
"id": "6b63e586a5a373799cd4feb52ac3a0157a644445",
"size": "26... |
package demo.warehouse;
import demo.warehouse.domain.Warehouse;
import demo.warehouse.domain.WarehouseStatus;
import demo.warehouse.event.WarehouseEvent;
import demo.warehouse.event.WarehouseEventType;
import demo.warehouse.event.WarehouseEvents;
import org.springframework.statemachine.StateMachine;
import org.springf... | {
"content_hash": "c71da24f471d58556bcf1d2af9d8f31f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 121,
"avg_line_length": 35.53333333333333,
"alnum_prop": 0.756722951844903,
"repo_name": "naheedmk/event-stream-processing-microservices",
"id": "3a598a2848e9311a8112fd2b6099... |
Isomorphisms, sections, retractions. With printing and parsing in mind.
The aim is to write a nice collection, which could also be reused by
parser combinators.
Also trying to find out whether they could be usable for direct
parsing and printing.
| {
"content_hash": "6dbeaeab14254e2db41d4c2f053c3f25",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 71,
"avg_line_length": 35.57142857142857,
"alnum_prop": 0.8032128514056225,
"repo_name": "defanor/morphisms",
"id": "654c863c7fdb5f2f2dd8c81780c24a71e8eff772",
"size": "262"... |
.class public Lcom/android/internal/telephony/gsm/SuppServiceNotification;
.super Ljava/lang/Object;
.source "SuppServiceNotification.java"
# static fields
.field public static final MO_CODE_CALL_DEFLECTED:I = 0x8
.field public static final MO_CODE_CALL_FORWARDED:I = 0x2
.field public static final MO_CODE_CALL_FORW... | {
"content_hash": "87c762c49f538f81f28b6a9f08d47a45",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 127,
"avg_line_length": 27.353591160220994,
"alnum_prop": 0.7337911533023631,
"repo_name": "GaHoKwan/tos_device_meizu_mx4",
"id": "3f22e9201e4890ad1c5007d8b8de7944ad9d8e1b",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_151) on Wed Dec 02 13:39:44 MST 2020 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class org.wildfly.s... | {
"content_hash": "feafa778a11575d935af230675268dee",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 532,
"avg_line_length": 59.831896551724135,
"alnum_prop": 0.6810748505150925,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "60d25c1ff109f89f616813bc297646ca1d4... |
package org.apache.ignite.internal.processors.query.h2;
import java.sql.BatchUpdateException;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Colle... | {
"content_hash": "13c4745df09a47bb363fc303f7f2222c",
"timestamp": "",
"source": "github",
"line_count": 3083,
"max_line_length": 137,
"avg_line_length": 35.94096659098281,
"alnum_prop": 0.5958341606050214,
"repo_name": "chandresh-pancholi/ignite",
"id": "f8c79f15c2b10463341d61904ac377af67657f3d",
"... |
package acmi.l2.clientmod.unreal.bytecode.token.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface ConversionToke... | {
"content_hash": "fc38073cc82d90da1305abf17e679ac7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 59,
"avg_line_length": 27.166666666666668,
"alnum_prop": 0.8282208588957055,
"repo_name": "acmi/L2unreal",
"id": "9be4eb475599f168d88848278db6e2c5f21d9d54",
"size": "1434",... |
Multi Box Grid
=====================
Have you ever need to have boxes that scale as the page shrinks and need all elements postion to stay the same? This mixin helps you do it.
This technique is very useful when you need to keep image responsive to the page and have overlaying text positioned at specific places.
How ... | {
"content_hash": "5b76b4e23d7cd31d4fa04af118dd3405",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 139,
"avg_line_length": 61.53846153846154,
"alnum_prop": 0.7775,
"repo_name": "ryan-wong/css-ui-pattern-library",
"id": "d223b21eca8a218b728c779e1551c6e90af2a460",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>graph-basics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "f19a87c61b5e3289bf4fd8cc735e0a65",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 159,
"avg_line_length": 41.75555555555555,
"alnum_prop": 0.5525545502927088,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "7f0a558b75699f66f239c83a30e8111e195b6e0a",
... |
import OVIRT_PROVIDER from './provider';
import { logDebug } from './helpers';
export function updateHost(host) {
return {
type: 'OVIRT_UPDATE_HOST',
payload: host
}
}
export function updateVm(vm) {
return {
type: 'OVIRT_UPDATE_VM',
payload: vm
}
}
export function updateTemplate(template) {
... | {
"content_hash": "04c1f33a2f0d02dc6ff4ec4e564bfc96",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 111,
"avg_line_length": 22.495934959349594,
"alnum_prop": 0.6754607878568847,
"repo_name": "mareklibra/cockpit-machines-ovirt-provider",
"id": "9a8a9a19850cf6d489b28599f23f8... |
using System;
namespace Bea.Core
{
public class PathHelper
{
public static string GetRelativePath (string source, string target)
{
if (!target.EndsWith ("\\")) {
target += '\\';
}
Uri path1 = new Uri (source);
Uri path2 = new Uri (target);
Uri diff = path2.MakeRelativeUri (path1);
return ... | {
"content_hash": "1cb7fca2de7865ed16cdb2c888fa06cd",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 69,
"avg_line_length": 19.31578947368421,
"alnum_prop": 0.6103542234332425,
"repo_name": "Anteru/bea",
"id": "c75ea1cd616d196cd3d8954e8455d92ba877cf9b",
"size": "369",
"b... |
from convert.base.factorygenerator import BaseFactoryGenerator
class FactoryGenerator(BaseFactoryGenerator):
def generate(self, data):
return ""
| {
"content_hash": "9e087fecc581909c1314c0407db85d10",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 62,
"avg_line_length": 22.857142857142858,
"alnum_prop": 0.76875,
"repo_name": "HenrikPoulsen/Json2Class",
"id": "984446c935567e3778d244b52f57fded0d1e036c",
"size": "160",
... |
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{site.tracking}}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' ... | {
"content_hash": "16ef6f76b9f66a76a5ef1ad8cad54cb0",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 117,
"avg_line_length": 43.27272727272727,
"alnum_prop": 0.6197478991596639,
"repo_name": "caleorourke/portfolio",
"id": "f0ab0a5c7d710bc9150828c4000dc30697123b73",
"size":... |
//=============================================================================
// THIS SOURCE CODE IS PROPRIETARY INFORMATION BELONGING TO INTERVIDEO, INC.
// ANY USE INCLUDING BUT NOT LIMITED TO COPYING OF CODE, CONCEPTS, AND/OR
// ALGORITHMS IS PROHIBITED EXCEPT WITH EXPRESS WRITTEN PERMISSION BY THE
// COMPANY.... | {
"content_hash": "3196ad3cb7484e35b4c5a1e5ad6bb45b",
"timestamp": "",
"source": "github",
"line_count": 486,
"max_line_length": 164,
"avg_line_length": 28.041152263374485,
"alnum_prop": 0.6538009979454065,
"repo_name": "goodspeed24e/2011Corel",
"id": "07b0bed7f71b451fe5e3768cae83d36bc44762c2",
"siz... |
<?php
/**
* Custom User form element
*
* @author Christian Gijtenbeek <gijtenbeek@terena.org>
* @package TA_Form
* @subpackage Element
*/
class TA_Form_Element_User extends Zend_Form_Element_Select
{
/**
* Holds the row object
* @var TA_Model_Resource_Db_Table_Row_Abstract
*/
protected $_taRow;
/**
... | {
"content_hash": "c8f0ba777bb94500980e3d84302aee3b",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 87,
"avg_line_length": 22.257425742574256,
"alnum_prop": 0.6174377224199288,
"repo_name": "Christian-G/terena-core",
"id": "8b6bb76f83e3fd4f960d4d60745a4ea3e56907d1",
"siz... |
package com.intellij.ide.navigationToolbar;
import com.intellij.ide.navigationToolbar.ui.NavBarUIManager;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.DataProvider;
import com.intellij.openapi.ui.DialogWrapper;
import com.intellij.openapi.ui.Queryable;
import com.intellij.openapi.u... | {
"content_hash": "ab40d4ec571fed65e6ad61b58a1a93b9",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 140,
"avg_line_length": 34.55357142857143,
"alnum_prop": 0.6903100775193799,
"repo_name": "idea4bsd/idea4bsd",
"id": "d9de8b72e706005cb6d1f7d26f38b78dae90b840",
"size": "8... |
{-+ PFE command line parsing utilities
-}
module PfeParse(module PfeParse,arg,(<@),( #@ ),many) where
import Char(isUpper)
import Monad(when)
import Maybe(isJust)
import HsName(ModuleName(..),sameModuleName,parseModuleName,isMainModule)
import TypedIds(NameSpace(..))
import PFE0(getCurrentModuleGraph,projectStatus)
... | {
"content_hash": "19caace6aab09693a1db6f35765408bf",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 75,
"avg_line_length": 29.177419354838708,
"alnum_prop": 0.6205085682697623,
"repo_name": "forste/haReFork",
"id": "d82a2ce49321806cc8e0bd2c09e266c4c62b0325",
"size": "361... |
<!DOCTYPE html>
<html class="pl">
<head>
<title>UC Davis Library Pattern Lab</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="../../css/style.css?1474914948216" media="all" />
<link rel="stylesheet" href="../../css/pattern-scaffoldi... | {
"content_hash": "26e4bb144e1f9dfd5917c2f0651cc81e",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 428,
"avg_line_length": 35.16842105263158,
"alnum_prop": 0.6070038910505836,
"repo_name": "UCDavisLibrary/ucd-lib-prototypes",
"id": "6f6aeb4561cd6087abc661aeb22ca81ab13d0f73... |
FROM balenalib/n510-tx2-fedora:33-build
# 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
RUN dnf install -y \
python-pip \
python-dbus \
&& dnf clean all
# install "virtualenv", since the vast majority ... | {
"content_hash": "931702e6824783b7f179be740d70b4dd",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 708,
"avg_line_length": 77.7741935483871,
"alnum_prop": 0.7328909166321028,
"repo_name": "nghiant2710/base-images",
"id": "344b08d302c52343413e96f14be35b1feaa69681",
"size"... |
.. title:: Home
.. raw:: html
<div class="container"><div class="row">
<div class="col-md-8"><div style="text-align: center; height: 270px">
<span style="display: inline-block; height: 100%; vertical-align: middle"></span>
<a href="index.html"><img src="_static/mne_logo.png" border="0" alt="MNE" style... | {
"content_hash": "49ea620f77c93902e1750b67a31343fa",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 134,
"avg_line_length": 34.12408759124087,
"alnum_prop": 0.6468449197860963,
"repo_name": "andyh616/mne-python",
"id": "b1ca7516de4ee1bbd73a35cb97f47e0c544b8e64",
"size": ... |
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
{% include google_analytics.html %}
{% include comments_count.html %}
<body>
<div class="container content">
<header class="masthead">
<h3 class="masthead-title">
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}... | {
"content_hash": "69be60e7258408d0e5119ba310e84857",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 127,
"avg_line_length": 32.86363636363637,
"alnum_prop": 0.5283540802213001,
"repo_name": "githubsmilo/githubsmilo.github.io",
"id": "9f91cdcfef12aa4c6e6643081c9f06eb4c847a18... |
JAVA bindings for oDesk API
============
[](http://www.apache.org/licenses/LICENSE-2.0.html)
[](https://travis-ci.org/odesk/java-odesk)
[;
var router = express.Router();
var Encounter = require('./models/encounter');
var Verify = require('./verify');
router.get('/', Verify.verifyOrdinaryUser, function(req, res) {
Encounter.find({ owner: req.decoded.username }, function (err, encounters) {
if (err) throw err;
re... | {
"content_hash": "c6d50d78f473b6f293ba07a5afde46f0",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 171,
"avg_line_length": 36.625,
"alnum_prop": 0.6518771331058021,
"repo_name": "whiplashomega/elthelas2",
"id": "9dd4d4a229a8b884d0ffa61b76f84272e62751c6",
"size": "1758",
... |
module Ruy
module Conditions
# Expects that a context attribute will be greater than the given value.
class GreaterThan < Condition
attr_reader :attr, :value
# @param value
# @param attr Context attribute's name
# @yield a block in the context of the current rule
def initialize... | {
"content_hash": "4589054fa846b6cc3e848ebd0aaf4e85",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 76,
"avg_line_length": 22.142857142857142,
"alnum_prop": 0.5661290322580645,
"repo_name": "elpic/ruy",
"id": "8ec510dbd361c71d96f4a69b2f3c4fd4beb0dda5",
"size": "620",
"b... |
<?xml version="1.0" encoding="UTF-8"?>
<tt xml:lang="en"
xmlns="http://www.w3.org/ns/ttml"
xmlns:ttm="http://www.w3.org/ns/ttml#metadata"
xmlns:ttp="http://www.w3.org/ns/ttml#parameter" ttp:profile="dfxp-presentation"
xmlns:tts="http://www.w3.org/ns/ttml#styling"
xmlns:ttva="http://skynav.com/ns/ttv... | {
"content_hash": "7eb5f4e4da701618806d76c593d1e9f0",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 141,
"avg_line_length": 33.16,
"alnum_prop": 0.6212303980699638,
"repo_name": "skynav/ttt",
"id": "4d3d4373ebebd5eb627bcf5b22c7c4f4301517ac",
"size": "829",
"binary": fal... |
package com.haulmont.cuba.core;
import com.haulmont.cuba.testsupport.TestContainer;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.junit.jupiter.api.Test;
import java.util.List;
public class FolderTest {
@RegisterExtension
public static TestContainer cont = TestContainer.Common.INSTAN... | {
"content_hash": "733aa95f50d0211544068b2d9d626e7a",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 69,
"avg_line_length": 25.214285714285715,
"alnum_prop": 0.6444759206798867,
"repo_name": "cuba-platform/cuba",
"id": "7969294004e6ab330785d9a532fa67f94f3d385f",
"size": "1... |
[DEMO] Calculate slope and aspect of a digital terrain model



| {
"content_hash": "5d1ab81832e364256b6b1ea89f5db6d2",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 60,
"avg_line_length": 27.6,
"alnum_prop": 0.7101449275362319,
"repo_name": "filipkral/slopeaspect",
"id": "f9bfea166121bdb4029149dbb0422f38282147a9",
"size": "152",
"bina... |
from NetCatKS.Components import ComponentsRegistration
from NetCatKS.NetCAT import DefaultFactory, IDefaultService
components = ComponentsRegistration().init()
application = IDefaultService(
DefaultFactory(config=components.config.get_tcp())
).start()
| {
"content_hash": "9e833bec16bb9fd69e2317506b81bde9",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 59,
"avg_line_length": 32.25,
"alnum_prop": 0.8217054263565892,
"repo_name": "dimddev/NetCatKS",
"id": "6bd4bdbb74af6c59ba9bd9d936896f680ccf4571",
"size": "259",
"binary":... |
package com.zanis.protean.proxy;
public abstract class CommonProxy implements IProxy {
}
| {
"content_hash": "b56f3d60d778fabab31e301b4ed4619e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 53,
"avg_line_length": 18.2,
"alnum_prop": 0.8021978021978022,
"repo_name": "Zanis15/mc-protean-mineral",
"id": "56d320cfe6548530f13137db3a7425013c91720c",
"size": "91",
"... |
<?php
namespace entities;
use Symfony\Component\HttpFoundation\RedirectResponse;
class Task
{
protected $name;
protected $mail;
protected $title;
protected $content;
public function getName()
{
return $this->name;
}
public function getMail()
{
return $this->mail;
}
public function g... | {
"content_hash": "2d8ef1ad4a7bca815d2ebbb2821c660d",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 82,
"avg_line_length": 19.29268292682927,
"alnum_prop": 0.5252844500632111,
"repo_name": "n0ni0/fooBlog",
"id": "d3bade2cdb572a8d01fc23a68f9923e99fcd495f",
"size": "1582",
... |
<?php
namespace app\models;
use Yii;
/**
* This is the model class for table "sales".
*
* @property integer $ID
* @property string $Photo
* @property integer $EstablishmentID
*/
class Sales extends \yii\db\ActiveRecord
{
/**
* @inheritdoc
*/
public static function tableName()
{
re... | {
"content_hash": "e536c375bdac795cd7457759613dda60",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 86,
"avg_line_length": 18.62264150943396,
"alnum_prop": 0.49746707193515705,
"repo_name": "tatia-kom/gde_v_donetske",
"id": "3488cd87f49af128df8f2d5fa49f2e6131ad2cab",
"siz... |
package com.example.nick.onliner.Parser;
public class News {
private String Title;
private String URL;
private String ImageURL;
public void setURL(String link) {
URL = link;
}
public String getURL() {
return URL;
}
public void setTitle(String title) {
Title =... | {
"content_hash": "11ff4a843da0e4a6f6ae6c1ed5a0de40",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 42,
"avg_line_length": 16.303030303030305,
"alnum_prop": 0.5836431226765799,
"repo_name": "nikGayko/Onliner",
"id": "73954a769fabb2747c723e63935f835b25659912",
"size": "538... |
package com.stripe.model;
import com.stripe.net.APIResource;
public class Subscription extends APIResource {
Long currentPeriodEnd;
Long currentPeriodStart;
Boolean cancelAtPeriodEnd;
String customer;
Long start;
String status;
Long trialStart;
Long trialEnd;
Plan plan;
Long canceledAt;
Long endedAt;
p... | {
"content_hash": "6da9e2cdd7104cdb05f7559fde7aa4fa",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 62,
"avg_line_length": 21.44705882352941,
"alnum_prop": 0.7454744925946243,
"repo_name": "ebroder/stripe-java",
"id": "7342a8c5ae60908b1e88d5a6bd7cd0deeaa01b1a",
"size": "1... |
class UsersController < ApplicationController
def show
@user = User.find(params[:id])
end
def new
@user = User.new
end
def create
@user = User.new(user_params)
if @user.save
flash[:alert] = "Welcome #{@user.username}!"
session[:user_id] = @user.id
redirect_to '/'
else
... | {
"content_hash": "cd3f179ba28479ea9f2fdea815f91730",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 86,
"avg_line_length": 19.037037037037038,
"alnum_prop": 0.6186770428015564,
"repo_name": "lauframo/fantastic-game-app",
"id": "9371a5f8d70c856ac4bd47db1849f9d38c7cee4a",
"... |
import * as React from 'react';
export interface CreateFilterOptionsConfig<T> {
ignoreAccents?: boolean;
ignoreCase?: boolean;
limit?: number;
matchFrom?: 'any' | 'start';
stringify?: (option: T) => string;
trim?: boolean;
}
export interface FilterOptionsState<T> {
inputValue: string;
getOptionLabel: ... | {
"content_hash": "e492369e19971e48aa66e8978c7dbcc7",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 118,
"avg_line_length": 31.504451038575667,
"alnum_prop": 0.67005745502496,
"repo_name": "cdnjs/cdnjs",
"id": "693b529f884e40fe700e7de5b9b10ba5cd5343ac",
"size": "10621",
... |
/* eslint-disable no-var */
var path = require('path');
var webpack = require('webpack');
var axis = require('axis');
var rupture = require('rupture');
// Set up dev host host and HMR host. For the dev host this is pretty self
// explanatory: We use a different live-reload server to server our static JS
// files in de... | {
"content_hash": "b35937f03d21933bae4211efbb93290e",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 88,
"avg_line_length": 25.75,
"alnum_prop": 0.5416453755748595,
"repo_name": "iansinnott/react-static-presentation",
"id": "0c2f5e2fa214d61221b73772e634b2a6ff446367",
"size... |
Grouvie is a simple group movie event planner app for Android devices. The aim of Grouvie is to make event planning much simler through a small series of steps. Grouvie also makes it easier to collect responses from plan suggestions and centralises all information in one place that a group chat cannot do.
# Installat... | {
"content_hash": "d5ebaa2cea926156f45f66e5b8ee98a7",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 435,
"avg_line_length": 90.44444444444444,
"alnum_prop": 0.8083538083538083,
"repo_name": "Team-JETT/Grouvie",
"id": "e33da9743bcbae85ec7f9202627de8e6d089402f",
"size": "16... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Sun Dec 23 18:05:52 IST 2018 -->
<title>PIGenerator</title>
<meta name="date" content="2018-12-23">
<link rel="stylesheet" type="text/cs... | {
"content_hash": "cb2e26f866ba4f55ec8243708befe394",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 391,
"avg_line_length": 32.97735849056604,
"alnum_prop": 0.624785444558874,
"repo_name": "ExLibrisGroup/Rosetta.dps-sdk-projects",
"id": "393ecb1b1f26bfaf5791fd2983d6129594a... |
package com.cola.service.customer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.... | {
"content_hash": "09e0e50b00c133bf4f3e5d472174c8f7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 90,
"avg_line_length": 32.285714285714285,
"alnum_prop": 0.7245575221238938,
"repo_name": "james-shijiachen/cola",
"id": "6b9b126d843c32d32a83246496822d6e9fbca4ea",
"size":... |
import os
from setuptools import setup, find_packages
import imp
REQUIREMENTS = ["offset"]
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Pro... | {
"content_hash": "32ecc9e11ce4a6ebf992134909b97244",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 70,
"avg_line_length": 29.652173913043477,
"alnum_prop": 0.6495601173020528,
"repo_name": "gijzelaerr/python-libchan",
"id": "8f29a10a1451dc7a78bac5808430a62aadcc3373",
"si... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="index, follow, all" />
<title>All Classes | Soluble API</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-t... | {
"content_hash": "e3d593bd35917ffb75b6cf8b2943346a",
"timestamp": "",
"source": "github",
"line_count": 2195,
"max_line_length": 299,
"avg_line_length": 50.219589977220956,
"alnum_prop": 0.45003265839320705,
"repo_name": "belgattitude/solublecomponents",
"id": "ba6d1575f6b56389f1d44b44d3a932455237dd7... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "d4172cd79001c63cbb56531efc7a51d2",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "f15613cc8cb0d51a17b582f4e3ce903fe3e3a6c8",
"size": "184... |
function SkillTreeCore() {
this._totalsp = 0;
this._currentlevel = 0;
this._investedsp = 0;
this._spleft = 0;
this._selectedclassindex = 0;
this._selectedclass = null;
this.slotassign = new SlotGrid(this);
let maxValue = ClassIndex.Base;
for (var className in ClassIndex) {
i... | {
"content_hash": "1e1e7a4159ed6cdcc158f7ea8af52a2e",
"timestamp": "",
"source": "github",
"line_count": 505,
"max_line_length": 218,
"avg_line_length": 35.38217821782178,
"alnum_prop": 0.590329079919409,
"repo_name": "Leayal/swskillsimu",
"id": "14393df3a927062e08cb4999e69f1bb9e0aa1339",
"size": "1... |
package org.xdty.imageviewer2.view;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Paint.Style;
import android.graphics.Rect;
import android.graphics.drawable.Animatable;
import android.util.AttributeSet;
import android.view.animation.AnimationUti... | {
"content_hash": "3a8592538a87c791c34c03f65e0bad5e",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 96,
"avg_line_length": 27.366071428571427,
"alnum_prop": 0.698858075040783,
"repo_name": "xdtianyu/ImageViewer",
"id": "b9fb49778e1b0d2a1713d9deb93f120a4d2056d9",
"size": ... |
.class public final enum Landroid/security/KeyStore$State;
.super Ljava/lang/Enum;
.source "KeyStore.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/security/KeyStore;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = ... | {
"content_hash": "f303b3618bab310510fa6b5c83e876a8",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 106,
"avg_line_length": 25.98581560283688,
"alnum_prop": 0.7139737991266376,
"repo_name": "baidurom/devices-onex",
"id": "7f5b14b11baaa00d96d913387c81e4079b26fc5c",
"size"... |
class Astute::DeploymentEngine::GranularDeployment < Astute::DeploymentEngine
NAILGUN_STATUS = ['ready', 'error', 'deploying']
def deploy_piece(nodes, retries=1)
report_ready_for_nodes_without_tasks(nodes)
nodes = filter_nodes_with_tasks(nodes)
return false unless validate_nodes(nodes)
@ctx.repor... | {
"content_hash": "283b985b13a5a0a3ab1816cb5fd7431e",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 98,
"avg_line_length": 31.55217391304348,
"alnum_prop": 0.6118230673832162,
"repo_name": "eayunstack/fuel-astute",
"id": "bf2bfdcaaab6575477e2517c02406acb0fcc9dbc",
"size"... |
package org.apache.flink.runtime.jobmaster.slotpool;
import org.apache.flink.annotation.VisibleForTesting;
import org.apache.flink.runtime.clusterframework.types.AllocationID;
import org.apache.flink.runtime.concurrent.FutureUtils;
import org.apache.flink.runtime.jobmanager.scheduler.Locality;
import org.apache.flin... | {
"content_hash": "7a0b52745d492ea3e2f57a135a1e6c06",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 98,
"avg_line_length": 32.301435406698566,
"alnum_prop": 0.6320545104428974,
"repo_name": "rmetzger/flink",
"id": "21e14f91a24bad6780172bfa5ab85a90abfa1adc",
"size": "7556... |
module Apiman {
export var EditRoleController = _module.controller("Apiman.EditRoleController",
['$q', '$scope', '$location', 'ApimanSvcs', 'PageLifecycle', 'Logger', 'Dialogs', '$routeParams',
($q, $scope, $location, ApimanSvcs, PageLifecycle, Logger, Dialogs, $routeParams) => {
var pa... | {
"content_hash": "658108a268eb5e38d33ce13089ac8b08",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 113,
"avg_line_length": 45.077922077922075,
"alnum_prop": 0.4647075770671276,
"repo_name": "kunallimaye/apiman",
"id": "7f31ed991bed8eee801836f9c493aeb9216d3971",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LaurelEye - To Seek Knowledge</title>
<link rel="stylesheet" href="font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="bootstrap/css/bootstrap-theme.min.css">
<scri... | {
"content_hash": "295e011fa4253425f1d61a2173a700d1",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 206,
"avg_line_length": 27.857894736842105,
"alnum_prop": 0.5730209710938976,
"repo_name": "ianace/uhac",
"id": "d7cae26feca1f0b5d1cebdd6e906a366fe439795",
"size": "5293",... |
<?php defined('_JEXEC') or die('Restricted access');
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.formvalidation');
// Çàãðóæàåì óêðàøàòåëüñòâà ôîðìû.
JHtml::_('formbehavior.chosen', 'select');
?>
<?php if (!empty($this->sidebar)): ?>
<div id="j-sidebar-container" class="span2">
<?php echo $this->s... | {
"content_hash": "b83d29b9cbac32d4bd31d4d20ab09818",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 381,
"avg_line_length": 44.53191489361702,
"alnum_prop": 0.6211180124223602,
"repo_name": "dron79-79/SD-RSS-Syndicator-J3.0",
"id": "631a564a33baa346198bc8ecaf34916b07e274d7... |
package com.temple.util.json;
import javax.json.JsonArrayBuilder;
import javax.json.JsonObjectBuilder;
public final class GenericStringHandler extends AbstractOutputOnlyHandler {
@Override
protected void nullSafeAdd(JsonObjectBuilder job, String name, Object value) {
job.add(name, value.toString());
}
@Overr... | {
"content_hash": "85c06af0f376c71c47121c8ce22b7a1b",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 22.42105263157895,
"alnum_prop": 0.7793427230046949,
"repo_name": "florent-pallaver/temple",
"id": "92f145926c0806315fd427f46dfa3bde17efdc64",
"size"... |
package sh.isaac.convert.mojo.icd10;
import org.apache.maven.plugins.annotations.LifecyclePhase;
import org.apache.maven.plugins.annotations.Mojo;
/**
*
* Loader code to convert ICD 10 into isaac.
*
* Paths are typically controlled by maven, however, the main() method has paths configured so that they
* match... | {
"content_hash": "aaf4128950c8a11543cb8d4558ae605d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 104,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.7531645569620253,
"repo_name": "OSEHRA/ISAAC",
"id": "c7f8a22008ce30b91e7f61b192255aff5376382d",
"size": "2023",... |
package org.apache.sysml.runtime.controlprogram.parfor.opt;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.sysml.conf.ConfigurationManager;
import org.apache.sysml.conf.DMLConfig;
import org.apache.sysml.hops.Hop;
import org.apache.sysml.hops.HopsException;
import org.apache.sysml.hops.In... | {
"content_hash": "8806ef747ff0f1c9af66982d2f632d50",
"timestamp": "",
"source": "github",
"line_count": 468,
"max_line_length": 154,
"avg_line_length": 32.39957264957265,
"alnum_prop": 0.7189210578381586,
"repo_name": "asurve/arvind-sysml2",
"id": "189d0616901c3339909ec8651943bf5154645582",
"size":... |
'use strict';
module.exports = function(environment) {
let ENV = {
modulePrefix: 'dummy',
podModulePrefix: 'dummy/pods',
environment,
rootURL: '/',
locationType: 'auto',
EmberENV: {
FEATURES: {
// Here you can enable experimental features on an ember canary build
// e.g.... | {
"content_hash": "76b0c9e50cfae00c0de9797ac7a4342a",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 77,
"avg_line_length": 25.327272727272728,
"alnum_prop": 0.6130653266331658,
"repo_name": "JFTechnology/ember-keycloak-auth",
"id": "e1af3d91913d215660844104857e3169d4db29c0"... |
import sys
sys.path.append('/usr/local/lib/python2.7/dist-packages/')
import freenect
import cv2
import numpy as np
#function to get RGB image from kinect
def get_video():
array,_ = freenect.sync_get_video()
array = cv2.cvtColor(array,cv2.COLOR_RGB2BGR)
return array
#function to get depth image from kin... | {
"content_hash": "9225d9d52660efb1bb65decd4b3dfd21",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 58,
"avg_line_length": 26.235294117647058,
"alnum_prop": 0.6165919282511211,
"repo_name": "miltonsarria/dsp-python",
"id": "5a8f53c54e4c178872f9d6e0e35e7b0ca213336c",
"size... |
<?php
namespace Ray\AuraSqlModule;
use Ray\AuraSqlModule\Annotation\AuraSqlQueryConfig;
class FakeQueryInject
{
use AuraSqlSelectInject;
use AuraSqlInsertInject;
use AuraSqlUpdateInject;
use AuraSqlDeleteInject;
private string $db;
/**
* @AuraSqlQueryConfig
*
* @param string ... | {
"content_hash": "02628a99d22cefc0698c84bb7f010f2c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 52,
"avg_line_length": 17.054054054054053,
"alnum_prop": 0.5530903328050714,
"repo_name": "ray-di/Ray.AuraSqlModule",
"id": "41355805958ffbb87aa21011300a1d7d51638b7c",
"siz... |
.class Lcom/android/server/power/PowerManagerService$ScaleFactorLock;
.super Ljava/lang/Object;
.source "PowerManagerService.java"
# interfaces
.implements Landroid/os/IBinder$DeathRecipient;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/server/power/PowerManagerService... | {
"content_hash": "b0e8b28aa8062ccda4e57b368b393cee",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 254,
"avg_line_length": 33.63392857142857,
"alnum_prop": 0.759490310591983,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "55bac789b54360b6a03bce6a173fe3c17cadffcb",
"size"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="pt_PT" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Maieuticoin</source>
<translation type="unfinished"/>
</message>
<message>
<location... | {
"content_hash": "7895f1f5d9cef7d4ded3d62abaf7a5f6",
"timestamp": "",
"source": "github",
"line_count": 3286,
"max_line_length": 395,
"avg_line_length": 36.11442483262325,
"alnum_prop": 0.6104894162060132,
"repo_name": "snowballdaemons/MMXIV-Theme",
"id": "1666d3ab5a83ffb54eb62506c3b1b4341498a267",
... |
module SimpleForm
module ActionViewExtensions
# Base builder to handle each instance of a collection of radio buttons / check boxes.
# Based on (at this time upcoming) Rails 4 collection builders.
class BuilderBase #:nodoc:
attr_reader :object, :text, :value
def initialize(form_builder, metho... | {
"content_hash": "360cfacf45d2cf9de5ea9fd264441532",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 170,
"avg_line_length": 41.56764705882353,
"alnum_prop": 0.6168541710889408,
"repo_name": "kevstessens/docnetrails",
"id": "2fe9b77bc4754dd8cc674d450aff28c143e4947d",
"siz... |
package com.asakusafw.testdriver.html;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;
import java.io.File;
import java.io.IOException;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
import com.asakusafw.testdriver.core.DataModelDefinition;
import com... | {
"content_hash": "06ba7d52dc3272f5a8656026c07a2459",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 100,
"avg_line_length": 31.19753086419753,
"alnum_prop": 0.66798575385833,
"repo_name": "akirakw/asakusafw",
"id": "f7eb1cebdf6f0b727632f7d81ab06632039a0382",
"size": "3139... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "d4784787eb6c4cd2eecbd883587c9dad",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 347,
"avg_line_length": 65.25862068965517,
"alnum_prop": 0.6642007926023779,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "33fb2fa8afe2114642d2e0af4200eba6c4ba3532",
"siz... |
using Microsoft.Xna.Framework.Input;
using System;
using System.Collections.Generic;
using System.Linq;
using XNA = Microsoft.Xna.Framework.Input;
namespace Far_Off_Wanderer
{
public class GamePad
{
GamePadState? last;
public Dictionary<Buttons, bool> On { get; private set; } = new Dictionary<... | {
"content_hash": "2ddf079648c4b0ca10e5e5945e3ee309",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 103,
"avg_line_length": 29.02777777777778,
"alnum_prop": 0.5913875598086125,
"repo_name": "far-off-wanderer/game",
"id": "dc202fb73c1a740ea475f932152deeb50e3adc18",
"size":... |
<?php
include_once('../model/vendeur.php');
include_once('../model/lot.php');
include_once('../model/article.php');
include_once('../model/modele.php');
include_once('../model/marque.php');
if(isset($_POST['mail']) && !empty($_POST['mail'])){
$mail = $_POST['mail'];
} else if(isset($_GET['mail']) && !... | {
"content_hash": "f915351c9598468eed751e8058f972cb",
"timestamp": "",
"source": "github",
"line_count": 332,
"max_line_length": 186,
"avg_line_length": 36.506024096385545,
"alnum_prop": 0.5544554455445545,
"repo_name": "RedaMaachiGit/clubhilaire",
"id": "8cb6ef1dd931ffeddd129230b9134c28780db4b9",
"... |
package org.workcraft.plugins.circuit;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.workcraft.Framework;
import org.workcraft.formula.BooleanFormula;
import org.workcraft.formula.BooleanVariable;
import org.workcraft.formula.jj.BooleanFo... | {
"content_hash": "c3c0f102036b50fd6807160aa7645afa",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 128,
"avg_line_length": 50.78,
"alnum_prop": 0.6687672311933832,
"repo_name": "tuura/workcraft",
"id": "994f45e544752d9a4b81f68477b26e816b513e2f",
"size": "5078",
"binar... |
#ifndef RAW_TEXT_CONFIG_H
#define RAW_TEXT_CONFIG_H
#include <string>
#include <fstream>
#include "file-config.h"
namespace ns3 {
/**
* \ingroup configstore
*
*/
class RawTextConfigSave : public FileConfig
{
public:
RawTextConfigSave ();
virtual ~RawTextConfigSave ();
virtual void SetFilename (std::string f... | {
"content_hash": "6ac3d7722730250fcd982be23aaf6de8",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 50,
"avg_line_length": 18.74468085106383,
"alnum_prop": 0.7014755959137344,
"repo_name": "Chiru/NVE_Simulation",
"id": "e1b8259abe074051d4287081cc2df95c0070bbe0",
"size": "... |
title: "Notes for: TGIK 001: A quick tour"
slug: tgik-001-quick-tour
date: 2018-07-14T12:01:00Z
tags: ["Tech notes", "Kubernetes"]
author: Daniel Rodriguez
---
{{< youtube id="9YYeE-bMWv8" class="video" >}}
This spends a lot of time going trough a k8s install in AWS using Heptio's tool. Its kinda not as useful anymor... | {
"content_hash": "29a2381bcb9fafcbe3c8d5ae7f9e0476",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 684,
"avg_line_length": 72.61855670103093,
"alnum_prop": 0.7764054514480409,
"repo_name": "danielfrg/danielfrg.github.io-source",
"id": "9a22baaf6e55f350bd4e38a8bbd04c8c6fe7b... |
Sequelize supports read replication, i.e. having multiple servers that you can connect to when you want to do a SELECT query. When you do read replication, you specify one or more servers to act as read replicas, and one server to act as the write master, which handles all writes and updates and propagates them to th... | {
"content_hash": "f83988f6b28b26388a5a670e432e163c",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 446,
"avg_line_length": 63.107142857142854,
"alnum_prop": 0.7209960384833051,
"repo_name": "yjwong/sequelize",
"id": "10c7166e3bc5fccfad630b07ffd4447f545fedbe",
"size": "17... |
<?php
namespace Data\Test\Fixture;
use App\Foo\Plugin;
use Cake\TestSuite\Fixture\TestFixture;
class LocationsFixture extends TestFixture implements Plugin {
}
| {
"content_hash": "73d054d451e4ca8d7241b2755fbb148e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 62,
"avg_line_length": 20.25,
"alnum_prop": 0.808641975308642,
"repo_name": "tanuck/upgrade",
"id": "c966adad23428a1070427446cae30ddc609e1e79",
"size": "162",
"binary": fa... |
<?php
namespace Application\FrontBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;
class CommentForm extends AbstractType {
public function getName() {
return 'comment';
}
public function buildForm(FormBuilder $builder, array $options) {
$builder->add('comment', '... | {
"content_hash": "56146413f1f08b2271ed29629b33bb7d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 71,
"avg_line_length": 23.125,
"alnum_prop": 0.7432432432432432,
"repo_name": "kostyakch/rhino",
"id": "60427a7ea587ec053752cb17f5d45973700c55d7",
"size": "381",
"binary"... |
namespace ash {
namespace smb_client {
// Represents an SMB URL.
// This class stores a URL using url::Component and can contain either a
// resolved or unresolved host. The host can be replaced when the address is
// resolved by using ReplaceHost(). The passed URL must start with either
// "smb://" or "\\" when const... | {
"content_hash": "a23c25c901beaf126879062763580e26",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 79,
"avg_line_length": 32.4,
"alnum_prop": 0.7006172839506173,
"repo_name": "chromium/chromium",
"id": "dc53d31213e62194791255a864834313378909b1",
"size": "2578",
"binary... |
FROM gerritforge/gerrit-ubuntu15.04:2.13.1
USER root
RUN apt-get install -y openjdk-8-jdk && update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java && \
apt-get install -y iputils-ping netcat
USER gerrit
ADD gerrit.config /var/gerrit/etc/
ADD secure.config /var/gerrit/etc/
ADD replicatio... | {
"content_hash": "d9409cec3f512d2eb0987c7eeeb9d37a",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 122,
"avg_line_length": 21.962962962962962,
"alnum_prop": 0.7386172006745363,
"repo_name": "GerritForge/gerrit-master-slave-docker",
"id": "3a7103ec5d9bef4edc3a4ee797602f5daf... |
ENABLE_HERO_RESPAWN = true -- Should the heroes automatically respawn on a timer or stay dead until manually respawned
UNIVERSAL_SHOP_MODE = false -- Should the main shop contain Secret Shop items as well as regular items
ALLOW_SAME_HERO_SELECTION = true -- Should we let people select th... | {
"content_hash": "f7573fd77247721c4b018da9a7ba44cf",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 171,
"avg_line_length": 72.42056074766356,
"alnum_prop": 0.6790553619821913,
"repo_name": "ConquestOfTheAncients/MapMain",
"id": "336171373a460ca6becd6e16586a8f557965faad",
... |
MenuBarComponent::MenuBarComponent (MenuBarModel* model_)
: model (nullptr),
itemUnderMouse (-1),
currentPopupIndex (-1),
topLevelIndexClicked (0)
{
setRepaintsOnMouseActivity (true);
setWantsKeyboardFocus (false);
setMouseClickGrabsKeyboardFocus (false);
setModel (model_);
}
M... | {
"content_hash": "3f835efa47027d211bd0bb318ccb945d",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 123,
"avg_line_length": 26.682242990654206,
"alnum_prop": 0.5625218914185639,
"repo_name": "kaathleen/LeapGesture-library",
"id": "e2b308723a8026dd11e5a9d73cceff0e5cd8c66b",... |
import { ClickHouseDatasource } from './datasource';
import { SqlQueryCtrl } from './query_ctrl';
declare class SqlConfigCtrl {
static templateUrl: string;
}
export { ClickHouseDatasource as Datasource, SqlQueryCtrl as QueryCtrl, SqlConfigCtrl as ConfigCtrl };
| {
"content_hash": "3cef7d0fa67230ec3a891688847ca43b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 102,
"avg_line_length": 44.166666666666664,
"alnum_prop": 0.7735849056603774,
"repo_name": "jetscale/clickhouse-grafana",
"id": "7c86205bbbd69465359fc0297b08bc2d134ad8cc",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_212) on Thu Nov 07 15:58:18 CET 2019 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.contactla... | {
"content_hash": "41aa2d6414fee6ffd9930151e3e96fa5",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 419,
"avg_line_length": 50.0935960591133,
"alnum_prop": 0.6622086734192153,
"repo_name": "contactlab/soap-api-java-client-next",
"id": "37a5be043cba39d7aebfcdcac1568efba7ade... |
package HxCKDMS.HxCTools.Items;
import HxCKDMS.HxCTools.Creative.HxCToolsTab;
import HxCKDMS.HxCTools.Handling.TextureHandler;
import net.minecraft.item.Item;
import net.minecraft.item.ItemHoe;
public class SapphireHoe extends ItemHoe
{
public SapphireHoe(Item.ToolMaterial material)
{
super(material);... | {
"content_hash": "4424c79e74a0010eb7370c58a30d6636",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 51,
"avg_line_length": 27.764705882352942,
"alnum_prop": 0.760593220338983,
"repo_name": "HxCKDMS/HxCArmory",
"id": "07b5a3661a1e37823dc00f2f8f640c2253fdf728",
"size": "472... |
SUBROUTINE MA02ES( UPLO, N, A, LDA )
C
C SLICOT RELEASE 5.5.
C
C Copyright (c) 2002-2012 NICONET e.V.
C
C PURPOSE
C
C To store by skew-symmetry the upper or lower triangle of a
C skew-symmetric matrix, given the other triangle. The diagonal
C entries are set to zero.
C
C AR... | {
"content_hash": "d9144bff6c1e9401b0f0ddb5f98c6b9f",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 72,
"avg_line_length": 28.311827956989248,
"alnum_prop": 0.5184200531712875,
"repo_name": "bgin/MissileSimulation",
"id": "d125311998924ab244d6600eb7a657eca5e31f60",
"size"... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Comp1970Component } from './comp-1970.component';
describe('Comp1970Component', () => {
let component: Comp1970Component;
let fixture: ComponentFixture<Comp1970Component>;
beforeEach(async(() => {
TestBed.configureTestingM... | {
"content_hash": "3e076a5719bc099369c914f2ba9ba5ac",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 73,
"avg_line_length": 23.88888888888889,
"alnum_prop": 0.6744186046511628,
"repo_name": "angular/angular-cli-stress-test",
"id": "e59b2ef8fd07a9b282ee6a236e6a8de42492c9c6",
... |
from __future__ import print_function
import sys, os
import logging
from ginga import AstroImage, colors
import ginga.toolkit as ginga_toolkit
from ginga.canvas.CanvasObject import get_canvas_types
from ginga.util.toolbox import ModeIndicator
from ginga.misc import log
class FitsViewer(object):
def __init__(sel... | {
"content_hash": "0cc3348c4ce004f28d6de254edefd3fb",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 84,
"avg_line_length": 32.72910662824207,
"alnum_prop": 0.5777934313639165,
"repo_name": "rupak0577/ginga",
"id": "954ce085b3a63867c01d430c13e8ab3fe3d1c8e5",
"size": "1149... |
<?php
use hipanel\models\IndexPageUiOptions;
use hipanel\modules\hosting\grid\HdomainGridLegend;
use hipanel\modules\hosting\grid\HdomainGridView;
use hipanel\modules\hosting\grid\HdomainRepresentations;
use hipanel\modules\hosting\models\HdomainSearch;
use hipanel\widgets\AjaxModal;
use hipanel\widgets\gridLegend\Gri... | {
"content_hash": "d26e3babcd1be1a536f3e38583e3b8f5",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 160,
"avg_line_length": 44.95384615384615,
"alnum_prop": 0.4878507871321013,
"repo_name": "hiqdev/hipanel-module-hosting",
"id": "1c51e2e06a31830bc6f26cc633408512eeb3e18d",
... |
require "exception_list/version"
require "exception_list/exceptions"
Dir["tasks/**/*.rake"].each{|ext| load ext} if defined?(Rake)
module ExceptionList
def self.all
Exceptions.new.all
end
end
| {
"content_hash": "6cbc829fba5d9fe4cff79e79014358a5",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 61,
"avg_line_length": 22.333333333333332,
"alnum_prop": 0.7313432835820896,
"repo_name": "arktisklada/exception_list",
"id": "fc4db3476939aaffcf6e58ec72e301de256449db",
"si... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_char_declare_ncpy_31.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml
Template File: sources-sink-31.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Point dat... | {
"content_hash": "d1e9fd06d4fe3ba5e65529394eaf9a31",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 101,
"avg_line_length": 30.814814814814813,
"alnum_prop": 0.6313100961538461,
"repo_name": "JianpingZeng/xcc",
"id": "5807249c979467ee0a6f304db2a71ecbe2d4b175",
"size": "3... |
FROM balenalib/jetson-nano-alpine:edge-run
# remove several traces of python
RUN apk del 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 apk add --no-cache ca-certi... | {
"content_hash": "a9873914eb2d9b2b7f7ae85982d8de8b",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 714,
"avg_line_length": 53.35064935064935,
"alnum_prop": 0.7122687439143135,
"repo_name": "resin-io-library/base-images",
"id": "fc5e46098bc19a77673d664ae5f6a0244a9b7b5b",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_80) on Thu Oct 15 19:27:09 UTC 2015 -->
<title>CurrentRevision (AWS SDK for Java - 1.10.27)</title>
<meta name="date" content="2015-10-... | {
"content_hash": "553995992e5653d3dbb101492487e81b",
"timestamp": "",
"source": "github",
"line_count": 567,
"max_line_length": 255,
"avg_line_length": 42.282186948853614,
"alnum_prop": 0.6332276633019104,
"repo_name": "TomNong/Project2-Intel-Edison",
"id": "8def82e02c7fe82f3482108d4b863afc78d352ae",... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace NewtonVR
{
public class NVRCollisionSoundProviderUnity : NVRCollisionSoundProvider
{
private static string AudioSourcePrefabPath = "CollisionSoundPrefab";
private static string CollisionSoundsPath = "Colli... | {
"content_hash": "c230cf49637f41b502c3c9a2b78c6340",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 191,
"avg_line_length": 40.561797752808985,
"alnum_prop": 0.6094182825484764,
"repo_name": "Battleman/StartHack2k17",
"id": "5438793279350cf21a7d91a1a2cb4acff7982f70",
"siz... |
#nullable enable
using System;
using System.Threading.Tasks;
using Content.Server.GameObjects.Components.Stack;
using Content.Shared.Construction;
using Content.Shared.Utility;
using JetBrains.Annotations;
using Robust.Shared.Interfaces.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Serialization;
namespac... | {
"content_hash": "b6ac3acb58613dc42dc7da34602a08e5",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 87,
"avg_line_length": 32.88235294117647,
"alnum_prop": 0.6249254621347644,
"repo_name": "space-wizards/space-station-14-content",
"id": "30e891bed6dc379f85878e1409e59aa97685... |
import numpy as np
import mygis
from bunch import Bunch
def vcoord(filename):
"""compute the vertical coordinate in space and time for a given file"""
na=np.newaxis
ptop = mygis.read_nc(filename,"ptop").data
sigma = mygis.read_nc(filename,"lev").data[na,:,na,na]
ps= mygis.read_nc(filename,"ps").da... | {
"content_hash": "5a344bb1bc7b9690316a84ae95db92c4",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 76,
"avg_line_length": 26.785714285714285,
"alnum_prop": 0.664,
"repo_name": "NCAR/icar",
"id": "972c3932eeb23e02505b962cbb2045f3195faf84",
"size": "375",
"binary": false... |
using namespace std;
namespace po = boost::program_options;
using boost::asio::ip::tcp;
const string HOSTNAME = "api.openweathermap.org";
const string BASEPATH = "/data/2.5/weather?q=";
po::variables_map parse_args(int argc, char **argv) {
po::options_description desc("Accepted options");
desc.add_options()
... | {
"content_hash": "ae32c7ccaf74b3fe10c710ad312faee1",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 89,
"avg_line_length": 30.284023668639055,
"alnum_prop": 0.6141070730754201,
"repo_name": "torarvid/openweather",
"id": "90f804ea188bc7c9e689d20b6228434375438881",
"size":... |
"use strict";
angular.module('Multihost.Host.Controllers', []) | {
"content_hash": "b8e5ce068837fec5aafafbf843e34235",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 48,
"avg_line_length": 21.333333333333332,
"alnum_prop": 0.71875,
"repo_name": "asitparida/Multihost.Adapter",
"id": "f8a7f299cbe955707934846caa0aedca1e190838",
"size": "66"... |
(function (){
var win = {{ window.render|safe }};
function closeWindow(){ win.close(); }
{{ window.render_globals }}
win.show();
return win;
})()
| {
"content_hash": "22a91e4e7a92bbaa80d31cc21891ab15",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 13.923076923076923,
"alnum_prop": 0.5082872928176796,
"repo_name": "barsgroup/m3-ext",
"id": "04d2d01dfa6d1b7b7fbde4b1fe6829c4fcf6261a",
"size": "181... |
package cz.softdeluxe.jlib.date;
import javax.xml.bind.annotation.adapters.XmlAdapter;
import java.time.LocalDateTime;
/**
* User: Petr Balat
* Date: 1.4.2014
*/
public class LocalDateTimeAdapter extends XmlAdapter<String, LocalDateTime> {
public LocalDateTime unmarshal(String datetime) throws Exception {
... | {
"content_hash": "7d2f01af944e8e6c754e91f801f526bb",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 77,
"avg_line_length": 25.36842105263158,
"alnum_prop": 0.7385892116182573,
"repo_name": "petrbalat/jlib",
"id": "c25596fbc7aad4d224f3068c6e783418d2936208",
"size": "482",
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Reflection;
using System.Threading;
using System.Text;
using System.Xml;
using System.Xml.Linq;
using log4net;
using OpenMetaverse;
using OpenSim.Framework;
using OpenSim.Framework.Serialization;
using OpenSim.F... | {
"content_hash": "dbdc9df23d1230f68fc30c550f1fcdbe",
"timestamp": "",
"source": "github",
"line_count": 639,
"max_line_length": 192,
"avg_line_length": 41.72143974960876,
"alnum_prop": 0.5582895723930983,
"repo_name": "TomDataworks/opensim",
"id": "38383165d70ca02261162352d0796654601bc7c5",
"size":... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8fe0d170743635d980b135479aa7a124",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "bfc99050bd7a83ab20c9a1108e5b4bf59bc8d0f4",
"size": "194... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>matrices: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "4f798604c23f2ef20c0975d2d5ebf81d",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 205,
"avg_line_length": 42.98863636363637,
"alnum_prop": 0.5663494581020354,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "d2c6b7b34d6c23d63aed1d802a4d52fa33c47b2d",
... |
from .blueprint import checkout_page
| {
"content_hash": "8d6adafdc76a2fb63a16db01c8d7e0c2",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 36,
"avg_line_length": 37,
"alnum_prop": 0.8378378378378378,
"repo_name": "GoogleCloudPlatform/serverless-store-demo",
"id": "484cd1620ae7c251997617017f57243549603a88",
"siz... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ails: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" r... | {
"content_hash": "26a464e21f96a99c47ebb66e6ce8f817",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 298,
"avg_line_length": 42.35151515151515,
"alnum_prop": 0.5445048654836864,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "644ceddcdd4ff81d7205995d32274f5f42c4dabb",
... |
/****************************************************************************
** Meta object code from reading C++ file 'qvalidatedlineedit.h'
**
** Created: Sun Jan 5 14:07:21 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
*****************... | {
"content_hash": "701c2c009d64f5f94770aba9cef22034",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 98,
"avg_line_length": 31.989583333333332,
"alnum_prop": 0.6046890263757734,
"repo_name": "betcoinproject/betcoin",
"id": "69e9ceaad5710a97be746e15d4ef7e094f0faeca",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.