text stringlengths 2 1.04M | meta dict |
|---|---|
<div class="container">
<div class="row">
<div class="col-md-8" ng-show="notUpdated">
<button
class="btn btn-block btn-primary"
ng-click="scrap()">Actualizar!</button>
</div>
<div class="col-md-8" ng-show="updating">
<div class="progress">
<div class="progress-bar progres... | {
"content_hash": "50acfe7166119bfc113013f406ffc3a5",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 131,
"avg_line_length": 29.869565217391305,
"alnum_prop": 0.5735080058224163,
"repo_name": "cultome/shopping_scraper",
"id": "9c0194ae19e192b286cdc6df8679d1c396e2e5c5",
"si... |
package org.gaixie.jibu.config;
import java.util.Properties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Jibu 配置,加载 jibu.properties 配置文件。
* <p>
*/
public class JibuConfig {
private static final Logger logger = LoggerFactory.getLogger(JibuConfig.class);
private static String PROPERTIES_F... | {
"content_hash": "fb8b79b1b4787a2b378c400b15c5406c",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 94,
"avg_line_length": 25.67391304347826,
"alnum_prop": 0.6274343776460627,
"repo_name": "geekcheng/jibu",
"id": "f66bee1e306bf8e41b956d3606006de6b5749495",
"size": "1243",... |
namespace Microsoft.Zelig.Runtime
{
using System;
using System.Runtime.CompilerServices;
using TS = Microsoft.Zelig.Runtime.TypeSystem;
[ImplicitInstance]
[ForceDevirtualization]
public abstract class TypeSystemManager
{
class EmptyManager : TypeSystemManager
... | {
"content_hash": "50013abf6a055350cceaa6ba741bc152",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 187,
"avg_line_length": 31.852272727272727,
"alnum_prop": 0.47884409561184443,
"repo_name": "ZachNL/llilum",
"id": "97473d025cb7645d46591aa92c492d7ea45a6a45",
"size": "140... |
.class Lcom/android/internal/policy/impl/keyguard/KeyguardHostView$8;
.super Ljava/lang/Object;
.source "KeyguardHostView.java"
# interfaces
.implements Landroid/view/View$OnClickListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/internal/policy/impl/keyguard/Keyg... | {
"content_hash": "15b9af3acd5854fa5221e1dbe13249ea",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 227,
"avg_line_length": 32.23728813559322,
"alnum_prop": 0.7744479495268138,
"repo_name": "baidurom/reference",
"id": "ea61cbb14c9e4439b3cdda123626bf4a5320d303",
"size": "1... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/CharacterMovementComponent.h"
#include "SideScrollerMovementComponent.generated.h"
/** Movement modes for Characters. */
UENUM(BlueprintType)
enum class ECustomMovementMode :uint8
{
MOVE_Climbing UM... | {
"content_hash": "31eecfa147a223f101e1140ddfb7748c",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 127,
"avg_line_length": 26.885714285714286,
"alnum_prop": 0.79596174282678,
"repo_name": "aarmbruster/AlchemyTools",
"id": "c83d7c8569e7ed4d3bba58314bb7d7952332bc60",
"size... |
<?php
/**
* @author Alexey Samoylov <alexey.samoylov@gmail.com>
* @author Valentin Konusov <rlng-krsk@yandex.ru>
*/
namespace yarcode\email\transports;
use yarcode\email\interfaces\TransportInterface;
use yii\base\Component;
use yii\mail\MailerInterface;
/**
* Class YiiMailer
* Transport for sending emails usin... | {
"content_hash": "2a38e4b67db46bf7c2e706797ee75fca",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 79,
"avg_line_length": 22.935064935064936,
"alnum_prop": 0.5322763306908267,
"repo_name": "yarcode/yii2-email-manager",
"id": "5e6f887dac59330747d686be14da68b04699ed44",
"s... |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include <limits>
#include <memory>
#include "base/bind.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include... | {
"content_hash": "1312b114bf05c14784ed8c6a6439ccc7",
"timestamp": "",
"source": "github",
"line_count": 1752,
"max_line_length": 91,
"avg_line_length": 41.861301369863014,
"alnum_prop": 0.7110074855810529,
"repo_name": "nwjs/chromium.src",
"id": "f9eff3476effdfffad07c98c4bb8cfc868ee4a3c",
"size": "... |
package com.fsck.k9.activity;
import android.app.ActionBar;
import android.app.FragmentManager;
import android.app.FragmentManager.OnBackStackChangedListener;
import android.app.FragmentTransaction;
import android.app.SearchManager;
import android.content.Context;
import android.content.Intent;
import android.content.... | {
"content_hash": "f0db8d7deaecc58a9c4111005eaf3a92",
"timestamp": "",
"source": "github",
"line_count": 1656,
"max_line_length": 110,
"avg_line_length": 36.30072463768116,
"alnum_prop": 0.5994111188741391,
"repo_name": "github201407/k-9",
"id": "1804dca1e5269e4cf00001ce52530781262bf2ba",
"size": "6... |
// Copyright (c) Narvalo.Org. All rights reserved. See LICENSE.txt in the project root for license information.
namespace Narvalo.Tap.Sdk
{
using System;
using System.Collections;
using System.Collections.Generic;
public sealed class TestSet : IEnumerable<ITestCase>
{
private readonly Has... | {
"content_hash": "024512a3e9e0b5bda4b731ff77d5c569",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 112,
"avg_line_length": 24.725274725274726,
"alnum_prop": 0.56,
"repo_name": "chtoucas/Archives",
"id": "6de0dec405ac4c88ddea5d79c9d80047c3ae463b",
"size": "2252",
"binar... |
Yii2 Content Manager
| {
"content_hash": "daf762e3dca4510a9195f4b31b69c6bc",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 20,
"avg_line_length": 21,
"alnum_prop": 0.8571428571428571,
"repo_name": "RichWeber/yii2-content-manager",
"id": "3e0f1cc936667f3fdbbc2b04813392651c776507",
"size": "44",
... |
<?php
/**
* Doctrine_Export_Mysql
*
* @package Doctrine
* @subpackage Export
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Lukas Smith <smith@pooteeweet.org> (PEAR MDB2 library)
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @link www.phpdoctrine.o... | {
"content_hash": "4356fa72798cddac4d6b633972ebcb2a",
"timestamp": "",
"source": "github",
"line_count": 760,
"max_line_length": 118,
"avg_line_length": 41.03947368421053,
"alnum_prop": 0.446457197819814,
"repo_name": "doubleukay/speedjournal",
"id": "9182578e9eefc2cf62593064d45c2a7b01f49d66",
"size... |
project-pal.vim
===============
IMPORTANT: This project is still in an Alpha stage, and is likely to undergo significant API changes.
# Overview
Project-Pal.vim is a *lightweight* project management system for the Vim editor. Heavy-weigth IDEs like Eclipse or Visual Studio rely on verbose files to manage settings suc... | {
"content_hash": "565665aa5ce644b5d3885141b806fcc3",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 561,
"avg_line_length": 46.66153846153846,
"alnum_prop": 0.7523903725684141,
"repo_name": "adampasz/project-pal.vim",
"id": "4e379639a66eb0c2c2d4183d9ae50e621c78955c",
"siz... |
using NMF.Collections.Generic;
using NMF.Collections.ObjectModel;
using NMF.Expressions;
using NMF.Expressions.Linq;
using NMF.Models;
using NMF.Models.Collections;
using NMF.Models.Expressions;
using NMF.Models.Meta;
using NMF.Models.Repository;
using NMF.Serialization;
using NMF.Utilities;
using System;
using System.... | {
"content_hash": "e7d0fc75dfb88343bea2050d497f1d64",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 124,
"avg_line_length": 32,
"alnum_prop": 0.7904411764705882,
"repo_name": "georghinkel/ttc2017smartGrids",
"id": "39be87420318bc6f6139e0292019c068b4a8f1f1",
"size": "2067"... |
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 15.4.4.22-8-b-iii-1-10
description: >
Array.prototype.reduceRight - element to be retrieved is own
accessor property on an Array
---*/
var testResult = fa... | {
"content_hash": "320652eaeee77c3b144860c334c3e4a0",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 70,
"avg_line_length": 25.93103448275862,
"alnum_prop": 0.5398936170212766,
"repo_name": "baslr/ArangoDB",
"id": "5a7966fb0043cfad23c152c06b01b70d14c4d8b6",
"size": "752",
... |
package com.QuickStartFrame.management.util;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import org.apache.log4j.Logger;
public class DateUtil {
private static final Logger logger = Logger.getLogger(DateUtil.class);
private static final String[] WEEKDAYS_CN = {"星期日", "星期一... | {
"content_hash": "854fd882ca293770d52d7f95e24bd375",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 124,
"avg_line_length": 28.050632911392405,
"alnum_prop": 0.6615523465703971,
"repo_name": "fyg0424/quickStartFrame",
"id": "f86b4b8cc94b6eedcda5f1a4e9d1fa431b242d36",
"siz... |
"""
Global Configuration for Application
"""
import os
import json
import logging
# Get configuration from environment
DATABASE_URI = os.getenv(
"DATABASE_URI",
"postgresql://postgres:postgres@localhost:5432/postgres"
)
# override if we are running in Cloud Foundry
if 'VCAP_SERVICES' in os.environ:
vcap =... | {
"content_hash": "64a9500a2769c6e7c06cec459f9e156c",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 65,
"avg_line_length": 25.807692307692307,
"alnum_prop": 0.7421758569299552,
"repo_name": "nyu-devops/lab-flask-tdd",
"id": "cc843a4127c4de2d9daeed9ca419102204c18e1f",
"siz... |
if __name__ == '__main__':
raise NotImplementedError("""
CoNLL 2003 Shared Task on NER is not implemented yet.
See:
http://www.cnts.ua.ac.be/conll2003/ner/
""")
| {
"content_hash": "a0537e4b77a97a1573d54ead62b576ce",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 61,
"avg_line_length": 28.857142857142858,
"alnum_prop": 0.5396039603960396,
"repo_name": "JonathanRaiman/Dali",
"id": "5f0199c11f5f2ceedab350880de6e447aee6092a",
"size": "2... |
jQuery(document).ready(function() {
/*
Fullscreen background
*/
$.backstretch("/img/backgrounds/1.jpg");
/*
Form validation
*/
$('.login-form input[type="text"], .login-form input[type="password"], .login-form textarea').on('focus', function() {
$(this).removeClass('... | {
"content_hash": "a0a2ff5d61f35f35c35ed66a21ce94a8",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 122,
"avg_line_length": 22.677419354838708,
"alnum_prop": 0.5035561877667141,
"repo_name": "andremoreei/lafrench",
"id": "fc189514f3be64b7f51a31ae4fe39582a7e16675",
"size":... |
using GameOfLife.Abstraction;
using GameOfLife.Rules;
using GameOfLife.WPF.MVVM.Commands;
using GameOfLife.WPF.MVVM.Models;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Windows.Input;
namespace GameOfLife.WPF.MVVM.ViewModels
{
public class BoardViewModel : Vi... | {
"content_hash": "40316b6e1fc67a7c9787f3ad84a8e832",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 81,
"avg_line_length": 26.270676691729324,
"alnum_prop": 0.5274756725815684,
"repo_name": "hieudole/GameOfLife",
"id": "afe4cda400b1d9790671cfbd077716095ac8fffe",
"size": ... |
using System;
using System.Collections.Generic;
using System.Linq;
using Nimbus.Configuration.PoorMansIocContainer;
using Nimbus.Configuration.Settings;
using Nimbus.Infrastructure.Filtering;
using Nimbus.InfrastructureContracts;
using Nimbus.InfrastructureContracts.Handlers;
using Nimbus.InfrastructureContracts.Routi... | {
"content_hash": "32ab05eb6b574c71c067cbe21b8a0dd2",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 141,
"avg_line_length": 52.5,
"alnum_prop": 0.5852283770651118,
"repo_name": "NimbusAPI/Nimbus",
"id": "6a9f0e58d4a7f5b008d600da419e9eb24d4a84c6",
"size": "5147",
"binary... |
require 'rubygems'
require 'bundler/setup'
Bundler.require(:test, :development)
require 'casmall'
module CaSmall::Test
RESULTS = File.dirname(__FILE__) + '/../test/results'
end
# Open the logger.
Jinx::Log.instance.open(CaSmall::Test::RESULTS + '/log/casmall.log', :debug => true)
Dir[File.dirname(__FILE__) + '/s... | {
"content_hash": "fdd881e8a91e82cb599d2dd6fbd19f19",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 84,
"avg_line_length": 25.714285714285715,
"alnum_prop": 0.6722222222222223,
"repo_name": "caruby/small",
"id": "6f7b0359c5c94e435319e057c95f1d98c759e354",
"size": "360",
... |
'use strict'
var normalize = require('./normalize')
var DefinedInfo = require('./lib/util/defined-info')
var Info = require('./lib/util/info')
var data = 'data'
module.exports = find
var valid = /^data[-a-z0-9.:_]+$/i
var dash = /-[a-z]/g
var cap = /[A-Z]/g
function find(schema, value) {
var normal = normalize(v... | {
"content_hash": "54022d97c84f563a89abba95abd668ff",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 78,
"avg_line_length": 19.8,
"alnum_prop": 0.6317016317016317,
"repo_name": "jpoeng/jpoeng.github.io",
"id": "ae600a4df14993f6b3d8e3e94232d81a973c085b",
"size": "1287",
"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "3b63530fe69c00ae075dbd148068e6de",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "525f7f4e1d62fade119d649f3883ca27290e34e5",
"size": "188... |
/* global app:true */
'use strict';
app.controller('TvShowViewCtrl', ['$scope', '$routeParams', 'TvShow', function($scope, $routeParams, TvShow) {
TvShow.find($routeParams.tvshowId).then(function(data) {
$scope.tvshow = data;
});
}]);
| {
"content_hash": "505b88709c0492a3d93339f9b5bc5e32",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 110,
"avg_line_length": 27.22222222222222,
"alnum_prop": 0.6571428571428571,
"repo_name": "gabriel-detassigny/kodi-angular",
"id": "1cd0f8752119c8b5d41c7d21151988da402543b6",
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | {
"content_hash": "ffa28bdb3f7ed8dfdcb258bf0b5b7455",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 40.75,
"alnum_prop": 0.7259713701431493,
"repo_name": "MarinMarinov/C-Sharp-Part-2",
"id": "e9c5aeb6b6121eb985af8a098ae74179b6937ca3",
"size": "1470"... |
/*
* Modified by Sergio Martinez. Copyright 2011 Vodafone Group Services Ltd.
*
*/
package com.phonegap.calendar.android.model;
import com.google.api.client.util.Key;
import java.util.List;
/**
* @author Yaniv Inbar
* @author Sergio Martinez Rodriguez
*/
public class Link {
/**
* href string correspon... | {
"content_hash": "daf3d9ce48c59823ca3a053b6e77db9c",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 76,
"avg_line_length": 18.666666666666668,
"alnum_prop": 0.6200396825396826,
"repo_name": "dcheng/PhoneGap-Calendar-Plugin",
"id": "35f79532b7b6deb885f2e2b0d92e2268e06ef56a",... |
<?php
namespace Bugsnag\Silex\Tests\Request;
use Bugsnag\Client;
use Bugsnag\Report;
use Bugsnag\Silex\Silex1ServiceProvider;
use Bugsnag\Silex\Silex2ServiceProvider;
use Exception;
use GrahamCampbell\TestBenchCore\MockeryTrait;
use Mockery;
use Pimple\ServiceProviderInterface;
use PHPUnit_Framework_TestCase as Test... | {
"content_hash": "fcb98edcd04b2afa3532f72115201a08",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 95,
"avg_line_length": 30.833333333333332,
"alnum_prop": 0.5937629937629938,
"repo_name": "bugsnag/bugsnag-silex",
"id": "27f7dcaf3a026eb2b09882b960f4f4258984afaf",
"size":... |
using namespace std;
inline
void use_io_optimizations()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
}
int main()
{
use_io_optimizations();
unsigned int griffy_height;
cin >> griffy_height;
unsigned int plushies;
cin >> plushies;
unsigned int plushies_in_the_way {0};
f... | {
"content_hash": "86fb8b1d52aa009b548bbaa4200eb753",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 47,
"avg_line_length": 16.083333333333332,
"alnum_prop": 0.5526770293609672,
"repo_name": "M4573R/competitive-programming-archive",
"id": "9026ebe55cca1287481a40623db51be55b8... |
module Segments.Common.Env where
import Data.Maybe (maybeToList)
import System.Environment (lookupEnv)
import System.Posix.User (getEffectiveUserName, getEffectiveUserID)
import Segments.Base
-- powerline.segments.common.env.environment
envSegment :: SegmentHandler
envSegment args _ = do
let var = argLookup arg... | {
"content_hash": "8d20ec65f2bb353469043813f3527053",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 67,
"avg_line_length": 28.75609756097561,
"alnum_prop": 0.6378286683630195,
"repo_name": "rdnetto/powerline-hs",
"id": "271e9de8a9f40f35aa5a55a614ffe69931c450e0",
"size": "... |
import pdb;pdb.set_trace()
def sqlQuery_oldimage_newpo_duplimerge(oldpo, newpo):
import sqlalchemy,sys
orcl_engine = sqlalchemy.create_engine('oracle+cx_oracle://prod_team_ro:9thfl00r@borac101-vip.l3.bluefly.com:1521/bfyprd11')
connection = orcl_engine.connect()
query_image_duplimerge = "WITH data AS ... | {
"content_hash": "f851c64b26c4654bdb7aa10561925af7",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 892,
"avg_line_length": 47.666666666666664,
"alnum_prop": 0.6445623342175066,
"repo_name": "relic7/prodimages",
"id": "730283f5dd11cfdb0a36878713e9ea8c7e788898",
"size": "4... |
A simple converter from HTML to Markdown in Java.
I created this project for importing notes on Capsa Notes.
Currently it hasn't any options. I plan to add different markdown styles (Headers using # instead of underline =, for example).
## How to use it:
It's pretty simple, first add jSoup to the classpath. Then:
... | {
"content_hash": "3c9e0856882ef68bb4ccd57b97fefa1c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 150,
"avg_line_length": 33.38709677419355,
"alnum_prop": 0.7545893719806763,
"repo_name": "pnikosis/jHTML2Md",
"id": "847343e787a3cffb38920f8e0b096144b9a5310c",
"size": "10... |
.class Lcom/android/internal/policy/impl/keyguard_obsolete/KeyguardUpdateMonitor$BatteryStatus;
.super Ljava/lang/Object;
.source "KeyguardUpdateMonitor.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/android/internal/policy/impl/keyguard_obsolete/KeyguardUpdateMonitor;
.end... | {
"content_hash": "b5112bead48c686f2cd11ef9f0c74bd0",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 116,
"avg_line_length": 21.35251798561151,
"alnum_prop": 0.7048517520215634,
"repo_name": "baidurom/devices-base_cm",
"id": "28cb7b197a364dad8823413f489a76bdcdbbd3c3",
"si... |
________________________________________________________________________
This file is part of Logtalk <https://logtalk.org/>
Copyright 1998-2022 Paulo Moura <pmoura@logtalk.org>
SPDX-License-Identifier: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in ... | {
"content_hash": "bc13b58569bcb9a5e5e49b9c1d95f39c",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 78,
"avg_line_length": 44.78125,
"alnum_prop": 0.7166782972784368,
"repo_name": "LogtalkDotOrg/logtalk3",
"id": "058ba4cd48c086471527c8c4a90016d169b41e85",
"size": "1433",
... |
import java.util.Scanner;
import java.lang.Math;
public class Mathical{
public static void main(String[] args){
System.out.println("This is Mathical, where we explore Java's mathamatical operations");
Scanner sc = new Scanner(System.in);
//+1
System.out.println("Java can do addition ... | {
"content_hash": "a136986d6c0f4cd65ebe3d7e5d060736",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 107,
"avg_line_length": 43.63513513513514,
"alnum_prop": 0.672963765871787,
"repo_name": "fgandiya/SoJava",
"id": "1b0046b52e11b8681bdac3ca8337566de4d97f57",
"size": "3229"... |
using Xunit;
namespace NLog.Extensions.AzureTableStorage.Tests
{
public class AzureStorageTableNameValidatorTests
{
[Fact]
public void IsValidReturnFalseIfTableNameIsReservedWord()
{
var validator = new AzureStorageTableNameValidator("tables"); //reserved (invalid)
... | {
"content_hash": "416e8fe16ea1e1261eab0450804e8a13",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 98,
"avg_line_length": 28.872340425531913,
"alnum_prop": 0.6337509211495947,
"repo_name": "harouny/NLog.Extensions.AzureTableStorage",
"id": "7fed7bbe2c268e266531c1bdcd4fb4f2... |
import {Component} from '@angular/core';
@Component({
moduleId: module.id,
selector: 'radio-e2e',
templateUrl: 'radio-e2e.html',
})
export class SimpleRadioButtons {
isGroupDisabled: boolean = false;
}
| {
"content_hash": "5f1c531fb38e0978cb10c083fbd3347f",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 40,
"avg_line_length": 21.1,
"alnum_prop": 0.7109004739336493,
"repo_name": "badjilounes/material2",
"id": "5df27b942fcca2a909fb26226cc7c0cec40f9998",
"size": "211",
"bin... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except
~ in compliance with the License.
~ You may obtain a copy o... | {
"content_hash": "d2668a056c1495b1fcd73dfe66b29aa4",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 201,
"avg_line_length": 41.15384615384615,
"alnum_prop": 0.5897196261682243,
"repo_name": "chanakaudaya/carbon-analytics-common",
"id": "f82bc2a8782e2a9bfc6fc09036f7917f1c014... |
import { isTreeItemInnerPropKey } from '../types';
export const partitionTreeProps = props => {
const treeItemInnerProps = {};
const accordionInnerProps = {};
Object.entries(props).forEach(prop => {
const [propKey, propValue] = prop;
if (props && isTreeItemInnerPropKey(propKey)) {
treeItemInnerProp... | {
"content_hash": "245d915d65871d44f5de52515c5774a6",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 51,
"avg_line_length": 32.375,
"alnum_prop": 0.7007722007722008,
"repo_name": "looker-open-source/components",
"id": "d14dfca78b11e2f6ad50b38b3b0a839914170871",
"size": "51... |
use option::Option;
use option::Option::None;
use kinds::Send;
use string::String;
/// Base functionality for all errors in Rust.
pub trait Error: Send {
/// A short description of the error; usually a static string.
fn description(&self) -> &str;
/// A detailed description of the error, usually including... | {
"content_hash": "23ab713a4d9c44db3ae2463a0a9c894d",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 83,
"avg_line_length": 27,
"alnum_prop": 0.6500638569604087,
"repo_name": "emk/rust",
"id": "9ad2655f6e9dbd30e08b5b64cb49839754e767d2",
"size": "3436",
"binary": false,
... |
function module(name) {
return function(target) {
target.module = {
name
};
}
}
function log(ctor, level) {
ctor.loggable = true;
};
function immutable(param) {
return function(target, name, descriptor) {
descriptor.configurable = false;
Object.defineProper... | {
"content_hash": "93761ad83b91ef166dc9c867261acc6f",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 56,
"avg_line_length": 16.77777777777778,
"alnum_prop": 0.5739514348785872,
"repo_name": "mfidemraizer/jsguru2016-oct",
"id": "0d1816d4bb8564d878b68692b7f65c516456b91a",
"s... |
export default `
The Black Cat is a trick-taking playing card game for four players.
It is a variant of [Hearts](https://en.wikipedia.org/wiki/Hearts).
One of key differences is that it is played with only 32 cards, therefore German playing cards can be used as well as the French ones.
The goal is to have the fewest po... | {
"content_hash": "fca27533f061e1a1389ff36e7344727e",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 134,
"avg_line_length": 38.97826086956522,
"alnum_prop": 0.7657557166759621,
"repo_name": "ErikCupal/the-black-cat-website",
"id": "9f57b733ff763c6a77c7c240e95455b279967c58",... |
if node['platform_family'] == 'rhel'
include_recipe 'yum-epel'
package 'mutt'
package 'alpine'
elsif node['platform_family'] == 'debian'
include_recipe 'apt'
package 'mutt'
end
| {
"content_hash": "52e42fff4289316a88f6c9ec6739edc6",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 41,
"avg_line_length": 18.9,
"alnum_prop": 0.671957671957672,
"repo_name": "RallySoftware-cookbooks/mail_client",
"id": "aaab210cd4e4f552a963dc5c3a4ae5c239b60c5e",
"size": ... |
#ifndef _CBTEK_COMMON_UTILITY_STRINGBUILDER_H
#define _CBTEK_COMMON_UTILITY_STRINGBUILDER_H
#include "UtilityCommon.hpp"
#include <string>
#include <vector>
#include <list>
#include <set>
#include <stack>
#include <queue>
#include <deque>
#include <sstream>
namespace cbtek {
namespace common {
namespace utility {
... | {
"content_hash": "d55fce53350f4f7cbcd2a1ce992f6090",
"timestamp": "",
"source": "github",
"line_count": 218,
"max_line_length": 80,
"avg_line_length": 21.004587155963304,
"alnum_prop": 0.5756715440052413,
"repo_name": "cbtek/ClockNWork",
"id": "52438e1a611c94906f7abc80fad954e5caa04b51",
"size": "56... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_w32_spawnvp_73a.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-73a.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read inpu... | {
"content_hash": "6da74de70bb07b496476b44dd4df4d5c",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 124,
"avg_line_length": 25.553956834532375,
"alnum_prop": 0.6486486486486487,
"repo_name": "JianpingZeng/xcc",
"id": "693c7ee44fe19bb3897feae134e683c174d456b9",
"size": "3... |
Endpoint is an HTTP/HTTPS endpoint that receives HTTP/HTTPS requests from the Internet and proxies them to your app.
Endpoint consists of ALB (Application Load Balancer), ACM (Amazon Certificate Manager) certificate, and Route53 record.
### Create a new endpoint
```
$ bcn endpoint create --district=<district name> --... | {
"content_hash": "4e547c1f81c438e401f23877d7185cae",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 180,
"avg_line_length": 28.22641509433962,
"alnum_prop": 0.6998663101604278,
"repo_name": "degica/barcelona",
"id": "5ed4d3c1c1ab6257f4c113e8d13b792fdb73fc79",
"size": "30... |
<?php
namespace mediasilo\share\email;
use mediasilo\model\Serializable;
class EmailShare implements Serializable {
public $audience;
public $subject;
public $message;
function __construct(array $audience, $message, $subject)
{
$this->audience = $audience;
$this->message = $messa... | {
"content_hash": "b33d9ba4c5014be5e71381f93aec4209",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 80,
"avg_line_length": 24.125,
"alnum_prop": 0.5979274611398964,
"repo_name": "mediasilo/phoenix-php-sdk",
"id": "c0716a5ae8cd9ae23cebe30c2a681d2e57b9ebe9",
"size": "965",
... |
Portishead::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
# Full error reports are disabled and caching is turned... | {
"content_hash": "1fc589980bab5dab5de51251639d9e31",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 84,
"avg_line_length": 35.78846153846154,
"alnum_prop": 0.7490596453519613,
"repo_name": "mralex/portishead",
"id": "10b16ab2564cdae335061b2784630afb0fd822eb",
"size": "186... |
package main
import (
"encoding/json"
"flag"
"log"
"net/url"
"os"
"strings"
"time"
"unicode"
maas "github.com/juju/gomaasapi"
)
const (
// defaultFilter specifies the default filter to use when none is specified
defaultFilter = `{
"hosts" : {
"include" : [ ".*" ],
"exclude" : []
},
"zones"... | {
"content_hash": "f42e8eaa674adf7d50cc0aeeb433ecb8",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 160,
"avg_line_length": 35.59281437125748,
"alnum_prop": 0.6795087483176312,
"repo_name": "ciena/maas-flow",
"id": "1514e32aed073ce3e7f078600143ea6e683ddefd",
"size": "594... |
var mongoose = require('mongoose');
var jobSchema = new mongoose.Schema({
title: String,
url: String,
email: String,
description: String,
first_seen: { type: Date, default: Date.now },
last_seen: { type: Date, default: Date.now },
company: String,
location: String,
tags: [{name: String, labe... | {
"content_hash": "ff4fb1a2c14ddcccb12d4569305ad6f5",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 50,
"avg_line_length": 25.866666666666667,
"alnum_prop": 0.654639175257732,
"repo_name": "grantrules/bikeindustryjobs",
"id": "54b4fc7655a43f8c3198f48e758f06b403e85c75",
"s... |
package lib;
import lejos.hardware.lcd.LCD;
import lib.graphics.Graphics;
/**
* Loading screen to not bore the user when something is loading.
*/
public class LoadingScreen extends Thread
{
private long spinSpeed;
private int y;
private boolean text;
private String ltext = "Loading...";
public... | {
"content_hash": "0ddcfb44bfcc15fe0bf79ec0159015f5",
"timestamp": "",
"source": "github",
"line_count": 114,
"max_line_length": 65,
"avg_line_length": 16.49122807017544,
"alnum_prop": 0.5707446808510638,
"repo_name": "Enginecrafter77/LeJOS_Subprogram_Framework",
"id": "f0a130c25eb91c913f95294ef472a2c... |
/*
* 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": "650a3e02b9b3870211f20a644b1e20b2",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 87,
"avg_line_length": 27.732142857142858,
"alnum_prop": 0.6245975531229878,
"repo_name": "opentelecoms-org/jsmpp",
"id": "3383f48befbfc0b4fd2603f6d7110833fbdb748a",
"size... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("To... | {
"content_hash": "491285fbf7d673c8a6a084db2e94aa43",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.52777777777778,
"alnum_prop": 0.7433309300648883,
"repo_name": "zachdimitrov/Learning_2017",
"id": "8c14d950a5624a85aad8bbc1229f6da3c6a4f52f",
"si... |
#pragma once
/*
Checker for the Quality Control information of phenotypic files
*/
class QCChecker
{
public:
QCChecker() = default;
virtual void reset() = 0;
virtual bool needMore() const = 0;
virtual bool result() const = 0;
virtual void input(const bool b) = 0;
virtual void input() = 0;
};
| {
"content_hash": "8bf7fd2f69c32447aed73a20cdef2224",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 63,
"avg_line_length": 16.88888888888889,
"alnum_prop": 0.6907894736842105,
"repo_name": "yxtj/GSDM",
"id": "bdd8e0e68f6904cd0be22c85c8f78e91e80c5035",
"size": "304",
"bi... |
package ru.job4j.tracker.start;
/**
* Created by User on 23.02.2017.
*/
public class StubInput implements Input {
/**
* new List of answers.
*/
private String[] answers;
/**
* counter for num of answers.
*/
private int count = 0;
/**
* StubInput constructor.
* @par... | {
"content_hash": "227118a04cf050b8ecfa73e7098377ae",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 55,
"avg_line_length": 20.394736842105264,
"alnum_prop": 0.5819354838709677,
"repo_name": "Yurik16/yuchuksin",
"id": "9cfd966bebff974c3ee78397e48d03e369cfcc9b",
"size": "77... |
<?php
namespace Medology\Behat\Mink;
use Behat\Gherkin\Node\TableNode;
use Behat\Mink\Driver\Selenium2Driver;
use Behat\Mink\Element\NodeElement;
use Behat\Mink\Element\TraversableElement;
use Behat\Mink\Exception\DriverException;
use Behat\Mink\Exception\ElementNotFoundException;
use Behat\Mink\Exception\ElementText... | {
"content_hash": "0aa2fe15452ce5388f6afea414a3bba5",
"timestamp": "",
"source": "github",
"line_count": 2053,
"max_line_length": 172,
"avg_line_length": 44.904042864101314,
"alnum_prop": 0.6054584110730247,
"repo_name": "Medology/FlexibleMink",
"id": "42e7ecf467326921e3ef5a19cbc186f58969eae2",
"siz... |
namespace Svetsoft.Nmea
{
/// <summary>
/// Represents a sentence of the NMEA specification for depth below keel.
/// </summary>
public class DbkSentence : NmeaSentence
{
/// <summary>
/// Creates a new instance of the <see cref="DbkSentence" /> class.
/// </summary>... | {
"content_hash": "622fdfb1171480c271e5f15cbadcac8f",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 96,
"avg_line_length": 30.046511627906977,
"alnum_prop": 0.5247678018575851,
"repo_name": "Svetsoft/Svetsoft.Nmea",
"id": "85d6bed59352070417de0734ffd680b96bc8ffbd",
"size"... |
// This file was generated using Parlex's cpp_generator
#include "THIS_FUNC.hpp"
#include "plange_grammar.hpp"
#include "parlex/detail/document.hpp"
#include "EXPRESSION.hpp"
#include "IC.hpp"
plc::THIS_FUNC::field_1_t_1_t plc::THIS_FUNC::field_1_t_1_t::build(parlex::detail::node const * b, parlex::detail::documen... | {
"content_hash": "e3ff7696319dc94b3c4809ad029993b9",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 154,
"avg_line_length": 53.42857142857143,
"alnum_prop": 0.6914438502673796,
"repo_name": "dlin172/Plange",
"id": "47fa0f50178c34f52f74ae69283385bd698bd4c0",
"size": "1872"... |
<!doctype html>
<html>
<head>
<style>
* {
box-sizing: border-box;
}
html,
body,
<ngw-root></ngw-root> {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
font-family: 'Helvetica', 'Verdana', sans-serif;
font-weight: 400;
font-display: optional;
... | {
"content_hash": "cf2610a6b7aeee058b3b910b4189fa97",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 127,
"avg_line_length": 29.397058823529413,
"alnum_prop": 0.580040020010005,
"repo_name": "alxhub/ng2-weather-pwa",
"id": "1da85ff42c1be2610df217baece956ee4afb6540",
"size... |
import socket
import sys
# A UDP server
# Set up a UDP server
UDPSock = socket.socket(socket.AF_INET6,socket.SOCK_DGRAM)
# Listen on port 21567
# (to all IP addresses on this system)
listen_addr = ("",5000)
UDPSock.bind(listen_addr)
# Report on all data packets received and
# where they came from in each case (as t... | {
"content_hash": "9c4985298481bf9cf3e7e2e364706ff6",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 58,
"avg_line_length": 25.15,
"alnum_prop": 0.7137176938369781,
"repo_name": "xpgdk/net430",
"id": "0039c7a9146ed1d1c2f63eee60df91aa829bcfd2",
"size": "522",
"binary": fa... |
package org.spongepowered.mod.event;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import com.google.common.reflect.TypeToken;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.event.FMLEvent;
import org.spongepowered.api.service.event.EventMa... | {
"content_hash": "3b0a41b5ca86fcaea37e377612111843",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 141,
"avg_line_length": 41.661417322834644,
"alnum_prop": 0.6558306558306558,
"repo_name": "SRPlatin/Sponge",
"id": "1c811970682db897df06849455d131533543c042",
"size": "65... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.codepath.apps.restclienttemplate"
android:versionCode="1"
android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name=... | {
"content_hash": "edc5bdf2fa2c1c06856862a608cc6928",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 80,
"avg_line_length": 38.785714285714285,
"alnum_prop": 0.6071209330877839,
"repo_name": "maria93101/Twitter",
"id": "12c2f4b71f652cd23ab36b273131c94f94ffc4b6",
"size": "1... |
<?php
namespace Beech\Workflow\Domain\Repository;
/* *
* This script belongs to beechit/mrmaks. *
* *
* It is free software; you can redistrib... | {
"content_hash": "e7e38fd0248e11734842eb01f57847c5",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 99,
"avg_line_length": 31.176470588235293,
"alnum_prop": 0.509811320754717,
"repo_name": "beechit/MisterMaks-EHRM",
"id": "19ed622ed2c5399bd36651dc3ece7cdaf65239f1",
"size"... |
@class modsearch;
@class moditempicture;
@class moditemattributes;
@interface visearchman:UIView<UICollectionViewDataSource, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout>
-(void)changesearchstate:(appsearchstate)_newsearchstate;
-(void)trashresult:(modsearchresult*)_result;
@property(strong, nonatomi... | {
"content_hash": "ea2ed5940764428f6384ae3f4a32fb4a",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 143,
"avg_line_length": 29.372549019607842,
"alnum_prop": 0.8317757009345794,
"repo_name": "turingcorp/motors",
"id": "db16302146581030ae017b4cf4313521867c3ca0",
"size": "1... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>ch.codebulb.crudfaces</g... | {
"content_hash": "61325348d5faf12e9e1119056465ebdd",
"timestamp": "",
"source": "github",
"line_count": 75,
"max_line_length": 204,
"avg_line_length": 40.77333333333333,
"alnum_prop": 0.5183126226291694,
"repo_name": "codebulb/crudfaces",
"id": "6597aa306ad1cfa924f1b6b0043f558c6306fb9c",
"size": "3... |
<?php
namespace phpDocumentor\Transformer\Writer;
use phpDocumentor\Translator\Translator;
/**
* All writers that have items that should be translated should implement this interface
*/
interface Translatable
{
/**
* Returns an instance of the object responsible for translating content.
*
* @re... | {
"content_hash": "8aaf2b3de11fa6b65ed81c52f3a77a29",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 88,
"avg_line_length": 21.5,
"alnum_prop": 0.6810631229235881,
"repo_name": "PatidarWeb/phpDocumentor2",
"id": "ae072ef0e18d1e8d44253cdc29246ea922e5d545",
"size": "825",
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using CorpusExplorer.Sdk.Action.Properties;
using CorpusExplorer.Sdk.Addon;
using CorpusExplorer.Sdk.Model;
using CorpusExplorer.Sdk.Utils.DataTableWriter.Abstract;
using CorpusExplorer.Sdk.ViewModel;
nam... | {
"content_hash": "7615bb016d845cbf17e1ce8d0e160ee8",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 173,
"avg_line_length": 28.795180722891565,
"alnum_prop": 0.6179916317991632,
"repo_name": "notesjor/CorpusExplorer-Port-R",
"id": "88ce62087d5dd5646d87c4f294451c9731aef7eb",... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_01) on Thu Mar 07 20:40:24 CET 2013 -->
<title>com.tyrlib2.graphics.terrain</title>
<meta name="date" content="2013-03-07">
<lin... | {
"content_hash": "5ce4086055e1adc1e7e1c75c402f051b",
"timestamp": "",
"source": "github",
"line_count": 141,
"max_line_length": 161,
"avg_line_length": 36.53191489361702,
"alnum_prop": 0.6117258784702,
"repo_name": "TyrfingX/TyrLib",
"id": "2989e940eb1f940147f3d9b8abe7718a927ba8f0",
"size": "5151",... |
from __future__ import unicode_literals
import socket
import select
from mock import patch, MagicMock as Mock, PropertyMock, call
from soco import discover
from soco import config
from soco.discovery import any_soco, by_name
IP_ADDR = '192.168.1.101'
TIMEOUT = 5
class TestDiscover:
def test_discover(self, monk... | {
"content_hash": "99a0c6cab911d1fc4f76603f1f895b68",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 76,
"avg_line_length": 36.632183908045974,
"alnum_prop": 0.631628490743646,
"repo_name": "dajobe/SoCo",
"id": "274c7745c517718203bd7ad3b4835b6f30a2db85",
"size": "3211",
... |
<ROOT>
<data>
<record>
<field name="Country or Area">Bulgaria</field>
<field name="Year">2009</field>
<field name="Unit">Mil. USD</field>
<field name="Value">0</field>
<field name="Value Footnotes"></field>
</record>
<recor... | {
"content_hash": "933f96560f2dbe486eb54cfd34a46ad7",
"timestamp": "",
"source": "github",
"line_count": 1229,
"max_line_length": 64,
"avg_line_length": 41.26118795768918,
"alnum_prop": 0.5003352395977125,
"repo_name": "danagilliann/un_data_api",
"id": "23df55d22d7a66990099b254627fbb84ebedbd6b",
"si... |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>file-... | {
"content_hash": "fe06d6038b7a03b88c3ce528ced0c423",
"timestamp": "",
"source": "github",
"line_count": 216,
"max_line_length": 140,
"avg_line_length": 42.93981481481482,
"alnum_prop": 0.46102425876010783,
"repo_name": "Appdynamics/FileWatcher-extension",
"id": "99313ead5945322a97a0aaa60bb55642432d50... |
'''
This script outputs only unique allele of one population relative to another.
I use this approach to remove ancestral variation (named as parental below) from a population of interest.
inputfile:
CHROM POS sample1 sample2 sample3 sample4
chr_1 1 A N A A
chr_1 2 C C C T
chr_1 3 C T ... | {
"content_hash": "9547426a8e71f2e5d3800eb65d87f6dc",
"timestamp": "",
"source": "github",
"line_count": 99,
"max_line_length": 106,
"avg_line_length": 29,
"alnum_prop": 0.6367119470567747,
"repo_name": "evodify/genotype-files-manipulations",
"id": "b9cfbe499735a16541f9f53280b59679da6a6cae",
"size":... |
namespace v8 {
namespace internal {
namespace compiler {
class StateValuesIteratorTest : public GraphTest {
public:
StateValuesIteratorTest() : GraphTest(3) {}
Node* StateValuesFromVector(NodeVector* nodes) {
int count = static_cast<int>(nodes->size());
return graph()->NewNode(
common()->StateVal... | {
"content_hash": "5d064236c328bfb39a0ad9c94fc3c38a",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 80,
"avg_line_length": 30.008928571428573,
"alnum_prop": 0.6077060398690866,
"repo_name": "youtube/cobalt_sandbox",
"id": "c24b2f2d979a166632144de3d105b294200d4106",
"size... |
package org.jzy3d.bridge.awt;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.awt.Panel;
import org.jzy3d.bridge.BufferedPanel;
public abstract class DoubleBufferedPanelAWT extends Panel implements BufferedPanel{
public abstract void draw(Graphics g);
/*****************... | {
"content_hash": "ab53e3306d30ea6d5ef0ee0e710b98fe",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 94,
"avg_line_length": 23.051724137931036,
"alnum_prop": 0.5916230366492147,
"repo_name": "jzy3d/jzy3d-api-0.8.4",
"id": "ec088e11604b19814b2650daa870cc08c1165e80",
"size":... |
using System.Web;
using System.Web.Mvc;
namespace Onyx.Authorization
{
public class FilterConfig
{
public static void RegisterGlobalFilters(GlobalFilterCollection filters)
{
filters.Add(new HandleErrorAttribute());
}
}
}
| {
"content_hash": "e4e0daff198dc355106a1c4c7d66ac13",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 80,
"avg_line_length": 20.846153846153847,
"alnum_prop": 0.6605166051660517,
"repo_name": "darocha/AuthorizationServer",
"id": "0ec9ea75090337a49e3e7f77b489cde524d6c70b",
"... |
<?php
namespace Arnapou\Toolbox\Mail\Swift;
class MessageText extends Message {
public function __construct($subject = null, $body = null) {
parent::__construct($subject, $body, 'text/plain', 'utf-8');
}
}
| {
"content_hash": "e682d39846338d2b97bb6559c280904f",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 62,
"avg_line_length": 16.615384615384617,
"alnum_prop": 0.6759259259259259,
"repo_name": "arnapou/toolbox",
"id": "988b6d4ee4fa1672b77a6626cd87039887c70d57",
"size": "452"... |
package com.communote.server.core.external;
import java.util.Collection;
import com.communote.common.converter.Converter;
import com.communote.common.util.Pair;
import com.communote.server.api.core.blog.BlogAccessException;
import com.communote.server.api.core.blog.BlogNotFoundException;
import com.communote.... | {
"content_hash": "295f7fcae538b7ddfcc6680246630784",
"timestamp": "",
"source": "github",
"line_count": 287,
"max_line_length": 100,
"avg_line_length": 47.494773519163765,
"alnum_prop": 0.6550509867214438,
"repo_name": "Communote/communote-server",
"id": "d8e6ebcd64074b9ca782a6fd522f68852748c697",
... |
class OAuth2AccessTokenFetcher;
class Profile;
namespace base {
class Time;
}
namespace policy {
class UserCloudPolicyManager;
// The UserPolicySigninService tracks when user signin/signout actions occur and
// initializes/shuts down the UserCloudPolicyManager as required. This class is
// not used on ChromeOS beca... | {
"content_hash": "0b4233bb951fecf6872bba0eac2f6b34",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 80,
"avg_line_length": 34.898305084745765,
"alnum_prop": 0.7620203982515784,
"repo_name": "junmin-zhu/chromium-rivertrail",
"id": "0db2a552b4786cb57aa83b1fb06ade94717063a0",
... |
namespace ABI44_0_0reanimated {
std::weak_ptr<jsi::Value> StoreUser::getWeakRef(jsi::Runtime &rt) {
const std::lock_guard<std::recursive_mutex> lock(storeUserData->storeMutex);
if (storeUserData->store.count(identifier) == 0) {
storeUserData->store[identifier] =
std::vector<std::shared_ptr<jsi::Value>>... | {
"content_hash": "57200df7524d5d79ee0fb4d1e34331d2",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 78,
"avg_line_length": 29.53061224489796,
"alnum_prop": 0.6482377332411887,
"repo_name": "exponentjs/exponent",
"id": "90e3959e856c15b75aafdcb7267da62307e727bb",
"size": "1... |
if (this.importScripts) {
importScripts('../../../resources/js-test.js');
importScripts('shared.js');
}
description("Test IndexedDB keys ordering and readback from cursors.");
indexedDBTest(prepareDatabase, populateStore);
function prepareDatabase()
{
db = event.target.result;
store = evalAndLog("stor... | {
"content_hash": "e679cabe4ae5e916eb1f5c206f2d66ea",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 126,
"avg_line_length": 32.68292682926829,
"alnum_prop": 0.6268656716417911,
"repo_name": "chromium/chromium",
"id": "32338b90bb248474ffb0c8f6d566a4c1826a927e",
"size": "26... |
package de.tuebingen.uni.sfs.qta;
/**
* @author Daniil Sorokin<daniil.sorokin@uni-tuebingen.de>
*/
public class Word {
private final String lemma;
private final String pos;
public Word(String lemma, String pos) {
this.lemma = lemma;
this.pos = pos;
}
public String getLemma() {
... | {
"content_hash": "0a3eded839d24ecbb2a9d7ce198d01c2",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 93,
"avg_line_length": 24.245283018867923,
"alnum_prop": 0.5136186770428015,
"repo_name": "daniilsorokin/Quantitative-Text-Analysis--Java-App-",
"id": "ce9524ec7204d78bbe5231... |
(function(){
var _page_selector = ".credit-app ";
var _progressBar = $(_page_selector + "[data-credit-progress-bar]");
var _tab = $(_page_selector + "[data-credit-progress]");
var _tabs = _tab.find("[data-toggle='tab']");
var _pagerPrev = $(_page_selector + "[data-credit-prev]");
var _pager... | {
"content_hash": "0ce4b7e5445d85d824d9f257fe54e651",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 76,
"avg_line_length": 29.442622950819672,
"alnum_prop": 0.6280623608017817,
"repo_name": "DealerOnClass/cmsv3",
"id": "256e68859f0770d8e5e1876199ad1315c6c68496",
"size": "... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace LightySample
{
/// <summary>
/// App.xaml の相互作用ロジック
/// </summary>
public partial class App : Application
{
}
}
| {
"content_hash": "a02355bad1be3c8cd2989434d9c8179c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 42,
"avg_line_length": 18.470588235294116,
"alnum_prop": 0.7006369426751592,
"repo_name": "sourcechord/Lighty",
"id": "4dbe240b8d2429d76396a6ac507c142f502918cc",
"size": "3... |
package com.android.server.vr;
import android.annotation.NonNull;
import android.content.ComponentName;
/**
* Service for accessing the VR mode manager.
*
* @hide Only for use within system server.
*/
public abstract class VrManagerInternal {
/**
* The error code returned on success.
*/
public... | {
"content_hash": "a3d1be824cc78c6453c3b9109b1d95e6",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 98,
"avg_line_length": 38.89393939393939,
"alnum_prop": 0.7039345539540319,
"repo_name": "daiqiquan/framework-base",
"id": "ad87a885348e6a2695817c5d172b6ecbd4ed91de",
"size... |
import {WordGenerator} from './word-generator.js';
var Game = (function () {
function Game(player, enemy) {
this.player = player;
this.enemy = enemy;
this.images = [];
this.myTurn = true;
this.points = 0;
var wordGen = new WordGenerator();
this.word = wordG... | {
"content_hash": "c8cb5f678b86ffa9f9204123bf82a455",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 50,
"avg_line_length": 18.85,
"alnum_prop": 0.5464190981432361,
"repo_name": "JS-Applications-Team-Mai-Tai/Team-Mai-Tai",
"id": "788672eb02ea96d63e68259bd595f5a79ef74307",
... |
#ifndef TARANTOOL_SIO_H_INCLUDED
#define TARANTOOL_SIO_H_INCLUDED
/**
* Exception-aware wrappers around BSD sockets.
* Provide better error logging and I/O statistics.
*/
#include <stdbool.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <fcntl.h>
#include <taran... | {
"content_hash": "765e8f741f981b465fed2796f17b6da4",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 77,
"avg_line_length": 24.54913294797688,
"alnum_prop": 0.6788321167883211,
"repo_name": "mejedi/tarantool",
"id": "e5ebe2e7041765c82e12cc624040470ab95a218a",
"size": "563... |
"""
AVWX REST API
"""
from avwx_api.app_config import app
from avwx_api import api, views
| {
"content_hash": "2bc810868cf0285d10e51fd8877ac159",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 35,
"avg_line_length": 13.142857142857142,
"alnum_prop": 0.7065217391304348,
"repo_name": "flyinactor91/AVWX-API",
"id": "2ee99e9ecff85290563f90d75817c138320f4377",
"size": ... |
Textile
=======
- Filter name: ``textile``
- Pypi package: ``Textile``
Textile is a lightweight markup language originally developed by Dean Allen
and billed as a "humane Web text generator". Textile converts its marked-up
text input to valid, well-formed XHTML and also inserts character entity references
for apostro... | {
"content_hash": "27a8d08dc7f11182c794d34cc507cb1d",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 83,
"avg_line_length": 33.333333333333336,
"alnum_prop": 0.772,
"repo_name": "bartTC/django-markup",
"id": "f3141dec9ecd7a85891f60a1c3d7056e88a2a769",
"size": "500",
"bin... |
namespace jet {
//!
//! \brief Fractional 2-D boundary condition solver for grids.
//!
//! This class constrains the velocity field by projecting the flow to the
//! signed-distance field representation of the collider. This implementation
//! should pair up with GridFractionalSinglePhasePressureSolver2 to provide
//!... | {
"content_hash": "1ff09fd2e42ee6ce53a32e24b3730aca",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 77,
"avg_line_length": 32.96363636363636,
"alnum_prop": 0.7418643132928847,
"repo_name": "doyubkim/fluid-engine-dev",
"id": "b4e1ec7c08166cf9ec35cabd0255fc65511b45fc",
"siz... |
layout: layout
section: program
photocredit: Daniel X. O'Neil
photocredit_url: https://www.flickr.com/photos/juggernautco/27262805686/
permalink: /program/
title: SRCCON 2019 — About Our Program
---
# The SRCCON Program
SRCCON is a hands-on conference with two days full of sessions—but the schedule is only where our ... | {
"content_hash": "552f464683d2b94b61ae4481a4eee89c",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 708,
"avg_line_length": 97.62745098039215,
"alnum_prop": 0.793733681462141,
"repo_name": "OpenNews/srccon",
"id": "9a003748086329cc70e3d41f64d8a0ead809fe4d",
"size": "5007"... |
package org.apache.hadoop.hbase.io;
import java.util.*;
import org.apache.hadoop.classification.InterfaceAudience;
/**
* A Static Interface.
* Instead of having this code in the the HbaseMapWritable code, where it
* blocks the possibility of altering the variables and changing their types,
* it is put here in ... | {
"content_hash": "08cc3c576f84f1340770b1cb69e26e9e",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 77,
"avg_line_length": 28.196428571428573,
"alnum_prop": 0.6706776440785307,
"repo_name": "jyates/hbase",
"id": "4b8fa88bdbc52f3ae6252d87432bfe3985228467",
"size": "2388",
... |
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import autobind from 'autobind-decorator'
import Menu from './Menu'
export default class MenuWrapper extends PureComponent {
static propTypes = {
onSelect: PropTypes.func,
onItemSelect: PropTypes.func,
}
@autobind
handleS... | {
"content_hash": "ada39a7b5ff889a062b5a7262dd46551",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 56,
"avg_line_length": 19.485714285714284,
"alnum_prop": 0.6363636363636364,
"repo_name": "rentpath/react-ui",
"id": "3b22025e46cfc4cd3140e8895450839b9842e546",
"size": "68... |
<?php
if (! @include_once __DIR__.'/../vendor/autoload.php') {
exit("You must set up the project dependencies, run the following commands:\n> wget http://getcomposer.org/composer.phar\n> php composer.phar install\n");
}
| {
"content_hash": "ce829283a4aded743fcb1528f2ae1e0e",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 158,
"avg_line_length": 37.666666666666664,
"alnum_prop": 0.6902654867256637,
"repo_name": "phpthinktank/blast-turbine",
"id": "50f931ad56d74ed96c62690167e306a71ea0198b",
"s... |
package bitcoincash
import (
"encoding/json"
"errors"
"fmt"
"net/http"
"reflect"
"sync"
"time"
"github.com/OpenBazaar/multiwallet/util"
"golang.org/x/net/proxy"
)
type ExchangeRateProvider struct {
fetchUrl string
cache map[string]float64
client *http.Client
decoder ExchangeRateDecoder
}
type Exc... | {
"content_hash": "d1a9fdc2f1869a17269c0e7b1ecbc2c5",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 112,
"avg_line_length": 24,
"alnum_prop": 0.6936868686868687,
"repo_name": "OpenBazaar/openbazaar-go",
"id": "bce585d9aaff559cb478343a3f8a6026cf54dd22",
"size": "3960",
... |
<?php
use osCommerce\OM\Core\OSCOM;
?>
<p align="center">osCommerce Online Merchant Copyright © 2000-2011 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> (<a href="http://www.oscommerce.com/about/copyright" target="_blank">Copyright Policy</a>, <a href="http://www.oscommerce.com/about/trade... | {
"content_hash": "dbab1d3511f4c34678a5b30840e5bb19",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 389,
"avg_line_length": 80.22222222222223,
"alnum_prop": 0.7188365650969529,
"repo_name": "osCommerce/oscommerce",
"id": "5e51db8bac63736c10d136b2e138e2b624b8b934",
"size": ... |
package com.guanqing.subredditor;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | {
"content_hash": "39266514bef0210d9c1679758fdf1a9d",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 93,
"avg_line_length": 27.307692307692307,
"alnum_prop": 0.752112676056338,
"repo_name": "haoguanqing/Subreddit_Reader",
"id": "c76584a84e091b9e0e310333244fb266a5a231b2",
"... |
import {
CalendarOptions, Action, CalendarContent, render, createElement, DelayedRunner, CssDimValue, applyStyleProp,
CalendarApi, CalendarRoot, isArraysEqual, CalendarDataManager, CalendarData,
CustomContentRenderContext, flushToDom, unmountComponentAtNode,
} from '@fullcalendar/common'
export class Calendar ex... | {
"content_hash": "918fb73493a0487a6f068467d65e7719",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 116,
"avg_line_length": 25.47586206896552,
"alnum_prop": 0.6467244179750947,
"repo_name": "oleg-babintsev/fullcalendar",
"id": "c31a5e8b86c0b04c560a008080d462fe21fb0a57",
... |
/*
* 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": "092b36e4fa63e6fcead557a278014839",
"timestamp": "",
"source": "github",
"line_count": 313,
"max_line_length": 138,
"avg_line_length": 43.72843450479233,
"alnum_prop": 0.7247022722291225,
"repo_name": "martint/presto",
"id": "77b98473e5e45ed04b00952e57009491cbef8766",
"size": "1368... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/artifactregistry/v1/version.proto
package com.google.devtools.artifactregistry.v1;
/**
*
*
* <pre>
* The view, which determines what version information is returned in a
* response.
* </pre>
*
* Protobuf enum {@code google... | {
"content_hash": "fc6445d19157128dff23b625e133b308",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 96,
"avg_line_length": 24.61676646706587,
"alnum_prop": 0.647044514716614,
"repo_name": "googleapis/java-artifact-registry",
"id": "c210c72e0f632770253c00e897beb7c3fce322c0"... |
{-# htermination readOct :: String -> [(Int,String)] #-}
| {
"content_hash": "f121a4431f07e9b5532aeb9a8cb28c21",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 56,
"avg_line_length": 57,
"alnum_prop": 0.5964912280701754,
"repo_name": "ComputationWithBoundedResources/ara-inference",
"id": "ec2942cc83412d33e0c4d9d2ae909fa2d2b1c3b7",
... |
"""Fractal demo."""
from __future__ import with_statement
__author__ = 'kbrisbin@google.com (Kathryn Hurley)'
import json
import logging
import os
import time
import lib_path
import google_cloud.gce as gce
import google_cloud.gce_appengine as gce_appengine
import google_cloud.oauth as oauth
import jinja2
import oau... | {
"content_hash": "82fe85462940c6a3f0369a8b7f7adb75",
"timestamp": "",
"source": "github",
"line_count": 437,
"max_line_length": 105,
"avg_line_length": 33.807780320366135,
"alnum_prop": 0.6357113848653039,
"repo_name": "jbeda/compute-appengine-demo-suite-python",
"id": "a15516b6ad266623df21eb9459ed35... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.