text stringlengths 2 1.04M | meta dict |
|---|---|
import NavigateClient from "../../../src/background/clients/NavigateClient";
export default class MockNavigateClient implements NavigateClient {
historyNext(_tabId: number): Promise<void> {
throw new Error("not implemented");
}
historyPrev(_tabId: number): Promise<void> {
throw new Error("not implemente... | {
"content_hash": "d45ac7c2d274dfa6ec86e76287cbc196",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 76,
"avg_line_length": 26.789473684210527,
"alnum_prop": 0.6915520628683693,
"repo_name": "ueokande/vim-vixen",
"id": "d9442a428822b3bf3ffce63ebb428bbe3e9d9142",
"size": "5... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_73) on Sat Mar 05 16:18:23 CET 2016 -->
<title>Uses of Interface de.soulan.example.rmi.object.Hello</title>
<meta name="date" content="2016-03-... | {
"content_hash": "95c52df07df0fd5d166b64327fa758ff",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 330,
"avg_line_length": 38.853658536585364,
"alnum_prop": 0.6213119899560577,
"repo_name": "soulan/JavaRMIWithCustomCA",
"id": "3d1829f8699188bdfbef1459795bf4635bfa0048",
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Libertella platani Ellis & Everh.
### Remarks
null | {
"content_hash": "dd70870de644f06c896fb6b12bb9010b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 33,
"avg_line_length": 10.615384615384615,
"alnum_prop": 0.7028985507246377,
"repo_name": "mdoering/backbone",
"id": "a8083ef2798afc83b0cbfc16390c0f8ec2d00e49",
"size": "19... |
/**
* @file bits.h
* @brief Bit vector manipulation
*/
#ifndef _COAP_BITS_H_
#define _COAP_BITS_H_
#include <stdint.h>
/**
* Sets the bit @p bit in bit-vector @p vec. This function returns @c 1 if bit
* was set or @c -1 on error (i.e. when the given bit does not fit in the
* vector).
*
* @param vec The bi... | {
"content_hash": "ef087bcd5d5502250d1122db1b3a4fca",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 78,
"avg_line_length": 25.6056338028169,
"alnum_prop": 0.594059405940594,
"repo_name": "gebart/libcoap",
"id": "0b269166d57e6a44800d130f0a84aae29257103d",
"size": "2016",
... |
package ro.robertgabriel.repositories;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;
import ro.robertgabriel.entities.AccessLog;
import java.util.List;
@Repository
public interface AccessLogRepository extends PagingAndSortingRepository<Access... | {
"content_hash": "9233708c28e6e3d4a2e8fbc3a543963c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 92,
"avg_line_length": 28.384615384615383,
"alnum_prop": 0.8401084010840109,
"repo_name": "vjroby/todo-list",
"id": "0c36ab6cfbd08d41b74ab7e4f3cd31e875dfed55",
"size": "369... |
{-# LANGUAGE CPP #-}
module Kind (
-- * Main data type
Kind, typeKind,
-- ** Predicates on Kinds
isLiftedTypeKind, isUnliftedTypeKind,
isConstraintKind,
returnsTyCon, returnsConstraintKind,
isConstraintKindCon,
okArrowArgKind, okArrowResultKind,
... | {
"content_hash": "12db7c80485c8b65f3940787b70bfea6",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 91,
"avg_line_length": 35.94117647058823,
"alnum_prop": 0.6352583586626139,
"repo_name": "vikraman/ghc",
"id": "e3cebcd6fbc49cfa28b00de2998b3c9e580551fa",
"size": "4321",
... |
// NOTE: This file was generated by the ServiceGenerator.
// ----------------------------------------------------------------------------
// API:
// Enterprise License Manager API (licensing/v1)
// Description:
// Licensing API to view and manage license for your domain.
// Documentation:
// https://developers.g... | {
"content_hash": "a1beca48320ef42a2c96512d107ac5fa",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 126,
"avg_line_length": 29.546242774566473,
"alnum_prop": 0.7139782842609801,
"repo_name": "googlecreativelab/Sprayscape",
"id": "84e9c60c0cf1b216619e64458a094089befeabb6",
... |
name: compiler-options/closure-warnings
see also:
- compiler-options/warnings
---
## Summary
Control specific warnings generated by the Closure compiler. Each warning
must map to either `:error`, `:warning`, or `:off`.
```clj
:closure-warnings {:externs-validation :off}
```
## Details
## Examples
| {
"content_hash": "499edc75df6bbe8dc9a9bb288fd1eee3",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 18,
"alnum_prop": 0.7156862745098039,
"repo_name": "cljsinfo/cljs-api-docs",
"id": "85b99462a77147133fa6c0dde6d44568b532249d",
"size": "310",
"bina... |
module SimpleSentiment
VERSION = "0.0.1"
end
| {
"content_hash": "b3fcd82e5af9e108097be45b635ae50c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 22,
"avg_line_length": 15.666666666666666,
"alnum_prop": 0.723404255319149,
"repo_name": "jherr/sentiment",
"id": "37e651ff93def0cd131be5cccd0a1f4deab17d19",
"size": "47",
... |
<?php
/**
* Created by IntelliJ IDEA.
* User: Besitzer
* Date: 12.09.2016
* Time: 08:00
*/
namespace FbBasic\GraphNodes;
use Facebook\GraphNodes\GraphPicture;
class Attachment extends GraphPicture implements GraphInterface
{
protected static $graphObjectFields = [
"description",
"descriptio... | {
"content_hash": "ba5a4762d70f12a32c6032cfdd0a5e24",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 63,
"avg_line_length": 19.410714285714285,
"alnum_prop": 0.5666973321067157,
"repo_name": "flod1/FacebookApi",
"id": "41d6efa25951821e43e3bc976804390aec9c5134",
"size": "10... |
<!-- build:js js/jquery.js -->
<script src="js/jquery.js"></script>
<!-- endbuild -->
<!-- build:js js/index.js -->
<script src="js/index.js"></script>
<!-- endbuild --> | {
"content_hash": "58510c06d3437ca162f12bd4b780fd5d",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 40,
"avg_line_length": 31.5,
"alnum_prop": 0.5185185185185185,
"repo_name": "qiruiyin/yungui-m",
"id": "aa523e5c5f6d65febdbba95a2f0ed693c5e7d951",
"size": "191",
"binary":... |
<?php
class Google_Service_DataLabeling_GoogleCloudDatalabelingV1beta1ImportDataOperationMetadata extends Google_Collection
{
protected $collection_key = 'partialFailures';
public $createTime;
public $dataset;
protected $partialFailuresType = 'Google_Service_DataLabeling_GoogleRpcStatus';
protected $partial... | {
"content_hash": "0f6a39e6131471f4d1df9af8cbb4a842",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 117,
"avg_line_length": 23.571428571428573,
"alnum_prop": 0.7181818181818181,
"repo_name": "bshaffer/google-api-php-client-services",
"id": "2372e5cc1c60b3fb55b673c3b61059b57... |
import Express from 'express';
import React from 'react';
import ReactDOM from 'react-dom/server';
import config from './config';
import favicon from 'serve-favicon';
import compression from 'compression';
import httpProxy from 'http-proxy';
import path from 'path';
import createStore from './redux/create';
import ApiC... | {
"content_hash": "98c0c64d4bd0c9e315f258a162a627bf",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 121,
"avg_line_length": 32.74226804123711,
"alnum_prop": 0.6590050377833753,
"repo_name": "rmwdeveloper/portfolio",
"id": "1f83a0f44ec0253e8b38d8bf02d5d68690d6f898",
"size"... |
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
cr.define('print_preview', function() {
'use strict';
/**
* Creates a LayoutSettings object. This object encapsulates all settings and
* lo... | {
"content_hash": "9bafb0d6df46e2f7dd0a7c790c673edc",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 80,
"avg_line_length": 29.386554621848738,
"alnum_prop": 0.6534172147555047,
"repo_name": "7kbird/chrome",
"id": "057f48a44c01badd0fe5203a79d7991d7d5e6a44",
"size": "3497"... |
/**
* @file DOM iterator, which iterates over list items, lines and paragraphs.
*/
CKEDITOR.plugins.add( 'domiterator' );
(function()
{
/**
* @name CKEDITOR.dom.iterator
*/
function iterator( range )
{
if ( arguments.length < 1 )
return;
this.range = range;
this.forceBrBreak = ... | {
"content_hash": "6648ed2f9f0ff10ebc517f4778470af3",
"timestamp": "",
"source": "github",
"line_count": 353,
"max_line_length": 128,
"avg_line_length": 32.28045325779037,
"alnum_prop": 0.6095655989469065,
"repo_name": "fredd-for/codice.v.1.1",
"id": "7e3bad11818a059ee2deba2366e9a7b0fb6b0db8",
"size... |
from setuptools import setup, find_packages
setup(
name='formencode_jsonschema',
version='0.1.1dev',
description='Dump formencode schema JSON schema using Marshmallow',
author='Choi Geonu',
author_email='6566gun@gmail.com',
url='https://github.com/hardtack/formencode_jsonschema',
packages=f... | {
"content_hash": "66656aa0c3943862ad3f84cf8616f922",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 71,
"avg_line_length": 33.2,
"alnum_prop": 0.6536144578313253,
"repo_name": "Hardtack/formencode_jsonschema",
"id": "52669932939738b68655aefc8cd85b6a0e26dd81",
"size": "664... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true" android:drawable="@color/shoppingcar_delete_p"/>
<item android:drawable="@color/shoppingcar_delete"/>
</selector> | {
"content_hash": "4f1911467207646042de7569ccc446df",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 87,
"avg_line_length": 53,
"alnum_prop": 0.7245283018867924,
"repo_name": "cowthan/Ayo2022",
"id": "54ce5a7b563c5065363774a6f2ea5ad42a9240ce",
"size": "265",
"binary": fal... |
import { TestBed, inject } from '@angular/core/testing';
import { CatsService } from './cats.service';
describe('CatsService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [CatsService]
});
});
it('should be created', inject([CatsService], (service: CatsService) => {
... | {
"content_hash": "5350bb5a788544c048538e26b6229386",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 75,
"avg_line_length": 24.133333333333333,
"alnum_prop": 0.6243093922651933,
"repo_name": "google/angular-a11y-workshop",
"id": "af26f547500d7432b95f98c5a6f58418a788c311",
... |
<?php
// src/MDW/DemoBundle/Controller/ArticulosController.php
namespace MDW\DemoBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Response;
use MDW\DemoBundle\Entity\Articles;
class ArticulosController extends Controller{
public function listarActio... | {
"content_hash": "055ebba1929d6946426bd7a06dc3dbd2",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 57,
"avg_line_length": 25.28205128205128,
"alnum_prop": 0.6369168356997972,
"repo_name": "victordonet/Symfony2",
"id": "7655d235090767c01f281915ccd7e138b38d658a",
"size": "... |
module Authorization
module BlockAccess
protected
# Checks if a certain action can be accessed by the role.
# If you want to check for <tt>action_allowed?</tt>, <tt>resource_allowed?</tt> and <tt>block_allowed?</tt>
# use <tt>access_allowed?</tt>.
# action_allowed?({:action => :show, :id => 1}, ... | {
"content_hash": "f4bcb9a35fb1b2a33eb38aff7d2c040a",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 111,
"avg_line_length": 43.904761904761905,
"alnum_prop": 0.6442516268980477,
"repo_name": "Fingertips/authorization-san",
"id": "da8ad7c7a8a00e3d99c8b7ffa4dae2f205c26101",
... |
package com.intellij.codeInsight.generation;
import com.intellij.codeInsight.hint.HintManager;
import com.intellij.lang.StdLanguages;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.options.ShowSettingsUtil;
import com.intellij.openapi.project.Proj... | {
"content_hash": "6d785948e5621cd2972f901ca75ba044",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 139,
"avg_line_length": 39.01724137931034,
"alnum_prop": 0.7338341434673737,
"repo_name": "lucafavatella/intellij-community",
"id": "efce7063dac823d45badc18542487d7b848c937f... |
namespace Microsoft.Azure.Management.Synapse
{
using Microsoft.Rest;
using Microsoft.Rest.Azure;
using Models;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
... | {
"content_hash": "4d68080473378589cd9c2e1bc96ae99a",
"timestamp": "",
"source": "github",
"line_count": 425,
"max_line_length": 279,
"avg_line_length": 43.995294117647056,
"alnum_prop": 0.5487752700823617,
"repo_name": "Azure/azure-sdk-for-net",
"id": "dfd7d6123ad579d1cc6aed9ca3131e970b0ff8e7",
"si... |
package io.baardl.presenter;
import org.testng.annotations.Test;
import static org.testng.Assert.assertTrue;
/**
* Show gropuping functionallity for TestNG
*/
public class FastTestExamples {
@Test(groups = { "fast"})
public void testWithGroup() throws Exception {
assertTrue(true);
}
@Te... | {
"content_hash": "b581a280b2f8d8fc184193540ea832e9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 50,
"avg_line_length": 16.08,
"alnum_prop": 0.6691542288557214,
"repo_name": "baardl/iot-presenter",
"id": "10d5397ccffddcf229efd5409894698a09d1924e",
"size": "402",
"bin... |
<?php
class RokSprocket_Provider_Wordpress extends RokSprocket_Provider_AbstarctWordpressBasedProvider
{
/**
* @static
* @return bool
*/
public static function isAvailable()
{
if (class_exists('WP_Widget')) {
return true;
} else {
return false;
... | {
"content_hash": "beb9275758a6abb5a0003f0ea5c38318",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 106,
"avg_line_length": 29.66412213740458,
"alnum_prop": 0.5524961399897066,
"repo_name": "creative2020/f4u",
"id": "4c23ba5a9c77a0fa11e4ce86b3f05cb1a9d1eead",
"size": "40... |
<nav class="navbar navbar-ddd">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-colla... | {
"content_hash": "3a6dbcce34e401a7676c89c270046d5b",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 137,
"avg_line_length": 54.205128205128204,
"alnum_prop": 0.4645222327341533,
"repo_name": "WolfOfTheNorth/diamondclover",
"id": "b01148c1778c9fb439243ef497fe5ac6b20efec1",
... |
<?php
/*
Safe sample
input : get the UserData field of $_SESSION
SANITIZE : use in_array to check if $tainted is in the white list
construction : interpretation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, to
use, copy, modify, an... | {
"content_hash": "c2a9ec9b18f85d10f3dbcd95fae2d7bd",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 75,
"avg_line_length": 23.017241379310345,
"alnum_prop": 0.7528089887640449,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "670190f7b47dc80b6f3e3114981916c72d9b... |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<!--
<services>
<service id="wsf_social.ex... | {
"content_hash": "cb121be102a313136aadcf817610cb75",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 120,
"avg_line_length": 35.5,
"alnum_prop": 0.6320422535211268,
"repo_name": "KillianKemps/WSF-Social-by-CoolKids",
"id": "2a5cf8a26599db350c06d26fc64eb1b47d2a78ab",
"size"... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "11d0e0d5d2119a153de2e1b3f716a7d5",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 262,
"avg_line_length": 59.772222222222226,
"alnum_prop": 0.6853796821265917,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "1c0fc1d7d3a4257075cecb67122d39bee9cd8018",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="topbar">
<attr name="lefttext" format="string"/>
<attr name="leftdrawable" format="reference"/>
<attr name="lefttextcolor" format="color"/>
<attr name="lefttextsize" format="dimension"/>
<attr name="r... | {
"content_hash": "a3dbef21b9239cbd2d75df581c803597",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 66,
"avg_line_length": 38.72222222222222,
"alnum_prop": 0.6413199426111909,
"repo_name": "0359xiaodong/osChina-app",
"id": "4bf7b5d747ec1efe390ab52532f1ffaced56a635",
"size... |
package com.github.grimpy.botifier.plugins.liveware;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
/**
* The extension receiver receives the extension intents and starts the
* extension service when it arrives.
*/
public class SWExtensionReceiver extends Br... | {
"content_hash": "f35ebec5ff289a6251b97d7ea7955725",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 71,
"avg_line_length": 31.235294117647058,
"alnum_prop": 0.7702448210922788,
"repo_name": "grimpy/Botifier",
"id": "5f37ea4122751732a0178047405e2d0a0808ff76",
"size": "531"... |
$packageName = 'chromehistoryview'
$url = 'http://www.nirsoft.net/utils/chromehistoryview.zip'
$checksum = 'f6eba7aca7dfa88328e52a0cfb466b8e9c9ebc857737957577ef3e488ce70ab8'
$checksumType = 'sha256'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$installFile = Join-Path $toolsDir "$($packageName... | {
"content_hash": "96ca1e9e007d048c0996ca6dbce88255",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 78,
"avg_line_length": 44.4,
"alnum_prop": 0.6171171171171171,
"repo_name": "dtgm/chocolatey-packages",
"id": "c98d834c5f140abb8f66e10ddc8490e8009a05c2",
"size": "666",
"... |
fm.Package("jfm.util");
fm.Base("jfm.util.Store");
fm.Interface("Map");
jfm.util.Map = function ( me){this.setMe=function(_me){me=_me;};
this.containsValue = function(){};
this.containsKey = function(){};
this.get = function(){};
this.put = function(){};
this.putAll = function(){};
this.keySet = function(){};... | {
"content_hash": "68eb7f18a46b5806d11fbb6f83aec4e8",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 64,
"avg_line_length": 18.523809523809526,
"alnum_prop": 0.6246786632390745,
"repo_name": "anoopchaurasia/jsfm",
"id": "eb82a5427daf5e731224811d1ed893572d069652",
"size": "... |
<HTML>
<BODY BGCOLOR="white">
<PRE>
<FONT color="green">001</FONT> <a name="line.16"></a>
<FONT color="green">017</FONT> package org.apache.commons.math3.analysis.interpolation;<a name="line.17"></a>
<FONT color="green">018</FONT> <a name="line.18"></a>
<FONT color="green">019</FONT> import org.apache.commo... | {
"content_hash": "8da5e7025aaf7eaca87db92981d31116",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 136,
"avg_line_length": 35.20792079207921,
"alnum_prop": 0.6327334083239595,
"repo_name": "vaisaghvt/gameAnalyzer",
"id": "56b21965aa15b1101545e636c372b96884ce89fa",
"size... |
```js
var Ctrl = require('minio-controller-js');
var Controller = new Ctrl("http://<CONTROLLER-IPADDRESS:9001/rpc");
Controller.APIMETHOD(ARGUMENT)
.then(function(data) {
console.log("success : ", data);
})
.catch(function(error) {
console.log("fail : ", error.toString());
});
```
## ... | {
"content_hash": "bda8e4da0db6d0d52b9f94a51c0dc714",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 76,
"avg_line_length": 25.794871794871796,
"alnum_prop": 0.6272365805168986,
"repo_name": "krishnasrinivas/minio-controller-js",
"id": "6e7ddbfc07df94ef033b1e12cc1922b04bda38... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Text;
namespace Mic... | {
"content_hash": "b8fc85d2cde6bdf68c4f27b91ea4509d",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 156,
"avg_line_length": 50.354838709677416,
"alnum_prop": 0.7226137091607944,
"repo_name": "davkean/roslyn",
"id": "679ccb1d0801dd0fb307f23b8e79908c83f4f4ae",
"size": "1563... |
export GPIO_PIN=23
export ROOM=Attic
export SENSOR=Window_${ROOM}_Bottom_Left
$(dirname $0)/publish_contact_data.py \
--loops=20 \
--http_base=http://pitaya:7878 \
--pin=${GPIO_PIN} \
--name=${SENSOR}
| {
"content_hash": "4819b81d6eb8821f4dea354255a72abf",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 40,
"avg_line_length": 25.11111111111111,
"alnum_prop": 0.6150442477876106,
"repo_name": "hakan42/openhab-sensor-scripts",
"id": "3368b96babdd5bd967a50b6dde1c320b2b39e6a2",
... |
namespace utils {
namespace detail {
/// Internal type-safe representation for the none type.
struct none_t {};
} // namespace detail
/// The none value.
///
/// This has internal linkage so it is OK to define it in the header file.
/// However, pointers to none from different translation units will be
/// dif... | {
"content_hash": "fcfb9cf8d68e6932fbb06e5dd004bf5e",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 79,
"avg_line_length": 22.91176470588235,
"alnum_prop": 0.6732991014120667,
"repo_name": "ayyucedemirbas/Minix-Source-Code",
"id": "34bcad6ab22267ef824a276b7ab402626d03ffbd",... |
'use strict';
var isInteger = require('../../utils/number').isInteger;
function factory (type, config, load, typed) {
var asc = load(require('../relational/compare'));
function desc(a, b) {
return -asc(a, b);
}
/**
* Partition-based selection of an array or 1D matrix.
* Will find the kth smallest v... | {
"content_hash": "0821a89eff32fe6bcb18ee8b8ad306a9",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 95,
"avg_line_length": 26.727941176470587,
"alnum_prop": 0.5375515818431912,
"repo_name": "ocadni/citychrone",
"id": "8805cbe4bf20af8f04ae9b9fd4497d800a13e4ea",
"size": "3... |
import datetime
from hashlib import sha256
import warnings
from urllib import quote
from attr import assoc
from twisted.internet.defer import succeed
from twisted.trial.unittest import TestCase
from twisted.web.http_headers import Headers
from txaws.credentials import AWSCredentials
from txaws.client.base import Req... | {
"content_hash": "3b7e12121afe0867e0eb592759cc176a",
"timestamp": "",
"source": "github",
"line_count": 1361,
"max_line_length": 104,
"avg_line_length": 41.262307127112415,
"alnum_prop": 0.5824637629545212,
"repo_name": "oubiwann/txaws",
"id": "77dbe6af7479bf027c735b4cd230e425b002c0bd",
"size": "56... |
/*
* 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 com.sdm.core.util.mail;
/**
*
* @author Htoonlin
*/
public class MailInfo {
private String from;
pri... | {
"content_hash": "8f6a3ae7f28d61cd5c181f39367066e6",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 97,
"avg_line_length": 20.537634408602152,
"alnum_prop": 0.5408376963350785,
"repo_name": "Htoonlin/MasterAPI",
"id": "7c5586bf730aa0806ddaa13ae0c40584689d6546",
"size": "1... |
/*!
* Modernizr v2.6.2
* www.modernizr.com
*
* Copyright (c) Faruk Ates, Paul Irish, Alex Sexton
* Available under the BSD and MIT licenses: www.modernizr.com/license/
*/
/*
* Modernizr tests which native CSS3 and HTML5 features are available in
* the current UA and makes the results available to you in two ... | {
"content_hash": "0dcd1de426bb52e95e8b1f73f1ded0e2",
"timestamp": "",
"source": "github",
"line_count": 1628,
"max_line_length": 197,
"avg_line_length": 38.59889434889435,
"alnum_prop": 0.6388707649707984,
"repo_name": "MicrosoftLearning/20486-DevelopingASPNETMVCWebApplications",
"id": "8c0d8bfe7b59c... |
package org.assertj.core.api.list;
import static junit.framework.Assert.assertSame;
import static org.mockito.MockitoAnnotations.initMocks;
import java.util.Comparator;
import java.util.List;
import org.assertj.core.api.ListAssert;
import org.assertj.core.api.ListAssertBaseTest;
import org.junit.Before;
import org.... | {
"content_hash": "889cc3c7d8021d0999bfcd3ece7d7153",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 86,
"avg_line_length": 24.29268292682927,
"alnum_prop": 0.7620481927710844,
"repo_name": "AlexBischof/assertj-core",
"id": "e1c23db6a0ae2b08b990b372dbfe16a700c3b525",
"size... |
package sk.vx.connectbot.bean;
import java.util.Map.Entry;
import sk.vx.connectbot.util.XmlBuilder;
import android.content.ContentValues;
/**
* @author Kenny Root
*
*/
abstract class AbstractBean {
public abstract ContentValues getValues();
public abstract String getBeanName();
public String toXML() {
Xml... | {
"content_hash": "d420dfc70f35e09f7ab65cc519aab47c",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 57,
"avg_line_length": 20.818181818181817,
"alnum_prop": 0.6899563318777293,
"repo_name": "0xD34D/connectbot",
"id": "d3fd333bd1bb83b1b1614c76e2a48cd5839ce1ae",
"size": "13... |
#ifndef GRPPI_STENCIL_H
#define GRPPI_STENCIL_H
#include <tuple>
#include <utility>
#include "grppi/common/zip_view.h"
#include "grppi/common/execution_traits.h"
#include "grppi/common/iterator_traits.h"
namespace grppi {
/**
\addtogroup data_patterns
@{
\defgroup stencil_pattern Stencil pattern
\brief Interface ... | {
"content_hash": "8ce3f341419684caee1c8fe45a7ba2e1",
"timestamp": "",
"source": "github",
"line_count": 266,
"max_line_length": 83,
"avg_line_length": 39.88345864661654,
"alnum_prop": 0.74615892167028,
"repo_name": "arcosuc3m/grppi",
"id": "65169cee522deda215a0c7e326d90a6aa9ee73d0",
"size": "11227"... |
namespace net {
URLRequestFtpJob::URLRequestFtpJob(
URLRequest* request,
NetworkDelegate* network_delegate,
FtpTransactionFactory* ftp_transaction_factory,
FtpAuthCache* ftp_auth_cache)
: URLRequestJob(request, network_delegate),
read_in_progress_(false),
ALLOW_THIS_IN_INITIALIZER_LIST(... | {
"content_hash": "ee120a7b6672883e87b7a7bce339e4c4",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 79,
"avg_line_length": 31.96694214876033,
"alnum_prop": 0.6614529472595657,
"repo_name": "keishi/chromium",
"id": "fb345990386e87a00ec263490966bebb93afef10",
"size": "8418... |
package com.seoulmobileplatform.waterlife.MenuActivity;
import android.app.PendingIntent;
import android.content.Intent;
import android.content.IntentFilter;
import android.nfc.NdefMessage;
import android.nfc.NdefRecord;
import android.nfc.NfcAdapter;
import android.nfc.Tag;
import android.nfc.tech.Ndef;
import androi... | {
"content_hash": "664e50cf69ff727e877e0c698d2822ae",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 149,
"avg_line_length": 34.28378378378378,
"alnum_prop": 0.5938115884903429,
"repo_name": "MobileSeoul/2016seoul-04",
"id": "b83d88b21b6fe85391d8eccf170321041b97fb12",
"si... |
export function sanitize(slug: string) : string
{
return slug.replace(/[^a-zA-Z0-9-]+/g, ' ').trim().substring(0, 32).trim().toLowerCase().replace(/ /g, '-')
}
export function isValid(slug: string): boolean
{
return slug.length > 3 && slug === sanitize(slug)
}
const illegalSlugs = [
'www', 'api', 'mail',... | {
"content_hash": "3db30d0506cf6808f57d5732ee422996",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 111,
"avg_line_length": 30.65,
"alnum_prop": 0.636215334420881,
"repo_name": "seanmiddleditch/campman",
"id": "96af8849d49688f95d82cf7253a4811ee16dd4d6",
"size": "613",
"... |
package insights
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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
//
// Un... | {
"content_hash": "24fbf61ceded48204acacf9cbd9f80ea",
"timestamp": "",
"source": "github",
"line_count": 390,
"max_line_length": 241,
"avg_line_length": 43.05128205128205,
"alnum_prop": 0.7847528290649196,
"repo_name": "wojtekzw/imageproxy",
"id": "e2736ae624f045b7bdaf27a4ea76d2656fb2954a",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>Statistics of Polarity in UD_Sw... | {
"content_hash": "db4ce33c3c7e757c0802fa0899561d45",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 713,
"avg_line_length": 55.79342723004695,
"alnum_prop": 0.6597946819252777,
"repo_name": "UniversalDependencies/universaldependencies.github.io",
"id": "8ae4f5855a95a4b004d... |
package quotas
//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
//distri... | {
"content_hash": "20c6233a18f5ddbc3e3c9e948e196dff",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 48.03448275862069,
"alnum_prop": 0.7480258435032304,
"repo_name": "aliyun/alibaba-cloud-sdk-go",
"id": "2f90d748c2421bab38fefa4d674b990a5ffc0493",
"s... |
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**account_id** | **int** | The account's ID. |
**account_name** | **string** | The account's name. |
**account_email** | **string** | The account's email. |
**active** | **bool** | The account activation flag. ... | {
"content_hash": "304f1d66ad0aa8264602a977a5cb1209",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 161,
"avg_line_length": 69.61111111111111,
"alnum_prop": 0.6304868316041501,
"repo_name": "DmitryIvaneychik/phpsdk",
"id": "d8878ef8c86d754983602c056ad8aa30d95dae44",
"size... |
package xorm
import (
"gomodules.xyz/secrets/types"
)
type SSHKey struct {
ID int64
Name string `xorm:"not null 'name'"`
ClusterID int64 `xorm:"NOT NULL 'cluster_id'"`
ClusterName string `xorm:"not null 'cluster_name'"`
UID string `xorm... | {
"content_hash": "cea24736128a46bd3415f0b79e0fe667",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 68,
"avg_line_length": 27.583333333333332,
"alnum_prop": 0.6148036253776435,
"repo_name": "appscode/pharmer",
"id": "ecdf36b25458aacfbaa5b9eb02363a088cf26eff",
"size": "122... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Get-Set-Go Documentation</title>
</head>
<body>
<div id="root-container"></div>
<script async defer src="https://buttons.github.io/buttons.js"></script>
<... | {
"content_hash": "c49a80d4b6ac9a64079c036d63f8d9ad",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 76,
"avg_line_length": 26.4,
"alnum_prop": 0.6388888888888888,
"repo_name": "get-set-go/gsg-documentation-site",
"id": "a4c30bc55cb22453500b41be364feaf94ec16a2e",
"size": "... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "0aad768110f7e5d153d7ab5bd620658a",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 709,
"avg_line_length": 67.8157894736842,
"alnum_prop": 0.7021083947742853,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "40c1db5c5719a7933ed2ee68e94dc7b98b3c5eee",
"size... |
""" Test QiToolchain SVN Status """
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function
import os
import qitoolchain.toolchain
import qitoolchain.svn_package
from qitoolchain.test.conftest import qitoolchain_action
from qibuild.test.conftest import reco... | {
"content_hash": "3295105da37f04a958a2ec451740be33",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 71,
"avg_line_length": 37.714285714285715,
"alnum_prop": 0.711489898989899,
"repo_name": "aldebaran/qibuild",
"id": "02bf091b461f4585795a64bc4587c3a96d7893df",
"size": "178... |
<?php
/* @var $installer Mage_Sales_Model_Entity_Setup */
$installer = $this;
$installer->getConnection()->addKey($this->getTable('sales/order'), 'IDX_QUOTE_ID' ,'quote_id');
| {
"content_hash": "d5fbae1bd7d9d45a6a284f8e93ae8314",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 96,
"avg_line_length": 29.5,
"alnum_prop": 0.6779661016949152,
"repo_name": "portchris/NaturalRemedyCompany",
"id": "82a93110f37f49a469d627e18c7d659ff123d823",
"size": "1111... |
import React, { Component, PropTypes } from 'react';
/*** Components ***/
import Board from './Board';
import Settings from './Settings';
import Results from './Results';
/*** AI ***/
import compTurn from '../utils/compTurn';
import boardFull from '../utils/AI/boardFull';
import findResults from '../utils/AI/hel... | {
"content_hash": "5afe93d45733ed346973446046fec905",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 124,
"avg_line_length": 33.142857142857146,
"alnum_prop": 0.5686339522546419,
"repo_name": "natac13/Tic-Tac-Toe-Game",
"id": "de2076b757c93fe6dc5651157c1ef5afc5304cdd",
"si... |
package cashier;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({cashier.CashierTest.class, cashier.resource.ResourceSuite.class, cashier.net.NetSuite... | {
"content_hash": "c7719478de38903e6d60a40858b34453",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 114,
"avg_line_length": 20.866666666666667,
"alnum_prop": 0.7523961661341853,
"repo_name": "akoerner/cashier.java",
"id": "0ad684290475443e43262d3253877a5005ca7c40",
"size"... |
using TeaLeafed.Domain.Importer.Internal.Helpers.Absract;
using umbraco;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
namespace TeaLeafed.Domain.Importer.Internal.Helpers
{
/// <summary>
/// Content service for Umbraco
/// </summary>
internal class MigrationContentServic... | {
"content_hash": "f42b9489928a519030ef72ef8f735acf",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 152,
"avg_line_length": 31.532258064516128,
"alnum_prop": 0.579539641943734,
"repo_name": "micklaw/TeaLeafed",
"id": "ba426fab7a4d0cb3be0dcb59ec91bd25a173725d",
"size": "19... |
#include <memory>
#include <utility>
#include <vector>
#include "absl/memory/memory.h"
#include "tensorflow/compiler/xla/literal.h"
#include "tensorflow/compiler/xla/service/cpu/cpu_instruction_fusion.h"
#include "tensorflow/compiler/xla/service/hlo_computation.h"
#include "tensorflow/compiler/xla/service/hlo_instru... | {
"content_hash": "7465f157c482720cadda0aa39bdf4879",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 80,
"avg_line_length": 40.698113207547166,
"alnum_prop": 0.7154226549219596,
"repo_name": "theflofly/tensorflow",
"id": "3a26fea9116c0c65892667afbb8a37ee141f7f6e",
"size":... |
package com.linkedin.pinot.broker.routing.builder;
import com.linkedin.pinot.broker.routing.RoutingTableLookupRequest;
import com.linkedin.pinot.common.config.TableConfig;
import com.linkedin.pinot.common.metrics.BrokerMetrics;
import com.linkedin.pinot.common.utils.SegmentName;
import java.util.Collections;
import j... | {
"content_hash": "2092f9745eec9ef7053dabc84b400ebe",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 149,
"avg_line_length": 36.40816326530612,
"alnum_prop": 0.7446748878923767,
"repo_name": "fx19880617/pinot-1",
"id": "d78de04b1a1e9909aba251b13328666304c4221c",
"size": "4... |
import mock
import unittest
import jujuresources.cli
from jujuresources import ALL
from jujuresources.backend import ResourceContainer
class TestCLI(unittest.TestCase):
def setUp(self):
self.resources = ResourceContainer('resources')
self.resources.add_required('valid', {
'url': 'vali... | {
"content_hash": "b0d8d36933f76a5b015a99cae8600310",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 103,
"avg_line_length": 44.75708502024292,
"alnum_prop": 0.6331071913161466,
"repo_name": "johnsca/jujuresources",
"id": "3ae025bc2e54ecbe2534fa536413ca97431d04fe",
"size"... |
import * as utils from 'base/utils';
import globals from 'base/globals';
import Component from 'base/component';
/*!
* VIZABI INDICATOR PICKER
* Reusable indicator picker component
*/
var IndPicker = Component.extend({
/**
* Initializes the Indicator Picker.
* Executed once before any template is re... | {
"content_hash": "2077f8756a6f130cda9f32914493a987",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 115,
"avg_line_length": 25.783132530120483,
"alnum_prop": 0.5392523364485982,
"repo_name": "jdk137/vizabi",
"id": "9c2fdede7d1c8a5f7836ef70391412440161488b",
"size": "2140"... |
"""
WSGI config for warehouse project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault("DJANGO_SET... | {
"content_hash": "a8a4ffc1719c05c732254e0138be8718",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 80,
"avg_line_length": 24.73913043478261,
"alnum_prop": 0.7715289982425307,
"repo_name": "z-Wind/warehouse",
"id": "ceceb0b7782cb114a978a7e7f095deb884783764",
"size": "569"... |
package main
import (
"bytes"
"crypto/sha1"
"errors"
"fmt"
"go/build"
"go/scanner"
"go/token"
"io"
"io/ioutil"
"os"
pathpkg "path"
"path/filepath"
"runtime"
"sort"
"strconv"
"strings"
"unicode"
)
// A Package describes a single package found in a directory.
type Package struct {
// Note: These field... | {
"content_hash": "77db55f830ecda8aea5e30439f9b6e50",
"timestamp": "",
"source": "github",
"line_count": 1960,
"max_line_length": 146,
"avg_line_length": 36.4954081632653,
"alnum_prop": 0.6941885336427562,
"repo_name": "momchil-velikov/go",
"id": "69367eefb130bc80dc69fe9c095e09ae47218c52",
"size": "... |
/** @jsx jsx */
import {
Box,
Button,
Flex,
Heading,
Input,
Label,
Radio,
Select,
Textarea,
} from "@theme-ui/components";
import React, { useCallback, useEffect } from "react";
import { FormattedMessage } from "react-intl";
import { useFormState } from "react-use-form-state";
import { jsx } from "the... | {
"content_hash": "b0a8c3d1e5c8b90e255a9bffe48adc34",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 99,
"avg_line_length": 29.420118343195266,
"alnum_prop": 0.5233306516492358,
"repo_name": "patrick91/pycon",
"id": "14297adc3db0714ad07559a7825d38514f44456c",
"size": "497... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2014.11.03 at 06:37... | {
"content_hash": "818333aad37cb7299526bec8b537a2b8",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 127,
"avg_line_length": 28.205882352941178,
"alnum_prop": 0.6280848105665624,
"repo_name": "SoftwareKing/zstack",
"id": "74e1088ca365573626f6e07baa089c57fa3ac587",
"size":... |
template<int x>
class Adds
{
public:
template<typename T>
constexpr T operator()(T input) const
{
return T(input + x);
}
};
class Increments : public Adds<1>
{};
class Decrements : public Adds<-1>
{};
auto const incrementing = transducers::mapping(Increments());
auto const decrementing = tran... | {
"content_hash": "93018f3a088f85e2e46ffd2d924ea71c",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 61,
"avg_line_length": 18.473684210526315,
"alnum_prop": 0.6723646723646723,
"repo_name": "AndrewGaspar/transducers.hpp",
"id": "ce96599412090a77a1b4c1ec80dd00e8700a4501",
... |
module Gitlab
module Ci
module Ansi2json
class Converter
def convert(stream, new_state)
@lines = []
@state = State.new(new_state, stream.size)
append = false
truncated = false
cur_offset = stream.tell
if cur_offset > @state.offset
... | {
"content_hash": "5228205fe4edde001c61bd5cbd730404",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 81,
"avg_line_length": 30.702290076335878,
"alnum_prop": 0.5497265042267528,
"repo_name": "stoplightio/gitlabhq",
"id": "8d25b66af9c72cf6e152cc75240082345cfc5396",
"size":... |
from django import forms
from django.contrib import admin
from rdmo.core.utils import get_language_fields
from .models import Task
from .validators import TaskLockedValidator, TaskUniqueURIValidator
class TaskAdminForm(forms.ModelForm):
key = forms.SlugField(required=True)
class Meta:
model = Task
... | {
"content_hash": "8adb43b38b0567be8609f6624ef7887b",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 88,
"avg_line_length": 26.129032258064516,
"alnum_prop": 0.7,
"repo_name": "DMPwerkzeug/DMPwerkzeug",
"id": "82884a64ccb7e15996bd1e3b73dc2b09f12c7832",
"size": "810",
"bi... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "8dd86d990fa627818eea4cdce6d71f3c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "c907724e8aff27a3592e55765c24c21e8e2ce4e4",
"size": "195... |
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
ex... | {
"content_hash": "32b992d167bc0f990e5187b3811c40fe",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 103,
"avg_line_length": 50.38636363636363,
"alnum_prop": 0.6790708164185837,
"repo_name": "mgraupe/acq4",
"id": "8c0367746ff9c4ae4c88e0af0a454a12deeabda2",
"size": "4668",
... |
package net.liftweb.util
import _root_.java.text.SimpleDateFormat
import _root_.java.util.{TimeZone, Calendar, Date, Locale}
/**
* The TimeHelpers object extends the TimeHelpers. It can be imported to access all of the trait functions.
*/
object TimeHelpers extends TimeHelpers with ControlHelpers with ClassHelpers... | {
"content_hash": "b080b796cdd07286bde6518b7d0f6665",
"timestamp": "",
"source": "github",
"line_count": 311,
"max_line_length": 130,
"avg_line_length": 38.437299035369776,
"alnum_prop": 0.6695666722436004,
"repo_name": "beni55/liftweb",
"id": "e4721ff01fa5a04e0bc1c85fe7df5595ac264630",
"size": "125... |
define(function(require) {
'use strict';
const __ = require('orotranslation/js/translator');
const $ = require('jquery');
require('jquery.select2');
$.fn.select2.defaults = $.extend($.fn.select2.defaults, {
formatNoMatches: function() {
return __('No matches found');
},... | {
"content_hash": "38f04cca68935ae31e4d58151be6d74a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 82,
"avg_line_length": 34.833333333333336,
"alnum_prop": 0.5483253588516747,
"repo_name": "orocrm/platform",
"id": "0bf307d363516f739886a41f8bfff302c667a67c",
"size": "1045... |
The node.js composer-api library enables access to the RESTful API for [`composer`](https://github.com/nodejitsu/composer).
## Example:
```js
var composer = require('composer-api');
var client = composer.createClient({
host: 'api.nodejitsu.com',
port: 80,
auth: {
username: 'charlie',
password: 'foobar'... | {
"content_hash": "5a8acba0ed4547105a14f2bdfc5ebf39",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 169,
"avg_line_length": 23.135135135135137,
"alnum_prop": 0.6814641744548287,
"repo_name": "opsmezzo/composer-api",
"id": "bef6554de9b40bf41ef3d7ca8906ac7893ee6526",
"size... |
require 'set'
require 'uri'
class Content < ActiveRecord::Base
include Stateful
include ContentBase
# TODO: Move these calls to ContentBase
after_save :invalidates_cache?
after_destroy lambda { |c| c.invalidates_cache?(true) }
belongs_to :text_filter
has_many :redirections
has_many :redirects, :th... | {
"content_hash": "987abe00d1656c82de571ce7c283aaf0",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 135,
"avg_line_length": 31.768707482993197,
"alnum_prop": 0.6618843683083512,
"repo_name": "rubytribe/fitting_room_blog",
"id": "70b0595a727ba822cbeb7d11b0d58e3739ecd111",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>toInfo method - KRootingTable class - hetimatorrent library - Dart API</title>
<!-- required because all th... | {
"content_hash": "098efe3b1e57ca70a691940087034027",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 135,
"avg_line_length": 35.88819875776397,
"alnum_prop": 0.5924195223260644,
"repo_name": "kyorohiro/dart_hetimatorrent",
"id": "232cf4251d8bb7dd02bfaa7d4db17369eb612ed0",
... |
module JumioRock
class EmbedNetverifyParams < NetverifyParams
attr_reader :merchantIdScanReference, :successUrl, :errorUrl
attr_accessor :enabledFields, :authorizationTokenLifetime, :merchantReportingCriteria,
:callbackUrl, :locale, :clientIp, :customerId, :firstName, :lastName, :country,
... | {
"content_hash": "1d56f4fefd8e7fe12f1ebd9fdd7db7c1",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 115,
"avg_line_length": 34.5,
"alnum_prop": 0.7246376811594203,
"repo_name": "therocktrading/JumioRock",
"id": "6fff833be302394aa4c619d4d07ed6e96b31f36f",
"size": "621",
... |
package com.antsoft.ant.designer.classdesigner;
import java.awt.*;
import java.awt.event.*;
import java.util.Vector;
import java.util.StringTokenizer;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.border.*;
import com.antsoft.ant.browser.packagebrowser.*;
import com.antsoft.ant.codec... | {
"content_hash": "71e9ab0f0abfb71b631cc688c2bfe24e",
"timestamp": "",
"source": "github",
"line_count": 817,
"max_line_length": 142,
"avg_line_length": 34.62423500611995,
"alnum_prop": 0.636100113122172,
"repo_name": "FJplant/AntIDE",
"id": "3f32f3e02adbf8a33a955dd7be829f1a5f9e8d51",
"size": "31914... |
"use strict";
module.exports = (sequelize, DataTypes) => {
return sequelize.define("User", {
id: {
type: DataTypes.INTEGER,
primaryKey: true
},
firstName: DataTypes.STRING,
lastName: DataTypes.STRING,
email: DataTypes.STRING,
password: DataType... | {
"content_hash": "7bdcbc38bf00aa47821f303fe1a93919",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 44,
"avg_line_length": 24.866666666666667,
"alnum_prop": 0.5442359249329759,
"repo_name": "hhimanshu/contactz",
"id": "ae7d5998448291a1022d465441c0815f66c0e3b9",
"size": "3... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MuteFm.UiPackage
{
public partial class MusicInfoEditForm : Form
{
private SoundPlayerInfo _musicInfo = null... | {
"content_hash": "896debee76e2fdb83a4971a82c31a881",
"timestamp": "",
"source": "github",
"line_count": 418,
"max_line_length": 180,
"avg_line_length": 40.11483253588517,
"alnum_prop": 0.5766937022900763,
"repo_name": "jaredsohn/mutefm",
"id": "d9aabb18424c5568a932e4723447bf20577595dc",
"size": "16... |
Release Process
====================
* * *
###update (commit) version in sources
CryptoPowers-qt.pro
contrib/verifysfbinaries/verify.sh
doc/README*
share/setup.nsi
src/clientversion.h (change CLIENT_VERSION_IS_RELEASE to true)
###tag version in git
git tag -a v0.8.0
###write release notes. git shortlog hel... | {
"content_hash": "50055c9f316f1a96dd91da0b1425f05d",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 146,
"avg_line_length": 37.65217391304348,
"alnum_prop": 0.7307819201583636,
"repo_name": "CryptoPowers/CryptoPowersCoin",
"id": "cb202b4150daf019dd3f9a33934fcee78033cfe9",
... |
package com.hmmelton.tangential;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.design.widget.NavigationView;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBa... | {
"content_hash": "9c762fefaccd403cd498de7dca7f0920",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 106,
"avg_line_length": 35.97604790419162,
"alnum_prop": 0.6338215712383488,
"repo_name": "hmmelton/Tangential",
"id": "e7506bb0bb818ddd39f1c11c017d19efe70ab2b7",
"size": ... |
package de.ust.skill.common.java.internal;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.concurrent.Semaphore;
import de.ust.skill.common.java.internal.parts.BulkChunk;
import de.ust.skill.common.java.internal.parts.Chunk;
import de.ust.skill.common.java.internal.p... | {
"content_hash": "4e0c4ade5848a5590f74990306222652",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 120,
"avg_line_length": 35.1,
"alnum_prop": 0.45742323520101297,
"repo_name": "skill-lang/javaCommon",
"id": "9ce455e516db488c2b4da4e1c70b64238c886488",
"size": "6320",
... |
class BrowsingDataCookieHelper;
class BrowsingDataServerBoundCertHelper;
class CookieSettings;
class CookiesTreeModel;
class CookieTreeAppCacheNode;
class CookieTreeAppCachesNode;
class CookieTreeCookieNode;
class CookieTreeCookiesNode;
class CookieTreeDatabaseNode;
class CookieTreeDatabasesNode;
class CookieTreeFileSy... | {
"content_hash": "ea3430ad610d2857050a97610642054a",
"timestamp": "",
"source": "github",
"line_count": 704,
"max_line_length": 80,
"avg_line_length": 37.25426136363637,
"alnum_prop": 0.7318793609638922,
"repo_name": "zcbenz/cefode-chromium",
"id": "76735f5969b747d99daa1ca900fa725d79d87a44",
"size"... |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty spacify modifier plugin
*
* Type: modifier<br>
* Name: spacify<br>
* Purpose: add spaces between characters in a string
*
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty... | {
"content_hash": "14a67081887a65e37813c0aa0b85e568",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 112,
"avg_line_length": 28.14814814814815,
"alnum_prop": 0.675,
"repo_name": "imaschio/xkvmt",
"id": "d5426161822ddf12cd8807ed9c5fa573c195587b",
"size": "762",
"binary": ... |
package org.vaadin.spring.security.web.authentication;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.authentication.AuthenticationFailureHandler;
/**
* Strategy used to handle a failed authentication attempt.
* <p>
* Typical behaviour might be to redirec... | {
"content_hash": "9a57836a201466444181cb290e4d3e32",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 114,
"avg_line_length": 43.208333333333336,
"alnum_prop": 0.7868852459016393,
"repo_name": "fastnsilver/vaadin4spring",
"id": "ad3ef7b47d3d6de683a3fe4a461da6698bce12b9",
"s... |
package org.wso2.carbon.mdm.mobileservices.windows.services.wstep.impl;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.apache.cxf.headers.Header;
import org.apache.cxf.h... | {
"content_hash": "aeaed078607113fbc40788f0fe6c46a6",
"timestamp": "",
"source": "github",
"line_count": 371,
"max_line_length": 118,
"avg_line_length": 53.97035040431267,
"alnum_prop": 0.7055386305748389,
"repo_name": "jeradrutnam/product-mdm",
"id": "cd409c52196918a604b6c8eee571b3f2bb4a3f7c",
"siz... |
package com.choonster.mcmoddecompiler;
import com.beust.jcommander.JCommander;
import com.beust.jcommander.ParameterException;
import com.choonster.mcmoddecompiler.commandline.Arguments;
import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
public class Main {
public static void main(String... | {
"content_hash": "f2b3553ba4baef64a3f20203887b9b79",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 114,
"avg_line_length": 24.46938775510204,
"alnum_prop": 0.7197664720600501,
"repo_name": "Choonster/MinecraftModDecompiler",
"id": "96444ccef5cac7f2fd4c4fee4880bb1fc6b2b1bd"... |
export { Movie } from './movie.model';
export { Showtime } from './showtime.model';
export { Cinema } from './cinema';
export { CinemaHall } from './cinema-hall.model';
export { CinemaHallSeat } from './cinema-hall-seat.model';
export { Booking } from './booking.model';
export * from './ticket.model';
export * from './... | {
"content_hash": "28b98fca8c78aa8ad396f13b21c2750a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 41.875,
"alnum_prop": 0.6805970149253732,
"repo_name": "bkorobeinikov/movieapp-ionic",
"id": "aee499728460f4991ee5acb05ba373a56acc5d52",
"size": "336"... |
<?php
namespace SilverStripe\UserForms\Modifier;
use SilverStripe\Forms\SegmentFieldModifier\SlugSegmentFieldModifier;
class UnderscoreSegmentFieldModifier extends SlugSegmentFieldModifier
{
public function getPreview($value)
{
return str_replace('-', '_', parent::getPreview($value) ?? '');
}
... | {
"content_hash": "d6a8965c04abe342711ed86b8f4ceef7",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 74,
"avg_line_length": 24.944444444444443,
"alnum_prop": 0.688195991091314,
"repo_name": "silverstripe/silverstripe-userforms",
"id": "d50ea31002db0eef446190ea67d00a671cdaf33... |
import React from "react";
import PropTypes from "prop-types";
import styles from "./Document.styl";
import hljs from 'highlight.js'
import select from 'select'
require('highlight.js/styles/color-brewer.css');
import {getReactCode} from '../../utils'
const NodeTypes = {
Element: 1,
};
function removeIds(o) {
if (o... | {
"content_hash": "2f9612f76b9dc01719d9f0303321372f",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 184,
"avg_line_length": 32.85840707964602,
"alnum_prop": 0.540802585510369,
"repo_name": "zjuasmn/sketch-react",
"id": "58dd702520bb48afedf924d05a72fe6fb26cfb07",
"size": ... |
define(['Graft'] , function (Graft) {
describe('View' , function () {
beforeEach(function () {
this.view = new Graft.View();
});
afterEach(function () {
this.view.remove();
});
describe('service injection', function () {
beforeEach(function () {
this.service = {service: ... | {
"content_hash": "cd48a1e249fd3f4c58dc1e89848daa9f",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 128,
"avg_line_length": 33.80758017492711,
"alnum_prop": 0.5373404622283546,
"repo_name": "inlineblock/graft",
"id": "58d52a5c4e4338a19d9537b4f70ed219d1d0a4b0",
"size": "1... |
/* eslint-disable object-shorthand, func-names, guard-for-in, no-restricted-syntax, comma-dangle, no-param-reassign, max-len */
window.DiscussionMixins = {
computed: {
discussionCount: function () {
return Object.keys(this.discussions).length;
},
resolvedDiscussionCount: function () {
let res... | {
"content_hash": "621a210dec1217afd7052b24988e61f0",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 127,
"avg_line_length": 25.62857142857143,
"alnum_prop": 0.6231884057971014,
"repo_name": "dplarson/gitlabhq",
"id": "36c4abf02cf065e63348bb4dec2718ec2f590529",
"size": "89... |
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="keywords" content=" ">
<title>Page Not Found | Statistical Mechanics: A Primer</title>
<link rel="... | {
"content_hash": "8fa9c77c338e7a730291b1190064d8a0",
"timestamp": "",
"source": "github",
"line_count": 323,
"max_line_length": 316,
"avg_line_length": 32.702786377708975,
"alnum_prop": 0.4938937801760863,
"repo_name": "AmbroseYim/Entropy",
"id": "c1850fa14b6d2ad8ca1f739fb4dcb8065f509787",
"size": ... |
require 'aws-sdk'
require 'table_print'
require_relative "cloud_front_interative_invalidator/version"
module CloudFrontInterativeInvalidator
def self.start(params={})
tp.set :max_width, 100
if ENV['AWS_ACCESS_KEY_ID'].nil?
puts "Input AWS access key id:"
ENV['AWS_ACCESS_KEY_ID'] = gets.chomp
... | {
"content_hash": "84a53c1ba3d0430acc53e6ae326d6f46",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 160,
"avg_line_length": 35.51190476190476,
"alnum_prop": 0.6828695943680858,
"repo_name": "liuming/cloud_front_interative_invalidator",
"id": "3d96ea58e29031a97e1f00113e10428... |
package com.chaquo.python.utils;
import android.content.pm.*;
import android.os.*;
import android.text.method.*;
import android.widget.*;
import androidx.appcompat.app.*;
import androidx.preference.*;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstance... | {
"content_hash": "64a5f7ddf7e6aac7bff1834abb15a8c7",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 111,
"avg_line_length": 35.55,
"alnum_prop": 0.670182841068917,
"repo_name": "chaquo/chaquopy",
"id": "d47d76299bbd1ce0221f9f386df4754363725697",
"size": "1422",
"binary"... |
<?php
declare (strict_types = 1);
namespace HMLB\DDDBundle\Doctrine\ORM;
use Doctrine\Common\EventSubscriber;
use Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs;
use Doctrine\ORM\Event\OnClassMetadataNotFoundEventArgs;
use Doctrine\ORM\Events;
/**
* MessagesMappingSubscriber.
*
* @author Hugues Mai... | {
"content_hash": "93e543f27de4adeab790c0162ea699fb",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 84,
"avg_line_length": 21.405405405405407,
"alnum_prop": 0.7108585858585859,
"repo_name": "hmlb/ddd-bundle",
"id": "0ea5fbec3d5ee71e0dd13b9e45878dfd627c4c8b",
"size": "792"... |
import uuid
from msrest.pipeline import ClientRawResponse
from msrestazure.azure_exceptions import CloudError
from msrest.polling import LROPoller, NoPolling
from msrestazure.polling.arm_polling import ARMPolling
from .. import models
class InboundNatRulesOperations(object):
"""InboundNatRulesOperations operatio... | {
"content_hash": "8cbe8bd8179e83e7941ca9bc49dffa3f",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 207,
"avg_line_length": 49.013850415512465,
"alnum_prop": 0.655815530688369,
"repo_name": "lmazuel/azure-sdk-for-python",
"id": "201ff22af7055699101e3732980ae0fc27f13c06",
... |
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' Runtime Version:4.0.30319.1
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'---------------... | {
"content_hash": "7e06231c03b240d8e3cdf1b552227e3c",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 179,
"avg_line_length": 39.371134020618555,
"alnum_prop": 0.6300078554595444,
"repo_name": "donatj/File-Exist-O-Tron",
"id": "e4539f9155f1f676a605ad530590849d3c3984d8",
"si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.