text stringlengths 2 1.04M | meta dict |
|---|---|
'''
参考 https://github.com/7sDream/zhihu-py3/blob/master/zhihu/client.py
知乎认证部分
'''
import os
import time
import json
import requests
from PIL import Image
from global_constant import *
class Authentication(object):
'''
知乎认证类,可用cookies(JSON数据格式)或者帐号密码登陆
若使用帐号密码登陆,则会将cookies以JSON数据格式保存至当前文件夹下
'''
d... | {
"content_hash": "720260f55e7e8e72a36dc1706d321072",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 71,
"avg_line_length": 28.31958762886598,
"alnum_prop": 0.5438660356752821,
"repo_name": "time-river/wander",
"id": "02a7c887276dcb2f09dd93de5cc5d068648ff6ea",
"size": "303... |
namespace omaha {
namespace internal {
void CommandLineParserArgs::Reset() {
switch_arguments_.clear();
}
// Assumes switch_name is already lower case.
HRESULT CommandLineParserArgs::AddSwitch(const CString& switch_name) {
ASSERT1(CString(switch_name).MakeLower().Compare(switch_name) == 0);
if (switch_argument... | {
"content_hash": "503ca43fc87a4d8178cc54a2b11a163e",
"timestamp": "",
"source": "github",
"line_count": 354,
"max_line_length": 80,
"avg_line_length": 32.57344632768361,
"alnum_prop": 0.6390599254184373,
"repo_name": "taxilian/omaha",
"id": "66e9d3fa6bed99af015749e8b1330c759c72bfed",
"size": "12373... |
<?php
namespace Turiknox\SLog\Model\ResourceModel\Category;
use Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection;
class Collection extends AbstractCollection
{
/**
* @var string
*/
protected $_idFieldName = 'entity_id';
/**
* Collection initialisation
*/
pro... | {
"content_hash": "2710403fb60dcd9ff18e621a37fb0a9a",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 98,
"avg_line_length": 21.952380952380953,
"alnum_prop": 0.6832971800433839,
"repo_name": "Turiknox/magento2-slog",
"id": "28d0041698b8c23c210001856f5d802eae8dc15b",
"size"... |

This is the official github repository for NAV Coin. NAV Coin is the worlds first anonymous cryptocurrency powered by blockchain technology. It's anonymous network is completely powered by a separate Blo... | {
"content_hash": "4b35f3d88c6b0a942f13b033dbe121a4",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 284,
"avg_line_length": 37.093023255813954,
"alnum_prop": 0.69717868338558,
"repo_name": "navcoindev/navcoin2",
"id": "40da1af179021d1bb9262bf6258ebe5a25531f28",
"size": "1... |
require "helper"
describe Google::Cloud do
describe "#spanner" do
it "calls out to Google::Cloud.spanner" do
gcloud = Google::Cloud.new
stubbed_spanner = ->(project, keyfile, scope: nil, timeout: nil, client_config: nil) {
project.must_be :nil?
keyfile.must_be :nil?
scope.must... | {
"content_hash": "77669057d9d5de6a973c4bba93dee0ce",
"timestamp": "",
"source": "github",
"line_count": 363,
"max_line_length": 118,
"avg_line_length": 37.170798898071624,
"alnum_prop": 0.6027569851033869,
"repo_name": "quartzmo/gcloud-ruby",
"id": "37d93ccc1a4e2c6a3d69cf393e34f8b25f7da302",
"size"... |
The matched value was assigned in a match guard.
Erroneous code example:
```compile_fail,E0510
let mut x = Some(0);
match x {
None => {}
Some(_) if { x = None; false } => {} // error!
Some(_) => {}
}
```
When matching on a variable it cannot be mutated in the match guards, as this
could cause the match t... | {
"content_hash": "2d054a777eccea3985050dc781acd5fa",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 80,
"avg_line_length": 21.06896551724138,
"alnum_prop": 0.6104746317512275,
"repo_name": "graydon/rust",
"id": "e045e04bdbe11ac23b981af155fbfa163c581269",
"size": "611",
... |
export * from './head'
export { default as App } from './app'
export { findResultsState } from './instantsearch'
| {
"content_hash": "7c6ec1d019d23321c14f629fab28cf3c",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 50,
"avg_line_length": 37.666666666666664,
"alnum_prop": 0.6902654867256637,
"repo_name": "JeromeFitz/next.js",
"id": "ce4b600e6d79bb0f7698fc10a0c9d45f839da01b",
"size": "11... |
<?php
namespace Mmoreram\Extractor\tests\Adapter;
use Mmoreram\Extractor\Adapter\ZipExtractorAdapter;
use Mmoreram\Extractor\Filesystem\TemporaryDirectory;
use PHPUnit_Framework_TestCase;
/**
* Class ZipExtractorAdapterTest
*/
class ZipExtractorAdapterTest extends PHPUnit_Framework_TestCase
{
/**
* Setu... | {
"content_hash": "799e826eeb93bc9e323e094895e4b138",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 90,
"avg_line_length": 24.125,
"alnum_prop": 0.6601036269430052,
"repo_name": "mmoreram/extractor",
"id": "52f4f96e52b8b2f9d3c05bfb944f6e1a37ce176e",
"size": "1247",
"bin... |
package com.evolveum.midpoint.web.page.admin.resources.content;
import com.evolveum.midpoint.prism.PrismObject;
import com.evolveum.midpoint.prism.delta.ObjectDelta;
import com.evolveum.midpoint.schema.GetOperationOptions;
import com.evolveum.midpoint.schema.SelectorOptions;
import com.evolveum.midpoint.schema.resul... | {
"content_hash": "d1417819de5aa71a3e138dab75039972",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 125,
"avg_line_length": 41.275862068965516,
"alnum_prop": 0.693922305764411,
"repo_name": "sabriarabacioglu/engerek",
"id": "a02fc5e019e869f4a29231185422c7c4eab88f9f",
"si... |
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE pov SYSTEM "/usr/share/cgc-docs/replay.dtd">
<pov>
<cbid>CROMU_00001</cbid>
<replay>
<read echo="ascii"><delim>\n</delim><match><data>1) Create User\n</data></match></read>
<read echo="ascii"><delim>\n</delim><match><data>2) Login\n</data></match></read>
<read ec... | {
"content_hash": "d044fa79bacb171b14e2c8f90a571148",
"timestamp": "",
"source": "github",
"line_count": 379,
"max_line_length": 110,
"avg_line_length": 81.55408970976254,
"alnum_prop": 0.6129606263547834,
"repo_name": "f0rki/cb-multios",
"id": "ad98ee7ce88c7cadc7ba3157aa83c0bfc465cc15",
"size": "30... |
package org.springframework.boot.actuate.metrics.web.client;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.stream.StreamSupport;
import io.micrometer.core.instrument.MeterRegistry;
import io.micrometer.core.instrument.MockClock;
import io.micrometer.core.instrument.Tag;
import io.microme... | {
"content_hash": "877d16ba01f082a15fc065ee9e81d89c",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 82,
"avg_line_length": 36.95192307692308,
"alnum_prop": 0.7717928701535259,
"repo_name": "tsachev/spring-boot",
"id": "ead7838d65fc53a4c461584ad013b3d5d1bb43ca",
"size": "... |
//
// This file is part of Wiggly project
//
// Created by JC on 03/31/13.
// For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code.
//
#import <Foundation/Foundation.h>
/**
* Contain information about a route parameter
*/
@interface WIRoutePlace... | {
"content_hash": "291450d5c05f16fd3ec09a760c0f0aff",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 74,
"avg_line_length": 25.366666666666667,
"alnum_prop": 0.7030223390275953,
"repo_name": "KptainO/Wiggly",
"id": "0ea46c609fbfef99a035eeb2af81361afb60692b",
"size": "761",... |
package api;
import javax.servlet.http.HttpServletRequest;
import org.json.simple.JSONObject;
import org.json.simple.JSONStreamAware;
public class VerifySigning extends APIServlet.APIRequestHandler {
public static void popupRequest(JSONObject info)
{
}
static final VerifySigning instance = new VerifySignin... | {
"content_hash": "bafc15a99ad0a1d42ccdd416c6de1a7e",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 65,
"avg_line_length": 19.192307692307693,
"alnum_prop": 0.7274549098196392,
"repo_name": "jonesnxt/jaywallet",
"id": "37257400c09d8e919e23abc344c7d0e6e00dcad7",
"size": "4... |
learnGATK
=========
[PGG]learn GATK workflow with a few genomic data
| {
"content_hash": "f40b4f92e35e9ab643d10640772afcdc",
"timestamp": "",
"source": "github",
"line_count": 4,
"max_line_length": 48,
"avg_line_length": 17.5,
"alnum_prop": 0.6857142857142857,
"repo_name": "WANGxiaoji/learnGATK",
"id": "4e36d593bc4fc1ba1053f3fb8076baa4a254556c",
"size": "70",
"binary... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data.Linq.Mapping;
using OpenRiaServices.DomainServices.Server;
namespace OpenRiaServices.DomainServices.LinqToSql
{
internal class LinqToSqlDomainServiceDescriptionProvider : DomainServiceDescriptionProvider
{
p... | {
"content_hash": "3ee853871a5770ecb112ab3a5a3b8a42",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 145,
"avg_line_length": 43.55882352941177,
"alnum_prop": 0.6350438892640108,
"repo_name": "jeffhandley/OpenRiaServices",
"id": "d58ac97f7f302e1ce6e5531f91a8f77564047034",
"... |
int main(int argc, const char * argv[]) {
typedef hellodjinni::HelloDjinni HelloDjinni;
auto hd = HelloDjinni::create();
auto result = hd->get_hello_djinni();
std::cout << result << std::endl;
return 0;
}
| {
"content_hash": "6c119026302d764b917aef5d184afc14",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 49,
"avg_line_length": 25.22222222222222,
"alnum_prop": 0.6299559471365639,
"repo_name": "joinAero/XCalculator",
"id": "6100e460f6727ea00552e567a8aa16a984934944",
"size": "4... |
/*
* Do not modify this file. This file is generated from the ssm-2014-11-06.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.SimpleSystemsManagement.Model;
us... | {
"content_hash": "00fe133ee1fa3cd9ceb1dec5307c7837",
"timestamp": "",
"source": "github",
"line_count": 98,
"max_line_length": 178,
"avg_line_length": 38.6530612244898,
"alnum_prop": 0.6430834213305174,
"repo_name": "mwilliamson-firefly/aws-sdk-net",
"id": "11033e721937f7556f747ecf4ca515b054ada667",
... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/layout_paramsetter"
>
<Tabl... | {
"content_hash": "137b75e107f6858944eb0c4ba5f38e5e",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 72,
"avg_line_length": 37.625,
"alnum_prop": 0.5523255813953488,
"repo_name": "ChinoMars/bccAndroidController",
"id": "b57685230b64a3e6ecd7f9e3baf124a044d0d0c1",
"size": "3... |
import { compile } from '../utils/helpers';
QUnit.module('ember-htmlbars: compile');
QUnit.test('calls template on the compiled function', function() {
let templateString = '{{foo}} -- {{some-bar blah=\'foo\'}}';
let actual = compile(templateString);
ok(actual.isTop, 'sets isTop via template function');
ok(... | {
"content_hash": "47833f5ce628e8c9f56359b6f8e6b088",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 71,
"avg_line_length": 30.153846153846153,
"alnum_prop": 0.6836734693877551,
"repo_name": "skeate/ember.js",
"id": "29b3fa3fe2174f7341b34c153c361395736db09a",
"size": "392"... |
// +build darwin
/*
* Minio Cloud Storage, (C) 2015 Minio, Inc.
*
* 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 require... | {
"content_hash": "805ecdbd4852f026577b3ee97f3fe543",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 77,
"avg_line_length": 26.863636363636363,
"alnum_prop": 0.7157360406091371,
"repo_name": "koolhead17/minio",
"id": "c000e1a08fbdfac1ce2e1952c582ba4123fb1a3f",
"size": "118... |
/* HTML5 ✰ Boilerplate */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th... | {
"content_hash": "071dc05bde1cb0c0771d741d20717f0b",
"timestamp": "",
"source": "github",
"line_count": 113,
"max_line_length": 155,
"avg_line_length": 41.75221238938053,
"alnum_prop": 0.6596015260703688,
"repo_name": "orlk/hopitrepo",
"id": "e2f3a4cbd66b34f4692b207af427dfc3972f4010",
"size": "4720... |
ERLFLAGS= -pa $(CURDIR)/.eunit -pa $(CURDIR)/ebin -pa $(CURDIR)/deps/*/ebin
DEPS_PLT=$(CURDIR)/.deps_plt
# =============================================================================
# Verify that the programs we need to run are installed on this system
# ============================================================... | {
"content_hash": "b25e456de2082e3d7f56a4b9bf28c720",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 79,
"avg_line_length": 24.175,
"alnum_prop": 0.6365046535677352,
"repo_name": "layerhq/pooler",
"id": "fc106c183ccfbd15d42733f2e7062c99b8509090",
"size": "1934",
"binary"... |
set -e
supportRoot="$(cd $(dirname $0)/.. && pwd)"
checkoutRoot="$(cd ${supportRoot}/../.. && pwd)"
function die() {
echo "$@" >&2
exit 1
}
function usage() {
violation="$1"
die "
Usage: $0 <git treeish>
$0 <path>:<git treeish> <path>:<git treeish>
Validates that libraries built from the given ... | {
"content_hash": "4e6264849625697e83a3f910876cdbdf",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 282,
"avg_line_length": 34.42758620689655,
"alnum_prop": 0.6975160256410257,
"repo_name": "AndroidX/androidx",
"id": "1609834f7331c0bc3fe69fae349fc25cf4082754",
"size": "5... |
<?php
function blog_magazine_style($atts, $i){
global $post, $mk_options;
extract($atts);
$output = '';
$image_height = $grid_image_height;
$lightbox_full_size = wp_get_attachment_image_src(get_post_thumbnail_id(), 'full', true);
$post_type = get_post_meta($post->ID, '_single_post_type', true)... | {
"content_hash": "6e115f343b84ee71c6bb9b153249af03",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 275,
"avg_line_length": 47.048611111111114,
"alnum_prop": 0.4740959409594096,
"repo_name": "FabioQ/WP-fabioquinzi.com",
"id": "c4e90a495986fc25f19f28063078f71614aa68d1",
"... |
from loguru import logger
from flexget import plugin
from flexget.event import event
from flexget.plugin import PluginError
logger = logger.bind(name='list_clear')
class ListClear:
schema = {
'type': 'object',
'properties': {
'what': {
'type': 'array',
... | {
"content_hash": "ca6a147d7901ed0bec7a7846c7aa53d8",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 110,
"avg_line_length": 37.15,
"alnum_prop": 0.4952893674293405,
"repo_name": "ianstalk/Flexget",
"id": "e9a386c203a295bcb20a0d724b346d2e21baeeed",
"size": "2229",
"binar... |
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class BusinessProcessBatchItemContentImport
| Picturepark.SDK.V1 API </title>
<meta name="viewport" content="width=device-width">
<meta name="t... | {
"content_hash": "9d5e4bfe7b85a14c478103d31cdd3207",
"timestamp": "",
"source": "github",
"line_count": 287,
"max_line_length": 380,
"avg_line_length": 35.153310104529616,
"alnum_prop": 0.6306868867082962,
"repo_name": "Picturepark/Picturepark.SDK.DotNet",
"id": "9666ff8fa604e6fd02f359fe6ddb516d9c73c... |
<?php
/**
* Affects how a map's elements will be styled.
* Each MapTypeStyler should contain one and only one key. If more than one key
* is specified in a single MapTypeStyler, all but one will be ignored.
* For example: var rule = {hue: '#ff0000'}.
*/
class EGmap3MapTypeStyler extends EGmap3OptionBase
{
/**
... | {
"content_hash": "cb547df84b7277e64e30a829cd7adde0",
"timestamp": "",
"source": "github",
"line_count": 54,
"max_line_length": 79,
"avg_line_length": 30.333333333333332,
"alnum_prop": 0.6941391941391941,
"repo_name": "illibejiep/YiiBoilerplate",
"id": "6d5312a53d76d8c00c235b9c041125e07ef96ca2",
"si... |
package com.dream.example.presenter;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.annotation.TargetApi;
import android.os.Build;
import android.support.design.widget.Snackbar;
import android.text.TextUtils;
import android.view.View;
import android.widget.AutoCompl... | {
"content_hash": "321fd4719f6eabcb5d0186a85fc00442",
"timestamp": "",
"source": "github",
"line_count": 217,
"max_line_length": 111,
"avg_line_length": 34.8294930875576,
"alnum_prop": 0.6307224133368616,
"repo_name": "Jay-Y/yApp",
"id": "8bd01397651bbbb5b496f16ca7fae7f6f44390fc",
"size": "7574",
... |
using System;
namespace Midi.Events.MetaEvents
{
public sealed class MIDIChannelPrefixEvent : MetaEvent
{
public readonly byte channel;
public MIDIChannelPrefixEvent(int delta_time, byte channel)
: base(delta_time, 0x20)
{
if (channel < 0 || chann... | {
"content_hash": "4ed97a54a192636bec84cda001a1f636",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 95,
"avg_line_length": 24.53846153846154,
"alnum_prop": 0.5250783699059561,
"repo_name": "JannikArndt/MIDI-parser",
"id": "892c8fed80f6a1865c6c27dff984ad0a7576c69f",
"size"... |
.class public Lcom/fasterxml/jackson/databind/deser/CreatorProperty;
.super Lcom/fasterxml/jackson/databind/deser/SettableBeanProperty;
.source ""
# static fields
.field private static final serialVersionUID:J = 0x1L
# instance fields
.field protected final _annotated:Lcom/fasterxml/jackson/databind/introspect/Anno... | {
"content_hash": "9df877c064a08399325b76d18cd3cb08",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 394,
"avg_line_length": 34.80821917808219,
"alnum_prop": 0.7546241637150728,
"repo_name": "mmmsplay10/QuizUpWinner",
"id": "9815529ca630f3a6552267c8abc162d2cf1b6e01",
"siz... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
null
#### Original name
Uromyces briardii Har.
### Remarks
null | {
"content_hash": "39cd5bd864bf266af3dd86d70caff05b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 22,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "bdead153488553ddf97e386b0a665a60df8597c0",
"size": "173"... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "89cc8b96e6019b1356c377be8dc01623",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "4dc43b6e18aab34787c56791678aa726c1b0d04b",
"size": "187... |
package org.jongo.marshall.jackson.configuration;
import com.fasterxml.jackson.databind.MapperFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
class MapperFeatureModifier implements MapperModifier {
private final MapperFeature feature;
private final boolean enable;
public MapperFeatureModif... | {
"content_hash": "5baaa81f02ac4a0357344418ca3e814c",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 73,
"avg_line_length": 25.82608695652174,
"alnum_prop": 0.7070707070707071,
"repo_name": "bguerout/jongo",
"id": "f97b62cf0afaaf79cfa2d7b10ef802ec97362768",
"size": "1280",... |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "base/strings/utf_string_conversions.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/br... | {
"content_hash": "7097d2ce375591a2a76d699a0743882e",
"timestamp": "",
"source": "github",
"line_count": 290,
"max_line_length": 80,
"avg_line_length": 38.52758620689655,
"alnum_prop": 0.7232614338136579,
"repo_name": "nwjs/chromium.src",
"id": "c5eaddbe8ba66a65e6faf996417227745f0d603a",
"size": "11... |
from django.conf.urls import url
from django.views import generic
from . import views
urlpatterns = [
url('^$', generic.View.as_view(), name="index"),
url('^url_timeout\.html$', views.UrlTimeoutView.as_view(), name='url_timeout'),
# 申込み用フォーム(車室の一時確保に必要な項目)【個人・法人共通】
url('^user_subscription_simple_step... | {
"content_hash": "297365804ae134b090c4a7110b4ca255",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 119,
"avg_line_length": 58.52542372881356,
"alnum_prop": 0.6689834926151172,
"repo_name": "YangWanjun/areaparking",
"id": "7f9a9b1df041b8373fd229eb77d8322b5695e18b",
"size"... |
id: 587d7da9367417b2b2512b68
title: Use the reduce Method to Analyze Data
challengeType: 1
forumTopicId: 301313
localeTitle: Используйте метод reduce для анализа данных
---
## Description
<section id='description'>
<code>Array.prototype.reduce()</code> или просто <code>reduce()</code>, является наиболее общей из всех ... | {
"content_hash": "95d15cb01cb9d248c22efde3f3e13912",
"timestamp": "",
"source": "github",
"line_count": 302,
"max_line_length": 841,
"avg_line_length": 52.629139072847686,
"alnum_prop": 0.5239083931043161,
"repo_name": "jonathanihm/freeCodeCamp",
"id": "350c9eeee86ab643bc703d367737de5703a7a5de",
"s... |
package org.apache.beam.sdk.io;
import static org.hamcrest.Matchers.containsInAnyOrder;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
import java.io.Bu... | {
"content_hash": "b2b503f97358b51d637a833003170601",
"timestamp": "",
"source": "github",
"line_count": 599,
"max_line_length": 100,
"avg_line_length": 35.158597662771285,
"alnum_prop": 0.7144349477682811,
"repo_name": "jasonkuster/incubator-beam",
"id": "9f0c424b3cf362df3102bbfc998ea43eae011509",
... |
require 'spec_helper'
describe 'layouts/nav/sidebar/_admin' do
shared_examples 'page has active tab' do |title|
it "activates #{title} tab" do
render
expect(rendered).to have_selector('.nav-sidebar .sidebar-top-level-items > li.active', count: 1)
expect(rendered).to have_css('.nav-sidebar .sid... | {
"content_hash": "d8c7b85baa37f97eb5298ef944e20eb8",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 102,
"avg_line_length": 27.4,
"alnum_prop": 0.6715328467153284,
"repo_name": "dreampet/gitlab",
"id": "05c2f61a60660aec53c3205372adf35cb1863c32",
"size": "2466",
"binary"... |
/**
* Pull in required modules
**/
const async = require('async');
const url = require('url');
const dns = require('dns');
const _ = require('lodash');
const S = require('string');
/**
* Expose our creation class that will be called
* with properties.
**/
module.expo... | {
"content_hash": "85748806a16507749bbbca34105f3767",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 65,
"avg_line_length": 23.358974358974358,
"alnum_prop": 0.6114160263446762,
"repo_name": "passmarked/cli",
"id": "393f48703f49db15ca69b8b22bd34960493abb51",
"size": "911",... |
class CloseAllTaxAdjustments < ActiveRecord::Migration
def up
Spree::Adjustment.tax.update_all(finalized: true)
end
end
| {
"content_hash": "8774da234d041df6edf8aed41b71d4c8",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 54,
"avg_line_length": 25.6,
"alnum_prop": 0.7734375,
"repo_name": "solidusio/solidus_avatax",
"id": "1132bf61875d6cdf29c8216cb39c3cad4f049ff2",
"size": "128",
"binary": f... |
<?php
class Twig_Tests_Node_Expression_TestTest extends Twig_Test_NodeTestCase
{
/**
* @covers Twig_Node_Expression_Test::__construct
*/
public function testConstructor()
{
$expr = new Twig_Node_Expression_Constant('foo', 1);
$name = new Twig_Node_Expression_Constant... | {
"content_hash": "60f450a23f2974105d3d0c7d45ce4233",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 93,
"avg_line_length": 31.017241379310345,
"alnum_prop": 0.5780989438576987,
"repo_name": "lrt/lrt",
"id": "739033b5a7d21d53ae49b90957e5bccafbbe3b20",
"size": "1999",
"bi... |
package com.arthurb.adapter.ducks;
/**
* Created by Blackwood on 01.03.2016 0:12.
*/
// Простейшие реализации выводят сообщения о выполняемой операции
public class MallardDuck implements Duck {
@Override
public void quack() {
System.out.println("Quack");
}
@Override
public void fly() {
... | {
"content_hash": "ede4af0ed49704b4f112e0a30af3587a",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 65,
"avg_line_length": 20.555555555555557,
"alnum_prop": 0.6513513513513514,
"repo_name": "NeverNight/SimplesPatterns.Java",
"id": "53a852d26978d0251fc9d2eeb77eb708b886f77c",... |
import React from 'react';
import { Route, Redirect, IndexRedirect } from 'react-router';
import App from './containers/App';
import ScenarioContainer from './containers/Scenario';
import SidebarContainer from './containers/Sidebar';
import SubscribeContainer from './containers/Subscribe';
import Faq from './components... | {
"content_hash": "afc47319a6f214281379b2abcc5625f6",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 82,
"avg_line_length": 44.36363636363637,
"alnum_prop": 0.7100409836065574,
"repo_name": "scenario-generator/frontend",
"id": "02ab173240af7e089eab6a86486792f0c348c341",
"s... |
Demo of "include","XML Drawable","9-patch".
This is a small demo ----RemoteControl.
| {
"content_hash": "24eb301502f494b2b2cc745fba7703bb",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 43,
"avg_line_length": 42,
"alnum_prop": 0.7023809523809523,
"repo_name": "cyanstone/RemoteControl",
"id": "b52c43a0b58acb9fe755b5f4419c3647300f9b61",
"size": "100",
"bina... |
<!DOCTYPE html>
<title>flexbox | multicol on flexbox items</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<style>
div {
background: blue;
}
p {
font-family: monospace;
background: yellow;
column-rule: 1em solid lime;
columns: 2;
width: 200px;
margin: 0 auto;
}
</style>
<div>
<p>one ... | {
"content_hash": "27f79b627e0086f0c34324d2d3f6ae5e",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 66,
"avg_line_length": 17.55,
"alnum_prop": 0.6780626780626781,
"repo_name": "google-ar/WebARonARCore",
"id": "3c8e1f475a337e111b7290465b67ede2b35ac4bb",
"size": "351",
"... |
import sys
sys.path.append("../src/app")
import unittest
from app.functions import get_config,safe_get_config
class FunctionsTest(unittest.TestCase):
def setUp(self):
pass
def tearDown(self):
pass
def test_get_config_key_missing(self):
self.assertIsNone(get_config('hackathon-api... | {
"content_hash": "5ff05fa8647c006afe7f181daf45997e",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 75,
"avg_line_length": 26.147058823529413,
"alnum_prop": 0.6805399325084365,
"repo_name": "mshubian/BAK_open-hackathon",
"id": "5a560701fbe765e6a268c93f1a7c7db78b8d0f68",
"... |
// 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.
package org.chromium.chrome.browser.init;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;
import android.os.Loo... | {
"content_hash": "eb676a4ff924aa9c44f82d61ae04f875",
"timestamp": "",
"source": "github",
"line_count": 273,
"max_line_length": 100,
"avg_line_length": 38.78388278388278,
"alnum_prop": 0.6351530034000755,
"repo_name": "danakj/chromium",
"id": "f6e49d86921c4fcc6d34cbacb2ce496e82e50184",
"size": "105... |
package compiler
import (
"os"
"strings"
"github.com/go-task/task/v3/taskfile"
)
// GetEnviron the all return all environment variables encapsulated on a
// taskfile.Vars
func GetEnviron() *taskfile.Vars {
m := &taskfile.Vars{}
for _, e := range os.Environ() {
keyVal := strings.SplitN(e, "=", 2)
key, val :=... | {
"content_hash": "a95fe5ece94075b49747cb7634b14c27",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 72,
"avg_line_length": 19.85,
"alnum_prop": 0.6624685138539043,
"repo_name": "go-task/task",
"id": "b68e8ac1b8fbee26bdba6a38dde588ca171bf7f8",
"size": "397",
"binary": fa... |
from ale_python_interface import ALEInterface
from enduro.action import Action
from enduro.control import Controller
from enduro.state import StateExtractor
class Agent(object):
def __init__(self):
self._ale = ALEInterface()
self._ale.setInt('random_seed', 123)
self._ale.setFloat('repeat_a... | {
"content_hash": "cd88f4597a8e7fec97f1a128823e0307",
"timestamp": "",
"source": "github",
"line_count": 119,
"max_line_length": 84,
"avg_line_length": 31.168067226890756,
"alnum_prop": 0.5845241304933945,
"repo_name": "mamikonyana/mamikonyana.github.io",
"id": "1217908fe0ce3b0d525f70a5562cefbb3920091... |
"""
Definition of urls for $safeprojectname$.
"""
from django.conf.urls import include, url
import $safeprojectname$.views
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = [
# Examples:
# url(r'^$', $safeprojectname$.views.home, name... | {
"content_hash": "2a193fdc3a63663e52fa05eec61299b0",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 87,
"avg_line_length": 28.82608695652174,
"alnum_prop": 0.6923076923076923,
"repo_name": "DinoV/PTVS",
"id": "c9ba270513edf5e9b8f4552e418f3e521c129dd5",
"size": "663",
"b... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" />
<link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media... | {
"content_hash": "d19dff2307ba8af6e64ddfd35f24a8eb",
"timestamp": "",
"source": "github",
"line_count": 209,
"max_line_length": 297,
"avg_line_length": 43.942583732057415,
"alnum_prop": 0.5099085365853658,
"repo_name": "dcarda/aba.route.validator",
"id": "e0e675874d6a008d45b7a04e653fe3cfdbe65b76",
... |
<?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>
<parent>
<artifactId>minka-parent</... | {
"content_hash": "5038061848e77263a623d99a122108a8",
"timestamp": "",
"source": "github",
"line_count": 131,
"max_line_length": 100,
"avg_line_length": 30.793893129770993,
"alnum_prop": 0.7077342588001984,
"repo_name": "gcristian/minka",
"id": "b78b43b3f5acff849a36de1dabbc11761c6424dc",
"size": "40... |
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" id="top">
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta name="robots" content="noarchive" />
<meta name="description" content="description" />
<meta name="keywords" content="bbs, board... | {
"content_hash": "fd3bcd987170425abaeaa65caa049ed1",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 396,
"avg_line_length": 71.30588235294118,
"alnum_prop": 0.5805972611780235,
"repo_name": "parhamr/foramora",
"id": "69ab3100a1e140aa342c233bbf0efa88a52d6302",
"size": "606... |
import { expect } from 'chai';
import $ from './data/_.nested'; // FORMS
describe('Form state extra', () => {
it('$A state.$extra should have "foo" property', () =>
expect($.$A.state.$extra).to.have.property('foo'));
it('$A state.$extra "foo" prop should be "bar"', () =>
expect($.$A.state.extra('foo')).t... | {
"content_hash": "f891f7baf0f07dc3c934f51404919637",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 56,
"avg_line_length": 32.07142857142857,
"alnum_prop": 0.579064587973274,
"repo_name": "foxhound87/mobx-ajv-form",
"id": "a8fbb9fa1507dae9a63a0a550011d5bf3d9d2200",
"size"... |
/*jshint expr: true*/
'use strict';
var should = require('should')
, http = require('http')
, LiveReloadJsHandler = require('../lib/server').LiveReloadJsHandler;
describe('LiveReloadJsHandler', function() {
var server;
beforeEach(function() {
server = http.createServer(function(req, res) {
if (!new ... | {
"content_hash": "3dbad8ea43e66d6498bb2a41cee40fbf",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 86,
"avg_line_length": 25.609756097560975,
"alnum_prop": 0.5904761904761905,
"repo_name": "nitoyon/livereloadx",
"id": "8c896e09435202cf851067a80562aaa260e45f79",
"size": "... |
package sgdk.rescomp.resource;
import java.io.ByteArrayOutputStream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import sgdk.rescomp.Resource;
import sgdk.rescomp.tool.Util;
import sgdk.rescomp.type.Basics.Compression;
import sgdk.rescomp.type.Basics.TileEquality;
import sgdk.rescomp.t... | {
"content_hash": "b57acd901a835311b3a04535b608ef9c",
"timestamp": "",
"source": "github",
"line_count": 467,
"max_line_length": 172,
"avg_line_length": 38.07066381156317,
"alnum_prop": 0.5012092918611846,
"repo_name": "andwn/SGDK",
"id": "7341fbb958ae46b739b68ba7339336d6a827466e",
"size": "17779",
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805_int64_t_loop_11.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE805.label.xml
Template File: sources-sink-11.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Alloc... | {
"content_hash": "28aa97eaf2cd7cda44f73066cca02511",
"timestamp": "",
"source": "github",
"line_count": 143,
"max_line_length": 135,
"avg_line_length": 27.965034965034967,
"alnum_prop": 0.5633908477119279,
"repo_name": "maurer/tiamat",
"id": "e3c81fe9ef117ee7c877c0a6aea2b30da8201803",
"size": "3999... |
@interface BHRSinglePageProjectItem : BHRProjectItem
@property (nonatomic, strong) UIColor *backgroundColor;
- (NSURL *)videoURL;
@end
| {
"content_hash": "ef3d831a4d383759c41b13ecf4ca2c03",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 55,
"avg_line_length": 19.714285714285715,
"alnum_prop": 0.782608695652174,
"repo_name": "bhr/WWDC2014-Scholarship-Application",
"id": "4307b33cb10a0a203c275844093f685c51c9de8... |
#include "OVR_Timer.h"
#include "OVR_Log.h"
#if defined (OVR_OS_WIN32)
#include <windows.h>
#elif defined(OVR_OS_ANDROID)
#include <time.h>
#include <android/log.h>
#else
#include <sys/time.h>
#endif
namespace OVR {
//------------------------------------------------------------------------
// *** Timer - Platfor... | {
"content_hash": "9ca3a99172c5f9c3cc409abf2c163587",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 96,
"avg_line_length": 18.736318407960198,
"alnum_prop": 0.6192246415294742,
"repo_name": "joeyzhang105/InspireVR",
"id": "84ff4a156af75f2a4ce98fc219724ebe388fa1d8",
"size... |
package com.netflix.hollow.api.consumer.data;
import com.netflix.hollow.core.AbstractStateEngineTest;
import com.netflix.hollow.core.read.engine.object.HollowObjectTypeReadState;
import com.netflix.hollow.core.write.objectmapper.HollowObjectMapper;
import java.util.Collection;
import java.util.List;
import org.junit.... | {
"content_hash": "1d484922c259b6f18ccc3b4a9b0575fc",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 123,
"avg_line_length": 35.107142857142854,
"alnum_prop": 0.6831129196337742,
"repo_name": "Netflix/hollow",
"id": "fdd46cf01d54b24399d8bd8a79cb56fed3cc17ca",
"size": "2604... |
import warnings
warnings.simplefilter('ignore', Warning)
from django.conf import settings
from core.tests.backends import *
from core.tests.fields import *
from core.tests.forms import *
from core.tests.indexes import *
from core.tests.inputs import *
from core.tests.loading import *
from core.tests.models import *
f... | {
"content_hash": "527d18796478f4378e54646d57cf0f5d",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 44,
"avg_line_length": 29.11764705882353,
"alnum_prop": 0.793939393939394,
"repo_name": "josesanch/django-haystack",
"id": "2aef8ad618fea691a4d5a0ecc7ed882a2b79ba12",
"size... |
struct system {};
system discretize(const mesh& m);
void solve(system& s);
#endif // GREATEST_BESTEST_SOLVER_INCLUDE
| {
"content_hash": "8123e94ccd3b3c83dfe1bf30831525ab",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 41,
"avg_line_length": 17.142857142857142,
"alnum_prop": 0.725,
"repo_name": "tzaffi/cpp",
"id": "1f8fe7591e3b21a9696a10a3dd49dcb1dabcf860",
"size": "224",
"binary": false... |
package server
import (
"bufio"
"bytes"
"runtime"
"time"
"encoding/base64"
"encoding/json"
"fmt"
"io"
"net"
"net/http"
"os"
"strconv"
"strings"
"code.google.com/p/go.net/websocket"
"github.com/gorilla/mux"
"github.com/Sirupsen/logrus"
"github.com/docker/docker/api"
"github.com/docker/docker/api/ty... | {
"content_hash": "78e5f74ce5e8fecbab20b9041f5a569e",
"timestamp": "",
"source": "github",
"line_count": 1678,
"max_line_length": 188,
"avg_line_length": 28.341477949940405,
"alnum_prop": 0.6699749773955463,
"repo_name": "sergeyevstifeev/docker",
"id": "50dc84ff7ff4679780c2749220a2906e37769e40",
"si... |
.class public final Landroid/support/v4/media/MediaDescriptionCompat$Builder;
.super Ljava/lang/Object;
.source "MediaDescriptionCompat.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/v4/media/MediaDescriptionCompat;
.end annotation
.annotation system Ldalvik/an... | {
"content_hash": "e12be736526ae71b3d3abd06a385d63b",
"timestamp": "",
"source": "github",
"line_count": 197,
"max_line_length": 315,
"avg_line_length": 31.79187817258883,
"alnum_prop": 0.7430943637234552,
"repo_name": "shenxdtw/PokemonGo-Plugin",
"id": "d7af0186f70476977653618993ff3368b07bd0df",
"s... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general de un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos valores de atributo para modificar la información
// asociada con un ensamblado.
[assembly: Assembl... | {
"content_hash": "7d13a69af4cb2e2cd774d58007362b42",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 102,
"avg_line_length": 42.27777777777778,
"alnum_prop": 0.7588699080157687,
"repo_name": "hossmi/qtfkdata",
"id": "e7bc70ceb85269218eef0f6938ac3283216a80e1",
"size": "1540... |
<?php
namespace Drupal\video_embed_field\Plugin\Field\FieldType;
use Drupal\Core\Field\FieldItemBase;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\TypedData\DataDefinition;
use Drupal\Core\TypedData\TraversableTypedDataInterface;
/**
* Plugin implem... | {
"content_hash": "31bef0e91b36ca56af4c61a0fed2700e",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 160,
"avg_line_length": 27.62857142857143,
"alnum_prop": 0.6483971044467425,
"repo_name": "rlnorthcutt/acquia-cd-demo",
"id": "48b1b541731b25dc41667fa30883e2c0ac0ac7d5",
"... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>vue-admin</title>
</head>
<body>
<div id="app"></div>
<script src="/static/tinymce/tinymce.min.js"></script>
<!-- built fil... | {
"content_hash": "6a30c2b4d7eb9d1fd64bc9c0d1e601a5",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 110,
"avg_line_length": 28.23076923076923,
"alnum_prop": 0.6185286103542235,
"repo_name": "lc8882972/HuiTong",
"id": "1f2e33be7fa9cf8cac7b9164756ef6c005d7c702",
"size": "36... |
// 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 "base/test/test_file_util.h"
#include <vector>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/test/test_timeouts.h"
#include "bas... | {
"content_hash": "1009ccce4b2cdd5b3e22155810b1a0f0",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 80,
"avg_line_length": 29.132075471698112,
"alnum_prop": 0.7114637305699482,
"repo_name": "nwjs/chromium.src",
"id": "834b6668a8012d292d272ec48d3d9ce468230b4b",
"size": "3... |
import Render from './core/render';
import Interpolate from './objects/interpolate';
import Objects from './objects/objectsBase';
import Util from './objects/util';
import Easing from './easing/easing-base';
import Internals from './core/internals';
import Selector from './util/selector';
// Animation
import Animation... | {
"content_hash": "f2aa66ea0f2a1d7c9cca8d9a9a72f54c",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 50,
"avg_line_length": 20.805555555555557,
"alnum_prop": 0.7316421895861148,
"repo_name": "thednp/kute.js",
"id": "dde2f09e172d48b6b795f07cd0e3c420492f9378",
"size": "749",... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Ao3TrackReader.Helper
{
[Flags]
public enum WorkDetailsFlags
{
SavedLoc = 1,
InReadingList = 2,
All = SavedLoc | InReadingList
}
public interface IWorkDetails
{
IWorkChapter savedLoc... | {
"content_hash": "52501c80a5591579b7f42adcde042256",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 50,
"avg_line_length": 19.607142857142858,
"alnum_prop": 0.6174863387978142,
"repo_name": "wench/Ao3-Tracker",
"id": "b118def83d8c78b3670afc971502844cdf25a3e2",
"size": "11... |
// bslstl_string.t.cpp -*-C++-*-
#include <bslstl_string.h>
#include <bslstl_allocator.h>
#include <bslstl_forwarditerator.h>
#include <bslstl_stringrefdata.h>
#include <bslma_allocator.h> // for testing only
#include <bslma_default.h> // f... | {
"content_hash": "28f28d6a4e74f14a82d9aa288e81f374",
"timestamp": "",
"source": "github",
"line_count": 16438,
"max_line_length": 79,
"avg_line_length": 39.78914709818713,
"alnum_prop": 0.4433318961431319,
"repo_name": "idispatch/bde",
"id": "a0e6fb8b47e72ea5f5ae7b3670bc8813f0192f70",
"size": "6540... |
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace Suggeritore_Cisco.Logic
{
class Engine
{
private const double ACCEPTABLE_MINIMUM_PRECISION_THRESHOLD = 45;
private List<QuestionAnswer> listQuestionAnswers;
... | {
"content_hash": "2caca78ca27bef31fe871f2e062bf7a9",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 237,
"avg_line_length": 47.252873563218394,
"alnum_prop": 0.6129895402578448,
"repo_name": "ADeltaX/Suggeritore-Cisco",
"id": "29e2069fd4fa2918f7ed39dc24e7416031e21aee",
"s... |
Cupcake Bridge helps users makes bridges automagically!
Get the Cupcake browser extension for [Chrome](https://chrome.google.com/webstore/detail/cupcake/dajjbehmbnbppjkcnpdkaniapgdppdnc) and [Firefox](https://addons.mozilla.org/en-us/firefox/addon/cupcakebridge/)
### Releases
* Chrome - [download on google](https://ch... | {
"content_hash": "4f3a66b764e30d4e0e1f094943e924aa",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 520,
"avg_line_length": 68.10126582278481,
"alnum_prop": 0.7726765799256505,
"repo_name": "glamrock/cupcake",
"id": "845e8c506e6f8b20d2fcabaf7bafbbcd9df257e1",
"size": "548... |
package com.pineone.icbms.sda.comm.sch.dto;
/**
* 스케줄러용 DTO
*/
public class SchDTO {
private String task_group_id;
private String task_id;
private String task_class;
private String task_expression;
private String last_work_time;
private String use_yn;
private String cuser;
private String cdat... | {
"content_hash": "9df1b70682d72ad996af05f0c54f58e4",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 106,
"avg_line_length": 19.89090909090909,
"alnum_prop": 0.6307129798903108,
"repo_name": "iotoasis/SDA",
"id": "0d7dfe67e796a8a602e48cb6a86c9f8db27a2a60",
"size": "2198",... |
package zhy.com.highlight.position;
import android.graphics.RectF;
import zhy.com.highlight.HighLight;
/**
* Created by caizepeng on 16/8/20.
*/
public class OnTopPosCallback extends OnBaseCallback {
public OnTopPosCallback() {
}
public OnTopPosCallback(float offset) {
super(offset);
}
... | {
"content_hash": "9de9ee3ee6a2e08a8ff5f7e055e6e4a1",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 114,
"avg_line_length": 25.652173913043477,
"alnum_prop": 0.7084745762711865,
"repo_name": "isanwenyu/Highlight",
"id": "c92eb4ec9904ba10f81739148e0eac47cd933656",
"size": ... |
'use strict';
System.register(['aurelia-templating', 'aurelia-dependency-injection', 'aurelia-framework', '../common/attributeManager', '../common/attributes', '../element/element'], function (_export, _context) {
"use strict";
var bindable, customElement, noView, inject, computedFrom, AttributeManager, getBo... | {
"content_hash": "32e7e883adb82b0958361d4eb6400ef0",
"timestamp": "",
"source": "github",
"line_count": 384,
"max_line_length": 440,
"avg_line_length": 51.736979166666664,
"alnum_prop": 0.5397896008456234,
"repo_name": "Hochfrequenz/aurelia-openui5-bridge",
"id": "11cf616d7cd1a55a0d8648a4544da5e432bf... |
package eu.bcvsolutions.idm.acc.dto;
import java.util.UUID;
import org.springframework.hateoas.core.Relation;
import eu.bcvsolutions.idm.core.api.domain.Embedded;
import eu.bcvsolutions.idm.core.api.dto.AbstractDto;
import eu.bcvsolutions.idm.core.api.dto.IdmRoleCatalogueDto;
/*
* Role catalogue relation on accoun... | {
"content_hash": "4cdb85d016d5d1af0393a04a3255f5ba",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 89,
"avg_line_length": 21.4,
"alnum_prop": 0.7663551401869159,
"repo_name": "bcvsolutions/CzechIdMng",
"id": "d3efc87b0330b3d3a5914f9f994a37e396a49934",
"size": "1284",
"... |
(function (global, factory) {
if (typeof define === "function" && define.amd) {
define([], factory);
} else if (typeof exports !== "undefined") {
factory();
} else {
var mod = {
exports: {}
};
factory();
global.bootstrapTableFilterControl = mod.exports;
}
})(this, function () {
'... | {
"content_hash": "b4e54324d64874ef2dacfa722ec81203",
"timestamp": "",
"source": "github",
"line_count": 911,
"max_line_length": 335,
"avg_line_length": 38.1602634467618,
"alnum_prop": 0.5591128753883328,
"repo_name": "joeyparrish/cdnjs",
"id": "59a706f0f5c9d69acd9a42f16043a0ce6f6a448b",
"size": "34... |
package top.inject.dada.request;
import top.inject.dada.model.in.DaDaStore;
import top.inject.dada.protocol.Request;
import java.util.ArrayList;
@Request(url = "/api/shop/add")
public class StoreCreateRequest extends ArrayList<DaDaStore> {
}
| {
"content_hash": "cb9b54c642af4c074efdf836a74c62b9",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 62,
"avg_line_length": 22.363636363636363,
"alnum_prop": 0.7845528455284553,
"repo_name": "TamirTian/DaDaSDK",
"id": "8bd56864861504f068f7e02de78ff0d4ffd6a83d",
"size": "24... |
FROM jenkinsci/blueocean
USER root | {
"content_hash": "e60c32035d70a926e382ebe6e449e8da",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 24,
"avg_line_length": 11.666666666666666,
"alnum_prop": 0.8571428571428571,
"repo_name": "arcyfelix/Courses",
"id": "277900c83d51b831759985bd5a4fadfc976907fb",
"size": "35"... |
'''
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
Link: https://leetcode.com/problems/merge-k-sorted-lists/#/description
Example: None
Solution:
The problem is simply to find connected components in the grid.
Source: None
'''
# Defi... | {
"content_hash": "ace0f0fddeff36e203c6b03eacabed87",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 102,
"avg_line_length": 23.681818181818183,
"alnum_prop": 0.5604606525911708,
"repo_name": "supermarkion/Life-Backup",
"id": "9287029f41af0abe2f233cda2df18e30faa84cc4",
"si... |
<Record>
<Term>Hypertensive Encephalopathy</Term>
<SemanticType>Disease or Syndrome</SemanticType>
<ParentTerm>Hypertensive Crisis</ParentTerm>
<ParentTerm>Intracranial Hypertension</ParentTerm>
<ClassificationPath>Findings_and_Disorders_Kind/Disease, Disorder or Finding/Disease or Disorder/Non-Neoplastic Disorder... | {
"content_hash": "e368a9a5c211bc3ed63b7176bcddb331",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 554,
"avg_line_length": 76.76470588235294,
"alnum_prop": 0.839463601532567,
"repo_name": "detnavillus/modular-informatic-designs",
"id": "1e74c5ff9d6b8cdab9f83a3134589cf6e17a... |
/*
* @test
* @bug 7003595
* @summary IncompatibleClassChangeError with unreferenced local class with subclass
*/
public class T7003595b {
public static void main(String... args) throws Exception {
class A {}
class B extends A {}
B.class.getSuperclass().getDeclaringClass();
}
}
| {
"content_hash": "b3016d81fd9ec9a75051aba5064cfbe2",
"timestamp": "",
"source": "github",
"line_count": 15,
"max_line_length": 84,
"avg_line_length": 21.133333333333333,
"alnum_prop": 0.6561514195583596,
"repo_name": "emil-wcislo/sbql4j8",
"id": "0e0eb2ecc572844b44224ab7036242241d463545",
"size": "... |
print(__doc__)
from sklearn import svm
from sklearn.datasets import samples_generator
from sklearn.feature_selection import SelectKBest, f_regression
from sklearn.pipeline import Pipeline
def loadData():
# generating data
X, y = samples_generator.make_classification(n_features=20, \
... | {
"content_hash": "32cf1cb487e923f26a90c8b19c1cc042",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 72,
"avg_line_length": 23.28,
"alnum_prop": 0.5266323024054983,
"repo_name": "kwailamchan/programming-languages",
"id": "27fbd39a1db9844366bc6be6d3c2510941abe0cc",
"size": ... |
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Mozu.Api.Contracts.Fulfillment {
/// <summary>
///
/// </summary>
[DataContract]
public class CollectionModelOfManifest {
/// <summary>
/... | {
"content_hash": "db4ceed8680e514719671a859dfd0073",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 68,
"avg_line_length": 28.634615384615383,
"alnum_prop": 0.6447280053727333,
"repo_name": "Mozu/mozu-dotnet",
"id": "37d7aadbb6f957a35d4b76f717c3a666db7c004e",
"size": "148... |
/*
* Miscellaneous internetwork
* definitions for kernel.
*/
/*
* Network types.
*
* Internally the system keeps counters in the headers with the bytes
* swapped so that VAX instructions will work on them. It reverses
* the bytes before transmission at each protocol level. The n_ types
* represent the typ... | {
"content_hash": "55ccad2bb92928b96aebf95250a87c6d",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 70,
"avg_line_length": 24.392857142857142,
"alnum_prop": 0.7027818448023426,
"repo_name": "liuchuang/snort",
"id": "c217d8d24cfb5a2e1268a9246ffd07908ece72fd",
"size": "2563... |
package io.realm.internal;
import java.lang.ref.PhantomReference;
import java.lang.ref.ReferenceQueue;
/**
* This class is used for holding the reference to the native pointers present in NativeObjects.
* This is required as phantom references cannot access the original objects for this value.
* The phantom ref... | {
"content_hash": "0419f392f8deb114f35a9f55cd2eae19",
"timestamp": "",
"source": "github",
"line_count": 83,
"max_line_length": 118,
"avg_line_length": 34.57831325301205,
"alnum_prop": 0.645993031358885,
"repo_name": "realm/realm-java",
"id": "9e70b7dd5c6ceada781cceec2fbe67c2f7143863",
"size": "3459... |
layout: defaulten
back_label: "Inicio"
back_path: "/"
class: data
---
<!-- section intro-->
<section class="title">
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<h1>LabConDatos</h1>
<h2>Oct 1 - Biblioteca de México 10:00 - 19:00 <br> Oct 2 - Cinetec... | {
"content_hash": "4d0e86444c92d80ce6e227c9a3c43743",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 338,
"avg_line_length": 37.232,
"alnum_prop": 0.5870219166308551,
"repo_name": "ciudadanointeligente/condatos",
"id": "dac1f868c481f905caa8b9587653d114c981c86b",
"size": "... |
<?php
namespace Katsana\Sdk;
use BadMethodCallException;
/**
* @method $this onTimeZone(string|null $timeZoneCode)
* @method $this includes(array|string $includes)
* @method $this excludes(array $excludes)
* @method $this with(string $name, mixed $value)
* @method $this forPage(int|null $page = null)
* @method... | {
"content_hash": "e5fb96bb38ad4fe376425b8c80794546",
"timestamp": "",
"source": "github",
"line_count": 234,
"max_line_length": 90,
"avg_line_length": 20.012820512820515,
"alnum_prop": 0.497544309203502,
"repo_name": "katsana/katsana-sdk-php",
"id": "7762ba70e8837d60ac2e84f0217dc19ce4ae18f7",
"size... |
package acc.common.cmdline;
/**
* Defines error codes returned by CmdParser.
*/
public enum CmdExceptionCode {
PARSE_DUPLICATE_DEFAULT_COMMAND,
PARSE_DUPLICATE_COMMAND_NAME,
PARSE_PARAM_NAME_UNDEFINED,
DISPATCH_UNKNOWN_COMMAND,
DISPATCH_NO_COMMAND,
DISPATCH_INVOKE_ERROR,
DISPATCH_MISSING_... | {
"content_hash": "7e94471c88e2a4a5052d2c4c808f9aeb",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 45,
"avg_line_length": 26.444444444444443,
"alnum_prop": 0.7394957983193278,
"repo_name": "Guidewire/java-cmd-parser",
"id": "32c78f0df8b55baa83a78c96dbdff7bfb11a2133",
"si... |
using System;
using Android.App;
using Android.Content;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace TestMonoDroid
{
public static class OperationExtentions{
public static OperationType GetOperationType(this string operationString) {
if (string.IsNullOrEmpty(ope... | {
"content_hash": "2a847a23cb76c2a77b0f36cf81a4c0e9",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 96,
"avg_line_length": 23.782608695652176,
"alnum_prop": 0.7193784277879341,
"repo_name": "SKorolchuk/XamarinAndroidProjects",
"id": "313e3adf5d8acd7dbfdce88eb851d8d2ca9f9e68... |
import pytest
from tests.lib import (_create_test_package, _change_test_package_version,
pyversion)
from tests.lib.local_repos import local_checkout
@pytest.mark.network
def test_install_editable_from_git_with_https(script, tmpdir):
"""
Test cloning from Git with https.
"""
res... | {
"content_hash": "00b319e5bca72176aea789192b8c0b8c",
"timestamp": "",
"source": "github",
"line_count": 232,
"max_line_length": 79,
"avg_line_length": 31.676724137931036,
"alnum_prop": 0.6113756973737924,
"repo_name": "newsteinking/docker",
"id": "06ca8ffb1b47f6af945f6b7108f13b8cca5e9b22",
"size": ... |
namespace EasyHash.Helpers.Extensions
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
internal static class ExpressionExtensions
{
public static Expression ForEach(this Expres... | {
"content_hash": "9aa3d11fe3e59c164f4e89597763348b",
"timestamp": "",
"source": "github",
"line_count": 77,
"max_line_length": 130,
"avg_line_length": 42.90909090909091,
"alnum_prop": 0.6092615012106537,
"repo_name": "iarovyi/EasyHash",
"id": "ac732f9b5c93bb375c0e62f94c7b439b7cfc476f",
"size": "330... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_45) on Sun Jun 09 12:16:07 GMT+05:30 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<TITLE>
Uses of Class org.ap... | {
"content_hash": "e3a970278623039013b193d46cfbaa89",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 216,
"avg_line_length": 40.64779874213836,
"alnum_prop": 0.5848677084945072,
"repo_name": "rcr-81/SolrCamper",
"id": "8127ea11d74fbfe4594285a900de844b2ba58f52",
"size": "6... |
namespace base {
template <typename T>
struct DefaultSingletonTraits;
} // namespace base
namespace query_tiles {
class TileService;
// A factory to create one unique TileService.
class TileServiceFactory : public SimpleKeyedServiceFactory {
public:
static TileServiceFactory* GetInstance();
static TileService*... | {
"content_hash": "e076878fb601f6d904b1c1832723da4d",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 68,
"avg_line_length": 26.35483870967742,
"alnum_prop": 0.7784577723378213,
"repo_name": "nwjs/chromium.src",
"id": "c893bfdcf81c8bac6fcbf16f744e7d3d1f747a1a",
"size": "122... |
"use strict";
import { EC } from "./elliptic";
import { arrayify, hexDataLength, hexlify, hexZeroPad, splitSignature } from "@ethersproject/bytes";
import { defineReadOnly } from "@ethersproject/properties";
import { Logger } from "@ethersproject/logger";
import { version } from "./_version";
const logger = new Logger(... | {
"content_hash": "e95f9a50ccf70aa58712943b1f040a80",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 105,
"avg_line_length": 41.53658536585366,
"alnum_prop": 0.6327069876688197,
"repo_name": "ethers-io/ethers.js",
"id": "6a54045d97bc010d81542119e698bf680bdbf0cf",
"size": "... |
package ca.uhn.fhir.rest.client;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.parser.IParser;
import ca.uhn.fhir.rest.api.Constants;
import ca.uhn.fhir.rest.client.api.IGenericClient;
import ca.uhn.fhir.rest.client.api.ServerValidationModeEnum;
import ca.uhn.fhir.util.TestUtil;
import org.apache.commons.... | {
"content_hash": "7d198f0ecb7065d85c7d692bf6b37629",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 139,
"avg_line_length": 37.78448275862069,
"alnum_prop": 0.7855350216746521,
"repo_name": "aemay2/hapi-fhir",
"id": "1abc8072a1471cf62c5086f8d752aba9b5a29415",
"size": "43... |
var spawned = require('../');
spawned('echo', ['test'])
.then(function(proc) {
console.log("Did it work? " + ((proc.out.match(/test/))? "yes" : "no"));
}).catch(function(err) {
console.log("Boooooom");
console.error(err.err);
}); | {
"content_hash": "f4a09bdfa1c2dc89612b7db68dc0fa98",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 76,
"avg_line_length": 27.555555555555557,
"alnum_prop": 0.5645161290322581,
"repo_name": "mariocasciaro/spawned",
"id": "e6917efa4b055e1697d57dc92605b5135120e114",
"size": ... |
Edit the file form sub branch
| {
"content_hash": "a1567a7cb68cc6eeacd79dc129a83e91",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 29,
"avg_line_length": 30,
"alnum_prop": 0.8,
"repo_name": "bzaman-tk/hello-world",
"id": "981cb351083545e5f62c623427d5812501349c39",
"size": "44",
"binary": false,
"cop... |
#ifndef _DT_BINDINGS_PINCTRL_TEGRA_H
#define _DT_BINDINGS_PINCTRL_TEGRA_H
/*
* Enable/disable for diffeent dt properties. This is applicable for
* properties nvidia,enable-input, nvidia,tristate, nvidia,open-drain,
* nvidia,lock, nvidia,rcv-sel, nvidia,high-speed-mode, nvidia,schmitt.
*/
#define TEGRA_PIN_DISABL... | {
"content_hash": "f06067687fd28443b2fc6479ce25dc5d",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 71,
"avg_line_length": 27.533333333333335,
"alnum_prop": 0.7203389830508474,
"repo_name": "mikedlowis-prototypes/albase",
"id": "ebafa498be0ff7425eb13d68f173d1b228f0a346",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.