text
stringlengths
2
1.04M
meta
dict
using System; // 8. Create a Windows Console application that demonstrates value types vs reference types namespace Csharp_102908 { class Csharp_102908 { static void Main(string[] args) { Console.WriteLine("\n\n8. Value types vs reference types\n-----------------------...
{ "content_hash": "f0a9b8e2eed1757b1e826779f47a1929", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 110, "avg_line_length": 40.92857142857143, "alnum_prop": 0.5101803374054683, "repo_name": "michaeltharper/eduware", "id": "8b5513f6fd9253b5128c695e70fe7241db573a29", "size"...
require "codeclimate-test-reporter" CodeClimate::TestReporter.start require 'simplecov' SimpleCov.start if ENV["COVERAGE"] # This file is copied to spec/ when you run 'rails generate rspec:install' ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) # Prevent database truncation...
{ "content_hash": "caf4406d00d1ae96ea34e9bbeaeb4a54", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 86, "avg_line_length": 29.040816326530614, "alnum_prop": 0.7449051300070274, "repo_name": "shivashankar-ror/googlesmtp", "id": "35f3ac3ec1ccb2bea3e8f8617d5d0598798f2f80", "...
*Topic automatically generated on: 2015-04-02* Removes a JavaScript link or block from a web or sitecollection ##Syntax ```powershell Remove-SPOJavaScriptLink [-Force [<SwitchParameter>]] [-Scope [<CustomActionScope>]] [-Web [<WebPipeBind>]] -Name [<String>] ``` &nbsp; ##Parameters Parameter|Type|Required|Description...
{ "content_hash": "80f0a0be26fca90f344e3b8d9f204659", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 124, "avg_line_length": 37.6875, "alnum_prop": 0.7346600331674958, "repo_name": "kendomen/PnP", "id": "b3ed536bad85c52a675a197923c326ed52d56b9f", "size": "629", "binary":...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "de1154f9a5db3a2a530a720fd1705bd2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "f0b3e1acd32c7dc4984d79fc9727c70e08012e87", "size": "20...
/* Author: Acorn Pooley, Ioan Sucan */ #include <moveit/collision_detection/world_diff.h> #include <functional> namespace collision_detection { WorldDiff::~WorldDiff() { WorldPtr old_world = world_.lock(); if (old_world) old_world->removeObserver(observer_handle_); } WorldDiff::WorldDiff() { } WorldDiff::...
{ "content_hash": "cc026a33c37277a065cb163bb974941e", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 120, "avg_line_length": 23.138297872340427, "alnum_prop": 0.6845977011494253, "repo_name": "ros-planning/moveit", "id": "1b705dced1a9b54c72c536a1edd27d6513971c5b", "size": ...
<?php namespace Enhavo\Bundle\WorkflowBundle\Entity; use Enhavo\Bundle\WorkflowBundle\Model\NodeInterface; use Enhavo\Bundle\WorkflowBundle\Model\WorkflowStatusInterface; /** * WorkflowStatus */ class WorkflowStatus implements WorkflowStatusInterface { /** * @var integer */ private $id; /** ...
{ "content_hash": "1b92b41ccedfb3856b8bef86d98db1c9", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 63, "avg_line_length": 15.810344827586206, "alnum_prop": 0.5376226826608506, "repo_name": "jennyhelbing/enhavo", "id": "000517ae32d094184be902384e84c60986c20910", "size": "...
namespace crashpad { //! \brief Inserts a mapping from \a key to \a value into \a map, or replaces //! an existing mapping so that \a key maps to \a value. //! //! This behaves similarly to `std::map<>::%insert_or_assign()` proposed for //! C++17, except that the \a old_value parameter is added. //! //! \param[in,...
{ "content_hash": "45eec9cf80a6e0fe4a6c58f5cd0103df", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 79, "avg_line_length": 37.395833333333336, "alnum_prop": 0.618941504178273, "repo_name": "youtube/cobalt_sandbox", "id": "ea8fc03210265f3c9f4cf34bc15e85b44b08d7a6", "size":...
using UnityEngine; using System.Collections; using ParticlePlayground; /// <summary> /// This example shows how to set a certain particle as sticky. Having a particle sticky means that it will follow a transform in the scene during its lifetime. /// </summary> public class SetStickyParticleExample : MonoBehaviour { ...
{ "content_hash": "d791a96b2bf3e24565c87f57eaf162ac", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 160, "avg_line_length": 33.35849056603774, "alnum_prop": 0.7398190045248869, "repo_name": "dylan92/seriousGames1", "id": "1f54e36147a619d89b620f9b1dec5ed825049c75", "size":...
<?php class ControllerExtensionPaymentGingerCc extends Controller { const GINGER_MODULE = 'ginger_cc'; public function index() { $this->load->controller('extension/payment/ginger_ideal', static::getGingerModuleName()); } static function getGingerModuleName() { return static::...
{ "content_hash": "72b432e9a82a4dbe462bb2218392ea37", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 97, "avg_line_length": 21.4375, "alnum_prop": 0.6705539358600583, "repo_name": "gingerpayments/ginger-opencart", "id": "a2a9c1388a05db1814e5890ce1586624f6655c85", "size": "...
all: FORCE cd comm && make && make install cd packet && make && make install reinstall: FORCE cd comm && make install cd packet && make install uninstall: FORCE cd comm && make uninstall cd packet && make uninstall clean: FORCE cd comm && make clean cd packet && make clean .PHONY: FORCE
{ "content_hash": "4844756ae70f543eeef89d1a0322b184", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 34, "avg_line_length": 16.77777777777778, "alnum_prop": 0.6887417218543046, "repo_name": "fresskarma/tinyos-1.x", "id": "608a55f12ab045312b58d9b1a0d37dad80788d64", "size": ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_92) on Sun Oct 18 21:01:41 EDT 2020 --> <title>RuleBookBean (rulebook API)</title> <meta name="date" content="2020-10-18"> <link rel="styleshee...
{ "content_hash": "7c26172f8d256056da7f9321df2afa12", "timestamp": "", "source": "github", "line_count": 345, "max_line_length": 529, "avg_line_length": 42.881159420289855, "alnum_prop": 0.6681762876841963, "repo_name": "rulebook-rules/rulebook", "id": "ef820a2d11e3b554ae3e7c4f702c486181e6c027", "si...
import javax.xml.stream.XMLEventReader; import javax.xml.stream.XMLInputFactory; import javax.xml.stream.XMLStreamException; import javax.xml.stream.events.XMLEvent; import java.io.FileInputStream; import java.util.Iterator; import java.util.NoSuchElementException; public class Pages implements Iterable<Page> { pr...
{ "content_hash": "c2d1caa9736bef9af75e7c08442270f7", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 103, "avg_line_length": 33.566265060240966, "alnum_prop": 0.4662598707824838, "repo_name": "syndbg-archive/SevenConcurrencyModelsInSevenWeeks", "id": "56cd026391c736703063830...
<?php use Bernard\Consumer; use Bernard\Message; use Bernard\Producer; use Bernard\QueueFactory\PersistentFactory; use Bernard\Serializer\NaiveSerializer; use Bernard\ServiceResolver\ObjectResolver; use Bernard\Middleware; /** * This file contains helper methods for the examples. See example/$driver.php * for how t...
{ "content_hash": "a7b095dc380b31496d54e146b2f37a9d", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 138, "avg_line_length": 23.936842105263157, "alnum_prop": 0.6596306068601583, "repo_name": "ruudk/bernard", "id": "99f00d1b89f63d2d5354acbe963e6b37192a54e2", "size": "2274"...
FROM balenalib/zc702-zynq7-ubuntu:cosmic-run ENV GO_VERSION 1.16 # gcc for cgo RUN apt-get update && apt-get install -y --no-install-recommends \ g++ \ gcc \ libc6-dev \ make \ pkg-config \ git \ && rm -rf /var/lib/apt/lists/* RUN set -x \ && fetchDeps=' \ curl \ ' \ && apt-get update && apt-get in...
{ "content_hash": "aaa43f6f296d9e0647b63ef91a71fe58", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 670, "avg_line_length": 50.65217391304348, "alnum_prop": 0.7068669527896996, "repo_name": "nghiant2710/base-images", "id": "265e1587c5bf084746448fb82c87364ed5d5a424", "size...
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function ModuleDependencyTemplateAsId() {} module.exports = ModuleDependencyTemplateAsId; ModuleDependencyTemplateAsId.prototype.apply = function(dep, source, outputOptions, requestShortener) { if(!dep.range) return; ...
{ "content_hash": "7774f35cff1d678b05cfb364792c096e", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 103, "avg_line_length": 36.63636363636363, "alnum_prop": 0.7406947890818859, "repo_name": "Dashed/webpack", "id": "6ecde76b937ecba0653ce40acf3655da6f967fc1", "size": "806",...
import logging from logging.handlers import WatchedFileHandler from time import gmtime ISOFMT='%Y-%m-%dT%H:%M:%S.%sZ' class LogLevel(object): def __init__(self,name): try: self.ll_num = logging._nameToLevel[name] except KeyError: raise KeyError("{} is not a valid loglevel"....
{ "content_hash": "4555573dfd50005d5fbc068100100265", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 105, "avg_line_length": 33.886792452830186, "alnum_prop": 0.6773385300668151, "repo_name": "edushare-at/py-etd", "id": "d1225ae3929721b72edcd1a1b3e06f38760cf780", "size": ...
using base::Value; using base::DictionaryValue; using base::ListValue; namespace gdata { namespace { // Term values for kSchemeKind category: const char kSchemeKind[] = "http://schemas.google.com/g/2005#kind"; const char kTermPrefix[] = "http://schemas.google.com/docs/2007#"; const char kFileTerm[] = "file"; const c...
{ "content_hash": "8d068faaa03bcc6e27cfc5670f7d3221", "timestamp": "", "source": "github", "line_count": 885, "max_line_length": 80, "avg_line_length": 33.538983050847456, "alnum_prop": 0.6577723873054376, "repo_name": "robclark/chromium", "id": "4ee0e3ade671f1d8bf72d329add897af483ab75e", "size": "3...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2015 Couchbase, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ht...
{ "content_hash": "5e389f942e2d7085034ebccf51530fa4", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 79, "avg_line_length": 35.15584415584416, "alnum_prop": 0.7096416697451052, "repo_name": "owendCB/memcached", "id": "9fcca84018f0db485bc4a8f2846949bfbc1cc977", "size": "270...
@implementation NSString (URLEncoding) -(NSString *)urlEncodeUsingEncoding:(NSStringEncoding)encoding { return [(NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)self, NUL...
{ "content_hash": "c60c918f44d5c943c0ab19de58dc827a", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 129, "avg_line_length": 51.27272727272727, "alnum_prop": 0.42021276595744683, "repo_name": "MyMalcom/malcom-lib-ios", "id": "77a762e0854bf454ff30f47d4b4917e9d8a5ab87", "siz...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Type definition managed_xsi_shared_memory</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/...
{ "content_hash": "44790819e02d4747f66a1582f50e01d1", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 785, "avg_line_length": 91.10909090909091, "alnum_prop": 0.6886848932348832, "repo_name": "vslavik/poedit", "id": "fd7192c6acb2338268be3f06fb87e17830b46675", "size": "5011"...
package com.suscipio_solutions.consecro_web.util; /** * A basic thread for all request management. It's main purpose * is simply to carry the configuration for the server around * */ public class CWThread extends Thread { private final CWConfig config; public CWThread(CWConfig config, Runnable r, String n...
{ "content_hash": "b645896a2f941def1e26cc8fb7dc6c15", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 130, "avg_line_length": 21.575, "alnum_prop": 0.7056778679026651, "repo_name": "ConsecroMUD/ConsecroMUD", "id": "6290a907a60af0d6510d750f6f75b9d6cc0c3c3d", "size": "863", ...
module ActiveRecord::Associations::Builder class CollectionAssociation < Association #:nodoc: CALLBACKS = [:before_add, :after_add, :before_remove, :after_remove] self.valid_options += [ :table_name, :order, :group, :having, :limit, :offset, :uniq, :finder_sql, :counter_sql, :before_add, :after_a...
{ "content_hash": "56a00663b93ab0d50e8f3ce474dca336", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 104, "avg_line_length": 28.813333333333333, "alnum_prop": 0.6293382693197593, "repo_name": "jasonamyers/ccsnetvis", "id": "f62209a226f8db0efaa8b9659e51a94a98001e70", "size"...
<?php namespace tests\codeception\common\fixtures; use yii\test\ActiveFixture; /** * User fixture */ class ComercioFixture extends ActiveFixture { public $modelClass = 'common\models\Comercio'; }
{ "content_hash": "475ed6c90153042bf77a2293e88cb04e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 50, "avg_line_length": 15.76923076923077, "alnum_prop": 0.7414634146341463, "repo_name": "mgrg84/grupo3php", "id": "3de4f75193acc7e283d26e1f152242a0d15a84f6", "size": "205"...
<component name="ProjectRunConfigurationManager"> <configuration default="false" name="tests in shelf" type="DartTestRunConfigurationType" factoryName="Dart Test" singleton="true" nameIsGenerated="true"> <option name="filePath" value="$PROJECT_DIR$" /> <option name="scope" value="FOLDER" /> <option name="...
{ "content_hash": "c0ddf2ee0814427ca9f22450dffb57ef", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 155, "avg_line_length": 50.125, "alnum_prop": 0.7182044887780549, "repo_name": "angel-dart/angel", "id": "a6105b273def9e216b8daef457303cb2a159291a", "size": "401", "binary...
/*global describe, beforeEach, it*/ 'use strict'; var path = require('path'); var helpers = require('yeoman-generator').test; describe('hubot-script generator', function () { beforeEach(function (done) { helpers.testDirectory(path.join(__dirname, 'temp'), function (err) { if (err) { return don...
{ "content_hash": "b3a97d71abf5ef8d77deb20c906970ac", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 72, "avg_line_length": 23.510204081632654, "alnum_prop": 0.5694444444444444, "repo_name": "desmondmorris/generator-hubot-script", "id": "7a972488355ea102cc169b54d6bb09e45f716...
package com.minelittlepony.client.mixin; import net.minecraft.client.render.RenderLayer; import net.minecraft.client.render.VertexConsumer; import net.minecraft.client.render.VertexConsumerProvider; import net.minecraft.client.util.SpriteIdentifier; import net.minecraft.util.Identifier; import org.spongepowered.asm.m...
{ "content_hash": "3493a969d1d59cf26da412a96202f23a", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 161, "avg_line_length": 40.388888888888886, "alnum_prop": 0.749656121045392, "repo_name": "MineLittlePony/MineLittlePony", "id": "b3b54167055de9002eb15c2ea3137fef8edfb5ab", ...
from flask import Flask, request, jsonify from prediction import transform_to_image, predict import urllib def load_image_from_url(url): # import os # data_dir = '../data/real-world/' # file = os.path.join(data_dir, url) # load file = urllib.request.urlopen(url) return transform_to_image(file) ...
{ "content_hash": "d3d020d0a46f6ae3e669a8a003ef2d2a", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 95, "avg_line_length": 27.583333333333332, "alnum_prop": 0.6359516616314199, "repo_name": "DJCordhose/speed-limit-signs", "id": "68c54c92c39552e6b84813f101870c4cf7a4862e", ...
/* Navicat MySQL Data Transfer Source Server : LOCAL Source Server Version : 50522 Source Host : localhost:3306 Source Database : sonicbot_collector Target Server Type : MYSQL Target Server Version : 50522 File Encoding : 65001 Date: 2017-04-07 00:52:53 */ SET FOREIGN_KEY_CHECKS=0...
{ "content_hash": "40c0deab5ba9ec937e18420b0a4a9623", "timestamp": "", "source": "github", "line_count": 1066, "max_line_length": 115, "avg_line_length": 53.84615384615385, "alnum_prop": 0.623397212543554, "repo_name": "christopherscotini/sonicbot-collector", "id": "e774d4e6a7800e1d508e146e429daf3bae9...
package org.anarres.cpp; import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.io.PushbackReader; import java.io.Reader; import java.io.StringReader; import java.util.ArrayList; import java.util.List; import java.util.Iterator; import static org.anar...
{ "content_hash": "2c0ed6bbaab3d4b4db295caf92008baa", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 50, "avg_line_length": 19.23076923076923, "alnum_prop": 0.716, "repo_name": "manu-silicon/CppNet", "id": "1512b2e4788dfd91246591cd262701337b976563", "size": "1376", "bina...
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Dissecting Underscore, Underscore Explained</title> <meta name="description" content=""> <meta name="viewport" conte...
{ "content_hash": "59cd9979a53b53ee7d3cf138050523a5", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 155, "avg_line_length": 29.36322869955157, "alnum_prop": 0.5583384239462431, "repo_name": "hrspandya/Dissecting_Underscore", "id": "d6d832b5dc4f800f37384db3cdb75c0f26a88533"...
/** * @class angular * @method help */ var help = module.exports = function() { console.log([ '\nNODE-ANGULAR'.green.inverse, '\nUsage: angular <command> <arguments>'.green, 'Commands:'.gray, ' -v, --version'.green + ' current node-angular version', ' -n, --new'.green + ' generate n...
{ "content_hash": "5eb522c8656dfb5ce3e11a8a14254b1d", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 69, "avg_line_length": 25.55, "alnum_prop": 0.5596868884540117, "repo_name": "robertg/nodejs-boilerplate-appfog", "id": "32056cc847d65fa61478fcc5095bfda14477f7c4", "size": ...
Frame::Frame(LCDDevice *dev) : GuiObject() { this->device = dev; this->base_sizer = 0; // Clear screen + set background color Surface *s = this->device->getSurface(); s->setColor(Color::BACKGROUND); s->rect(0, 0, s->w, s->h); delete s; } Frame::~Frame() { if(this->base_sizer) { ...
{ "content_hash": "d968a4da360197b31b6fed10bd7891e7", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 57, "avg_line_length": 23.25, "alnum_prop": 0.568100358422939, "repo_name": "katajakasa/libulcdgui", "id": "239e492965a758a9df70372a1ccc1455d8c499c8", "size": "1144", "bi...
feature_name: Web Bluetooth / Manufacturer Data Filter (Async Await) chrome_version: 92 check_min_version: true feature_id: 5684530360877056 icon_url: icon.png index: index.html --- {% include_relative _includes/intro.html %} <p>This sample illustrates the use of the Web Bluetooth API to retrieve basic device informa...
{ "content_hash": "2d0dbc29bc07d0c2f0cd39cc0d9aff7f", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 111, "avg_line_length": 31.488372093023255, "alnum_prop": 0.7370753323485968, "repo_name": "beaufortfrancois/samples", "id": "88f7b96b95a92861c03491a82ad957d58d164dcc", "si...
Paper (2010) describing essentially my method with simlar results. https://www.isprs.org/proceedings/xxxviii/1-W17/8_Mattyus.pdf
{ "content_hash": "7772f16d2201108c4d41577f39a60696", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 66, "avg_line_length": 43, "alnum_prop": 0.8062015503875969, "repo_name": "UASLab/ImageAnalysis", "id": "d24ddc37b54360c3f8a285a03ce4c2de22eab746", "size": "129", "binary"...
package com.feedhenry.armark; import android.content.pm.PackageManager; import android.location.Location; import android.location.LocationListener; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.ActivityCompat; import android.support.v7.app.AppCompa...
{ "content_hash": "1c4ed55e61475d302357f9c61fd31009", "timestamp": "", "source": "github", "line_count": 324, "max_line_length": 141, "avg_line_length": 30.123456790123456, "alnum_prop": 0.6425204918032786, "repo_name": "ciglesiascrespo/Armark_App_ciglesias_2", "id": "eb4874d304e8651474bd1ec145e308078...
package co.cask.cdap.examples.purchase; import co.cask.cdap.api.app.AbstractApplication; import co.cask.cdap.api.data.schema.UnsupportedTypeException; import co.cask.cdap.api.data.stream.Stream; import co.cask.cdap.api.dataset.DatasetProperties; import co.cask.cdap.api.dataset.lib.KeyValueTable; import co.cask.cdap....
{ "content_hash": "f90e4e4ce08851f45bdbe2563efb51dd", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 119, "avg_line_length": 39.226190476190474, "alnum_prop": 0.7332321699544765, "repo_name": "caskdata/cdap", "id": "c2655e46f59ddc696afc3bae8f4881076c7ba51d", "size": "3897"...
from extensions.interactions import base class ImageClickInput(base.BaseInteraction): """Interaction allowing multiple-choice selection on an image.""" name = 'Image Region' description = 'Allows learners to click on regions of an image.' display_mode = base.DISPLAY_MODE_SUPPLEMENTAL _dependency_...
{ "content_hash": "5075719bad4cb8be32d3f4eac5b4ddcb", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 78, "avg_line_length": 33.471698113207545, "alnum_prop": 0.5997745208568207, "repo_name": "AllanYangZhou/oppia", "id": "12da01b4f01dde7f068165a871b472d834331fa1", "size": "...
package org.apache.phoenix.hive.mapreduce; import java.io.IOException; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.SQLException; import java.util.Properties; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.con...
{ "content_hash": "80d45987feb3bb818116671d724cda8f", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 175, "avg_line_length": 35.275757575757574, "alnum_prop": 0.6299287002834808, "repo_name": "mini666/hive-phoenix-handler", "id": "719e1141bb123ae8154e1f9606e874732b41c142", ...
package org.typelibrary.dns; public class ParseException extends RuntimeException { public ParseException() { super(); } public ParseException(String msg, Throwable t, boolean enableSuppression, boolean writableStackTrace) { super(msg, t, enableSuppression, writableStackTrace);...
{ "content_hash": "995df51135e8f69f574a08a3e51ada9f", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 107, "avg_line_length": 21.615384615384617, "alnum_prop": 0.6227758007117438, "repo_name": "jshyun/incubating", "id": "6adf7aad8374315848c9d69d59c4e180c5d3f20f", "size": "1...
/** <p> cc.AtlasNode is a subclass of cc.Node that implements the cc.RGBAProtocol and<br/> * cc.TextureProtocol protocol</p> * * <p> It knows how to render a TextureAtlas object. <br/> * If you are going to render a TextureAtlas consider subclassing cc.AtlasNode (or a subclass of cc.AtlasNode)</p> * * <p> All ...
{ "content_hash": "d585779064a4870b593568dfbd7b0990", "timestamp": "", "source": "github", "line_count": 455, "max_line_length": 158, "avg_line_length": 33.30769230769231, "alnum_prop": 0.6154404486967997, "repo_name": "SystemEngineer/coastline-js", "id": "8137fbce7409a3bb93be5fc2f841877ca8473484", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp...
{ "content_hash": "2b107c10f9e7257c83492c2f9ee50ee1", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 223, "avg_line_length": 82.45054945054945, "alnum_prop": 0.7377049180327869, "repo_name": "user-tony/photon-rails", "id": "4e660ed6704185515fae052369780eec7e86fea4", "size...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Welcome to PyBayes’s documentation! &mdash; PyBayes...
{ "content_hash": "dc0dd02905e0ab6a6159e9f1bef2aee6", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 155, "avg_line_length": 34.888888888888886, "alnum_prop": 0.610485056344929, "repo_name": "nathanpucheril/PyBayes", "id": "280c7cf9d480b4604a7051939f1e5bc9423f8b31", "size...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/Hongbao.iml" filepath="$PROJECT_DIR$/Hongbao.iml" /> <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> </mod...
{ "content_hash": "6cf6528fe6f11124bbccd0e6ce078946", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 96, "avg_line_length": 39, "alnum_prop": 0.6552706552706553, "repo_name": "xuehaiwuya12/h3_ong4_bao", "id": "169f6d12421b5a03c6371358467db4a6c594271a", "size": "351", "bin...
Charts are a popular and convenient way to visualize data in Rally. Unfortunately due to their complexity they are also one of the most difficult tasks perform when writing apps. This exercise will demonstrate how to use the [Rally.ui.chart.Chart](http://help.rallydev.com/apps/2.1/doc/#!/api/Rally.ui.chart.Chart) com...
{ "content_hash": "201f8c43d06dad361409527d89ac96d4", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 214, "avg_line_length": 73.15384615384616, "alnum_prop": 0.7644584647739222, "repo_name": "RallyApps/getting-started", "id": "6b2147d8ceebcb5ab29746edb684a40912e73078", "si...
// Copyright (c) 2017. Bartosz Rachwal. The National Institute of Advanced Industrial Science and Technology, Japan. All rights reserved. using System; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using IoT.Common.Encryption.Hash; using IoT.Common.Encryption.Service; using IoT.Com...
{ "content_hash": "cbe4b2c56794e430af99064662989c70", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 138, "avg_line_length": 34.342465753424655, "alnum_prop": 0.6198643797367371, "repo_name": "rachwal/IoT", "id": "649ee7a04e7cc53cd276fb81e28ea9d0ba3d17fa", "size": "2509", ...
use std::collections::HashMap; use std::path::PathBuf; use std::env; use tempdir::TempDir; use super::stream::{Stream, StreamError}; use super::parser::{parse_statement, Statement, ParseError, ColumnSpec}; use super::row::builder::RowBuilder; use super::parser::Expression; use super::storage::disk::Disk; use super::...
{ "content_hash": "36fcbb1da9c42609449ce4a0ae95a701", "timestamp": "", "source": "github", "line_count": 186, "max_line_length": 100, "avg_line_length": 28.43548387096774, "alnum_prop": 0.5865002836074872, "repo_name": "rustyrazorblade/TotalRecallDB", "id": "8a06dbf8bcc0ea7618dccbbaf209f43839492417", ...
layout: post date: '2016-01-18' title: "Alan Hannah Bardot Sleeveless Tea-Length Aline/Princess" category: Alan Hannah tags: [Alan Hannah,Aline/Princess ,Bateau,Tea-Length,Sleeveless] --- ### Alan Hannah Bardot Just **$329.99** ### Sleeveless Tea-Length Aline/Princess <table><tr><td>BRANDS</td><td>Alan Hannah</td><...
{ "content_hash": "be3bc421d801922af49ef25f3301abba", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 245, "avg_line_length": 85.86666666666666, "alnum_prop": 0.7204968944099379, "repo_name": "variousweddingdress/variousweddingdress.github.io", "id": "a5ddcab2ab8d15b42db0242f...
import json import os from django import http from django.views import generic from horizon import exceptions ADD_TO_FIELD_HEADER = "HTTP_X_HORIZON_ADD_TO_FIELD" class ModalFormMixin(object): def get_template_names(self): if self.request.is_ajax(): if not hasattr(self, "ajax_template_name"...
{ "content_hash": "6660c64b571b8eeb3bdde2039bdcb470", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 79, "avg_line_length": 36.97029702970297, "alnum_prop": 0.6076593465452598, "repo_name": "rackerlabs/horizon", "id": "b37c4d254ac2e1d126c2732d63d6f169224517ef", "size": "4...
package storage import ( "fmt" "github.com/matrix-org/dendrite/federationapi/storage/postgres" "github.com/matrix-org/dendrite/federationapi/storage/sqlite3" "github.com/matrix-org/dendrite/internal/caching" "github.com/matrix-org/dendrite/setup/base" "github.com/matrix-org/dendrite/setup/config" "github.com/m...
{ "content_hash": "8371519fa0c1869c321bdc037f7cff3e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 189, "avg_line_length": 37.708333333333336, "alnum_prop": 0.8022099447513812, "repo_name": "matrix-org/dendrite", "id": "142e281ea1489b0ea22a555479299ae9dc36eebc", "size": ...
#ifndef TENSORFLOW_COMPILER_MLIR_TOOLS_KERNEL_GEN_TRANSFORMS_PASSES_H_ #define TENSORFLOW_COMPILER_MLIR_TOOLS_KERNEL_GEN_TRANSFORMS_PASSES_H_ #include <memory> #include "mlir/Dialect/GPU/GPUDialect.h" // from @llvm-project #include "mlir/Dialect/LLVMIR/LLVMDialect.h" // from @llvm-project #include "mlir/IR/Module...
{ "content_hash": "9ee53584e9225c402de9843675fa31fd", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 87, "avg_line_length": 35.609375, "alnum_prop": 0.7687582272926722, "repo_name": "davidzchen/tensorflow", "id": "967473c3fc9073d2dc249e5f6d8dbbec07f2cc63", "size": "2947", ...
#ifndef INCLUDE_git_time_h__ #define INCLUDE_git_time_h__ #include "git2/common.h" GIT_BEGIN_DECL /** * Return a monotonic time value, useful for measuring running time * and setting up timeouts. * * The returned value is an arbitrary point in time -- it can only be * used when comparing it to another `git_tim...
{ "content_hash": "8993e90d527a6e38baf7a82f3c927c7b", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 72, "avg_line_length": 23.615384615384617, "alnum_prop": 0.7280130293159609, "repo_name": "GuapoTaco/chigraph", "id": "e4f87e6e1d305ea5fbb867b5170af40adc3a8e38", "size": "8...
layout: post section-type: post comments: true title: "How to start a movement using a twitter bot" category: tech tags: [ 'python','programming','bots','social media' ] --- ## BOTS ,BOTS ,BOTS ![image](http://static.wixstatic.com/media/433ed0_bdd1602c3e487168aab17ff4493a20e4.jpg/v1/fill/w_442,h_180,al_c,q_80,usm_0.6...
{ "content_hash": "64837cb61cd57a8b9be8c60eebefaf0e", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 710, "avg_line_length": 37.65942028985507, "alnum_prop": 0.7477390802385991, "repo_name": "mikeyny/blog", "id": "db6fa59462e835fc783132747d27b42cab141338", "size": "5203",...
<?php namespace MicroCMS\DependencyInjection; use Monolog\Logger; trait LogAwareTrait { /** * The Monolog logger * @param Monolog\Logger logger */ protected $logger; /** * getLogger * This is implemented here so it can be * overridden by classes if needed. * * @...
{ "content_hash": "7711062c083a3b9056c2e33cb73f6ed2", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 79, "avg_line_length": 21.219895287958114, "alnum_prop": 0.5361460646434739, "repo_name": "james481/MicroCMS", "id": "c757125f4d33c343000f337604bfab5518ba6feb", "size": "4...
import json import shutil import zipfile from django.conf import settings # For mocking. import jwt import mock from nose.tools import eq_, raises from requests import Timeout import mkt.site.tests from lib.crypto import packaged from lib.crypto.receipt import crack, sign, SigningError from mkt.site.storage_utils i...
{ "content_hash": "10e78c5f7428e45b1237177bad0014d6", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 78, "avg_line_length": 35.895, "alnum_prop": 0.6369967962111714, "repo_name": "luckylavish/zamboni", "id": "66277e39122e1afe88656e243926dc7358323e79", "size": "7217", "b...
'use strict'; var m = require('mithril'); var ol = require('../contrib/ol'); var EVENTS = require('./events'); var SL_GetFeatureInfoAllVisibleControl = function (sl_map, options) { // default options this.options = { // initial module options }; if (!sl_map || Object.getOwnPropertyNames(sl_m...
{ "content_hash": "72a83dca0226a4cdd559b966399d0a37", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 86, "avg_line_length": 30.440944881889763, "alnum_prop": 0.5765649249870667, "repo_name": "candela-it/sunlumo", "id": "555ab30b952b603f2943754afddcb9cd6b807fc5", "size": "...
describe WillPaginate::NoBrainer::CollectionMethods do describe '#total_entries' do before do 2.times { |i| User.create(salary: i) } end context 'when the scope is cloned' do let(:criteria) { User.page } it 'resets total_entries memoization' do expect(criteria.total_entries).to...
{ "content_hash": "935092b19b201bfb3cabb8d28c675ebe", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 64, "avg_line_length": 26.25, "alnum_prop": 0.6476190476190476, "repo_name": "vyorkin-personal/will_paginate-nobrainer", "id": "38a716dcf3743804e4688931dc339524b5284081", "...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>IMPLICIT_DEPENDS_INCLUDE_TRANSFORM &mdash; CMake 3.7....
{ "content_hash": "5f64ff6c8313991560e94f991bfcb185", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 210, "avg_line_length": 40.775, "alnum_prop": 0.6154199877375843, "repo_name": "ontouchstart/emcc", "id": "43d32038e1c537901bed9a66199d2853b7218990", "size": "6525", "bi...
namespace subresource_filter { namespace { const mojom::ActivationState kDisabled; RulesetVerificationStatus GetRulesetVerification() { RulesetService* service = g_browser_process->subresource_filter_ruleset_service(); VerifiedRulesetDealer::Handle* dealer_handle = service->GetRulesetDealer(); auto call...
{ "content_hash": "1b1d0f3897345c4df77b054053627a91", "timestamp": "", "source": "github", "line_count": 211, "max_line_length": 80, "avg_line_length": 43.208530805687204, "alnum_prop": 0.7280903806076561, "repo_name": "nwjs/chromium.src", "id": "8a948cca1da8bc270370e571a59dc5c5f23b25c1", "size": "1...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <style lang="css"> body { background-color: #F4F4F4; color: #333; font-family: Segoe UI,Tahoma,Arial,Verdana,sans-serif; } p#intro { font-family: Cambria,serif; font-size: 1.1em; color: #444; } p#intro a { color: #444; } p#int...
{ "content_hash": "e87f35dc9a8b23d546720d5651dc7ac7", "timestamp": "", "source": "github", "line_count": 301, "max_line_length": 266, "avg_line_length": 38.62126245847176, "alnum_prop": 0.631483870967742, "repo_name": "stuffmatic/snacka", "id": "3df56cad131ac99c62980f64432b0449f865cb6d", "size": "11...
""" This module is home to the Selection class """ from pyecobee.ecobee_object import EcobeeObject class Selection(EcobeeObject): """ This class has been auto generated by scraping https://www.ecobee.com/home/developer/api/documentation/v1/objects/Selection.shtml Attribute names have been generated b...
{ "content_hash": "3701c8d12ae46ac2cfc1fd628fa4d356", "timestamp": "", "source": "github", "line_count": 842, "max_line_length": 86, "avg_line_length": 31.048693586698338, "alnum_prop": 0.6362697471598516, "repo_name": "sfanous/Pyecobee", "id": "5ce39f5d73313f254a0263a06dc4c1e017f860a5", "size": "26...
package com.taobao.tddl.optimizer.core.plan.bean; import java.util.Collection; import com.taobao.tddl.optimizer.core.plan.IDataNodeExecutor; public abstract class DataNodeExecutor<RT extends IDataNodeExecutor> implements IDataNodeExecutor<RT> { protected String requestHostName; protected Long requestId;...
{ "content_hash": "220541676e84a471ae8decafde44b7e8", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 103, "avg_line_length": 21.86627906976744, "alnum_prop": 0.6229726136665781, "repo_name": "ninqing/tddl", "id": "42d0bc020118aa40383c2b1bc954733148baf174", "size": "3815",...
describe('Ancillary Chunks', function () { // Transparency chunk require('./transparency'); // Text require('./text'); // International text require('./international'); // Modification time require('./time'); // Background chunk require('./background'); // Chroma settings require('./chroma'); // Gam...
{ "content_hash": "9a6d8ed5baf5bdfae304f9b573911b06", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 42, "avg_line_length": 15.763157894736842, "alnum_prop": 0.6527545909849749, "repo_name": "yahoo/pngjs-image", "id": "6f1e5aacb3df7e832be6e1f2d2f054d174d75fad", "size": "72...
package io.dropwizard.views.mustache; import com.github.mustachejava.Mustache; import com.github.mustachejava.MustacheException; import com.github.mustachejava.MustacheFactory; import com.google.common.base.Charsets; import com.google.common.cache.CacheBuilder; import com.google.common.cache.CacheLoader; import com.go...
{ "content_hash": "a70347af36b0016204338a05b14fb1f8", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 115, "avg_line_length": 39.06060606060606, "alnum_prop": 0.6543832428238945, "repo_name": "ckingsbu/dropwizard", "id": "26e9d05521fc83bb18dc799a1b8bd2f23bb5f787", "size": "...
import React from 'react' import { Field, FieldArray, reduxForm, formValueSelector } from 'redux-form'; import { connect } from 'react-redux'; import { renderFieldInput, renderFieldTextArea, renderFieldSelect, renderFieldTags, renderFieldInputButton, renderFieldCheckbox, renderFieldCategoria} from './renderField'; imp...
{ "content_hash": "bf646fa44d72043959dcc2516e3c885a", "timestamp": "", "source": "github", "line_count": 367, "max_line_length": 396, "avg_line_length": 41.926430517711175, "alnum_prop": 0.43296289075193345, "repo_name": "giux78/daf-dataportal", "id": "6050936b11c477487a764d1508754fb2e45f5f6a", "siz...
from flask import Flask,render_template,request,redirect,session,url_for,g import loganalysis_v2 import user import gconf import time from datetime import timedelta app=Flask(__name__) app.secret_key = 'A0Zr98j/3yX R~XHH!jmN]LWX/,?RT' @app.route('/') def index(): if not 'username' in session: return redire...
{ "content_hash": "f42c05be2138937468f1eb412bdbc183", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 143, "avg_line_length": 38.495327102803735, "alnum_prop": 0.6732216557416849, "repo_name": "51reboot/actual_09_homework", "id": "9eff9cccebcae98f52cd7d13e7e82b9560142dcf", ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_151) on Wed Jul 17 09:39:59 MST 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ErrorPageConsumer (BOM: * ...
{ "content_hash": "ff10b17d4e075ccc79035dd3610343c4", "timestamp": "", "source": "github", "line_count": 248, "max_line_length": 740, "avg_line_length": 47.471774193548384, "alnum_prop": 0.6596449503100315, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "672dd9090bb979bd4f8f951bccffded0757...
package org.ovirt.engine.core.dao; import java.sql.ResultSet; import java.sql.SQLException; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.businessentities.Quota; import org.ovirt.engine.core.common.businessentities.QuotaEnforcementTypeEnum; import org.ovirt.engine.core.common.busine...
{ "content_hash": "60456b566ff2d78915777ac4091dfda3", "timestamp": "", "source": "github", "line_count": 499, "max_line_length": 130, "avg_line_length": 45.13226452905812, "alnum_prop": 0.6469073309355713, "repo_name": "jbeecham/ovirt-engine", "id": "20676d57452a61a6c5ce96cc09e474027e74ec03", "size"...
#if !defined(XALANSOURCETREEDOCUMENTFRAGMENT_HEADER_GUARD_1357924680) #define XALANSOURCETREEDOCUMENTFRAGMENT_HEADER_GUARD_1357924680 #include <xalanc/XalanSourceTree/XalanSourceTreeDefinitions.hpp> #include <xalanc/Include/XalanMemMgrAutoPtr.hpp> #include <xalanc/XalanDOM/XalanDocumentFragment.hpp> #include...
{ "content_hash": "10c43cd26274105dfa452f84e858dc90", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 97, "avg_line_length": 20.746376811594203, "alnum_prop": 0.7100943066713238, "repo_name": "apache/xalan-c", "id": "0aabc443fa69188eefe03aaf3c418899b2763766", "size": "3666...
package org.openkilda.floodlight.feature; import static org.apache.commons.lang3.StringUtils.containsIgnoreCase; import org.openkilda.model.SwitchFeature; import net.floodlightcontroller.core.IOFSwitch; import java.util.Optional; public class GroupPacketOutFeature extends AbstractFeature { public static fin...
{ "content_hash": "cba229d1d2731c819f96553991e1c869", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 110, "avg_line_length": 28.9, "alnum_prop": 0.7335640138408305, "repo_name": "telstra/open-kilda", "id": "26798ae6f1b4adf6f291dba0c209c1a82c574b5b", "size": "1484", "bina...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribu...
{ "content_hash": "89871683360dc1b75d7f19bc1061c85e", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 126, "avg_line_length": 37.625, "alnum_prop": 0.7510520487264674, "repo_name": "metatron-app/metatron-discovery", "id": "caae920b61ae90a37b378437cce1d673d83a0dde", "size":...
const express = require('express'); const bodyParser = require('body-parser'); const app = express(); //controllers const treeController = require('./../data/controllers/treeController'); const branchController = require('./../data/controllers/branchController'); app.use(function (req, res, next) { res.header("Ac...
{ "content_hash": "c1238bda68db44bfc1a0493af858e7a6", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 97, "avg_line_length": 30.18918918918919, "alnum_prop": 0.6830796777081468, "repo_name": "ForestIO/ForestIO", "id": "a41df704f21c44f01af41f1d321b949855a2fd7e", "size": "113...
package com.nio.filecopy; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.nio.file.attribute.AclFileAttributeView; import java.nio.file.attribute.BasicFileAttributeView; import java.nio.file.attribute.BasicFileAttributes; import java.n...
{ "content_hash": "bb05c511ebd9610dea3a14c354c9cb8f", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 112, "avg_line_length": 36.40944881889764, "alnum_prop": 0.6850129757785467, "repo_name": "JianMingZhuo/NIOCopy", "id": "d42813d07c36c240bd4ba98457c5f33d0bc9188e", "size":...
import vdb import getpass defconfig = { 'viv':{ 'SymbolCacheSave':True, 'parsers':{ 'pe':{ 'loadresources':False, 'carvepes':True, 'nx':False, }, 'elf':{ }, 'blob':{ 'arch'...
{ "content_hash": "65939f9b266a964d1ff9cf34703d3c62", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 145, "avg_line_length": 26.787037037037038, "alnum_prop": 0.42378154165226406, "repo_name": "atlas0fd00m/vivisect", "id": "f22edace12ef9a2ebb57f6587b15896e8e515c85", "size...
require 'rubygems' if RUBY_VERSION < '1.9.0' require 'sensu-handler' require 'httparty' class StatusPageIOMetrics < Sensu::Handler # override filters from Sensu::Handler. not appropriate for metric handlers def filter; end def send_metric(value, timestamp, metric_id) # puts "Sending #{value} #{timestamp} #...
{ "content_hash": "a9c6f9e153bb997cfd3edee80a91a253", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 90, "avg_line_length": 33.3921568627451, "alnum_prop": 0.61714621256606, "repo_name": "broadinstitute/sensu-community-plugins", "id": "f5a2825ab9a7e43b1e091817608f24741574da5...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="{% case page.language %} {% when 'es' %} {{ site.description_es }} {% else %} {{ site.description }} {% endcase %}">...
{ "content_hash": "b46377fb3958019cd888e96ad2c57a6c", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 154, "avg_line_length": 47.58620689655172, "alnum_prop": 0.6297101449275362, "repo_name": "Comunidades-Tecnologicas/clsxmadrid", "id": "c88e94afa93c35cb2e140e1d254aef59194aaa...
<component name="ProjectDictionaryState"> <dictionary name="KPRASAN6" /> </component>
{ "content_hash": "8c1a7251c51a342ce5d4a054660f441d", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 41, "avg_line_length": 29, "alnum_prop": 0.7586206896551724, "repo_name": "skprasan/NFCCarUser", "id": "4e2b81faff365d9f5a7d9680e4ccf7c2752a1aec", "size": "87", "binary": ...
import csv import matplotlib.pyplot as plt import numpy as np import scipy.signal as sci import seaborn as sns import sensorprocessor as sp import signalfilters as mf csv_missed = '/Users/philliphartin/TAUT/SensorRecordings/3802/6/3802_1409230847_Accelerometer.csv' csv_acknowledged = '/Users/philliphartin/TAUT/Senso...
{ "content_hash": "dc6732d789e11eedb9dfe244c0ec1d4d", "timestamp": "", "source": "github", "line_count": 382, "max_line_length": 104, "avg_line_length": 31.400523560209425, "alnum_prop": 0.629845769070446, "repo_name": "pjhartin/taut-sensoranalysis-python", "id": "bf228b0594587c9478b1c788a1d96fd2e60d1...
package securesocial.core.providers import play.api.libs.json.JsObject import securesocial.core._ import securesocial.core.services.{CacheService, RoutesService} import scala.concurrent.Future /** * A Google OAuth2 Provider */ class GoogleProvider(routesService: RoutesService, cacheService: ...
{ "content_hash": "11b3f9aa6e6c84c4bef673e50b80ff88", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 122, "avg_line_length": 33.90625, "alnum_prop": 0.6483870967741936, "repo_name": "matthewchartier/securesocial", "id": "46aacb1dcafc743400ef4067168678f757672c96", "size": "...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="el_GR" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="14"/> <source>About Richcoin</source> <translation>Σχετικα:Richcoin</translation> ...
{ "content_hash": "a82e2134ae17ea72fff6a9922da15265", "timestamp": "", "source": "github", "line_count": 2521, "max_line_length": 428, "avg_line_length": 44.22451408171361, "alnum_prop": 0.6483541124764552, "repo_name": "richcoin/richcoin", "id": "b7e74e15391400fcafb9eae4d336186f50e070d2", "size": "...
import { ChildProcess, fork, ForkOptions } from 'child_process'; import { IDisposable, toDisposable, dispose } from 'vs/base/common/lifecycle'; import { Delayer, always, createCancelablePromise } from 'vs/base/common/async'; import { deepClone, assign } from 'vs/base/common/objects'; import { Emitter, fromNodeEventEm...
{ "content_hash": "0f262f2a07183b08e0cbc04e33e28cec", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 133, "avg_line_length": 30.288389513108616, "alnum_prop": 0.6857920118709039, "repo_name": "0xmohit/vscode", "id": "9812c24e2d4ba3ce6b35a9bca275703ae29ffa27", "size": "843...
<!DOCTYPE html> <html lang="ja"> <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>Bootstrapの練習</title> <link href="css/bootstrap.min.css" rel="stylesheet"> </head> <body> <div c...
{ "content_hash": "0adb5e345f11d947d988ab094fbdd680", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 95, "avg_line_length": 29.305555555555557, "alnum_prop": 0.5867298578199052, "repo_name": "arthurbryant/bootstrap", "id": "9188afbc545e1d701068a56ea3cfef57dc4fc3ad", "size"...
// Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Garbage collector (GC). // // GC is: // - mark&sweep // - mostly precise (with the exception of some C-allocated objects, assembly frames/arguments, etc) // ...
{ "content_hash": "93afebd393a46c6b088a758630b073c7", "timestamp": "", "source": "github", "line_count": 2888, "max_line_length": 163, "avg_line_length": 27.01662049861496, "alnum_prop": 0.6456090433712703, "repo_name": "h8liu/golang", "id": "e51ce24ff6b3ce30f350dd2d7f5fcdb4dbc902da", "size": "78445...
function toggleTodo(todoId, done) { chrome.storage.local.get(todoId, function(result) { result[todoId]['done'] = done; chrome.storage.local.set(result); }); } function todoCheckHanlder() { var $todo = $(this).parent(); $todo.toggleClass('checked', this.checked); toggleTodo($todo.attr('id'), this.chec...
{ "content_hash": "a28e25e583cd32b9bad1c7a8081b85db", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 66, "avg_line_length": 22.237623762376238, "alnum_prop": 0.6055209260908282, "repo_name": "GDG-Xian/chrome-todo-app", "id": "5f76cdaa7eca5689f1eedd5e1d1b80095d3fe55f", "si...
import React from 'react'; const renderMessage = message => { if (!message) { return null; } if (typeof(message) === 'string') { return message; } let error = ''; if (typeof(message) === 'object') { Object.keys(message).forEach(key => { message[key].forEach(line => { error += l...
{ "content_hash": "47bb34e744d3fc3cfd41cb17713361a1", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 62, "avg_line_length": 17.38235294117647, "alnum_prop": 0.5346869712351946, "repo_name": "merrettr/school-ui", "id": "0820c46fb6bd330d6cff72b3cd50412cffedd339", "size": "59...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ht.edu.fds.mbds.android.bibliotheque.service; import ht.edu.fds.mbds.android.bibliotheque.Pret; import ht.edu.fds.mbds.android.bibliotheque.bean.AbstractFacade; import java.util.List; import javax.ejb.Stateless;...
{ "content_hash": "25486c6381da9254e625db46a24f9bdf", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 95, "avg_line_length": 24.1123595505618, "alnum_prop": 0.6542404473438956, "repo_name": "eamosse/mbds_haiti_android_nfc", "id": "e4d47339f3ba15eeb4ed8227344d556040c40603", ...
var _ = require("lodash"); var path = require("path"); var Bacon = require("baconjs"); var nodegit = require("nodegit"); var Logger = require("../logger.js"); var AppConfig = require("../models/app_configuration.js"); var Domain = require("../models/domain.js"); var Git = require("../models/git.js")(path.resolve(".")...
{ "content_hash": "5dfa09f59af64063c2d22280740bf87c", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 68, "avg_line_length": 26.016129032258064, "alnum_prop": 0.6732796032238065, "repo_name": "BlackYoup/clever-tools", "id": "a2cfbc53a51128f8ea2867ce62b2e90eb35d47ca", "size"...
package fr.paris.lutece.util.url; import org.apache.commons.lang3.StringUtils; // Java Util import java.util.ArrayList; import java.util.List; /** * This class provides utility methods for the generation of Url String */ public class UrlItem { // ///////////////////////////////////////////////////////////////...
{ "content_hash": "2296765187daec161ead59f0601a3c38", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 84, "avg_line_length": 23.6, "alnum_prop": 0.5306838106370544, "repo_name": "lutece-platform/lutece-core", "id": "19c690272abc13fd7b6ee606d1e69d8d1dd1d927", "size": "5001"...
module Main where import System.Exit import qualified SuffixStructures.SuffixArray as SA import qualified SuffixStructures.SuffixTree as ST import qualified Data.List as List import Test.QuickCheck test_suffixarray :: IO () test_suffixarray = quickCheckWith stdArgs { maxSuccess = 5000 } test_dc3 where test_dc3 ...
{ "content_hash": "faee918181a19d0325f4b623867af33c", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 85, "avg_line_length": 25.74418604651163, "alnum_prop": 0.7055103884372177, "repo_name": "bgwines/suffix-tree", "id": "53487e372d06c16c8458637a20763b5ce417e908", "size": "1...
<!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]--> <!--[if IE 9]> <html class="no-js ie9" lang="en"> <![endif]--> <!--[if gt IE 9]><!--> <html cl...
{ "content_hash": "ede62f0b215a7fcf06bdc195a76d43fa", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 173, "avg_line_length": 28.0703125, "alnum_prop": 0.5733370442527136, "repo_name": "ilrt/NatureLocator", "id": "326c21d2097ba353764f2fdaa0566194162010ac", "size": "3593", ...
@interface NSNumber (SZRound) - (NSNumber *)sz_doRoundWithDigit:(NSUInteger)digit; - (NSNumber *)sz_doCeilWithDigit:(NSUInteger)digit; - (NSNumber *)sz_doFloorWithDigit:(NSUInteger)digit; @end
{ "content_hash": "bd643b3e5de3bca26d83858f6563b00f", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 52, "avg_line_length": 27.857142857142858, "alnum_prop": 0.764102564102564, "repo_name": "chenshengzhi/SZCategories", "id": "b83e2cc5b6ce2bdab90c4cef5ca383c976a7ec46", "size...
package com.codefollower.douyu.http.ssl; import java.io.IOException; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; /** * Default server socket factory. Doesn't do much except give us * plain old server sockets. * * @author db@eng.sun.com * @author Harish Prabandham */ publ...
{ "content_hash": "b7a22a39ee488129963f51447d21c6c6", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 72, "avg_line_length": 24.083333333333332, "alnum_prop": 0.6920415224913494, "repo_name": "codefollower/Open-Source-Research", "id": "d97620b7f967a35ebcf24e27a230ffa817f1626d...
The `<Errors />` component provides a handy way of displaying form errors for a given `model`. ```jsx // in render... <Control.text type="email" model="user.email" validators={{ isEmail, isRequired }} /> <Errors model="user.email" messages={{ isRequired: 'Please provide an email address.', isEmail: ...
{ "content_hash": "ebbaaadf7bfaca6e1c5a50480b53448b", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 193, "avg_line_length": 37.8034188034188, "alnum_prop": 0.6938729369206421, "repo_name": "davidkpiano/redux-simple-form", "id": "1de04748925b57a4c1879b864171bffc4a93ae79", ...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Agaricus dealbatus Batsch, 1783 ### Remarks null
{ "content_hash": "5613b638a01f230978630ac891de956a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 10.461538461538462, "alnum_prop": 0.7132352941176471, "repo_name": "mdoering/backbone", "id": "58174b454e56dc9777ad6949ae8b71a4deb43174", "size": "20...
- `v::instance(string $instanceName)` Validates if the input is an instance of the given class or interface. ```php v::instance('DateTime')->validate(new DateTime); //true v::instance('Traversable')->validate(new ArrayObject); //true ``` Message template for this validator includes `{{instanceName}}`. *** See also:...
{ "content_hash": "2e714fd20eae3b8d1389f18c97e3b3b6", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 70, "avg_line_length": 23.6, "alnum_prop": 0.7146892655367232, "repo_name": "zinovyev/Validation", "id": "4a6318c123d56c3594cdc71f6bba1cdf43803c73", "size": "366", "binar...
/* * Knetik Platform API Documentation latest * This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com. * * OpenAPI spec version: latest * Contact: support@knetik.com * * NOTE: This class is auto generated by the swagger code generator program. * ...
{ "content_hash": "edbc9f2cf02f1fcd8bf636fafeaeda6f", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 236, "avg_line_length": 28.206521739130434, "alnum_prop": 0.7013487475915221, "repo_name": "knetikmedia/knetikcloud-java-client", "id": "0b5315ba0dba13f1645a77aee70ce4084a30...
"""The Keenetic Client class.""" from homeassistant.components.binary_sensor import ( BinarySensorDeviceClass, BinarySensorEntity, ) from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.dispatcher import async_dispatcher_connect from . imp...
{ "content_hash": "d4ed342289335ede6e31458f43a52cf1", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 77, "avg_line_length": 30.901639344262296, "alnum_prop": 0.6689655172413793, "repo_name": "home-assistant/home-assistant", "id": "351f3f6687527ffd515d92abdfdfd2cf01779ee4", ...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; namespace DawidPerdekLab4 { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static ...
{ "content_hash": "b29bb05dcc19dc8195ccceda0f040001", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 65, "avg_line_length": 23.5, "alnum_prop": 0.6170212765957447, "repo_name": "superdyzio/PWR-Stuff", "id": "6d3a54899fcb57c71bb85fcf75d2c0e2170e656c", "size": "519", "bina...
author: robmyers comments: false date: 2004-11-17 05:55:15+00:00 layout: post slug: remix-reading-2 title: Remix Reading wordpress_id: 247 categories: - Free Culture --- The Remix Reading site is shaping up very well. They've got a domain but it's just a placeholder with the flyer on at the moment. Do download the fly...
{ "content_hash": "1060c8dc58d2d9c417741f5398ff0b73", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 162, "avg_line_length": 22.444444444444443, "alnum_prop": 0.7351485148514851, "repo_name": "robmyers/robmyers.org", "id": "18c722f09142cabae2311d7ebb64c6bde9880b18", "size"...
package org.pdxfinder.services.dto; /* * Created by abayomi on 18/10/2018. */ public class EngraftmentDataDTO { private String strainName; private String strainSymbol; private String engraftmentSite; private String engraftmentType; private String engraftmentMaterial; private String engraftm...
{ "content_hash": "70dfd048debbfcdb18ffbce77548b0bb", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 153, "avg_line_length": 33.08403361344538, "alnum_prop": 0.6558293116586233, "repo_name": "PDXFinder/pdxfinder", "id": "067632bef46f00a66bb6fa4787b41515423179f5", "size": ...
<?php namespace tests\functional\test_simple; use r7r\ste\STECore; use tests\functional\BaseTest; class Test extends BaseTest { protected function getDirectory(): string { return __DIR__; } protected function setUpSte(STECore $ste): void { $ste->vars["foo"] = "World"; } }
{ "content_hash": "926b88b52447c3b9b8bfbe7e51410460", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 51, "avg_line_length": 16.68421052631579, "alnum_prop": 0.6340694006309149, "repo_name": "kch42/ste", "id": "78b5ac02e41d948550882d9f3595907efc7ab064", "size": "317", "bi...