text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
/**
* Swift_PropelSpool is a spool that uses Propel.
*
* Example schema:
*
* mail_message:
* message: { type: clob }
* created_at: ~
*
* @package symfony
* @subpackage mailer
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
* @version SVN: $Id: Swift_PropelSpool.c... | {
"content_hash": "a7c08fd7418aa69b344348c90a0272a9",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 137,
"avg_line_length": 23.96212121212121,
"alnum_prop": 0.6139740752450206,
"repo_name": "italinux/Authentication",
"id": "94275b46665b99fb209c31fc2275469719d6f647",
"siz... |
package io.cdap.mmds.data;
/**
* Split states.
*/
public enum SplitStatus {
SPLITTING("Splitting"),
COMPLETE("Complete"),
FAILED("Failed");
private final String label;
SplitStatus(String label) {
this.label = label;
}
@Override
public String toString() {
return label;
}
}
| {
"content_hash": "876e5fe83f7195ecec2221325bf278ad",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 29,
"avg_line_length": 13.909090909090908,
"alnum_prop": 0.6437908496732027,
"repo_name": "cdap-solutions/mmds",
"id": "7bfc9f661fbcfc3a7abcb627a92f227da1493a74",
"size": "... |
/**
* Unit test for the hookable-textarea component
*/
import {expect} from 'chai'
import {HookMixin} from 'ember-hook'
import {unit} from 'ember-test-utils/test-support/setup-component-test'
import {beforeEach, describe, it} from 'mocha'
const test = unit('hookable-textarea')
describe(test.label, function () {
t... | {
"content_hash": "588db11593e3ba3275f923d5bfebf228",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 71,
"avg_line_length": 22.28,
"alnum_prop": 0.6804308797127468,
"repo_name": "dafortin/ember-frost-core",
"id": "166950f3d6f130452feb181b6689b0eebc42a00a",
"size": "557",
... |
/* 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
* distributed... | {
"content_hash": "ca067f2ead8e138963397065bb3c17b2",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 154,
"avg_line_length": 33.815384615384616,
"alnum_prop": 0.7779799818016379,
"repo_name": "plexiti/camunda-bpm-platform",
"id": "d37fcf21a22c4c9ae91b68cac7449731790ae0db",
... |
<Type Name="CFNetworkHandler" FullName="System.Net.Http.CFNetworkHandler">
<TypeSignature Language="C#" Value="public class CFNetworkHandler : System.Net.Http.HttpMessageHandler" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit CFNetworkHandler extends System.Net.Http.HttpMessageHan... | {
"content_hash": "315b50b1ce51e31c41df103a26cd40fd",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 322,
"avg_line_length": 45.89147286821706,
"alnum_prop": 0.7027027027027027,
"repo_name": "tunnelvisionlabs/dotnet-httpclient35",
"id": "f714dec1a543caea45b6057a265edfa0c79f... |
package com.github.javalbert.sqlbuilder.dsl;
public interface ExpressionNode {
public static final int EXPRESSION_OPERAND = 1;
public static final int EXPRESSION_OPERATOR = 2;
public static final int EXPRESSION_EXPRESSION = 3;
default int getExpressionType() {
return EXPRESSION_OPERAND;
}
}
| {
"content_hash": "628904c27cbf0fc956cbf6a9c6f8b56d",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 51,
"avg_line_length": 25.25,
"alnum_prop": 0.7755775577557755,
"repo_name": "Javalbert/sql-builder-orm",
"id": "38221843474649591b466e3d2b4e44a40f7c1224",
"size": "1049",
... |
/**
* List compiled by mystix on the extjs.com forums.
* Thank you Mystix!
* Slovak Translation by Michal Thomka
* 14 April 2007
*/
Ext.onReady(function() {
if(Ext.Updater) {
Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Nahrávam...</div>';
}
if(Ext.view.View){
... | {
"content_hash": "c05ff673b708db056bf314ccf412b3f6",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 96,
"avg_line_length": 30.494505494505493,
"alnum_prop": 0.5212612612612613,
"repo_name": "Nanonid/tcsolrsvc",
"id": "7de828178b56e4348a52ba85a33a317b50a1fdac",
"size": "6... |
package com.facebook.buck.jvm.java;
import static com.facebook.buck.event.TestEventConfigurator.configureTestEvent;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertThat;
import com.facebook.buck.model.BuildTarget;
import com.facebook.... | {
"content_hash": "58ca716efa975aeb100b221bb22eb57b",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 90,
"avg_line_length": 41.48051948051948,
"alnum_prop": 0.7078897933625548,
"repo_name": "clonetwin26/buck",
"id": "fab46408424c53d23e0c598b2847070c712f5c9b",
"size": "3799... |
angular.module(PKG.name + '.commons')
.directive('myLogViewer', function ($filter, $timeout, $state, $location) {
var capitalize = $filter('caskCapitalizeFilter'),
filterFilter = $filter('filter');
return {
restrict: 'E',
scope: {
params: '='
},
templateUrl: 'log-vi... | {
"content_hash": "3e1722c7a7bc72226874b7baafe59113",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 99,
"avg_line_length": 27.683333333333334,
"alnum_prop": 0.47782460365241824,
"repo_name": "chtyim/cdap",
"id": "a454c0220af589e11fa6e845d664d3621d70613d",
"size": "5580",... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Ku.Core.Communication.SMS
{
public interface ISmsSender
{
Task<(bool success, string response)> Send(SmsObject sms);
}
}
| {
"content_hash": "bb1871884658035e5fe8fd535bc64d6c",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 66,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.724,
"repo_name": "kulend/Vino.Core.CMS",
"id": "1800be6bb4afbb02b4d43500d439139f5039a21d",
"size": "252",
"bin... |
import { EventEmitter, ChangeDetectorRef, OnDestroy, ElementRef } from '@angular/core';
/**
* Count up component
*
* Loosely inspired by:
* - https://github.com/izupet/angular2-counto
* - https://inorganik.github.io/countUp.js/
*
* @export
* @class CountUpDirective
*/
export declare class CountUpDirective im... | {
"content_hash": "393020898f9a676ad561b2b72068dfc0",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 87,
"avg_line_length": 26.363636363636363,
"alnum_prop": 0.6873563218390805,
"repo_name": "Luukschoen/ngx-frozen",
"id": "277d7decf10d968efab64fc904eba8aed5c9b2d5",
"size":... |
[](https://travis-ci.org/Acornsgrow/hitnmiss)
[](https://codeclimate.com/github/Acornsgrow/hitnmiss)
[, {$ref: 'loader'}]
},
listB: {
creator: List,
args: [d... | {
"content_hash": "8c4a58f9423b7ca0680548873c2da1ad",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 71,
"avg_line_length": 23.782608695652176,
"alnum_prop": 0.4826325411334552,
"repo_name": "ecomfe/uioc",
"id": "3a8b14a1184fbe2c3ee5fe5d0ed8a22bf8d9b785",
"size": "547",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>equations: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.c... | {
"content_hash": "a72ed96c58f405e927b3f21869198fe3",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 159,
"avg_line_length": 42.02298850574713,
"alnum_prop": 0.5545678336980306,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "6a08cdc003d26a3afae96662e67d5cdd29e11f73",
... |
<footer class="container">
<div class="site-footer">
<div class="copyright pull-left">
<!-- 请不要更改这一行 方便其他人知道模板的来源 谢谢 -->
<!-- Please keep this line to let others know where this theme comes from. Thank you :D -->
Power by <a href="https://github.com/DONGChuan/Yummy-Jeky... | {
"content_hash": "12a101452c7de6c3c43c95a8c0bd5efe",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 103,
"avg_line_length": 35.91489361702128,
"alnum_prop": 0.5633886255924171,
"repo_name": "vincentfeng/vincentfeng.github.io",
"id": "22e1c8784004f0512fe40e122fab36c394e6e199... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.envirocar.aggregation;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Output... | {
"content_hash": "7423f20b16345ef0b168798105ae766d",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 121,
"avg_line_length": 33.25333333333333,
"alnum_prop": 0.603448275862069,
"repo_name": "enviroCar/enviroCar-aggregation",
"id": "fdf91eb3d8a25412ded0bc69f896a77047502826",
... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014-2016 CyberVision, Inc.
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/LICEN... | {
"content_hash": "5e6c27543b8673d23712e345fb736275",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 83,
"avg_line_length": 42.353846153846156,
"alnum_prop": 0.6240464947330185,
"repo_name": "maxml/sample-apps",
"id": "0118a3731176a38b2d3372f3c0f9c718f8b949cd",
"size": "27... |
package ui;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.control.Hyperlink;
import javafx.scene.control.Label;
import javafx.scene.layout.VBox;
import javafx.scene.text.Font;
import javafx.scene.text.FontWeight;
/**
* Crea... | {
"content_hash": "9247e4dbc4599c13be10502416118c02",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 88,
"avg_line_length": 38.30107526881721,
"alnum_prop": 0.6406513194834362,
"repo_name": "AinurMakhmet/allsys-standalone",
"id": "37c8d41c3bad30efba18b4f8145f825fdee8261c",
... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var schema = [];
var create = function create(context) {
var globalScope = void 0;
// do nearly the same thing that eslint does for config globals
// https://github.com/eslint/eslint/blob/v2.0.0/lib/eslint.js#L118-L194
var makeDef... | {
"content_hash": "bbe4cf931500cecba19c0d39049907af",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 88,
"avg_line_length": 27.08433734939759,
"alnum_prop": 0.6152135231316725,
"repo_name": "BigBoss424/portfolio",
"id": "fe343fe4c2a7314d8e5698236cc9b103123aa8a5",
"size": "... |
<Workflow xmlns="urn:wexflow-schema" id="4" name="Workflow_FilesMover" description="Workflow_FilesMover">
<Settings>
<Setting name="launchType" value="trigger" />
<Setting name="enabled" value="true" />
</Settings>
<Tasks>
<Task id="1" name="FilesLoader" description="Loading files" enabled="true">
<Setting ... | {
"content_hash": "058ff735053a686cf5984ffbb2dfc869",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 105,
"avg_line_length": 43.1875,
"alnum_prop": 0.6989869753979739,
"repo_name": "aelassas/Wexflow",
"id": "7f0ead0bf810dda0f48b2da5af21e61b777fa43b",
"size": "691",
"bina... |
package mireka.smtp.address.parser.base;
import java.text.MessageFormat;
import java.text.ParseException;
import java.util.List;
public abstract class Token {
public int position;
public Token(int position) {
this.position = position;
}
public abstract List<CharToken> getSpellingTokens();
... | {
"content_hash": "5556588c890ef065da506ca2e36cfb54",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 73,
"avg_line_length": 29.314285714285713,
"alnum_prop": 0.6539961013645225,
"repo_name": "hontvari/mireka",
"id": "edf93c4b1c60a2845918b1ab140b6e8ffc69dc60",
"size": "1026... |
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bower_components/iron-ajax/iron-ajax.html">
<link rel="import" href="../bower_components/iron-input/iron-input.html">
<link rel="import" href="../bower_components/iron-label/iron-label.html">
<link rel="import" href="../bowe... | {
"content_hash": "97b66c2d705cd01a4446608692091d31",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 135,
"avg_line_length": 40.38709677419355,
"alnum_prop": 0.40947816826411076,
"repo_name": "marksteele/emusak",
"id": "8c7b62cc03f31096e673de3ea9c367080424d76e",
"size": "... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "87231caaf06ed77033a42cc85bf80e80",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "8764ce521082035fdf2326a851d4f1b5887f0085",
"size": "196... |
import { SET_SETTING } from '../constants';
export default function setting(state = {}, action) {
switch (action.type) {
case SET_SETTING:
return {
...state,
['ssr']: action.payload.value,
};
default:
return state;
}
}
| {
"content_hash": "a2be89c563f9899d40a03b6b757d77ed",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 53,
"avg_line_length": 20.46153846153846,
"alnum_prop": 0.556390977443609,
"repo_name": "luanlv/comhoavang",
"id": "e2499b176b6db997fce500e6da068ae4d6438c00",
"size": "266"... |
namespace device {
namespace {
template <typename Set>
bool SetsEqual(const Set& lhs, const Set& rhs) {
// Since sets order elements via an operator, std::equal doesn't work. It
// would require elements to be equal-comparable. Check if symmetric
// difference is empty instead.
std::vector<typename Set::value_... | {
"content_hash": "1fd661f173856d86de6c9e0a597b0b92",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 79,
"avg_line_length": 33.28,
"alnum_prop": 0.6724759615384616,
"repo_name": "endlessm/chromium-browser",
"id": "6d2d35d477ac37f96616dd772264eff8c5d7cbb4",
"size": "2030",
... |
require 'util/postgres_admin'
module MiqServer::LogManagement
extend ActiveSupport::Concern
included do
belongs_to :log_file_depot, :class_name => "FileDepot"
has_many :log_files, :dependent => :destroy, :as => :resource
end
def format_log_time(time)
time.respond_to?(:strftime) ? time.strftime(... | {
"content_hash": "d48481c90c444786215de392a2ca55b1",
"timestamp": "",
"source": "github",
"line_count": 249,
"max_line_length": 166,
"avg_line_length": 36.321285140562246,
"alnum_prop": 0.6219593100398054,
"repo_name": "fbladilo/manageiq",
"id": "d723ea0c975200e0be21c65878403dcd8b05a926",
"size": "... |
require 'rubygems'
gem 'templater', '>= 0.5.0'
require 'templater'
module SousChef
VERSION = '0.0.1'
autoload :ApplicationTask, File.join(File.dirname(__FILE__), 'sous-chef', 'application_task')
autoload :NodeTask, File.join(File.dirname(__FILE__), 'sous-chef', 'node_task')
end
path = File.join(File.d... | {
"content_hash": "09cb6d6a23fb177ae78741c2438768d8",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 96,
"avg_line_length": 33.31578947368421,
"alnum_prop": 0.6951026856240127,
"repo_name": "benburkert/sous-chef",
"id": "7d49183ca72e346236265a9d71d93abaa48348d0",
"size": "... |
package com.google.tsunami.plugins.detectors.rce.java;
import static com.google.common.base.Preconditions.checkNotNull;
import static com.google.common.collect.ImmutableList.toImmutableList;
import com.google.common.collect.ImmutableList;
import com.google.common.flogger.GoogleLogger;
import com.google.protobuf.util... | {
"content_hash": "f9fc68fd20c167214ccbecd9bf473361",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 98,
"avg_line_length": 44.851063829787236,
"alnum_prop": 0.7224857685009488,
"repo_name": "google/tsunami-security-scanner-plugins",
"id": "416d0ca520196c7273581159bfc48542a... |
<?php
namespace NSONE;
use NSONE\Rest\Records;
class RecordException extends \Exception { }
class Record extends DataObject {
public $domain = NULL;
public $type = NULL;
protected $rest = NULL;
protected $parentZone = NULL;
public function __construct($config, $parentZone, $domain, $type)... | {
"content_hash": "466529d63ce951d5711573f486a61ae8",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 105,
"avg_line_length": 25.92753623188406,
"alnum_prop": 0.5762996087199553,
"repo_name": "ns1/nsone-php",
"id": "67ad2f2965db97a340b083ecd88c3ca3d1b6df47",
"size": "1901",... |
CLASS({
package: 'foam.memento',
name: 'MemorableTrait',
properties: [
{
name: 'memento',
hidden: true
}
],
methods: {
init: function(args) {
this.SUPER(args);
var properties = this.model_.getRuntimeProperties();
for ( var i = 0, prop ; prop = properties[i] ; i++ ... | {
"content_hash": "d70897f37f79827c9c60d140746f3e31",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 89,
"avg_line_length": 30.383838383838384,
"alnum_prop": 0.5325797872340425,
"repo_name": "jlhughes/foam",
"id": "c56e05e77356078d20d61c4a30e35fb6f84422a2",
"size": "3636",... |
/**
* Check if arguments are nor null and neither undefined.
*/
export function isPresent() {
var args = Array.prototype.slice.call(arguments);
for (var i = 0; i < args.length; i++) {
var it = args[i];
if (it === null || it === undefined) {
return false;
}
}
return true;
}
/**
* Check if ... | {
"content_hash": "3d13a17c1d22a759456bc1f3e1f47b2e",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 80,
"avg_line_length": 20.82051282051282,
"alnum_prop": 0.5849753694581281,
"repo_name": "Laucsen/node-migrate-lite",
"id": "1facaffd21778fd43c465d50ace7c2ef3216d0d5",
"siz... |
package spookfishperfviz;
import static spookfishperfviz.Utils.forEach;
import static spookfishperfviz.Utils.reverse;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.NavigableSet;
import java.uti... | {
"content_hash": "3edfaafeec7166614e1a0fa09f33f103",
"timestamp": "",
"source": "github",
"line_count": 591,
"max_line_length": 185,
"avg_line_length": 40.585448392554994,
"alnum_prop": 0.7107896272825815,
"repo_name": "rahulbakale/Spookfish-Perf-Viz",
"id": "412743158348608c8c7683ea3edcfd248db0e17f"... |
/**
* Vidom
* @author Filatov Dmitry <dfilatov@inbox.ru>
* @version 0.8.6
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.vidom = global.vidom || {})));
... | {
"content_hash": "4306b91f5b507b0ef91e379c1e3a347a",
"timestamp": "",
"source": "github",
"line_count": 3572,
"max_line_length": 363,
"avg_line_length": 25.5498320268757,
"alnum_prop": 0.5172576262272089,
"repo_name": "sashberd/cdnjs",
"id": "be2df1826e2630c42e3be40a283f639f2d247113",
"size": "9127... |
package org.apache.orc.impl;
import org.apache.orc.CompressionKind;
import java.io.IOException;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Ti... | {
"content_hash": "bcec2d6d269b0564f90a9fa6451e5af3",
"timestamp": "",
"source": "github",
"line_count": 1343,
"max_line_length": 113,
"avg_line_length": 39.83618763961281,
"alnum_prop": 0.6433457943925234,
"repo_name": "pudidic/orc",
"id": "0dacc70a4401e04682394d436964c05191eda17b",
"size": "54306"... |
// Package installcni implements the install CNI action
package installcni
import (
"bytes"
"strings"
"text/template"
"sigs.k8s.io/kind/pkg/errors"
"sigs.k8s.io/kind/pkg/internal/apis/config"
"sigs.k8s.io/kind/pkg/cluster/internal/create/actions"
"sigs.k8s.io/kind/pkg/cluster/nodeutils"
"sigs.k8s.io/kind/p... | {
"content_hash": "079e9422d583172ca55e597764265bb1",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 102,
"avg_line_length": 28.722689075630253,
"alnum_prop": 0.711234640140433,
"repo_name": "operator-framework/operator-lifecycle-manager",
"id": "eeee6a287877fd6a6e4470c07a3... |
<?php
namespace Cac\MailingBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files
*
* To learn more see {@link http://symfony... | {
"content_hash": "b34db9264a610c8b2550dc961d560459",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 131,
"avg_line_length": 30.24137931034483,
"alnum_prop": 0.7160775370581528,
"repo_name": "t-n-y/cac",
"id": "b9df8072da53e8e869f97a17007cae2535a59a01",
"size": "877",
"b... |
import { Injectable } from '@angular/core';
export class Email {
to: string;
subject: string;
body: string;
}
@Injectable()
export class EmailService {
public sendEmail(email: Email) {
let plugins: any = (<any>window).cordova.plugins;
plugins.email.isAvailable(() => {
plugins.email.open(email);
});
}
} | {
"content_hash": "07dc018342767ac873796b96326cce50",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 51,
"avg_line_length": 18.764705882352942,
"alnum_prop": 0.677115987460815,
"repo_name": "skounis/supermodular2",
"id": "8692a77b577d8c9be358dc32cfc58687844783f1",
"size": ... |
import Ember from 'ember';
export default Ember.Controller.extend({
queryParams: ['environmentId','upgrade'],
environmentId: null,
upgrade: null,
actions: {
cancel() {
this.send('goToPrevious','applications-tab.catalog');
}
},
});
| {
"content_hash": "4b433729af63a69c0d526ef53d57b206",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 59,
"avg_line_length": 19.76923076923077,
"alnum_prop": 0.6536964980544747,
"repo_name": "ubiquityhosting/rancher_ui",
"id": "c5faa6db693de5b3772fa4378bb558923d34a56f",
"si... |
describe('Controller: MenuController', function () {
// load the controller's module
beforeEach(module('FinEurekaApp'));
var MenuController,
scope, $httpBackend;
// Initialize the controller and a mock scope
beforeEach(inject(function ($controller, _$httpBackend_, $rootScope, menuFactory) {
... | {
"content_hash": "8bdebdd449d559bc3746ee840ecff87c",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 86,
"avg_line_length": 26.607142857142858,
"alnum_prop": 0.5825503355704698,
"repo_name": "chechuco/FinEureka",
"id": "da8dedba75db86ae8a7ba0db2a6ecf43d15c525d",
"size": "1... |
/*
* 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
* distributed u... | {
"content_hash": "78bb4973e23cbb2600ca8ca00ce7b68f",
"timestamp": "",
"source": "github",
"line_count": 499,
"max_line_length": 155,
"avg_line_length": 35.91583166332666,
"alnum_prop": 0.6549492244169177,
"repo_name": "lirui-apache/hive",
"id": "93d9509edd58052e56a69f60d531c1c9334bdaea",
"size": "1... |
class Golden::Menu::HierarchicalMenusController < ApplicationController
include ::TheSortableTreeController::Rebuild
before_filter :authenticate_session!
before_filter :new_menu, only: [:create]
load_and_authorize_resource :menu, class: 'Golden::Menu::HierarchicalMenu', parent: false #, find_by: :url
def in... | {
"content_hash": "df2be72a40c64f8666810563997859da",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 108,
"avg_line_length": 19.459016393442624,
"alnum_prop": 0.6798652064026959,
"repo_name": "goldenio/golden-menu",
"id": "665df362717bfedb1b15068e8d2b2d44110d194b",
"size":... |
package command
import (
"fmt"
"strconv"
"github.com/coreos/etcd/Godeps/_workspace/src/github.com/spf13/cobra"
"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
"github.com/coreos/etcd/Godeps/_workspace/src/google.golang.org/grpc"
pb "github.com/coreos/etcd/etcdserver/etcdserverpb"
)
// N... | {
"content_hash": "a7a39f8fb6843f453e5f02a709415d9b",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 80,
"avg_line_length": 27.022222222222222,
"alnum_prop": 0.725328947368421,
"repo_name": "cchamplin/etcd",
"id": "9844b4227336ea30bddca3c3c165547efa37dbe9",
"size": "1806",... |
require 'psych'
require 'set'
module Overcover
class RspecCollector
class << self
def paths
@paths ||= []
end
def should_analyse?(path)
paths.empty? || paths.any? {|p| path.start_with?(p) }
end
def add_filter(filter)
paths << filter
end
def ... | {
"content_hash": "681844d24e8faf68bf9f26456afdf50a",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 100,
"avg_line_length": 22.53061224489796,
"alnum_prop": 0.5280797101449275,
"repo_name": "skizz/overcover",
"id": "70f3975d1daf861960d67433e3e5037f47fd50e9",
"size": "2208... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "6f7c79aa21145b1e32f75896abc95ac9",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "4ebbaed24d3deeed7c086007637c58154b6a41fd",
"size": "19... |
package com.dataartisans.flink_demo.sinks
import java.util
import org.apache.flink.configuration.Configuration
import org.apache.flink.streaming.api.functions.sink.RichSinkFunction
import org.elasticsearch.action.index.IndexRequest
import org.elasticsearch.action.update.UpdateRequest
import org.elasticsearch.client... | {
"content_hash": "f2e7618f9bb8a16d61b84e75b61594e0",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 115,
"avg_line_length": 31,
"alnum_prop": 0.7503506311360448,
"repo_name": "dataArtisans/flink-streaming-demo",
"id": "106c6a4c233a2aebc327749cf22c13f60ac4c08a",
"size": "2... |
var MemoryCards = (function(){
var alphabet = ' abcdefghijklmnopqrstuvwxyz';
function MemoryCardset(numPairs) { //card set ctor
if (numPairs < 1) numPairs = 1;
if (!numPairs || (numPairs > 26)) numPairs = 26;
this.values = [];
while (numPairs) {
this.values.push(alphabet[numPairs]);
this.values.push(alphabet[numPairs].... | {
"content_hash": "0117f81d6e70ef6016b8527b04690459",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 78,
"avg_line_length": 29.09090909090909,
"alnum_prop": 0.71875,
"repo_name": "portlandcodeschool/jse-planning",
"id": "1fc9e698d67ae91fae121bbab06ac309a5f52f4d",
"size": "... |
<?php
namespace Symfony\Components\BrowserKit;
/**
* CookieJar.
*
* @package Symfony
* @subpackage Components_BrowserKit
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class CookieJar
{
protected $cookieJar = array();
/**
* Sets a cookie.
*
* @param Symfony... | {
"content_hash": "38685f4883ba08cc5db6ceaab72197e0",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 120,
"avg_line_length": 23.50769230769231,
"alnum_prop": 0.5346858638743456,
"repo_name": "dynamicguy/gpweb",
"id": "0906e734d8ec5e59bd1dff91556e995fb2ee47c6",
"size": "33... |
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>Code for Sri Lanka</title>
<link rel="shortcut icon" type="image/jpg" href="favicon.ico"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css... | {
"content_hash": "615e405bf2b5d0b0edf7fe625be58602",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 167,
"avg_line_length": 50.432432432432435,
"alnum_prop": 0.6441586280814576,
"repo_name": "codeforsrilanka/codeforsrilanka.github.io",
"id": "70377fff17debf491a117db6566c71b... |
package alluxio.master.journal.ufs;
import alluxio.conf.ServerConfiguration;
import alluxio.Constants;
import alluxio.conf.PropertyKey;
import alluxio.underfs.UnderFileSystem;
import alluxio.util.ThreadFactoryUtils;
import com.google.common.base.Preconditions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory... | {
"content_hash": "848f324ec5910fa335bf7c11bfa4953e",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 99,
"avg_line_length": 32.09285714285714,
"alnum_prop": 0.7137769864233252,
"repo_name": "calvinjia/tachyon",
"id": "eb25e3ab3a06581be31273f6ebfb8c4fc16bacb6",
"size": "50... |
package com.malin.rxjava.utils;
import rx.Subscription;
import rx.subscriptions.CompositeSubscription;
public class RxUtils {
private RxUtils() {
}
public static void unsubscribeIfNotNull(Subscription subscription) {
if (subscription != null) {
subscription.unsubscribe();
... | {
"content_hash": "b71a742b24a9743d59ad7c396a64ba97",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 110,
"avg_line_length": 22.40740740740741,
"alnum_prop": 0.6793388429752066,
"repo_name": "androidmalin/RengwuxianRxjava",
"id": "43f3f6787ee1461da096430f4c282f338921aabf",
... |
/*** elektra.TicketsPG ******************************************************
$Header: $
In dieser Klasse werden fuer WebRequest und WebInterface die Daten fuer
eine Anfrage einer Ermaessigung in einer Preisgruppe eines Kartenauftrages verpackt
(c) ORESTES Lizenzvertreibsges. mbH 2005
Karsten R... | {
"content_hash": "c123f1c010e01ba987480456a979b393",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 88,
"avg_line_length": 21.06122448979592,
"alnum_prop": 0.563953488372093,
"repo_name": "yanhongwang/TicketBookingSystem",
"id": "4f3ae8a5e577fc5752a1791ee653053f7e2a010f",
... |
<?php
namespace Yoast\WP\SEO\Helpers;
use Yoast\WP\SEO\Models\SEO_Links;
/**
* A helper object for URLs.
*/
class Url_Helper {
/**
* Retrieve home URL with proper trailing slash.
*
* @param string $path Path relative to home URL.
* @param string|null $scheme Scheme to apply.
*
* @return string... | {
"content_hash": "9434c72affaf9153d99036a3497074aa",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 120,
"avg_line_length": 27.76851851851852,
"alnum_prop": 0.6115371790596865,
"repo_name": "andrewchart/andrewchart.co.uk-2017",
"id": "3d8a30eab214613f20419147f262ab455757c8... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | {
"content_hash": "0fc4982491e1a44c274198000058d611",
"timestamp": "",
"source": "github",
"line_count": 295,
"max_line_length": 562,
"avg_line_length": 40.9593220338983,
"alnum_prop": 0.5183315401804187,
"repo_name": "kuhlenh/port-to-core",
"id": "16060a417f921b75da5f8170ea35e569ebe6ac67",
"size": ... |
package org.openkilda.wfm.share.zk;
public enum ZkStreams {
ZK
}
| {
"content_hash": "6f18de58154088ba5d3a2dfc7c36715f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 35,
"avg_line_length": 10.285714285714286,
"alnum_prop": 0.6944444444444444,
"repo_name": "telstra/open-kilda",
"id": "96d2ec70b8ec146686f2ebd9d532de3a95adf175",
"size": "68... |
var tb = new KrdToolbox();
(function () {
"use strict";
var USE_COOKIES = false;
var DEBUG_LEVEL = 2;
var REDCAP = "REDCAP";
var LOCAL = "LOCAL";
var app = angular.module('Vand-AID', ['library-canvas', 'va-sidebox', 'ngResource', 'ngAnimate',
'ngMaterial', 'ngSanitize', 'menuBar', 'va-topbar']);
a... | {
"content_hash": "fb80c67e377933a4ae19c9aadff75837",
"timestamp": "",
"source": "github",
"line_count": 340,
"max_line_length": 100,
"avg_line_length": 26.32941176470588,
"alnum_prop": 0.5246872207327972,
"repo_name": "KevinDufendach/vandaid-nicuhandoff",
"id": "48134b1ae01214fe9aea6b0f622b3f679b2895... |
package com.mysql.jdbc;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.sql.SQLException;
import java.util.Properties;
public class ReflectiveStatementInterceptorAdapter implements StatementInterceptorV2 {
private final StatementInterceptor toProxy;
final M... | {
"content_hash": "367037625744f89a62a28ed5669933dc",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 158,
"avg_line_length": 39.41095890410959,
"alnum_prop": 0.6965589155370178,
"repo_name": "anderslatif/forbr_ndingen-display",
"id": "d7a3f904211f904a511e4a65f169e26b1a09e01f... |
<?php
namespace core\interfaces;
/**
* Interface PathHelperInterface
* @package core\interfaces
* Интерфейс для класса PathHelper
*/
interface PathHelperInterface{
/**
* @param $path string Относительный или абсолютный путь к файлу или папке
* @return bool Пров... | {
"content_hash": "5000b069590fbba077d02693de6d3efd",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 102,
"avg_line_length": 38.1375,
"alnum_prop": 0.6414290396591281,
"repo_name": "savchukoleksii/beaversteward",
"id": "a99d25e7c176b48a525ba675e0d59b12f40aa6f9",
"size": "4... |
import mongoose = require("mongoose");
import { IUserModel } from "./IUserModel";
var userSchema = new mongoose.Schema({
email: { type: String, required: true },
password: { type: String, required: true},
displayName: String
});
var User = mongoose.model<IUserModel>("User", userSchema,'myUserCol');
exp... | {
"content_hash": "4d9b46aa9ea10101a9e3beb5139fdf10",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 70,
"avg_line_length": 22.6,
"alnum_prop": 0.6873156342182891,
"repo_name": "ziaukhan/learn-node-typescript",
"id": "2e75cb4c6a07146d8a9d06b2657c7e09b3f52523",
"size": "384... |
<properties XML_version="1.2">
<property Type="stringfield" Value="1.212" id="TIOptionsVersion"></property>
<property Type="stringfield" Value="-D=__MSP430F47187__ --data_model=restricted --use_hw_mpy=32 --silicon_errata=CPU19" id="CompilerBuildOptions"></property>
<property Type="stringfield" Value="-llibmath.a -i${... | {
"content_hash": "7ea0db53b07663197e54ba0cb50495c9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 159,
"avg_line_length": 87.2,
"alnum_prop": 0.7362385321100917,
"repo_name": "pftbest/msp430_svd",
"id": "9c9b861b2e4632b2aa74ca5765eb67aef95fd089",
"size": "436",
"binary... |
package com.vmware.vim25;
/**
* @author Steve Jin (http://www.doublecloud.org)
* @version 5.1
*/
@SuppressWarnings("all")
public class ClusterDpmHostConfigSpec extends ArrayUpdateSpec {
public ClusterDpmHostConfigInfo info;
public ClusterDpmHostConfigInfo getInfo() {
return this.info;
}
public void se... | {
"content_hash": "db1c6b55029a1634134b89ebd4be2ede",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 63,
"avg_line_length": 18.285714285714285,
"alnum_prop": 0.7369791666666666,
"repo_name": "xebialabs/vijava",
"id": "30e976c56c1a30352bd64a41ec731d5195848679",
"size": "202... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateAvatarsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('avatars', funct... | {
"content_hash": "7a2e433a32afa9e86f4912df80a6e2ff",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 63,
"avg_line_length": 20.12121212121212,
"alnum_prop": 0.5542168674698795,
"repo_name": "tinythink/tms",
"id": "38e60b4e903fe150ac04c15b2f05c4a42e2932f3",
"size": "664",
... |
module API
module Entities
class SSHKeyWithUser < Entities::SSHKey
expose :user, using: Entities::UserPublic
end
end
end
| {
"content_hash": "ce635363476bb3518b7393ebb0cefda3",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 47,
"avg_line_length": 19.857142857142858,
"alnum_prop": 0.7050359712230215,
"repo_name": "mmkassem/gitlabhq",
"id": "95559bbf2ac151a242f1e3ece1c1830ba009d8c5",
"size": "170... |
<?php
namespace couchServe\Service\Lib\Exceptions;
class ModuleRegistryException extends GenericException {} | {
"content_hash": "350136f5e0084bc5dbf0151dc04dd260",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 61,
"avg_line_length": 29.25,
"alnum_prop": 0.7948717948717948,
"repo_name": "filecage/couchserve-service",
"id": "9d263b55eb371b46fc9ffe0424fd55d3fc585627",
"size": "117",
... |
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" ng-app="myApp" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" ng-app="myApp" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]... | {
"content_hash": "53c6905c6e67863343d06c4d8ce3a10a",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 178,
"avg_line_length": 44.767857142857146,
"alnum_prop": 0.6549660949341842,
"repo_name": "grmxque/seed-angular-php",
"id": "78d7b1b437acecf22f7bea50b0447943bc1aa68b",
"si... |
<?php
namespace QCharts\CoreBundle\ResultFormatter;
class HCPolarFormatter extends HCUniversalFormatter
{
/**
* @return array
*/
public function getChartConfig()
{
return [
"polar"=>true,
"type"=>$this->getChartType($this->chartType)
];
}
/**
... | {
"content_hash": "d8c98c5bb2d0e3e915c7c703c5c64ea1",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 57,
"avg_line_length": 18.4,
"alnum_prop": 0.5507246376811594,
"repo_name": "arnulfojr/qcharts",
"id": "de3a1bce8e615a69b24dd94dc17dc95bb44508a5",
"size": "552",
"binary"... |
[Back to the "Repos API"](../../repos.md) | [Back to the navigation](../../README.md)
### List workflow runs for a repository
https://docs.github.com/en/rest/reference/actions#list-workflow-runs-for-a-repository
```php
$workflowRuns = $client->api('repo')->workflowRuns()->all('KnpLabs', 'php-github-api');
```
### L... | {
"content_hash": "834ec7c35ae8a76538b17ab40e16089f",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 98,
"avg_line_length": 26.3855421686747,
"alnum_prop": 0.689041095890411,
"repo_name": "acrobat/php-github-api",
"id": "4b879ca5b98c0ed25d88be61617a245eab85f24a",
"size": "... |
package sve2.fhbay.interfaces;
import javax.ejb.Local;
@Local
public interface ArticleAdminLocal extends ArticleAdmin {
}
| {
"content_hash": "3f215bfb20f2d79d49101d04f518ce3c",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 57,
"avg_line_length": 15.625,
"alnum_prop": 0.808,
"repo_name": "thomasfischl/fhbay",
"id": "9b5b937f43fe2ab6bc819e2d2994eb638e03588e",
"size": "125",
"binary": false,
... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Ramalina scopulorum var. nigripes Wedd.
### Remarks
null | {
"content_hash": "5011782daf235461816128b63e8a536e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.076923076923077,
"alnum_prop": 0.7152777777777778,
"repo_name": "mdoering/backbone",
"id": "b899cebdaccd862b9a6c431682fb4bc4e6b22ae4",
"size": "20... |
namespace os::mem::detail {
class Pmr_pool : public std::enable_shared_from_this<Pmr_pool>, public std::pmr::memory_resource {
public:
using Resource = os::mem::Pmr_pool::Resource;
using Resource_ptr = os::mem::Pmr_pool::Resource_ptr;
Pmr_pool(std::size_t total_max, std::size_t suballoc_max, std::s... | {
"content_hash": "f69dc299804e66653673c125cf5260bb",
"timestamp": "",
"source": "github",
"line_count": 298,
"max_line_length": 107,
"avg_line_length": 26.71812080536913,
"alnum_prop": 0.5810097965335342,
"repo_name": "hioa-cs/IncludeOS",
"id": "b8ca3032267462a46ff135a48d9f3686fab5318d",
"size": "8... |
3.0.5 / 2012-12-19
==================
* add throwing when a non-function is passed to a route
* fix: explicitly remove Transfer-Encoding header from 204 and 304 responses
* revert "add 'etag' option"
3.0.4 / 2012-12-05
==================
* add 'etag' option to disable `res.send()` Etags
* add escaping of... | {
"content_hash": "d78d98c1efd44f7d937e0d41240d2628",
"timestamp": "",
"source": "github",
"line_count": 1071,
"max_line_length": 177,
"avg_line_length": 35.74416433239963,
"alnum_prop": 0.6662400083590199,
"repo_name": "laugga/memories.laugga.com",
"id": "57bf9ade97de6660a729216f231d9be3830b3e5d",
... |
<?php
namespace System\Web\Mvc;
class CollectionModelBinderAttribute extends ModelBinder {
protected $model;
public function __construct($paramName, $model){
$this->paramName = $paramName;
$this->model = $model;
}
public function bind(\System\Web\Mvc\ModelBindin... | {
"content_hash": "bbd9963c08c8fc81ab3fc40ca5c16e32",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 96,
"avg_line_length": 31.473684210526315,
"alnum_prop": 0.4765886287625418,
"repo_name": "mercuryphp/framework",
"id": "abc339c2adb03a9d0772c915b74f8e11e1b930c1",
"size": ... |
from .random_article import *
| {
"content_hash": "244e0d34c4dca3823be76a359265952b",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 29,
"avg_line_length": 30,
"alnum_prop": 0.7666666666666667,
"repo_name": "Naereen/cuisine",
"id": "b59a6a03a193acf519225f4f9771ddd002d994fb",
"size": "30",
"binary": fals... |
% This file is part of AceRules.
% Copyright 2008-2012, Tobias Kuhn, http://www.tkuhn.ch
%
% AceRules is free software: you can redistribute it and/or modify it under the terms of the GNU
% Lesser General Public License as published by the Free Software Foundation, either version 3 of
% the License, or (at your option)... | {
"content_hash": "4175dd25c7587c981288d96dac82d49e",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 104,
"avg_line_length": 33.758389261744966,
"alnum_prop": 0.7073558648111332,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "523fd2393b37da1ae0a265b7fde8fc1431569203",
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Web;
namespace StravaConnector
{
/// <summary>
/// Represents a Strava segment.
/// </summary>
public sealed class Segment
{
/// <summary>
/// Represents climb category type.
/// <para>
/// See https://strava.zendesk.com/entri... | {
"content_hash": "8454a4f0c97a3cccea898bc554da9fe3",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 231,
"avg_line_length": 29.382488479262673,
"alnum_prop": 0.6700125470514429,
"repo_name": "arthurpitman/strava-connector",
"id": "7721c9733b978d0f2d7c8aee23ff91c414fdd3fd",... |
/* Generated By:JavaCC: Do not edit this line. Token.java Version 6.1 */
/* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COLUMN=true,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
/*
*
* This file is part of Java 1.8 parser and Abstract Syntax Tree.
*
* Java 1.8 parser and Abstract Syntax Tree is free software: you can redistri... | {
"content_hash": "41a8c9aedd605ead5cd84a571e123011",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 100,
"avg_line_length": 32.41958041958042,
"alnum_prop": 0.6956427955133736,
"repo_name": "xdrop/java-symbol-solver",
"id": "2731d04279724c63ddfe42684f9f0c6801ac16b9",
"si... |
module Azure::Web::Mgmt::V2020_09_01
module Models
#
# Backup description.
#
class BackupItem < ProxyOnlyResource
include MsRestAzure
# @return [Integer] Id of the backup.
attr_accessor :backup_id
# @return [String] SAS URL for the storage account container which
# con... | {
"content_hash": "67efebf1255956cb44ff5d0a85ee83f0",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 78,
"avg_line_length": 31.704980842911876,
"alnum_prop": 0.44157099697885194,
"repo_name": "Azure/azure-sdk-for-ruby",
"id": "8d411a850dc80a31e5335f24c259f3e818a3c549",
"s... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4bfb8ac6873fc3818627502285fe058f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "8fccb1ec1e9b2cd8cce53f678f889fbe75eb1bfe",
"size": "172... |
Service Directory is a platform for discovering, publishing, and connecting
services. It offers customers a single place to register and discover their
services in a consistent and reliable way, regardless of their environment.
## Description
These samples show how to use the
[Service Directory API](https://cloud.goo... | {
"content_hash": "013470c87b6051d2289386253cf1a730",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 106,
"avg_line_length": 27.924242424242426,
"alnum_prop": 0.6945198046663049,
"repo_name": "dazuma/google-cloud-ruby",
"id": "5e3abfe6219b1d3d505bbd5d57fc0c45f4f2cef7",
"si... |
/**
*
*/
package com.kushal.factoryMethod;
/**
* @author kushal
*
*/
public class MD5EncryptorFactory extends AbstractEncryptorFactory {
/*
* (non-Javadoc)
*
* @see com.kushal.factoryMethod.AbstractEncryptorFactory#getEncryptionAlgorithm()
*/
@Override
public IEncryptionProduct getEncryptionAl... | {
"content_hash": "d929bf283216d83312e608c1e18eb6c4",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 84,
"avg_line_length": 16.90909090909091,
"alnum_prop": 0.6989247311827957,
"repo_name": "kushal-r/MyWorkspace",
"id": "97747edd4aaed4e1b42f42c5a870c695206aee33",
"size": "... |
package com.google.gerrit.pgm;
import static com.google.gerrit.server.schema.DataSourceProvider.Context.MULTI_USER;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import com.google.gerrit.common.Die;
import com.google.gerrit.lifecycle.LifecycleManager;
import com.google.gerrit.lucene.L... | {
"content_hash": "d4f83f163108eb90d493fb9d537276e7",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 112,
"avg_line_length": 35.40718562874252,
"alnum_prop": 0.7211229494334517,
"repo_name": "NextGenIntelligence/gerrit",
"id": "44f80f27a1cef366a543e2628bb632fe000f28f2",
"... |
package pet
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the generate command
import (
"errors"
"net/url"
golangswaggerpaths "path"
"github.com/go-openapi/swag"
)
// PetListURL generates an URL for the pet list operation
type PetListURL struct {
Status... | {
"content_hash": "6b61df5aea4b25dd27766c0b94d51343",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 99,
"avg_line_length": 23.55045871559633,
"alnum_prop": 0.6918582002337359,
"repo_name": "go-swagger/go-swagger",
"id": "13a8cf868ed41b9f3441b37af495fd278411bfe4",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<script data-main="js/main" src="./bower_components/requirej... | {
"content_hash": "89ef1215c962657e9376b6cb3637e1ff",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 91,
"avg_line_length": 30.25,
"alnum_prop": 0.5840220385674931,
"repo_name": "samithks/design-patterns",
"id": "dbcc312613e587aba279e9520505a2db0f5af540",
"size": "363",
... |
using namespace boost;
const int BITCOIN_IPC_CONNECT_TIMEOUT = 1000; // milliseconds
const QString BITCOIN_IPC_PREFIX("nestorcoin:");
//
// Create a name that is unique for:
// testnet / non-testnet
// data directory
//
static QString ipcServerName()
{
QString name("BitcoinQt");
// Append a simple hash of ... | {
"content_hash": "54d057a46259853b297708bc3ad221fd",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 107,
"avg_line_length": 28.72463768115942,
"alnum_prop": 0.6589303733602422,
"repo_name": "Nestorcoin/nestorcoin",
"id": "149593702e4c0a3f603484bb06717b0dbbdbe567",
"size"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "e18f26e5908742f36071e7704fa2c556",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "65397803da8cb3ff2e2ce273f20e725e93817626",
"size": "177... |
namespace AdventureWorks.Repository.Main
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
public interface IRepository<T>
{
IList<T> SearchFor(Expression<Func<T, bool>> predicate);
IList<T> GetAll();
T GetById(int id);
}
} | {
"content_hash": "357a4eb02fa9741f18dde401ad7d9484",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 64,
"avg_line_length": 23.384615384615383,
"alnum_prop": 0.6513157894736842,
"repo_name": "krzysztofkolek/AdventureWorksAPI",
"id": "f8e95a87b6a634ea4f10ec468e4fe154a1a3e177"... |
static NSString *const AMConfigurationLayoutsKey = @"layouts";
// The key to reference the modifier flags intended to be used for a specific
// command. This key is optionally present. If ommitted the default value is
// used.
//
// Valid strings are defined below. Any other values are an assertion error.
static NSStr... | {
"content_hash": "b3b73217e1592744b41264f7988a4982",
"timestamp": "",
"source": "github",
"line_count": 472,
"max_line_length": 198,
"avg_line_length": 48.4978813559322,
"alnum_prop": 0.7491153728539601,
"repo_name": "m4rw3r/Amethyst",
"id": "4863e5ae0e8ee9f0ad7f4ac616db31eb632e1622",
"size": "2343... |
import {inject, TestBed} from '@angular/core/testing';
import {WidgetService} from './widget.service';
import {Response, ResponseOptions, ResponseType, Http} from '@angular/http';
import {Dashboard} from './dashboard';
import {WidgetConfig} from './widget-config';
import {Observable} from 'rxjs/Observable';
import 'rxj... | {
"content_hash": "6049e062f799bb3b5024d5d9f207a70d",
"timestamp": "",
"source": "github",
"line_count": 196,
"max_line_length": 115,
"avg_line_length": 35.076530612244895,
"alnum_prop": 0.5909818181818182,
"repo_name": "reflectoring/infiniboard",
"id": "1d54d01449b7d2388a82976f5ee1ead5678d1a51",
"s... |
let addEmp41 = (employees) => {
employees.push(
{id:41, name: 'Jerome McCarthy'}
)
return employees;
};
export {addEmp41};
| {
"content_hash": "dcae477112370168569c501049e9f1b6",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 40,
"avg_line_length": 18,
"alnum_prop": 0.5833333333333334,
"repo_name": "dharapvj/learning-webpack2",
"id": "751a7f35a500e771824165929205ee7e46a76a91",
"size": "144",
"b... |
#include "platform-posix.h"
#include "openthread/types.h"
#include "openthread/platform/misc.h"
void otPlatReset(otInstance *aInstance)
{
// This function does nothing on the Posix platform.
(void)aInstance;
}
otPlatResetReason otPlatGetResetReason(otInstance *aInstance)
{
(void)aInstance;
return k... | {
"content_hash": "e40cdf2128d610262b9ad859e49be79f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 61,
"avg_line_length": 19.27777777777778,
"alnum_prop": 0.7492795389048992,
"repo_name": "Zolertia/openthread",
"id": "4201f13577f3ce8af7c5ca3273037bd76477d1d3",
"size": "1... |
#ifndef _UTMP_H
# error "Never include <bits/utmp.h> directly; use <utmp.h> instead."
#endif
#include <paths.h>
#include <sys/time.h>
#include <sys/types.h>
#include <bits/wordsize.h>
#define UT_LINESIZE 32
#define UT_NAMESIZE 32
#define UT_HOSTSIZE 256
/* The structure describing an entry in the database of
... | {
"content_hash": "c2047a082a286d8dfcd361be7a0b9ea5",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 73,
"avg_line_length": 28.8018018018018,
"alnum_prop": 0.6609321238661245,
"repo_name": "andrewrk/zig",
"id": "75bef50c8a8d47a95eb5ddc132472e793c470ae5",
"size": "4063",
... |
@interface LGSideMenuBorderView : UIView
@property (assign, nonatomic) UIRectCorner roundedCorners;
@property (assign, nonatomic) CGFloat cornerRadius;
@property (strong, nonatomic, nullable) UIColor *strokeColor;
@property (assign, nonatomic) CGFloat strokeWidth;
@property (strong, nonatomic, nullable) UIColor *shado... | {
"content_hash": "9f8b4251b31bbe6b31c9c1c164a682bf",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 61,
"avg_line_length": 38.4,
"alnum_prop": 0.8020833333333334,
"repo_name": "dvlproad/CommonLibrary",
"id": "b9212e0346553f8b6d76d7fab61873907df236b4",
"size": "1710",
"b... |
=======
Sorting
=======
Basic sort
==========
Order a table by the :code:`last_name` column:
.. code-block:: python
new_table = table.order_by('last_name')
Multicolumn sort
================
Because Python's internal sorting works natively with arrays, we can implement multi-column sort by returning an array ... | {
"content_hash": "654e67dd6654ac67ac839be3373680aa",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 141,
"avg_line_length": 19.705882352941178,
"alnum_prop": 0.6447761194029851,
"repo_name": "captainsafia/agate",
"id": "065bc84dc451352c20ee5e4f316fe7f37f50d623",
"size": "... |
<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if output has a custom error, it should not be affected by :-moz-ui-valid
pseudo-class. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('b').setCustomValidity('foo'); document.documentElement.cla... | {
"content_hash": "644b4022260aea7586752293315af7e9",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 111,
"avg_line_length": 44.44444444444444,
"alnum_prop": 0.665,
"repo_name": "sergecodd/FireFox-OS",
"id": "83e824350fccce5f9eff090ff53aa170bed6b0d0",
"size": "400",
"bina... |
<?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\ac\models\Session */
$this->title = 'Create Session';
$this->params['breadcrumbs'][] = ['label' => 'Sessions', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="content-wrapper">
<div class="cont... | {
"content_hash": "23c945920043a00c6c209a8491a575c2",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 77,
"avg_line_length": 20.8,
"alnum_prop": 0.5528846153846154,
"repo_name": "nihilco/NF2",
"id": "ce93a41ede0ffe10abefb907e0dc81cdefa74e46",
"size": "624",
"binary": fals... |
/**
* The package for the task's tests:
* 6.8. Removing duplicates in an array.
*
* @author Alex Proshak (olexandr_proshak@ukr.net)
*/
package ru.job4j.task8; | {
"content_hash": "1606a0faa3ae4572d1863c69d8be891b",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 50,
"avg_line_length": 23.285714285714285,
"alnum_prop": 0.6871165644171779,
"repo_name": "OleksandrProshak/Alexandr_Proshak",
"id": "a9138b120531570c6c2419be2eb2ca12499e0dfe"... |
package me.iwf.photopicker;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import java.util.ArrayList;
/**
* Created by Donglua on 16/6/25.
* Builder class to ease Intent setup.
*/
public class PhotoPr... | {
"content_hash": "b40e634c15c567f83698ae44d147b503",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 117,
"avg_line_length": 29.752475247524753,
"alnum_prop": 0.7024958402662229,
"repo_name": "donglua/PhotoPicker",
"id": "adb5131b07a25eeb3cf6890111e1506f5c537587",
"size":... |
Custom Database Tables
=======================
Agents are allowed to write their own custom output into the database during
simulations. The interface for recording this data is accessible through the
agent's :term:`context`. Data may be logged via the Context::NewDatum function:
.. code-block:: c++
MyReactor::T... | {
"content_hash": "dd0949af7e9b1fffcd87548bb04ac697",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 85,
"avg_line_length": 34.38059701492537,
"alnum_prop": 0.688951595398307,
"repo_name": "rwcarlsen/cyclus.github.com",
"id": "5063f70c1f19b7bbb8ea8657b25aefd04bd98ee0",
"s... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_29) on Mon Nov 26 17:21:43 MSK 2012 -->
<TITLE>
Uses of Class org.apache.poi.hpsf.UnexpectedPropertySetTypeException (POI API Documentation)
<... | {
"content_hash": "37c8b71636e059723d9e5d5a0301ee6d",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 358,
"avg_line_length": 49.5531914893617,
"alnum_prop": 0.6292400171747531,
"repo_name": "HRKN2245/CameraSunmoku",
"id": "a4fc8a12f8324d031779bf78aac6f55eb572c523",
"size"... |
package com.dianping.cat.transaction;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import junit.framework.Assert;
import org.junit.Test;
import org.unidal.helper.Files;
import com.dianping.cat.core.dal.Graph;
import com.dianping.cat.transaction.Handler.DetailOrder;
import com.dianping.cat.... | {
"content_hash": "cc87457958155fe49ee3d1a138b03a37",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 117,
"avg_line_length": 33.788990825688074,
"alnum_prop": 0.710019006244909,
"repo_name": "unidal/cat",
"id": "df7efaefabb16f7e145fd2f41bf00749e3393f49",
"size": "3683",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.