text stringlengths 2 1.04M | meta dict |
|---|---|
#ifndef RNAVIER_TICGBTEST_H
#define RNAVIER_TICGBTEST_H
#include <memory>
#include "TBjRegulator.h"
#include "TIC3D.h"
#include "TStep3D.h"
#include "THModel3D.h"
class THydro3DBj ;
class TRNavier3DBj ;
//! Simple test intial conditions for invicid Gubser evoluation
//! in 2+1 dimensions.
//!
class TICGbTest : publ... | {
"content_hash": "4ff9e76ba51c7d3ba3104c48b9dff030",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 84,
"avg_line_length": 24.096153846153847,
"alnum_prop": 0.6512370311252993,
"repo_name": "rnavier/rnavier",
"id": "0ca66d0812e91a71d3e9dbb31421ed32edc9145d",
"size": "1550... |
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>NIWA-irc</title>
<script type="text/javascript" defer="defer" src="rest/dependencyManager/index.js"></script>
<link rel="stylesheet" href="css/index.less">
</head>
<body>
<div id="globalActions">
<button data-action="downloads" accesskey="d">⬇<... | {
"content_hash": "4f9496d8710f3edee31d3b2117b2c317",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 93,
"avg_line_length": 30.833333333333332,
"alnum_prop": 0.6684684684684684,
"repo_name": "Morgas01/NIWA-irc",
"id": "b65738ae5bf8268e0a6d9ab1e64d38c2ab70d5d3",
"size": "55... |
package validator
import (
"os"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/authelia/authelia/v4/internal/configuration/schema"
)
const unexistingFilePath = "/tmp/unexisting_file"
func TestShouldSetDefaultServerValues(t *testing.T) {
validator := schema.Ne... | {
"content_hash": "8a98b65693430119d2bb21198b547a3e",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 149,
"avg_line_length": 30.175373134328357,
"alnum_prop": 0.7534314331643378,
"repo_name": "clems4ever/two-factor-auth-server",
"id": "7349465cd90f5f4b4ad0e99402877c698eadeb... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CloneExtension.cs" company="Freiwillige Feuerwehr Krems/Donau">
// Freiwillige Feuerwehr Krems/Donau
// Austraße 33
// A-3500 Krems/Donau
// Austria
//
// Tel... | {
"content_hash": "d1b6bcb6aad87e8dcb8d3ad32aa09336",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 120,
"avg_line_length": 40.02985074626866,
"alnum_prop": 0.5566741237882178,
"repo_name": "Grisu-NOE/FullscreenBrowser",
"id": "dbc5bbfd7a3796b9bf673c06ef183daa24e1ff08",
"... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "0f177a63510bd0a2dc6c5c67110a00d2",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 132,
"avg_line_length": 42.43283582089552,
"alnum_prop": 0.742525501231094,
"repo_name": "ebyhr/presto",
"id": "d620dd54ec853dc183a7fdb8d4209f171598c520",
"size": "2843",
... |
package org.linqs.psl.utils.dataloading.graph;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
import com.google.common.collect.Iterables;... | {
"content_hash": "91912a6afb56e46fef315cf5a752ca6a",
"timestamp": "",
"source": "github",
"line_count": 291,
"max_line_length": 183,
"avg_line_length": 31.90721649484536,
"alnum_prop": 0.6788368336025848,
"repo_name": "linqs/psl-utils",
"id": "7860468507ea8add9578b016094209efb5cc4d4c",
"size": "100... |
"""Application configuration."""
import os
class Config(object):
"""Base configuration."""
SECRET_KEY = os.environ.get('FLASKAPP_SECRET', 'secret-key') # TODO: Change me
APP_DIR = os.path.abspath(os.path.dirname(__file__)) # This directory
PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.par... | {
"content_hash": "60138a52f0ce3eb2678ccce4d318b764",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 110,
"avg_line_length": 33.3,
"alnum_prop": 0.6648648648648648,
"repo_name": "xuxian94/flaskapp",
"id": "a959a438838e82c2ab65816b8baa004a18ff1f14",
"size": "1689",
"binar... |
sf1-internetofthings
====================
Source code of my talk *SF1 and the Internet of Things*
| {
"content_hash": "146738cae40b6235e5c046108dd5e5ca",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 56,
"avg_line_length": 25,
"alnum_prop": 0.62,
"repo_name": "bfagundez/sf1-internetofthings",
"id": "98fc658db747d46224c27f074a371b04114b119d",
"size": "100",
"binary": fa... |
package org.elasticsearch.index.engine;
import org.apache.lucene.index.LeafReader;
import org.apache.lucene.index.NumericDocValues;
import org.elasticsearch.index.mapper.SeqNoFieldMapper;
import org.elasticsearch.index.mapper.SourceFieldMapper;
import org.elasticsearch.index.mapper.VersionFieldMapper;
import java.i... | {
"content_hash": "906d8e5243717a0d6daec1110a001b4a",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 129,
"avg_line_length": 45.35616438356164,
"alnum_prop": 0.7097553609181516,
"repo_name": "nknize/elasticsearch",
"id": "3be58ecb8817048f1a0c616bbd8090f49263ca87",
"size": ... |
@class VCRURLSessionRecord;
NS_ASSUME_NONNULL_BEGIN
@protocol VCRURLSessionPlayerDelegate <NSObject>
@required
- (VCRURLSessionRecord *_Nullable)recordForRequest:(NSURLRequest *)request;
@end
NS_ASSUME_NONNULL_END
#endif
| {
"content_hash": "04b809f6a8ffbb9c4578a4ee6ecaeb95",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 75,
"avg_line_length": 16.214285714285715,
"alnum_prop": 0.8061674008810573,
"repo_name": "plu/VCRURLSession",
"id": "75b24a3550fe6e2bd1213274b62db464d6babb84",
"size": "44... |
// Copyright 2020 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "3395fb2de4dadd7d0036e3b490a61e98",
"timestamp": "",
"source": "github",
"line_count": 359,
"max_line_length": 98,
"avg_line_length": 40.682451253481894,
"alnum_prop": 0.7044162957891134,
"repo_name": "bazelbuild/bazel",
"id": "4da17e6cd08377d15adeb15b15632f29fc86c539",
"size": "14... |
<h4>{% include inner_template with node=node %}</h4> | {
"content_hash": "71ff0518af77ccd6895a9e40af8030b7",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 52,
"avg_line_length": 52,
"alnum_prop": 0.6923076923076923,
"repo_name": "11craft/immercv",
"id": "c408d7859e5244549eb7e3e18004b6ffbcc59779",
"size": "52",
"binary": fals... |
package com.guillaumedelente.android.contacts.common.list;
import android.content.Context;
import android.database.Cursor;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import java.util.ArrayList;
/**
* A general purpose adapter that is composed of multiple cursors. I... | {
"content_hash": "f816fe50c63d07f1353fc907d82b500d",
"timestamp": "",
"source": "github",
"line_count": 523,
"max_line_length": 97,
"avg_line_length": 29.965583173996176,
"alnum_prop": 0.5498340990301174,
"repo_name": "GuillaumeDelente/contact-picker",
"id": "f185244119fe86540044f200618f97a8bdda1fb6"... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">platformer</string>
</resources>
| {
"content_hash": "a3d2dcf34810f6f2035c1b6deace3469",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 47,
"avg_line_length": 19,
"alnum_prop": 0.6578947368421053,
"repo_name": "AgostonSzepessy/platformer",
"id": "082c1e7ef9a4b6d8fcffeefb23dd9b77bef5d08b",
"size": "114",
"b... |
#ifndef __CONFIGS_TEENSY_SRC_TEENSY_INTERNAL_H
#define __CONFIGS_TEENSY_SRC_TEENSY_INTERNAL_H
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
/*******************... | {
"content_hash": "a82267eec93065abb967216e8d72ab88",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 86,
"avg_line_length": 30.66176470588235,
"alnum_prop": 0.3069544364508393,
"repo_name": "Paregov/hexadiv",
"id": "f253b590f86c7e4abf883620d3d676047794ef96",
"size": "3896"... |
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("TraceSpyTest")]
[assembly: AssemblyDescription("Provides tests for sending traces.")]
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Simo... | {
"content_hash": "b1a03b7c12a2d54893d6d9dd10f0f31f",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 90,
"avg_line_length": 37.6,
"alnum_prop": 0.7699468085106383,
"repo_name": "smourier/TraceSpy",
"id": "ec23e112cee84998f917c54a950a214f06714a4b",
"size": "755",
"binary"... |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../include/fpdfppo.h"
#include "../include/fsdk_define.h"
class CPDF_PageOrganizer
{
public:
CPDF_PageOrganizer();
~CPDF_PageOrganizer();
public:
FX_BOOL PDFDocInit(CPDF_Document *pDestPDFDoc, CPDF_Docume... | {
"content_hash": "a9808e80ea8627d11524254857a982f3",
"timestamp": "",
"source": "github",
"line_count": 457,
"max_line_length": 115,
"avg_line_length": 27.067833698030636,
"alnum_prop": 0.6421180274858529,
"repo_name": "eugenehp/pdfium",
"id": "e605484cb373ddb537d6a32809cc7d68bcb2b8c3",
"size": "12... |
/**
* Package for calculate task.
*
* @author Ramazan Zakariev (mailto:maarulav.fl@gmail.com)
* @version $Id$
* @since 0.1
*/
package ru.job4j; | {
"content_hash": "083328a9038d22c4f039b263b40db6f3",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 57,
"avg_line_length": 17.875,
"alnum_prop": 0.6853146853146853,
"repo_name": "maarulav/rzakariev",
"id": "b86eb9d86fa1088cc47d7fe57f38a9a560b4c2fe",
"size": "143",
"binar... |
package io.clickhandler.web.reactRouterGwt.client;
import elemental.client.Browser;
import io.clickhandler.web.reactGwt.client.react.ReactElement;
import io.clickhandler.web.reactGwt.client.Func;
import io.clickhandler.web.reactGwt.client.dom.ReactDOM;
import javax.inject.Inject;
import javax.inject.Provider;
/**
*... | {
"content_hash": "c67e4b7e24138b20fb1bba8c97086c25",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 111,
"avg_line_length": 26.28358208955224,
"alnum_prop": 0.6246450880181715,
"repo_name": "ClickHandlerIO/clickhandler-web",
"id": "79f61b49703e6820f446f52eac7d72e47742e222",... |
<?php
$this->breadcrumbs=array(
'Actions'=>array('index'),
$model->id,
);
$this->menu=array(
array('label'=>'List Action','url'=>array('index')),
array('label'=>'Create Action','url'=>array('create')),
array('label'=>'Update Action','url'=>array('update','id'=>$model->id)),
array('label'=>'Delete Action','url'=>... | {
"content_hash": "d3ca9ffd22e8733c4a7515bb3a3d2ecd",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 165,
"avg_line_length": 25.34375,
"alnum_prop": 0.6041923551171393,
"repo_name": "newscloud/ocean",
"id": "098ffc4a279e400687266dd3189acc55d0af6dcc",
"size": "811",
"bina... |
layout: page
title: Escobar - Kennedy Wedding
date: 2016-05-24
author: Nicholas Figueroa
tags: weekly links, java
status: published
summary: Proin rutrum nibh magna, vitae.
banner: images/banner/meeting-01.jpg
booking:
startDate: 02/25/2017
endDate: 03/01/2017
ctyhocn: SATCSHX
groupCode: EKW
published: true
---... | {
"content_hash": "5ac2958551d25e5550b3ebeb22e54dd8",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 679,
"avg_line_length": 92.45833333333333,
"alnum_prop": 0.80802163136548,
"repo_name": "KlishGroup/prose-pogs",
"id": "c1045c819f07b8a1aed79d2ac82ebcac1d399568",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.spotweather.android">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="org.litepal.LitePalApplication"
android:allowBackup="true... | {
"content_hash": "a172d1c9bf3857a33572a383fbdc6b90",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 76,
"avg_line_length": 33.806451612903224,
"alnum_prop": 0.6183206106870229,
"repo_name": "holdyourdream/spotweather",
"id": "db7377381a71830ce781e272b8ee19d0ecb013ce",
"si... |
.class Landroid/support/v4/view/cv;
.super Ljava/lang/Object;
# direct methods
.method public static a(Landroid/view/View;)I
.locals 1
invoke-virtual {p0}, Landroid/view/View;->getOverScrollMode()I
move-result v0
return v0
.end method
| {
"content_hash": "6f5452caf0294c4d2d24925ee344a8b8",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 66,
"avg_line_length": 18.285714285714285,
"alnum_prop": 0.7109375,
"repo_name": "Pittvandewitt/v4a_material_reformatted_src",
"id": "7fae8b43d6845beea16c96f31d51d8194e7c1a32... |
var TiraTime = (function(){
var numberOfTeams, numberOfPlayers, playersNames = [],
playersInputObjects = [], currentPlayer = 0, teams = []
_this = this;
function TiraTime() {
addEventListeners();
};
function addEventListeners() {
$("#first-step-submit").on("click", onFirstStepSubmit);
... | {
"content_hash": "2040df97c8fb889dbf19b793d28f6045",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 247,
"avg_line_length": 26.181818181818183,
"alnum_prop": 0.5950854700854701,
"repo_name": "matheusbras/tiratime",
"id": "1312ce901e74e648929a710b798f7bcaa1d10b2d",
"size"... |
<?xml version='1.0' encoding='UTF-8'?>
<Document>
<Header>
<SchemaName>Location</SchemaName>
<Identifier>location_geonames_2752945</Identifier>
<DocumentState>public</DocumentState>
<TimeStamp>1390753462911</TimeStamp>
<SummaryFields>
<Title>NL > North Brabant > Kerkegors</Title>
<... | {
"content_hash": "f38b451f9f87c2385b22934dcb888382",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 79,
"avg_line_length": 30.93103448275862,
"alnum_prop": 0.6655518394648829,
"repo_name": "delving/oscr-data",
"id": "8af9255eda1c31e971ba5cedb8e032b69f970bf8",
"size": "897... |
// Copyright 2015 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | {
"content_hash": "1e5cc7bd12280bd3333b6f4a3ddf3f35",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 77,
"avg_line_length": 29.466666666666665,
"alnum_prop": 0.7403846153846154,
"repo_name": "spxtr/bazel",
"id": "431d205e12b667df7f712cb5de6ecfe2e9433151",
"size": "1768",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright owner... | {
"content_hash": "692debb0487f95f8096a72949ab6be56",
"timestamp": "",
"source": "github",
"line_count": 346,
"max_line_length": 183,
"avg_line_length": 21.99421965317919,
"alnum_prop": 0.6632063074901445,
"repo_name": "kangli914/JmeterAutomation",
"id": "56513b4d28244dfd932cce2e665c8beabc250628",
"... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "1ed8d3809ed89b9924eabf67ad902e64",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 194,
"avg_line_length": 43.37837837837838,
"alnum_prop": 0.6423676012461059,
"repo_name": "jasper-schneider/azure-powershell",
"id": "fc85d8e5b6a0ba69bddf07ce54805a1ee3a69c11... |
@implementation WGSettlementResultResponse
- (BOOL)emptyShopCart {
return self.code == 4;
}
@end
| {
"content_hash": "4bcef60e53c5aad9b90ed64ace041719",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 42,
"avg_line_length": 14.714285714285714,
"alnum_prop": 0.7281553398058253,
"repo_name": "mumabinggan/WeygoIPhone",
"id": "0345917b5bc99c694a659e30766b279a449f5d70",
"size"... |
import {Component, OnInit} from '@angular/core';
import { FoodService } from '../food/food.service';
import { Food } from '../food/food';
import { JournalEntry } from './journalEntry';
import { JournalEntriesService } from './journalEntries.service';
import { DateChooserService } from '../shared/date-chooser.service';... | {
"content_hash": "2bbbf6ce3fc781f73c7f6b7ac9ade588",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 102,
"avg_line_length": 25.170212765957448,
"alnum_prop": 0.665469146238377,
"repo_name": "stefanamport/nuba",
"id": "5b8b4b425b1d610783abb6b64896b8ca92b7c26b",
"size": "4... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLineNo">0... | {
"content_hash": "4c79f74ae5a0028bc67dbfb6080aaa86",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 182,
"avg_line_length": 56.73936170212766,
"alnum_prop": 0.6703853004593606,
"repo_name": "tempbottle/jsimpledb",
"id": "2dde81b4bdf3d9f3ca7dfc3464a7e88685038a97",
"size":... |
IndexImageView [](https://travis-ci.org/avenwu/IndexImageView)
==============
A kind of circular image widget for Android OS.
[](https://play.google... | {
"content_hash": "980b52fd7c3c388c546cbc59ac4e57dc",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 177,
"avg_line_length": 38.8051948051948,
"alnum_prop": 0.7556894243641231,
"repo_name": "avenwu/IndexImageView",
"id": "2ed675e28ac52bff41ae9607a1cc3f6bf493e76d",
"size": ... |
<cms-time-ago cms-time="::auditData.createDate"></cms-time-ago>
<div ng-if="::auditData.creator">
by <cms-user-link cms-user="::auditData.creator"></cms-user-link>
</div>
| {
"content_hash": "1f3ef1288a742a92bc9c9c8fde1f3c96",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 69,
"avg_line_length": 44,
"alnum_prop": 0.6761363636363636,
"repo_name": "cofoundry-cms/cofoundry",
"id": "56e37a51ec23817f9265979270af683a9e42f0c2",
"size": "178",
"bina... |
package edu.northwestern.bioinformatics.studycalendar.xml.writers;
import edu.northwestern.bioinformatics.studycalendar.domain.ScheduledActivityMode;
import edu.northwestern.bioinformatics.studycalendar.domain.ScheduledActivityState;
import edu.northwestern.bioinformatics.studycalendar.xml.AbstractStudyCalendarXmlSeri... | {
"content_hash": "7db3a67943d37bf8e9fd1b9419bcf7ac",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 134,
"avg_line_length": 48.68,
"alnum_prop": 0.743631881676253,
"repo_name": "NUBIC/psc-mirror",
"id": "e069dabb58ec4afde9a47021f6eee1fd357baf58",
"size": "2434",
"binary... |
<?php
namespace app\forms;
use app\models\User;
use yii\base\Model;
use Yii;
/**
* GenreForm is the model behind the genre form.
*
* @property User|null $user This property is read-only.
*
*/
class ChangePasswordForm extends Model
{
public $userId;
public $password;
public $newPassword;
public $... | {
"content_hash": "d80d870db85ce21c956a51f05f127371",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 90,
"avg_line_length": 23.548672566371682,
"alnum_prop": 0.4265313791807591,
"repo_name": "YmriKartoshka/blog",
"id": "aac91c7ac0036bc89d6c694e11be731da31f22a4",
"size": "... |
namespace AH.ModuleController.UI.ACCMS.Forms
{
partial class frmRevenueHeadGroup
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | {
"content_hash": "9933c055da847d64bb5bea9b90e16282",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 172,
"avg_line_length": 48.08920187793427,
"alnum_prop": 0.5970906960851313,
"repo_name": "atiq-shumon/DotNetProjects",
"id": "603ef10303870d1d31664a8d89eff02296fe9ef2",
"... |
import React from "react";
import { assert, shallow } from "../../../common";
import SiteIcon from "../../../../app/scripts/lib/views/common/site-icon";
describe("SiteIcon", () => {
describe("#render", () => {
it("renders site icon image", () => {
chrome.i18n.getMessage.returns("Syosetuka ni Narou");
... | {
"content_hash": "5718a277d70fbef4fe92859a35ac79f8",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 74,
"avg_line_length": 25.76923076923077,
"alnum_prop": 0.5194029850746269,
"repo_name": "io-monad/novelous-extension",
"id": "f45550b56ea76cd5cd82dbf44d8cc3166de48fdc",
"s... |
/// <reference path="../../Scripts/typings/angularjs/angular.d.ts" />
"use strict";
module app.angular.Models {
export class ErrorModel {
message: string;
stackTrace: string;
}
} | {
"content_hash": "1fb3c1260a2938a0891013fc9e300e3b",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 70,
"avg_line_length": 20.5,
"alnum_prop": 0.6195121951219512,
"repo_name": "devkimchi/EventSourcing-CQRS-Sample",
"id": "bc6ac6b2860519fbd924500832cad1dbe4d91ad4",
"size":... |
module Mutest
# An AST Parser
class Parser
include Equalizer.new
include Adamantium::Mutable
# Initialize object
#
# @return [undefined]
def initialize
@cache = {}
end
# Parse path into AST
#
# @param [Pathname] path
#
# @return [AST::Node]
def open(path)
... | {
"content_hash": "6a67ed0f13a274ec79ec26d81c7e88f2",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 44,
"avg_line_length": 16.652173913043477,
"alnum_prop": 0.5796344647519582,
"repo_name": "backus/mutest",
"id": "ed97c805c236a337e0879ecfe7f61d5845b14bd0",
"size": "383",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="it">
<head>
<!-- Generated by javadoc (1.8.0_172) on Mon Aug 20 16:03:18 CEST 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.plugface.spring Class ... | {
"content_hash": "4fd5decaee6db97f06fdb7796ffe7e39",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 475,
"avg_line_length": 42.20979020979021,
"alnum_prop": 0.6678263750828363,
"repo_name": "MatteoJoliveau/PlugFace",
"id": "9d9725a1c6caa87903c6c85b41faa5c031288ffa",
"siz... |
<section style="text-align: left;">
<h1>Historique</h1>
<p>
<ul>
<li>L'idée vient de 4 étudiants, dont Ben Upton, du laboratoire d'informatique de l'Université de Cambridge.</li>
<li>Plus tard, David Braben, développeur du jeu... | {
"content_hash": "1015db04877548079a46db6f1f7f4473",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 141,
"avg_line_length": 47.61538461538461,
"alnum_prop": 0.4991922455573506,
"repo_name": "Nekrofage/prezraspberry",
"id": "4c5c9f9ec8c9ae1ee14d2d482bd975603b89c351",
"size... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3a093b87328d21a52ea04a898b2a87c0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "471256c4504d8131a0644daaa93c9af95d000328",
"size": "179... |
bash-mysql-backup
=================
A simple backup-script for MySQL
# Usage
Edit the config-section of the script. You might also want to have a look at the
"Delete files/folders" just below, in case you want to edit it. By default
it deletes everything older than a week.
Make sure that the BASE_FOLDER you specify ... | {
"content_hash": "5fda23ecabb480cb89faa6337f9dede7",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 96,
"avg_line_length": 35.529411764705884,
"alnum_prop": 0.7566225165562914,
"repo_name": "petercrona/bash-mysql-backup",
"id": "ba7244acffa92def15b30eacc33edb646df9369d",
... |
require 'KindleCG/version'
require 'json'
require 'KindleCG/collections'
require 'KindleCG/ebook/ebook'
require 'pathname'
module KindleCG
class << self
attr_writer :device_mountpoint, :os_mountpoint
def device_mountpoint
@device_mountpoint ||= Pathname.new '/mnt/us'
end
def os_mountpoint
... | {
"content_hash": "854c348640cda380178e23c5d552a3ec",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 116,
"avg_line_length": 23.301204819277107,
"alnum_prop": 0.6313340227507755,
"repo_name": "zekus/KindleCG",
"id": "096c0e0bbc3cbde10205158c52a973cef582ebdd",
"size": "1934... |
<!doctype html>
<html>
<head>
<link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
<title>database.js (Closure Library API Documentation - JavaScript)</title>
<link rel="stylesheet" href="static/css/base.css">
<link rel="stylesheet" href="static/css/doc.css">
<link rel="stylesheet... | {
"content_hash": "0277369d26048ef5969a5d662b3938c3",
"timestamp": "",
"source": "github",
"line_count": 597,
"max_line_length": 398,
"avg_line_length": 26.41038525963149,
"alnum_prop": 0.6071541827868333,
"repo_name": "yesudeep/puppy",
"id": "2f13bbe0bc6abaaef3a77ab19db44b3b9ee116d7",
"size": "1576... |
/**
* @file minSize4.c Defines MinSize set of 4
* @brief
* Done in this way to be able to assemble various alternative sorting
* arrangements staticly, rather than requiring one to recompile an
* application as part of running a test suite. In this regard, we traded
* off the low-overhead of having lo... | {
"content_hash": "a00b889a055cdd5c948dfcbae147c094",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 75,
"avg_line_length": 39.285714285714285,
"alnum_prop": 0.72,
"repo_name": "heineman/algorithms-nutshell-2ed",
"id": "f138b49a9977b21661a45992a5a901b8082782c7",
"size": "5... |
- Improve heading detecting
| {
"content_hash": "0ff966afc4a400f48af869c0e7f727de",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 27,
"avg_line_length": 28,
"alnum_prop": 0.8214285714285714,
"repo_name": "naokazuterada/MarkdownTOC",
"id": "fd64d58d9aab8286d63d9f0e4b19e6cbdef9f721",
"size": "63",
"bin... |
<?php
/**
* Security section of the CMS
* @package cms
* @subpackage security
*/
class SecurityAdmin extends LeftAndMain implements PermissionProvider {
static $url_segment = 'security';
static $url_rule = '/$Action/$ID/$OtherID';
static $menu_title = 'Security';
static $tree_class = 'Group';
static $... | {
"content_hash": "934ce2e94c65b7fc3db2bd4dd49c0208",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 177,
"avg_line_length": 29.84978540772532,
"alnum_prop": 0.6441409058231489,
"repo_name": "chillu/silverstripe-book",
"id": "9e9cad8335f73795d6efb984515aa70f9e73952b",
"si... |
class AddCurrencyToOrders < ActiveRecord::Migration
def self.up
add_column :orders, :currency_id, :integer
add_column :orders, :currency_value, :float, :null => false
add_column :orders, :currency_nominal, :float, :null => false, :default => 1
currency = Currency.get(Spree::Currency::Config[:base... | {
"content_hash": "5adabcce3d8e2f4f7ea67264ea11572c",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 80,
"avg_line_length": 33.90909090909091,
"alnum_prop": 0.6876675603217158,
"repo_name": "fabien/spree_currency_exchange",
"id": "868e8a3d1e8ede581823605f6222c27ca3c9accb",
... |
package org.cache2k.testsuite.support;
/**
* @author Jens Wilke
*/
public interface CommonValues {
/**
* Arbitrary large time duration that we expect never to pass during a test run
*/
long BIG_DURATION_TICKS = 60 * 1000 * 1000;
/**
* Global timeout used everywhere when we wait for an operation th... | {
"content_hash": "69db0fb23e679531e8f89582d4d69be1",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 82,
"avg_line_length": 19.46153846153846,
"alnum_prop": 0.6561264822134387,
"repo_name": "cache2k/cache2k",
"id": "2c1f372153df90542d06519e7fff21fc060af40a",
"size": "1184"... |
<!DOCTYPE html>
<html>
<head>
<title>Hub-Press - डाँफे ब्लकचेन सेवा</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="apple-mobile-web-app-capable" content="... | {
"content_hash": "fe800982424705db92e1093510ea3eb1",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 291,
"avg_line_length": 53.26519337016575,
"alnum_prop": 0.6081319365211078,
"repo_name": "Nepal-Blockchain/danphe-blogs",
"id": "598329537a038d729f73234f1d2aafd5c06e5c91",
... |
Here's the NATO phonetic alphabet[^wiki]: Alfa, Bravo, Charlie, Delta, Echo, Foxtrot, Golf, Hotel, India, Juliet, Kilo, Lima, Mike, November, Oscar, Papa, Quebec, Romeo, Sierra, Tango, Uniform, Victor[^name][^consecutive], Whiskey, X-ray, Yankee, and Zulu.
And here's some more text.
[^wiki]: Read more about it here.
... | {
"content_hash": "3159b0566136eebd7a843d8d7acc12b7",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 256,
"avg_line_length": 23.51260504201681,
"alnum_prop": 0.6912080057183703,
"repo_name": "zestedesavoir/zmarkdown",
"id": "9774c709f9b0dafb1d3005f054c98eebb1f75081",
"siz... |
import praw
import prawcore
import os
def reddit_login():
'''logs in the user using OAuth 2.0 and returns a redditor object for use'''
user_agent = 'PC:redditFavoriteGrab:v0.1 (by /u/Scien)'
r = praw.Reddit('mysettings', user_agent=user_agent)
try:
return r.user.me()
except prawcore.excepti... | {
"content_hash": "9a88cc9e52eb8ac11a02f95f78d6597b",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 124,
"avg_line_length": 34,
"alnum_prop": 0.6395721925133689,
"repo_name": "mmmvdb/redditFavoriteGrab",
"id": "1f733b187bb513700aad4cfa13114d1a2a48143c",
"size": "1870",
... |
module HerokuPgBackupsArchive
module ToolbeltHelper
RETRIES = 5
class << self
def capture_backup
run("pg:backups:capture -a #{HerokuPgBackupsArchive.config.app_name} #{follower_db(HerokuPgBackupsArchive.config.app_name)}")
end
def fetch_backup_public_url(backup_id)
run("pg:... | {
"content_hash": "49ead1ecbe371e2d275285cf07f56709",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 133,
"avg_line_length": 29.104166666666668,
"alnum_prop": 0.5912670007158196,
"repo_name": "hightower/heroku_pg_backups_archive",
"id": "339028d5e00f47e89f2f99bcc9d233b3accf8... |
package acls
import (
"fmt"
"testing"
"go.chromium.org/luci/auth/identity"
"go.chromium.org/luci/gae/service/datastore"
"go.chromium.org/luci/server/auth"
"go.chromium.org/luci/server/auth/authtest"
gerritpb "go.chromium.org/luci/common/proto/gerrit"
cfgpb "go.chromium.org/luci/cv/api/config/v2"
"go.chromi... | {
"content_hash": "fe9d95f948f88f37ec9fa4ebf1f3169c",
"timestamp": "",
"source": "github",
"line_count": 443,
"max_line_length": 104,
"avg_line_length": 32.79909706546275,
"alnum_prop": 0.6540261527873366,
"repo_name": "luci/luci-go",
"id": "0af4cce37a7399a73af554e92e2535c624ae40d5",
"size": "15126"... |
//
// MTFittedScrollView.h
// FamilySearch
//
// Created by Adam Kirk on 11/27/12.
// Copyright (c) 2012 Family Search. All rights reserved.
//
@interface MTFittedScrollView : UIScrollView <UIScrollViewDelegate>
/**
The zoomable view that is required for zooming in a scrollview. All your contain must be subview... | {
"content_hash": "914ab3d966028839afcde4ecb01e076b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 113,
"avg_line_length": 20.87878787878788,
"alnum_prop": 0.7155297532656023,
"repo_name": "mysterioustrousers/MTFittedScrollView",
"id": "ae2cf6e02d4ceec2573a8749f4903120a358... |
This grammer was developed for use by [the OpenPplSoft Runtime Project](http://openpplsoft.org).
Example PeopleCode programs are included in the `examples/` subdirectory. Run `mvn clean test` at a bash prompt to test the grammar with these examples.
| {
"content_hash": "993c3b840633e8379d148f976cbd7ce5",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 152,
"avg_line_length": 83.66666666666667,
"alnum_prop": 0.7928286852589641,
"repo_name": "tcsiwula/java_code",
"id": "e2543783f39ef43412d18028cfda894ed8daca48",
"size": "27... |
package com.gemstone.gemfire.internal.cache.tier.sockets;
import dunit.DistributedTestCase;
import dunit.Host;
public class RedundancyLevelPart2DUnitTest extends RedundancyLevelTestBase
{
/** constructor */
public RedundancyLevelPart2DUnitTest(String name) {
super(name);
}
public static void cas... | {
"content_hash": "4448c1bae436fd4cc792fa16eefa0694",
"timestamp": "",
"source": "github",
"line_count": 521,
"max_line_length": 117,
"avg_line_length": 41.771593090211134,
"alnum_prop": 0.6925056288195561,
"repo_name": "fengshao0907/incubator-geode",
"id": "0e74208fd58932ade587f97b3858a411a58a8126",
... |
- **0.7.1** — *2015-08-24* — jsc.throws
- Add `jsc.throws` [#133](https://github.com/jsverify/jsverify/pull/133)
- **0.7.0** — *2015-08-23* — More experiments
- `jsc.sum` - generate arbitrary sum types (generalisation of either) [#125](https://github.com/jsverify/jsverify/pull/125)
... | {
"content_hash": "e44ee45d67339235a3c891db0885cb09",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 192,
"avg_line_length": 47.84177215189873,
"alnum_prop": 0.6462495039026326,
"repo_name": "dmitriid/jsverify",
"id": "b35dd8c22551dcc1421fb495f66b916ac98585da",
"size": "7... |
/* eslint-disable */
const Gatsby = require(`gatsby`);
export const query = Gatsby.graphql`
query {
allSitePages {
prefix
}
}
`;
| {
"content_hash": "b16846881a540ab6b1226fe4190be3eb",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 36,
"avg_line_length": 14.8,
"alnum_prop": 0.6013513513513513,
"repo_name": "gatsbyjs/gatsby",
"id": "7bdd0ff50de2af3123e2a47588832aa7db443026",
"size": "148",
"binary": ... |
Upgrade_Nginx()
{
cd $oneinstack_dir/src
[ ! -e "$nginx_install_dir/sbin/nginx" ] && echo "${CWARNING}The Nginx is not installed on your system! ${CEND}" && exit 1
OLD_Nginx_version_tmp=`$nginx_install_dir/sbin/nginx -v 2>&1`
OLD_Nginx_version=${OLD_Nginx_version_tmp##*/}
echo
echo "Current Nginx Version: ${CMSG}$OLD_N... | {
"content_hash": "572752043ca88124ead80230ed77b984",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 176,
"avg_line_length": 42.80555555555556,
"alnum_prop": 0.6396279472204196,
"repo_name": "xiaoyawl/OneInStack",
"id": "72c98ebeaba62b8568ca3de1440bfc39d81930cf",
"size": ... |
from google.cloud import dialogflow_v2
def sample_get_conversation():
# Create a client
client = dialogflow_v2.ConversationsClient()
# Initialize request argument(s)
request = dialogflow_v2.GetConversationRequest(
name="name_value",
)
# Make the request
response = client.get_conv... | {
"content_hash": "6dd18d717b2053777e0a522de857f253",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 77,
"avg_line_length": 24.842105263157894,
"alnum_prop": 0.7203389830508474,
"repo_name": "googleapis/python-dialogflow",
"id": "04fa5f4d5e743d9272d22a8a772d5609398037bf",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Archives: 2016 | 窦新的 Blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="description">
<meta property="og:type" content="website">
<meta property="og:title" content="窦新的 Blog">
<meta propert... | {
"content_hash": "0d87128ac7eba407265560ab626f3f23",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 332,
"avg_line_length": 24.69364161849711,
"alnum_prop": 0.5699906367041199,
"repo_name": "douxin/douxin.github.io",
"id": "87fece2279f3b290e11ba1d0ffc415b4e01a6b4a",
"siz... |
Console is a cli tool for performing tasks
Usage
<?php echo $_SERVER['argv'][0]; ?> {task} --task=[options]
Where {task} is one of the following:
<?php
/** @var array $tasks */
foreach ($tasks as $task)
{
?>
* <?php echo $task; ?>
<?php
}
?>
For more information on what a task does and usage details execu... | {
"content_hash": "9d795cac03a91af2bcac140f9cdfffb6",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 66,
"avg_line_length": 16.565217391304348,
"alnum_prop": 0.6141732283464567,
"repo_name": "ywisax/sdkframework",
"id": "45a3e59afb2db38c26ed7b32fabfce214fbb7d2d",
"size": "... |
package example.repo;
import example.model.Customer196;
import java.util.List;
import org.springframework.data.repository.CrudRepository;
public interface Customer196Repository extends CrudRepository<Customer196, Long> {
List<Customer196> findByLastName(String lastName);
}
| {
"content_hash": "1d19fb46d5494c51b51f1e9d062ac7e7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 82,
"avg_line_length": 23.333333333333332,
"alnum_prop": 0.8285714285714286,
"repo_name": "goodjwon/spring-data-examples",
"id": "5fc799013540c5524a003aeeb5827d7e6395402b",
... |
package org.mybatis.generator.api;
import static org.mybatis.generator.internal.util.messages.Messages.getString;
import java.io.File;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;... | {
"content_hash": "73a32c4d23a77976af9c680a01aada5a",
"timestamp": "",
"source": "github",
"line_count": 213,
"max_line_length": 110,
"avg_line_length": 36.03755868544601,
"alnum_prop": 0.5484627410109432,
"repo_name": "ryuhi/ryuhi_mybatis-generator-core",
"id": "aa633151ccd364c519720541bf9118979ce0f6... |
/*global describe, beforeEach, it */
'use strict';
var path = require('path');
var helpers = require('yeoman-generator').test;
describe('Gulp webapp generator test', function () {
beforeEach(function (done) {
helpers.testDirectory(path.join(__dirname, 'temp'), function (err) {
if (err) {
done(err);... | {
"content_hash": "3b806290f075037aa6893173ee04864a",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 72,
"avg_line_length": 23.41176470588235,
"alnum_prop": 0.5636515912897823,
"repo_name": "zerob13/generator-gulp-happy-mobile-webapp",
"id": "eb6eab9f9c9a08318300b61a2facd359... |
package com.lee.game.gdx.spine.superspineboy;
import static com.lee.game.gdx.spine.superspineboy.Model.*;
import com.lee.game.gdx.spine.superspineboy.Model.State;
import com.badlogic.gdx.math.MathUtils;
/** The model class for an enemy. */
class Enemy extends Character {
static float heightSource = 398, width = ... | {
"content_hash": "46ac7a33cbf0ed4fad7b5fb8662fefa2",
"timestamp": "",
"source": "github",
"line_count": 184,
"max_line_length": 109,
"avg_line_length": 28.994565217391305,
"alnum_prop": 0.6554826616682287,
"repo_name": "noobyang/AndroidStudy",
"id": "afe22879f160289c91c34ea53c1a0196f2bd3af8",
"size... |
id: 587d781c367417b2b2512ac4
title: Встановлення розміру шрифту тексту абзацу
challengeType: 0
videoUrl: 'https://scrimba.com/c/cVJ36Cr'
forumTopicId: 301068
dashedName: set-the-font-size-of-paragraph-text
---
# --description--
Властивість `font-size` у CSS не обмежується лише заголовками, вона може застосовуватись д... | {
"content_hash": "f9bb2b447538b8c23a232225662bedea",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 336,
"avg_line_length": 28.607843137254903,
"alnum_prop": 0.7388622344071282,
"repo_name": "FreeCodeCamp/FreeCodeCamp",
"id": "875fb65ce6458bddda829ec1518d08a9ce2ca52b",
"s... |
package com.google.gapid.views;
import static com.google.gapid.util.Loadable.Message.info;
import static com.google.gapid.util.Loadable.Message.smile;
import static com.google.gapid.util.Loadable.MessageType.Error;
import static com.google.gapid.util.Loadable.MessageType.Info;
import static com.google.gapid.widgets.W... | {
"content_hash": "434050956fe8e7a7f4e8292282b9dcec",
"timestamp": "",
"source": "github",
"line_count": 393,
"max_line_length": 107,
"avg_line_length": 33.05089058524173,
"alnum_prop": 0.6828855185156671,
"repo_name": "google/gapid",
"id": "1f9f400784d778b631a6a5c89b12fddbd97e2af4",
"size": "13592"... |
@implementation SinglePlayer
//synthesize variable names
@synthesize largeship_p1, mediumship_p1, smallship_p1, smallship2_p1, tinyship_p1, largeship_p2, mediumship_p2, smallship_p2, smallship2_p2, tinyship_p2;
@synthesize grid_p1, grid_p2, human_attack_AI, AI_attack_human;
@synthesize label_p1, label_p2, current_turn... | {
"content_hash": "eace87dabe51657b5afd9b8f163f3ca4",
"timestamp": "",
"source": "github",
"line_count": 1481,
"max_line_length": 263,
"avg_line_length": 32.25050641458474,
"alnum_prop": 0.5835269978853924,
"repo_name": "startupjing/IOS",
"id": "5a8b29424cbc1a8530a1ed1e337a784f656de71c",
"size": "47... |
<html>
<head>
<link href="../../../../eacont.css" rel=stylesheet>
<title>Package Contents for External Systems</title>
<meta http-equiv="Content-Type" content="text/html">
</head>
<BODY leftmargin="0">
<TABLE BORDER="0" width="100%">
<TR>
<TD WIDTH="100%" class=ContentTitle>External Systems</TD>
</TR>
<... | {
"content_hash": "7e7c8aee7df9d4fbd3a03084954ac667",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 98,
"avg_line_length": 42.46875,
"alnum_prop": 0.6070640176600441,
"repo_name": "NCIP/caintegrator-docs",
"id": "e189390bbc756f45fc9203fa2d525e14603c7e09",
"size": "1359",
... |
/**
* Given an array of dependencies - it returns their RNPM config
* if they were valid.
*/
module.exports = function getDependencyConfig(config, deps) {
return deps.reduce((acc, name) => {
try {
return acc.concat({
config: config.getDependencyConfig(name),
name,
});
} catch ... | {
"content_hash": "4347710552f39168a9e624cdf4197bb8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 64,
"avg_line_length": 20.473684210526315,
"alnum_prop": 0.5784061696658098,
"repo_name": "hoastoolshop/react-native",
"id": "71ce26590906ea2537b6163449e96fc9d6c02cc0",
"si... |
ENV["RAILS_ENV"] ||= "test"
puts File.expand_path("../../spec/dummy/config/environment", __FILE__)
require File.expand_path("../../spec/dummy/config/environment", __FILE__)
require 'websocket_rails/spec_helpers'
| {
"content_hash": "eeb80a4296b96eb47bab3a186c38907f",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 73,
"avg_line_length": 42.6,
"alnum_prop": 0.6854460093896714,
"repo_name": "woohp/sync",
"id": "87951c07cae7bff71b73cf709d0b07e410ea7bbe",
"size": "213",
"binary": false,... |
#define EV_STANDALONE /* keeps ev from requiring config.h */
#ifdef _WIN32
#define EV_SELECT_IS_WINSOCKET 1 /* configure libev for windows select */
#define EV_USE_MONOTONIC 0
#define EV_USE_REALTIME 0
#endif
#include "../libev/ev.h"
| {
"content_hash": "5da50ba0bc1a9a2181c363f61774836a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 75,
"avg_line_length": 25.2,
"alnum_prop": 0.6825396825396826,
"repo_name": "cosmo0920/cool.io",
"id": "b19016fa02667501238e80386e39cf38220e50d7",
"size": "252",
"binary"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.jsimpledb.kv.util.AbstractKVNavigableMap (Java Class Library API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" t... | {
"content_hash": "cedb8bd3a0d6a48e72c6fcbe3a96343b",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 345,
"avg_line_length": 41.503184713375795,
"alnum_prop": 0.6419582565991406,
"repo_name": "tempbottle/jsimpledb",
"id": "5288142fc213e56364dfcfae65a96796973c3a0a",
"size"... |
package edu.utk.phys.fern;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
class ReadAFile{
public int bufferLength;
// Overload the constructor so that an instance can be invoked with an argument
// giving the size of the buffer required for that instance instead of usi... | {
"content_hash": "53075c14443c1b3129075689657f6a9c",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 116,
"avg_line_length": 39.42342342342342,
"alnum_prop": 0.5303930530164533,
"repo_name": "jayjaybillings/fern",
"id": "783152fb9a83dbf82601f366a65028361d3d5f65",
"size": ... |
<?xml version="1.0" ?>
<Simulation>
<TestInfo>
<name>framework/CodeInterfaceTests/PHISICS.phisics</name>
<author>rouxpn</author>
<created>2018-04-23</created>
<classesTested>Models.Code.Phisics</classesTested>
<description>
This test is aimed to test the mechanics of the interface between ... | {
"content_hash": "bf801e2c389c8fa0b8bbde75ef7ad24e",
"timestamp": "",
"source": "github",
"line_count": 206,
"max_line_length": 143,
"avg_line_length": 49.970873786407765,
"alnum_prop": 0.6095783951816592,
"repo_name": "idaholab/raven",
"id": "7217fbf48d4d308d4a75e9e5deee3180bc7dbdce",
"size": "102... |
namespace SharpNeat.Core
{
/// <summary>
/// Generic interface for classes that decode genomes into phenomes.
/// </summary>
/// <typeparam name="TGenome">The genome type to be decoded.</typeparam>
/// <typeparam name="TPhenome">The phenome type that is decoded to.</typeparam>
public interface ... | {
"content_hash": "3d6f00e43a417d314b2d2895ccabab79",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 112,
"avg_line_length": 39.22222222222222,
"alnum_prop": 0.6558073654390935,
"repo_name": "colgreen/sharpneat",
"id": "0c033ac015c49619b4adccb70742b96d2ac8610d",
"size": "1... |
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, national... | {
"content_hash": "e13309028690e9d6ec519d83e18e7c04",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 446,
"avg_line_length": 75.16666666666667,
"alnum_prop": 0.8213493823249921,
"repo_name": "unixorn/bigriver-tools",
"id": "f83d3f3ae6165b5a2f21808127d9825645fc1a86",
"size"... |
{% extends "devhub/base.html" %}
{% from "devhub/includes/macros.html" import tip, some_html_tip, empty_unless, compat %}
{% set title = _('Manage Version {0}')|f(version.version) %}
{% block title %}{{ dev_page_title(title, addon) }}{% endblock %}
{% block content %}
<header>
{{ dev_breadcrumbs(addon, items=[(ad... | {
"content_hash": "b3eef1967235aec6bf813a318833049d",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 131,
"avg_line_length": 37.64900662251656,
"alnum_prop": 0.41864555848724716,
"repo_name": "andymckay/addons-server",
"id": "5d729485308e804054c80505e3b8da77f11e0418",
"si... |
from .OAuth2Util import OAuth2Util
| {
"content_hash": "b6c1bcc1877cf83ba3e4360d72360431",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 34,
"avg_line_length": 35,
"alnum_prop": 0.8571428571428571,
"repo_name": "13steinj/praw-OAuth2Util",
"id": "3f5ea3bd7a9326e06c831bbf69f70bcfef31a61c",
"size": "35",
"bina... |
package org.thingsboard.server.transport.coap;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.eclipse.californium.core.CoapHandler;
import org.eclipse.californium.core.CoapResponse;
import org.eclipse.californium.core.coap.CoAP;
import java.util.concurrent.CountDownLatch;
@Slf4j
@Data
public class... | {
"content_hash": "64d13b36cd83ec1d2242f2e735675a01",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 59,
"avg_line_length": 23.88888888888889,
"alnum_prop": 0.6953488372093023,
"repo_name": "volodymyr-babak/thingsboard",
"id": "89fa13220d4550ebf3d45e7bc7316b76c517db84",
"s... |
<?php
namespace Amranidev\Ajaxis\Materialize\Builders;
use Amranidev\Ajaxis\Modal\Modal;
use Amranidev\Ajaxis\Modal\ModalInterface;
/**
* class MaterializeModalBuilder.
*
* @author Amrani Houssain <amranidev@gmail.com>
*/
class MaterializeModalBuilder implements ModalInterface
{
/**
* Modal Instance.
... | {
"content_hash": "c8454f1f07739f49fadabefe0d5fb01d",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 112,
"avg_line_length": 27.43859649122807,
"alnum_prop": 0.5083120204603581,
"repo_name": "YuChenTech/yilai",
"id": "fe35e96d39d9437250763ceac3e94c776572ed5c",
"size": "31... |
package com.github.basking2.sdsai.marchinesquares;
import java.io.Closeable;
import java.util.ArrayList;
/**
* This performs much the same function as the {@link VectorTileGroup} but surrounding the shape with a constant field.
*
* The effect is that all edges should be closed.
*
*/
public class EnclosedVector... | {
"content_hash": "6c31a51a40f0d4ac55c502d968efc335",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 119,
"avg_line_length": 27.30635838150289,
"alnum_prop": 0.5783234546994073,
"repo_name": "basking2/sdsai",
"id": "ad43cc342ff0bf421e459e182b2b569a5dd055a0",
"size": "4772... |
@charset 'UTF-8';
.modal-gallery {width: auto;max-height: none;outline: none;}
.modal-gallery.fade.in {top: 50%;}
.modal-gallery .modal-body {max-height: none;}
.modal-gallery .modal-title {
display: inline-block;
max-height: 54px;
overflow: hidden;
}
.modal-gallery .modal-image {
position: relative;
margin:... | {
"content_hash": "a9a34d4010f3590d486a9637c58546fa",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 60,
"avg_line_length": 22.587786259541986,
"alnum_prop": 0.6688070294018249,
"repo_name": "VIP000/hosting",
"id": "d9afd9802e9e02e8a677763182d98250e081d243",
"size": "3198... |
// <copyright file="DefaultArgumentConverter.cs" company="natsnudasoft">
// Copyright (c) Adrian John Dunstan. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | {
"content_hash": "50043804817737e921d38835454c0a6d",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 97,
"avg_line_length": 36.375,
"alnum_prop": 0.697594501718213,
"repo_name": "natsnudasoft/AdiePlayground",
"id": "641dbd9ae7972a90f550c5293f8b03362bac4d60",
"size": "1166"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "55670685e7323a1edabdf43ea5f6b11a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "ef9b91ff822851ace806c6771750613587ddfeed",
"size": "174... |
First make sure code-d is installed and enabled in the current workspace:

Next make sure you have opened some folder in VSCode (this is your workspace) and that you have some D file or dub.json/dub.sdl file. Verify by checking ... | {
"content_hash": "4b90a163e570d5a0466e047a393d5caa",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 557,
"avg_line_length": 73.15463917525773,
"alnum_prop": 0.7824126268320181,
"repo_name": "Pure-D/code-d",
"id": "b995797fc6543c311a8adf39e402a753fac55ec0",
"size": "7173",... |
---
uid: SolidEdgePart.PartingSplit.GetPartingFaces(System.Int32@,System.Array@)
summary:
remarks:
syntax:
parameters:
- id: NumberOfEntities
description: Specifies the number of entities in the PartingFaces array.
- id: PartingFaces
description: Specifies the dispatch pointers to the faces o... | {
"content_hash": "d999a4b8d886c2fc162959f586376b16",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 99,
"avg_line_length": 32.63636363636363,
"alnum_prop": 0.7381615598885793,
"repo_name": "SolidEdgeCommunity/docs",
"id": "c3010e2ec58f57ca050143eafeba85bf841c7e56",
"size"... |
'''
This script uses Pattern's sentiment analysis to find the average polarity and subjectivity of collected tweets about presidential candidates
by Ziyu (Selina) Wang
last modified: September 28, 2015
'''
from pattern.en import * # Importing Patern to be utilized later
# Creating a list with all the candidates names
c... | {
"content_hash": "db3c9d642e44bf6f0ef4e67ac6936376",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 318,
"avg_line_length": 51.15,
"alnum_prop": 0.7512218963831867,
"repo_name": "SelinaWang/SoftwareDesignFall15",
"id": "5ad565c71687952a494cdb8a9cd41d18485f13a2",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>ActionDispatch::RailsEntityStore::Rack::Cache</title>
<meta http-... | {
"content_hash": "fc370b44dac62f9cb34a6536bf501b26",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 252,
"avg_line_length": 25.216867469879517,
"alnum_prop": 0.5456282847587195,
"repo_name": "billwen/netopt",
"id": "48bc21aa5d1ca23a60f16ebad5ccb8b7b95fa52d",
"size": "2093... |
const {expect} = require('chai');
const moxios = require('moxios');
const {Transport, Admin} = require('../../src');
describe('Admin', function () {
let transport;
beforeEach(function () {
// import and pass your custom axios instance to this method
moxios.install();
transport = new Transport();
});... | {
"content_hash": "076d3a5e2425dc522b6deaa50f98c600",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 64,
"avg_line_length": 26.508474576271187,
"alnum_prop": 0.5632992327365729,
"repo_name": "OpenTMI/opentmi-jsclient",
"id": "1d1697883929f4dacf3a548c682fc3db23067de8",
"siz... |
package org.apache.directory.server.core.operations.modify;
import static org.apache.directory.server.core.integ.IntegrationUtils.getSystemContext;
import javax.naming.directory.Attribute;
import javax.naming.directory.Attributes;
import javax.naming.directory.BasicAttribute;
import javax.naming.directory.BasicAttri... | {
"content_hash": "0d4ddbd345a10177d28ff578a0913e5f",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 88,
"avg_line_length": 33.350515463917525,
"alnum_prop": 0.635548686244204,
"repo_name": "drankye/directory-server",
"id": "3178a97c15a2d654f2c4158ca681f2966dd73848",
"size... |
using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MultiWorldTesting;
using System.Collections.Generic;
using System.Linq;
namespace ExploreTests
{
[TestClass]
public class MWTExploreTests
{
/*
** C# Tests do not need to be as ext... | {
"content_hash": "8707eaa315850397ff2235b3f17efde1",
"timestamp": "",
"source": "github",
"line_count": 520,
"max_line_length": 184,
"avg_line_length": 37.378846153846155,
"alnum_prop": 0.5585738539898133,
"repo_name": "multiworldtesting/explore",
"id": "c669950d024670374398bec4f076076224d335f1",
"... |
import os
import shutil
from nipype.interfaces.base import (traits, BaseInterfaceInputSpec,
TraitedSpec, BaseInterface,
File, Directory)
class CopyInputSpec(BaseInterfaceInputSpec):
in_file = traits.Either(File, Directory, exists=True, mandat... | {
"content_hash": "42b56648ac3a4ce54d81187b34006daa",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 74,
"avg_line_length": 34.54929577464789,
"alnum_prop": 0.566245413779046,
"repo_name": "ohsu-qin/qipipe",
"id": "132acafc2eca4544a688ccddeaf3be4deb39e894",
"size": "2453",... |
//
// DDPPlayerConfigPanelViewController.h
// DanDanPlayForiOS
//
// Created by JimHuang on 2018/9/23.
// Copyright © 2018年 JimHuang. All rights reserved.
//
#import "DDPBaseViewController.h"
NS_ASSUME_NONNULL_BEGIN
@class DDPPlayerConfigPanelViewController;
@protocol DDPPlayerConfigPanelViewControllerDelegate <... | {
"content_hash": "022c956385770cc01f3fd566c32d98dc",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 153,
"avg_line_length": 21.933333333333334,
"alnum_prop": 0.7955927051671733,
"repo_name": "sunsx9316/DanDanPlayForiOS",
"id": "f64dd89182b5d09343ca95aee484a476a210a3b8",
"... |
package com.coolerfall.uiart.htmlview;
/**
* desc
*
* @author Vincent Cheung
* @since Apr. 17, 2015
*/
public class HtmlParser {
}
| {
"content_hash": "d7a9230b00d4a2270c9e5e6bb4e1b40b",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 38,
"avg_line_length": 12.636363636363637,
"alnum_prop": 0.6546762589928058,
"repo_name": "Coolerfall/Android-UIArt",
"id": "73ce4cca3fcf141ab70ed73843e258057709fb46",
"siz... |
define(function(require) {
'use strict';
var $ = require('jquery');
var _ = require('underscore');
var __ = require('orotranslation/js/translator');
var scrollspy = require('oroui/js/scrollspy');
var mediator = require('oroui/js/mediator');
var tools = require('oroui/js/tools');
require... | {
"content_hash": "ba3936fe3c2ab3ef2be94d59b8c690ab",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 110,
"avg_line_length": 33.429022082018925,
"alnum_prop": 0.472869680098141,
"repo_name": "devGomgbo/stockvalue",
"id": "d98ec6917c08279f642871abca781a09398945cf",
"size":... |
require 'captain_oveur/routes.rb'
require 'captain_oveur/authentication.rb'
require 'captain_oveur/user.rb' | {
"content_hash": "3c61d398a906ea5710c4640fe2facd12",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 41,
"avg_line_length": 35.666666666666664,
"alnum_prop": 0.8130841121495327,
"repo_name": "disruptive/captain_oveur",
"id": "81f042d1cf8f71ff9bbc90ebdf2931c24b2a45c3",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.