text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
declare(strict_types = 1);
namespace Tests\Feature\Frontend\Auth;
use App\Services\Auth\Checkpoint\ActivationCheckpoint;
use App\Services\Auth\Checkpoint\Pool;
use App\Services\Response\Status;
use Tests\TestCase;
class ActivationTest extends TestCase
{
public function test(): void
{
$this->tra... | {
"content_hash": "d2fc5dd04f49231bb1d810422dcb60c7",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 77,
"avg_line_length": 28.848484848484848,
"alnum_prop": 0.592436974789916,
"repo_name": "D3lph1/L-shop",
"id": "8df06826ecb538b48eeac9df922bfe6540ef5b13",
"size": "952",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Joy.Core;
using System.IO;
namespace Joy.Server.Core
{
public class JoyConfig
{
public string RootUrl;
public static JoyConfig Instance
{
get
{
if (instance == null)
{
instance = CreateInstance();
... | {
"content_hash": "19aa8690f6acfca1521ab0891f95d46f",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 74,
"avg_line_length": 19.327272727272728,
"alnum_prop": 0.6745061147695203,
"repo_name": "mind0n/hive",
"id": "c29c4361ae6798325e5d9b07f34162c3d8a3e773",
"size": "1065",
... |
[](https://travis-ci.org/dsimard/timezonedetect)
if (timezonedetect.hasDaylightSavingTime()) {
console.log('You have daylight saving time in your timezone');
} else {
console.log('You DO NOT have daylight saving time in ... | {
"content_hash": "59c08d0bec3263aa2af8e2fe660fa43e",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 158,
"avg_line_length": 43.61702127659574,
"alnum_prop": 0.7434146341463415,
"repo_name": "dsimard/timezonedetect",
"id": "2a87a31e37d10613cd336934e8ac1cda738c2bc8",
"size"... |
package md;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.util.FilteringTokenFilter;
import java.io.IOException;
import java.util.Set;
public class AnchorOnlyFilter extends FilteringTokenFilter {
private final C... | {
"content_hash": "6b5ecc5f096eb50b05b4304366205417",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 86,
"avg_line_length": 27,
"alnum_prop": 0.7881481481481482,
"repo_name": "mocobeta/wiki-utils",
"id": "51ff78e812673de03f19fd1151d3a9ba523f5955",
"size": "675",
"binary"... |
. ./scripts/arg-parser.sh
# Set default values.
repository="https://github.com/szledan/gepard.git"
gitTag=thesis
helpMsg="usage "`basename $0`" --repo=<git-repository> --tag=<tag>"
# Show help.
if [[ $(getFlag "--help -h --usage" $@) ]] ; then
echo $helpMsg
exit 0
fi
# Parse flags.
repository=$(getValue $(getFla... | {
"content_hash": "2226fea5df54fc71763b1b2ee7b50088",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 67,
"avg_line_length": 20.466666666666665,
"alnum_prop": 0.6525515743756786,
"repo_name": "szledan/thesis",
"id": "719632771d863ff89ddd062e3d8a3c9d860ed658",
"size": "961",... |
package utilities.json;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.io.StringReader;
import java.io.Writer;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.simple.JSONObject;
import org.json.simple.parser... | {
"content_hash": "d6df9e9d107f336f2c03d5f93b5778ea",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 149,
"avg_line_length": 24.02030456852792,
"alnum_prop": 0.702451394759087,
"repo_name": "dtracers/Development-Graph",
"id": "430f58867935a3033835282295732ad13a8fbdcc",
"s... |
<?php
/**
* Jetpack Compatibility File
* See: http://jetpack.me/
*
* @package My AKV Soesterkwartier
*/
/**
* Add theme support for Infinite Scroll.
* See: http://jetpack.me/support/infinite-scroll/
*/
function my_akvs_jetpack_setup() {
add_theme_support( 'infinite-scroll', array(
'container' => 'main',
'... | {
"content_hash": "490f4a9c485bd49cc6bfdd41c80a5670",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 59,
"avg_line_length": 21.57894736842105,
"alnum_prop": 0.6439024390243903,
"repo_name": "kdbruin/wp-akvs",
"id": "88409e5c2e9425e7a89a7e545bfd3e6352fb9255",
"size": "410",... |
<html><head><title>Desktop</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">PureBasic - Desktop</font></b></p>
<p><b>Overview</b></p><blockquote>
The desktop library allows access to information about ... | {
"content_hash": "e67ef588e0b33e50bea734f38a25114e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 145,
"avg_line_length": 42.10344827586207,
"alnum_prop": 0.7059787059787059,
"repo_name": "PureBasicCN/PureBasicPreference",
"id": "93608cb0aba6b0b00ef475abd76aee954d045e2f",... |
<template name="tutorial.step_20.html">
{{#markdown}}
{{> downloadPreviousStep stepName="step_19"}}
In this step we are going to add the ability to upload images into our app, and also sorting and naming them.
Angular-Meteor provides us with the [$meteor.collectionFS API](/api/files) that wraps [CollectionFS](htt... | {
"content_hash": "299b420ad02db6b25319293cf9ed35a4",
"timestamp": "",
"source": "github",
"line_count": 460,
"max_line_length": 248,
"avg_line_length": 36.04347826086956,
"alnum_prop": 0.6881182147165259,
"repo_name": "okland/angular-meteor",
"id": "d2ea9db6a0361dc07e4ece50f33c94f48fe53628",
"size"... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.machinelearningservices.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import... | {
"content_hash": "dccb60148934e2c969c6c0beb3c6fb36",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 119,
"avg_line_length": 28.296296296296298,
"alnum_prop": 0.6524869109947644,
"repo_name": "Azure/azure-sdk-for-java",
"id": "962c5540dfb635f9f3ccbec5d1aca23ffbf37f4a",
"si... |
package com.github.dozermapper.core.functional_tests.support;
import com.github.dozermapper.core.CustomConverter;
import com.github.dozermapper.core.vo.HintedOnly;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class HintedOnlyConverter implements CustomConverter {
private static final Logger ... | {
"content_hash": "7fa98d33fabb86e7d7502f29ddbdc671",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 104,
"avg_line_length": 32.638888888888886,
"alnum_prop": 0.6331914893617021,
"repo_name": "DozerMapper/dozer",
"id": "7812a315e318fc239cad8fbb5695564e4c448118",
"size": "1... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Coenogonium deplanatum Kremp.
### Remarks
null | {
"content_hash": "c86817a42e83b6a97a242c44e57669e4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 29,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.7164179104477612,
"repo_name": "mdoering/backbone",
"id": "ce91bf7b579a941331a3f72160b91a0665ea95af",
"size": "18... |
package org.connectbot;
import java.util.List;
import org.connectbot.bean.HostBean;
import org.connectbot.bean.PortForwardBean;
import org.connectbot.service.TerminalBridge;
import org.connectbot.service.TerminalManager;
import org.connectbot.util.HostDatabase;
import android.app.AlertDialog;
import android.app.Li... | {
"content_hash": "60533732d23a82807b8a2248908ce991",
"timestamp": "",
"source": "github",
"line_count": 403,
"max_line_length": 119,
"avg_line_length": 31.863523573200993,
"alnum_prop": 0.7106144381278716,
"repo_name": "ipmobiletech/connectbot",
"id": "868c61168c89c12fedb2fa09d03d01dfd841935f",
"si... |
package com.h2byte.h2icons.launchers;
import android.content.Context;
import android.content.Intent;
public class InspireLauncher {
public InspireLauncher(Context context) {
Intent inspireMain = context.getPackageManager().getLaunchIntentForPackage("com.bam.android.inspirelauncher");
Intent inspir... | {
"content_hash": "567eef110ecf91f0b8e32106121f421f",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 118,
"avg_line_length": 39.785714285714285,
"alnum_prop": 0.7468581687612208,
"repo_name": "A-Unique-Pig/H2Icons",
"id": "732efe493b2f197ad8d627b532c937050f1d4770",
"size":... |
package hellTests;
import java.util.Arrays;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import hell.entities.miscellaneous.HeroInventory;
import hell.interfaces.Inventory;
import hell.interfaces.Item;
import hell.interfaces.Recipe;
public class HeroInvetoryTe... | {
"content_hash": "b8f092cf070ea1dd2302632c24fa531d",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 83,
"avg_line_length": 44.35114503816794,
"alnum_prop": 0.776592082616179,
"repo_name": "akkirilov/SoftUniProject",
"id": "b05626a310d6fbaae24e78c059b696c5f6ce5395",
"size... |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Changelog for package nao_sensors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0.2.0 (2014-09-22)
------------------
* add the queue_size parameter to the Publisher
Hence drop Groovy support
* fix the catkin_package call
* Merge pull request `#3 <https://github.com/ros-nao/nao_sensors/issues/3... | {
"content_hash": "ffc208db1cc08a7b1de3bcc3a771e4ab",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 94,
"avg_line_length": 41.27160493827161,
"alnum_prop": 0.7418486389470536,
"repo_name": "k-okada/naoqi_bridge",
"id": "cdec070f89160a67d5d09b437918caa7e26b7910",
"size": "... |
"""
pyboard interface
This module provides the Pyboard class, used to communicate with and
control the pyboard over a serial USB connection.
Example usage:
1. first import this file with:
import pyboard
2. Then create a conection:
in case of a serial port:
pyb = pyboard.Pyboard('/dev/ttyACM0')
... | {
"content_hash": "b295e3269e711eaba7fa0d1e1aa86408",
"timestamp": "",
"source": "github",
"line_count": 659,
"max_line_length": 142,
"avg_line_length": 32.96661608497724,
"alnum_prop": 0.5901495972382048,
"repo_name": "jmarcelino/pycom-micropython",
"id": "3b836431d3ff37a134796b4140cecc63bf32606b",
... |
package scala.meta.trees
import com.intellij.psi.PsiElement
import org.jetbrains.annotations.Nls
import scala.meta.ScalaMetaBundle
class AbortException(@Nls reason: String) extends RuntimeException(reason) {
def this(place: Any, @Nls mess: String) = this(mess + s"[$place]")
}
class UnimplementedException(what: An... | {
"content_hash": "098f76862bf665acc45c5e3968c12a5a",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 162,
"avg_line_length": 50.84615384615385,
"alnum_prop": 0.7980332829046899,
"repo_name": "JetBrains/intellij-scala",
"id": "85701c9a027814ea6aa9643a73dad56be7416e81",
"siz... |
package arez.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Target;
/**
* Marks a template method that returns the {@link arez.Component} instance for the component.
*
* <p>The method that is annotated with this annotation must also comply ... | {
"content_hash": "da0d95bab4c739fef4a37302e1929b52",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 117,
"avg_line_length": 43.38235294117647,
"alnum_prop": 0.7430508474576272,
"repo_name": "realityforge/arez",
"id": "32ef5872ecdde3a9a6959912715870504323f117",
"size": "14... |
#pragma checksum "C:\Users\alptu\Documents\Projects\Yapilcek\Yapilcek\Yapilcek.UWP\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "8B00E294F22AB0B7856325D41BBF6AA5"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//... | {
"content_hash": "274759b1e5666b3cc44feed3c8967410",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 174,
"avg_line_length": 43.108108108108105,
"alnum_prop": 0.6119122257053291,
"repo_name": "carpediem23/Yapilcek",
"id": "6b047380698f7af1e29b594e5f2c479993657149",
"size":... |
FOUNDATION_EXPORT double TLLayoutTransitioningVersionNumber;
//! Project version string for TLLayoutTransitioning.
FOUNDATION_EXPORT const unsigned char TLLayoutTransitioningVersionString[];
#import <TLLayoutTransitioning/TLTransitionLayout.h>
#import <TLLayoutTransitioning/UICollectionView+TLTransitioning.h>
| {
"content_hash": "eb45f47173babb428eca2ecf5ac9ef99",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 75,
"avg_line_length": 35,
"alnum_prop": 0.8634920634920635,
"repo_name": "huangboju/Moots",
"id": "4d71e678a74fa7f9a5753ba2fd4c21ad6caa71ce",
"size": "555",
"binary": fal... |
define(['exports', 'aurelia-metadata', 'aurelia-path'], function (exports, _aureliaMetadata, _aureliaPath) {
'use strict';
var _inherits = function (subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' ... | {
"content_hash": "d7aac545116333000f277e063b061665",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 568,
"avg_line_length": 35.911949685534594,
"alnum_prop": 0.7042031523642732,
"repo_name": "AMGTestOrg/templating",
"id": "5f516ce0e2198ee04364ad2e9e0f4d411fd62183",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="15dp"
android:background="#8000"
>
<TextView
... | {
"content_hash": "17a2db1e72e344bd4915619c562baae3",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 72,
"avg_line_length": 29,
"alnum_prop": 0.6502463054187192,
"repo_name": "liuyifangit/twofan-weather",
"id": "24b0b089ab953f9492f11a764a9fbc7e511b2c2f",
"size": "816",
"... |
MIT License
Copyright (c) 2016 sumukharm
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 the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distrib... | {
"content_hash": "9dbcc66e2af8c42da8f8ee6996fbbc24",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 78,
"avg_line_length": 50.76190476190476,
"alnum_prop": 0.8058161350844277,
"repo_name": "sumukharm/Doctor-recommender-Speech-app--Corpus",
"id": "5ec921caa489e86b61aae3214c0... |
<div class="row">
<div class="col-md-12">
<ba-card title="HIstorical Events during 1890 - 1899" baCardClass="with-scroll">
<div class="section-block">
<p>
By 1806 Wilfrid Laurier was named the new prime minister of Canada. He had also declared that in 1900 that the “20th century will belon... | {
"content_hash": "1fe00f8521e40da0aa43398c0ca92e5d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 158,
"avg_line_length": 35.54545454545455,
"alnum_prop": 0.6214833759590793,
"repo_name": "Shupshade/ng2-admin-lawson",
"id": "4b0367ca924071c3af4b837f70bcef32e5b38d26",
"s... |
module BlogConverter
VERSION = '0.1.1'
end
| {
"content_hash": "78cfb0dfd7bb513b9774553edf360334",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 20,
"avg_line_length": 15,
"alnum_prop": 0.7111111111111111,
"repo_name": "chloerei/blog_converter",
"id": "3045489f47fe429d1346b4eac360c9b4667fab09",
"size": "45",
"binar... |
from sklearn.ensemble import RandomForestClassifier
def get_estimator():
clf = RandomForestClassifier(n_estimators=10, max_leaf_nodes=10,
random_state=61)
return clf
| {
"content_hash": "b4fb0b582c9c6f0f68f6a29467231ef0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 68,
"avg_line_length": 29.857142857142858,
"alnum_prop": 0.6507177033492823,
"repo_name": "paris-saclay-cds/ramp-workflow",
"id": "494d240b86f657bc0fb3d073863b8c6b8d6076b1",
... |
package org.apache.camel.spring.javaconfig.test;
import org.apache.camel.test.spring.CamelSpringDelegatingTestContextLoader;
import org.apache.camel.test.spring.CamelSpringJUnit4ClassRunner;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.context.annotation.Bean;
import org.springfr... | {
"content_hash": "c9acb8b0036c7daf9ffc2ffccfdb33a8",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 145,
"avg_line_length": 35.82051282051282,
"alnum_prop": 0.788117394416607,
"repo_name": "Fabryprog/camel",
"id": "a74d30aaed33d6888c5e733128a93a6a50d13d44",
"size": "2199"... |
package comtesting
func cleanupTempDir() {
tempDir = ""
}
| {
"content_hash": "62f238ed88fb694520f2e13374d3fa06",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 23,
"avg_line_length": 12,
"alnum_prop": 0.7,
"repo_name": "google/fleetspeak",
"id": "e81f9379ccf2e1708500b28dcb1f422637de1188",
"size": "674",
"binary": false,
"copies... |
<!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.5.0_03) on Sat Jun 25 19:50:47 EDT 2005 -->
<TITLE>
SimpleScreensaver (SaverBeans API V0.2 Release release)
</TITLE>
<META NAME="keywords" CONTENT="org.... | {
"content_hash": "25982e22841bcc5d2f22c40519e08e60",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 558,
"avg_line_length": 44.769470404984425,
"alnum_prop": 0.6547908983369285,
"repo_name": "tobyweston/legacy-screen-saver",
"id": "b80fd14b0e4fa60eff5cd583897a0a7236d27e25"... |
layout: logistics
date: December 7 - 10, 2015
permalink: meetings/2015/12/logistics
---
### [Meeting Registration](https://www.eventbrite.com/e/mpi-forum-tickets-19122551065)
**NOTICE:** Data from three questions in the registration is being collected by the MPI Forum for research by the [Women in HPC](www.womeninhp.... | {
"content_hash": "5b9ed89467de7170ddafc2de7cdcf441",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 382,
"avg_line_length": 47.5625,
"alnum_prop": 0.7818659658344284,
"repo_name": "mpi-forum/mpi-forum.github.io",
"id": "6fc2e7409e87731ce362be8a956201c23f99067f",
"size": "... |
<h2>saved.cubes</h2>
<br>
<div ng-repeat="oneCube in cubes">
<div ng-repeat="oneItem in oneCube" class="breedpic">
<img ng-src="{{oneItem.mediaUrl}}">
</div>
<button ng-click="removeCube($index)" style="display: block; margin-left: auto; ">
remove
</button>
<hr>
</div>
| {
"content_hash": "521785c745ca78ca8fd515cd1c1cda00",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 84,
"avg_line_length": 15.578947368421053,
"alnum_prop": 0.6182432432432432,
"repo_name": "bthj/like-breeding",
"id": "4626fa8867b38fdc667501b73a0a941711b6f094",
"size": "2... |
def leap_year?(year)
return false if year % 4 != 0
if year % 100 != 0
true
elsif year % 400 == 0
true
elsif year % 100 == 0 && year % 400 != 0
false
end
end
# if year is NOT % 4 == 0, return false
# if year is NOT divisible by 100
# return true
# if year is divisible by 400
# return true
# if... | {
"content_hash": "65846bf10a06229867dcf9dfef846076",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 80,
"avg_line_length": 18.485714285714284,
"alnum_prop": 0.6599690880989181,
"repo_name": "tbogin/phase-0",
"id": "10f0a8af21b492b5d34ca42690e407bbbe781d8b",
"size": "750",... |
This log was last generated on Thu, 03 Nov 2022 18:44:18 GMT and should not be manually modified.
## 4.25.0
Thu, 03 Nov 2022 18:44:18 GMT
### Minor changes
- Add support for specifying `api-version` parameter in the server variables
## 4.24.3
Thu, 22 Sep 2022 15:51:02 GMT
### Patches
- Fix duplicate $host when us... | {
"content_hash": "b2c8c0d5c4154de7c3403bd68aef9afe",
"timestamp": "",
"source": "github",
"line_count": 462,
"max_line_length": 306,
"avg_line_length": 30.38744588744589,
"alnum_prop": 0.7374456870147447,
"repo_name": "Azure/autorest",
"id": "6f088b92c92cf0a64b0a4633672ae197e7f540fb",
"size": "1407... |
module Helpers
module Sentry
include MiniTest::Chef::Assertions
include MiniTest::Chef::Context
include MiniTest::Chef::Resources
end
end
| {
"content_hash": "b5a8a4cea18fd4b468b6b0927d943584",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 38,
"avg_line_length": 22,
"alnum_prop": 0.7402597402597403,
"repo_name": "dave-shawley/sentry-cookbook",
"id": "3be10b9291e2b350bcbe28668e40888651b311fe",
"size": "154",
... |
define({
//begin v1.x content
"setButtonText": "Постави",
"cancelButtonText": "Откажи"
//end v1.x content
});
| {
"content_hash": "ab964c54de7c70f0b0194cfa20334bff",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 29,
"avg_line_length": 17,
"alnum_prop": 0.6386554621848739,
"repo_name": "beeant0512/spring",
"id": "5f3e540b5e4d24557624b277d82f9f0faf209973",
"size": "132",
"binary": f... |
from enum import Enum
class MatchConditions(Enum):
"""An enum to describe match conditions. """
Unconditionally = 1 # Matches any condition
IfNotModified = 2 # If the target object is not modified. Usually it maps to etag=<specific etag>
IfModified = 3 # Only if the target object is modified. Usual... | {
"content_hash": "56eece6315fe135475e43f9162589437",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 102,
"avg_line_length": 52.3,
"alnum_prop": 0.6998087954110899,
"repo_name": "Azure/azure-sdk-for-python",
"id": "6bbfa447fa21e73f860f7a9084fcf138820bb531",
"size": "1827",... |
'use strict';
/**
* Degenerate distribution probability mass function (PDF).
*
* @module @stdlib/stats/base/dists/degenerate/pmf
*
* @example
* var pmf = require( '@stdlib/stats/base/dists/degenerate/pmf' );
*
* var y = pmf( 2.0, 0.0 );
* // returns 0.0
*
* @example
* var factory = require( '@stdlib/stats/base/dists... | {
"content_hash": "9202c6768405e831fc2c08ae1778e5a8",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 85,
"avg_line_length": 17.871794871794872,
"alnum_prop": 0.6384505021520803,
"repo_name": "stdlib-js/stdlib",
"id": "408223f63fdd120eb0fe17caeb40a16fc1949bb4",
"size": "131... |
#ifndef POLYGRAPH__PGL_PGLNETADDRSYM_H
#define POLYGRAPH__PGL_PGLNETADDRSYM_H
#include "xstd/String.h"
#include "xstd/NetAddr.h"
#include "pgl/PglRecSym.h"
class SynSymTblItem;
class StringSym;
// host:port network address
class NetAddrSym: public RecSym {
public:
static String TheType;
public:
NetAddrSym... | {
"content_hash": "05d1e4e47af9fbd803e2e52090f81d79",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 63,
"avg_line_length": 18.930232558139537,
"alnum_prop": 0.726044226044226,
"repo_name": "dalequark/polygraph",
"id": "6957bd3b46ef21aed0765e7d39a72bed9b5a125c",
"size": "9... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ca... | {
"content_hash": "e01b7e6bc8cfa8e0ab6c2923b7bc8063",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.916666666666664,
"alnum_prop": 0.7458957887223412,
"repo_name": "Petko-Petkov/Telerik",
"id": "219bd709cd4f95571347388580ccdf4c68720b9c",
"size": ... |
package aQute.lib.data;
import java.lang.reflect.Field;
import java.util.Formatter;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import aQute.lib.converter.Converter;
import aQute.lib.hex.Hex;
public class Data {
public static String validate(Object o) throws Exception {
... | {
"content_hash": "68962f9924fd2d2e8dd5ea403586b1ca",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 92,
"avg_line_length": 31.221052631578946,
"alnum_prop": 0.6166554281861092,
"repo_name": "xtracoder/bnd",
"id": "c5cc50261d815db3e40f0baa1ae39f9a1acf4f91",
"size": "2966",... |
package com.kwizzad.property;
import java.util.List;
/**
* Add a certain Item at a specific location in the List
*
* @param <LIST_TYPE>
*/
public final class AddAtOperation<LIST_TYPE> implements IListOperation<LIST_TYPE> {
private final LIST_TYPE o;
private final int location;
public AddAtOperation(L... | {
"content_hash": "44cd37822485f80018f8b5e986ae1f2f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 83,
"avg_line_length": 22.26086956521739,
"alnum_prop": 0.66015625,
"repo_name": "kwizzad/kwizzad-android",
"id": "3abdd0b5d48ea6778333cfd9b20a826010e45fbe",
"size": "512",... |
<?php
namespace yii\redis;
use Yii;
use yii\base\InvalidConfigException;
/**
* Redis Cache implements a cache application component based on [redis](http://redis.io/) key-value store.
*
* Redis Cache requires redis version 2.6.12 or higher to work properly.
*
* It needs to be configured with a red... | {
"content_hash": "d1f732364c5ba7cb8d1f369b5db953ad",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 159,
"avg_line_length": 32.07729468599034,
"alnum_prop": 0.5251506024096385,
"repo_name": "apphelper/apphelper",
"id": "41c23c57c4f3545b790c2e7a40fb24c36468f673",
"size": ... |
//
// ComplexLinkSyncTests.m
// ContentfulSDK
//
// Created by Boris Bügling on 11/04/14.
//
//
#import "SyncBaseTestCase.h"
@interface ComplexLinkSyncTests : SyncBaseTestCase
@end
#pragma mark -
@implementation ComplexLinkSyncTests
-(void)setUp {
[super setUp];
/*
Map URLs to JSON response f... | {
"content_hash": "eac0da49c3813c1041821384ded80921",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 282,
"avg_line_length": 42.983870967741936,
"alnum_prop": 0.6626641651031895,
"repo_name": "contentful/contentful.objc",
"id": "67e6719d9780df6f1388947f3de9bc494cabf27b",
... |
require 'rack/request'
module RackCanonicalHost
# Mock Rack application for testing
class MockApp
attr_accessor :last_request
def call(env)
self.last_request = Rack::Request.new(env)
[200, {}, 'ok']
end
end
end
| {
"content_hash": "896fcb2f13ec90f45549f83818ef0546",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 48,
"avg_line_length": 20.166666666666668,
"alnum_prop": 0.6652892561983471,
"repo_name": "FXFusion/rack_canonical_host",
"id": "42320c963066ed70039e3cfb07f094abd36787f8",
... |
import os
import shutil
import six
from tempfile import mkdtemp
from ..exceptions import UnknownMethod, ShellError
from .utils import ShellParser
from .image import Parser as TesseractParser
from distutils.spawn import find_executable
class Parser(ShellParser):
"""Extract text from pdf files using either the ``... | {
"content_hash": "1c4d7d0c065b8bed34d22a0f48d6cc16",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 78,
"avg_line_length": 37.18421052631579,
"alnum_prop": 0.581033262561925,
"repo_name": "deanmalmgren/textract",
"id": "9fe74e138cd035ea7dfb7135e6ef545386858587",
"size": "... |
<!--
Safe sample
input : get the field userData from the variable $_GET via an object
Uses a number_int_filter via filter_var function
File : use of untrusted data in one side of a quoted expression in a script
-->
<!--Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royal... | {
"content_hash": "0fb043753ef8e23e953bcd6171097443",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 75,
"avg_line_length": 22.026666666666667,
"alnum_prop": 0.7324455205811138,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "44e3527d7e53d74e07d5929576ad44e4d624... |
package ru.stqa.javacourse.sandbox;
import org.testng.Assert;
import org.testng.annotations.Test;
/**
* Created by kostoa on 4/28/2017.
*/
public class SquareTests {
@Test
public void testArea() {
Square s = new Square(5);
Assert.assertEquals(s.area(), 25.0);
}
}
| {
"content_hash": "cc1e36f80ba346876db7572d1c2dbc35",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 40,
"avg_line_length": 17.6875,
"alnum_prop": 0.6784452296819788,
"repo_name": "annakostomarova/java_for_testers_course",
"id": "0823bd2918809c210afc165328979ab71d9ba501",
... |
#include <neethi_assertion.h>
#include <axiom_util.h>
#include <axiom_node.h>
#include <rp_x509_token.h>
#include <rp_property.h>
#include <rp_layout.h>
#include <rp_algorithmsuite.h>
#include <rp_wss10.h>
#include <rp_wss11.h>
#include <rp_trust10.h>
#include <rp_supporting_tokens.h>
#include <rp_username_token.h>
#... | {
"content_hash": "51ecca9bb8aa1f94a2aac9ec1ef1ba0a",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 99,
"avg_line_length": 28.94457831325301,
"alnum_prop": 0.6505994005994006,
"repo_name": "MI-LA01/kt_wso2-php5.3",
"id": "86597dc103eb3a8aaa7be5cc1860af083e162916",
"size"... |
package im.tny.segvault.disturbances;
import android.content.Context;
import androidx.test.platform.app.InstrumentationRegistry;
import androidx.test.ext.junit.runners.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will exe... | {
"content_hash": "41988b23099420ed99d43066a6d4b932",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 82,
"avg_line_length": 29.615384615384617,
"alnum_prop": 0.7506493506493507,
"repo_name": "gbl08ma/underlx",
"id": "986a7adcbbccc6c7f1029bd8d4c9b092aa530882",
"size": "770"... |
<?php
/**
* TOP API: taobao.vas.subscribe.get request
*
* @author auto create
* @since 1.0, 2013-09-13 16:51:03
*/
class Taobao_Request_VasSubscribeGetRequest {
/**
* 应用收费代码,从合作伙伴后台(my.open.taobao.com)-收费管理-收费项目列表 能够获得该应用的收费代码
**/
private $articleCode;
/**
* 淘宝会员名
**/
private $nick;
private $apiPa... | {
"content_hash": "501662c366c2fcd632bff0daa9546d35",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 75,
"avg_line_length": 19.32758620689655,
"alnum_prop": 0.6726137377341659,
"repo_name": "musicsnap/LearnCode",
"id": "07771f069b7901a62807f068167553937ebcf868",
"size": "1... |
package com.jayway.jsonpath.internal.path;
import com.jayway.jsonpath.InvalidPathException;
import com.jayway.jsonpath.Option;
import com.jayway.jsonpath.PathNotFoundException;
import static java.lang.String.format;
public abstract class ArrayPathToken extends PathToken {
/**
* Check if model is non-null ... | {
"content_hash": "30c95ea7b4c6bc12a17aec2f770c58e1",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 143,
"avg_line_length": 37.225,
"alnum_prop": 0.6292813969106783,
"repo_name": "json-path/JsonPath",
"id": "e3a913aee70bd00edcbbc6b9a10007e6a6b6f858",
"size": "2102",
"bi... |
package org.jnosql.artemis;
import org.jnosql.diana.api.column.ColumnEntity;
import org.jnosql.diana.api.column.ColumnFamilyManager;
import org.jnosql.diana.api.column.ColumnFamilyManagerAsync;
import org.mockito.Mockito;
import javax.enterprise.inject.Produces;
import static org.mockito.Mockito.mock;
import stati... | {
"content_hash": "0cfc0c2254dac7af34fa94158f55ed9c",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 90,
"avg_line_length": 33.64150943396226,
"alnum_prop": 0.7319125070106562,
"repo_name": "JNOSQL/artemis",
"id": "7e20d459a0cb729b9a4aa1ab375e0e434716cf45",
"size": "2364",... |
package it.uniroma2.sag.kelp.data.representation.tree.node.filter;
import it.uniroma2.sag.kelp.data.representation.structure.filter.StructureElementFilter;
import it.uniroma2.sag.kelp.data.representation.tree.node.TreeNode;
/**
* This implementation of <code>TreeNodeFilter</code> selects only treeNode containing
... | {
"content_hash": "44762d33113705cbcc8a003a75c67c51",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 88,
"avg_line_length": 29.58823529411765,
"alnum_prop": 0.7932405566600398,
"repo_name": "SAG-KeLP/kelp-additional-kernels",
"id": "4e6ca590fd6ee8456e5059e7df63291955116fc1",... |
layout: post
title: "Bayesian Inference Part 1: My Picky Cat Parker."
date: 2017-06-27 00:08:00 -0500
categories: general
---
<style>
table{
border-collapse: collapse;
border-spacing: 0;
}
th{
border:1px solid #000000;
Padding:5px;
}
td{
border:1px solid #000000;
padding:5px;
}
</style... | {
"content_hash": "32d3e94e572a90a9790e15adaadfbfe4",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 625,
"avg_line_length": 53.87313432835821,
"alnum_prop": 0.7377753151406012,
"repo_name": "fractalbass/data_science",
"id": "89b1ae67b90ab63f3b4fd83f5879827f8348fe46",
"si... |
#include <linux/errno.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/ctype.h>
#include <linux/init.h>
#include <asm/smp.h>
#include <asm/ipi.h>
#include <asm/genapic.h>
static cpumask_t flat_target_cpus(void)
{
return cpu_online_map;
}
st... | {
"content_hash": "3df05b3d5a1a719c693b7e94bd23485a",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 76,
"avg_line_length": 25.524324324324326,
"alnum_prop": 0.7077509529860229,
"repo_name": "ut-osa/laminar",
"id": "ecb01eefdd27b4b63c14352f0fff569ef9d60eca",
"size": "4997... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lab... | {
"content_hash": "79195127507f08a4e1879a9f015c6f89",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.388888888888886,
"alnum_prop": 0.7440056417489421,
"repo_name": "AJMitev/CSharp-Programming-Fundamentals",
"id": "c0ca5e5d61c1c95d4914d9b595a12ba711... |
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.RollbackError = exports.CommitError = exports.RetryableError = exports.LockedWaitTimeoutError = exports.LockedError = undefined;
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
var _getPrototypeOf2 ... | {
"content_hash": "15596756103b16ce3c91c8135cc78c24",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 174,
"avg_line_length": 38.971698113207545,
"alnum_prop": 0.7513919147906076,
"repo_name": "zaaack/mongo-tx",
"id": "39f55fe381026ba542f5644ae53b7270af151442",
"size": "41... |
import numpy as np
import packaging
import pytest
from ...data.io_pyro import from_pyro # pylint: disable=wrong-import-position
from ..helpers import ( # pylint: disable=unused-import, wrong-import-position
chains,
check_multiple_attrs,
draws,
eight_schools_params,
importorskip,
load_cached_m... | {
"content_hash": "bcd2dc45e94815ece66a02346425c21d",
"timestamp": "",
"source": "github",
"line_count": 259,
"max_line_length": 97,
"avg_line_length": 41.32818532818533,
"alnum_prop": 0.5969730941704036,
"repo_name": "arviz-devs/arviz",
"id": "a26dceed601a87a266fbeaefa9415329b40a545b",
"size": "107... |
class RecordOnUSBCommand : public ATCommand
{
public:
explicit RecordOnUSBCommand(bool record) : ATCommand("CONFIG", std::vector<std::string>{ATCommand::_string("video:video_on_usb"), ATCommand::_string(record? "TRUE" : "FALSE")}) {}
};
#endif
| {
"content_hash": "a874cf1ec95dd37268bc430c1e7d8df0",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 181,
"avg_line_length": 35.42857142857143,
"alnum_prop": 0.717741935483871,
"repo_name": "lukaslaobeyer/libdrone",
"id": "6d5c9a10c31ce087896046fb4a87480aa62115ff",
"size": ... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <freerdp/api.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/gdi/region.h>
/**
* Create a region from rectangular coordinates.\n
* @msdn{dd183514}
* @param nLeftRec... | {
"content_hash": "4c94069482c4bbcc0bc00427bbbab6a0",
"timestamp": "",
"source": "github",
"line_count": 413,
"max_line_length": 102,
"avg_line_length": 19.840193704600484,
"alnum_prop": 0.6394923114474005,
"repo_name": "vworkspace/FreeRDP",
"id": "6584d435fc38a5f4ddb5baf124c327c80c8a4511",
"size": ... |
import _plotly_utils.basevalidators
class WidthValidator(_plotly_utils.basevalidators.NumberValidator):
def __init__(
self, plotly_name="width", parent_name="waterfall.connector.line", **kwargs
):
super(WidthValidator, self).__init__(
plotly_name=plotly_name,
parent_nam... | {
"content_hash": "718f9145c03b7b53e87fc8eaafecab3a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 83,
"avg_line_length": 33.666666666666664,
"alnum_prop": 0.5821782178217821,
"repo_name": "plotly/python-api",
"id": "aff3fef1b8a91598cc27a264e6057a1941c713f3",
"size": "50... |
<?php
namespace NetSuite\Classes;
class OriginatingLeadSearchBasic extends SearchRecordBasic {
/**
* @var \NetSuite\Classes\SearchStringField
*/
public $accountNumber;
/**
* @var \NetSuite\Classes\SearchStringField
*/
public $address;
/**
* @var \NetSuite\Classes\SearchSt... | {
"content_hash": "f509a804a3f6617043c3e22de7ba8a30",
"timestamp": "",
"source": "github",
"line_count": 789,
"max_line_length": 67,
"avg_line_length": 27.88593155893536,
"alnum_prop": 0.6083992364330515,
"repo_name": "RyanWinchester/netsuite-php",
"id": "26520a9a069ef82df4e0ecf81ac1031a82891afe",
"... |
<?php
// Setup
require_once 'cassowary-setup.php';
// logout if necessary
if (phpCAS::isAuthenticated()) {
if (isset($_REQUEST['service'])) {
$service = $_REQUEST['service'];
} else {
$service = (empty($_SERVER["HTTPS"]) ? "http://" : "https://" )
. $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
}
p... | {
"content_hash": "0092e7335154f3793832368e570be307",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 139,
"avg_line_length": 25.152173913043477,
"alnum_prop": 0.6283491789109766,
"repo_name": "chuckhoupt/Cassowary",
"id": "54d98bc6967345e0b789317feef3af3d49d2636e",
"size":... |
<!DOCTYPE html><html><head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description">
<meta name="keywords" content="static content generator,static site generator,static site,HTML,web development,.NET,C#,Razor,Markdown,YAML">
<meta n... | {
"content_hash": "2b0121a37e50b50b6974fb9058374649",
"timestamp": "",
"source": "github",
"line_count": 1168,
"max_line_length": 323,
"avg_line_length": 85.6943493150685,
"alnum_prop": 0.7060574876862056,
"repo_name": "OpenTl/OpenTl.Schema",
"id": "cb73f26a69c6e453d1ea47bbc4b3974d123faa90",
"size":... |
layout: post
title: "Read data from Excel using NPOI in C#"
subtitle: "Read a column from Excel sheet"
date: 2017-02-18 12:00:00
author: "Shengwen"
header-img: "img/post-bg-js-module.jpg"
tags:
- C#
- Excel
---
In this example, we simply read a column from an Excel sheet and pri... | {
"content_hash": "de346442a0d5173c034d36d1a8cf50cb",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 103,
"avg_line_length": 30.966101694915253,
"alnum_prop": 0.5506294471811713,
"repo_name": "shengwenbai/shengwenbai.github.io",
"id": "ff30a94e3641765c6f22e773c706f07956f128b... |
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CM... | {
"content_hash": "fce6f0852597de0f39f46177c04e9258",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 112,
"avg_line_length": 32.48780487804878,
"alnum_prop": 0.713963963963964,
"repo_name": "sunalong/JNIDemo",
"id": "38aa49625109980e23f996e642bbd18d70e729a6",
"size": "1422... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
////////////////////////////////////////////////////////////////////////////////
// COMDynamic.h
// This module defi... | {
"content_hash": "204b6c6a9762ca8ab9729915fd4abadd",
"timestamp": "",
"source": "github",
"line_count": 916,
"max_line_length": 177,
"avg_line_length": 34.495633187772924,
"alnum_prop": 0.5398126463700235,
"repo_name": "krk/coreclr",
"id": "a8e8b5fa4a4604a391f7e08447f93df70d07feb3",
"size": "31598"... |
class UserEfficacyGenerator
include Sidekiq::Worker
def perform user
user_efficacy_hash = { :speed => {}, :distance => {} }
User.where(:cluster => user.cluster).load.each do |user|
user_efficacy_hash = generate_exercise_hash user
end
user_efficacy_hash = Efficacy.convert_to_percentages user_... | {
"content_hash": "073ad9be190f1f401fc05890a0d60962",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 236,
"avg_line_length": 38.916666666666664,
"alnum_prop": 0.698429693076374,
"repo_name": "NateBarnes/hashiru",
"id": "bb3aa1a6ad4580debb30d6793141779501f654ac",
"size": "2... |
package org.apache.streams.elasticsearch.processor;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Unit Test for
* @see org.apache.streams.elasticsearch.processor.PercolateTagProcessor
*/
public class PercolateTagProcessorTest {
private final String id = "test_id";
private final ... | {
"content_hash": "0c527fd81f90a63b81215bcb7c9833a3",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 154,
"avg_line_length": 29.314285714285713,
"alnum_prop": 0.6851851851851852,
"repo_name": "apache/streams",
"id": "e2529013f0c460ff57e8fb3f4c2a5a7aa06817b7",
"size": "1771... |
<?xml version="1.0" encoding="utf-8"?>
<geo:GeodesyML gml:id="BBOO00AUS" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.4" xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<geo:siteL... | {
"content_hash": "2e6b8e6e15529cdd05f22e051970d24c",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 267,
"avg_line_length": 64.18820224719101,
"alnum_prop": 0.5914839613146033,
"repo_name": "GeoscienceAustralia/geodesy-domain-model",
"id": "0d58cbe0da4faecb64f63af8acf7e840... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<type interface="true" language="gradle" name="org.gradle.nativeplatform.NativeExecutableBinary" version="3.0" documented="true">
<description> A binary artifact for a <a href='type://NativeExecutable'>NativeExecutable</a>, targeted at a particular... | {
"content_hash": "e4675c026426e83fc85ab4e13ea127d5",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 172,
"avg_line_length": 42.05882352941177,
"alnum_prop": 0.7216783216783217,
"repo_name": "de-jcup/egradle",
"id": "6191323caaacf1454e188f052e739aaa3e99fb97",
"size": "715"... |
package org.apache.orc.mapred;
import org.apache.hadoop.io.WritableComparable;
import org.apache.orc.TypeDescription;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.Iterator;
import java.util.Map;
import java.util.TreeMap;
/**
* A TreeMap implementation that imple... | {
"content_hash": "b951619ca937f1e7cbed141ed4810bf8",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 72,
"avg_line_length": 26.5234375,
"alnum_prop": 0.5893961708394698,
"repo_name": "apache/orc",
"id": "cf5283ae1b28ec0fb00f3fe0a7dd5cf0bbab0473",
"size": "4200",
"binary... |
using System;
using System.Drawing;
using System.ComponentModel;
using SharpGL.SceneGraph;
using SharpGL.Enumerations;
namespace SharpGL.OpenGLAttributes
{
/// <summary>
/// This class has all the settings you can edit for fog.
/// </summary>
[TypeConverter(typeof(System.ComponentModel.ExpandableObjectConverter))... | {
"content_hash": "3d501b6adb9a19470c77a5ac31f1e94f",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 98,
"avg_line_length": 27.843373493975903,
"alnum_prop": 0.568152315015145,
"repo_name": "mind0n/hive",
"id": "83ee4ef6c09b28defa422caca7bed868d6ae84a4",
"size": "2311",
... |
namespace Merchello.Core.Configuration
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
/// <summary>
/// The merchello version.
/// </summary>
public class MerchelloVersion
{
/// <summary>
/// The version.
/// </summary>
p... | {
"content_hash": "ad801ad59f6b600a3053983f76a03f72",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 171,
"avg_line_length": 37.89795918367347,
"alnum_prop": 0.6112008616047389,
"repo_name": "Merchello/Merchello",
"id": "af63a52f913f8be7a661945cff2b316944f3a130",
"size": "... |
#include "db_temp.h"
#include "func.h"
#include <widgets/NewX509.h>
#include <widgets/MainWindow.h>
#include <QtGui/QFileDialog>
#include <QtCore/QDir>
#include <QtGui/QContextMenuEvent>
#include <QtGui/QAction>
#include <QtGui/QInputDialog>
#include <QtGui/QMessageBox>
db_temp::db_temp(QString DBfile, MainWindow *... | {
"content_hash": "3eb74a7875c8d8a508f09ea5a5f6fbbe",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 77,
"avg_line_length": 21.818181818181817,
"alnum_prop": 0.6445075757575758,
"repo_name": "jbfavre/xca",
"id": "e1d584c8b0894e4635d2c86fef55042d2ae2fad3",
"size": "5386",
... |
FROM balenalib/ts4900-debian:stretch-build
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu57 \
liblttng-ust0 \
libssl1.0.2 \
... | {
"content_hash": "f4d94ece64589bf7eb3efd0cf1b5e708",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 679,
"avg_line_length": 51.68421052631579,
"alnum_prop": 0.7107942973523421,
"repo_name": "nghiant2710/base-images",
"id": "c3904294e1cc7c9f3dce845e0ae048c09ab7869b",
"size... |
module DTK::Client
class Operation::Service
class SetRequiredAttributes < self
def self.execute(args = Args.new)
wrap_operation(args) do |args|
service_instance = args.required(:service_instance)
response = rest_get "#{BaseRoute}/#{service_instance}/required_attribu... | {
"content_hash": "3f721b573e07b534f2b871f1c1914d63",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 101,
"avg_line_length": 37.205882352941174,
"alnum_prop": 0.5699604743083004,
"repo_name": "dtk/dtk-client",
"id": "03b740ead39899e90bd8d7f62b76a9fdaa5ad08c",
"size": "1896... |
require 'spec_helper'
require 'facter/util/posix'
describe "Physical processor count facts" do
describe "on linux" do
before :each do
Facter.fact(:kernel).stubs(:value).returns("Linux")
File.stubs(:exists?).with('/sys/devices/system/cpu').returns(true)
end
it "should return one physical CPU... | {
"content_hash": "1239f4c91404b2d782aed339f78b0b53",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 159,
"avg_line_length": 40.59036144578313,
"alnum_prop": 0.670228554467201,
"repo_name": "nicolasbrechet/our-boxen",
"id": "65a9fc420563b3f498ed380398b24a5de7158e28",
"size... |
A shell wrapper which sounds on a number of shell events Edit
## Usage
`cargo run` launches `$SHELL`.
```
$ cargo run
```
## Sound Effects
http://osabisi.sakura.ne.jp/m2/material3.html
## License
Copyright (c) 2017 Hibariya
Distributed under the [MIT License](LICENSE.txt).
| {
"content_hash": "fc422155e07c9084d4f271a517891e63",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 61,
"avg_line_length": 14.842105263157896,
"alnum_prop": 0.7092198581560284,
"repo_name": "hibariya/ashell",
"id": "d6900a7b8ea970569039658579fdb54a8cb28514",
"size": "292"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../futures/task/struct.Task.html">
</head>
<body>
<p>Redirecting to <a href="../../futures/task/struct.Task.html">../../futures/task/struct.Task.html</a>...</p>
<script>location.replace("../../futures/task/struct.Task.html"... | {
"content_hash": "19c6ec250daee3a721761c44f50f283c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 114,
"avg_line_length": 38.1,
"alnum_prop": 0.6456692913385826,
"repo_name": "malept/guardhaus",
"id": "f714c6fc5d3b3d38f920b11dcb103bcbc3d209bd",
"size": "381",
"binary"... |
package proteomicsdb.org.requesttool.model.writing;
import java.io.PrintWriter;
import java.util.HashMap;
import proteomicsdb.org.requesttool.model.description.InputParSpec;
import proteomicsdb.org.requesttool.model.description.Intern;
import proteomicsdb.org.requesttool.model.description.OutputConfiguration;
/**
* ... | {
"content_hash": "e99416856c49e5e8e5eb72e3c3b99253",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 212,
"avg_line_length": 33.60526315789474,
"alnum_prop": 0.6597494126859828,
"repo_name": "mwilhelm42/RequestTool",
"id": "59329f2d595345c3af46dbbd5c769239e3f5dab9",
"size"... |
import { cnx } from '../../core/api'
import { LOAD_ALL_POSTS } from './constants'
export const loadAllPosts = () => {
return (dispatch) =>{
cnx.get('/tasks')
.then((resp) => dispatch({
type: LOAD_ALL_POSTS,
payload: resp.data
}))
}
} | {
"content_hash": "172fd47483b0ebdcbcc1e13e4c3167a4",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 44,
"avg_line_length": 21,
"alnum_prop": 0.5793650793650794,
"repo_name": "augusto-santos/webapp",
"id": "3d8f58ecc8bf4ca132ed5655fb6dcf5723923bdc",
"size": "252",
"binar... |
namespace Yt
{
enum class VA;
class VulkanSwapchain;
class VulkanVertexFormat;
class VulkanRenderer final : public RenderBackend
{
public:
explicit VulkanRenderer(const WindowID&);
~VulkanRenderer() noexcept override;
void clear() override;
std::unique_ptr<RenderProgram> create_builtin_program_2d() over... | {
"content_hash": "ace76af88dd11728111b1a7a4dffff46",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 127,
"avg_line_length": 38.916666666666664,
"alnum_prop": 0.7601713062098501,
"repo_name": "blagodarin/yttrium",
"id": "ab8dfb096d648a50e4947740073b12f5c95dda95",
"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 (1.8.0_31) on Wed Dec 17 20:48:29 PST 2014 -->
<title>Uses of Class java.util.concurrent.locks.StampedLock (Java Platform SE 8 )</title>
<meta name="d... | {
"content_hash": "3c54f1efa0920bb04be1412e1bdb7d5b",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 606,
"avg_line_length": 41.39370078740158,
"alnum_prop": 0.6317291230739965,
"repo_name": "fbiville/annotation-processing-ftw",
"id": "6f804a510b0eb179256ceb655684b1eeb7b4aa... |
from collections import OrderedDict
from pyticketswitch.mixins import JSONMixin
from pyticketswitch.debitor import Debitor
class Integration(JSONMixin, object):
"""Information to use when integrating payment methods into clients.
Attributes:
type (str): the debitor type.
amount (float): the a... | {
"content_hash": "9a44a84b55da9e4f0a3230b3171b6c98",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 84,
"avg_line_length": 37.17687074829932,
"alnum_prop": 0.6113449222323879,
"repo_name": "ingresso-group/pyticketswitch",
"id": "706d7d158792ff40ee374ea0a7e5b06b1f984732",
... |
<?php
namespace Zend\Validator\Barcode;
class MyBarcode5
{
public function __construct()
{
$setLength = 'odd';
$setCharacters = 128;
$setChecksum = '_mod10';
}
}
| {
"content_hash": "7e2bb2f39fd62c6533013064613b2415",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 33,
"avg_line_length": 15.357142857142858,
"alnum_prop": 0.5302325581395348,
"repo_name": "mowema/verano",
"id": "29c9abf5a845a56d82f13a91f1331bce4b3a9b46",
"size": "523",
... |
#pragma once
#include <aws/rbin/RecycleBin_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/rbin/model/ConflictExceptionReason.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Rec... | {
"content_hash": "c84a866502a4835905c1f4892661ccde",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 119,
"avg_line_length": 27.428571428571427,
"alnum_prop": 0.6739583333333333,
"repo_name": "aws/aws-sdk-cpp",
"id": "ed73661ee4f0fe6f35bf21c18ab06c15ff84dd2b",
"size": "29... |
INTERNAL_TRACE_EVENT_ADD_SCOPED(platform, category, name)
#define TRACE_EVENT1(platform, category, name, arg1_name, arg1_val) \
INTERNAL_TRACE_EVENT_ADD_SCOPED(platform, category, name, arg1_name, arg1_val)
#define TRACE_EVENT2(category, name, arg1_name, arg1_val, arg2_name, arg2_val) \
INTER... | {
"content_hash": "39421563f12030541f2acbfb1b999cd6",
"timestamp": "",
"source": "github",
"line_count": 619,
"max_line_length": 100,
"avg_line_length": 59.306946688206786,
"alnum_prop": 0.5862548010133203,
"repo_name": "ppy/angle",
"id": "53b52771452b05a6fda47e5b5aeacbcaa9a61c9d",
"size": "43798",
... |
package com.github.assisstion.MTGSimulator.game.effect.apply;
import java.util.Map;
import com.github.assisstion.MTGSimulator.game.effect.syntax.StackEffectPart;
public class DealDamagePlayer extends StackEffectPart{
public Damagable target;
public Map<String, String> modifiers;
public long amount;
@Override
... | {
"content_hash": "ceae8c46e0313222d13cee4906c13632",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 77,
"avg_line_length": 19.1,
"alnum_prop": 0.7609075043630017,
"repo_name": "assisstion/Lotus",
"id": "c5752219b7a4b5a5b423fc86f3138da971a51327",
"size": "573",
"binary":... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.jcertif.offlinebox.configuration;
import com.jcertif.offlinebox.beans.WebSite;
import java.util.ArrayList;
import java.uti... | {
"content_hash": "feaa7a97a54e91afd8ab0e6c6780a4bd",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 79,
"avg_line_length": 24.276923076923076,
"alnum_prop": 0.6603295310519645,
"repo_name": "JCERTIFLab/JCertif-Offline-Box",
"id": "bc59d360660ed5233ad07999105b021d0a333dfe",
... |
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#ifndef _CONF_IO_EXAMPLE_H
#define _CONF_IO_EXAMPLE_H
#include "conf_board.h"
/*! \name Pin Configuration
*/
//! @{
#define GPIO_PIN_EXAMPLE_1 LED0_GPIO
#define GPIO_PIN_EXAMPLE_2 LED1_GPIO
#define GPIO_PIN_EXAMPL... | {
"content_hash": "4da08c84364655862edb142456abb0ec",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 90,
"avg_line_length": 20,
"alnum_prop": 0.6657894736842105,
"repo_name": "femtoio/femto-usb-blink-example",
"id": "f30bdfea6a4e0f2a8ae38d963f7de82b93127181",
"size": "2315... |
using Untech.SharePoint.Common.CodeAnnotations;
using Untech.SharePoint.Common.MetaModels.Visitors;
namespace Untech.SharePoint.Common.MetaModels
{
/// <summary>
/// Represents base meta model interface.
/// </summary>
[PublicAPI]
public interface IMetaModel
{
/// <summary>
/// Accepts <see cref="IMetaModel... | {
"content_hash": "8adbe37cc52477b0feffee77ad6ed62b",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 83,
"avg_line_length": 35.794117647058826,
"alnum_prop": 0.7091207888249794,
"repo_name": "Happi-cat/Untech.SharePoint",
"id": "866c9baa124bb09397c5ec9b490e501138033f62",
"... |
/**
* Created by Tobia on 28/04/17.
*/
export const nonEmptyString = Match.Where((str) => {
check(str, String);
return str.length > 0;
});
| {
"content_hash": "d820fdec12aad81321320e7a7ef48ea6",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 52,
"avg_line_length": 20.714285714285715,
"alnum_prop": 0.6206896551724138,
"repo_name": "ninjabit/GraffitiMaps",
"id": "3d23c078bd18ad8ec344ca5130041900edd56ff8",
"size": ... |
from __future__ import division
from __future__ import absolute_import
from builtins import *
import math
import xlsxwriter
import sys
from .canmatrix import *
import os.path
#Font Size : 8pt * 20 = 160
#font = 'font: name Arial Narrow, height 160'
font = 'font: name Verdana, height 160'
sty_header = 0
sty_norm = 0
s... | {
"content_hash": "1aaeedcd74bbcccaaddc885396f1bfe2",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 239,
"avg_line_length": 39.44571428571429,
"alnum_prop": 0.5881500796755034,
"repo_name": "swatz/canmatrix",
"id": "942175bf98c7d72353c5bab5ca1bb071b556ca6b",
"size": "152... |
var pubsub = require('../../event-pubsub.js');
/************************************\
* instantiating myEvents scope
* **********************************/
var myEvents=new pubsub();
/************************************\
* instantiating myEvents2 scope
* **********************************/
var myEvents2=new pubsu... | {
"content_hash": "d082650ef99bec4e7350edc56b3be22b",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 120,
"avg_line_length": 20.966666666666665,
"alnum_prop": 0.4281928987811341,
"repo_name": "AceMood/Cheetah",
"id": "a91e100c491a009af48da50d64c6ea7b589f5c93",
"size": "188... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "83113f6d3495a25228ad4da842c7deac",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.92822966507177,
"alnum_prop": 0.5097483934211959,
"repo_name": "dcarda/aba.route.validator",
"id": "d18a031e544be21a1919364834a92c982cf8e326",
"... |
package com.esri.gpt.control.livedata;
import com.esri.gpt.control.livedata.selector.HttpRequestDefinition;
import com.esri.gpt.control.livedata.selector.IHttpResponseListener;
import com.esri.gpt.control.livedata.selector.IRegistry;
import com.esri.gpt.control.livedata.selector.ISetter;
import com.esri.gpt.fr... | {
"content_hash": "4d8ece5311b1ecbb57aa62069725ab2c",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 172,
"avg_line_length": 37.669172932330824,
"alnum_prop": 0.6045908183632734,
"repo_name": "usgin/usgin-geoportal",
"id": "f13c0030b2fb291750e20a5af29e1bb0ec30c471",
"size... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// This class handles button input from the Vive controllers
public class ViveController : MonoBehaviour {
// Use this for initialization
void Start () {
GetComponent<InstantiateObjectOnReticle> ().increaseIndex ();
}
p... | {
"content_hash": "171696ceaf2935be8eb9b2ce97444d29",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 121,
"avg_line_length": 29.90909090909091,
"alnum_prop": 0.6856274424663482,
"repo_name": "jojona/AGI17_perkunas",
"id": "2b60371b6e2fad9995ea0a2beca32543472c11c0",
"size":... |
#include <linux/version.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <target/target_core_base.h>
#include <target/target_core_device.h>
#include <target/target_core_tmr.h>
#include <target/target_core_transport.h>
#include ... | {
"content_hash": "17113b439402ccec7d34430451274347",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 74,
"avg_line_length": 29.985714285714284,
"alnum_prop": 0.6568207082737811,
"repo_name": "sahdman/rpi_android_kernel",
"id": "5c1b8c599f6df522c64d385dc83248123426c186",
"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.