text stringlengths 2 1.04M | meta dict |
|---|---|
module Minitest
module Reporters
class DelegateReporter
def initialize(reporters, options = {})
@reporters = reporters
@options = options
@all_reporters = nil
end
def start
all_reporters.each(&:start)
end
def record(result)
all_reporters.each... | {
"content_hash": "fc1efc985230633916d526867e328eca",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 105,
"avg_line_length": 27.397058823529413,
"alnum_prop": 0.595276435856146,
"repo_name": "ralzate/NuevoAeroSanidad",
"id": "23bcef981a32a322a03a8812453798b9a7e77ba5",
"siz... |
Rails.application.routes.draw do
resources :boxes, only: %i(create show edit update destroy) do
get :download, on: :member
get :default, on: :collection
end
post 'configurations/for_gemfile'
root to: 'dashboard#show'
end
| {
"content_hash": "c1e8fa1f2108ee63d9656ed5ce2a15d3",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 64,
"avg_line_length": 23.9,
"alnum_prop": 0.7112970711297071,
"repo_name": "andreychernih/railsbox",
"id": "2af54518e583b1163569f7e531127bcb37b5101d",
"size": "239",
"bi... |
<?php
namespace ZFTest\Hal\TestAsset;
use Zend\Stdlib\JsonSerializable as JsonSerializableInterface;
/**
* @subpackage UnitTest
*/
class JsonSerializable implements JsonSerializableInterface
{
public function jsonSerialize()
{
return array('foo' => 'bar');
}
}
| {
"content_hash": "9e9ca9c9939be2eb6ea30fc331048c2a",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 62,
"avg_line_length": 16.88235294117647,
"alnum_prop": 0.710801393728223,
"repo_name": "crysthianophp/RollnApi",
"id": "481da58a67c4eeebd55386f83ceaedc322bb24e5",
"size": ... |
import "@angular/common"
import "@angular/core"
import "@angular/forms"
import "@angular/http"
import "@angular/platform-browser"
import "@angular/platform-browser-dynamic"
import "@angular/router"
// RxJS
import "rxjs" | {
"content_hash": "1658a58535ed5494b8851261273f33c0",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 42,
"avg_line_length": 22,
"alnum_prop": 0.759090909090909,
"repo_name": "pabloalonsolopez/footbagent",
"id": "e5e0dcadacc5fda162227abd4407b2b79da58141",
"size": "231",
"... |
class CreateGameTags < ActiveRecord::Migration[5.0]
def change
create_table :game_tags do |t|
t.references :tag
t.references :game
t.timestamps
end
end
end
| {
"content_hash": "ee8c25aa23956088e19270d10a3fdeeb",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 51,
"avg_line_length": 18.7,
"alnum_prop": 0.6524064171122995,
"repo_name": "bacevedo01/client_game_project",
"id": "a5bc72cff8192fe841dfd330a4864e3dca05ccff",
"size": "187... |
<?xml version="1.0" encoding="UTF-8"?>
<animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/selected" android:oneshot="false">
<!-- The drawables used here can be solid colors, gradients, shapes, images, etc. -->
<item android:drawable="@drawable/seventh_bg" android:durat... | {
"content_hash": "dc062fc22a653854b3a94805c48b5858",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 127,
"avg_line_length": 64.88888888888889,
"alnum_prop": 0.708904109589041,
"repo_name": "weiwenqiang/GitHub",
"id": "bbb07c67f9089a4bbb51b6f7da68d76c61a6428b",
"size": "584... |
using System;
using System.IO;
using System.Collections.Generic;
namespace System.Xml {
//
// IDtdInfo interface
//
/// <summary>
/// This is an interface for a compiled DTD information.
/// It exposes information and functionality that XmlReader need in order to be able
/// to expand ent... | {
"content_hash": "620981e3e864871e7c4b40925c133770",
"timestamp": "",
"source": "github",
"line_count": 229,
"max_line_length": 98,
"avg_line_length": 36.92139737991266,
"alnum_prop": 0.584742755765819,
"repo_name": "esdrubal/referencesource",
"id": "9c3b30d3e2a19c3fbfb8c86c00cd7464ddd4927c",
"size... |
<?php
namespace Vector\Control;
use ReflectionClass;
use ReflectionFunction;
use ReflectionParameter;
use Vector\Core\Exception\IncompletePatternMatchException;
use Vector\Core\Module;
use Vector\Data\Maybe\Nothing;
use Vector\Lib\Arrays;
use Vector\Core\Curry;
abstract class Pattern
{
use Module;
/**
... | {
"content_hash": "16cf291d8c26fd724362fa0947b17372",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 107,
"avg_line_length": 28.473333333333333,
"alnum_prop": 0.5389838445328963,
"repo_name": "joseph-walker/vector",
"id": "13d6fec0c207cbf7d78fa47aeb639a7145e97ed8",
"size"... |
package davenkin.lesson4;
import org.junit.Test;
import org.mockito.Mockito;
import static org.junit.Assert.assertEquals;
public class CalculatorContextTest {
@Test
public void shouldAddNumbers() {
String num1 = "12";
String num2 = "23";
String expected = "1223";
CalculatorC... | {
"content_hash": "970c7975f558c9c3545b509c51289bcd",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 70,
"avg_line_length": 25.59259259259259,
"alnum_prop": 0.6729377713458755,
"repo_name": "davenkin/BookShelf",
"id": "0c2e217067a4739d088006055d43bdb71add08eb",
"size": "69... |
package waffle.windows.auth.impl;
import com.sun.jna.platform.win32.Secur32;
import com.sun.jna.platform.win32.Sspi;
import com.sun.jna.platform.win32.Sspi.CredHandle;
import com.sun.jna.platform.win32.Sspi.TimeStamp;
import com.sun.jna.platform.win32.Win32Exception;
import com.sun.jna.platform.win32.WinError;
impor... | {
"content_hash": "eb540d79960987af17d18a9f4cffd8dc",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 120,
"avg_line_length": 30.574257425742573,
"alnum_prop": 0.6512305699481865,
"repo_name": "hazendaz/waffle",
"id": "2ea11f195976f88a7d0941145a74d18bc9f5c713",
"size": "43... |
struct PrintOneCharacterAtATime {
static size_t printStringTo(const std::string& s, Print& p) {
size_t result = 0;
for (std::string::const_iterator it = s.begin(); it != s.end(); ++it) {
size_t n = p.write(uint8_t(*it));
if (n == 0)
break;
result += n;
}
return result;
}
};... | {
"content_hash": "dd57f0b9cf225a1e711d26ba0fe22896",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 75,
"avg_line_length": 30.12686567164179,
"alnum_prop": 0.6205102799108249,
"repo_name": "bblanchon/ArduinoJson",
"id": "7cec8f93498f1ba8d44780eb9503e8f6b851794c",
"size":... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using Avalonia.Data;
using Avalonia.PropertyStore;
using Avalonia.Utilities;
namespace Avalonia
{
/// <summary>
/// Stores styled property values for an <see cref="AvaloniaObject"/>.
/// </summary>
/// <remarks>
... | {
"content_hash": "c0c74ba1222cc3f69e08fb0bdd3b53d6",
"timestamp": "",
"source": "github",
"line_count": 512,
"max_line_length": 124,
"avg_line_length": 37.0859375,
"alnum_prop": 0.4927849167895513,
"repo_name": "jkoritzinsky/Perspex",
"id": "6b7b598086315f5c8286a9d399f52d5a3dc08a3b",
"size": "18990... |
separate_arguments(KERNEL_CL_FLAGS)
separate_arguments(KERNEL_CLANGXX_FLAGS)
#/usr/bin/clang --target=x86_64-pc-linux-gnu -march=bdver1 -Xclang -ffake-address-space-map -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_VECMATHLIB_BUILTIN -D__CBUILD__ -o get_local_id.bc -c ${CMAKE_SOURCE_DIR}/lib/kernel/get_... | {
"content_hash": "73c4dc9a1141b10e698d728f825236c7",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 314,
"avg_line_length": 46.50735294117647,
"alnum_prop": 0.636205533596838,
"repo_name": "jrprice/pocl",
"id": "66d1529a78f0c379ac025b562e629b094e30bfe1",
"size": "7683",
... |
package net.runelite.client.plugins.nightmarezone;
import com.google.inject.Provides;
import java.util.Arrays;
import javax.inject.Inject;
import net.runelite.api.ChatMessageType;
import net.runelite.api.Client;
import net.runelite.api.Varbits;
import net.runelite.api.events.ChatMessage;
import net.runelite.api.event... | {
"content_hash": "6dfe3d50c8b573ab30326272e3df5fc3",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 88,
"avg_line_length": 22.084745762711865,
"alnum_prop": 0.7224354054745459,
"repo_name": "abelbriggs1/runelite",
"id": "d5b91a94cd3dc5d6e4d7c32216f97dc280f49662",
"size":... |
#ifndef _OUTPUT_H_
#define _OUTPUT_H_
///////////////////////////////////////////////////////////
// Headers
///////////////////////////////////////////////////////////
#include <string>
///////////////////////////////////////////////////////////
/// Output Namespace
//////////////////////////////////////... | {
"content_hash": "7f2135c83dcd1f5a1865af4c8d6e0839",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 59,
"avg_line_length": 23.02777777777778,
"alnum_prop": 0.4451145958986731,
"repo_name": "take-cheeze/ARGSS",
"id": "180d003b09f9989cd8d3cd28cb37c89ac499d191",
"size": "234... |
package no.regnskog.poapp;
import android.content.Context;
import android.database.sqlite.SQLiteOpenHelper;
import android.database.sqlite.SQLiteDatabase;
class DatabaseOpenHelper extends SQLiteOpenHelper
{
private static final int DB_VERSION = 1;
public DatabaseOpenHelper(Context ctx)
{
super(ct... | {
"content_hash": "42d783244b771efeb64642ba57ae888c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 76,
"avg_line_length": 35.23076923076923,
"alnum_prop": 0.5114628820960698,
"repo_name": "audunhalland/poapp",
"id": "1093306f3c0d90e6ae9098fecd97f8f4df3cf51d",
"size": "18... |
package org.linkedin.glu.provisioner.plan.impl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.linkedin.glu.provisioner.plan.api.CompositeStepCompletionStatus;
import org.linkedin.glu.provisioner.plan.api.IStep;
import org.linkedin.glu.provisioner.plan.api.IStepCompletionStatus;
import org.linke... | {
"content_hash": "ded8a3b628265ba5f51d1f93badcf34b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 97,
"avg_line_length": 26.844827586206897,
"alnum_prop": 0.7199743095696853,
"repo_name": "pongasoft/glu",
"id": "dd57a5acaf2f4ed8dc74d8a95892779a43c516dd",
"size": "2158",... |
package org.apache.hadoop.yarn.util;
import static org.junit.Assert.fail;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Random;
import java.ut... | {
"content_hash": "039e92d5c2ee45c8a2209685ace98310",
"timestamp": "",
"source": "github",
"line_count": 758,
"max_line_length": 90,
"avg_line_length": 36.13324538258575,
"alnum_prop": 0.6120340282595202,
"repo_name": "tomatoKiller/Hadoop_Source_Learn",
"id": "349beeb5c3e408240955560a68cad451a1f8e6de"... |
module.exports = [
{id: 'overview', text: 'Overview', items: []},
{id: 'getstarted', text: 'Get started', items: []},
{id: 'text-simple', text: 'Controls', type: 'demos', items: [
{id: 'text-simple', text: 'Text', fiddle: 'http://jsfiddle.net/NfPcH/25/'},
{id: 'select-local', text: 'Select l... | {
"content_hash": "ba220fce3220a88065f41b3fcf598d94",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 132,
"avg_line_length": 56.54666666666667,
"alnum_prop": 0.5722706908747937,
"repo_name": "arielcr/angular-xeditable",
"id": "86f06c95801050204f98a014559103a1f6827189",
"si... |
import argparse
from bakery_cli.fixers import CharacterSymbolsFixer
description = 'Fixes TTF NAME table strings to be ascii only'
parser = argparse.ArgumentParser(description=description)
parser.add_argument('ttf_font', nargs='+',
help="Font in OpenType (TTF/OTF) format")
args = parser.parse_arg... | {
"content_hash": "260caacf6b3810e6edb274b734449d0a",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 61,
"avg_line_length": 28.428571428571427,
"alnum_prop": 0.7286432160804021,
"repo_name": "jessamynsmith/fontbakery",
"id": "eb02a8f1aac14f8e78b543587cf77c1a027ea752",
"siz... |
/*
Theme Name: Zolix HTML v 1.1
Author: http://www.wowthemes.net/premium-themes-templates/
*/
/*==============================================* RESET*===============================================*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,sa... | {
"content_hash": "e90008b59f2f8913ef3b7b508b9448c3",
"timestamp": "",
"source": "github",
"line_count": 2386,
"max_line_length": 479,
"avg_line_length": 21.308466051969823,
"alnum_prop": 0.6829786397073286,
"repo_name": "bridgedotnet/Demos",
"id": "9f39e7448ed4b7e9b40da842de746b519a041dfa",
"size":... |
<!DOCTYPE html>
<!--[if lt IE 10]> <html lang="en" class="iex"> <![endif]-->
<!--[if (gt IE 10)|!(IE)]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title... | {
"content_hash": "42325293be6c28d5f83973f31a43d725",
"timestamp": "",
"source": "github",
"line_count": 908,
"max_line_length": 207,
"avg_line_length": 74.11563876651982,
"alnum_prop": 0.38174064222773674,
"repo_name": "alfovo/caloucalay.github.io",
"id": "c62c49cb76fafa5b18488166170fcf2cb2548979",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__char_file_fopen_84_goodG2B.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-84_goodG2B.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: file Read input from a... | {
"content_hash": "b00c5de52921e368b9d62512db7e260b",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 146,
"avg_line_length": 30.448979591836736,
"alnum_prop": 0.675603217158177,
"repo_name": "JianpingZeng/xcc",
"id": "6917b1f5534f700c378c2adf9d77ac1962f3a4f1",
"size": "149... |
<?php
namespace themey\Command;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use themey\Generator\Theme;
use themey\Helper\Display;
/**
* Descr... | {
"content_hash": "a8960110369b77eecc6272bc8a33648b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 135,
"avg_line_length": 36.815384615384616,
"alnum_prop": 0.5712494776431258,
"repo_name": "ramaj93/themey-gen",
"id": "a2c239920a52a5af4cbf88b857006df131643f48",
"size": "... |
@interface JBAppDelegate : UIView <UIApplicationDelegate> {
UIWindow *_window;
UINavigationController *_navigationController;
}
- (void)benchmark;
@end
| {
"content_hash": "d53b2212af288981654c1b15caa064f0",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 59,
"avg_line_length": 17.444444444444443,
"alnum_prop": 0.7707006369426752,
"repo_name": "soffes/json-benchmarks",
"id": "e087406b9804a9baac6971075992ce9966cedd9d",
"size":... |
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/**
* @name: S15.9.5.25_A1_T3;
* @section: 15.9.5.25;
* @assertion: The Date.prototype property "getUTCMilliseconds" has { DontEnum } attributes;
* @description: Checking DontE... | {
"content_hash": "c67b664e9f3f9b5b2a9b1f7d96b28afd",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 92,
"avg_line_length": 33.25,
"alnum_prop": 0.6977443609022557,
"repo_name": "remobjects/script",
"id": "ee17c56d70eee62a2cc130aade5371b65d331598",
"size": "665",
"binary... |
<jh-screen-share-sub-button
source="'screen'"
icon="'blackboard'"
label="'Share a window/desktop'"></jh-screen-share-sub-button>
| {
"content_hash": "98dc1c0e877518aba0dadffb23efec96",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 64,
"avg_line_length": 33.75,
"alnum_prop": 0.6962962962962963,
"repo_name": "jangouts/jangouts",
"id": "c6996937dda5d512ac7bc5a93fbec8aa17cf3eaf",
"size": "135",
"binary"... |
"""
Provide functions for the creation and manipulation of 3D Spheres.
Sphere are represented using a numpy.array of shape (4,).
The first three values are the sphere's position.
The fourth value is the sphere's radius.
"""
from __future__ import absolute_import, division, print_function
import numpy as np
from math3... | {
"content_hash": "bdd6d2670804dabe0485c22bc8d47008",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 82,
"avg_line_length": 28.630769230769232,
"alnum_prop": 0.6765180010746911,
"repo_name": "PhloxAR/math3",
"id": "615c9d1be3efb2a88a9880db0aa114f647972488",
"size": "1885",... |
#ifndef UpdateChunk_h
#define UpdateChunk_h
#include <QImage>
#include <WebCore/IntRect.h>
#include "SharedMemory.h"
namespace CoreIPC {
class ArgumentEncoder;
class ArgumentDecoder;
}
namespace WebKit {
class UpdateChunk {
public:
UpdateChunk();
UpdateChunk(const WebCore::IntRect&);
~UpdateChunk();
... | {
"content_hash": "4752c12fea04e34c4987e5db0237a6e6",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 64,
"avg_line_length": 18.26829268292683,
"alnum_prop": 0.7036048064085447,
"repo_name": "Xperia-Nicki/android_platform_sony_nicki",
"id": "664056a69bd6d425dfb1487f581b2649c9... |
SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_PROCESSOR arm)
SET(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_CROSSCOMPILING TRUE)
find_program(CC_GCC arm-none-linux-gnueabihf-gcc REQUIRED)
set(CMAKE_FIND_ROOT_PATH /usr/arm-linux-gnueabihf)
# Cross compiler
SET(CMAKE_C_COMPILER arm-none-linux-gnueabihf-gcc)
SET(CMAKE_CXX_COM... | {
"content_hash": "5c8073310ac825ea037d828aa6de8d7a",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 86,
"avg_line_length": 30.068493150684933,
"alnum_prop": 0.7553530751708428,
"repo_name": "sparkprime/jsonnet",
"id": "7f68671262e945fdf8327b35d4bb1872ce6e8e39",
"size": "2... |
"""
WSGI config for agazeta project.
It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "agazeta.settings")
from django.core.... | {
"content_hash": "733aa42dfe707c6a8ba2402b97dced07",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 78,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.7773512476007678,
"repo_name": "Scoppio/a-gazeta-de-geringontzan",
"id": "92f84952c385a84b612f896bbc009f823d0894d1",... |
/*
* Element.java
*/
package cz.kebrt.html2latex;
import java.util.*;
/**
* Class representing HTML start element.
*/
class ElementStart extends MyElement {
/** Map containing all element's attributtes with their values. */
private HashMap<String, String> _attributes;
/**
* Cstr.
... | {
"content_hash": "0cfc3d567652a7879a2a41a066fdbcbe",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 77,
"avg_line_length": 18.727272727272727,
"alnum_prop": 0.6059870550161812,
"repo_name": "tanvirt/Faculty-Activity-Report",
"id": "19e2b2b2b0ac932b564d02ef2f551993c8c2f993",... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE475_Undefined_Behavior_for_Input_to_API__char_17.c
Label Definition File: CWE475_Undefined_Behavior_for_Input_to_API.label.xml
Template File: point-flaw-17.tmpl.c
*/
/*
* @description
* CWE: 475 Undefined Behavior for Input to API
* Sinks:
* GoodSink: Cop... | {
"content_hash": "42fccae118d8ee42a77df9e552df4e1f",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 104,
"avg_line_length": 27.22222222222222,
"alnum_prop": 0.6053061224489796,
"repo_name": "JianpingZeng/xcc",
"id": "4d681dca79897739f03deaf4879672cda1335e06",
"size": "245... |
layout: page
title: Roadmap
description: The roadmap shows the plan of attack for upcoming releases to the design system
---
A clear roadmap instills confidence that the system is alive and is actively being worked on. Provide information about what's to come. This ties into the <a href="{{ "/release-history.html" | p... | {
"content_hash": "d302c610d119d0ea366471b494b0f688",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 247,
"avg_line_length": 62.333333333333336,
"alnum_prop": 0.7700534759358288,
"repo_name": "RockyBrands/styleguide",
"id": "804c1a9431d84c575ca04b5ceeb4f7fe4f1aa84e",
"size"... |
import julia from "refractor/lang/julia.js";;
export default julia;
| {
"content_hash": "85894ad0475269f8c510ea291212df01",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 45,
"avg_line_length": 34,
"alnum_prop": 0.7794117647058824,
"repo_name": "conorhastings/react-syntax-highlighter",
"id": "d567bd388a0922ff3b7124c63a8bf338f0d9ca8a",
"size":... |
set -e -o -v
# Trap any errors that might happen in executing the script
trap my_trap_handler ERR
# Ensure there is a base path loaded
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Defined variables.
GIT_REPO="${GIT_REPO:-https://github.com/stackforge/os-ansible-deployment}"
GITHUB_API... | {
"content_hash": "b6bce5930fa4e8a793039763a5432f70",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 116,
"avg_line_length": 30.462809917355372,
"alnum_prop": 0.6180141074335322,
"repo_name": "AlphaStaxLLC/os-ansible-deployment",
"id": "3af0709251f2bb9528dd685ee7c3682f3ae27... |
//
// BSSquareButton.h
// BaiSiBuDeJie
//
// Created by 侯宝伟 on 15/11/7.
// Copyright © 2015年 ZHUNJIEE. All rights reserved.
//
#import <UIKit/UIKit.h>
@class BSSquare;
@interface BSSquareButton : UIButton
/** 方块模型 */
@property (nonatomic, strong) BSSquare *square;
@end
| {
"content_hash": "4572d9b687084d2155aa2cfbdd810513",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 52,
"avg_line_length": 17.3125,
"alnum_prop": 0.6859205776173285,
"repo_name": "zhunjiee/BaiSiBuDeJie",
"id": "15e644c67a48a41e5a0be194c46c48635d2832e6",
"size": "294",
"... |
ACCEPTED
#### According to
Interim Register of Marine and Nonmarine Genera
#### Published in
Palaeontographica, (A) 105, 169.
#### Original name
null
### Remarks
null | {
"content_hash": "9c4341853d8281edbebda4f7dde61210",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 47,
"avg_line_length": 13.076923076923077,
"alnum_prop": 0.7176470588235294,
"repo_name": "mdoering/backbone",
"id": "7d8bbc78bcf8caeba27f051ee1da30d36f6aa11b",
"size": "21... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Xemio.Adventure.Worlds.Entities.Components;
using Xemio.GameLibrary.Entities;
using Xemio.GameLibrary.Math;
using Xemio.GameLibrary.Rendering.Sprites;
namespace Xemio.Adventure.Worlds.Cameras
{
public clas... | {
"content_hash": "af2a5a088eb2890f98d8fb15fcb0a953",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 85,
"avg_line_length": 31.147058823529413,
"alnum_prop": 0.5561850802644004,
"repo_name": "XemioNetwork/Adventure",
"id": "dc46f0a11553e7d414308b6e5780f9f3fd533696",
"size"... |
import requests
import os
import codecs
from bs4 import BeautifulSoup
from mtgreatest.rdb import Cursor, serialize
from update_events import clean_magic_link
def write_as(text, filename):
f = codecs.open(filename, 'w', 'utf-8')
f.write(text)
f.close()
def scrape_info_type(info_type, soup, event_id):
... | {
"content_hash": "4aca95b92bafd76ff12ce2a30838faf8",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 134,
"avg_line_length": 32.75609756097561,
"alnum_prop": 0.6023827252419955,
"repo_name": "oelarnes/mtgreatest",
"id": "56ae64840459a60fdbc8cb03ba0f2eb4dd5a1868",
"size": "... |
<?php
namespace skeeks\cms\modules\admin\actions\modelEditor;
use skeeks\cms\backend\actions\BackendModelCreateAction;
/**
* Class AdminModelsGridAction
* @package skeeks\cms\modules\admin\actions\modelEditor
*/
class AdminModelEditorCreateAction extends BackendModelCreateAction
{
//TODO: is deprecated;
//... | {
"content_hash": "7e1d36bc5a18b45b17c2818d05dbf9ac",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 67,
"avg_line_length": 24.866666666666667,
"alnum_prop": 0.7721179624664879,
"repo_name": "skeeks-cms/cms-admin",
"id": "f7f921877e2175878faa6394327cbfaa3c9608d9",
"size": ... |
See the
[general guidelines](https://help.github.com/articles/using-pull-requests)
for the fork-branch-pull request model for github.
| {
"content_hash": "555bb40237c1b32516b21edc1fb7da6a",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 74,
"avg_line_length": 44.666666666666664,
"alnum_prop": 0.7985074626865671,
"repo_name": "hjgabrielsen/catcorrjs",
"id": "e63be4616b25fc606a788fc9c14770f6f7fa51a3",
"size":... |
.class public Lcom/google/android/gms/drive/realtime/internal/BeginCompoundOperationRequest;
.super Ljava/lang/Object;
# interfaces
.implements Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation system ... | {
"content_hash": "6c7a48d9440febc6cf7216ac89f929f0",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 141,
"avg_line_length": 26.63013698630137,
"alnum_prop": 0.7469135802469136,
"repo_name": "gelldur/jak_oni_to_robia_prezentacja",
"id": "9608188b387bea5a25c26f559bc4ba82efbfd... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0-google-v5) on Thu Dec 19 17:42:32 EST 2013 -->
<title>AdUnit</title>
<meta name="date" content="2013-12-19">
<link rel="stylesheet" typ... | {
"content_hash": "9f4d110d59518ac9e1ad7c414ebb8ddb",
"timestamp": "",
"source": "github",
"line_count": 1564,
"max_line_length": 951,
"avg_line_length": 53.20907928388747,
"alnum_prop": 0.6745214434203728,
"repo_name": "google-code-export/google-api-dfp-java",
"id": "a8ba38f270bc93428f1098b8f782b0ad1... |
<?xml version="1.0" encoding="UTF-8"?>
<eventBuilder name="org.wso2.sample.objectdetection.data_1.0.0_builder"
statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventbuilder">
<from eventAdaptorName="DefaultWSO2EventInputAdaptor"
eventAdaptorType="wso2event">
<property name="stream">org.wso2.samp... | {
"content_hash": "8587ccb4aa82c5fed8f5549b05196021",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 82,
"avg_line_length": 46.25,
"alnum_prop": 0.7495495495495496,
"repo_name": "hemikak/product-cep",
"id": "4c289c7d0d42dab412fb7ffe3d7fabec5c852ad7",
"size": "555",
"bina... |
<div class="comments-item <?php echo $level == 0 ? '' : 'comments-item-child'?>" style="margin-left: <?php echo (30 * $level); ?>px;">
<div class="comments-item-main" id="comment-<?php echo $comment->id;?>" level="<?php echo $level; ?>">
<div class="comments-item-avatar">
<a href="<?php echo $... | {
"content_hash": "af212c985d5960fde8bbe1df4f9d2350",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 205,
"avg_line_length": 54.535714285714285,
"alnum_prop": 0.4590700720366732,
"repo_name": "slivas/hoztovarchik1",
"id": "0b45f12cf240e445ceca47dcae8b88ed30915fde",
"size":... |
using System.Reflection;
using System.Runtime.InteropServices;
// General information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly : AssemblyTitle("OpenSim.Data.Null")]
[assembly : Assemb... | {
"content_hash": "870f4d052c025cc4c4de6094974ce944",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 86,
"avg_line_length": 34.975,
"alnum_prop": 0.7419585418155825,
"repo_name": "kf6kjg/halcyon",
"id": "e4aa78ea6c3a11f50490aa69e0b1703f063c6219",
"size": "2993",
"binary"... |
class PluginDirWatcherDelegate;
class PluginLoaderPosix;
namespace base {
class MessageLoopProxy;
}
namespace content {
class BrowserContext;
class PluginServiceFilter;
class ResourceContext;
struct PepperPluginInfo;
}
namespace webkit {
namespace npapi {
class PluginGroup;
class PluginList;
}
}
// base::Bind() has... | {
"content_hash": "b29eb6ac3568e7a05d0f39f6d5b8a183",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 80,
"avg_line_length": 39.490566037735846,
"alnum_prop": 0.7104634495938844,
"repo_name": "gavinp/chromium",
"id": "be3607506cd55b87a39a7cf3f6ebaca333aa22d9",
"size": "965... |
package com.ryg.chapter_3;
import com.nineoldandroids.animation.ValueAnimator;
import com.nineoldandroids.animation.ValueAnimator.AnimatorUpdateListener;
import com.ryg.chapter_3.R;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Activity;
import android.os.Build;
import... | {
"content_hash": "2f7c3bd3601127c504c4440eb989628b",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 86,
"avg_line_length": 32.524193548387096,
"alnum_prop": 0.6072402677907265,
"repo_name": "Kevin16Wang/android-art-res",
"id": "4a4520c16b05a799055fe5e15ebe1df2bc56d40d",
... |
<html>
<head>
<title>User agent detail - Mozilla/5.0 (Linux; U; Android 2.3.6; en-us; A110 Build/GRK39F) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<li... | {
"content_hash": "1884bd3fd0e5b3927fb5dd8c6e9d95d6",
"timestamp": "",
"source": "github",
"line_count": 1121,
"max_line_length": 747,
"avg_line_length": 41.40321141837645,
"alnum_prop": 0.5383190054510589,
"repo_name": "ThaDafinser/UserAgentParserComparison",
"id": "2176db0c032cec40a22faa56a1d8ded353... |
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@snowplow/node-tracker](./node-tracker.md) > [CorePlugin](./node-tracker.coreplugin.md) > [beforeTrack](./node-tracker.coreplugin.beforetrack.md)
## CorePlugin.beforeTrack property
Called just before... | {
"content_hash": "a30ff79f435579811403c5a1a7b9f504",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 176,
"avg_line_length": 34.84615384615385,
"alnum_prop": 0.7086092715231788,
"repo_name": "snowplow/snowplow-javascript-tracker",
"id": "da2f001183ee89266ae5dfb4a1a144f265fb4... |
import BaseTexture from './BaseTexture';
import VideoBaseTexture from './VideoBaseTexture';
import TextureUvs from './TextureUvs';
import EventEmitter from 'eventemitter3';
import { Rectangle } from '../math';
import { TextureCache, BaseTextureCache } from '../utils';
/**
* A texture stores the information that repre... | {
"content_hash": "fef87e5a4a45b73cf6055775ee53bc19",
"timestamp": "",
"source": "github",
"line_count": 534,
"max_line_length": 120,
"avg_line_length": 29.181647940074907,
"alnum_prop": 0.579541808380928,
"repo_name": "jpweeks/pixi.js",
"id": "ca31456f92f0b8ed6524060f55e12168a11e6574",
"size": "155... |
FileVersionInfo::FileVersionInfo(void* data, int language, int code_page)
: language_(language), code_page_(code_page) {
data_.reset((char*) data);
fixed_file_info_ = NULL;
UINT size;
::VerQueryValue(data_.get(), L"\\", (LPVOID*)&fixed_file_info_, &size);
}
FileVersionInfo::~FileVersionInfo() {
DCHECK(da... | {
"content_hash": "6234ac3e25d03074a0c067eefe6c9669",
"timestamp": "",
"source": "github",
"line_count": 171,
"max_line_length": 80,
"avg_line_length": 26.57894736842105,
"alnum_prop": 0.6858085808580858,
"repo_name": "kuiche/chromium",
"id": "4f7f23d47e4245e1d099e5de236ab8e99f2663d4",
"size": "4911... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/com_btn_click"
android:padding="10dip"
android:tag="child" >
<ImageView
... | {
"content_hash": "9bed8e291c145d0e01878bfce2ae01ba",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 74,
"avg_line_length": 32.76923076923077,
"alnum_prop": 0.6197183098591549,
"repo_name": "alucard263096/AMKRemoteClass",
"id": "f4d50d8b648ff5d3adbea9ace1389777e6cb88f3",
"... |
package com.example.mobliesafe.activity;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.example.mobliesafe.R;
/**
* 高级工具
* @author 桂林
*
*/
public class AToolsActivity extends Activity {
@Override
protected void onCreate(Bundle savedIns... | {
"content_hash": "33261edf271dae1452aceeeedc8bce5a",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 56,
"avg_line_length": 18.875,
"alnum_prop": 0.7417218543046358,
"repo_name": "Adien-galen/MobileSafe",
"id": "ef08ca72134474476c2fb4a0d8d329fac3423e62",
"size": "626",
"... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
Rondeletia tenorioi Lorence
### Remarks
null | {
"content_hash": "ddcc956782e94d91c958bf42cab51eb3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 12.076923076923077,
"alnum_prop": 0.7261146496815286,
"repo_name": "mdoering/backbone",
"id": "dbcd28bda0d2539b2203a90c3e9a8a2501f55373",
"size": "22... |
{-# OPTIONS_GHC -fdefer-type-errors #-} -- Very important to this bug!
{-# Language PartialTypeSignatures #-}
{-# Language KindSignatures #-}
{-# Language PolyKinds #-}
{-# Language ScopedTypeVariables #-}
{-# Language AllowAmbiguousTypes #-}
{-# Language TypeApplications #-}
module T14584a where
f :: forall m. (... | {
"content_hash": "ea625700c148828ab38c4b0e6273b555",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 74,
"avg_line_length": 23.9375,
"alnum_prop": 0.6344647519582245,
"repo_name": "sdiehl/ghc",
"id": "016295ac4f6438f1090834bae0e826d1ead38e95",
"size": "383",
"binary": fa... |
package pmr.threes;
/** Runs demo of game using optimal move choices and monte-carlo simulation
* @author Peter Rimshnick
*
*/
public class Demo {
public static void main (String[] args){
doIter(args);
}
public static State doIter(String[] args){
int depth = (args.length==0?5:Integer.parse... | {
"content_hash": "3004834898b71b80f0177c42bcab16f6",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 104,
"avg_line_length": 35.10526315789474,
"alnum_prop": 0.6551724137931034,
"repo_name": "PeteyPabPro/threes-engine",
"id": "ac8ecf1e65c28e785be6d91731a754ddd99ea18b",
"si... |
import Ractive from 'lib/ractive';
import emitter from 'lib/emitter';
import _ from 'lodash';
import Clipboard from 'clipboard';
import template from './index.ract';
export default function(el) {
const ractive = new Ractive({
el,
template,
data: {
passphrase: '',
isCopied: false,
checke... | {
"content_hash": "c72c929743a71fadf430be68cbe33726",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 68,
"avg_line_length": 25.491803278688526,
"alnum_prop": 0.6102893890675242,
"repo_name": "CoinSpace/CoinSpace",
"id": "fc29f22bdbd6d5237430de5d47cdbb3ed88513da",
"size": "... |
<?php
/**
* Compilation process model
*
* @category Mage
* @package Mage_Compiler
* @author Magento Core Team <core@magentocommerce.com>
*/
class Mage_Compiler_Model_Process
{
protected $_compileDir = null;
protected $_includeDir = null;
protected $_statDir = null;
... | {
"content_hash": "a7f9c172ae6342ad10c7db03edb3f395",
"timestamp": "",
"source": "github",
"line_count": 428,
"max_line_length": 126,
"avg_line_length": 31.41822429906542,
"alnum_prop": 0.4739347066260132,
"repo_name": "rajanlamic/urbanart",
"id": "bd40e40457384b7815d7bc19e53e8ccfe1ac0607",
"size": ... |
<LinearLayout 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:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:l... | {
"content_hash": "7b79ec30996b85ce0d8c561ae4902b5e",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 72,
"avg_line_length": 33.85,
"alnum_prop": 0.6021664204825209,
"repo_name": "lizhang5208/weatherforecast",
"id": "d34779d8a91c9ec9b6c20cc21c659ba3ed1705e4",
"size": "2031"... |
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example - example-example93-production</title>
<link href="animations.css" rel="stylesheet" type="text/css">
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.5/angular.min.js"></script>
<script src="//ajax.googleapis.co... | {
"content_hash": "25e7a07a8b4372c9f215f951ddd2631d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 99,
"avg_line_length": 31.633333333333333,
"alnum_prop": 0.6765015806111696,
"repo_name": "dolymood/angular-packages",
"id": "0663bb7213bc3d518ffff99af58f65d060878ff2",
"si... |
from keras.datasets import mnist
import numpy as np
from PIL import Image
import math
import os
import keras.backend as K
K.set_image_data_format('channels_first')
print(K.image_data_format)
################################
# GAN 모델링
################################
from keras import models, layers, optimizers
cla... | {
"content_hash": "757857530b869c98e0362cf3376b30db",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 81,
"avg_line_length": 31.171122994652407,
"alnum_prop": 0.5735117515868932,
"repo_name": "jskDr/keraspp",
"id": "4d2a1012b32df35744475a71372e3e058798e5e2",
"size": "5953"... |
package com.sleepycat.je;
/**
* @hidden
* Feature not yet available.
*
* The interface for Consistency policies used to provide consistency
* guarantees at a Replica. A transaction initiated at a replica will wait in
* the Environment.beginTransaction method until the required consistency
* policy is satisfie... | {
"content_hash": "962f0e71146d85fd1a4751ab30d41718",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 77,
"avg_line_length": 23.375,
"alnum_prop": 0.767379679144385,
"repo_name": "plast-lab/DelphJ",
"id": "5a58d08587cda092fccd94c4c1495e0984fe56f9",
"size": "574",
"binary"... |
package berlin.reiche.securitas.controller;
import java.util.ArrayList;
import java.util.List;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.Looper;
import android.os.Message;
import berlin.reiche.securitas.controller.states.ControllerState;
import berlin.reiche.securitas.mod... | {
"content_hash": "c899ec6d00b9aee7997b72779087d183",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 77,
"avg_line_length": 24.940119760479043,
"alnum_prop": 0.6528211284513805,
"repo_name": "platzhirsch/security-cam",
"id": "523432c8587f7cfb6c13429de47518d7891224fb",
"si... |
package com.marekdudek.orgstructure.basic;
public enum OrganizationStructureType3 {
SALES,
SERVICE;
}
| {
"content_hash": "44ceaaa8a6211aa22e3ca7d0ce618cbc",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 42,
"avg_line_length": 16,
"alnum_prop": 0.7589285714285714,
"repo_name": "MarekDudek/analysis-patterns",
"id": "d53e263e1c8a1c583979e8bdab9422cc4a0de412",
"size": "112",
... |
/**
@file PhysicsDebug.h
Contiene la declaración del componente que controla la representación
gráfica de la parte física de la entidad
@see Logic::CPhysicsDebug
@see Logic::IComponent
@author Alberto Martínez
@date Febrero, 2015
*/
#ifndef __Logic_PhysicsDebug_H
#define __Logic_PhysicsDebug_H
#include "Logic/Enti... | {
"content_hash": "1f761af9a97b6b34a66a49a39a103c26",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 121,
"avg_line_length": 24.94578313253012,
"alnum_prop": 0.7295339290026563,
"repo_name": "albmarvil/The-Eternal-Sorrow",
"id": "70a6a2091c6a95071f3d7974ffa682d8c59ccab4",
... |
from glad.loader import BaseLoader
from glad.loader.volt import LOAD_OPENGL_DLL
_GLX_LOADER = \
LOAD_OPENGL_DLL % {'pre':'private', 'init':'open_gl',
'proc':'get_proc', 'terminate':'close_gl'} + '''
bool gladLoadGLX() {
StructToDg structToDg;
structToDg.func = cast(void*)get_proc;
... | {
"content_hash": "e6d78b6817c41fa922f5484dc6156905",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 71,
"avg_line_length": 22.75,
"alnum_prop": 0.5864135864135864,
"repo_name": "dbralir/glad",
"id": "dbdeeaeb5821ed22f1c3591f92489b3c5508be50",
"size": "1001",
"binary": f... |
/*
Configuring local strategy to authenticate strategies
Code modified from : https://github.com/madhums/node-express-mongoose-demo/blob/master/config/passport/local.js
*/
import passport from 'passport';
import { Strategy as LocalStrategy } from 'passport-local';
import { passport as dbPassport } from '../../db';
i... | {
"content_hash": "28bcdd6131b228f3e877a705dd28c2e6",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 112,
"avg_line_length": 36.083333333333336,
"alnum_prop": 0.73094688221709,
"repo_name": "reactGo/reactGo",
"id": "be399eb359caf7c3bdd509d62c8af5712e8a3041",
"size": "866",... |
from reports import *
from plotting import plot_measures, plot_mosaic, plot_all, plot_fd
| {
"content_hash": "0d9618730a5b355228dc47464c6a6b41",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 66,
"avg_line_length": 44.5,
"alnum_prop": 0.7865168539325843,
"repo_name": "wangkangcheng/ccc",
"id": "c874f8ab80a76e844b31c7c4a375d1e6f0796499",
"size": "226",
"binary":... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title>POS tags</title>
<link rel=... | {
"content_hash": "8c80ff03ded8dd9fd545d30f30c6efce",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 173,
"avg_line_length": 32.92270531400966,
"alnum_prop": 0.5630227439471753,
"repo_name": "UniversalDependencies/universaldependencies.github.io",
"id": "5026c8cafee10cd8398... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by CSGenerator.
// </auto-generated>
//------------------------------------------------------------------------------
using UnityEngine;
using System;
using System.Collections;
using System.... | {
"content_hash": "a89b14669e50b7568bcb09afebc1073c",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 82,
"avg_line_length": 28.327433628318584,
"alnum_prop": 0.6366760387378944,
"repo_name": "linkabox/PureJSB",
"id": "c1744715197f8ce960af7f50f23ab191c951f592",
"size": "32... |
package org.apache.ode.bpel.rtrep.v2.channels;
import org.apache.ode.jacob.ap.ChannelType;
/**
* Response channel for pick requests.
*/
@ChannelType
public interface InvokeResponse {
public void onResponse();
void onFault();
void onFailure();
}
| {
"content_hash": "674f864f2b918923dae982a577a6b11c",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 46,
"avg_line_length": 14.555555555555555,
"alnum_prop": 0.7175572519083969,
"repo_name": "aaronanderson/ode",
"id": "9485ecf697611014737105e988377f8f1724c627",
"size": "10... |
from utils import TreeNode, construct
class Solution:
def maxDepth(self, root: TreeNode) -> int:
if root is None:
return 0
root.level = 1
queue = [root]
i, last = 0, 0
while i <= last:
node = queue[i]
if node.left:
node.le... | {
"content_hash": "7bbb75c4b19f5c893b655afe8be47b92",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 51,
"avg_line_length": 26.84375,
"alnum_prop": 0.48661233993015135,
"repo_name": "shenfei/oj_codes",
"id": "4de83bd5990e7e7d4463fb546c03386c03a415af",
"size": "1021",
"bi... |
/**
* \file ast_to_hir.c
* Convert abstract syntax to to high-level intermediate reprensentation (HIR).
*
* During the conversion to HIR, the majority of the symantic checking is
* preformed on the program. This includes:
*
* * Symbol table management
* * Type checking
* * Function binding
*
* Th... | {
"content_hash": "e61e5ba3ffbf0f8e792de46a6c2f028b",
"timestamp": "",
"source": "github",
"line_count": 6101,
"max_line_length": 123,
"avg_line_length": 38.02048844451729,
"alnum_prop": 0.5671982169570147,
"repo_name": "kkitsune/GoblinEngine",
"id": "d31c53465fc0789e87c8ef8268f38016dcae86b3",
"size... |
/* $NetBSD: ieee754.h,v 1.15 2014/02/01 16:39:52 matt Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
* contrib... | {
"content_hash": "906716dd658af4ac0e4897bfe172e2c5",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 79,
"avg_line_length": 30.25229357798165,
"alnum_prop": 0.6996209249431388,
"repo_name": "execunix/vinos",
"id": "116e23ae3b6586dcb339b595119b90ecabeea75d",
"size": "6595"... |
@interface PodsDummy_TPNS_iOS : NSObject
@end
@implementation PodsDummy_TPNS_iOS
@end
| {
"content_hash": "a1a08a4034e522262403297b43c90a42",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 40,
"avg_line_length": 21.5,
"alnum_prop": 0.8023255813953488,
"repo_name": "dtag-dbu/TPNS_iOS",
"id": "e1d403572cdadc6186e4efab66e90c4f0b930fc7",
"size": "120",
"binary":... |
// ---------------------------------------------------------------------------------
// <copyright file="ActivateMoodlightMessageEvent.cs" company="https://github.com/sant0ro/Yupi">
// Copyright (c) 2016 Claudio Santoro, TheDoctor
// </copyright>
// <license>
// Permission is hereby granted, free of charge, to any... | {
"content_hash": "ea5d3cfbc9408c6d6411d326263ed7ba",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 120,
"avg_line_length": 43.25806451612903,
"alnum_prop": 0.6148396718866518,
"repo_name": "sant0ro/Yupi",
"id": "9ca33964917d631db03984761983e8d9beac89f3",
"size": "2684",
... |
require 'spec_helper'
describe 'ohai generator' do
before(:each) do
allow(Huck).to receive(:must_load)
ohai_system = double
allow(Ohai::System).to receive(:new).and_return(ohai_system)
allow(ohai_system).to receive(:all_plugins)
allow(ohai_system).to receive(:json_pretty_print).and_return('{"a":"... | {
"content_hash": "a7e30e7e3581e338c2775d15d4c8cce0",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 81,
"avg_line_length": 32.19230769230769,
"alnum_prop": 0.6212664277180406,
"repo_name": "ryanuber/huck",
"id": "111c41abc9ce4efa63a4144c2d2751d35411cca3",
"size": "837",
... |
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.tmx.tanexamples">
<!-- 常用的权限,自行取舍 -->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<!-- For reading media from external storage... | {
"content_hash": "e974ffbd205dbc5467e5f06412cac025",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 87,
"avg_line_length": 55.301886792452834,
"alnum_prop": 0.6994199931763904,
"repo_name": "tmx0456/TanExample",
"id": "1807a44038640c194340928fee793afd8fc8d596",
"size": "2... |
[  ](https://bintray.com/piasy/maven/HandyWidgets/_latestVersion) [](https://android-arsenal.com/details/1/2455)
A widget which ... | {
"content_hash": "245f817b73221bc9ceb63cfb9b9f64a8",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 304,
"avg_line_length": 41.96153846153846,
"alnum_prop": 0.6648334860983807,
"repo_name": "mkodekar/HandyWidgets",
"id": "5028a756faa675c4978dca6141f0c1d15360f916",
"size":... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>首页</title>
<link rel="stylesheet" href="/app/bower_components/bootstrap/dist/css/bootstrap.css"/>
</head>
<body>
<script type="text/javascript" src="bower_components/jquery/src/jquery.js"></script>
<script type="text/javascript" src="bo... | {
"content_hash": "d4b57716ac9b193ee19c7168383a0ba6",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 94,
"avg_line_length": 31.666666666666668,
"alnum_prop": 0.7115789473684211,
"repo_name": "TheBestThree/news_publisher",
"id": "53379bbee9012c7bab7b5497f725b7831e41e53d",
"... |
<div>
<form action="">
<input type="radio" [(ngModel)]="model.sex" name="sex" value="male">Male<br>
<input type="radio" [(ngModel)]="model.sex" name="sex" value="female">Female
</form>
<input type="button" value="select male" (click)="model.sex='male'">
<input type="button" value="sel... | {
"content_hash": "a049418b4b1a27175431f2bcc700c96c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 85,
"avg_line_length": 41.3,
"alnum_prop": 0.6029055690072639,
"repo_name": "angular2-school/angular2-radio-button",
"id": "5279ff6a5fff08a8b48a5a9c8aec596eb9c3def8",
"size... |
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package backtype.storm.generated;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import org... | {
"content_hash": "8b0515c44dcf1ba06431cbb2edc0a847",
"timestamp": "",
"source": "github",
"line_count": 924,
"max_line_length": 195,
"avg_line_length": 33.878787878787875,
"alnum_prop": 0.6711282903143369,
"repo_name": "haoyanjun21/jstorm",
"id": "8f6f72fa0773de64f2a67590cfaa2b8efe78e68e",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>HBase 0.98.7-hadoop2 Reference Package org.apache.hadoop.hbase.replication.regionserver</title>
<link re... | {
"content_hash": "04e530820cf6af306cb196ed919279a8",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 123,
"avg_line_length": 42.8,
"alnum_prop": 0.5719626168224299,
"repo_name": "gsoundar/mambo-ec2-deploy",
"id": "5cecafbf0f3a796fe10573f0a78e09e9f53c3d4b",
"size": "2141",
... |
/*
** Implementation for the CPyFactory class
*/
#include "stdafx.h"
#include <import.h> /* for PyImport_ImportModule() */
#include "PythonCOM.h"
#include "PyFactory.h"
#include "PythonCOMServer.h"
// Class Factories do not count against the DLLs total reference count.
static LONG factoryRefCount = 0;
CPyFactory:... | {
"content_hash": "339c2497d85df2d805b960a44425f6d6",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 109,
"avg_line_length": 24.21978021978022,
"alnum_prop": 0.7091651542649727,
"repo_name": "nzavagli/UnrealPy",
"id": "50d3c3f44a37846072f6516e18cf09fc02842eaf",
"size": "4... |
namespace XenAdmin.Wizards.ImportWizard
{
partial class ImportEulaPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// <... | {
"content_hash": "8520d1a09c2b755e5cd75635ccba7eb8",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 146,
"avg_line_length": 42.44565217391305,
"alnum_prop": 0.6081946222791293,
"repo_name": "aftabahmedsajid/XenCenter-Complete-dependencies-",
"id": "75a1f19ec3f9d8d7017f214cc... |
<div class="row">
<div class="col-md-6">
<form class="form-horizontal" name="vm.userForm">
<fieldset>
<legend class="col-md-offset-2">Register new user</legend>
<div class="form-group">
<label for="email" class="col-lg-2 control-label">Email</label>
... | {
"content_hash": "f996352718dcdd9b54a18d2683a5d37d",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 192,
"avg_line_length": 44.4,
"alnum_prop": 0.5655655655655656,
"repo_name": "todorm85/TelerikAcademy",
"id": "1b6e0300b76d5ab731ab20d246df74885edaa666",
"size": "1998",
... |
module Feedjira
module Parser
# Parser for dealing with RSS feeds.
class RSSFeedBurner
include SAXMachine
include FeedUtilities
element :title
element :description
element :link, as: :url
element :lastBuildDate, as: :last_built
elements :"atom10:link", as: :hubs, valu... | {
"content_hash": "3df1872d84e230c7b4f432a8d07138fd",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 76,
"avg_line_length": 27.285714285714285,
"alnum_prop": 0.6143106457242583,
"repo_name": "jfiorato/feedjira",
"id": "dad8789528aa96909c90da5cbbb8eca5a73b7db5",
"size": "57... |
Calculate the moment when someone has lived for 10^9 seconds.
A gigasecond is 10^9 (1,000,000,000) seconds.
### Submitting Exercises
Note that, when trying to submit an exercise, make sure the solution is in the `exercism/python/<exerciseName>` directory.
For example, if you're submitting `bob.py` for the Bob exerc... | {
"content_hash": "dc5b59bf17d5e3938365ee2b7f7cfbca",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 167,
"avg_line_length": 41.285714285714285,
"alnum_prop": 0.7739331026528259,
"repo_name": "matheussilvapb/exercism-python",
"id": "0e73a5b005ec4869088e65ec1d67a0b4b2eeae60",... |
package mcjty.rftools.blocks.logic.timer;
import mcjty.lib.tileentity.LogicTileEntity;
import mcjty.lib.gui.widgets.TextField;
import mcjty.lib.gui.widgets.ToggleButton;
import mcjty.rftools.TickOrderHandler;
import mcjty.theoneprobe.api.IProbeHitData;
import mcjty.theoneprobe.api.IProbeInfo;
import mcjty.theoneprobe.... | {
"content_hash": "d9259c02d49b1f545d87943727053de8",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 146,
"avg_line_length": 29.03105590062112,
"alnum_prop": 0.639495079161318,
"repo_name": "McJty/RFTools",
"id": "9e6f8b688f4a99f99fdb687d34ca95c802e39a2e",
"size": "4674",... |
@import 'library/common.js'
@import 'library/devel-tools.js'
@import 'library/string.js'
var code = {};
var sp = ' ';
var sp2x = sp + sp;
var Paints = function(){
this.db = {};
this.db['paint'] = {};
this.db['names'] = {};
this.db['properties'] = [];
this.db['inits'] = [];
this.count = 0;
... | {
"content_hash": "e0ab7cd2d2a6c151c9e81ad7b5f58abf",
"timestamp": "",
"source": "github",
"line_count": 263,
"max_line_length": 210,
"avg_line_length": 32.863117870722434,
"alnum_prop": 0.589378687955571,
"repo_name": "4xes/Sketch-Android-View",
"id": "696bb7cc58e0fe249af76a0dda19448bc09dc00e",
"si... |
var maintenance = angular.module('maintenanceApp');
maintenance.controller('maintenanceCtrl', function($scope,dataAdminFactory,seshkeys){
$scope.newTicket = [];
$scope.ticketHistory = [];
$scope.ticketSubmission = [];
var getTicketsByUser = function(username)
{
var result = [];
//console.log(dataAdminFactor... | {
"content_hash": "e5c804ba7fc14b8c312682f29235c0c9",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 85,
"avg_line_length": 21.484375,
"alnum_prop": 0.6610909090909091,
"repo_name": "revature-js/innkeeper",
"id": "ae32043cb5878873f3480f4076f3faa749ffc1c6",
"size": "1375",
... |
/**
* Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
*/
#include <conf_board.h>
#include <board.h>
#include <ioport.h>
void board_init(void)
{
#ifdef ZIGBIT_USB
ioport_configure_pin(LED0_GPIO, IOPORT_DIR_OUTPUT | IOPORT_INIT_HIGH);
ioport_configure_pin(LED1_GPIO, IOPOR... | {
"content_hash": "91314cdf36e460776322f109eac77513",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 90,
"avg_line_length": 30.425925925925927,
"alnum_prop": 0.7401095556908095,
"repo_name": "femtoio/femto-usb-blink-example",
"id": "f6df26af43aee13d0b687d6a12f46e2fcfd87892",... |
import * as actions from './actions';
export default {
namespaced: true,
state: {
contents: [],
searchTerm: '',
channelFilter: null,
kindFilter: null,
channel_ids: [],
content_kinds: [],
total_results: null,
},
mutations: {
SET_STATE(state, payload) {
Object.assign(state, ... | {
"content_hash": "233bda2e0ab0d771d21c9f24c3c9493f",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 64,
"avg_line_length": 24.77777777777778,
"alnum_prop": 0.5811659192825112,
"repo_name": "mrpau/kolibri",
"id": "68be3d54d02e98481729baf5840b204247ee3b1d",
"size": "1115",
... |
require 'rails_helper'
RSpec.describe UserNotification, type: :model do
let(:user_notification) { FactoryGirl.build(:user_notification) }
it 'should have a valid factory' do
expect(user_notification).to be_valid
end
it 'should be invalid without a user' do
user_notification.user = nil
expect(user... | {
"content_hash": "3b8b1b02ab429eb53e7d67346d0b4279",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 67,
"avg_line_length": 27.42105263157895,
"alnum_prop": 0.7351247600767754,
"repo_name": "noxee/reddit-fantasy",
"id": "490d5f3591832b4b8414054a8e2d2d89d8ec8d7e",
"size": "... |
/*
You are going to be given a word. Your job is to return the middle character
of the word. If the word's length is odd, return the middle character. If the
word's length is even, return the middle 2 characters.
#Examples:
Kata.getMiddle("test") should return "es"
Kata.getMiddle("testing") should return "t"
Kata.g... | {
"content_hash": "4ea586435aef404a26d22b5901771814",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 77,
"avg_line_length": 26.476190476190474,
"alnum_prop": 0.6672661870503597,
"repo_name": "J-kaizen/kaizen",
"id": "85ae60ec5a8c4846829671f7eeb8debdbe242300",
"size": "556"... |
<?php
session_start();
// Make sure the user is logged in
if((!isset($_SESSION['logged_in'])) OR ($_SESSION['logged_in']!=1)){
// Redirect to login screen
header('Location: login.php');
}
// Right now only one page needs the one function defined, but it may be a good idea to just include this at the top in case... | {
"content_hash": "77ff4591e628b064c57ebe0564361441",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 179,
"avg_line_length": 32.9,
"alnum_prop": 0.6899696048632219,
"repo_name": "aysiu/fv2db",
"id": "634e0639450a6fd1b3ffa52ad95bbb743a9ef810",
"size": "658",
"binary": fal... |
package com.thoughtworks.go.spark.spa;
import com.thoughtworks.go.spark.Routes;
import com.thoughtworks.go.spark.SparkController;
import com.thoughtworks.go.spark.spring.SPAAuthenticationHelper;
import spark.ModelAndView;
import spark.Request;
import spark.Response;
import spark.TemplateEngine;
import java.util.Hash... | {
"content_hash": "02658a920c4d52dc0c12df08d940efa7",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 109,
"avg_line_length": 29.622222222222224,
"alnum_prop": 0.7126781695423856,
"repo_name": "gocd/gocd",
"id": "7b1f7e75832727e33ba1120748c64e4c9f941fac",
"size": "1934",
... |
layout: model
title: Turkish DistilBertForSequenceClassification Base Cased model (from zafercavdar)
author: John Snow Labs
name: distilbert_sequence_classifier_distilbert_base_turkish_cased_emotion
date: 2022-08-23
tags: [distilbert, sequence_classification, open_source, tr]
task: Text Classification
language: tr
edit... | {
"content_hash": "0a64a90fde15ab72ccefde6f182f704d",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 252,
"avg_line_length": 32.72631578947368,
"alnum_prop": 0.7555484078481827,
"repo_name": "JohnSnowLabs/spark-nlp",
"id": "7a3b6e30ecb900d986ada8adaac7cd28f74c50b9",
"size"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.