text stringlengths 2 1.04M | meta dict |
|---|---|
pfUI:RegisterSkin("Help", "vanilla:tbc", function ()
local rawborder, border = GetBorderSize()
local bpad = rawborder > 1 and border - GetPerfectPixel() or GetPerfectPixel()
-- not much here for tbc yet
if pfUI.client > 11200 then
local ticket, background = TicketStatusFrame:GetChildren()
CreateBackdro... | {
"content_hash": "b498d14826033775fd8598198f2db24a",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 92,
"avg_line_length": 34.04347826086956,
"alnum_prop": 0.7821200510855684,
"repo_name": "shagu/pfUI",
"id": "54413aa16448579bc4271f931e66f352d1ca160f",
"size": "3915",
... |
require_relative '../../test_helper'
require 'test/unit'
include Mastercard::Common
include Mastercard::Util
include Mastercard::Services::Restaurants
class ReataurantsLocalFavoritesServiceTest < Test::Unit::TestCase
def setup
@service = RestaurantsLocalFavoritesService.new(SANDBOX_CONSUMER_KEY, TestUtils.new.... | {
"content_hash": "ecf3d9c8bcb03ee95fba05fd0bb5d1cd",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 122,
"avg_line_length": 29.869565217391305,
"alnum_prop": 0.7569141193595342,
"repo_name": "M4gn4tor/mastercard-api-ruby",
"id": "5fda07d5dc42212fee8308cd7dad36792559fb5e",
... |
namespace ct_common {
const int QUEX_TKN_TERMINATION = ct_common::parser::token::TKN_END;
const int QUEX_TKN_UNINITIALIZED = 1;
const int QUEX_TKN_UNKNOWN = 2;
const int QUEX_TKN_FAILURE = 3;
}
#endif // CT_COMMON_PARSER_CT_COMMON_LEXER_TOKEN_IDS_H_
| {
"content_hash": "cc97f12aaf68460298128776d271be80",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 67,
"avg_line_length": 31.5,
"alnum_prop": 0.7301587301587301,
"repo_name": "xxyzzzq/ct_common",
"id": "ed0196d34abda763a1659e641664ce70ecfa161d",
"size": "473",
"binary":... |
#include "mudlle.h"
#include "tree.h"
#include <string.h>
#include <stddef.h>
#include "runtime/runtime.h"
#include "alloc.h"
#include "global.h"
#include "utils.h"
#include "mparser.h"
#include "lexer.h"
#include "calloc.h"
#include "module.h"
#include "call.h"
#include "dump.h"
#include "compile.h"
#include "this_m... | {
"content_hash": "eafbb7ad8d8f0b8e70803f2eef5f12ff",
"timestamp": "",
"source": "github",
"line_count": 543,
"max_line_length": 86,
"avg_line_length": 24.465930018416206,
"alnum_prop": 0.6613473842679713,
"repo_name": "fresskarma/tinyos-1.x",
"id": "f0c5d31098264ee6e992a343061f7aab2078557a",
"size"... |
package main
import (
"github.com/gin-gonic/gin"
"github.com/nicolas-nannoni/fingy-gateway/events"
)
func SetupServiceSideGateway() {
r := gin.Default()
r.GET("/", index)
r.POST("/service/:serviceId/sendEvent/device/:deviceId/*path", sendEventToDevice)
r.Run(":8090")
}
func index(c *gin.Context) {
c.Status(... | {
"content_hash": "c872f33367239138791a90a0e850731a",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 82,
"avg_line_length": 17.727272727272727,
"alnum_prop": 0.6837606837606838,
"repo_name": "nicolas-nannoni/fingy-gateway",
"id": "9db74432b1c0ce9d7d5782727e09dd77e63cd8f9",
... |
import os
import tempfile
from .test_cases import ForgeTest
from pydeploy import os_api
from pydeploy.checkout_cache import CheckoutCache
from pydeploy.checkout_cache import _CHECKOUT_CACHE_NAME
class CheckoutCacheTest(ForgeTest):
def setUp(self):
super(CheckoutCacheTest, self).setUp()
self.root = ... | {
"content_hash": "b8668ce868382f58184ec1ac5ba0f663",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 83,
"avg_line_length": 43.12903225806452,
"alnum_prop": 0.6881077038145101,
"repo_name": "vmalloc/pydeploy",
"id": "34786703c41107293fe680d69f8cd63b5bf52631",
"size": "1337... |
/**
* @file STM32/pwm_lld.h
* @brief STM32 PWM subsystem low level driver header.
*
* @addtogroup PWM
* @{
*/
#ifndef _PWM_LLD_H_
#define _PWM_LLD_H_
#if HAL_USE_PWM || defined(__DOXYGEN__)
#include "stm32_tim.h"
/*=======================================================================... | {
"content_hash": "d2f8d18b38bd5321b98417d162ab6c77",
"timestamp": "",
"source": "github",
"line_count": 536,
"max_line_length": 79,
"avg_line_length": 29.794776119402986,
"alnum_prop": 0.5672510958046337,
"repo_name": "raphaelchang/quadthingy-software",
"id": "4bf83b0562d9a69da57599774fa1e86efc6e0d98... |
package com.zengcanxiang.example;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.view.ViewPager;
import andr... | {
"content_hash": "f5700318ffd5bc17a9d9f1cee8e56bbc",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 123,
"avg_line_length": 33.630434782608695,
"alnum_prop": 0.7071751777634131,
"repo_name": "zengcanxiang/BaseAdapter",
"id": "556b0d576388b6485e4310c5e98354861499a9b6",
"si... |
==================
Additional Loading
==================
Common additional loading mechanism are supported in the :py:mod:`requests_mock.contrib` module.
These modules may require dependencies outside of what is provided by `requests_mock` and so must be provided by the including application.
.. toctree::
fixtu... | {
"content_hash": "126177dcbddd9176689e9330b5c8da93",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 139,
"avg_line_length": 27.833333333333332,
"alnum_prop": 0.6916167664670658,
"repo_name": "jamielennox/requests-mock",
"id": "b64d1eb1f0db5ac93e0935d4877d3e486d9e1124",
"s... |
<?php
namespace ZendTest\Ldap;
use Zend\Ldap\ErrorHandlerInterface;
use Zend\Stdlib\ErrorHandler as DefaultErrorHandler;
class ErrorHandler implements ErrorHandlerInterface
{
/**
* Start the ErrorHandling-process
*
* @param int $level
*
* @return void
*/
public function startEr... | {
"content_hash": "a4a2b177b995502675b8a78379b35d11",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 80,
"avg_line_length": 21.36111111111111,
"alnum_prop": 0.6384915474642393,
"repo_name": "MadCat34/zend-ldap",
"id": "b3aec9418266584b56c2663a5e25a936a99d9ca4",
"size": "10... |
package com.kevin.android.weatherwatch.app;
import android.content.Context;
import android.content.SharedPreferences;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.preference.PreferenceManager;
import android.text.format.Time;
import com.kevin.android.weatherwatch.app.sync.Su... | {
"content_hash": "94fdd4374fee5b56bba47c4e7f7f15d4",
"timestamp": "",
"source": "github",
"line_count": 588,
"max_line_length": 121,
"avg_line_length": 42.16836734693877,
"alnum_prop": 0.5899979834644081,
"repo_name": "kehannan/WeatherWatch",
"id": "2e8d8a9991c52c640f794897ff2e20d8db927f43",
"size"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="cy" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Roxcoin</source>
<translation type="unfinished"/>
</message>
... | {
"content_hash": "6e7c880e9127de67bd6f1713d498da28",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 34.077819677751116,
"alnum_prop": 0.5930989386851768,
"repo_name": "Roxcoin/roxcointor",
"id": "fc44dd6d4f033d12d76791f65ef0f2035644e95b",
"size":... |
"""
Microservice for writing JSON data to MongoDB.
For DataRobot
:license: BSD, see LICENSE for more details.
"""
from flask import Flask, request
from mongokit import Connection, Document
from werkzeug import exceptions as wExceptions
from datetime import datetime
import sys
import hashlib
import json
... | {
"content_hash": "3e571a3bb4668d68673bf88e485fafb0",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 89,
"avg_line_length": 25.009090909090908,
"alnum_prop": 0.5863322428207924,
"repo_name": "rliskovenko/DataRobot",
"id": "db56057ff36004552448d4f9f37c07d586014c2a",
"size"... |
/**
* \file joint_sensor_iid_test.cpp
* \date August 2015
* \author Jan Issac (jan.issac@gmail.com)
*/
#include <gtest/gtest.h>
#include "../../typecast.hpp"
#include <Eigen/Dense>
#include <cmath>
#include <iostream>
#include <fl/util/types.hpp>
#include <fl/model/sensor/linear_gaussian_sensor.hpp>
#include ... | {
"content_hash": "fc4b093af6d655907f3e7ba691fa9f9f",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 74,
"avg_line_length": 29.963917525773194,
"alnum_prop": 0.6234302425597799,
"repo_name": "filtering-library/fl",
"id": "238b20e7cf1b561ca6f2b059039603bd5f97e56b",
"size":... |
<!DOCTYPE html>
<!--[if IEMobile 7]><html class="iem7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if lt IE 7]><html class="lt-ie9 lt-ie8 lt-ie7 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if (IE 7)&(!IEMobile)]><html class="lt-ie9 lt-ie8 no-js" lang="en" dir="ltr"><![endif]-->
<!--[if IE 8]><html class="lt-ie9 no... | {
"content_hash": "46d3a3b79b90b6afd994a9801dd240c0",
"timestamp": "",
"source": "github",
"line_count": 474,
"max_line_length": 836,
"avg_line_length": 56.48945147679325,
"alnum_prop": 0.62978040035853,
"repo_name": "1wheel/scraping",
"id": "ff094edafdbf12029407e6a1176bee5f90f1a52b",
"size": "26776... |
package controllers
import javax.inject.Inject
import models._
import play.api.i18n.{I18nSupport, MessagesApi}
import play.api.libs.concurrent.Execution.Implicits.defaultContext
import play.api.libs.json.Json
import play.api.mvc._
import services._
/** Renders a view with all the links a user has verified.
*
* TO... | {
"content_hash": "15b5e4d295ef79cde11aba21f0fd772e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 66,
"avg_line_length": 26.964285714285715,
"alnum_prop": 0.6503311258278146,
"repo_name": "BonarBeavis/veritask",
"id": "49ff18b0217950756df72de4e58abc7f80406b97",
"size": ... |
> {%= description %}
## Install
{%= include("install-npm", {save: true}) %}
## Run tests
```bash
npm test
```
## Usage
```js
var assemblePush = require('{%= name %}');
```
## API
{%= comments("index.js") %}
## Contributing
Pull requests and stars are always welcome. For bugs and feature requests, [please create ... | {
"content_hash": "4a6eafc00584750d644972956d9ea308",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 116,
"avg_line_length": 13.969696969696969,
"alnum_prop": 0.579175704989154,
"repo_name": "doowb/assemble-push",
"id": "eda2c616d0331f41009ee5d3e24c094f37819823",
"size": "... |
//
// SocializeTestCase.m
// SocializeSDK
//
// Created by Isaac Mosquera on 9/20/11.
// Copyright 2011 Socialize, Inc. All rights reserved.
//
#import "SZIntegrationTestCase.h"
#import <Socialize/Socialize.h>
#import <UIKit/UIKit.h>
#import <OCMock/ClassMockRegistry.h>
#import "StringHelper.h"
#import <BlocksKit/... | {
"content_hash": "79ed975feefd5de7e4d4b61dfe0edc42",
"timestamp": "",
"source": "github",
"line_count": 607,
"max_line_length": 172,
"avg_line_length": 35.47940691927512,
"alnum_prop": 0.7189821693907875,
"repo_name": "dontfallisleep/socialize-sdk-ios",
"id": "b50128f45c4a87c1f9731c7c876abe5d411827ee... |
require "ardb/cli/clirb"
require "ardb/cli/commands"
require "ardb/version"
module Ardb
class CLI
COMMANDS =
CommandSet.new{ |unknown|
InvalidCommand.new(unknown)
}.tap do |c|
c.add(ConnectCommand)
c.add(CreateCommand)
c.add(DropCommand)
c.add(GenerateMigration... | {
"content_hash": "387e2ca26371ab01e3b80eef3f6d150d",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 68,
"avg_line_length": 25.238805970149254,
"alnum_prop": 0.5960969840331165,
"repo_name": "redding/ardb",
"id": "f53709bb756fde40254c07c51450b4cba60aba1d",
"size": "1722",
... |
/* Define All Require Modules */
var express = require('express');
var router = express.Router();
var passport = require('passport');
var LocalStrategy = require('passport-local').Strategy;
var User = require('../models/user');
var bcrypt = require('bcryptjs');
/* GET users register. */
router.get('/register', functio... | {
"content_hash": "959ec7636437a5f30b18b5ca2b3e1dff",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 138,
"avg_line_length": 31.176136363636363,
"alnum_prop": 0.5381811554583561,
"repo_name": "1986webdeveloper/Code-Examples",
"id": "eef7e9f3f9ce76ffb64c09be95ad080c466fa6f3"... |
=pod
=head1 NAME
Bio::EnsEMBL::Hive::PipelineWideParameters
=head1 DESCRIPTION
A class-container for cached pipeline-wide parameters
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformati... | {
"content_hash": "655e6d2880aa90e5c60ee70e12835615",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 172,
"avg_line_length": 28.434782608695652,
"alnum_prop": 0.7507645259938838,
"repo_name": "Ensembl/ensembl-hive",
"id": "55be821ed65214b35864a3a9bc665319937de604",
"size":... |
package com.linecorp.armeria.internal.metric;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.collect.ImmutableList.toImmutableList;
import static java.util.Objects.requireNonNull;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.uti... | {
"content_hash": "bf96861998f3ce4d255601ca6e488ae7",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 111,
"avg_line_length": 42.51685393258427,
"alnum_prop": 0.6404598308668076,
"repo_name": "jonefeewang/armeria",
"id": "cb9ecb656b674eede879fd5d5ac2b8253eed930d",
"size": ... |
/**
* @constructor
* @extends {WebInspector.ThrottledWidget}
* @param {!WebInspector.StylesSidebarPane} stylesSidebarPane
* @param {!WebInspector.SharedSidebarModel} sharedModel
* @param {function(!WebInspector.CSSProperty)} revealCallback
*/
WebInspector.ComputedStyleWidget = function(stylesSidebarPane, shared... | {
"content_hash": "59c9c06cd77ac48f394c51d433192558",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 161,
"avg_line_length": 42.03809523809524,
"alnum_prop": 0.6576045914514423,
"repo_name": "highweb-project/highweb-webcl-html5spec",
"id": "9fde204aa5dc724b0e13adce4ee1475b8... |
//@target: es6
// Generic tag with one parameter
function noParams<T>(n: T) { }
noParams ``;
// Generic tag with parameter which does not use type parameter
function noGenericParams<T>(n: string[]) { }
noGenericParams ``;
// Generic tag with multiple type parameters and only one used in parameter type annotation
fu... | {
"content_hash": "03377a7390994278be43a6d1c0accbfb",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 139,
"avg_line_length": 41.19565217391305,
"alnum_prop": 0.6321899736147757,
"repo_name": "freedot/tstolua",
"id": "39b8ab4199ccd25d52f10df136fd983258e5e673",
"size": "3792... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sat Nov 03 22:37:20 MDT 2012 -->
<TITLE>
Uses of Package ca.ualberta.cs.c301f12t01.dummy
</TITLE>
<META NAME="date" CONTENT="2012-11-03">
<L... | {
"content_hash": "b7154e688f5e9970aa583dc7e77669cd",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 159,
"avg_line_length": 39.111111111111114,
"alnum_prop": 0.6120383522727273,
"repo_name": "CMPUT301F12T01/classproject",
"id": "174e3ea989d1b1e1194f9810ab40771817c2b13f",
... |
package com.amazonaws.services.identitymanagement.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateServiceSpecificCredential"
* target="_top">AWS API Documentation</a>
*/
@Generated("com.amazonaws:aws-ja... | {
"content_hash": "70c0d1695ed435047dcb46012edecfec",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 152,
"avg_line_length": 30.370967741935484,
"alnum_prop": 0.6585236325013276,
"repo_name": "jentfoo/aws-sdk-java",
"id": "e8b60aecc10f273bb5261d03d295a5bc4a8e08aa",
"size":... |
namespace {
void RunWebAudioMediaCodec(
base::SharedMemoryHandle encoded_data_handle,
base::FileDescriptor pcm_output) {
content::ChildThread::current()->Send(
new ViewHostMsg_RunWebAudioMediaCodec(encoded_data_handle,
pcm_output));
}
} // anonymous namespace... | {
"content_hash": "026527b76231c1170edbdb050f0fcb59",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 73,
"avg_line_length": 30.2,
"alnum_prop": 0.7665562913907285,
"repo_name": "plxaye/chromium",
"id": "1328bd5d1042f36f48ed6cb7cb0e78b684020829",
"size": "2384",
"binary":... |
<div class="row">
<div class="col-md-4">
<strong>Panel Template:</strong>
<select class="form-control" ng-required="true" ng-model="model.current_panel_template" ng-change="panelTemplateChanged()" ng-options="p.panel_name for p in model.panel_templates">
</select>
<br/>
<div class... | {
"content_hash": "7358afbae97caed0159649d9ae6250fb",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 186,
"avg_line_length": 39.35294117647059,
"alnum_prop": 0.5209267563527653,
"repo_name": "whitews/ReFlow",
"id": "de7b563feafc609973612a7a0a6327f750fdda77",
"size": "4014... |
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.1.1.slim... | {
"content_hash": "86b3de502a7ec7ad04fd215322a38aaf",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 223,
"avg_line_length": 39.51470588235294,
"alnum_prop": 0.6360253070338667,
"repo_name": "lnewkold/greenhome",
"id": "6e561fde6f33bbcea626cbf364c6ebdeea67bec5",
"size": "2... |
import { Injectable } from '@angular/core';
import { Headers, Http } from '@angular/http';
import 'rxjs/add/operator/catch';
import LoginService from './login.service';
@Injectable()
export default class ImagesService {
imagesUrl = '/api/images/';
constructor(http: Http, loginService: LoginService) {
this.ht... | {
"content_hash": "dd56fcb84b2b3693565c3b33a6177490",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 83,
"avg_line_length": 30.10909090909091,
"alnum_prop": 0.6080917874396136,
"repo_name": "sometea/ilmapallo",
"id": "ba9ee39d4940f7b3cd5083179555fbbd4a276af2",
"size": "168... |
#ifndef DETAIL_DETECT_OS_H
#define DETAIL_DETECT_OS_H
//for reference see: https://sourceforge.net/p/predef/wiki/OperatingSystems/
#if (defined(__linux) || defined(__linux__) || defined(__gnu_linux__))
#define COMPASS_CT_OS_LINUX
#endif
#if (defined(__APPLE__) || defined(__MACH__))
#define COMPASS_CT_OS_MACOS
#endi... | {
"content_hash": "ebd2d869103a9fa4a22a18caa710821d",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 135,
"avg_line_length": 22.642857142857142,
"alnum_prop": 0.6411671924290221,
"repo_name": "psteinb/compass",
"id": "f0d3bfce39b1a57486f8b03d8c8e396918518d7a",
"size": "126... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2021 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/l... | {
"content_hash": "4d56ee252efdf79ebf9294e27bd8b0da",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 88,
"avg_line_length": 45.838095238095235,
"alnum_prop": 0.6765011427384168,
"repo_name": "google-developer-training/android-basics-kotlin-lunch-tray-app",
"id": "1418d64d30... |
import mysql.connector
import numpy as np
from tqdm import tqdm
from time import time
NUMBER_OF_GENERATED_SAMPLES = 1000000
def create_listeners_table(db_cursor):
sql = """
CREATE TABLE `Listeners` (
`ListenerId` int(11) NOT NULL AUTO_INCREMENT,
`FirstName` varchar(255) NOT NULL,
`Last... | {
"content_hash": "8270e949d22259445ca26bc37d57c78c",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 107,
"avg_line_length": 30.49438202247191,
"alnum_prop": 0.568349299926308,
"repo_name": "ALEXKIRNAS/KPI-Semester-5",
"id": "8af7594e15d018c1c9226781a36841709dcd9f87",
"si... |
class Base
{
public:
virtual int execute() = 0;
virtual void clean() = 0;
virtual ~Base() {};
};
#endif
| {
"content_hash": "e36291eb69d453daf3829cf05cb19994",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 34,
"avg_line_length": 14.777777777777779,
"alnum_prop": 0.49624060150375937,
"repo_name": "pgior001/rshell",
"id": "26b3b1e3f5f0297fc483839b6cf30d3f1fea1bb5",
"size": "259"... |
import pdb
import re
from collections import deque, defaultdict
from itertools import product
from .components import Pred
from .util import powerset
from delphin._exceptions import XmrsError
TOP = 'TOP'
class XmrsPathError(XmrsError): pass
class XmrsPath(object):
__slots__ = ('start', '_depth', '_distance', '_... | {
"content_hash": "b20abdf72bfdc3042cc8e9ff40deed7d",
"timestamp": "",
"source": "github",
"line_count": 421,
"max_line_length": 77,
"avg_line_length": 32.88598574821853,
"alnum_prop": 0.5482845792704948,
"repo_name": "dantiston/pydelphin",
"id": "6e74a46ae81f596b5f0976cb8e866b4191095df9",
"size": "... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
RHI.cpp: Render Hardware Interface implementation.
=============================================================================*/
#include "RHI.h"
#include "ModuleManager.h"
... | {
"content_hash": "4ab90cd492d96de3cac5f18036fe8f63",
"timestamp": "",
"source": "github",
"line_count": 405,
"max_line_length": 146,
"avg_line_length": 33.43950617283951,
"alnum_prop": 0.7541903566418076,
"repo_name": "PopCap/GameIdea",
"id": "98870765f20e7538d3c40f65f50641cf5e41a911",
"size": "135... |
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { FichesComponent } from './fiches.component';
import { FicheListComponent } from './fiche-list/fiche-list.component';
import { FicheDetailComponent } from './fiche-detail/fiche-detail.component';
import { FicheHom... | {
"content_hash": "ce6f79b14ce746f49b21c6a0da26ab00",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 77,
"avg_line_length": 25.020408163265305,
"alnum_prop": 0.6239804241435563,
"repo_name": "andres0sorio/CodeExperiments",
"id": "618e0a72ea2fe6667719a26c8f7cfa431b336d6e",
... |
package org.apache.flink.table.planner.runtime.utils
import org.apache.flink.api.common.JobExecutionResult
import org.apache.flink.api.common.typeinfo.TypeInformation
import org.apache.flink.api.java.tuple.Tuple
import org.apache.flink.streaming.api.datastream.DataStream
import org.apache.flink.streaming.api.environ... | {
"content_hash": "2e9658f002c7ad091cdf0471bef5b490",
"timestamp": "",
"source": "github",
"line_count": 497,
"max_line_length": 101,
"avg_line_length": 34.70623742454728,
"alnum_prop": 0.6391674879703171,
"repo_name": "GJL/flink",
"id": "403a24002a381463f7b3038d2722b13767a068d4",
"size": "18054",
... |
<!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": "1405f175580ae80d56fb8674f04b64db",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 318,
"avg_line_length": 50.21818181818182,
"alnum_prop": 0.6596669080376538,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "e863b82224f3b294f85e95ca410a0147619865c3",
"siz... |
<div class="overlay hide" data-pages="search">
<!-- BEGIN Overlay Content !-->
<div class="overlay-content has-results m-t-20">
<!-- BEGIN Overlay Header !-->
<div class="container-fluid">
<!-- BEGIN Overlay Logo !-->
<img class="overlay-brand" src="assets/img/logo.png" a... | {
"content_hash": "e4d38398c2b40f47734b860b4379aa35",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 187,
"avg_line_length": 49.18518518518518,
"alnum_prop": 0.4599397590361446,
"repo_name": "farhanbashir/payment",
"id": "c1a444dd47879c79fbdbe49655f7fb6142212145",
"size":... |
"use strict";
(function() {
var BaseController = require("BaseController");
new BaseController({
siteName: "Naver Music",
playPause: ".player_controller .play",
playNext: ".player_controller .next",
playPrev: ".player_controller .prev",
mute: ".player_controller .volume",
playState: ".play... | {
"content_hash": "439343c08d3fed08886e33122fe3f731",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 52,
"avg_line_length": 27.647058823529413,
"alnum_prop": 0.6425531914893617,
"repo_name": "nemchik/streamkeys",
"id": "b8bab18605e3996a5d9ef1730b09dfe34b75dc19",
"size": "4... |
package org.fusesource.fabric.api;
import org.codehaus.jackson.annotate.JsonProperty;
import org.fusesource.fabric.api.jcip.Immutable;
import org.fusesource.fabric.api.jcip.ThreadSafe;
import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
@Immutable... | {
"content_hash": "bbf4445ada373335e73c2cc752d4ef7a",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 493,
"avg_line_length": 34.729050279329606,
"alnum_prop": 0.645700957130218,
"repo_name": "gnodet/fuse",
"id": "fab012e049baf327afd40bd6c50742ab99c0fed9",
"size": "13056",... |
<?php
namespace selvinortiz\doxter\common\parsers;
use function selvinortiz\doxter\doxter;
/**
* The base parser that all other parsers must extend
*
* Class DoxterBaseParser
*
* @package Craft
*/
abstract class BaseParser
{
/**
* @var object The parser instance which should be defined in each extendin... | {
"content_hash": "13db137e19f0f8596c1502e24e15c6b3",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 86,
"avg_line_length": 22.254545454545454,
"alnum_prop": 0.6127450980392157,
"repo_name": "selvinortiz/doxter",
"id": "a6b4645715fb02448cc46e045819fff3064cdb55",
"size": "1... |
export GREP_OPTIONS='--color=auto'
# Prevent less from clearing the screen while still showing colors.
export LESS=-XR
# Set the terminal's title bar.
function titlebar() {
echo -n $'\e]0;'"$*"$'\a'
}
# SSH auto-completion based on entries in known_hosts.
# if [[ -e ~/.ssh/known_hosts ]]; then
# complete -o defa... | {
"content_hash": "a78f7212f15f15bdaede61e65c7198e1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 118,
"avg_line_length": 28,
"alnum_prop": 0.6407563025210085,
"repo_name": "coopermaruyama/dotfiles-cowboy",
"id": "badb0ecc3bf9e833af7b07a45210fe9f4aadb080",
"size": "685"... |
import os
import sys
sys.path.insert(0, os.path.abspath('../..'))
# -- General configuration ----------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx... | {
"content_hash": "538e5cedfce9bb1013f8a963b83f0250",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 79,
"avg_line_length": 31.135135135135137,
"alnum_prop": 0.6614583333333334,
"repo_name": "savinash47/openstack-doc-tools",
"id": "fe666ad0ca2d880cc943ccc097adfa18f25f2c9f",
... |
require("fs").readdirSync("./vendor").forEach(function(name){
require.paths.unshift("./vendor/" + name + "/lib");
});
require.paths.unshift("./lib");
module.exports = require("./lib/juggernaut");
| {
"content_hash": "d2c5be87968df2f501b6df7934887147",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 28.857142857142858,
"alnum_prop": 0.6534653465346535,
"repo_name": "brianloveswords/juggernaut",
"id": "08bdffa433208f0b13f207f90012b00b81e22974",
"si... |
declare module "it-map" {
function map<I, O>(input: AsyncIterable<I>, f: (input: I) => O): AsyncIterable<O>
export default map
} | {
"content_hash": "8559e50843c753c7e681b8a9540cfeea",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 83,
"avg_line_length": 33,
"alnum_prop": 0.6666666666666666,
"repo_name": "ipfs/webui",
"id": "3cb73a2dc84f58eeb6e463000ac90fe82dc970cd",
"size": "132",
"binary": false,
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "535f72658ef3646ef0721c226232d1ed",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "29961e94ccda45ebe6bccc7d9f11782c7e42679e",
"size": "18... |
<?php
session_start();
?>
<html>
<head>
<!-- I USE BOOTSTRAP BECAUSE IT MAKES FORMATTING/LIFE EASIER -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"><!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com... | {
"content_hash": "b517db68840ea9c79fdf3ae8da326417",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 194,
"avg_line_length": 31.582417582417584,
"alnum_prop": 0.5633263743910926,
"repo_name": "MaddenMark1495/PickChamp",
"id": "00c4f936862de044bbf7f007d175225b9ece5de2",
"si... |
const firebase = require('firebase')
if (process.env.dev) {
require('dotenv').config()
}
const { apiKey, databaseURL } = process.env
firebase.initializeApp({ apiKey, databaseURL })
const database = firebase.database()
const authenticate = token => {
const credential = firebase.auth.GithubAuthProvider.credentia... | {
"content_hash": "5e19fcefa1408dc583b5ad381046be3f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 71,
"avg_line_length": 21.022222222222222,
"alnum_prop": 0.6448202959830867,
"repo_name": "siddharthkp/perfbench",
"id": "c69b9e89f17e8a1dbda13c9b44c3a97c1c24fc1f",
"size":... |
// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:generate go run maketables.go -output tables.go
// Package display provides display names for languages, scripts and regions in
// a requested lang... | {
"content_hash": "c5a50d9b5dc98c848fe3bdf5e4923295",
"timestamp": "",
"source": "github",
"line_count": 343,
"max_line_length": 83,
"avg_line_length": 31.75801749271137,
"alnum_prop": 0.692004039291288,
"repo_name": "glutwins/pholcus",
"id": "ec62972276cc3aacfb6f8a6202e8af023faae582",
"size": "1089... |
package io.reactivex.internal.operators.observable;
import static org.junit.Assert.*;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.*;
import io.reactivex.*;... | {
"content_hash": "9c67f68bffd6d6ace956839f505add5e",
"timestamp": "",
"source": "github",
"line_count": 1077,
"max_line_length": 121,
"avg_line_length": 34,
"alnum_prop": 0.5290840570211371,
"repo_name": "NiteshKant/RxJava",
"id": "960722060abbe7f9329fcb06409665b141666477",
"size": "37222",
"bina... |
var JimpEdit = require('./jimp_edit');
var NeuralStyle = require('./neural');
var OPENCV = require('./opencv')
//Factory Object
function EditFactory (username)
{
this.username = username;
}
//Method responsible for creating the requested edit
EditFactory.prototype.createEdit = function(type,data)
{
let edit = {};//... | {
"content_hash": "3cdf15062220e6409e9b9bf8e2c6e9db",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 54,
"avg_line_length": 16.341463414634145,
"alnum_prop": 0.6582089552238806,
"repo_name": "mrlennix/CloudProcessing",
"id": "b9a34b4c580e289167f5d2c6023eb946af03f529",
"siz... |
// Copyright 2016 The Periph Authors. All rights reserved.
// Use of this source code is governed under the Apache License, Version 2.0
// that can be found in the LICENSE file.
// Package image1bit implements black and white (1 bit per pixel) 2D graphics.
//
// It is compatible with package image/draw.
//
// Vertical... | {
"content_hash": "fa40815e59eb303584bf891dc4455111",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 78,
"avg_line_length": 25.454054054054055,
"alnum_prop": 0.6750902527075813,
"repo_name": "maruel/dotstar",
"id": "bb9c8136883ca49ab8976481ee66b0683f9554ba",
"size": "4709... |
require('proof')(1, require('cadence')(prove))
function prove (async, okay) {
var bin = require('../environment.bin.js')
async(function () {
var program = bin({ bind: 8888, exclude: 'PATH' }, async())
async(function () {
program.ready.wait(async())
}, function () {
... | {
"content_hash": "d2f1cd4cd41ba2d0acec80cce50c81d1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 67,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.5132530120481927,
"repo_name": "bigeasy/nascent",
"id": "1d24cb50f4328f4bb2711e1cadb6bceb1f97025d",
"size": "415"... |
<?php
namespace PhpProbe\Check;
use PhpProbe\Adapter\Response\AbstractAdapterResponse;
use \PhpProbe\Adapter\Response\HttpAdapterResponse;
/**
* Class HttpCheck
*
* @author Julien CHICHIGNOUD <julien.chichignoud@gmail.com>
* @package PhpProbe\Check
*/
class HttpCheck extends AbstractCheck
{
/**
* Chec... | {
"content_hash": "ab55671e71062b1edb275f43f1989b9d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 87,
"avg_line_length": 26.434782608695652,
"alnum_prop": 0.6233552631578947,
"repo_name": "michael-bouvy/php-probe",
"id": "219e1390c31b650635655c4ba7ee6a84bb254db3",
"size... |
namespace cc {
LatencyInfoSwapPromise::LatencyInfoSwapPromise(const ui::LatencyInfo& latency)
: latency_(latency) {}
LatencyInfoSwapPromise::~LatencyInfoSwapPromise() = default;
void LatencyInfoSwapPromise::WillSwap(viz::CompositorFrameMetadata* metadata) {
DCHECK(!latency_.terminated());
metadata->latency_i... | {
"content_hash": "1bd5cf3ee38076bbc4e27b360dea6084",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 80,
"avg_line_length": 34.4,
"alnum_prop": 0.6776485788113695,
"repo_name": "ric2b/Vivaldi-browser",
"id": "a6110c4f87388c3056cd0d99beb0937eb814d0fb",
"size": "1975",
"bi... |
package org.math.plot.render;
/**
* BSD License
*
* @author Yann RICHET
*/
public class Projection3D extends Projection {
protected double theta;
protected double phi;
// protected boolean useRoundTrigonometry = false;
public Projection3D(AWTDrawer _draw) {
super(_draw);
theta ... | {
"content_hash": "10a02482963e08b2b97860c0bfd03f4f",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 185,
"avg_line_length": 37.30379746835443,
"alnum_prop": 0.5344418052256532,
"repo_name": "NCIP/visda",
"id": "559c010c561068c2030a5f4a61edea78f79b1508",
"size": "2947",
... |
module Analytical
module Modules
class Google
include Analytical::Modules::Base
def initialize(options={})
super
@tracking_command_location = :head_append
end
def init_javascript(location)
init_location(location) do
js = <<-HTML
<!-- Analytical... | {
"content_hash": "5026467a430088d1604805fa1de826a1",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 193,
"avg_line_length": 45.678260869565214,
"alnum_prop": 0.5711022272986864,
"repo_name": "pedrocarrico/analytical",
"id": "675486d39d5db9adbf271842cb8e4fcf9d60dc6b",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<include layout="@layout/title"/>
<android.support.v4.view.ViewPager
andr... | {
"content_hash": "5f93ea8e125d8f735a1509ce063be425",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 71,
"avg_line_length": 35.05882352941177,
"alnum_prop": 0.5683724832214765,
"repo_name": "diaojianbotw/MyAppWeinxin",
"id": "48106d8f7dcbbc3f6270ca96ce05019bed72a96a",
"siz... |
require 'sass/rails'
require 'spree_core'
require 'spree_contact_us/engine'
module SpreeContactUs
# Address ContactUs email notifications are sent from.
mattr_accessor :mailer_from
# Address to send ContactUs email notifications to.
mattr_accessor :mailer_to
# Enable or Disable name field.
mattr_access... | {
"content_hash": "85184d2b858c1c5a1ecffd5d05dbc7b6",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 73,
"avg_line_length": 22.384615384615383,
"alnum_prop": 0.7542955326460481,
"repo_name": "2beDigital/spree_contact_us",
"id": "75ff5d32547579236bb7edf684c258d36759795c",
"... |
require 'test_helper'
class BidMailerTest < ActionMailer::TestCase
include Rails.application.routes.url_helpers
setup do
@listing = listings(:macbook)
@bid = listings(:macbook).bids.build(:amount => 200)
@bid.user = users(:amy)
@bid.save!
new_bid = listings(:macbook).bids.build(:amount => ... | {
"content_hash": "04c2ec707f14df4dd1a57b9edbdbfa0f",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 83,
"avg_line_length": 33.09090909090909,
"alnum_prop": 0.7124542124542125,
"repo_name": "collectiveidea/eharbor",
"id": "d9d1eefea50d4630865a0f13f045ffb45475ea96",
"size":... |
CREATE TABLE BATCH_JOB_INSTANCE
(
JOB_INSTANCE_ID BIGINT NOT NULL,
VERSION BIGINT,
JOB_NAME VARCHAR(100) NOT NULL,
JOB_KEY VARCHAR(32) NOT NULL
);
ALTER TABLE BATCH_JOB_INSTA... | {
"content_hash": "bbedf05e54503d4a410b2f96243abb1a",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 157,
"avg_line_length": 46.82795698924731,
"alnum_prop": 0.5329506314580942,
"repo_name": "knishant/ssql",
"id": "2141760f645e9c07f4df4991fae62ddef54fe8dc",
"size": "4355",... |
/* Authors: Benjamin Scholz, Thies Oelerich */
#pragma once
#include <moveit/macros/class_forward.h>
#include <string>
namespace trajectory_processing
{
MOVEIT_CLASS_FORWARD(RobotTrajectory);
} // namespace trajectory_processing
namespace trajectory_processing
{
bool limitMaxCartesianLinkSpeed(robot_trajectory::R... | {
"content_hash": "9245fbbff7a00e869f4ebbdcabffd037",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 98,
"avg_line_length": 32.45,
"alnum_prop": 0.7164869029275809,
"repo_name": "ros-planning/moveit",
"id": "ac3ba03eeb3223c2c6e37b1f02b84feede632a48",
"size": "2481",
"bin... |
using System.Collections.Generic;
using System.Net.Http;
namespace Kyrodan.HiDrive.Requests
{
public interface IBaseRequest
{
string ContentType { get; set; }
//IList<HeaderOption> Headers { get; }
IBaseClient Client { get; }
string Method { get; }
string RequestUrl ... | {
"content_hash": "ed99ae1030a391fabc9524cef2f90ea4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 65,
"avg_line_length": 20.727272727272727,
"alnum_prop": 0.6403508771929824,
"repo_name": "Kyrodan/hidrive-dotnet-sdk",
"id": "194c806bd7983d102c63993c981d93543f978280",
"s... |
package com.me.ui.widget.custom.dice;
/**
* Description
* Author: Kevin.Tang
* Date: 17/9/19 上午11:35
*/
public interface IDiceOperation {
void start();
void start(int value);
void stop();
void delayDismiss();
void reset();
void setDuration(long duration);
int getValue();
... | {
"content_hash": "b89adae6953aa6177d7afe1a7f8bec08",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 75,
"avg_line_length": 15.76,
"alnum_prop": 0.6649746192893401,
"repo_name": "meclub/MeUI",
"id": "d9501f5fce36c819d77dd265c482d94373e85b8c",
"size": "398",
"binary": fal... |
class FileEmptyOrUnsupportedType(Exception):
def __init__(self, url):
self.str = "File empty or unsupported type: %s" % (url)
def __str__(self):
return self.str
| {
"content_hash": "167e0a0348bbd672f7bd54c8ad37967b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 63,
"avg_line_length": 31,
"alnum_prop": 0.6129032258064516,
"repo_name": "TobyRoseman/PS4M",
"id": "abe633c5f7bfdeb20339fb50aef839ab4ff50102",
"size": "186",
"binary": fa... |
module Jigashira
module ApplicationHelper
end
end
| {
"content_hash": "1c939497ae674266b0208b147f0a8df0",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 26,
"avg_line_length": 13.5,
"alnum_prop": 0.8148148148148148,
"repo_name": "y-yagi/jigashira",
"id": "18dce86b88c158b540aa069c751613cdbccea136",
"size": "54",
"binary": f... |
module ApplicationHelper
def simpleoutput
return 'simpleexample'
end
end
| {
"content_hash": "d57d8e856d00e2cdb3d9384888940bf6",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 26,
"avg_line_length": 13.666666666666666,
"alnum_prop": 0.7682926829268293,
"repo_name": "raygao/SFRWatcher",
"id": "688d3cd49aa86d7c4f0f36d798fece57aacac48b",
"size": "168... |
package sources
import types.DataItem
import org.openqa.selenium.{WebElement, WebDriver, By}
import io.LocalStorage
import org.openqa.selenium.support.ui.Select
import java.util.logging.Level
import java.util
import scala.collection.JavaConverters._
import org.openqa.selenium.chrome.{ChromeOptions, ChromeDriver}
ab... | {
"content_hash": "bb516e110cea3a42457f9bf5d4bf1b6f",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 134,
"avg_line_length": 41.470588235294116,
"alnum_prop": 0.6945035460992908,
"repo_name": "kappinen/web2local",
"id": "40c0351d90d87478fbef5ff22411b8beb05749a8",
"size": ... |
{% extends "src/html/themes/angular/app/_layout-instructor.html" %}
{% block content %}
<div class="page-section">
<h1 class="text-display-1">Create New Course</h1>
</div>
{% include "src/html/themes/html/course/_edit-tabs.html" { tab: "lessons" } %}
{% endblock %} | {
"content_hash": "50837a739b90973e6083d697b9e09e6e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 82,
"avg_line_length": 26.272727272727273,
"alnum_prop": 0.6228373702422145,
"repo_name": "pdev-mooc/mooc",
"id": "56a0eb377ea2c3cceba24264d1351e3fcefac850",
"size": "289",... |
layout: slide
title: Scope
id: react-scope
---
<section markdown="1">
* React ist reiner *Presentation Layer* (von _MVI_)
* React ist eine *JS Library* (_kein_ Framework)
* React ist eine Gegenposition zu Angular 1
* Haupteinsatzgebiet: Single Page Applications (SPA)
</section>
<section markdown="1">
* One-way Datenfl... | {
"content_hash": "cb800d8124a0e86b3c1b46f0549a8290",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 53,
"avg_line_length": 24.653846153846153,
"alnum_prop": 0.7379095163806553,
"repo_name": "aanno/presentation-js1",
"id": "ac304e09847be1cc45358a1748867dd67011f30c",
"size"... |
// ChannelEntryType represents a single channel entry in the TSQ file
// a single instance represents a single data 'stripe' in the TEV file
#include "MexDataTypes.h"
struct ChannelEntryType{
ChannelEntryType()
: mHeaderIdx(0), mNWords(0), mOffset(0) {
}
ChannelEntryType(int idx, un... | {
"content_hash": "090f1b5b99ddc30f709f0168839d2ca3",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 31.857142857142858,
"alnum_prop": 0.6576980568011959,
"repo_name": "NeuralDataFormats/matlab_tdt",
"id": "d6dfd22ae131773ac22ef7eea3bd8ecb001ea767",
... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsInternetCiter_h__
#defin... | {
"content_hash": "f6e250013e827e80e6292c70aa0cfd08",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 92,
"avg_line_length": 34.483870967741936,
"alnum_prop": 0.6641721234798877,
"repo_name": "sergecodd/FireFox-OS",
"id": "57f7229a273292f9c6800637085b6e27d18fe599",
"size": ... |
import gulp from 'gulp'
import gutil from 'gulp-util'
import loadTasks from 'require-dir'
import _ from 'lodash'
import watcher from './tasks/libs/watcher'
loadTasks('./tasks')
_.set(gutil.env, 'base.src', 'src')
_.set(gutil.env, 'base.dest', 'dest')
_.set(gutil.env, 'tasks.build', {
taskQuene: [
'eslint',
'... | {
"content_hash": "eca6ec2676a1ccbb64f8ecebcab1e82a",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 42,
"avg_line_length": 18.235294117647058,
"alnum_prop": 0.617741935483871,
"repo_name": "tuberrabbit/just-do-it",
"id": "f93f426f82429a8d75bb62da56423a9a4e42bcd4",
"size":... |
export default class Greeter {
constructor(name) {
this.name = name;
}
async greet() {
const greeting = await Greeter.sayHi(this.name);
return greeting;
}
static sayHi(name) {
return new Promise(resolve => setTimeout(() => resolve(`Hello, my name is ${name}`), 1500));
}
}
| {
"content_hash": "72f9d5d6f74283a8187b05f21aa46314",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 94,
"avg_line_length": 19.4,
"alnum_prop": 0.6529209621993127,
"repo_name": "ba55ie/babel-parse-async",
"id": "3d4570442e5bf44d7caa7794ed3644436c2d4958",
"size": "291",
"... |
#include <folly/String.h>
#include <folly/Format.h>
#include <folly/ScopeGuard.h>
#include <cerrno>
#include <cstdarg>
#include <cstring>
#include <stdexcept>
#include <iterator>
#include <cctype>
#include <string.h>
#include <glog/logging.h>
namespace folly {
namespace {
int stringAppendfImplHelper(char* buf,
... | {
"content_hash": "587e4b3dd7a54e611b7e00701eb8cd2b",
"timestamp": "",
"source": "github",
"line_count": 592,
"max_line_length": 107,
"avg_line_length": 28.49493243243243,
"alnum_prop": 0.6008062125792875,
"repo_name": "Hincoin/folly",
"id": "43404026d031324daa76bbf1495f43e00218df00",
"size": "17464... |
<?php declare(strict_types = 1);
namespace Smalldb\StateMachine\Definition\Builder;
use Smalldb\StateMachine\InvalidArgumentException;
use Throwable;
class PreprocessorPassException extends InvalidArgumentException
{
public function __construct($message = "", $code = 0, Throwable $previous = null)
{
parent::_... | {
"content_hash": "00d5730afcd57f612f9f2a390b7924c3",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 82,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.7540983606557377,
"repo_name": "smalldb/libSmalldb",
"id": "abf7e1513c2c2197da88165f56dc57aaabb474f0",
"size": "9... |
from __future__ import unicode_literals
import pytest
from gitlawca import downloader
from gitlawca.database import Act
#pylint: disable=W0621
@pytest.fixture
def act():
output = Act()
output.code = 'A-1'
output.act_date = '20150101'
output.language = 'eng'
return output
def test_act_file_locatio... | {
"content_hash": "56d610b9d2732ab2199ef10d58b98d8a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 23.705882352941178,
"alnum_prop": 0.707196029776675,
"repo_name": "JasonMWhite/gitlawca-scraper",
"id": "96e6dc1ae7bce8c3000962d6935e42dc0b0ee44a",
"... |
using NUnit.Framework;
using System;
using System.Web;
using System.Web.UI.WebControls;
using System.Collections;
using System.ComponentModel;
using System.IO;
namespace MonoTests.System.Web.UI.WebControls
{
[TestFixture]
public class ControlIDConverterTest
{
ControlIDConverter ctrlConv;
[TearDown]
public ... | {
"content_hash": "ab24f719fd11d68cb84fbaa694e34c67",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 73,
"avg_line_length": 19.88679245283019,
"alnum_prop": 0.7077798861480076,
"repo_name": "jjenki11/blaze-chem-rendering",
"id": "f674e12f225942e932d5b2cdfb651724bd3f4164",
... |
[](https://travis-ci.org/Marius Horga/randomizeCategoryOnNSArray)
[](http://cocoadocs.org/docsets/randomizeCategoryOnNSArray)
[![Licens... | {
"content_hash": "284a5ffd7d1a7b27da7eb438d92d5087",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 162,
"avg_line_length": 42.03846153846154,
"alnum_prop": 0.7968892955169259,
"repo_name": "mhorga/testPod",
"id": "849d426da36e40e40a7d24a47823f375f2890c4f",
"size": "1123"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="Asciidoctor 1.5.2">
<title>Pagination</title>
<link rel="stylesheet" href="h... | {
"content_hash": "12c7cbeebfbd906d0984d688da29e0ef",
"timestamp": "",
"source": "github",
"line_count": 495,
"max_line_length": 471,
"avg_line_length": 65.50707070707071,
"alnum_prop": 0.7704311355085425,
"repo_name": "gmind7/gmind7.github.io",
"id": "3b60ae03c7465ba11ddec4d889a1841dcdfdb241",
"siz... |
/*************************************************************************/
/* test_geometry_2d.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "1ee9a39061f761dcd49ea1589e48ef7d",
"timestamp": "",
"source": "github",
"line_count": 553,
"max_line_length": 132,
"avg_line_length": 45.379746835443036,
"alnum_prop": 0.6590555887627018,
"repo_name": "honix/godot",
"id": "32d4114a1c7de44bc03c16559c132321b6eac691",
"size": "25095"... |
{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}
{% block form_id %}update_pool_form{% endblock %}
{% block form_action %}{% url 'horizon:project:lbaas:updatemember' member_id %}{% endblock %}
{% block modal-header %}{% trans "Edit Member" %}{% endblock %}
{% block modal-bod... | {
"content_hash": "f9538bd47d7a6bee471daa8a8121fd0e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 123,
"avg_line_length": 35.04,
"alnum_prop": 0.6301369863013698,
"repo_name": "Juniper/contrail-horizon",
"id": "a1ffc9352ecde67c2420cea3dfa9c15a8aafed16",
"size": "876",
... |
<?php
namespace AcmePhp\Core\Exception\Server;
use AcmePhp\Core\Exception\AcmeCoreServerException;
use Psr\Http\Message\RequestInterface;
/**
* @author Alex Plekhanov <alex@plekhanov.dev>
*/
class UnsupportedContactServerException extends AcmeCoreServerException
{
public function __construct(RequestInterface... | {
"content_hash": "4bcba18d4482d5f44598377c2a4b1862",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 110,
"avg_line_length": 25.434782608695652,
"alnum_prop": 0.6957264957264957,
"repo_name": "acmephp/core",
"id": "44c10e7ccefe5145046a2aea3b4a3362d8b9fd7b",
"size": "820",
... |
require 'spec_helper'
describe EarlyAdopter do
it 'should have a name and description' do
EarlyAdopter.name.should_not be_blank
EarlyAdopter.description.should_not be_blank
end
it 'should award user if they joined github within 6 months of founding' do
profile = Fabricate(:github_profile, created_at... | {
"content_hash": "87b8498be6dde06cd277892f927ea6fd",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 98,
"avg_line_length": 31.633333333333333,
"alnum_prop": 0.7123287671232876,
"repo_name": "msurguy/coderwall",
"id": "4f072cfb4fa1ba77d2bfd5f1eeac9f2781121e59",
"size": "94... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Usnea creberrima Vain.
### Remarks
null | {
"content_hash": "c3f865cc260db4540a063801eb3a05f6",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 22,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "e3b6ad9f131d66c88630d6ce892fb544cd7205d5",
"size": "191"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Wed Oct 08 15:57:24 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class org.a... | {
"content_hash": "1590d390f92fdc2888d3720fc3b553cd",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 169,
"avg_line_length": 39.55555555555556,
"alnum_prop": 0.6242437337942955,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "2d49fefcfacf467c55116e8f95bff2f63ea9c6b9",
"s... |
package com.battlelancer.seriesguide.util;
import static com.google.common.truth.Truth.assertThat;
import com.battlelancer.seriesguide.traktapi.TraktTools;
import java.util.Locale;
import org.junit.Test;
public class TraktToolsTest {
/**
* Note: ensure to test on Android as Android uses a different formatt... | {
"content_hash": "1af9a72007c172c8ba437399b0f5ba63",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 96,
"avg_line_length": 33.2,
"alnum_prop": 0.7259036144578314,
"repo_name": "UweTrottmann/SeriesGuide",
"id": "01ebcf1bd68128acfb40d053168a0d589e7a0720",
"size": "664",
"... |
package energy.usef.agr.service.business;
import energy.usef.core.config.Config;
import energy.usef.core.config.ConfigParam;
import energy.usef.core.data.xml.bean.message.DispositionAvailableRequested;
import energy.usef.core.data.xml.bean.message.FlexOrder;
import energy.usef.core.data.xml.bean.message.MessageMetad... | {
"content_hash": "a3b8741fd1f58a0146c1092927e9ae6e",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 131,
"avg_line_length": 47.91843971631206,
"alnum_prop": 0.7045807740694147,
"repo_name": "USEF-Foundation/ri.usef.energy",
"id": "8ff49de8880b4d14b4b4355eaf3224e8300ef6a8",... |
CPUTFont *CPUTFont::CreateFont(cString FontName, cString AbsolutePathAndFilename)
{
#ifdef UNICODE
char *pName = ws2s(FontName);
char *pPath = ws2s(AbsolutePathAndFilename);
CPUTFont *pFont;
pFont = CPUTFont::LoadBMFont( FontName, AbsolutePathAndFilename );
delete pName;
delete pPath;
... | {
"content_hash": "6319726ae10c69dfeebc86271de6cf71",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 177,
"avg_line_length": 42.149732620320854,
"alnum_prop": 0.5794214666328343,
"repo_name": "GameTechDev/ClusteredShadingAndroid",
"id": "ca74dace10f17eaf254515152a65bd8eb03f... |
@implementation FruitTableAdapter
- (void)loadTableView:(UITableView *)tableView
{
// tableView.delegate = self;
if (!tableView.dataSource) {
// tableView.dataSource = self;
}
[tableView reloadData];
}
- (id)getItemData:(NSInteger)position
{
return self.dataSource[position];
}
- (NSInteger)... | {
"content_hash": "5b95b0487eb7127978c3666005096143",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 118,
"avg_line_length": 25.520833333333332,
"alnum_prop": 0.7061224489795919,
"repo_name": "CentaFrameWork/iosframework",
"id": "0c9aaf471cad1c453f981be7e53aec5c23a59936",
... |
function setEigenfunctions( obj, zeta, mu, varargin )
% SETEIGENFUNCTIONS Set eigenfunction data of an nlsaKoopmanOperator
% object
%
% Modified 2020/04/11
if ~isnumeric( zeta ) || ~ismatrix( zeta )
error( 'Eigenfunctions must be specified as a numeric matrix' )
end
if size( zeta, 1 ) ~= getNTotalSample( obj )
... | {
"content_hash": "d662393924d44a5130b55b6635df8113",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 74,
"avg_line_length": 30.666666666666668,
"alnum_prop": 0.6652173913043479,
"repo_name": "dg227/NLSA",
"id": "73de3bcfdf298b15b7bb6b537adc6f35ad921087",
"size": "920",
"... |
package org.apache.beam.sdk.values;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import org.apache.beam.sdk.Pipeline;
import org.apache.beam.sdk.testing.PAssert;
import org.apache.beam.sdk.testing.RunnableOnService;
import org.ap... | {
"content_hash": "5faf9a1edb5799d3b37ff0537a52cab6",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 80,
"avg_line_length": 34.256410256410255,
"alnum_prop": 0.7398952095808383,
"repo_name": "tweise/incubator-beam",
"id": "9a8ab30be62eb2d09beea215f54876698219ed5e",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ieee754: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css... | {
"content_hash": "0ab5b8ec4bc3cd980f88c7b200962208",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 159,
"avg_line_length": 42.06666666666667,
"alnum_prop": 0.5600898045430533,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "32685a28cc4ae0d6368a25996477b2f81afad26d",
... |
using namespace std;
// Context -----------------------------------------------------------------------------------------
void Context::Clear()
{
m_goldenMatching.clear();
m_actualMatching.clear();
m_foundResults.Clear();
m_foundResultsEdits.Clear();
m_nonFoundResults.clear();
m_nonFoundResultsEdits.Clea... | {
"content_hash": "4b6cad9af177ec43083ddb6f4e23be91",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 100,
"avg_line_length": 26.875816993464053,
"alnum_prop": 0.622568093385214,
"repo_name": "bykoianko/omim",
"id": "9507febd28d64fe084e5021f4786ad8b5c049fac",
"size": "4305... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Skeddly.Model;
namespace Skeddly.Model
{
public class GetActionTypesResponse
{
public IEnumerable<ActionType> ActionTypes { get; set; }
}
}
| {
"content_hash": "bcccd9c75caa9222e32ac5fe06cddb4d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 58,
"avg_line_length": 18.384615384615383,
"alnum_prop": 0.7740585774058577,
"repo_name": "eleven41/skeddly-sdk-net",
"id": "fd3ea59aefda50a23b8a275cc27fd36f76460977",
"siz... |
using System;
public class Enumerator {
int counter;
public Enumerator () {
counter = 3;
}
public bool MoveNext () {
return (counter -- > 0);
}
public char Current {
get {
return 'a';
}
}
}
class RealEnumerator : Enumerator, IDisposable {
Coll c;
public RealEnumerator (Coll c) {
this.c = c... | {
"content_hash": "9078a8a178bb0840c7da7f472f71fe15",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 48,
"avg_line_length": 12.433962264150944,
"alnum_prop": 0.6236722306525038,
"repo_name": "afrog33k/SharpNative",
"id": "e33e525582eb067efe4098784f13e8a32bbfc768",
"size": ... |
<?php
$this->layout('_layouts/default', [
'title' => '404 - Not found'
]);
/** @var string $msg */
/** @var \Ffcms\Templex\Template\Template $this */
if (\Ffcms\Core\Helper\Type\Str::likeEmpty($msg)) {
$msg = 'No error information available yet';
}
?>
<?php $this->start('body') ?>
<?= $this->bootstrap()->a... | {
"content_hash": "4e0400910f72723eec5bc93b13252f00",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 51,
"avg_line_length": 19.857142857142858,
"alnum_prop": 0.580335731414868,
"repo_name": "phpffcms/ffcms",
"id": "2e01b058656bfe87c4a1aa849f418bd9b82b59f3",
"size": "417",
... |
This error indicates that the bindings in a match arm would require a value to
be moved into more than one location, thus violating unique ownership. Code
like the following is invalid as it requires the entire `Option<String>` to be
moved into a variable called `op_string` while simultaneously requiring the
inner `Str... | {
"content_hash": "6d85b61e62579e459d1ec82c4a2881ba",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 78,
"avg_line_length": 29.8,
"alnum_prop": 0.7197986577181208,
"repo_name": "graydon/rust",
"id": "2c22b86af9246045d7b7710c8860b46d9af2fdf5",
"size": "662",
"binary": fal... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.