text stringlengths 2 1.04M | meta dict |
|---|---|
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :
typeof define === 'function' && define.amd ? define(['jquery'], factory) :
(global = global || self, factory(global.jQuery));
}(this, (function ($) { 'use strict';
$ = $ && Object.prototype.has... | {
"content_hash": "2b46c8ff84c02fcd18bd62362fe8f4ec",
"timestamp": "",
"source": "github",
"line_count": 777,
"max_line_length": 246,
"avg_line_length": 33.12741312741313,
"alnum_prop": 0.6656177156177157,
"repo_name": "cdnjs/cdnjs",
"id": "f4712e5a295170dae4697928facf70440483d744",
"size": "25835",... |
require 'mkmf'
raise unless have_library('rsync')
have_header('librsync.h')
create_makefile('lib_ruby_diff/lib_ruby_diff')
| {
"content_hash": "ddf0f801a4b455bfe297ddf83b6a5f89",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 46,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.744,
"repo_name": "daveallie/lib_ruby_diff",
"id": "b1dba05afcbb075df4fe8d319378d29da2f0721e",
"size": "125",
"b... |
/**
* LineItemCreativeAssociationOperationErrorReason.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.google.api.ads.dfp.v201302;
public class LineItemCreativeAssociationOperationErrorReason implements java.io.Serializable {
... | {
"content_hash": "10a5a0a3a4470ecaeeacfeb400b02984",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 194,
"avg_line_length": 50.17567567567568,
"alnum_prop": 0.7374091031510908,
"repo_name": "google-code-export/google-api-dfp-java",
"id": "9e7effffb67737b14f089159b22def7d9f9... |
using System;
using MindTouch.Tasking;
namespace MindTouch.Threading {
/// <summary>
/// Provides extension methods to <see cref="IDispatchQueue"/> to simplify enqueuing of work to be invoked in a specific <see cref="TaskEnv"/>.
/// </summary>
public static class DispatchQueueEx {
... | {
"content_hash": "7c1f96daf282370511620ceafea4e7ad",
"timestamp": "",
"source": "github",
"line_count": 182,
"max_line_length": 147,
"avg_line_length": 52.785714285714285,
"alnum_prop": 0.602789632559592,
"repo_name": "yurigorokhov/DReAM",
"id": "4386c34f428924fc94b1c800c0a35b713782c599",
"size": "... |
/****************************************************************************
* Included Files
****************************************************************************/
#include <nuttx/config.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#includ... | {
"content_hash": "7e45cb5b8b136fd6630ae6f36ceb0fc0",
"timestamp": "",
"source": "github",
"line_count": 796,
"max_line_length": 89,
"avg_line_length": 27.054020100502512,
"alnum_prop": 0.49380078941258415,
"repo_name": "Yndal/ArduPilot-SensorPlatform",
"id": "1b04bfbe596408821f67b8fe349d42ddf16fa86c"... |
package com.linkedin.thirdeye.datalayer.bao;
import com.linkedin.thirdeye.datalayer.DaoTestUtils;
import com.linkedin.thirdeye.datasource.DAORegistry;
import java.util.List;
import org.joda.time.DateTime;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.testng.As... | {
"content_hash": "a4c435a0e6f0d9058b171625334776e6",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 164,
"avg_line_length": 41.35576923076923,
"alnum_prop": 0.8007440130202279,
"repo_name": "fx19880617/pinot-1",
"id": "4af0b2fd58f096bf57d317448bd88a99f167fd5e",
"size": "... |

An application data backup creates an archive file that contains the database,
all repositories and all attachments.
You can only restore a backup to **exactly the same version and type (CE/EE)**
of GitLab on which it was created. The best way to migrate your repositories
from one s... | {
"content_hash": "45c3344d476d81d4fa3d85951aba2f94",
"timestamp": "",
"source": "github",
"line_count": 545,
"max_line_length": 349,
"avg_line_length": 38.04954128440367,
"alnum_prop": 0.7429232772339297,
"repo_name": "t-zuehlsdorff/gitlabhq",
"id": "10f5ab3370d4c8231fda2d2937b163866bac9421",
"size... |
@interface MTBAdvancedExampleViewController ()
@property (nonatomic, weak) IBOutlet UIView *previewView;
@property (nonatomic, weak) IBOutlet UIButton *toggleScanningButton;
@property (nonatomic, weak) IBOutlet UILabel *instructions;
@property (nonatomic, weak) IBOutlet UIView *viewOfInterest;
@property (nonatomic, s... | {
"content_hash": "8bc1d0cd850a07e1b49f9db6cf3bed56",
"timestamp": "",
"source": "github",
"line_count": 237,
"max_line_length": 268,
"avg_line_length": 34.472573839662445,
"alnum_prop": 0.652141982864137,
"repo_name": "mikebuss/MTBBarcodeScanner",
"id": "c263fe64b87f104866d6df699d5377893bc8b9a9",
"... |
<?php
namespace PHPExiftool\Driver\Tag\DICOM;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class CornealSize extends AbstractTag
{
protected $Id = '0046,0046';
protected $Name = 'CornealSize';
protected $FullName = 'DICOM::Main... | {
"content_hash": "81e71d1796bc9a539c5283dd6a137a27",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 46,
"avg_line_length": 16,
"alnum_prop": 0.6553571428571429,
"repo_name": "romainneutron/PHPExiftool",
"id": "4f75248058006d68fbd08bfc901790154e7d90c3",
"size": "782",
"b... |
A simple nodejs server for IoT devices, like the Raspberry Pi, to intercept non-HTTPS event data from a local network and relay them to initialstate.com over HTTPS.
## Purpose of project
To provide a means for low-powered networked devices to communicate event data to Initial State without having the overhead of TLS o... | {
"content_hash": "71a53bda94e21e4816804130599c655f",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 224,
"avg_line_length": 74,
"alnum_prop": 0.8006756756756757,
"repo_name": "InitialState/node-hub",
"id": "92d15e045b4c42cf327fd00e31fb2a79f24d197c",
"size": "900",
"bina... |
define( [
'osg/Utils',
'osg/Matrix',
'osg/Transform',
'osg/TransformEnums'
], function ( MACROUTILS, Matrix, Transform, TransformEnums ) {
'use strict';
/**
* MatrixTransform is a Transform Node that can be customized with user matrix
* @class MatrixTransform
*/
var Matrix... | {
"content_hash": "fef68f533adc81917d481bb61747449c",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 111,
"avg_line_length": 30.10169491525424,
"alnum_prop": 0.5394144144144144,
"repo_name": "jmirabel/osgjs",
"id": "c6498994c4dcfb0d0ea91561688c1f4238c1ae35",
"size": "1776"... |
define([], function() {
return {
'PropertyPaneDescription': 'Configurez le formulaire de la liste ici. Une fois la liste configurée, les champs peuvent être déplacés, insérés et supprimés dans le contenu du webpart.',
'BasicGroupName': 'Paramètres',
'TitleFieldLabel': 'Titre',
'DescriptionFieldLabel':... | {
"content_hash": "ff097920699114d56e44cf11c5197f28",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 188,
"avg_line_length": 69.89473684210526,
"alnum_prop": 0.7341867469879518,
"repo_name": "vman/sp-dev-fx-webparts",
"id": "f13170a18fff714a853f7b4676ef2e32682a5a9e",
"size... |
package raftstore
import (
"github.com/deepfabric/elasticell/pkg/pb/raftcmdpb"
"github.com/deepfabric/elasticell/pkg/pool"
"github.com/fagongzi/log"
"github.com/fagongzi/util/uuid"
"github.com/fagongzi/goetty"
)
const (
read = iota
write
admin
)
type reqCtx struct {
admin *raftcmdpb.AdminRequest
req *raf... | {
"content_hash": "09275dcbe370db0e32ad060b7aeb8f63",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 86,
"avg_line_length": 19.312925170068027,
"alnum_prop": 0.6696019725255372,
"repo_name": "deepfabric/elasticell",
"id": "40dee9e6a5a30d937bd44fcd2c67c7f01efd2ed3",
"size"... |
using System.Collections.Generic;
using Rxns.Hosting;
namespace Rxns.Redis
{
public class RedisModule : IAppModule
{
public IRxnLifecycle Load(IRxnLifecycle lifecycle)
{
return lifecycle.CreatesOncePerApp<RedisCacheFactory>()
.CreateGenericOncePerAppAs(typeof(RedisD... | {
"content_hash": "75d77c3b14082527f2957a302110ccb6",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 95,
"avg_line_length": 27,
"alnum_prop": 0.6666666666666666,
"repo_name": "captainjono/rxns",
"id": "88a086a4b9ad34cc503b0f39b10f0f544586754a",
"size": "380",
"binary": f... |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH... | {
"content_hash": "c6dedec9f741cc7d790f44ed3e172470",
"timestamp": "",
"source": "github",
"line_count": 500,
"max_line_length": 83,
"avg_line_length": 35.008,
"alnum_prop": 0.5413619744058501,
"repo_name": "avenirer/DBless-CI",
"id": "f3bc7e5f31800a91aef828865bd895b89220e82d",
"size": "17504",
"b... |
package com.intellij.codeInsight.editorActions.enter;
import com.intellij.openapi.actionSystem.DataContext;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.actionSystem.EditorActionHandler;
import com.intellij.openapi.diagnostic.Logger;
impor... | {
"content_hash": "7baf3b3cc7a42538735cd39897a76fba",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 140,
"avg_line_length": 48.333333333333336,
"alnum_prop": 0.7123152709359606,
"repo_name": "jexp/idea2",
"id": "d81a4bb39a803d962a8f25ed9983a7efc60a9cc3",
"size": "2630",
... |
package org.spotter.eclipse.ui.util;
import junit.framework.Assert;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridLayout;
import org.junit.Test;
public class WidgetUtilsTest {
@Test
public void testCreateGridLayout() {
final int numColumns = 7;
GridL... | {
"content_hash": "1089a32f5ebd39fd41942519183cd730",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 92,
"avg_line_length": 37.56363636363636,
"alnum_prop": 0.8151016456921588,
"repo_name": "CloudScale-Project/DynamicSpotter",
"id": "e0a8536aef97a7dae3aacda1f4d0199ab31ccc9e"... |
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.jcabi</groupId>
... | {
"content_hash": "7e79fc2fdb2eebab86e7f85f115b2506",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 149,
"avg_line_length": 40.38095238095238,
"alnum_prop": 0.6073113207547169,
"repo_name": "jamiepg1/jcabi-dynamodb-maven-plugin",
"id": "a2a00eb23d77ac0a192441a435f18530408d7... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_45) on Sun Mar 27 18:44:33 IDT 2016 -->
<title>DnxDocumentHelper.GrantedRightsStatement</title>
<meta name="date" content="2016-03-27">
<link r... | {
"content_hash": "de379e89aa0e144f8d11dfac963e8768",
"timestamp": "",
"source": "github",
"line_count": 462,
"max_line_length": 422,
"avg_line_length": 41.16450216450217,
"alnum_prop": 0.6830371227258387,
"repo_name": "ExLibrisGroup/Rosetta.dps-sdk-projects",
"id": "a54be38757ed60ce8cd931c1c4d2489dfe... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Solocast.Core.Contracts
{
public class Podcast : IEquatable<Podcast>
{
public i... | {
"content_hash": "1ff530a59439f0ed6ba2eeaf13a5596a",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 81,
"avg_line_length": 26.46031746031746,
"alnum_prop": 0.5500899820035993,
"repo_name": "robertiagar/Podcasts-WindowsUniversal",
"id": "323cb665f2dcc388f4576564b19b7de928740... |
<?php
namespace app\modules\catalogs\controllers;
use Yii;
use app\modules\catalogs\models\Facultad;
use app\modules\catalogs\models\Universidad;
use app\modules\catalogs\models\FacultadSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use \yii\web\Response;
use yii\helper... | {
"content_hash": "257f01f81ca357a8040b76c25295b0b1",
"timestamp": "",
"source": "github",
"line_count": 308,
"max_line_length": 126,
"avg_line_length": 35.62987012987013,
"alnum_prop": 0.4604519774011299,
"repo_name": "jacastaneda/hosouees",
"id": "c253b200daa1157d275ed4b5bca2a59db5ff4a7d",
"size":... |
layout: page
title: Arnold Productions Dinner
date: 2016-05-24
author: Megan Dean
tags: weekly links, java
status: published
summary: Pellentesque tempor vehicula volutpat. Nunc id.
banner: images/banner/wedding.jpg
booking:
startDate: 04/12/2019
endDate: 04/17/2019
ctyhocn: FSDNOHX
groupCode: APD
published: tr... | {
"content_hash": "2f4fc7b2f1f7fb3a94f7e4e99a0a508d",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 734,
"avg_line_length": 98.4090909090909,
"alnum_prop": 0.8106235565819861,
"repo_name": "KlishGroup/prose-pogs",
"id": "3ca43dcdcd9b778919ee7338395636d3fe2e5067",
"size": ... |
var mongoose = require('mongoose');
module.exports.init = function () {
var messagesSchema = new mongoose.Schema({
text: {
type: String,
required: '{PATH} is required',
maxlength: 1000,
minlenght: 1 },
from : {
type: String
},
... | {
"content_hash": "fcb534d9d608f8cf20784fd4facad3fd",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 56,
"avg_line_length": 23.95,
"alnum_prop": 0.5010438413361169,
"repo_name": "clangelov/TelerikAcademyHomework",
"id": "eb7e362977e93892312c58023dfcd89e7e4b0425",
"size": "... |
import common
import os
import sys
def main():
ast = common.Ami()
ast.username = sys.argv[1]
ast.password = sys.argv[2]
if ast.conn() == False:
print("Could not connect.")
return 1
# get dialing
print("Getting dialing all")
ret = ast.sendCmd("OutDialingShow")
if re... | {
"content_hash": "01b423cb67ebe741725a85d270e8b5c6",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 64,
"avg_line_length": 23.677419354838708,
"alnum_prop": 0.5790190735694822,
"repo_name": "pchero/asterisk-outbound",
"id": "cf915dcb41cce2a611e1a8b0ced5eda58ac26170",
"siz... |
import Vue from 'vue';
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign#Polyfill
function isExist (obj) {
return typeof obj !== 'undefined' && obj !== null
}
function isFunction (obj) {
return typeof obj === 'function'
}
function isString (obj) {
return typeof ... | {
"content_hash": "ca1505a58b1f351bc695b63484a2c9d5",
"timestamp": "",
"source": "github",
"line_count": 726,
"max_line_length": 165,
"avg_line_length": 29.774104683195592,
"alnum_prop": 0.5996021465581051,
"repo_name": "cdnjs/cdnjs",
"id": "4570e778a14e17cdbb1c5599c19874cb96b517c9",
"size": "21616"... |
package org.pentaho.di.concurrency;
import org.apache.commons.vfs2.impl.DefaultFileSystemManager;
import org.apache.commons.vfs2.provider.AbstractFileProvider;
import org.junit.After;
import org.junit.Test;
import org.pentaho.di.core.vfs.KettleVFS;
import java.util.ArrayList;
import java.util.List;
import java.util... | {
"content_hash": "cfb1d9934939d0824b98256acf12f397",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 86,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.6958869962609057,
"repo_name": "alina-ipatina/pentaho-kettle",
"id": "a4608e0c29bbc761cf72ab1e9d5c9bf0ce1355f5",
... |
module Enjoy::News
module Models
module Mongoid
module Category
extend ActiveSupport::Concern
include Enjoy::HtmlField
included do
field :name, type: String, localize: Enjoy::News.configuration.localize, default: ""
scope :sorted, -> { order_by([:lft, :asc]) }
... | {
"content_hash": "80753611477f99110871e8405bd3e659",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 114,
"avg_line_length": 27.892857142857142,
"alnum_prop": 0.6081946222791293,
"repo_name": "enjoycreative/enjoy_cms_news",
"id": "65a1b6a36a8b1a34dc613c455bf2d7f10be287c3",
... |
<?php
/**
* @file
* Contains \Drupal\devel_generate\Plugin\DevelGenerate\TermDevelGenerate.
*/
namespace Drupal\devel_generate\Plugin\DevelGenerate;
use Drupal\Core\Entity\EntityStorageInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Language\Language;
use Drupal\Core\Plugin\ContainerFactoryPlu... | {
"content_hash": "795c8d16b1188fd2c81ba4b9d3b409dd",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 167,
"avg_line_length": 30.597701149425287,
"alnum_prop": 0.5886551465063862,
"repo_name": "edwardchan/d8-drupalvm",
"id": "ef610552c27d18f89a31190885c6232beb14b1e3",
"siz... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.kubernetesconfiguration.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
... | {
"content_hash": "5a9565acf36ee5aebdc1255552bd44d8",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 110,
"avg_line_length": 33.42857142857143,
"alnum_prop": 0.7045177045177046,
"repo_name": "Azure/azure-sdk-for-java",
"id": "558620cda1565b62673afef11b090957e9ab8063",
"siz... |
The goal of YINsolidated is to generate a single JSON document with all augments and
submodules merged together. Because the native `yin` format is XML there are some
oddities when converting to JSON.
What would be a XML node becomes a JSON Object that represents a single `YinElement`
with the following schema:
- Eac... | {
"content_hash": "9567b574ec197aa6558ce6fb04fcfdf7",
"timestamp": "",
"source": "github",
"line_count": 549,
"max_line_length": 243,
"avg_line_length": 24.18943533697632,
"alnum_prop": 0.6199548192771084,
"repo_name": "128technology/yinsolidated",
"id": "dcf7760c269eeaef1a58ec99564646a8eec0fbe9",
"... |
namespace Simple.Web.TestHelpers.Xml
{
using System.Xml.Linq;
using Xunit.Sdk;
public static class XNameExtensions
{
public static void ShouldEqual(this XName actual, XName expected)
{
if (actual.ToString() != expected.ToString())
{
throw new EqualException(expected, actual);
}
}
public... | {
"content_hash": "4a1a283dd5e7b98c0399157a8167eb72",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 68,
"avg_line_length": 20.833333333333332,
"alnum_prop": 0.684,
"repo_name": "markrendle/Simple.Web",
"id": "35d8f7ca0e2faea633d4d6e35dbe993f72543503",
"size": "500",
"bi... |
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
namespace Messaging
{
sealed partial class App : Template10.Common.BootStrapper
{
public App()
{
InitializeComponent();
}
public enum Pages { MainPage }
public override Task OnInitial... | {
"content_hash": "c300b7c417c4a9e4df2ecaeb09d32ea0",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 88,
"avg_line_length": 26.035714285714285,
"alnum_prop": 0.6337448559670782,
"repo_name": "ivesely/Template10",
"id": "7de3618c755c8b9f10a7cbf24d7e95b9802f6e97",
"size": "7... |
module.exports = function(grunt) {
grunt.initConfig({
'shell': {
'options': {
'stdout': true,
'stderr': true,
'failOnError': true
},
'cover-html': {
'command': 'istanbul cover --report "html" --verbose --dir "coverage" "tests/tests.js"'
},
'cover-coveralls': {
'command': 'istanbul... | {
"content_hash": "fa3b1d0e98450129274091b992f97a2d",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 132,
"avg_line_length": 20.53125,
"alnum_prop": 0.578386605783866,
"repo_name": "mathiasbynens/base64",
"id": "1c7fb410adabab064ce51af2a6bc00a44da054b7",
"size": "1314",
... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "fdadaec393064bc72ab5e9528e2a0de0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e63be9fc4d86a00086258ee95795f0d943cf8e4d",
"size": "171... |
package lu.ing.gameofcode.fragments;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
impor... | {
"content_hash": "ac4a1ff42590918d90fc8ff5f387e705",
"timestamp": "",
"source": "github",
"line_count": 212,
"max_line_length": 128,
"avg_line_length": 35.39622641509434,
"alnum_prop": 0.6840351812366737,
"repo_name": "seventy-three/gameofcode-app",
"id": "e256c6378877a9b6d239fafe0c9f9b5c3d4c918a",
... |
package org.apache.ignite.internal.processors.bulkload;
import java.util.List;
import org.apache.ignite.IgniteCheckedException;
import org.apache.ignite.IgniteDataStreamer;
import org.apache.ignite.IgniteIllegalStateException;
import org.apache.ignite.internal.processors.query.RunningQueryManager;
import org.apache.... | {
"content_hash": "1918132f441f454a295f4067ac1c50a3",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 116,
"avg_line_length": 34.203252032520325,
"alnum_prop": 0.672450677442358,
"repo_name": "SomeFire/ignite",
"id": "a92bbdfd9687f24498e518f5002772587756f87e",
"size": "500... |
package battleship.gui.client;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTextField;
im... | {
"content_hash": "8b7749dd9fc7d634e900609ee90da62b",
"timestamp": "",
"source": "github",
"line_count": 140,
"max_line_length": 87,
"avg_line_length": 27.62857142857143,
"alnum_prop": 0.5747156153050672,
"repo_name": "nukep/battleship",
"id": "2e0d46eae177269ad2f79e568547a2caf4cff308",
"size": "386... |
<?php
/**
* @author Andre Lohmann
*
* @package bootstrap-extra-fields
*/
class BootstrapAceEditorField extends TextareaField {
protected $theme = "textmate";
protected $mode = "javascript";
/**
* Set the theme
*
* @param string $theme
*
* @return $this
*/
public function setTheme($theme) {
$... | {
"content_hash": "5ecb1a768443d2fae5c464a03473ec3b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 90,
"avg_line_length": 20.584615384615386,
"alnum_prop": 0.6128550074738416,
"repo_name": "andrelohmann/silverstripe-bootstrap_extra_fields",
"id": "c7c1556c00bb1c858a9f8b15a... |
package dmlgen
import (
"bytes"
"crypto/md5"
"fmt"
)
type tables []*Table
// hasFeature returns false when any of the tables does not have the feature/s.
func (ts tables) hasFeature(g *Generator, feature FeatureToggle) bool {
for _, tbl := range ts {
if g.hasFeature(tbl.featuresInclude, tbl.featuresExclude, fe... | {
"content_hash": "faef4710401175acd2c7fa8daf37180e",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 79,
"avg_line_length": 20.61111111111111,
"alnum_prop": 0.6765498652291105,
"repo_name": "corestoreio/csfw",
"id": "55bfd0967e63ce7f7ffb4ae8c866f1602173542b",
"size": "742"... |
require 'test_helper'
module ActiveModel
class Serializer
class AssociationsTest < Minitest::Test
class Model
def initialize(hash={})
@attributes = hash
end
def read_attribute_for_serialization(name)
@attributes[name]
end
def method_missing(meth... | {
"content_hash": "3d9166e85cbf8f6451b8802c8352a017",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 104,
"avg_line_length": 32.76642335766423,
"alnum_prop": 0.572287814658053,
"repo_name": "Rodrigora/active_model_serializers",
"id": "04681d2c4916380b57e68b61637ce34abe78fed... |
.class Lcom/android/internal/os/BatteryStatsImpl$TimeBase;
.super Ljava/lang/Object;
.source "BatteryStatsImpl.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/os/BatteryStatsImpl;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessF... | {
"content_hash": "f96c524d3cf444723cb88a37894bcf3d",
"timestamp": "",
"source": "github",
"line_count": 926,
"max_line_length": 117,
"avg_line_length": 26.65766738660907,
"alnum_prop": 0.6920397002228074,
"repo_name": "libnijunior/patchrom_bullhead",
"id": "53940f8bb77d025e25a4e0b17bdb22dcaeefdc52",
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Section 23</title>
<meta id="xcode-display" name="xcode-display" content="render">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, maximum-scale=1.0">
<link rel="stylesheet" type="text/css... | {
"content_hash": "e7b542c502492317f3309ae10a256d7f",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 142,
"avg_line_length": 31.473684210526315,
"alnum_prop": 0.68561872909699,
"repo_name": "ashfurrow/NSSpain2014",
"id": "995d8d54416e0ec18ac72eb6aaa707645e1d8ca1",
"size": ... |
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:initialLayout="@layout/appwidget_layout"
android:minHeight="180dp"
android:minWidth="100dp"
android:updatePeriodMillis="45000">
</appwidget-provider> | {
"content_hash": "a4a9909abcb7886a788400e3e3287938",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 78,
"avg_line_length": 32.55555555555556,
"alnum_prop": 0.7372013651877133,
"repo_name": "topsecretabc/GraduationProject",
"id": "157a8740dd483cbca0702e16fcfba4e4c893805e",
... |
GitHub Auto Deployer
====================
This is a simple program to perform deploys on web hooks. It has the
following redeeming features:
- Single self contained binary - easy to deploy.
- Supports GitHub HMAC authentication to validate incoming requests.
Deploying
---------
- Drop the binary somewhere usefu... | {
"content_hash": "6a82269251bb9832450658c299867e7e",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 74,
"avg_line_length": 27.728571428571428,
"alnum_prop": 0.7320968572900567,
"repo_name": "calmh/gad",
"id": "d2b147c1aeb7b513bfb2f4041e99859882e85c13",
"size": "1941",
"... |
#include "Button.h"
/**
0 = nothing
1 = normal click
2 = dubble click?
3 = hold
4 = "long" hold
*/
Button::Button(int button_pin) {
// pin to use
_button_pin = button_pin;
// init the button state
_last_button_state = BUTTON_STATE_NONE;
// timing settings
_debounce_ms = 25; // ms... | {
"content_hash": "513bc1246b413b591f831655e0dc0dff",
"timestamp": "",
"source": "github",
"line_count": 129,
"max_line_length": 124,
"avg_line_length": 36.21705426356589,
"alnum_prop": 0.5648544520547946,
"repo_name": "mielemilos/interactivemap",
"id": "83e8004ac4e5bbf0718c3a1f690996f126c0d277",
"s... |
#!/usr/bin/python
# Copyright (c) 2014 Wladmir J. van der Laan
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
'''
Script to generate list of seed nodes for chainparams.cpp.
This script expects two text files in the directory that... | {
"content_hash": "fb50793e24c3a19f465c27305c8d7847",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 98,
"avg_line_length": 31.822222222222223,
"alnum_prop": 0.5758845437616388,
"repo_name": "tropa/axecoin",
"id": "5b6b4f7b2c2a9b461d073042582ebf99bbc04496",
"size": "4296"... |
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}
| {
"content_hash": "71e42c189e1e8a0f9f24b00c467dc248",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 88,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6842105263157895,
"repo_name": "laiso/iOSSamples",
"id": "221e2b47aae710be170beb7fa648d71d9263b44f",
"size": "265"... |
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return function (d, b) {
ext... | {
"content_hash": "9f03d492c3ec3dcf0f79755e3b01ad30",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 93,
"avg_line_length": 42.04,
"alnum_prop": 0.6013320647002854,
"repo_name": "DNCarroll/mace",
"id": "fdf5c78001a6b708732856fc97247e5560744d8a",
"size": "1051",
"binary":... |
package io.reactivesocket.reactivestreams.extensions.internal.publishers;
import io.reactivesocket.reactivestreams.extensions.Px;
import io.reactivesocket.reactivestreams.extensions.Scheduler;
import io.reactivesocket.reactivestreams.extensions.internal.subscribers.CancellableSubscriber;
import io.reactivesocket.rea... | {
"content_hash": "6cd0195d090e4e75e9892dea81242116",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 109,
"avg_line_length": 45.725806451612904,
"alnum_prop": 0.5350970017636685,
"repo_name": "NiteshKant/reactivesocket-java",
"id": "160d0250d3ee139246b37718c610445a7ffadd59",... |
class Projects::JobsController < Projects::ApplicationController
include SendFileUpload
include ContinueParams
before_action :build, except: [:index]
before_action :authorize_read_build!
before_action :authorize_update_build!,
except: [:index, :show, :status, :raw, :trace, :erase]
before_action :author... | {
"content_hash": "844ffd823be3508cd8ec6dde54f401b3",
"timestamp": "",
"source": "github",
"line_count": 208,
"max_line_length": 138,
"avg_line_length": 26.96153846153846,
"alnum_prop": 0.6524607703281027,
"repo_name": "axilleas/gitlabhq",
"id": "d5ce790e2d94c9c956424a6ba90df268ee9b20a1",
"size": "5... |
<!-- Contact Section -->
<section id="contact">
<div class="container">
<div class="row">
<div class="col-lg-12 text-center">
<h2>Contact Me</h2>
<hr>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-lg-offset-2">
<form action="//formspree.io/you@email.com" method="POST" name="sentM... | {
"content_hash": "d468f88b1434ceedac84081e4b2a94eb",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 180,
"avg_line_length": 39.30612244897959,
"alnum_prop": 0.6214953271028038,
"repo_name": "mbiondis/mbiondis.github.io",
"id": "29a524f6b6cf31153e422b91202f9fc1777b0697",
"... |
package com.hellhounds.battlefree.game.abilities;
import com.hellhounds.battlefree.game.effects.CrushEffect;
import com.hellhounds.battlefree.game.effects.DamageEffect;
public class GolemAbility extends Ability {
public GolemAbility() {
super("Golem Smash", new Payment(0, 1, 1, 0),
new C... | {
"content_hash": "b09728194e1abb81a83299ceadbc033c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 88,
"avg_line_length": 30.46153846153846,
"alnum_prop": 0.7146464646464646,
"repo_name": "pnenad/hellhounds",
"id": "b9c494d59ad66e00d670fd331af1efe587452b3c",
"size": "106... |
/**
* parser - jQuery EasyUI
*
*/
(function($){
$.easyui = {
/**
* Get the index of array item, return -1 when the item is not found.
*/
indexOfArray: function(a, o, id){
for(var i=0,len=a.length; i<len; i++){
if (id == undefined){
if (a[i] == o){return i;}
} else {
... | {
"content_hash": "9d88944980e5e3c0a607e1a2bd2c1dc1",
"timestamp": "",
"source": "github",
"line_count": 423,
"max_line_length": 143,
"avg_line_length": 26.829787234042552,
"alnum_prop": 0.5334390695215437,
"repo_name": "nemozhang1987/justfaq",
"id": "bbf0cf1687caeeb9e5d26cd9a3b53367bdb34599",
"size... |
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(require("./debug-common"));
var ScopeError = (function (_super) {
__extends(ScopeError, _super);
function ScopeError(inner, message) {
var formattedMessage;
if (message && inner.message) {
... | {
"content_hash": "d4a023b168d1579761457b1ff9a78d26",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 87,
"avg_line_length": 34.56666666666667,
"alnum_prop": 0.6104146576663452,
"repo_name": "Torgo13/CarWashApp",
"id": "7f56801969a839791e69d8bdf6653a35449e8e3b",
"size": "10... |
var goog = global.atom_vim_keymap.goog;
goog.provide('shadow.devtools');
var shadow = goog.getObjectByName('shadow');
shadow.devtools = goog.getObjectByName('shadow.devtools');
var runtime_setup = goog.getObjectByName('runtime_setup');
var cljs = goog.getObjectByName('cljs');
cljs.core = goog.getObjectByName('cljs.core... | {
"content_hash": "30fff5241d71702c3e4fd271256abf87",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 488,
"avg_line_length": 45.836363636363636,
"alnum_prop": 0.7298690995636652,
"repo_name": "madeinqc/atom-vim-keymap",
"id": "5b45a3111416697be28575fdff5d396822884dcf",
"si... |
package com.intellij.find.impl;
import com.intellij.CommonBundle;
import com.intellij.find.*;
import com.intellij.find.actions.ShowUsagesAction;
import com.intellij.ide.util.scopeChooser.ScopeChooserCombo;
import com.intellij.ide.util.scopeChooser.ScopeDescriptor;
import com.intellij.lang.Language;
import com.intell... | {
"content_hash": "aaf9dc2d43056a169ed46504c4381ae8",
"timestamp": "",
"source": "github",
"line_count": 1630,
"max_line_length": 180,
"avg_line_length": 40.70122699386503,
"alnum_prop": 0.7124941591426375,
"repo_name": "mglukhikh/intellij-community",
"id": "f09aa8c58be9f1f8e9547bc51a48503909d30b04",
... |
struct ViewHostMsg_TextInputState_Params;
namespace content {
class BrowserPluginGuest;
class RenderWidgetHost;
class RenderWidgetHostImpl;
struct NativeWebKeyboardEvent;
// See comments in render_widget_host_view.h about this class and its members.
// This version is for the BrowserPlugin which handles a lot of the
... | {
"content_hash": "56dc9cb4412dd6c912fab59df7cad1e2",
"timestamp": "",
"source": "github",
"line_count": 163,
"max_line_length": 79,
"avg_line_length": 41.45398773006135,
"alnum_prop": 0.7475210892407873,
"repo_name": "Bysmyyr/chromium-crosswalk",
"id": "62bfb6129058289a58b284a92feb1408dce4a30d",
"s... |
package com.remind.me.fninaber.db;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.database.Cursor;
import android.net.Uri;
import android.os.AsyncTask;
import android.text.TextUtils;
import android.util.Log;
import com.r... | {
"content_hash": "2ff8c0e41224f590e4a01ad1b9c56185",
"timestamp": "",
"source": "github",
"line_count": 347,
"max_line_length": 119,
"avg_line_length": 39.42651296829971,
"alnum_prop": 0.5862144580074556,
"repo_name": "ferdinb/remind.me",
"id": "27bed7d8e35b99dd7093a1e8a491f0a4b69a3cdb",
"size": "1... |
package com.billybyte.spanjava.utils;
public class CmeSpanUtils {
public enum RecordType {
EXCHANGE_COMPLEX_HEADER("0 "), EXCHANGE_HEADER("1 "),
FIRST_COMB_COMM("2 "), SECOND_COMB_COMM("3 "), THIRD_COMB_CORR("4 "),
FIRST_PHYS_REC("81"), SECOND_PHYS_REC("82"), FIRST_PHYS_REC_FLOAT("83"), SECOND_PHYS_REC_... | {
"content_hash": "e81b889f68085edd05f5d1c8c78301b8",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 103,
"avg_line_length": 30.6,
"alnum_prop": 0.6125116713352008,
"repo_name": "bgithub1/span-java",
"id": "bda5f40243cbde72bc4a372eb45daab46357a0fe",
"size": "1071",
"bina... |
package nquads
import (
"testing"
. "github.com/smartystreets/goconvey/convey"
"github.com/google/cayley/graph"
)
func TestParsingNTriples(t *testing.T) {
Convey("When parsing", t, func() {
Convey("It should not parse invalid triples", func() {
x := Parse("invalid")
So(x, ShouldBeNil)
})
Convey("It ... | {
"content_hash": "21672c13e41bd6783a2a2fc3f2f3061a",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 101,
"avg_line_length": 32.76923076923077,
"alnum_prop": 0.6199791340636411,
"repo_name": "aarongable/cayley",
"id": "a8a83bc056f1a226d275bb236038764b28322864",
"size": "4... |
package top.cardone.func.v1.authority.rolePermission;
import com.google.common.base.Charsets;
import com.google.common.collect.Maps;
import com.google.gson.Gson;
import top.cardone.CardoneConsumerApplication;
import lombok.extern.log4j.Log4j2;
import lombok.val;
import org.apache.commons.io.FileUtils;
import org.junit... | {
"content_hash": "fd515cdbb82cb6ee3945f4b18267c4a3",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 193,
"avg_line_length": 44.83561643835616,
"alnum_prop": 0.7540482737549649,
"repo_name": "yht-fand/cardone-platform-authority",
"id": "74790074b60fac4e4a1c7290e2a283109a73c6... |
package alice.tuprolog.interfaces;
import java.util.HashMap;
import alice.tuprolog.OperatorManager;
import alice.tuprolog.Parser;
import alice.tuprolog.Term;
public class ParserFactory {
/**
* Creating a parser with default operator interpretation
*/
public static IParser createParser(Stri... | {
"content_hash": "55a71d951660186790b5ad3383000ed4",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 108,
"avg_line_length": 27.78048780487805,
"alnum_prop": 0.6733977172958736,
"repo_name": "adlange/IN2SEC",
"id": "e07bfdc2554aa4132f51a294c91858ddf3e56998",
"size": "1139"... |
<?xml version="1.0" encoding="utf-8"?>
<!-- This comment will force IE7 to go into quirks mode. -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type... | {
"content_hash": "339d7e1ed0c7a3e3d46538e555a76ebd",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 197,
"avg_line_length": 43.64935064935065,
"alnum_prop": 0.6902707527521571,
"repo_name": "fschwiet/ManyConsole",
"id": "3eac8f093672b43f42a360a3ed5dbbf1ad7601af",
"size": ... |
'use strict';
module.exports = function(grunt) {
var regex = /background[-image]*:.*?url\(([^\)]+)/g;
/**
* Parse a CSS file to find `background` and `background-image` URL's
*/
var getFileUrls = function(input) {
var match, urls = [];
while ((match = regex.exec(input)) !== null) {
var st... | {
"content_hash": "df0061ef84e756cb7652c09d39791998",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 98,
"avg_line_length": 22.900990099009903,
"alnum_prop": 0.5438824038045827,
"repo_name": "juherpin/grunt-img-preload",
"id": "bbd1f0005118367b981d403c9cef018c1279f434",
"... |
<?php
defined('SYSPATH') or die ('no tiene acceso');
//descripcion del modelo productos
class Model_Archivados extends ORM{
protected $_table_names_plural = false;
//protected $_sorting = array('fecha_publicacion' => 'DESC');
//archivar una hoja de ruta
public function archivar($id_nuri,$id_user,$id... | {
"content_hash": "c70d04b5abb7d480326900649d2aaa96",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 204,
"avg_line_length": 40.225806451612904,
"alnum_prop": 0.6062550120288693,
"repo_name": "fredd-for/codice",
"id": "fcab5f9c303f93eddaf9868fd71ef355242e69a2",
"size": "12... |
package org.apache.camel.core.xml;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import org.apache.camel.model.IdentifiedType;
import org.apache.camel.util.CollectionStr... | {
"content_hash": "0f885417bb887ce27c18c9b1351813ff",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 130,
"avg_line_length": 27.439344262295084,
"alnum_prop": 0.6638785995937388,
"repo_name": "mnki/camel",
"id": "b4ce31bfb016fd4191ad39dfdc056fe4bcd6a3d8",
"size": "9172",
... |
macro(linkCocoa targetName)
find_library(COCOA_LIB Cocoa)
target_link_libraries(${targetName} ${COCOA_LIB})
endmacro(linkCocoa)
| {
"content_hash": "e8a892c50f28603330d3f82b9542b5f2",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 50,
"avg_line_length": 32.5,
"alnum_prop": 0.7846153846153846,
"repo_name": "ClubOfDigitalEngineering/CMakeTemplate",
"id": "de9f2cd8939fbe676a773344a284399ed4ace0ad",
"size... |
/*
* Ring initialization rules:
* 1. Each segment is initialized to zero, except for link TRBs.
* 2. Ring cycle state = 0. This represents Producer Cycle State (PCS) or
* Consumer Cycle State (CCS), depending on ring function.
* 3. Enqueue pointer = dequeue pointer = address of first TRB in the segment.
*
... | {
"content_hash": "7924ef24dc3ba76de4e09e89bd5edf56",
"timestamp": "",
"source": "github",
"line_count": 3982,
"max_line_length": 92,
"avg_line_length": 31.2579105976896,
"alnum_prop": 0.6595778868633957,
"repo_name": "indashnet/InDashNet.Open.UN2000",
"id": "a3c93745401c8fe9b35effdf60982799b0739fd5",... |
package com.google.rubidium;
import java.util.Arrays;
import org.apache.beam.sdk.options.PipelineOptionsFactory;
import org.apache.beam.sdk.testing.PAssert;
import org.apache.beam.sdk.testing.TestPipeline;
import org.apache.beam.sdk.values.KV;
import org.apache.beam.sdk.values.PCollection;
import org.json.simple.JSO... | {
"content_hash": "0e9895b35cdaa39c9fa805b0a33506ac",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 99,
"avg_line_length": 54.87074829931973,
"alnum_prop": 0.5426481527398959,
"repo_name": "privacysandbox/measurement-simulation",
"id": "0b77de276183fd7e7fa1eed8cffa71b4f0af... |
<?php
namespace Barman\Annotation;
use Doctrine\Common\Annotations\Annotation\Target;
use Barman\Annotation;
use Barman\AutoArguments;
use Barman\Exception\MutatorException;
use Barman\Step;
use Barman\Variable\ArgumentVariable;
/**
* @Annotation
* @Target({"CLASS", "METHOD", "ANNOTATION"})
*/
class Context exten... | {
"content_hash": "f27c35d7902da504a156990e586cce84",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 117,
"avg_line_length": 25.739837398373982,
"alnum_prop": 0.5290587492103601,
"repo_name": "perfumer/contracts",
"id": "e5e840249855a9fb801c631df218bd0588b3d088",
"size": ... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "83383e96f810bbd1eaed93b809a31b4a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "95a0859acf74c5ee17593123bf747f982ba7dfa1",
"size": "20... |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// ------------------------------------------------------------------------
/**
* Postgre Database Adapter Class
*
* Note: _DB is an extender class that the app controller
* creates dynamically based on whether the active record
* class... | {
"content_hash": "adff0c30d98fd849c6ed9e853feb4f13",
"timestamp": "",
"source": "github",
"line_count": 691,
"max_line_length": 155,
"avg_line_length": 21.926193921852388,
"alnum_prop": 0.514157481354366,
"repo_name": "alvescaio/SisGO",
"id": "9c93ab6085aac0f89e0d2aeb28080479bd2c4385",
"size": "155... |
.class final Landroid/view/ViewRootImpl$InvalidateOnAnimationRunnable;
.super Ljava/lang/Object;
.source "ViewRootImpl.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/view/ViewRootImpl;
.end annotation
.annotation system Ld... | {
"content_hash": "1aa765a7ae6d19b0c0b6e437c3470977",
"timestamp": "",
"source": "github",
"line_count": 484,
"max_line_length": 144,
"avg_line_length": 26.41322314049587,
"alnum_prop": 0.6912546933667084,
"repo_name": "GaHoKwan/tos_device_meizu_mx4",
"id": "934cedb423a30565e870d24a6a11e80d57e851d2",
... |
using Esri.ArcGISRuntime.Layers;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
namespace ArcGISRuntimeSDKDotNet_DesktopSamples.Samples
{
/// <summary>
/// Demonstrates adding a Web tiled layer to a Map in XAML, and changing layer properties in code behind.
/// Also demonst... | {
"content_hash": "61ce71a674f875198d27e22fadebfd3f",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 159,
"avg_line_length": 49.97520661157025,
"alnum_prop": 0.5645774764345957,
"repo_name": "Tyshark9/arcgis-runtime-samples-dotnet",
"id": "f9773df60358c5d6658565e9dc5810ff30... |
package org.deeplearning4j.eval;
import org.nd4j.common.base.Preconditions;
import org.nd4j.evaluation.IEvaluation;
@Deprecated
public class EvaluationUtils extends org.nd4j.evaluation.EvaluationUtils {
public static <T> T copyToLegacy(IEvaluation<?> from, Class<T> to){
if(from == null)
re... | {
"content_hash": "0df684df7f0502961844736d23a13e56",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 121,
"avg_line_length": 26.55,
"alnum_prop": 0.711864406779661,
"repo_name": "deeplearning4j/deeplearning4j",
"id": "a45dc7844ad1d04db4d7caa9b674a129b02e5b23",
"size": "142... |
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBTC);
unitlist.append(uBTC);
return unitlist;... | {
"content_hash": "388e4fa6ccc4ff218c85f7cf23f7d4f8",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 100,
"avg_line_length": 24.53475935828877,
"alnum_prop": 0.6137750653879687,
"repo_name": "Eryllium/project",
"id": "e967a5509a2ae9426750e459efceff468f900a85",
"size": "46... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | {
"content_hash": "a54386c44ff1195b627a731043117797",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 107,
"avg_line_length": 29.971830985915492,
"alnum_prop": 0.6992481203007519,
"repo_name": "groboclown/p4ic4idea",
"id": "a78fd158717fe13b04100d606c0fe100760d8465",
"size":... |
layout: default
name: Add, get, remove
title: Example to showcase the add, get and remove methods.
url: http://codepen.io/javve/pen/cLdfw
slug: cLdfw
---
{% include codepen.html %}
| {
"content_hash": "ef3dff9a4d31e9e9790066a67470881e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 59,
"avg_line_length": 22.75,
"alnum_prop": 0.7252747252747253,
"repo_name": "mizukagetobi/ect",
"id": "25ca93a5d2b64b7d44c55e3f7bef757b94b4aabd",
"size": "186",
"binary":... |
package ceylon.language.meta;
import ceylon.language.meta.declaration.ClassDeclaration;
import com.redhat.ceylon.compiler.java.metadata.Ceylon;
import com.redhat.ceylon.compiler.java.metadata.Ignore;
import com.redhat.ceylon.compiler.java.metadata.Method;
import com.redhat.ceylon.compiler.java.metadata.Name;
import c... | {
"content_hash": "ba5961dfb8f312ba3d5c345afe995ac0",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 85,
"avg_line_length": 34.57692307692308,
"alnum_prop": 0.7530589543937709,
"repo_name": "unratito/ceylon.language",
"id": "fbe1863fa195549cb8cae1f64d9193aa59a3308d",
"size... |
To contribute code to Seastar, send your changes as [patches](https://github.com/scylladb/scylla/wiki/Formatting-and-sending-patches) to the [mailing list](https://groups.google.com/forum/#!forum/seastar-dev). We don't accept pull requests on GitHub.
# Asking questions or requesting help
Use the [Seastar mailing list... | {
"content_hash": "89d0ba8fd010193c93eddf5deb7f57ea",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 250,
"avg_line_length": 62.5,
"alnum_prop": 0.7856,
"repo_name": "cloudius-systems/seastar",
"id": "76dfc3947cb459e5b378945de0ab5b5235c1395e",
"size": "657",
"binary": fa... |
title: "FINDSTATS"
layout: function
isPage: "true"
desc: "Computes statistics on matching GTS."
categoryTree: ["reference","functions"]
category: reference
signature: "[ 'token' 'class_selector' { labels_selectors } ] FINDSTATS { statistics }"
---
The `FINDSTATS` function computes statistics on matching GTS. It expec... | {
"content_hash": "2c792f7d669c1f3f22e7a986d6a8b6a9",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 378,
"avg_line_length": 38.76,
"alnum_prop": 0.7327141382868937,
"repo_name": "cityzendata/www.warp10.io",
"id": "feab974d1da7c31f3084e02db21f02dbef0a8bfd",
"size": "973",
... |
import { Route } from '@angular/router';
import { DashboardComponent } from './index';
import { LiveDashboardRoutes } from './live-bids/index';
import { WatchDashboardRoutes } from './watch-bids/index';
export const DashboardRoutes: Route[] = [
{
path: 'dashboard',
component: DashboardComponent,
... | {
"content_hash": "e98a6d89b8a83da6a4cb5ac731a381b6",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 82,
"avg_line_length": 31.625,
"alnum_prop": 0.6225296442687747,
"repo_name": "OElabed/angular2-bid-dashboard",
"id": "40f0ead4844f6003bc774ba66b3ad6c10565b86d",
"size": "5... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | {
"content_hash": "d0056d6828be2f38619fa720f984cdd5",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 156,
"avg_line_length": 41.944134078212294,
"alnum_prop": 0.6875332978156633,
"repo_name": "prestodb/presto",
"id": "55ecd274da896d177cbed305865c9924eda8cd83",
"size": "75... |
A simple React app to showcase React, Flux, Firebase & material-ui
Work in progress
| {
"content_hash": "f4ca8cf0458d103a5f8dde3827c02ece",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 66,
"avg_line_length": 42,
"alnum_prop": 0.7857142857142857,
"repo_name": "qmmr/react-stack",
"id": "a52a3d06589222b1be63337fa4d3f761a93cea86",
"size": "105",
"binary": fa... |
.PHONY=up clean bash test browser
DOCKER_HOST?=localhost
up:
docker-compose up -d
clean:
docker-compose down --remove-orphans
bash:
docker-compose exec node bash
test:
docker-compose run --rm codeceptjs codeceptjs run
selenium-firefox:
xdg-open vnc://$(DOCKER_HOST):9059
selenium-chrome:
xdg-open vnc://$(DO... | {
"content_hash": "294e3764d4e6030a2952a5a6aa92a95d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 50,
"avg_line_length": 15.958333333333334,
"alnum_prop": 0.7362924281984334,
"repo_name": "cunneen/json-editor",
"id": "437f11a8ecc8408b51dd8ae795b3492cdd7920b7",
"size": "... |
layout: model
title: Multilingual XLMRobertaForTokenClassification Base Cased model (from flood)
author: John Snow Labs
name: xlmroberta_ner_flood_base_finetuned_panx
date: 2022-08-14
tags: [de, fr, open_source, xlm_roberta, ner, xx]
task: Named Entity Recognition
language: xx
edition: Spark NLP 4.1.0
spark_version: 3.... | {
"content_hash": "f5139296c63c90ada3f755dc5e49e98a",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 248,
"avg_line_length": 30.601941747572816,
"alnum_prop": 0.7319162436548223,
"repo_name": "JohnSnowLabs/spark-nlp",
"id": "b4c87e5c30c86024920f5523956900e3e270c1fa",
"siz... |
<?php
// show all the errors
error_reporting(E_ALL);
// the only file that needs including into your project
require_once 'Cassandra.php';
// list of seed servers to randomly connect to
// all the parameters are optional and default to given values
$servers = array(
array(
'host' => '127.0.0.1',
'port' => 9160,... | {
"content_hash": "6748b248c22c69bc9a6898d089f1cb95",
"timestamp": "",
"source": "github",
"line_count": 326,
"max_line_length": 108,
"avg_line_length": 33.941717791411044,
"alnum_prop": 0.6776321735201084,
"repo_name": "lekster/md_new",
"id": "fcc6f8dc1b3103b103f03c74edcbb27a05fb80e8",
"size": "110... |
#include <config.h>
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <pcsclite.h>
#include <ifdhandler.h>
#include "debug.h"
#include "ccid.h"
#include "defs.h"
#inc... | {
"content_hash": "7a5c682304f525189588da312461a94f",
"timestamp": "",
"source": "github",
"line_count": 708,
"max_line_length": 120,
"avg_line_length": 26.257062146892654,
"alnum_prop": 0.6110274341043572,
"repo_name": "GoogleChromeLabs/chromeos_smart_card_connector",
"id": "21a2fe843f71b6d86a5581764... |
<?php
namespace AthosHun\HTMLFilter;
class HTMLFilterTest extends \PHPUnit_Framework_TestCase
{
private $filter;
private $filter_config;
private $mb_substitute_character;
public function setUp()
{
$this->filter_config = new Configuration();
$this->filter = new HTMLFilter();
... | {
"content_hash": "f61eeb92e237cd679e501ddad089a222",
"timestamp": "",
"source": "github",
"line_count": 146,
"max_line_length": 79,
"avg_line_length": 26.97945205479452,
"alnum_prop": 0.5435389692815435,
"repo_name": "attilammagyar/html-filter",
"id": "d1914c9b2cfe8523cc2becf1d3643c460d386055",
"si... |
package com.commercetools.sunrise.ctp.client;
import com.commercetools.sunrise.framework.controllers.metrics.SimpleMetricsSphereClientProvider;
import com.google.inject.AbstractModule;
import io.sphere.sdk.client.SphereClient;
import io.sphere.sdk.client.SphereClientConfig;
import javax.inject.Singleton;
/**
* Modu... | {
"content_hash": "898ac78d013458f28f6588b960d41ae6",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 97,
"avg_line_length": 31.76,
"alnum_prop": 0.7292191435768262,
"repo_name": "commercetools/commercetools-sunrise-java",
"id": "32389817c989ed6a2214afa578cc8b50eade1d4a",
"... |
//jshint strict: false
module.exports = function(config) {
config.set({
basePath: './app',
files: [
'bower_components/angular/angular.js',
'bower_components/angular-route/angular-route.js',
'bower_components/angular-mocks/angular-mocks.js',
'componen... | {
"content_hash": "91e5af3931c481c5bd163392a11f2ee8",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 62,
"avg_line_length": 21.636363636363637,
"alnum_prop": 0.484593837535014,
"repo_name": "saaresto/saaresto.github.io",
"id": "8febba6a3ebd33842254c87a557857cd7e69a7af",
"s... |
namespace blink {
namespace EmulationAgentState {
static const char scriptExecutionDisabled[] = "scriptExecutionDisabled";
static const char touchEventEmulationEnabled[] = "touchEventEmulationEnabled";
static const char emulatedMedia[] = "emulatedMedia";
}
PassOwnPtrWillBeRawPtr<InspectorEmulationAgent> InspectorEmul... | {
"content_hash": "03acf396dc44b436c24a71a2ca7013cb",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 117,
"avg_line_length": 34.165217391304346,
"alnum_prop": 0.7742428098752864,
"repo_name": "Bysmyyr/chromium-crosswalk",
"id": "b879e210a53ca61c8e4d99d71e29def99eb73e62",
... |
from ..dojo_test_case import DojoTestCase, get_unit_tests_path
from dojo.tools.trustwave_fusion_api.parser import TrustwaveFusionAPIParser
from dojo.models import Test
class TestTrustwaveFusionAPIParser(DojoTestCase):
def test_parse_file_with_no_vuln_has_no_findings(self):
testfile = open(
get... | {
"content_hash": "a7b24e84fb8f7a7fc5d5a1beed800110",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 100,
"avg_line_length": 41.465753424657535,
"alnum_prop": 0.6484968615791212,
"repo_name": "rackerlabs/django-DefectDojo",
"id": "c3179033dd33b19600f7477793741e94bf8fa3bb",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__twoIntsStruct_calloc_54c.c
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-54c.tmpl.c
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: calloc Allocate data using calloc()
* GoodSource: Allocate data... | {
"content_hash": "b62483460b7d2adb12ac48ad235385d7",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 157,
"avg_line_length": 30.903846153846153,
"alnum_prop": 0.7324206596141879,
"repo_name": "maurer/tiamat",
"id": "d88fcc265547738c7f5c0134c1175bdfb1cad13f",
"size": "1607"... |
module EventHub
module Components
VERSION = "0.3.1"
end
end
| {
"content_hash": "e93373eef392e1fa5d603afcd576c951",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 21,
"avg_line_length": 13.6,
"alnum_prop": 0.6764705882352942,
"repo_name": "thomis/eventhub-components",
"id": "3f0f6cecebca17630e6e82d12137a6e80c7755ec",
"size": "68",
"... |
@import url(http://fonts.googleapis.com/css?family=Slabo+27px);
@import url(http://fonts.googleapis.com/css?family=Raleway:500,700,400);
/* === === === === Tool Box Theme Css === === === === */
body {
background: #282827 url('images/bg.png') repeat top left;
margin-top: 100px;
font-size: 14px;
font-family: 'Ra... | {
"content_hash": "23cf212cb184ca58f5185c49ce2c0c33",
"timestamp": "",
"source": "github",
"line_count": 531,
"max_line_length": 72,
"avg_line_length": 21.429378531073446,
"alnum_prop": 0.657702785833553,
"repo_name": "srinivaserukulla/toolbox",
"id": "710fc716f47fe5d9ed1d88488a566e1453b6dcae",
"siz... |
"""
Copyright (C) 2010-2013, Ryan Fan <ryan.fan@oracle.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program... | {
"content_hash": "94f12d3659b8416633cd8c9ab8b3c340",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 108,
"avg_line_length": 35.59119496855346,
"alnum_prop": 0.6149496377451846,
"repo_name": "rfancn/wxgigo",
"id": "77e1048da9cc794719964911b7bbf2dd86b86e2a",
"size": "5696"... |
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Общомедия</string>
<string name="menu_settings">Настройки</string>
<string name="username">Потребителско име</string>
<string name="password">Парола</string>
<string name="login">Влизане</string>
<string name="signup">Регистриране</s... | {
"content_hash": "8eb4384b3752e35648c58b64a0ae48c0",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 112,
"avg_line_length": 61.45652173913044,
"alnum_prop": 0.7357622921825256,
"repo_name": "tobias47n9e/apps-android-commons",
"id": "5d3a16b8bb2ad0c2c9bf9b5dbc4600bc5f2182e2"... |
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
class Archive {}
exports.Archive = Archive;
class StreamMap {
// Index of folder for each file.
// fileFolderIndex: Array<number>
toString() {
return `StreamMap, offsets of ${this.packStreamOffsets.length} packed strea... | {
"content_hash": "a6d233d83ba9b5948e22fe6a835b93c6",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 147,
"avg_line_length": 30.6,
"alnum_prop": 0.7058823529411765,
"repo_name": "erdanieee/imagePicker",
"id": "955400d7213086ef76a0453c741bd38d674f6d7b",
"size": "459",
"bi... |
module ActionGuard
class Role
attr_reader :level
def initialize(value, level)
@value = value
@level = level
end
def >=(other)
level <= other.level
end
def < (other)
level > other.level
end
def to_s
"Role(:#{@value})"
end
end
end
| {
"content_hash": "ec32a337172cf1106e6340e045ccda32",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 32,
"avg_line_length": 14.380952380952381,
"alnum_prop": 0.5397350993377483,
"repo_name": "rwestgeest/action-guard",
"id": "774a2f2cf7c483fd55026b6ddfffc0b79e62f720",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.