text stringlengths 2 1.04M | meta dict |
|---|---|
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Plugin -Didea.is.internal=true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin" singleton="false">
<module name="ClassicIcon" />
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:M... | {
"content_hash": "0d9cb9955b726b1392eb974cb736672a",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 172,
"avg_line_length": 58,
"alnum_prop": 0.7327586206896551,
"repo_name": "retomerz/classic-icon-idea",
"id": "7ae1e3d1509784a77325543af00e1278ee32f525",
"size": "464",
"... |
"""
Stores details about the available payment options.
Also stores credit card info in an encrypted format.
"""
from Crypto.Cipher import Blowfish
from datetime import datetime
from decimal import Decimal
from django.conf import settings
from django.db import models
from django.utils.translation import ugettext_lazy ... | {
"content_hash": "14167bc5030c7a2b49a273869c9488ff",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 111,
"avg_line_length": 39.75,
"alnum_prop": 0.6567255021302495,
"repo_name": "Ryati/satchmo",
"id": "a96b2ee37a447e3c96c4e82988461bed6a5a2e4f",
"size": "4929",
"binary"... |
package org.apache.ignite.internal.processors.hadoop;
import org.apache.ignite.cluster.*;
import org.apache.ignite.configuration.*;
import org.apache.ignite.internal.*;
import org.apache.ignite.internal.processors.hadoop.jobtracker.*;
import org.apache.ignite.internal.processors.hadoop.shuffle.*;
import org.apache.i... | {
"content_hash": "11fd313d7b920262a8e979361d03a137",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 122,
"avg_line_length": 23.192307692307693,
"alnum_prop": 0.6008054963278844,
"repo_name": "gridgain/apache-ignite",
"id": "68f0bafbe072cada25e21dbd9eaa8017f0b803fb",
"siz... |
=head1 LICENSE
Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
Copyright [2016-2022] EMBL-European Bioinformatics Institute
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "86c7c8ccb5ecc3684c2b940bc14c1389",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 137,
"avg_line_length": 32,
"alnum_prop": 0.6700819672131147,
"repo_name": "Ensembl/ensembl-webcode",
"id": "3cda99128163a5cdfd59c6ffa75658e5bf9f3b0e",
"size": "1952",
"b... |
import mock
from twisted.trial import unittest
from buildbot.status import master, client
from buildbot.test.fake import fakedb
class TestStatusClientPerspective(unittest.TestCase):
def makeStatusClientPersp(self):
m = mock.Mock(name='master')
self.db = m.db = fakedb.FakeDBConnector(self)
... | {
"content_hash": "3c4cd1447dfe73d5d5189afa547179d0",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 78,
"avg_line_length": 34.354838709677416,
"alnum_prop": 0.6356807511737089,
"repo_name": "eunchong/build",
"id": "7a4a606dcb73639d2415612682c49f89bfb7c9fa",
"size": "1771"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Wed May 01 12:49:30 CEST 2013 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Interface ... | {
"content_hash": "e49d4c28c0ffbf5574b9a4c4aec69e5a",
"timestamp": "",
"source": "github",
"line_count": 270,
"max_line_length": 453,
"avg_line_length": 58.422222222222224,
"alnum_prop": 0.6768733358691518,
"repo_name": "jmagas/RedditDailyProgrammer",
"id": "c795888f2b64f9ce172d5da93190312624298d0b",
... |
require 'pp'
module JiraProfiler
# For Sprint
# Report sprint profiles - For each sprint
# number of issues at start
# number of issues at end
# number of issues added
# number of issues completed vs not completed
# points added
# points completed vs not completed
# Report elapsed time
... | {
"content_hash": "cb629bea62ae42cd13db1064fe5d10ae",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 128,
"avg_line_length": 30.759036144578314,
"alnum_prop": 0.6057579318448884,
"repo_name": "jwtd/jira-profiler",
"id": "d31377fec2a010efc9f10e75960115fd6dc5ff31",
"size": ... |
<!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_75) on Mon May 04 10:46:00 PDT 2015 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>Uses of Class com.h... | {
"content_hash": "4a46f740203aaeacc30753479ec4e06e",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 343,
"avg_line_length": 44.57575757575758,
"alnum_prop": 0.6496261046906866,
"repo_name": "cmpaul/jellosign",
"id": "888988b939943b0aab98096ccb7ae90384a7caa9",
"size": "73... |
@interface Account : NSObject
@property (nonatomic, strong) NSString * id;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSDate * lastModifiedDate;
@property (nonatomic, strong) NSString * phone;
@property (nonatomic, strong) NSString * industry;
@property (nonatomic, strong) NSString * a... | {
"content_hash": "ca93a61c8206da303b594e33f5e5f90a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 56,
"avg_line_length": 43.8,
"alnum_prop": 0.7648401826484018,
"repo_name": "Pnayak156/SalesforceiOS",
"id": "fd158572d9bd637d53449f5514dc092b6d042fee",
"size": "622",
"b... |
import React from 'react';
import { gettext, siteRoot } from '../../utils/constants';
const {
defaultDevice,
backupTokens
} = window.app.pageOptions;
class TwoFactorAuthentication extends React.Component {
constructor(props) {
super(props);
}
renderEnabled = () => {
return (
<React.Fragment>... | {
"content_hash": "2fa65d20c2d19e686c63fcdafa19a240",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 167,
"avg_line_length": 35.15384615384615,
"alnum_prop": 0.6389496717724289,
"repo_name": "miurahr/seahub",
"id": "25c70312ae1d01d28a66e2b061952a2473e3ad2e",
"size": "1828"... |
module.exports = function(config) {
config.set({
// base path that will be used to resolve all patterns (eg. files, exclude)
basePath: '',
// frameworks to use
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
frameworks: ['jasmine'],
// list of files / patterns to l... | {
"content_hash": "f576d41dea092af2ff9d2e9767a38ba0",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 120,
"avg_line_length": 24.416666666666668,
"alnum_prop": 0.6581342434584755,
"repo_name": "mkftrivadis/sort",
"id": "281c749f9f50f54af46dec3f50f15259f0345789",
"size": "18... |
<?php
namespace CKSource\CKFinder;
use CKSource\CKFinder\Exception\CKFinderException;
use Psr\Log\LoggerInterface;
use Symfony\Component\Debug;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;
use Symfony\Component\HttpKernel\Kernel... | {
"content_hash": "dbc92e4be1d626b72bc3e01e4159df8d",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 141,
"avg_line_length": 27.792,
"alnum_prop": 0.6243523316062176,
"repo_name": "yohitan12/foctopus",
"id": "108cd0667098b6cd709401efb5c277df2e47d0c6",
"size": "3901",
"b... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CHECKING constant - ApplicationCache class - polymer_app_layout.behaviors library - Dart API</title>
<!-- r... | {
"content_hash": "faa326102da4179be7a9db7615c768b8",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 143,
"avg_line_length": 44.61363636363637,
"alnum_prop": 0.6453132959755477,
"repo_name": "lejard-h/polymer_app_layout_templates",
"id": "bcb79b69abf69911cfc9745a7784c9ddcc6... |
[Network UPS Tools](http://networkupstools.org/) can be used to control and manage several power devices like [Uninterruptible Power Supplies](https://en.wikipedia.org/wiki/Uninterruptible_power_supply). This [Hass.io](https://home-assistant.io/hassio/) plugin provides the nessecary daemon to make use of the [Home Assi... | {
"content_hash": "2f46627bc6c750b1f570689b33b23293",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 388,
"avg_line_length": 50.333333333333336,
"alnum_prop": 0.7511825922421949,
"repo_name": "asciinaut/hassio-addons",
"id": "21fb28d913ea94c2174dba1513c15efe9283937d",
"siz... |
RSpec.describe Licensee::ProjectFiles::ReadmeFile do
let(:filename) { 'README.md' }
let(:content) { '' }
subject { described_class.new(content, filename) }
context 'scoring names' do
{
'readme' => 1.0,
'README' => 1.0,
'readme.md' => 0.9,
'README.md' => 0.9,
... | {
"content_hash": "419c1774f969e52fb4d38c9564b495dc",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 72,
"avg_line_length": 25.16176470588235,
"alnum_prop": 0.5809468147282291,
"repo_name": "pchaigno/licensee",
"id": "a39b52be2750efb9fb25cfd2fac2c291e49ef043",
"size": "34... |
<!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_45) on Thu Oct 13 19:29:17 UTC 2016 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Interface liquibase.datab... | {
"content_hash": "2fb547cd38f0f75f4e8d1961f17f88aa",
"timestamp": "",
"source": "github",
"line_count": 10285,
"max_line_length": 724,
"avg_line_length": 89.19834710743801,
"alnum_prop": 0.7134951302859697,
"repo_name": "myapos/ClientManagerSpringBoot",
"id": "0bfcc87c493ba675b0623dc832c4a60061eb4710... |
package net.linkedbuildingdata.common.collections;
import java.util.Map.Entry;
public class Pair<K, V> implements Entry<K, V> {
private K key;
private V value;
public Pair(K key, V value) {
this.key = key;
this.value = value;
}
public Pair(Entry<K, V> entry) {
this.key = entry.getKey()... | {
"content_hash": "5df0b53d54da887fcd8d8b9ea85cf4dc",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 52,
"avg_line_length": 17.714285714285715,
"alnum_prop": 0.619815668202765,
"repo_name": "Web-of-Building-Data/Ifc2Rdf",
"id": "5052a2113de098c8b035e6d2cfa1a5d5d86b5a65",
"... |
require 'open-uri'
require 'active_record'
class WeatherChina
def initialize(city_id, options={})
@city_id = city_id
@options = options
end
def refresh
# http://www.weather.com.cn/data/sk/101010100.html
@current = parse_json(open("http://www.weather.com.cn/data/sk/#{@city_id}.html").read)["weat... | {
"content_hash": "b699e3b2511f56560714627d1cb1fad2",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 117,
"avg_line_length": 33.453125,
"alnum_prop": 0.5894441849602989,
"repo_name": "pzgz/weather_china",
"id": "366b26d0ed391103788400056d331968cff09cb6",
"size": "2168",
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace Gouda.Api
{
/// <summary>
/// A simple stdio handler for interation with the console.
/// </summary>
public class ConsoleStdioHandler : GhostscriptStdioHandler... | {
"content_hash": "a05ca5cfb0daefec6927c949246fafcc",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 82,
"avg_line_length": 29.53846153846154,
"alnum_prop": 0.5833333333333334,
"repo_name": "thoward/gouda",
"id": "ee3c3829aa9484433da1d0242b7ab4da60970b0c",
"size": "1152",
... |
#ifndef _BspNode_H__
#define _BspNode_H__
#include "OgreBspPrerequisites.h"
#include "OgrePlane.h"
#include "OgreAxisAlignedBox.h"
#include "OgreSceneQuery.h"
namespace Ogre {
/** Encapsulates a node in a BSP tree.
A BSP tree represents space partitioned by planes . The space which is
partitione... | {
"content_hash": "3381a51f7947a070dcca9c13dcaf6838",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 129,
"avg_line_length": 50.543010752688176,
"alnum_prop": 0.6666312094458037,
"repo_name": "LiberatorUSA/GUCEF",
"id": "f838df2af21f2ae93975ae43e9bfc4fb74a4ee15",
"size": ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/video/stitcher/v1/sessions.proto
package com.google.cloud.video.stitcher.v1;
public interface InterstitialsOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.video.stitcher.v1.Interstitials)
com.... | {
"content_hash": "490ccdcf43d71df43ac473c4e86e1e14",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 96,
"avg_line_length": 26.3265306122449,
"alnum_prop": 0.6600775193798449,
"repo_name": "googleapis/google-cloud-java",
"id": "12a9c8e1656d113001b7241da8a0cf4dca5732a6",
"s... |
.container {
display: grid;
grid-gap: 5px;
grid-template-columns: [main-start] 1fr [content-start] 5fr [content-end main-end];
grid-template-rows: 40px auto 40px;
}
.header {
grid-column: main-start / main-end;
}
.menu { }
.content {
grid-column: content-start / content-end;
}
.footer {
grid-column: ... | {
"content_hash": "5bd6baf1e9be3bca68183382dd3b3b2b",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 85,
"avg_line_length": 15.045454545454545,
"alnum_prop": 0.6465256797583081,
"repo_name": "mertnuhoglu/study",
"id": "693def18916c43da809fee48df4fa5168f09c48f",
"size": "33... |
package org.arquillian.smart.testing.strategies.affected.fakeproject.test;
import org.arquillian.smart.testing.strategies.affected.fakeproject.main.MyBusinessObject;
import org.junit.Ignore;
import org.junit.Test;
@Ignore("Test ignored because it is used internally")
public class MyBusinessObjectTest {
private M... | {
"content_hash": "d7c5cf478e038bc7843d2df0e8cc5462",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 90,
"avg_line_length": 26.235294117647058,
"alnum_prop": 0.773542600896861,
"repo_name": "arquillian/smart-testing",
"id": "e83bef77f456f83aa9c2a3f44d27bfbaa5c02bda",
"size... |
<div class="box box-solid">
<div class="box-body">
<span class="posted-at">
Posted <strong>{{postedDate | relativeDate}}</strong>
By <strong>
<a class="cursor"
ng-show="authorClickable"
ng-click="authorClickAction()">{{postedBy}}</a>
<span ng-hid... | {
"content_hash": "65c335255f09da51da54c49b75641a88",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 66,
"avg_line_length": 35.24390243902439,
"alnum_prop": 0.4692041522491349,
"repo_name": "CourseMapper/course-mapper",
"id": "ce4b0b88439ccf41d6eebbbb3b070d0cd5a53f5d",
"si... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace JumpKick.HttpLib
{
public class Cookies
{
protected static CookieContainer cookies = new CookieContainer();
public static void ClearCookies()
... | {
"content_hash": "b46d2b666e5b72a444787cc1a4691e27",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 75,
"avg_line_length": 22.047619047619047,
"alnum_prop": 0.67170626349892,
"repo_name": "zhaosichao/httplib",
"id": "388181b5161a3cdbd19bceba3c04b5deab463eea",
"size": "465... |
using System.Linq;
using Reusable.Commander;
using Reusable.Exceptionize;
using Xunit;
namespace Reusable.Tests.Commander
{
public class CommandLineExtensionsTest
{
[Fact]
public void AnonymousValues_None_Empty()
{
var commandLine = new CommandLine
{
... | {
"content_hash": "2c73fb3e7d73b24f453e63b044d3fbdd",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 76,
"avg_line_length": 27.43859649122807,
"alnum_prop": 0.48657289002557547,
"repo_name": "he-dev/Reusable",
"id": "93ec6e2ee6559a1dbe97c88666eb9745d2d1a6c0",
"size": "1566... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Chrisantha's Landing Page</title>
<!-- Latest compiled and minified Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68... | {
"content_hash": "974d6ad7b2c8303a6afaa7200aec59b9",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 208,
"avg_line_length": 40.325581395348834,
"alnum_prop": 0.6568627450980392,
"repo_name": "cperera/landing",
"id": "76c7cbb78e314e5aef667609c5912f4041eef9b4",
"size": "173... |
<?php
namespace Skrz\Bundle\AutowiringBundle\Annotation;
/**
* @author Jakub Kulhan <jakub.kulhan@gmail.com>
*
* @Annotation
*/
class Component
{
}
| {
"content_hash": "6f64e51aa7c32718384657d41acbd8be",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 50,
"avg_line_length": 13.909090909090908,
"alnum_prop": 0.7058823529411765,
"repo_name": "skrz/autowiring-bundle",
"id": "5a2ae89b22e6d8650e59996ffe7e4d634782c9ce",
"size"... |
#include "fbtHciLocal.h"
// Complete round trip HCI abstraction
// 1. Send Command
// 2. Wait for Command status / Command complete
// 3. Wait fo event
class CHciRoundTrip : public CHciLocal
{
public:
CHciRoundTrip( CBTHW& btHw );
virtual ~CHciRoundTrip();
virtual DWORD QueueEvent(BYTE EventCode, L... | {
"content_hash": "f6da67b9230460dcac609114d6f3a1aa",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 87,
"avg_line_length": 29,
"alnum_prop": 0.6846264367816092,
"repo_name": "ten0s/freebt",
"id": "bb8a477245f9ec65550a74748770a576ca52accf",
"size": "1448",
"binary": fals... |
```java
package godfinger.sample;
import org.springframework.stereotype.Service;
import godfinger.http.rest.annotation.Export;
import godfinger.http.rest.annotation.HttpDelete;
import godfinger.http.rest.annotation.HttpGet;
import godfinger.http.rest.annotation.HttpPost;
import godfinger.http.rest.annotation.HttpPut;... | {
"content_hash": "2d3c8a71174c1df010035c0da830db1b",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 77,
"avg_line_length": 27.78723404255319,
"alnum_prop": 0.725114854517611,
"repo_name": "godfinger/godfinger-core",
"id": "f1acdcd7d47bc474e6727acb4d1e1cc05698a854",
"size"... |
/*
Copyright 2009 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, and distribute this software
and its documentation for any purpose and without fee is hereby
granted, provided that the above copyright notice appear in all
copies and that both that the copyrigh... | {
"content_hash": "dd47efa0d26a078ce40210e0270dd9aa",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 118,
"avg_line_length": 35.91428571428571,
"alnum_prop": 0.7040572792362768,
"repo_name": "kevlar1818/umeter",
"id": "305e68cbc4e89f5f22a4e2a926ef9065ff1a7913",
"size": "26... |
using System;
namespace HTTPlease.Core.Templates
{
/// <summary>
/// A template segment that represents a query parameter whose value comes from a template parameter.
/// </summary>
sealed class ParameterizedQuerySegment
: QuerySegment
{
/// <summary>
/// The name of the template parameter whose value be... | {
"content_hash": "f2b14ddd562491f565e90a60daf69d1c",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 143,
"avg_line_length": 28.9247311827957,
"alnum_prop": 0.6806691449814126,
"repo_name": "tintoy/HTTPlease",
"id": "d33547b895242a3c4ebbf100ef6eca851509111b",
"size": "2692... |
<a href="http://github.com/angular/angular.js/tree/v1.2.3/docs/content/api/index.ngdoc#L1" class="view-source btn btn-action"><i class="icon-zoom-in"> </i> View source</a><a href="http://github.com/angular/angular.js/edit/master/docs/content/api/index.ngdoc" class="improve-docs btn btn-primary"><i class="icon-edit"> </... | {
"content_hash": "bf88465929d8437307b5cdb5b4ab2483",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 379,
"avg_line_length": 39.75627240143369,
"alnum_prop": 0.6495672556797693,
"repo_name": "chenchiyuan/hawaii",
"id": "6ad3c79b1b06a93c17687282763484e753060a06",
"size": "... |
package com.balidao.transreport.dao;
import com.balidao.transreport.domain.Friend;
/**
* Created by double on 16-12-11.
*/
public interface IFriendDao extends IBaseDao<Friend> {
}
| {
"content_hash": "f394bd01fc557082e605920fce55543a",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 54,
"avg_line_length": 20.444444444444443,
"alnum_prop": 0.7554347826086957,
"repo_name": "shalldon/logistics",
"id": "029ff950f02ac7855c6cf8dcec35b2940ebc3dc2",
"size": "18... |
"""
DocuSign REST API
The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. # noqa: E501
OpenAPI spec version: v2.1
Contact: devcenter@docusign.com
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
import pp... | {
"content_hash": "ebb228b7e43a5732d3acd0478180d286",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 140,
"avg_line_length": 32.16863905325444,
"alnum_prop": 0.6068242435390416,
"repo_name": "docusign/docusign-python-client",
"id": "972bd8450f839a3d9d463bbf2f0cdcda92c4a742"... |
/**
*
*/
package apu.scratch.tools;
import java.util.ArrayList;
import java.util.List;
import apu.scratch.tools.gen.followers.FollowerListGen;
import apu.scratch.tools.gen.visualizer.VisualizerGenMinim;
/**
* @author MegaApuTurkUltra
*/
public abstract class ToolBase {
public abstract ParamDef[] getParams();
... | {
"content_hash": "3026b78f12cc757f7bcea4daf7c34e06",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 71,
"avg_line_length": 22.186046511627907,
"alnum_prop": 0.6254367575122292,
"repo_name": "MegaApuTurkUltra/ScratchTools",
"id": "e320cf6951d543a74507e213effb8190cd835e4c",
... |
package com.webfirmframework.wffweb.tag.html.tables;
import java.io.Serial;
import java.util.logging.Logger;
import com.webfirmframework.wffweb.settings.WffConfiguration;
import com.webfirmframework.wffweb.tag.html.AbstractHtml;
import com.webfirmframework.wffweb.tag.html.attribute.core.AbstractAttribute;
import com... | {
"content_hash": "b23a6184a1eb4ae44a82b11ead0ca625",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 94,
"avg_line_length": 27.78082191780822,
"alnum_prop": 0.6755424063116371,
"repo_name": "webfirmframework/wff",
"id": "6d75ffd97df62ee6c6930aefc1dfb383e5bba25b",
"size": "... |
"""
database.sqlalchemy_test_issues
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Testing Issues with SQLAlchemy
http://flask.pocoo.org/snippets/36/
"""
import os
import sys
sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))
from flask import request, Response
from app import app
""... | {
"content_hash": "2c6a435c5ada4621932ce355f20d3eea",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 110,
"avg_line_length": 26.133333333333333,
"alnum_prop": 0.6709183673469388,
"repo_name": "XiangyiKong/flask-snippets",
"id": "90539bcd220a79d6be7856b27658706a3608c2eb",
"... |
$.components.register("appear", {
defaults: {},
api: function(context) {
if (!$.fn.appear) return;
$(document).on("appear", '[data-plugin="appear"]', function() {
var $item = $(this),
animate = $item.data("animate");
if ($item.hasClass('appear-no-repeat')) return;
$item.removeCl... | {
"content_hash": "551702b167ea5a5f752c5005c8b705c5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 80,
"avg_line_length": 27.56756756756757,
"alnum_prop": 0.5754901960784313,
"repo_name": "afquinterog/mkitserverapp",
"id": "1cda78bfd9a08025e30744a4a51ab9301aa98456",
"siz... |
if (NOT AOM_BUILD_CMAKE_TOOLCHAINS_ARMV7_IOS_CMAKE_)
set(AOM_BUILD_CMAKE_TOOLCHAINS_ARMV7_IOS_CMAKE_ 1)
if (XCODE)
# TODO(tomfinegan): Handle arm builds in Xcode.
message(FATAL_ERROR "This toolchain does not support Xcode.")
endif ()
set(CMAKE_SYSTEM_PROCESSOR "armv7")
set(CMAKE_OSX_ARCHITECTURES "armv7")
includ... | {
"content_hash": "1d3ddcce66c97d68b2619011c151ac83",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 63,
"avg_line_length": 31.416666666666668,
"alnum_prop": 0.7427055702917772,
"repo_name": "smarter/aom",
"id": "bcd37a06d7dd078199961222ad9c4f5a4464a0d5",
"size": "1282",
... |
title: Adna Duherich
gender: female
graduated: 2012
submitted: false
---
| {
"content_hash": "8a00755ca44969900ee78eaf1c5465f1",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 20,
"avg_line_length": 12.333333333333334,
"alnum_prop": 0.7567567567567568,
"repo_name": "johnathan99j/history-project",
"id": "94ded7051d1dcfe85dd307af88fbf737188496dc",
"... |
var StaticGridLayerModelImazon = cdb.core.Model.extend();
var StaticGridLayerImazon = cdb.core.View.extend({
hide: function() {
this.model.set("opacity", 0);
},
show: function() {
this.model.set("opacity", 1);
},
set_time: function(start_year, start_month, end_year, end_month) {
start_month && ... | {
"content_hash": "d8442db612ddc4cde07b8e179ffbbd8b",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 236,
"avg_line_length": 31.16176470588235,
"alnum_prop": 0.6054742803209061,
"repo_name": "cciciarelli8/gfw",
"id": "00567fa48dd8f894743a779d22b864e3647f910c",
"size": "211... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Ver... | {
"content_hash": "990d84885dda20117a3c1ea19ab7cb6e",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 201,
"avg_line_length": 36.43939393939394,
"alnum_prop": 0.6636174636174637,
"repo_name": "aaronwalker/camel",
"id": "657bce6a8c7d6406b286714ffdff782bed84296c",
"size": "24... |
#pragma once
#include <aws/elasticmapreduce/EMR_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/elasticmapreduce/model/HadoopStepConfig.h>
#include <aws/elasticmapreduce/model/ActionOnFailure.h>
#include <aws/elasticmapreduce/model/StepStatus.h>
#include <utility>
namespace Aws
{
namespace... | {
"content_hash": "fdbf20ad3a5e79f7b8caf3f6332a7339",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 137,
"avg_line_length": 43.0314465408805,
"alnum_prop": 0.6679333528208127,
"repo_name": "cedral/aws-sdk-cpp",
"id": "f5a903889d1f0750221e744a9817ee0e9053a10c",
"size": "1... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Linnaea 12:414. 1838
#### Original name
null
### Remarks
null | {
"content_hash": "f11532ff70a4c313ffb5b63359627dfe",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 11.538461538461538,
"alnum_prop": 0.7,
"repo_name": "mdoering/backbone",
"id": "701fd586659963bba8d8cc427d31c1fbe4eec26b",
"size": "208",
"binary":... |
using Cofoundry.Core;
using Cofoundry.Domain;
using Hangfire;
using Hangfire.Dashboard;
using Microsoft.AspNetCore.Builder;
namespace Cofoundry.Plugins.BackgroundTasks.Hangfire;
/// <summary>
/// Used to initialize the hangfire server. Override this to fully
/// customize the server initialization process.
/// </sum... | {
"content_hash": "7b9fa076c8341919a94ae790436b6599",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 115,
"avg_line_length": 32.93181818181818,
"alnum_prop": 0.6984126984126984,
"repo_name": "cofoundry-cms/Cofoundry.Plugins.BackgroundTasks.Hangfire",
"id": "f3915d432aecea8b8... |
// Copyright 2013 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.
#include "chrome/browser/automation/testing_automation_provider.h"
#include <map>
#include <set>
#include <string>
#include <vector>
#include "base/bind... | {
"content_hash": "0c0c6148525f37fed640933d305308f0",
"timestamp": "",
"source": "github",
"line_count": 5931,
"max_line_length": 80,
"avg_line_length": 36.84117349519474,
"alnum_prop": 0.6889682158303013,
"repo_name": "codenote/chromium-test",
"id": "64421079bc7e286976d07711e478b4b7b725f202",
"size... |
class LiquidValidator::Validator
attr_reader :errors, :template, :error_mode
def initialize(template, error_mode: :strict)
@template = template
@error_mode = error_mode
@errors = []
@valid = true
run_validations_on_template
end
def valid?
@valid
end
private
def run_validations_... | {
"content_hash": "63f32d75972d9a3d79f0e559cf5d509f",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 77,
"avg_line_length": 22.071428571428573,
"alnum_prop": 0.6585760517799353,
"repo_name": "jeremywrowe/liquid-validator",
"id": "e5cae8504be20ff25c8b87b63d18443a7ff0cdb4",
... |
<!DOCTYPE html>
{% load staticfiles %}
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *aft... | {
"content_hash": "03c8219f79028ae4130d278507316a59",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 156,
"avg_line_length": 42.564516129032256,
"alnum_prop": 0.5922697991663509,
"repo_name": "brady-vitrano/ecommerce-demo",
"id": "a9c43c04057bf610a1ad49d4a00032b80cb09205",
... |
class <%= migration_name.camelize %> < ActiveRecord::Migration
def change
create_table :<%= table_name %> do |t|
t.string :email, null: false
t.string :name
t.string :phone
t.text :comment
t.string :theme
t.boolean :active, default: true
t.boolean :sysadm, d... | {
"content_hash": "84990e43074b8641e8d54856dcc594e5",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 70,
"avg_line_length": 34.54838709677419,
"alnum_prop": 0.6106442577030813,
"repo_name": "volkerwiegand/scaffold_plus",
"id": "5d1344c6e2a578ba3739784ee10179356a77d328",
"s... |
/**************************************************************************
iPXE - Network Bootstrap Program
Literature dealing with the network protocols:
ARP - RFC826
RARP - RFC903
UDP - RFC768
BOOTP - RFC951, RFC2132 (vendor extensions)
DHCP - RFC2131, RFC2132 (options)
TFTP - RFC1350, RFC2347 (options), RFC... | {
"content_hash": "82c2dd94d504003fc53399f0f94c62dc",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 75,
"avg_line_length": 24.416666666666668,
"alnum_prop": 0.610580204778157,
"repo_name": "egraba/vbox_openbsd",
"id": "9ee94e027210d48a2b79674f80fed9ede1b7c985",
"size": "... |
(function($) {
/**
* @var object Reference to the BlobBuilder, if the browser supports
* it. If not, this variable will be undefined.
*/
var BlobBuilder = window.BlobBuilder || window.MozBlobBuilder || window.WebKitBlobBuilder || window.MSBlobBuilder || undefined;
/**
* @var object Reference to th... | {
"content_hash": "32657cad93a9a88ae58bfedd68f5f054",
"timestamp": "",
"source": "github",
"line_count": 585,
"max_line_length": 128,
"avg_line_length": 27.46153846153846,
"alnum_prop": 0.6167444755680049,
"repo_name": "basilfx/HTMLFeedback",
"id": "cf99be41b0f0027f13aaf64d29f2c07f0c9700ac",
"size":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Mirrored from bvs.wikidot.com/forum/t-259883/robopart:foam-helmet by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 10 Jul 2... | {
"content_hash": "0f3ab652c2ec88f0eb53e136673d85d0",
"timestamp": "",
"source": "github",
"line_count": 637,
"max_line_length": 328,
"avg_line_length": 43.968602825745684,
"alnum_prop": 0.5959011710939731,
"repo_name": "tn5421/tn5421.github.io",
"id": "4016fa71af97cf98b6caf7fe0309860ea9e425ad",
"si... |
require 'rexml/document'
module ActiveResource
module Formats
module AtomFormat
extend self
def extension
"atom"
end
def mime_type
"application/atom+xml"
end
def encode(hash, options={})
hash.to_xml(options)
end
def decode(xml)
xm... | {
"content_hash": "fe4ae8ae7431834a8c0ea018c2893e36",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 111,
"avg_line_length": 25.233333333333334,
"alnum_prop": 0.5134302069572876,
"repo_name": "ekadoo/constant_contact",
"id": "48cf46b210bb0230772814886ea37c5a9a499d8e",
"siz... |
typedef u_int SOCKET;
#ifdef WIN32
#define MSG_NOSIGNAL 0
#define MSG_DONTWAIT 0
typedef int socklen_t;
#else
#include "errno.h"
#define WSAGetLastError() errno
#define WSAEINVAL EINVAL
#define WSAEALREADY EALREADY
#define WSAEWOULDBLOCK EWOULDBLOCK
#define WSAEMSGSIZE EMS... | {
"content_hash": "a3ab3a8ef58e54dc297bcb737d327f71",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 44,
"avg_line_length": 23.72222222222222,
"alnum_prop": 0.6756440281030445,
"repo_name": "jhbruhn/pedacoin",
"id": "287a17937cc20d31b4b7682b2b02a097916b8f8c",
"size": "1531... |
namespace Core
{
public interface IANPREngineSettings
{
int MinPlateHeight { get; set; }
int MaxPlateHeight { get; set; }
int MinPlateWidth { get; set; }
int MaxPlateWidth { get; set; }
}
} | {
"content_hash": "fae3489af4ad93988ab535dfbd1cc97c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 40,
"avg_line_length": 23.7,
"alnum_prop": 0.5780590717299579,
"repo_name": "Phontan/ANPR",
"id": "449bc7969e423006c7ba87935a552df876184bb2",
"size": "239",
"binary": fal... |
var fs = require('fs');
var fse = require('fs-extra');
var gu = require(__dirname+'/gu.js');
var userService = require(__dirname+'/user.js');
var $http = require('request-promise');
var recursive = require('recursive-readdir');
var git = require('gitty');
var wawPages = {
ng: 'git@github.com:WebArtWork/wawAngular.git'... | {
"content_hash": "e4f085a932ba7cd5c42b5fb72fb8e5c4",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 134,
"avg_line_length": 30.641176470588235,
"alnum_prop": 0.6152812440007679,
"repo_name": "WebArtWork/wawify",
"id": "17829f1763a775dbbe6ab9d84ecef2f76aa0623b",
"size": "... |
'use strict';
import assert from 'power-assert';
import matchRoutes from '../../lib/matchRoutes';
import React from 'react';
import {Location, NotFound} from '../../';
describe('matchRoutes', function() {
var routes = [
<Location path='(/)' handler={<div name="root" />} />,
<Location path='/cat/:... | {
"content_hash": "8419995c4104382beb756b19c5ac397a",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 117,
"avg_line_length": 42.17307692307692,
"alnum_prop": 0.6572427420580635,
"repo_name": "jsg2021/react-router-component",
"id": "40f5d7650fa4db7b4e8043853a888ed435c41209",... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Annls mycol. 15(5): 371 (1917)
#### Original name
Aulographum anaxaeum Sacc. & D. Sacc.
### Remarks
null | {
"content_hash": "cba2e1156c21279a6542b012e1ffc78a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 37,
"avg_line_length": 12.923076923076923,
"alnum_prop": 0.6785714285714286,
"repo_name": "mdoering/backbone",
"id": "3e32937de978af776990856e6bcffca14a05427f",
"size": "23... |
<?php
class Result_model extends CI_Model{
protected $table = 'results';
protected $primaryKey = 'id';
function __construct()
{
parent::__construct();
}
public function select_all_data()
{
$query = $this->db->order_by("timestamp","desc")->get( $this->table );
return $query->result();
}
public functio... | {
"content_hash": "b0fbb489696f558b4584e8456eb14a18",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 72,
"avg_line_length": 20.0625,
"alnum_prop": 0.6074766355140186,
"repo_name": "louiselin/codeigniter",
"id": "86f5804aaab93d4feb2cf2299276d5721b118a26",
"size": "997",
"... |
@interface PodsDummy_Pods_PSEasyAutolayouts_Tests_PSEasyAutolayouts : NSObject
@end
@implementation PodsDummy_Pods_PSEasyAutolayouts_Tests_PSEasyAutolayouts
@end
| {
"content_hash": "f3038d7eba82ecb22f6f7fb1c77f52e5",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 78,
"avg_line_length": 40.5,
"alnum_prop": 0.8703703703703703,
"repo_name": "dahiri-farid/PSEasyAutolayouts",
"id": "e93f6883e55823f589b698bfa61c31d128cf2543",
"size": "196"... |
<?php
namespace Application\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* NmtFinPostingPeriod
*
* @ORM\Table(name="nmt_fin_posting_period", uniqueConstraints={@ORM\UniqueConstraint(name="posting_from_date_UNIQUE", columns={"posting_from_date"}), @ORM\UniqueConstraint(name="posting_to_date_UNIQUE", columns... | {
"content_hash": "6a85e17b87758993b62bf75f0bed026a",
"timestamp": "",
"source": "github",
"line_count": 556,
"max_line_length": 629,
"avg_line_length": 20.526978417266186,
"alnum_prop": 0.5279067729781828,
"repo_name": "ngmautri/nhungttk",
"id": "39e9821f65f0a82efad93a3bc86b14cb7fa52bb6",
"size": "... |
/*!
* Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
* Code licensed under the Apache License v2.0.
* For details, see http://www.apache.org/licenses/LICENSE-2.0.
*/
body {
overflow-x: hidden;
}
p {
font-size: 20px;
}
p.small {
font-size: 16px;
}
a,
a:hover,
a:focus,
a:acti... | {
"content_hash": "8e3250b09508d81ef45b6f9788b5acb1",
"timestamp": "",
"source": "github",
"line_count": 466,
"max_line_length": 75,
"avg_line_length": 17.379828326180256,
"alnum_prop": 0.6195826645264848,
"repo_name": "dvanlunen/dvanlunen.github.io",
"id": "53420867b021eb85fea6a9929a7533400a8ee93e",
... |
import json
import logging
import threading
import uuid
from compat import JsonResponse
from django.contrib.auth import authenticate, login
from django.core.context_processors import csrf
from django.http import HttpResponse
from django.shortcuts import render_to_response
from django.template import RequestContext
imp... | {
"content_hash": "3f3c5b93845ac2432123bad4d05f1dd2",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 115,
"avg_line_length": 38.40677966101695,
"alnum_prop": 0.659973521624007,
"repo_name": "weijia/obj_sys",
"id": "1b8ed22e8ed756ff7a4cdeb18a9553d805bb6635",
"size": "4532"... |
local api = premake.api
local DOC_URL = "See https://bitbucket.org/premake/premake-dev/wiki/"
-----------------------------------------------------------------------------
--
-- Register the core API functions.
--
-----------------------------------------------------------------------------
api.register {
name... | {
"content_hash": "2f866fdad3fc46d62b923f8f90fc1a47",
"timestamp": "",
"source": "github",
"line_count": 1044,
"max_line_length": 84,
"avg_line_length": 16.910919540229884,
"alnum_prop": 0.5675446049277825,
"repo_name": "annulen/premake",
"id": "24e4cfe1ffc24f7fcd171371234d80d240ca0418",
"size": "17... |
package com.thoughtworks.go.plugin.configrepo.contract.material;
import com.google.gson.JsonObject;
import com.thoughtworks.go.plugin.configrepo.contract.AbstractCRTest;
import org.junit.jupiter.api.Test;
import java.util.Arrays;
import java.util.Map;
import static org.hamcrest.MatcherAssert.assertThat;
import stat... | {
"content_hash": "612cab99206b5b356363a38bbf2b8907",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 101,
"avg_line_length": 37.7887323943662,
"alnum_prop": 0.7208348863212821,
"repo_name": "GaneshSPatil/gocd",
"id": "178b001275672f911d0b1fd43bf36b329bfbf358",
"size": "328... |
"""Dealy layer."""
from kws_streaming.layers import modes
from kws_streaming.layers.compat import tf
class Delay(tf.keras.layers.Layer):
"""Delay layer.
It is useful for introducing delay in streaming mode for non causal filters.
For example in residual connections with multiple conv layers
Attributes:
... | {
"content_hash": "4e676ea13293384d689dbdd296b83377",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 79,
"avg_line_length": 35.65079365079365,
"alnum_prop": 0.6447016918967052,
"repo_name": "google-research/google-research",
"id": "08b4e1cb0ba0748604b720987777ec85d69ebd97",... |
class CreatePages < ActiveRecord::Migration[5.1]
def change
create_table :pages do |t|
t.text :name
t.string :slug
t.text :content
t.integer :parent_id
t.string :parent_type
t.timestamps
end
add_index :pages, [:parent_type, :parent_id, :slug], unique: true
end
end
| {
"content_hash": "f7e733ca364f273bf98aa9b357e07e64",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 69,
"avg_line_length": 21.266666666666666,
"alnum_prop": 0.6175548589341693,
"repo_name": "neinteractiveliterature/intercode",
"id": "3f82b18f43e12f3596eb9044ac1a863fb46f65e8... |
[](http://unmaintained.tech/)
iOS slide over menu skeleton.
## What's this?
Many of our apps are using some sort of slide menu, aka the hamburger menu or Facebook menu. Up to iOS 7 we used [ViewDeck](https://github.com/Inferis/ViewDeck) exclusively but are... | {
"content_hash": "2db58ee32eab62d71bbff8a0b6f8dd48",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 434,
"avg_line_length": 93.23529411764706,
"alnum_prop": 0.8069400630914827,
"repo_name": "gangverk/MenuSkeleton",
"id": "550f781bc02d49c9fddd51e2732dad86451c3b35",
"size":... |
#import <Cocoa/Cocoa.h>
#import <UnitKit/UnitKit.h>
// This class doesn't implement the UKTest protocol because it is not
// supposed to get picked up automatically out of a test bundle. Instead
// it is used by UKTestMacros to test out all of the macros.
#import <Cocoa/Cocoa.h>
@interface TestUKNotNil_Negative :... | {
"content_hash": "3dfa50669843349bc7098dfab736954f",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 72,
"avg_line_length": 20.058823529411764,
"alnum_prop": 0.7390029325513197,
"repo_name": "heckj/unitkit",
"id": "157be025db789dde178c9852b273d41eb6b8cf5d",
"size": "1196",... |
<?xml version="1.0" encoding="UTF-8"?>
<!--L
Copyright Oracle Inc
Distributed under the OSI-approved BSD 3-Clause License.
See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details.
L-->
<cgMDR:Enumerated_Value_Domain xmlns:cgMDR="http://www.cancergrid.org/schema/cgMDR" item_registration_authority_... | {
"content_hash": "964adab2ed66296f80ef7bed8843d226",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 184,
"avg_line_length": 57.81481481481482,
"alnum_prop": 0.7194106342088404,
"repo_name": "NCIP/cadsr-cgmdr-nci-uk",
"id": "ba9c84b500a5a9d376ce1e12e9d920aad6861b78",
"size... |
FROM centos:7
MAINTAINER U.G. Wilson
# Setup environment variables for application environment and configuration.
ENV DJANGO_CONFIGURATION=PRODUCTION
# Install Python 3
RUN yum update
RUN yum install -y yum-utils
RUN yum -y groupinstall development
RUN yum -y install https://centos7.iuscommunity.org/ius-release.rpm... | {
"content_hash": "6e321de4cd42f1e8dc9cf4964ec549f2",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 77,
"avg_line_length": 28.642857142857142,
"alnum_prop": 0.7817955112219451,
"repo_name": "c0yote/django-reference",
"id": "c56aaf487d7feaa8a641d8040ae4469ade45a01d",
"size... |
using UnityEngine;
public class TeamState_Attack : FSMState<TeamBase> {
static readonly TeamState_Attack instance = new TeamState_Attack();
public static TeamState_Attack Instance {
get {
return instance;
}
}
static TeamState_Attack() { }
private TeamState_Attack() { }
public override void Enter (Te... | {
"content_hash": "349129de1ed2789a4691c07c841b2a42",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 68,
"avg_line_length": 18.867469879518072,
"alnum_prop": 0.6915708812260536,
"repo_name": "spotco/ld-33",
"id": "c36c1158493656b669eab62c786c71ca09ecba17",
"size": "1566",
... |
/* -*- mode: C++; c-basic-offset: 4; tab-width: 8; -*-
* vi: set shiftwidth=4 tabstop=8:
* :indentSize=4:tabSize=8:
*/
#include "display_info.h"
#include "file_index.h"
#include <algorithm>
#include <cassert>
#include <fstream>
DisplayInfo::DisplayInfo() :
topLineIt(displayedLineNum.end()),
bottomLineIt(di... | {
"content_hash": "8a28ddf0c2162c5d4dbb375755b089d3",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 117,
"avg_line_length": 18.509090909090908,
"alnum_prop": 0.637278978388998,
"repo_name": "doj/few",
"id": "52920d37a3ab88d007bd8fe9d7aaa8bc78ea3271",
"size": "4072",
"b... |
<!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_65) on Tue Sep 30 00:45:12 PDT 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>UserContext (guacam... | {
"content_hash": "13789958fa7c42c2ef180c40e03dc506",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 458,
"avg_line_length": 40.40625,
"alnum_prop": 0.6468161897396236,
"repo_name": "mike-jumper/incubator-guacamole-website",
"id": "014fba3cb458ce596049825d70678a2ea5924929",... |
"""
This is the implementation of the original paper:
@article{bandt2002permutation,
title={Permutation entropy: a natural complexity measure for time series},
author={Bandt, Christoph and Pompe, Bernd},
journal={Physical review letters},
volume={88},
number={17},
pages={174102},
year={2002},
publisher... | {
"content_hash": "bf2b7ff2a04b3564f238a18e87a621b5",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 97,
"avg_line_length": 34.16197183098591,
"alnum_prop": 0.5644197072768501,
"repo_name": "demid5111/approximate-enthropy",
"id": "461100bdcff1fd7397dab50ca43b80c4a715a495",
... |
package org.m4ver1k.scheduler.service;
import static org.quartz.CronScheduleBuilder.cronSchedule;
import static org.quartz.TriggerBuilder.newTrigger;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.m4ver1k.scheduler.core.FrequencyType;
import org.m4ver1k.scheduler.core.JobDTO;
im... | {
"content_hash": "e21d4e18e924a0b02c63b3984862bf2d",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 130,
"avg_line_length": 32,
"alnum_prop": 0.7332236842105263,
"repo_name": "m4ver1k/scheduler",
"id": "35d323d442346235b0afdb8d63bdbd5ef9b6dc2f",
"size": "3040",
"binary"... |
// Type definitions for bull 3.3
// Project: https://github.com/OptimalBits/bull
// Definitions by: Bruno Grieder <https://github.com/bgrieder>
// Cameron Crothers <https://github.com/JProgrammer>
// Marshall Cottrell <https://github.com/marshall007>
// Weeco <https://git... | {
"content_hash": "efa30f7471e2ba05113f5b687e77731b",
"timestamp": "",
"source": "github",
"line_count": 689,
"max_line_length": 131,
"avg_line_length": 35.568940493468794,
"alnum_prop": 0.6518545721630554,
"repo_name": "aaronryden/DefinitelyTyped",
"id": "a11ae0257ab2f74b6faec85d3c0cb1b1a99a781b",
... |
export class LivetickerComment {
constructor(public content: string, public timestamp: number, public username: string, public profilePicture: string) {
}
}
| {
"content_hash": "e9aabbe79516a027ddecccd7a838b495",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 123,
"avg_line_length": 33.2,
"alnum_prop": 0.7530120481927711,
"repo_name": "sunilson/My-Ticker-Android",
"id": "d21dc998135ddefbcb208c53d3c0aedd99c96a12",
"size": "166",
... |
package main
import (
"os"
"fmt"
"strings"
"github.com/thoj/go-ircevent"
)
var server string
var channel = "#botsex"
var myNick = "gonbot"
var con *irc.Connection
var goTime = false
var admin = false
var op = false
func main() {
args := os.Args
if len(args) == 2 && args[1] == "-h" {
f... | {
"content_hash": "aa5b5790a7ddb7656821728bbacb9691",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 77,
"avg_line_length": 27.023529411764706,
"alnum_prop": 0.5034828036569439,
"repo_name": "dgonyeo/ceti-eel",
"id": "a4b1a7a563b3df1a2a7dc077b76c3b5ae25693e7",
"size": "45... |
Mobidebt::Application.config.session_store :cookie_store, key: '_mobidebt_session'
| {
"content_hash": "8e7aab7d7ac5572c5926742fbd105c2c",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 82,
"avg_line_length": 83,
"alnum_prop": 0.7951807228915663,
"repo_name": "jvanbaarsen/mobidebt",
"id": "0b995b6e2c5f245a1a19e31fe772d9b6879b0826",
"size": "144",
"binary"... |
namespace boost {
#ifndef __BORLANDC__
namespace detail {
class alignment_dummy;
typedef void (*function_ptr)();
typedef int (alignment_dummy::*member_ptr);
typedef int (alignment_dummy::*member_function_ptr)();
#define BOOST_TT_ALIGNMENT_TYPES BOOST_PP_TUPLE_TO_LIST( \
11, ( \
char, short, int, lon... | {
"content_hash": "f63e3d67617f547df9e1f093aee61cbe",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 86,
"avg_line_length": 30.192857142857143,
"alnum_prop": 0.6810977052282943,
"repo_name": "OLR-xray/OLR-3.0",
"id": "a9cabdb7c281220e033ad6504dca66f685012712",
"size": "51... |
using Autofac;
using Autofac.Core.Lifetime;
using System;
using System.Collections.Generic;
using System.Linq;
using Prolix.Ioc;
namespace Prolix.Ioc.Autofac
{
/// <summary>
/// Autofac generic Ioc Container
/// </summary>
public class AutofacResolver : Resolver
{
ILifetimeScope _containe... | {
"content_hash": "0aa36acecb1e44f8e32ad809bf491d87",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 157,
"avg_line_length": 33.578947368421055,
"alnum_prop": 0.5540752351097179,
"repo_name": "wwdenis/wwa",
"id": "f92ef688765cfaae36c9f26fcadea351777ac1c6",
"size": "6506",... |
Write-Host "Copying README.md as index.md to Docs folder..."
Copy-Item README.md -Destination Docs\index.md
Write-Host "Writing index.md title..."
$indexContent = Get-Content -Path "Docs\index.md" -Raw
$indexContent = $indexContent -replace '\<\!--OVERVIEW--\>',"# Overview"
Set-Content -Path "Docs\index.md" -Value $i... | {
"content_hash": "b0040d51b551663a1884c76d509b7578",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 72,
"avg_line_length": 47.285714285714285,
"alnum_prop": 0.7250755287009063,
"repo_name": "melanchall/drywetmidi",
"id": "928e4e46c718b86041db0839425c203d18ea2f76",
"size": ... |
'use strict';
exports.find = function(req, res, next){
req.query.email = req.query.email ? req.query.email : '';
req.query.hash = req.query.hash ? req.query.hash : '';
req.query.limit = req.query.limit ? parseInt(req.query.limit, null) : 20;
req.query.page = req.query.page ? parseInt(req.query.page, null) : 1;... | {
"content_hash": "13375e2a8bb7fce2bd07fc93ce32f62b",
"timestamp": "",
"source": "github",
"line_count": 176,
"max_line_length": 128,
"avg_line_length": 26.943181818181817,
"alnum_prop": 0.6102910164487558,
"repo_name": "bertrandmartel/google-cross-client-node",
"id": "5b9f2e73dcf5f2fba6319d3178dc5766... |
import json
import unittest
from unittest import mock
from looker_sdk import error, models
from looker_sdk.rtl import serialize
from google.datacatalog_connectors.looker import scrape
class MetadataScraperTest(unittest.TestCase):
@mock.patch('google.datacatalog_connectors.looker.scrape'
'.metad... | {
"content_hash": "dc764d56cb495aa725a3939c626e6ba5",
"timestamp": "",
"source": "github",
"line_count": 352,
"max_line_length": 79,
"avg_line_length": 36.09659090909091,
"alnum_prop": 0.5824020147961593,
"repo_name": "GoogleCloudPlatform/datacatalog-connectors-bi",
"id": "30c5b1f1eaa1694a384b2bf52229... |
<?php
namespace League\Glide\Urls;
use PHPUnit\Framework\TestCase;
class UrlBuilderFactoryTest extends TestCase
{
public function testCreate()
{
$urlBuilder = UrlBuilderFactory::create('/img');
$this->assertInstanceOf('League\Glide\Urls\UrlBuilder', $urlBuilder);
$this->assertEquals(... | {
"content_hash": "05810d64c0e92e367c72bec857317cae",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 80,
"avg_line_length": 26.833333333333332,
"alnum_prop": 0.6366459627329193,
"repo_name": "thephpleague/glide",
"id": "254095f6cee12fa1d2a70aa523272fb1bfbb9980",
"size": "9... |
using namespace arangodb;
using namespace arangodb::basics;
// All other constructors delegate to this one.
Exception::Exception(ErrorCode code, std::string&& errorMessage,
SourceLocation location) noexcept
: _errorMessage(std::move(errorMessage)), _location(location), _code(code) {
appendLo... | {
"content_hash": "d8d951169ddec64186fbffc08189513d",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 80,
"avg_line_length": 39.357142857142854,
"alnum_prop": 0.6693284936479129,
"repo_name": "arangodb/arangodb",
"id": "1372c1b94f5065783b80b8b2048495b13c88b713",
"size": "6... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2017 Evolveum
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0... | {
"content_hash": "a6d85d2a8f950ddad85619df20c3de05",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 76,
"avg_line_length": 38,
"alnum_prop": 0.7068713450292398,
"repo_name": "arnost-starosta/midpoint",
"id": "2cd5d8fd9eb0cbb0f72d544f8e87b1d8fb4bf70e",
"size": "1368",
"b... |
/**
* (NCCC skeleton code) package created using TextMate version 2.0 on a Mac OS X 10.10.5 system.
*/
package skeleton;
/**
* Interface for printing menu options generally required by the application's driver class.
*/
public interface Menu {
/* Run the menu. */
public void runMenu();
/* Application main... | {
"content_hash": "a6f3c0f6fcdad3f8519130a359863fe1",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 96,
"avg_line_length": 18.625,
"alnum_prop": 0.6711409395973155,
"repo_name": "youldash/NCCC",
"id": "e13f27e7bdd0cc6b04fe9f857ee9f9c9c45e17d7",
"size": "2064",
"binary":... |
package jsf.template.bean;
import java.io.Serializable;
import javax.faces.view.ViewScoped;
import javax.inject.Named;
/**
* Persiste el nivel actual ; importante para las migas de pan
*
* @author ova / last modified by $Author: ova $
* @version $Revision: 97278 $
*/
@Named
@ViewScoped
public class CurrentLeve... | {
"content_hash": "3e765c90e16ce7fead343657eb76cce6",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 62,
"avg_line_length": 19.071428571428573,
"alnum_prop": 0.7397003745318352,
"repo_name": "uniquindiogaso/suturno",
"id": "8fe20afed2f7c8d86a5d2c839ccd4a27df526c63",
"size"... |
var debug = require('debug')('page-articles');
var user = require('page-auth-access');
var keyboard = require('glint-trigger-keyboard');
var sidenav = require('glint-trigger-sidenav');
var router = require('page.js');
var defaults = require('defaults');
var c = require('./config');
var Wrap = require('./wrap');
modul... | {
"content_hash": "336e516254797d237c5c2bb973adc1a8",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 69,
"avg_line_length": 25.852941176470587,
"alnum_prop": 0.6154721274175199,
"repo_name": "glintcms/glintcms-starter-intesso",
"id": "ffdffafae3d70dfadb0885afc3c673e29a9b0790... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/src/corelib/tools/qline.cpp -->
<head>
<title>... | {
"content_hash": "61f4d9bfeb27d1c03e12ce40659a5cf2",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 562,
"avg_line_length": 81.43636363636364,
"alnum_prop": 0.6479124804643893,
"repo_name": "misizeji/StudyNote_201308",
"id": "c5a53fffcb90deaacb0885b83745a78d65254be0",
"si... |
/* 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": "aa917a923d70ed3fe5b4a6ee96970321",
"timestamp": "",
"source": "github",
"line_count": 211,
"max_line_length": 172,
"avg_line_length": 46.800947867298575,
"alnum_prop": 0.7117974683544304,
"repo_name": "dbmalkovsky/flowable-engine",
"id": "5232f75ee9363daabc4029e70eb12eeb8ed6605e",
... |
package eu.wiegandt.nicklas.simpleexcelimexporter.exceptions;
/**
* A enumeration whit the possible warning types.
*
* @author Nicklas Wiegandt (Nicklas2751)<br>
* <b>Mail:</b> nicklas@wiegandt.eu<br>
* <b>Jabber:</b> nicklas2751@elaon.de<br>
* <b>Skype:</b> Nicklas2751<br>
*
*/
public ... | {
"content_hash": "727baf5d937a285fe59674d0991ccbe8",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 84,
"avg_line_length": 29.137931034482758,
"alnum_prop": 0.6710059171597633,
"repo_name": "Nicklas2751/SimpleExcelImExporter",
"id": "5bd7ad39969d8143a955bd42f45a14acb52b38d5... |
package org.apache.logging.log4j.message;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.locks.ReentrantLock;
import org.junit.Test;
import static org.junit.Assert.*;
/**
*
*/
public class ThreadDumpMessageTest {
@Test
public void testMessage() {
final ThreadDumpMessage ... | {
"content_hash": "87800c8fae3ddf39cf1d0fbaa028c943",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 108,
"avg_line_length": 31.431372549019606,
"alnum_prop": 0.6094822208359326,
"repo_name": "GFriedrich/logging-log4j2",
"id": "8668d0ab84f52473e8f1acb27ce90641d96c26b8",
"... |
from __future__ import absolute_import
import platform
import unittest
from gssapi import (
bindings,
Credential, NoCredential, CredentialsExpired, GSSException, GSSCException,
S_NO_CRED, C_INITIATE, C_ACCEPT
)
class CredentialTest(unittest.TestCase):
def test_bad_args(self):
self.assertRai... | {
"content_hash": "0bb6e988d16544c40bbc74979aa77fed",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 102,
"avg_line_length": 37.333333333333336,
"alnum_prop": 0.6160714285714286,
"repo_name": "sigmaris/python-gssapi",
"id": "537bb53e66abdbf278f45968bf8cacda9701c70e",
"siz... |
using System;
using System.Threading.Tasks;
namespace Nimbus.Infrastructure.MessageSendersAndReceivers
{
internal interface INimbusMessageReceiver
{
Task Start(Func<NimbusMessage, Task> callback);
Task Stop();
}
} | {
"content_hash": "da9e0f9f6112b1c07fef0d0b50fbe7cc",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 58,
"avg_line_length": 22.09090909090909,
"alnum_prop": 0.7242798353909465,
"repo_name": "KodrAus/Nimbus",
"id": "4c9a0e5bf43fccf1cd3aeef16547f7688cb7ddd5",
"size": "245",
... |
<?php
/**
* @license see LICENSE
*/
namespace UForm\Builder;
use UForm\Filter\ArrayValue;
use UForm\Filter\DefaultValue;
use UForm\Filter\FreezeValue;
use UForm\Filter\RemoveValue;
use UForm\Form\Element;
use UForm\Form\Element\Container\Group;
use UForm\Form\Element\Primary\Input\Check;
use UForm\Form\Element\Prim... | {
"content_hash": "92aef80d4fd50fc438e5bc57e9e94970",
"timestamp": "",
"source": "github",
"line_count": 389,
"max_line_length": 120,
"avg_line_length": 26.601542416452443,
"alnum_prop": 0.5700618477000386,
"repo_name": "gsouf/UForm",
"id": "8bb14a82a733e354deaa62885287bee145c9bf3f",
"size": "10348"... |
package org.jetbrains.yaml.schema;
import com.intellij.psi.PsiElement;
import com.intellij.util.containers.ContainerUtil;
import com.jetbrains.jsonSchema.extension.adapters.JsonArrayValueAdapter;
import com.jetbrains.jsonSchema.extension.adapters.JsonObjectValueAdapter;
import com.jetbrains.jsonSchema.extension.adapte... | {
"content_hash": "4846de988412364033a3ce12ca8c4493",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 74,
"avg_line_length": 20.9873417721519,
"alnum_prop": 0.7466827503015682,
"repo_name": "smmribeiro/intellij-community",
"id": "9478493f301df78444368cfad5053e92969361dd",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.