text stringlengths 2 1.04M | meta dict |
|---|---|
layout: default
---
<div class="row">
<article class="post col-md-{% if page.nonavigation != true %}8{% else %}12{% endif %}" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="post-meta">
... | {
"content_hash": "6b5bbfa61ce6495731b42e6ba3e8855c",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 141,
"avg_line_length": 32.25806451612903,
"alnum_prop": 0.571,
"repo_name": "foreshadow/Infinity-s-site",
"id": "688803fed5ba6690ddc018d7c3cb5f49fd18a9fd",
"size": "1010",... |
/*global URLify*/
(function($) {
'use strict';
$.fn.prepopulate = function(dependencies, maxLength, allowUnicode) {
/*
Depends on urlify.js
Populates a selected field with the values of the dependent fields,
URLifies and shortens the string.
dependencies -... | {
"content_hash": "c6d42c2183a220fd341964d1d862bf98",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 139,
"avg_line_length": 37.6,
"alnum_prop": 0.5193423597678917,
"repo_name": "FlipperPA/wagtail",
"id": "7506338305bff81e750d7e57a31816f714513777",
"size": "2068",
"binar... |
module.exports = function (config) {
'use strict';
config.set({
basePath : '../',
files : [
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/angular-resource/angular-resource.js',
'bower_components/angular-route/angular-ro... | {
"content_hash": "7ab83794f7f896de6471dd6683f4b660",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 66,
"avg_line_length": 24.46511627906977,
"alnum_prop": 0.6159695817490495,
"repo_name": "JesusGuerrero/MAHRIO",
"id": "f569544132dfcf6bc1cfd6cbff53d6b5bea51e41",
"size": "... |
.class Lcom/android/server/location/LocationBasedCountryDetector$1;
.super Ljava/lang/Object;
.source "LocationBasedCountryDetector.java"
# interfaces
.implements Landroid/location/LocationListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/android/server/location/Location... | {
"content_hash": "8437bd4086eb5acea272de96a043e0f9",
"timestamp": "",
"source": "github",
"line_count": 90,
"max_line_length": 186,
"avg_line_length": 29.211111111111112,
"alnum_prop": 0.7485736021300875,
"repo_name": "hexiaoshuai/Flyme_device_ZTE_A1",
"id": "bdfa5be905ec99b8f4bbde5e2244792caa541fcf"... |
""".
This is info messages file, contains all the info messages for the service
"""
from flask import jsonify
from core.handlers.common_handlers import base_response, base_response_token
from core.handlers.common_handlers import base_response_user
from core.messages import successful_messages as info
from flask_api ... | {
"content_hash": "4a189d3aaa2cb7a772ed49ca03d82061",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 76,
"avg_line_length": 33.13095238095238,
"alnum_prop": 0.5749191519942508,
"repo_name": "pcu4dros/pandora-core",
"id": "28f423c23c1c62803ab657553e422c8896c1d130",
"size": ... |
package net.sf.jColtrane.annotations.methods;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import net.sf.jColtrane.factory.BeforeElementConditionsFactory;
@Rete... | {
"content_hash": "acfa472489da894cfe51599ac862be04",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 65,
"avg_line_length": 28.608695652173914,
"alnum_prop": 0.8161094224924013,
"repo_name": "renzon/jcoltrane",
"id": "de357e66c8e880e39e9732eb35e82f4d7777deb0",
"size": "658... |
#include "common/bt_defs.h"
#include "common/bt_trace.h"
#include "osi/list.h"
#include "osi/hash_map.h"
#include "osi/allocator.h"
struct hash_map_t;
typedef struct hash_map_bucket_t {
list_t *list;
} hash_map_bucket_t;
typedef struct hash_map_t {
hash_map_bucket_t *bucket;
size_t num_bucket;
size... | {
"content_hash": "51a902d524a9a47d977760e10d0728f7",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 85,
"avg_line_length": 27.58267716535433,
"alnum_prop": 0.6050528118755353,
"repo_name": "www220/esp-idf",
"id": "1487b07edc54768f65496f74818997575247bd40",
"size": "7772"... |
'use strict';
var arrayUniq = require('array-uniq');
var detective = require('detective');
var path = require('path');
var first = require('./util/first');
var looksLikePath = require('./util/looksLikePath');
var noError = require('./util/noError');
var readFile = require('./readFile');
var sequence = require('./util/... | {
"content_hash": "df689072c7b4f7a5f41707dbb29722e0",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 96,
"avg_line_length": 29.80392156862745,
"alnum_prop": 0.6013157894736842,
"repo_name": "mwiencek/yarb",
"id": "9d9332c1e5ad3a76b4b10f8ae80728360450daf0",
"size": "3040",... |
using System.Web.Mvc;
using System.Web.Mvc.Html;
namespace MVCMongo.Helpers
{
public static class HtmlHelpers
{
public static MvcHtmlString MenuLink(this HtmlHelper htmlHelper, string linkText, string actionName, string controllerName)
{
var currentAction = htmlHelper.ViewContext.Ro... | {
"content_hash": "b2bd131cb507cda71aefad478a1de094",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 131,
"avg_line_length": 37.583333333333336,
"alnum_prop": 0.6186252771618626,
"repo_name": "inergex/meetups",
"id": "87862330aaada7a7a387663f46beea21607286b7",
"size": "902... |
package badger
import (
"bytes"
"fmt"
"io"
"log"
"github.com/dgraph-io/badger"
"github.com/google/note-maps/kv"
)
var (
entitySequenceKey = []byte{1}
)
// DB holds some kv-specific state in addition to mixing in a badger.DB.
type DB struct {
*badger.DB
seq *badger.Sequence
}
// DefaultOptions returns a re... | {
"content_hash": "f6a475ac0fbeed5d1d7faf3be65bfa2a",
"timestamp": "",
"source": "github",
"line_count": 156,
"max_line_length": 80,
"avg_line_length": 21.326923076923077,
"alnum_prop": 0.6486324015629696,
"repo_name": "google/note-maps",
"id": "79d308d492ec164af128275e56f91f2cc0f989cc",
"size": "39... |
#import "DynamoDBAttributeValue.h"
#ifdef AWS_MULTI_FRAMEWORK
#import <AWSRuntime/AmazonServiceRequestConfig.h>
#else
#import "AmazonServiceRequestConfig.h"
#endif
/**
* Get Item Request
*/
@interface DynamoDBGetItemRequest:AmazonServiceRequestConfig
{
NSString *tableName;
NSMutableDictiona... | {
"content_hash": "fc84d94fc6c212f7e3cf02e578abbe93",
"timestamp": "",
"source": "github",
"line_count": 116,
"max_line_length": 85,
"avg_line_length": 27.379310344827587,
"alnum_prop": 0.7068639798488665,
"repo_name": "wallisch/aws-sdk-ios-v1",
"id": "a8488c236186c389b1fa8148e067052d9721c5c7",
"siz... |
package org.finra.jtaf.core.ztest;
import java.io.File;
import org.finra.jtaf.core.AutomationEngine;
import org.junit.Assert;
import org.junit.Test;
public class DuplicateRepeatTest {
private static AutomationEngine engine = null;
@Test
public void testBuildmodel() {
engine =... | {
"content_hash": "083f56c0906beb8a21d120229b4e54e2",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 190,
"avg_line_length": 27.551724137931036,
"alnum_prop": 0.6195244055068836,
"repo_name": "SonOfFlyingPig/JTAF-XCore",
"id": "c2f68b77fcd2b5e17e8b7adc2744bd3695855b58",
"s... |
'use strict';
import 'vs/css!./emptyView';
import nls = require('vs/nls');
import Lifecycle = require('vs/base/common/lifecycle');
import EventEmitter = require('vs/base/common/eventEmitter');
import DOM = require('vs/base/browser/dom');
import {Button} from 'vs/base/browser/ui/button/button';
import WinJS = require... | {
"content_hash": "839ae838e8d5f932c9afe906c0ec2b31",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 110,
"avg_line_length": 25.37433155080214,
"alnum_prop": 0.7243414120126449,
"repo_name": "dersia/vscode",
"id": "f9211ca023f38987a94f2779c74f76d07fb5c388",
"size": "5096"... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using VkNet.Enums;
using VkNet.Enums.Filters;
using VkNet.Enums.SafetyEnums;
using VkNet.Model;
using VkNet.Model.RequestParams;
using VkNet.Utils;
namespace VkNet.Categories;
/// <inheritdoc />
public ... | {
"content_hash": "a5c4902621e00e2b2ecf98569936906f",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 137,
"avg_line_length": 43.92553191489362,
"alnum_prop": 0.7435214337612013,
"repo_name": "vknet/vk",
"id": "98930bc9f302cab672079f407140a70c9cc45e05",
"size": "4129",
"b... |
"""
This module implements the configuration for handling CORS requests.
"""
import logging
import re
try:
from falcon import HTTP_METHODS
except ImportError:
from falcon import status_codes as HTTP_METHODS
from .middleware import CORSMiddleware
from .log import get_default_logger
class CORS(object):
""... | {
"content_hash": "7f49c1cc639af8386668503ca3e268ae",
"timestamp": "",
"source": "github",
"line_count": 456,
"max_line_length": 86,
"avg_line_length": 40.875,
"alnum_prop": 0.6118890498417298,
"repo_name": "lwcolton/falcon-cors",
"id": "d76cda46bc52c18c7057e43e20febb16f7f76bc2",
"size": "18639",
... |
Criação de um crud em codeigniter
| {
"content_hash": "3c6c1b04a3743c2d8961a84937a2f9a6",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 33,
"avg_line_length": 34,
"alnum_prop": 0.8235294117647058,
"repo_name": "leandro-web/ci-crud",
"id": "b0eff0a51e88c683403eb1907e481fbf54d5a4d3",
"size": "46",
"binary": ... |
package org.apache.commons.jelly.tags.core;
import org.apache.commons.jelly.JellyTagException;
import org.apache.commons.jelly.TagSupport;
import org.apache.commons.jelly.XMLOutput;
import org.xml.sax.helpers.DefaultHandler;
/** A tag which executes its body but passing no output.
* <p>
* Using this t... | {
"content_hash": "8781d95f4905afb4d24dc7fc7770d79b",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 79,
"avg_line_length": 29.46,
"alnum_prop": 0.6381534283774609,
"repo_name": "jenkinsci/jelly",
"id": "a5ee4f5190a9b2561f24d95560f2ba8d6bb2d808",
"size": "2107",
"binary"... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Server/client environment: argument handling, config file parsing,
* logg... | {
"content_hash": "bef020cf941de939ac8e344dfc2e06a5",
"timestamp": "",
"source": "github",
"line_count": 240,
"max_line_length": 143,
"avg_line_length": 30.125,
"alnum_prop": 0.7071922544951591,
"repo_name": "y-zono/counterparty-transaction-parser-cpp",
"id": "45b5c26fabbef40793bbab98d5e7e8ce64e9f0ad"... |
import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';
@Component({
selector: 'test-shadow-boundary',
template: `
<div class="in-the-shadows">Shadow 1</div>
<test-sub-shadow-boundary></test-sub-shadow-boundary>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
// tsl... | {
"content_hash": "b5425c0ae603a014548a65dd8f8f982d",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 84,
"avg_line_length": 31.083333333333332,
"alnum_prop": 0.7587131367292225,
"repo_name": "Jefiozie/material2",
"id": "ee7cb1d0616d94cd62be9652e9f93d92059a3e20",
"size": "9... |
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
import {RouterModule} from '@angular/router';
import {CategoryListComponent} from './category-list.component';
import {CategoryCardComponent} from './category-card.comp... | {
"content_hash": "b834adbf0ee9a8cc402b33049e5738b8",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 89,
"avg_line_length": 42.111111111111114,
"alnum_prop": 0.7849604221635884,
"repo_name": "akserg/learning_bootstrap4_angular2",
"id": "9b1e88c65d4d1e10dc9dc54a5c94fc9ac530ee... |
#include "sqliteInt.h"
#include "os.h"
#include <stdarg.h>
#include <ctype.h>
/*
** MALLOC WRAPPER ARCHITECTURE
**
** The sqlite code accesses dynamic memory allocation/deallocation by invoking
** the following six APIs (which may be implemented as macros).
**
** sqlite3Malloc()
** sqlite3MallocRaw()
** s... | {
"content_hash": "cb20dd46e36816b44dbd1f31cd46ad09",
"timestamp": "",
"source": "github",
"line_count": 1470,
"max_line_length": 80,
"avg_line_length": 29.28639455782313,
"alnum_prop": 0.6371048291561172,
"repo_name": "darwin/upgradr",
"id": "457227da0e907872540cb2d26b5ddeb2ff22a456",
"size": "4363... |
<!DOCTYPE html>
<html>
<head>
<!-- Document Settings -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Page Meta -->
<title>Hoisting in JavaScript</title>
<meta name="description" content="A place where I share my thoughts about programming." />
<!--... | {
"content_hash": "dc34c87f9974a44c451d7fdaa8e485fe",
"timestamp": "",
"source": "github",
"line_count": 895,
"max_line_length": 473,
"avg_line_length": 51.08268156424581,
"alnum_prop": 0.5659353879131215,
"repo_name": "marcin-chwedczuk/marcin-chwedczuk.github.io",
"id": "d5edc8ab455e5760d7d9ac0e61943... |
Source code for Elements of Programming Interviews (EPI) in C# .NET Core
| {
"content_hash": "1e5db62df0ed69d25e4401f75469cd24",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 72,
"avg_line_length": 73,
"alnum_prop": 0.7808219178082192,
"repo_name": "elumbantoruan/epi-csharp",
"id": "df60c8dc318c76dbdbe2aafd4a73b79a407e22e1",
"size": "79",
"bina... |

[](https://travis-ci.org/andrewray/iocamljs)
# IOCamlJS
IOCaml is an OCaml kernel for the
[IPython notebook](http://ipython.org... | {
"content_hash": "bcbf5d208b2b5e5136efa7d4ea70ba72",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 119,
"avg_line_length": 35.8,
"alnum_prop": 0.770391061452514,
"repo_name": "andrewray/iocamljs",
"id": "fa304cc830de90c1ff3a42ad9a2c2865476e88ce",
"size": "1790",
"binar... |
import logging
import os
from typing import Any, Dict, Iterable, List, Optional
from fvcore.common.timer import Timer
from detectron2.data import DatasetCatalog, MetadataCatalog
from detectron2.data.datasets.lvis import get_lvis_instances_meta
from detectron2.structures import BoxMode
from detectron2.utils.file_io imp... | {
"content_hash": "d369af6eb8aba2e696c478d48db14ed6",
"timestamp": "",
"source": "github",
"line_count": 256,
"max_line_length": 99,
"avg_line_length": 36.00390625,
"alnum_prop": 0.6432678745795812,
"repo_name": "facebookresearch/detectron2",
"id": "b4af9fa292f445c81dc840ab53d07c1af313dfc7",
"size":... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... | {
"content_hash": "e6a3cab8d033bf519c543d67882fdf18",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 153,
"avg_line_length": 42.86206896551724,
"alnum_prop": 0.6633145615446501,
"repo_name": "jianghaolu/azure-powershell",
"id": "7fe6cc352f75f797604421424ab38181a8af297d",
"... |
- filter messages for less than two words
- ideally, approve HITs based on quality -- no extraneous punctuation, several words | {
"content_hash": "61d0ef89f1281092a538258467b6a59c",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 84,
"avg_line_length": 63,
"alnum_prop": 0.7936507936507936,
"repo_name": "brianhouse/conversnitch",
"id": "e3057d454f0eac77f2752ae7c88a1f33ec66c7c8",
"size": "126",
"bina... |
YUI.add('gallery-test-dom', function (Y, NAME) {
/**
* YUI Test DOM Assertions - Utility asserts for functional testing
*
* @module gallery-test-dom
*/
"use strict";
/**
* Checks properties of element to determine if it's visible in viewport or not
* @method isElementVisible
* @private
* @param el {Object} D... | {
"content_hash": "ff977e72ed0b9e741785e03c9e208770",
"timestamp": "",
"source": "github",
"line_count": 157,
"max_line_length": 124,
"avg_line_length": 36.28662420382165,
"alnum_prop": 0.6359487449534843,
"repo_name": "jontsai/jekyll-theme-hacking-in-the-dark",
"id": "116cfd0f35c4dcae63e7c001fa67ed0f... |
package edu.stuy.commands;
import edu.stuy.Robot;
import edu.wpi.first.wpilibj.command.Command;
/**
* Stops the right acquirer wheel from running
*/
public class AcquirerRightStopCommand extends Command {
public AcquirerRightStopCommand() {
// Use requires() here to declare subsystem dependencies
... | {
"content_hash": "4e3c1d633735fed402dab989e9df7f11",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 79,
"avg_line_length": 26.025641025641026,
"alnum_prop": 0.677832512315271,
"repo_name": "Team694/PEGasus1",
"id": "ba4e8fee7dfb74042ad9866574659edbe61962cf",
"size": "1015... |
#ifndef __SNOW__CONSOLE_HH__
#define __SNOW__CONSOLE_HH__
#include "config.hh"
#include "data/database.hh"
#include <deque>
#include <functional>
#include <list>
#include <mutex>
#include <unordered_map>
#include <vector>
namespace snow {
/*! \ingroup Console */
enum cvar_flags_t : unsigned
{
// Note: all cvar ... | {
"content_hash": "a467722441809f512215943c9b68381a",
"timestamp": "",
"source": "github",
"line_count": 342,
"max_line_length": 108,
"avg_line_length": 34.80409356725146,
"alnum_prop": 0.6683189111988574,
"repo_name": "nilium/snow",
"id": "479119e8e8e57d3b5c7a5a9b346fb3812a8520c8",
"size": "12135",... |
<!DOCTYPE html><html><head><meta charset="utf-8" />
<meta http-equiv="refresh" content="0;url=/place/uruguay/spending/" />
</head></html> | {
"content_hash": "effa073db45bf428e7ba212b3a5736fb",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 70,
"avg_line_length": 45.666666666666664,
"alnum_prop": 0.6788321167883211,
"repo_name": "okfn/opendataindex-2015",
"id": "5b9113c24710f65d7d672e0606f379af3c86da5c",
"size"... |
<?php
declare(strict_types=1);
namespace sad_spirit\pg_builder\nodes\expressions;
use sad_spirit\pg_builder\exceptions\InvalidArgumentException;
use sad_spirit\pg_builder\nodes\GenericNode;
use sad_spirit\pg_builder\nodes\ScalarExpression;
use sad_spirit\pg_builder\TreeWalker;
/**
* AST node representing "foo AT... | {
"content_hash": "5d4c08fff0c9a9df9204b6a9d67b31bb",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 102,
"avg_line_length": 25.90909090909091,
"alnum_prop": 0.6801169590643275,
"repo_name": "sad-spirit/pg-builder",
"id": "2a521053050000f8c43fe3d5edfc5bfd4a9ac5d8",
"size":... |
use super::super::{
ComplexNumberSpace, Domain, DspVec, ErrorReason, RealNumberSpace, ScalarResult, Statistics,
Stats, StatsVec, ToSlice, Vector, STATS_VEC_CAPACTIY,
};
use super::{kahan_sum, kahan_sumb};
use crate::array_to_complex;
use crate::multicore_support::*;
use crate::numbers::*;
use num_complex::Compl... | {
"content_hash": "4e59d232a0c0a8f7944841b755c471ec",
"timestamp": "",
"source": "github",
"line_count": 678,
"max_line_length": 120,
"avg_line_length": 30.07227138643068,
"alnum_prop": 0.49193192407670805,
"repo_name": "liebharc/basic_dsp",
"id": "a3e720297fa017314155bfdcd43491b4fd4553e4",
"size": ... |
#region License
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DecurryTests.cs" company="MorseCode Software">
// Copyright (c) 2015 MorseCode Software
// </copyright>
// <summary>
// The MIT License (MIT)
//
// Copyright (c)... | {
"content_hash": "6616ba1b017fb074b84549104535f321",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 119,
"avg_line_length": 37.08620689655172,
"alnum_prop": 0.609019060901906,
"repo_name": "jam40jeff/Functional",
"id": "ea555d36b054ebda14886ad1348d837ab2c8cd38",
"size": "... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
Vernonia kuntzei Hieron.
### Remarks
null | {
"content_hash": "c8bcced2a58acba37ca307df456f257b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 11.23076923076923,
"alnum_prop": 0.726027397260274,
"repo_name": "mdoering/backbone",
"id": "f60f36b06d2a62a406b50b18d52c74ddc9485cc4",
"size": "228"... |
/* Licensed to the public under the Apache License 2.0. */
'use strict';
'require baseclass';
return baseclass.extend({
title: _('SQM'),
rrdargs: function(graph, host, plugin, plugin_instance, dtype) {
var overview = {
per_instance: false,
title: "%H: SQM qdisc %pi Overview",
rrdopts: [ "--logarithmic" ... | {
"content_hash": "8e146285e1c5a74ba814f65f4d415098",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 108,
"avg_line_length": 29,
"alnum_prop": 0.603448275862069,
"repo_name": "rogerpueyo/luci",
"id": "bde179602b8232d06d9214b71f67496f936bfd0e",
"size": "812",
"binary": fa... |
// Conversion of words to word indices and vice versa.
#ifndef VOCABULARY_HH
#define VOCABULARY_HH
#include <stdlib.h>
#include <string>
#include <vector>
#include <exception>
#include <stdio.h>
#include <map>
#include <cassert>
typedef std::map<std::string,int> vocabmap;
class Vocabulary {
friend class VCluster;
p... | {
"content_hash": "a274fcfea649da994cfcead529f580a6",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 96,
"avg_line_length": 26.810126582278482,
"alnum_prop": 0.6907459867799811,
"repo_name": "abroekhof/variKN",
"id": "56441c44cfa13656a367d45a949051ce1a6d6aeb",
"size": "211... |
package org.apache.camel.component.aws2.ddb;
import org.apache.camel.Exchange;
import software.amazon.awssdk.services.dynamodb.DynamoDbClient;
import software.amazon.awssdk.services.dynamodb.model.PutItemRequest;
import software.amazon.awssdk.services.dynamodb.model.PutItemResponse;
public class PutItemCommand exten... | {
"content_hash": "b165bd3ecef6ef6257f096dc10c22623",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 166,
"avg_line_length": 38.18181818181818,
"alnum_prop": 0.7761904761904762,
"repo_name": "zregvart/camel",
"id": "9c3571e8eaf6580049fde6b925615c57c1d5269d",
"size": "1642"... |
<?php
namespace core;
use core\generic\DbDriver;
use core\interfaces\Singleton;
/**
* Class Database
* @package core
*/
class DbManager implements Singleton
{
/**
* Array of DbDriver objects
* @var array
*/
private $db_pool = [];
/**
* @var null|DbDriver
*/
private $defa... | {
"content_hash": "3234470a758563206f642758138d1c9b",
"timestamp": "",
"source": "github",
"line_count": 89,
"max_line_length": 101,
"avg_line_length": 21.98876404494382,
"alnum_prop": 0.513030148185999,
"repo_name": "Stranger7/e-test",
"id": "68f00dbb899e9ca012c7de590e1155199e4d977e",
"size": "2233... |
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014 Capptain
Licensed under the CAPPTAIN SDK LICENSE (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://app.capptain.com/#tos
This file is supplied "as... | {
"content_hash": "12079c3e0955b563b5f341079eb83d00",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 109,
"avg_line_length": 39.47222222222222,
"alnum_prop": 0.6938775510204082,
"repo_name": "ogoguel/azure-mobile-engagement-capptain-cordova",
"id": "2a047f994fbeb18dab157b5d3... |
package com.amazonaws.services.ec2.model;
import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.AmazonWebServiceResult;
/**
* <p>
* Contains the output of CreateSpotDatafeedSubscription.
* </p>
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class CreateSpotDataf... | {
"content_hash": "82a574b47a023fa75a0198fc9b8a9895",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 151,
"avg_line_length": 31.572649572649574,
"alnum_prop": 0.6618841364374661,
"repo_name": "aws/aws-sdk-java",
"id": "572e36d3cf249868524cc677505e2e543c6f3a31",
"size": "4... |
BOOL GCGuild::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
m_GuildPacket.Read( iStream );
return TRUE;
__LEAVE_FUNCTION
return FALSE;
}
BOOL GCGuild::Write( SocketOutputStream& oStream ) const
{
__ENTER_FUNCTION
m_GuildPacket.Write( oStream );
return TRUE;
__LEAVE_FUNCTION
r... | {
"content_hash": "7b7bc08a275185acb7291405becb4e15",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 56,
"avg_line_length": 14.382352941176471,
"alnum_prop": 0.6789366053169734,
"repo_name": "viticm/web-pap",
"id": "d811504a47d50fa52a6362ad1ee71ac9b89a65ee",
"size": "531",... |
<tool id="annotatemyids" name="annotateMyIDs" version="3.12.0">
<description>annotate a generic set of identifiers</description>
<requirements>
<requirement type="package" version="3.12.0">bioconductor-org.hs.eg.db</requirement>
<requirement type="package" version="3.12.0">bioconductor-org.mm.eg... | {
"content_hash": "9e8b34ff4047ccdee2e0c1a8ab3f67cc",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 878,
"avg_line_length": 53.28099173553719,
"alnum_prop": 0.6281991624011168,
"repo_name": "martenson/tools-iuc",
"id": "b66e519e390e5351c5023bc3a3f44c8d83d7ee35",
"size": ... |
using System.Collections.Generic;
namespace ExCSS
{
internal sealed class StringValueConverter : IValueConverter
{
public IPropertyValue Convert(IEnumerable<Token> value)
{
var str = value.ToCssString();
return str != null ? new StringValue(str, value) : null;
}... | {
"content_hash": "4374ebd6c0f472955bcd9e6e26b8f71a",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 71,
"avg_line_length": 26.342105263157894,
"alnum_prop": 0.5574425574425574,
"repo_name": "TylerBrinks/ExCSS",
"id": "e40fa23f6de7a1c1de93e324700bd331a054a4b8",
"size": "10... |
package com.adobe.phonegap.push;
import android.content.Context;
import android.content.SharedPreferences;
import android.util.Log;
import com.google.android.gms.iid.InstanceID;
import com.google.android.gms.iid.InstanceIDListenerService;
import org.json.JSONException;
import java.io.IOException;
public class Push... | {
"content_hash": "f3d9d033320a54116656bb96bf6c064a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 131,
"avg_line_length": 35.114285714285714,
"alnum_prop": 0.6794141578519122,
"repo_name": "Sweazer/phonegap-plugin-push",
"id": "3db08ca85087c03f8242ec12c6f98d8a18feeb6b",
... |
#vertical-nav {
position: fixed;
top: 105px; /* distance to the top of the menu div from the top of the page */
width:140px; /* width of the menu div */
height: auto;
margin: 0;
padding: 5px;
border: 2px solid #0000FF; /* border width, type and color*/
border-radius: 10px... | {
"content_hash": "d55581e378dbedc926b3cffa4a5ff0fe",
"timestamp": "",
"source": "github",
"line_count": 45,
"max_line_length": 100,
"avg_line_length": 16.91111111111111,
"alnum_prop": 0.5926412614980289,
"repo_name": "Hellogark/TuaregWeb",
"id": "a7cf850d9300879d3bb36417d5bf544c1cb3aab8",
"size": "... |
using namespace Microsoft::WindowsAPICodePack::DirectX::Direct3D10;
SamplerDescription SamplerState::Description::get()
{
D3D10_SAMPLER_DESC tempoutDescription;
CastInterface<ID3D10SamplerState>()->GetDesc(&tempoutDescription);
return SamplerDescription(tempoutDescription);
}
| {
"content_hash": "a99a7aa3d3f567f216cbd255d939752a",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 70,
"avg_line_length": 29.6,
"alnum_prop": 0.7905405405405406,
"repo_name": "protechdm/CompareCloudware",
"id": "6d56224ef6b119dd384a48d69bef49ab5eba491f",
"size": "411",
... |
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Launchpad on Just another IT(?) blog</title>
<link>https://monotek.github.io/categories/launchpad/</link>
<description>Recent content in Launchpad on Just another IT(?) bl... | {
"content_hash": "83ff5fe01fd419df2a99f76e00d9e072",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 245,
"avg_line_length": 58.11538461538461,
"alnum_prop": 0.7187293183322303,
"repo_name": "monotek/monotek.github.io",
"id": "09a10b97315637c112c4b541c9fb0cb5402898b7",
"si... |
var uglify = require('gulp-uglify');
var gulp = require('gulp');
var browserify = require('browserify');
var sourceStream = require("vinyl-source-stream");
var mocha = require("gulp-mocha");
var espower = require("gulp-espower");
var streamify = require('gulp-streamify')
var gulpif = require("gulp-if");
var stripDebug... | {
"content_hash": "ad29ab7a52958447ff863451a827156c",
"timestamp": "",
"source": "github",
"line_count": 68,
"max_line_length": 60,
"avg_line_length": 22.985294117647058,
"alnum_prop": 0.6039667306461932,
"repo_name": "fforw/gulp-browserify-template",
"id": "20346ad9f7a72923d98136efbc4b38ec39b21cf1",
... |
// Copyright (c) 2014-2022 Sebastien Rombauts (sebastien.rombauts@gmail.com)
//
// Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
// or copy at http://opensource.org/licenses/MIT)
#include "GitSourceControlProvider.h"
#include "HAL/PlatformProcess.h"
#include "Misc/Paths.h"
#include "Misc/... | {
"content_hash": "dac9ff521d71e200dafe0c1d89f91af8",
"timestamp": "",
"source": "github",
"line_count": 490,
"max_line_length": 312,
"avg_line_length": 32.04081632653061,
"alnum_prop": 0.7754777070063694,
"repo_name": "SRombauts/UE4GitPlugin",
"id": "27f502a0e5fe1d7be7942b2f5f86fc6ea4b4e68e",
"size... |
package sim.main;
import sim.events.Events;
import sim.net.overlay.dht.pastry.PeerBase;
import sim.net.topology.reader.GTITMReader;
import sim.net.topology.reader.NodeLoader;
import sim.net.topology.state.NodeReader;
import sim.stats.ResultWriter;
import sim.stats.StatsObject;
import sim.stats.trace.Trace;
i... | {
"content_hash": "8991ec1f0302c0f3289e5e620e4065be",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 114,
"avg_line_length": 33.369127516778526,
"alnum_prop": 0.66532582461786,
"repo_name": "bramp/p2psim",
"id": "94d7e3d6c97556d9cf31cdf16e160e7ca332b9bd",
"size": "4972",
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-ssreflect: 1 m 40 s 🏆</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.mi... | {
"content_hash": "ce8d605f58d454ea1553ceefcd170edb",
"timestamp": "",
"source": "github",
"line_count": 224,
"max_line_length": 554,
"avg_line_length": 68.48660714285714,
"alnum_prop": 0.6058275210220977,
"repo_name": "coq-bench/coq-bench.github.io",
"id": "e5690963107a18bd78fab8d8fefdf293165d9a86",
... |
<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/maven-v4_0_0.xsd">
<dependencies>
<!-- Junit! -->
<dependency>
<groupId>junit</groupId>
... | {
"content_hash": "bdf01592de4918bc222eb40b846f3e43",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 97,
"avg_line_length": 34.12903225806452,
"alnum_prop": 0.5321361058601134,
"repo_name": "Ekryd/sortpom",
"id": "a8239a8bec7a2d7e3aa530a93617d287b710f97f",
"size": "1058",
... |
template<typename T>
void creator()
{
// CHECK: T* ptr = TYPEGRIND_LOG_NEW("{{.*}}/clang-typegrind/test/template/template_func_new_class_template_inner.cpp:10", TYPEGRIND_CANONICAL_TYPE(TYPEGRIND_TYPE(T)), TYPEGRIND_SPECIFIC_TYPE(TYPEGRIND_TYPE(T), {{[0-9]*}}), (new T), sizeof(T));
T* ptr = new T;
}
template<typen... | {
"content_hash": "e639812cd6dd10dde8e28cff2bc85dc8",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 246,
"avg_line_length": 27.695652173913043,
"alnum_prop": 0.6577708006279435,
"repo_name": "typegrind/clang-typegrind",
"id": "430908c7c328425faf945e62143c11380c1c240b",
"s... |
package be.objectify.deadbolt.java.actions;
import be.objectify.deadbolt.java.cache.BeforeAuthCheckCache;
import be.objectify.deadbolt.java.cache.HandlerCache;
import com.typesafe.config.Config;
import play.mvc.Http;
import play.mvc.Result;
import javax.inject.Inject;
import java.util.Optional;
import java.util.con... | {
"content_hash": "5f2eec523806a6ddc7b12ac346e39839",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 108,
"avg_line_length": 27.649122807017545,
"alnum_prop": 0.6986040609137056,
"repo_name": "schaloner/deadbolt-2-java",
"id": "9162eeefa90d4021de3e59f852b60f1d68d90c3a",
"s... |
namespace riegeli {
namespace python {
namespace {
constexpr ImportedCapsule<RecordPositionApi> kRecordPositionApi(
kRecordPositionCapsuleName);
// `extern "C"` sets the C calling convention for compatibility with the Python
// API. Functions are marked `static` to avoid making their symbols public, as
// `exter... | {
"content_hash": "77bccdb9795a682c6d3320389af02e5e",
"timestamp": "",
"source": "github",
"line_count": 1402,
"max_line_length": 80,
"avg_line_length": 41.074179743223965,
"alnum_prop": 0.6267148265203348,
"repo_name": "google/riegeli",
"id": "975a0c524ba50bd4fde33dbbf4065084f5a4c1d1",
"size": "591... |
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "shared_constants.h"
namespace shared {
const sharedConstants g_shared_constants;
sharedConstants::sharedConstants() {
}
} // namespace
| {
"content_hash": "cbb978ba414389a4e847d3be23df2e34",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 67,
"avg_line_length": 16.941176470588236,
"alnum_prop": 0.7118055555555556,
"repo_name": "zhujiang73/andrpccpp",
"id": "9cfaa08b13d7e4722988ccf32cd01a3b2c7b9b54",
"size": ... |
#pragma once
#include <aws/batch/Batch_EXPORTS.h>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Batch
{
namespace Model
{
/**
* <p>An object that represents the details of a multi-node parallel job
* node.</p><p><h... | {
"content_hash": "b9786f93058018e4633c1bc57a6f726f",
"timestamp": "",
"source": "github",
"line_count": 100,
"max_line_length": 98,
"avg_line_length": 29.22,
"alnum_prop": 0.660848733744011,
"repo_name": "aws/aws-sdk-cpp",
"id": "4513a2bd496c932f136fc90d36ad12f34e2500b8",
"size": "3041",
"binary"... |
ACCEPTED
#### According to
Euro+Med Plantbase
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "96570e42cbad2072ca2ccbd35c05307a",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 18,
"avg_line_length": 8.692307692307692,
"alnum_prop": 0.6814159292035398,
"repo_name": "mdoering/backbone",
"id": "d6c8528f2c839a9de4756f6c81a2e078fae815dc",
"size": "173... |
#include <stdio.h>
#include <assert.h>
#include <utils/util.h>
#include <utils/time.h>
#include <platsupport/timer.h>
#include <platsupport/plat/timer.h>
#include "timer_priv.h"
pstimer_t *
ps_get_timer(enum timer_id id, timer_config_t *config)
{
if (id > NUM_TIMERS) {
return NULL;
}
if (id <... | {
"content_hash": "52ce1eb9bd7da55ed8c62eddd092ec02",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 79,
"avg_line_length": 22,
"alnum_prop": 0.5893416927899686,
"repo_name": "agacek/util_libs",
"id": "3aff8c142611cfba23055cc1bdc9229b4efd36c9",
"size": "966",
"binary": f... |
#import "RCTTextManager.h"
#import "RCTAssert.h"
#import "RCTConvert.h"
#import "RCTLog.h"
#import "RCTShadowRawText.h"
#import "RCTShadowText.h"
#import "RCTSparseArray.h"
#import "RCTText.h"
#import "UIView+React.h"
@implementation RCTTextManager
RCT_EXPORT_MODULE()
- (UIView *)view
{
return [[RCTText alloc] ... | {
"content_hash": "48b09ef0c3dd11c83af20a0bcea8421e",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 99,
"avg_line_length": 30.063157894736843,
"alnum_prop": 0.7244397759103641,
"repo_name": "KJlmfe/react-native",
"id": "aec021df0ff9149152da9bef8df43bdbf74c25f0",
"size": "... |
In React, it's sometimes necessary to not just open a link by
click on an anchor element, but also perform some operation
before that. So, simple
```jsx
render() {
const {
url = 'http://github.com'
} = this.props;
return (
<a
href={url}
onClick={() => console.log('Going away')}>
go awa... | {
"content_hash": "fd548d3602279569054e145d679e4d0d",
"timestamp": "",
"source": "github",
"line_count": 62,
"max_line_length": 65,
"avg_line_length": 20.661290322580644,
"alnum_prop": 0.6510538641686182,
"repo_name": "taxigy/til",
"id": "0a3785ac8389781bdb824467ba3130d23e198a1d",
"size": "1312",
... |
SYNONYM
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "94d9606e48e838cf1b97f167de44be92",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.23076923076923,
"alnum_prop": 0.6917293233082706,
"repo_name": "mdoering/backbone",
"id": "5ef8790077f7d18713fa743f03ba0b946d514006",
"size": "185... |
<?php
declare(strict_types = 1);
if (file_exists($file = __DIR__ . '/../vendor/autoload.php')) {
require $file;
} else {
throw new RuntimeException('Install dependencies to run test suite.');
}
/**
* The default scheduler is the EventLoopScheduler, which is asynchronous.
* For testing we need to block at... | {
"content_hash": "f1d986b07a640ec814248e9f6d81edcd",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 107,
"avg_line_length": 25.333333333333332,
"alnum_prop": 0.6973684210526315,
"repo_name": "ReactiveX/RxPHP",
"id": "d78f75e9e07edbd24588800739de00a2fe458c05",
"size": "741... |
package com.nightonke.wowoviewpagerexample;
import android.os.Bundle;
import android.view.View;
import com.nightonke.wowoviewpager.Animation.WoWoAlphaAnimation;
import com.nightonke.wowoviewpager.Animation.WoWoPathAnimation;
import com.nightonke.wowoviewpager.Animation.WoWoRotationAnimation;
import com.nightonke.wowo... | {
"content_hash": "cbac797f533254182c320a8608df1221",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 108,
"avg_line_length": 41.89795918367347,
"alnum_prop": 0.5803214807598636,
"repo_name": "weiwenqiang/GitHub",
"id": "627c90dd6fbaaef0fe70922ed07c2868fdd8db1b",
"size": "... |
> Merge JSON/YAML data files.
Task takes multiple JSON and/or YAML files and writes merged result of all sources to the destination.
## Getting Started
This plugin requires Grunt `~0.4.0`
If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-... | {
"content_hash": "746ca18b8842c8e6e362f28101c2b937",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 351,
"avg_line_length": 26.797101449275363,
"alnum_prop": 0.6949702541914549,
"repo_name": "rd5/grunt-data-merge",
"id": "c6bda35e3a3688e59a50ca2b3e12f0c7893158db",
"size":... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DynamicElementsStorage">
<option name="containingClasses">
<map>
<entry key="groovy.util.OptionAccessor">
<value>
<DClassElement>
<option name="name" value="groovy.util.OptionAccessor" /... | {
"content_hash": "70276b2d133d1ec3b088e23e5a046189",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 73,
"avg_line_length": 51.81879194630873,
"alnum_prop": 0.4517549540214998,
"repo_name": "bentolor/idea-cli-inspector",
"id": "58a7b1e6fed07e5bda7968ec3902ded83b449e1c",
"... |
/*****************************************************************************
annotateMain.cpp
(c) 2009 - Aaron Quinlan
Hall Laboratory
Department of Biochemistry and Molecular Genetics
University of Virginia
aaronquinlan@gmail.com
Licenced under the GNU General Public License 2.0 license.
************... | {
"content_hash": "4d499e1b7e4ab0d9c0d72a5e83059908",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 134,
"avg_line_length": 34.98802395209581,
"alnum_prop": 0.4942666438473387,
"repo_name": "arq5x/bedtools2",
"id": "ddf090c4758900587065abf7e78bc6222f300e6f",
"size": "584... |
<?php
declare(strict_types = 1);
namespace Soliant\SimpleFM\Repository\Builder\Metadata;
use Assert\Assertion;
final class OneToOne
{
/**
* @var string
*/
private $propertyName;
/**
* @var string
*/
private $targetTable;
/**
* @var string
*/
private $targetEnti... | {
"content_hash": "fe3176bdee12c9ecfa9afa736cf7bde9",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 90,
"avg_line_length": 21.29861111111111,
"alnum_prop": 0.5787414411477013,
"repo_name": "soliantconsulting/SimpleFM",
"id": "581d3480a1f1a1c2ea602ff94b417a3813893647",
"s... |
@class JavaLangClassLoader;
@class JavaxXmlParsersDocumentBuilder;
@class JavaxXmlValidationSchema;
#include "J2ObjC_header.h"
@interface JavaxXmlParsersDocumentBuilderFactory : NSObject {
}
- (instancetype)init;
+ (JavaxXmlParsersDocumentBuilderFactory *)newInstance OBJC_METHOD_FAMILY_NONE;
+ (JavaxXmlParsersDocu... | {
"content_hash": "11064f3987b553574df044c3ace0c39a",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 206,
"avg_line_length": 30.35135135135135,
"alnum_prop": 0.8058771148708815,
"repo_name": "hambroperks/pollexor",
"id": "eed906b624cb8069996e6cdabe4fe1e8161e84a8",
"size": ... |
class ExtensionService;
// Describes the contents of the fullscreen exit bubble.
// For example, if the user already agreed to fullscreen mode and the
// web page then requests mouse lock, "do you want to allow mouse lock"
// will be shown.
enum FullscreenExitBubbleType {
FEB_TYPE_NONE = 0,
// For tab fullscreen ... | {
"content_hash": "1dc0ba2ff104fde22d47bedc63a79471",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 72,
"avg_line_length": 37.6578947368421,
"alnum_prop": 0.7281621243885394,
"repo_name": "windyuuy/opera",
"id": "d3d90fa6ff371932a224571998efcc63a63a8bee",
"size": "1806",
... |
package id.zelory.codepolitan.ui;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import butterknife.Bind;
import id.zelory.benih.BenihActivity;
import id.zelory.codepolitan.R;
import id.zelory.codepolit... | {
"content_hash": "00e93904bf6fc2aacecc682458d73431",
"timestamp": "",
"source": "github",
"line_count": 126,
"max_line_length": 135,
"avg_line_length": 34.1031746031746,
"alnum_prop": 0.622061903653712,
"repo_name": "zetbaitsu/CodePolitan",
"id": "852cd8ce7a6c055c859378fca26d98223df3071a",
"size": ... |
from src.model.Sort import Sort
from src.independent.typing_imports import *
class AltUniverseConfig(NamedTuple):
name: str
sort_copies: Dict[str,Sort]
"""
For SAFE and KISS, I THINK just need to simultaneously substitute:
SApp('Dimensioned',NonnegReal,'$'), for SApp('Dimensioned',NonnegReal,'jVar')
Lighte... | {
"content_hash": "d22afd87690b4071df5b56aaa0b50881",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 79,
"avg_line_length": 28.833333333333332,
"alnum_prop": 0.7312138728323699,
"repo_name": "legalese/legalese-compiler",
"id": "2a87aebea66107d15c58f9162a2b980f9d013b61",
"s... |
(function() {
'use strict';
/**
* Class constructor for Layout MDL component.
* Implements MDL component design pattern defined at:
* https://github.com/jasonmayes/mdl-component-design-pattern
*
* @constructor
* @param {HTMLElement} element The element that will be upgraded.
*/
var Materia... | {
"content_hash": "8b1fb0f1e1b1ed09ea3b973768528b21",
"timestamp": "",
"source": "github",
"line_count": 444,
"max_line_length": 96,
"avg_line_length": 34.986486486486484,
"alnum_prop": 0.6387923265095918,
"repo_name": "SungwonKim/WebFundamentals",
"id": "9e665fc1e91d3bd3b68a1b93b61999abc2bc8bdc",
"... |
// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif
| {
"content_hash": "2d961193214e9acf7d3066c52b15caa4",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 45,
"avg_line_length": 27.818181818181817,
"alnum_prop": 0.6633986928104575,
"repo_name": "TheProjecter/solar-space",
"id": "a296304c4e50aa22fd6c4599984cdaa997119555",
"siz... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Net.Http.Client
{
internal class HttpConnection : IDisposable
{
public Ht... | {
"content_hash": "ffde92af43773b689b7fddeded847954",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 152,
"avg_line_length": 38.49101796407186,
"alnum_prop": 0.5490043559427504,
"repo_name": "jterry75/Docker.DotNet",
"id": "86f68264d72cab3a1d804133a419bfc42229d322",
"size... |
#ifndef BaseLib_Reflection_SetDoublePropertyFunctor_h
#define BaseLib_Reflection_SetDoublePropertyFunctor_h
//#include "BaseLib/Reflection/intern/AbstractSetDoublePropertyFunctor.h"
//#include "BaseLib/Reflection/intern/DoubleProperty.h"
namespace BaseLib {
namespace Reflection {
template<cl... | {
"content_hash": "d82d62f447a339861a1d1a02c4b72aad",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 150,
"avg_line_length": 28.35632183908046,
"alnum_prop": 0.6943656262667207,
"repo_name": "ungerik/BaseLib",
"id": "55327aa25b8e9f6658122e3913db3f5a9f5bfea8",
"size": "2878... |
namespace Google.Cloud.AIPlatform.V1.Snippets
{
// [START aiplatform_v1_generated_TensorboardService_GetTensorboard_sync_flattened_resourceNames]
using Google.Cloud.AIPlatform.V1;
public sealed partial class GeneratedTensorboardServiceClientSnippets
{
/// <summary>Snippet for GetTensorboard</su... | {
"content_hash": "f0cf9bb98d8064c8711274adfa6998f7",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 126,
"avg_line_length": 46.875,
"alnum_prop": 0.6968888888888889,
"repo_name": "jskeet/google-cloud-dotnet",
"id": "dcc51e49b54f6d656eb37cf3405f6db0e9e90a85",
"size": "1747... |
import React from 'react'
import { Form } from 'xComponent'
import DynamicComponent from '../../'
export default class FormComponent extends React.Component {
static defaultProps = {
prefixCls: 'z-form'
}
componentDidMount(){
//this.offsetWidth = this.getWindowWidth()
//this.offse... | {
"content_hash": "48292ad27cbeb5a8e69d73ee450ffd3a",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 86,
"avg_line_length": 27.37837837837838,
"alnum_prop": 0.5538005923000987,
"repo_name": "ziaochina/reactMonkey",
"id": "607f17546ead8d1a55c275c851a51e4af05b7bd7",
"size": ... |
==================
django-geoposition
==================
A model field that can hold a geoposition (latitude/longitude), and corresponding admin/form widget.
.. image:: https://pypip.in/v/django-geoposition/badge.png
:target: https://pypi.python.org/pypi/django-geoposition
.. image:: https://travis-ci.org/philipp... | {
"content_hash": "0091826e708eee94ba12fd901ca5b0f6",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 116,
"avg_line_length": 28.66896551724138,
"alnum_prop": 0.6947317777243204,
"repo_name": "pancentric/django-geoposition",
"id": "a65f01981f19e7c4714b5e878712e7e103fedb50",
... |
Tracking changes in peewee between versions. For a complete view of all the
releases, visit GitHub:
https://github.com/coleifer/peewee/releases
## 2.6.2
Just a regular old release.
### Bugs fixed
* #641, fixed bug with exception wrapping and Python 2.6
* #634, fixed bug where correct query result wrapper was not ... | {
"content_hash": "25ff5c6bc4924fce2926e08b74e59648",
"timestamp": "",
"source": "github",
"line_count": 588,
"max_line_length": 625,
"avg_line_length": 52.86734693877551,
"alnum_prop": 0.7564820176285144,
"repo_name": "new-xiaji/peewee",
"id": "5c722a5d5488a26ce31737e222a36794e89dc8f6",
"size": "31... |
using namespace cnn::expr;
namespace cnn {
class Model;
struct DepTreeLSTMBuilder : public RNNBuilder {
DepTreeLSTMBuilder() = default;
explicit DepTreeLSTMBuilder(unsigned N, //Max branching factor
unsigned layers,
unsigned input_dim,
... | {
"content_hash": "60333afdcbfa420ba1dcbe06384d6980",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 88,
"avg_line_length": 33.44642857142857,
"alnum_prop": 0.6374799786438868,
"repo_name": "tticoin/LSTM-ER",
"id": "131e1228ed06397752f151cd1df9e4a215b2c517",
"size": "1993"... |
#include "extensions/GUI/CCControlExtension/CCControlStepper.h"
NS_CC_EXT_BEGIN
#define ControlStepperLabelColorEnabled Color3B(55, 55, 55)
#define ControlStepperLabelColorDisabled Color3B(147, 147, 147)
#define ControlStepperLabelFont "CourierNewPSMT"
#define kAutorepeatDeltaTime 0.... | {
"content_hash": "cde1bdbd97ee7f41a52e5a6f7d530be6",
"timestamp": "",
"source": "github",
"line_count": 321,
"max_line_length": 139,
"avg_line_length": 27.772585669781932,
"alnum_prop": 0.6279304542905216,
"repo_name": "mcodegeeks/OpenKODE-Framework",
"id": "7e836313953db093117675b6a9f24f9377d5a774",... |
import java.util.*;
public class Main {
public void testBitwiseAndReplacingInitializer() {
int[] arr = new int[]{1, 2, 3, 4};
int acc = Arrays.stream(arr).reduce(0xFFFFFFFF, (a, b) -> a & b);
}
} | {
"content_hash": "d28f2b98739a59356d17e5ebb02c8863",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 69,
"avg_line_length": 26,
"alnum_prop": 0.625,
"repo_name": "google/intellij-community",
"id": "e8ef5d0e3966a3c306a8ef08d9217e0c70a9c038",
"size": "251",
"binary": false,... |
package org.junit.tests.junit3compatibility;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import junit.framework.JUnit4TestAdapter;
import junit.framework.TestCase;
import juni... | {
"content_hash": "550edf4f76aac2b144202b111148c470",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 112,
"avg_line_length": 29.126436781609197,
"alnum_prop": 0.6617995264404104,
"repo_name": "berlinbrown/SourceCodeAnalysisDatabase",
"id": "96fad3d3ade55e54d390df44eab38c43ad... |
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 The Android Open Source Project
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/license... | {
"content_hash": "ededa32d600bc5498b4cd008fb1d1144",
"timestamp": "",
"source": "github",
"line_count": 112,
"max_line_length": 89,
"avg_line_length": 52.13392857142857,
"alnum_prop": 0.6177427641719473,
"repo_name": "esmasui/AndroidJUnit4",
"id": "1a87ec1845fda428670b4aa2cffd01169a9184e6",
"size":... |
!function() {
var vm = require('vm');
var LookupMirror = vm.runInDebugContext('LookupMirror');
var PropertyKind = vm.runInDebugContext('PropertyKind');
var DebugCommandProcessor = vm.runInDebugContext('DebugCommandProcessor');
var JSONProtocolSerializer = vm.runInDebugContext('JSONProtocolSerializer');
JSONPro... | {
"content_hash": "a99970efce245bbb0ebbb1999b5d95b2",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 111,
"avg_line_length": 28.623853211009173,
"alnum_prop": 0.6541666666666667,
"repo_name": "paulmarsy/Console",
"id": "2c392c7070836e29b779d1e0c896a5dba29e2ccb",
"size": "... |
<!DOCTYPE html>
<html>
<style type="text/css">
/*INCLUDE MAIN CSS FILE*/
.black-frame { overflow: hidden; background: white; box-sizing: border-box; padding: 5%; margin: 2em auto; border: 1px solid #eee; }
.venue-top { padding-top: 50px; }
.venue-map iframe { height: 60vh; width: 100%; }
.icon-about ... | {
"content_hash": "3b85756446ea633015b7340f72c497ac",
"timestamp": "",
"source": "github",
"line_count": 277,
"max_line_length": 505,
"avg_line_length": 47.371841155234655,
"alnum_prop": 0.6097393689986282,
"repo_name": "KtuSec/ktusec.github.io",
"id": "c2d84a28bd5a8bb03e4b616ab012728e5b3f6e14",
"si... |
#ifndef SERVICES_NICK_H
#define SERVICES_NICK_H
/* This is the structural container for registered nicknames. Nicknames are
* tied in to user structures using mdexts. */
LIST_HEAD(regnick_list, regnick);
struct regnick {
char name[NICKLEN + 1]; /* the nickname. never changes. */
char ... | {
"content_hash": "e327b2bcc9710046f0d9f17060db5480",
"timestamp": "",
"source": "github",
"line_count": 87,
"max_line_length": 87,
"avg_line_length": 41.5632183908046,
"alnum_prop": 0.5904314159292036,
"repo_name": "elly/ithildin",
"id": "6fbdc0c749be2c3a38cd9534c20f2343c50e1b54",
"size": "3825",
... |
These settings apply only when `--azureresourceschema` is specified on the command line.
### AzureResourceSchema multi-api
``` yaml $(azureresourceschema) && $(multiapi)
batch:
- tag: schema-operationalinsights-2015-11-01-preview
```
Please also specify `--azureresourceschema-folder=<path to the root directory of... | {
"content_hash": "2e51fc2cfe9971a8c217934e12dad3e5",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 125,
"avg_line_length": 33.36363636363637,
"alnum_prop": 0.7670299727520435,
"repo_name": "AuxMon/azure-rest-api-specs",
"id": "a92884d7690c741cb74d179f97b0ce404a3fd59c",
"... |
class UI(object):
def getInput(self, inputQuestion):
pass
def __printMenu(self,dOptionToFunction):
dKeyToOption = dict()
iCnt = 0
for sCurOption in dOptionToFunction:
dKeyToOption[str(iCnt)] = sCurOption[1]
print "%d for %s"%(iCnt, sCurOption[0])
iCnt+=1
return dKeyToOption
... | {
"content_hash": "45f6532bc16b62db22c4c110a35259ad",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 112,
"avg_line_length": 34.69230769230769,
"alnum_prop": 0.6452328159645233,
"repo_name": "ggianna/Foragers",
"id": "42c5065721c24090c5b2ecc924ff102f3250e476",
"size": "137... |
define('core/Constants', [], (function () {
return {
// URLs and Configuration constants
PROTCOL: 'http://',
API_FILE: 'api_light.php',
API_URL: 'http://www.gnstudio.com/demos/docebo/api_light.php',
PANELS_DIRECTION: 'up',
DETAILS_REVEALS_DIRECTION: 'right',
DETAILS_HIDE_DIRECTION: 'left',
DETAILS_SH... | {
"content_hash": "3cb2bdb3277b5e2332f1e3951f5300d8",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 64,
"avg_line_length": 25.233333333333334,
"alnum_prop": 0.7014531043593131,
"repo_name": "wesley1001/mobile-1",
"id": "5800e92601265216527d70cc466679f5f56e682c",
"size": "... |
from __future__ import print_function
try: input = raw_input
except: pass
import sys
import csv
import re
#
# Read in distance matrices between raw, clean and perfect graphs for k=...
# output table: kmer,nkmers,raw_nkmers,raw_nreal,clean_nkmers,clean_nreal
#
def usage(argv,err=None):
if err is not None: print(err,... | {
"content_hash": "6d824e90a218bad0d49ef8fb917b853f",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 82,
"avg_line_length": 34.666666666666664,
"alnum_prop": 0.618421052631579,
"repo_name": "mcveanlab/mccortex",
"id": "10138a86e697ee349bdfdcd704f00f218f9d77c9",
"size": "19... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>src/constraints/LockConstraint.js - cannon</title>
<link rel="stylesheet" href="http://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css">
<link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
<link rel="... | {
"content_hash": "41fcd994e0cce5c85bf5184ee92c8087",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 118,
"avg_line_length": 49.90557939914163,
"alnum_prop": 0.511781905744754,
"repo_name": "karunakaruna/karunakaruna.github.io",
"id": "39eff6c477798bdfac4a8466ffcb222e605f67... |
'''
Contains the concrete implementation of Acssim.Servants.Representations.
BaseRepresentation.
This particular implementation stores method/attribute definitions stored by
the ACS CDB.
'''
#--REGULAR IMPORTS-------------------------------------------------------------
from operator import isSequenceType
from traceba... | {
"content_hash": "84e335913a016b4af95b5f599a0764dd",
"timestamp": "",
"source": "github",
"line_count": 257,
"max_line_length": 92,
"avg_line_length": 39.793774319066145,
"alnum_prop": 0.5341742446465239,
"repo_name": "csrg-utfsm/acscb",
"id": "b7b638c8ab37dba623441ffa272c18556a41efca",
"size": "11... |
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<text>
<title>Be Thou My Vision</title>
<author>Dallan Forgaill</author>
<year>743</year>
<meter name="null">
<count>10</count>
<count>10</count>
<count>10</count>
<count>10</count>
</meter>
<verses>
<verse>
<line>Be Thou my Vi- sion, O Lord of m... | {
"content_hash": "cfb24ebeb85faed2b5c38e9e25916040",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 68,
"avg_line_length": 37.31818181818182,
"alnum_prop": 0.6218026796589525,
"repo_name": "tsmacdonald/JHymnal",
"id": "d73ee850ff90564f6c360e3341c2735e41d51ae7",
"size": "1... |
<?xml version="1.0"?>
<!--
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="sales.order.items.renderers">
<block class="Magento\Downloadable\Block\Sales\Orde... | {
"content_hash": "267941d5123a3eab81699962a202e725",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 169,
"avg_line_length": 43,
"alnum_prop": 0.7082452431289641,
"repo_name": "enettolima/magento-training",
"id": "85aa800ca9e0eb0c0634f75c3c51f3efe84cb330",
"size": "571",
... |
/*
* WARNING! DO NOT EDIT THIS FILE DIRECTLY!
*
* This file was generated automatically and any changes may be lost.
*/
#ifndef __HW_PMC_REGISTERS_H__
#define __HW_PMC_REGISTERS_H__
#include "regs.h"
/*
* MKL25Z4 PMC
*
* Power Management Controller
*
* Registers defined in this header file:
... | {
"content_hash": "773c073bae5ee59e7784e6af8cf91853",
"timestamp": "",
"source": "github",
"line_count": 573,
"max_line_length": 140,
"avg_line_length": 40.354275741710296,
"alnum_prop": 0.6249621588894174,
"repo_name": "mardistal/CMSIS-DAP",
"id": "9ea6d4922560f030775912681b130229e2edb3ce",
"size":... |
package com.intellij.openapi.module.impl.scopes;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.roots.libraries.Library;
import consulo.roots.types.BinariesOrderRootType;
import consulo.roots.types.SourcesOrderRootType;
import com.intellij.openapi.vfs.VfsUtilCore;
import com.intellij.util.Pa... | {
"content_hash": "b01f353c3e457a8ea938a5b202412611",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 128,
"avg_line_length": 27.612244897959183,
"alnum_prop": 0.6940133037694013,
"repo_name": "consulo/consulo",
"id": "48c774f30b3616af0e44b42064f238831d57d10c",
"size": "195... |
using System;
using JetBrains.Annotations;
// ReSharper disable UnusedMember.Global, UnusedParameter.Global
// ReSharper disable NotNullMemberIsNotInitialized
namespace ImplicitNullability.Plugin.Tests.test.data.Integrative.TypeHighlightingTests
{
public class TypeHighlightingOtherElementsSample
{
pu... | {
"content_hash": "67792455fd48b3af0df31e56c0b52264",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 124,
"avg_line_length": 27,
"alnum_prop": 0.5898148148148148,
"repo_name": "ulrichb/ImplicitNullability",
"id": "91b4442032504ec797e165278949f4cbf77650d3",
"size": "2162",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.