text stringlengths 2 1.04M | meta dict |
|---|---|
package com.glaf.batch.util;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.glaf.batch.domain.StepExecutionContext;
public class StepExecutionContextJsonFactory {
p... | {
"content_hash": "9d61ab09e174ad6e74b0ebbb5e7f8f46",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 94,
"avg_line_length": 31.878048780487806,
"alnum_prop": 0.7467482785003825,
"repo_name": "jior/glaf",
"id": "812b958abb22261223e30f34f18d440bd9e8eb5a",
"size": "3234",
"... |
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package org.chromium.components.autofill_assistant.user_data;
import android.content.Context;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.V... | {
"content_hash": "eefcdc0f416df2d2c7004dc28f0606ef",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 99,
"avg_line_length": 32.845238095238095,
"alnum_prop": 0.6988039144617615,
"repo_name": "chromium/chromium",
"id": "46d6a4a301e31ce8c6fcbe2ac4f0826bec118747",
"size": "27... |
package gc
import (
"cmd/internal/obj"
"fmt"
"sort"
"strings"
)
const (
UNVISITED = 0
VISITED = 1
)
// An ordinary basic block.
//
// Instructions are threaded together in a doubly-linked list. To iterate in
// program order follow the link pointer from the first node and stop after the
// last node has been... | {
"content_hash": "e988c156655b08c7a2cd3da6947b8429",
"timestamp": "",
"source": "github",
"line_count": 1811,
"max_line_length": 132,
"avg_line_length": 27.728879072335726,
"alnum_prop": 0.6517713125037338,
"repo_name": "mwhudson/go",
"id": "3d57c350f12c844e607c953aac43c63884970198",
"size": "50802... |
package org.apache.click.extras.gae;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
/**
* Provides <a href="http://code.google.com/appengine/docs/java/overview.html" class="external" target="_blank">Google App Engine</a>
* (GAE) support for Click applications. GAE is... | {
"content_hash": "d5ec258b5e20a309f0447a1e80578967",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 137,
"avg_line_length": 45.99545454545454,
"alnum_prop": 0.6589583950983299,
"repo_name": "medgar/click",
"id": "9a2321844076ef5fc27116804a63188bacc153c5",
"size": "10943"... |
package x86asm
import (
"bytes"
"strings"
"testing"
)
func TestObjdump32Manual(t *testing.T) { testObjdump32(t, hexCases(t, objdumpManualTests)) }
func TestObjdump32Testdata(t *testing.T) { testObjdump32(t, concat(basicPrefixes, testdataCases(t))) }
func TestObjdump32ModRM(t *testing.T) { testObjdump32(t, con... | {
"content_hash": "adff06aecda0dd8637b752689cd392f3",
"timestamp": "",
"source": "github",
"line_count": 380,
"max_line_length": 153,
"avg_line_length": 24.942105263157895,
"alnum_prop": 0.6923401561510867,
"repo_name": "golang/arch",
"id": "c964aef85bd388f812f3aaf2b64edb4714891af8",
"size": "9639",... |
<!--
Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
for details. All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
-->
<div attr.aria-pressed="{{checked}}"
attr.aria-disabled="{{disabled}}"
attr.aria-label="{{a... | {
"content_hash": "27f093f5a39a2f9d78e1daa1d63c9d19",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 75,
"avg_line_length": 35.25925925925926,
"alnum_prop": 0.6292016806722689,
"repo_name": "shockbytes/shockbytes.github.io",
"id": "af09ae76ee2a3af12451f683a0ecf65f460c2c0e",
... |
@echo off
:: Init Script for cmd.exe
:: Created as part of cmder project
:: !!! THIS FILE IS OVERWRITTEN WHEN CMDER IS UPDATED
:: !!! Use "%CMDER_ROOT%\config\user-profile.cmd" to add your own startup commands
:: Set to > 0 for verbose output to aid in debugging.
if not defined verbose-output ( set verbose-output=0 ... | {
"content_hash": "bcd0d7e0b5f6e2a6a8e24ecae9042e0b",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 132,
"avg_line_length": 34.301587301587304,
"alnum_prop": 0.67900663273176,
"repo_name": "thatfrankdev/cmder-dev-environment",
"id": "1fefa10998a3b832e61dcab85c12d54145f4bc2... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reflection;
namespace MongoInClustorWithFailover.Areas.HelpPage
{
/// <summary>
/// This class will create an object of a given type and p... | {
"content_hash": "696ecf4014cccf1f113e233b440b3ee6",
"timestamp": "",
"source": "github",
"line_count": 456,
"max_line_length": 261,
"avg_line_length": 42.780701754385966,
"alnum_prop": 0.5534139840065614,
"repo_name": "jdhuntington/mongo-test",
"id": "e5d000146e7ef7c4b83b963fe82091e966f9b7e7",
"si... |
<?php
$loader = require __DIR__ . '/../vendor/autoload.php';
$loader->add('Silex\Tests', __DIR__);
if (!class_exists('Symfony\Component\Form\Form')) {
echo "You must install the dev dependencies using:\n";
echo " composer install --dev\n";
exit(1);
}
| {
"content_hash": "45ffbcda04e9e1e20aa0c2eabf413d5c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 58,
"avg_line_length": 26.8,
"alnum_prop": 0.6156716417910447,
"repo_name": "studio5A2/ZENDER",
"id": "5f5f92887f90ff964d51c539874e6abfa9dd073b",
"size": "268",
"binary":... |
package com.madgnome.jira.plugins.jirachievements.ui.action;
import com.atlassian.jira.security.JiraAuthenticationContext;
import com.atlassian.jira.security.Permissions;
import com.atlassian.jira.util.I18nHelper;
import com.atlassian.jira.web.action.JiraWebActionSupport;
import com.atlassian.plugin.webresource.WebRes... | {
"content_hash": "6472ebbcd6e211001d08ec08ef0b6ff5",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 119,
"avg_line_length": 30.177777777777777,
"alnum_prop": 0.8026509572901326,
"repo_name": "madgnome/jirachievements",
"id": "1209b9c1a70154248f7660296ef92f3d27b3e6dc",
"si... |
import React, { Component } from 'react';
import { PropTypes as PT } from 'prop-types';
import { default as config } from 'config';
import Widget from '../Widget';
import { connect } from 'react-redux';
import { bindActionCreators } from 'redux';
import { Link } from 'react-router';
import { actions } from 'redux/modul... | {
"content_hash": "cbbedff8cf2a024f8f556761e2cc186c",
"timestamp": "",
"source": "github",
"line_count": 162,
"max_line_length": 101,
"avg_line_length": 27.98148148148148,
"alnum_prop": 0.6055592322964924,
"repo_name": "GovReady/GovReady-Agent-Client",
"id": "29f2ac51f04c3695dfde632f0c8f457c2890c54d",... |
{% include 'copyright_block.txt' %}
#include "config.h"
{% filter conditional(conditional_string) %}
#include "{{v8_class_or_partial}}.h"
{% for filename in cpp_includes if filename != '%s.h' % cpp_class_or_partial %}
#include "{{filename}}"
{% endfor %}
namespace blink {
{% set to_active_dom_object = '%s::toActiveDO... | {
"content_hash": "09a093794394a09e49090a5d7d02686a",
"timestamp": "",
"source": "github",
"line_count": 500,
"max_line_length": 574,
"avg_line_length": 49.892,
"alnum_prop": 0.6521686843582137,
"repo_name": "PeterWangIntel/blink-crosswalk",
"id": "2f9221123d5a28b68d41a6d250e2e974f25f9cc4",
"size": ... |
#include <aws/license-manager/model/LicenseConfigurationStatus.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::Utils;
namespace Aws
{
namespace LicenseManager
{
namespace Model
{
namespace Licen... | {
"content_hash": "df11698bad0fb6fb3c5da3f940225ea6",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 96,
"avg_line_length": 30.44776119402985,
"alnum_prop": 0.6401960784313725,
"repo_name": "jt70471/aws-sdk-cpp",
"id": "c1348926553763325ff60bb026327ae90ca922b4",
"size": "2... |
void kill_game(GAME *game) {
kill_fruits(&game->fruits);
kill_snake(&game->snake);
}
void run() {
int ch = 0, ich, i, current_columns, current_rows, success = 1;
// some variables for the timer (inclusive the interval)
struct timespec last_time = {};
struct timespec current_time = {... | {
"content_hash": "120df5be98607105a1e8d5ee1d01eb6a",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 87,
"avg_line_length": 27.05263157894737,
"alnum_prop": 0.5830739299610895,
"repo_name": "mogria/msnake",
"id": "482f4bca479c597bdacdc352e14cd65d7461686b",
"size": "5609",... |
module FrontAxle
module Controller
require 'csv'
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def will_search(meth_names, options = {})
meth_names = Array(meth_names)
meth_names.each do |meth_name|
send(:define_method, meth_name.to_... | {
"content_hash": "2f4dd65e712324b072a9d53bb8ec3987",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 116,
"avg_line_length": 36.66153846153846,
"alnum_prop": 0.5603231221149811,
"repo_name": "sebastianiorga/front_axle",
"id": "c4d7f5c7e7c2c56991803049ccb86292ba27ccd1",
"s... |
require "hotel_beds/model"
require "hotel_beds/model/available_room"
require "hotel_beds/model/contract"
require "hotel_beds/model/destination"
require "hotel_beds/model/image"
require "hotel_beds/model/product_room"
require "hotel_beds/model/product_feature"
module HotelBeds
module Model
class HotelDetail
... | {
"content_hash": "5a6ff38030988d553cdfec5a30c541e6",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 74,
"avg_line_length": 31.375,
"alnum_prop": 0.7250996015936255,
"repo_name": "openjaf/hotel_beds",
"id": "d396a669874423ed72c50a5c8f00a67556fbc8bd",
"size": "1004",
"bin... |
package com.adobe.acs.commons.synth.children;
import com.adobe.acs.commons.json.JsonObjectUtil;
import com.google.gson.Gson;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import org.apache.commons.collections.IteratorUtils;
import org.apache.jackrabbit.JcrConstants;
import org.apache.sling.ap... | {
"content_hash": "41ac97dc74bdf0d2e1ff2c4ccee9eff9",
"timestamp": "",
"source": "github",
"line_count": 373,
"max_line_length": 120,
"avg_line_length": 35.69973190348526,
"alnum_prop": 0.6664163412436167,
"repo_name": "SachinMali/acs-aem-commons",
"id": "06f3b814e87e65753b733cf00200d70598d20b38",
"... |
<!DOCTYPE html>
<!--
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4
Version: 4.0.2
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Follow: www.twitter.com/keenthemes
Like: www.facebook.com/keenthemes
Purchase: http://themeforest.n... | {
"content_hash": "5767905211877359177ba934d76ad10b",
"timestamp": "",
"source": "github",
"line_count": 1441,
"max_line_length": 256,
"avg_line_length": 35.6675919500347,
"alnum_prop": 0.5002626612448198,
"repo_name": "kustemura/neptun_b2b",
"id": "661464bf0390a4ff2fad416d6d6e27171c17c7ab",
"size":... |
FROM balenalib/orange-pi-zero-ubuntu:focal-run
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
RUN buildDeps='curl libatomic1' \
&& set -x \
&& for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key... | {
"content_hash": "de414de9a6583afa9866c04f635de905",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 690,
"avg_line_length": 64.37777777777778,
"alnum_prop": 0.7045219192267863,
"repo_name": "nghiant2710/base-images",
"id": "9e56add0c66b4ea3d89321672ab8c93a64dd5ecf",
"size... |
@implementation MLImagePickerMenuTableViewCell
- (void)awakeFromNib
{
[self.tagImageView setImage:[UIImage imageNamed:@"MLImagePickerController.bundle/zl_star.png"]];
}
- (void)setGroup:(MLPhotoPickerGroup *)group
{
_group = group;
self.titleLbl.text = [group groupName];
self.assetCountLbl.text =... | {
"content_hash": "2a0fbdc803298ca5dc19e23958242f38",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 100,
"avg_line_length": 23.136363636363637,
"alnum_prop": 0.7053045186640472,
"repo_name": "guanzhendong/CodeGeass",
"id": "4cbf4815f31a6c556a71cba1888cac85930cec08",
"size... |
package me.xingrz.gankmeizhi.db;
import android.graphics.Point;
import com.google.gson.annotations.SerializedName;
import java.io.IOException;
import java.util.Date;
import io.realm.Realm;
import io.realm.RealmObject;
import io.realm.RealmResults;
import io.realm.annotations.PrimaryKey;
import me.xingrz.gankmeizh... | {
"content_hash": "9d376d4ff0b5e51eb735ccd762441f33",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 92,
"avg_line_length": 19.977272727272727,
"alnum_prop": 0.6444823663253697,
"repo_name": "RyanTech/GankMeizhi",
"id": "7212556effad4ffae95c51e2f5dd41de3ab6b583",
"size": "... |
package unfiltered.request
import unfiltered.Cookie
/** An implementation of a function used to map cookie names to their value as an Option. If there
* is no associated Cookie value. None will always be returned. */
private [request] object CookieValueParser extends (Iterator[String] => Map[String, Option[Cookie]]... | {
"content_hash": "43daf399bcb49dd14cf3dc7ec542e401",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 124,
"avg_line_length": 46.552,
"alnum_prop": 0.5401271696167727,
"repo_name": "omarkilani/unfiltered",
"id": "e9fcdedf647ff60114292f1d3742ea596e2733a8",
"size": "5819",
... |
package clusterrouter
import (
"encoding/json"
"net/http"
"github.com/rancher/norman/httperror"
"github.com/rancher/rancher/pkg/clusterrouter/proxy"
v3 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3"
"github.com/rancher/rancher/pkg/types/config/dialer"
"k8s.io/client-go/rest"
)
type ... | {
"content_hash": "c431edf36f9d8637f0b622a6b22c8647",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 175,
"avg_line_length": 27.244897959183675,
"alnum_prop": 0.7453183520599251,
"repo_name": "rancher/rancher",
"id": "2e2af43fb0452d60c5de143f53e98e59fd126b91",
"size": "133... |
module Figaro
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path("../templates", __FILE__)
def create_configuration
copy_file("application.yml", "config/application.yml")
end
def ignore_configuration
if File.exists?(".gitignore... | {
"content_hash": "30c69a8ef06a6639c5e507bc3ab9f09f",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 62,
"avg_line_length": 24,
"alnum_prop": 0.5869565217391305,
"repo_name": "4justinstewart/Polity",
"id": "1af6fc18bed3b974cca32ff128198a10d56ce3d2",
"size": "552",
"binar... |
package org.apache.hadoop.hive.ql.ddl.table.column.show;
import java.io.DataOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.hadoop.fs.Path;
import org.apache.ha... | {
"content_hash": "0585fa484ba01b59f235b04a2b6436f1",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 104,
"avg_line_length": 33.24271844660194,
"alnum_prop": 0.7126168224299065,
"repo_name": "jcamachor/hive",
"id": "d621dcbf275e94a992daf47bb1c73c9d7832b006",
"size": "4229... |
package org.zstack.sdk;
public class DeleteVmSshKeyResult {
}
| {
"content_hash": "8c79d270f77d14cbad7bf5378506f62e",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 35,
"avg_line_length": 9.428571428571429,
"alnum_prop": 0.7575757575757576,
"repo_name": "zstackorg/zstack",
"id": "ef3fdff126f3b29e24016b3450445ea0d490f05b",
"size": "66",
... |
/// @todo Documentation Module/DataIO/ReadField.h
#ifndef MODULES_DATAIO_READ_FIELD_H
#define MODULES_DATAIO_READ_FIELD_H
#include <Core/Datatypes/Mesh/FieldFwd.h>
#include <Core/Algorithms/Base/AlgorithmBase.h>
#include <Modules/DataIO/GenericReader.h>
#include <Modules/DataIO/share.h>
namespace SCIRun {
namespac... | {
"content_hash": "843f80c52d572b181971b6b3912d896f",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 90,
"avg_line_length": 25.37837837837838,
"alnum_prop": 0.7476038338658147,
"repo_name": "jcollfont/SCIRun",
"id": "9ccd131d474d2bea0ef266666345cad654fe8560",
"size": "2265... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/monitoring/v3/uptime.proto
package com.google.monitoring.v3;
public final class UptimeProto {
private UptimeProto() {}
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
public static vo... | {
"content_hash": "4bbc2ca57827d4691451b57497b28791",
"timestamp": "",
"source": "github",
"line_count": 253,
"max_line_length": 110,
"avg_line_length": 59.65217391304348,
"alnum_prop": 0.6981844685926318,
"repo_name": "googleapis/google-cloud-java",
"id": "e8ca93dafb7ad4ac9b2f751c2dbe01573909ee5f",
... |
FROM mcr.microsoft.com/oryx/node:6.2-20190708.2
LABEL maintainer="Azure App Services Container Images <appsvc-images@microsoft.com>"
RUN echo "ipv6" >> /etc/modules
RUN npm install -g pm2 \
&& mkdir -p /home/LogFiles /opt/startup \
&& echo "root:Docker!" | chpasswd \
&& echo "cd /home" >> /etc/bash.bas... | {
"content_hash": "7c649b90a507adfcc87b973a08c15e7e",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 103,
"avg_line_length": 26.61904761904762,
"alnum_prop": 0.6914132379248659,
"repo_name": "appsvc/node",
"id": "a1c06bbb59aa625d9cb914518f650d608173051b",
"size": "1118",
... |
/*
* Project: Bootstrap Notify = v3.1.3
* Description: Turns standard Bootstrap alerts into "Growl-like" notifications.
* Author: Mouse0270 aka Robert McIntosh
* License: MIT License
* Website: https://github.com/mouse0270/bootstrap-growl
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
//... | {
"content_hash": "faf747a150e492f83764d216f1bee84c",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 553,
"avg_line_length": 33.16,
"alnum_prop": 0.6127864897466827,
"repo_name": "junehappylove/june_web_new",
"id": "d5317f6bb1144f1250f90fb0a8086e8eeba5800b",
"size": "1160... |
namespace util_hash {
// In the or-tools project, MurmurHash64 is just a redirection towards
// ThoroughHash. Ideally, it is meant to be using the murmurhash
// algorithm described in http://murmurhash.googlepages.com.
inline uint64_t MurmurHash64(const char* buf, const size_t len) {
return ::operations_research::Tho... | {
"content_hash": "7c56cbd5f16a61250ecf3e1ff89a3153",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 70,
"avg_line_length": 40.5,
"alnum_prop": 0.7481481481481481,
"repo_name": "google/or-tools",
"id": "6149fdeeedbb0880818efe0dd8f3b619e2181af8",
"size": "1101",
"binary":... |
const DrawCard = require('../../../drawcard.js');
class FishingNet extends DrawCard {
setupCardAbilities(ability) {
this.whileAttached({
effect: ability.effects.cannotBeDeclaredAsDefender()
});
}
canAttach(player, card) {
if(card.getType() !== 'character' || card.control... | {
"content_hash": "69982faa4fdf1c1b781d51fd7c253975",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 83,
"avg_line_length": 26.05263157894737,
"alnum_prop": 0.6060606060606061,
"repo_name": "jbrz/throneteki",
"id": "6d640bd76493163de9556c54797d6c132e84566f",
"size": "495",... |
mocks: mocks/kinesis.go
clean:
rm -rf build/*
build/kinesumer:
go build -o build/kinesumer ./cmd/kinesumer
mocks/kinesis.go:
mockery \
-dir=./Godeps/_workspace/src/github.com/aws/aws-sdk-go/service/kinesis/kinesisiface \
-name=KinesisAPI -print=true \
| sed -e s/KinesisAPI/Kinesis/g > mocks/kinesis.go
| {
"content_hash": "95b3950da04fcd3d04ce225a9689ecfd",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 87,
"avg_line_length": 24.23076923076923,
"alnum_prop": 0.726984126984127,
"repo_name": "iserko/empire",
"id": "e3790a4950d4f05cf62c3039e06c506b94454a88",
"size": "315",
... |
import React, { Component } from 'react'
import { Jumbotron, Button } from 'react-bootstrap'
class JumbotronHeader extends Component {
render () {
return (<Jumbotron>
<h1>{this.props.title || 'Hello World'}</h1>
<p>{this.props.description || 'This is a simple hero unit.'}</p>
<p><Button bsStyle... | {
"content_hash": "4cc697cdc158153cb087eaa14649b368",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 70,
"avg_line_length": 27.733333333333334,
"alnum_prop": 0.6490384615384616,
"repo_name": "IbrahimCode/ReactReduxRouterStarter",
"id": "df0e22a7197530a30db01b5a86ea278a6970ac... |
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "indaba.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
| {
"content_hash": "406771d8ce0e4ef56846db870569088e",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 70,
"avg_line_length": 25.22222222222222,
"alnum_prop": 0.7092511013215859,
"repo_name": "PyZim/indaba",
"id": "164d86f803ff0b05332c72727593dd889cc76718",
"size": "249",
"... |
package nz.mega.sdk;
import javax.swing.SwingUtilities;
public class MegaApiSwing extends MegaApiJava {
public MegaApiSwing(String appKey, String userAgent, String path) {
super(appKey, userAgent, path, new MegaGfxProcessor());
}
@Override
void runCallback(Runnable runnable) {
SwingU... | {
"content_hash": "bed9d4bb8cb467d68883d360541e296c",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 71,
"avg_line_length": 24,
"alnum_prop": 0.7138888888888889,
"repo_name": "Novo1987/sdk",
"id": "e2342a18dee0cc5882ec79fe9aaf4b8650287339",
"size": "360",
"binary": false... |
var annotated_dup =
[
[ "Hacknet", "namespace_hacknet.html", "namespace_hacknet" ],
[ "Pathfinder", "namespace_pathfinder.html", "namespace_pathfinder" ]
]; | {
"content_hash": "998de1bf6d66d0d83ba67456267f671f",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 73,
"avg_line_length": 32.8,
"alnum_prop": 0.6707317073170732,
"repo_name": "Spartan322/Hacknet-Pathfinder",
"id": "dd4e3014b3e42069568bfdef70f28e59cacff00b",
"size": "164",... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta http-equiv="Content-Style-Type" content="text/css">
<link rel="STYLESHEET" href="MakeProjectCreator.css" charset="ISO-8859-1"
type="text/css">
<title>MPC:... | {
"content_hash": "a2ea2def451d42d4c0b1028149fdea34",
"timestamp": "",
"source": "github",
"line_count": 286,
"max_line_length": 120,
"avg_line_length": 43.54195804195804,
"alnum_prop": 0.6946920420782141,
"repo_name": "wfnex/openbras",
"id": "2a632741898b641f0e2efa67da97af555907059d",
"size": "1245... |
<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>
<groupId>com.winkelhagen</groupId>
<artifactId>depgraph-maven-plugin</a... | {
"content_hash": "849950c7a095f8eaa56928c42575f7af",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 104,
"avg_line_length": 30.72093023255814,
"alnum_prop": 0.615442846328539,
"repo_name": "ljgw/depgraph",
"id": "8c6aa6be5f1cc52a06f0b540f57264f593bf1694",
"size": "2642",
... |
import sys
import pyarrow as pa
from pyarrow import filesystem
import pytest
def test_filesystem_deprecated():
with pytest.warns(FutureWarning):
filesystem.LocalFileSystem()
with pytest.warns(FutureWarning):
filesystem.LocalFileSystem.get_instance()
@pytest.mark.skipif(sys.version_info < ... | {
"content_hash": "d7057fb39d5864fe0c4b3a737b3446b4",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 62,
"avg_line_length": 26.4,
"alnum_prop": 0.6454545454545455,
"repo_name": "cpcloud/arrow",
"id": "3d54f33e1f2fdd99ca8679fdadf8be46288a43e3",
"size": "2106",
"binary": f... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "27308dc195b1c0f42f9c252a3435e678",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "f9e08a18fb4e263e8676b38d464d04fb8ef46227",
"size": "191... |
using System;
using System.Collections.Generic;
using System.Threading;
public class TimedCache<T>
{
int _timeLimit;
int _checkInterval;
bool _removeOnRetrieve;
Dictionary<String, TimedCacheEntry<T>> _cache;
Thread _clearThread;
public TimedCache(int timeLimit) : this(timeLimit, false) { }
public TimedCa... | {
"content_hash": "350f31dc2ed6b3ab9797f4665ca2e83c",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 133,
"avg_line_length": 20.16058394160584,
"alnum_prop": 0.6212889210716872,
"repo_name": "AppGeo/GPV",
"id": "caf2499ef7f172ced6f4b09a924ad2a1af873245",
"size": "3375",
... |
ref: karydis
title: "Ioannis Karydis"
bio: "Temporary Lecturer 407/80 Department of Informatics"
rank: 6
author: karydis-en
tel: ""
email: " karydis@ionio.gr "
uri: "https://users.ionio.gr/~karydis/index.html"
cv: "https://users.ionio.gr/~karydis/make_pdf.php?lang=en"
categories:
- "HILab"
tags:
- "Decision Support ... | {
"content_hash": "a259cda992b993dbefa9252dfdbac7c0",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 94,
"avg_line_length": 30.047619047619047,
"alnum_prop": 0.7274167987321711,
"repo_name": "ioniodi/site1",
"id": "380faa9655903a75d32206ab7908240890b333dc",
"size": "635",
... |
/// Copyright (c) 2012 Ecma International. All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms"). Any redistribution of this code must retain the above
/// copyrigh... | {
"content_hash": "9aca1618cf835bad55cfcce7cc5fb1b8",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 154,
"avg_line_length": 34,
"alnum_prop": 0.5996732026143791,
"repo_name": "fdecampredon/jsx-typescript-old-version",
"id": "c5d0dcca3f0eac82228c1612c0df9b116c1e07eb",
"siz... |
package friendListUI;
import java.awt.Color;
import java.awt.Font;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.awt.event.MouseMotionAdapter;
i... | {
"content_hash": "b26dd5148aafd179ece57734fd86e782",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 105,
"avg_line_length": 30.38144329896907,
"alnum_prop": 0.7013912453342382,
"repo_name": "He11oLiu/ChatRoom",
"id": "c99ae9146f674f8f450b61e506debeab81741628",
"size": "5... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" android:versionCode="1" android:versionName="1.0" package="CustomerGraphicsInterface.Droid">
<!--suppress UsesMinSdkAttributes-->
<uses-sdk android:minSdkVersion="15" />
<uses... | {
"content_hash": "b7dee1c6d23e85edd73af85d105c10de",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 205,
"avg_line_length": 69.23076923076923,
"alnum_prop": 0.7527777777777778,
"repo_name": "ASS-UNN/taxi",
"id": "a8d146b19b5dbc16db4dc16cc2bfbbe788f114a2",
"size": "1800",
... |
package com.intellij.openapi.vcs.changes.shelf;
import com.intellij.openapi.components.XmlConfigurationMerger;
import com.intellij.openapi.util.InvalidDataException;
import com.intellij.openapi.util.WriteExternalException;
import com.intellij.openapi.application.PathManager;
import com.intellij.openapi.options.Stream... | {
"content_hash": "f6a326e45aaf6fbfcb904f309ef10ba9",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 125,
"avg_line_length": 39.33576642335766,
"alnum_prop": 0.7322323251066988,
"repo_name": "jexp/idea2",
"id": "82355dcd585a8348152b976e45c8ca88284c73dc",
"size": "5989",
... |
// A sample program demonstrating using Google C++ testing framework.
//
// Author: wan@google.com (Zhanyong Wan)
// In this example, we use a more advanced feature of Google Test called
// test fixture.
//
// A test fixture is a place to hold objects and functions shared by
// all tests in a test case. U... | {
"content_hash": "4360f8e589974ed9365391bc68010ef0",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 72,
"avg_line_length": 31.853658536585368,
"alnum_prop": 0.647524247064829,
"repo_name": "2coding/UseSQLite",
"id": "9f5f8519b7980d5718cf405ff43223b10b462fa2",
"size": "55... |
#include <Util/Timer.h>
#endif
using namespace FabricUI::GraphView;
NodeRectangle::NodeRectangle(Node * parent)
: QGraphicsWidget(parent)
{
m_node = parent;
}
void NodeRectangle::paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget)
{
#ifdef FABRICUI_TIMERS
Util::TimerPtr timer =... | {
"content_hash": "75785467523f902755bcc113d603e6ff",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 140,
"avg_line_length": 31.415584415584416,
"alnum_prop": 0.7081438610996279,
"repo_name": "ahmidou/FabricUI",
"id": "b550100f740372d3279920b33f69e9eccf56ef85",
"size": "27... |
/*
* Types definitions for [Kefir][], for use with Flow type checker
*
* [Kefir]: https://rpominov.github.io/kefir/
*
* by Jesse Hallett
*/
declare module kefir {
declare class Observable<T, E> {
/* Subscribe / add side effects */
onValue(callback: (value: T) => any): this;
offValue(callback: (val... | {
"content_hash": "5315485cdac23334dda75b91ced7c2cc",
"timestamp": "",
"source": "github",
"line_count": 309,
"max_line_length": 80,
"avg_line_length": 30.941747572815533,
"alnum_prop": 0.5400062754941952,
"repo_name": "flowtype/flow-typed",
"id": "4843f2dcc86b6f7bfc8bef71ec26aed63b830394",
"size": ... |
using System;
using Microsoft.Extensions.Logging;
namespace RabbitLink.Logging
{
internal class Logger : ILinkLogger
{
private readonly ILogger _logger;
public Logger(ILogger logger)
{
_logger = logger;
}
public void Dispose()
{
... | {
"content_hash": "40a4f1164117236daec8d7f75c79ef2e",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 86,
"avg_line_length": 26,
"alnum_prop": 0.47842401500938087,
"repo_name": "rabbit-link/rabbit-link",
"id": "f263be975ea2177963b746d5c34dba8343aaf736",
"size": "1068",
"b... |
WebSvr
==============
A simple web server, implement with filter and handler.
Features
--------------
- Filter (Middleware): A request will try to match all the filters first.
- Handler: When a request matched a handler, it will returned, only one handler will be executed.
- Session: By config sessionDir, you can st... | {
"content_hash": "dc834ab8a2c838858e85673d733907e5",
"timestamp": "",
"source": "github",
"line_count": 461,
"max_line_length": 232,
"avg_line_length": 23.162689804772235,
"alnum_prop": 0.6270837235437348,
"repo_name": "tanbo800/ourjs",
"id": "0a07459aea177214645c58a4f4e35da2c7fb2e9a",
"size": "107... |
namespace BattleInfoPlugin.Models.Raw
{
/// <summary>
/// 昼戦
/// </summary>
public class sortie_battle: ICommonFirstBattleMembers
{
public int api_dock_id { get; set; }
public int[] api_ship_ke { get; set; }
public int[] api_ship_lv { get; set; }
public int[] api_now... | {
"content_hash": "a17f9ca1d4d5849a3c3fd857457e6080",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 70,
"avg_line_length": 41.45454545454545,
"alnum_prop": 0.5650584795321637,
"repo_name": "FreyYa/BattleInfoPlugin",
"id": "051904086caf01ff1855e33b886fe75fe3dcd5d2",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2017 ProjectV Authors. All Rights Reserved.
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/lic... | {
"content_hash": "8b11ce8fee60723604d87a645e70f814",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 76,
"avg_line_length": 37.55813953488372,
"alnum_prop": 0.6928792569659443,
"repo_name": "jjhdez/ProjectV-Android",
"id": "da99fa0d1e376efd19727673a2b8cb3fda294dbe",
"size"... |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="api_plat... | {
"content_hash": "45afd28f5be2bfe8ae9512d1f75bae80",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 180,
"avg_line_length": 62.53125,
"alnum_prop": 0.690488089288689,
"repo_name": "vincentchalamon/core",
"id": "546c64b90f089aa01efd7e62c144a5838bfd8892",
"size": "6003",
... |
SpecBegin(MKLayoutItemTests)
describe(@"MKLayoutItemTests", ^{
__block UIView *container;
__block MKLayout *layout;
__block UIView *subview1;
__block UIView *subview2;
__block UIView *subview3;
__block UIView *subview4;
beforeEach(^{
container = [[UIView... | {
"content_hash": "256827fa11f41598593064264fcb5d87",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 118,
"avg_line_length": 32.44318181818182,
"alnum_prop": 0.6077057793345009,
"repo_name": "mkloeppner/MKLayoutLibrary",
"id": "9d884ab624f4fc5b416b0d78f892e1ddd49b095d",
"s... |
#include "native_client/src/untrusted/irt/irt.h"
#include "native_client/src/untrusted/nacl/syscall_bindings_trampoline.h"
static int nacl_irt_futex_wait(volatile int *addr, int value,
const struct timespec *abstime) {
return NACL_GC_WRAP_SYSCALL(-NACL_SYSCALL(futex_wait_abs)(addr, ... | {
"content_hash": "d48b755d06fe5b8ca5054e5215ab8f01",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 75,
"avg_line_length": 28.393939393939394,
"alnum_prop": 0.6307363927427961,
"repo_name": "cvsuser-chromium/native_client",
"id": "b1c9e3c59f67e0ad9a3c711911b5af3e4dd41151",
... |
<?php
/**
* Post functions and post utility function.
*
* @package WordPress
* @subpackage Post
* @since 1.5.0
*/
//
// Post Type Registration
//
/**
* Creates the initial post types when 'init' action is fired.
*
* @since 2.9.0
*/
function create_initial_post_types() {
register_post_type( 'post', array(
... | {
"content_hash": "c8e3708888c0c6c58767dd67b3d72929",
"timestamp": "",
"source": "github",
"line_count": 5685,
"max_line_length": 349,
"avg_line_length": 31.631486367634125,
"alnum_prop": 0.6276212984846379,
"repo_name": "haoqoo/shipin",
"id": "2d59f21da2d520d7c85b3a74a536aadb6757b7ee",
"size": "179... |
Aria.classDefinition({
$classpath : "test.aria.pageEngine.pageEngine.PageEngineBase",
$extends : "test.aria.pageEngine.IframeBase",
$dependencies : ["aria.utils.CSSLoader", "aria.utils.String", "aria.storage.LocalStorage"],
$constructor : function () {
this.$IframeBase.constructor.call(this);
... | {
"content_hash": "269ebdec8c287098244e12408181ec4e",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 95,
"avg_line_length": 35.45,
"alnum_prop": 0.5190409026798307,
"repo_name": "ariatemplates/ariatemplates",
"id": "a1fb607dd40f3dd0e33e00d58c5c8ec2f3bbd23b",
"size": "2011"... |
// Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | {
"content_hash": "4034156a5a630469c264c3fd7721d9ce",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 79,
"avg_line_length": 28.836363636363636,
"alnum_prop": 0.6973518284993695,
"repo_name": "chengduoZH/Paddle",
"id": "bff24e74a7070b31d6385b2d5924bdc62d7219c9",
"size": "15... |
import J = TDev.AST.Json;
import B = Blockly;
// A series of utility functions for constructing various J* AST nodes.
module Helpers {
// Digits are operators...
export function mkDigit(x: string): J.JOperator {
return mkOp(x);
}
export function mkNumberLiteral(x: number): J.JNumberLiteral {
return {
... | {
"content_hash": "568ec9ea363560ff267b0ea71e5605c8",
"timestamp": "",
"source": "github",
"line_count": 1267,
"max_line_length": 112,
"avg_line_length": 30.621941594317285,
"alnum_prop": 0.6099283468220011,
"repo_name": "Aksoom-Hussain/TouchDevelop",
"id": "8b93c091bc70c19ad17de72ed6065cddbea7017f",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE191_Integer_Underflow__unsigned_int_fscanf_postdec_68a.c
Label Definition File: CWE191_Integer_Underflow.label.xml
Template File: sources-sinks-68a.tmpl.c
*/
/*
* @description
* CWE: 191 Integer Underflow
* BadSource: fscanf Read data from the console using fs... | {
"content_hash": "0618ba85db6cb289efdd4f72969d5b6a",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 118,
"avg_line_length": 33.75247524752475,
"alnum_prop": 0.7028454092109123,
"repo_name": "JianpingZeng/xcc",
"id": "2354b5bf3c1ec42bc3f8a6432a2931d8d8d8d96a",
"size": "34... |
{-# LANGUAGE TypeFamilies, FlexibleContexts, DeriveGeneric #-}
module Data.Crdt.Counter where
import Data.Aeson
import Data.Crdt
import GHC.Generics
newtype Counter = Counter { readCounter :: Integer } deriving (Eq, Show, Generic)
newtype CounterUpdate = CounterUpdate { readCounterUpdate :: Integer } deriving (Eq, S... | {
"content_hash": "001b0a62d5f13ad7ffb7462235cb7657",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 99,
"avg_line_length": 31.130434782608695,
"alnum_prop": 0.7891061452513967,
"repo_name": "edofic/crdt",
"id": "fe630c74c5d215913170dd0aa94b04cd268a9e14",
"size": "716",
... |
@interface JSONJoy ()
@property(nonatomic,assign)Class objClass;
@property(nonatomic,strong)NSMutableDictionary* arrayMap;
@property(nonatomic,strong)NSMutableDictionary* propertyClasses;
@end
@implementation JSONJoy
static BOOL isLoose;
static BOOL boxDisabled;
/////////////////////////////////////////////////////... | {
"content_hash": "41166e5077674830486d975b01d8769a",
"timestamp": "",
"source": "github",
"line_count": 344,
"max_line_length": 176,
"avg_line_length": 44.06395348837209,
"alnum_prop": 0.5131283810529094,
"repo_name": "daltoniam/JSONJoy",
"id": "236c5efce2c68514dd29aef28a04c4bd23ddd6db",
"size": "1... |
double* normalize_kernel(PyObject *kernel, Py_ssize_t size, PyObject *should_normalize) {
Py_ssize_t i;
double sum = 0.0;
double *items = (double*)malloc(size * sizeof(double));
for (i = 0; i < size; ++i) {
PyObject *obj = PyTuple_GET_ITEM(kernel, i);
if (PyFloat_Check(obj)) {
... | {
"content_hash": "eacfdc26b315c76207ee7d7058f7fc96",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 140,
"avg_line_length": 35.293103448275865,
"alnum_prop": 0.524181729360039,
"repo_name": "thumbor/thumbor",
"id": "ef65cdf48bcef827cfad422916403023a7f74b72",
"size": "411... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- From: file:/Users/xubinggui/Downloads/MatchView-master/library/build/intermediates/exploded-aar/com.android.support/appcompat-v7/21.0.2/res/values-in/values.xml -->
<eat-comment/>
<string msgid="4600421777120114993" name="abc_action_bar_home_descriptio... | {
"content_hash": "3ccb6bbd8910cdaed4ed29f829f4a4a5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 173,
"avg_line_length": 93.35,
"alnum_prop": 0.7557579003749331,
"repo_name": "xu6148152/binea_project_for_android",
"id": "d2187d1f22e960880f3282a26156112fc5fa1b5c",
"size... |
module Predictor
class Prediction
attr_reader :first_team, :second_team, :winner
def initialize(first_team, second_team, winner)
@first_team = first_team
@second_team = second_team
@winner = winner
end
end
end | {
"content_hash": "b0494818919f0e7605309410667ffe0e",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 51,
"avg_line_length": 22.181818181818183,
"alnum_prop": 0.6639344262295082,
"repo_name": "shageman/cbra_book_code",
"id": "cb184bd4a1131afd8a198bc3bc5c9320dbf56b5f",
"size... |
<?php
namespace CourseHero\ResponsysPHP\Api\Types;
class GetJobsResponse
{
/**
*
* @var ConnectJob $result
* @access public
*/
public $result = null;
/**
*
* @param ConnectJob $result
* @access public
*/
public function __construct($result = null)
{
$this->result = $result;
... | {
"content_hash": "e0cf729f1b9231b5bfbbd25a3ae7088d",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 45,
"avg_line_length": 13.04,
"alnum_prop": 0.5858895705521472,
"repo_name": "course-hero/responsys-php",
"id": "3f280d2b465db55ea49e3715b2df6329242b826c",
"size": "326",
... |
var ironTriangleApp = angular.module('ironTriangleApp', ['ui.grid', 'ui.grid.edit', 'ui.grid.resizeColumns']);
ironTriangleApp.controller('mainController', function ($scope) {
$scope.datastore = {
developers: [
{
name: 'Ken',
skills: {
css: {
... | {
"content_hash": "82d08a41c0293a1721468e06d0d6e153",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 116,
"avg_line_length": 32.5703125,
"alnum_prop": 0.4650995442552171,
"repo_name": "bgok/iron-triangle",
"id": "95f15d978aba9f763d832e5040a52563f9850e99",
"size": "4169",
... |
DIR=/home/core
set -ex
exec &> >(tee -a "/tmp/bootstrap.log")
sudo mkdir -p /etc/docker
sudo mkdir -p /etc/systemd/system/docker.service.d
sudo mv $DIR/runcmd/private/* /etc/docker/
sudo mv $DIR/runcmd/ro_volume /var/
sudo chmod a+x /var/ro_volume/cmdtests/*
sudo chmod a+x /var/ro_volume/randomizers/*
sudo chmod a+x /v... | {
"content_hash": "7ee59c29e8cbfbb455cae5f17751aaad",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 111,
"avg_line_length": 46.86666666666667,
"alnum_prop": 0.794452347083926,
"repo_name": "jarv/cmdchallenge-site",
"id": "2f2fb19c0ef2b8d8abef96b4e1b5428e4d58ff3c",
"size":... |
/**
* <p>cc.AtlasNode is a subclass of cc.Node, it knows how to render a TextureAtlas object. </p>
*
* <p>If you are going to render a TextureAtlas consider subclassing cc.AtlasNode (or a subclass of cc.AtlasNode)</p>
*
* <p>All features from cc.Node are valid</p>
*
* <p>You can create a cc.AtlasNode with an A... | {
"content_hash": "3850dfb2dca1b11146d1d2996fea984f",
"timestamp": "",
"source": "github",
"line_count": 487,
"max_line_length": 150,
"avg_line_length": 33.80287474332649,
"alnum_prop": 0.620094763698214,
"repo_name": "nekorice/yurikuma",
"id": "a1bbb3ff233e1e0a22e5e85ba50f1ec574721394",
"size": "17... |
using System;
using System.Collections.Generic;
using StatTag.Core.Interfaces;
using StatTag.Core.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using StatTag.Core.Parser;
using Moq;
using Match = System.Text.RegularExpressions.Match;
namespace Core.Tests.Parser
{
[TestClass]
public class BasePar... | {
"content_hash": "967a1afea3ef886376fd0dcc7e42cd6d",
"timestamp": "",
"source": "github",
"line_count": 613,
"max_line_length": 126,
"avg_line_length": 39.92822185970636,
"alnum_prop": 0.5284768753064226,
"repo_name": "StatTag/StatTag",
"id": "d486496225ef152d11225bfeb24fae44298b50bf",
"size": "244... |
<?php
namespace Lokos\ShopBundle\Form\Type;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Query\Expr\Join;
use Lokos\ShopBundle\Repositories\AttributeRepository;
use Lokos\ShopBundle\Repositories\AttributeValueRepository;
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use Symfony\Component\Form\AbstractType;
us... | {
"content_hash": "6978518a14b22fa185f1fd55f3e5dd2a",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 122,
"avg_line_length": 35.68840579710145,
"alnum_prop": 0.4402030456852792,
"repo_name": "JavaTrain/shop",
"id": "20add3f12feba2a2e286ccb1c5aabfb186deb228",
"size": "4925... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<script src="lib/htmlwidgets-0.5.2/htmlwidgets.js"></script>
<script src="lib/d3-3.5.5/d3.min.js"></script>
<script src="lib/function-plot-1.15.0/function-plot.js"></script>
<script src="lib/functionplot-binding-0.0.1/functionplot.js"></script>
</head>
<body style=... | {
"content_hash": "68f23d0cd40d36a902c47cc726e7e838",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 236,
"avg_line_length": 52.05555555555556,
"alnum_prop": 0.6734258271077909,
"repo_name": "timelyportfolio/buildingwidgets",
"id": "82ff1a8ac6243d09356ddbcdeef8e541ac9cafce",... |
module Split
class Experiment
attr_accessor :name
attr_accessor :goals
attr_accessor :alternative_probabilities
attr_accessor :metadata
attr_reader :alternatives
attr_reader :resettable
DEFAULT_OPTIONS = {
resettable: true
}
def self.find(name)
Split.cache(:experimen... | {
"content_hash": "54197391d3c989e8fa3f084506e77692",
"timestamp": "",
"source": "github",
"line_count": 498,
"max_line_length": 131,
"avg_line_length": 26.676706827309236,
"alnum_prop": 0.626496048174633,
"repo_name": "splitrb/split",
"id": "26c1792fdeaea33c57d174f66bdd418a3a30a041",
"size": "13316... |
package nz.govt.natlib.adapter.tiff;
import java.io.IOException;
import nz.govt.natlib.fx.DataSource;
import nz.govt.natlib.fx.Element;
import nz.govt.natlib.fx.FXUtil;
import nz.govt.natlib.fx.IntegerElement;
import nz.govt.natlib.fx.ParserContext;
import nz.govt.natlib.fx.RationalElement;
import nz.govt.natlib.fx... | {
"content_hash": "7c5c7807d1a2591e2d71d529f7319179",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 74,
"avg_line_length": 27.636942675159236,
"alnum_prop": 0.6466927863563033,
"repo_name": "doctorlard/metadata-extractor",
"id": "a39f6a75ab9529970ff017ab1641bdd234e9b939",
... |
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/icon_user_pressed" android:state_selected="true" />
<item android:drawable="@drawable/icon_user_pressed" android:state_pressed="true" />
<item android:drawable="@dr... | {
"content_hash": "8dd7bf5460eb5a091a926aadfb4b72ee",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 89,
"avg_line_length": 56,
"alnum_prop": 0.7209821428571429,
"repo_name": "vivian8725118/IconTabPageIndicator-master",
"id": "3c842746d41fade687103afbf731a2d77a24a550",
"siz... |
declare module 'aurelia-loader' {
import * as core from 'core-js';
import { relativeToFile } from 'aurelia-path';
import { Origin } from 'aurelia-metadata';
/*eslint no-unused-vars:0*/
export interface LoaderPlugin {
fetch(address: string): Promise<any>;
}
export class TemplateDependency {
co... | {
"content_hash": "0ce92f46378c8b150d3befd9d5fbc15d",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 72,
"avg_line_length": 35.3125,
"alnum_prop": 0.7053097345132744,
"repo_name": "ralexand56/aurelia-typescript",
"id": "024ee905f306012cfce7f069554d9cb0e1c336b6",
"size": "1... |
'use strict';
var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ... | {
"content_hash": "9cb5a4e4f2f8c8ad161e5410d2ee45fd",
"timestamp": "",
"source": "github",
"line_count": 1129,
"max_line_length": 664,
"avg_line_length": 33.86182462356067,
"alnum_prop": 0.5396285639550091,
"repo_name": "jonobr1/cdnjs",
"id": "04f6f7d30d29cc08dba7d84fb99cc88d86fbe56b",
"size": "3823... |
<?php
namespace Daniel\TonerBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* This is the class that validates and merges configuration from your app/config files.
*
* To learn more see {@link http://symfo... | {
"content_hash": "07f12e03d2bee3a7fd143e922e710e41",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 95,
"avg_line_length": 29.103448275862068,
"alnum_prop": 0.7097156398104265,
"repo_name": "servandopantaleon/practicas",
"id": "b47d1d905e9db6fb97c4dc6510dce8948ad426c0",
"... |
/***************************************************************************//**
* @file em_rmu.c
* @brief Reset Management Unit (RMU) peripheral module peripheral API
*
* @version 4.4.0
*******************************************************************************
* @section License
* <b>Copyright 2016 Silicon... | {
"content_hash": "463600d784f49c306c7a723864f46646",
"timestamp": "",
"source": "github",
"line_count": 338,
"max_line_length": 125,
"avg_line_length": 44.866863905325445,
"alnum_prop": 0.5949884602703593,
"repo_name": "imec-idlab/LoRaMac-node",
"id": "d865852fc54370b5f5185a79f8fd17f6ff8ecfd5",
"si... |
package com.futurice.dtesttoys
import java.io.{BufferedReader, File, FileReader}
import fi.veikkaus.dcontext._
import com.futurice.testtoys._
import scala.collection.mutable.ArrayBuffer
abstract class TestSuite(val name:String) extends Contextual(name) with ContextTask {
type TestMethod = (MutableDContext, TestT... | {
"content_hash": "89130bad95babd3b8d0714f20a521538",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 87,
"avg_line_length": 23.72340425531915,
"alnum_prop": 0.5887892376681614,
"repo_name": "VeikkausOy/dcontext",
"id": "977a6a45aa66aa9740ff069771fd0aa3a0e0b8ee",
"size": "2... |
using Util.Dependency;
namespace Util.Sessions {
/// <summary>
/// 用户会话
/// </summary>
public interface ISession : ISingletonDependency {
/// <summary>
/// 是否认证
/// </summary>
bool IsAuthenticated { get; }
/// <summary>
/// 用户标识
/// </summary>
... | {
"content_hash": "6ea359290f271bb6778dae2caf239918",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 54,
"avg_line_length": 20.941176470588236,
"alnum_prop": 0.4887640449438202,
"repo_name": "yuleyule66/Util",
"id": "8d262a86fe2bcd44079aae67b1a2f0b5abe714d9",
"size": "382"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_111) on Wed Jan 04 22:31:11 EST 2017 -->
<title>InstrumentSetTenorQuote</title>
<meta name="date" content="2017-01-04">
<link rel="stylesheet" ... | {
"content_hash": "2253ff09cd7a61b0b774f8abc7cdf46e",
"timestamp": "",
"source": "github",
"line_count": 383,
"max_line_length": 391,
"avg_line_length": 36.89033942558747,
"alnum_prop": 0.6597777620496851,
"repo_name": "lakshmiDRIP/DRIP",
"id": "6ab4b87821427f1485d5aefc85f20d22a2279f47",
"size": "14... |
package org.apache.ignite.testsuites;
import org.apache.ignite.internal.processors.cache.GridCacheIncrementTransformTest;
import org.apache.ignite.internal.processors.cache.distributed.IgniteCacheAtomicNodeJoinTest;
import org.apache.ignite.internal.processors.cache.distributed.IgniteCacheSizeFailoverTest;
import or... | {
"content_hash": "ca39bd2232bab775865d62ecaae6729f",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 128,
"avg_line_length": 51.89230769230769,
"alnum_prop": 0.8710346872220576,
"repo_name": "shroman/ignite",
"id": "ed447fd9408853856726c0e5ab7345411d2cf6d2",
"size": "4175"... |
using System;
using System.Collections.Generic;
using System.Dynamic;
using Stream = System.IO.Stream;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NutzCode.Libraries.Web;
namespace NutzCode.CloudFileSystem.Plugins.GoogleDrive
{
public ... | {
"content_hash": "a8839b425149d34cf2461a8885e79fcf",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 193,
"avg_line_length": 41.55555555555556,
"alnum_prop": 0.618411000763942,
"repo_name": "maxpiva/CloudFileSystem",
"id": "2b9e0462bd69359177291a8c792e99c439049c0f",
"size... |
#ifndef TENSORFLOW_LITE_DELEGATES_GPU_COMMON_TASKS_POOLING_H_
#define TENSORFLOW_LITE_DELEGATES_GPU_COMMON_TASKS_POOLING_H_
#include "tensorflow/lite/delegates/gpu/common/operations.h"
#include "tensorflow/lite/delegates/gpu/common/status.h"
#include "tensorflow/lite/delegates/gpu/common/task/gpu_operation.h"
names... | {
"content_hash": "24aadc1c8c7158622ca7a9df094fbf02",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 68,
"avg_line_length": 33.583333333333336,
"alnum_prop": 0.6898263027295285,
"repo_name": "Intel-tensorflow/tensorflow",
"id": "0f094b4c7f365e6c0753eab2c38b94bcf0439c88",
"... |
package io.github.binaryfoo.lagotto.shell
import java.io.{InputStream, File}
import com.typesafe.config.{Config, ConfigFactory}
import io.github.binaryfoo.lagotto.JoinMode.JoinMode
import io.github.binaryfoo.lagotto.MsgPair.RichEntryIterable
import io.github.binaryfoo.lagotto._
import io.github.binaryfoo.lagotto.read... | {
"content_hash": "4885fce0c5274a081bbf1febdeaaab12",
"timestamp": "",
"source": "github",
"line_count": 241,
"max_line_length": 144,
"avg_line_length": 36.97925311203319,
"alnum_prop": 0.666629263913824,
"repo_name": "binaryfoo/lagotto",
"id": "efa2cdc7ab8341dc787364b8824dd80217653cd5",
"size": "89... |
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger {
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
}
.b... | {
"content_hash": "a2c16c82e2c3404522a01a20625311db",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 121,
"avg_line_length": 43.799479166666664,
"alnum_prop": 0.7059278197276889,
"repo_name": "M3kH/tire-bouchon",
"id": "e57eac47088301175b2ac2ce451941aae1a974f2",
"size": "... |
<?php
defined('_JEXEC') or die('RESTRICTED');
wfimport('admin.models.editor');
$model = new WFModelEditor();
echo $model->getToken('source');
?>
| {
"content_hash": "33202675ea530a9c62fdeaf2a77584f5",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 39,
"avg_line_length": 14.9,
"alnum_prop": 0.6644295302013423,
"repo_name": "creative2020/f4u",
"id": "d776969f1e0590bd9092001e8c2c3bacf52bda57",
"size": "603",
"binary":... |
<?php
namespace PhpOffice\PhpWord\Element;
use PhpOffice\Common\Text as CommonText;
use PhpOffice\PhpWord\Style\Font;
use PhpOffice\PhpWord\Style\Paragraph;
/**
* Preserve text/field element
*/
class PreserveText extends AbstractElement
{
/**
* Text content
*
* @var string
*/
private $... | {
"content_hash": "8a595a585ce72e83dc9e59ce51471f4d",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 110,
"avg_line_length": 20.431818181818183,
"alnum_prop": 0.5700778642936596,
"repo_name": "bayuaji13/aismardi",
"id": "e38a8c16624682196c9812e21d5598a5f96d4f94",
"size": "... |
var app = angular.module('Beersportme.controllers.getLadder', []);
app.controller("getLadder", ladderController);
function ladderController($http, $scope, $rootScope, getFactory, postFactory) {
var vm = $scope;
var ladderInfo = getFactory.getData('ladders/' + $rootScope.ladderID)
.then(function(result) {
v... | {
"content_hash": "fe0203fc3f83b5f56312761f1e535966",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 126,
"avg_line_length": 28.62264150943396,
"alnum_prop": 0.5939353988134476,
"repo_name": "alnye655321/beerleagueme",
"id": "e1028d5d386f6f5cb7d68618f49da67a8340dbe8",
"si... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016-2022 52°North Spatial Information Research GmbH
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.... | {
"content_hash": "3a05518abc350005ce3906beaad2b4fc",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 98,
"avg_line_length": 43.03030303030303,
"alnum_prop": 0.6823943661971831,
"repo_name": "52North/javaPS",
"id": "b64d98f21015cf6f98af40a048a9bb57aef8573b",
"size": "1421",... |
using System;
using Xamarin.FormsBook.Toolkit;
namespace ConditionalSection
{
class ProgrammerInformation : ViewModelBase
{
string name, emailAddress, phoneNumber, ageRange;
bool isProgrammer;
string language, platform;
public string Name
{
set { SetProper... | {
"content_hash": "a7bcc33cd153e7c3b5f908cdf3aa16a2",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 57,
"avg_line_length": 23.87037037037037,
"alnum_prop": 0.5213343677269201,
"repo_name": "ancchaimongkon/xamarin-forms-book-preview-2",
"id": "94bdb0a7229b1be7b12a72fd251a21b... |
<?xml version="1.1" encoding="UTF-8"?>
<Events xmlns="event-logging:3"
xmlns:stroom="stroom"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="event-logging:3 file://event-logging-v3.0.0.xsd"
Version="3.0.0">
<Event>
<EventTime>
<TimeCreated>2013... | {
"content_hash": "568d6ee433cd1002024e9a51305cbcc3",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 76,
"avg_line_length": 29.975,
"alnum_prop": 0.5170975813177648,
"repo_name": "gchq/stroom",
"id": "544bf4d9246bd01e12c6cd07cffccfaf59aee7f5",
"size": "1199",
"binary": f... |
**[Official Documentation](https://marknotton.github.io/doggistyle/) | {
"content_hash": "b5a92da2471d62261228369876392f77",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 68,
"avg_line_length": 68,
"alnum_prop": 0.7941176470588235,
"repo_name": "marknotton/Doggy-Style",
"id": "da57152d51282038c5932a4b58f05a7634975a3d",
"size": "68",
"binary... |
page_type: sample
products:
- office
- office-365
- office-outlook
languages:
- javascript
description: "Scream into the void es un complemento de Microsoft Outlook que le permitirá criticar el correo electrónico que está leyendo"
urlFragment: scream-into-void
extensions:
contentType: samples
technologies:
- Add-... | {
"content_hash": "cf96711772fdd3df804a94c00296ed3f",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 390,
"avg_line_length": 59.57142857142857,
"alnum_prop": 0.7806845432744713,
"repo_name": "OfficeDev/Outlook-Add-in-Scream",
"id": "7d4951efe10b34f6accfd194ad6df24f38b21a6d",... |
/**
* @module capture-engine
* @type {Object}
*/
module.exports = {
process: require('./process')
}; | {
"content_hash": "bd230acf7122a652aea14137ed315700",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 31,
"avg_line_length": 15,
"alnum_prop": 0.6,
"repo_name": "KleeGroup/focus-pdf-generator",
"id": "db31b2a917e7e5da7b5b02c364122971f2aea338",
"size": "105",
"binary": fals... |
#pragma once
#include <aws/imagebuilder/Imagebuilder_EXPORTS.h>
#include <aws/imagebuilder/ImagebuilderRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace imagebuilder
{
namespace Model
{
/**
*/
class AWS... | {
"content_hash": "8177b1869bf18df373f26619b0c6ffd0",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 136,
"avg_line_length": 33.848837209302324,
"alnum_prop": 0.7035383029886637,
"repo_name": "cedral/aws-sdk-cpp",
"id": "e2d8056fbecde85bde9c1d02671cf8f395bf0b39",
"size": "... |
package com.coleman.proxy;
import java.lang.reflect.Proxy;
public class TestDynamicProxy {
private Object work;
public TestDynamicProxy() {
WorkProxy p= new WorkProxy();
p.add(new WashWork());
work = Proxy.newProxyInstance(IWork.class.getClassLoader(),
new Class<?>[] { IWork.class }, p);
((IWork)work).... | {
"content_hash": "dabd68faef1ce25e8be351611e98a779",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 61,
"avg_line_length": 21.7,
"alnum_prop": 0.6889400921658986,
"repo_name": "zouyuefu/StudyJava",
"id": "4b1554c15e1ced535a36b15679005f4180b251d8",
"size": "434",
"binary... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.