text stringlengths 2 1.04M | meta dict |
|---|---|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using UnityEngine;
namespace Microsoft.MixedReality.Toolkit.Physics
{
/// <summary>
/// GazeStabilizer iterates over samples of Raycast data and
/// helps stabilize the user's gaze for precision targeting.
/// </... | {
"content_hash": "32cee578f4bd26420229c1d0c846710b",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 257,
"avg_line_length": 46,
"alnum_prop": 0.6645706072583543,
"repo_name": "killerantz/HoloToolkit-Unity",
"id": "469766619698ff9b74948927fdeae45a1f432fc1",
"size": "5568"... |
'use strict';
const ms = require('ms');
const {
pDelay,
isEmpty,
} = require('@terascope/utils');
const signale = require('./signale');
const misc = require('./misc');
/*
* Waits for the promise returned by 'func' to resolve to an array
* then waits for the length of that array to match 'value'.
*/
functio... | {
"content_hash": "b21ea39c9fd7a8cf28165a92914bfd03",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 97,
"avg_line_length": 27.584821428571427,
"alnum_prop": 0.6015536494578411,
"repo_name": "terascope/teraslice",
"id": "836b8252c2b4b80f83c70d46f3797e4db5da5e83",
"size": ... |
FROM balenalib/orangepi-plus2-fedora:34-build
RUN dnf -y update \
&& dnf clean all \
&& dnf -y install \
gzip \
java-1.8.0-openjdk \
java-1.8.0-openjdk-devel \
tar \
&& dnf clean all
# set JAVA_HOME
ENV JAVA_HOME /usr/lib/jvm/java-openjdk
CMD ["echo","'No CMD command was set in Dockerfile! Details about C... | {
"content_hash": "5469f8c5c6fa9a69c17474ef8701fc2f",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 675,
"avg_line_length": 59.22727272727273,
"alnum_prop": 0.7114351496546432,
"repo_name": "resin-io-library/base-images",
"id": "6f8ed3d80d29bd7021fe5ac86e2937816755cb66",
... |
'use strict';
var spawn = require('child_process').spawn
, config = require('./config')
module.exports = function(command) {
var ssh = spawn('ssh', ['-t', '-t', config.ssh.user + '@' + config.ssh.domain])
ssh.stdin.setEncoding('utf8')
// exit zsh if needed
config.env.zsh && ssh.stdin.write('exit\n')
ssh... | {
"content_hash": "74830c35e5907b952235138841ee04f5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 81,
"avg_line_length": 28.3,
"alnum_prop": 0.6395759717314488,
"repo_name": "romainberger/aldous",
"id": "97cd7abbf07cd78be63a9216ac5abeca09c1e934",
"size": "566",
"binar... |
package org.assertj.core.api;
import static org.assertj.core.api.Assertions.assertThat;
import java.time.LocalDateTime;
import org.junit.Test;
/**
* Tests for <code>{@link Assertions#assertThat(LocalDateTime)}</code>.
*
* @author Joel Costigliola
* @author Marcin Zajączkowski
*/
public class Assertions_asse... | {
"content_hash": "9f83ec5992e28f72bc28f870d0f00873",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 91,
"avg_line_length": 25.612903225806452,
"alnum_prop": 0.7481108312342569,
"repo_name": "dorzey/assertj-core",
"id": "725dbfb3eb59efe8e6416bc5639c6d3360f4b3c9",
"size": "... |
module Spree
class NewsletterImage < ActiveRecord::Base
has_attached_file :newsletter_image,
:styles => {
:small => {:geometry => '120x600>', :quality => "91", :format => 'jpg'},
:normal => {:geometry => '768x1000>', :quality => "80", :format => 'jpg'}
},
:convert_options => {
:small... | {
"content_hash": "5d993e7c70429dd5396209d315beaca3",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 92,
"avg_line_length": 39.57142857142857,
"alnum_prop": 0.6010830324909747,
"repo_name": "complistic-gaff/spree-newsletters",
"id": "2f67e4bb35d151bf62af779354be1dc218794b3b"... |
require 'fileutils'
require './command'
class DeleteFile < Command
def initialize(path)
super("Delete file : #{path}")
@path = path
end
def execute
if File.exists?(@path)
@content = File.read(@path)
end
File.delete(@path)
end
def undo_execute
if @content
f = File.open(@pa... | {
"content_hash": "a73cfd3f77924a226bb7e1c7de1983a8",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 34,
"avg_line_length": 16.73913043478261,
"alnum_prop": 0.5948051948051948,
"repo_name": "terut/design_patterns-ruby",
"id": "10257020dd2d04ada321f7ec607bfbd3187817f9",
"si... |
<?php
namespace Btn\ApiBundle\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Btn\... | {
"content_hash": "be3eb1374afafce18358596253452c09",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 208,
"avg_line_length": 47.475,
"alnum_prop": 0.6951026856240127,
"repo_name": "lroth/btntt",
"id": "d5493b74cbebcd1483a94fa252b6a1544337d05b",
"size": "1899",
"binary": ... |
FN="vitisviniferacdf_2.18.0.tar.gz"
URLS=(
"https://bioconductor.org/packages/3.10/data/annotation/src/contrib/vitisviniferacdf_2.18.0.tar.gz"
"https://bioarchive.galaxyproject.org/vitisviniferacdf_2.18.0.tar.gz"
"https://depot.galaxyproject.org/software/bioconductor-vitisviniferacdf/bioconductor-vitisviniferacdf... | {
"content_hash": "bb8a75874387ddb8bc50bbc2c186ed8f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 126,
"avg_line_length": 31.456521739130434,
"alnum_prop": 0.6883206634416034,
"repo_name": "chapmanb/bioconda-recipes",
"id": "30dfbc281d80a3adc37416611f7bcfef786a6767",
"s... |
Execute [`create-next-app`](https://github.com/zeit/next.js/tree/canary/packages/create-next-app) with [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) or [npx](https://github.com/zkat/npx#readme) to bootstrap the example:
```bash
npx create-next-app --example active-class-name active-class-name-app
# or
yarn crea... | {
"content_hash": "0d2b16d5c1148efb323397e203131a5b",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 226,
"avg_line_length": 27.75,
"alnum_prop": 0.7347347347347347,
"repo_name": "BlancheXu/test",
"id": "e4770280263c6c578720059b2d72b6c15c55c1de",
"size": "1070",
"binary"... |
<asf xmlversion="1.0">
<project caption="USB to Serial Converter" id="lufa.projects.usb_to_serial.avr8">
<require idref="lufa.projects.usb_to_serial"/>
<require idref="lufa.boards.dummy.avr8"/>
<generator value="as5_8"/>
<device-support value="at90usb1287"/>
<config name="lufa.drivers.board.name" val... | {
"content_hash": "2be50ae4df045f327a52622ac81f8e6d",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 95,
"avg_line_length": 37.03921568627451,
"alnum_prop": 0.6739015352038116,
"repo_name": "ErgoDox-EZ/reactor",
"id": "5afcafe7c2b8c5ebb231ea8c156f4e901041400c",
"size": "18... |
// 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.
#nullable enable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.... | {
"content_hash": "c80622ec8ee698daa5b2d704c71227f6",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 286,
"avg_line_length": 49.46636771300449,
"alnum_prop": 0.626325809083492,
"repo_name": "reaction1989/roslyn",
"id": "c275a29ec27737f861c4c4a356f25417df1f3741",
"size": "... |
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.c... | {
"content_hash": "3b2395a89a07e2a426adb843debe5b74",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 376,
"avg_line_length": 44.18518518518518,
"alnum_prop": 0.6429170159262364,
"repo_name": "dgbarr2/dgbarr2.github.io",
"id": "b88322c604ab1e22560d5f9f3844afb0b11cb0b7",
"s... |
/*
* 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
* distribut... | {
"content_hash": "35613a8443ce8fcd866670923cfd0b9b",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 84,
"avg_line_length": 31.048387096774192,
"alnum_prop": 0.745974025974026,
"repo_name": "youngwookim/presto",
"id": "51f30ae2eca9855de6c03d302c5c8f19d362fd6a",
"size": "19... |
var request = require('supertest')
var server = require('./')
request('http://localhost:5709').get('/').expect(200, function(err){
if (err) throw err
process.exit()
})
| {
"content_hash": "16ad81af0a679dafeba60303ac3d860d",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 68,
"avg_line_length": 24.714285714285715,
"alnum_prop": 0.653179190751445,
"repo_name": "typicode/stop-server",
"id": "28bdeead7159eafc1f7e7f421f92311d73142cfe",
"size": "1... |
package com.obdobion.excom;
import org.junit.AfterClass;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
import com.obdobion.excom.ui.ExComContext;
/**
* <p>
* HelpTests class.
* </p>
*
* @author Chris DeGreef fedupforone@gmail.com
* @since 2.0.1
*/
public class HelpTests
{
s... | {
"content_hash": "76c3e123b161243f6b5e43c550eeb4fa",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 88,
"avg_line_length": 23.716666666666665,
"alnum_prop": 0.6472241742796908,
"repo_name": "fedups/com.obdobion.excom",
"id": "577b3d37e37a91ab9ad617bc546fe6d34b775f97",
"si... |
package net.liftmodules.ng
import java.util.concurrent.{ ConcurrentMap, ConcurrentHashMap }
import scala.collection.mutable
import scala.xml.{Elem, NodeSeq}
import net.liftweb.actor.LAFuture
import net.liftweb.common._
import net.liftweb.json.{DefaultFormats, Formats, JsonParser}
import net.liftweb.http. { LiftRules... | {
"content_hash": "5a9b0f9b9390fd12b595b58a49ad712b",
"timestamp": "",
"source": "github",
"line_count": 807,
"max_line_length": 191,
"avg_line_length": 40.71995043370508,
"alnum_prop": 0.6805331548035666,
"repo_name": "extirpate/lift-ng",
"id": "2bbba5e5e7fa0c4285878c838ebab4d5515a6f44",
"size": "3... |
package org.apache.calcite.buildtools.parser;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
import java.util.regex.MatchResult;
import java.util.regex.Matcher;... | {
"content_hash": "65ec1519348368201ba0bd9cb7e793ee",
"timestamp": "",
"source": "github",
"line_count": 494,
"max_line_length": 109,
"avg_line_length": 36.84615384615385,
"alnum_prop": 0.6506427865069773,
"repo_name": "googleinterns/calcite",
"id": "c8b922d80e884b5c1a01caddf4fdbf8ea15c67d9",
"size"... |
using namespace feature;
namespace generator
{
namespace
{
class FilterRegions : public FilterInterface
{
public:
// FilterInterface overrides:
bool IsAccepted(OsmElement const & element) override
{
for (auto const & t : element.Tags())
{
if (t.m_key == "place" && regions::EncodePlaceType(t.m_value... | {
"content_hash": "112caf491c7abccf19adc6797e352252",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 116,
"avg_line_length": 27.404761904761905,
"alnum_prop": 0.682015638575152,
"repo_name": "VladiMihaylenko/omim",
"id": "6909a0a923d476914798d594c46c22bf2fbd882e",
"size": ... |
//
// XMNewModel.h
// XMNewsClient
//
// Created by montnets on 2017/3/2.
// Copyright © 2017年 montnets. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface XMNewModel : NSObject
/** 标题 */
@property (nonatomic,copy) NSString *title;
/** 作者 */
@property (nonatomic,copy) NSString *author_name;
/**... | {
"content_hash": "21b2758ae4f994efbfd16949c366061f",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 55,
"avg_line_length": 19.821428571428573,
"alnum_prop": 0.6918918918918919,
"repo_name": "LoveCcheng/XMNewsClient",
"id": "dab7a12af56ceb00fd531e3da083daabe5302df0",
"size... |
package org.terasology.gestalt.di.exceptions;
import org.terasology.context.exception.DependencyInjectionException;
public class DependencyResolutionException extends DependencyInjectionException {
public DependencyResolutionException(Class<?> provider, Class<?> target) {
super("failed to inject dependenc... | {
"content_hash": "1891cd7f3f27321406799db22bd7d08a",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 99,
"avg_line_length": 43,
"alnum_prop": 0.772609819121447,
"repo_name": "MovingBlocks/gestalt",
"id": "7983267392aee4371b60cb8fa6790231978fd3b7",
"size": "470",
"binary":... |
// Copyright (c) 2012 Marshall A. Greenblatt. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of ... | {
"content_hash": "2e596de7a40e7c51dc32a4c9ba907ec1",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 78,
"avg_line_length": 42.16923076923077,
"alnum_prop": 0.7117840204304998,
"repo_name": "paulcbetts/CefSharp",
"id": "40cafcda70ef3c47c80a379a922e73dc11ddf632",
"size": "2... |
export function setComponentsNames(components) {
components.map((component) => {
let module = component.module;
component.name = module.displayName || module.name;
if (!component.name) {
throw Error(`Cannot detect component name for ${component.filepath}`);
}
});
return components;
}
export function glob... | {
"content_hash": "0cc286d0a2b8e2368dc0293545dad3fb",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 73,
"avg_line_length": 27.1875,
"alnum_prop": 0.7195402298850575,
"repo_name": "panayi/react-styleguidist",
"id": "cf8174220c634fa7db405942f98a912fd943db39",
"size": "435",... |
layout: post
title: "Welcome to Jekyll!"
date: 2015-01-27 15:25:32
categories: jekyll update
---
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve --watch`,... | {
"content_hash": "e6102eeb248e49e0dec6fc3c80acc6ec",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 303,
"avg_line_length": 50.791666666666664,
"alnum_prop": 0.7383100902379,
"repo_name": "daviszhao/daviszhao.github.io",
"id": "9f54d51a16191f1fbe7b3a3baf813163c25fba94",
"... |
<div id="HeadContent">
<meta name="description" content="View all career opportunities with MAQ Software's engineering centers in Redmond, Hyderabad and Mumbai. Contact the recruitment team today!" />
<meta name="keywords" content="MAQ Software, Jobs, .NET, Windows Phone 7, Windows Phone 8, iPhone, iPad, iPad2... | {
"content_hash": "eb41a7cf7ed5193ed61a8031cd16a03d",
"timestamp": "",
"source": "github",
"line_count": 444,
"max_line_length": 424,
"avg_line_length": 60.736486486486484,
"alnum_prop": 0.5524159157488783,
"repo_name": "maqnirajk/maqsoftwaremain.github.io",
"id": "8ba647967ba812b544860aac5c036321d93a... |
/*
* Minio Cloud Storage, (C) 2016, 2017 Minio, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | {
"content_hash": "e58047f5a4c710ed0dc5056fc923185a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 75,
"avg_line_length": 29.866666666666667,
"alnum_prop": 0.6975446428571429,
"repo_name": "abperiasamy/minio",
"id": "178bd9d1e788667abfefc920b75e33caa3297c96",
"size": "89... |
/**
@file protocol.h
@brief ENet protocol
*/
#ifndef __ENET_PROTOCOL_H__
#define __ENET_PROTOCOL_H__
#include "enet/types.h"
enum
{
ENET_PROTOCOL_MINIMUM_MTU = 576,
ENET_PROTOCOL_MAXIMUM_MTU = 4096,
ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS = 32,
ENET_PROTOCOL_MINIMUM_WINDOW_SIZE ... | {
"content_hash": "6ad9046eeb6fea73d7b02a158c39871e",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 53,
"avg_line_length": 25.74712643678161,
"alnum_prop": 0.7473214285714286,
"repo_name": "jdahlbom/ApMech",
"id": "363857bcc2f94ed9b21a11951ed800454fe05f5a",
"size": "4480... |
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>
<div class="container-fluid">
<div class="row">
<?php $this->load->view('templates/toolbars/computing-support/mobile_policy.php'); ?>
<div class="col-lg-12">
<h1 class="page-header">Mobile Policy Accepted</h1>
... | {
"content_hash": "e848f5aa4cf4e54aa6c18d0682a6fd63",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 93,
"avg_line_length": 45.357142857142854,
"alnum_prop": 0.5811023622047244,
"repo_name": "East-Kent-Partnership/Intranet",
"id": "4293964586fcf643e79a632215238ed6e3c494b4",
... |
#ifndef _MC146818RTC_H
#define _MC146818RTC_H
#include <asm/io.h>
#include <linux/rtc.h>
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#include <asm/mc146818rtc.h>
#define RTC_SECONDS 0
#define RTC_SECONDS_ALARM 1
#define RTC_MINUTES 2
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP... | {
"content_hash": "becd691ec1587f9471a96548b81131d0",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 74,
"avg_line_length": 33.23809523809524,
"alnum_prop": 0.7425978987583572,
"repo_name": "indashnet/InDashNet.Open.UN2000",
"id": "a4a16649c59bc7c12ee12e1bb127b99f4097c47e",
... |
package org.jenkinsci.plugins.publishoverdropbox.domain.model;
import com.google.gson.annotations.SerializedName;
public class TokenResponse {
@SerializedName("access_token")
private String accessToken;
@SerializedName("token_type")
private String tokenType;
@SerializedName("uid")
private S... | {
"content_hash": "bbc06e7c671c7c8a4fae50157197fd48",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 62,
"avg_line_length": 20.23076923076923,
"alnum_prop": 0.6590621039290241,
"repo_name": "rcgroot/jenkins-publish-over-dropbox-plugin",
"id": "d013aa3468932f470b940f2868ebb3a... |
import Wrapper from '../client/Wrapper';
import Bookmarks from '../client/bookmarks/Bookmarks';
import Drafts from '../client/post/Write/Drafts';
import Replies from '../client/replies/Replies';
import Activity from '../client/activity/Activity';
import Wallet from '../client/wallet/Wallet';
import Editor from '../cli... | {
"content_hash": "602583fb2edc7c44f1fa763718d0a5ac",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 87,
"avg_line_length": 25.313725490196077,
"alnum_prop": 0.5233668990446683,
"repo_name": "busyorg/busy",
"id": "8be27399d1bf829c46b948f126e12732e9136d9d",
"size": "3873",... |
include (ExternalProject)
set(DNNL_URL https://github.com/oneapi-src/onednn.git)
# If DNNL_TAG is updated, check if MKLML_VERSION and platform.cmake.patch need to be updated.
set(DNNL_TAG v2.7.1)
if(WIN32)
set(DNNL_SHARED_LIB dnnl.dll)
set(DNNL_IMPORT_LIB dnnl.lib)
else()
if (APPLE)
set(DNNL_SHARED_LIB libd... | {
"content_hash": "fe1a103c466cd8cbf8f9ac1841de38c2",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 197,
"avg_line_length": 44.421052631578945,
"alnum_prop": 0.7239336492890995,
"repo_name": "microsoft/onnxruntime",
"id": "175ad41b6f0dde49e8608b6054b1ca6e531edbb3",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
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 ... | {
"content_hash": "bc4fb9fd6a9d8f50dd56c938fc75c043",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 207,
"avg_line_length": 41.20746887966805,
"alnum_prop": 0.5415366025576478,
"repo_name": "legend-hua/hadoop",
"id": "725b13333d8a3d7215a87786df9897328a87c578",
"size": "9... |
require 'rails_helper'
describe Admin::StartCalculatingsController do
let!(:no_admin_user) { create(:active_user) }
let!(:admin_user) { create(:active_admin) }
describe '#new' do
context 'if current_user is an admin' do
it 'starts calculations' do
login(admin_user)
expect(Tips::Upda... | {
"content_hash": "774b5dee66809488c32565197daa04a8",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 65,
"avg_line_length": 25.342105263157894,
"alnum_prop": 0.6479750778816199,
"repo_name": "soemo/tippspiel",
"id": "d7a1e7861d86151a7f772fb9f64c2751dbe00f09",
"size": "963"... |
param($installPath, $toolsPath, $package, $project)
$modules = Get-ChildItem $ToolsPath -Filter *.psm1
$modules | ForEach-Object { import-module -name $_.FullName }
@"
========================
Chocolatey
========================
Welcome to Chocolatey, your local machine repository built on the NuGet infrast... | {
"content_hash": "59420c2581b9074fe463c51c955b6deb",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 207,
"avg_line_length": 51.214285714285715,
"alnum_prop": 0.7168758716875872,
"repo_name": "Apteryx0/choco",
"id": "0ef329b827db967ca55696999dc9a06fa79d6cd2",
"size": "1434... |
package glfw
//#define GLFW_EXPOSE_NATIVE_WIN32
//#define GLFW_EXPOSE_NATIVE_WGL
//#define GLFW_INCLUDE_NONE
//#include <GLFW/glfw3.h>
//#include <GLFW/glfw3native.h>
import "C"
func (w *Window) GetWin32Window() C.HWND {
return C.glfwGetWin32Window(w.data)
}
func (w *Window) GetWGLContext() C.HGLRC {
return C.glfw... | {
"content_hash": "7d36bdb615f55f90315aabde586c68e4",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 42,
"avg_line_length": 21.5,
"alnum_prop": 0.7267441860465116,
"repo_name": "go-gl/glfw",
"id": "1e07513cfd1eb4c810c5ef3611d03efda66f73e3",
"size": "344",
"binary": false... |
package com.google.cloud.compute.v1;
import com.google.api.core.BetaApi;
import com.google.api.gax.httpjson.ApiMessage;
import java.util.List;
import java.util.Objects;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated("by GAPIC")
@BetaApi
/**
* Request object for method compute.region... | {
"content_hash": "cdcea45d282a4c15e7348c732992c6bf",
"timestamp": "",
"source": "github",
"line_count": 415,
"max_line_length": 100,
"avg_line_length": 30.103614457831327,
"alnum_prop": 0.6452413351476827,
"repo_name": "vam-google/google-cloud-java",
"id": "e9993fb101f457fe9601012321b898984e9635b4",
... |
<?php
/**
* Skeleton subclass for performing query and update operations on the 'quoteitem' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package ... | {
"content_hash": "9ebc8b6f5ce3ca2788b2bfdb48a05a7f",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 89,
"avg_line_length": 22.166666666666668,
"alnum_prop": 0.7343358395989975,
"repo_name": "carlosi/api",
"id": "72fa1424c947bbb71a3ef2e1208292b993257c1f",
"size": "399",
... |
if(!dojo._hasResource["com.copacabana.monitor.MonitorSessionWidget"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
dojo._hasResource["com.copacabana.monitor.MonitorSessionWidget"] = true;
dojo.provide("com.copacabana.monitor.MonitorSessionWidget");
dojo.require("dijit._... | {
"content_hash": "2f39236c807030ced980d41bb5f156a4",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 357,
"avg_line_length": 30.126126126126128,
"alnum_prop": 0.6623803827751196,
"repo_name": "rafaelcoutinho/comendobemdelivery",
"id": "8cf1021ec88d9ed854f4ecccde82fb7671c5d1... |
<scalastyle>
<name>Scalastyle standard configuration</name>
<check level="warning" class="org.scalastyle.file.FileTabChecker" enabled="true"></check>
<check level="warning" class="org.scalastyle.file.FileLengthChecker" enabled="true">
<parameters>
<parameter name="maxFileLength"><![CDATA[800]]></parameter>
</... | {
"content_hash": "72e6016c0ce57929e48562c55ec58790",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 119,
"avg_line_length": 50.93269230769231,
"alnum_prop": 0.7355106664149519,
"repo_name": "ActianCorp/spark-vector",
"id": "9e937af623df1a4683d271b1a12831ac9a509f99",
"siz... |
package e2e
import (
"testing"
"istio.io/api/mixer/adapter/model/v1beta1"
"istio.io/istio/mixer/test/spyAdapter"
e2eTmpl "istio.io/istio/mixer/test/spyAdapter/template"
apaTmpl "istio.io/istio/mixer/test/spyAdapter/template/apa"
reportTmpl "istio.io/istio/mixer/test/spyAdapter/template/report"
)
const (
apaGl... | {
"content_hash": "b35260dff7a253904cf1d54d04b207e0",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 66,
"avg_line_length": 21.96825396825397,
"alnum_prop": 0.6502890173410405,
"repo_name": "frankbu/istio",
"id": "7cd55e24e86f50a48bc6c8e73b428850dcd3cc95",
"size": "4743",... |
classdef KalmanFilter < handle
%KALMANFILTER Kalman filter class
%
% The class implements a standard Kalman filter
% http://en.wikipedia.org/wiki/Kalman_filter, [Welch95]. However, you can
% modify transitionMatrix, controlMatrix, and measurementMatrix to get an
% extended Kalman filter functio... | {
"content_hash": "42428524e27ec55d36478226dbb1afa4",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 105,
"avg_line_length": 35.34803921568628,
"alnum_prop": 0.5280820967965608,
"repo_name": "abhineet123/MDP_Tracking",
"id": "131f3ec621b682f74fb2d78b0d0d3176783c2ff9",
"si... |
All configurations are stored as JSON in a file named `book.json`.
You can paste your `book.json` at [jsonlint.com](http://jsonlint.com) to validate the JSON syntax.
All fields are optionals or default to some extracted values.
## Fields
#### gitbook
```js
{ "gitbook": "2.x.x" }
```
This option is used to detect... | {
"content_hash": "53911f8145bd5941c4c964d237343c32",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 123,
"avg_line_length": 20.5472972972973,
"alnum_prop": 0.6547188424860243,
"repo_name": "SummerRC/GitBookDoc_For_Zh",
"id": "5ca58ec13bf14a9ac581d6980e1c0efc73a9b19e",
"s... |
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
namespace DotSpatial.Symbology.Forms
{
/// <summary>
/// GradientControl
/// </summary>
[DefaultEvent("PositionChanging")]
public class TwoColorSlider : Control... | {
"content_hash": "1de4feecce0787a4b9bafa80613618e7",
"timestamp": "",
"source": "github",
"line_count": 436,
"max_line_length": 158,
"avg_line_length": 32.93577981651376,
"alnum_prop": 0.4754874651810585,
"repo_name": "bdgza/DotSpatial",
"id": "0d4ecd3c3a846bbf5c46ac2f50942039f1915315",
"size": "15... |
from __future__ import print_function
import base64
import hashlib
import hmac
import json
import sys
import time
import datetime
import urllib
import urllib2
from socket import error as SocketError
import errno
class VDCApiCall(object):
"""
Class for making signed API calls to the Interoute VDC.
"""
... | {
"content_hash": "f87021cffe0b7483a890198208c83ef3",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 127,
"avg_line_length": 35.32824427480916,
"alnum_prop": 0.5252808988764045,
"repo_name": "Interoute/API-fun-and-education",
"id": "ad76f2465e86839564a5dffe15e6233613143ab7"... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>distributed-reference-counting: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../... | {
"content_hash": "2c16e4ecc2a4d9af6893a10fb8c5e1cc",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 276,
"avg_line_length": 43.77514792899408,
"alnum_prop": 0.5619086239524196,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "70d1d2f25786b7bc171ae84cec9de305e70bbf6c",
... |
Pine64 layer for Yocto
| {
"content_hash": "34ababba8649bb53e2d1465f101e436f",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 22,
"avg_line_length": 23,
"alnum_prop": 0.8260869565217391,
"repo_name": "Minipada/meta-pine64",
"id": "2e7493d995e6d86f01e5b8c808537ec579e7c3e7",
"size": "37",
"binary":... |
import logging
if __name__ == '__main__':
logging.basicConfig()
_log = logging.getLogger(__name__)
import pyxb.binding.generate
import pyxb.utils.domutils
from xml.dom import Node
import os.path
xsd='''<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name... | {
"content_hash": "274112b597e0b4b667a2d36d09543c6a",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 60,
"avg_line_length": 25.29126213592233,
"alnum_prop": 0.5930902111324377,
"repo_name": "pabigot/pyxb",
"id": "b572edcab86a10428f592bb1a10c4b0d850495ea",
"size": "2629",
... |
require File.expand_path(File.dirname(__FILE__) + '../../spec_helper')
module Owasp
module Esapi
module Codec
describe MySQLCodec do
let (:ansi_codec) { Owasp::Esapi::Codec::MySQLCodec.new(Owasp::Esapi::Codec::MySQLCodec::ANSI_MODE) }
let (:mysql_codec) { Owasp::Esapi::Codec::MySQLCodec.new... | {
"content_hash": "33dcfdf53086824e2bfd1877f08a4eed",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 111,
"avg_line_length": 31.59090909090909,
"alnum_prop": 0.5402877697841727,
"repo_name": "thesp0nge/owasp-esapi-ruby",
"id": "9293ec9df28d26ebb29ab9641c126baabb8e7cae",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Copyright 2015 Red Hat Inc. and/or its affiliates and other contributors.
-
- 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/... | {
"content_hash": "fce19d1bd8fe216046ef67ad1c20fe7c",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 204,
"avg_line_length": 40.63157894736842,
"alnum_prop": 0.538140472078296,
"repo_name": "cunningt/switchyard",
"id": "775e6982763673f56d8187d8b48328b3036766e6",
"size": "... |
""" Defines the MoveTool class.
"""
# Enthought library imports
from traits.api import Tuple
from enable.tools.drag_tool import DragTool
class MoveTool(DragTool):
""" A tool for moving a plot component.
"""
# The (x,y) offset of the start of the drag relative to the component.
_offset = Tuple((0,0))
... | {
"content_hash": "353ccb1141421d7eacfcfbb8ec027fa2",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 79,
"avg_line_length": 30.26829268292683,
"alnum_prop": 0.5954875100725222,
"repo_name": "burnpanck/chaco",
"id": "5dfe0ed72670b1c4b1afa0592d01086c49166749",
"size": "1241"... |
<!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_26) on Thu Aug 25 10:29:55 CEST 2011 -->
<TITLE>
ListenerStatus.ServiceListenerStatus (JmDNS)
</TITLE>
<META NAME="date" CONTENT="2011-08-25">
<LIN... | {
"content_hash": "2976b1c07fe74b152e62c2bea2a5d6e1",
"timestamp": "",
"source": "github",
"line_count": 307,
"max_line_length": 372,
"avg_line_length": 48.16938110749186,
"alnum_prop": 0.6530294833648904,
"repo_name": "ernan/jmdns",
"id": "93dc93a1372a7dd9ca1bd5a0a6bee8c733d0138c",
"size": "14788",... |
// Copyright 2017 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | {
"content_hash": "b5049414e276f5e34057d24734ec43fc",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 100,
"avg_line_length": 34.863481228668945,
"alnum_prop": 0.6467939304943711,
"repo_name": "google/java-monitoring-client-library",
"id": "52247a3115eba86f4f743d785d4c7f260f... |
export class Place {
owner: string;
info: string;
img: string;
name: string;
rating: number;
lat: number;
lng: number;
}
| {
"content_hash": "be7f6dd8b5045dea839581fd0fe59f86",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 20,
"avg_line_length": 16.555555555555557,
"alnum_prop": 0.5771812080536913,
"repo_name": "Directive14/HolidayAdvisor",
"id": "c04e175256d73e3fddebc6af63ef0d7c4b636f3d",
"si... |
<?php
/**
* @see Zend_Gdata_Extension
*/
#require_once 'Zend/Gdata/Extension.php';
/**
* @see Zend_Gdata_Exif
*/
#require_once 'Zend/Gdata/Exif.php';
/**
* Represents the exif:model element used by the Gdata Exif extensions.
*
* @category Zend
* @package Zend_Gdata
* @subpackage Ex... | {
"content_hash": "320ec327480dcc9bb27b01857230b1bb",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 87,
"avg_line_length": 24.19047619047619,
"alnum_prop": 0.6181102362204725,
"repo_name": "almadaocta/lordbike-production",
"id": "a173fb1254f974d8655bbfd527a732c6ed3da2a0",
... |
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": "6d9f218d8a6339ed4730a0848eb22d56",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 140,
"avg_line_length": 33.02439024390244,
"alnum_prop": 0.7208271787296898,
"repo_name": "busebd12/InterviewPreparation",
"id": "3cf3fb416c85180ef23e404d809b91ed52249f87",
... |
<?php
/**
* GitFloat is an easy reporter for Git projects that can be extended to handle other applications as well.
*
* @package GitFloat WebDriver
* @version 0.2
* @author Kevin Baugh
*/
namespace GitFloat;
/**
* The base processor for all widgets
*/
abstract class Base_Processor {
/**
* Holds ... | {
"content_hash": "d19829683923440cf5e89a63f2c9b322",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 115,
"avg_line_length": 26.15714285714286,
"alnum_prop": 0.6663025669033316,
"repo_name": "loraxx753/GitFloat",
"id": "a286919aa38da9bd16d5b71a1ef95a931d4d0651",
"size": "1... |
package com.apython.python.pythonhost;
import android.app.Activity;
import android.app.AlertDialog;
import android.graphics.Color;
import android.os.Bundle;
import android.view.Gravity;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.LinearLayout;
imp... | {
"content_hash": "e43224eb56cefafdd3bebbce54e49436",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 148,
"avg_line_length": 43.6125,
"alnum_prop": 0.6801375752364575,
"repo_name": "Abestanis/APython",
"id": "ebcd088f45b222eb2f0ecc5e4dbe71e440354dc1",
"size": "3489",
"bi... |
"use strict";
/* eslint prefer-template: 0 prefer-arrow-callback: 0 */
const yeoman = require("yeoman-generator");
const chalk = require("chalk");
const yosay = require("yosay");
const _ = require("lodash");
const libpath = require("path");
module.exports = yeoman.Base.extend({
prompting(reduxName) {
const done... | {
"content_hash": "d104a30d3ff8dacae7f137ba6d717dd7",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 89,
"avg_line_length": 26.23913043478261,
"alnum_prop": 0.6056338028169014,
"repo_name": "lexich/generator-wrr",
"id": "a95ae73db8d84dca9f04a5912d0b77c1161eaeec",
"size": "... |
<?php
declare(strict_types=1);
namespace DiContainerBenchmarks\Fixture\B;
class FixtureB598
{
}
| {
"content_hash": "a6d173560c89d4b4c773771f96487842",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 42,
"avg_line_length": 11,
"alnum_prop": 0.7676767676767676,
"repo_name": "kocsismate/php-di-container-benchmarks",
"id": "1ac72ba679e5dbbd5d9056f8aa9ec92d37d2da79",
"size":... |
using namespace BloombergLP;
//=============================================================================
// TEST PLAN
//-----------------------------------------------------------------------------
// Overview
// --------
// We a... | {
"content_hash": "e62cd2c843076a59d8f2fd6e2198d328",
"timestamp": "",
"source": "github",
"line_count": 532,
"max_line_length": 79,
"avg_line_length": 36.70676691729323,
"alnum_prop": 0.5363068414584187,
"repo_name": "bowlofstew/bde",
"id": "a952af1b65f700a0ffafee9e8e34763302cee645",
"size": "19858... |
package item
import (
"errors"
"time"
"github.com/potay/plaid-go/plaid/api"
"github.com/potay/plaid-go/plaid/client"
)
type item struct {
*api.API
}
func NewItem(client *client.Client) Item {
return &item{
api.NewAPI(client),
}
}
func (i *item) Create(credentials api.Credentials,
institutionID string, in... | {
"content_hash": "e56cee341827ce5f3e8a54ec5d9818f5",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 90,
"avg_line_length": 24.64485981308411,
"alnum_prop": 0.6951080773606371,
"repo_name": "potay/plaid-go",
"id": "943d774309470d040d3d47410346aac091a53bf7",
"size": "2637"... |
<div ng-controller="ProjectController" class="content">
<project-page>
<div ng-controller="ServicesController">
<h1>Services</h1>
<alerts alerts="alerts"></alerts>
<div ng-if="(services | hashSize) == 0">
<div>
<em>{{emptyMessage}}</em>
</div>
</div>
<... | {
"content_hash": "9b09c762e4be924d6026e2bcd0bdd5f9",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 161,
"avg_line_length": 49.861111111111114,
"alnum_prop": 0.5793871866295265,
"repo_name": "westmisfit/origin",
"id": "46e145abcfb270254bc62396399db49f2ce43f4a",
"size": "1... |
<?php
namespace Illuminate\Tests\Mail;
use Illuminate\Mail\Markdown;
use Illuminate\View\Factory;
use Mockery as m;
use PHPUnit\Framework\TestCase;
class MailMarkdownTest extends TestCase
{
protected function tearDown(): void
{
m::close();
}
public function testRenderFunctionReturnsHtml()
... | {
"content_hash": "6f44ba1552f2d2937e392edb4d148808",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 128,
"avg_line_length": 38.794520547945204,
"alnum_prop": 0.6338276836158192,
"repo_name": "cybercog/framework",
"id": "7878174ac43bcd588c9702c2d0b2af5f57eb16ce",
"size": "... |
.adminPagination-wrapper {
text-align: center;
}
.adminPagination {
position: relative;
padding: 0;
margin: -10px 145px;
}
.adminPagination > li > a, .adminPagination > li > span {
float: none;
padding: 0;
margin: 0 20px;
line-height: 10px;
background: none;
border: none;
f... | {
"content_hash": "2726975d3c4306b76c1fe68409e2825d",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 138,
"avg_line_length": 20.557692307692307,
"alnum_prop": 0.6145930776426567,
"repo_name": "303Lab/MusicBeat",
"id": "ad51997dd94efa45458d4cd2d389cae3b43faebf",
"size": "10... |
import subprocess
import datetime
from custom_logger import get_logger
import sys
__author__ = 'cenk'
logger = get_logger()
def daily_rollup(args):
keyspace = args[1]
now = datetime.datetime.now()
end_time = datetime.datetime(now.year, now.month, now.day, now.hour, 00)
end_time = int(end_time.strft... | {
"content_hash": "516d736fe3cd10cf83e1bf55f4356186",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 118,
"avg_line_length": 34.588235294117645,
"alnum_prop": 0.6445578231292517,
"repo_name": "egemsoft/cassandra-spark-rollup",
"id": "0f442f94afed419104695863467ec400614d7576"... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a8758c77f5645fe0aff72be91eedbac3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "d1d20743c078005fc375fd82d24061589e0771e2",
"size": "188... |
from flask.templating import render_template, render_template_string
import logging
from waitlist import permissions
from typing import List, Optional, Dict, Union, Any
from flask_babel import lazy_gettext
from flask_login.utils import current_user
logger = logging.getLogger(__name__)
class OrderedItem(object):
... | {
"content_hash": "5505e85d6741cad42244d377c2b18320",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 97,
"avg_line_length": 35.75819672131148,
"alnum_prop": 0.576160458452722,
"repo_name": "SpeedProg/eve-inc-waitlist",
"id": "ffbfdb44482802c14fb25a3a1f0484fdb177b8b9",
"si... |
"""Constant values for pvpc_hourly_pricing."""
DOMAIN = "pvpc_hourly_pricing"
PLATFORMS = ["sensor"]
ATTR_POWER = "power"
ATTR_POWER_P3 = "power_p3"
ATTR_TARIFF = "tariff"
DEFAULT_NAME = "PVPC"
| {
"content_hash": "1a2af67dc29b02ee166c3946b6865c51",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 46,
"avg_line_length": 27.714285714285715,
"alnum_prop": 0.6958762886597938,
"repo_name": "aronsky/home-assistant",
"id": "ad97124c33089e1cfcc32ba745a3fef67074c3f7",
"size":... |
var ajaxManager = ajaxManager || {
setHeader: function(armorToken) {
$.ajaxSetup({
beforeSend: function(xhr) {
xhr.setRequestHeader("Authorization", "ARMOR " + armorToken);
}
});
}
}; | {
"content_hash": "268de01a4b83119519eae8fd7ca7d033",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 77,
"avg_line_length": 27.555555555555557,
"alnum_prop": 0.5201612903225806,
"repo_name": "daishisystems/Daishi.Armor",
"id": "efcd6de432a0118f5938c2bda24b4f32504ecc1f",
"si... |
$(function() {
window.Endeavour.View.NewsAnnouncementsPost = Backbone.Marionette.View.extend({
tagName: 'li',
className: 'news-post',
els: {},
initialize: function() {
var titleEl = this.els.title = $('<h3></h3>');
var dateEl = this.els.date = $('<div cla... | {
"content_hash": "e25faad3aa87c11a28baf75dc2337290",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 83,
"avg_line_length": 23.18918918918919,
"alnum_prop": 0.49533799533799533,
"repo_name": "luminous-patterns/endeavour-ui",
"id": "81bcebf1f1f657cc817686774a6036044179a53f",
... |
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<objectAnimator
android:duration="@integer/animation_time"
android:propertyName="fillAlpha"
android:valueFrom="1"
android:valueTo="0" />
</set> | {
"content_hash": "530862b26df86ec9abf37037a3a14a86",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 64,
"avg_line_length": 35.375,
"alnum_prop": 0.6537102473498233,
"repo_name": "garmax1/material-flashlight",
"id": "5750e32fec2724dfc6d791873347b1c75a5dbdc5",
"size": "283",... |
package org.cloudfoundry.uaa.tokens;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.immutables.value.Value;
/**
* The response from the get token by client credentials operation
*/
@JsonDeserialize
@Value.Immutable
abstract class _GetTokenByClientCredentialsResponse extends AbstractT... | {
"content_hash": "4ffa187033ed2831c666be014f11c8d5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 75,
"avg_line_length": 22,
"alnum_prop": 0.8151515151515152,
"repo_name": "cloudfoundry/cf-java-client",
"id": "d3909ae993424891063a4eb21fed351fca66456f",
"size": "950",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
Amer. J. Bot. 78:633. 1991
#### Original name
null
### Remarks
null | {
"content_hash": "a995c75681758cecf05ba33083f97b50",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12,
"alnum_prop": 0.6794871794871795,
"repo_name": "mdoering/backbone",
"id": "a4fdbc5a4421b07c949f15ed9a2d5b08db22aaa1",
"size": "208",
"binary": ... |
var app = angular.module('TVPremieresApp',[]);
| {
"content_hash": "b7c4d298acc1b61f11e454e5a02ce264",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 46,
"avg_line_length": 47,
"alnum_prop": 0.7021276595744681,
"repo_name": "ArcherCraftStore/ArcherVMPeridot",
"id": "95363144fb35ba59441b07b8c3ab8cbc488caeed",
"size": "47",... |
"""Errors used in the urlfetch API
developers.
"""
class Error(Exception):
"""Base URL fetcher error type."""
class DownloadError(Error):
"""Raised when we could not fetch the URL for any reason.
Note that this exception is only raised when we cannot contact the
server. HTTP errors (e.g., 404) ar... | {
"content_hash": "7d1d473ca455ca4e713eb5ec94b8981a",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 78,
"avg_line_length": 25.114942528735632,
"alnum_prop": 0.7423340961098398,
"repo_name": "zlsun/XX-Net",
"id": "df4d80a5f991508f9ceacc6438f790ded5d625c3",
"size": "2789",
... |
<?php
namespace AppBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class OddsAndSodsController extends Controller
{
public function indexAction()
{
return $this->render('AppBundle:OddsAndSods:index.html.twig');
}
}
| {
"content_hash": "1c43b48150138da16da2660b4441f269",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 70,
"avg_line_length": 20.53846153846154,
"alnum_prop": 0.7453183520599251,
"repo_name": "danksearle/danwashere",
"id": "a951b88daf6a79e8ab013bdc72b5f170f9e453df",
"size": ... |
using System.Collections.Generic;
namespace SourceLink
{
public class SourceLinkJson
{
public IDictionary<string, string> documents { get; set; }
}
}
| {
"content_hash": "1cbb8f482e582eed31e85c1c4e1d45ee",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 66,
"avg_line_length": 19.11111111111111,
"alnum_prop": 0.6802325581395349,
"repo_name": "ctaggart/SourceLink",
"id": "861c72c65e249cc8e62518ef7bbb6694f42ab256",
"size": "17... |
<?php
/*
Safe sample
input : use fopen to read /tmp/tainted.txt and put the first line in $tainted
Uses a full_special_chars_filter via filter_var function
construction : concatenation with simple quote
*/
/*Copyright 2015 Bertrand STIVALET
Permission is hereby granted, without written agreement or royalty fee, t... | {
"content_hash": "a00f3a3780175f77143a44e62c8715ec",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 77,
"avg_line_length": 23.34328358208955,
"alnum_prop": 0.729539641943734,
"repo_name": "stivalet/PHP-Vulnerability-test-suite",
"id": "b532699b51260574d8405711ac975e9e932500... |
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version1/core" level="3" version="1">
<model>
<listOfUnitDefinitions>
<unitDefinition id="volume">
<listOfUnits>
<unit kind="litre" exponent="1" scale="0" multiplier="1"/>
</listOfUnits>
... | {
"content_hash": "ea52217446bfac53a4cf104883c02d5d",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 139,
"avg_line_length": 40.92727272727273,
"alnum_prop": 0.5984007107952022,
"repo_name": "TheCoSMoCompany/biopredyn",
"id": "bb3704aa6b8740ae3d0e23b34d5c67336b93db50",
"si... |
from django.contrib import admin
from accounts.models import TodoUser
admin.site.register(TodoUser)
| {
"content_hash": "1e412596e864fb97246af6209369ace8",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 36,
"avg_line_length": 20.4,
"alnum_prop": 0.8333333333333334,
"repo_name": "hirune525/todolist",
"id": "0db25aa1c5323d67f082140e4464bf1cc3705122",
"size": "125",
"binary"... |
package org.bitcoinj.core;
import org.bitcoinj.params.MainNetParams;
import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.net.InetAddress;
import java.nio.BufferUnderflowException;
import java.nio.ByteBuffer;
import java.util.Arrays;
import static org.bitcoinj.core.Utils.HEX;
import static org.... | {
"content_hash": "e024c8d4aadc681197039fe1c4f71990",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 141,
"avg_line_length": 50.47982062780269,
"alnum_prop": 0.700808385893222,
"repo_name": "schildbach/bitcoinj",
"id": "d8f3f8fc10a911fce270ec221231377324fc76dd",
"size": "... |
package org.onosproject.net.behaviour;
import java.util.Objects;
import com.google.common.annotations.Beta;
import org.onlab.packet.IpAddress;
import com.google.common.base.MoreObjects;
/**
* Represent for a tunnel point using ip address.
*/
@Beta
public final class IpTunnelEndPoint implements TunnelEndPoint {
... | {
"content_hash": "15c43f644a23d1e25366b7ac5090cfc2",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 79,
"avg_line_length": 21.227272727272727,
"alnum_prop": 0.6138472519628837,
"repo_name": "mengmoya/onos",
"id": "d3b67e7fe695755bd04377c591ad07ba0ba22893",
"size": "2018",... |
namespace v8 {
namespace internal {
class Isolate;
class WasmMemoryObject;
// Whether the backing store is shared or not.
enum class SharedFlag : uint8_t { kNotShared, kShared };
// Whether the backing store memory is initialied to zero or not.
enum class InitializedFlag : uint8_t { kUninitialized, kZeroInitialized ... | {
"content_hash": "fbf7e6d1c48fe4dd9bda2398b810870a",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 80,
"avg_line_length": 43.49586776859504,
"alnum_prop": 0.6720501615048452,
"repo_name": "youtube/cobalt_sandbox",
"id": "18505baf6702150f936dd1e1850c65a04b5a60e8",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<!-- 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.
-->
<resources>
<style name="ContentActionBar">
<item name="action_mode_share_drawable">@drawabl... | {
"content_hash": "a6e72860bd88faace208bb8793657cba",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 97,
"avg_line_length": 42.35294117647059,
"alnum_prop": 0.6986111111111111,
"repo_name": "mogoweb/chromium-crosswalk",
"id": "aaeb6d759d651aa03526ce6f42390096c0bd77c2",
"si... |
var searchData=
[
['bare_20metal_20abstraction_20layer',['Bare Metal Abstraction Layer',['../group__os__abstraction__bm.html',1,'']]]
];
| {
"content_hash": "a47dbe8194e28aed584fb02d0698e771",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 117,
"avg_line_length": 34.75,
"alnum_prop": 0.6762589928057554,
"repo_name": "linwenjian/Quadcopter_Will",
"id": "d6ad481b52920e2d3dd63fd2544512f254c31fd2",
"size": "139",
... |
@echo off
SET VERS=%1
IF NOT DEFINED VERS (
echo "Version argument is required"
exit /B 1
)
echo "Stopping node"
nssm stop IndyNode
echo "Run indy upgrade to version %VERS%"
pip install --upgrade --no-cache-dir indy-node%INDY_NODE_PACKAGE_POSTFIX%=="%VERS%"
SET RET=%ERRORLEVEL%
IF NOT "%RET%"=="0" (
echo "Upgra... | {
"content_hash": "5f0b15237a7e1f40bd711207facef6db",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 83,
"avg_line_length": 20.941176470588236,
"alnum_prop": 0.6966292134831461,
"repo_name": "TechWritingWhiz/indy-node",
"id": "bb68b72d1915458bbc93060f98e6985e1c171651",
"si... |
module Mongoid
module Association
module Referenced
class BelongsTo
# Binding class for belongs_to associations.
class Binding
include Bindable
# Binds the base object to the inverse of the association. This is so we
# are referenced to the actual objects them... | {
"content_hash": "bd8e5dfea917ebf0cb09d1e32c996e7b",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 82,
"avg_line_length": 32.16279069767442,
"alnum_prop": 0.5010845986984815,
"repo_name": "Welovroi/mongoid",
"id": "b34f0f7c2d8f29220c723ecc32d9d236cdea31d9",
"size": "2814... |
var Promise = require('bluebird');
var chalk = require('chalk');
var dbName = "meaniscule-app";
var DATABASE_URI = "mongodb://localhost:27017/" + dbName;
var mongoose = require('mongoose');
var db = mongoose.connect(DATABASE_URI).connection;
var startDbPromise = new Promise(function (resolve, reject) {
db.on('op... | {
"content_hash": "cc1d195640a9021d44d3309c8e8f6438",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 90,
"avg_line_length": 23.791666666666668,
"alnum_prop": 0.6970227670753065,
"repo_name": "ChuckPierce/meaniscule",
"id": "3a028ae0775b162d6e47e9f6c4272e2926ab4d86",
"size"... |
package org.apache.camel.component.file;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.Exchange;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
/**
* @version
*/
public class FileMarkerFileRecursiveDeleteOldLockFilesTest extends ... | {
"content_hash": "29f44033e7d818d61257ed0d1ce0cdad",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 148,
"avg_line_length": 40.5531914893617,
"alnum_prop": 0.6663168940188877,
"repo_name": "everttigchelaar/camel-svn",
"id": "005582c2c69deea86aaeeb3f5cecea95db0ba1d2",
"siz... |
package com.beter.timehole.core;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
/**
* Created by Ebrar on 01/12/15.
*/
public class Reminder implements java.io.Serializable {
pri... | {
"content_hash": "887a091026ef148636b7beb3adfb82e4",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 174,
"avg_line_length": 22.676470588235293,
"alnum_prop": 0.5953307392996109,
"repo_name": "mebrar/TimeHole",
"id": "7ccbfd93786e583a59ee2c3502ba44aa190ceca7",
"size": "23... |
package org.apache.shardingsphere.elasticjob.restful;
/**
* A facade of restful service. Invoke startup() method to start listen a port to provide Restful API.
*/
public interface RestfulService {
/**
* Start RESTFul service.
*/
void startup();
/**
* Shutdown RESTFul service.
... | {
"content_hash": "2ba36cdef741c92d83aefa07e4fae552",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 102,
"avg_line_length": 18.42105263157895,
"alnum_prop": 0.6257142857142857,
"repo_name": "dangdangdotcom/elastic-job",
"id": "bad682d185bf5b57332ddc85f43ceb2c430364a0",
"s... |
<!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_20) on Sat Apr 09 13:51:09 IRDT 2016 -->
<title>S-Index</title>
<meta name="date" content="2016-04-09">
<link rel="stylesheet" type="text/css" ... | {
"content_hash": "69cffc501dd0d9ecaeb249c4bf6f2633",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 525,
"avg_line_length": 41.6044776119403,
"alnum_prop": 0.6383856502242152,
"repo_name": "abbashosseini/PersianDT",
"id": "0bddf966cbe6fc98e918575c74f56a5486fb3dda",
"size... |
/**
* Using a flat list of titles, generate an return tree
*/
module.exports = function (config) {
var nameReplacements = config.escapes;
function ListUtilities() {
};
function logit (err) {
if (err) {
console.log(err);
}
};
ListUtilities.prototype... | {
"content_hash": "3d3440a72c548662027780b727137f50",
"timestamp": "",
"source": "github",
"line_count": 1358,
"max_line_length": 256,
"avg_line_length": 51.31516936671576,
"alnum_prop": 0.3455213385758976,
"repo_name": "Cian-Chambliss/helpserver",
"id": "ae6363ed187999c2e55e5d9ad637c24291aae0b6",
"... |
version: v1.7.9
permalink: /docs/development/build-instructions-linux/
category: Development
redirect_from:
- /docs/v0.37.8/development/build-instructions-linux/
- /docs/v0.37.7/development/build-instructions-linux/
- /docs/v0.37.6/development/build-instructions-linux/
- /docs/v0.37.5/development/build-instruct... | {
"content_hash": "59c9a9a59b5e15eb8441215081e3a1ba",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 367,
"avg_line_length": 40.232091690544415,
"alnum_prop": 0.6273769674524606,
"repo_name": "atom/electron.atom.io",
"id": "061f33fe43cecd5bcceb252b15902040bd308ab1",
"size... |
<?php
/**
* Sage includes
*
* The $sage_includes array determines the code library included in your theme.
* Add or remove files to the array as needed. Supports child theme overrides.
*
* Please note that missing files will produce a fatal error.
*
* @link https://github.com/roots/sage/pull/1042
*/
$sage_incl... | {
"content_hash": "2961cbe93485feb663b4c2933ca6cb28",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 97,
"avg_line_length": 30.303030303030305,
"alnum_prop": 0.656,
"repo_name": "ceto/bikram",
"id": "77898295e50daae58cd248e4992b4222d25cf556",
"size": "1000",
"binary": fa... |
ultvoice.debug = true;
ultvoice.actions.push({
trigger: ['open', 'abra'],
callback: function(address) {
location = 'http://' + address;
}
}, {
trigger: ['write', 'escreva'],
callback: function() {
document.body.innerHTML = '<h1>' + [].join.call(arguments, ' ') + '</h1>';
}
});
ultvoice.start();
| {
"content_hash": "76f810ff8a8c3d08ab897c8af65dbeb8",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 76,
"avg_line_length": 19.3125,
"alnum_prop": 0.5922330097087378,
"repo_name": "UltCombo/UltVoice",
"id": "cc1a13bd0a25859168e018623e857ff47fc94b49",
"size": "309",
"bina... |
<?php
/**
* Attribute add/edit form options tab
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Eav\Block\Adminhtml\Attribute\Edit\Options;
use Magento\Store\Model\ResourceModel\Store\Collection;
class Options extends \Magento\Backend\Block\Template
{
/**
* @var \Magen... | {
"content_hash": "4e9e61f8fa3450abfba6a265b0e73cfc",
"timestamp": "",
"source": "github",
"line_count": 292,
"max_line_length": 119,
"avg_line_length": 32.43835616438356,
"alnum_prop": 0.5678842905405406,
"repo_name": "enettolima/magento-training",
"id": "77b89b018bacbe57a7670505392426b1a77c7703",
... |
namespace Apache.Ignite.Core.Tests
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Apache.Ignite.Core.Impl;
using Apache.Ignite.Core.Tests.Process;
using NUnit.Framework;
/// <summary>
/// ... | {
"content_hash": "c9124e979563486fa5fe34f5f53be24b",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 150,
"avg_line_length": 29.169675090252706,
"alnum_prop": 0.46051980198019804,
"repo_name": "dlnufox/ignite",
"id": "a60efa7206e728981eb09565067a63329f25eae6",
"size": "88... |
response.logo = A('nStock',
_class="navbar-brand", _href=URL('default', 'index'),
_id="web2py-logo")
response.title = request.application.replace('_', ' ').title()
response.subtitle = ''
# ----------------------------------------------------------------------------------------------... | {
"content_hash": "2d9ca3389ba26d8ed5b4515fa08ca980",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 120,
"avg_line_length": 45.19298245614035,
"alnum_prop": 0.42274844720496896,
"repo_name": "ybenitezf/nstock",
"id": "b91aa70afdc086155aae1c324c80b2de73829a88",
"size": "8... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.