text stringlengths 2 1.04M | meta dict |
|---|---|
<font face="Verdana, Arial, Helvetica">
<center>
<H1><font color=#ff0000>
Using GrADS with Athena Widgets
</font> </H1>
</center>
<p>
<center>
<b><font color=#ff0000>Previous section: </font></b>
<a href=gagui_simple.html>Writing simple scripts</a> |
<b><font color=#ff0000>Next section: </font></b>
... | {
"content_hash": "3c46a08c6dd7af541669765c0fede96d",
"timestamp": "",
"source": "github",
"line_count": 355,
"max_line_length": 81,
"avg_line_length": 33.61408450704225,
"alnum_prop": 0.6494594821084387,
"repo_name": "bucricket/projectMASviirs",
"id": "54cb6ae7aaf4813aa9cc94111632ac40574994d0",
"si... |
package com.jdon.sample.test.event;
import junit.framework.Assert;
import com.jdon.annotation.Component;
import com.jdon.annotation.model.OnEvent;
import com.jdon.sample.test.event.TestEvent;
@Component("consumer")
public class B {
@OnEvent("maTest")
public void mb(TestEvent testEvent) throws Except... | {
"content_hash": "41b50f684740847587c68401b197437e",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 73,
"avg_line_length": 26.68421052631579,
"alnum_prop": 0.717948717948718,
"repo_name": "thushear/jdonframework",
"id": "fd3e9726f43eb497a9f9cf8ca9489c648f7a3a57",
"size": ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_int_memmove_83.h
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate u... | {
"content_hash": "074c84089805ce61da25bda3bc5e4d5e",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 121,
"avg_line_length": 28.5,
"alnum_prop": 0.7115789473684211,
"repo_name": "maurer/tiamat",
"id": "e1f8f001141d9a27cb8b7455fa1bf550c09ba0ac",
"size": "1425",
"binary": ... |
package org.pm4j.core.navi;
import junit.framework.TestCase;
import org.pm4j.navi.NaviHistory;
import org.pm4j.navi.NaviHistoryCfg;
import org.pm4j.navi.NaviHistoryCfg.SessionIdGenStrategy;
import org.pm4j.navi.NaviLink;
import org.pm4j.navi.NaviManager;
import org.pm4j.navi.impl.NaviLinkImpl;
import org.pm4j.navi.im... | {
"content_hash": "8425b24c14d54b890514410757a975c9",
"timestamp": "",
"source": "github",
"line_count": 185,
"max_line_length": 109,
"avg_line_length": 34.189189189189186,
"alnum_prop": 0.6689328063241107,
"repo_name": "pm4j/org.pm4j",
"id": "ad86b394f9fe31661a2737f823818e9b10a2a060",
"size": "6325... |
package org.apache.camel.processor;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.FailedToStartRouteException;
import org.apache.camel.builder.RouteBuilder;
/**
* @version
*/
public class RouteStartupOrderClashTest extends ContextTestSupport {
@Override
public boolean i... | {
"content_hash": "4d1e176bb6c12486a1f52b1a0ac5e05f",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 68,
"avg_line_length": 28.225,
"alnum_prop": 0.5863596102745793,
"repo_name": "everttigchelaar/camel-svn",
"id": "a72e253e878c068a60dac0264a7a78f5b5d256fa",
"size": "1947",... |
using std::ostream;
using std::string;
using std::vector;
using std::unique_ptr;
using ::mesos::typeutils::internal::createFrameworkInfoDifferencer;
namespace mesos {
// TODO(vinod): Ensure that these operators do not go out of sync
// when new fields are added to the protobufs (MESOS-2487).
bool operator==(const C... | {
"content_hash": "2180874c9922c943871f5a06df421320",
"timestamp": "",
"source": "github",
"line_count": 977,
"max_line_length": 80,
"avg_line_length": 24.11873080859775,
"alnum_prop": 0.6282464776778136,
"repo_name": "abudnik/mesos",
"id": "899fd6dea3ab961b8f245059759cfd829219451f",
"size": "24673"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AssignmentProblem
{
class Preferences
{
public const string c_defaultTask = "role";
public const string c_defaultAgent = "player";
public const int c_defaultMaxPreferences ... | {
"content_hash": "7ddb9435117d181911e909972af8ae9d",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 70,
"avg_line_length": 19.820689655172412,
"alnum_prop": 0.592553931802366,
"repo_name": "DonnieDarko85/CharAssignment",
"id": "842426922c2558dab50017b5b199a444828c8913",
... |
namespace Poco {
class Logger;
namespace Data {
class Session;
class Statement;
}
}
namespace toggl {
class AutotrackerRule;
class Client;
class Project;
class Proxy;
class Settings;
class Tag;
class Task;
class TimeEntry;
class User;
class Workspace;
class Database {
public:
explicit Database(const std::strin... | {
"content_hash": "211266a6b85ef7c77e230c0285a4b552",
"timestamp": "",
"source": "github",
"line_count": 327,
"max_line_length": 74,
"avg_line_length": 23.440366972477065,
"alnum_prop": 0.6440965427266797,
"repo_name": "codeman38/toggldesktop",
"id": "ff04bed66026d250d84b05712224765654ee9b73",
"size... |
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef V8OESTextureHalfFloat_h
#define V8OESTextureHalfFloat_h
#include "bindings/core/v8/ScriptWrappable.h"
#include "bindings/core/v8/ToV8.h"
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/V8DOMWrapper.h"
#i... | {
"content_hash": "2a4fcaf5f28d3bc7ff5a603c178f17ef",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 146,
"avg_line_length": 40.6078431372549,
"alnum_prop": 0.7402221149203283,
"repo_name": "weolar/miniblink49",
"id": "7c8fde2dd6b2142e7fb4ca8e8fa454f087e401fb",
"size": "22... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Aquapark
{
public class Aquapark
{
public static void Main(string[] args)
{
var slideQueue = new Queue<int>();
var n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++)
... | {
"content_hash": "a879278502e3d51b304d84315cc9f689",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 83,
"avg_line_length": 30.272727272727273,
"alnum_prop": 0.40615615615615613,
"repo_name": "Xadera/Telerik-Academy-Alpha",
"id": "9e833ceb74d8c3fd586917f08fb022ff68b482c4",
... |
package com.zero_x_baadf00d.ebean.encryption;
import io.ebean.config.EncryptKey;
import io.ebean.config.EncryptKeyManager;
import org.junit.Assert;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
/**
* EbeanEncryptionTest.
*
* @author Thibault Meyer
* @version 16.0... | {
"content_hash": "6b0fc76b8e9d190e63471c7f2b8d0188",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 120,
"avg_line_length": 32.52272727272727,
"alnum_prop": 0.7120894479385046,
"repo_name": "0xbaadf00d/ebean-encryption",
"id": "8e2b4b3becdff54181882ac81d1fb332fd7b3cb3",
"... |
<?php
namespace TractorCow\Fluent\Extension;
use InvalidArgumentException;
use SilverStripe\ORM\DataQuery;
use SilverStripe\ORM\DB;
use SilverStripe\ORM\Queries\SQLSelect;
use SilverStripe\Versioned\Versioned;
use TractorCow\Fluent\Model\Locale;
use TractorCow\Fluent\State\FluentState;
/**
* Extension for versioned... | {
"content_hash": "29a6861a29ad4a1199520eece8844eb9",
"timestamp": "",
"source": "github",
"line_count": 332,
"max_line_length": 117,
"avg_line_length": 31.153614457831324,
"alnum_prop": 0.5645364014309194,
"repo_name": "tractorcow/silverstripe-fluent",
"id": "6eced6f0094ef1680639f518af13d5af53f47375"... |
// $Id: Silly.java 9595 2006-03-10 18:14:21Z steve.ebersole@jboss.com $
package org.hibernate.test.connections;
import java.io.Serializable;
/**
* Implementation of Silly.
*
* @author Steve Ebersole
*/
public class Silly implements Serializable {
private Long id;
private String name;
private Other other;
publ... | {
"content_hash": "f2334d5f4ceba6e33d4b6eb7f9646f71",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 71,
"avg_line_length": 15.7,
"alnum_prop": 0.6713375796178344,
"repo_name": "HerrB92/obp",
"id": "6a005f23a2d9df00a187e65d6ead70a54db9a42f",
"size": "785",
"binary": fals... |
using System;
using System.Collections.Generic;
namespace NetChan {
/// <summary>Thread static pool of Waiters for type {T}</summary>
/// <remarks>
/// This massively reduces the garbage created when processing lots of messages, which in turn means higher throughput
/// </remarks>
internal class Wa... | {
"content_hash": "1f84c4fc40a115899887eb2e2a95d40c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 122,
"avg_line_length": 27.35135135135135,
"alnum_prop": 0.48320158102766797,
"repo_name": "busterwood/NetChan",
"id": "dfedaa6d98127358de477f44aa8a0dffc29a4ce9",
"size": "... |
**Owner: SIG-Node**
This document describes testing policy and process for runtimes implementing the
[Container Runtime Interface (CRI)](/contributors/devel/sig-node/container-runtime-interface.md)
to publish test results in a federated dashboard. The objective is to provide
the Kubernetes community an easy way to tra... | {
"content_hash": "6977f77d7ad63d77940451a1b93f0353",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 104,
"avg_line_length": 44.43103448275862,
"alnum_prop": 0.7995731470702367,
"repo_name": "pwittrock/community",
"id": "636f80a26587bc1cc8a0fd950468b8c3cacbbbe3",
"size": ... |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" con... | {
"content_hash": "726ac4fe8d17d4d62ad12e3e23a0bf41",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 450,
"avg_line_length": 57.472727272727276,
"alnum_prop": 0.676842771274913,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "c6b7a8035f1cdab8ca47384bedf4f97c5f2747c4",
"siz... |
<?xml version="1.0" encoding="UTF-8"?>
<shiporder xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="Example.xsd">
<orderperson><TYPO descr="Typo: In word 'johnn'">johnn</TYPO> Smith</orderperson>
<shipto>
<name>First sentence. it <warning descr="EN_A_VS_AN">... | {
"content_hash": "9b679242990390ed251fa00efed64617",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 103,
"avg_line_length": 48,
"alnum_prop": 0.6666666666666666,
"repo_name": "jwren/intellij-community",
"id": "093b3d2ed335471e92aebf661a97ffcdd26a61a4",
"size": "432",
"bi... |
from ex.common import *
from ex.ioo.common import *
from ex.pp.common import *
# NOTE: one copy of mapper/reducer will be held in each process, so
# the data replication is lower than using multiprocessing.Pool. But
# here the data within the mapper/reducer should be readonly.
_mapper = None
_reducer = None
def _init... | {
"content_hash": "6203066a2d3391b07487f122bbadf3d6",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 97,
"avg_line_length": 31.078125,
"alnum_prop": 0.5977878330819507,
"repo_name": "excelly/xpy-ml",
"id": "4a789b62609bbe3d05f5cdf857dea6d64f6bfce0",
"size": "7956",
"bin... |
<?php
error_reporting(E_ALL);
$data = array();
$datas = array('foo', 'bar', 'baz', 'qux');
for($i =0; $i< 500; $i++) {
$data[] = array(
'id' => $i,
'status' => rand ( 0, 1),
'modified' => strtotime('2012-11-30') - rand ( 1, 10000),
'data' => $datas[rand(0, count($datas) - 1)],
);
}
if (isset($_GET['data'... | {
"content_hash": "0ce8548038b6b50d977c1690bb975665",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 128,
"avg_line_length": 25.766871165644172,
"alnum_prop": 0.5664285714285714,
"repo_name": "mhail/jQuery.WebSql",
"id": "572248b3ffe7e24339231b3052976853b94ecf83",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="w... | {
"content_hash": "f089b5db17e0c4335b29dd227e486a16",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 74,
"avg_line_length": 30.586206896551722,
"alnum_prop": 0.6268320180383314,
"repo_name": "consulo/consulo-android",
"id": "70b7f23f1cfd99fe0ee7e3c5578661e1936eb01d",
"size... |
initEditor = function(id) {
// Init ace editor
var editor = ace.edit(id);
editor.setTheme("ace/theme/tomorrow");
editor.session.setMode("ace/mode/javascript");
editor.renderer.setScrollMargin(10, 10);
editor.setOptions({
// "scrollPastEnd": 0.8,
autoScrollEditorIntoView: true,
vScrollBarAlwaysVisib... | {
"content_hash": "c609ec620d456196c85e205dda5e7092",
"timestamp": "",
"source": "github",
"line_count": 177,
"max_line_length": 102,
"avg_line_length": 22.225988700564972,
"alnum_prop": 0.6217590238942552,
"repo_name": "the13fools/lets-get-lost",
"id": "cb8f41d0320905d9040e0a6e435cbafc62cbce8f",
"s... |
package org.apache.cloudstack.quota;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.TimeZone;
import javax.inject.Inject;
import javax.naming.ConfigurationException;
import org.apache.cloudst... | {
"content_hash": "b134fec2de82695a38230f0d0147c686",
"timestamp": "",
"source": "github",
"line_count": 457,
"max_line_length": 180,
"avg_line_length": 50.26039387308534,
"alnum_prop": 0.6621098001654404,
"repo_name": "wido/cloudstack",
"id": "769f9aec92f00f8269ed5003be3b98b8a94c742a",
"size": "237... |
<def-group>
<!-- THIS FILE IS GENERATED by create_package_removed.py. DO NOT EDIT. -->
<definition class="compliance" id="package_ypbind_removed"
version="1">
<metadata>
<title>Package ypbind Removed</title>
<affected family="unix">
<platform>Red Hat Enterprise Linux 6</platform>
</... | {
"content_hash": "1507067583fe4f156025aa1bcc65caf6",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 79,
"avg_line_length": 39.5,
"alnum_prop": 0.682570593962999,
"repo_name": "ykhodorkovskiy/clip",
"id": "73700687852b6ce4a5eccda95bbf0d247995d13f",
"size": "1027",
"binar... |
package com.fight.job.core.handler.annotation;
import java.lang.annotation.*;
/**
* JobHandler Annotation.
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface JobHandler {
String value() default "";
}
| {
"content_hash": "432a15770b8edfe96092f91e4108eeb1",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 46,
"avg_line_length": 17,
"alnum_prop": 0.7333333333333333,
"repo_name": "luoxn28/fight-job",
"id": "39175e28dddefadd59668525d41c1e935186eb21",
"size": "255",
"binary": ... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>STPAuthenticationContext Protocol Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset="utf-8">
<script src="../js/jquery.min.js" defer>... | {
"content_hash": "90737d5f4c5fcf1780bc0a4d0dded6cf",
"timestamp": "",
"source": "github",
"line_count": 1046,
"max_line_length": 310,
"avg_line_length": 60.48661567877629,
"alnum_prop": 0.5736932779086125,
"repo_name": "stripe/stripe-ios",
"id": "3546f5e553fd42b484398d72321d73babfed5ff9",
"size": "... |
package org.objectweb.asm;
import junit.framework.TestSuite;
/**
* ClassReader tests.
*
* @author Eric Bruneton
*/
public class ClassReaderTest extends AbstractTest {
public static TestSuite suite() throws Exception {
return new ClassReaderTest().getSuite();
}
@Override
public void tes... | {
"content_hash": "09d6a299b12e294224f12c048eae789d",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 78,
"avg_line_length": 33.13559322033898,
"alnum_prop": 0.46317135549872124,
"repo_name": "patrikbeno/org.objectweb.asm",
"id": "92e3a284c5ea312cdbed7dc0ca3c5c1989a041a7",
... |
using System;
namespace MessagePack.LZ4
{
public static partial class LZ4Codec
{
#if NETSTANDARD
public static int Encode(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset, int outputLength)
{
if (IntPtr.Size == 4)
{
return... | {
"content_hash": "e1196957cd31baa87fd96cc1bd379421",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 131,
"avg_line_length": 30.91304347826087,
"alnum_prop": 0.5052039381153305,
"repo_name": "neuecc/MasterMemory",
"id": "25b8a378d69c9ecc7c42b497c5c3b026d689f153",
"size": ... |
ig.module(
'game.entities.fx.basic-fx'
).requires(
'impact.entity',
'impact.sound'
).defines(function () {
BasicFX = ig.Entity.extend({
collides: ig.Entity.COLLIDES.NEVER,
handleMovementTrace: function (res) {
this.pos.x += this.vel.x * ig.system.tick;
this.pos.y += this.vel.y * ig.system.tick;... | {
"content_hash": "8647d90c200848baaae996fa85a1f948",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 50,
"avg_line_length": 20.9375,
"alnum_prop": 0.6298507462686567,
"repo_name": "khellste/defense",
"id": "cc20dbeb3a777d2ab67551cb0a0f794e71472b77",
"size": "335",
"binar... |
package com.ztiany.mall.utils;
import java.util.Properties;
import javax.mail.Authenticator;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.... | {
"content_hash": "3ead5568b471ff0dc9a50e7a2f9f7ac1",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 90,
"avg_line_length": 30.64,
"alnum_prop": 0.6886422976501305,
"repo_name": "Ztiany/CodeRepository",
"id": "7a41c8d5376c227b1f2e31b8f18a43ca11ba34cd",
"size": "1682",
"b... |
import {Tag} from './Tag';
export class KMetric {
public name: string;
public groupName: string;
public description: string;
public tags: Array<Tag>;
public value: number;
}
| {
"content_hash": "e0693a0951c7c1ea32150387c029f955",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 29,
"avg_line_length": 20.555555555555557,
"alnum_prop": 0.6972972972972973,
"repo_name": "mmaia/kafka-simple-demo",
"id": "e217396967fea600a2f7f62aa14ab618059b1536",
"size"... |
namespace llvm {
class Argument;
class CCState;
class CCValAssign;
class FastISel;
class FunctionLoweringInfo;
class MachineBasicBlock;
class MachineFrameInfo;
class MachineInstr;
class MipsCCState;
class MipsFunctionInfo;
class MipsSubtarget;
class MipsTargetMachine;
class TargetLibraryInfo;
class TargetRegisterClass... | {
"content_hash": "c6de46c2125a305b1db040ecc041586f",
"timestamp": "",
"source": "github",
"line_count": 692,
"max_line_length": 80,
"avg_line_length": 37.80780346820809,
"alnum_prop": 0.6077666934220082,
"repo_name": "llvm-mirror/llvm",
"id": "0a5cddd45afbf43fcdb67cd37a6aa4466ea51d05",
"size": "275... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>fairisle: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.cs... | {
"content_hash": "3abe75300c2fbb0a8ba819a7a3813936",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 234,
"avg_line_length": 42.23121387283237,
"alnum_prop": 0.5528332877087325,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "764bc7a113e4b5d87b1d69a4a1d7e6899736c555",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verknüpft sind.
[assembly: A... | {
"content_hash": "81d0134a8f46dffb39f7040f8b62f382",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 106,
"avg_line_length": 42.42857142857143,
"alnum_prop": 0.7643097643097643,
"repo_name": "jugstalt/gViewGisOS",
"id": "9bc8fc04b9b576702c6c5c997967010cabd6ed4e",
"size": "... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.g... | {
"content_hash": "8a81e0e897845ebadc613d142e8d86ae",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 108,
"avg_line_length": 35.36363636363637,
"alnum_prop": 0.5778920308483291,
"repo_name": "StefanLiebenberg/presentation-guice-injection",
"id": "16ccc7f159ddb60922eaa02c8ad3... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | {
"content_hash": "f735d5be0e3ae96a442bb04af7c6abac",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 98,
"avg_line_length": 43.345454545454544,
"alnum_prop": 0.7076342281879194,
"repo_name": "icoxfog417/KinectTutorial",
"id": "158e254b9b905fb11edce25f93c81e7517ae4a02",
"si... |
// -----------------------------------------------------------------------
// <copyright file="ErrorHandler.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
namespace Microsoft.Store.Pa... | {
"content_hash": "f429fc79f973344afdbf11c953b30d84",
"timestamp": "",
"source": "github",
"line_count": 128,
"max_line_length": 201,
"avg_line_length": 52.3984375,
"alnum_prop": 0.5729834501267332,
"repo_name": "PartnerCenterSamples/Reseller-Web-Application",
"id": "6ea5b0957b92de246b12f505ab35cd3c5f... |
require 'gherkin_lint/linter'
module GherkinLint
# service class to lint for avoid scripting
class AvoidScripting < Linter
def lint
filled_scenarios do |file, feature, scenario|
steps = filter_when_steps scenario[:steps]
next if steps.length <= 1
references = [reference(file, fea... | {
"content_hash": "db120533f6270d29cd4df4c546230c23",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 83,
"avg_line_length": 30.227272727272727,
"alnum_prop": 0.637593984962406,
"repo_name": "funkwerk/gherkin_lint",
"id": "2a2d30dc593d4cb08211ee2266814c82e6e4068e",
"size": ... |
<?php
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
namespace Identity;
use Zend\ModuleManager\Feature\ConfigProviderInterface;
class Module implements ConfigProviderInterface
... | {
"content_hash": "cf099fd196a9fe79bef04b9ec3e95c22",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 79,
"avg_line_length": 22.736842105263158,
"alnum_prop": 0.7199074074074074,
"repo_name": "rifats/user-identities",
"id": "5797020bb423419dd2699c0c20ba138da7eae045",
"size"... |
import React, { PropTypes } from 'react'
import { Router } from 'react-router'
import { Provider } from 'react-redux';
import dropdownManager from 'components/Dropdown/DropdownManager';
import 'styles/app.css';
class AppContainer extends React.Component {
static propTypes = {
history: PropTypes.object.isRequired... | {
"content_hash": "ce178bb22dd2b9b633dbc826cbd10912",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 72,
"avg_line_length": 27.178571428571427,
"alnum_prop": 0.6741130091984231,
"repo_name": "dingchaoyan1983/ReactRedux",
"id": "dfcb64893ef21551d038d7b38e9993bf7f4216bc",
"s... |
import React from 'react';
import classNames from 'classnames';
// import theme from './theme/static';
import ThemeContext from './theme/context';
import ThemeSwitcher from './theme/Switcher';
import styles from './Header.css';
export default function Header() {
return (
<ThemeContext.Consumer>
{({ theme... | {
"content_hash": "28dffb2a5f7a1a49bc542e6649f3718b",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 72,
"avg_line_length": 28.458333333333332,
"alnum_prop": 0.6310395314787701,
"repo_name": "Brandon-J-Campbell/codemash",
"id": "d0162670217ddd4ac3776b568e85a075618763cf",
"... |
<?php
namespace Kunstmaan\AdminBundle\Command;
use Doctrine\ORM\EntityManager;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Question\ChoiceQuestion;
use Symfony\... | {
"content_hash": "ad01133df03968c21d990590de7034f2",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 118,
"avg_line_length": 38.55681818181818,
"alnum_prop": 0.6368994989684645,
"repo_name": "hgabka/KunstmaanBundlesCMS",
"id": "c51fe38d20830ff46777ecdd51894879a8cab615",
"s... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 o... | {
"content_hash": "8ee7de229aa6a7b4d327d7d339773e68",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 206,
"avg_line_length": 41.73684210526316,
"alnum_prop": 0.691046658259773,
"repo_name": "chanakaudaya/carbon-analytics-common",
"id": "970fcdd95a3c2217fa269775fb6bc7319cd2c6... |
Read and write CSV in/from files and strings
| {
"content_hash": "c7a52e33695579f79a28f1dd19be9509",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 44,
"avg_line_length": 45,
"alnum_prop": 0.8,
"repo_name": "SiroDiaz/csv",
"id": "7650448fd0eca93537ffaab7f4fd8c18ba6525ec",
"size": "51",
"binary": false,
"copies": "1"... |
<h1>Configuration</h1>
<md-card fxLayout="column">
<app-projet appConfigProperty='projetActif' appConfigValue='{{codeProjet}}' [(codeProjet)]="codeProjet"></app-projet>
<app-base-url-ice-scrum appConfigProperty='baseUrlIceScrum' appConfigValue='{{urlRest}}' [(urlRest)]="urlRest"></app-base-url-ice-scrum>
<a... | {
"content_hash": "b977b72dd7447986b9d483e9fc7f578a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 156,
"avg_line_length": 75.5,
"alnum_prop": 0.7364238410596027,
"repo_name": "nicolasguilhem/icescrum-io",
"id": "74dade29510fd2698af3df7be6e370777c93d1c2",
"size": "755",
... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | {
"content_hash": "9acfc5114ef0824e59f46d3657aa38cd",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 151,
"avg_line_length": 36.46666666666667,
"alnum_prop": 0.5648994515539305,
"repo_name": "RealRui/SharpDX_Demo",
"id": "b2bd2ca05a0ac7c9f8e650d532818147973b3ad1",
"size": ... |
var Entry = require('./entry');
var Rule = require('./rule');
var defaultTTLInMilliSeconds = 60 * 1000;
var LOG_PREFIX = '[middleware-cache] ';
function getNormalizedTTLInMilliSeconds(options) {
var ttlInSeconds = options.ttlInSeconds || 0;
return options.ttl ||
options.ttlInMilliSeconds ||
... | {
"content_hash": "24fe752b525a6961216c2711d0decd14",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 70,
"avg_line_length": 24.958333333333332,
"alnum_prop": 0.6494156928213689,
"repo_name": "droonga/express-droonga",
"id": "f53aadb502a013bcc0f903b18e22e7f2d5292b92",
"size... |
package eu.aniketos.securebpmn.export.aslan.export;
import java.util.ArrayList;
import java.util.List;
/**
* This class contains utility methods that are being used in the ASLan export.
*
*
*/
public class ExportUtil {
private static int permLevel = -1;
/**
* Generates integer pa... | {
"content_hash": "6555d42b87aac692466473a5aa160b23",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 80,
"avg_line_length": 26.421768707482993,
"alnum_prop": 0.4389804325437693,
"repo_name": "adbrucker/SecureBPMN",
"id": "2738dea1e378bbe06002c5e2733d67fb0ac9c851",
"size":... |
//
// G8ViewController.m
// Template Framework Project
//
// Created by Daniele on 14/10/13.
// Copyright (c) 2013 Daniele Galiotto - www.g8production.com.
// All rights reserved.
//
#import "G8ViewController.h"
@interface G8ViewController ()
@property (nonatomic, strong) NSOperationQueue *operationQueue;
@end... | {
"content_hash": "f5a11d4832e834b0e96b99a0c43bd12e",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 170,
"avg_line_length": 35.46496815286624,
"alnum_prop": 0.7359913793103449,
"repo_name": "gali8/Tesseract-OCR-iOS",
"id": "03af92c499249c324461ce762bdf11d263fecaee",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "2b5d88a54c0237fd9330a863e0e6ff4b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "86f34d5558ed5fc9ddcc4fbd8125092042701fd6",
"size": "180... |
'use strict';
var cores = require('./solrCores');
var axios = require('axios');
var _ = require('lodash');
var Q = require('q');
function geneSearch(query) {
var coreName = 'genes';
var url = cores.getUrlForCore(coreName);
var params = getSolrParameters(query);
return axios.get(url, {params: params})
.th... | {
"content_hash": "4b7ee3f9ca7b29532cc0497e70109734",
"timestamp": "",
"source": "github",
"line_count": 204,
"max_line_length": 239,
"avg_line_length": 27.13235294117647,
"alnum_prop": 0.601806684733514,
"repo_name": "ajo2995/gramene-search-client",
"id": "68a76c27e3f45ecfcee969e5c7bbd85571201e31",
... |
from uuid import uuid4
from diesel import wait, fire
from collections import defaultdict
from diesel.events import Waiter, StopWaitDispatch
class Lock(Waiter):
def __init__(self, count=1):
self.count = count
def acquire(self):
if self.count == 0:
wait(self)
else:
... | {
"content_hash": "cfafa98173f92fab2dd25453742ca655",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 50,
"avg_line_length": 20.866666666666667,
"alnum_prop": 0.597444089456869,
"repo_name": "dieseldev/diesel",
"id": "71d0c8fbe9767985c552d46d7bdb7eaf921bb90d",
"size": "939"... |
<?php
if (isset($_SESSION['LAST_ACTIVITY']) && (time() - $_SESSION['LAST_ACTIVITY'] > 1800)) {
// last request was more than 30 minutes ago
session_unset(); // unset $_SESSION variable for the run-time
session_destroy(); // destroy session data in storage
}
$_SESSION['LAST_ACTIVITY'] = time();
fun... | {
"content_hash": "963954b8d127e201edbbcf5dff5f8894",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 89,
"avg_line_length": 25.894736842105264,
"alnum_prop": 0.6077235772357723,
"repo_name": "GDGAllahabad/Website-EffervescenceMMXIV",
"id": "5750621b6d424d75160d119f266ab477a7... |
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>File: util.rb</title>
<meta http-equiv="Content-Type" co... | {
"content_hash": "18f3655a605b854ca2b3fef8a61fcfd9",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 102,
"avg_line_length": 19.822429906542055,
"alnum_prop": 0.5855728429985856,
"repo_name": "CenturyLinkLabs/kwalify",
"id": "e8b591cb31a7967a6225996ce3ab496bf2fcd90b",
"si... |
package org.frameworkset.util.annotations;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* <p>Title: Attribute.java</p>
* <p>Description: </p>
* <p>bboss ... | {
"content_hash": "16ab4aaa86181d44a59d51f0992601aa",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 65,
"avg_line_length": 26.352941176470587,
"alnum_prop": 0.7433035714285714,
"repo_name": "bbossgroups/bbossgroups-3.5",
"id": "7f97f125b8951ed345c98ed8bb35daa62e45a45e",
"... |
get '/users/new' do
if params[:errors]
@errors = params[:errors]
binding.pry
end
erb :'users/new'
end
post '/users' do
@user = User.new(first_name: params[:first_name], last_name: params[:last_name], email: params[:email], password_hash: nil)
@user.password = params[:password]
if @user.save && (p... | {
"content_hash": "06e2db213b1341786ff3b40c8b0d714e",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 125,
"avg_line_length": 21.5,
"alnum_prop": 0.6179401993355482,
"repo_name": "nyc-chorus-frogs-2016/THE-REAL-CHORUS-FOXES",
"id": "87d052f35bbd1c7275792e37222fd74cae453fcc",
... |
function Do-Thing {
param()
throw 'I have been thrown'
}
describe 'Exception testing demo' {
it 'throws an exception' {
{ Do-Thing } | should throw
}
it 'throws a specific exception message' {
{ Do-Thing } | should throw 'notright'
}
} | {
"content_hash": "570509cfcbd87529f123a85a0a331e3a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 43,
"avg_line_length": 14.11111111111111,
"alnum_prop": 0.6456692913385826,
"repo_name": "kidchenko/playground",
"id": "da43f5ca290ecf98286e94bd1c5a8226b25f9c89",
"size": "... |
module Api.Auth (
logUserIn,
authorize
) where
import DB
import Web.Scotty
import Auth
import qualified Data.Text.Lazy as TL
import Database.PostgreSQL.Simple
import Types
import Control.Monad.Trans.Maybe
import Control.Monad.IO.Class
import Control.Monad.Trans.Class
import Data.Either
import Control.Monad
imp... | {
"content_hash": "ef1482c7fe948bbd6393a9739d2c5ded",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 74,
"avg_line_length": 27.11111111111111,
"alnum_prop": 0.7185792349726776,
"repo_name": "maciejspychala/haskell-server",
"id": "6076b15baa9e34110ec084cfd25919598af95323",
... |
package sun.bob.mcalendar.utils;
import android.text.format.Time;
import com.android.calendarcommon2.DateException;
import com.android.calendarcommon2.RecurrenceProcessor;
import com.android.calendarcommon2.RecurrenceSet;
import java.util.ArrayList;
import java.util.Date;
import java.util.TimeZone;
import sun.bob.m... | {
"content_hash": "348a55b32024874263afcd182a78f63d",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 104,
"avg_line_length": 33.139240506329116,
"alnum_prop": 0.5893812070282658,
"repo_name": "oong/OCR_ADDON",
"id": "62d8d147023c63c50cca9f66a2b854d855150495",
"size": "2618... |
package org.apache.activemq.artemis.tests.integration.addressing;
import java.util.HashSet;
import java.util.Set;
import org.apache.activemq.artemis.api.core.SimpleString;
import org.apache.activemq.artemis.core.config.Configuration;
import org.apache.activemq.artemis.core.server.ActiveMQServer;
import org.apache.a... | {
"content_hash": "1891a6b5116582f064f528078f0a62ea",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 149,
"avg_line_length": 34.23809523809524,
"alnum_prop": 0.7642559109874826,
"repo_name": "willr3/activemq-artemis",
"id": "3e285cfd21d603893dfd60b44e91c954418f8124",
"size... |
var life : float;
private var destroyTime : float;
function Start(){
destroyTime = Time.time + life;
}
function Update () {
if(Time.time > destroyTime){
Destroy(gameObject);
}
if(Time.time > destroyTime - particleEmitter.maxEnergy){
particleEmitter.emit = false;
}
} | {
"content_hash": "ad6999879f98ac8873b7f938f48047fd",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 57,
"avg_line_length": 18.466666666666665,
"alnum_prop": 0.703971119133574,
"repo_name": "HELZ47/TestingCode",
"id": "bdf2df1d744cd35b8851ceda0209daa382f85949",
"size": "27... |
/* eslint-disable max-nested-callbacks */
const Config = require('../src/setup/Config');
const Original = {
rc: require('./helpers/config_rc.json'),
config: require('../config/default.js'),
};
function testConfig(obj) {
return Object.assign(
{
configFolder: './spec/helpers',
rc: './spec/helpers... | {
"content_hash": "83127445e2f99b572766eabd4686ffac",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 91,
"avg_line_length": 25.568627450980394,
"alnum_prop": 0.5518916155419223,
"repo_name": "isuttell/ceres-framework",
"id": "3eaa66ab0a4ef6823254a68de59122d128102028",
"si... |
using System;
using System.Reactive;
namespace Qactive
{
public static class NotificationKindExtensions
{
internal static QbservableProtocolMessageKind AsMessageKind(this NotificationKind kind)
{
switch (kind)
{
case NotificationKind.OnNext:
return QbservableProtocolMessageKi... | {
"content_hash": "92d20a657ecdcf1005796f27feae9d34",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 91,
"avg_line_length": 27.08695652173913,
"alnum_prop": 0.7030497592295345,
"repo_name": "RxDave/Qactive",
"id": "7a8a37a78723bcac483cb281fe1ced644ed270eb",
"size": "625",
... |
declare module 'react-fast-compare' {
const isEqual: (a: any, b: any) => boolean
export default isEqual
}
| {
"content_hash": "844a367195c3cc8a0fa03a53881c6fc5",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 44,
"avg_line_length": 27.5,
"alnum_prop": 0.6909090909090909,
"repo_name": "cdnjs/cdnjs",
"id": "1f6bb46f03b9dec6363a36b879f47bcc593e7db7",
"size": "110",
"binary": false... |
require 'test_helper'
class LanguagesHelperTest < ActionView::TestCase
end
| {
"content_hash": "51e53ce14a765a66b171c1d2bef81dd7",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 48,
"avg_line_length": 19,
"alnum_prop": 0.8157894736842105,
"repo_name": "mcelliott/i18n_form_helper",
"id": "3bc9dd9d0d6490beb033da4ea2c14d1e2233077f",
"size": "76",
"bi... |
Please make sure you know common [Glossary](/documentation/about/GLOSSARY) and [SpEL](../scenarios_authoring/Spel.md) (especially the Data types section) before proceeding further.
This part of the documentation describes various ways of customizing Nussknacker - from adding own Components to adding listeners for var... | {
"content_hash": "9dc6ca5debd87623c0ef36e4b85dfea3",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 473,
"avg_line_length": 93.57692307692308,
"alnum_prop": 0.8090834360871352,
"repo_name": "TouK/nussknacker",
"id": "6c8af78c5dda9535f062859da695e0df2ce9fed0",
"size": "97... |
package io.advantageous.qbit.service.health;
import io.advantageous.boon.core.Lists;
import io.advantageous.qbit.annotation.QueueCallback;
import io.advantageous.qbit.annotation.QueueCallbackType;
import io.advantageous.qbit.service.Stoppable;
import io.advantageous.qbit.util.Timer;
import org.slf4j.Logger;
import or... | {
"content_hash": "825224776bec854df039a84ee89580b0",
"timestamp": "",
"source": "github",
"line_count": 306,
"max_line_length": 130,
"avg_line_length": 27.65359477124183,
"alnum_prop": 0.6180571968801701,
"repo_name": "MammatusTech/qbit",
"id": "320035e648bcfd3f19f5eaec00113d9ab837ab05",
"size": "8... |
require 'edgecase'
class AboutClasses < EdgeCase::Koan
class Dog
end
def test_instances_of_classes_can_be_created_with_new
fido = Dog.new
assert_equal __, fido.class
end
# ------------------------------------------------------------------
class Dog2
def set_name(a_name)
@name = a_name
... | {
"content_hash": "9947f6d42f52fd98d7b4852be59f2e74",
"timestamp": "",
"source": "github",
"line_count": 190,
"max_line_length": 80,
"avg_line_length": 20.573684210526316,
"alnum_prop": 0.566129444870811,
"repo_name": "rizwanreza/ruby_koans",
"id": "d576e4bbb87932fe0e21e770b50f9a783e8e8ff6",
"size":... |
require 'diapason/version'
require 'diapason/note'
require 'diapason/tuning'
require 'diapason/scale'
require 'diapason/sound'
module Diapason
end
| {
"content_hash": "defd48d1b6a775747811a519c57138a2",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 26,
"avg_line_length": 18.5,
"alnum_prop": 0.8040540540540541,
"repo_name": "zavan/diapason",
"id": "e19ce6220614fb66c5d3c0f188e3f41b8c79c74e",
"size": "148",
"binary": fa... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "baa9788f99cb8615804abc8790598c5e",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "07d4208be155bc555660fe6c046b1ac837e9cbf7",
"size": "239... |
namespace autofill_assistant {
namespace android_interactions {
void SetValue(base::WeakPtr<BasicInteractions> basic_interactions,
const SetModelValueProto& proto) {
if (!basic_interactions) {
return;
}
basic_interactions->SetValue(proto);
}
void ComputeValue(base::WeakPtr<BasicInteractions> b... | {
"content_hash": "a761f4faf392a021c25aa01ee24cc0fc",
"timestamp": "",
"source": "github",
"line_count": 397,
"max_line_length": 80,
"avg_line_length": 36.16372795969773,
"alnum_prop": 0.6176081354043323,
"repo_name": "scheib/chromium",
"id": "13c04615b6821ce0560db21e8adc96a0bbfd9ae1",
"size": "1514... |
export default (typeof __RWR_ENV__ !== 'undefined') ? __RWR_ENV__ : {};
| {
"content_hash": "6cc70f94cb90269ad5f5a624a0064b25",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 71,
"avg_line_length": 72,
"alnum_prop": 0.5555555555555556,
"repo_name": "kamillamagna/NMF_Tool",
"id": "fae20665834ccfa553ac59f1b1ffb7ab7b60ca7d",
"size": "72",
"binary"... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Xml;
using Cake.Core;
namespace Cake.Common.Tools.NuGet.Pack
{
internal static class NuspecTransformer
{
private static readonly Dictionary<string, Func<NuGetPackSettings, string>> _mappings;
... | {
"content_hash": "912cc360855e9c81396aa4829e25fa72",
"timestamp": "",
"source": "github",
"line_count": 168,
"max_line_length": 136,
"avg_line_length": 41.154761904761905,
"alnum_prop": 0.5588660688458201,
"repo_name": "manekovskiy/cake",
"id": "ca09f4e885d0840efcb355a9dc76939e92ff60f2",
"size": "6... |
using System.Reflection;
using System.Runtime.CompilerServices;
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("Ba... | {
"content_hash": "a1149158f3cd9796ce35e9b13d10637e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 39.19444444444444,
"alnum_prop": 0.7448618001417434,
"repo_name": "JixunMoe/BaiduPan-DDL-Parser",
"id": "6f381b496a008e15538eb02e18c5db79a02ab2f9",
"... |
import { connect } from 'react-redux'
import updateAction from '../../actions/updateAction'
import { navigateThroughSubmodels } from '../../utils/stateNavigation'
import Select from '../../components/inputs/Select'
const mapStateToProps = function(state, ownProps) {
const path = navigateThroughSubmodels(
state.r... | {
"content_hash": "23e09c26b89ffad2cec5c7aac9a431f2",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 77,
"avg_line_length": 27.075,
"alnum_prop": 0.7072945521698984,
"repo_name": "KonstantinKo/rform",
"id": "1c187707d29b8327e57219b42eccb9b34f3f38ba",
"size": "1083",
"bin... |
package com.rhythm.louie;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*
* @author cjohnson
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Streaming {
... | {
"content_hash": "ecb88d008e0f513d4a41e3fbb6a75e6b",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 44,
"avg_line_length": 18.941176470588236,
"alnum_prop": 0.7763975155279503,
"repo_name": "rhlabs/louie",
"id": "40e3ed60c233fc1cd17a4860959a3db28b0878c0",
"size": "929",
... |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
CREATE TABLE IF NOT EXIST... | {
"content_hash": "dbcd92b14c946b7a23ca24711ee4ef22",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 109,
"avg_line_length": 38.86754966887417,
"alnum_prop": 0.7117055716476401,
"repo_name": "eromba/bookswap",
"id": "e729d1d08f28d9bcc7d239fdd09f738dbdbc994e",
"size": "586... |
import {
LIST_UPDATED,
UPDATE_LIST,
CREATE_CUSTOMER,
DELETE_CUSTOMER,
ERROR,
OK,
SELECT_CUSTOMER,
UNSELECT_CUSTOMER,
UPDATE_CUSTOMER,
} from '../constants'
import * as Utils from './utils'
const initialState = {
customers: [],
message: null,
selectedCustomer: null
}
export default function cu... | {
"content_hash": "1e5e10c8c5d556b76ae9f7bd2c44245a",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 71,
"avg_line_length": 22.404761904761905,
"alnum_prop": 0.614240170031881,
"repo_name": "pietro909/stripe-react-demo",
"id": "53ba221e4d593955f86236a73b57e578a24d22f6",
"s... |
module Alchemy
# This helpers are useful to render elements from pages.
#
# The most important helper for frontend developers is the {#render_elements} helper.
#
module ElementsHelper
include Alchemy::UrlHelper
include Alchemy::ElementsBlockHelper
# Renders elements from given page
#
# ==... | {
"content_hash": "b9d3ba89f8feed9a81da0a05f46a767c",
"timestamp": "",
"source": "github",
"line_count": 223,
"max_line_length": 163,
"avg_line_length": 33.596412556053814,
"alnum_prop": 0.6187933796049119,
"repo_name": "mamhoff/alchemy_cms",
"id": "0d3e31e247d96085a8a2b6ee5f5e68cf8c2c5820",
"size":... |
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Foundations.Extensions
{
namespace SimpleCQRS.Framework
{
public class TypeMapper
{
public Dictionary<Type, Type> ParameterToArgumentTypeMapping { get; } =
new Dictionary<Type, Type>... | {
"content_hash": "1f485ff08ec26e8c2905f952b1efd259",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 85,
"avg_line_length": 32.95238095238095,
"alnum_prop": 0.41377649325626203,
"repo_name": "lukedoolittle/foundations",
"id": "0b1ae6923c85f79dc6332a6c6b8ded58da580950",
"si... |
package org.devgateway.toolkit.forms.wicket.page.edit.category;
import org.apache.wicket.request.mapper.parameter.PageParameters;
import org.devgateway.toolkit.forms.wicket.components.form.TextFieldBootstrapFormComponent;
import org.devgateway.toolkit.forms.wicket.page.edit.AbstractEditPage;
import org.devgateway.too... | {
"content_hash": "631a45f1d713845e5742cf973bd9afdb",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 96,
"avg_line_length": 30.258064516129032,
"alnum_prop": 0.7633262260127932,
"repo_name": "devgateway/oc-explorer",
"id": "e60826998bacd520fe34f86cf8704fd46c22fdab",
"size"... |
> <b>Note</b>: This translator is only for testing, and does not correspond to any real device. It just does
> some console logging.
## Installing Dependencies
To install dependencies for this translator, run:
```bash
npm install
```
## Running Test Automation
This translator comes with some automated tests. Here's... | {
"content_hash": "67697c6b71d12825956cee38f60cd57b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 116,
"avg_line_length": 27.051724137931036,
"alnum_prop": 0.6991714467813894,
"repo_name": "ChuckFerring/translators",
"id": "56a033e62294998cee6c48406918cc5c47f4c2fd",
"si... |
<?php
/**
* Created by PhpStorm.
* User: meathill
* Date: 15/8/13
* Time: 下午4:54
*/
namespace diy\service;
use diy\model\ADModel;
use PDO;
use SQLHelper;
class Baobei_Mailer extends Mailer {
protected $DB_write;
public function __construct($debug = false) {
$this->username = 'baobei@dianjoy.com';
... | {
"content_hash": "e42bcbdd9eae43346941870b338881aa",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 127,
"avg_line_length": 30.974358974358974,
"alnum_prop": 0.5757450331125827,
"repo_name": "RyanTech/lemon-grass",
"id": "3bc432b0199568f48f24ce636d4336e0424fd44f",
"size":... |
Dynamic editable energy consumption / green house gaz emition for french real estate listings rendered in css
# Dependencies
Needs jquery (selectors), jquery-ui (dragable), underscore (template)
# Usage
Include dpe-widget.js and dpe-widget.css in your web project.
The wigdet is invoked as a jquery plugin on a DOM el... | {
"content_hash": "7dc5c61f25262105602c0e25e0493287",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 142,
"avg_line_length": 54.22222222222222,
"alnum_prop": 0.7561475409836066,
"repo_name": "bcolombani/dpe-widget",
"id": "77ef7d7aee6f5c02f51084dd53cef495793d4882",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<algorithms version="100401">
<algorithm name="SectLabel" version="100410">
<variant no="0" confidence="0.000003">
<title confidence="0.619752">
MBT: A Memory-Based Part of Speech Tagger-Generator
</title>
<author confidence="0.64892">
Walter Daelemans, Jakub Zavrel
</author>
<aff... | {
"content_hash": "829fe69d964daa9d143cba353d47e460",
"timestamp": "",
"source": "github",
"line_count": 807,
"max_line_length": 119,
"avg_line_length": 58.759603469640645,
"alnum_prop": 0.7915181678230245,
"repo_name": "sfontanarrosa/metadata-extraction",
"id": "f87af8d0e7ce17e1ab0311193b08d903369bbe... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="hr" version="2.1">
<context>
<name>AboutDialog</name>
<message>
<source>About GlobalBoost Core</source>
<translation>O Bitcoin Jezrgu</translation>
</message>
<message>
<source><b>GlobalBoost Core</b> version</source>
... | {
"content_hash": "de5fd625c6877b057a1410bbfee63b9e",
"timestamp": "",
"source": "github",
"line_count": 3372,
"max_line_length": 394,
"avg_line_length": 35.2488137603796,
"alnum_prop": 0.6338434615805282,
"repo_name": "getcoin/globalboosty",
"id": "5011920fc5eedccadcb9729b05f6b5ab1b654ba0",
"size":... |
<!doctype html>
<html lang="en">
<head>
<title>Code coverage report for javascripts/profile/components/App.jsx</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="../../../prettify.css" />
<link rel="stylesheet" href="../../../base.css" />
<meta name="viewport" content="width=device-width,... | {
"content_hash": "944505b639f5aeda5441b716d5c56bbc",
"timestamp": "",
"source": "github",
"line_count": 221,
"max_line_length": 132,
"avg_line_length": 31.18552036199095,
"alnum_prop": 0.617382472431805,
"repo_name": "lina9527/easybi",
"id": "b96fdaf2206be38f616656b9f05c1f00b31715cb",
"size": "6904... |
<?xml version="1.0" encoding="utf-8" ?>
<ExampleDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<View>Examples/CreateStockCharts/MultiPane/CreateMultiPaneStockCharts.xaml</View>
<ViewModel>Examples.CreateStockCharts.MultiPane.CreateMultiPaneStockCharts... | {
"content_hash": "173d1c2f9a02d8f39ef28422ade078ec",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 463,
"avg_line_length": 84.51724137931035,
"alnum_prop": 0.7962056303549572,
"repo_name": "ABTSoftware/SciChart.WPF.Examples",
"id": "cac9d69aa1eb054d95d14e6478485e508583e9e6... |
SHELL = /bin/sh
srcdir = .
top_srcdir = ..
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix... | {
"content_hash": "77a6a0c38d93fa9e43f828ace18b86a2",
"timestamp": "",
"source": "github",
"line_count": 345,
"max_line_length": 110,
"avg_line_length": 29.368115942028986,
"alnum_prop": 0.6568298460323727,
"repo_name": "nleite/sniffyourething",
"id": "ecd3ccba3c40b9b661c48987404f19dd958bfe6f",
"siz... |
package org.apache.jena.atlas.io;
import java.io.IOException;
import java.io.Reader;
/** Machinery to add Reader functionality to a CharStream.
* No {@code synchronized} is used for {@link #read()}.
*/
public abstract class CharStreamReader extends Reader implements CharStream {
private boolean isClosed = fa... | {
"content_hash": "5fe4064d8322ab901f26c6a3e98949be",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 77,
"avg_line_length": 22.29824561403509,
"alnum_prop": 0.5287175452399685,
"repo_name": "apache/jena",
"id": "4677cda99ec990cd87ec1e0c32fde9a6bcf6b9ef",
"size": "2076",
... |
ngram package
=============
.. automodule:: ngram
:members:
:undoc-members:
:show-inheritance:
ngram.generate module
---------------------
.. automodule:: ngram.generate
:members:
:undoc-members:
:show-inheritance:
ngram.ngram_helper module
-------------------------
.. automodule:: ngram.ng... | {
"content_hash": "f8178e2e4f960ca65730184a63051cbe",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 34,
"avg_line_length": 16.0625,
"alnum_prop": 0.5622568093385214,
"repo_name": "jasonsbrooks/ARTIST",
"id": "030088efffe527cfebbcac60430bdfe46a56caeb",
"size": "514",
"bi... |
title: Factoring Polynomials Common Factor
localeTitle: Фактор факторинга Общий коэффициент
---
## Фактор факторинга Общий коэффициент
Это заглушка. [Помогите нашему сообществу расширить его](https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/factoring-polynomials-common-factor/index.md) .
[Это ... | {
"content_hash": "842539d9a52d11cc00b56bc0d8accdfc",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 177,
"avg_line_length": 48.6,
"alnum_prop": 0.8106995884773662,
"repo_name": "otavioarc/freeCodeCamp",
"id": "5382dbe8257fe58a0728c3f9e757b66385d1ed54",
"size": "686",
"b... |
The OWASP Zed Attack Proxy (ZAP) is an easy to use integrated penetration testing tool for finding vulnerabilities in web applications.
It is designed to be used by people with a wide range of security experience and as such is ideal for developers and functional testers who are new to penetration testing as well as b... | {
"content_hash": "4a2d9c69dd93776844334cd7e85d0683",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 244,
"avg_line_length": 61.68421052631579,
"alnum_prop": 0.78839590443686,
"repo_name": "robocoder/zaproxy",
"id": "cc689258e3d89f64df4d03356a447e99032d743c",
"size": "1303... |
require 'rest-client'
# ECS API 的服务接入地址为:ecs.aliyuncs.com
# 支持通过 HTTP 或 HTTPS 通道进行请求通信。为了获得更高的安全性,推荐您使用 HTTPS 通道发送请求。
# 每个请求都需要指定要执行的操作,即 Action 参数(例如 StartInstance),以及每个操作都需要包含的公共请求参数和指定操作所特有的请求参数。
# 支持 HTTP GET 方法发送请求,这种方式下请求参数需要包含在请求的 URL 中。
# 请求及返回结果都使用 UTF-8 字符集进行编码。
# 公共请求参数
# 名称 类型 是否必须 描述
# Format Strin... | {
"content_hash": "e52b1f767f9af99f820ab257e9bcb8ff",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 270,
"avg_line_length": 59.75590551181102,
"alnum_prop": 0.7958887864013704,
"repo_name": "prew/test",
"id": "64d6717e4311952608470c29c1b5e33effbd14b7",
"size": "10029",
... |
var router = require('express').Router(),
service = require('../services/band');
// ===== query all ==================================================
router.get('/', function (req, res) {
service.findAll(function (err, body) {
if (err) {
res.send(500, 'internal error while finding all bands (reason: ' +... | {
"content_hash": "e07dca9fe2e0f602d940c4980f46144a",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 84,
"avg_line_length": 27.266666666666666,
"alnum_prop": 0.5036674816625917,
"repo_name": "efg-ludwigshafen/song-graph",
"id": "da0a241b4d0b22ce846c5352cff269d51df643f1",
"... |
<project name="PacketStorm" default="jre" basedir="../..">
<!-- application-specific. Make sure basedir matches path. -->
<description>
Packet Storm
</description>
<property name="jarname" value="PacketStorm"/>
<property name="apppath" value="examples/packetstorm"/>
<property name="mainclass" value="examples... | {
"content_hash": "1fa48eae6ff433e2ac6b4bb7c6f70c85",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 84,
"avg_line_length": 32.56716417910448,
"alnum_prop": 0.6223648029330889,
"repo_name": "UTFPR-Guarapuava-TSI/pong",
"id": "3f4aa67385c671e4940bfab7871bb7b0d8a47714",
"si... |
var util = require('util'),
debug = require('debug')('kaching-paypal'),
paypal_sdk = require('paypal-rest-sdk'),
Strategy = require('kaching').Strategy;
/**
* `PaypalStrategy` constructor.
*
* @param {Object} options
* @api public
*/
function PaypalStrategy (options) {
this.name = 'paypal';
if (!... | {
"content_hash": "14fd884938581e15f4fe961c336cdbda",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 89,
"avg_line_length": 28.71014492753623,
"alnum_prop": 0.6590106007067138,
"repo_name": "gregwym/kaching-paypal",
"id": "b22cdfa4448d61488502b7ac2fed67bbf75214cc",
"size"... |
import express from 'express';
import sortBy from 'lodash/sortBy';
import { URL } from 'url';
import { Stream, User } from '../db';
import errors from '../http_errors';
const isValidAdvancedUrl = require('../util/is-valid-advanced-url')(URL);
const api = express.Router();
api.get('/streamer/:name', async (req, res, ... | {
"content_hash": "2da67351971622fa841269ee25b53a2b",
"timestamp": "",
"source": "github",
"line_count": 151,
"max_line_length": 137,
"avg_line_length": 26.827814569536425,
"alnum_prop": 0.6151567514194026,
"repo_name": "slugalisk/Rustla2",
"id": "1626b8c6997126a1818c73766056cc52fc40c826",
"size": "... |
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),"..",".."))
require 'puppet/util/firewall'
Puppet::Type.newtype(:firewallchain) do
include Puppet::Util::Firewall
@doc = <<-EOS
This type provides the capability to manage rule chains for firewalls.
Currently this supports only iptables, ip6tables and e... | {
"content_hash": "cb1ee8ca7718a69284b546f617bf291d",
"timestamp": "",
"source": "github",
"line_count": 225,
"max_line_length": 438,
"avg_line_length": 34.346666666666664,
"alnum_prop": 0.6370341614906833,
"repo_name": "saqibarfeen/iota-influxdb-grafana",
"id": "cb2c61412b3c8e31feff97ea6c0114005604db... |
namespace CodeHub.Web.ViewModels.Paste
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public class EditPasteViewModel : AddPasteViewModel
{
public string Id { get; set; }
}
} | {
"content_hash": "4883e36f9ff50c7dc7ca238ad65ce89f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 55,
"avg_line_length": 21,
"alnum_prop": 0.6706349206349206,
"repo_name": "dnmitev/CodeHub",
"id": "4a65d541747cc06762bd188ddae6d76bbcb6318a",
"size": "254",
"binary": fa... |
package org.andengine.opengl.util;
/**
* (c) Zynga 2012
*
* @author Nicolas Gramlich <ngramlich@zynga.com>
* @since 11:18:30 - 10.02.2012
*/
public class VertexUtils {
// ===========================================================
// Constants
// ===========================================================
/... | {
"content_hash": "22b67c503d9801dc2558ae4f85b63e7b",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 131,
"avg_line_length": 33.91836734693877,
"alnum_prop": 0.3206979542719615,
"repo_name": "iraupph/tictactoe-android",
"id": "7568a985ece14159fb3f090b9ab245ad008f719d",
"si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.