text stringlengths 2 1.04M | meta dict |
|---|---|
<?php
/**
* BaseAnhang
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property string $path
* @property string $name
* @property integer $anlage_id
* @property Anlage $Anlage
*
* @method string getPath() Returns the current record's "path" value
* @method string getName(... | {
"content_hash": "ac7644270ac349f80c09e4908e8b2e47",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 80,
"avg_line_length": 32.59322033898305,
"alnum_prop": 0.5746229849193968,
"repo_name": "maggsta/openzim",
"id": "679b6cd15fa646e7152184bfd58c28486c0a99a2",
"size": "1923"... |
angular.module('myApp')
.controller('UserController', function ($scope, UserFactory, DataTable, UserService, $localStorage,$state) {
//fetch du lieu Role
if ($localStorage.user.role.name === 'admin') {
UserService.fetchRole()
.then(function (response) {
... | {
"content_hash": "e96be881912da743a1e91f0276651362",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 145,
"avg_line_length": 40.23148148148148,
"alnum_prop": 0.3995397008055236,
"repo_name": "thuanprovp1/thuan",
"id": "003d25b8d29e5d0d92800bd33f31817517b4c352",
"size": "4... |
' Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
Imports System.Composition
Imports Microsoft.NetCore.Analyzers.InteropServices
Imports Microsoft.CodeAnalysis
Imports Microsoft.CodeAnalysis.CodeFixes
Namespa... | {
"content_hash": "70dd50dd1873e5da8448658d0f2f5a28",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 159,
"avg_line_length": 42.23529411764706,
"alnum_prop": 0.8064066852367688,
"repo_name": "mavasani/roslyn-analyzers",
"id": "27353e580005c7302f08eb98e5beef220779edc6",
"si... |
/* */ package com.hundsun.network.gates.genshan.web.action.trade;
/* */
/* */ import com.hundsun.network.gates.genshan.biz.domain.query.TradeSubstationQuery;
/* */ import com.hundsun.network.gates.genshan.biz.domain.trade.TradeSubstation;
/* */ import com.hundsun.network.gates.genshan.biz.servi... | {
"content_hash": "a4f8c533f0e395a5235c657bb1f17a55",
"timestamp": "",
"source": "github",
"line_count": 118,
"max_line_length": 173,
"avg_line_length": 54.940677966101696,
"alnum_prop": 0.6245565324695357,
"repo_name": "hnccfr/ccfrweb",
"id": "6fb03acbf3bf59eab1815ab1ea16dcb1b0685380",
"size": "655... |
package com.leetcode3;
import java.util.Arrays;
import java.util.Comparator;
/**
* https://leetcode.com/problems/course-schedule-iii/solution/
* Diary: Had to reference solution. 4th solution is very smart!
* Explanation: See approach 3
* - Sort the course array by ascending order of end date
* - Keep 1 runnin... | {
"content_hash": "3ca7b18975095bcf047346ff413b6482",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 121,
"avg_line_length": 34.94117647058823,
"alnum_prop": 0.5471380471380471,
"repo_name": "hiryou/MLPractice",
"id": "97663efe2353a0deb3d09547ac8fa8426cd3740f",
"size": "17... |
<resources>
<string name="app_name">SwypeTweaks</string>
<!-- Color Picker -->
<string name="dialog_color_picker">Color Picker</string>
<string name="press_color_to_apply">Press on Color to apply</string>
<!-- Preferences -->
<string name="pref_category">Category</string>
<string n... | {
"content_hash": "537b055f227ac5276c043c20ac31a082",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 92,
"avg_line_length": 46.388888888888886,
"alnum_prop": 0.6874251497005988,
"repo_name": "Danation/SwypeTweaks",
"id": "f85d65eaf1710920677cbe9b40836f4b3627899a",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2016 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android" >
<shortcut
android:sho... | {
"content_hash": "dc73944acb47efec414463e1efa8d043",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 96,
"avg_line_length": 45.54838709677419,
"alnum_prop": 0.6841359773371105,
"repo_name": "scheib/chromium",
"id": "bd6cd4af0f9725283d828ee81741b6f3925ba2b9",
"size": "1412"... |
<?xml version="1.0" ?><!DOCTYPE TS><TS language="af_ZA" version="2.0">
<defaultcodec>UTF-8</defaultcodec>
<context>
<name>AboutDialog</name>
<message>
<location filename="../forms/aboutdialog.ui" line="+14"/>
<source>About Preiscoin</source>
<translation type="unfinished"/>
</message... | {
"content_hash": "b6dcfa897a9b4a31e726fcbab36ddd2a",
"timestamp": "",
"source": "github",
"line_count": 2917,
"max_line_length": 395,
"avg_line_length": 33.68906410695921,
"alnum_prop": 0.5913748715287318,
"repo_name": "Preiscoin/1",
"id": "6787d088a0cb631a726d8a1c057672a7eb1a0fc6",
"size": "98274"... |
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Finance.ForeignExchange.Bank;
using TIKSN.Globalization;
using Xunit;
namespace TIKSN.Finance.ForeignExchange.IntegrationTests
{
public class NationalBankOfUkraineTests
{
private r... | {
"content_hash": "8d994625ae91217af2280180a3248f0c",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 144,
"avg_line_length": 36.88235294117647,
"alnum_prop": 0.6375598086124402,
"repo_name": "tiksn/TIKSN-Framework",
"id": "978759171aa542b205c5ffc20b473f7731e393e3",
"size":... |
#include "SIM.h"
#include "GUI.h"
void SIM_X_Init() {
if ((LCD_GetDevCap(LCD_DEVCAP_XSIZE) == 320) && (LCD_GetDevCap(LCD_DEVCAP_YSIZE) == 240)) {
SIM_SetLCDPos(71,38); // Define the position of the LCD in the bitmap
SIM_SetTransColor (0xff0000); // Define the transparent color... | {
"content_hash": "301f85f977f945e81b0718685272fbd4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 93,
"avg_line_length": 37.84615384615385,
"alnum_prop": 0.6117886178861789,
"repo_name": "byxob/calendar",
"id": "6db69276fb71fe7dac78a9efba04d93f87a20327",
"size": "1544",... |
package com.google.errorprone.refaster;
import com.google.auto.value.AutoValue;
import com.google.common.base.Function;
import com.google.common.base.Optional;
import com.google.common.collect.Iterables;
import com.google.errorprone.refaster.ControlFlowVisitor.Result;
import com.sun.source.tree.IfTree;
import com.su... | {
"content_hash": "2c0b4be3dd2147a31d89f107fb938bad",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 100,
"avg_line_length": 43.15,
"alnum_prop": 0.5664992918758851,
"repo_name": "cushon/error-prone",
"id": "88b624e65c581fde18b04fe60a17366bf957a88e",
"size": "8372",
"bi... |
package com.yazilimokulu.mvc.services;
import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.yazilimokulu.mvc.daos.LikeNotificationRepository;
import com.yazilimokulu.mvc.daos.PostRepository... | {
"content_hash": "5f2da932d9ccc5dd03f90d31d586190b",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 77,
"avg_line_length": 30.43103448275862,
"alnum_prop": 0.7852691218130312,
"repo_name": "codescrackers/turkninja",
"id": "199b6de8b7003bb1df54cbc3b1a3352872aa2382",
"size"... |
FROM balenalib/odroid-u3+-alpine:edge-build
ENV NODE_VERSION 15.7.0
ENV YARN_VERSION 1.22.4
# Install dependencies
RUN apk add --no-cache libgcc libstdc++ libuv \
&& apk add --no-cache libssl1.0 || apk add --no-cache libssl1.1
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pg... | {
"content_hash": "c0fdfc516d0db3a06e145a4c6422f20e",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 698,
"avg_line_length": 65.2,
"alnum_prop": 0.7113156100886162,
"repo_name": "nghiant2710/base-images",
"id": "19e424536f12dc92fa851d69f3043a3496889a30",
"size": "2955",
... |
package org.ngscript.runtime.vo;
import org.ngscript.runtime.VirtualMachine;
/**
* @author wssccc
*/
public interface VmMethod {
void invoke(VirtualMachine vm, Object[] vars) throws Exception;
}
| {
"content_hash": "a91821af53c350db4eff2707962c47ad",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 67,
"avg_line_length": 15.846153846153847,
"alnum_prop": 0.7330097087378641,
"repo_name": "wssccc/ngscript",
"id": "b0a7e5b4954e579f1e80cbbcb0721efb735ceb96",
"size": "795"... |
package com.redmadrobot.chronos;
import com.redmadrobot.chronos.mock.gui.SimpleMockActivity;
import com.redmadrobot.chronos.mock.gui.SimpleMockFragment;
import com.redmadrobot.chronos.mock.operation.SimpleOperation;
import android.test.AndroidTestCase;
import android.test.suitebuilder.annotation.SmallTest;
import st... | {
"content_hash": "2e2f9fbcd406edaa55271be9b8f39c72",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 92,
"avg_line_length": 37.291666666666664,
"alnum_prop": 0.7162011173184357,
"repo_name": "RedMadRobot/Chronos",
"id": "87846dc836f33eaa93a6c56bd4670d4f032f1110",
"size": ... |
package com.mygdx.game.screens;
import com.badlogic.gdx.Application.ApplicationType;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.controllers.Controller;
import com.badlogic.gdx.controllers.ControllerAdapter;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.GL20;
import com.badlogic.g... | {
"content_hash": "e0fd03a4d9ccf708b97ab90a39020cbf",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 129,
"avg_line_length": 33.12264150943396,
"alnum_prop": 0.7359726573625748,
"repo_name": "Motsai/neblina-android",
"id": "11e15ba73725ccbf50ffe866deae43f1d0fcf7c8",
"size... |
package net.ontopia.topicmaps.rest.v1.query;
import java.io.IOException;
import java.io.OutputStream;
import net.ontopia.topicmaps.query.core.QueryResultIF;
import net.ontopia.topicmaps.query.utils.QueryResultIterator;
import net.ontopia.topicmaps.rest.converters.jackson.JacksonRepresentationImpl;
import net.ontopia... | {
"content_hash": "94c35762109dfba2ac66f8d101647018",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 106,
"avg_line_length": 32.75757575757576,
"alnum_prop": 0.7964847363552267,
"repo_name": "ontopia/ontopia",
"id": "7d7fc0ddf457e5a1c9f7595a61e92b3a737d76cf",
"size": "1734... |
package test.proto.custom_generator
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers._
class DummyGeneratorTest extends AnyFlatSpec with should.Matchers {
"dummy generator" should "generate a dummy object" in {
noException should be thrownBy Class.forName("custom_generator.dummy")
}
}... | {
"content_hash": "a038241d9b8aeb5a3e1a9162318e7c3f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 74,
"avg_line_length": 26.75,
"alnum_prop": 0.7912772585669782,
"repo_name": "bazelbuild/rules_scala",
"id": "ccaf6ce0e43f3da65f59185dea93d65042049d4f",
"size": "321",
"b... |
#import SQL snapins
#add-pssnapin sqlservercmdletsnapin100
#add-pssnapin sqlserverprovidersnapin100
import-module sqlps
import-module activedirectory
$m=Read-Host "Enter MAC address (No colons) "
$macs=$m -split (",")
foreach($mac in $macs)
{
#create new user account, add it to MACAccounts group, change the passw... | {
"content_hash": "6bf656aae16798833380071b0c50c6cb",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 201,
"avg_line_length": 38.023809523809526,
"alnum_prop": 0.7175954915466499,
"repo_name": "failbringerUD/powershell",
"id": "6b760b07192660675648cfa0e648387d5da38a21",
"si... |
export enum BuildStatus {
NEW = 'New',
RUNNING = 'Running',
PENDING = 'Pending',
COMPLETE = 'Complete',
CANCELLED = 'Cancelled',
ERROR = 'Error',
FAILED = 'Failed'
}
export class BuildStatusUtils {
public static buildEnded(status: string): boolean {
return status === BuildStat... | {
"content_hash": "82309258ac9a1db7ace2980a22fa995a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 55,
"avg_line_length": 26.25,
"alnum_prop": 0.6010582010582011,
"repo_name": "ldimaggi/fabric8-test",
"id": "4b46cc40f9837e6112564e53fb9a8af7d6856dc6",
"size": "945",
"bi... |
package org.apache.commons.pool2.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import org.apache.commons.pool2.BasePooledObjectFactory;
import org.apache... | {
"content_hash": "2d5237789c154aed3a48676d23ba7074",
"timestamp": "",
"source": "github",
"line_count": 283,
"max_line_length": 92,
"avg_line_length": 29.363957597173144,
"alnum_prop": 0.5570397111913358,
"repo_name": "kmiku7/apache-commons-pool-annotated",
"id": "889e2f6ff06816ff4dc78dabba8c46904fb6... |
SERIALIZE_MATERIALIZE=0
LOAD_STABLE=0
VM_PATH="/devel/VM"
IMAGE_PATH="/devel/fuel"
COG_VM="$VM_PATH/CogVM.app/Contents/MacOS/CogVM"
PHARO_VM="$VM_PATH/Pharo.app/Contents/MacOS/Pharo"
STACK_VM="$VM_PATH/Squeak 4.2.5beta1U.app/Contents/MacOS/Squeak VM Opt"
PREPARATION_SCRIPT="$IMAGE_PATH/fuel_fix_installer_for_squeak.st"... | {
"content_hash": "f23a9985059dd5eb279e9aea75ff017c",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 94,
"avg_line_length": 29.81679389312977,
"alnum_prop": 0.6684587813620072,
"repo_name": "theseion/Fuel",
"id": "8815d18c4ad9f2d884e106b4022e61e978a1b86d",
"size": "4142",... |
package com.cjj.mousepaint.fragment;
import android.animation.Animator;
import android.os.Bundle;
import android.os.Handler;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewPager;
import android.util.Log;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.... | {
"content_hash": "91771468388db7398d8de5db63280a1e",
"timestamp": "",
"source": "github",
"line_count": 282,
"max_line_length": 142,
"avg_line_length": 31.9822695035461,
"alnum_prop": 0.6531766271205234,
"repo_name": "android-cjj/MousePaint",
"id": "dfe9e846e2e2d982834a1e4100e63cc10c2ecad0",
"size"... |
import { registerVersion, _registerComponent, _getProvider, getApp } from 'https://www.gstatic.com/firebasejs/9.9.0-20220707215600/firebase-app.js';
/**
* The JS SDK supports 5 log levels and also allows a user the ability to
* silence the logs altogether.
*
* The order is a follows:
* DEBUG < VERBOSE < IN... | {
"content_hash": "62e39646d729260b41b9770e20af7322",
"timestamp": "",
"source": "github",
"line_count": 2911,
"max_line_length": 196,
"avg_line_length": 39.178976296805224,
"alnum_prop": 0.6559842174484876,
"repo_name": "cdnjs/cdnjs",
"id": "a9334c37e828e25a16610e30e96989bee4ba96b1",
"size": "11466... |
package com.aol.cyclops.matcher.builders;
import static com.aol.cyclops.matcher.builders.SeqUtils.seq;
import java.lang.invoke.MethodType;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Function;
import java.uti... | {
"content_hash": "2c8508db8c06c6a846cb57222e86b6bf",
"timestamp": "",
"source": "github",
"line_count": 673,
"max_line_length": 163,
"avg_line_length": 32.61961367013373,
"alnum_prop": 0.6952580512913953,
"repo_name": "sjfloat/cyclops",
"id": "e9859d1a4d70a965baff4a30bcdb399251452634",
"size": "219... |
import java.io.{File, PrintWriter}
import java.nio.charset.Charset
import java.nio.file.{Files, Paths}
import SchemaGenerators.CompiledSchema
import com.google.protobuf
import com.google.protobuf.{Message, TextFormat => GTextFormat}
import scalapb.{GeneratedMessage, JavaProtoSupport, TextFormat}
import org.scalatest.p... | {
"content_hash": "b4893ca6b1c6c5b5e1d379b2c9f73f0f",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 98,
"avg_line_length": 45.44615384615385,
"alnum_prop": 0.6274542992552471,
"repo_name": "scalapb/ScalaPB",
"id": "e1af3c8090f53cdec033f86ddee5374780e94137",
"size": "5908... |
require 'net/http'
require 'json'
@host = "localhost"
@port = ENV.fetch('PORT', '9292')
@name = "Simon #{(rand() * 1000).round}"
@debug = true
def log_response(where, res)
puts "--- #{where} ---"
puts "Response: #{res.code}"
puts "Token: #{res["X-Turn-Token"]}"
puts res.body
puts "--- -------- ---"
end
def... | {
"content_hash": "711f858a50dc5611b51102827222313f",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 85,
"avg_line_length": 27.306930693069308,
"alnum_prop": 0.6316171138506164,
"repo_name": "stringham/contests",
"id": "ea57d9df871e07bae2a6070e740eaff6ebd3036f",
"size": "... |
package com.dgrlucky.extend.config;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.PixelFormat;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import org.json.JS... | {
"content_hash": "03879abe529981dcfc0ec2a3756f05a5",
"timestamp": "",
"source": "github",
"line_count": 953,
"max_line_length": 99,
"avg_line_length": 29.426023084994753,
"alnum_prop": 0.49944727739542844,
"repo_name": "dgrlucky/Awesome",
"id": "e2c5d878e2a3af81f5fd0930feb79268d58dd219",
"size": "2... |
/*************************************************************************/
/* editor_export_platform.h */
/*************************************************************************/
/* This file is part of: */
/* ... | {
"content_hash": "b23b2b9afff172e986235c77a84776bb",
"timestamp": "",
"source": "github",
"line_count": 236,
"max_line_length": 278,
"avg_line_length": 45.21186440677966,
"alnum_prop": 0.6760074976569822,
"repo_name": "Shockblast/godot",
"id": "93bc54284f3307e932704c8faac6b4583a98e7e4",
"size": "10... |
<?php
namespace common\models;
use Yii;
use \common\models\base\AttributeValue as BaseAttributeValue;
/**
* This is the model class for table "attribute_value".
*/
class AttributeValue extends BaseAttributeValue
{
public $attribute_value;
/**
* @inheritdoc
*/
public function attributeLab... | {
"content_hash": "6624fd09f91e6e040fab89e8e7bb20dc",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 61,
"avg_line_length": 19.62162162162162,
"alnum_prop": 0.5840220385674931,
"repo_name": "devleaks/gip",
"id": "f7c32bd03f57e1d6c25421f6b02b25987ca5e663",
"size": "726",
... |
using System.Collections.Generic;
namespace BrightWire.TabularData.Helper
{
/// <summary>
/// Classifies data table column types
/// </summary>
static class ColumnTypeClassifier
{
static readonly HashSet<ColumnType> _continuousType = new HashSet<ColumnType> {
ColumnType.Date,
... | {
"content_hash": "495f44a450b72f57a9ffcf3c843e9c23",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 88,
"avg_line_length": 30,
"alnum_prop": 0.5837037037037037,
"repo_name": "jdermody/brightwire",
"id": "1bb827c8e7a0759c8caff10d8028626a34c9e6bc",
"size": "1352",
"binary... |
.class public Lcom/mediatek/bluetooth/avrcp/BluetoothAvrcpReceiver;
.super Landroid/content/BroadcastReceiver;
.source "BluetoothAvrcpReceiver.java"
# static fields
.field public static final TAG:Ljava/lang/String; = "AVRCP"
.field public static sAvrcpServer:Lcom/mediatek/bluetooth/avrcp/BluetoothAvrcpService;
# i... | {
"content_hash": "b3e10ad5867b81226651ada02ee0d72a",
"timestamp": "",
"source": "github",
"line_count": 409,
"max_line_length": 140,
"avg_line_length": 26.52567237163814,
"alnum_prop": 0.6941653608627524,
"repo_name": "baidurom/devices-g520",
"id": "ef69c86a41f17200db4875445d8508bac7c02427",
"size"... |
class EAsset < ActiveRecord::Base
validates :tag_id, presence: true, uniqueness: true, length: {is: 8}
def self.latest
EAsset.order(:updated_at).last
end
end
| {
"content_hash": "93c97fdc1e90f3acbcd55d8c27e18042",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 69,
"avg_line_length": 20.625,
"alnum_prop": 0.7212121212121212,
"repo_name": "chapmanderek/Asset_Manager",
"id": "816876ee9cca4f01e8c2e8e6de40277c9ae6e466",
"size": "165",
... |
package servicedefinition
import (
"github.com/zenoss/glog"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"path/filepath"
"strings"
)
func getServiceDefinition(path string) (serviceDef *ServiceDefinition, err error) {
// is path a dir
fi, err := os.Stat(path)
if err != nil {
return nil, err
}
if !fi.IsDir() ... | {
"content_hash": "219b4feb1bebe755388370b16e4e7c90",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 96,
"avg_line_length": 26.993288590604028,
"alnum_prop": 0.6489308801591248,
"repo_name": "spindance/serviced-precomp",
"id": "e886e52bd0227cb34d5cf421d41b6ac7725585c4",
"... |
<!DOCTYPE html>
<meta charset=utf-8>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>BarcodeDetector Polyfill Example</title>
</head>
<body>
<div id="container">
<input id="Take-Picture" type="file" accept="image/*;ca... | {
"content_hash": "c3019ce6b7f8b9b6a7e93d303130d4d9",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 91,
"avg_line_length": 34.580357142857146,
"alnum_prop": 0.4892847921507875,
"repo_name": "giladaya/barcode-detector-polyfill",
"id": "9abd3710929ebb676d5b352e4b5bb726c483d4... |
package org.springframework.aop.support;
import java.io.IOException;
import org.junit.Before;
import org.junit.Test;
import org.springframework.tests.sample.beans.TestBean;
import org.springframework.util.SerializationTestUtils;
import static org.junit.Assert.*;
/**
* @author Rod Johnson
* @author Dmitriy Kopy... | {
"content_hash": "e80a266c3eefa3f1faa53218bb96c52b",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 91,
"avg_line_length": 32.29,
"alnum_prop": 0.769278414369774,
"repo_name": "shivpun/spring-framework",
"id": "39cbed336eaf322027bafecf3a66afc1f77fae9e",
"size": "3849",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="../assets/img/icon.ico">
<link rel="stylesheet" href="https://use.fontawesome.co... | {
"content_hash": "add4f7443bd9cfd92f754746e1029e19",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 218,
"avg_line_length": 45.714285714285715,
"alnum_prop": 0.63515625,
"repo_name": "aaronconway7/Eden",
"id": "5fa8db5df0447922f630eac2eab4c28aa268ec7e",
"size": "1280",
... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
namespace Lighthouse.Web.Models
{
public class CreateAnnotationModel
{
[Required]
[Display(Name = "Panel")]
... | {
"content_hash": "1bc6cd71580199a4e7a8d2cc25bc53fc",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 55,
"avg_line_length": 25.434782608695652,
"alnum_prop": 0.6495726495726496,
"repo_name": "wadeschulz/lighthouse",
"id": "4ea80a5340c45ee1dd15e54d7184766391be743a",
"size":... |
Configuration:
=================
Your configuration drives the usage of link. You need to create your
configuration in your home directory (~/.link/link.config)::
mkdir ~/.link
vi ~/.link/link.config
Everything that is in your configuration can be treated like an object which
will be explained later. For n... | {
"content_hash": "9498efe9eb8e87962f963cb0a023b4ee",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 81,
"avg_line_length": 25.97222222222222,
"alnum_prop": 0.47593582887700536,
"repo_name": "dhrod5/link",
"id": "8718e7927740c5900a6b72afbb043f76378587fd",
"size": "1870",
... |
package com.example.yuyu.slideactivity.demo;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View... | {
"content_hash": "dc673d298bb8cef174f4f8ac4435c705",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 115,
"avg_line_length": 27.67361111111111,
"alnum_prop": 0.6012547051442911,
"repo_name": "AriaLyy/BlogDemo",
"id": "f2006536454fffd1fe7292fbcde565484f1290b1",
"size": "41... |
/**
* Created by mr470 on 04.04.2016.
*/
import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';
import { Link } from 'react-router'
import styles from './menu.scss';
class MenuItem extends Component{
static PropTypes = {
id: PropTypes.number.isRequired,
name:... | {
"content_hash": "c6273bb8df82259308d06c35dfd1e231",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 148,
"avg_line_length": 27.677419354838708,
"alnum_prop": 0.6282051282051282,
"repo_name": "mr47/react-redux-kit",
"id": "77b5400c433213224ec99920d908f7d58b01963c",
"size":... |
namespace Redola.Rpc
{
public class MethodArgumentEncoder : IMethodArgumentEncoder
{
private IObjectEncoder _encoder;
public MethodArgumentEncoder(IObjectEncoder encoder)
{
_encoder = encoder;
}
public byte[] Encode(object argument)
{
re... | {
"content_hash": "ad907349f4d021233fca25bdf21ded15",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 63,
"avg_line_length": 21.863636363636363,
"alnum_prop": 0.5654885654885655,
"repo_name": "gaochundong/Redola",
"id": "b1f26d26932963e52134253eedbdebc5e75296df",
"size": "4... |
package com.amazonaws.services.identitymanagement.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceRequest;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UntagSAMLProvider" target="_top">AWS API
* Documentation</a>
*/... | {
"content_hash": "7a5579a93665d94a609e3c0c141fee9a",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 120,
"avg_line_length": 37.97083333333333,
"alnum_prop": 0.6288818171842423,
"repo_name": "aws/aws-sdk-java",
"id": "d5b82eab24622048daf5052075034017dac2d546",
"size": "96... |
<?php
// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
empty($_POST['phone']) ||
empty($_POST['message']) ||
!filter_var($_POST['email'],FILTER_VALIDATE_EMAIL))
{
echo "No arguments Provided!";
return false;
}
$name = $_POST['name'];
$email_address = $_POST['e... | {
"content_hash": "0098696429ec889c6ec2637ea966f3f9",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 187,
"avg_line_length": 41.76923076923077,
"alnum_prop": 0.6721915285451197,
"repo_name": "mcshiz/portfolio-v2",
"id": "5cd0a2f107d07edb40034eeaacc41150f9b3990f",
"size": "... |
&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}
# load up the global.json so we can find the DNX version
$globalJson = Get-Content -Path $PSScriptRoot\global.json -Raw -ErrorAction Ignore | ConvertFrom-Json -ErrorAction Ignore
if($g... | {
"content_hash": "554dd3813dd32a6ea9de1dde4eea7d64",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 133,
"avg_line_length": 42.44,
"alnum_prop": 0.7558906691800189,
"repo_name": "msdevno/ChristmasDemo",
"id": "0393feb4175d7f96df1a12e992d7831ba2b26ea5",
"size": "1097",
"... |
//
// AdstirConfig.h
// AdstirAds
//
// Copyright (c) 2015 UNITED, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AdstirConfig : NSObject
/**
Turn SSL mode on / off
SSLモードの有効/無効を切り替えます
@param enabled
*/
+ (void)setSSLModeEnabled:(BOOL)enabled;
/**
Get SSL mode status
デバッグモードの状態を... | {
"content_hash": "03d2ca1586d17b1a5a30dd38877e8063",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 56,
"avg_line_length": 13.875,
"alnum_prop": 0.6954954954954955,
"repo_name": "Fig-leaves/curation",
"id": "3078cdf7addd6de1b4edf8a9559260663a3d279b",
"size": "687",
"bin... |
package de.fu_berlin.agdb.importer.payload;
import org.json.JSONObject;
import java.sql.Date;
public class LocationWeatherData {
private LocationMetaData locationMetaData;
private Long timestamp;
private DataType dataType;
private Date date;
private Double windChill;
private Double windDirection;
private D... | {
"content_hash": "eb04fadd78d68adb47fa129deef6e4fa",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 99,
"avg_line_length": 24.4609375,
"alnum_prop": 0.7801022037687639,
"repo_name": "CEPFU/importer",
"id": "e092d2aa067185eeb018f4e4593844b57c0a7450",
"size": "6262",
"bi... |
package executor
import (
"k8s.io/kubernetes/contrib/mesos/pkg/node"
"k8s.io/kubernetes/pkg/api"
clientset "k8s.io/kubernetes/pkg/client/clientset_generated/release_1_2"
)
type kubeAPI interface {
killPod(ns, name string) error
}
type nodeAPI interface {
createOrUpdate(hostname string, slaveAttrLabels, annota... | {
"content_hash": "5f5b9d4f65685b9a26bbf9a505919610",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 128,
"avg_line_length": 29.870967741935484,
"alnum_prop": 0.7775377969762419,
"repo_name": "dcbw/kubernetes",
"id": "ae98fd6f7f5c93d7844f7bd832f5671ee05ae657",
"size": "151... |
This is the base image for all docker-in-docker images.
The difference between this and the official `docker` images are that this will choose the best
filesystem automatically. The official ones use `vfs` (bad) by default unless you pass in a flag.
It will also attempt to mirror the default external interface's MTU ... | {
"content_hash": "7a49d43e1eb811fabae4ada7a71433ff",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 109,
"avg_line_length": 37.611111111111114,
"alnum_prop": 0.7710487444608567,
"repo_name": "fnproject/fn",
"id": "94f6e40c9e9a697008eff73c0996be58d693e126",
"size": "708",
... |
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.camunda.bpm.engine.impl.history.event.HistoricExternalTaskLogEntity">
<!-- INSERT -->
<insert id="insertHistoricExternalTaskLog" parameterTyp... | {
"content_hash": "950e7ca4a3c0fb854121c6fe5b7711c1",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 176,
"avg_line_length": 38.525,
"alnum_prop": 0.627839065541856,
"repo_name": "AlexMinsk/camunda-bpm-platform",
"id": "b712ca6d881a2d8fd0cb2926152c4fdbaf3e3f92",
"size": "... |
var app = (function(app) {
app.renderable = function() {
};
app.renderable.prototype.render = function(ctx) {
throw "'renderable.render' is a pure virtual function, override it in subclass."
};
return app;
})(app || {}); | {
"content_hash": "41c34570e2baa63a00500c7abb259ced",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 88,
"avg_line_length": 25,
"alnum_prop": 0.608,
"repo_name": "wmatex/hexagonmines",
"id": "363052ef75276367071530aad7d76b8939e29239",
"size": "250",
"binary": false,
"c... |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Wymuszone przeglądanie</title>
</head>
<body bgcolor="#ffffff">
<h1>Wymuszone przeglądanie</h1>
<p>
ZAP allows you to try to discover directories and files using forced br... | {
"content_hash": "45b234df684c380730537578ce7d5d5e",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 91,
"avg_line_length": 30.942307692307693,
"alnum_prop": 0.6631448104412678,
"repo_name": "zapbot/zap-extensions",
"id": "56c2c369cccb7d7cc52ed80a80f30e30783a62dc",
"size":... |
import os
import logging
from hashlib import md5
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import (scoped_session, sessionmaker, relationship,
joinedload)
from zope.sqlalchemy import ZopeTransactionExtension
from sqlalchemy.ext.hybrid import Comparator, hyb... | {
"content_hash": "957facd99367e5d77e0af57e905118a7",
"timestamp": "",
"source": "github",
"line_count": 183,
"max_line_length": 81,
"avg_line_length": 34.513661202185794,
"alnum_prop": 0.6152628245725142,
"repo_name": "rob-b/belt",
"id": "de7bc4012897799f1cdec7976c93ed1c4230cabf",
"size": "6316",
... |
'''
Adapted from https://github.com/tornadomeet/ResNet/blob/master/symbol_resnet.py
Original author Wei Wu
Implemented the following paper:
Saining Xie, Ross Girshick, Piotr Dollar, Zhuowen Tu, Kaiming He. "Aggregated Residual Transformations for Deep Neural Network"
'''
import mxnet as mx
import numpy as np
def res... | {
"content_hash": "bd6dff15bd1382964d58ab861e94ed30",
"timestamp": "",
"source": "github",
"line_count": 195,
"max_line_length": 159,
"avg_line_length": 46.784615384615385,
"alnum_prop": 0.5774416310424203,
"repo_name": "gu-yan/mlAlgorithms",
"id": "ecf87f1f61a007949de1b34dca497d2d8a9d8ae8",
"size":... |
import RcModule from 'ringcentral-integration/lib/RcModule';
import { Module } from 'ringcentral-integration/lib/di';
<% if (dependencies.length > 0) { %>
import getReducer from './getReducer';
import actionTypes from './actionTypes';
<% } %>
@Module({
deps: [
<%_ dependencies.forEach(function(dependence) { -%>... | {
"content_hash": "07b2222fb3569aa39de65a8ca2c40204",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 141,
"avg_line_length": 26.313253012048193,
"alnum_prop": 0.5425824175824175,
"repo_name": "u9520107/ringcentral-js-widget",
"id": "0c0f81bfce4399bef9d035ce16d5c1e804cc40a6",... |
@interface PodsDummy_Pods_bsbdj : NSObject
@end
@implementation PodsDummy_Pods_bsbdj
@end
| {
"content_hash": "7507bc7e3e5efbbce0d3a5593915c108",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 42,
"avg_line_length": 22.5,
"alnum_prop": 0.8111111111111111,
"repo_name": "watayouxiang/bsbdj",
"id": "d56b143c49abfa9c3158529f0e7cc8a9187999cd",
"size": "124",
"binary"... |
namespace ml {
namespace map_impl {
namespace test {
extern void run_getall_tests();
} // test
} // map_impl
} // ml
#endif // __ML_MAP_IMPL_TEST_GETALL_H__
| {
"content_hash": "09d86870bda1b3c3be8f4528c1577d98",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 39,
"avg_line_length": 14.545454545454545,
"alnum_prop": 0.6375,
"repo_name": "sugawaray/filemanager",
"id": "2f96d636b6cf1d5f0d323a116ab30f22b78b4494",
"size": "237",
"b... |
/*
* @lc app=leetcode id=33 lang=cpp
*
* [33] Search in Rotated Sorted Array
*
* https://leetcode.com/problems/search-in-rotated-sorted-array/description/
*
* algorithms
* Medium (33.15%)
* Total Accepted: 498.4K
* Total Submissions: 1.5M
* Testcase Example: '[4,5,6,7,0,1,2]\n0'
*
* Suppose an array so... | {
"content_hash": "c51e44d8f5fe682fde325e9902f90c47",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 79,
"avg_line_length": 26.759036144578314,
"alnum_prop": 0.5371454299864926,
"repo_name": "vermouth1992/Leetcode",
"id": "a0e5a0a3f51e9e83ecebe3b1f425ecfe2816d48b",
"size":... |
@org.checkerframework.framework.qual.DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.lanternpowered.server.item.recipe.crafting;
| {
"content_hash": "f6a8079dc61e038fd38840d9ef12cf99",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 111,
"avg_line_length": 56.333333333333336,
"alnum_prop": 0.863905325443787,
"repo_name": "LanternPowered/LanternServer",
"id": "3a595a7d6ef3544fae93b8c85d08c5b08588e03b",
"... |
package com.isjfk.android.rac.activity;
import java.util.ArrayList;
import java.util.List;
import android.app.ListActivity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.ContextMenu;
import android.view.ContextMenu.ContextMenuInfo;
import android.view.La... | {
"content_hash": "17fc303286398581d468e24b1fcc1419",
"timestamp": "",
"source": "github",
"line_count": 398,
"max_line_length": 141,
"avg_line_length": 34.87185929648241,
"alnum_prop": 0.6565314503926796,
"repo_name": "isjfk/poweralarm",
"id": "1996380f4d3101d7edf674fa89fa23db62ac3f21",
"size": "14... |
#ifndef TUDAT_EMPIRICALACCELERATIONPARTIAL_H
#define TUDAT_EMPIRICALACCELERATIONPARTIAL_H
#include <functional>
#include <boost/lambda/lambda.hpp>
#include <memory>
#include "tudat/astro/orbit_determination/acceleration_partials/accelerationPartial.h"
#include "tudat/astro/orbit_determination/estimatable_parameters... | {
"content_hash": "bb01837f8ed06c5d1195405151c9092f",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 132,
"avg_line_length": 54.120535714285715,
"alnum_prop": 0.7211911243091644,
"repo_name": "Tudat/tudat",
"id": "5d6bdbe54508b0f21f59f3c0c3659cb2c01aebca",
"size": "12552"... |
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Xml;
using Framework.Utility;
namespace Doozestan.Common.Util
{
public static class AmberUtil
{
public static string Beautify(this XmlDocument doc)
{
StringBuilder sb = new StringBu... | {
"content_hash": "2e88b42d03b33fdb29a49003c9794f90",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 117,
"avg_line_length": 31.31451612903226,
"alnum_prop": 0.47437548287406645,
"repo_name": "MostafaEsmaeili/DOOOZestan",
"id": "093cadb9d69fc6c9f037c0c878c8bb2dabb86d54",
... |
package com.aspose.slides.examples.charts;
import com.aspose.slides.*;
import com.aspose.slides.examples.RunExamples;
public class SetCategoryAxisLabelDistance
{
public static void main(String[] args)
{
//ExStart:SetCategoryAxisLabelDistance
// The path to the documents directory.
Str... | {
"content_hash": "3062fdc081344e064004dfc1ae1b97cf",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 98,
"avg_line_length": 31.11111111111111,
"alnum_prop": 0.6330357142857143,
"repo_name": "asposeslides/Aspose_Slides_Java",
"id": "4e0e336ad4f48a18e015f752f05b992abe02a78f",
... |
package com.intellij.openapi.actionSystem.ex;
import com.intellij.icons.AllIcons;
import com.intellij.ide.DataManager;
import com.intellij.ide.HelpTooltip;
import com.intellij.openapi.actionSystem.*;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.application.ModalityState;
impo... | {
"content_hash": "74669d0f342227ac1443fda23c3980bc",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 136,
"avg_line_length": 33.02571428571429,
"alnum_prop": 0.678259364996972,
"repo_name": "jk1/intellij-community",
"id": "fc251ce311fa341d464682d8dfe9f5fcbe486b08",
"size"... |
<?xml version="1.0" encoding="utf-8" ?>
<lom:lom xmlns="https://ocw.mit.edu/xmlns/LOM"
xmlns:lom="https://ocw.mit.edu/xmlns/LOM"
xmlns:ocwlom="https://ocw.mit.edu/xmlns/ocwLOM"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://ocw.mit.edu/xmlns/LOM htt... | {
"content_hash": "bf09bc6358dcd62cdf55685ab1c0e261",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 830,
"avg_line_length": 54.13953488372093,
"alnum_prop": 0.5730240549828178,
"repo_name": "miguelraz/PathToPerformance",
"id": "9bfa765676a1c43ac460389f5e5f5cfd546e4b7e",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Coq bench</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet... | {
"content_hash": "983f0649c197b1accd733abd8930fbae",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 240,
"avg_line_length": 41.74698795180723,
"alnum_prop": 0.5093795093795094,
"repo_name": "coq-bench/coq-bench.github.io-old",
"id": "3b91b2e76342c3d7eb8593419862a6044ea8180... |
//
// INameRecognizer.h
// CardRecognizer
//
// Created by Vladimir Tchernitski on 08/02/16.
// Copyright © 2016 Vladimir Tchernitski. All rights reserved.
//
#ifndef INameRecognizer_h
#define INameRecognizer_h
#include "IBaseObj.h"
#include "Enums.h"
class INeuralNetworkResultList;
class IRecognitionCoreDelegat... | {
"content_hash": "7b6483fe0930b73403a0f3fcf50c840f",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 135,
"avg_line_length": 26.25,
"alnum_prop": 0.726984126984127,
"repo_name": "zalexej/PayCards_iOS_Source",
"id": "c3277a1cfba278a066a2d45c66b012e8ece4b79f",
"size": "1261"... |
- Use JDBC connection pooling
By default the pool has a size of 10 and a timeout of 30s to acquire a connection.
These settings can be changed with the following configuration properties:
- `org.osiam.resource-server.db.maximum-pool-size`
- `org.osiam.resource-server.db.connection-timeout-ms`
- Popul... | {
"content_hash": "5ca52db1df204b1f7b7aeab62ad17536",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 150,
"avg_line_length": 34.04117647058823,
"alnum_prop": 0.7411439433212372,
"repo_name": "osiam/resource-server",
"id": "45f0d81427cfb4f1dc6fc31f59b538cc4d4b54d0",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="1px"
... | {
"content_hash": "0c5f20e4137da2be2f00fad74fe644b1",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 72,
"avg_line_length": 38.06716417910448,
"alnum_prop": 0.5347970986081161,
"repo_name": "456838/usefulCode",
"id": "7d4f46b5a004c086a46e229bfb971d31a4c1f924",
"size": "51... |
/**
* $Id: ActionKeysMappings.java 2 2005-06-30 12:47:28Z yaric $
*/
package ng.games.bombman.screens;
import javax.microedition.lcdui.Canvas;
/**
* Nokia 3650 specific.
*
* Holds constants to define action keys mappings.
* <p>Company: NewGround</p>
* @author Yaroslav Omelyanenko
* @version 1.0
... | {
"content_hash": "14157fe6226b4741b01743de1fc63e1f",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 62,
"avg_line_length": 27.53846153846154,
"alnum_prop": 0.6941340782122905,
"repo_name": "yaricom/bombman-RL-AI-J2ME",
"id": "253bb7062aa94cadb473045987c6c7313def1d26",
"si... |
<!DOCTYPE html>
<html lang="zh">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-wid... | {
"content_hash": "047bc8a153f8fd06fc86b2b0ba847b41",
"timestamp": "",
"source": "github",
"line_count": 138,
"max_line_length": 163,
"avg_line_length": 38.54347826086956,
"alnum_prop": 0.6410979507426208,
"repo_name": "shajiquan/shajiquan.github.io",
"id": "7cb2ee611894c88d43a8bf609297c4640ff15e9b",
... |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
<helpset version="2.0" xml:lang="sq-AL">
<title>TLS Debug | ZAP Extension</title>
<maps>
<homeID>top</homeID>
<mapref l... | {
"content_hash": "a89b7d4b75cb5915a19996ce664412e3",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 146,
"avg_line_length": 24.897435897435898,
"alnum_prop": 0.6374871266735325,
"repo_name": "zapbot/zap-extensions",
"id": "ffad774dfff3373464d5a6c5a3599306c72422c5",
"size"... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello">Hello World, Acceleration!</string>
<string name="app_name">Acceleration</string>
<string name="Button01_str">Press! </string>
</resources>
| {
"content_hash": "f50e886d2b2b8d98df86bc3648f2b048",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 60,
"avg_line_length": 37.333333333333336,
"alnum_prop": 0.6785714285714286,
"repo_name": "SvenKratz/three-dollar-gesture-recognizer",
"id": "0b4e58a8e0a998ad680a9ee7afc49293d... |
@interface TGConversationAddMemberRequestActor ()
@property (nonatomic) int uid;
@end
@implementation TGConversationAddMemberRequestActor
@synthesize uid = _uid;
+ (NSString *)genericPath
{
return @"/tg/conversation/@/addMember/@";
}
- (void)execute:(NSDictionary *)options
{
NSNumber *nConversationId = [o... | {
"content_hash": "4fd8bae481e247c99dac00ec8d83530c",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 243,
"avg_line_length": 43.254901960784316,
"alnum_prop": 0.6316863100634633,
"repo_name": "DZamataev/TelegramAppKit",
"id": "c450b3af73a32a2f2ec09d2dc0fdf09dbfecc3ff",
"s... |
<?php
/**
* ContactsTest
*
* PHP version 5
*
* @category Class
* @package SidneyAllen\XeroPHP
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
/**
* Accounting API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)... | {
"content_hash": "c87eb6104beb0e157ae207941b262b22",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 109,
"avg_line_length": 18.847058823529412,
"alnum_prop": 0.6260923845193508,
"repo_name": "unaio/una",
"id": "7a24de8a8ab84a5ad30f606a5ad385b848793a1f",
"size": "1602",
... |
<script src="js/menuSetup.js"></script>
<script src="js/dynamicPopup.js"></script>
| {
"content_hash": "8928e9f061ab59fe9567761186daeafd",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 50,
"avg_line_length": 49.5,
"alnum_prop": 0.5959595959595959,
"repo_name": "pontual/kitweb",
"id": "a92491e43da3ba9a0bbcb35e3c958013a26ca0aa",
"size": "99",
"binary": fal... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "b226919960fda6de2c95a3822cf96a51",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "22d5d6d089227ebbf4f7426e493d72b4b9575d5f",
"size": "192... |
jest.autoMockOff(); // 关闭自动模拟数据
describe('collection utilities module', function() {
var CollectionUtils = require('../collectionutils');
var collectionTweetsMock = {
collectionTweet7: {},
collectionTweet8: {},
collectionTweet9: {}
};
it('return a number of tweets in collection', function() {
var actualNumb... | {
"content_hash": "6ae1d0da522b1b581bc4f3400cf9a10a",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 109,
"avg_line_length": 41.15,
"alnum_prop": 0.778857837181045,
"repo_name": "xincyang/snapterest-react",
"id": "9c2285b828b30e881f3941bb39602d4155f097f2",
"size": "839",
... |
package com.blackducksoftware.integration.jira.web.model;
import java.io.Serializable;
import java.util.Arrays;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import org.a... | {
"content_hash": "035fcd8fb8a96cdd12bd11329f903915",
"timestamp": "",
"source": "github",
"line_count": 356,
"max_line_length": 121,
"avg_line_length": 28.314606741573034,
"alnum_prop": 0.6743055555555556,
"repo_name": "blackducksoftware/hub-jira",
"id": "1879f0aa784d5e86a4937b3cd82e7a8ba55f9153",
... |
<!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": "edc4ff3b4946f8e46f204e7ccec31878",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 651,
"avg_line_length": 62.4070796460177,
"alnum_prop": 0.6799489506522972,
"repo_name": "v8-dox/v8-dox.github.io",
"id": "99c6615c5d6d888931c2c3d422b0eb49d457610e",
"size... |
package com.hazelcast.durableexecutor;
import com.hazelcast.config.SplitBrainProtectionConfig;
import com.hazelcast.core.DistributedObject;
import javax.annotation.Nonnull;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.conc... | {
"content_hash": "91c0243fa62605eea4056a6b0133d3e9",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 117,
"avg_line_length": 39.40875912408759,
"alnum_prop": 0.6636414150768661,
"repo_name": "emre-aydin/hazelcast",
"id": "7fd02a3496cffb0a461353e022f1e465367e1fa9",
"size":... |
'''
Cloudforms.TagManager
~~~~~~~~~~~~~~~~~~~~~~
Tag Manager
:license: MIT, see LICENSE for more details.
'''
from Cloudforms.utils import (
update_params,
normalize_object,
normalize_collection
)
class ServiceTagManager(object):
'''Manages Tags for Services.
:param Cloudforms.AP... | {
"content_hash": "f13feb93b4b4dcc16461aaca9bdddb1e",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 77,
"avg_line_length": 31.201834862385322,
"alnum_prop": 0.5642458100558659,
"repo_name": "01000101/python-cloudforms",
"id": "f9b96bb979b540fc57f4e517c4bcb0ecaef4d856",
"... |
from os.path import join
from django.db import models, connection
from django.utils.text import slugify
class BaseModel(models.Model):
"""
Todos los modelos deben heredar de esta clase.
"""
class Meta:
abstract = True
creado_el = models.DateTimeField(verbose_name=u"Fecha de creación",
... | {
"content_hash": "ed2d6af3d468cb1ae2c0928770d45c14",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 79,
"avg_line_length": 33.095238095238095,
"alnum_prop": 0.6913669064748201,
"repo_name": "mava-ar/sgk",
"id": "5beef2859543f4d2065172b2109c8cfc72a8f651",
"size": "1392",
... |
GOPKGNAME = github.com/yahoo/athenz/libs/go/ztsroletoken
PKG_DATE=$(shell date '+%Y-%m-%dT%H:%M:%S')
BINARY=ztsroletoken
FMT_LOG=/tmp/ztsroletoken-fmt.log
IMPORTS_LOG=/tmp/ztsroletoken-imports.log
# check to see if go utility is installed
GO := $(shell command -v go 2> /dev/null)
export GOPATH=$(PWD)
ifdef GO
# we n... | {
"content_hash": "36404cef892e8b6e75a3684473470487",
"timestamp": "",
"source": "github",
"line_count": 76,
"max_line_length": 104,
"avg_line_length": 30.736842105263158,
"alnum_prop": 0.6875,
"repo_name": "tatyano/athenz",
"id": "ed4d74b8c6890aa9f03dfd8e063d848dab10dfdf",
"size": "2568",
"binary... |
namespace Alamut.Data.Entity
{
/// <summary>
/// provides language based contract for Entity
/// </summary>
public interface IMultiLanguageEnity
{
string Lang { get; set; }
}
}
| {
"content_hash": "78d96e2be1e49b73cf416d2ed36cb198",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 51,
"avg_line_length": 21,
"alnum_prop": 0.6047619047619047,
"repo_name": "SorenZ/Alamut",
"id": "351370bdd03eef7fcaee14c49a1c51d4d275beeb",
"size": "212",
"binary": fals... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "580f185353d192183b4e87f16282d3ce",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "b5bc1d27cfaadab0002fc8e1b475a374b4cf95f0",
"size": "191... |
@interface OADottedLine : NSView
{
}
@end
| {
"content_hash": "152aa8ccfcf228477128cd2e0def5678",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 32,
"avg_line_length": 8.6,
"alnum_prop": 0.6976744186046512,
"repo_name": "thekarladam/fluidium",
"id": "4f6598cb70188831d112cf20442b977a674b897d",
"size": "405",
"binary... |
using logging::LOG_WARNING;
using std::vector;
using testing::HasSubstr;
using testing::Message;
using testing::_;
namespace net {
namespace test {
class RttStatsTest : public ::testing::Test {
protected:
RttStats rtt_stats_;
};
TEST_F(RttStatsTest, DefaultsBeforeUpdate) {
EXPECT_LT(0u, rtt_stats_.initial_rtt_u... | {
"content_hash": "366035f51aaf13b98195085fdf8b7404",
"timestamp": "",
"source": "github",
"line_count": 188,
"max_line_length": 80,
"avg_line_length": 47.84574468085106,
"alnum_prop": 0.6808226792662591,
"repo_name": "danakj/chromium",
"id": "6848e9b8f31b2f4b8c2b0629272a9e34c52ce516",
"size": "9429... |
@interface LiveVC : UIViewController
@end
| {
"content_hash": "518951a435a3643915cb548bd3be0c0f",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 36,
"avg_line_length": 14.333333333333334,
"alnum_prop": 0.7906976744186046,
"repo_name": "qinting513/Learning-QT",
"id": "de815b7e1080050843f63a8f8662377f349de920",
"size":... |
<!DOCTYPE html>
<html xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="PortabilityAnalysis0">.NET Portability Report</title>
<style>
... | {
"content_hash": "8797905eeec0166d68b7178efe6656cc",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 562,
"avg_line_length": 40.204166666666666,
"alnum_prop": 0.573427298165613,
"repo_name": "kuhlenh/port-to-core",
"id": "07d5724905a9c08a39983cf8211bac3f3d1223e7",
"size":... |
module ProgrammesHelper
def list_item_programme_attribute(project)
html = content_tag :p, class: 'list_item_attribute' do
label = content_tag :b do
t('programme')
end
label + ': ' + programme_link(project)
end
html.html_safe
end
def programme_administrators_input_box(program... | {
"content_hash": "78509225f6a4879bfadbb1c8f652f5d2",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 170,
"avg_line_length": 35.970588235294116,
"alnum_prop": 0.6868356500408831,
"repo_name": "HITS-SDBV/seek",
"id": "91920ad89186fffda331ac6db92e17dc56d7e486",
"size": "1223... |
package cz.krtinec.telka.provider;
import gnu.java.nio.charset.Windows1250;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io... | {
"content_hash": "871c0ef22fd43fefaff986b824837906",
"timestamp": "",
"source": "github",
"line_count": 189,
"max_line_length": 112,
"avg_line_length": 31.8994708994709,
"alnum_prop": 0.7230054735445347,
"repo_name": "krtek/telka",
"id": "ff1f61535414015283162d1059b5417be15a375b",
"size": "6029",
... |
<?php
namespace Aztech\Rpc;
use Aztech\Net\Reader;
interface RawPduParser
{
/**
*
* @param Reader $reader
* @return RawProtocolDataUnit
*/
public function parse(Reader $reader);
}
| {
"content_hash": "e00f89a678414c645533924bafd90312",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 42,
"avg_line_length": 14.066666666666666,
"alnum_prop": 0.6303317535545023,
"repo_name": "aztech-labs/msmq",
"id": "625b2863327a3d611ab715e09075e599a8fec2f0",
"size": "211... |
package condition
import (
"reflect"
"time"
"github.com/rancher/wrangler/pkg/generic"
"github.com/sirupsen/logrus"
)
type Cond string
func (c Cond) GetStatus(obj interface{}) string {
return getStatus(obj, string(c))
}
func (c Cond) SetError(obj interface{}, reason string, err error) {
if err == nil || err =... | {
"content_hash": "9b2929d3a1d8c91d01482f7120daa940",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 86,
"avg_line_length": 22.44573643410853,
"alnum_prop": 0.6732861336556726,
"repo_name": "rancher/vm",
"id": "906a4213eba6173a7e31f659dc3b084fe76cb74c",
"size": "5791",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="pl">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.google.code.play2.provider.play22.Play22CoffeescriptC... | {
"content_hash": "90ab7a1a35c282604c42b035a4401663",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 191,
"avg_line_length": 39.544,
"alnum_prop": 0.6204733967226381,
"repo_name": "play2-maven-plugin/play2-maven-plugin.github.io",
"id": "b50f5a4846c3be240954c397f9887ebe5e8a... |
<?php
namespace WildPHP\Core\Commands\Parameters;
use PHPUnit\Framework\TestCase;
use WildPHP\Core\Entities\IrcChannel;
use WildPHP\Core\Entities\IrcUser;
use WildPHP\Core\Storage\IrcChannelStorage;
use WildPHP\Core\Storage\IrcUserStorage;
use WildPHP\Core\Storage\Providers\MemoryStorageProvider;
class UserParamete... | {
"content_hash": "46022382e53973dafae4a536382c6cc1",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 83,
"avg_line_length": 23.612244897959183,
"alnum_prop": 0.6274848746758859,
"repo_name": "WildPHP/Wild-IRC-Bot",
"id": "c339e248ac8495b1e9a23eceef6175e31697b500",
"size": ... |
function newData = fretSelector(data, settings)
% Selects of traces from a data file that are likely to show
% anti-correlated fluorescence resonace energy transfer (FRET) behavior.
%
% Tested in Matlab R2012a
%
% INPUTS:
%
% -data: Array. where each row is an observation frame and each column is fluorescence intensity... | {
"content_hash": "e3e5e8d1d7c2757048d24cf3101ceeda",
"timestamp": "",
"source": "github",
"line_count": 148,
"max_line_length": 133,
"avg_line_length": 37.729729729729726,
"alnum_prop": 0.7376432664756447,
"repo_name": "trnoriega/Matlab-Single-Molecule",
"id": "0ce75bd62055050013df143a349b0f95d8c8311... |
var result = false;
var elem = document.createElement('canvas');
if (elem.getContext && elem.getContext('2d')) {
// was able or not to get WebP representation
result = /^data:image\/webp/.test(elem.toDataURL('image/webp'));
}
module.exports = () => {
return result;
}; | {
"content_hash": "1f2b07e068d48bf2f2e0cae31d3929ce",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 66,
"avg_line_length": 23.083333333333332,
"alnum_prop": 0.6678700361010831,
"repo_name": "nolanlawson/pokedex.org",
"id": "985f6509dcfd451fa5c478ee5035b4f9de3593f6",
"size... |
require 'test_helper'
class CharacterTypeTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
| {
"content_hash": "979e67761e381bf3ac3284dae266a7f7",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 49,
"avg_line_length": 18.142857142857142,
"alnum_prop": 0.7086614173228346,
"repo_name": "dimitardanailov/hobbit-hackconf-2015",
"id": "f6826277895e7c5754894bcde90e3731f3cb8b... |
// Low-level API for building off-memory data structures with riegeli.
//
// `SequencedChunkWriter` writes chunks of records to an abstracted destination.
// This class abstract out the generic chunk writing logic from concrete logic
// that builds up the data structures for future access. This class is
// thread-s... | {
"content_hash": "b43ea38480fe95df808678f351f310c0",
"timestamp": "",
"source": "github",
"line_count": 268,
"max_line_length": 80,
"avg_line_length": 39.235074626865675,
"alnum_prop": 0.6912981455064194,
"repo_name": "google/array_record",
"id": "cb8374f2c4ea48062f3feabf1c52bb074702ce41",
"size": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.