text stringlengths 2 1.04M | meta dict |
|---|---|
Titan is a tool to encrypt or decrypt a string using a AES256 symmetric key.
This tool was written to store securely sensitive data in services that can't encrypt data like [etcd](https://github.com/coreos/etcd) and [consul](https://consul.io/).
The generated key is stored in Base64 format.
To make things less predi... | {
"content_hash": "f57aa95120649acde34ea91ae2ea39d5",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 191,
"avg_line_length": 36.69047619047619,
"alnum_prop": 0.7164179104477612,
"repo_name": "failshell/titan",
"id": "36a50d061099b15f9a045512c6bcff733930f466",
"size": "1541... |
#include <config.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_sort.h>
#include <gsl/gsl_sort_vector.h>
#define BASE_LONG_DOUBLE
#include "templates_on.h"
#include "sortvec_source.c"
#include "templates_off.h"
#undef BASE_LONG_DOUBLE
#define BASE_DOUBLE
#include "templates_on.h"
#incl... | {
"content_hash": "83518dfcb01dce332ff713fa1e21b164",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 32,
"avg_line_length": 20.027397260273972,
"alnum_prop": 0.7373461012311902,
"repo_name": "ICML14MoMCompare/spectral-learn",
"id": "182a9f59336906b2fad27d2223266243fc552c22",... |
FROM balenalib/colibri-imx6-ubuntu:xenial-build
# remove several traces of debian python
RUN apt-get purge -y python.*
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
# key 63C7CC90: public key "Simon McVit... | {
"content_hash": "843440844f25b5ca03c48ce494add3a4",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 711,
"avg_line_length": 50.642105263157895,
"alnum_prop": 0.7040116399916857,
"repo_name": "resin-io-library/base-images",
"id": "75deccad1c14340163a0c386ae31349e0661f276",
... |
namespace se3
{
template<int _Dim, typename _Scalar, int _Options=0> class ConstraintTpl;
template< class Derived>
class ConstraintBase
{
protected:
typedef Derived Derived_t;
SPATIAL_TYPEDEF_TEMPLATE(Derived_t);
typedef typename traits<Derived_t>::JointMotion JointMotion;
typedef typename t... | {
"content_hash": "55e63afc5651c08e27bd3d6d25aa5be7",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 101,
"avg_line_length": 29.483660130718953,
"alnum_prop": 0.6512968299711815,
"repo_name": "fvalenza/pinocchio",
"id": "5d158ec4b70621cc74ff855a5cd9d3743d4db382",
"size": ... |
import type * as Host from '../../../../../front_end/core/host/host.js';
import type * as Platform from '../../../../../front_end/core/platform/platform.js';
import * as SDK from '../../../../../front_end/core/sdk/sdk.js';
import type * as Protocol from '../../../../../front_end/generated/protocol.js';
import {createTa... | {
"content_hash": "bce67397ecabe04adb4a5fc686466539",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 114,
"avg_line_length": 40.834782608695654,
"alnum_prop": 0.6839863713798978,
"repo_name": "ChromeDevTools/devtools-frontend",
"id": "9120658eed1816609922612062291af580f92a7... |
"""
Project Euler Problem 6: https://projecteuler.net/problem=6
Sum square difference
The sum of the squares of the first ten natural numbers is,
1^2 + 2^2 + ... + 10^2 = 385
The square of the sum of the first ten natural numbers is,
(1 + 2 + ... + 10)^2 = 55^2 = 3025
Hence the difference between the sum of... | {
"content_hash": "0b80801d2747c477431b04cb4a9f5f16",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 72,
"avg_line_length": 25.317073170731707,
"alnum_prop": 0.6204238921001927,
"repo_name": "wuweilin/python",
"id": "748b141490a056a1dcf66e181a4bde74534f1766",
"size": "1038... |
namespace Raz {
class FilePath;
class Image;
namespace ImageFormat {
/// Loads an image from a file.
/// \param filePath File from which to load the image.
/// \param flipVertically Flip vertically the image when loading.
/// \return Loaded image's data.
Image load(const FilePath& filePath, bool flipVertically = fal... | {
"content_hash": "37ae8999788098375e87794e7b2afb5f",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 28.458333333333332,
"alnum_prop": 0.7364568081991215,
"repo_name": "Razakhel/RaZ",
"id": "2d8a4f617d965925e94dd5ef7065d19d5f408397",
"size": "754",
... |
require 'whois/record/parser/base_cocca2'
module Whois
class Record
class Parser
# Parser for the whois.nic.cx server.
#
# @see Whois::Record::Parser::Example
# The Example parser for the list of all available methods.
#
class WhoisNicCx < BaseCocca2
end
end
e... | {
"content_hash": "ecb291451bb4026dacea099f2685cc99",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 67,
"avg_line_length": 18.166666666666668,
"alnum_prop": 0.6299694189602446,
"repo_name": "opensrs-pso/whois",
"id": "bb6bede46031aa525f298559906c47e9e7bcc0d9",
"size": "46... |
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QFile stylesheet("./styles/stylesheet.txt");
stylesheet.open(QFile::ReadOnly);
QString setSheet = QLatin1String(stylesheet.readAll());
a.setStyleSheet(setSheet);
TexturePainter w;
w.show();
return a.exec();
}
| {
"content_hash": "480d3d71b33b65d998d95b2f2bf4c0c6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 56,
"avg_line_length": 25.454545454545453,
"alnum_prop": 0.7214285714285714,
"repo_name": "billhj/Etoile2015",
"id": "e4a2a680843d3323f4b8f895886e0253e38c97bb",
"size": "33... |
/*Universidad de Guadalajara
*Centro Universitario de Ciencias Exactas e Ingenierias
*Programacion Web
*Sistema Universitario de Control Escolar SUCE
*Cuauhtemoc Herrera Muñoz
*/
function login_validator( ){
if( document.getElementById( "errorLine" ) == null ){
var title = document.getElementById( "lostPas... | {
"content_hash": "78fba3b9256dc4f4dc9ebae219e2f2bb",
"timestamp": "",
"source": "github",
"line_count": 425,
"max_line_length": 82,
"avg_line_length": 35.908235294117645,
"alnum_prop": 0.665159557040823,
"repo_name": "Seiferxx/user211",
"id": "d9edf341512494256d658123316800e22a6e7603",
"size": "152... |
module CoffeeTrace
class InsertLogStatement
def for line, prefix=nil
leading_spaces, method_name, args = parse_function line
return unless leading_spaces
method_name = (prefix + "-" + method_name) if prefix
result = "#{leading_spaces} console.log '#{method_name}'"
result += ", #{... | {
"content_hash": "0fc657ec30da662ff2374a9b53a1e198",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 97,
"avg_line_length": 32.36,
"alnum_prop": 0.5908529048207664,
"repo_name": "cmaitchison/coffee_trace",
"id": "fcd57cbc471af748be5c97aec3e91dbe6da7fdc4",
"size": "809",
... |
package breadth_first_search;
import java.util.*;
import public_class.TreeNode;
public class Q103BinaryTreeZigzagLevelOrderTraversal {
//TAG: LinkedIn
//TAG: Tree
//TAG: breadth first search
//Difficulty: Medium
/**
* 103. Binary Tree Zigzag Level Order Traversal
* Given a binary tree,... | {
"content_hash": "e25627137838c18389bf00e77271c9bd",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 232,
"avg_line_length": 32.52054794520548,
"alnum_prop": 0.537910699241786,
"repo_name": "StevenUpForever/LeetCode_Java",
"id": "cbb54d55adb1ae0e657ded8a3771bbf24f330d21",
... |
#include <stdio.h>
#include <unistd.h>
#include <barrelfish/barrelfish.h>
#include <vfs/vfs.h>
#include <sys/types.h>
#include <eclipse.h>
#include <include/skb_server.h>
#include <include/skb_debug.h>
#include <octopus_server/init.h>
#include <bench/bench.h>
#include "octopus/predicates.h"
#include "shared_lib_... | {
"content_hash": "626e0f24f6103c0c7e27d58306144176",
"timestamp": "",
"source": "github",
"line_count": 158,
"max_line_length": 75,
"avg_line_length": 29.81645569620253,
"alnum_prop": 0.5924432180004245,
"repo_name": "modeswitch/barrelfish",
"id": "2eaeb9d574126f6b2fca20685f29d2f5d25ea2fd",
"size":... |
namespace content {
// Callback interface to receive the color selection from the eye dropper.
class EyeDropperListener {
public:
virtual ~EyeDropperListener() = default;
virtual void ColorSelected(SkColor color) = 0;
virtual void ColorSelectionCanceled() = 0;
};
} // namespace content
#endif // CONTENT_PU... | {
"content_hash": "8037570071edb217f699cc82fd9075ab",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 74,
"avg_line_length": 25.5,
"alnum_prop": 0.7507002801120448,
"repo_name": "endlessm/chromium-browser",
"id": "770f969d79eac1c409bc96c43e4829204556a574",
"size": "705",
... |
import scrapy
class QuotesSpider(scrapy.Spider):
name = "quotes"
start_urls = [
'http://quotes.toscrape.com/page/1/',
'http://quotes.toscrape.com/page/2/',
]
def parse(self, response):
for quote in response.css('div.quote'):
yield {
'text': quote.cs... | {
"content_hash": "ec0ece485b53b816a12734d84ce96822",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 74,
"avg_line_length": 30.352941176470587,
"alnum_prop": 0.5368217054263565,
"repo_name": "netodeolino/TCC",
"id": "e59b28093e459667e421e2bf85ff55d40fc3fb95",
"size": "516"... |
[//000000001]: # (log \- Logging facility)
[//000000002]: # (Generated from file 'log\.man' by tcllib/doctools with format 'markdown')
[//000000003]: # (Copyright © 2001\-2009 Andreas Kupries <andreas\_kupries@users\.sourceforge\.net>)
[//000000004]: # (log\(n\) 1\.4 tcllib "Logging facility")
<hr> [ <a href="../... | {
"content_hash": "4c4e180ec174f0ac4cc1804a0caa01e5",
"timestamp": "",
"source": "github",
"line_count": 317,
"max_line_length": 105,
"avg_line_length": 38.63406940063091,
"alnum_prop": 0.6759206336245611,
"repo_name": "macports/macports-base",
"id": "85533408e11264c2374c40649de405bdeeb8bd03",
"size... |
ACCEPTED
#### According to
World Register of Marine Species
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "ba40b71df852d0317391983c21a1f2bb",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 32,
"avg_line_length": 9.76923076923077,
"alnum_prop": 0.7007874015748031,
"repo_name": "mdoering/backbone",
"id": "ad3eb26de45737f8683651c15700187550c5559b",
"size": "170"... |
import codecs
import os
import re
import sys
from setuptools import setup, find_packages
PACKAGES = find_packages(where='src')
KEYWORDS = ['Toxicogenomics', 'Database', 'Bioinformatics', 'Human health']
INSTALL_REQUIRES = [
'pandas',
'sqlalchemy',
'requests',
'click',
'pymysql',
'numpy',
... | {
"content_hash": "b21b6190083b6c2b01bb81e4eb504b93",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 115,
"avg_line_length": 27.419354838709676,
"alnum_prop": 0.6164705882352941,
"repo_name": "cebel/pyctd",
"id": "c20992bb91fb4738b621111b36a62d86c7614aef",
"size": "2597",
... |
int main(int argc, char * argv[])
{
@autoreleasepool {
return UIApplicationMain(argc, argv, nil, NSStringFromClass([XBAppDelegate class]));
}
}
| {
"content_hash": "86735d5b497662d42189698c5ad120fd",
"timestamp": "",
"source": "github",
"line_count": 6,
"max_line_length": 92,
"avg_line_length": 26.666666666666668,
"alnum_prop": 0.6625,
"repo_name": "anuj-xebia/appium_samples",
"id": "b5437bf7986445cd3af61def0c5ea2a18ab3d27e",
"size": "335",
... |
package com.intellij.lang.jsgraphql.endpoint.psi;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.psi.PsiElement;
public interface JSGraphQLEndpointInputValueDefinitions extends PsiElement {
@NotNull
List<JSGraphQLEndpointInputValueDefinition> getInputValueDefinitionList();
}
| {
"content_hash": "63f13ecd4122dbd60ae430274579ba30",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 76,
"avg_line_length": 26.333333333333332,
"alnum_prop": 0.8354430379746836,
"repo_name": "jimkyndemeyer/js-graphql-intellij-plugin",
"id": "17adbdf52cec0464881889722e6e0cc96... |
define('getlibs/src/worker', [], function(){
function remote(){
var port = self;
self.onmessage = function(event){
try {
var request = {};
request = JSON.parse(event.data);
port.postMessage(JSON.stringify({
id: request.id,
result: self[request.method].apply(self, re... | {
"content_hash": "60fceb6eee1d62f7a4584231d76a0de0",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 82,
"avg_line_length": 17.265151515151516,
"alnum_prop": 0.5397103992979377,
"repo_name": "activewidgets/getlibs",
"id": "74610020ed1825da89b357ea43f13ef55848828c",
"size"... |
<?php
namespace Symfony\Bridge\PhpUnit;
/**
* Catch deprecation notices and print a summary report at the end of the test suite.
*
* @author Nicolas Grekas <p@tchwork.com>
*/
class DeprecationErrorHandler
{
private static $isRegistered = false;
public static function register($mode = false)
{
... | {
"content_hash": "0c49d39146e333b9811fdd4273b1586a",
"timestamp": "",
"source": "github",
"line_count": 165,
"max_line_length": 160,
"avg_line_length": 37.04242424242424,
"alnum_prop": 0.42277486910994766,
"repo_name": "DevKhater/YallaWebSite",
"id": "21fbc30ee68dd2cacb9877e96f7a5459b5b4fcc5",
"siz... |
.class public Landroid/support/v17/leanback/app/DetailsFragmentBackgroundController;
.super Ljava/lang/Object;
.source "DetailsFragmentBackgroundController.java"
# instance fields
.field mCanUseHost:Z
.field final mFragment:Landroid/support/v17/leanback/app/DetailsFragment;
.field mInitialControlVisible:Z
.field p... | {
"content_hash": "aafda9b72c5954e57e23ae3a5f9fff75",
"timestamp": "",
"source": "github",
"line_count": 203,
"max_line_length": 172,
"avg_line_length": 34.48768472906404,
"alnum_prop": 0.7821739751464076,
"repo_name": "BatMan-Rom/ModdedFiles",
"id": "02d7c6296abe5e8b2543e07da861adb3982e793f",
"size... |
require 'spree_core'
require 'spree_products_tags_hooks'
module SpreeProductsTags
class Engine < Rails::Engine
config.autoload_paths += %W(#{config.root}/lib)
def self.activate
Dir.glob(File.join(File.dirname(__FILE__), "../app/**/*_decorator*.rb")) do |c|
Rails.env.production? ? require(c) :... | {
"content_hash": "791f02720d1cd0b2a57d9cb002671ccc",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 85,
"avg_line_length": 23.941176470588236,
"alnum_prop": 0.6461916461916462,
"repo_name": "secoint/spree_products_tags",
"id": "a07ecb36ac5ddddad0d0d0fb80964ed48d0a5967",
"... |
package com.thoughtworks.go.server.service;
import com.thoughtworks.go.config.*;
import com.thoughtworks.go.config.materials.MaterialConfigs;
import com.thoughtworks.go.config.materials.SubprocessExecutionContext;
import com.thoughtworks.go.domain.*;
import com.thoughtworks.go.domain.buildcause.BuildCause;
import com... | {
"content_hash": "3e1b9911ff09f3052ccde5996c2ec01f",
"timestamp": "",
"source": "github",
"line_count": 438,
"max_line_length": 228,
"avg_line_length": 53.34931506849315,
"alnum_prop": 0.7613728762785125,
"repo_name": "GaneshSPatil/gocd",
"id": "69ce4b88c547936de9ad07a2f98a446626de1263",
"size": "2... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE758_Undefined_Behavior__wchar_t_pointer_malloc_use_13.c
Label Definition File: CWE758_Undefined_Behavior.alloc.label.xml
Template File: point-flaw-13.tmpl.c
*/
/*
* @description
* CWE: 758 Undefined Behavior
* Sinks: malloc_use
* GoodSink: Initialize then... | {
"content_hash": "ebe3d2f7d78e908a96c89177627fb535",
"timestamp": "",
"source": "github",
"line_count": 115,
"max_line_length": 95,
"avg_line_length": 28.078260869565216,
"alnum_prop": 0.5620935274078662,
"repo_name": "JianpingZeng/xcc",
"id": "0a25e9b29b722908d8d2ead5c8719a13ff8f203f",
"size": "32... |
"""
Oblique Mercator
================
Oblique configurations of the cylinder give rise to the oblique Mercator
projection. It is particularly useful when mapping regions of large lateral
extent in an oblique direction. Both parallels and meridians are complex
curves. The projection was developed in the early 1900s by ... | {
"content_hash": "00e41cd522f57050554130374c320fc2",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 75,
"avg_line_length": 34,
"alnum_prop": 0.6819852941176471,
"repo_name": "GenericMappingTools/gmt-python",
"id": "afe889863b683f772e39f47e0d2b00d6e0f94334",
"size": "1088"... |
namespace ict {
// output string string with 80% functionality and 20X performance over
// std::ostringstream, and easier to spell.
struct osstream {
osstream() {}
osstream(const std::string &s) : x(s) {}
osstream(const osstream &) = delete;
osstream &operator=(const osstream &) = delete;
std::stri... | {
"content_hash": "628d7af6781e0c401ddf7d48fd207cc5",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 80,
"avg_line_length": 31.327868852459016,
"alnum_prop": 0.6572475143903715,
"repo_name": "intrig/ict",
"id": "e458b3cb2870c3c469db11abba2af5445484ad06",
"size": "1943",
... |
<?php
namespace Symfony\Component\Templating\Loader;
use Symfony\Component\Templating\Storage\Storage;
use Symfony\Component\Templating\Storage\FileStorage;
use Symfony\Component\Templating\TemplateReferenceInterface;
/**
* CacheLoader is a loader that caches other loaders responses
* on the filesystem.
*
* Th... | {
"content_hash": "e4532983458154a75ab66065e7f7fa40",
"timestamp": "",
"source": "github",
"line_count": 84,
"max_line_length": 109,
"avg_line_length": 26.916666666666668,
"alnum_prop": 0.6753648827952233,
"repo_name": "flyingfeet/FlyingFeet",
"id": "1a23541601994ba3bfb81aab3d14dcb1e856ebff",
"size"... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PingMessageHandler.cs" company="Quartz Software SRL">
// Copyright (c) Quartz Software SRL. All rights reserved.
// </copyright>
// <summary>
// Message handler for the <see c... | {
"content_hash": "02f49c00dc4c14118924970aac4f2fba",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 139,
"avg_line_length": 40.270270270270274,
"alnum_prop": 0.5463087248322148,
"repo_name": "raimu/kephas",
"id": "538c09dab29ff37c0aab5247b7eabb1434c233ec",
"size": "1492",... |
from astropy.io.misc.asdf.types import AstropyAsdfType
from astropy.units import Unit, UnitBase
class UnitType(AstropyAsdfType):
name = 'unit/unit'
types = ['astropy.units.UnitBase']
requires = ['astropy']
@classmethod
def to_tree(cls, node, ctx):
if isinstance(node, str):
nod... | {
"content_hash": "fbb7cfaf39cdd690e7c1d9cdc81411a9",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 67,
"avg_line_length": 31.95,
"alnum_prop": 0.6447574334898278,
"repo_name": "larrybradley/astropy",
"id": "3a2a98d6781e756f47fdaf2daff01d8ebe26f0f1",
"size": "703",
"bin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using JSIL;
using JSIL.Ast;
using Mono.Cecil;
namespace WasmSExprEmitter {
public abstract class SExpression : JSExpression {
public readonly string Keyword;
public bool LineBreakAft... | {
"content_hash": "b20fa02c3357de2f5f41b731110ff2c2",
"timestamp": "",
"source": "github",
"line_count": 242,
"max_line_length": 102,
"avg_line_length": 27.74380165289256,
"alnum_prop": 0.548704200178731,
"repo_name": "Acidburn0zzz/ilwasm",
"id": "ea1c5343e05cc71bb5b6e83c2607db4167cedfa6",
"size": "... |
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>District of Columbia | Is Lyft In</title>
<meta name="description" content="Find out where you ca... | {
"content_hash": "4c9828e1fc9b7b9e243064a0deac84dd",
"timestamp": "",
"source": "github",
"line_count": 139,
"max_line_length": 352,
"avg_line_length": 40.86330935251799,
"alnum_prop": 0.5491197183098592,
"repo_name": "gmultani12/is_lyft_in",
"id": "1c34d6ff56dfc8308514fe05d65d5c7434eba5ca",
"size"... |
class Player;
class RandomPlayer : public PlayerInput
{
public:
RandomPlayer(bool writeResult=false);
virtual ~RandomPlayer();
// PlayerInput interface
public slots:
virtual void attachPlayer(Player* p);
void onGameEnded(IORequest* ir);
void onEventTriggered(IORequest* ir);
void askForAct... | {
"content_hash": "27927e9aafe8129da835f730a3e72a79",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 41,
"avg_line_length": 20.75,
"alnum_prop": 0.7108433734939759,
"repo_name": "dtaralla/hearthstone",
"id": "c128684fb90a283840a80e6e546d9e24e43a05b8",
"size": "571",
"bin... |
package net.dsys.snio.api.codec;
import java.nio.ByteBuffer;
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
/**
* Interface definition for framing and delimitation of messages.
*
* @author Ricardo Padilha
*/
public interface MessageCodec {
/**
* @return maximum length of the message... | {
"content_hash": "30a5a7eb36c8b8f0f1bf850c52ad56f8",
"timestamp": "",
"source": "github",
"line_count": 91,
"max_line_length": 91,
"avg_line_length": 23.45054945054945,
"alnum_prop": 0.6785379568884724,
"repo_name": "ricardopadilha/dsys-snio",
"id": "e06526ce4bc5c7664dbade4a618837505349a241",
"size... |
layout: resource
category: news
external_url: 'http://www.takepart.com/article/2015/04/14/open-source-mapping-ebola'
title: Crowdsourced Mapping Could Help Prevent the Next Big Ebola Outbreak
publication: TakePart
author: Jessica Dollin
date: 20150414
mapgive_is_author: no
explicit_mention: yes
type: news
pho... | {
"content_hash": "a32a4110e9f20518d810d5c513913158",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 84,
"avg_line_length": 25.294117647058822,
"alnum_prop": 0.7488372093023256,
"repo_name": "d3netxer/Mapgive",
"id": "8ee27df0d7b24b3ff74f226b65e3000432433629",
"size": "435... |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Reace 02</title>
<script src="../lib/react.js"></script>
<script src="../lib/react-dom.js"></script>
<script src="../lib/babel-core/browser.min.js"></script>
</head>
<body>
<div id="example"></div>
<script type="text/babel">
var Timer = React... | {
"content_hash": "0917ba34c66b6a9baf713e3bf73eecfc",
"timestamp": "",
"source": "github",
"line_count": 40,
"max_line_length": 67,
"avg_line_length": 25.6,
"alnum_prop": 0.5380859375,
"repo_name": "tangsj/cc-learning",
"id": "e707cac0ec447a0fd5de597d7e7289aff614f0ff",
"size": "1024",
"binary": fa... |
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<option name="TRACKING_ENABLED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" ... | {
"content_hash": "69230f84c23e0e12f84a0a50368b3ffc",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 92,
"avg_line_length": 40.40425531914894,
"alnum_prop": 0.684044233807267,
"repo_name": "ch710798472/GithubRecommended",
"id": "1f3bdd217c03f798c393bd4440e704fc7dc72e53",
"... |
using System;
using System.Threading.Tasks;
using LeanCloud.Core.Internal;
using Foundation;
namespace LeanCloud.Push.Internal {
/// <summary>
/// This is a concrete implementation of IDeviceInfoController.
/// Everything is implemented to be a no-op, as an installation
/// on portable targets can't be used fo... | {
"content_hash": "b7fa96101cfd6e69c8786d7af5e77173",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 99,
"avg_line_length": 30.54237288135593,
"alnum_prop": 0.6798002219755827,
"repo_name": "wujun4code/Parse-SDK-dotNET",
"id": "c607d3f6704a9c5d20fedd1a0416a17e9bb0a268",
"s... |
const electron = require('electron');
// Module to control application life.
const app = electron.app;
// Module to create native browser window.
const BrowserWindow = electron.BrowserWindow;
const path = require('path');
const url = require('url');
// Keep a global reference of the window object, if you don't, the w... | {
"content_hash": "682e03435513a8a954e56a4130703025",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 78,
"avg_line_length": 32.21666666666667,
"alnum_prop": 0.7040869115364718,
"repo_name": "TheGum/Lo6",
"id": "a5095071d256c1b83dd7c8d2823f523b67fd0d63",
"size": "1933",
"... |
package ch.wsl.box.model.boxentities
import ch.wsl.box.jdbc.PostgresProfile.api._
import slick.model.ForeignKeyAction
import slick.collection.heterogeneous._
import slick.collection.heterogeneous.syntax._
/**
* Created by andre on 5/15/2017.
*/
object BoxLabels {
val profile = ch.wsl.box.jdbc.PostgresProfil... | {
"content_hash": "69e0713b6c3d9ea3dc8dc6a9e83d924c",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 114,
"avg_line_length": 28.756756756756758,
"alnum_prop": 0.7058270676691729,
"repo_name": "Insubric/box",
"id": "afa6a2b2dc2f259a608283baab00ab8bfeb8768f",
"size": "1064",... |
Networking part for Parse infomation App
## Installation
pod "AOInfoNetManager", :git => 'https://github.com/alekoleg/AOInfoNetManager.git'
## Author
Oleg Alekseenko, alekoleg@gmail.com
## License
| {
"content_hash": "f3fc22cbdb57468a6ba79ce5da8dae26",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 86,
"avg_line_length": 16,
"alnum_prop": 0.7355769230769231,
"repo_name": "alekoleg/AOInfoNetManager",
"id": "11f190ea9212273a12740ac38a8d3b3a9490c5fa",
"size": "243",
"b... |
using System;
using System.Text;
using System.Security.Permissions;
using System.Runtime.Serialization;
using OpenADK.Library;
using OpenADK.Library.Global;
using OpenADK.Library.us.Common;
namespace OpenADK.Library.us.Instr{
/// <summary>A CreatorLearning</summary>
/// <remarks>
///
/// <para>Author: Generated by ad... | {
"content_hash": "446dadaf2715c932ab85c3a7e3ff9b54",
"timestamp": "",
"source": "github",
"line_count": 127,
"max_line_length": 166,
"avg_line_length": 28.5748031496063,
"alnum_prop": 0.6737393221273078,
"repo_name": "open-adk/OpenADK-csharp",
"id": "49df1e764106f2952b0ddaa388a9692523ceed0f",
"size... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package appscool.model;
/**
*
* @author Abibatou
*/
public class GradeModel {
private String periode;
private int tab;
... | {
"content_hash": "706557a4a9bcdf42981207979f58f05f",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 79,
"avg_line_length": 21.639344262295083,
"alnum_prop": 0.6181818181818182,
"repo_name": "akdiallo/AppScool",
"id": "8bbaec1f8dc593fc1ecf4f3fa4f50cd52b4cc4d4",
"size": "13... |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Boston CSS Accessibility Workshop</title>
<meta name="description" content="Can you find the accessibility errors?">
<meta name="author" content="Ali Areskog">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.... | {
"content_hash": "2db596652576962089c9a6ce9079f239",
"timestamp": "",
"source": "github",
"line_count": 105,
"max_line_length": 168,
"avg_line_length": 30.99047619047619,
"alnum_prop": 0.5946527350952674,
"repo_name": "saltavenger/accessibility",
"id": "0a7c04e37707a5802ca18d72a4874f8afdced774",
"s... |
package org.asynchttpclient.listener;
import org.asynchttpclient.AsyncCompletionHandlerBase;
import org.asynchttpclient.FluentCaseInsensitiveStringsMap;
import org.asynchttpclient.HttpResponseBodyPart;
import org.asynchttpclient.HttpResponseHeaders;
import org.asynchttpclient.Response;
import org.slf4j.Logger;
import... | {
"content_hash": "d82e41a19e5bbd8ade2836f3e805cf77",
"timestamp": "",
"source": "github",
"line_count": 230,
"max_line_length": 175,
"avg_line_length": 30.030434782608694,
"alnum_prop": 0.625018097582163,
"repo_name": "afelisatti/async-http-client",
"id": "73b4bbb11cddcc99ce58fbdc6fdb5d8777b38606",
... |
import React, { Component } from 'react';
import { Link } from 'react-router';
import { connect } from 'react-redux';
import * as actions from '../actions';
class Header extends Component {
authButton() {
if (this.props.authenticated) {
return <button onClick={() => this.props.authenticate(false)}>Sign Out... | {
"content_hash": "77174c6f6593ccbbe74b546986a52826",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 85,
"avg_line_length": 26.07894736842105,
"alnum_prop": 0.5761856710393541,
"repo_name": "ric9176/hoc",
"id": "48a23e48866fb62c2997802765681eb0730ebd1e",
"size": "991",
"... |
import org.marketcetera.event.AskEvent;
import org.marketcetera.strategy.java.Strategy;
/* $License$ */
/**
* Test strategy (part one of two parts) that tests what happens when a strategy helper-class is redefined.
*
* @author <a href="mailto:colin@marketcetera.com">Colin DuPlantis</a>
* @version $Id: Part1.java... | {
"content_hash": "fe69ea6dcc9d15d3cc958c059a12ad0c",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 108,
"avg_line_length": 27.095890410958905,
"alnum_prop": 0.5930232558139535,
"repo_name": "nagyist/marketcetera",
"id": "57c207c254048215b696689baf05c019e51b369c",
"size":... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>Uses of Class org.apache.poi.sl.usermodel.PresetColor (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" titl... | {
"content_hash": "5441f08a2deb9f74e0550a87309e3f12",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 330,
"avg_line_length": 45.172413793103445,
"alnum_prop": 0.6358778625954199,
"repo_name": "Aarhus-BSS/Aarhus-Research-Rebuilt",
"id": "55f1fb92076e26f625afe2d442e741449c624... |
<ion-header>
<ion-navbar>
<img src="assets/img/sarah-avatar.png" class="logo">
</ion-navbar>
</ion-header>
<ion-content>
<ion-list [virtualScroll]="aboutLists">
<ion-grid>
<ion-col col-12 col-md-6 align-self-stretch align-self-center *virtualItem="let aboutList" >
<img *ngIf="aboutList.img!... | {
"content_hash": "48c6e89d1ec614dad29ce8337b2b25b5",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 98,
"avg_line_length": 32.05,
"alnum_prop": 0.5865834633385335,
"repo_name": "JasonZzs/myApp",
"id": "9b452275868abac3232c29687a8a8243aa211fa4",
"size": "641",
"binary": ... |
def largest_integer(list_of_nums)
if list_of_nums.length == 0
return nil
else
num = list_of_nums.sort
p num[list_of_nums.length-1]
end
end
| {
"content_hash": "70ce35dc5f28bb73265900c843a7fe5e",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 33,
"avg_line_length": 18.75,
"alnum_prop": 0.6866666666666666,
"repo_name": "nowakoff/phase-0",
"id": "a896ecc97d1f2c1e10ddd2012d1f9984e9eeedb1",
"size": "556",
"binary":... |
Titanium.UI.setBackgroundColor('#000');
// create tab group
var tabGroup = Titanium.UI.createTabGroup();
//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({
title:'TOP',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
icon:'KS_nav_views.png',
title:'TOP'... | {
"content_hash": "0d76f2ebdbcdaa7691626b5408f6bb82",
"timestamp": "",
"source": "github",
"line_count": 72,
"max_line_length": 57,
"avg_line_length": 17.944444444444443,
"alnum_prop": 0.6493808049535603,
"repo_name": "snjkodo/titanium_WG",
"id": "12a4f26489176d6d45e3829dc377d1641be6269b",
"size": "... |
layout: model
title: English BertForQuestionAnswering Uncased model (from Andaf)
author: John Snow Labs
name: bert_qa_uncased_finetuned_squad_indonesian
date: 2022-07-07
tags: [en, open_source, bert, question_answering]
task: Question Answering
language: en
edition: Spark NLP 4.0.0
spark_version: 3.0
supported: true
an... | {
"content_hash": "c96ff04a6c00a9677fc16dd4e5aebf56",
"timestamp": "",
"source": "github",
"line_count": 85,
"max_line_length": 231,
"avg_line_length": 33.88235294117647,
"alnum_prop": 0.7482638888888888,
"repo_name": "JohnSnowLabs/spark-nlp",
"id": "5a2b5e27707225044936223720f650bc7697d860",
"size"... |
package org.apache.jsp.WEB_002dINF.views.modules.sys;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
public final class userModifyPwd_jsp extends org.apache.jasper.runtime.HttpJspBase
implements org.apache.jasper.runtime.JspSourceDependent {
static private org.apache.jasper.runt... | {
"content_hash": "9690c0f5cc576b7b784de688776643df",
"timestamp": "",
"source": "github",
"line_count": 315,
"max_line_length": 301,
"avg_line_length": 60.615873015873014,
"alnum_prop": 0.6810516392584057,
"repo_name": "VincentFxz/EAM",
"id": "81b01b3d15165552f8c8a7ba1c5f905b91398d87",
"size": "192... |
package hackerranksolutions.Java.Introduction.JavaDateandTime;
/* Author: George Ngandu
Github: github.com/gngandu
HackerRank: hackerrank.com/gngandu
*/
import java.util.*;
import java.time.*;
public class JavaDateandTime {
/*
Instructions:
--------------
The Calendar class is an abstract ... | {
"content_hash": "4ea313e975241f4273bde7b0341a8125",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 95,
"avg_line_length": 29.228070175438596,
"alnum_prop": 0.6002400960384153,
"repo_name": "gngandu/HackerRankSolutions",
"id": "161a1b0722782737b7a4fdd234d5d97b11bda0e1",
"... |
// Copyright (c) 2009, Whispersoft s.r.l.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of cond... | {
"content_hash": "3254b2b953e214fddee738319423ee69",
"timestamp": "",
"source": "github",
"line_count": 262,
"max_line_length": 82,
"avg_line_length": 35.961832061068705,
"alnum_prop": 0.6127149225217576,
"repo_name": "cpopescu/whispercast",
"id": "2b3cab2849830c26731c4af61419155131a204b5",
"size":... |
package com.jinwen.thread.multithread.synchronize.example8;
/**
* P72
* synchronized方法的弊端
*/
public class Run8_synchronized01 {
public static void main(String[] args) {
TaskA taskA = new TaskA();
MyThreadA thread1 = new MyThreadA(taskA);
thread1.setName("a");
thread1.start();
... | {
"content_hash": "f66fc5bc0d46c8b5c1fd21cc8311446a",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 123,
"avg_line_length": 23.84090909090909,
"alnum_prop": 0.6644423260247855,
"repo_name": "jinchen92/JavaBasePractice",
"id": "47d0afc917e33ed80255ee2dc3624a56f05b6b8c",
"s... |
<?php
// The content of this file was automatically generated
namespace ProcessOut;
use ProcessOut\ProcessOut;
use ProcessOut\Networking\Request;
class Coupon implements \JsonSerializable
{
/**
* ProcessOut's client
* @var ProcessOut\ProcessOut
*/
protected $client;
/**
* ID of the... | {
"content_hash": "342ac35c55f5d03ded87290150aa3462",
"timestamp": "",
"source": "github",
"line_count": 626,
"max_line_length": 105,
"avg_line_length": 23.18849840255591,
"alnum_prop": 0.5316891705704051,
"repo_name": "ProcessOut/processout-php",
"id": "6a992a1baac30b2a94da83ca2ae995db607199e2",
"s... |
package org.apache.camel.component.aws.secretsmanager.integration;
import org.apache.camel.EndpointInject;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.aws.secretsmanager.SecretsManagerConstants;
import org.apache.... | {
"content_hash": "a39ae1ef91bc20ad4a40392f126285d9",
"timestamp": "",
"source": "github",
"line_count": 49,
"max_line_length": 111,
"avg_line_length": 36.57142857142857,
"alnum_prop": 0.6936383928571429,
"repo_name": "christophd/camel",
"id": "f433c74eb76c0fa0d92b265b92a97307d099d49e",
"size": "259... |
type: risks
template: risks
title: Risks overview
slug: risk
year: 2016
The following table shows four selected risks:
* Open DNS
* Open NTP
* Open SSDP
* Spam (spam sending devices)
in absolute numbers, as well as an averaged score over all countries.
### The score
In tables and maps on this website, you ... | {
"content_hash": "abc570591e93362005eccec0f1b2f7e8",
"timestamp": "",
"source": "github",
"line_count": 18,
"max_line_length": 354,
"avg_line_length": 35.27777777777778,
"alnum_prop": 0.7559055118110236,
"repo_name": "cybergreen-net/stats",
"id": "044ae1befc320f76b12c6b028f6fcd83eba8cac1",
"size": ... |
using extensions::Extension;
// An InProcessBrowserTest for testing the ExtensionToolbarModel.
// TODO(erikkay) It's unfortunate that this needs to be an in-proc browser test.
// It would be nice to refactor things so that ExtensionService could run
// without so much of the browser in place.
class ExtensionToolbarMod... | {
"content_hash": "f9e529ecb61a1ddcc1bb2e339d8215be",
"timestamp": "",
"source": "github",
"line_count": 220,
"max_line_length": 80,
"avg_line_length": 35.731818181818184,
"alnum_prop": 0.6529703600050885,
"repo_name": "junmin-zhu/chromium-rivertrail",
"id": "ddf0f6e859aa28627ccb588ac327d5a2f16b3749",... |
<?php
namespace backend\controllers;
use Yii;
use backend\models\IllegalKeyword;
use backend\models\IllegalKeywordSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
/**
* IllegalkeywordController implements the CRUD actions for IllegalKeyword model.
*/
class Illegalkeywo... | {
"content_hash": "05d98fe2ab1aa3b8f9e9ad102e9e812d",
"timestamp": "",
"source": "github",
"line_count": 124,
"max_line_length": 85,
"avg_line_length": 26.548387096774192,
"alnum_prop": 0.5434386391251519,
"repo_name": "mianbao726/sunny",
"id": "4e16d31d0f46023336203d4bc8f99e819ab1c533",
"size": "32... |
/**
* Function that returns default values.
* Used because Object.assign does a shallow instead of a deep copy.
* Using [].push will add to the base array, so a require will alter
* the base array output.
*/
'use strict';
const path = require('path');
const srcPath = path.join(__dirname, '/../src');
const dfltPor... | {
"content_hash": "ed4a407a253ba014483ed0bbbabee1f3",
"timestamp": "",
"source": "github",
"line_count": 64,
"max_line_length": 104,
"avg_line_length": 23.75,
"alnum_prop": 0.5697368421052632,
"repo_name": "Aikk/gallery-by-react",
"id": "aabc0b4333d5f5e25e3d0bc9f541c50b2f010196",
"size": "1520",
"... |
/**
* @file
* @brief ARM Cortex-M k_thread_abort() routine
*
* The ARM Cortex-M architecture provides its own k_thread_abort() to deal
* with different CPU modes (handler vs thread) when a thread aborts. When its
* entry point returns or when it aborts itself, the CPU is in thread mode and
* must call _Swap() ... | {
"content_hash": "145257e4693d9bd4affa3d39cb50ed94",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 78,
"avg_line_length": 25.458333333333332,
"alnum_prop": 0.6890343698854338,
"repo_name": "aceofall/zephyr-iotos",
"id": "3d398a530760ded5908fe9298800ae82951888a3",
"size":... |
<?php
namespace app\lib\commands;
use app\lib\BaseCommand;
use yii\console\Exception;
use yii\helpers\Console;
use yii\helpers\FileHelper;
use Yii;
class RmdirCommand extends BaseCommand
{
/**
* @inheritdoc
*/
public function run(& $cmdParams, & $params)
{
$taskRunner = $this->taskRu... | {
"content_hash": "0dabbab7ff884b6cded85cf82fbd4b87",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 85,
"avg_line_length": 20.658536585365855,
"alnum_prop": 0.5714285714285714,
"repo_name": "giovdk21/deployii",
"id": "e649980972a238a0711acf3cde9d78df8fa97734",
"size": "10... |
package com.intellij.velocity.inspections;
import com.intellij.lang.ASTNode;
import com.intellij.lang.annotation.AnnotationHolder;
import com.intellij.lang.annotation.Annotator;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiFile;
import com.intellij.psi.Re... | {
"content_hash": "bfe1f35d865e4a9a99540281ac1cdbce",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 143,
"avg_line_length": 47.05882352941177,
"alnum_prop": 0.6220833333333333,
"repo_name": "consulo/consulo-apache-velocity",
"id": "ddaa3e51ba5fbeaba2ed113583ce3b6044eb92d2"... |
<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">
<parent>
<artifactId>jsonld-java-integration</artifactId>
<groupId>com.github.jsonld-java</groupId>
<version>... | {
"content_hash": "e310a2681a0fb211913738b789e79bfc",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 104,
"avg_line_length": 27.522727272727273,
"alnum_prop": 0.6862097440132122,
"repo_name": "westei/jsonld-java",
"id": "ee3f2bd0be9f035b56eb8ff042ed63c05f8e6bfd",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Impact++ / Source: entities/particle-color.js</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if l... | {
"content_hash": "33fa9b61e96faa92b113783a98be774e",
"timestamp": "",
"source": "github",
"line_count": 167,
"max_line_length": 142,
"avg_line_length": 27.209580838323355,
"alnum_prop": 0.4977992957746479,
"repo_name": "modulexcite/impactplusplus",
"id": "b5734be218ed02bf073a389b92ab5874024fb4c1",
... |
package com.amazonaws.services.migrationhuborchestrator.model.transform;
import javax.annotation.Generated;
import com.amazonaws.SdkClientException;
import com.amazonaws.Request;
import com.amazonaws.http.HttpMethodName;
import com.amazonaws.services.migrationhuborchestrator.model.*;
import com.amazonaws.transform.... | {
"content_hash": "4d288b7370114b3e6cd8b5bb4694748c",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 150,
"avg_line_length": 40.13461538461539,
"alnum_prop": 0.761379971250599,
"repo_name": "aws/aws-sdk-java",
"id": "7f95648a7d87b29b003f2cd381ad58f127ed7a8b",
"size": "2667... |
public class VerySecureEncryption {
public String encrypt(String message, int[] key, int K) {
if (K == 0) {
return message;
}
String scrambledMessage = new String();
for (int j = 0; j < K; j++) { //mix up k times
for (int w = 0; w < key.length; w++) { //go through 0 through n
for (int i = 0; i... | {
"content_hash": "4bc2481390ba4efe016b794ce6a11e3e",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 72,
"avg_line_length": 22.08,
"alnum_prop": 0.5634057971014492,
"repo_name": "emmasax1/LearningComputerScience",
"id": "fd33087eb370e5267768222ec85ae03e57587c5f",
"size": "... |
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | {
"content_hash": "eb91c69d4bfd7a41091812af9d483147",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 84,
"avg_line_length": 37.766666666666666,
"alnum_prop": 0.7528684907325685,
"repo_name": "wilsonvargas/EntryValidatorPlugin",
"id": "d4175114cd14f97a412a724a941bda9e28d78573... |
package org.museautomation.builtins.tests;
import org.junit.jupiter.api.*;
import org.museautomation.builtins.value.*;
import org.museautomation.core.*;
import org.museautomation.core.context.*;
import org.museautomation.core.project.*;
import org.museautomation.core.resource.*;
import org.museautomation.core.values.*... | {
"content_hash": "26a497fb9f39badd890c015166cf55ee",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 154,
"avg_line_length": 36.35294117647059,
"alnum_prop": 0.7243797195253506,
"repo_name": "ChrisLMerrill/muse",
"id": "0ae5b0c068f3cc717cd6391439327433a1a43485",
"size": "1... |
<!--
Copyright 2021 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.
-->
<!DOCTYPE html>
<html>
<body>
<p>Cross-origin content</p>
</body>
</html>
| {
"content_hash": "f3954f7158ad3401db3430a252dc3155",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 19.153846153846153,
"alnum_prop": 0.6907630522088354,
"repo_name": "ChromeDevTools/devtools-frontend",
"id": "a716d5511f4c0ca66bfe06c89f000a15d772a9a1"... |
//----------------------------------------------------------------------
//This code is developed as part of the Java CoG Kit project
//The terms of the license can be found at http://www.cogkit.org/license
//This message may not be removed or altered.
//---------------------------------------------------------------... | {
"content_hash": "f79c5ee6d160e0a4544944d432cc9654",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 72,
"avg_line_length": 34.142857142857146,
"alnum_prop": 0.6122733612273361,
"repo_name": "ya7lelkom/swift-k",
"id": "4f77382bff8109a7a9de9fe793a92dd9d0d4713f",
"size": "14... |
@interface CreateCourseViewController : UIViewController <CLLocationManagerDelegate,UIActionSheetDelegate>
- (IBAction)MenuButtonPressed:(id)sender;
@property (strong, nonatomic) CLLocationManager *LocationManager;
@property (strong, nonatomic) id<GMSMarker> CurrentLocation;
@property (strong,nonatomic) id<GMSPolylin... | {
"content_hash": "2985dbb15b7b36e4e751c29883e6192b",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 106,
"avg_line_length": 36.294117647058826,
"alnum_prop": 0.813614262560778,
"repo_name": "martinborjesson/quizwalker",
"id": "2cb6db398334a151f0228d518ee6253ec6e4f34a",
"s... |
**This software is not ready for production! It is still being developed and it will change in the future.**
The goal is to have a starter project which can be used to quickly build an API with a frontend that are easily extended.
[](https://gitter.im/beeman/loopback-a... | {
"content_hash": "637dd4f093cb81f6c8a82ce1ef29b23a",
"timestamp": "",
"source": "github",
"line_count": 187,
"max_line_length": 224,
"avg_line_length": 44.42780748663102,
"alnum_prop": 0.7643235435724602,
"repo_name": "drmikecrowe/loopback-angular-admin",
"id": "fb55681eb816a9153942e63e80c0427ef07eff... |
package org.datavec.spark.transform;
import org.datavec.image.transform.ImageTransformProcess;
import org.datavec.spark.transform.model.Base64NDArrayBody;
import org.datavec.spark.transform.model.BatchImageRecord;
import org.datavec.spark.transform.model.SingleImageRecord;
import org.junit.Rule;
import org.junit.Tes... | {
"content_hash": "364967011128bb0baae7eb8308b365fa",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 101,
"avg_line_length": 37.48571428571429,
"alnum_prop": 0.7221798780487805,
"repo_name": "RobAltena/deeplearning4j",
"id": "c3474ab85c99b26c94bec5a745794e6c53902166",
"siz... |
/***** includes *****/
#include "internal.h"
/****************************************************************************/
void test_lfds700_queue_bss_dequeuing()
{
enum lfds700_misc_validity
dvs = LFDS700_MISC_VALIDITY_VALID;
lfds700_pal_uint_t
loop;
struct lfds700_queue_bss_element
element_a... | {
"content_hash": "57762ec09b9953c68a65e3204ce8d296",
"timestamp": "",
"source": "github",
"line_count": 61,
"max_line_length": 88,
"avg_line_length": 23.360655737704917,
"alnum_prop": 0.5971929824561404,
"repo_name": "mojmir-svoboda/BlackBoxTT",
"id": "971555c4436934cb9f36a84554f21f5636076136",
"si... |
ACCEPTED
#### According to
International Plant Names Index
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "c50eeab6c52b4b6097af27a9e7e8f071",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 31,
"avg_line_length": 9.692307692307692,
"alnum_prop": 0.7063492063492064,
"repo_name": "mdoering/backbone",
"id": "75cb1f2f4cd0e2f88189f3198b573254939b8429",
"size": "180... |
FROM balenalib/kitra710-alpine:3.14-build
# Default to UTF-8 file.encoding
ENV LANG C.UTF-8
# add a simple script that can auto-detect the appropriate JAVA_HOME value
# based on whether the JDK or only the JRE is installed
RUN { \
echo '#!/bin/sh'; \
echo 'set -e'; \
echo; \
echo 'dirname "$(dirname "$(readli... | {
"content_hash": "8b019e9b1917001da8985866d7d7ce96",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 683,
"avg_line_length": 58,
"alnum_prop": 0.7,
"repo_name": "resin-io-library/base-images",
"id": "808340ce9f3708f1f3bcd8eb57802152c8935d9a",
"size": "1761",
"binary": fa... |
`Daylilog` `Javascript` `Vue.js` `Links` `Design` `UX`
# Things Do Today:
- [x] Add new **Dailylog**
- [x] Started watch course Vue.js Mastering Web Apps :metal:
# Notes
- First Daily on Jun 2018
- Practice coding javascript.
- Started using Vue.js
## Links
[:movie_camera: Vue.js, Vuex e Single Source of Truth](ht... | {
"content_hash": "10aa529a2803724f49a9a24a09584be5",
"timestamp": "",
"source": "github",
"line_count": 23,
"max_line_length": 145,
"avg_line_length": 32.95652173913044,
"alnum_prop": 0.712401055408971,
"repo_name": "wgoulart/dailylog",
"id": "2cc80f440f73a2e4a6a3df50a7d849aae3c27372",
"size": "788... |
module.exports = function(req, res, next) {
if (req.isAuthenticated())
return next();
res.redirect('/login');
};
| {
"content_hash": "3e426ba0bce820c6649c54e911fb0780",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 43,
"avg_line_length": 17.142857142857142,
"alnum_prop": 0.6416666666666667,
"repo_name": "ziacik/eeechatx",
"id": "0aeaf99572e51c18d645e999e9a7ee49e28a25ec",
"size": "120",... |
/**
* Computes Euler's totient function
*
* @author Steven & Felix Halim
*/
package com.williamfiset.algorithms.math;
public class EulerTotientFunctionWithSieve {
// TODO(williamfiset): Refactor this class to accept a max value in the constructor.
// Set MAX to be the largest value you
// wish to compute t... | {
"content_hash": "52d2ed944e721ddd0294992e896c2215",
"timestamp": "",
"source": "github",
"line_count": 71,
"max_line_length": 89,
"avg_line_length": 30.014084507042252,
"alnum_prop": 0.6039418113561709,
"repo_name": "williamfiset/Algorithms",
"id": "e845fecb4b03e2a1315adf58e8aa5f6a6917138a",
"size... |
/**
* System module
* @module System
* @namespace RGPP.System
*/
(function(global) {
/* global RGPP */
"use strict";
var objName = "EventOperator";
/**
* Event Operator
* @class EventOperator
* @author arcsin
* @constructor
*/
var constructor = function(spec) {
var that = {};
// Reaction
tha... | {
"content_hash": "64f5ca7f072b23a8d6555a4a763b51c4",
"timestamp": "",
"source": "github",
"line_count": 161,
"max_line_length": 119,
"avg_line_length": 28.093167701863354,
"alnum_prop": 0.6681406146363034,
"repo_name": "arcsin037/RGPP",
"id": "7c0f030e5cd3f811edd0b95a6be05cb1fb309c56",
"size": "452... |
Getting started
===============
This tutorial covers how to get started with the Cliche codebase.
Prerequisites
-------------
Cliche is made with the following softwares:
Python_ 3.3 or higher
Cliche is mostly written in Python language. It's a high-level scripting
language for general purpose.
Git_
We ... | {
"content_hash": "18224ada0c3dc81f26e05a41a1fd110b",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 78,
"avg_line_length": 26.138157894736842,
"alnum_prop": 0.7072741001761893,
"repo_name": "clicheio/cliche",
"id": "e11fd0b59ac99a27dd213eb0e6d22cef13ec75fa",
"size": "397... |
angular.module('memory')
.service('computerPlayerService', function($rootScope, $q, $timeout, localStorageService, deckService, playerService) {
'use strict';
var computer = {};
computer.isComputerTurn = localStorageService.get('mem.isComputerTurn') ? localStorageService.get('mem.isComputerTurn') : false;... | {
"content_hash": "12b3facaff488863753ead197590d1e9",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 132,
"avg_line_length": 35.753846153846155,
"alnum_prop": 0.6364027538726333,
"repo_name": "scottrice10/memory-card-game",
"id": "c23f574f005b83d5d6af2faa5db29e998f7ab183",
... |
/**
* @file
* Time.
*
*/
#ifndef NL_ER_TIME_H
#define NL_ER_TIME_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/** Represents a timeout that will never occur
*/
#define NLER_TIMEOUT_NEVER (nl_time_ms_t)-1
/** Represents a timeout that will happen immediately
*/
#define NLER_TIMEOUT_... | {
"content_hash": "179f9bd124e0256935ebcf354979b3d5",
"timestamp": "",
"source": "github",
"line_count": 110,
"max_line_length": 78,
"avg_line_length": 33.5,
"alnum_prop": 0.7318860244233378,
"repo_name": "nestlabs/nler",
"id": "5faafaa5ad3eed6dca11e963bd0d5a6c5c4d9dcc",
"size": "4352",
"binary": ... |
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>code</title>
<link href="../../../../images/logo-icon.svg" rel="icon" type="image/svg">
<script>var pathToRoot = "../../../../";</script>
<script type="text/javascript" src="../../../../script... | {
"content_hash": "a2739f56b5741e775863104b901bb4e8",
"timestamp": "",
"source": "github",
"line_count": 51,
"max_line_length": 559,
"avg_line_length": 70.33333333333333,
"alnum_prop": 0.624756063562866,
"repo_name": "Hexworks/zircon",
"id": "3653c792d96f2f7435cbe207aa7f9e2174875741",
"size": "3588"... |
using System;
using System.IO;
using System.Reflection;
using Bumblebee.Exceptions;
using Bumblebee.Extensions;
using Bumblebee.Interfaces;
using Bumblebee.Setup;
using FluentAssertions;
using NSubstitute;
using NUnit.Framework;
using OpenQA.Selenium;
// ReSharper disable InconsistentNaming
namespace Bumblebee.... | {
"content_hash": "d52509df6ca881013b543fb54accaac6",
"timestamp": "",
"source": "github",
"line_count": 261,
"max_line_length": 180,
"avg_line_length": 28.371647509578544,
"alnum_prop": 0.7138419986495611,
"repo_name": "qchicoq/Bumblebee",
"id": "068dd5150449820428291c35e94b89b82a583ea7",
"size": "... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, wid... | {
"content_hash": "4f0bf5853fa7eaa22e0eaf4ef440412c",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 473,
"avg_line_length": 67.79768786127168,
"alnum_prop": 0.6815585301389718,
"repo_name": "rtc-io/rtc.io-website",
"id": "f6d17ab48f3b99834ec987bfc92d36a6b8255393",
"size"... |
define(["sprd/view/ProductImage", "sprd/data/ImageService"], function (ProductImage, ImageService) {
return ProductImage.inherit("sprd.view.ArticleImage", {
_commitChangedAttributes: function (attributes) {
this.callBase();
if (attributes.hasOwnProperty('article')) {
... | {
"content_hash": "c901e8b84d8928f8ab76c9e757fb750c",
"timestamp": "",
"source": "github",
"line_count": 43,
"max_line_length": 100,
"avg_line_length": 32.116279069767444,
"alnum_prop": 0.4887762490948588,
"repo_name": "spreadshirt/rAppid.js-sprd",
"id": "0116ecd25bc4f5839e1ab6b49bf98d6e8e962167",
"... |
import { isTextBlock } from './isTextBlock'
import { ElementRefType, StringElementRefType } from './types'
export function canFuse
( a: ElementRefType
): a is StringElementRefType {
return isTextBlock ( a.elem ) && a.path.length < 3
} | {
"content_hash": "edca3292bd5c24e9edfe32bfea3b6a0d",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 62,
"avg_line_length": 29.625,
"alnum_prop": 0.7341772151898734,
"repo_name": "luciditeam/lucidity",
"id": "77d8e7df63189dd16edc08602d171041b6855653",
"size": "237",
"bina... |
using UnityEngine;
using IBM.Watson.DeveloperCloud.Services.PersonalityInsights.v3;
using IBM.Watson.DeveloperCloud.Logging;
using IBM.Watson.DeveloperCloud.Utilities;
using System.Collections;
using IBM.Watson.DeveloperCloud.Connection;
using System.Collections.Generic;
public class ExamplePersonalityInsights : Mo... | {
"content_hash": "ed40e7231974ba6f05bd4957049bb371",
"timestamp": "",
"source": "github",
"line_count": 73,
"max_line_length": 812,
"avg_line_length": 50.45205479452055,
"alnum_prop": 0.748303013847407,
"repo_name": "kimberlysiva/unity-sdk",
"id": "a8eb77299cf1154a608165bb2eb627c5eef45bde",
"size":... |
package com.joshstrohminger.stepbystep;
import android.app.ActionBar;
import android.app.Activity;
import android.app.Fragment;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.os.Bundle;
import android.preference.PreferenceManager;
import android.support.v7.app.Actio... | {
"content_hash": "2a3d2300189bf68e3c9cf226840e7b98",
"timestamp": "",
"source": "github",
"line_count": 337,
"max_line_length": 107,
"avg_line_length": 37.332344213649854,
"alnum_prop": 0.6463715125983626,
"repo_name": "KillerSpiders/StepByStep",
"id": "2b947ea11cf3044675b077228b70a83f3b686955",
"s... |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
~ Copyright (c) 2011-2012 by Cornell University and the Cornell Research Foundation,
~ Inc. All Rights Reserved.
~
~ GobyWeb plugins are released under the LGPL3 license, unless otherwise specified
~ by the license of a specific plugin. See t... | {
"content_hash": "991f76172e0560d5ebbe5edb030f9fca",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 131,
"avg_line_length": 40.535714285714285,
"alnum_prop": 0.654625550660793,
"repo_name": "CampagneLaboratory/gobyweb2-plugins",
"id": "6140aac699b8f8e852625e6275a79b9a39f8ca... |
<html>
<head>
<title>Webcode configuration files</title>
</head>
<body>
<h1>Configuration and sessions</h1>
<p>Ensembl has two different types of configuration: system and user.</p>
<h2>System configuration</h2>
<p>System settings are controlled by the administrator of Ensembl.</p>
<h3>Apache web... | {
"content_hash": "55297a46a7b62a0c2812084890d62dc6",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 544,
"avg_line_length": 62.62162162162162,
"alnum_prop": 0.7619766940008632,
"repo_name": "muffato/public-plugins",
"id": "3ee6e1cdccf097e8ea3f49d63b70c72e74f8caf4",
"size"... |
package com.maxdemarzi.processing.pagerank;
import com.maxdemarzi.processing.NodeCounter;
import org.neo4j.collection.primitive.PrimitiveLongIterator;
import org.neo4j.graphdb.Direction;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.Transaction;
import org.neo4j.kernel.internal.GraphDatabaseA... | {
"content_hash": "bb76d40406f2f9fd5c3827c951152db6",
"timestamp": "",
"source": "github",
"line_count": 95,
"max_line_length": 137,
"avg_line_length": 35.357894736842105,
"alnum_prop": 0.6338195891634415,
"repo_name": "maxdemarzi/graph_processing",
"id": "0d16903b77cb64a8b0cefd37ca777ff2fc2f87b6",
... |
<?php
/**
* @see Zend_Http_Client
*/
// require_once 'Zend/Http/Client.php';
/**
* @see Zend_Http_CookieJar
*/
// require_once 'Zend/Http/CookieJar.php';
/**
* @see Zend_Oauth_Consumer
*/
// require_once 'Zend/Oauth/Consumer.php';
/**
* @see Zend_Oauth_Token_Access
*/
// require_once 'Zend/Oauth/Token/Acce... | {
"content_hash": "a862d5845dd0142219588e91341f2e84",
"timestamp": "",
"source": "github",
"line_count": 1288,
"max_line_length": 139,
"avg_line_length": 35.56987577639752,
"alnum_prop": 0.5391146811018466,
"repo_name": "holtkamp/zf1",
"id": "6e4360643633af8727fe19f916e9599b8ad6a2c0",
"size": "46530... |
<?php
defined( 'ABSPATH' ) || exit;
class PMW_Register_Register {
/**
* @since 20170227
* @var string
*/
protected static $option = 'plugin_option_slug';
/**
* @since 20170318
* @var string class trait added
*/
protected static $php_vers = '5.3.6';
/**
* @since 20170227
* @var string Option ... | {
"content_hash": "3b8459b84d276288558241c8d577e8ff",
"timestamp": "",
"source": "github",
"line_count": 367,
"max_line_length": 140,
"avg_line_length": 25.96185286103542,
"alnum_prop": 0.607367758186398,
"repo_name": "RichardCoffee/privacy-my-way",
"id": "83ec37da0a0e4fb7a0c79eb763f91d99eae1507b",
... |
using namespace std;
typedef actionlib::SimpleActionClient<control_msgs::JointTrajectoryAction> TrajClient;
class ArmControllerTester {
private:
ros::NodeHandle nh;
ros::NodeHandle pnh;
auto_ptr<message_filters::Subscriber<humanoid_catching::MovementGoal> > movementGoalSub;
ros::Publisher movementGoal... | {
"content_hash": "9fb7800ca81ef1ab4c73feffa90d12a7",
"timestamp": "",
"source": "github",
"line_count": 186,
"max_line_length": 158,
"avg_line_length": 39.59139784946237,
"alnum_prop": 0.6250678978815861,
"repo_name": "PositronicsLab/humanoid_catching",
"id": "0d6697b0eaa3ebcf32584c1e1631178614634d6f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.