text stringlengths 2 1.04M | meta dict |
|---|---|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Axis2/C: axis2_async_result.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</... | {
"content_hash": "e4077ec946b262008938487b215d8559",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 489,
"avg_line_length": 80.81967213114754,
"alnum_prop": 0.6878296146044625,
"repo_name": "loentar/axis2c-unofficial",
"id": "430e421f38f38ae9bbb3d6699e08ed7452de9caa",
"si... |
<?php
namespace Strimoid\Http\Controllers\Content;
use Strimoid\Http\Controllers\BaseController;
class EmbedController extends BaseController
{
public function getEmbedCode($content): array
{
$embedCode = $content->getEmbed();
return ['status' => 'ok', 'code' => $embedCode];
}
}
| {
"content_hash": "8684e3a152273c1a5b430dd9e66bba29",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 56,
"avg_line_length": 20.8,
"alnum_prop": 0.6794871794871795,
"repo_name": "Strimoid/Strimoid",
"id": "4b39e89a4afd166a611a32be40550bcbbe116957",
"size": "312",
"binary"... |
package io.udash.web.guide.demos.rpc
import io.udash.web.guide.GuideExceptions
import io.udash.web.guide.demos.i18n.Translations
import scala.concurrent.Future
class ExceptionsServer extends ExceptionsRPC {
override def example(): Future[Unit] =
Future.failed(GuideExceptions.ExampleException("Exception from se... | {
"content_hash": "4e1d648bba35dc8446318aa9201f2949",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 96,
"avg_line_length": 35.8235294117647,
"alnum_prop": 0.8029556650246306,
"repo_name": "UdashFramework/udash-core",
"id": "f7366b0a28a100087f13174c8dba47b8e14edb37",
"size... |
Here I have provided an example of a bingo card you might create to go with watching a lot of crime shows. This example was created using the provided text file and the command:
```
python bingo.py -i example_input.txt -o example.pdf -t CRIME -f "Murder!"
```
| {
"content_hash": "b7e0d951e1a8ff5c8972c78e666dcf4e",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 177,
"avg_line_length": 52.2,
"alnum_prop": 0.7471264367816092,
"repo_name": "krellsarah/bingo-generator",
"id": "5bf7f5c734e9312bfb7df5985746ff38d110d736",
"size": "261",
... |
<<<<<<< HEAD
[Google App Engine Boilerplate](http://appengine.beecoss.com) [](http://travis-ci.org/coto/gae-boilerplate)
==============================
Sponsored by <a href="http://www.jetbrains.com/pycharm/" alt="Download PyCharm">
<img src="http... | {
"content_hash": "8068c54fa061c520e52095db9439b6b2",
"timestamp": "",
"source": "github",
"line_count": 192,
"max_line_length": 748,
"avg_line_length": 69.71875,
"alnum_prop": 0.7503361721201255,
"repo_name": "eugenewong/AirShare",
"id": "42f390b77160aaddcff5a48327169158a65b9361",
"size": "13388",
... |
// Copyright 2014 The Cockroach Authors.
//
// 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 ag... | {
"content_hash": "f0b3489db002eb5af885bf69bba234b2",
"timestamp": "",
"source": "github",
"line_count": 335,
"max_line_length": 104,
"avg_line_length": 31.594029850746267,
"alnum_prop": 0.7012471655328798,
"repo_name": "yosiat/cockroach",
"id": "405c4a5f476e95c57294b45d7b610bacb6113523",
"size": "1... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="ro">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:26 EEST 2014 -->
<title>Uses of Class net.sf.jasperreports.swing.JRViewerEvent (JasperReports 5.6.0 API)</title... | {
"content_hash": "e8ddb4f3d9481e0486690362d8328dab",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 394,
"avg_line_length": 46.333333333333336,
"alnum_prop": 0.6555445298933267,
"repo_name": "phurtado1112/cnaemvc",
"id": "1b2b78b87c7da7ac810dc24926284b02246989f3",
"size"... |
#import "NGMutateDocument.h"
@implementation NGMutateDocument
- (id) init {
if (self = [super init]) {
_documentOperations = [[NSMutableArray alloc] init];
}
return self;
}
+ (NGMutateDocument *) mutateDocument:(NSArray *)documentOperations {
NGMutateDocument *mutateDocumentInstance = [[[NGMutateDocument all... | {
"content_hash": "cad4f0e36345a94639d2fbcb88e16bda",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 90,
"avg_line_length": 21.457142857142856,
"alnum_prop": 0.748335552596538,
"repo_name": "lqi/ng-project",
"id": "3e6e4eb3950367cfc4f89b40b4e8bde0d8841918",
"size": "1352",... |
This is a sample [PlayN](http://code.google.com/p/playn/) Maven project. Created with Maven archetype.
##Running the sample game##
You need [Maven 3](http://maven.apache.org/) installed:
mvn install
Screenshot:

##Creating Ecplise project files##
mvn eclipse:eclipse -Ddownlo... | {
"content_hash": "3987c4e1247412d2af3128d49316a639",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 102,
"avg_line_length": 22.4375,
"alnum_prop": 0.7409470752089137,
"repo_name": "janih/playn_project",
"id": "6c53931868de7e7fc19c26015e7469a1b6f87ebf",
"size": "382",
"b... |
using namespace std;
using namespace Concurrency;
#define MAX_FILE_SIZE 10048576
#define FILE_DRIVE L"C:\\\\temp\\"
#define FILE_PATH L"PriorityTestFile.txt"
volatile bool bEnd = false;
void Write(HANDLE hFile, wchar_t marker);
wstring GetFileName(wchar_t marker)
{
wstring fileName(FILE_DRIVE);
fileName += marker... | {
"content_hash": "e4db5fb7b36fe3d363e8387b68edb8e5",
"timestamp": "",
"source": "github",
"line_count": 180,
"max_line_length": 124,
"avg_line_length": 26.483333333333334,
"alnum_prop": 0.73778057478498,
"repo_name": "alonf/Windows-Internals-Course-Materials",
"id": "4106f6a3c934eb63b828c7d1d25ed313e... |
package org.apache.beam.sdk.io.gcp.bigquery;
import com.google.api.services.bigquery.model.TableReference;
import com.google.api.services.bigquery.model.TimePartitioning;
import java.io.Serializable;
import java.util.Objects;
import javax.annotation.Nullable;
/**
* Encapsulates a BigQuery table destination.
*/
pu... | {
"content_hash": "d40dc2a66deaa14088bd943063e6706b",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 94,
"avg_line_length": 31.34259259259259,
"alnum_prop": 0.7559822747415067,
"repo_name": "tgroh/beam",
"id": "c499a414f774757c4761cf186e3d4c581cac6e8f",
"size": "4174",
... |
from twisted.application import service
from .dns import DNSService
from .restapi import webservice
class OrchestrationService(service.MultiService):
""" Handles starting and stopping. """
def __init__(self, conf):
service.MultiService.__init__(self)
self.conf = conf
self.dnsserver ... | {
"content_hash": "0e962479c48953de5e5fd50712089e6d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 57,
"avg_line_length": 28.764705882352942,
"alnum_prop": 0.6993865030674846,
"repo_name": "yaybu/callsign",
"id": "3e0d806678bcfe6c8bf8d73fbd2e18ae20a1243a",
"size": "490",... |
$stdout.sync = true
Lagotto::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# since you don't have... | {
"content_hash": "61499cba2a95e61c7916b5ce6afa6e01",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 102,
"avg_line_length": 32.90243902439025,
"alnum_prop": 0.7383246849518161,
"repo_name": "articlemetrics/lagotto",
"id": "d5cddc6b15618b1533a7bd9a7441c8e0a50cfdf8",
"size"... |
package cz.metacentrum.perun.wui.registrar.client.resources;
import com.google.gwt.core.client.GWT;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
/**
* Resources for PerunRegistrar WUI app.
*
* @author Ondřej Velíšek
* @author Pavel Zlámal <zlamal@cesnet.... | {
"content_hash": "5126821c6a42d14d8c4669b38ac10adc",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 78,
"avg_line_length": 19.682926829268293,
"alnum_prop": 0.7509293680297398,
"repo_name": "ondrejvelisek/perun-wui",
"id": "cb64bda70161e69bef1042903d1fd043b592f140",
"size... |
import expect from 'expect';
import ngReduxProvider from '../../src/components/ngRedux';
import { createStore, combineReducers } from 'redux';
describe('ngRedux provide store functionality', () => {
let ngRedux = {};
let $injector = {};
let $rootScope = {
$evalAsync: () => {},
$on: () => {}
}
befor... | {
"content_hash": "78821d17011e3b857f4451180bc3ba98",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 99,
"avg_line_length": 28.744444444444444,
"alnum_prop": 0.636644762272903,
"repo_name": "angular-redux/ng-redux",
"id": "9710e0896c763f10eb1be235476667ba975655b0",
"size":... |
/**
*/
package com.specmate.migration.test.changedtypes.testmodel.artefact.impl;
import com.specmate.migration.test.changedtypes.testmodel.artefact.ArtefactPackage;
import com.specmate.migration.test.changedtypes.testmodel.artefact.Sketch;
import com.specmate.migration.test.changedtypes.testmodel.base.BasePackage;
i... | {
"content_hash": "5f23f3476a13b3ff1fd5493eb515ccb5",
"timestamp": "",
"source": "github",
"line_count": 2040,
"max_line_length": 134,
"avg_line_length": 30.522549019607844,
"alnum_prop": 0.6739472585359586,
"repo_name": "junkerm/specmate",
"id": "bbf5e7c7993b263f26eccaa2022c4663e4f7df62",
"size": "... |
require 'slim'
require 'spec_helper'
describe Sinatra::Capture do
subject do
Sinatra.new do
enable :inline_templates
helpers Sinatra::Capture
end.new!
end
Tilt.prefer Tilt::ERBTemplate
extend Forwardable
def_delegators :subject, :capture, :capture_later
def render(engine, template)
... | {
"content_hash": "a8f5e27599593c47933778a2ce650ef3",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 73,
"avg_line_length": 20.41592920353982,
"alnum_prop": 0.5999133073255309,
"repo_name": "jkowens/sinatra",
"id": "7fd450a213ae7282ec9ba35cd224c590b1690822",
"size": "2335... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/Single_IO.iml" filepath="$PROJECT_DIR$/Single_IO.iml" />
<module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" />
<... | {
"content_hash": "25231938ed73901a832bf2cfe0f2949c",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 100,
"avg_line_length": 35.7,
"alnum_prop": 0.6498599439775911,
"repo_name": "whynottry/Signal_IO",
"id": "c8cc677f4c71f78126eb8ea524c94e3a779bfabe",
"size": "357",
"bina... |
// Copyright 2014 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.
#include "content/browser/media/capture/content_video_capture_device_core.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/callback_... | {
"content_hash": "0e030998019cf376341eeae2d6c10e68",
"timestamp": "",
"source": "github",
"line_count": 350,
"max_line_length": 80,
"avg_line_length": 36.011428571428574,
"alnum_prop": 0.6647096159949223,
"repo_name": "fujunwei/chromium-crosswalk",
"id": "5030f6d633005666cc4961f9d52ee99a1d698b20",
... |
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args... | {
"content_hash": "0c77f12bd08063c9a8290e480a7130e5",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 74,
"avg_line_length": 26.264150943396228,
"alnum_prop": 0.6199712643678161,
"repo_name": "PushAMP/strictdict3",
"id": "e173b2bc547a01838877e3d56c66695118e67280",
"size": "... |
@interface AGQueue ()
@property (strong, nonatomic) NSMutableArray *queueStorageArray;
@end
@implementation AGQueue
#pragma mark -
- (id)init
{
self = [super init];
if (self) {
_queueStorageArray = [[NSMutableArray alloc] init];
}
return self;
}
#pragma mark -
- (NSUInteger)count
{
retu... | {
"content_hash": "f6587c7b12c15718061e842de34fb42d",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 64,
"avg_line_length": 14.75609756097561,
"alnum_prop": 0.6462809917355372,
"repo_name": "andrewgarn/AGFoundation",
"id": "cbe4a46e6b86d361f8760f5f85f969758fd1dfeb",
"size"... |
package org.drip.assetbacked.borrower;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2017 Lakshmi Krishnamurthy
* Copyright (C) 2016 Lakshmi Krishnamurthy
*
* This file is part of DRIP, a free-software/open-source library for buy/side financial/trading... | {
"content_hash": "d2f2a58c6103b8dfcdf1cf42a58d4cd0",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 104,
"avg_line_length": 36.07058823529412,
"alnum_prop": 0.7341813437703849,
"repo_name": "lakshmiDRIP/DRIP",
"id": "e276d8107d3311040071d032b1ba5e193acb5a2b",
"size": "306... |
package eu.verdelhan.ta4j.indicators.simple;
import eu.verdelhan.ta4j.Decimal;
import static eu.verdelhan.ta4j.TATestsUtils.assertDecimalEquals;
import eu.verdelhan.ta4j.TimeSeries;
import eu.verdelhan.ta4j.mocks.MockTimeSeries;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
public... | {
"content_hash": "d07bb5261d4483f707b7020287dbf320",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 114,
"avg_line_length": 32.81818181818182,
"alnum_prop": 0.7331486611265005,
"repo_name": "ElMoe/ta4j",
"id": "4268e1eab3f8fc100df4ae97f16705f94f0cd374",
"size": "2270",
... |
GOOS=linux GOARCH=arm GOARM=7 go build -o rmc_armv7 main.go
GOOS=linux GOARCH=amd64 go build -o rmc_amd64 main.go
| {
"content_hash": "87bb29b5d78a4454991dbdbee6c86d38",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 59,
"avg_line_length": 57,
"alnum_prop": 0.7719298245614035,
"repo_name": "grafoo/utl",
"id": "70519b232a96dac5ccf3967dcb9131ba94709ab9",
"size": "135",
"binary": false,
... |
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/ec2/model/ResponseMetadata.h>
#include <aws/ec2/model/InternetGateway.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Xml
{
c... | {
"content_hash": "f3ed15ae691b4d995ae0605475a32a88",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 159,
"avg_line_length": 32.52127659574468,
"alnum_prop": 0.7288191036964344,
"repo_name": "JoyIfBam5/aws-sdk-cpp",
"id": "bcb88e714414cda4df5810c83c60f003396c005e",
"size":... |
using UnityEngine;
using System.Collections;
public class SwapCoolDownUpdate : MonoBehaviour
{
public GUIText GuiText;
public void UpdateText(float time)
{
if (time <= 0f)
{
GuiText.text = "Swap";
}
else
{
GuiText.text = time.ToString("0.0")... | {
"content_hash": "cbca5e19d7693c9fb8a59ce36cf04ab2",
"timestamp": "",
"source": "github",
"line_count": 19,
"max_line_length": 48,
"avg_line_length": 17.894736842105264,
"alnum_prop": 0.5323529411764706,
"repo_name": "alvin319/Nucleatron",
"id": "59b012b0faf6bf84852d57083ce618cbf9ea5cb2",
"size": "... |
package org.apache.hadoop.hbase.util;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.nio.ByteBuffer;
import org.apache.hadoop.hbase.classification.InterfaceAudience;
import com.google.common.annotations.VisibleForTesting;
/**
* The basic building block for the {@link... | {
"content_hash": "d3600e9c19d903a7bbce7469c4460e46",
"timestamp": "",
"source": "github",
"line_count": 305,
"max_line_length": 96,
"avg_line_length": 29.550819672131148,
"alnum_prop": 0.6503938755131476,
"repo_name": "SeekerResource/hbase",
"id": "9fff87256ffb4ca3d7ad38ba6fd0678bc9722386",
"size":... |
require 'state_machine'
class User < ActiveRecord::Base
include User::Completeness
include Shared::LocationHandler
# Include default devise modules. Others available are:
# :token_authenticatable, :encryptable, :lockable, :timeoutable and :omniauthable
# :validatable
devise :database_authenticatable, :regi... | {
"content_hash": "a21220a4d6d2c2a148c6dfabcb170951",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 184,
"avg_line_length": 35.25668449197861,
"alnum_prop": 0.6828454421355984,
"repo_name": "raksonibs/raimcrowd",
"id": "1c0a49d17b854466e7c14f8eb2ef63f24d8753e1",
"size": ... |
import os
from mongrey.migration import radicalspam
from ..base import RESOURCE_DIR
RS_MIGRATION_DIR = os.path.abspath(os.path.join(RESOURCE_DIR, 'rs-3.5.4-postfix-migration'))
def get_resource_path(filename):
return os.path.abspath(os.path.join(RS_MIGRATION_DIR, filename))
class RSMigrationTestCaseMixin:
... | {
"content_hash": "483b4a7796bc54f6b403ae8b7239899d",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 105,
"avg_line_length": 47.125,
"alnum_prop": 0.6837606837606838,
"repo_name": "radical-software/mongrey",
"id": "7be41c46f2fcd9a2644dcac0f6749a25d5592f1f",
"size": "3418",... |
package org.diirt.datasource;
import java.util.ArrayList;
import java.util.List;
/**
* A function that takes many inputs and creates a list with them.
*
* @author carcassi
*/
class ListOfFunction implements ReadFunction<List> {
List<ReadFunction> functions;
public ListOfFunction(List<ReadFunction> func... | {
"content_hash": "d54980c8b94db3e7252779b14ea85436",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 66,
"avg_line_length": 20.733333333333334,
"alnum_prop": 0.6527331189710611,
"repo_name": "berryma4/diirt",
"id": "382ab8051c745d74bbf2ba57f2cea02277cd2c61",
"size": "763",... |
namespace LV
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="dis... | {
"content_hash": "29fd42fbd4c3086576a91ca5eee45264",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 107,
"avg_line_length": 28.846153846153847,
"alnum_prop": 0.5528888888888889,
"repo_name": "timbodv/lv",
"id": "0d538b76b61e2831091187a80209699857141dc5",
"size": "1127",
... |
namespace iControl {
using System.Xml.Serialization;
using System.Web.Services;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System;
using System.Diagnostics;
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("wsdl", "2.0.50727.3038")]
[System.Diagnostics.DebuggerStepTh... | {
"content_hash": "b0cccb2e41b55958065cfae116cbe31c",
"timestamp": "",
"source": "github",
"line_count": 355,
"max_line_length": 161,
"avg_line_length": 42.96619718309859,
"alnum_prop": 0.6129286042090081,
"repo_name": "F5Networks/f5-icontrol-library-dotnet",
"id": "ad53d35d30e9bb62c1a58329c465af1e768... |
/**
* \file ConstDataBuffer.h
* \author Jason Fernandez
* \date 4/19/2018
*
* https://github.com/jfern2011/io_tools
*/
#ifndef __CONST_DATA_BUFFER_H__
#define __CONST_DATA_BUFFER_H__
#include <cstddef>
namespace net
{
/**
* A convenience class for handling a fixed-size buffer by
* wrapping a point... | {
"content_hash": "fc9cf81f9e6cfaf308927e9d65086b14",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 59,
"avg_line_length": 16.033898305084747,
"alnum_prop": 0.645877378435518,
"repo_name": "jfern2011/chess",
"id": "4ef65fddde0d23f60642eb6501363ea896b281b4",
"size": "946",... |
import { connect } from 'react-redux';
import CheckAuth from 'components/CheckAuth';
import { loginUser, registerUser } from 'actions/login';
import { updateMessage } from 'actions/snackbarMessage';
function mapStateToProps(store) {
return {
user: store.user || '',
snackbarMessage: store.snackbarMessage || '... | {
"content_hash": "223fcea9251cfd6fdc170dd458c6ce9d",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 73,
"avg_line_length": 31.714285714285715,
"alnum_prop": 0.7312312312312312,
"repo_name": "CaptainGlac1er/StudentHomeworkProject",
"id": "158846390b33fe01290d26185fa096b23bcb... |
package com.ifly.transporter.utils;
public class RedisUtil {
/**redis模块划分*/
//验证码模块
public static String Redis_Captcha ="captcha";
/**获取key值*/
public static String getCaptchaKey(String key){
return Redis_Captcha+":"+key;
}
}
| {
"content_hash": "67aea166497ab888b60cce8acfed7449",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 48,
"avg_line_length": 20.75,
"alnum_prop": 0.6746987951807228,
"repo_name": "zhangyiran0314/transporter",
"id": "b1ae901b265aa498c03402b8fc1188f2dfcd579a",
"size": "273",
... |
<?php
namespace Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs;
use Doctrine\ORM\EntityManager;
use Kunstmaan\UtilitiesBundle\Helper\Slugifier;
use Symfony\Component\Form\Extension\Core\Type\FormType;
use Symfony\Component\Form\Form;
use Symfony\Component\Form\FormFactoryInterface;
use Symfony\Component\Form\FormInter... | {
"content_hash": "4fd5258f7a1e76a45de3c0966ce9bbb6",
"timestamp": "",
"source": "github",
"line_count": 272,
"max_line_length": 97,
"avg_line_length": 21.658088235294116,
"alnum_prop": 0.5252079443218469,
"repo_name": "insiders/KunstmaanBundlesCMS",
"id": "442ed344790a5fb6576e439c99fe2b8404182a7c",
... |
import './StageInfo.css';
import { Component } from 'react';
import * as React from 'react';
import cardsNeeded from '../store/cardsNeeded';
class StageInfo extends Component<any, any> {
constructor(props: any, context: any) {
super(props, context);
this.state = {
showContinue: false
};
}
nu... | {
"content_hash": "1ffa66b7ac07a8e8b43ddef80a05f944",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 95,
"avg_line_length": 26.313953488372093,
"alnum_prop": 0.5815289438798056,
"repo_name": "flubstep/engvalues",
"id": "a24029ed1eeaf7e9fb2d4a8f950552c0472ffed9",
"size": "2... |
from django.core.management.base import NoArgsCommand, BaseCommand
from ffclub.newsletter.utils import generate_newsletter
class Command(BaseCommand):
help = 'Generate Newsletter Static Page'
option_list = NoArgsCommand.option_list
def handle(self, *args, **options):
issue = args[0]
gene... | {
"content_hash": "40ac030af300b1ea155fb5a3f0dc0813",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 66,
"avg_line_length": 28.5,
"alnum_prop": 0.7368421052631579,
"repo_name": "elin-moco/ffclub",
"id": "583ab7da288ca43a807c43f33c8b7fbe3a841b1b",
"size": "366",
"binary":... |
@implementation Wifts
@end
| {
"content_hash": "854671ac99d8741aaabceeabac09dd53",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 21,
"avg_line_length": 9.333333333333334,
"alnum_prop": 0.7857142857142857,
"repo_name": "tengyifei/wifts",
"id": "5c07e2ab4e44bb68109c3808ddbea9e30667eccb",
"size": "119",
... |
package com.sop4j.dbutils;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
/**
* Basic implementation of the <code>RowProcessor</code> interface.
*
* <p>
* This class is thr... | {
"content_hash": "08ae45efa16255cabaf4125836225714",
"timestamp": "",
"source": "github",
"line_count": 226,
"max_line_length": 93,
"avg_line_length": 35.7212389380531,
"alnum_prop": 0.6195961848135761,
"repo_name": "wspeirs/sop4j-dbutils",
"id": "b9a0db9c66db9f2725eea92a31562010fc766ef4",
"size": ... |
/**
* Module dependencies
*/
var _ = require('@sailshq/lodash');
var async = require('async');
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// FUTURE
// Pull _most of this_ into a separate module, since it's not specific
// to Sails, and has come up in a few different places.
// - - -... | {
"content_hash": "574936523512233963f99717f7135a68",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 163,
"avg_line_length": 31.301724137931036,
"alnum_prop": 0.6188377857339575,
"repo_name": "balderdashy/sails",
"id": "2f5bd6367a7e698505f312bcd590c1b3ae1f6e5c",
"size": "... |
require 'spec_helper'
extended = ActiveRecord::Base.extend(Neutral::Model::ActiveRecordExtension)
class Item < extended
neutral
end
class Client < extended
neutral_voter
end
describe Item, type: :model do
it { should be_a(Neutral::Model::ActiveRecordExtension::Voteable) }
before do
@migration = ActiveR... | {
"content_hash": "b128172fdc6777d0b64609e143be9494",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 75,
"avg_line_length": 20.06122448979592,
"alnum_prop": 0.6927772126144456,
"repo_name": "petertoth/neutral",
"id": "03abed4265768c4423903902165c8bdf6f5dd260",
"size": "983... |
// export the Config constructor
module.exports = Config;
/**
* Description...
*
* @constructor
*
* @param {Object} settings
*/
function Config(settings) {
if (settings !== void 0 && typeof settings !== "object") {
throw TypeError("Usage: Config(settings: Object)");
}
/**
* @type {Objec... | {
"content_hash": "3cf1049b4923b937cf9cb9734981a84d",
"timestamp": "",
"source": "github",
"line_count": 207,
"max_line_length": 101,
"avg_line_length": 27.864734299516908,
"alnum_prop": 0.5880721220527045,
"repo_name": "martin-pettersson/configjs",
"id": "1c7bc4ff394b0d216b1006b30de080c9ee09a4e8",
... |
define(["d3", "./LinearScale", "underscore"],
function(d3, LinearScale, _) {
"use strict";
var DateScale = LinearScale.LinearScale.extend({
render: function() {
this.scale = d3.time.scale();
if(this.model.domain.length > 0)
this.scale.domain(this.model.d... | {
"content_hash": "c16d81192cb3065793128be8b1c21a90",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 53,
"avg_line_length": 23.7,
"alnum_prop": 0.5189873417721519,
"repo_name": "rmenegaux/bqplot",
"id": "ca940849526a9b94a11034e0aa1e0a682dbe3bfd",
"size": "1076",
"binary"... |
function [alldiag]=diags_display(dirMat,setDiags,dirTex,nameTex);
% [alldiag]=DIAGS_DISPLAY(dirMat,setDiags,dirTex,nameTex)
% displays a set of diagnostics (setDiags) from the results
% stored (in [dirMat 'diags_set_' setDiags]).
%
% Further outputs the results to tex ([dirTex nameTex '.tex'])
% if dirTex ... | {
"content_hash": "fefcebccc84a0ab43bfdb08a9bcce77f",
"timestamp": "",
"source": "github",
"line_count": 280,
"max_line_length": 98,
"avg_line_length": 29.74642857142857,
"alnum_prop": 0.6345299555769,
"repo_name": "gaelforget/gcmfaces",
"id": "7b3bc7199f07e73bffda50d9854bdb60f9bc28b7",
"size": "832... |
<?php
declare(strict_types=1);
namespace Propel\Generator\Config;
use Propel\Runtime\Propel;
/**
* Runtime configuration converter
* From array to PHP string
*/
class ArrayToPhpConverter
{
/**
* Create a PHP configuration from an array
*
* @param array $c The array configuration
*
... | {
"content_hash": "0d26104fd0c5fb271979a68c846fa754",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 121,
"avg_line_length": 32.65040650406504,
"alnum_prop": 0.5062250996015937,
"repo_name": "propelorm/Propel3",
"id": "7669014e185b357d9a9ac2ea577539b579fe1727",
"size": "4... |
package com.reisen.danmulib.sprite;
import com.reisen.danmulib.interfaces.Bullet;
/**
* 点弹
*
* @author Reisen at 2017-08-29
*/
public class PointBullet extends com.reisen.danmulib.sprite.Bullets implements Bullet {
public PointBullet() {
super(0,0,0,0);
}
public PointBullet(float x, float y... | {
"content_hash": "4cb93ae259f612ae8a498bc72583b236",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 118,
"avg_line_length": 26.048387096774192,
"alnum_prop": 0.6074303405572755,
"repo_name": "ReisenZ/AndroidDanmu",
"id": "195f187117ec9bd8c909291271ca560f06cc9814",
"size":... |
<button type="button" id="attach">attachEvent</button><button type="button" id="addE">addEventListener</button><button
type="button" id="byclick">onClick</button>
<br>
INFO :
<div id="info"></div> | {
"content_hash": "061df69143633a92b922eee3b8c394e9",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 118,
"avg_line_length": 40,
"alnum_prop": 0.705,
"repo_name": "dota8/dota8.github.io",
"id": "c2bba41b97e8de2724494978ddc56783f82f8d6b",
"size": "200",
"binary": false,
... |
package org.apache.camel.component.google.bigquery.sql;
import com.google.api.services.bigquery.Bigquery;
import org.apache.camel.Consumer;
import org.apache.camel.Processor;
import org.apache.camel.Producer;
import org.apache.camel.spi.UriEndpoint;
import org.apache.camel.spi.UriParam;
import org.apache.camel.suppor... | {
"content_hash": "bcc5208db940201d40058f05dcdc9713",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 120,
"avg_line_length": 43.60344827586207,
"alnum_prop": 0.7516805061289047,
"repo_name": "mcollovati/camel",
"id": "ab40d5e1eb8702ddf30ffb7c002de8a79c97cfc0",
"size": "333... |
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.7"/>
<installed facet="jst.web" version="2.5"/>
<installed facet="wst.jsdt.web" version="1.0"/>
<installed facet="com.sap.ide.ui5.app.facet" version="latest"/>
</faceted-project>
| {
"content_hash": "0b53b3718f5564886f21726769a17a17",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 65,
"avg_line_length": 38.875,
"alnum_prop": 0.6688102893890675,
"repo_name": "todorovski-vasil/sapui5-exploration",
"id": "5eeb4b7702f201b103dce573398ed8fed11794bf",
"size"... |
var router = require('koa-router');
module.exports = function(app){
//user module
var user_router = new router();
user_router.prefix('/api/user');
require('./user')(user_router);
app.use(user_router.routes());
//activity module
var activity_router = new router();
activity_router.prefix... | {
"content_hash": "db9fca5e3503af7182ba6a67fb801679",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 50,
"avg_line_length": 28.696969696969695,
"alnum_prop": 0.6346356916578669,
"repo_name": "trillers/mt",
"id": "54004e88e4e09cc3fb574a746a81082333c9d484",
"size": "947",
... |
package com.netflix.priam.notification;
import com.amazonaws.services.sns.AmazonSNS;
import com.amazonaws.services.sns.AmazonSNSClient;
import com.amazonaws.services.sns.model.MessageAttributeValue;
import com.amazonaws.services.sns.model.PublishRequest;
import com.amazonaws.services.sns.model.PublishResult;
import c... | {
"content_hash": "8f89ccdfc1456878e22bb2c04d73fa58",
"timestamp": "",
"source": "github",
"line_count": 92,
"max_line_length": 135,
"avg_line_length": 39.51086956521739,
"alnum_prop": 0.6382393397524071,
"repo_name": "Netflix/Priam",
"id": "61bcd91f3729c63eba438d9a237f892a60faf7dd",
"size": "4230",... |
//===--- DeclContext.cpp - DeclContext implementation ---------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | {
"content_hash": "ab17997b7fb4a5850126cd1ba49124cb",
"timestamp": "",
"source": "github",
"line_count": 1388,
"max_line_length": 94,
"avg_line_length": 32.36671469740634,
"alnum_prop": 0.6815581524763494,
"repo_name": "ahoppen/swift",
"id": "92bef88e4d371c5e22c9f861e84ea407ada17284",
"size": "44925... |
Many users would like to deploy TensorFlow lite interpreter and use it from
Python without requiring the rest of TensorFlow.
## Steps
To build a binary wheel run this script:
```sh
sudo apt install swig libjpeg-dev zlib1g-dev python3-dev python3-numpy
sh tensorflow/lite/tools/make/download_dependencies.sh
sh tensorf... | {
"content_hash": "eb5f5311ebed0e9c31e0adfb6f15c5bf",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 91,
"avg_line_length": 30.818181818181817,
"alnum_prop": 0.7851524090462143,
"repo_name": "gunan/tensorflow",
"id": "dac8ce02ca10366a678e06cff9cf7c079d34d600",
"size": "207... |
package org.jboss.netty.handler.stream;
import static org.jboss.netty.buffer.ChannelBuffers.*;
import java.nio.ByteBuffer;
import java.nio.channels.ReadableByteChannel;
import org.jboss.netty.buffer.ChannelBuffer;
/**
* A {@link ChunkedInput} that fetches data from a {@link ReadableByteChannel}
* chunk by chunk.... | {
"content_hash": "780e3a4215dfb183db8b398f29d3750c",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 92,
"avg_line_length": 28.43103448275862,
"alnum_prop": 0.5800485142510613,
"repo_name": "aperepel/netty",
"id": "c07a90cb4a4d8c99f89b9d9af62063557931e3b7",
"size": "3921"... |
class Chef
class Resource
class File
class Verification
#
# Extends File verification to provide Json verification
#
# Example:
# file 'foo.json' do
# content '{"foo": "bar"}'
# verify :json
# end
#
#
class Json < ... | {
"content_hash": "a5397f2cabd44e1e4a0285cf52e74185",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 76,
"avg_line_length": 21.65625,
"alnum_prop": 0.49783549783549785,
"repo_name": "MsysTechnologiesllc/chef",
"id": "cb814a68390334975f77b97a0c4af4731516cb67",
"size": "1399... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Medical mycology. Fungous diseases of men and other mammals 229 (1935)
#### Original name
Monilia pseudoalbicans Neveu-Lem.
### Remarks
null | {
"content_hash": "147fcc53a5482b57f87768d4212cece3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 70,
"avg_line_length": 15.692307692307692,
"alnum_prop": 0.7450980392156863,
"repo_name": "mdoering/backbone",
"id": "9a370e89b56ca3f772e65e195ee420daebe116ab",
"size": "27... |
import demistomock as demisto
from CommonServerPython import *
from copy import copy
from functools import lru_cache
from urllib.parse import urlencode
from urllib3 import disable_warnings
from requests.exceptions import HTTPError
from requests import Response
from typing import Callable, Iterable, Optional, List, Unio... | {
"content_hash": "774920f01ff64e2f1d36f17f09b43be5",
"timestamp": "",
"source": "github",
"line_count": 1110,
"max_line_length": 262,
"avg_line_length": 45.074774774774774,
"alnum_prop": 0.5867527431894949,
"repo_name": "VirusTotal/content",
"id": "6d64e38dab908c95dfb552a1df9ba6c19f9bc33e",
"size":... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "45d7bbf49b14fa37706b1f578fe6bee0",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "1bdf4c0fff2418381989db41c5d4014aeb4a9b20",
"size": "179... |
from setuptools import setup, find_packages
setup(
name='fast_mc',
description='A collection of Monte Carlo Samplers',
author='Sreekumar Thaithara Balan',
author_email='tbs1980@gmail.com',
version='0.0.1',
packages=find_packages(exclude=['doc', 'tests*']),
install_requires=[
'numpy'... | {
"content_hash": "57e32da3f11565eb7d884eefe102eae7",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 55,
"avg_line_length": 23.3125,
"alnum_prop": 0.6219839142091153,
"repo_name": "tbs1980/fast-mc",
"id": "90212e3828b6606c3c5626eb4c7b126579bda91e",
"size": "373",
"binary... |
package pl.jakubchmura.snmp.mib.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import static pl.jakubchmura.snmp.mib.psi.SmiTypes.*;
import pl... | {
"content_hash": "271d86053f36b3188bac520d09e60941",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 115,
"avg_line_length": 27.745098039215687,
"alnum_prop": 0.7795053003533569,
"repo_name": "jchmura/MibPlugin",
"id": "0b772d1845c4db5886435e713f71253e596c3d46",
"size": "1... |
using namespace arangodb;
using namespace arangodb::replication2;
using namespace arangodb::replication2::agency;
using namespace arangodb::replication2::replicated_log;
using namespace arangodb::basics;
using namespace arangodb::tests;
TEST(LogCommonTest, log_id) {
auto id = LogId{42};
VPackBuilder builder;
se... | {
"content_hash": "94e043a3495d7a137d8be20b95046e8f",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 76,
"avg_line_length": 31.151685393258425,
"alnum_prop": 0.6804328223624887,
"repo_name": "wiltonlazary/arangodb",
"id": "6e656ccbeb30308b2f7df33d7867b59036c2104b",
"size"... |
namespace soothsayer.Scripts
{
public static class ScriptFolders
{
public static readonly string Init = "init";
public static readonly string Up = "up";
public static readonly string Down = "down";
public static readonly string Term = "term";
}
}
| {
"content_hash": "d26f30df4a65a6b613ca4e881f80eef7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 52,
"avg_line_length": 29.2,
"alnum_prop": 0.6438356164383562,
"repo_name": "paybyphone/soothsayer",
"id": "1f424a6ae209a7892ecf307eb0f2bdc07fb84c18",
"size": "294",
"bin... |
<?php
namespace Icecave\Exie\Input;
use Icecave\Isolator\IsolatorTrait;
class StreamInput implements InputInterface
{
use IsolatorTrait;
/**
* @param stream $stream
* @param integer $readSize
*/
public function __construct($stream, $readSize = 8192)
{
$this->stream = $stream;
... | {
"content_hash": "f906d646fc3b7f8acb192020b1dd8436",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 72,
"avg_line_length": 18.42105263157895,
"alnum_prop": 0.5714285714285714,
"repo_name": "IcecaveStudios/exie",
"id": "4580798cba8f0dc18ecacadfb940181bd28352c6",
"size": "7... |
#include <linux/pm.h>
#include <linux/suspend.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/spinlock.h>
#include <asm/cacheflush.h>
#include <asm/delay.h>
#include <asm/io.h>
#include <mach/common.h>
#include <mach/da8xx.h>
#include <mach/sram.h>
#include <ma... | {
"content_hash": "8f9d8ec3041813d586e2920442718305",
"timestamp": "",
"source": "github",
"line_count": 150,
"max_line_length": 71,
"avg_line_length": 23.713333333333335,
"alnum_prop": 0.6755692999718864,
"repo_name": "publicloudapp/csrutil",
"id": "07e23ba61f3ac3df52782455e850068128267bec",
"size"... |
<?php
namespace Magento\CatalogInventory\Model\ResourceModel\Stock;
use Magento\Framework\Data\AbstractCriteria;
/**
* Class StockCriteria
*/
class StockCriteria extends AbstractCriteria implements \Magento\CatalogInventory\Api\StockCriteriaInterface
{
/**
* @param string $mapper
*/
public functi... | {
"content_hash": "d2fe4e5c60908e44b95efaf3d088d55c",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 108,
"avg_line_length": 25.047619047619047,
"alnum_prop": 0.6463878326996197,
"repo_name": "j-froehlich/magento2_wk",
"id": "3630fb592ceb4b4fb2a9a1a600ad63e002a32068",
"siz... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "07b57b40e49287f2037292c279cd2f27",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "066a1ec6a938553078cb7cc2a72d42192b36133e",
"size": "173... |
"""
Created on 20 May, 2011
This module shows how you can use vensim models directly
instead of coding the model in Python. The underlying case
is the same as used in fluExample
.. codeauthor:: jhkwakkel <j.h.kwakkel (at) tudelft (dot) nl>
epruyt <e.pruyt (at) tudelft (dot) nl>
"""
import numpy as np
... | {
"content_hash": "8b822d1dccffcb1a6b577ed76a88873c",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 95,
"avg_line_length": 31.62295081967213,
"alnum_prop": 0.6811819595645412,
"repo_name": "quaquel/EMAworkbench",
"id": "735d818927b0196cf82799ce5653252bc7795a8e",
"size": "... |
require 'chef/recipe'
require 'chef/resource'
require 'chef/provider'
class Chef
module Consul
require_relative 'consul/node'
require_relative 'consul/version'
end
end
| {
"content_hash": "be606e13d4b04e42f1e1e43881e77162",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 37,
"avg_line_length": 18.1,
"alnum_prop": 0.7458563535911602,
"repo_name": "samdunne/chef-consul",
"id": "db57eca3fdc7c90bc668490713571280b7a35959",
"size": "780",
"bina... |
//THis module is the entry point of our application and below code helps
//helps bootstrap the Angular application
/*require("core-js/shim"); // polyfills the browser with any missing modern features
import 'zone.js/dist/zone'; // required by angular
import { platformBrowserDynamic } from '@angular/platform-browser-... | {
"content_hash": "6c4e0e745eac07ce0b31f82053a3ca64",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 84,
"avg_line_length": 35.38461538461539,
"alnum_prop": 0.7630434782608696,
"repo_name": "coolchem/myTodoAngularApp1",
"id": "54f73623ef5122f0d3c1a8c2e94aa086434dcb94",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "a09a1e31e18251f547c043e961669e23",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "e6844baf2d72801e62edb55edace29c783303663",
"size": "190... |
(function ($) {
//number aliases
$.extend($.inputmask.defaults.aliases, {
'decimal': {
mask: "~",
placeholder: "",
repeat: "*",
greedy: false,
numericInput: false,
isNumeric: true,
digits: "*", //number of fractionalDig... | {
"content_hash": "fc2f6d9892ed45d002d83e0deb632fe3",
"timestamp": "",
"source": "github",
"line_count": 169,
"max_line_length": 226,
"avg_line_length": 52.349112426035504,
"alnum_prop": 0.4413925624505482,
"repo_name": "rachwal/BreezeWWW",
"id": "997a83f3a31c2752c8f4703f76455a11de685026",
"size": "... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="lang:clipboard.copy" content="Copy to clipboard">
<meta name="lang... | {
"content_hash": "038bf1670287dc2ac46ea557a7d554c8",
"timestamp": "",
"source": "github",
"line_count": 447,
"max_line_length": 999,
"avg_line_length": 41.266219239373605,
"alnum_prop": 0.6043586685460263,
"repo_name": "statsmodels/statsmodels.github.io",
"id": "db91a25450591349f4e6989c5a96c92729f471... |
import React from "react";
import css from "../../../css/portal-dashboard/count-container.less";
interface IProps {
numItems: number;
containerLabel: string;
containerLabelType?: string;
}
export class CountContainer extends React.PureComponent<IProps> {
render() {
const { numItems, containerLabel, contain... | {
"content_hash": "6eca99f1d3db92cc1401f3115e96b2c7",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 108,
"avg_line_length": 34.44,
"alnum_prop": 0.6527293844367015,
"repo_name": "concord-consortium/portal-report",
"id": "6ce0caa7ed49c2661f9f3f3bac25eafd2085dc8a",
"size": ... |
module Author
VERSION = "1.2.0.alpha"
end
| {
"content_hash": "945f2b16fafc5b6795486e1f711a92f4",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 25,
"avg_line_length": 14.666666666666666,
"alnum_prop": 0.6818181818181818,
"repo_name": "tschmidt/author",
"id": "c3432ce6b0dd503b1a4aa9515642196194174074",
"size": "44",
... |
//
// ZNBWebViewController.h
// ZNBCos
//
// Created by mac on 2017/7/10.
// Copyright © 2017年 CoderZNBmm. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZNBWebViewController : UIViewController
/** URL */
@property (nonatomic, copy) NSString *url;
/** source */
@property (nonatomic, copy) NSString *so... | {
"content_hash": "6d03edaba61fe00dce84855aeb8dec4c",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 54,
"avg_line_length": 20.6875,
"alnum_prop": 0.6948640483383686,
"repo_name": "ZNBmm/WeChat",
"id": "421c1345d4eddba90dc39c053da126fe4e75a46f",
"size": "334",
"binary": ... |
package swarm.shared.structs;
import java.util.ArrayList;
import swarm.shared.app.BaseAppContext;
import swarm.shared.app.S_CommonApp;
import swarm.shared.account.E_SignUpValidationError;
import swarm.shared.account.I_SignUpCredentialValidator;
import swarm.shared.account.S_Account;
import swarm.shared.json.A_JsonEnc... | {
"content_hash": "34c1f843fa38a8ba907b089673a040a0",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 142,
"avg_line_length": 20.7109375,
"alnum_prop": 0.6838928706148624,
"repo_name": "dougkoellmer/swarm",
"id": "2860e69557d770b57133dee3f2e36eb9b3f65ac4",
"size": "5302",
... |
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('content', '0002_source_youtube_id'),
]
operations = [
migrations.AlterField(
model_name='video',
name='id',
fiel... | {
"content_hash": "59e26adf0b075032fe938a5df3930ee7",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 85,
"avg_line_length": 24.464285714285715,
"alnum_prop": 0.5445255474452555,
"repo_name": "zee93/yt_lab",
"id": "d3d2988edf1a365eaf7d281276f3cb0143a47c53",
"size": "758",
... |
#ifndef LIBAOUT_H
#define LIBAOUT_H
/* We try to encapsulate the differences in the various a.out file
variants in a few routines, and otherwise share large masses of code.
This means we only have to fix bugs in one place, most of the time. */
#include "bfdlink.h"
/* Macros for accessing components in an ao... | {
"content_hash": "db8c5846f5a187cf6f8eb455a1975b0a",
"timestamp": "",
"source": "github",
"line_count": 668,
"max_line_length": 80,
"avg_line_length": 33.77994011976048,
"alnum_prop": 0.6514513627298915,
"repo_name": "timfel/squeakvm",
"id": "5b6424c7094a086b3f150b6383f55a063998ed0a",
"size": "2350... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: ... | {
"content_hash": "db1e5aecd51514da81a2c14eff6e9893",
"timestamp": "",
"source": "github",
"line_count": 179,
"max_line_length": 126,
"avg_line_length": 33.06703910614525,
"alnum_prop": 0.607704004054739,
"repo_name": "digital-antiquity/repo-metadata",
"id": "16faae3cf58cc514e148dcc45497cf85282e473d",... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "4b8992e6f83b3093560ed21ff962aa8c",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "5d66948aa9c4d3470a4fc40eada1dacbc3bfd219",
"size": "180... |
package com.amazonaws.services.outposts.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see <a href="http://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetSite" target="_top">AWS API
* Documentation</a>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
publi... | {
"content_hash": "10fbe612c7be2c1dac9d991eb4e63f0e",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 140,
"avg_line_length": 26.322916666666668,
"alnum_prop": 0.591610605461021,
"repo_name": "aws/aws-sdk-java",
"id": "2d45c6803cb4b679a9ab7eed7f65ab29036714a6",
"size": "310... |
<?php
// php-export-data by Eli Dickinson, http://github.com/elidickinson/php-export-data
/**
* ExportData is the base class for exporters to specific file formats. See other
* classes below.
*/
abstract class ExportData {
protected $exportTo; // Set in constructor to one of 'browser', 'file', 'string'
protected ... | {
"content_hash": "b93239b5eac3fa5c7c53016585d5ce62",
"timestamp": "",
"source": "github",
"line_count": 244,
"max_line_length": 285,
"avg_line_length": 30.299180327868854,
"alnum_prop": 0.6381712430677668,
"repo_name": "benohead/kanban_board",
"id": "fe3746e097224c93c5ca0458793c33c5d01be53f",
"size... |
<component name="libraryTable">
<library name="design-24.1.1">
<ANNOTATIONS>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/24.1.1/annotations.zip!/" />
</ANNOTATIONS>
<CLASSES>
<root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/... | {
"content_hash": "fb2a5202d777bca4299290f1a096afcf",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 131,
"avg_line_length": 47.4,
"alnum_prop": 0.6765119549929677,
"repo_name": "yinhuagithub/MaleAmbry",
"id": "b8273197dd90be6a1e14f754ffcb105144539fbe",
"size": "711",
"b... |
/*
* @author max
*/
package com.intellij.codeInsight.daemon.impl;
import com.intellij.codeInsight.CodeInsightBundle;
import com.intellij.codeInsight.daemon.DaemonBundle;
import com.intellij.codeInsight.daemon.GutterIconNavigationHandler;
import com.intellij.codeInsight.navigation.ListBackgroundUpdaterTask;
import ... | {
"content_hash": "f7772369b555a34dabb9075da54b1f81",
"timestamp": "",
"source": "github",
"line_count": 473,
"max_line_length": 252,
"avg_line_length": 48.71247357293869,
"alnum_prop": 0.7106896402065882,
"repo_name": "mglukhikh/intellij-community",
"id": "3607ad6a1dcf0b97a06b9c38ec20cb5d95a89fe9",
... |
package org.osgi.service.transaction.control;
import org.osgi.annotation.versioning.ProviderType;
/**
* An Exception indicating that there was a problem with starting, finishing,
* suspending or resuming a transaction
*/
@ProviderType
public class TransactionException extends RuntimeException {
/**
* Creates ... | {
"content_hash": "59307bddea5fdce2003e3b4765234dc5",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 77,
"avg_line_length": 22.38235294117647,
"alnum_prop": 0.7503285151116952,
"repo_name": "osgi/osgi",
"id": "e41fc1153791f9b908a140066a743a37704ba786",
"size": "1580",
"b... |
import React from 'react';
export default function SalesGraph() {
return (
<div className="box box-solid bg-teal-gradient">
<div className="box-header">
<i className="fa fa-th"></i>
<h3 className="box-title">Sales Graph</h3>
<div className="box-tools pull-right">
<button... | {
"content_hash": "95922c02ab1be36fd7515b24c60e6c7d",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 77,
"avg_line_length": 27.765432098765434,
"alnum_prop": 0.45042240995998223,
"repo_name": "ucokfm/admin-lte-react",
"id": "2909e20840383dc2a60ea578eca424ee49999002",
"size... |
<?php
declare(strict_types=1);
namespace Sonata\AdminBundle\Filter;
use Symfony\Component\Form\Extension\Core\Type\TextType;
/**
* @author Thomas Rabaix <thomas.rabaix@sonata-project.org>
*/
abstract class Filter implements FilterInterface
{
/**
* @var string|null
*/
protected $name = null;
... | {
"content_hash": "806f48e26c74903ffefdbe623a99754a",
"timestamp": "",
"source": "github",
"line_count": 210,
"max_line_length": 131,
"avg_line_length": 21.385714285714286,
"alnum_prop": 0.5486528612781117,
"repo_name": "ARTACK/SonataAdminBundle",
"id": "e06a5a78bac8b1ccc8362ba17f005c351fa81b67",
"s... |
package srebrinb.compress.sevenzip;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
public class CLI {
private static final byte[] BUF = new byte[8192];
private static enum Mode {
LIST("Analysing") {
@Override
public void takeAction(final Se... | {
"content_hash": "0ec3c4ce6f7dde553a39ceb27c3bc682",
"timestamp": "",
"source": "github",
"line_count": 130,
"max_line_length": 94,
"avg_line_length": 37.89230769230769,
"alnum_prop": 0.45594803085667884,
"repo_name": "srebrinb/jSevenZip",
"id": "8e52208913d2491f885a46295d306a6297a80da2",
"size": "... |
use super::Timestamp;
use std::os::unix::io::AsRawFd;
pub fn set_creation_time(_file: &File, _time: Timestamp) -> Result<(), ()>{
unimplemented!()
}
pub fn set_last_access_time(_file: &File, _time: Timestamp) -> Result<(), ()> {
unimplemented!()
}
pub fn set_last_modification_time(_file: &File, _time: Times... | {
"content_hash": "85f0f009f57434636fc7cbd946286563",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 85,
"avg_line_length": 24.6,
"alnum_prop": 0.6178861788617886,
"repo_name": "DarkEld3r/filesystem_time",
"id": "3ee6609a2be508a35a32e6ab6fbfedd1ec233d2e",
"size": "369",
... |
title: Perl Profiler
date: 2014-05-11T11:01:20+00:00
layout: post
---
<pre class="brush: bash">cpanm Devel::NYTProf Devel::SizeMe
cpanm Devel::Cover DBI::Profile
perl -d:NYTProf split_chinese_word.pl d.txt m.txt2
nytprofhtml nytprof.out
cd nytprof
open index.html
</pre>
| {
"content_hash": "557beadef3fc0bd4e7fbbd743c169e64",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 59,
"avg_line_length": 22.75,
"alnum_prop": 0.7509157509157509,
"repo_name": "chengang/chengang.github.io",
"id": "d3287954e655e533fe19dacd31b9b284c946640b",
"size": "277",... |
"""Excel Filelist.
Created 2015 Caleb Ely
<http://CodeTriangle.me/>
Licensed under The MIT License
<http://opensource.org/licenses/MIT/>
"""
import os
from cx_Freeze import (setup, Executable)
# Output folder
destfolder = "bin"
# Create the freeze path if it doesn't exist
if not os.path.exists(destfolder):
... | {
"content_hash": "ac9b31eeffee163b89eb4925b415326f",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 71,
"avg_line_length": 18.76923076923077,
"alnum_prop": 0.6734972677595629,
"repo_name": "le717/Excel-Filelist",
"id": "4d360048548ef65274e25a6958ebb8b0d4f577ea",
"size": "... |
using System;
using NUnit.Framework;
using PicklesDoc.Pickles.ObjectModel;
using PicklesDoc.Pickles.TestFrameworks;
using NFluent;
namespace PicklesDoc.Pickles.Test.TestFrameworks
{
[TestFixture]
class WhenParsingCucumberJsonResultsFile : WhenParsingTestResultFiles<CucumberJsonResults>
{
public... | {
"content_hash": "69cd14a224da2ec6b3124414e5bc61cb",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 94,
"avg_line_length": 30.88888888888889,
"alnum_prop": 0.6336073997944501,
"repo_name": "irfanah/pickles",
"id": "2e9f6f94b6cb04146ca0a0982ceb682a59af591f",
"size": "1948"... |
package org.sleuthkit.autopsy.contentviewers;
import java.awt.Component;
import java.awt.Cursor;
import java.text.MessageFormat;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ExecutionException;
import java.util.logging.Level;
import java.util.stream.Stream;... | {
"content_hash": "804449ad4e93faaece43d13ad392e549",
"timestamp": "",
"source": "github",
"line_count": 476,
"max_line_length": 186,
"avg_line_length": 45.96008403361345,
"alnum_prop": 0.6077158659779678,
"repo_name": "rcordovano/autopsy",
"id": "7087d86c926a455cbc5f66756543bbdcbf5edff7",
"size": "... |
package com.kotcrab.vis.editor.ui.scene.entityproperties.specifictable;
import com.artemis.Entity;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.utils.Array;
import com.kotcrab.vis.editor.proxy.EntityProxy;
import com.kotcrab.vis.editor.ui.scene.entityproperties.IndeterminateCheckbox;
import com.ko... | {
"content_hash": "a9e476d721f908df68ea2d55b3669b41",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 130,
"avg_line_length": 35.166666666666664,
"alnum_prop": 0.7792259083728278,
"repo_name": "billy1380/VisEditor",
"id": "f7f8bf3dd859722573217426d1dde96a3f0f67d6",
"size": ... |
package de.fau.cs.mad.yasme.android;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import android.widget.EditText;
import android.widget.ImageView;
/**
* Created by robert on 03.10.14.
*/
public cla... | {
"content_hash": "4e790a40b1f7ef1ecf925ab8a4746709",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 92,
"avg_line_length": 27.25,
"alnum_prop": 0.6461336828309305,
"repo_name": "FAU-Inf2/yasme-android",
"id": "b523b68e11db2a5f3875f4761e23989822900430",
"size": "1526",
"... |
FROM balenalib/nuc-debian:buster-run
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
curl \
\
# .NET Core dependencies
libc6 \
libgcc1 \
libgssapi-krb5-2 \
libicu57 \
liblttng-ust0 \
libssl1.0.2 \
... | {
"content_hash": "7c7865c9e3ffe3a80482c2ff24313d3d",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 694,
"avg_line_length": 53.895833333333336,
"alnum_prop": 0.7039041360649401,
"repo_name": "nghiant2710/base-images",
"id": "f08cc74a3659ae2375c7e9a0ed430d6d2f324344",
"siz... |
TEMPLATE_EXTENSIONS = [
".html",
".htm",
]
PYTHON_SOURCE_EXTENSIONS = [
".py",
]
TEMPLATE_ENCODING = "UTF-8"
PYTHON_ENCODING = "UTF-8"
# Method
# ======
# Find templates:
# - template dirs
# - installed apps
#
# Search for POST forms
# - Work out what the name of the template is, as it would... | {
"content_hash": "bd89d46d433a94941f52dc8dd4aa8599",
"timestamp": "",
"source": "github",
"line_count": 288,
"max_line_length": 105,
"avg_line_length": 33.920138888888886,
"alnum_prop": 0.5963762923533626,
"repo_name": "leereilly/django-1",
"id": "0e13163b4f7e82f208c7e591cba0bbe0e7020a18",
"size": ... |
<?xml version='1.0' encoding='UTF-8'?>
<project>
<actions/>
<description>Spring boot sample</description>
<keepDependencies>false</keepDependencies>
<properties>
<com.nirima.jenkins.plugins.docker.DockerJobProperty plugin="docker-plugin@0.10.0">
<tagOnCompletion>false</tagOnCompletion>
<addition... | {
"content_hash": "1e1ce2d36ae26c1b5a4053dae883afa0",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 87,
"avg_line_length": 35.083333333333336,
"alnum_prop": 0.7040380047505939,
"repo_name": "ThibautGery/software-factory",
"id": "c7702d5304b6859e3c359fb69e2167f53d72dd58",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>coinduction: Not compatible 👼</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min... | {
"content_hash": "41dae0f8bfd6476cfe0041ad2e76ffaf",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 168,
"avg_line_length": 40.810344827586206,
"alnum_prop": 0.5525982256020279,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "f64e7cbe2d0a9b9c6a786a8e10aafe8d37f36934",... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.