text stringlengths 2 1.04M | meta dict |
|---|---|
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "94d9cdc5cab219f6f500ac7c2427525a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "45aa05843806230a040f5c2c0e0816020b5347de",
"size": "177... |
@interface CRWFakeWKFrameInfo : WKFrameInfo
// Redefined WKNavigationAction properties as readwrite.
@property(nonatomic, readwrite, getter=isMainFrame) BOOL mainFrame;
@property(nonatomic, readwrite, copy) NSURLRequest* request;
@property(nonatomic, readwrite) WKSecurityOrigin* securityOrigin;
@property(nonatomic, rea... | {
"content_hash": "3814fe1cb6657a1f636307cedb75917d",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 67,
"avg_line_length": 46.22222222222222,
"alnum_prop": 0.8052884615384616,
"repo_name": "chromium/chromium",
"id": "de3cf5a2f7d26d1a3b34344bca0e212eb092643d",
"size": "751"... |
(function() {var implementors = {};
implementors["interval_set"] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/cmp/trait.Ord.html' title='core::cmp::Ord'>Ord</a> for <a class='struct' href='interval_set/interval_set/struct.Interval.html' title='interval_set::interval_set::Interval'>Interval</a>... | {
"content_hash": "0d33972ce8e5ff00cde0b511374d9f10",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 288,
"avg_line_length": 54.3,
"alnum_prop": 0.6243093922651933,
"repo_name": "adfaure/procset.rs",
"id": "b274b0b44b9e1425e8f67e83eda2251f2ac95bce",
"size": "543",
"binar... |
@interface YWPersonNewsDetailViewController : JWBasicViewController
@property (nonatomic,copy)NSString * newsTime;
@end
| {
"content_hash": "2b7d3054da581fa767293e90da8fe8e2",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 67,
"avg_line_length": 24.4,
"alnum_prop": 0.8360655737704918,
"repo_name": "daidi-double/new_yuWaShop",
"id": "2436fb6cab6bb422b295a7d59a77b097ba9d4215",
"size": "353",
"... |
package org.apache.geode.management.internal.configuration;
import static org.junit.Assert.assertTrue;
import junitparams.JUnitParamsRunner;
import junitparams.Parameters;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.junit.runne... | {
"content_hash": "12d6d036dbc0ff6016a0fb536e53d3dc",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 100,
"avg_line_length": 40.5,
"alnum_prop": 0.7914951989026063,
"repo_name": "pivotal-amurmann/geode",
"id": "b2e505b071bb1a5279cb5dcf04ed287e91c826d3",
"size": "4434",
"... |
<?php
use yii\helpers\Html;
use yii\helpers\Inflector;
/* @var $this yii\web\View */
/* @var $model backend\models\Program */
$controller = $this->context;
$menus = $controller->module->getMenuItems();
$this->params['sideMenu'][$controller->module->uniqueId]=$menus;
$this->title = Yii::t('app', 'Status Mengikuti Di... | {
"content_hash": "764b7dbb12cf4507fb38b4e3c683e9eb",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 151,
"avg_line_length": 33.28947368421053,
"alnum_prop": 0.6031620553359683,
"repo_name": "hscstudio/osyawwal2",
"id": "4027826785fc5662e75e4bbb5e843415e5367918",
"size": "... |
#include <time.h>
#include "spi.h"
#define MAX_NANO_TIME 999999999
/**
* @brief Initialize pin on RedPitaya-board
*
* @param pin_number The number of the pin
* @param dir Pin direction (in/out)
* @param lvl Initial level of the pin (low/high)
*/
void init_pin(uint8_t pin_number, RP ... | {
"content_hash": "698445fd0f666098678a2c2faa3d2d4f",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 127,
"avg_line_length": 23.773972602739725,
"alnum_prop": 0.6257562662057045,
"repo_name": "opttechnik/spilib",
"id": "0e1e397a2ea1e38f9c48924a1e4309be3e60c668",
"size": "... |
<?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | {
"content_hash": "af7dc4adf7e83ac3a26e6a45294ef7b3",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 229,
"avg_line_length": 40.36760124610592,
"alnum_prop": 0.5852755054792407,
"repo_name": "StWings/yupe",
"id": "d1a65f1730dd6d38e229ca6a42ad4c9d9c805b39",
"size": "12962"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fundamental-arithmetics: Not compatible</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../boot... | {
"content_hash": "4f1fce6e319694367cc03aea3152e5ca",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 181,
"avg_line_length": 42.75460122699386,
"alnum_prop": 0.5492897115798536,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "64e55a3b19fe07073f3e9f113ee649ec33d5ac45",
... |
object Test extends App {
val result = new Test_1().doubler().asInstanceOf[T[Int]].t(1)
assert(result == 2)
}
| {
"content_hash": "48fd55661e023b73b8b45354879ab4a0",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 63,
"avg_line_length": 28.5,
"alnum_prop": 0.6578947368421053,
"repo_name": "scala/scala",
"id": "02e22062a58f0ef30759e702c42d219abe0e23a1",
"size": "114",
"binary": false... |
SELECT
reference_name,
start,
END,
reference_bases,
alternate_bases,
no_calls,
all_calls,
(no_calls/all_calls) AS missingness_rate
FROM (
SELECT
reference_name,
start,
END,
reference_bases,
GROUP_CONCAT(alternate_bases) WITHIN RECORD AS alternate_bases,
SUM(call.genotype == -1)... | {
"content_hash": "865413eccef54768901dd98994c14761",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 67,
"avg_line_length": 24,
"alnum_prop": 0.6794871794871795,
"repo_name": "gregmcinnes/codelabs-obselete",
"id": "463f7ffe809f539b15744936c11b27de227dbffd",
"size": "671",
... |
package org.elasticsearch.index.mapper.timestamp;
import org.apache.lucene.index.IndexOptions;
import org.elasticsearch.Version;
import org.elasticsearch.action.TimestampParsingException;
import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticse... | {
"content_hash": "89be1eb0fd1bb317e92a5de9fc443a51",
"timestamp": "",
"source": "github",
"line_count": 393,
"max_line_length": 225,
"avg_line_length": 53.27735368956743,
"alnum_prop": 0.6684497086636737,
"repo_name": "camilojd/elasticsearch",
"id": "14d86290db41b5de9feec4c44a16dae12304924f",
"size... |
TiddlyMap - Code documentation
---------------------------------------------------------------------
This documentation is automatically generated from code comments via
[JSDoc](http://usejsdoc.org/index.html). So instead of browsing the code
and looking at the code comments, you can use this api docu to get your
info... | {
"content_hash": "c522bb4ee56cd7921d588f4f9a32e406",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 98,
"avg_line_length": 37.03448275862069,
"alnum_prop": 0.7067039106145251,
"repo_name": "felixhayashi/TW5-TiddlyMap",
"id": "98067387e48b31a4342f7244a0591702cedfaf61",
"si... |
import { every } from "lodash";
export = every;
| {
"content_hash": "dc0d7919f2bea530be3df5cbeb95f9f0",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 31,
"avg_line_length": 24,
"alnum_prop": 0.6666666666666666,
"repo_name": "micurs/DefinitelyTyped",
"id": "84fd71115ad947ea5cb1a7e582f2837a0720315c",
"size": "372",
"binar... |
<!--
~ Copyright (c) 2007, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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.o... | {
"content_hash": "4f4bf26b6a23f9d11df704d501ef6ab5",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 137,
"avg_line_length": 32.03968253968254,
"alnum_prop": 0.5754272974981421,
"repo_name": "omindu/carbon-identity",
"id": "7158244b1d49c82b8810ee3efbc8e4eb513d1e54",
"size... |
.oo-ui-icon-article {
background-image: url('themes/wikimediaui/images/icons/article-ltr.png');
background-image: linear-gradient(transparent, transparent), /* @embed */ url('themes/wikimediaui/images/icons/article-ltr.svg');
}
.oo-ui-icon-articles {
background-image: url('themes/wikimediaui/images/icons/article... | {
"content_hash": "20adcd97675b9caf4b25eb95279097cb",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 141,
"avg_line_length": 56.12068965517241,
"alnum_prop": 0.7523809523809524,
"repo_name": "extend1994/cdnjs",
"id": "725dff361805688e194cad2a48d918b4b91ecbf6",
"size": "347... |
using System;
using System.Linq;
using System.Dynamic;
using System.Collections.Generic;
namespace CsDebugScript
{
/// <summary>
/// Base class for all C# scripts.
/// </summary>
public class ScriptBase
{
/// <summary>
/// Helper class for making Modules be dynamic object inside th... | {
"content_hash": "5c71b3ce6ea73a659f172bc494c6a297",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 131,
"avg_line_length": 33.31366459627329,
"alnum_prop": 0.5116062272769647,
"repo_name": "LepiKlark/WinDbgCs",
"id": "480ab7277b4d351e84d944f0bcdeb32359e0b002",
"size": "... |
package de.kjgbb.kaeseglocke.app.news;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;
import de.kjgbb.kaeseglocke.app.R;
public class NewsActivity extends AppCompatActivity {
@Override
protect... | {
"content_hash": "68763253c086c731119cb190a09c5a9d",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 80,
"avg_line_length": 31.17391304347826,
"alnum_prop": 0.6701534170153417,
"repo_name": "dommaes/kaeseglockeApp",
"id": "db9fffd7a4fdadb5ac811bd378901084166a4939",
"size":... |
'use strict';
eventsApp.filter("duration", function(){
return function(duration){
switch(duration){
case 1:
return "Half Hour";
case 2:
return "Hour";
case 3:
return "Half day";
case 4:
return "F... | {
"content_hash": "af82c787cae4ffb312bf454974b48e3b",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 40,
"avg_line_length": 21.8125,
"alnum_prop": 0.4183381088825215,
"repo_name": "sudhirrlsharma/AngularJSTraining",
"id": "45b987d82a9d2f4b88b3e1ee30060bf1874c056c",
"size":... |
package com.asakusafw.compiler.flow.example;
import com.asakusafw.compiler.operator.model.MockHoge;
import com.asakusafw.vocabulary.flow.Export;
import com.asakusafw.vocabulary.flow.FlowDescription;
import com.asakusafw.vocabulary.flow.Import;
import com.asakusafw.vocabulary.flow.In;
import com.asakusafw.vocabulary.f... | {
"content_hash": "e42815445e554c5b14ac83a462ee900e",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 83,
"avg_line_length": 26.926829268292682,
"alnum_prop": 0.6766304347826086,
"repo_name": "asakusafw/asakusafw-mapreduce",
"id": "7bcd39359ae7487e520e163f70f44826c69cd7f3",
... |
/**
* Main application file
*/
'use strict';
import express from 'express';
import sqldb from './sqldb';
import config from './config/environment';
import http from 'http';
// Populate databases with sample data
if (config.seedDB) { require('./config/seed'); }
// Setup server
var app = express();
var server = htt... | {
"content_hash": "067e1da04855833fce65f97a5f587bc4",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 91,
"avg_line_length": 24.225,
"alnum_prop": 0.6780185758513931,
"repo_name": "wangchi/IdeaProject",
"id": "fab3a2d8f752eaf057c271e6093ac2cbbf3bb417",
"size": "969",
"bin... |
package io.opentelemetry.sdk.trace.testbed.actorpropagation;
import io.opentelemetry.api.trace.Span;
import io.opentelemetry.api.trace.SpanKind;
import io.opentelemetry.api.trace.Tracer;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.Scope;
import java.util.concurrent.ExecutorService;
impor... | {
"content_hash": "40c7c4d09c647ade3a48ebffe542779e",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 91,
"avg_line_length": 30.40506329113924,
"alnum_prop": 0.611157368859284,
"repo_name": "open-telemetry/opentelemetry-java",
"id": "73b6e4ca171d3f7c5cccbce1b7821fc902dcbcae",... |
<?php
namespace Snap\Lib\Db\Mysql;
class Query extends \Snap\Lib\Db\Query{
// nothing special
} | {
"content_hash": "603286a2dd62c6de2f55d0ef8d891771",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 39,
"avg_line_length": 14,
"alnum_prop": 0.7244897959183674,
"repo_name": "b-heilman/snap-php",
"id": "0b28cf193231fc8fa3cc2be06da2445fdcbf529a",
"size": "98",
"binary": f... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
W. C. H. Peters, Naturw. Reise Mossambique 6(1):55. 1861
#### Original name
null
### Remarks
null | {
"content_hash": "97c6f9109094ec2ae98288c5dab797c7",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 56,
"avg_line_length": 14.307692307692308,
"alnum_prop": 0.6881720430107527,
"repo_name": "mdoering/backbone",
"id": "b6e96f0a04620b59b98fa4cfbce31dbd6c5e6405",
"size": "24... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>encoding</servlet-name>
<servlet-class>com.github.jscookie.javacookie.test.integration.encoding.EncodingServ... | {
"content_hash": "aae6d7f1f5f8b1c65caa6d6a0e886008",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 107,
"avg_line_length": 37.53846153846154,
"alnum_prop": 0.6987704918032787,
"repo_name": "js-cookie/java-cookie",
"id": "fd34de06be440cb7f2154ca7e6e2753d2bdb7751",
"size":... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "99ca643803fdf4995ee36d24d7b5b7ce",
"timestamp": "",
"source": "github",
"line_count": 401,
"max_line_length": 131,
"avg_line_length": 40.62344139650873,
"alnum_prop": 0.4432780847145488,
"repo_name": "Ensembl/ensembl-production",
"id": "da3bfe526d8e9f3a501e1b5cf75d7d410c6a3721",
"... |
import { Share, Platform } from 'react-native';
import { track, events, categories } from '@utils/analytics';
import getSiteLink from './getSiteLink';
const share = (content) => {
Share.share({
...Platform.select({
ios: {
title: content.title || content.name,
message: content.title || conte... | {
"content_hash": "83af198c82a4e643e60a1bd91d47f6b8",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 76,
"avg_line_length": 26.91304347826087,
"alnum_prop": 0.6106623586429726,
"repo_name": "NewSpring/Apollos",
"id": "439e0ea835e8234cad98713b9af7e62ce992b2f8",
"size": "619... |
/*
Place all the styles related to the matching controller here.
They will automatically be included in application.css.
*/
i[class^="icon-"]:before {
display: inline-block;
text-decoration: none;
}
.nav-stacked-tight > li > a {
padding: 2px 15px;
}
| {
"content_hash": "67879d1fa46d4b36d7083c39f2741eb8",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 63,
"avg_line_length": 20.153846153846153,
"alnum_prop": 0.6946564885496184,
"repo_name": "bbc/hive-scheduler",
"id": "2a50ee4b476e491f296c1ee5704bc37ce41a9511",
"size": "2... |
package org.rzo.netty.ahessian.auth;
import java.security.NoSuchAlgorithmException;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
public class AuthTokenListFactory
{
private Map<ByteArrayWrapper, AuthToken> _tokens = new HashMap<ByteArrayWrapper, AuthToken>();
private int ... | {
"content_hash": "a61ce9f408a15d2d8c9471572514e69e",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 95,
"avg_line_length": 22.810344827586206,
"alnum_prop": 0.6863189720332578,
"repo_name": "cstroe/yajsw",
"id": "53d5d18cfe6d9aceee42bd9c4e660468d3bc2c57",
"size": "2099",
... |
namespace http {
namespace server {
/// A request received from a client.
struct request
{
std::string method;
std::string uri;
int http_version_major;
int http_version_minor;
std::vector<header> headers;
bool accepts(const std::string& format) const;
};
} // namespace server
} // namespace http
#endif // HTT... | {
"content_hash": "b4a37f46262c2207c74d46714bbcdec9",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 47,
"avg_line_length": 17.57894736842105,
"alnum_prop": 0.7125748502994012,
"repo_name": "rawler/bithorde",
"id": "41de1dc67cee0b2a2eef623963ec4072f2468d61",
"size": "719",... |
package org.apereo.cas.ticket;
import java.io.Serial;
/**
* This is {@link OAuth20UnauthorizedScopeRequestException}.
* The requested scope is invalid, unknown, malformed, or
* exceeds the scope granted by the resource owner.
*
* @author Misagh Moayyed
* @since 6.1.0
*/
public class OAuth20UnauthorizedScopeReq... | {
"content_hash": "00976645d3a36191e38907e4ad307319",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 86,
"avg_line_length": 26.80952380952381,
"alnum_prop": 0.7566607460035524,
"repo_name": "apereo/cas",
"id": "b420c70525897afc416402e47abb72c63092389f",
"size": "563",
"b... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>aac-tactics: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "bd51183657310f84973abee17c2d00ca",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 274,
"avg_line_length": 43.40490797546012,
"alnum_prop": 0.5491166077738516,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "c82de54a00ea3a0f6cec568b28cbf7259210d1d5",
... |
using Postulate.Orm.Abstract;
using Postulate.Orm.Models;
using System.Collections.Generic;
using System.Data;
namespace Postulate.Orm.ModelMerge.Actions
{
public class DropForeignKey : MergeAction
{
private readonly ColumnInfo _columnInfo;
public DropForeignKey(SqlSyntax syntax, ColumnInfo columnInfo) : base(... | {
"content_hash": "1c712346dcb961aa82325f8462e5680e",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 152,
"avg_line_length": 27.565217391304348,
"alnum_prop": 0.7870662460567823,
"repo_name": "adamosoftware/Postulate.Orm",
"id": "fd77baf4cf8db198aceb55c75cafbfb6df9e0dd7",
... |
@implementation NSObject (GreedDB)
#pragma mark - public
+ (id)ModelWithJsonString:(NSString *)jsonString {
NSDictionary *dictionary = [jsonString gr_object];
return [[self class] gr_objectFromDictionary:dictionary];
}
- (NSString *)gr_autoJSONString {
if (self) {
if ([self isKindOfClass:[NSStrin... | {
"content_hash": "4f8316d35768951851356382c0b82905",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 108,
"avg_line_length": 34.146341463414636,
"alnum_prop": 0.6207142857142857,
"repo_name": "greedlab/GreedDB",
"id": "f7e3f69a119d5d59090a76f245ea35658057a9ac",
"size": "15... |
using System;
using System.Collections.Generic;
using System.Text;
using Vestris.ResourceLib;
using System.IO;
using System.Web;
using NUnit.Framework;
using System.Reflection;
using System.Drawing;
namespace Vestris.ResourceLibUnitTests
{
[TestFixture]
public class FontDirectoryResourceTests
... | {
"content_hash": "10eccfb37b1700ece2e7d8112dcad36c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 95,
"avg_line_length": 33.85294117647059,
"alnum_prop": 0.6020851433536055,
"repo_name": "resourcelib/resourcelib",
"id": "76df26ed96e81a3e23857fe67d39f8ad50f272a8",
"size"... |
#ifndef ColorChooserPopupUIController_h
#define ColorChooserPopupUIController_h
#include "ColorChooserUIController.h"
#include "core/page/PagePopupClient.h"
#include "wtf/OwnPtr.h"
namespace WebCore {
class ColorChooserClient;
class PagePopup;
}
namespace blink {
class ColorChooserPopupUIController : public Color... | {
"content_hash": "934f8925efce0cfebde5ff33d4481674",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 105,
"avg_line_length": 26.875,
"alnum_prop": 0.7643410852713178,
"repo_name": "lordmos/blink",
"id": "ed575daff9a44fc191411038b62bc119c8b3633f",
"size": "2638",
"binary"... |
"""
A few bits of helper functions for comment views.
"""
import textwrap
try:
from urllib.parse import urlencode
except ImportError: # Python 2
from urllib import urlencode
from django.http import HttpResponseRedirect
from django.shortcuts import render_to_response, resolve_url
from django.template impor... | {
"content_hash": "16d23bc3fe7da25ae5ff32a05ed05077",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 79,
"avg_line_length": 29.057142857142857,
"alnum_prop": 0.6116027531956736,
"repo_name": "mdj2/django",
"id": "da70272282ec403492dabf50d81b4cd6d801aaa3",
"size": "2034",
... |
require 'actv/identity'
module ACTV
class Recurrence < Base
attr_reader :activityStartDate, :startTime, :activityEndDate, :endTime, :frequencyInterval, :frequency,
:days, :monthWeekInterval, :activityExclusions
alias start_date activityStartDate
alias start_time startTime
alias end_... | {
"content_hash": "9e255fb33e39221a2a58a37eeb7cd453",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 107,
"avg_line_length": 30.176470588235293,
"alnum_prop": 0.7563352826510721,
"repo_name": "activenetwork/actv",
"id": "e1796ffa453ddb9e37a7a79d4755062eb36b6fb3",
"size": "... |
require 'optparse'
require_relative 'lib/markov.rb'
require_relative 'lib/quiplash.rb'
require_relative 'lib/quiplash2.rb'
require_relative 'lib/teeko.rb'
require_relative 'lib/drawful2.rb'
GAMES = [:quiplash, :quiplash2, :teeko, :drawful2]
# Defaults
options = {
game: GAMES[0],
model: './model.mp.gz',
pic_dir... | {
"content_hash": "80a959fb0edd44cf69f1a56f3677bb46",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 84,
"avg_line_length": 27.083333333333332,
"alnum_prop": 0.6261538461538462,
"repo_name": "oslerw/quipbot",
"id": "ad672c9e9edb0e85d97fc1832fa88dd23b812762",
"size": "4567... |
<?php
namespace MouseOver\Storage;
/**
* Interface IFileSystem
*
* <p>Low level filesystem methods (interface inspired by Nette\Utils\FileSystem)</p>
*
* @package MouseOver\Storage
*/
interface IFileSystem
{
/**
* Creates a directory.
*
* @param string $dir Directory path
* @param in... | {
"content_hash": "19fe4cd3450d6b82290a396363d07f99",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 128,
"avg_line_length": 22.728,
"alnum_prop": 0.5688137979584653,
"repo_name": "mouse-over/storage",
"id": "72a2817968c804caa0a2491c8012b6d746d97a17",
"size": "2971",
"b... |
using MetroFramework;
namespace PE.Controls
{
public interface IStylable
{
void SetStyle(MetroColorStyle style);
void SetTheme(MetroThemeStyle theme);
}
}
| {
"content_hash": "f16c26e92be9057e1bd32a7084fabe8d",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 45,
"avg_line_length": 18.5,
"alnum_prop": 0.6810810810810811,
"repo_name": "PointExporterBG/PointExporter",
"id": "43ca7791c424d323e8b7d738ddecd2ab244f1eb3",
"size": "187"... |
import datetime
from taskbuffer.DBProxy import DBProxy
import userinterface.Client as Client
# password
from config import panda_config
passwd = panda_config.dbpasswd
# time limit
timeLimit = datetime.datetime.utcnow() - datetime.timedelta(days=1)
# instantiate DB proxies
proxyS = DBProxy()
proxyS.connect('adbpro.us... | {
"content_hash": "6f9f3b3db2cdb6ac6b1abcd897a07914",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 100,
"avg_line_length": 24.26923076923077,
"alnum_prop": 0.7702060221870047,
"repo_name": "RRCKI/panda-server",
"id": "a646ea2028a7c7c62cdf538ac36b24981f435d6d",
"size": "6... |
'use strict';
var m = require('../../../../node_modules/mithril');
module.exports = function(content) {
return m('.row.content', content);
};
| {
"content_hash": "2954c9970a2b62010cd740214bc5af8d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 21.142857142857142,
"alnum_prop": 0.6081081081081081,
"repo_name": "sslash/feedr",
"id": "294f6f0305cfce6c612877add0b75c112039c5ea",
"size": "148",
... |
package com.bjorktech.cayman.idea.corejava.jvm.util;
/**
* User: sheshan
* Date: 2018/8/23
* content:
* jvisualvm, heap dump, thread dump
*/
public class Dump {
}
| {
"content_hash": "7be78629a7f47cc6236144bd8d3fd0d7",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 52,
"avg_line_length": 14.25,
"alnum_prop": 0.672514619883041,
"repo_name": "wanliwang/cayman",
"id": "46306b1c5a4e5ee8916dc72b0f0ba2fa29127030",
"size": "171",
"binary":... |
package com.ecom.rest;
import com.ecom.domain.EstablishmentEntity;
import com.ecom.service.EstablishmentService;
import com.ecom.service.security.SecurityWrapper;
import com.ecom.service.security.UserService;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.inject.Named;
i... | {
"content_hash": "d294ce8a1451015472abb92a7676ac44",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 151,
"avg_line_length": 35.08270676691729,
"alnum_prop": 0.6729532790398628,
"repo_name": "ECOM2017-MesLocationsVacances/MesLocationsVacances",
"id": "f11272c5fbfcc2094ef243... |
<knowledgeBase>
<!-- general knowledge about the user -->
<sentence provenance="background" sentence="human('user'[#id])"/>
<sentence provenance="background" sentence="space.at('user'[#id],'earth'[#id])"/>
<!-- general knowledge about locations -->
<sentence provenance="background" sentence="universe('universe'[#... | {
"content_hash": "811b3d752878be45403d6592172bb8bb",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 160,
"avg_line_length": 75.30434782608695,
"alnum_prop": 0.6822555812163202,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "877757ff4ee5242f7a96e2c7544455c0a504d20d",
... |
import foo from 'foo';
var bar = {
property: true
};
export { bar };
export default bar; | {
"content_hash": "295901d3c213830e22fbc84d229748cf",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 22,
"avg_line_length": 10.222222222222221,
"alnum_prop": 0.6413043478260869,
"repo_name": "sproutsocial/grunt-es6-import-validate",
"id": "8b13b7b6cc9d14bface43f296000b4d4fb24... |
<idea-plugin url="https://github.com/mjedynak/Builder-Generator">
<name>Builder Generator</name>
<description>
<![CDATA[
Adds ability to generate builder for a class and switch between them.
Switching between builder and source class is similar to 'Go To Test' action.
Ge... | {
"content_hash": "8617e35105c89407367f28305b229b99",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 227,
"avg_line_length": 49.68263473053892,
"alnum_prop": 0.5696034711341449,
"repo_name": "mkickax/builder-generator-idea-plugin",
"id": "6e0947ff78b5289a4d60a72f38e58850996... |
@implementation BACharityViewController
- (id)initWithNibName:(NSString *)nibName bundle:(NSBundle *)nibBundle
{
if (self = [super initWithNibName:nibName bundle:nibBundle]) {
// Custom initialization
self.title = [BALocalizer localizedString:@"SadaqahTab"];
self.tabBarItem.image = [UIImage imageNamed:@"tabb... | {
"content_hash": "4d65bbbe478f3b48f1fc9f693972bf04",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 157,
"avg_line_length": 29.65863453815261,
"alnum_prop": 0.7497630331753554,
"repo_name": "batoulapps/QamarDeen",
"id": "306fa852d52bba4e6fe5bff8be35fdac1ebd5590",
"size":... |
<?xml version="1.0"?>
<doc>
<assembly>
<name>0Harmony</name>
</assembly>
<members>
<member name="T:HarmonyLib.DelegateTypeFactory">
<summary>A factory to create delegate types</summary>
</member>
<member name="M:HarmonyLib.DelegateTypeFactory.#ctor">
... | {
"content_hash": "d8f2aa70c7c2bed4b3993f0380d3b06b",
"timestamp": "",
"source": "github",
"line_count": 2900,
"max_line_length": 289,
"avg_line_length": 61.83896551724138,
"alnum_prop": 0.6298840704164878,
"repo_name": "google/google-ctf",
"id": "7539dbc17cf7902be91ead4ad97e7e80865fe985",
"size": "... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use common\models\p\ModificacionesActas;
/**
* ModificacionesActasSearch represents the model behind the search form about `common\models\p\ModificacionesActas`.
*/
class ModificacionesActasSearch extends ModificacionesActas
... | {
"content_hash": "3af443b4bb71c4310c9fb9b85bfbe0fe",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 520,
"avg_line_length": 40.371134020618555,
"alnum_prop": 0.5962717058222676,
"repo_name": "EurekaSolutions/rnce",
"id": "e43cdf0168d5f2965980c31f0ac0ff24af6223e2",
"size":... |
#include <stdlib.h> /* for exit() prototype */
#include "png.h" /* libpng header; includes zlib.h and setjmp.h */
#include "writepng.h" /* typedefs, common macros, public prototypes */
/* local prototype */
static void writepng_error_handler(png_structp png_ptr, png_const_charp msg);
... | {
"content_hash": "8fc44e13b8aadd0128b86b5f1ae85e5f",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 80,
"avg_line_length": 31.96829971181556,
"alnum_prop": 0.6078608131253944,
"repo_name": "pakoito/DT3",
"id": "8373c1672f5801ba5ebb556989deed89b0e9ce36",
"size": "13676",
... |
require "guard/preek/version"
require 'guard'
require 'guard/plugin'
module Guard
class Preek < Guard::Plugin
autoload :Runner, 'guard/preek/runner'
def run_on_changes(paths)
Runner.new(paths, options[:report]).perform
end
def run_all
dir = options[:run_all_dir]
raise_dir_missing ... | {
"content_hash": "411aa6b175b894eb25ca1ba690c78d3d",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 153,
"avg_line_length": 25.40740740740741,
"alnum_prop": 0.6457725947521866,
"repo_name": "joenas/guard-preek",
"id": "5ed777a1c189f028891153f10c7f7f2db0eb67c4",
"size": "6... |
var gulp = require('gulp')
, _ = require('lodash')
, iconsManager = require('../../src/middleware/icons')
/**
* Default config
*
* @type {object}
*/
exports.defaultConfig = {
fontName : 'custom',
size : 24,
prefix : 'sm-',
sets : []
};
/**
* Gulp task
*
* @param config ... | {
"content_hash": "e1839de087de0a1727b0e24372329240",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 56,
"avg_line_length": 16.857142857142858,
"alnum_prop": 0.5968523002421308,
"repo_name": "terox/smooth",
"id": "515f3c13275d207604fe0806fa8ab2c5a8995eb0",
"size": "826",
... |
package com.for_futrue.zxg.znews.app;
import android.app.Application;
import android.content.Context;
import android.util.Log;
import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiscCache;
import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;
import com.nostra13.unive... | {
"content_hash": "92e603dcc31ef0cfcf3cf8c8b6015378",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 97,
"avg_line_length": 36.98039215686274,
"alnum_prop": 0.7158006362672322,
"repo_name": "zxg110/ZNews",
"id": "d56c7541a72480ccfbf9f38f80631a08adc637bb",
"size": "1886",
... |
/**
* HadoopLoader.scala
* The hadoopLoader is an application designed to save JSON files into hdfs as parquet files.
* It obtains all neccessary data from the CLI.
*/
// Imports
import org.apache.spark.sql.SparkSession
import org.apache.spark.sql.SparkSession._
import scala.xml.XML
/**
*HadoopLoader cont... | {
"content_hash": "1a957308f2ddfd2a617feff5d291dd3c",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 119,
"avg_line_length": 37.1578947368421,
"alnum_prop": 0.638243626062323,
"repo_name": "jehama/OSINThadoop",
"id": "2d4bc02bdd9d1f5cbb1771660a07e2b6952f73f1",
"size": "386... |
<?php
class ApiEndPoint{
protected $_servername = "localhost";
protected $_username = "root";
protected $_password = "";
protected $_dbname = "classificadorquestoes";
public function fromJSON($jsonObject){
$object = json_decode($jsonObject);
foreach($object as $key=>$value){
... | {
"content_hash": "f3983d4b9f88d4695a2280e8519c4009",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 99,
"avg_line_length": 26.61764705882353,
"alnum_prop": 0.5602209944751381,
"repo_name": "Guilherme-mm/classificadorQuestoes",
"id": "c70a1b97161fcb49f7428d1851a1d6706189a77d... |
package com.iosdevlog.a240workingwithfragmenttransactions;
/**
* Created by Jim on 2/5/2016.
*/
public interface OnSelectedBookChangeListener {
void onSelectedBookChanged(int bookIndex);
}
| {
"content_hash": "196e81fbfafc25c8ee20afeec1cc1ce1",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 58,
"avg_line_length": 25.5,
"alnum_prop": 0.7549019607843137,
"repo_name": "AndroidDevLog/AndroidDevLog",
"id": "0f9866dc22a5a4c6141f0e80f84573665be39374",
"size": "204",
... |
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle ... | {
"content_hash": "6f31ac434f2a437f76b07e4b35575d2d",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 94,
"avg_line_length": 40.07142857142857,
"alnum_prop": 0.691027926322044,
"repo_name": "aymswick/chimehack-teacher",
"id": "de244d03232eac9e9f6ee1c7ebce80cfbb5c8ef9",
"siz... |
using namespace std;
class audit : public util::app_owned {
public:
explicit audit() :
app_owned("AUDIT"),
randomizer(3, 5) {}
protected:
virtual void do_run(raii::shmem<util::shared_data> &shmem) override {
log.debug("Opening balance file for locking");
raii::file balance_file(NAM... | {
"content_hash": "c91ddb492758cb8ff09e67bfd8f44df9",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 87,
"avg_line_length": 28.632653061224488,
"alnum_prop": 0.5937277263007841,
"repo_name": "andres-arana/degree-7559-tp1",
"id": "d8e03ef8edcfca1cbbeaa86c40cc2cd61818d355",
... |
ADNpy: App.net API for Python
=============================
.. image:: https://badge.fury.io/py/adnpy.png
:target: http://badge.fury.io/py/adnpy
.. image:: https://travis-ci.org/appdotnet/ADNpy.png?branch=master
:target: https://travis-ci.org/appdotnet/ADNpy
ADNpy aims to be an easy-to-use Python library fo... | {
"content_hash": "6a378997f61a4ccc39e932fdb5380ef7",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 157,
"avg_line_length": 28.80392156862745,
"alnum_prop": 0.6746085772634445,
"repo_name": "appdotnet/ADNpy",
"id": "4e6ec9e07811affa2fe04fd560290179c70c9b19",
"size": "1469... |
body{background-color:#f3f4f4;}
.navbar-brand {
float: left;
font-size: 14px;
height: 50px;
line-height: 20px;
padding: 2px 60px 0;
}
.navbar-brand > img {
height: 45px;
margin-top: 0px !important;
}
.table-success,
.table-success>td,
.table-success>th {
background-color: #dff0d8
}
.... | {
"content_hash": "68891992ca0df8bd038467a91c1d981c",
"timestamp": "",
"source": "github",
"line_count": 754,
"max_line_length": 536,
"avg_line_length": 32.791777188328915,
"alnum_prop": 0.6899089989888777,
"repo_name": "hidnarola/fintibi",
"id": "02659b355644bf77fb9e51383f32d5ebf180aad1",
"size": "... |
Another image gallery as Admin-Tool for the Content Management Systems [WebsiteBaker] [1] and [LEPTON CMS] [2].
The twoStepGallery enables to show an album of multiple galleries at one time - specify the start image of the album and add multiple galleries. twoStepGallery will show the start images of each gallery, at ... | {
"content_hash": "4a584e56568cb363f02e6dd1f1598b29",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 293,
"avg_line_length": 41.204081632653065,
"alnum_prop": 0.7365032194155523,
"repo_name": "phpManufaktur/twoStepGallery",
"id": "b6381e3b50a7542b19434fa91fd446bbb85ff45b",
... |
import os
WATARU_BASE_DIR_PATH = os.path.abspath(os.path.dirname(__file__))
| {
"content_hash": "a0c35308ac480471185812a39f2aad2b",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 65,
"avg_line_length": 25.666666666666668,
"alnum_prop": 0.7142857142857143,
"repo_name": "risuoku/wataru",
"id": "cafc26777458f817863759d2ad2e4a9d0c158541",
"size": "77",
... |
package algorithm.graph.representation.impl;
/**
* Created by Francisco Yllera.
*/
public class WeightedEdge implements Comparable{
private int headVertex;
private int tailVertex;
private int distance;
public WeightedEdge(int headVertex, int tailVertex, int distance) {
this.headVertex = head... | {
"content_hash": "f58ecbf9bea18dd938e3f97965c78d76",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 80,
"avg_line_length": 28.743243243243242,
"alnum_prop": 0.6248236953455572,
"repo_name": "franciscoy/algorithms",
"id": "55f0d88d2f4f6480954c2114a10922fd852f3f27",
"size":... |
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<title> {{ .Site.Title }} </title>
{{ partial "head.html" . }}
</head>
<body>
{{ partial "header.html" . }}
<div class="contents">
<section class="jumbotron text-center">
<div class="container">
<h1 class="jumbotron-heading">{{ .Sit... | {
"content_hash": "23cf041356ce9c0e1be983af6e61dc13",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 90,
"avg_line_length": 26.5,
"alnum_prop": 0.5718432510885341,
"repo_name": "HoangPaul/hoangpaul.com",
"id": "df1d1e6859890f04e62c3358ff2234ad47f6e3d7",
"size": "689",
"b... |
/*!
* Angular Material Design
* https://github.com/angular/material
* @license MIT
* v0.10.0-master-dd11583
*/
/* mixin definition ; sets LTR and RTL within the same style call */
md-bottom-sheet {
position: absolute;
left: 0;
right: 0;
bottom: 0;
padding: 8px 16px 88px 16px;
z-index: 70;
border-top-... | {
"content_hash": "7935d0ad387ff3441762c74923040c8a",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 68,
"avg_line_length": 34.34705882352941,
"alnum_prop": 0.5677342010618257,
"repo_name": "SvitlanaShepitsena/cl-poster",
"id": "a822445c496f48f504ec75eb25a02b59ee02f23f",
... |
import sys
from robot import utils
from .highlighting import AnsiHighlighter, Highlighter, NoHighlighting
from .loggerhelper import IsLogged
class CommandLineMonitor(object):
def __init__(self, width=78, colors='AUTO', markers='AUTO', stdout=None,
stderr=None):
self._writer = CommandLi... | {
"content_hash": "0c41a8c6c86ba25ddfb3f9524e9057f3",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 86,
"avg_line_length": 34.32367149758454,
"alnum_prop": 0.6015482054890922,
"repo_name": "qitaos/robotframework-mabot",
"id": "174dfd255b6221d2b7c0cd77c647e9d944d7712a",
"... |
/**
* Piwik - free/libre analytics platform
*
* Module creation & inclusion for Piwik.
*
* @link http://piwik.org
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
(function (window) {
var MODULE_SPLIT_REGEX = /[\/.\\]/;
/**
* Returns a module for its ID. Empty modules are cr... | {
"content_hash": "51935def5f73c3a156fc3c2a9711c37c",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 106,
"avg_line_length": 33.61538461538461,
"alnum_prop": 0.5903890160183066,
"repo_name": "ACOKing/ArcherSys",
"id": "30ad17eb686f85450b9c1952c9e9d36fddb3d002",
"size": "13... |
This file is used to list changes made in each version of the erlang cookbook.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## Unreleased
Standardise files with files in sous-chefs/repo-managem... | {
"content_hash": "723b2ad276a2aa47e8b5c29113597082",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 209,
"avg_line_length": 29.53497942386831,
"alnum_prop": 0.7380521109098509,
"repo_name": "opscode-cookbooks/erlang",
"id": "ac5a987e48e82743953a69c4cc46deb340625b36",
"si... |
id: 587d781a367417b2b2512ab7
title: Використання тегу strong для виділення тексту жирним шрифтом
challengeType: 0
videoUrl: 'https://scrimba.com/c/ceJNBSb'
forumTopicId: 301080
dashedName: use-the-strong-tag-to-make-text-bold
---
# --description--
Щоб виділити текст жирним шрифтом, ви можете використати тег `strong`.... | {
"content_hash": "0cb182f1777a498278513a0082199672",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 257,
"avg_line_length": 22.338582677165356,
"alnum_prop": 0.637645400070497,
"repo_name": "FreeCodeCamp/FreeCodeCamp",
"id": "1b9b9970caf7d0fc8f98da7f7b2889c61d4da809",
"s... |
package org.apache.hadoop.hdfs.server.namenode;
import static org.apache.hadoop.hdfs.server.common.Util.fileAsURI;
import static org.apache.hadoop.hdfs.server.namenode.FSImageTestUtil.assertNNHasCheckpoints;
import static org.apache.hadoop.hdfs.server.namenode.FSImageTestUtil.getNameNodeCurrentDirs;
import static org... | {
"content_hash": "63ce23d4c0612edacdff2b0c55c136b3",
"timestamp": "",
"source": "github",
"line_count": 2471,
"max_line_length": 102,
"avg_line_length": 34.33872925940915,
"alnum_prop": 0.6593675973176509,
"repo_name": "sungsoo/hadoop-2.3.0",
"id": "623a9c88b75b0336923bea80ae2d7a544498dae5",
"size"... |
import optparse
import subprocess
from kindled.controllers import DefaultController
def bootstrap():
""" Command Line Bootstrap Function """
usage = "%prog or type %prog -h (--help) for help"
description = "Kindled"
version = "v0.1"
parser = optparse.OptionParser(usage=usage, description=descr... | {
"content_hash": "963d32bb0c8da8b0707cae312339a949",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 103,
"avg_line_length": 30.796875,
"alnum_prop": 0.49670218163368846,
"repo_name": "jinglemansweep/Kindled",
"id": "d37cc4db7ca9252a79080747932b3810bde1fabc",
"size": "1971... |
package com.ponkotuy.intercept
import akka.actor.{Props, ActorSystem}
import com.netaporter.uri.Uri
import com.ponkotuy.http.ControllerActor
import com.ponkotuy.parser.Query
import com.ponkotuy.util.Log
import com.ponkotuy.value.KCServer
import org.jboss.netty.handler.codec.http.{HttpRequest, HttpResponse}
import sca... | {
"content_hash": "a6f12ca75dc20a7def75ff03a9684cd6",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 84,
"avg_line_length": 27.512820512820515,
"alnum_prop": 0.7027027027027027,
"repo_name": "nekoworkshop/MyFleetGirls",
"id": "b1e0fe9f2cdd4ac67748e84020d64f2b2387df69",
"si... |
"""The share snapshots api."""
from oslo_log import log
import six
import webob
from webob import exc
from manila.api import common
from manila.api.openstack import wsgi
from manila.api.views import share_snapshots as snapshot_views
from manila import exception
from manila.i18n import _, _LI
from manila import share
... | {
"content_hash": "d199986592a0c2731363c1465eb1a083",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 75,
"avg_line_length": 33.798816568047336,
"alnum_prop": 0.5948879551820728,
"repo_name": "jcsp/manila",
"id": "c5b9acf98af7685c452447178b7f3bd363559815",
"size": "6334",
... |
require 'spec_helper'
module Stash
module Sword
describe Namespace do
it 'defines namespaces' do
by_namespace = {}
by_uri = {}
by_prefix = {}
Namespace.each do |ns_enum|
expect(ns_enum.value).to be_an(XML::MappingExtensions::Namespace)
expect(by_namespa... | {
"content_hash": "bbf0270c07a8088969f55b785b2a4917",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 127,
"avg_line_length": 31.38888888888889,
"alnum_prop": 0.5380530973451327,
"repo_name": "CDLUC3/stash",
"id": "8fdb7bb49d390a3eeb2612721a21bcdeb098ae69",
"size": "1130",
... |
package com.googlecode.gwtstreamer.test.client.shared;
import com.googlecode.gwtstreamer.client.Streamable;
/**
* Created by akuranov on 21/01/2015.
*/
public class UninitBean implements Streamable {
public String name;
public String surname;
public UninitBean(String name, String surname) {
... | {
"content_hash": "5a5679594876c88599fcba5a5c171e6b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 54,
"avg_line_length": 24.708333333333332,
"alnum_prop": 0.5581787521079258,
"repo_name": "guochong/gwt-streamer",
"id": "caa2bcfe2d33aa0173c5f13dd65d3cb425fc5776",
"size":... |
import java.util.HashMap;
import java.util.Map;
class Main extends HashMap<String, Integer> {
class Nested {
void test() {
Map<String, Integer> result = new HashMap<>();
result.putAll(Main.this);
}
}
} | {
"content_hash": "232b91e2c3b323727831a583a562ef6f",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 52,
"avg_line_length": 20.727272727272727,
"alnum_prop": 0.6359649122807017,
"repo_name": "google/intellij-community",
"id": "b6f517b814f308e705ac255d7535b0a1a46fa8f6",
"si... |
namespace BF
{
namespace ECS
{
template <class T>
class Component : public IComponent
{
public:
Component(IComponent::Type type);
virtual ~Component();
};
#include "Component.inl"
}
} | {
"content_hash": "59025d3b95437c2c1bc16eee5f4a36f2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 37,
"avg_line_length": 13.533333333333333,
"alnum_prop": 0.6650246305418719,
"repo_name": "Vault16Software/Blue-Flame-Engine",
"id": "cc4ec558459fe705b6f1f6b6b25c99838ef7c38d... |
<routes xmlns="http://camel.apache.org/schema/spring">
<route id="simple_passthrough">
<from uri="wso2-gw:/simple_passthrough"/>
<to uri="wso2-gw:http://localhost:9773/services/HelloService/"/>
</route>
</routes>
| {
"content_hash": "66900fc1c7ec725e51c5fb85e25c1306",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 80,
"avg_line_length": 31.625,
"alnum_prop": 0.6086956521739131,
"repo_name": "erandidesilva/wso2-qa-artifacts",
"id": "03c92ea51cccd492b2b74c2ea8bb8317209b6158",
"size": "2... |
import os
class Articles(object):
def __init__(self, corpus):
self.corpus = corpus
self.index = dict()
self.articles_count = 0
self.docs_count = 0
def __iter__(self):
corpus = self.corpus
for sub in os.listdir(corpus):
subdir = os.path.join(corpus, sub)
for fname in os.listdir(subdir):
article... | {
"content_hash": "eaa59083b3e13fb44de4538c530c564f",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 81,
"avg_line_length": 27.4390243902439,
"alnum_prop": 0.6524444444444445,
"repo_name": "natsheh/semantic_query",
"id": "affc657836f344a1e9dc6609f5dbe2e53b4dc934",
"size": ... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
~ Copyright (c) 2010-2013 Evolveum
~
~ 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/li... | {
"content_hash": "7010cfe195dcb66f19cbfbef0742e60c",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 173,
"avg_line_length": 45.44047619047619,
"alnum_prop": 0.6958344249410532,
"repo_name": "sabriarabacioglu/engerek",
"id": "f06ae770922ee91cdb11fd0a68142dc084de849c",
"siz... |
title: "Compress"
description: "Compression Remote"
---
{{< icon "fas fa-compress" >}}Compress (Experimental)
-----------------------------------------
The `Compress` remote adds compression to another remote. It is best used with remotes containing
many large compressible files.
Please read the [warnings](#warnings... | {
"content_hash": "f8c7e0e3cf2fecd69951d560f69df78d",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 139,
"avg_line_length": 29.895522388059703,
"alnum_prop": 0.7106839740389416,
"repo_name": "ncw/rclone",
"id": "0050ffc24d1e8185cc0efd898f6e89dc65650c10",
"size": "4010",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - SAMSUNG-GT-S5511T</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?famil... | {
"content_hash": "8b94bb0771d0a6524da55088b0a39c37",
"timestamp": "",
"source": "github",
"line_count": 1023,
"max_line_length": 964,
"avg_line_length": 40.20821114369502,
"alnum_prop": 0.5157416186516909,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "6c6ed2f1b1f753e0dbd1a60c5d40d6aa36... |
var gulp = require('gulp');
var bundle = require('gulp-bundle-assets'),
del = require('del'),
vinylPaths = require('vinyl-paths'),
fs = require('fs'),
replace = require('gulp-replace'),
connect = require('gulp-connect'),
templateCache = require('gulp-angular-templatecache'),
KarmaServer = r... | {
"content_hash": "6679dcb736eb7bcaba98bc9d8984cf0b",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 95,
"avg_line_length": 30.087912087912088,
"alnum_prop": 0.5686632578524471,
"repo_name": "bjaanes/ExtremeResults-WebApp",
"id": "3a8f13b5ac852a928bf1a1a158f70724248a67d1",
... |
package com.android.core.model.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.HashMap;
/**
* @作者: liulei
* @公司:希顿科技
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy... | {
"content_hash": "1df61bbcaa3c8c2a61b97b20200e3e10",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 44,
"avg_line_length": 24,
"alnum_prop": 0.7587719298245614,
"repo_name": "liulei-0911/LLApp",
"id": "ab156d61933ef867cea9c725275db7507a80aa11",
"size": "474",
"binary": ... |
.member-hero {
text-align: center;
text-transform: capitalize;
margin: 2em 0 1em;
}
| {
"content_hash": "71f9cc115c8e20f275984bf01c4e501c",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 29,
"avg_line_length": 18,
"alnum_prop": 0.6777777777777778,
"repo_name": "LondonCityAC/sprint-admin-app",
"id": "ba5083321164373047eb01f453c6a96e405d57ef",
"size": "90",
... |
html{
background-color: #ee82ee;
}
header h1 {
font-family: Courier New;
size: 55px, bigger;
color: aqua;
text-align: center;
}
header table {
border-color: aqua;
display: block;
border-style: double;
padding: 1em;
background-color: white;
}
header table tr {
display: inline-block;
text-alig... | {
"content_hash": "2e08de16bb660207a993b12a824194b7",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 28,
"avg_line_length": 14.876543209876543,
"alnum_prop": 0.6564315352697095,
"repo_name": "maevetierney/maevetierney.github.io",
"id": "99d6a7bef90102244e42400c0b82df8d162e3c... |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { HttpClientModule } from "@angular/common/http";
import { ModalModule } from "ngx-bootstrap/modal";
import { UserModule } from "./User/user.module";
import { AppComponent } from "./app.component";
@NgModule({... | {
"content_hash": "f5375abfff889ef1b5061534deb6454f",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 82,
"avg_line_length": 33.2,
"alnum_prop": 0.7228915662650602,
"repo_name": "sukrabambang/dashboard-application",
"id": "f69feec467bf90a1b78c1b975ca2eb1a74b61a5e",
"size": ... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
typedef struct Node {
int value;
struct Node *next;
} Node;
typedef struct LinkedList {
struct Node *head;
} LinkedList;
LinkedList *list_create()
{
LinkedList *list = malloc(sizeof(LinkedList));
list->head = NULL;
return list;
}
LinkedList *list_i... | {
"content_hash": "5b0b88f1de722e1c8dd8ad8de26f766a",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 63,
"avg_line_length": 17.325,
"alnum_prop": 0.5945165945165946,
"repo_name": "zfletch/data-structures",
"id": "93c31fc27922ebee191da3290aedc96ff419721a",
"size": "1386",
... |
@interface WCPayRetrySendMsgResponse : NSObject
{
}
@end
| {
"content_hash": "72972e25d855f50a4711c4603c417c6b",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 47,
"avg_line_length": 9.833333333333334,
"alnum_prop": 0.7627118644067796,
"repo_name": "walkdianzi/DashengHook",
"id": "4c6a779fc585e983583cc6c171619ea806599a7f",
"size": ... |
.. ---------------------------------------------------------------------------
.. Copyright 2017-2018 Intel 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://w... | {
"content_hash": "36fd52556e5caf19fc1336f064df2d66",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 102,
"avg_line_length": 35.34146341463415,
"alnum_prop": 0.6155969634230504,
"repo_name": "NervanaSystems/aeon",
"id": "441aaf1a9bf21f154a7820b9e36807f3a1bfe052",
"size": "... |
import React from "react";
import * as Layouts from "../layouts";
const LayoutPicker = ({pickLayout, layout}) => {
return (
<select
className="btn btn-primary btn-sm"
onChange={pickLayout}
value={layout}
>
<option disabled>Pick a layout</option>
<option disabled />
{Object... | {
"content_hash": "3febc70502418cee1f27152542f0e180",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 48,
"avg_line_length": 23.25925925925926,
"alnum_prop": 0.5095541401273885,
"repo_name": "Thorium-Sim/thorium",
"id": "8aee5ccdfecef14514ec7badde85b64f7075921e",
"size": "6... |
import _ from 'lodash';
/** Lets .some() run until it finds a square value based off the stateMap which
is a zipped list of sliced sequences that are from the gameBoard state; while
the other is the 'label' for those squares in the same order.
@param zipped-array stateMap
@param array patterns*/
const runTest = (state... | {
"content_hash": "68fcd21fbb6a645ecdfd62174f0bf10e",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 81,
"avg_line_length": 35.96774193548387,
"alnum_prop": 0.6286995515695067,
"repo_name": "natac13/Tic-Tac-Toe-Game",
"id": "a8d5803b00289798f10388bde2a86c171ea6622e",
"size... |
class Jbuilder
def pagination!(results)
_set_value :currentPage, results.current_page
_set_value :totalPages, results.total_pages
_set_value :totalEntries, results.total_entries
_set_value :perPage, results.per_page
end
end
| {
"content_hash": "81b1489b2f05aa6d76769e96995f3457",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 51,
"avg_line_length": 31.5,
"alnum_prop": 0.7103174603174603,
"repo_name": "Fustrate/fustrate-rails",
"id": "8df7ea2107c2fa05d49905f45aeea07a7f7424d3",
"size": "343",
"bi... |
Syntax:
<strong>`replace`</strong> <em>parameters</em> => <em>return-type</em>
Documentation of parameters and return-results.
Examples (not from CLHS...):
```lisp
CL-USER> (example-code 'a 'b 'c)
'return-result
```
| {
"content_hash": "8f83dcc2ea9ce3001249f183fd0c706b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 70,
"avg_line_length": 17,
"alnum_prop": 0.6742081447963801,
"repo_name": "agreco/llthw",
"id": "4d7faa217dfa6ed86e78cf7a80828c4d30cf0f12",
"size": "271",
"binary": false... |
<?php
namespace Backend\Modules\Locale\Engine;
use Common\Uri as CommonUri;
use Backend\Core\Engine\Authentication as BackendAuthentication;
use Backend\Core\Engine\Language as BL;
use Backend\Core\Engine\Model as BackendModel;
/**
* In this file we store all generic functions that we will be using in the locale ... | {
"content_hash": "6bd2f7f3147f0e921296c2cd5e19fd2a",
"timestamp": "",
"source": "github",
"line_count": 741,
"max_line_length": 134,
"avg_line_length": 33.87719298245614,
"alnum_prop": 0.48344819344301476,
"repo_name": "jlglorences/jorge_prueba",
"id": "532daf2b1d5fb18de85b95e39ad7f4bf12d05767",
"s... |
package main
import (
"bytes"
"encoding/json"
"fmt"
"io/ioutil"
"net"
"os"
"os/exec"
"path/filepath"
"regexp"
"strconv"
"strings"
"time"
"github.com/docker/docker/pkg/integration/checker"
"github.com/docker/libnetwork/iptables"
"github.com/docker/libtrust"
"github.com/go-check/check"
)
func (s *Docke... | {
"content_hash": "00163237d6983800791b27d107c31aa1",
"timestamp": "",
"source": "github",
"line_count": 1804,
"max_line_length": 218,
"avg_line_length": 32.429046563192905,
"alnum_prop": 0.6536699600013675,
"repo_name": "twistlock/docker",
"id": "1f5a2b9c8ca7c1746e9c27fab21fc9bd3d80e62f",
"size": "... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="CouchbaseSample.Android">
<uses-sdk />
<application android:label="CouchbaseSample.Android">
</application>
</manifest> | {
"content_hash": "d41b90ec14acc10e32d63d56b4c8c0b6",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 153,
"avg_line_length": 48.333333333333336,
"alnum_prop": 0.7482758620689656,
"repo_name": "mpapp/couchbase-lite-net",
"id": "3d67f9588c165da4ca431a8654813b1ca226e7bb",
"siz... |
package org.dasein.cloud.network;
/**
* Represents the different algorithms that might be used in balancing loads.
* @author George Reese
* @version 2013.04 added javadoc
* @since unknown
*/
public enum LbAlgorithm {
/**
* Balances traffic across data centers or endpoints in a round-robin fashion.
... | {
"content_hash": "47313f6509a0c5fb480a7361248e062a",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 102,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6792763157894737,
"repo_name": "vladmunthiu/dasein-cloud-core-GR-fork",
"id": "aea302cb915c9b14d0532394571ae2a714e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.