text stringlengths 2 1.04M | meta dict |
|---|---|
'use strict';
angular.module('ontimeApp')
.controller('ProjectDetailController', function ($scope, $rootScope, $stateParams, entity, Project) {
$scope.project = entity;
$scope.load = function (id) {
Project.get({id: id}, function(result) {
$scope.project = result;
... | {
"content_hash": "99e7a804ba81526ecb2012039b9b5eb9",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 105,
"avg_line_length": 33.625,
"alnum_prop": 0.5613382899628253,
"repo_name": "sandor-balazs/nosql-java",
"id": "6a1629f05fd9cbecbd39476bfb37793f637c19c6",
"size": "538",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using Microsoft.Deployment.WindowsInstaller;
using WixSharp.CommonTasks;
using IO = System.IO;
using System.IO;
using System.Diagnostics;
namespace WixSharp
{
/// <summary>
... | {
"content_hash": "1f34b8f4ac25cd84cc0360bc80f2f2bc",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 167,
"avg_line_length": 39.84931506849315,
"alnum_prop": 0.5598716626561246,
"repo_name": "Eun/TestRepo",
"id": "0096b5d7a39cdc83702551c834e41ab106a0e060",
"size": "17454"... |
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DatabaseV3
{
/// <summary>
/// Represents an array in a document.
/// </summary>
public class DocumentArray : IDocumentElement
{
/// <summary>
/// The data in the array.
/// </summary>
... | {
"content_hash": "d5790527e1bb00f066a191cd3fa0666c",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 104,
"avg_line_length": 23.1,
"alnum_prop": 0.4072356215213358,
"repo_name": "CaptainCow95/DatabaseV3",
"id": "f4de244127a4e6d82d9fa4d2c3f586f268ea2c79",
"size": "3236",
... |
package org.apache.catalina.webresources;
import java.io.File;
import org.junit.Assert;
import org.junit.Test;
import org.apache.catalina.Context;
import org.apache.catalina.WebResource;
import org.apache.catalina.core.StandardHost;
import org.apache.catalina.startup.Tomcat;
import org.apache.catalina.s... | {
"content_hash": "afbc31510bd1c35bf1dafd2e2ca882db",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 92,
"avg_line_length": 34.11290322580645,
"alnum_prop": 0.6728132387706856,
"repo_name": "IAMTJW/Tomcat-8.5.20",
"id": "60984e50d03c605a58c5a169c49442928e11b9e0",
"size": "... |
define(['durandal/plugins/router'], function (router) {
return {
router: router,
activate: function () {
router.map([
{ url: 'hello', moduleId: 'samples/hello/index', name: 'Hello World', visible: true },
{ url: 'view-composition', moduleId: 'samples... | {
"content_hash": "3934aa226e5a912a7156e6b432790182",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 128,
"avg_line_length": 58.15,
"alnum_prop": 0.5692175408426483,
"repo_name": "robksawyer/durandaljs",
"id": "03de97492c222cc6eabc169c1503a06376da2a9c",
"size": "1165",
"... |
package com.netflix.hollow.core.index;
import static com.netflix.hollow.core.schema.HollowObjectSchema.FieldType;
import static com.netflix.hollow.core.schema.HollowSchema.SchemaType;
import com.netflix.hollow.core.read.dataaccess.HollowCollectionTypeDataAccess;
import com.netflix.hollow.core.read.dataaccess.HollowD... | {
"content_hash": "af695b56117eb699b622aca694300399",
"timestamp": "",
"source": "github",
"line_count": 285,
"max_line_length": 199,
"avg_line_length": 44.46666666666667,
"alnum_prop": 0.6601436124043242,
"repo_name": "Netflix/hollow",
"id": "2ee298fed5a2d2c0ad8dfcce15803abe6ca6c87b",
"size": "1331... |
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">
<RelativeLayout xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_splash"
android:layout_width="match_parent"... | {
"content_hash": "264b7a42832f88cc1424bd85f3f9a604",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 111,
"avg_line_length": 43.31818181818182,
"alnum_prop": 0.6091290661070304,
"repo_name": "weiwenqiang/GitHub",
"id": "05f412c91ef96056d663594aafb349731e83ab3d",
"size": "1... |
class Create<%= class_name %> < ActiveRecord::Migration
def self.up
create_table :<%= table_name %> do |t|
t.string :event_type
t.references :object, :polymorphic => true
t.references :user
t.timestamps
end
add_index :<%= table_name %>, :event_type
add_index :<%= table_name %>... | {
"content_hash": "d90a1825f190fe1dde2fbb96693b798c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 60,
"avg_line_length": 25.5,
"alnum_prop": 0.5925925925925926,
"repo_name": "tomaass/billapp_event_horizon",
"id": "ce7adddd18444f2cc4cd0b6a4928c3a6001d67e7",
"size": "459"... |
require 'rake'
require 'pp'
require 'yaml'
require 'rubygems'
require 'stackbuilder/stacks/environment'
require 'stackbuilder/stacks/inventory'
require 'stackbuilder/support/mcollective'
require 'stackbuilder/support/mcollective_puppet'
require 'stackbuilder/compute/controller'
require 'stackbuilder/allocator/host_repo... | {
"content_hash": "bed2fab68e3f4a281a5403a8fa6c79fd",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 134,
"avg_line_length": 33.88421052631579,
"alnum_prop": 0.7291084187635912,
"repo_name": "tim-group/stackbuilder",
"id": "5923ad2fcafc2abc1e4149d96e50db66346e0d16",
"size"... |
(function () {
angular.module('sp-peoplepicker', []).directive('spPeoplePicker', function ($q, $timeout, $compile) {
//Usage:
//<sp-people-picker name="taskAssignee" id="taskAssignee" data-ng-model="$scope.taskAssignees" min-entries="1" max-entries="5" allow-duplicates="false" show-login="false" s... | {
"content_hash": "73683ec9c5f2c1c78cccf5065abc8c74",
"timestamp": "",
"source": "github",
"line_count": 566,
"max_line_length": 251,
"avg_line_length": 52.13250883392226,
"alnum_prop": 0.5076083641169892,
"repo_name": "jasonvenema/sharepoint-angular-peoplepicker",
"id": "fa0f93524c508a843c1307db18f33... |
package io.strimzi.crdgenerator.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation for classes which represent a choice between two or more possibilities identified by the
* {... | {
"content_hash": "5d19d7169d50ce044de2bccc57f7f09a",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 119,
"avg_line_length": 40.68421052631579,
"alnum_prop": 0.8072445019404916,
"repo_name": "ppatierno/kaas",
"id": "e0b061f545623621f544cf1f9201f9c67b77f88d",
"size": "911",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 30 08:25:22 GMT 2014 -->
<title>org.vertx.java.core.sockjs</title>
<meta name="date" content="2014-01-30">
<link rel="st... | {
"content_hash": "304d4296ca9a9ea51f8c787d0467e884",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 144,
"avg_line_length": 50.4,
"alnum_prop": 0.6896825396825397,
"repo_name": "fhg-fokus-nubomedia/signaling-plane",
"id": "1bb95489beb49b2dd12742ed49a875de013b8bb1",
"size"... |
var configuration = require('./configuration'),
db = require('./db'),
google = require('./google'),
Promise = require('bluebird'),
uuid = require('node-uuid');
/**
* @param {string} email
* @return {!Promise<!google.auth.JWT>}
*/
function authenticate (email) {
return google.authenticate({
ema... | {
"content_hash": "a935e133b72ce0938281e44715b30c85",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 79,
"avg_line_length": 22.11042944785276,
"alnum_prop": 0.607103218645949,
"repo_name": "chrisdoble/drive-hipchat",
"id": "c759d868dd1afb8763c5aacaec32d358dedfef95",
"size... |
<?php
namespace Jhg\ExpertSystem\Knowledge;
use Jhg\ExpertSystem\Knowledge\Exception\KnowledgeLoaderError;
use Jhg\ExpertSystem\KnowledgeBase\KnowledgeLoaderInterface;
/**
* Class KnowledgeJsonLoader
*
* @package Jhg\ExpertSystem\Knowledge
*/
class KnowledgeJsonLoader implements KnowledgeLoaderInterface
{
... | {
"content_hash": "81cc0075f94e024fcc9c6dbc3ceaa3e9",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 100,
"avg_line_length": 24.166666666666668,
"alnum_prop": 0.5636363636363636,
"repo_name": "blackmore466/expert-system",
"id": "55a6f4c5b09cb43156b176afbcf1fc2de9d39b98",
"... |
Oops.. something went wrong.
| {
"content_hash": "38eafc5f769b52c0fd5872527dbd48c8",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 28,
"avg_line_length": 29,
"alnum_prop": 0.7586206896551724,
"repo_name": "mkirvela/kyltti.com",
"id": "2b06f84905a55f92002ff82d81c5c726c46c1a66",
"size": "29",
"binary": ... |
FN="yeastCC_1.28.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.11/data/experiment/src/contrib/yeastCC_1.28.0.tar.gz"
"https://bioarchive.galaxyproject.org/yeastCC_1.28.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-yeastcc/bioconductor-yeastcc_1.28.0_src_all.tar.gz"
)
MD5="5097e470afb2db... | {
"content_hash": "ea97ba28fcfaf45b5d2d525882232d41",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 108,
"avg_line_length": 28.333333333333332,
"alnum_prop": 0.6635294117647059,
"repo_name": "roryk/recipes",
"id": "d42507233dad32900f516d60822d1d11c69a75d8",
"size": "1287"... |
mkdir -p NEW
mkdir -p DIFF
passed=0
failed=0
cat /dev/null > failure-outputs.txt
runComplexTests()
{
for i in *.sh
do
case $i in TEST*.sh) continue;; esac
if sh ./$i
then
passed=`expr $passed + 1`
else
failed=`expr $failed + 1`
fi
done
}
runSimpleTests()
{
only=$1
echo $passe... | {
"content_hash": "603807f6dd95f6b9ef6f49f2a76a3991",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 55,
"avg_line_length": 18.405797101449274,
"alnum_prop": 0.5787401574803149,
"repo_name": "unix1986/universe",
"id": "924e5f5e53b37b864f36cc015d8988a2d08f1ca6",
"size": "12... |
using System.Collections.Generic;
namespace Affecto.AuditTrail.WebApi.Model
{
public class AuditTrailResult
{
public List<AuditTrailEntry> Items { get; set; }
public long ResultCount { get; set; }
public AuditTrailResult()
{
Items = new List<AuditTrailEntry>();
... | {
"content_hash": "07535a369389aa5a6e3baf6c3772c1d7",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 56,
"avg_line_length": 22.266666666666666,
"alnum_prop": 0.6137724550898204,
"repo_name": "affecto/dotnet-AuditTrail",
"id": "bb6f3079dd4f0b0a1ab38173638a713c8c507b54",
"si... |
//********************************************************************
//*
//* Warning: This file was generated by ecore4CPP Generator
//*
//********************************************************************
#ifndef UML_ACTIVITYPARAMETERNODEACTIVITYPARAMETERNODEIMPL_HPP
#define UML_ACTIVITYPARAMETERNODEACTIVITYP... | {
"content_hash": "d8118a9cbc8c2582548c6361946ba6f1",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 157,
"avg_line_length": 40.35672514619883,
"alnum_prop": 0.6497609042167801,
"repo_name": "MDE4CPP/MDE4CPP",
"id": "b344b9ccaa01ebb3ec8ca7e4cb9e2ae5afb49ba1",
"size": "690... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web.Script.Serialization;
using Gherkin.Ast;
namespace Gherkin
{
public interface IGherkinDialectProvider
{
GherkinDialect DefaultDialect { get; }
GherkinDialect GetDialect(string langu... | {
"content_hash": "7b320efc0d1cf7635ab783bad7464644",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 155,
"avg_line_length": 40.2751677852349,
"alnum_prop": 0.5739043492751208,
"repo_name": "moreirap/gherkin3",
"id": "abe8b47bf58e2985c0e50ed989a43052cdd8af9b",
"size": "60... |
ProjectileObject::ProjectileObject(){}
ProjectileObject::~ProjectileObject(){}
void ProjectileObject::InitProjectile() {
setMatrix(IDENTITY_M4);
isDrawn = false;
lifeTime = 0.0f;
gravity = 9.8f;
speed = 0.3f;
}
bool ProjectileObject::getIsDrawn() { return isDrawn; }
matrix4 ProjectileObject::getMatrix() { return... | {
"content_hash": "e9a3d6fc5507168ab043425c84855eb9",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 69,
"avg_line_length": 33.18181818181818,
"alnum_prop": 0.7643835616438356,
"repo_name": "ntancredi/BIRB",
"id": "9ff364b8bb42d0caa8ac57aa6feccab8c5b6e129",
"size": "762",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coquelicot: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.... | {
"content_hash": "9a654aea5ef20a339b3d42026908db32",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 252,
"avg_line_length": 44.006024096385545,
"alnum_prop": 0.5585215605749486,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "bfdc1bd4a8fac713f54f91bb60ed38a49122e9b4",... |
<?php
namespace app\modules\test\controllers\home;
class DefaultController extends \app\core\web\HomeController
{
public function actionIndex()
{
return $this->render('index');
}
}
| {
"content_hash": "bf0d12523701bc5f6cb8e278fa76cc0f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 60,
"avg_line_length": 17,
"alnum_prop": 0.6862745098039216,
"repo_name": "cboy868/lion2",
"id": "0a658f5a76bab6552fb95140ec13ef596a41921c",
"size": "204",
"binary": fals... |
package com.amazonaws.services.mediaconvert.model.transform;
import java.util.List;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.services.mediaconvert.model.*;
import com.amazonaws.protocol.*;
import com.amazonaws.annotation.SdkInternalApi;
/**
* AutomatedAbrSet... | {
"content_hash": "bcb266613e0dc2f9d750b201bad182f4",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 151,
"avg_line_length": 44.94444444444444,
"alnum_prop": 0.7581376184590028,
"repo_name": "aws/aws-sdk-java",
"id": "81c921bd8e985cf6f851959514c8cd0bdc16b96d",
"size": "300... |
using OpenQA.Selenium;
namespace ExtjsWd.Elements
{
public class BasicComboBox : ComboBox<BasicComboBox>
{
public BasicComboBox(IWebDriver driver, By selector)
: base(driver, selector)
{
}
public BasicComboBox(IWebDriver driver, string cssClass)
: base(... | {
"content_hash": "2e5b80e15bba4dba2e20371e3c554faf",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 69,
"avg_line_length": 22.892857142857142,
"alnum_prop": 0.5772230889235569,
"repo_name": "pratoservices/extjswebdriver",
"id": "34f4fec47466c7c7ad3ed1595f93cfe055e11b32",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
namespace ZencoderDotNet
{
public class Request
{
// update the request object whenever a public field is changed
private string requestBody;
public string body
... | {
"content_hash": "8c22e1272be64fd92498c59d393cb870",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 97,
"avg_line_length": 26.6953125,
"alnum_prop": 0.4717588527948493,
"repo_name": "zencoder/zencoder-dotnet",
"id": "4506513a50bbc4a1db9ad4c3ee3dbdf9cdee0839",
"size": "34... |
//
// SPUserManager.m
// sequel-pro
//
// Created by Mark Townsend on Jan 1, 2009.
// Copyright (c) 2009 Mark Townsend. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the "Software"), to deal in th... | {
"content_hash": "7a916631e59f2e951cf0f4ef4e017b33",
"timestamp": "",
"source": "github",
"line_count": 1545,
"max_line_length": 205,
"avg_line_length": 33.79676375404531,
"alnum_prop": 0.7148000612838976,
"repo_name": "abhibeckert/sequelpro",
"id": "c06025d24eb9a05f7e62a9bc119e453922301753",
"size... |
<?php
namespace Drupal\system\Plugin\Block;
use Drupal\Core\Block\BlockBase;
use Drupal\Core\Block\MessagesBlockPluginInterface;
use Drupal\Core\Cache\Cache;
/**
* Provides a block to display the messages.
*
* @see drupal_set_message()
*
* @Block(
* id = "system_messages_block",
* admin_label = @Translati... | {
"content_hash": "3d784162e0487af1a1710fd7dcaeae49",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 85,
"avg_line_length": 21.21276595744681,
"alnum_prop": 0.6619859578736209,
"repo_name": "aakb/drupalcampaarhus",
"id": "bbfb03695cbdbbefd8c9c7ac66ca7ecbd189a4d1",
"size": ... |
<?php
namespace Luna\CostManagementBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/hello/Fabien');
$th... | {
"content_hash": "2ba24c65e04b941f38552075bd41ca92",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 24,
"alnum_prop": 0.6813725490196079,
"repo_name": "WorldWarIII/Luna",
"id": "d5328b18b50c3436551ee895fa3f491d27b22ac5",
"size": "408",
"binary": f... |
'use strict';
report
.factory('LineChart', function($http){
return {
'getConfig':function(URL){
return $http.post(URL)
}
};
}) | {
"content_hash": "bc64bffd19448478637b1a948b11d4c2",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 40,
"avg_line_length": 17.555555555555557,
"alnum_prop": 0.5443037974683544,
"repo_name": "mining/frontend",
"id": "0175702aff92feadfb9a97c3a5d71b3f6551e8d7",
"size": "158",... |
description: Lists the properties that are available for the context argument when creating rules.
---
# Context Argument Properties in Rules
When creating [Rules](/rules), one of the input arguments is `context`. This is an object containing contextual information of the current authentication transaction, such as u... | {
"content_hash": "c1688a2737d71b09afa343548e71cd59",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 251,
"avg_line_length": 54.27884615384615,
"alnum_prop": 0.7215234720992029,
"repo_name": "khorne3/docs",
"id": "04bc457152f26117c2f0f074769876a715d13853",
"size": "5649",... |
// Copyright 2017 The Oppia Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | {
"content_hash": "3a7dbdb7422629b374dbdd871647cab2",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 78,
"avg_line_length": 39.91818181818182,
"alnum_prop": 0.6924390799362332,
"repo_name": "kevinlee12/oppia",
"id": "1385a9f8c718afcaf63706aa69dd264cf12e1ea4",
"size": "878... |
<!-- THIS IS AUTO-GENERATED CONTENT. DO NOT MANUALLY EDIT. -->
This image is part of the [balena.io][balena] base image series for IoT devices. The image is optimized for use with [balena.io][balena] and [balenaOS][balena-os], but can be used in any Docker environment running on the appropriate architecture.
![balena... | {
"content_hash": "aa063e84a5d7d716b2385dc7c97ef9ba",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 366,
"avg_line_length": 58.700934579439256,
"alnum_prop": 0.7705779334500875,
"repo_name": "nghiant2710/base-images",
"id": "31b8f701dc58be6775b194679b12032fe50417f5",
"si... |
#import <Foundation/Foundation.h>
#if defined(__cplusplus)
extern "C"
{
#endif /* defined(__cplusplus) */
@interface OLException : NSException
@end /* interface OLException */
@interface OLLibrary : NSObject
+ (BOOL) initialize;
+ (void) uninitialize;
+ (NSString*) getVersionString;
+ (NSUInteger) getVersionMajor;
... | {
"content_hash": "2784088321fc762fb995e89eedfc0758",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 64,
"avg_line_length": 22.25,
"alnum_prop": 0.7137506688068486,
"repo_name": "vycasas/language.bindings",
"id": "a217a4d926e4283714c45a4f4cb825e12e22d07d",
"size": "1869",
... |
define(['square/directives/directives'], function (directives) {
'use strict';
directives.directive('squareInputDigits', function () {
return {
restrict: 'A',
require: 'ngModel',
link: function (scope, element, attr, ctrl) {
element.setMask({mask: '9', type: 'repeat', autoTab: false});
... | {
"content_hash": "7bf995e4d20952ab195df353edef0e03",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 137,
"avg_line_length": 28.3953488372093,
"alnum_prop": 0.6126126126126126,
"repo_name": "leonardosalles/squarespa",
"id": "3ba6e614ad3b11772b91cc69c179a296f73ab3bf",
"size... |
using System.Net.Http;
using System.Security.Claims;
using System.Threading.Tasks;
using DevZH.AspNetCore.Authentication.Internal;
using DevZH.AspNetCore.Builder;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Authentication.OAuth;
using Microsoft.AspNetCore.Http.Authentication;
using Microsoft.... | {
"content_hash": "c5ae3e2cf60bcdde0964ad9fd422c003",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 219,
"avg_line_length": 42.963855421686745,
"alnum_prop": 0.6475042063937184,
"repo_name": "noliar/MoreAuthentication",
"id": "0bf060f96bcd2b27b709fd587210d9c888887ed2",
"s... |
.class public Landroid/webkit/WebView;
.super Landroid/widget/AbsoluteLayout;
.source "WebView.java"
# interfaces
.implements Landroid/view/ViewTreeObserver$OnGlobalFocusChangeListener;
.implements Landroid/view/ViewGroup$OnHierarchyChangeListener;
.implements Landroid/view/ViewDebug$HierarchyHandler;
# annotations
... | {
"content_hash": "f921ee7240f1f2ca1665127c331b2ecf",
"timestamp": "",
"source": "github",
"line_count": 3149,
"max_line_length": 185,
"avg_line_length": 25.984757065735153,
"alnum_prop": 0.7174981057365629,
"repo_name": "baidurom/reference",
"id": "4fbdb1cd9b086bfb2dc217d18f028ec1dfc739ab",
"size":... |
package org.springframework.cloud.task.listener;
import org.junit.Test;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.context.PropertyPlaceholderAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.EmbeddedDataSourceConfiguration;
import org.springf... | {
"content_hash": "138707fc64c472b159dfaa0168eb9179",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 149,
"avg_line_length": 35.53488372093023,
"alnum_prop": 0.8232984293193717,
"repo_name": "trisberg/spring-cloud-task",
"id": "318e41a697ba32e02d3ab1f6d24eed3e37ed61a5",
"s... |
module GoodData
# Project Not Found
class ValidationError < RuntimeError
DEFAULT_MSG = 'Validation has failed. Run validate method on blueprint to learn more about the errors.'
def initialize(msg = DEFAULT_MSG)
super(msg)
end
end
end
| {
"content_hash": "5388ab5aca57dc931392629d170206ac",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 107,
"avg_line_length": 25.9,
"alnum_prop": 0.7181467181467182,
"repo_name": "korczis/app_store",
"id": "0289fbc1b7480b6eb74f3841a5d08dbb2df6151e",
"size": "278",
"binary... |
// Copyright (c) 2011-2017 The Machinecoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MACHINECOIN_QT_SENDCOINSDIALOG_H
#define MACHINECOIN_QT_SENDCOINSDIALOG_H
#include <qt/walletmodel.h>
#include ... | {
"content_hash": "eb54dac0040f30cbc7f47a843c94c137",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 155,
"avg_line_length": 29.365079365079364,
"alnum_prop": 0.7424324324324324,
"repo_name": "machinecoin-project/machinecoin",
"id": "6766cbb92f8d114f3c65c09ab0945b10b9f940e2... |
/* line 1, static/base.scss */
body {
background-attachment: fixed;
background-size: cover;
font-size: 16px;
font-weight: 300;
font-family: 'Open Sans', sans-serif;
padding-bottom: 30px; }
/* line 9, static/base.scss */
body h1, body h2, body h3, body h4, body h5, body h6 {
font-family: 'Muli', sans... | {
"content_hash": "6a8c7c4cb5c51a470ab8eeac2ddcfd7c",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 195,
"avg_line_length": 31.498644986449865,
"alnum_prop": 0.6120622902865009,
"repo_name": "joshsimmons/animportantdate",
"id": "e43eb4e7a29882d3070e86ac07b0d9f0eef46776",
... |
package com.spotify.helios.master.resources;
import com.google.common.base.Optional;
import com.google.common.collect.Maps;
import com.codahale.metrics.annotation.ExceptionMetered;
import com.codahale.metrics.annotation.Timed;
import com.spotify.helios.common.descriptors.Deployment;
import com.spotify.helios.common... | {
"content_hash": "945b9ba2bceb7b39653c9ec0b20986eb",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 100,
"avg_line_length": 38.06270627062706,
"alnum_prop": 0.7051937917280846,
"repo_name": "gtonic/helios",
"id": "f98e2eb49bbb204b4cd6e1197a0a6ea26f2041c8",
"size": "12133... |
cd ../SWFs/Assets
$SDK_DIR/bin/mxmlc -includes=mx.managers.systemClasses.MarshallingSupport -source-path=../../../../../as3/src/mustella -includes=UnitTester -theme=$SDK_DIR/frameworks/themes/Halo/halo.swc child_swfs/MP_Alert_Child.mxml | {
"content_hash": "1276332db3102d075fbd83b7a3fdca52",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 218,
"avg_line_length": 79,
"alnum_prop": 0.759493670886076,
"repo_name": "shyamalschandra/flex-sdk",
"id": "a4c0ecbae4c6278fffc00e5561f2556ab23aa134",
"size": "1222",
"bi... |
/**
* This is Free Software. See COPYING for information.
*/
#ifndef _PUZZLE_SELECTION_RENDERER_INTERFACE_HPP_
#define _PUZZLE_SELECTION_RENDERER_INTERFACE_HPP_
#include "renderer_interface.hpp"
#include <string>
/**
* Class that knows how to render a list of puzzles for selection
*/
class PuzzleSelectionRendere... | {
"content_hash": "e864e6a5805c27f7571ef57bf79ec459",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 73,
"avg_line_length": 21.62857142857143,
"alnum_prop": 0.726552179656539,
"repo_name": "phtrivier/ube",
"id": "89f37c98f3265615a215c36c5d25fb0218772c66",
"size": "757",
... |
<html>
<head>
<title>Embedding JS demonstration</title>
</head>
<body>
<input type="text" id="dataSetId" value="4" placeholder="DataSet id">
<input type="button" id="loadDataSet" value="loadDataSet">
Force switch reference:
<input type="checkbox" id="forceSwitchRefDataSet">
<p>
<input type="text" id... | {
"content_hash": "e13d91844c6f000b4ddd8d0a0ae06f9d",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 126,
"avg_line_length": 39.006472491909385,
"alnum_prop": 0.5149755247656185,
"repo_name": "epam/NGB",
"id": "574b66a88a06eb343b5bac157ce743e6dfd077c3",
"size": "12053",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="author" content="" />
<meta name="dcterms.date" con... | {
"content_hash": "d2291b0e2daf38d119c10d134c3a449a",
"timestamp": "",
"source": "github",
"line_count": 247,
"max_line_length": 637,
"avg_line_length": 46.57085020242915,
"alnum_prop": 0.7049465356863427,
"repo_name": "xmonad/xmonad",
"id": "a5b7e2bea47489e8160229038490ff3a1306c3be",
"size": "11519... |
<?php
require_once '../app/models/User.php';
/**
* HomeController demostrative example
*/
class HomeController {
/**
* Method index
* Demostrative example of index
* @return [type] [description]
*/
public function index()
{
// Instance of View
$view = new View('home'... | {
"content_hash": "4daac9d0b4c40a46fb93e247527b4cdb",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 76,
"avg_line_length": 20.934782608695652,
"alnum_prop": 0.5202492211838006,
"repo_name": "davgeek/Muffinphp",
"id": "528aa6e3a5f25f1e9ed23ab739c0e3b52bf54b5d",
"size": "96... |
'use strict';
var util = require('util');
var _ = require('lodash');
var yeoman = require('yeoman-generator');
var PlayBase = require('../utils/play-base');
var SnippetGenerator = module.exports = function SnippetGenerator(args, options, config) {
PlayBase.apply(this, arguments);
this.argument("snippetName", {
... | {
"content_hash": "4774771e9862ccd157d4dc1a48858f81",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 128,
"avg_line_length": 32.31428571428572,
"alnum_prop": 0.65929855585028,
"repo_name": "pauldijou/generator-play",
"id": "ec8fef8cca7e59ce62924745a1fbeca3380ec1c0",
"size... |
function [sys,x0,str,ts] = var_eta1_tc(t,x,u,flag)
%SFUNTMPL General M-file S-function template
% With M-file S-functions, you can define you own ordinary differential
% equations (ODEs), discrete system equations, and/or just about
% any type of algorithm to be used within a Simulink block diagram.
%
% The gen... | {
"content_hash": "19fe09b58982522e52b79dd8c5a29236",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 78,
"avg_line_length": 29.321766561514195,
"alnum_prop": 0.5383539537385691,
"repo_name": "tapomayukh/projects_in_matlab",
"id": "69bce0b35361ca01a8180ca9986ce4a242e8d66c",
... |
import unittest
from c7n.resources import ec2
from c7n.resources.ec2 import actions, QueryFilter
from c7n import tags, utils
from .common import BaseTest
class TestTagAugmentation(BaseTest):
def test_tag_augment_empty(self):
session_factory = self.replay_flight_data(
'test_ec2_augment_tag_e... | {
"content_hash": "75bfe5bf155cc685046924080f0370d7",
"timestamp": "",
"source": "github",
"line_count": 459,
"max_line_length": 107,
"avg_line_length": 32.631808278867105,
"alnum_prop": 0.5102817465616237,
"repo_name": "RyanWolfe/cloud-custodian",
"id": "8d340d7345f45f510eeea10bf5d5971d0abb6a44",
"... |
"""
AIs used to determine which move to pick in a battle.
"""
import random
class RandomMoveAi:
"""
AI which just selects any move at random from the pool of available
ones (i.e. those with PP > 0).
"""
def __init__(self, battle_creature):
self.battle_creature = battle_creatur... | {
"content_hash": "3c91506c48e95ad09a60c11c9809e3d4",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 88,
"avg_line_length": 26.76,
"alnum_prop": 0.5874439461883408,
"repo_name": "DaveTCode/CreatureRogue",
"id": "fea29183593ba1852ae4b67ff1ef5fa43c29b75a",
"size": "669",
"... |
package cognitivej.vision.face.person.action;
import cognitivej.core.RestAction;
import cognitivej.core.WorkingContext;
import cognitivej.core.error.ErrorHandler;
import cognitivej.vision.face.CognitiveContext;
import cognitivej.vision.face.person.error.PersonNotFoundErrorHandler;
import com.mashape.unirest.http.Ht... | {
"content_hash": "fb35a17afbeef07d465be9030e0fd762",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 132,
"avg_line_length": 34.63636363636363,
"alnum_prop": 0.7519685039370079,
"repo_name": "CognitiveJ/cognitivej",
"id": "f000c27acae63e91f9773dcac588b3c0dfe67c0f",
"size":... |
package xsmeral.semnet.util;
import java.io.UnsupportedEncodingException;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.... | {
"content_hash": "3075c66c80c816c15b1910f98b3b1bfa",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 149,
"avg_line_length": 37.23837209302326,
"alnum_prop": 0.5683060109289617,
"repo_name": "rsmeral/semnet",
"id": "072c989d3bf214eea2c0fc34dcc13747ca0d3f37",
"size": "1281... |
package org.javabits.yar;
import java.util.EventListener;
/**
* TODO comment
* Date: 5/29/13
* Time: 10:31 PM
*
* @author Romain Gilles
*/
public interface TypeListener extends EventListener {
void typeChanged(TypeEvent typeEvent);
}
| {
"content_hash": "059d0d6a2b53e9709768d2312aa0bcb4",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 53,
"avg_line_length": 17.571428571428573,
"alnum_prop": 0.7154471544715447,
"repo_name": "javabits/yar",
"id": "e3bab14fedb0a8a21c03ac3fa2a6de9615c16564",
"size": "246",
... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include head.html %}
<body class=theme-base-0d>
{% include sidebar.html %}
<!-- Wrap is the content to shift when toggling the sidebar. We wrap the
content to avoid any CSS collisions with our real content... | {
"content_hash": "1b16734d043d2190df58f2b4e27ef8e5",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 76,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.5481012658227848,
"repo_name": "sunghlin/blog",
"id": "486cb71780eeba8a960907c717b9fcee6f5602f3",
"size": "790",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Interfaces;
namespace Html
{
public class HTMLElementFactory : IElementFactory
{
public IElement CreateElement(string name)
{
throw new NotImplementedException(... | {
"content_hash": "af3e3eb4b52c1f93964b8fdc0a75f073",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 66,
"avg_line_length": 22.296296296296298,
"alnum_prop": 0.6378737541528239,
"repo_name": "NikolaiMishev/Telerik-Academy",
"id": "aabf98074948c4f6fe822bd271ffd6d9d141f42f",
... |
<?php
declare(strict_types=1);
namespace Phan\Output\Filter;
use Phan\IssueInstance;
use Phan\Output\IssueFilterInterface;
/**
* This is a filter which permits any IssueInstance to be output.
*/
final class AnyFilter implements IssueFilterInterface
{
/**
* @param IssueInstance $issue (@phan-unused-param... | {
"content_hash": "01a60dd6a20252d21c8e672e1e86dff1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 65,
"avg_line_length": 18.347826086956523,
"alnum_prop": 0.6919431279620853,
"repo_name": "etsy/phan",
"id": "346011887b45224867182e82f6ece94f31e1080f",
"size": "422",
"b... |
<?php
namespace Carbon\Traits;
/**
* Trait Week.
*
* week and ISO week number, year and count in year.
*
* Depends on the following properties:
*
* @property int $daysInYear
* @property int $dayOfWeek
* @property int $dayOfYear
* @property int $year
*
* Depends on the following methods:
*
* @method st... | {
"content_hash": "a6220f967e23690a4e5a720671029368",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 121,
"avg_line_length": 33.79716981132076,
"alnum_prop": 0.5683182135380321,
"repo_name": "briannesbitt/Carbon",
"id": "6f1481456aca11bb99000ba172f10b816d9de15b",
"size": ... |
package com.example.taxihelper.widget;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Matrix;
import android.graphics.Paint;
import androi... | {
"content_hash": "53ee02a04959c84bb0dd8f31e85fb777",
"timestamp": "",
"source": "github",
"line_count": 205,
"max_line_length": 127,
"avg_line_length": 36.4390243902439,
"alnum_prop": 0.6445783132530121,
"repo_name": "zzbb1199/TaxiHelper",
"id": "31d2943a4c2618142e58453eed3538c50de40830",
"size": "... |
@interface SKTestClass : NSObject
@property (strong, nonatomic) NSString *testString;
- (void) printString;
@end
| {
"content_hash": "8b2f78c4ccffb0d51009fc446fb2b9b7",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 51,
"avg_line_length": 14.625,
"alnum_prop": 0.7435897435897436,
"repo_name": "subhamkhandelwal/pod-repo",
"id": "771ef78a4599bc2b83f067d35b02ef4bd46489e7",
"size": "302",
... |
from __future__ import print_function
import argparse
import datetime
import dateutil.parser
import dateutil.tz
import gzip
import json
import logging
import os
import pickle
import sys
from collections import OrderedDict
from functools import partial
from itertools import count, groupby
from six.moves.urllib.request... | {
"content_hash": "9398b49e988f685172a993807f194bcb",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 118,
"avg_line_length": 34.39509536784741,
"alnum_prop": 0.5983522142121525,
"repo_name": "timsnyder/bokeh",
"id": "881b5c26b3c4676ae4b5318908a1f6dd382fb0e7",
"size": "126... |
sent('go to flight deck').
sent('move to flight deck').
sent('measure temperature').
sent('what is the pressure').
sent('is the fan switched on').
sent('is the fan at crew hatch switched on').
sent('is the fan switched on at crew hatch').
sent('switch on the fan').
sent('switch off the fan').
sent('switch it on').
sen... | {
"content_hash": "14bdf08db4b21a949ca6868a8349f2b3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 51,
"avg_line_length": 24.525,
"alnum_prop": 0.7054026503567788,
"repo_name": "TeamSPoon/logicmoo_workspace",
"id": "a1495adf61e249cb06d42ca328db7bffc5d4524e",
"size": "981... |
/* eslint-disable react/prop-types */
/*
* Copyright (C) 2017-2019 Dremio Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0... | {
"content_hash": "0e9ced69fbc913c8d2df156a3c9767d7",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 76,
"avg_line_length": 34.09756097560975,
"alnum_prop": 0.6838340486409156,
"repo_name": "dremio/dremio-oss",
"id": "41d97d935abadfcca4e802dea9fd8c7c6266b8f0",
"size": "139... |
package org.elasticsearch.gradle;
import org.gradle.api.tasks.WorkResult;
/**
* An interface for tasks that support basic file operations.
* Methods will be added as needed.
*/
public interface FileSystemOperationsAware {
WorkResult delete(Object... objects);
}
| {
"content_hash": "a2ad6ec66568df9ecd4bf9cdfc6586de",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 61,
"avg_line_length": 21,
"alnum_prop": 0.7545787545787546,
"repo_name": "nknize/elasticsearch",
"id": "b082b86e6c2bb0270f932af7d68ca19c0fdc120e",
"size": "1062",
"binar... |
package net.md_5.bungee.connection;
import com.google.common.base.Charsets;
import com.google.common.base.Preconditions;
import java.math.BigInteger;
import java.net.InetSocketAddress;
import java.net.URLEncoder;
import java.security.MessageDigest;
import java.util.ArrayList;
import java.util.List;
import java.util.UU... | {
"content_hash": "0ce2c5a61d22832836cf741b6799fdab",
"timestamp": "",
"source": "github",
"line_count": 610,
"max_line_length": 164,
"avg_line_length": 36.47868852459016,
"alnum_prop": 0.5720384684522739,
"repo_name": "LinEvil/BungeeCord",
"id": "34b1a4bcfc88b5a205963d68da6c655a093afb17",
"size": "... |
using System.Threading;
using System.Diagnostics;
using System.Security.Permissions;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>
/// Lazy
/// </summary>
/// <typeparam name="T"></typeparam>
[Serializable, DebuggerDisplay("Thre... | {
"content_hash": "1b60941052134775d1cce16fe807829a",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 321,
"avg_line_length": 39.3875968992248,
"alnum_prop": 0.5132847864593584,
"repo_name": "BclEx/BclEx-Abstract",
"id": "66ec59dfad9b86e433c6c99246a9fc07d56617f8",
"size": ... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
namespace XenAdmin.Controls
{
class PanelNoFocusScroll : Panel
{
object scrollLock = new object();
public bool defaultBehaviour = false;
protected override System.Dra... | {
"content_hash": "31538f91502b57b71dedf263a1b67e8c",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 86,
"avg_line_length": 23.176470588235293,
"alnum_prop": 0.5951776649746193,
"repo_name": "aftabahmedsajid/XenCenter-Complete-dependencies-",
"id": "e3f8eaff6fbcad5ec973a41db... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Chinese Morphological Analyzer(Chen): /home/vernkin/projects/chinese-ma-chen/source/vsynonym/types.h Source File</title>
<link href="tabs.css" rel="stylesheet" ... | {
"content_hash": "2bcef11bed51c2a337be6f087f3d5f77",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 191,
"avg_line_length": 67.02083333333333,
"alnum_prop": 0.6540254895865714,
"repo_name": "izenecloud/icma",
"id": "bef56f8bbafc8755bb927d058a57070519650e59",
"size": "3217... |
activate :autoprefixer do |prefix|
prefix.browsers = "last 2 versions"
end
# Layouts
# https://middlemanapp.com/basics/layouts/
# Per-page layout changes
page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false
activate :i18n, :langs => [:en, :fr]
# With alternative layout
# page '/... | {
"content_hash": "6c39defe4c0b72af40c63e0079d3ec54",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 80,
"avg_line_length": 20.94,
"alnum_prop": 0.7039159503342884,
"repo_name": "czuger/d10_fight_system",
"id": "c891c628fe5780c6cf6d526e1967bd067b726c45",
"size": "1158",
... |
c Do the type of fitting as in fitz3.f but only at the given
c redshift, and return the coeffs of the best fit, for a
c list of objects/1d-spectra
c rework fittemplates to fit each spectrum w/a series of
c a single template broadened by various vel dispersions.
c fitdisp2 is like fitdisp but also does Monte Carlo re... | {
"content_hash": "efd6c99cbdbc6f5bfc2d5bc47470ad9e",
"timestamp": "",
"source": "github",
"line_count": 1070,
"max_line_length": 73,
"avg_line_length": 33.73271028037383,
"alnum_prop": 0.6119022552224747,
"repo_name": "bjweiner/DEEP2-redshift",
"id": "2958d2b6a350c09bb8b16c1135d42a5cadfd55af",
"siz... |
package org.diirt.graphene.profile.settings;
import java.awt.image.BufferedImage;
import java.lang.management.ManagementFactory;
/**
* A general purpose collection of messages to be saved to a
* .CSV output file for profiling.
* <p>
* Includes various properties,
* such as author and dataset comments,
* as wel... | {
"content_hash": "565e38baa5d0895b3813532637901676",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 174,
"avg_line_length": 29.555555555555557,
"alnum_prop": 0.5465225563909775,
"repo_name": "ControlSystemStudio/diirt",
"id": "80030f3e6e75ddae8b5cbf6cd93be0117a07474e",
"... |
package org.elasticsearch.cluster.routing.allocation.allocator;
import org.apache.lucene.util.ArrayUtil;
import org.apache.lucene.util.IntroSorter;
import org.elasticsearch.cluster.metadata.IndexMetaData;
import org.elasticsearch.cluster.metadata.MetaData;
import org.elasticsearch.cluster.node.DiscoveryNode;
import ... | {
"content_hash": "5660ac63d2768cb29b43971094721a0d",
"timestamp": "",
"source": "github",
"line_count": 1011,
"max_line_length": 229,
"avg_line_length": 49.00494559841741,
"alnum_prop": 0.5459793315033102,
"repo_name": "myelin/elasticsearch",
"id": "b1d78fa44d05fae597f6fc07c55ef37ece646aec",
"size"... |
=head1 LICENSE
Copyright [1999-2014] Wellcome Trust Sanger Institute and the 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 obtain a copy of the License at
http://www.apache.org/licen... | {
"content_hash": "e61f512b5ad212d18b22cc21b421e0e1",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 204,
"avg_line_length": 37.76679841897233,
"alnum_prop": 0.5621140763997907,
"repo_name": "andrewyatz/public-plugins",
"id": "0b105d4321e7808771a9520595d3b584a71da619",
"s... |
package com.sababado.android.converter;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
import java.io.InputStream;
/**
* Created by Robert on 8/24/13.
*/
public class Utils {
private static final String POST_FIX_BACKUP = "_apc_backup";
/... | {
"content_hash": "151cc435c72594cc53a3e062207e6af3",
"timestamp": "",
"source": "github",
"line_count": 160,
"max_line_length": 139,
"avg_line_length": 36.2875,
"alnum_prop": 0.5907681708577334,
"repo_name": "sababado/AndroidProjectConverter",
"id": "d6d98faa2f4184b8d3f1177f256d3ae471ae152b",
"size... |
#ifndef _VM_OBJECT_H_
#define _VM_OBJECT_H_
#include "lib/primitives/sys/tree.h"
#include "pmap.h"
#include "vm.h"
#ifdef __cplusplus
extern "C" {
#endif
/* At the moment assume object is owned by only one vm_map */
typedef struct vm_object {
TAILQ_HEAD(, vm_page) list;
RB_HEAD(vm_object_tree, vm_page) tre... | {
"content_hash": "5c954684294dbd05150a24a18b71759c",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 71,
"avg_line_length": 23.47222222222222,
"alnum_prop": 0.6745562130177515,
"repo_name": "goniz/gzOS",
"id": "9b9d2f76000db39ce23f5e9245ba56e195e6b332",
"size": "2164",
"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr_FR" version="2.0">
<context>
<name>AccountManager</name>
<message>
<location filename="../src/account-mgr.cpp" line="36"/>
<source>failed to open account database</source>
<translation>Impossible d'ouvrir la base de données des com... | {
"content_hash": "5f267b96e0b9410c92a9c23ba88b5c6b",
"timestamp": "",
"source": "github",
"line_count": 2455,
"max_line_length": 194,
"avg_line_length": 41.357637474541754,
"alnum_prop": 0.6347886893916264,
"repo_name": "ggkitsas/seafile-client",
"id": "1767d27cb1d8de98b38fde827f893fadef7e1287",
"s... |
/*!
* FileInput <_LANG_> Translations
*
* This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or
* any HTML markup tags in the messages must not be converted or translated.
*
* @see http://github.com/kartik-v/bootstrap-fileinput
*
* NOTE: this file must be saved in UTF-8 encoding.
*/
(funct... | {
"content_hash": "8011a1d79018902dce7db0104079e4fd",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 121,
"avg_line_length": 50.50909090909091,
"alnum_prop": 0.6321094312455003,
"repo_name": "Cinquefoil/Population-Health-Dashboard",
"id": "6c302f7cffb2a0f0c1252f8a85b4291586a... |
Author: "José F. Romaniello"
Description: "Dark theme inspired by Obsidian"
FileName: "GrandsonOfObsidian.tmTheme"
ID: "GrandsonOfObsidian"
Title: "Grandson of Obsidian"
layout: theme
---
| {
"content_hash": "12cca77c4c65d545544fb068977685c1",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 48,
"avg_line_length": 25.25,
"alnum_prop": 0.7227722772277227,
"repo_name": "Colorsublime/colorsublime.github.io",
"id": "01958d2439ec1878d3bf2576be566b1782edd2f3",
"size":... |
package com.pigtimer.timer;
import com.pigtimer.service.ActivitiesModeService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
/**
* Created by tosy on 2017/3/24.
... | {
"content_hash": "b923527eee48b2647a37f73df98ca5db",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 75,
"avg_line_length": 23.288888888888888,
"alnum_prop": 0.6545801526717557,
"repo_name": "tosy2015/springdemo",
"id": "d0ab92b2366886bc8d28044384902b810c1e8b5f",
"size": "... |
'use strict';
var bodyParser = require('body-parser');
var path = require('path');
var mongoose = require('mongoose');
var express = require('express');
var app = express();
mongoose.Promise = global.Promise;
mongoose.connect('mongodb://localhost/dog_dashboard');
var DogSchema = new mongoose.Schema({
name: String,
... | {
"content_hash": "1f72780a421a3326fe1a593b8efeb7b2",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 143,
"avg_line_length": 25.496124031007753,
"alnum_prop": 0.6284584980237155,
"repo_name": "franciscojt/nice",
"id": "c3ca2b5d2b9e4f89c3fcc84db0a66e1c97c89340",
"size": "3... |
import { IController, IComponentOptions, copy, module, toJson } from 'angular';
import { cloneDeep } from 'lodash';
import { ApplicationWriter } from 'core/application/service/ApplicationWriter';
import { Application } from 'core/application/application.model';
import './configSectionFooter.component.less';
export i... | {
"content_hash": "d75e67f70c9ab03919936bf822ebee77",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 98,
"avg_line_length": 29.106666666666666,
"alnum_prop": 0.7191937700412276,
"repo_name": "sgarlick987/deck",
"id": "ba4b7fdf03c3a0285d92b82937203839fe65604a",
"size": "218... |
import os
from ievv_opensource.utils.ievvbuildstatic import pluginbase
from ievv_opensource.utils.ievvbuildstatic.filepath import AbstractDjangoAppPath
from ievv_opensource.utils.shellcommandmixin import ShellCommandError
from ievv_opensource.utils.shellcommandmixin import ShellCommandMixin
class Plugin(pluginbase.P... | {
"content_hash": "ebc49ee482f97d75f3630bdb2e2e8c06",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 99,
"avg_line_length": 37.9237668161435,
"alnum_prop": 0.5887430530921131,
"repo_name": "appressoas/ievv_opensource",
"id": "ea1411aa0cfb935a211e3c3053ced358a1ceb22f",
"si... |
from flask_wtf import FlaskForm
from wtforms import *
from wtforms.validators import DataRequired
from werkzeug.datastructures import MultiDict
from app.main.models.Item_cardapio import Item_cardapio_dao
class modal_item_cardapio(FlaskForm):
item_cardapio = SelectField('item_cardapio')
item = ''
quantidade... | {
"content_hash": "cc4648bad710016c236c7e6f3c2dc35e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 71,
"avg_line_length": 27.36842105263158,
"alnum_prop": 0.7269230769230769,
"repo_name": "amandapersampa/MicroGerencia",
"id": "21467086f2c4d8b8cbf72f863d34cd815cbc4bd1",
"... |
<h1>{{title}}</h1>
<div class="container">
<div class="row">
<div class="col-sm-12">
<br>
</div>
<div class="col-sm-6">
<form class="animated bounceIn" (ngSubmit)="crearUsuario(NuevoUsuarioForm)" #NuevoUsuarioForm="ngForm">
<div class="form-group">
<label>Usuario</label>
... | {
"content_hash": "7ec863c50e51c2c5908af9d43cf2b4dc",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 112,
"avg_line_length": 36.357142857142854,
"alnum_prop": 0.49727133813577823,
"repo_name": "PatricioAlejandro/examen-twj-chavezpatricio",
"id": "e1bbbe635c5cba8979bed6a0db3... |
import sys
import json5_generator
import make_runtime_features
import name_utilities
import template_expander
# We want exactly the same parsing as RuntimeFeatureWriter
# but generate different files.
class OriginTrialsWriter(make_runtime_features.BaseRuntimeFeatureWriter):
file_basename = 'origin_trials'
d... | {
"content_hash": "45006935b89596264fe82c1f1c07ffef",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 84,
"avg_line_length": 42.46938775510204,
"alnum_prop": 0.58097068716963,
"repo_name": "endlessm/chromium-browser",
"id": "db5b93a998e28fcaa8ec63a52fc4e2229de671db",
"size"... |
<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>gluon.html.COLGROUP</title>
<link rel="stylesheet" href="epydoc.css" type="text/css" />
<... | {
"content_hash": "f0ee9eb14ea9796bf673ce164a59b51c",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 217,
"avg_line_length": 43.76377952755905,
"alnum_prop": 0.5775458798128823,
"repo_name": "elrafael/web2py-test",
"id": "904ba262b702fcef4dc43d0857c972af7fb946a1",
"size":... |
@import UIKit;
@interface SAAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
| {
"content_hash": "e575c8c4a6633e67dca9803850278798",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 62,
"avg_line_length": 19.142857142857142,
"alnum_prop": 0.7835820895522388,
"repo_name": "logansease/SeaseAssist",
"id": "7d30d7d385c73ee69c439e9f8e1e834cbc8c4e03",
"size":... |
<!doctype html>
<title>CodeMirror: Clojure mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
<link rel="stylesheet" href="../../lib/codemirror.css">
<script src="../../lib/codemirror.js"></script>
<script src="clojure.js"></script>
<style>.CodeMirror {
background: #f8f8f8;
}</st... | {
"content_hash": "bdab839d24c5c183fa2e427f6fbc27a6",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 97,
"avg_line_length": 27.912087912087912,
"alnum_prop": 0.5992125984251968,
"repo_name": "NCSSM-CS/CSAssess",
"id": "618305e98a99bd788473937a3f36a22231e786c9",
"size": "25... |
from decimal import *
import getpass
import math
import os
import os.path
import platform
import sys
import time
from jsonrpc import ServiceProxy, json
BASE_FEE=Decimal("0.001")
def check_json_precision():
"""Make sure json library being used does not lose precision converting BTC values"""
n = Decimal("20000... | {
"content_hash": "d8004255ac8c95492b8561c676f593ff",
"timestamp": "",
"source": "github",
"line_count": 252,
"max_line_length": 111,
"avg_line_length": 38.49603174603175,
"alnum_prop": 0.6175651994639728,
"repo_name": "baltcoinh/eternity",
"id": "ee31b282d1552452323a3ffeedc490129eb33dc7",
"size": "... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.chrome.browser.tasks.tab_management;
import static org.junit.Assert.assertEquals;
import static org.mockito.ArgumentMatchers.any;
im... | {
"content_hash": "cb09564f3cd7c532d2bdf2685ddec632",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 134,
"avg_line_length": 45.1779359430605,
"alnum_prop": 0.7360378101614808,
"repo_name": "endlessm/chromium-browser",
"id": "6e942ccfbbd916658f057969b13dfdd91db44de1",
"si... |
package org.apache.openwhisk.standalone
import java.io.File
import java.nio.charset.StandardCharsets.UTF_8
import akka.actor.ActorSystem
import akka.stream.ActorMaterializer
import org.apache.commons.io.{FileUtils, IOUtils}
import org.apache.openwhisk.common.{Logging, TransactionId}
import org.apache.openwhisk.stan... | {
"content_hash": "f76c602e2100671f1ab7157f7279b89c",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 119,
"avg_line_length": 42.18055555555556,
"alnum_prop": 0.6799473164306882,
"repo_name": "openwhisk/openwhisk",
"id": "359a36feaaac787c1986ad13f9a4c12492aed393",
"size": ... |
/**
* Module dependencies.
*/
var Transport = require('../transport');
var parser = require('engine.io-parser');
var parseqs = require('parseqs');
var inherit = require('component-inherit');
var yeast = require('yeast');
var debug = require('debug')('engine.io-client:websocket');
var BrowserWebSocket = glo... | {
"content_hash": "d2a1392894008fcac585c8cfb43aeaf7",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 104,
"avg_line_length": 22.15547703180212,
"alnum_prop": 0.5824561403508772,
"repo_name": "CoderHam/WebScraper",
"id": "71affd8b5715f14d51d91d35ce9af2e2f39b3460",
"size": ... |
<?php
namespace Zendvn\Validator;
use Zend\Validator\AbstractValidator;
class CheckCourseID extends AbstractValidator{
const INVALID = 'checkCourseIDInvalid';
protected $messageTemplates = array(
self::INVALID => "Id không đúng quy định",
);
protected $messageVariables = array(
'pattern'... | {
"content_hash": "ab00f4ad81b7dc57caa5f76191601075",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 54,
"avg_line_length": 19.436363636363637,
"alnum_prop": 0.5968194574368568,
"repo_name": "caohoangnam/ecommerce",
"id": "b8aeb1eb93fb6b3775b19dd01cf45b810159195e",
"size":... |
package com.vcredit.utils;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Environment;
import android.os.StatFs;
import com.vcredit.service.DownloadService;
/**
* Created by wangzhengji on 2016/3/9.
*/
public class DownloadUtils... | {
"content_hash": "310c4c83f473cb52016e73dbdfb36274",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 81,
"avg_line_length": 30.5,
"alnum_prop": 0.5901639344262295,
"repo_name": "shibenli/app-android",
"id": "6fe0e5e95c1e6118624a036a40bd8f08b77b7503",
"size": "2422",
"bin... |
package seava.ad.domain.impl.system;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrePersist;
import javax.persistence.PreUpdate;
import javax.persistence.Table;
import org.hibernate.validator.constraints.NotBlank;
import seava.j4e.domain.impl... | {
"content_hash": "e4bdc7e59749b0e503b4980264e563cf",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 75,
"avg_line_length": 22.63235294117647,
"alnum_prop": 0.7615334632878492,
"repo_name": "seava/seava.mod.ad",
"id": "e91d14c666504f1dd642b83b79991b775051dc35",
"size": "17... |
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
Notes Lab. Paleont. Univ. Geneve 8 (1-5): 45.
#### Original name
null
### Remarks
null | {
"content_hash": "b0a4661f6abd06c1565689761e765bbc",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 45,
"avg_line_length": 12.923076923076923,
"alnum_prop": 0.6845238095238095,
"repo_name": "mdoering/backbone",
"id": "af1a7bd7d436c5cdcb29cb4de5600a12fb9f5ef4",
"size": "21... |
using Slagen.Domain.Services;
namespace Slagen.Domain.Specs.Stubs
{
public class TestCommandHandler : ICommandHandler<TestCommand>
{
public TestCommand CommandHandled { get; private set; }
public void Handle(IUserSession userIssuingCommand, TestCommand command)
{
CommandHa... | {
"content_hash": "6273fab45d3dcd73792ff1497b3b63c7",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 81,
"avg_line_length": 28.647058823529413,
"alnum_prop": 0.6817248459958932,
"repo_name": "AcklenAvenue/slagen",
"id": "cb5615eee0c625b0bad60bebbe84de59c45544a4",
"size": "... |
package main
import (
"context"
"encoding/json"
"errors"
"github.com/aws/aws-sdk-go-v2/aws"
"io/ioutil"
"testing"
"time"
"github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs"
)
type CWLGetLogEventsImpl struct{}
func (dt CWLGetLogEventsImpl) GetLogEvents(ctx context.Context,
params *cloudwatchlogs.GetLogEve... | {
"content_hash": "ae88f64724eac050dcace1a88c56e519",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 87,
"avg_line_length": 21.26923076923077,
"alnum_prop": 0.7094635322483424,
"repo_name": "awsdocs/aws-doc-sdk-examples",
"id": "dc91e0db2a8a5f8d77f719bf5d6438c3f043217f",
"... |
package glue
import (
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func TestGlue(t *testing.T) {
Convey("Accessing the built glue", t, func() {
Convey("File 'gluetest' should equal \"Hello world!\\n\"", func() {
So(GetGlue("gluetest"), ShouldEqual, "Hello world!\n")
})
})
}
| {
"content_hash": "4902dcf263f8dfc13bfcfeea035e89a4",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 69,
"avg_line_length": 21.428571428571427,
"alnum_prop": 0.6533333333333333,
"repo_name": "carbonsrv/carbon",
"id": "18e11372062b2477eaa5b5f3212610748bc06b8c",
"size": "300... |
using System.Collections.Generic;
namespace Azure.Management.Resources.Models
{
/// <summary> Resource information. </summary>
public partial class GenericResourceAutoGenerated : Resource
{
/// <summary> Initializes a new instance of GenericResourceAutoGenerated. </summary>
public GenericRe... | {
"content_hash": "e667ce422767a61475b33ebcdec396e6",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 245,
"avg_line_length": 47.138888888888886,
"alnum_prop": 0.6352386564525634,
"repo_name": "hyonholee/azure-sdk-for-net",
"id": "5e07ab4fef157a5c5db03502b5c1348c64241e8f",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.