text stringlengths 2 1.04M | meta dict |
|---|---|
type IEnumerable<T> = Ix.Enumerable<T>;
namespace Ix.DOM
{
type IArrayLike<T> = { [index: number]: T, length: number };
namespace Util
{
export function toEnumerable<T>(arrayLike: IArrayLike<T>): IEnumerable<T>
{
return Ix.Enumerable.fromArray<T>(arrayLike as T[]);
}
... | {
"content_hash": "39706658f82f3f4b1693a5a3b44ae2aa",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 157,
"avg_line_length": 39.879629629629626,
"alnum_prop": 0.6258416531228234,
"repo_name": "ichpuchtli/Ix-DOM",
"id": "f9e45ce4d404da5c7bda3fcd6345b477807d14ab",
"size": "... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "81a5067a30eb524f36eac1522cca64e5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "14a98863529fad8a639250c43a83a8a1547d09d9",
"size": "18... |
package ca.uhn.fhir.jpa.bulk.export.job;
import ca.uhn.fhir.jpa.batch.config.BatchConstants;
import org.slf4j.Logger;
import org.springframework.batch.core.JobParameters;
import org.springframework.batch.core.JobParametersInvalidException;
import org.springframework.batch.core.JobParametersValidator;
import static ... | {
"content_hash": "cad30a42a6cdb034f1b0fe6b012427e4",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 151,
"avg_line_length": 42.08,
"alnum_prop": 0.8079847908745247,
"repo_name": "jamesagnew/hapi-fhir",
"id": "c7ccefeee021973626acb01e1e6beecf58c9148f",
"size": "1711",
"b... |
using System;
namespace Zarf.Metadata.DataAnnotations
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false)]
public class ColumnAttribute : Attribute
{
public string Name { get; }
public ColumnAttribute(string name)
{
Name = name;... | {
"content_hash": "f86091dd5ed1b1de29a32b45d57d4bac",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 95,
"avg_line_length": 22.6,
"alnum_prop": 0.640117994100295,
"repo_name": "HastenS/zarf",
"id": "dc0e61df760e744bc8609677a70ece965b3e0aa4",
"size": "341",
"binary": fals... |
package org.apache.carbondata.core.indexstore;
/**
* Holds the metadata info of the block.
*/
public class BlockMetaInfo {
/**
* HDFS locations of a block
*/
private String[] locationInfo;
/**
* Size of block
*/
private long size;
public BlockMetaInfo(String[] locationInfo, long size) {
... | {
"content_hash": "83290cee7f6dceee269e7f9883fce806",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 58,
"avg_line_length": 15.181818181818182,
"alnum_prop": 0.6447105788423154,
"repo_name": "jackylk/incubator-carbondata",
"id": "a9e61848d5cb426aa0ec0bad03eb280e444a50ce",
... |
MAKEFLAGS=-r
# The source directory tree.
srcdir := ..
abs_srcdir := $(abspath $(srcdir))
# The name of the builddir.
builddir_name ?= .
# The V=1 flag on command line makes us verbosely print command lines.
ifdef V
quiet=
else
quiet=quiet_
endif
# Specify BUILDTYPE=Release on the command line for a release bui... | {
"content_hash": "00acf819170ef162a77ca56f00dcaa94",
"timestamp": "",
"source": "github",
"line_count": 349,
"max_line_length": 766,
"avg_line_length": 39.07736389684814,
"alnum_prop": 0.6532482768734419,
"repo_name": "michel/css-challenge",
"id": "71510a21da7d473c58f66be20ccac168eb714eaa",
"size":... |
from datetime import datetime, date, time, timedelta
from fractions import Fraction
from logging import warning
from json import JSONEncoder
from sys import version
from decimal import Decimal
from .utils import hashodict, call_with_optional_kwargs, NoPandasException, NoNumpyException
class TricksEncoder(JSONEncoder)... | {
"content_hash": "6ce554e6bf343dfbb0f881f97d6650dc",
"timestamp": "",
"source": "github",
"line_count": 310,
"max_line_length": 192,
"avg_line_length": 34.906451612903226,
"alnum_prop": 0.6869050919508364,
"repo_name": "pannal/Subliminal.bundle",
"id": "386e690e519ea42b87210e54eb3092dd3982584a",
"s... |
import Ember from 'ember';
import StyleBindingsMixin from './style-bindings';
import BodyEventListener from './body-event-listener';
export default Ember.Mixin.create(
StyleBindingsMixin,
BodyEventListener,
{
layoutName: 'popover',
classNames: ['popover'],
classNameBindings: ['isShowing:in', 'fadeEnabled:fa... | {
"content_hash": "9cd5cb1b103e032849b0bc69bc7203d6",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 88,
"avg_line_length": 30.5893536121673,
"alnum_prop": 0.5910503418272218,
"repo_name": "Addepar/ember-widgets-addon",
"id": "19a8c37662a23b20b852109d0f9f74e723d857a0",
"s... |
<!DOCTYPE html>
<html>
<head>
<title>Capture the Flag</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,700,100' rel=... | {
"content_hash": "55c64da492dc171768320a429d054e66",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 137,
"avg_line_length": 22.15695067264574,
"alnum_prop": 0.6069621534102408,
"repo_name": "Bambusa6226/ftclist",
"id": "9a5523ad5bc5d55a8df148bb030d8fbfe8a6bdeb",
"size": ... |
package libkbfs
import (
"context"
"fmt"
"reflect"
"strings"
"time"
"github.com/keybase/client/go/protocol/keybase1"
"github.com/keybase/go-codec/codec"
"github.com/keybase/kbfs/kbfscodec"
"github.com/keybase/kbfs/kbfscrypto"
"github.com/keybase/kbfs/kbfsedits"
"github.com/keybase/kbfs/kbfsmd"
"github.com... | {
"content_hash": "bec5f6714169cb0e4d5b0e240d85e45a",
"timestamp": "",
"source": "github",
"line_count": 1585,
"max_line_length": 84,
"avg_line_length": 27.50725552050473,
"alnum_prop": 0.7049702974838873,
"repo_name": "keybase/kbfs",
"id": "409681c61d5b77cd581d4ef4e3d98ff1a21e4081",
"size": "43750"... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Server.IntegrationTesting;
public static class Tfm
{
public const string Net462 = "net462";
public const string NetCoreApp20 = "netcoreapp2.0... | {
"content_hash": "a506ec14685f64af1f9acc09cb525cb4",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 77,
"avg_line_length": 37.56521739130435,
"alnum_prop": 0.7210648148148148,
"repo_name": "aspnet/AspNetCore",
"id": "9d08a3bcae9e01ff9f12f2b2d8aedd836ffe74e7",
"size": "866... |
require "support/shared/integration/integration_helper"
require "support/shared/context/config"
require "chef/knife/cookbook_upload"
describe "knife cookbook upload", :workstation do
include IntegrationSupport
include KnifeSupport
include_context "default config options"
let (:cb_dir) { "#{@repository_dir}/c... | {
"content_hash": "672c58a397161c7b6859bce4093c56c0",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 103,
"avg_line_length": 37.67567567567568,
"alnum_prop": 0.6025824964131994,
"repo_name": "Tensibai/chef",
"id": "7e98b6ea64cdc054bddba47b494841630becc2e6",
"size": "3431",... |
class PlayScreen final : public State {
public:
explicit PlayScreen(sf::RenderWindow& window);
void handleEvent(sf::Event& e) override;
void update(float delta) override;
void draw(sf::RenderWindow& window) override;
void updateOverlay();
private:
Camera _camera;
Map _map; // Testing (shoul... | {
"content_hash": "ef8a510bd53839b3d8d20d59de6949d5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 50,
"avg_line_length": 29.2,
"alnum_prop": 0.6917808219178082,
"repo_name": "hanselrd/bubble-warrior-adventures",
"id": "e31967aa447d8431021f99502d71b06be1351c8e",
"size": ... |
import Ember from 'ember';
import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
import registerI18n from '../../../support/register-i18n';
const { Object: EmberObject, run } = Ember;
moduleForComponent('form-fields/checkbox-group', 'Integration | Component | {{form-fie... | {
"content_hash": "2649e4dc72c80b8ab1489b0d03c655d4",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 110,
"avg_line_length": 38.34782608695652,
"alnum_prop": 0.6836734693877551,
"repo_name": "martndemus/ember-form-for",
"id": "7654183c2baccc485b4125865ed6f725003b5eb2",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licen... | {
"content_hash": "f053fff49b2393cb6b7133927e1cc6d3",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 407,
"avg_line_length": 56.91428571428571,
"alnum_prop": 0.6852409638554217,
"repo_name": "SrdjanCosicPrica/Google-Maps-Simple-Guide",
"id": "bd4792140914d1d95a51abd93e00ab2d... |
<?php namespace JetMinds\Job\Controllers;
use Flash;
use BackendMenu;
use Backend\Classes\Controller;
use JetMinds\Job\Models\Category;
/**
* Categories Back-end Controller
*/
class Categories extends Controller
{
public $implement = [
'Backend.Behaviors.FormController',
'Backend.Behaviors.ListC... | {
"content_hash": "a3e26bb86340f09ecc6aba52e7462ce1",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 93,
"avg_line_length": 25.229166666666668,
"alnum_prop": 0.6118909991742362,
"repo_name": "jetmindsgroup/job-plugin",
"id": "0b6379fec6e4e960338697a2f8c94d6b5d13f50d",
"siz... |
package gui.transaction;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;
import java.awt.Insets;
import java.awt.Toolkit;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing... | {
"content_hash": "1e1a89edc932d1edb815c107f41e778f",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 103,
"avg_line_length": 29.477124183006534,
"alnum_prop": 0.7252771618625277,
"repo_name": "Bitcoinsulting/Qora",
"id": "fa6348bb1fb0ac20cce374dc03dbaa25045202cd",
"size":... |
exclude :test_establish_connection_using_3_levels_config, 'tries to load SQLite3 driver'
exclude :test_establish_connection_using_3_levels_config_with_shards_and_replica, 'tries to load SQLite3 driver'
exclude :test_establishing_a_connection_in_connected_to_block_uses_current_role_and_shard, 'tries to load SQLite3 driv... | {
"content_hash": "73d06e4bbc939432854c067a6041c484",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 121,
"avg_line_length": 96.3,
"alnum_prop": 0.8110072689511942,
"repo_name": "bruceadams/activerecord-jdbc-adapter",
"id": "40e0d744f7fa6fac9c48fba310f6a5db23dd9e01",
"size... |
require 'spec_helper'
require 'json'
describe 'an API token' do
include Rack::Test::Methods
context 'with a valid user' do
before :all do
new_database
end
it 'requires authentication' do
post_json '/token/admin', '{}'
expect(last_response.status).to eq(401)
end
it 'returns ... | {
"content_hash": "2b71b3b7139a1e0317201e35dde26cad",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 90,
"avg_line_length": 31.051546391752577,
"alnum_prop": 0.5517928286852589,
"repo_name": "Cyclid/Cyclid",
"id": "da5ba57200cd90c4c4bb9136f367a2ace30240a8",
"size": "3042",... |
package de.hshannover.f4.trust.ifmapj.metadata;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.StringWriter;
import java.util.Arrays;
import java.util.Iterator;
import javax.xml.XMLConstants;
import javax.xml.namespace.NamespaceContext;
import javax.xml.transform.OutputKeys... | {
"content_hash": "fc100106e9961fd3bcf1d870152fdd4d",
"timestamp": "",
"source": "github",
"line_count": 279,
"max_line_length": 98,
"avg_line_length": 29.82078853046595,
"alnum_prop": 0.7409855769230769,
"repo_name": "trustathsh/ifmapj",
"id": "aee2e9c2438cdb357ded5ff56993446349622d23",
"size": "97... |
Crypt Component
===============
The `Crypt` component provides methods for generating random numbers and strings, also, password hashing and password
hash verification and methods for encryption and decryption of strings. Internally it uses cryptographically secure methods.
**Disclaimer:**
The library was not reviewe... | {
"content_hash": "f0517fcb0432eefb48911da97123d947",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 232,
"avg_line_length": 32.38260869565217,
"alnum_prop": 0.7306659505907627,
"repo_name": "Webiny/Framework",
"id": "d0d0f1b399d9700a8dd24b52c583ba2c70a8ff15",
"size": "37... |
package com.stratio.sparta.serving.api.helpers
import akka.actor.{ActorRef, ActorSystem, Props}
import akka.event.slf4j.SLF4JLogging
import akka.io.IO
import com.stratio.sparta.driver.service.StreamingContextService
import com.stratio.sparta.serving.api.actor._
import com.stratio.sparta.serving.core.actor.StatusActo... | {
"content_hash": "3632a631b8ebb5a97d9ea89b019420ed",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 117,
"avg_line_length": 41.89473684210526,
"alnum_prop": 0.7344221105527639,
"repo_name": "diegohurtado/sparta",
"id": "8a52a8e2f69f0741e663b8c4373114394204585f",
"size": "... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "cea63c751ec8d497a14b84541f2827d5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "54b87d16a82d255a52f5718b15e4a5966d24de35",
"size": "19... |
<?php
namespace core\http;
/**
* HTTPSession - not yet implemented
*
* @author user
*/
class HTTPSession {
public function get($key) {
$session = $_SESSION;
return $session[$key];
}
public function set($key, $value) {
$_SESSION[$key] = $value;
}
}
| {
"content_hash": "755a7c8a071e990171d8422beb6899d7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 39,
"avg_line_length": 12.5,
"alnum_prop": 0.5466666666666666,
"repo_name": "dmeikle/gossamerCMS-v3",
"id": "35e6e8ff3315da13874ec9b1ac72028b6e9cc6ed",
"size": "576",
"bi... |
var clickoutside = {
bind (el, binding, vnode) {
binding._documentHandler = function (e) {
if (el.contains(e.target)) {
return false;
}
if (binding.expression) {
vnode.context[binding.expression]();
}
};
document... | {
"content_hash": "9710b4de9a5ffab39823320d1478c50a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 25.80952380952381,
"alnum_prop": 0.540590405904059,
"repo_name": "qinshenxue/vui",
"id": "df24db727b3cd9d0e3ed4ae4a2111680966e1450",
"size": "542",
... |
var area = getArea();
var kanaHandler = getKanaHandler();
var results = JSON.parse(sessionStorage.getItem(area+"-results"));
$("#kana-back-button").click(function(){
window.location.replace(ROOT_DIR+"kana/"+area+"/trainer");
});
// sort results array by percentage correct ASC
results.sort(function(a,b){
return a.... | {
"content_hash": "31a0e43a9d671cbd3eb8bbb50a56a824",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 217,
"avg_line_length": 36.6764705882353,
"alnum_prop": 0.6696070569366479,
"repo_name": "stoeffu/hiragana.ch",
"id": "a39380cd7527fb3ad885551d856467da06a838a3",
"size": "1... |
//
// FlickrExport.cs
//
// Author:
// Lorenzo Milesi <maxxer@yetopen.it>
// Stephane Delcroix <stephane@delcroix.org>
//
// Copyright (C) 2008-2009 Novell, Inc.
// Copyright (C) 2008-2009 Lorenzo Milesi
// Copyright (C) 2008-2009 Stephane Delcroix
//
// Permission is hereby granted, free of charge, to any person o... | {
"content_hash": "d303e4e5a05bd3ef6683360467e6dfb1",
"timestamp": "",
"source": "github",
"line_count": 605,
"max_line_length": 216,
"avg_line_length": 31.644628099173552,
"alnum_prop": 0.6793940976756333,
"repo_name": "nathansamson/F-Spot-Album-Exporter",
"id": "353d94b501a84e461a8a137673f7c8fd25a6d... |
import PropTypes from 'prop-types'
import React from 'react'
import clsx from 'clsx'
import { accessor } from '../../utils/propTypes'
import EventWrapper from './EventWrapper'
import EventContainerWrapper from './EventContainerWrapper'
import WeekWrapper from './WeekWrapper'
import { mergeComponents } from './common'
... | {
"content_hash": "6afd08d4aa16afc50b30db66d9faf591",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 103,
"avg_line_length": 32.857142857142854,
"alnum_prop": 0.6682608695652174,
"repo_name": "TeaBough/react-big-calendar",
"id": "f2b7eeb5fcb7be16bd1ba0e072a26d1cbc5569d8",
... |
using namespace std;
using namespace TgBot;
bool sigintGot = false;
int main() {
Bot bot("PLACE YOUR TOKEN HERE");
// Thanks Pietro Falessi for code
InlineKeyboardMarkup::Ptr keyboard(new InlineKeyboardMarkup);
vector<InlineKeyboardButton::Ptr> row0;
InlineKeyboardButton::Ptr checkButton(new InlineKeyboardButto... | {
"content_hash": "4308dfabc9961819344068b235b2e51f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 96,
"avg_line_length": 29.26530612244898,
"alnum_prop": 0.6820083682008368,
"repo_name": "ZimmSebas/SecretHitlerBot",
"id": "440f965bafc4b8f83a4acf482eeb095f2c912929",
"siz... |
const DOMNode = require('../../../../../lib/dom').DOMNode;
const Button = require('../../../../../lib/components/input/Button').Button;
const Toolbar = require('../../../../../lib/components/Toolbar').Toolbar;
const tabIndex = require('../../../../tabIndex');
exports.ToolbarTop = class extends Toolbar {
const... | {
"content_hash": "b7b4a519f5e88c244980db3c6bf11b81",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 78,
"avg_line_length": 45.436974789915965,
"alnum_prop": 0.3813574995376364,
"repo_name": "ArnoVanDerVegt/wheel",
"id": "8e129dd607ae10d34d8d3e8976e31f2e4312b511",
"size":... |
if(AOM_BUILD_CMAKE_TOOLCHAINS_ARM64_MINGW_GCC_CMAKE_)
return()
endif() # AOM_BUILD_CMAKE_TOOLCHAINS_ARM64_MINGW_GCC_CMAKE_
set(AOM_BUILD_CMAKE_TOOLCHAINS_ARM64_MINGW_GCC_CMAKE_ 1)
set(CMAKE_SYSTEM_PROCESSOR "arm64")
set(CMAKE_SYSTEM_NAME "Windows")
if("${CROSS}" STREQUAL "")
set(CROSS aarch64-w64-mingw32-)
endif(... | {
"content_hash": "9787f9eaff254f0f30c31637def31c79",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 59,
"avg_line_length": 31.210526315789473,
"alnum_prop": 0.7453625632377741,
"repo_name": "endlessm/chromium-browser",
"id": "a8e15cb3171fb82672a47bc5834d502ee98625a5",
"si... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#3F51B5</color>
<color name="colorPrimaryDark">#303F9F</color>
<color name="colorAccent">#FF4081</color>
<color name="background">#E5E5E5</color>
</resources>
| {
"content_hash": "7552e3ed725700fae2cc7d2f2c0c800f",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 50,
"avg_line_length": 36.142857142857146,
"alnum_prop": 0.6758893280632411,
"repo_name": "REBOOTERS/UltimateRefreshView",
"id": "e79ace4d1086c8f5d7dea214547c830220069cd8",
... |
FROM balenalib/var-som-mx6-debian:buster-build
# A few reasons for installing distribution-provided OpenJDK:
#
# 1. Oracle. Licensing prevents us from redistributing the official JDK.
#
# 2. Compiling OpenJDK also requires the JDK to be installed, and it gets
# really hairy.
#
# For some sample build times,... | {
"content_hash": "83578fb9b1f68ab9f122d1c3199b8213",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 679,
"avg_line_length": 50.986666666666665,
"alnum_prop": 0.7154811715481172,
"repo_name": "nghiant2710/base-images",
"id": "8bff105c2ce6296727d375131767c3fc1d5c9b36",
"siz... |
package com.moosader.entities;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.math.Vector2;
public class Bullet extends EntityBase {
/*
public Sprite m_sprite;
public TextureRegion m_region;
public Texture m_texture;
protected Vector2 m_coord;
protected Vector2 m_dimen;
*/
protected f... | {
"content_hash": "2601c165958de94bffa8f1f2a5426259",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 69,
"avg_line_length": 22.127167630057805,
"alnum_prop": 0.6695402298850575,
"repo_name": "Moosader/JAM-and-RAM",
"id": "1490e96a8494b3d3676471b0f17257f7740df641",
"size":... |
git add .
git commit -am "Deploy in Heroku"
git push heroku master | {
"content_hash": "166955c8c6e5b845c3faab3824ba2e50",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 33,
"avg_line_length": 22,
"alnum_prop": 0.7575757575757576,
"repo_name": "Ushelets/pepelats-vue",
"id": "0dd6f2a9a2c022b9dd6099a3325ce2f45f228dd4",
"size": "86",
"binary"... |
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
Copyright (C) 2007 Allen Kuo
This file is part of QuantLib, a free-software/open-source library
for financial quantitative analysts and developers - http://quantlib.org/
QuantLib is free software: you can redistribute it and/or mo... | {
"content_hash": "67502f2d71bfefe378102c6a670b6217",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 79,
"avg_line_length": 33.58227848101266,
"alnum_prop": 0.5959291368262345,
"repo_name": "applehackfoxus/Quantum-Trading",
"id": "47ea5e5a0f966b401e382b6afcd67a246704aa76",
... |
using System;
using System.Collections.Generic;
using Mono.Facebook;
namespace Mono.Facebook.Test
{
class GetEvents
{
static void Main(string[] args)
{
// create session
FacebookSession session = new FacebookSession("ca9511b32569d823f1d3a942b31c6c84", "61f4712317fb7a2d12581f523c01fe71");
// create toke... | {
"content_hash": "dcae203348e7051c00bf3b10a478841a",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 121,
"avg_line_length": 26.466666666666665,
"alnum_prop": 0.7065491183879093,
"repo_name": "mono/facebook-sharp",
"id": "4c0556edcf5370445863bbc0aa1f0e26726855b1",
"size": ... |
function tabIndicator() {
// TODO: relocate indicator when tab activates
} | {
"content_hash": "8492898963df733ed23ea70ce9f85334",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 50,
"avg_line_length": 26,
"alnum_prop": 0.7307692307692307,
"repo_name": "YangMann/Paper",
"id": "399f311218f6b08645a25630d40785055b5be6f4",
"size": "78",
"binary": false... |
package com.rs.game.player.dialogues;
import com.rs.cache.loaders.NPCDefinitions;
import com.rs.game.player.actions.Slayer;
import com.rs.game.player.actions.Slayer.Master;
import com.rs.game.player.actions.Slayer.SlayerTask;
import com.rs.utils.ShopsHandler;
public class SlayerMaster extends Dialogue {
private int... | {
"content_hash": "2b8830f4bb54566c9f693060214e1eec",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 86,
"avg_line_length": 30.786259541984734,
"alnum_prop": 0.6109595834366477,
"repo_name": "calvinlotsberg/OurScape",
"id": "7a796c14dc0083b497a8eed1acd263a8a64cc51f",
"siz... |
Table of contents:
* [ini_read](#ini_read)
* [ini_read_file](#ini_read_file)
* [ini_open_file](#ini_open_file)
* [ini_close_file](#ini_close_file)
* [ini_write_section](#ini_write_section)
* [ini_verify_utf8](#ini_verify_utf8)
* [ini_write_name_value](#ini_write_name_value)
* [ini_write_comment](#ini_write_comment)
##... | {
"content_hash": "31e803b92e9cd74cddf27b641f551899",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 135,
"avg_line_length": 22.462962962962962,
"alnum_prop": 0.7065127782357791,
"repo_name": "kloppstock/IniParser",
"id": "dbce2235e40e58329a5df0f11d8883a62eb4059b",
"size"... |
package org.apache.camel.test.infra.nsq.services;
import org.apache.camel.test.infra.common.services.ContainerService;
import org.apache.camel.test.infra.nsq.common.NsqProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.testcontainers.containers.FixedHostPortGenericContainer;
import org.te... | {
"content_hash": "2b73c44f606e1849106e9c6951a64d53",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 117,
"avg_line_length": 37.9080459770115,
"alnum_prop": 0.6913280776228017,
"repo_name": "pmoerenhout/camel",
"id": "e4ceb756427ba168bbc48b1eb33abc1157e26f07",
"size": "410... |
package com.ycsoft.report.component.system;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Component;
import com.ycsoft.beans.system.SDataRightType;
import com.ycsoft.beans.system.SOptr;
import com.ycsof... | {
"content_hash": "6e5ec9585dbd460861a12ebe46f54da6",
"timestamp": "",
"source": "github",
"line_count": 322,
"max_line_length": 118,
"avg_line_length": 29.114906832298136,
"alnum_prop": 0.7088,
"repo_name": "leopardoooo/cambodia",
"id": "34eb75a2a88b019dd9cc5839ad3fae7230c8ec30",
"size": "9641",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Moderne JavaScript Entwicklung (Teil I)</title>
<meta name="author" content="Thomas Pasch">
<meta name="description" content="Moderne Browser One Page Applications entwickeln Teil 1 - Grundlagen und Setup">
<meta name="apple-mobile-web-app-capable" conten... | {
"content_hash": "77b07c138496a36accb01c3e16ec8fde",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 142,
"avg_line_length": 33,
"alnum_prop": 0.6872498570611778,
"repo_name": "aanno/presentation-js1",
"id": "019343ea609f9074979ee668b493d4f23b6ee0f6",
"size": "1756",
"bi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SlimDX.Direct3D9;
using mp.pddn;
using VVVV.PluginInterfaces.V2;
using VVVV.SkeletonInterfaces;
using VVVV.Utils.VMath;
namespace mp.essentials.Nodes.Skele... | {
"content_hash": "eccd5c52fc77c7ee2e4a408f42f5d086",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 118,
"avg_line_length": 37.21875,
"alnum_prop": 0.482367758186398,
"repo_name": "microdee/mp.essentials",
"id": "ec2ae7cbb4f17e2f1d150c9407698f8fc5518a3a",
"size": "4766",... |
//#include"hello.h"
// #include "hello_prime.h"
#include"hello_string.h"
// struct sdshdr{
// unsigned int len;
// unsigned int free;
// char buf[];//zero length array,only allowd in struct's last element.
// };
int main()
{
// printf("sizeof(struct sdshdr)=%zu\n",sizeof(struct sdshdr));... | {
"content_hash": "a12402bfac0db35ce53fbb4dc9379c96",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 75,
"avg_line_length": 20.210526315789473,
"alnum_prop": 0.5755208333333334,
"repo_name": "nilyang/redis-tdd-annotation",
"id": "6f775ba1b1c45d2471a0a3faabcb10b44f71e9e2",
... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3ec1d41bc1a31b1c74b162c35eb48365",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "7a394cbef4f4c298901202ff123e443b6ab12833",
"size": "19... |
package main
import (
"flag"
"fmt"
"image"
"image/color"
"image/png"
"math"
"os"
)
// Reading files requires checking most calls for errors.
// This helper will streamline our error checks below.
func check(e error) {
if e != nil {
fmt.Println(e)
}
}
func FileNotFound(e error) {
if e != nil {
fmt.Print... | {
"content_hash": "5f7ba508e70913bf6d7cbc21bdde3b26",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 98,
"avg_line_length": 23.53472222222222,
"alnum_prop": 0.6491590439657716,
"repo_name": "openminder/normalmap-decompositing",
"id": "690bd4ce0c9212c11de8223c329a49bad017159... |
'use strict'
const { Path: { Line } } = require('paper')
const { Tool } = require('./tool')
const { Editor } = require('../editor')
class OutletTool extends Tool {
onMouseDown (ev) {
if (this.editor._hitTarget) {
if (this.editor.outlet) {
this.editor.outlet.remove()
}
this.editor.out... | {
"content_hash": "a0d7eb89e45894d7431635d9c94fa1e4",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 59,
"avg_line_length": 23.4,
"alnum_prop": 0.6018518518518519,
"repo_name": "mike-brown/ponds-online",
"id": "94a697d38ff021474f11acff5940e0a7e56bc854",
"size": "1404",
"... |
// Copyright 2015 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.
/**
* @fileoverview Polymer element for displaying information about a network
* in a list or summary based on ONC state properties.
*/
(function() {
... | {
"content_hash": "bfe6d3311630cc5ec21cee22870bf242",
"timestamp": "",
"source": "github",
"line_count": 122,
"max_line_length": 77,
"avg_line_length": 31.188524590163933,
"alnum_prop": 0.6654402102496715,
"repo_name": "Just-D/chromium-1",
"id": "fb668450205f30d54c8a5c683dbb03c7badc6585",
"size": "3... |
package ca.efendi.socialcomments.web.internal.portlet;
import com.liferay.portal.kernel.portlet.bridges.mvc.MVCPortlet;
import org.osgi.service.component.annotations.Component;
import javax.portlet.Portlet;
@Component(
immediate = true,
property = {
"com.liferay.portlet.css-class-wrapper=portlet-jsp",
"com.li... | {
"content_hash": "ae04795577e951c7371dbf63936be7f2",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 64,
"avg_line_length": 32.08,
"alnum_prop": 0.770573566084788,
"repo_name": "FuadEfendi/liferay-osgi",
"id": "91542a43fed792b5ee385467f366188acd758314",
"size": "802",
"b... |
class AddRestrictDeploymentOrderToProjectCiCdSettings < ActiveRecord::Migration[5.2]
DOWNTIME = false
def change
add_column :project_ci_cd_settings, :forward_deployment_enabled, :boolean
end
end
| {
"content_hash": "8dc8e70a898047acba9ca51a38802b94",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 84,
"avg_line_length": 29.428571428571427,
"alnum_prop": 0.7864077669902912,
"repo_name": "mmkassem/gitlabhq",
"id": "6a222ce8d516579a920f8a3b7a67abd51e499111",
"size": "237... |
using System;
namespace DotSpatial.Controls.Header
{
/// <summary>
/// Event args of the SelectedValueChanged event.
/// </summary>
public class SelectedValueChangedEventArgs : EventArgs
{
#region Constructors
/// <summary>
/// Initializes a new instance of t... | {
"content_hash": "b69b3e83dc6e621036d040b7bc376bef",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 96,
"avg_line_length": 25.930232558139537,
"alnum_prop": 0.5479820627802691,
"repo_name": "pergerch/DotSpatial",
"id": "63709ce191f623caa7d7a76e0cf3fa5ba9fa630a",
"size": "... |
package io.scigraph.internal.reachability;
import java.util.Collections;
import java.util.Set;
import org.neo4j.graphdb.Direction;
import org.neo4j.graphdb.Node;
import org.neo4j.graphdb.Path;
import org.neo4j.graphdb.traversal.Evaluation;
import org.neo4j.graphdb.traversal.Evaluator;
import com.google.... | {
"content_hash": "e4fb47a467ecbdf3a5ec82f852efc695",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 67,
"avg_line_length": 31.338028169014084,
"alnum_prop": 0.6791011235955056,
"repo_name": "SciGraph/SciGraph",
"id": "a151d41f7d825c8281779a295e0aaf02de12d02a",
"size": "28... |
<?php
namespace Rodchyn\ElephantLang;
use Rodchyn\ElephantLang\Parser\Parser;
class Token implements \ArrayAccess
{
const TOKEN_OUTPUT_FORMAT = "%-4s %-3s %-7s %-14s %-s\n";
/**
* @var string
*/
public $symbol;
public $metadata = array();
public $value = null;
public $absolutePosit... | {
"content_hash": "226a750dd6d7ae02223513bcf9c0b961",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 95,
"avg_line_length": 26.64516129032258,
"alnum_prop": 0.5414648910411622,
"repo_name": "rodchyn/elephant-lang",
"id": "14c7903f99eedf2ecfe76e960fbeee96630de63d",
"size":... |
require "spec_helper"
describe "it should be work" do
before do
@config = Conf.build :test do
env :production do
port 666
server :env do
mail 123
host ""
end
end
env :test, :parent => :production do
port 777
end
end
end
it "shou... | {
"content_hash": "9b54b82aca9f7bec10a1f2c5956b46d8",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 51,
"avg_line_length": 18.35,
"alnum_prop": 0.6103542234332425,
"repo_name": "PlugIN73/conf",
"id": "960eeb392e990e144fe51742deec6c391bd59ab3",
"size": "734",
"binary": f... |
/*
(C) 2015 AARO4130
DO NOT USE PARTS OF, OR THE ENTIRE SCRIPT, AND CLAIM AS YOUR OWN WORK
*/
using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Threading;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
#if U... | {
"content_hash": "7f75ac3e9bc90199adf8f7204f7046f9",
"timestamp": "",
"source": "github",
"line_count": 448,
"max_line_length": 126,
"avg_line_length": 37.421875,
"alnum_prop": 0.4336415150611393,
"repo_name": "Bitlandia/WorldScripter",
"id": "cdaa2a37e235a1e4b346e3660aa9ce195998cfc9",
"size": "167... |
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Crossword.FLAG_NO_SOLUTION - library</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">library</a> / <a href="../index.html">org.akop.ararat.core</a> / <a href="index.html">Crossword</a> / <a href... | {
"content_hash": "0d1d0816310c054e1233cbf66846821a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 276,
"avg_line_length": 56.07142857142857,
"alnum_prop": 0.6662420382165605,
"repo_name": "pokebyte/ararat",
"id": "d998a2b9f09a8434dcae71f4e0640ae76a707de1",
"size": "785"... |
<!--
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>GLSL array equality test</title>
<link rel="stylesheet" href="../../resources/js-test-style.css"/>
<script src="../../resources/js-test-pre.js"></script>
<script src="../../conformance/resources/webgl-test-utils.js"></script>
</head>
<body>
<canva... | {
"content_hash": "654677037214aa4480be75d9714ee62b",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 93,
"avg_line_length": 24.57843137254902,
"alnum_prop": 0.6178699641005185,
"repo_name": "guorendong/iridium-browser-ubuntu",
"id": "ad2ed436a135944339bc0e3bec6d22c68de1ed3f... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>reveal.js - The HTML Presentation Framework</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML">
<meta name="author" content="Hakim El Hattab">
<meta name="apple-mobi... | {
"content_hash": "977a879ee0f52157a43c39305ea76032",
"timestamp": "",
"source": "github",
"line_count": 1117,
"max_line_length": 135,
"avg_line_length": 31.49776186213071,
"alnum_prop": 0.5348890088963419,
"repo_name": "dfedde/docker_workshop",
"id": "41e64e0a2ab97782a37e2e6af53682c14cff17c6",
"siz... |
package com.google.javascript.jscomp;
import com.google.javascript.jscomp.AbstractCompiler.LifeCycleStage;
import com.google.javascript.rhino.Node;
import com.google.javascript.rhino.Token;
/**
* @author nicksantos@google.com (Nick Santos)
*/
public class SanityCheckTest extends CompilerTestCase {
private Comp... | {
"content_hash": "e3cae985557d152a33ec8f7606a1fea4",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 79,
"avg_line_length": 29.294736842105262,
"alnum_prop": 0.6629536471433705,
"repo_name": "zombiezen/cardcpx",
"id": "504ee89664c659ae076e2b8cd097aed297103223",
"size": "33... |
class Hakiri::Memcached < Hakiri::Technology
def initialize(command = '')
super
@name = 'Memcached'
end
def version
begin
output = (@command.empty?) ? `memcached -h 2>&1 | awk 'NR == 1 { print ; }'` : `#{@command} 2>&1 | awk 'NR == 1 { print ; }'`
@default_regexp.match(output)[0]
re... | {
"content_hash": "69fceea20a9e5d9cef97318a622dc2d1",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 132,
"avg_line_length": 23.235294117647058,
"alnum_prop": 0.5620253164556962,
"repo_name": "hakirisec/hakiri_toolbelt",
"id": "15a5ed7d5d3e46a373f2c964299935fd536f8543",
"s... |
<div data-ng-cloak style="text-align: center;">
<div style="margin-top:100px; height: 500px; vertical-align: middle; display:inline-block" class="container-fluid">
<label> <b> Click on language to JOIN </b>: </label>
<div style="overflow-y:scroll; height:300px; border: 1px solid black">
... | {
"content_hash": "b5c8ec17f199d0d8e93b5910f5942a08",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 163,
"avg_line_length": 54.32,
"alnum_prop": 0.5714285714285714,
"repo_name": "sillsdev/web-cat",
"id": "8dab80821e070d060dfd3b290ff7bc9bbe7904cc",
"size": "1358",
"binar... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a970c31cefadc41c1fd6399dee149688",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "373a0ea28ae93e2dd02da12c7fe2c5df677be35d",
"size": "189... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">我的内存清理</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="title_activity_home">MainActivity</string>
<string name="title_activity_setting">SettingActivity... | {
"content_hash": "4bbf7bc79235f4e53585ebdc5f945727",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 66,
"avg_line_length": 40.76923076923077,
"alnum_prop": 0.7169811320754716,
"repo_name": "muziyouyou/ImitateAnimation",
"id": "cc05a002ebefa26bc1a9690d730f75fd94668a6d",
"s... |
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ site.descriptio... | {
"content_hash": "9dca8a9454eda193203fbac9cd4f6dfd",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 164,
"avg_line_length": 48.55555555555556,
"alnum_prop": 0.637070938215103,
"repo_name": "froest2012/froest2012.github.io",
"id": "efe086cf4cf7eb65dff61a1cf22291b76baef53e",
... |
@interface RACSignal (CustomDistinction)
typedef BOOL(^PassRuleBlock)(id first, id second);
- (RACSignal *)distinctBasedOnRule:(PassRuleBlock)passRuleBlock;
@end
| {
"content_hash": "dd077e92327ae3410b5237c5e3cc6daa",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 64,
"avg_line_length": 23.571428571428573,
"alnum_prop": 0.793939393939394,
"repo_name": "skyylex/RFPMutex-Demonstration",
"id": "743c1d5aa6dfddfdf2b6416accfe71e529547c6b",
... |
timing-cat
==========
Find out what people think of your organization
1- How to build
You need to have mongodb installed.
You need to modify the build.xml file and set the dir.lib variable to the directory where you have the mongodb java driver jar file.
| {
"content_hash": "4a5c4c6fcc5c55feb76310df1c898594",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 132,
"avg_line_length": 28.666666666666668,
"alnum_prop": 0.7558139534883721,
"repo_name": "EBlonkowski/timing-cat",
"id": "2573d4b8aa0aa5e43f74f25e4981eeb4e4758244",
"size"... |
from ..layoutparser import Layoutparser
from headparser import HeadParser
from linkmatch import Linkmatch
import re
import nltk
import HTMLParser
class H1Parser(HeadParser):
re_head = re.compile(r"(?:^|\n)\s*==\s*(.*?)\s*==\s*(?=\n)")
class ItemParser(HeadParser):
re_head = re.compile(r"(?:^|\n)\s*[*#]\s*(.*?)(?=\n... | {
"content_hash": "3abdb5bf5eeae396b1ebab745a79f7ec",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 86,
"avg_line_length": 27.242857142857144,
"alnum_prop": 0.6507603565810173,
"repo_name": "redyeti/bitsandbites",
"id": "514932bd514bbaae4972aaa0ef0838b964671888",
"size": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Better Call Nick">
<meta name="author" content="Daniele Cappuccio">
<link rel="icon" href="./favicons/favicon.ico... | {
"content_hash": "e477db8f204fc3ce7a8803510e38f23c",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 653,
"avg_line_length": 65.80124223602485,
"alnum_prop": 0.6358316027940344,
"repo_name": "bettercallnick/bettercallnick.github.io",
"id": "7f6fba943de6ad0c78a78befdadfb5df9... |
/**
* @venus-library jasmine
* @venus-include ../../src/functions.js
* @venus-include ../../src/RegistryInterface.js
* @venus-include ../../src/Registry.js
* @venus-include ../../src/Storage/ManagerFactory.js
* @venus-code ../../src/Storage/Core.js
*/
describe('storage', function () {
var Factory = function... | {
"content_hash": "416bf24ff16a1bba9b08264c1661e78c",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 87,
"avg_line_length": 30.186046511627907,
"alnum_prop": 0.5835901386748844,
"repo_name": "Baptouuuu/Sy",
"id": "d9b312606325bd42358320e551e6e1920e942669",
"size": "2596",
... |
FROM balenalib/raspberrypi-debian:bullseye-run
ENV NODE_VERSION 14.18.3
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --batch --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --batch --keyserver keyserver.pgp.com ... | {
"content_hash": "866c7b77ab003089a2252b720e45c374",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 694,
"avg_line_length": 65.44444444444444,
"alnum_prop": 0.7066213921901529,
"repo_name": "resin-io-library/base-images",
"id": "f8d4f8583e8cd349d77d83e0ce681e5c10836afc",
... |
package models
import me.verticale.imgur.model.Image
/** A cat factory -- literally... yep the pattern ;) */
object Cat {
/** Create a new cat from the given image
*
* @param img Image's data
*
* @return A soft and warm cat
*/
def apply(img: Image) = new Cat(img.id.get, img.link.get, img.mp4.... | {
"content_hash": "3beabdb3241a5c2ca179f46ec38f228c",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 86,
"avg_line_length": 24.25,
"alnum_prop": 0.6374570446735395,
"repo_name": "CatFactoryTeam/CatShelter",
"id": "aa587fbdcff1775fe8850f678081ba22e61ff469",
"size": "582",
... |
using System.Collections.Generic;
using System.IO;
using Reinforced.Typings.Fluent;
using Xunit;
namespace Reinforced.Typings.Tests.SpecificCases
{
public partial class SpecificTestCases
{
[Fact]
public void ReferencesPart6ByDanielWest()
{
/**
* Specific test ca... | {
"content_hash": "d9a343a37c8e7eaf504e4169a59dd661",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 116,
"avg_line_length": 31.19148936170213,
"alnum_prop": 0.6336971350613916,
"repo_name": "reinforced/Reinforced.Typings",
"id": "6ae194020cc6be48bdf240ada047f408c88a7797",
... |
"""Tests for the install history plist plugin."""
import unittest
# pylint: disable=unused-import
from plaso.formatters import plist as plist_formatter
from plaso.parsers import plist
from plaso.parsers.plist_plugins import install_history
from plaso.parsers.plist_plugins import test_lib
class InstallHistoryPluginT... | {
"content_hash": "4ded87bd73d9066a1c2c7a122eeaea8a",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 79,
"avg_line_length": 40.333333333333336,
"alnum_prop": 0.7103305785123967,
"repo_name": "cvandeplas/plaso",
"id": "fd0a6e78207b7ad081e4fc906de2d58380e40c8c",
"size": "311... |
require 'fog/openstack/models/collection'
require 'fog/openstack/identity/v2/models/role'
module Fog
module OpenStack
class Identity
class V2
class Roles < Fog::OpenStack::Collection
model Fog::OpenStack::Identity::V2::Role
def all(options = {})
load_response(servic... | {
"content_hash": "a895c57a74402207f9b0cfb090741e40",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 63,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.5861344537815126,
"repo_name": "fog/fog-openstack",
"id": "4da71e466bc7956259971b6a7169bc4668d566ce",
"size": "47... |
/**
* Module dependencies.
*/
var express = require('express');
var http = require('http');
var path = require('path');
var nconf = require('nconf');
// All paths are relative to the script root, so change the working directory to it.
process.chdir(__dirname);
// Set up config *before* loading sub-modules, so the... | {
"content_hash": "21b9630e317daa02118a1b8b0f737290",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 84,
"avg_line_length": 28.50793650793651,
"alnum_prop": 0.673162583518931,
"repo_name": "simontaylor81/HomeAutomation",
"id": "f00a315233085656756cc37f16d4d199084974d4",
"s... |
title: Khaleesi Index
decorator: basic
slug: index.html
‡‡‡‡‡‡‡‡‡‡‡‡‡‡
<div class="primary">
<h4>test for order by create time, ascending order, full list.</h4>
<h4>test many way of wrong variable expression syntax.</h4>
<ul class="post_list">
#foreach ($post : $posts)
<li title="${post:... | {
"content_hash": "15aa2a69ecc7bdd397aee506639abd3f",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 109,
"avg_line_length": 32.734693877551024,
"alnum_prop": 0.5349127182044888,
"repo_name": "vince-styling/khaleesi",
"id": "5c3dd9c0f44cf6633f0eaf13492237dca2e9b076",
"size... |
@interface ABI43_0_0EXAVPlayerData : NSObject <ABI43_0_0EXAVObject>
@property (nonatomic, strong) AVQueuePlayer *player;
@property (nonatomic, strong) NSURL *url;
@property (nonatomic, strong) NSDictionary *headers;
@property (nonatomic, strong) void (^statusUpdateCallback)(NSDictionary *);
@property (nonatomic, stron... | {
"content_hash": "6f8c1cda44128e716f53d0354eb5faa0",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 115,
"avg_line_length": 41.666666666666664,
"alnum_prop": 0.7271111111111112,
"repo_name": "exponentjs/exponent",
"id": "cd4e42c8fd0e90fdb55d056b90e74788a57479ac",
"size": ... |
package com.amazonaws.services.glue.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.glue.model.*;
import com.amazonaws.transform.Marshaller;
import com.amazonaws.protoc... | {
"content_hash": "1739639b2979a45ba38a998bb8107e6e",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 158,
"avg_line_length": 41.90384615384615,
"alnum_prop": 0.7700780174391922,
"repo_name": "aws/aws-sdk-java",
"id": "0d8c6b66ff412db92977dcd169ce76c4cb18b7a1",
"size": "275... |
require 'redcarpet'
require 'active_support'
require 'active_support/core_ext'
require 'support-for'
Dir['./lib/*'].each { |f| require f }
ignore /[a-z]{2}-[A-Z]{2}$/
# Debugging
set(:logging, ENV['RACK_ENV'] != 'production')
activate :relative_assets
set :relative_links, true
set :markdown_engine, :redcarpet
set ... | {
"content_hash": "2a6e8ad2e3eeb2fcca02598262667419",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 124,
"avg_line_length": 21.757894736842104,
"alnum_prop": 0.6734397677793904,
"repo_name": "tleskin/guides",
"id": "7349d10118607944b8f45bdf4490161bd72da862",
"size": "2067... |
package trikita.hut;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class UpdatePluginsReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
App.actions().refresh();
}
}
| {
"content_hash": "b22926a22e17dc0fa19224d72baaed89",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 62,
"avg_line_length": 25.5,
"alnum_prop": 0.761437908496732,
"repo_name": "trikita/hut",
"id": "04d7cabc1890b80e64efd1d047d4f252956af669",
"size": "306",
"binary": false... |
<?php
namespace Kahlan\Spec\Suite\Jit\Patcher;
use Kahlan\Jit\Parser;
use Kahlan\Jit\Patcher\Rebase;
describe("Rebase", function() {
describe("->process()", function() {
beforeEach(function() {
$this->path = 'spec/Fixture/Jit/Patcher/Rebase';
$this->patcher = new Rebase();
... | {
"content_hash": "851f9d9240c5c143acd29f2f390c7ea2",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 104,
"avg_line_length": 26.74074074074074,
"alnum_prop": 0.574792243767313,
"repo_name": "m1ome/kahlan",
"id": "4545cb8a2a660c07dc13e500707de04b4cb3553a",
"size": "722",
... |
package com.zuehlke.carrera.comp.domain;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zuehlke.carrera.comp.domain.util.CustomDateTimeDeserializer;
import com.zuehlke.carrera.comp.domain.util.CustomDateTimeSerializer;
impor... | {
"content_hash": "98a3bdb72a07c97dc6c794bc3f7af041",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 71,
"avg_line_length": 25.024390243902438,
"alnum_prop": 0.7290448343079922,
"repo_name": "FastAndFurious/competitions",
"id": "4985e692bdfa78dfcb0a885d6ca7c57de1505eff",
"... |
package org.apache.kafka.streams.state.internals;
import org.apache.kafka.streams.errors.InvalidStateStoreException;
import org.apache.kafka.streams.processor.StateStore;
import org.apache.kafka.streams.processor.internals.StreamTask;
import org.apache.kafka.streams.processor.internals.StreamThread;
import org.apache... | {
"content_hash": "af69dfae50048b519a4f830399b9ce74",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 135,
"avg_line_length": 36.791666666666664,
"alnum_prop": 0.6862967157417894,
"repo_name": "airbnb/kafka",
"id": "45d9898e1d928884b672fdf998afc4fa0ed2d443",
"size": "2564",... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InMemoryServiceBusTestsBase.cs" company="Epworth Consulting Ltd.">
// © Epworth Consulting Ltd.
// </copyright>
// --------------------------------------------------------------... | {
"content_hash": "fa48d99bd9eb4d294bf8d18a89bfdf54",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 120,
"avg_line_length": 34.7,
"alnum_prop": 0.5806916426512968,
"repo_name": "acraven/service-bus",
"id": "cc2d88d2c9ded20043f249b8af0458828fa294b9",
"size": "1391",
"bin... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using Amazon.Runtime;
namespace Amazon.IdentityManagement.Model
{
/// <summary>
/// Returns information about the DeleteSigningCertificate response metadata.
/// The DeleteSigningCertificate operation has a... | {
"content_hash": "b671ef919e61f198d1b65309c00a62e0",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 81,
"avg_line_length": 23.894736842105264,
"alnum_prop": 0.7466960352422908,
"repo_name": "emcvipr/dataservices-sdk-dotnet",
"id": "e721159f319181dcd5cb36cfc4bd1d7f785c639d",... |
@interface CRWJSEarlyScriptManager : CRWJSInjectionManager
@end
#endif // IOS_WEB_PUBLIC_WEB_STATE_JS_CRW_JS_EARLY_SCRIPT_MANAGER_H_
| {
"content_hash": "3774bd6c09d8d608a5785365525e69eb",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 69,
"avg_line_length": 33.75,
"alnum_prop": 0.7925925925925926,
"repo_name": "mou4e/zirconium",
"id": "8aa95cd0e02bbe059f2c707897c6045dec756096",
"size": "800",
"binary": ... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Demo</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="default_fragment_text">Default fragment.</string>
<!-- DRAWER -->
<string-array name="menu_ar... | {
"content_hash": "80859db64d05d7919eb1af4e20138ea8",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 67,
"avg_line_length": 31.8,
"alnum_prop": 0.6367924528301887,
"repo_name": "blackcj/AndroidSupportLibrary_r18_Demo",
"id": "cb41debd188155f7d4dcc94db541c9c515480991",
"siz... |
#!/usr/bin/env node
function usage() {
console.error('Usage : createPost.js <webid> <message> [application]');
}
if (!process.argv[2]) {
console.error('Webid is required');
usage();
process.exit(-1);
}
if (!process.argv[3]) {
console.error('Message is required');
usage();
process.exit(-1);
}
var webid... | {
"content_hash": "969d1df025b1c156d2d31b78bfe2d2e4",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 135,
"avg_line_length": 29.32608695652174,
"alnum_prop": 0.6108228317272053,
"repo_name": "melvincarvalho/webid.im",
"id": "e94ba7875603290c975aad7a2c6e1fc39666567c",
"size... |
@interface UIViewController (CustomBackButton)
- (void)replaceBackButton;
@end
| {
"content_hash": "bff22a817a67a8087c0899be5d7759ee",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 46,
"avg_line_length": 16.2,
"alnum_prop": 0.8024691358024691,
"repo_name": "dianchang/spark",
"id": "d8bef629d5e5f4a0cf7b50d5c5d368a4623bea83",
"size": "256",
"binary": f... |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_m... | {
"content_hash": "45ce598f4a708bf6c358e7ad77d1fe42",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 82,
"avg_line_length": 41.11904761904762,
"alnum_prop": 0.6832657788071801,
"repo_name": "Saren-Arterius/Should-I-Resign",
"id": "c99a3cb0d0aff369ef6b6b6f6a6efdd819999af0",
... |
/**
* 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": "a0e4c97bb6e277c0e8866d5b1db8d035",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 87,
"avg_line_length": 43.71111111111111,
"alnum_prop": 0.46568378240976105,
"repo_name": "noironetworks/group-based-policy-ui",
"id": "76276632ab7b483bf49e8d1f84f280fc54fdea... |
local socket = require"socket"
local lfs = require"lfs"
local debug = require"debug"
module("remdebug.engine", package.seeall)
_COPYRIGHT = "2006 - Kepler Project"
_DESCRIPTION = "Remote Debugger for the Lua programming language"
_VERSION = "1.0"
local UNIX = string.sub(lfs.currentdir(),1,1) == '/'
if not UNIX then
... | {
"content_hash": "adfb430c9e4792cff1d3ef373533cb8f",
"timestamp": "",
"source": "github",
"line_count": 369,
"max_line_length": 96,
"avg_line_length": 25.54742547425474,
"alnum_prop": 0.6004030974859447,
"repo_name": "ArcherSys/ArcherSys",
"id": "1dd6de5dc79662841dc2213eee63ad9fc1504920",
"size": "... |
import vtkBoundingBox from './BoundingBox';
import vtkBox from './Box';
import vtkCell from './Cell';
import vtkCone from './Cone';
import vtkCylinder from './Cylinder';
import vtkDataSet from './DataSet';
import vtkDataSetAttributes from './DataSetAttributes';
import vtkITKHelper from './ITKHelper';
import vtkImageDat... | {
"content_hash": "d81a41eb3bb494dd9cd1b1621a78e56a",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 55,
"avg_line_length": 26.3953488372093,
"alnum_prop": 0.7638766519823789,
"repo_name": "Kitware/vtk-js",
"id": "f8bda9d4c2f39c19118c8bc7f51e63154571e0d9",
"size": "1135",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_wchar_t_snprintf_21.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.string.label.xml
Template File: sources-sink-21.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Al... | {
"content_hash": "bcee345240fc67687d99ed0898796e79",
"timestamp": "",
"source": "github",
"line_count": 164,
"max_line_length": 124,
"avg_line_length": 30.152439024390244,
"alnum_prop": 0.6196157735085945,
"repo_name": "maurer/tiamat",
"id": "c410bed68658c540dd32d9b9773cc99ff49a1eb9",
"size": "4945... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Starbuzz.iml" filepath="$PROJECT_DIR$/Starbuzz.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
</m... | {
"content_hash": "c8d9d116d0203ff297622a8faa072e48",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 98,
"avg_line_length": 35.5,
"alnum_prop": 0.6535211267605634,
"repo_name": "kunal01996/Android-Studio-Test-Projects",
"id": "fe26743cdcf739901c97e68c07d29673142cf3de",
"si... |
Wireboard.CommandMap = (function(undefined) {
'use strict';
var CommandMap = function() {
this.initialize.apply(this, arguments);
};
CommandMap.prototype = {
/**
* Use event types as key and value is array containing
* commands that are executed when that event occu... | {
"content_hash": "490631c285c86ca32c905fa39592b8b8",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 72,
"avg_line_length": 24.287128712871286,
"alnum_prop": 0.4977578475336323,
"repo_name": "laurentvd/wireboard.js",
"id": "1b44c8e7fcf82b24810a62d6c7342fa0d5d339fa",
"size... |
myproject
======
.. image:: https://travis-ci.org/mapbox/myproject.svg
:target: https://travis-ci.org/mapbox/myproject
.. image:: https://coveralls.io/repos/mapbox/myproject/badge.png
:target: https://coveralls.io/r/mapbox/myproject
A skeleton of a Python package with CLI and test suite included.
.. image:... | {
"content_hash": "f6b1a86c4e648ff161c74f4a299b2633",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 120,
"avg_line_length": 32.7,
"alnum_prop": 0.7295762341633901,
"repo_name": "mike-seagull/pyskel",
"id": "ef73aedb614d5ed78f65164353ad34ddf2460bdf",
"size": "2289",
"bin... |
#ifndef _SCHEDULEROBJECT_H
#define _SCHEDULEROBJECT_H
// condor includes
#include "condor_common.h"
#include "condor_classad.h"
// local includes
#include "Codec.h"
#include "AviaryUtils.h"
using namespace std;
using namespace aviary::util;
using namespace aviary::codec;
namespace aviary {
namespace job {
struct... | {
"content_hash": "a4a14f3f939191c0ff28383638a6f2bc",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 67,
"avg_line_length": 23.96590909090909,
"alnum_prop": 0.6666666666666666,
"repo_name": "bbockelm/condor-network-accounting",
"id": "12a42c8b6b650628b77124789b908eb5ac9de4eb... |
/**
* @file
* @brief HTTP Server handler
*
* Sample server that return a text/plain string. The content of this
* is read from stdin. To see the usage help, -h or --help.
*/
#include <getopt.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include "soletta.h"
#include "sol-ht... | {
"content_hash": "046e07f9014509ca8309ec1c77f7a314",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 96,
"avg_line_length": 27.01156069364162,
"alnum_prop": 0.5867750909479992,
"repo_name": "brunobottazzini/soletta",
"id": "eb6ef215d0c946ea9d3be1570d340b4f78f66bc2",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.