text stringlengths 2 1.04M | meta dict |
|---|---|
import {Tooltip} from "./tooltip"
import {elt, insertCSS} from "../dom"
import {defineParamHandler} from "../edit"
import sortedInsert from "../util/sortedinsert"
import {getIcon} from "./icons"
export class Menu {
constructor(pm, display) {
this.display = display
this.stack = []
this.pm = pm
}
show... | {
"content_hash": "e1df1dce797613fbf092dc39e17c7a91",
"timestamp": "",
"source": "github",
"line_count": 370,
"max_line_length": 114,
"avg_line_length": 25.708108108108107,
"alnum_prop": 0.6264718250630782,
"repo_name": "tecnogram888/prosemirror",
"id": "8f781abda9d1c453a93c2deae9e2f7603f689174",
"s... |
'use strict';
var path = require('path');
var grammar = require('./grammar.js');
function Parser() {}
Parser.prototype.parse = function (src) {
return grammar.parse(src);
};
module.exports = Parser;
| {
"content_hash": "4675840a5fa3df661b877ad22805d12c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 41,
"avg_line_length": 17.25,
"alnum_prop": 0.6666666666666666,
"repo_name": "djinn-games/djinn-parser",
"id": "5ebfedef55711ff4f2b500991dbf9d6afc739d8c",
"size": "207",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
:root {
--background: white;
}
@media (prefers-color-schem... | {
"content_hash": "881ddb1d1856ff218661a2ec5ac199bb",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 79,
"avg_line_length": 23.678571428571427,
"alnum_prop": 0.5686274509803921,
"repo_name": "caixw/apidoc",
"id": "e881f60a951e6016adc50be20f7fab76dd5e560d",
"size": "2057",
... |
package Interface.exceptions;
public class ConferenceNotFoundException extends Exception {
private static final long serialVersionUID = -6544930467932823977L;
public String[] args;
public ConferenceNotFoundException() {
this.args = new String[0];
}
public ConferenceNotFoundException(final String message)... | {
"content_hash": "d6de5e17b5e1f91d3e9c3362b2174786",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 68,
"avg_line_length": 20.88888888888889,
"alnum_prop": 0.7606382978723404,
"repo_name": "FranciscoKnebel/ufrgs-projects",
"id": "c87c54004455a11f8b2831ea6d2da190893a7289",
... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="triaina.webview"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="13" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-... | {
"content_hash": "846d7167c10a17d34e01f149cc841e39",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 78,
"avg_line_length": 38.18181818181818,
"alnum_prop": 0.7047619047619048,
"repo_name": "vishyrich/triaina",
"id": "9d92d6c8dc972928fcbed821ef24caa8e7ad8f99",
"size": "420... |
<?php
class FilterHandlerTest extends ehough_epilog_TestCase
{
private $_closure_testHandleWithCallback_test;
/**
* @covers ehough_epilog_handler_FilterHandler::isHandling
*/
public function testIsHandling()
{
$test = new ehough_epilog_handler_TestHandler();
$handler = new... | {
"content_hash": "954df69bf76d050dd08861b0321b0f78",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 131,
"avg_line_length": 45.5859872611465,
"alnum_prop": 0.6706720693027804,
"repo_name": "ehough/epilog",
"id": "5cc63063fd4f4fb83eb0da9fe401d3ea804edc7b",
"size": "7157",... |
<div class="code-block">
<div class="code-block__wrapper" data-syntax="scss">
```scss
/**
* Nav specificiteit fix.
*
* Iemand gebruikte een ID in de headercode (`#header a {}`) die de nav
* selectors overtroeft (`.site-nav a {}`). Gebruik !Important om het
* te negeren totdat ik tijd heb om de koptekst te refac... | {
"content_hash": "bf5106bb63bb72bf2c66c54b5394f529",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 71,
"avg_line_length": 25.266666666666666,
"alnum_prop": 0.6517150395778364,
"repo_name": "HugoGiraudel/sass-guidelines",
"id": "f6cddc8fc7beed5b4622248c0cef63c5f6f7d1bc",
... |
jest.dontMock('../../components/shared/Star.jsx');
import React from 'react/addons';
import Star from '../../components/shared/Star.jsx';
const TestUtils = React.addons.TestUtils;
function renderedOutput(elt) {
const shallowRenderer = TestUtils.createRenderer();
shallowRenderer.render(elt);
return shallowRende... | {
"content_hash": "b6960a2c431f3aff2247444cbc3d4ae8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 83,
"avg_line_length": 26.694444444444443,
"alnum_prop": 0.6711758584807492,
"repo_name": "cgvarela/Blazar",
"id": "8f7b7e351f565b73244cf7d0d0c36da05023c957",
"size": "961"... |
--[[-----------------------------------------------------------------------------
* Infected Wars, an open source Garry's Mod game-mode.
*
* Infected Wars is the work of multiple authors,
* a full list can be found in CONTRIBUTORS.md.
* For more information, visit https://github.com/JarnoVgr/InfectedWars
*
* Inf... | {
"content_hash": "980a5154e2b86831a6b4e60afe533e75",
"timestamp": "",
"source": "github",
"line_count": 1136,
"max_line_length": 149,
"avg_line_length": 26.599471830985916,
"alnum_prop": 0.6373233610219413,
"repo_name": "JarnoVgr/InfectedWars",
"id": "66132aa32fc2cd8eefed5862eefa216100c87033",
"siz... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace inBloom
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathI... | {
"content_hash": "db60e3bc80c893d124d6a897a81c270c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 24.956521739130434,
"alnum_prop": 0.5853658536585366,
"repo_name": "dougloyo/inBloom",
"id": "6b823487ad92895f311c27362f8990ddd99cb558",
"size": "576... |
<?php
namespace Oro\Bundle\SearchBundle\Datagrid\Extension\Pager;
use Oro\Bundle\DataGridBundle\Datagrid\Common\DatagridConfiguration;
use Oro\Bundle\DataGridBundle\Datasource\DatasourceInterface;
use Oro\Bundle\DataGridBundle\Extension\Pager\AbstractPagerExtension;
use Oro\Bundle\DataGridBundle\Extension\Pager\OrmPa... | {
"content_hash": "e8eb57413d4e8884e79868c408e2e661",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 109,
"avg_line_length": 32.779661016949156,
"alnum_prop": 0.6923474663908997,
"repo_name": "orocrm/platform",
"id": "7231d177fd042019b64303c43bbb77795294cbda",
"size": "193... |
<?xml version="1.0" encoding="utf-8"?>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/buttonDark">
<item android:id="@android:id/mask">
<color android:color="@color/white"/>
</item>
</ripple> | {
"content_hash": "ea4aad9b26e79fb492dff9082243dbd7",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 66,
"avg_line_length": 24.636363636363637,
"alnum_prop": 0.6125461254612546,
"repo_name": "Harreke/EasyApp",
"id": "18d775125d70e0e8381feae2981002f01c22928f",
"size": "271"... |
import * as React from 'react';
import * as classNames from 'classnames';
import './ui-grid-row.styl';
interface UIGridRowProps { children?: any; mod?: string; }
export const UIGridRow = (props: UIGridRowProps) => {
return <div
className={classNames({
'row': true,
[`ui-grid-row_$... | {
"content_hash": "a1aaf568d01ca16ffe3ca61a29cf2959",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 58,
"avg_line_length": 23.823529411764707,
"alnum_prop": 0.5703703703703704,
"repo_name": "xio4/unibot-manager",
"id": "caad9068f08caf43ffab6e2e212c3aa8ee3abfbc",
"size": "... |
class ReligionDeity < ActiveRecord::Base
belongs_to :user, optional: true
belongs_to :religion
belongs_to :deity, optional: true
end
| {
"content_hash": "946fee4346b0a1a7719c4e39b5d837ac",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 40,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.75,
"repo_name": "indentlabs/notebook",
"id": "716c6732f2e733266e95d54438aa31871f279dad",
"size": "140",
"binary... |
// {block name="backend/customer/controller/detail"}
// {$smarty.block.parent}
Ext.define('Shopware.apps.CreateBackendOrder.controller.Detail', {
override: 'Shopware.apps.Customer.controller.Detail',
/**
* Override init to add additional event for button to perform a backend order
*/
init: functi... | {
"content_hash": "cdbb5f9b28038defcdb43d176c20d217",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 106,
"avg_line_length": 26.261904761904763,
"alnum_prop": 0.5339981867633726,
"repo_name": "shopwareLabs/SwagBackendOrder",
"id": "939f19ee34fefa43821cbf6435393e9e92339b54",
... |
// Copyright (c) 2013 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.
'use strict';
////////////////////////////////////////////////////////////////////////////////
// DirectoryTreeBase
/**
* Implementation of methods... | {
"content_hash": "1b9005a7a5430c74eb7b5b1f6b8bb00f",
"timestamp": "",
"source": "github",
"line_count": 1141,
"max_line_length": 80,
"avg_line_length": 31.61174408413672,
"alnum_prop": 0.6891790734425685,
"repo_name": "xin3liang/platform_external_chromium_org",
"id": "faec383f0b0debd6889b43b8e710af36... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>interval: 3 m 16 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel... | {
"content_hash": "71f58280a3a8b2cb8f61354985ac6aa5",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 159,
"avg_line_length": 57.22549019607843,
"alnum_prop": 0.5860030837759123,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "bdeef2089847d85af19f244d5f843264a581f6d8",
... |
package org.springframework.beans.propertyeditors;
import java.beans.PropertyEditorSupport;
import java.util.StringJoiner;
import org.springframework.lang.Nullable;
import org.springframework.util.ClassUtils;
import org.springframework.util.ObjectUtils;
import org.springframework.util.StringUtils;
/**
* Property ... | {
"content_hash": "37d853962faf983e717e3d5da9090270",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 94,
"avg_line_length": 27.164556962025316,
"alnum_prop": 0.7124883504193849,
"repo_name": "spring-projects/spring-framework",
"id": "0a2882a988c0c2b280a96813d2b57a3254c2ed48"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
... | {
"content_hash": "fc89639b1814fc98be4c67174582852e",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 108,
"avg_line_length": 36.25,
"alnum_prop": 0.646551724137931,
"repo_name": "ow2-chameleon/everest",
"id": "090a4530a1a6942fb18873bac30f3961c91edd55",
"size": "580",
"bi... |
FROM python:2.7
RUN apt-get update -qq && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -qq -y vim && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
pip install ansible
| {
"content_hash": "c930cea5c79f0e479d065224213594a8",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 90,
"avg_line_length": 34,
"alnum_prop": 0.6302521008403361,
"repo_name": "kitpages/docker-ansible",
"id": "ee12e68dee4b39d9c3b89f9bfb1ea4ecb100544a",
"size": "238",
"bina... |
using System;
namespace Imageboard10.Core.Utility
{
/// <summary>
/// Класс-помощник с датами.
/// </summary>
public static class DatesHelper
{
private static readonly DateTime UnixEpoch = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc);
/// <summary>
/// Перевести из ... | {
"content_hash": "9e9656ba1bf0fa52d27ba39cc87ddbf1",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 125,
"avg_line_length": 30.775862068965516,
"alnum_prop": 0.457703081232493,
"repo_name": "Opiumtm/Imageboard10",
"id": "97af8565e5a365e4cdbaa0d660f8886deb719fe1",
"size": ... |
how-to-demo
===========
This project includes some useful(or not) demo/testbed I met/wrote before.
###android_load_res_dynamically
This project show how to load resource/layouts/codes from an uninstalled apk file directly.
| {
"content_hash": "936a49095abb1ca59db678f1b531688b",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 91,
"avg_line_length": 28.25,
"alnum_prop": 0.7522123893805309,
"repo_name": "chloette/how-to-demo",
"id": "61d1e329284ebb41d7e6bbbb9fb2a9872ad14f25",
"size": "226",
"bina... |
import {makeExecutableSchema} from 'graphql-tools'
import {SchemaBuilder} from './common/graphql'
import {oncePerServices} from './common/services'
import {missingArgument} from './common/utils/arguments'
const hasOwnProperty = Object.prototype.hasOwnProperty;
export default oncePerServices(function (services = missi... | {
"content_hash": "4e25526c934b0cbe619d1fa452ae2f00",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 97,
"avg_line_length": 31.866666666666667,
"alnum_prop": 0.6903765690376569,
"repo_name": "innervate-ru/Bot",
"id": "c336046d180b9e4f368a8bbe86b9e78690fc45cd",
"size": "982... |
package ananas.waymq.droid;
import java.util.HashMap;
import java.util.Map;
import ananas.waymq.droid.protocol.Protocol;
import ananas.waymq.droid.task.BackgroundContext;
import ananas.waymq.droid.task.BackgroundTask;
import ananas.waymq.droid.task.DefaultServiceAgent;
import ananas.waymq.droid.task.ForegroundContext... | {
"content_hash": "2b7d2c5404e15570c40f8f5675ec6602",
"timestamp": "",
"source": "github",
"line_count": 235,
"max_line_length": 74,
"avg_line_length": 23.953191489361704,
"alnum_prop": 0.7047432936578433,
"repo_name": "xukun0217/wayMQ",
"id": "34c76089febcc5fa1ef7c702166ec1f43dfb5420",
"size": "562... |
package org.dosomething.android.receivers;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import org.dosomethi... | {
"content_hash": "33005ca2083c90e8e69b5e99af3f1b17",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 133,
"avg_line_length": 48.07142857142857,
"alnum_prop": 0.6357461260878794,
"repo_name": "DoSomething/ds-android",
"id": "514c1913074047994b0d33b801f66f4fa6b39750",
"size"... |
<html>
<head>
<title>
Morning-after pill closer to approval
</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?php include "../../legacy-includes/Script.htmlf" ?>
</head>
<body bgcolor="#FFFFCC" text="000000" link="990000" vlink="660000" alink="003366" leftmargin="0" topmargin="0">
<... | {
"content_hash": "e8210158dc20f7fc0c97c51e57556bea",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 505,
"avg_line_length": 63.28,
"alnum_prop": 0.7316687737041719,
"repo_name": "ISO-tech/sw-d8",
"id": "2033c275c6cf7036d16a6f19f2211570c3400722",
"size": "3164",
"binary"... |
package at.ac.tuwien.ifs.tita.ui.uihelper;
import org.apache.wicket.Component;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.model.IModel;
import ... | {
"content_hash": "f0560eb70cf077a4649bdb3ce6daaec1",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 75,
"avg_line_length": 26.916666666666668,
"alnum_prop": 0.6588235294117647,
"repo_name": "tita/tita",
"id": "f53b61797b5feaad81ed73afae21a9c7e7e77c68",
"size": "2240",
"... |
import pyaf.Bench.TS_datasets as tsds
import tests.artificial.process_artificial_dataset as art
art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "PolyTrend", cycle_length = 7, transform = "Integration", sigma = 0.0, exog_count = 20, ar_order = 0); | {
"content_hash": "31c7f817805b6676ad2072a1d8572905",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 167,
"avg_line_length": 38.142857142857146,
"alnum_prop": 0.7078651685393258,
"repo_name": "antoinecarme/pyaf",
"id": "5ad0610ddf64fa169b72fca40d6b2d057f2dec7a",
"size": "26... |
<?php
namespace Catalog\Controller;
use Catalog\Form\FranchiseSearch;
use Franchise\Model\Dao\FranchiseDao;
use Zend\Mvc\Controller\AbstractActionController;
use Zend\View\Model\ViewModel;
class FranchiseController extends AbstractActionController
{
public function indexAction()
{
return new ViewMod... | {
"content_hash": "1c81fbaa30e7a4b59b5afc1b096fbbff",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 78,
"avg_line_length": 26.85185185185185,
"alnum_prop": 0.5770114942528736,
"repo_name": "oscar121/tesis",
"id": "565b5e0249d726985db0492fbfd2f3909e752871",
"size": "2175",... |
import unittest
from pyparsing import ParseException
from tests.utils.grammar import get_record_grammar
"""
CWR Entire Work Title grammar tests.
The following cases are tested:
"""
__author__ = 'Bernardo Martínez Garrido'
__license__ = 'MIT'
__status__ = 'Development'
class TestEntireWorkTitleGrammar(unittest.Te... | {
"content_hash": "5b685d5c5b0073d0e4aa35e1280b228e",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 383,
"avg_line_length": 39.9,
"alnum_prop": 0.6386800334168755,
"repo_name": "weso/CWR-DataApi",
"id": "c74d5b5bab19023c1698d711e77a2ae659c34ec6",
"size": "2419",
"binary... |
package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
// versionCmd represents the version command
var versionCmd = &cobra.Command{
Use: "version",
Short: "Print version and exit",
Run: func(cmd *cobra.Command, args []string) {
fmt.Printf("%v built on %v\n", Version, BuildDate)
},
}
func init() {
RootCmd... | {
"content_hash": "9f9dd374e3d2d958f9656be6a846043a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 52,
"avg_line_length": 17.3,
"alnum_prop": 0.6820809248554913,
"repo_name": "turnerlabs/harbor-compose",
"id": "407b22e15d089057dcc077de02fc45eabeb11f1d",
"size": "346",
... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.php.project</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/php-project/1">
<name>DesafioMVC</name>
</data>
</configuration>
</project>
... | {
"content_hash": "cf044b5e3cff3adac4ad13a365ff6f79",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 63,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.6074766355140186,
"repo_name": "Reflej0/DesafioMVC",
"id": "243aba75ae797f8f0e3377cd5363c856e6a07c36",
"size": "32... |
<?php
include('../Connections/db.php');
include("../classes/thumb.php");
$conn = @mysql_connect($hostname_db, $username_db, $password_db) or die ("Problemas na conexão.");
$db = @mysql_select_db($database_db, $conn) or die ("Problemas na conexão");
$idusuario = base64_decode($_GET['iduser']);
... | {
"content_hash": "40714de0bca6ce503b59813d0fd15809",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 102,
"avg_line_length": 35.69767441860465,
"alnum_prop": 0.5517915309446254,
"repo_name": "duarteleme/cms-duarteleme",
"id": "c80b72ef8ed74e447d42dab9d718bcc5858aa2c4",
"si... |
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace App
{
public partial class ManageItems : Form
{
public bool Changed = false;
private string WildItemCommon;
private string WildItemUncommon;
private string WildItemRare;
private string... | {
"content_hash": "efd629378a730de143c047002b086c57",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 77,
"avg_line_length": 30.651162790697676,
"alnum_prop": 0.6016691957511381,
"repo_name": "akaDrimer/PBS-Editor",
"id": "13daccd7cd9f82bd803f1be76c2d0ded9170f52d",
"size": ... |
<%#
Copyright 2013-2017 the original author or authors from the JHipster project.
This file is part of the JHipster project, see http://www.jhipster.tech/
for more information.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You ma... | {
"content_hash": "0d909ee51f32db453295c66a0bf692e0",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 106,
"avg_line_length": 35.822916666666664,
"alnum_prop": 0.5591741785402733,
"repo_name": "deepu105/generator-jhipster",
"id": "822495e151808c4218605a408e0cbf84994bd5ca",
... |
"""Config flow for HLK-SW16."""
import asyncio
from hlk_sw16 import create_hlk_sw16_connection
import voluptuous as vol
from homeassistant import config_entries
from homeassistant.const import CONF_HOST, CONF_PORT
from homeassistant.core import HomeAssistant
from .const import (
CONNECTION_TIMEOUT,
DEFAULT_K... | {
"content_hash": "189b7c24790e4640de571b59cd587800",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 78,
"avg_line_length": 30.96875,
"alnum_prop": 0.6451395896400942,
"repo_name": "titilambert/home-assistant",
"id": "0a9ac79d1b701fc9f798fa7d1a158b1abd38d172",
"size": "297... |
```toml
[dependencies.spine_tiny]
git = "http://github.com/tomaka/spine-rs"
```
```rust
extern crate spine;
```
Parses a Spine document and calculates what needs to be drawn.
You can find an example [here](https://github.com/tafia/spine-render)
## Step 1: loading the document
Call `skeleton::Skeleton::from_reader`... | {
"content_hash": "f313bb5b31f58c3b99a2a6d93a0c8a3b",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 98,
"avg_line_length": 33.03846153846154,
"alnum_prop": 0.7178890182382616,
"repo_name": "tomaka/spine-rs",
"id": "fa9ee8d6f3f2f57e0726070e883242248b06e56b",
"size": "2586"... |
package org.ethereum.db;
import org.apache.commons.collections4.CollectionUtils;
import org.apache.commons.collections4.Predicate;
import org.ethereum.datasource.mapdb.MapDBFactory;
import org.ethereum.util.FastByteComparisons;
import org.mapdb.DB;
import org.mapdb.Serializer;
import org.slf4j.Logger;
import org.slf4j... | {
"content_hash": "04b4547f370258a748c77c60bf059bbe",
"timestamp": "",
"source": "github",
"line_count": 265,
"max_line_length": 149,
"avg_line_length": 25.343396226415095,
"alnum_prop": 0.5119118522930316,
"repo_name": "caxqueiroz/ethereumj",
"id": "a4743fa04c669567172db13919b6d332637c56ff",
"size"... |
<?php
namespace Com\DaufinBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class TypeValeurControllerTest extends WebTestCase
{
/*
public function testCompleteScenario()
{
// Create a new client to browse the application
$client = static::createClient();
... | {
"content_hash": "32b349a2731c50dd0dc7a1c681a82aa9",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 131,
"avg_line_length": 35.61818181818182,
"alnum_prop": 0.6054109239407861,
"repo_name": "zi9o/Daufin2",
"id": "13ffe1c027d0c6352e728b7d15c0b683359634be",
"size": "1959",
... |
//
// Copyright 2013-2014 Yummy Melon Software LLC
//
// 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 la... | {
"content_hash": "dbbab84ced0bc9a8edf588ba1ea8d9bc",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 75,
"avg_line_length": 30.394736842105264,
"alnum_prop": 0.7497835497835498,
"repo_name": "flit/sensor-midi",
"id": "f2133ad10f64e92a24bea2ccb0cbe0481f5f5564",
"size": "115... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Am. J. Bot. , Suppl. 56(10): 1198 (1969)
#### Original name
Ascobolus testaceus var. difformis P. Karst.
### Remarks
null | {
"content_hash": "cec65b4a992ea394eeb1359909bd7663",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 44,
"avg_line_length": 14.23076923076923,
"alnum_prop": 0.6756756756756757,
"repo_name": "mdoering/backbone",
"id": "26ceec2b872743a172bac310937ef60b71408035",
"size": "267... |
import re
from docutils import nodes
from pygments.lexers import guess_lexer, Python3Lexer, PythonLexer
from sphinx.transforms import SphinxTransform
from sphinx.transforms.post_transforms.code import TrimDoctestFlagsTransform
docmark_re = re.compile(r"\s*#\s*\[(START|END)\s*[a-z_A-Z]+\].*$", re.MULTILINE)
class Tr... | {
"content_hash": "a902997d9e47c63e3d79f2843e49b5b2",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 94,
"avg_line_length": 33.5,
"alnum_prop": 0.6389207807118255,
"repo_name": "r39132/airflow",
"id": "01ec440d0e11242c6ecf464df7a4326df711d73c",
"size": "2622",
"binary": ... |
<?php
/**
* Created by PhpStorm.
* User: Nadin Yamaui
* Date: 10/30/2016
* Time: 5:02 PM
*/
namespace CaagSoftware\SimpleIntegration\Drivers\Git\Extensions;
use Illuminate\Support\Collection;
class Commits extends Collection
{
public function branch($name)
{
return $this->filter(function (Commit... | {
"content_hash": "0f97d316a59aa479db28d11f54993b8b",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 68,
"avg_line_length": 19.428571428571427,
"alnum_prop": 0.6421568627450981,
"repo_name": "caagsoftware/simple-integration",
"id": "f015484c83da62057d5623a78ff91ed6b0b4c839",... |
"use strict";
const conversions = require("webidl-conversions");
const utils = require("./utils.js");
const HTMLConstructor_helpers_html_constructor = require("../helpers/html-constructor.js").HTMLConstructor;
const implSymbol = utils.implSymbol;
const ctorRegistrySymbol = utils.ctorRegistrySymbol;
const HTMLElement ... | {
"content_hash": "5e2d9c945a06d96fe2356ae9d35849cd",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 118,
"avg_line_length": 31.91304347826087,
"alnum_prop": 0.7294277929155313,
"repo_name": "thomasoboyle/Exercism",
"id": "fd8028d2efa05f5bae852e700c775838a8e79a4c",
"size"... |
package de.starwit.application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* Main SpringApplication to start the whole project
*/
@SpringBootApplication(scanBasePackages = { "de.starwit.rest", "de.starwit.service", "de.starwit.persiste... | {
"content_hash": "c7bbb13cf1733a267acc14471e54559c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 110,
"avg_line_length": 36.5,
"alnum_prop": 0.7517123287671232,
"repo_name": "witchpou/lj-projectbuilder",
"id": "747e9c139f1bc81a517cbdc69286d26b894c9468",
"size": "584",
... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/text_select" android:state_pressed="true" />
<item android:color="@color/text_select" android:state_selected="true" />
<item android:color="@color/text_topbar" />
</select... | {
"content_hash": "124bc3963acfa8b084dae7dc2c823933",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 77,
"avg_line_length": 53.833333333333336,
"alnum_prop": 0.6996904024767802,
"repo_name": "SYJack/MusicAndChat",
"id": "c2397d6edd7cf28a45277ea8a719c64b1a6de5e7",
"size": "3... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2013 The Android Open Source Project
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/license... | {
"content_hash": "746ff8b2d51e43ccf8dbd1276fc4eb08",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 77,
"avg_line_length": 35.86904761904762,
"alnum_prop": 0.5967474278128112,
"repo_name": "manuelmagix/android_packages_apps_Settings",
"id": "fac9e9769f331c9c68c01e7965c71817... |
#include <aws/mobile/model/DescribeBundleResult.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <aws/core/AmazonWebServiceResult.h>
#include <aws/core/utils/StringUtils.h>
#include <aws/core/utils/UnreferencedParam.h>
#include <utility>
using namespace Aws::Mobile::Model;
using namespace Aws::Utils::Js... | {
"content_hash": "3524dd9633b2a83d06465a9bc3c564d6",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 108,
"avg_line_length": 22.243243243243242,
"alnum_prop": 0.764277035236938,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "ff955511d935e4318107d79447e1e679dfd18bc0",
"size":... |
package e2e_federation
import (
"fmt"
"time"
"k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/intstr"
"k8s.io/apimachinery/pkg/util/rand"
"k8s.io/apimachinery/pkg/util/wait"
kubeclientset "k8s.io/client-go/kubernetes"
fed... | {
"content_hash": "f736ce00af42945744372a0cd88d07fc",
"timestamp": "",
"source": "github",
"line_count": 421,
"max_line_length": 214,
"avg_line_length": 40.465558194774346,
"alnum_prop": 0.7220004695938014,
"repo_name": "kad/kubernetes",
"id": "0ddf52c0da59f534bac9dc542e75f7bef7cd20f5",
"size": "176... |
import {Component, Input, OnInit} from "@angular/core";
import {TestWithResults} from "./test-with-results";
import {StacktraceComponent} from "./stacktrace/stacktrace.component";
import {RouteParams, ROUTER_DIRECTIVES} from "@angular/router-deprecated";
import {TestResultService} from "./test-result.service";
import {... | {
"content_hash": "1a4356ad28c4a1d2bdd3afe7129a369f",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 75,
"avg_line_length": 33.51219512195122,
"alnum_prop": 0.7132459970887919,
"repo_name": "ybonjour/test-store",
"id": "1ca24dcb35b052ff2a819214a432d6d6fae3e6e0",
"size": "1... |
<?xml version='1.0' encoding='UTF-8'?>
<ti:app xmlns:ti='http://ti.appcelerator.org'>
<!-- These values are edited/maintained by Titanium Developer -->
<id>com.arcaner.screengrabber</id>
<name>screengrabber</name>
<version>1.0</version>
<publisher>marshall</publisher>
<url>http://www.arcaner.com</url>
<icon>default_app... | {
"content_hash": "4de40709e869293421a44b0f2c6a2b08",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 65,
"avg_line_length": 30.24137931034483,
"alnum_prop": 0.7297605473204105,
"repo_name": "marshall/screengrabber",
"id": "97315ced9385c50ef4131c8c2f2dfffd43973e49",
"size":... |
from __future__ import division
import sys
import os
path = os.getcwd()
rootpath = path[:path.rfind('FSSE') + 4]
sys.path.append(rootpath)
from deap import creator, base
from deap.tools.emo import sortNondominated
import pygmo
from Metrics.gd import GD
from Metrics.gs import GS
from repeats import fetch_all_files
impo... | {
"content_hash": "e1bb4144f6ab80337bbec2988453f8d8",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 79,
"avg_line_length": 29.976,
"alnum_prop": 0.5596477181745396,
"repo_name": "Ginfung/FSSE",
"id": "dc10d401020d2e711af712dca6bb4ccbddb6176c",
"size": "4969",
"binary":... |
package com.flightstats.flex.client;
import com.flightstats.flex.FlexCredentials;
import com.flightstats.flex.domain.schedules.SchedulesResponse;
import org.junit.Test;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;
import static org.junit.Assert.assertFa... | {
"content_hash": "7a2c7f0e0dab70a7b92fe2a5b9225e35",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 116,
"avg_line_length": 37.61702127659574,
"alnum_prop": 0.6586538461538461,
"repo_name": "flightstats/flex-example-clients",
"id": "e90c1f41a2aa1e840619a306bc51d37d898055a2"... |
/**
* @file fw_pos_control_l1_main.hpp
* Implementation of a generic position controller based on the L1 norm. Outputs a bank / roll
* angle, equivalent to a lateral motion (for copters and rovers).
*
* The implementation for the controllers is in the ECL library. This class only
* interfaces to the library.
... | {
"content_hash": "8e75187715b743a6290982d1afcad591",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 170,
"avg_line_length": 41.82044887780549,
"alnum_prop": 0.7289803220035778,
"repo_name": "PX4/Firmware",
"id": "27e453c15cb660e7c9ca98382260f4992dffda28",
"size": "18506"... |
FOUNDATION_EXPORT double JTSImageVersionNumber;
//! Project version string for JTSImage.
FOUNDATION_EXPORT const unsigned char JTSImageVersionString[];
#import <JTSImage/JTSImageViewController.h>
#import <JTSImage/JTSImageInfo.h>
#import <JTSImage/JTSSimpleImageDownloader.h>
#import <JTSImage/JTSAnimatedGIFUtility.h>... | {
"content_hash": "cf53cbb5a623e25fc2d59e52f4cbe658",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 62,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.8260869565217391,
"repo_name": "colemancda/JTSImageViewController",
"id": "df17109eb1f8b125d12be7402375708e30d1be6d... |
HOMOTYPIC_SYNONYM
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a5536fb784488cbb0615354e07aeff16",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 9.384615384615385,
"alnum_prop": 0.6967213114754098,
"repo_name": "mdoering/backbone",
"id": "13ea72df4714070de959ca8c13cd6c0020e26270",
"size": "170... |
/*
* super.c contains code to handle the super-block tables.
*/
#include <stdarg.h>
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/major.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/locks.h>
#include <linux/mm.h>
#inclu... | {
"content_hash": "2749cdd51c64bdb21252426fd4542a42",
"timestamp": "",
"source": "github",
"line_count": 687,
"max_line_length": 85,
"avg_line_length": 21.950509461426492,
"alnum_prop": 0.6223474801061007,
"repo_name": "straceX/Ectoplasm",
"id": "a428a7922355850cf42f3e79b5110e3da6a7ee19",
"size": "1... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
Copyright 2003 - 2015 The eFaps Team
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... | {
"content_hash": "e9d5272d5b1bb00772272b0bc5a7b3cd",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 98,
"avg_line_length": 47.3421052631579,
"alnum_prop": 0.6953863257365203,
"repo_name": "eFaps/eFapsApp-Sales",
"id": "9cadd527ea672fb37cd3cea3e9f5e79432b9fb63",
"size": "1... |
<!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/html; charset=utf-8" />
<title>管理后台</title>
<link rel="stylesheet" href="{skin:css/admin.css}" />
{js... | {
"content_hash": "af9c343e4631b48b40dba7d185022c60",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 121,
"avg_line_length": 27.23913043478261,
"alnum_prop": 0.6384676775738228,
"repo_name": "yangxt/shop",
"id": "0b4408c5e4c842b585f13fb3ce9b3d377aa6e2fb",
"size": "1349",
... |
var cbpAnimatedHeader = (function() {
var docElem = document.documentElement,
header = document.querySelector( '.navbar-default' ),
didScroll = false,
changeHeaderOn = 650;
function init() {
window.addEventListener( 'scroll', function( event ) {
if( !didScroll ) {
didScroll = true;
setTimeout( s... | {
"content_hash": "940beed770e5d92bea246202a27014e3",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 56,
"avg_line_length": 18.977272727272727,
"alnum_prop": 0.615568862275449,
"repo_name": "suzunghia/suzunghia.github.io",
"id": "658b9fd7494a4912d28d17ea28b4e9cc3538db49",
... |
#!/usr/bin/env python3
#
from gpiozero import RGBLED
from gpiozero import Button
from signal import pause
import os.path
import yaml
if ( os.path.isfile('config.yml')):
with open("config.yml", "r") as configfile:
cfg = yaml.load(configfile)
elif ( os.path.isfile('config_orig.yml')):
with open("config.yml", "r... | {
"content_hash": "119b98b36507dc53a7a12ec7acd7d2d7",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 78,
"avg_line_length": 26.804347826086957,
"alnum_prop": 0.64882400648824,
"repo_name": "helotism/show-cgfmgt",
"id": "6487f23d503bc32d8656821c41f5c86201e2ddb1",
"size": "2... |
<?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">
<!--
<parameters>
<parameter key="test_tes... | {
"content_hash": "17a805554240108bc78d1480672c68db",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 120,
"avg_line_length": 34.8,
"alnum_prop": 0.6379310344827587,
"repo_name": "inmzombie/ejemplo-sonata",
"id": "9d2470dac0d5209fd70c8da298f9f9ae5553d375",
"size": "696",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.c... | {
"content_hash": "181e12f9efbe1dfb603869ac4c088d3d",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 307,
"avg_line_length": 50.53651685393258,
"alnum_prop": 0.482519037296426,
"repo_name": "Doanvin/ak-native-culture",
"id": "f74662ec3252e1fbe95abec7b095b004d8c60101",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "5b56a941d5f2c6fc4e0b799f602b02b6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "da4de4e71f956c76739028f2c95c57d0b1563b39",
"size": "174... |
import { Benchmark } from './Benchmark';
export declare class DelegatedBenchmark extends Benchmark {
private _executeCallback;
constructor(name: string, description: string, executeCallback: (callback: (err?: any) => void) => void);
execute(callback: (err?: any) => void): void;
}
| {
"content_hash": "43101a1a79be593069bb653074ac1cb4",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 109,
"avg_line_length": 48.833333333333336,
"alnum_prop": 0.7030716723549488,
"repo_name": "pip-benchmark/pip-benchmark-node",
"id": "190c776a53b0b90a2bcf1067004e77546307bc59"... |
<HTML>
<!--
Copyright (c) Jeremy Siek 2000
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
-->
<Head>
<Title>AdjacencyGraph</Title>
<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a... | {
"content_hash": "f19952d6937e77d8e6ac1d57adcfd05c",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 146,
"avg_line_length": 27.92814371257485,
"alnum_prop": 0.7034734133790738,
"repo_name": "arangodb/arangodb",
"id": "097ac90c532d8242220605495397263bfc27d5af",
"size": "4... |
<?php
namespace PW\UserBundle\EventListener;
use Symfony\Component\DependencyInjection\ContainerAware,
Doctrine\ODM\MongoDB\Event\LifecycleEventArgs,
Doctrine\ODM\MongoDB\Event\PreUpdateEventArgs,
PW\UserBundle\Document\Follow,
PW\UserBundle\Document\User,
PW\BoardBundle\Document\Board;
class Fol... | {
"content_hash": "4c36a7ee683e55d2c579a43021f108e5",
"timestamp": "",
"source": "github",
"line_count": 238,
"max_line_length": 112,
"avg_line_length": 33.214285714285715,
"alnum_prop": 0.47324478178368123,
"repo_name": "SparkRebel/sparkrebel.com",
"id": "c139c4dc66a056b0a149e45bf5dd180fd70e1159",
... |
<?php
namespace Ph2p\Application;
use Ph2p\Application\Commands\HashCommand;
use Ph2p\Application\Commands\NodeCommand;
use Ph2p\Application\Commands\ServerCommand;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
clas... | {
"content_hash": "12db412e3b722b18437a28b0361924ef",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 85,
"avg_line_length": 26.413793103448278,
"alnum_prop": 0.6971279373368147,
"repo_name": "alrik11es/ph2p",
"id": "ef2a84246d3145f6098fddeef0f35eb8dbcf5b36",
"size": "766",... |
<div class="row m-b">
<div class="col-md-12">
<h4>
Simple Tracker
</h4>
<span class="text-muted">
Simple tracker is a simple issue tracking system that can also be used as a blogging or gallery application.
It is aimed at those who, like the author, need an easy system to record, priori... | {
"content_hash": "7bcbbd8a904ebbf1e6c411cb8ea4c249",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 211,
"avg_line_length": 35.627906976744185,
"alnum_prop": 0.6932114882506527,
"repo_name": "justinnjoh/trackeros",
"id": "7823bd7cd0ab16b8b8c2e753e0fb293f11f5512f",
"size":... |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>windows::object_handle_service::cancel</title>
<link rel="stylesheet" href="../../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="..... | {
"content_hash": "702b73832f95db154c6c1ba6e1d1c61b",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 462,
"avg_line_length": 75.18867924528301,
"alnum_prop": 0.6311166875784191,
"repo_name": "FFMG/myoddweb.piger",
"id": "b94473fc4608820f9f08f706c639ca089e1cf4c4",
"size": "... |
var ape = require('../ape.js');
var moduleManager = require('../modules/module_manager/module_manager.js');
var express = moduleManager.requireNodeModule('express');
var app = express();
var utils = require('../modules/utils/utils.js');
var async = moduleManager.requireNodeModule('async');
var logger = require("../mo... | {
"content_hash": "45425c0e3aa87ad0156ba8296b490fdb",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 115,
"avg_line_length": 34.554913294797686,
"alnum_prop": 0.666610906657745,
"repo_name": "MTASZTAKI/ApertusVR",
"id": "de961ccebac1c35134097b912836559ff087c3d5",
"size": ... |
package com.roottony.gradleandroidmaven;
public class HelloMavenLibrary {
private final static String HELLO_MESSAGE = "Hello from local repo library!";
public String sayHello() {
return HELLO_MESSAGE;
}
} | {
"content_hash": "0040734f8b593ee6acdce1695b826859",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 81,
"avg_line_length": 20.727272727272727,
"alnum_prop": 0.7149122807017544,
"repo_name": "roottony/gradle-android-project",
"id": "2bc2181a6bc249dff2b7241b086d7b30ca80f180",... |
<!--
~ Copyright 2016 Cnlyml
~
~ 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 agre... | {
"content_hash": "2039038489f5dbf62330f045d879819b",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 108,
"avg_line_length": 33.9,
"alnum_prop": 0.6707964601769911,
"repo_name": "cnlyml/summer",
"id": "6198fb0e225f7a1d3c07ac2316a9ba485a7138cc",
"size": "1897",
"binary": ... |
<lists-frame list="list">
<form class="form-horizontal" role="form" name="newList" ng-submit="create(newList)">
<div class="row">
<div class="col-md-6">
<div class="form-group" ng-class="{'has-error': newList.label.$invalid}">
<label class="col-sm-3 control-label" for="label">Label</lab... | {
"content_hash": "9cba57b55a40396d701881079943503b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 104,
"avg_line_length": 36.696969696969695,
"alnum_prop": 0.5243600330305532,
"repo_name": "mgax/aleph",
"id": "d898a617bc782c70971d585a2c8e89e8e8453027",
"size": "1212",
... |
'use strict';
var getJumpControl = require('../mixin/get-jump-control');
var async = require('async');
function pathControl(url, data) {
//null
//{
// isLoged: false,
//}
var arr = url.split('/');
arr.forEach(function (item, i) {
arr[i] = item.split('?')[0];
});
var lastElement = arr[arr.lengt... | {
"content_hash": "213122f0c3f275e0b6c597295ed6d512",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 66,
"avg_line_length": 18.205882352941178,
"alnum_prop": 0.6090468497576736,
"repo_name": "sialvsic/time-machine",
"id": "7f60bd4277979a6aa22dbff284343d1804449861",
"size":... |
package org.aws4j.data.dynamo.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.FIELD, ElementType.METHOD} )
public @interface DynamoI... | {
"content_hash": "f529b0c6c6aad6dbfbab80fa71bd69c3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 51,
"avg_line_length": 27.076923076923077,
"alnum_prop": 0.8039772727272727,
"repo_name": "aws4j/dynamo-mapper",
"id": "0c1d3a34d41ab27eff356736115aba112646eed4",
"size": "... |
Spree Auth (Sorcery)
================
Provides authentication and authorization services for use with Spree by using Sorcery and CanCan.
In contrast to Devise, I like the simplicity and flexibility of Sorcery. With Sorcery, unique authentication flow can be easily added to Spree which I totally known what happened.
... | {
"content_hash": "07a5422e6b286c82daddeed614089736",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 199,
"avg_line_length": 26.930232558139537,
"alnum_prop": 0.7547495682210709,
"repo_name": "julewu/spree_auth_sorcery",
"id": "2426091adea0335b63d854f4b2dfa724c903599d",
"s... |
import { App } from '../components/app/app';
export declare const GESTURE_GO_BACK_SWIPE: string;
export declare const GESTURE_MENU_SWIPE: string;
export declare const GESTURE_ITEM_SWIPE: string;
export declare const GESTURE_REFRESHER: string;
export declare const enum GesturePriority {
Minimun = -10000,
VeryLow... | {
"content_hash": "2045bac31204512d31c383e0217c095f",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 115,
"avg_line_length": 30.83783783783784,
"alnum_prop": 0.6980718667835232,
"repo_name": "stevedevelope17/Pizzerie",
"id": "97376ef6f030a2f2b7bb4ecd147e7edb8d1cac4e",
"siz... |
<?php
namespace Elements\Bundle\ElementsCoreBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
... | {
"content_hash": "d2ee80b75f2095d120c28191c197a59c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 24.529411764705884,
"alnum_prop": 0.6858513189448441,
"repo_name": "goElements/elements-old",
"id": "04bcf5a52a4372f555a8787840510a76b19355b6",
"size... |
package org.sakaiproject.wicket.model;
import java.text.SimpleDateFormat;
import java.util.Date;
public class SimpleDateFormatPropertyModel extends DecoratedPropertyModel {
private static final long serialVersionUID = 1L;
private SimpleDateFormat dateFormat;
public SimpleDateFormatPropertyModel(Object modelO... | {
"content_hash": "8fd664e30564de9b6bf0469f73a1a85e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 78,
"avg_line_length": 22.25925925925926,
"alnum_prop": 0.778702163061564,
"repo_name": "payten/nyu-sakai-10.4",
"id": "514fa35b7f476b2256fb71a85c9f9cdd6ac76f1b",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--
The Getting started with FAKE - F# Make
parameters will be replaced with the
document title extracted from the <h1> element or
file name, if there is no <h1> heading
-->
<title>Getting started with FAKE ... | {
"content_hash": "9f9e0b732d368a6c038828272ebaf3c4",
"timestamp": "",
"source": "github",
"line_count": 711,
"max_line_length": 698,
"avg_line_length": 66.0450070323488,
"alnum_prop": 0.617551854849014,
"repo_name": "Elders/Hermes",
"id": "dc1a1733824c403aca41b532fd140880265ef060",
"size": "46958",... |
<!DOCTYPE html>
<html lang="en"><head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="/static/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="a... | {
"content_hash": "1fc6a2cc49c75a788c33819a55a0df22",
"timestamp": "",
"source": "github",
"line_count": 873,
"max_line_length": 319,
"avg_line_length": 59.39289805269187,
"alnum_prop": 0.6929990356798457,
"repo_name": "josmas/app-inventor",
"id": "b1aac701efa52f4e96e6ee3ce0b1d08a0af444c9",
"size": ... |
[](https://app.travis-ci.com/joaomlneto/travis-ci-tutorial-java)
[](https://codecov.io/gh/joaomlneto/travis-ci-tutorial-java)
# travi... | {
"content_hash": "f32f4ca28491d8f65fad303d37a4a976",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 159,
"avg_line_length": 46.55,
"alnum_prop": 0.7556390977443609,
"repo_name": "joaomlneto/travis-ci-tutorial-java",
"id": "7053910b3e2423f68a0f7557da1047e809114443",
"size"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_31) on Wed Dec 17 20:48:16 PST 2014 -->
<title>MetalFileChooserUI.FilterComboBoxModel (Java Platform SE 8 )</title>
<meta name="date" content="... | {
"content_hash": "adb846b0c5f5fb957fc08f55b2d0d8cb",
"timestamp": "",
"source": "github",
"line_count": 463,
"max_line_length": 889,
"avg_line_length": 52.66522678185745,
"alnum_prop": 0.6693323490813649,
"repo_name": "fbiville/annotation-processing-ftw",
"id": "b110198f722a041bd113e79288030ad4bb75a2... |
{-# LANGUAGE FlexibleContexts, FlexibleInstances, GADTs, RecordWildCards, ScopedTypeVariables, StandaloneDeriving, TypeOperators #-}
module UI.Layout where
import Control.Applicative
import Control.Comonad.Cofree.Cofreer
import Control.Comonad.Trans.Cofree
import Control.Monad.Free.Freer as Freer
import Control.Monad.... | {
"content_hash": "e881520d936417c131758d3af75ab426",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 134,
"avg_line_length": 37.962566844919785,
"alnum_prop": 0.6851669249190027,
"repo_name": "robrix/ui-effects",
"id": "5cdab41dd08e3b45e2630326ff7cfd5468248889",
"size": "... |
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#ifndef PingPong_H
#define PingPong_H
#include <thrift/TDispatchProcessor.h>
#include "PingPong_types.h"
class PingPongIf {
public:
virtual ~PingPongIf() {}
virtual void p... | {
"content_hash": "370c6d0857e1b97de7923c66c3d8d678",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 180,
"avg_line_length": 25.683760683760685,
"alnum_prop": 0.6825291181364392,
"repo_name": "ezbake/ezbake-crypto-utils",
"id": "a4c78903add0e61b4732eef0410feeaf3c2ebf82",
... |
namespace TagLib.IFD.Entries
{
/// <summary>
/// Contains a signed LONG value.
/// </summary>
public class SLongIFDEntry : IFDEntry
{
#region Properties
/// <value>
/// The ID of the tag, the current instance belongs to
/// </value>
public ushort Tag { get; private set; }
/// <value>
///... | {
"content_hash": "58dbb3b90af76e83f78d7d46274e1c70",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 92,
"avg_line_length": 24.08,
"alnum_prop": 0.5996677740863787,
"repo_name": "rubenv/tripod",
"id": "90a22ed1a7f89847b5dfd0e641b104037bb8be92",
"size": "2682",
"binary": ... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Can. J. Bot. 65(2): 387 (1987)
#### Original name
Wettsteinina savilei Shoemaker & C.E. Babc.
### Remarks
null | {
"content_hash": "333a931dcf89147909e37dbde39dc126",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 13.384615384615385,
"alnum_prop": 0.6724137931034483,
"repo_name": "mdoering/backbone",
"id": "576aedc6e254cf2ba74cde751e8590420ba50e0b",
"size": "24... |
<!-- Copyright (C) 2020 The Android Open Source Project
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 ... | {
"content_hash": "bd5a6fa0b1ce2321eb510be1d4954203",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 72,
"avg_line_length": 39.05555555555556,
"alnum_prop": 0.7638691322901849,
"repo_name": "AndroidX/androidx",
"id": "2b6880594a6a9bd6fe9823e80aa4355b70221578",
"size": "703... |
import { Color } from '../color';
import { getKnownColor } from '../color/known-colors';
export type Parsed<V> = { start: number; end: number; value: V };
// Values
export type URL = string;
export type Angle = number;
export interface Unit<T> {
value: number;
unit: string;
}
export type Length = Unit<'px' | 'dip'>... | {
"content_hash": "d17c52df8d45110691b414d1553c26f7",
"timestamp": "",
"source": "github",
"line_count": 771,
"max_line_length": 202,
"avg_line_length": 27.718547341115436,
"alnum_prop": 0.6567310841794956,
"repo_name": "NativeScript/NativeScript",
"id": "b3669b7c7ff756a3545828feabd0d672665e9361",
"... |
<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<meta charset="utf-8">
<title>2048 5x5</title>
<link href="style/main.css" rel="stylesheet" type="text/css">
<link rel="shortcut icon" href="favicon.ico">
<link rel="apple-touch-icon" href="meta/apple-touch-icon.png">
<meta name="apple-mobile-web-app-... | {
"content_hash": "84403a7f597d81a2241330dab53f4e9c",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 190,
"avg_line_length": 37.05555555555556,
"alnum_prop": 0.5822088955522239,
"repo_name": "bahmutov/2048",
"id": "8914f945d8165ddb46021433037a48f6ff693a80",
"size": "4002"... |
package org.openkilda.rulemanager.factory.generator.service;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when;
i... | {
"content_hash": "8ce01977e0857db9271b2bda2a7de97c",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 105,
"avg_line_length": 39.94252873563219,
"alnum_prop": 0.7522302158273382,
"repo_name": "telstra/open-kilda",
"id": "076eabf1f6fa040cd82f6113cc879aa2e6b05de2",
"size": "4... |
namespace ArduinoJson {
namespace Internals {
template <typename TSource, typename Enable = void>
struct ValueSetter {
template <typename TDestination>
static bool set(JsonBuffer*, TDestination& destination,
const TSource& source) {
destination = source;
return true;
}
};
template <typ... | {
"content_hash": "31d4aa10c71feb835b1accbbb9f6ff9e",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 80,
"avg_line_length": 27.62962962962963,
"alnum_prop": 0.6648793565683646,
"repo_name": "vkynchev/homepi",
"id": "418c00222f42c150a8d531847427a2cb0bdadbf1",
"size": "1059"... |
import { inject as service } from '@ember/service';
import Route from '@ember/routing/route';
export default class UsersRoute extends Route {
@service session;
queryParams = {
query: {
replace: true,
},
searchTerms: {
replace: true,
},
};
async beforeModel(transition) {
this.... | {
"content_hash": "a9cef6d11a82149107883577f51efe43",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 60,
"avg_line_length": 18.9,
"alnum_prop": 0.6481481481481481,
"repo_name": "ilios/frontend",
"id": "43c6f1d7429b04f3a24daa2e5ca45b43ba5f143b",
"size": "378",
"binary": f... |
package com.zenplanner.sql;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;
import java.util.Arrays;
import java.util.List;
import java.util.UUID;
public class Column {
private static final List<String> smallTypes = Arrays.asList(new String[]{
"uniqueidentifier... | {
"content_hash": "85a8015ee95ef8685f9f21ae59f6de1d",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 114,
"avg_line_length": 32.361702127659576,
"alnum_prop": 0.591715976331361,
"repo_name": "ZenPlanner/dbsync",
"id": "f315f4a22c1feb4afd0c0b6fe4ab39495c805f09",
"size": "30... |
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>CommandLine.CompareColumns Method</title>
<xml>
</xml>
<link rel="stylesheet" type="text/cs... | {
"content_hash": "330d42c6a1ddbe1567d9e356ca816a80",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 781,
"avg_line_length": 48.42857142857143,
"alnum_prop": 0.6067846607669617,
"repo_name": "lslewis901/SqlSchemaTool",
"id": "5f010c08b6f4bdc2b1048dc868eacfc6af15470b",
"siz... |
require 'spec_helper.rb'
describe 'Credential' do
it "can read" do
@holodeck.mock(Twilio::Response.new(500, ''))
expect {
@client.ip_messaging.v2.credentials.list()
}.to raise_exception(Twilio::REST::TwilioError)
expect(
@holodeck.has_request?(Holodeck::Request.new(
method: 'get',... | {
"content_hash": "f98e91eab8303d40d796f5679657faa3",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 108,
"avg_line_length": 29.744075829383885,
"alnum_prop": 0.5882727852135118,
"repo_name": "philnash/twilio-ruby",
"id": "24fbeeac6eb204015aeb7059d879fde4b24bb195",
"size"... |
require 'rexml/document'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
class SecurePayAuGateway < Gateway
API_VERSION = 'xml-4.2'
PERIODIC_API_VERSION = 'spxml-3.0'
class_attribute :test_periodic_url, :live_periodic_url, :test_token_url, :live_token_url
self.test_url = 'https:/... | {
"content_hash": "3a108a552c66304c5d7c5bad8a8eab2a",
"timestamp": "",
"source": "github",
"line_count": 361,
"max_line_length": 112,
"avg_line_length": 31.329639889196677,
"alnum_prop": 0.5762157382847038,
"repo_name": "waysact/active_merchant",
"id": "393779ea2116c9d6891d9ae1c70c5a6f1f7ba540",
"si... |
FROM balenalib/n510-tx2-fedora:33-run
ENV GO_VERSION 1.17.7
# gcc for cgo
RUN dnf install -y \
gcc-c++ \
gcc \
git \
&& dnf clean all
RUN mkdir -p /usr/local/go \
&& curl -SLO "https://storage.googleapis.com/golang/go$GO_VERSION.linux-arm64.tar.gz" \
&& echo "a5aa1ed17d45ee1d58b4a4099b12f8942acbd1dd09b2e9a6... | {
"content_hash": "c280d390c93be052bcf9a8c58c4651c8",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 669,
"avg_line_length": 53.89473684210526,
"alnum_prop": 0.7158203125,
"repo_name": "resin-io-library/base-images",
"id": "9f7a4010489d4d37eef970846aa8fe6ad421e221",
"size"... |
require 'spec_helper'
RSpec.describe Subjects::Remover do
let(:workflow) { create(:workflow_with_subjects) }
let(:subject_set) do
create(:subject_set_with_subjects, workflows: [workflow])
end
let(:subjects) { subject_set.subjects }
let(:subject) { subjects.sample }
let!(:linked_sws) do
create(
... | {
"content_hash": "c94b75b5e578c7caa47a14f573c1b20b",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 94,
"avg_line_length": 31.276422764227643,
"alnum_prop": 0.6178840655055887,
"repo_name": "zooniverse/Panoptes",
"id": "e2ca8c8373e7dfeb6a284b4ce947f3852e1a1ce5",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.