text stringlengths 2 1.04M | meta dict |
|---|---|
'use strict';
['__Secure-', '__Host-'].forEach(prefix => {
promise_test(async testCase => {
await cookieStore.set(`${prefix}cookie-name`, `secure-cookie-value`);
assert_equals(
(await cookieStore.get(`${prefix}cookie-name`)).value,
'secure-cookie-value',
`Setting ${prefix} cookies should no... | {
"content_hash": "4f376261ec7dbc71b70ad949a2a4864a",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 76,
"avg_line_length": 43.46,
"alnum_prop": 0.641049240681086,
"repo_name": "scheib/chromium",
"id": "db077478e0eebb143664c651123a32bb5fc1e722",
"size": "2308",
"binary":... |
package com.domhauton.membrane.api.responses;
import java.util.Set;
/**
* Created by dominic on 04/02/17.
*/
public class ContractStatus implements MembraneResponse {
private final boolean contractManagerActive;
private final int contractTarget;
private final Set<String> contractedPeers;
private final Set<S... | {
"content_hash": "5acb4b27dd5ac6b883a67051adc29572",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 211,
"avg_line_length": 30.854166666666668,
"alnum_prop": 0.7819041188386225,
"repo_name": "domhauton/membraned",
"id": "3cf1cec95c342cc8b88a88305c79aae2e0d97570",
"size": ... |
from math import sqrt, ceil
import unittest
DEFAULT_NUM_OF_PRIMES = 10
def get_n_primes(n=DEFAULT_NUM_OF_PRIMES):
def is_prime(num):
if num == 1 or num == 2:
return True
for i in range(2, ceil(sqrt(num))+1):
if num % i == 0:
return False
return Tru... | {
"content_hash": "c20974159249a21210bdbd8fabcba551",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 93,
"avg_line_length": 28.428571428571427,
"alnum_prop": 0.5706309324399776,
"repo_name": "alexakarpov/python-practice",
"id": "e808cfdfc7e14ea2ada3f5852eb4da9ab6819912",
"... |
var assert = require('assert');
var async = require('async');
var path = require('path');
var st = require('st');
var wd = require('wd');
var sauceConnect = require('sauce-connect-launcher');
var http = require('http');
var wdTap = require('./');
var user = process.env.SAUCE_USER,
key = process.env.SAUCE_KEY;
if (... | {
"content_hash": "3d225c2ac891e1b8d0d9950793a9469e",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 91,
"avg_line_length": 23.32330827067669,
"alnum_prop": 0.5664087685364281,
"repo_name": "conradz/wd-tap",
"id": "eefd270ee23cdbc2ab5ecdde757c95d3320176e9",
"size": "3102"... |
require "pager/version"
module Pager
def self.included(base)
base.send :include, InstanceMethods
base.send :attr_accessor, :last_offset, :default_batch, :current_index
end
module InstanceMethods
def filtered_page(limit, options={}, &block)
self.default_batch = options.delete(:default_batch) |... | {
"content_hash": "c14c8b6f156ceaca5a2abf93d3eb932e",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 174,
"avg_line_length": 28.209302325581394,
"alnum_prop": 0.5902720527617478,
"repo_name": "adhitia/pager",
"id": "1fb7a39b637aca9b6dade5aca09f1dfc7bb7a0d3",
"size": "1213"... |
<?php
/**
* DO NOT EDIT THIS FILE!
*
* This file was automatically generated from external sources.
*
* Any manual change here will be lost the next time the SDK
* is updated. You've been warned!
*/
namespace DTS\eBaySDK\Test\Account\Types;
use DTS\eBaySDK\Account\Types\GetAFulfillmentPolicyByNameRestResponse;... | {
"content_hash": "aa2a49257e193db134bafd8ceaf8080b",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 114,
"avg_line_length": 26.242424242424242,
"alnum_prop": 0.7240184757505773,
"repo_name": "davidtsadler/ebay-sdk-php",
"id": "810dd5c67073f21c2733c04e130125a0c70f174e",
"s... |
package org.pathvisio.core.model;
/**
* Used to notify listeners of changes to the model, i.e a Pathway or PathwayElement.
* This can mean the addition or removal of whole elements, or just a modification to
* one of the properties of an existing element.
*
* This event is currently used both by PathwayListener'... | {
"content_hash": "ef23c46dbb9fbc45f0d56e2da008fec5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 88,
"avg_line_length": 25.324324324324323,
"alnum_prop": 0.727854855923159,
"repo_name": "PathVisio/pathvisio",
"id": "a4e45818f400c707f5aad5dbdbe1eeff03c048b9",
"size": "1... |
DASHBOARD.notify = (function() {
var currentNotifications = [];
var c = 0;
return function(msg,type,fixed,timeout) {
if (currentNotifications.length > 4) {
var ll = currentNotifications.length;
for (var i = 0;ll > 4 && i<currentNotifications.length;i+=1) {
var... | {
"content_hash": "cbd4edeb1e29076fb6cd867841c996b7",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 80,
"avg_line_length": 32.30232558139535,
"alnum_prop": 0.46436285097192226,
"repo_name": "peat-platform/user-dashboard",
"id": "e4cb793816872320c1d10b007b0bba5a69d5e973",
... |
using UnityEngine;
public class bob : MonoBehaviour
{
float amount = 0.5f;
// Update is called once per frame
private void Update()
{
var pos = new Vector3(0, -0.7f + amount * Mathf.Sin(Time.time), 0);
//transform.localPosition = pos;
transform.localRotation = Quaternion.Ang... | {
"content_hash": "9bc3ee953c18a70b4b2811e9889c20fe",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 104,
"avg_line_length": 24,
"alnum_prop": 0.6380208333333334,
"repo_name": "aodendaal/ThisGameBlows",
"id": "ed0a49e4f5eee968ada99fcd0c6d4eb8e7c70aa9",
"size": "386",
"bi... |
package com.sdl.odata.service.util
import akka.actor.{Actor, ActorContext, ActorRef}
import com.sdl.odata.service.actor.MessageHandlerRegistry._
import com.sdl.odata.service.actor.ODataMessageRouter
import com.sdl.odata.service.protocol.{ODataActorMessage, RegisterMessageHandler}
import com.sdl.odata.service.spring.A... | {
"content_hash": "bab8795fd2487e7b39756ac7f4a65c65",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 129,
"avg_line_length": 35.31818181818182,
"alnum_prop": 0.7425997425997426,
"repo_name": "sdl/odata",
"id": "c555baad6e2bc03cbb0539cc54bc95e516aee817",
"size": "2236",
"... |
using System;
using CoreGraphics;
using UIKit;
using ZXing.Mobile;
namespace MonoTouch.Dialog
{
public partial class ScanCodeController : UIViewController
{
public ScanCodeController() : base("ScanCodeController", null)
{
}
public async override void ViewDidLoad()
{
... | {
"content_hash": "db9dd1e451d88fd8e140e2184f93758a",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 155,
"avg_line_length": 32.229729729729726,
"alnum_prop": 0.5551362683438155,
"repo_name": "ClusterReplyBUS/MonoTouch.Dialog",
"id": "e6f254dcce0e2d5c58b76a1e8254804665864732... |
package blkidx
import (
"crypto"
"hash"
"io"
)
type Hasher interface {
io.Writer
// the first return value is the hash of all data that has been written to this Hasher.
// the second return value are the hashes of each block that has been written to this Hasher.
Finish() ([]byte, [][]byte)
}
type hasher stru... | {
"content_hash": "ac98d9679a923f30d11d169e46966afa",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 94,
"avg_line_length": 17.575342465753426,
"alnum_prop": 0.6344505066250974,
"repo_name": "PhiCode/blkidx",
"id": "59a35749306b4993c85022ed7a468d6ca74bb759",
"size": "1283"... |
import React, {Component, PropTypes} from 'react';
import {connect as connectCSSUtils} from 'react-css-utils';
import * as MaterialIcons from 'react-icons/lib/md';
import View from './View';
@connectCSSUtils({}, {})
export default class Icon extends Component {
static propTypes = {
name: PropTypes.string.isReq... | {
"content_hash": "8ed54162890ab20ab2a6e2205cc70be6",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 59,
"avg_line_length": 21.1,
"alnum_prop": 0.631911532385466,
"repo_name": "lingard/react-css-utils",
"id": "a4464204546f66e07e6b65609b86e6c0e1384385",
"size": "633",
"bi... |
var CompositeDisposable = require('atom').CompositeDisposable;
var copyWithSyntax = require('./copy-with-syntax');
var subscriptions;
module.exports = {
activate() {
subscriptions = new CompositeDisposable();
subscriptions.add(atom.commands.add('atom-workspace', 'copy-with-syntax:copy', copyWithSyntax));
... | {
"content_hash": "f24c05699a1fe53ff704c17060bcf08e",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 100,
"avg_line_length": 25.2,
"alnum_prop": 0.708994708994709,
"repo_name": "frantic/copy-with-syntax",
"id": "99219490240f6d4a4e0eab7212874991d8e80205",
"size": "378",
"... |
module Neo4j
class Paginated
include Enumerable
attr_reader :items, :total, :current_page
def initialize(items, total, current_page)
@items, @total, @current_page = items, total, current_page
end
def self.create_from(source, page, per_page, order = nil)
target = source.node_var || so... | {
"content_hash": "fa64e6b1e1702cc6c1e1c0720cf08f51",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 144,
"avg_line_length": 37.08,
"alnum_prop": 0.5458468176914779,
"repo_name": "takabes00/neo4j-ruby",
"id": "237cb1a26f2634e39deffc23881a5cc6040cc3e7",
"size": "927",
"bi... |
<?xml version="1.0" encoding="utf-8"?><!--
Copyright (c) 2016-2022 Armel Soro
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, c... | {
"content_hash": "8e2daacf87a878fbaf5b9982287eaba9",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 167,
"avg_line_length": 57.30882352941177,
"alnum_prop": 0.7308185783936362,
"repo_name": "rm3l/maoni",
"id": "ab71d3f3650c0b2d52994730cc8de01579f08ce8",
"size": "3897",
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
using System.Xml.Linq;
using XSerialization.Attributes;
using XSerialization.Decorators;
using XSerialization.ExternalResolvers;
using XSerialization.Values;
namespa... | {
"content_hash": "f7d5041ee8cd5b0d54269a6d83152afe",
"timestamp": "",
"source": "github",
"line_count": 761,
"max_line_length": 204,
"avg_line_length": 39.72141918528252,
"alnum_prop": 0.5767169511710997,
"repo_name": "mastertnt/XRay",
"id": "82805f8820c1583fa05ef3256052bcd472edc3b4",
"size": "3023... |
package com.massivcode.example.simplepermissionnotice;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import com.massivcode.simplepermissionnotice.SimplePermissionNotice;
import com.massivcode.simplepermissionnotice.SimplePermissionNoticeCallback;
public class Ma... | {
"content_hash": "17d8092c1d6913ee5daf8cec4807b515",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 94,
"avg_line_length": 26.46268656716418,
"alnum_prop": 0.7084038353073886,
"repo_name": "prChoe/SimplePermissionNotice",
"id": "f96092402edafb0d0b169902db5da1db886be5c9",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Mon Aug 26 23:19:26 WST 2013 -->
<title>Z-Index</title>
<meta name="date" content="2013-08-26">
<link rel="stylesheet" type="tex... | {
"content_hash": "c3f5302267b4c8ad1e7799cc3f91cdc0",
"timestamp": "",
"source": "github",
"line_count": 120,
"max_line_length": 316,
"avg_line_length": 35.141666666666666,
"alnum_prop": 0.6182119990514584,
"repo_name": "PhilDatoon/CertIV_IntroOOP",
"id": "5a2b7879fdf3a174820991d61b39a50276c214b0",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Thu Mar 26 16:48:37 UTC 2015 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class com.hazelcast.clust... | {
"content_hash": "42f75c9b17c3b44cbc23c51f2220d8bd",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 255,
"avg_line_length": 43.97241379310345,
"alnum_prop": 0.6234316185696361,
"repo_name": "akiskip/KoDeMat-Collaboration-Platform-Application",
"id": "0d4cf210b59cd176f85fc5... |
/*******************************************************************************
* E.S.O. - ACS project
*
* "@(#) $Id: maciTestRegistrar.cpp,v 1.78 2003/01/16 12:14:29 vltsccm Exp $"
*
* who when what
* -------- ---------- ----------------------------------------------
* msekoran 2002-07-08 created
*/
st... | {
"content_hash": "dc9152d8c985e7e94ba0efe7001d3368",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 96,
"avg_line_length": 24.77639751552795,
"alnum_prop": 0.5966407620957633,
"repo_name": "csrg-utfsm/acscb",
"id": "f73089674ea998bc490d3a09a951d341417a66bd",
"size": "398... |
<!-- The <systemd-unit-status-sk> custom element declaration.
Attributes:
machine - The name of the machine the service is running on.
service - The systemd name of the service running, such as "logserver.service".
Events:
unit-action - An event triggered when the user wants to perform an action
... | {
"content_hash": "02f625726c1618a7d86d29e62fe1786d",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 92,
"avg_line_length": 24.016,
"alnum_prop": 0.5669553630912725,
"repo_name": "Tiger66639/skia-buildbot",
"id": "175aed67fc01d42f6a8e7d79962b280d39dceded",
"size": "3002",... |
RadDeck
=======
Realtime Audience Dialogue
| {
"content_hash": "d8f16499a72e0354e9df6d5a1ae16175",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 26,
"avg_line_length": 11,
"alnum_prop": 0.7045454545454546,
"repo_name": "sameubank/RadDeckOriginal",
"id": "5cddf758785323e4b85945270bbfb170e969f52a",
"size": "44",
"bin... |
using System;
using System.Text;
using LLVMSharp.Compiler.CocoR;
using LLVMSharp.Compiler.CodeGenerators;
using LLVMSharp.Compiler.Walkers;
namespace LLVMSharp.Compiler.Ast
{
public class AstPreDecrement : AstStatement
{
public IAstExpression AstExpression;
public AstPreDecrement(
... | {
"content_hash": "7691cc2c2abdd2e8856bcd634a8ecd70",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 116,
"avg_line_length": 29.416666666666668,
"alnum_prop": 0.6055240793201133,
"repo_name": "bklooste/Bitcsharp",
"id": "e9f26e5df2ce63ba97dd54d678b05c5f541c58c2",
"size": "... |
<!DOCTYPE html>
<html class="theme-next pisces" lang="zh-Hans">
<head>
<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="theme-color" content="#222">
<meta http-equiv="Cache-Co... | {
"content_hash": "647fc68ea004dcb116225a0cbce856af",
"timestamp": "",
"source": "github",
"line_count": 728,
"max_line_length": 184,
"avg_line_length": 21.708791208791208,
"alnum_prop": 0.5195520121488231,
"repo_name": "SeptemberMaples/SeptemberMaples.github.io",
"id": "1590014e8478a9b31648f9f40b67d8... |
// 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.
/*=============================================================================
**
** File: ExceptionNotification.cs... | {
"content_hash": "29c14e01c6c812f8ac53607dcfebc720",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 87,
"avg_line_length": 32.46153846153846,
"alnum_prop": 0.6026856240126383,
"repo_name": "bartdesmet/coreclr",
"id": "d0bda1c9143d690333ed9c2c1f4a404cc3e6ae54",
"size": "12... |
package org.traccar;
import io.netty.channel.Channel;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.ChannelInboundHandlerAdapter;
import io.netty.channel.socket.DatagramChannel;
import io.netty.handler.codec.http.HttpRequestDecoder;
import io.netty.handler.timeout.IdleStateEvent;
import org.s... | {
"content_hash": "928985e4493c681c1e771e3e3735bbc6",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 120,
"avg_line_length": 40.10884353741496,
"alnum_prop": 0.5741180461329715,
"repo_name": "tananaev/traccar",
"id": "2309b1e70155a24c2920f6564a3ceee50729c736",
"size": "65... |
const paths = require("../paths");
const gulp = require("gulp");
const babel = require("gulp-babel");
const babelOptions = require("../babel-options");
const concat = require("gulp-concat");
const plumber = require("gulp-plumber");
gulp.task("buildJavascript", function () {
return... | {
"content_hash": "3d7179dd6eda346a82aa4800e32e83bb",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 49,
"avg_line_length": 34.714285714285715,
"alnum_prop": 0.5946502057613169,
"repo_name": "provenstyle/BibleTraining",
"id": "fd909fe644b2e588c75734bb396a7e2a182b5367",
"si... |
> rvsa demo api
## About
This project uses [Feathers](http://feathersjs.com). An open source web framework for building modern real-time applications.
## Getting Started
Getting up and running is as easy as 1, 2, 3.
1. Make sure you have [NodeJS](https://nodejs.org/) and [npm](https://www.npmjs.com/) installed.
2... | {
"content_hash": "63670a3a4fe39f6d59411c4ab9e58eb1",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 126,
"avg_line_length": 20.86,
"alnum_prop": 0.6826462128475551,
"repo_name": "pilgin/places-api",
"id": "988cb6300fb69504b03831f42634b02940b43094",
"size": "1055",
"bina... |
@implementation GameGlobals
#pragma mark Singleton Methods
+ (id)sharedInstance {
static GameGlobals *sharedInstance = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
sharedInstance = [[self alloc] init];
});
return sharedInstance;
}
- (NSString*)levelNameAtIndex:(int)... | {
"content_hash": "fd4940b0f9bd576ca248a51e4cdb769c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 64,
"avg_line_length": 19.37837837837838,
"alnum_prop": 0.6373779637377964,
"repo_name": "bigeyex/GoldenRightHandTest",
"id": "88c91d98015cd1401f829f23431205303442b0c2",
"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 (version 1.7.0_72) on Wed Nov 05 20:55:53 EST 2014 -->
<title>Uses of Class org.apache.cassandra.cql3.ColumnCondition.CollectionInBound (apache-cassan... | {
"content_hash": "79403f0cf0680e146ae3167e061b6029",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 181,
"avg_line_length": 39.12931034482759,
"alnum_prop": 0.6316369244326945,
"repo_name": "vangav/vos_backend",
"id": "60544d643e8c0847928be0e663d3ba51b74ce174",
"size": "... |
#if defined(USE_FULL_LL_DRIVER)
/* Includes ------------------------------------------------------------------*/
#include "stm32g4xx_ll_tim.h"
#include "stm32g4xx_ll_bus.h"
#ifdef USE_FULL_ASSERT
#include "stm32_assert.h"
#else
#define assert_param(expr) ((void)0U)
#endif /* USE_FULL_ASSERT */
/** @addtogroup STM3... | {
"content_hash": "c2c5ddb197ca6a8a7ad23eb9a8c6cb1a",
"timestamp": "",
"source": "github",
"line_count": 1360,
"max_line_length": 220,
"avg_line_length": 40.50367647058823,
"alnum_prop": 0.6246709630570936,
"repo_name": "armink/rt-thread",
"id": "e3e5f4960284004b8623f373a426e0f4255e70b4",
"size": "5... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<!-- android:background="@color/md_white_1000"-->
<android.support.v7.widget.Recycl... | {
"content_hash": "30d929ce215966843eee9e03a52a5136",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 36.53846153846154,
"alnum_prop": 0.6905263157894737,
"repo_name": "Pisceslau/WishStar",
"id": "1f577dc759049c9b51f4a44b8d3e55bb5df28195",
"size": "47... |
<div class="container">
<hr />
<div>
<form class="form-horizontal"><div class="form-group">
<label for="sterm" class="col-sm-2 control-label">Search</label><div class="col-sm-10">
<input type="text" class="form-control" id="sterm" placeholder="Filter datasets via title and authors" style="max-width:... | {
"content_hash": "77b7405da8ad03b4d82d1eb5afb3b404",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 156,
"avg_line_length": 46.6,
"alnum_prop": 0.5901287553648069,
"repo_name": "MapofLife/datasets",
"id": "c4fa4aaee042b927b2bb1f6b67a3d7c39ae8cd82",
"size": "1864",
"bina... |
@setlocal
@echo off
REM find current branch
for /f "usebackq tokens=*" %%i in (`git symbolic-ref -q HEAD`) do set "current_branch_ref=%%i"
if defined current_branch_ref set "current_branch=%current_branch_ref:refs/heads/=%"
REM handle detached HEAD
if not defined current_branch (
echo You're not on any branch! Ab... | {
"content_hash": "aa8991032304d65cdd571188486479e7",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 160,
"avg_line_length": 39.02272727272727,
"alnum_prop": 0.679673849737915,
"repo_name": "avranju/azure-iot-sdks",
"id": "47392c03f0d0b84118df17c5185746a94fb4c749",
"size":... |
- English (all docs, plugins, etc..)
- PC as black box (simplest description and explanation)
- Software (os, editor, etc tools)
- File encoding [link 1, ru](http://dimox.name/utf-8-without-bom/), [link 2, en](http://kunststube.net/encoding/)
- bit/byte/kbyte, 2binary/10/hex(colors and etc) positional numeral system
-... | {
"content_hash": "b9650096428647c1e3b204d1b587bf72",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 248,
"avg_line_length": 75.95977011494253,
"alnum_prop": 0.7396534765831884,
"repo_name": "ikeagold/999-gists-snippets-patterns",
"id": "feff1c784d32e86ef8b5c1d24fbf4268eadb... |
#pragma once
#include <vector>
#include <string>
namespace celix::rsa {
/**
* @brief Config property for the configured endpoints files.
*
* Configured files will be read by the configured discovery manager during startup and the file will not
* be monitored for updates.
* Should be a st... | {
"content_hash": "d78e3b33ddf151a3b31f914f12ded3a3",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 120,
"avg_line_length": 36.107142857142854,
"alnum_prop": 0.5875370919881305,
"repo_name": "apache/celix",
"id": "56b364981ac1e7058dfd9a72e66007beca3b27c0",
"size": "2830",... |
//package de.mannheim.uni.ds4dm.searcher;
//
//import java.io.File;
//import java.io.IOException;
//
//import org.apache.commons.io.FileUtils;
//
//import com.fasterxml.jackson.core.JsonParseException;
//import com.fasterxml.jackson.databind.JsonMappingException;
//import com.rapidminer.extension.json.JSONRelatedTables... | {
"content_hash": "ecd1f20b4ee28473ff0412408337c4e9",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 133,
"avg_line_length": 32.625,
"alnum_prop": 0.6834659593280283,
"repo_name": "AnLiGentile/DS4DM",
"id": "7498bb7b1d0380c1b8bb92e6225607b05d1d20d6",
"size": "3393",
"bi... |
cask 'vorta' do
version '0.6.4'
sha256 '3cab5b2523c11250af9622a50f676c7e3488e47fcaa550272364466523b34f06'
url "https://github.com/borgbase/vorta/releases/download/v#{version}/vorta-#{version}.dmg"
appcast 'https://github.com/borgbase/vorta/releases.atom'
name 'Vorta'
homepage 'https://github.com/borgbase/v... | {
"content_hash": "aee928fb670f10b5e7eb9abc2375cda3",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 92,
"avg_line_length": 28.75,
"alnum_prop": 0.741304347826087,
"repo_name": "maxnordlund/homebrew-cask",
"id": "121e4451eccbc5990d4e07e770e4be0b54436494",
"size": "460",
... |
//-----------------------------------------------------------------------
// Copyright 2017 Roman Tumaykin
//
// 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.... | {
"content_hash": "5bb8633c4ae705a29a6af89bd893bad8",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 77,
"avg_line_length": 27.306930693069308,
"alnum_prop": 0.4916606236403191,
"repo_name": "rtumaykin/ssis-build",
"id": "e641abf820d5aa1a3f2d09e7090b763f39171011",
"size":... |
namespace chromeos {
class CountingNewWindowClient : public ash::mojom::NewWindowClient {
public:
CountingNewWindowClient() {}
~CountingNewWindowClient() override {}
int new_tab_action_count() const { return new_tab_action_count_; }
// ash::mojom::NewWindowClient:
void NewTab() override { new_tab_action_c... | {
"content_hash": "ddde6951dc490a229892ac284d16e6e5",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 80,
"avg_line_length": 32.68695652173913,
"alnum_prop": 0.6975259377494014,
"repo_name": "Samsung/ChromiumGStreamerBackend",
"id": "ee08de0100989767045c1412c6782a9f5fdbf6a5"... |
package es.predictia.util.time;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
class Waiter {
public static void sleepWithTimeOut(final long sleepInterval, final AwakeningCondition ... | {
"content_hash": "0bf38337a2480eb10a5946cfe26d6c84",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 183,
"avg_line_length": 29.925,
"alnum_prop": 0.7418546365914787,
"repo_name": "Predictia/util",
"id": "7c1a9b2a12469acf1f17920042e9a71cb7d37af6",
"size": "1197",
"binary... |
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use ... | {
"content_hash": "2e6cb60441b8be8329dadb409fca9655",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 80,
"avg_line_length": 38.30769230769231,
"alnum_prop": 0.7791164658634538,
"repo_name": "apache/solr",
"id": "823fe062a0121d2ed02fcfa77ea6edc37e4a2628",
"size": "996",
"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>API Help (Play! 2.x Provider for Play! 2.2.x 1.0.0-alpha9 API)</title>
<link rel="stylesheet" type="... | {
"content_hash": "12f492097035f809c84c3bcb9340bc60",
"timestamp": "",
"source": "github",
"line_count": 214,
"max_line_length": 497,
"avg_line_length": 39.76635514018692,
"alnum_prop": 0.7035252643948297,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "583c0a3aa987593c9d8b510c8... |
namespace remoting {
// Used to indicate an error during a security key forwarding session.
extern const char kSecurityKeyConnectionError[];
// Returns the name of the well-known IPC server channel used to initiate a
// security key forwarding session.
const std::string& GetSecurityKeyIpcChannelName();
// Sets the n... | {
"content_hash": "91161cb700d611c7e504bf669b3bd128",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 79,
"avg_line_length": 39.2,
"alnum_prop": 0.7818877551020408,
"repo_name": "danakj/chromium",
"id": "236e6d9749bf4c6943535ec54efa7782cd33831b",
"size": "1100",
"binary":... |
module Main where
import Control.Monad
import System.IO
import System.Environment
import Lolscheme.Data
import Lolscheme.Parser
import Lolscheme.Evaluator
import Lolscheme.Environment
flushStr :: String -> IO()
flushStr str = putStr str >> hFlush stdout
readPrompt :: String -> IO String
readPrompt prompt = flushStr ... | {
"content_hash": "0aadc9b4f29599ba6bf86db81b5eeb17",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 93,
"avg_line_length": 29.428571428571427,
"alnum_prop": 0.6666666666666666,
"repo_name": "qbyt/lolscheme",
"id": "8bebf45fae1891cc9bcf5766110a858cd5263ece",
"size": "1236"... |
<!--
@license Apache-2.0
Copyright (c) 2018 The Stdlib Authors.
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... | {
"content_hash": "28afabdc2e549770f236d862be198d05",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 236,
"avg_line_length": 30.113636363636363,
"alnum_prop": 0.6925786163522013,
"repo_name": "stdlib-js/stdlib",
"id": "ad0d1b16f7b713177b173b8caed8751b35fe8a03",
"size": "3... |
package com.mesosphere.sdk.scheduler.plan;
import com.mesosphere.sdk.offer.OfferRecommendation;
import com.mesosphere.sdk.offer.OfferRequirement;
import com.mesosphere.sdk.scheduler.Observable;
import java.util.Collection;
import java.util.Optional;
/**
* Defines the interface for a Step of a {@link Phase}. The {@l... | {
"content_hash": "f3d210cdc4380a511237168818b4c78b",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 120,
"avg_line_length": 38.59722222222222,
"alnum_prop": 0.6801007556675063,
"repo_name": "comptelfwd/dcos-commons",
"id": "3cd9ab3a826a0b81cbc9bd3cdbd9024738c7cc99",
"size... |
import json
import unittest
from airflow import configuration
from airflow.models.connection import Connection
from airflow.utils import db
try:
from unittest import mock
except ImportError:
try:
import mock
except ImportError:
mock = None
class TestAzureDataLakeHook(unittest.TestCase):
... | {
"content_hash": "399a56167e91699bbb4cc3168f44309a",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 87,
"avg_line_length": 47.53921568627451,
"alnum_prop": 0.6091977727366468,
"repo_name": "jgao54/airflow",
"id": "797d038b880527c2b7f1452c8d8f3394b8e4d6f2",
"size": "5664"... |
package com.intel.oap.spark.sql.execution.datasources.arrow
import java.util.concurrent.{Executors, TimeUnit}
import com.intel.oap.spark.sql.DataFrameReaderImplicits._
import com.intel.oap.spark.sql.execution.datasources.v2.arrow.{ArrowOptions, ArrowUtils}
import org.apache.spark.SparkConf
import org.apache.spark.s... | {
"content_hash": "9b93f02b21374ba605c67092f991a68b",
"timestamp": "",
"source": "github",
"line_count": 271,
"max_line_length": 101,
"avg_line_length": 41.15867158671587,
"alnum_prop": 0.6432669894208356,
"repo_name": "Intel-bigdata/OAP",
"id": "b33d4a1d32cbc66f8d99ab5cad3f35aa9da731a7",
"size": "1... |
module Framework (
-- * Generic Functions
ym,ltraverse, insertRev, reverseCompare, mergeWithoutDuplicatesBy, insertWithoutDuplicatesBy
-- * Identifiers
-- * Pretty-Printing
, PrettyPrintable(..)
-- * Counters
, UniqueM (..) -- because Data.Unique blows
, Counter
, CounterT
, CounterM
, evalCount... | {
"content_hash": "a56c90e4399e7029a8959c1703db966a",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 120,
"avg_line_length": 30.09039548022599,
"alnum_prop": 0.6301164100638378,
"repo_name": "brownplt/ovid",
"id": "a9cb444ac7eb088066aa0e62debdfe39202f98ce",
"size": "5378"... |
const version = process.env.npm_package_config_sw_version;
importScripts('/js/serviceworker-cache-polyfill.js');
const cacheNameStatic = 'jot-static-v' + version;
const cacheNameGoogleAvatar = 'jot-google-avatar-v' + version;
const currentCacheNames = [
cacheNameStatic,
cacheNameGoogleAvatar,
];
self.addEventLi... | {
"content_hash": "6a9ee87504d739d4931e7d48c11d1b8a",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 124,
"avg_line_length": 29.36842105263158,
"alnum_prop": 0.5313620071684588,
"repo_name": "lamplightdev/jot",
"id": "91df3b406d26b97853536a77e75fde3293ee96de",
"size": "33... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
<ldml>
<identity>
<version number="$Revision: 4183 $"/>
<generation date="$Date: 2009-06-15 13:12:26 -0400 (Mon, 15 Jun 2009) $"/>
<language type="de"/>
</identity>
<localeDisplayNames>
<localeDisplayPattern>
... | {
"content_hash": "2e43b4955a77c00edf3c4b15bfe61c8b",
"timestamp": "",
"source": "github",
"line_count": 3092,
"max_line_length": 200,
"avg_line_length": 42.32923673997413,
"alnum_prop": 0.6822252104949497,
"repo_name": "mbr/Babel-CLDR",
"id": "ac1f19ed938f940ee42714e83dd66de6b82bbd92",
"size": "131... |
<?php
defined('IN_IA') or exit('Access Denied');
function frame_lists(){
$data = pdo_fetchall('SELECT * FROM ' . tablename('core_menu') . ' WHERE pid = 0 ORDER BY is_system ASC, displayorder ASC, id ASC');
if(!empty($data)) {
foreach($data as &$da) {
$childs = pdo_fetchall('SELECT * FRO... | {
"content_hash": "8f19bf8b531f4cf244daee1cd2e0dcde",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 183,
"avg_line_length": 22.862745098039216,
"alnum_prop": 0.5634648370497427,
"repo_name": "shengkai86/yushungroup",
"id": "088055975da8c39c2deeefb4e9fb790247d36091",
"size... |
This is a website module for Polyfill Service. It also contains examples of using the api and rest modules.
## Routes
- `/`
- main website
- `/api/web/polyfills`
- get all polyfill metadata as json
- `/api/web/polyfill/${polyfilln=Name}`
- get a polyfill's metadata as json
- `/api/tests/test`
- run moc... | {
"content_hash": "2f47005fed01397c11a48a29ee732575",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 107,
"avg_line_length": 30.923076923076923,
"alnum_prop": 0.6865671641791045,
"repo_name": "reiniergs/polyfill-service",
"id": "2128a9b1534b7ef034586c8a99cf9413c4ec8c3b",
"... |
google-site-verification: google016eaf754d88b4a5.html | {
"content_hash": "5339ff3eaba7605e6a362805fa6869ab",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 53,
"avg_line_length": 53,
"alnum_prop": 0.9056603773584906,
"repo_name": "valix/valix.github.io",
"id": "aa6dd762eacec0e388a457d461368a0fa8ca4451",
"size": "53",
"binary"... |
import { Injectable } from '@angular/core';
import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker';
import { TranslateService } from '@ngx-translate/core';
import { ConstantsService } from 'app/core/core-services/constants.service';
import { AssignmentPollRepositoryService } from 'app/core/repositories... | {
"content_hash": "91b7ed313e5acf38c23aee569cc5cdc0",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 119,
"avg_line_length": 39.20992366412214,
"alnum_prop": 0.5575781173951134,
"repo_name": "CatoTH/OpenSlides",
"id": "35c29731a3d7ee04f9049604ee959b82e5133941",
"size": "1... |
package org.springframework.boot.devtools.restart;
import java.net.URL;
import java.net.URLClassLoader;
import java.util.Collection;
import java.util.Collections;
import java.util.concurrent.ThreadFactory;
import org.junit.After;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import org.juni... | {
"content_hash": "2269765a593e4aee14fc62fc7a11d719",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 87,
"avg_line_length": 30.31899641577061,
"alnum_prop": 0.7595460456318713,
"repo_name": "izeye/spring-boot",
"id": "0d97d5d2bd9d9d6d5c25b6544b767da27e40753b",
"size": "90... |
package com.prowidesoftware.swift.model.field;
import com.prowidesoftware.swift.model.Tag;
import com.prowidesoftware.Generated;
import com.prowidesoftware.deprecation.ProwideDeprecated;
import com.prowidesoftware.deprecation.TargetYear;
import java.io.Serializable;
import java.util.Locale;
import java.util.List;
im... | {
"content_hash": "68d36225c7b18f057fcd55c82f21ab47",
"timestamp": "",
"source": "github",
"line_count": 435,
"max_line_length": 144,
"avg_line_length": 29.347126436781608,
"alnum_prop": 0.6274479085069716,
"repo_name": "prowide/prowide-core",
"id": "22d71cb410f33550dcb09faf55962484553f716e",
"size"... |
begin
require 'rails'
require 'rails/generators/base'
require 'active_record/errors'
require 'active_record/migration'
rescue LoadError
puts 'This package requires Rails generators.'
puts 'Please run `gem install rails` first!'
exit(1)
end
| {
"content_hash": "d91ed7b470932b7ff977290d9e492501",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 49,
"avg_line_length": 25.6,
"alnum_prop": 0.7421875,
"repo_name": "carrot/hw",
"id": "bab81a0af80c528e2e95a278edb17282872f3858",
"size": "256",
"binary": false,
"copie... |
using System;
namespace xStudio.Web.Areas.HelpPage.ModelDescriptions
{
public class ParameterAnnotation
{
public Attribute AnnotationAttribute { get; set; }
public string Documentation { get; set; }
}
} | {
"content_hash": "b3ceb422ddff720e9a72f1d315d91a3d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 58,
"avg_line_length": 21.09090909090909,
"alnum_prop": 0.6939655172413793,
"repo_name": "xDevsPro/xStudio",
"id": "5be9a0697f8e9041f3c26c7ed4f3623adfecc685",
"size": "232"... |
<!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 (9-Debian) on Thu Sep 28 23:13:05 GMT 2017 -->
<title>Uses of Class dollar.java.Java9ScriptingLanguage (dollar-scripting-java-plugin 0.4.5195 API)</ti... | {
"content_hash": "9b9b730833708d5f4d7c8c40627a93a5",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 131,
"avg_line_length": 36.675496688741724,
"alnum_prop": 0.6375947995666306,
"repo_name": "sillelien/dollar",
"id": "bc4047eb0a65be5dc0401e0233d9d36ae0715f82",
"size": "5... |
namespace clang {
class CompilerInstance;
}
namespace unittest {
class ModuleInterfaceLoaderTest;
}
namespace swift {
class LangOptions;
class SearchPathOptions;
/// A ModuleLoader that runs a subordinate \c CompilerInvocation and
/// \c CompilerInstance to convert .swiftinterface files to .swiftmodule
/// files on... | {
"content_hash": "cf7d51168236251da4f85a3cb02e8144",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 79,
"avg_line_length": 40.82022471910113,
"alnum_prop": 0.7453894852738784,
"repo_name": "lorentey/swift",
"id": "07c371c43423f71d839d4fc636963ee56eebd4d4",
"size": "10479"... |
package com.google.zxing.client.android.camera;
import java.io.IOException;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.PixelFormat;
import android.graphics.Point;
import android.graphics.Rect;
import android.hardware.Camera;
import android.os.Build;
import andr... | {
"content_hash": "9ec55ae93458f9f33ba59180fe2a92dc",
"timestamp": "",
"source": "github",
"line_count": 303,
"max_line_length": 100,
"avg_line_length": 34.67326732673267,
"alnum_prop": 0.6854178564629735,
"repo_name": "barmstrong/bitcoin-android",
"id": "25067b01b16f062d08e6eff1b2fe52e07189fa1a",
"... |
import { Component, OnInit, Input } from '@angular/core';
import { Article } from '../models/article.model';
@Component({
selector: 'app-article',
templateUrl: './article.component.html',
styleUrls: ['./article.component.css']
})
export class ArticleComponent implements OnInit {
private symbols: number = 250;
... | {
"content_hash": "fb6d9f9cc86b29b0cbd13476a9c7bcd5",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 97,
"avg_line_length": 25.48,
"alnum_prop": 0.6664050235478807,
"repo_name": "stoyanov7/SoftwareUniversity",
"id": "d3fa6a9e8c9ee8d03e6892b7a4cf6bf9642e0542",
"size": "1274... |
var bidderList = [];
if(window.localStorage.storedBidderList) {
Array.prototype.push.apply(bidderList, window.localStorage.storedBidderList.split(','));
}
export default {
getInitialList: function() {
return {
bidderList: bidderList
};
},
addToArray: function(value) {
bidderList.push(value);... | {
"content_hash": "67fbba1e95f3c9e1530c1a1bc968a1c2",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 90,
"avg_line_length": 20.333333333333332,
"alnum_prop": 0.6932084309133489,
"repo_name": "williamliew/brokerApp",
"id": "587cd60cd28b6b233de27a7366461f1ea9bb4c21",
"size":... |
import { module } from 'angular';
import React from 'react';
import { react2angular } from 'react2angular';
import { Application, ManifestWriter, ConfirmationModalService } from '@spinnaker/core';
import { IKubernetesServerGroupManager } from 'kubernetes/v2/serverGroupManager';
interface IRollingRestartProps {
ap... | {
"content_hash": "24ac602aea40a7873690d971b3623758",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 92,
"avg_line_length": 30.75925925925926,
"alnum_prop": 0.7308850090307044,
"repo_name": "icfantv/deck",
"id": "389b45857b95411433cab9ae3f53678d567cdd48",
"size": "1661",
... |
package phonenumbers
import (
"fmt"
"strings"
"testing"
"github.com/keybase/client/go/kbtest"
"github.com/keybase/client/go/libkb"
"github.com/keybase/client/go/protocol/keybase1"
"github.com/stretchr/testify/require"
)
func TestSetPhoneNumber(t *testing.T) {
tc := libkb.SetupTest(t, "TestPhoneNumbers", 1)
... | {
"content_hash": "d6c0d568ad73a2bdb236fe89446f1754",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 148,
"avg_line_length": 32.08620689655172,
"alnum_prop": 0.7458355722729715,
"repo_name": "keybase/client",
"id": "dc94403dc14dfb180a97f2f6b714c28d686fdd3d",
"size": "3843... |
package ar.edu.undec.nortia.controller.view;
import ar.edu.undec.nortia.model.Archivorendicion;
import ar.edu.undec.nortia.controller.view.util.JsfUtil;
import ar.edu.undec.nortia.controller.view.util.PaginationHelper;
import ar.edu.undec.nortia.controller.ArchivorendicionFacade;
import ar.edu.undec.nortia.controller.... | {
"content_hash": "2aa9a175360fd3f45c11a234b4cb87cf",
"timestamp": "",
"source": "github",
"line_count": 593,
"max_line_length": 378,
"avg_line_length": 40.67284991568297,
"alnum_prop": 0.641485965421452,
"repo_name": "hcmaza/nortia",
"id": "6928a513bbbe599aa5223276c55478f59131dc05",
"size": "24128"... |
namespace juno {
namespace misc {
class CertificateStore {
public:
explicit CertificateStore(const wchar_t* store_name) : store_handle_() {
store_handle_ = CertOpenSystemStore(NULL, store_name);
}
CertificateStore(const char* provider, DWORD encoding, DWORD flags,
const void* param)
... | {
"content_hash": "2001e4a061997f60c7c661d16e2fd0a9",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 78,
"avg_line_length": 26.352941176470587,
"alnum_prop": 0.62890625,
"repo_name": "dacci/juno",
"id": "4587938f801563e1aca8059b326041439c43fd24",
"size": "1950",
"binary"... |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>net.martenscs.wso2.application.hello</artifactId>
<packaging>e... | {
"content_hash": "769e06139a44211b5b19d28f65f70888",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 204,
"avg_line_length": 50.72727272727273,
"alnum_prop": 0.7311827956989247,
"repo_name": "martenscs/wso2-rap",
"id": "930d62ea808051fe17b5f377891b8597576140fb",
"size": "5... |
title: State for Terraform with Google Cloud Storage (GCS)
author: Adron Hall
date: 2017-09-28 14:35:13
template: article.jade
---
**UPDATE INLINE BELOW -** ***SEPTEMBER 29, 2017***
[Article Code/Config Repository](https://github.com/Adron/terraform-gcs-state)
I've started this process by setting up two stages for ex... | {
"content_hash": "6446534007042a7dc263230f51be2fd9",
"timestamp": "",
"source": "github",
"line_count": 181,
"max_line_length": 445,
"avg_line_length": 46.29281767955801,
"alnum_prop": 0.744718940207662,
"repo_name": "Adron/adron.github.io",
"id": "8ec97fabe4b41c893c8fb43d0fa767a93ff73e09",
"size":... |
<?php
namespace Composer\Repository\Vcs;
use Composer\Config;
use Composer\IO\IOInterface;
use Composer\Util\ProcessExecutor;
use Composer\Util\Perforce;
class PerforceDriver extends VcsDriver
{
protected $depot;
protected $branch;
protected $perforce;
protected $composerInfo;
protected $composerInfoIde... | {
"content_hash": "c40d0ce0bfc79557b3efea3f1fe9d2e9",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 103,
"avg_line_length": 14.021621621621621,
"alnum_prop": 0.6985350809560524,
"repo_name": "FredFerri/FBSharedQuotes",
"id": "a72e9acc1e52b214f78dedcd0409ad228cc96d91",
"s... |
module PaozhoumoUser
module ApplicationHelper
end
end
| {
"content_hash": "3d31ff07b9b41507fb30fd87f360ea4d",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 26,
"avg_line_length": 14.5,
"alnum_prop": 0.8275862068965517,
"repo_name": "zhaoxiao10/paozhoumo-user",
"id": "33cc415617d2c0b8769170595a557094c709d994",
"size": "58",
"b... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "af2887b7fb27507357afb3dbbba8f2d1",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "d7d8e16f28c74d35ae204d4e73f0b442ca8c8bf5",
"size": "174... |
package org.ligboy.android.utils;
import android.Manifest;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.RequiresPermission;
import android.... | {
"content_hash": "03fa67ed05704dd14cf3481542242af9",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 132,
"avg_line_length": 34.9264705882353,
"alnum_prop": 0.6644210526315789,
"repo_name": "ligboy/android-utils",
"id": "22331821ac8150b94c5079d95d2d4e3cc26cfed0",
"size": ... |
package sc10dw.distributed.cw2.web;
import java.io.IOException;
import java.io.PrintWriter;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.util.ArrayList;
import java.util.List;
import javax.servlet.http.*;
import javax.servlet.ServletException... | {
"content_hash": "b9959d5084f5e8c25812f7bc75ac6997",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 109,
"avg_line_length": 37.41095890410959,
"alnum_prop": 0.6770413767850604,
"repo_name": "DonaldWhyte/distributed-systems-coursework",
"id": "a143732a3d9599a7c2004598cd2f8d5... |
/* See license.txt for terms of usage */
define([
"firebug/firefox/xpcom",
"firebug/lib/trace",
"firebug/lib/deprecated",
"firebug/js/stackFrame",
],
function(Xpcom, FBTrace, Deprecated, StackFrame) {
// ****************************************************************************************... | {
"content_hash": "a72f2f561aa0cb40e71ef39608d0ca2a",
"timestamp": "",
"source": "github",
"line_count": 473,
"max_line_length": 117,
"avg_line_length": 29.801268498942918,
"alnum_prop": 0.5683172531214529,
"repo_name": "mdks/Firebug-Mod-Element-Mover",
"id": "b2ed66a7f059497adb32766040ff9087081b7751"... |
import json
import os
import socket
from datetime import datetime, timedelta
from decimal import Decimal
from django.conf import settings
from django.core import mail
from django.core.files.storage import default_storage as storage
import jingo
import mock
import waffle
from jingo.helpers import datetime as datetime_... | {
"content_hash": "4c2ac235cd6794c90efd14e78a94820f",
"timestamp": "",
"source": "github",
"line_count": 3193,
"max_line_length": 79,
"avg_line_length": 39.00469777638585,
"alnum_prop": 0.589126559714795,
"repo_name": "Joergen/zamboni",
"id": "bd0e95026dab77e86a790c4fedae1876b310d39a",
"size": "1245... |
#import "MgLayerState.h"
@interface MgGroupLayerState : MgLayerState
@property(nonatomic, assign, getter=isPassThrough) BOOL passThrough;
@property(nonatomic, assign) BOOL flattensSublayers;
@end
| {
"content_hash": "af7c45dc4c9fd47e0a0944a308d601e2",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 68,
"avg_line_length": 20.1,
"alnum_prop": 0.8009950248756219,
"repo_name": "a2/glint",
"id": "7c4e5f7a2821c453dd44bbe845e082a4547bbf40",
"size": "1358",
"binary": false,... |
using System;
namespace SharperArchitecture.Domain.Attributes
{
public class IgnoreAttribute : Attribute
{
}
}
| {
"content_hash": "0b9aec0c0afcd8774a990326774ec78f",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 47,
"avg_line_length": 15.5,
"alnum_prop": 0.7258064516129032,
"repo_name": "maca88/PowerArhitecture",
"id": "5e957daa0615c424b5656956c2f219144cd721fd",
"size": "124",
"bi... |
/**
* Bootstrap Table Slovak translation
* Author: Jozef Dúc<jozef.d13@gmail.com>
*/
$.fn.bootstrapTable.locales['sk-SK'] = $.fn.bootstrapTable.locales['sk'] = {
formatCopyRows () {
return 'Skopírovať riadky'
},
formatPrint () {
return 'Vytlačiť'
},
formatLoadingMessage () {
return 'Prosím čak... | {
"content_hash": "05c32a4347df7d9a544beff20179009e",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 130,
"avg_line_length": 24.29126213592233,
"alnum_prop": 0.6614708233413269,
"repo_name": "wenzhixin/bootstrap-table",
"id": "5d413fc927fa9a674eaf9d8ddc9308583f35bf2b",
"s... |
import random
import string
def random_string_simple(maxlen):
symbols = string.ascii_letters + string.digits + ' '*13 + '-'*3 + '_'*3
# + "'"*3
return ''.join([random.choice(symbols) for i in range(random.randrange(maxlen))])
def random_username(prefix, maxlen):
symbols = string.... | {
"content_hash": "e93c61b661ce62f4a0f0e12856302a9b",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 130,
"avg_line_length": 39.629629629629626,
"alnum_prop": 0.6728971962616822,
"repo_name": "Droriel/python_training_mantis",
"id": "49982d7f9a346eaf10b4ca2df13b22c7c4d82b42",... |
@interface ViewController ()
@end
@implementation ViewController
#pragma mark - Lifecycle
- (void)viewDidLoad {
[super viewDidLoad];
self.title = @"Example";
self.edgesForExtendedLayout = UIRectEdgeNone;
self.view.backgroundColor = [UIColor whiteColor];
UIButton *objectivecButton = [UIB... | {
"content_hash": "22f000f7d0e1945695f6a1873fe41baf",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 114,
"avg_line_length": 37.30769230769231,
"alnum_prop": 0.7580756013745704,
"repo_name": "lszzy/FWDebug",
"id": "e54ef3250edf622358f7fb995b3a166b2e322013",
"size": "1676",... |
JSONEventCalendar
=================
Description
-----------
JSONEventCalendar is jQuery plugin to create calendar which shows events in JSON format.
Each event has element like: title, date and time, type, link and more.
You can set own date format to show on list of events, choose colors of events and more - check ... | {
"content_hash": "57f5452acd570b7de0e2df77d050fee9",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 109,
"avg_line_length": 21.782608695652176,
"alnum_prop": 0.6959414504324684,
"repo_name": "dszymczuk/JSONEventCalendar",
"id": "a1052244ded19f86f85960ede0b9433b02f8d582",
... |
"""
Extra friendly XML node API for Python
"""
from amara import Error
from amara.lib.util import set_namespaces
from amara import tree
def parse(obj, uri=None, entity_factory=None, standalone=False, validate=False, prefixes=None, model=None):
if model:
entity_factory = model.clone
if not entity_facto... | {
"content_hash": "b4db3ca4abd48a7af89354e91dcf93b4",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 107,
"avg_line_length": 28.2,
"alnum_prop": 0.6494427558257345,
"repo_name": "zepheira/amara",
"id": "be08e9362b9900fb5c56dadf1d6ee9715eb171a6",
"size": "1089",
"binary":... |
var width;
var height;
var layoutValue=0;
var canDescend=false;
$(document).ready(function() {
$.getJSON('data.json', function(JSON) {
var units = "USD";
var chartElement = $("#loanFlowChart");
var margin = {top: 10, right: 10, bottom: 10, left: 10};
width = chartElement.width();
height = chartEleme... | {
"content_hash": "41e1bb45dc349e7b5bee725ef049e349",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 105,
"avg_line_length": 26.149253731343283,
"alnum_prop": 0.594558599695586,
"repo_name": "fdurant/fdurant_github_io_source",
"id": "d6a4642d7a269e891789a2b516ecf26e6d04a455... |
package org.ow2.contrail.common.implementation.ovf;
import java.util.ArrayList;
import java.util.Collection;
import javax.xml.namespace.QName;
import javax.xml.stream.XMLEventReader;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.XMLEvent;
import org.ow2.contrail.common.implementation.app... | {
"content_hash": "1226a947df7d8dace78b93f4ae13d447",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 101,
"avg_line_length": 22.370786516853933,
"alnum_prop": 0.6976393771973882,
"repo_name": "gaetanofan/ovf-toolkit",
"id": "94d627b6ed8aeafd87daa99b15c5866f981df800",
"size... |
<?php
/**
* TOP API: ecs.aliyuncs.com.ModifyInstanceAttribute.2014-05-26 request
*
* @author auto create
* @since 1.0, 2014-09-13 16:51:05
*/
class Ecs20140526ModifyInstanceAttributeRequest
{
/**
* 实例说明
**/
private $description;
/**
* 表示实例的主机名。必须以字母开始,并只可以含有字母、“-”字符。Windows系统最长为15字节,Linux系统最长为30字节
... | {
"content_hash": "8f67eb85ad24dc0dbc98b0f03bd4911b",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 71,
"avg_line_length": 17.150442477876105,
"alnum_prop": 0.6769865841073271,
"repo_name": "zhangbobell/mallshop",
"id": "de6c8daef15ab75ebb8b2a5fc63858a0c275dab5",
"size":... |
/**
This file brings in the functionality to read Domain schema and give us the Domain objects. Interceptors are also defined here.
*/
function Database(callback) {
var _this = this;
var path = require('path');
var fs = require('fs');
var mongoose = require("mongoose");
this.connection = mongoose... | {
"content_hash": "923f24d6411be81e3ad8eda373d35362",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 139,
"avg_line_length": 39.72727272727273,
"alnum_prop": 0.6411899313501144,
"repo_name": "sahilchitkara/my-todo",
"id": "4b1093645c830af06ceb1c59e254b78a106b69f7",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.googlecode... | {
"content_hash": "1595cba001515abadad7273ae030f556",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 98,
"avg_line_length": 28.546666666666667,
"alnum_prop": 0.5441382531527323,
"repo_name": "fredsa/playn-samples",
"id": "cbdc77a15e8472d712f86ecd54c6b961857e6b7d",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "488896b269006fb9a6f7c2b476c3078c",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 616,
"avg_line_length": 53.35159817351598,
"alnum_prop": 0.7001882916809312,
"repo_name": "sensorberg-dev/windows10-sdk",
"id": "f720bd1943acc191151315c5eee955d85ff775be",
... |
package rds_region
import (
"fmt"
"testing"
)
func TestDescribeAbnormalDBInstances(t *testing.T) {
var req DescribeAbnormalDBInstancesRequest
req.Init()
req.SetFormat("JSON")
req.SetRegionId("cn-shenzhen")
var accessId = "Ie65kUInu5GeAsma"
var accessSecret = "8cCqoxdYU9zKUihwXFXiN1HEACBDwB"
resp, err := Desc... | {
"content_hash": "b1cc8c18cf99e2b14860c5ba5109fc71",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 71,
"avg_line_length": 23.4,
"alnum_prop": 0.7329059829059829,
"repo_name": "cklxmu/aliyun-openapi-go-sdk",
"id": "61cf6e3e5b64eb06b524e9b8ee43f500a660f2b0",
"size": "468",... |
@implementation LTUMetaData
- (id)initWithValue:(NSString *)value forKey:(NSString *)key andOrdering:(NSInteger)ordering
{
if ((self = [self init]))
{
// Set Defaults for optional params
self.ordering = ordering;
self.value = value;
self.key = key;
}
return self;
}
- (id)initWithAttrib... | {
"content_hash": "573b7d1e171a6332b79ec0ce2f65c19d",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 92,
"avg_line_length": 24.242424242424242,
"alnum_prop": 0.62375,
"repo_name": "ltutech/ltucloud-ios-sdk",
"id": "7463d0b731bd4ff296c003324d707389f7ddb83e",
"size": "955",
... |
from azure.identity import DefaultAzureCredential
from azure.mgmt.costmanagement import CostManagementClient
"""
# PREREQUISITES
pip install azure-identity
pip install azure-mgmt-costmanagement
# USAGE
python billing_profile_query_mca.py
Before run the sample, please set the values of the client ID, t... | {
"content_hash": "54f44eed40ef85d490a6e28f8a703505",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 148,
"avg_line_length": 37.07272727272727,
"alnum_prop": 0.5007356547327121,
"repo_name": "Azure/azure-sdk-for-python",
"id": "57d7ec2310fa045616235bcf92a4cc0738da1cef",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<Tokens version="1.0">
<File path="Classes/UCloudGPUImageBoxBlurFilter.html">
<Token>
<TokenIdentifier>//apple_ref/occ/cl/UCloudGPUImageBoxBlurFilter</TokenIdentifier>
<Abstract type="html">A hardware-accelerated box blur of an image</Abstract>
<DeclaredIn>UCloudGPU... | {
"content_hash": "942f31afa7213e2d37cb5696a5ebd800",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 84,
"avg_line_length": 24.88888888888889,
"alnum_prop": 0.6607142857142857,
"repo_name": "umdk/UCDLive_iOS",
"id": "8ef476fb61279762b2b40d7b535c39655ab5b9ba",
"size": "448"... |
<?php
namespace frontend\modules\message\models\search;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use frontend\modules\message\models\Messages;
/**
* MessagesSearch represents the model behind the search form about `frontend\modules\message\models\Messages`.
*/
class MessagesSearch extends Mess... | {
"content_hash": "a39239c783a781b8e3ac8b6a23513ebf",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 111,
"avg_line_length": 26.04,
"alnum_prop": 0.5555555555555556,
"repo_name": "gudezi/yiiBaseAdvanced",
"id": "2f151d0d2ce135dea1080481cd0e1cbe0f88656d",
"size": "1953",
... |
<?php
class Mutex
{
var $id;
var $sem_id;
var $is_acquired = false;
var $is_windows = false;
var $filename = '';
var $filepointer;
function __construct()
{
if(substr(PHP_OS, 0, 3) == 'WIN')
$this->is_windows = true;
... | {
"content_hash": "267257ad1ff2f42ff5d6bb68c7a5fda0",
"timestamp": "",
"source": "github",
"line_count": 111,
"max_line_length": 81,
"avg_line_length": 24.82882882882883,
"alnum_prop": 0.36502177068214803,
"repo_name": "EDortta/YeAPF",
"id": "d11d4ec892dbbcc9cb8cf997266ac57faa81c841",
"size": "2942"... |
<!doctype html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<!... | {
"content_hash": "816fc02dec2a004aa00242d78871decc",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 120,
"avg_line_length": 30.6231884057971,
"alnum_prop": 0.575958353052532,
"repo_name": "harshnisar/ml-india",
"id": "16709033b983f02149e23ae0357daca380ed1b03",
"size": "21... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "f2f030b3da0703a21c7fb5de0c832b59",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "763a2aa0d8a3b8bf1f619ea3a3e870cf7b99bc49",
"size": "20... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.