text
stringlengths
2
1.04M
meta
dict
class Triangle: def __init__(self, vertices): self.vertices = vertices def subdivide(self): pass def to_ascii_stl(self): return "facet normal 0 0 0\n\touter loop\n\t\tvertex {0}\n" \ "\t\tvertex {3}\n\t\tvertex {6}\n\tendloop"\ "endfacet".format(self.ver...
{ "content_hash": "cd65d4378ab45630db5832adc893bf6c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 69, "avg_line_length": 31.615384615384617, "alnum_prop": 0.5158150851581509, "repo_name": "gehrman/fractaler", "id": "6f808c187260ea4f84327c7746e8ca2b2fa91ce4", "size": "41...
<!doctype html> <html> <title>npm-explore</title> <meta http-equiv="content-type" value="text/html;utf-8"> <link rel="stylesheet" type="text/css" href="../../static/style.css"> <link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-explore.html"> <script async=true src="../../static/toc.js"></script> ...
{ "content_hash": "e0a8c57ffd396b20a2b1b126d573256b", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 807, "avg_line_length": 76.77358490566037, "alnum_prop": 0.6982059474072254, "repo_name": "PyEatingContest/crispy-node", "id": "357d7b6dcd73b00f22320df3937bff3f5deec7ca", "...
using System; namespace Azure.ResourceManager.AppService.Models { internal static partial class DiagnosticSolutionTypeExtensions { public static string ToSerialString(this DiagnosticSolutionType value) => value switch { DiagnosticSolutionType.QuickSolution => "QuickSolution", ...
{ "content_hash": "ca3015a4e886491654033c93ed2e2fbb", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 152, "avg_line_length": 54.95652173913044, "alnum_prop": 0.740506329113924, "repo_name": "Azure/azure-sdk-for-net", "id": "c01946fb90f78ea7b3586669e9ab8146bbd33b77", "size"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>metacoq-checker: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
{ "content_hash": "3f1c5763b13ddf52f8e2c99d4869cdcf", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 157, "avg_line_length": 43.080213903743314, "alnum_prop": 0.5645481628599801, "repo_name": "coq-bench/coq-bench.github.io", "id": "2eaecb6835eb73ceeaa3d080f44a4bedd6a76c7a",...
import { SlidingSync } from 'matrix-js-sdk/src/sliding-sync'; import { mocked } from 'jest-mock'; import { MatrixClient, MatrixEvent, Room } from 'matrix-js-sdk/src/matrix'; import { SlidingSyncManager } from '../src/SlidingSyncManager'; import { stubClient } from './test-utils'; jest.mock('matrix-js-sdk/src/slidin...
{ "content_hash": "b304d2fb5a44f8b09c42c249eb756dbc", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 98, "avg_line_length": 43.46527777777778, "alnum_prop": 0.5456143153858444, "repo_name": "matrix-org/matrix-react-sdk", "id": "b804a74456af298cd6e6900a2358c26a3fd8c275", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Blueprint: Responsive Full Width Tabs</title> <meta name="description" content="Blueprint: Responsive...
{ "content_hash": "e844d4337769c17158ebd3c83ca50bf4", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 263, "avg_line_length": 53.31111111111111, "alnum_prop": 0.6591635403640406, "repo_name": "dennieru/toimoi", "id": "cd0dad8895a24c5b46b8db4f4aa85d745f3f3c0b", "size": "719...
package org.kaazing.k3po.driver.internal.types; import static java.util.Collections.emptySet; import java.util.LinkedHashSet; import java.util.Set; import org.kaazing.k3po.driver.internal.netty.channel.agrona.ChannelReader; import org.kaazing.k3po.driver.internal.netty.channel.agrona.ChannelWriter; import org.kaazi...
{ "content_hash": "59d0a9ccf9c7a5a149d81ba4d72f66e0", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 79, "avg_line_length": 26.313725490196077, "alnum_prop": 0.6762295081967213, "repo_name": "k3po/k3po", "id": "8200204acf55a9f95d4a9033b00bbe775a71de28", "size": "3311", ...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ChangeListManager"> <list default="true" id="81ba6f54-9067-44bb-a78d-4d1baa3135b1" name="Default" comment="" /> <ignored path="dont_eat_alone_utils.iws" /> <ignored path=".idea/workspace.xml" /> <ignored path=".idea/dataSour...
{ "content_hash": "b84a66243902af6afffcc994fbbb0735", "timestamp": "", "source": "github", "line_count": 776, "max_line_length": 247, "avg_line_length": 53.19845360824742, "alnum_prop": 0.6295479870161329, "repo_name": "kura-pl/dont_eat_alone_utils", "id": "f62316d9d05e7994e7e7f4425a6844f1a26b2726", ...
enyo.kind({ name: "enyo.webos.sample.LunaService", classes: "onyx enyo-fit", kind:"enyo.Scroller", components: [ {classes: "webos-sample", components:[ {name:"networkStatus", kind:"enyo.LunaService", service:"luna://com.palm.connectionmanager", method: "getstatus", onResponse:"serviceResponse", onError:"servic...
{ "content_hash": "fa3d1c2b794ab4a72faa205f92d7f443", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 171, "avg_line_length": 49.03125, "alnum_prop": 0.6921606118546845, "repo_name": "recurve/ares-ecosystem", "id": "c48cd3694798603d9587d3302b055216f920f245", "size": "1569",...
package org.onosproject.drivers.microsemi.yang; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.fail; import java.io.UncheckedIOException; import java.util.List; import org.junit.After; import org.junit.Before; import org.junit.Test; import o...
{ "content_hash": "8c6be2a8f90759d72e5e1d0a7dc2378d", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 144, "avg_line_length": 40.582089552238806, "alnum_prop": 0.7248988598749541, "repo_name": "LorenzReinhart/ONOSnew", "id": "acb6ae619a28c49e006a231434efa74438e0ec92", "siz...
ACCEPTED #### According to Index Fungorum #### Published in Icon. fung. (Abellini) 3: 9 (1900) #### Original name Calosphaeria crataegi Mouton ### Remarks null
{ "content_hash": "523b064e02008a8bbaa672ebb82c2246", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 34, "avg_line_length": 12.538461538461538, "alnum_prop": 0.6993865030674846, "repo_name": "mdoering/backbone", "id": "59ab4f59f6c99f895b1f0a14af7530149a8959ec", "size": "21...
"use strict"; process.on('message', (message) => { if (message.command === 'exit') { process.exit(0); } else if (message.command === 'resolve') { try { let result = require.resolve(message.args); process.send({ command: 'resolve', success: true, result: result }); ...
{ "content_hash": "9def4ace6b7ed2d6549b49323d9ed80b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 80, "avg_line_length": 27.705882352941178, "alnum_prop": 0.5286624203821656, "repo_name": "glenngillen/dotfiles", "id": "253f1a78ad19139c9265be47ec612cf4a72c33d4", "size": ...
package android.support.v4.app; /** * Static library support version of the framework's {@link android.app.FragmentTransaction}. * Used to write apps that run on platforms prior to Android 3.0. When running * on Android 3.0 or above, this implementation is still used; it does not try * to switch to the framewor...
{ "content_hash": "ae2b32b14ac639495f6cba3f189397f4", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 100, "avg_line_length": 41.22868217054263, "alnum_prop": 0.6853436119206543, "repo_name": "epiphany27/devoxx-schedule", "id": "23a1a21f4029a434b88f66c81d409d19c22679b6", "...
import { createCodeFixActionWithoutFixAll, registerCodeFix, setJsonCompilerOptionValue, setJsonCompilerOptionValues, } from "../_namespaces/ts.codefix"; import { CodeFixAction, Diagnostics, Expression, factory, getEmitModuleKind, getEmitScriptTarget, getTsConfigO...
{ "content_hash": "e4f8c496b1375591d151f3289baf32f4", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 192, "avg_line_length": 46.904761904761905, "alnum_prop": 0.6602368866328258, "repo_name": "microsoft/TypeScript", "id": "3769fa3619ef148c7af9897f292721bb0b8f5034", "size":...
UCLASS() class UTestPawnAction_CallFunction : public UTestPawnAction_Log { GENERATED_UCLASS_BODY() typedef void(*FFunctionToCall)(UPawnActionsComponent& ActionsComponent, UTestPawnAction_CallFunction& Caller, ETestPawnActionMessage::Type); FFunctionToCall FunctionToCall; static UTestPawnAction_CallFunction* Crea...
{ "content_hash": "627069107d7834f56579181c21b53bb7", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 141, "avg_line_length": 44, "alnum_prop": 0.8267045454545454, "repo_name": "PopCap/GameIdea", "id": "dfb323a1a92d5fab88acb3fbd4d37c0c3fb077a4", "size": "874", "binary": f...
module.exports = { extends: 'semistandard', rules: { 'arrow-parens': 'error', eqeqeq: ['error', 'always', { null: 'always' } ], 'for-direction': 'error', 'getter-return': 'error', indent: ['error', 4, { SwitchCase: 1 }], 'mu...
{ "content_hash": "692d91a3d476d5c457f0b13eea3b7456", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 102, "avg_line_length": 37.53658536585366, "alnum_prop": 0.5310807883907299, "repo_name": "manthey/girder", "id": "200feaa020d0b22668511548cb6f3dffd3c61634", "size": "4617...
Ext.BLANK_IMAGE_URL = 'resources/s.gif'; Docs = {}; ApiPanel = function() { ApiPanel.superclass.constructor.call(this, { id:'api-tree', region:'west', split:true, width: 280, minSize: 175, maxSize: 500, collapsible: true, margins:'0 0 5 5', c...
{ "content_hash": "83a13b0fb9b329603d5e8a87860e06c4", "timestamp": "", "source": "github", "line_count": 629, "max_line_length": 134, "avg_line_length": 27.467408585055644, "alnum_prop": 0.556404468368351, "repo_name": "stexas/DBAdmin", "id": "b949397820a5a057831aabd125a9d93797a32215", "size": "1727...
az vm list > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "You need to login to Azure" echo "After successful authentication run $0 again" # login az login exit 2 fi ACTION="start" # Resource Group resourceGroup=$(curl -s -H Metadata:true http://169.254.169.254/metadata/instance?api-version=2017-08-01 | jq ....
{ "content_hash": "ea47a7dc5d27be76f5e84322d548ddd0", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 150, "avg_line_length": 29.327868852459016, "alnum_prop": 0.6539966461710452, "repo_name": "david618/dcosadmin", "id": "c82c45f641917865f42e646584ca6968e650d3fd", "size": "...
'use strict'; describe('Directive: svgInlineSymbol', function () { var Driver = function () { var driver = this; var $document; var element; var template = '<inline-svg-symbol sprite="{{sprite}}" symbol="outerSymbolId" />'; module('inline-svg'); inject(function (_$document_) { $document = _$document_;...
{ "content_hash": "5b57df13a21f3af4b17844e4ad66fa9b", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 90, "avg_line_length": 26.818181818181817, "alnum_prop": 0.6058551617873652, "repo_name": "alonn24/angular-inline-svg", "id": "a8310201454a87e2570f4f098266cae8c464fd06", "...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MainWindow.xaml.cs" company="Helix 3D Toolkit"> // http://helixtoolkit.codeplex.com, license: MIT // </copyright> // ---------------------------------------------------------...
{ "content_hash": "0751bbcc662df178b201801ddbe69ed0", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 142, "avg_line_length": 42.30232558139535, "alnum_prop": 0.48158328752061574, "repo_name": "smallholexu/helix-toolkit", "id": "d32a380a05f19c9fa55cf89d77e8a1c4dede55f7", "s...
title: Inviare report mail di Veeam Endpoint Backup. author: Dema layout: post date: 2015-06-15 09:28:24+00:00 tags: - Veeam --- ## Parte 1: Dotarsi di un server mail all'interno della LAN Per avere un servizio che spara messaggi mail, abbiamo bisogno di un server smtp interno, in quanto la quasi totalità degli smtp...
{ "content_hash": "c5a5661c2d1eeb3ec2099cf3beb5f467", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 385, "avg_line_length": 67.68468468468468, "alnum_prop": 0.714228670304805, "repo_name": "anton-dema/anton-dema.github.io", "id": "608243f2f77fb5a6e4662fa45bd1788778449707",...
define([ "dojo/topic", "dojo/has", "storymaps/utils/Helper", "storymaps/maptour/core/MapTourHelper" ], function ( topic, has, Helper, MapTourHelper ) { var FADE_DELAY = 6000, DEFAULT_VALUE = 10; return function Autoplay(container, loadNext) { var _isPlaying = fa...
{ "content_hash": "5de276406bbc7cc3a89a348925f8dcae", "timestamp": "", "source": "github", "line_count": 256, "max_line_length": 107, "avg_line_length": 20.65234375, "alnum_prop": 0.5256289010781161, "repo_name": "Esri/map-tour-storytelling-template-js", "id": "b039b9145f7b607805e62ea9630b80afecf693b7...
package org.apache.nifi.web; import org.apache.nifi.action.Component; import org.apache.nifi.action.FlowChangeAction; import org.apache.nifi.action.Operation; import org.apache.nifi.admin.service.AuditService; import org.apache.nifi.authorization.AccessDeniedException; import org.apache.nifi.authorization.Authorizabl...
{ "content_hash": "523271e9714e0172d01221e8a4a98894", "timestamp": "", "source": "github", "line_count": 265, "max_line_length": 135, "avg_line_length": 42.69433962264151, "alnum_prop": 0.6860526780979318, "repo_name": "jskora/nifi", "id": "3c567eb5bc2fbdc7ecd8af419a30a7a6e475b9b4", "size": "12115",...
using Microsoft.CodeAnalysis.CodeFixes; using System.Collections.Immutable; using System.Threading.Tasks; namespace Microsoft.NetFramework.Analyzers { /// <summary> /// CA2212: Do not mark serviced components with WebMethod /// </summary> public abstract class DoNotMarkServicedComponentsWithWebMethodFi...
{ "content_hash": "15ec9fcdc8fe2ed242ffddb9f687646b", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 136, "avg_line_length": 34.7037037037037, "alnum_prop": 0.7054429028815368, "repo_name": "dotnet/roslyn-analyzers", "id": "458f8f8d7b2b6e98ebfcf1fcb1a6869a04a6ab78", "size"...
// Texture.cpp : implementation file // #include "stdafx.h" #include "Port.h" #include "Texture.h" #include "Tools\ResourcerDoc\SelectResource.h" #include "Tools\ImagePort\Port.h" // CTexture dialog IMPLEMENT_DYNAMIC(CTexture, CDialog) CTexture::CTexture( CWnd* pParent /*=NULL*/) : CDialog(CTexture::IDD, pParent) ...
{ "content_hash": "e3e9b5a6bb76f5a221701bbdaadb8d17", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 87, "avg_line_length": 20.896103896103895, "alnum_prop": 0.7047855811062772, "repo_name": "palestar/medusa", "id": "dfbf7a7b865d3f2c025bd5c30c9c47b32397e5ed", "size": "1609...
#include <stdint.h> #include <stddef.h> #include <stdbool.h> #include <math.h> #include "numpy/random/distributions.h" #include "logfactorial.h" /* * random_mvhg_marginals * * Draw samples from the multivariate hypergeometric distribution-- * the "marginals" algorithm. * * This version generates the sample...
{ "content_hash": "fb29b161c2f57e0c864ef4fc42f1d8b4", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 78, "avg_line_length": 36.84782608695652, "alnum_prop": 0.591937069813176, "repo_name": "jorisvandenbossche/numpy", "id": "7e4c24988ada86052d1248b9e4e35a817bc1a842", "size...
title: axg14 type: products image: /img/Screen Shot 2017-05-09 at 11.56.54 AM.png heading: g14 description: lksadjf lkasdjf lksajdf lksdaj flksadj flksa fdj main: heading: Foo Bar BAz description: |- ***This is i a thing***kjh hjk kj # Blah Blah ## Blah![undefined](undefined) ### Baah image1: ...
{ "content_hash": "b05e31b7ca8f5ec44fc9cdb3637ba944", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 22.333333333333332, "alnum_prop": 0.6656716417910448, "repo_name": "pblack/kaldi-hugo-cms-template", "id": "d020bb02c616fa381f084830714735966cd33e30", ...
namespace keyboard { namespace { // An event handler that focuses a window when it is clicked/touched on. This is // used to match the focus manger behaviour in ash and views. class TestFocusController : public ui::EventHandler { public: explicit TestFocusController(aura::RootWindow* root) : root_(root) { ...
{ "content_hash": "608d63ed4725219c6b8b094edebb94b3", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 80, "avg_line_length": 34.486590038314176, "alnum_prop": 0.7220308854571714, "repo_name": "loopCM/chromium", "id": "73ac2f8243aaaa8e192878cee7f9f0016484ce1f", "size": "980...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) 2013 The Cabbage developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef Cabbage_MINER_H #define Cabbag...
{ "content_hash": "e9788cd448504a0d783469dae6939a4f", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 93, "avg_line_length": 35.60606060606061, "alnum_prop": 0.7514893617021277, "repo_name": "CabbageUnit/Cabbage", "id": "dd4919dc37a7fda3ee11e98625e0a8ef69a832f4", "size": "1...
<?php // DMCQuestionBundle:Reponse:new.html.twig return array ( );
{ "content_hash": "73b1109329ab4b5f4a202d7ba7d97db2", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 42, "avg_line_length": 13.6, "alnum_prop": 0.7205882352941176, "repo_name": "DMC-corporation/DMC", "id": "73ddbaf3d5a5f27b92b9c562c008fb20b50f757b", "size": "68", "binary"...
title: Porting to the Buffer.from()/Buffer.alloc() API layout: docs.hbs --- # Porting to the `Buffer.from()`/`Buffer.alloc()` API ## Overview This guide explains how to migrate to safe `Buffer` constructor methods. The migration fixes the following deprecation warning: <div class="highlight-box"> The Buffer() and ...
{ "content_hash": "539ae38d980a370d95947109f214156a", "timestamp": "", "source": "github", "line_count": 280, "max_line_length": 380, "avg_line_length": 48.042857142857144, "alnum_prop": 0.7446476360392507, "repo_name": "yous/new.nodejs.org", "id": "5d07bb4ea75954303138209c14e8c32aaf166c42", "size":...
using SimplifiedDES.Attacks; using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime; using System.Text; using System.Threading.Tasks; namespace SimplifiedDES { class Program { static void Main(string[...
{ "content_hash": "d24feb6394047f94312d4839757db6eb", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 105, "avg_line_length": 34.85849056603774, "alnum_prop": 0.5228687415426252, "repo_name": "SunNoise/S-DES", "id": "062f77d7d019b3e12801b3727350243d6b2db79d", "size": "3697...
import pymongo class MongoPipeline(object): def __init__(self, mongo_uri, mongo_db): self.mongo_uri = mongo_uri self.mongo_db = mongo_db self.mongo_col = mongo_col @classmethod def from_crawler(cls, crawler): return cls( mongo_uri=crawler.settin...
{ "content_hash": "30f2e53225c6fb76a3f99006c863d033", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 70, "avg_line_length": 29.962962962962962, "alnum_prop": 0.6019777503090235, "repo_name": "patrick-s-h-lewis/BathSim", "id": "c686bbca2fb33779ccc815b646616eef4c84e0b8", "si...
import { isTag, AnyNode, ChildNode, Element, ParentNode, hasChildren, } from "domhandler"; /** * Get a node's children. * * @category Traversal * @param elem Node to get the children of. * @returns `elem`'s children, or an empty array. */ export function getChildren(elem: AnyNode): ChildN...
{ "content_hash": "d71a85e9911ebe1b8f383e2092d10ae5", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 79, "avg_line_length": 25.125984251968504, "alnum_prop": 0.649012848636791, "repo_name": "fb55/DomUtils", "id": "5209f61a1a02b8cbf5043cb3ba1224f1913b4d61", "size": "3191",...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "e7b456f8d15403f44f18f20febf32600", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "710ae7835a2fb18d704c15db02f32d16b074eb7a", "size": "183...
#include <linux/dma-mapping.h> #include "ath9k.h" #define FUDGE 2 static void ath9k_reset_beacon_status(struct ath_softc *sc) { sc->beacon.tx_processed = false; sc->beacon.tx_last = false; } /* * This function will modify certain transmit queue properties depending on * the operating mode of the station (AP ...
{ "content_hash": "428c6d92d49388aea61a0df4eaed4c63", "timestamp": "", "source": "github", "line_count": 706, "max_line_length": 80, "avg_line_length": 28.65014164305949, "alnum_prop": 0.673654026795867, "repo_name": "pavpanchekha/bitrate-lab", "id": "2ca355e94da65467e36595990423c80be1b897b6", "size...
@interface MultilevelCollectionViewCell : UICollectionViewCell @property (weak, nonatomic) IBOutlet UIImageView *iconImageView; @property (weak, nonatomic) IBOutlet UILabel *textLab; @end
{ "content_hash": "ff359bda341f23eee5dd3ae5b036114a", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 64, "avg_line_length": 37.8, "alnum_prop": 0.8253968253968254, "repo_name": "renyufei8023/MangGuoTV", "id": "27eab6dca3cab228b7214ef72078ed73b4eb9b69", "size": "367", "bin...
ENV is a class than enables to interact with environmental variables ### Class methods ```swift // read an env variable var value = ENV.get("VAR_NAME") // write an env value ENV.set("VAR_KEY", "VAR_VALUE") // list all env variables var list = ENV.keys() ``` ### Class Constants ```swift var max_arg = ENV.argc - 1 v...
{ "content_hash": "44baa1a2cbbedededf3399505485f8b5", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 68, "avg_line_length": 18.63157894736842, "alnum_prop": 0.672316384180791, "repo_name": "marcobambini/gravity", "id": "978222d853a4ec7544f85ac834f91f7130b8eb4b", "size": "3...
/** * Tests for Build Configuration Command. */ import * as Chai from "chai"; import * as Sinon from "sinon"; import { IFileSystem } from "unitejs-framework/dist/interfaces/IFileSystem"; import { ILogger } from "unitejs-framework/dist/interfaces/ILogger"; import { ClientPackageCommand } from "../../../../src/commands...
{ "content_hash": "f9620cec443ae207abbe0e72d01601af", "timestamp": "", "source": "github", "line_count": 1136, "max_line_length": 143, "avg_line_length": 45.49823943661972, "alnum_prop": 0.5305111635646016, "repo_name": "unitejs/core", "id": "2e0422bb4237e91cfb13a4c9bbec9455c933258c", "size": "51686...
<div class="commune_descr limited"> <p> La&nbsp;Londe est une ville localisée dans le département de Seine-Maritime en Haute-Normandie. Elle totalisait 2&nbsp;195 habitants en 2008.</p> <p>À La&nbsp;Londe le salaire médian par mois par habitant est situé à environ 2&nbsp;451 &euro; net. Ceci est supérieur à la...
{ "content_hash": "630e7fad1512cab3475c016beaa4c2c9", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 262, "avg_line_length": 97.66666666666667, "alnum_prop": 0.7406143344709898, "repo_name": "donaldinou/frontend", "id": "b7bf962b1b5cbaaaafa265db93f4967f409a6331", "size": "...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.camunda.bpm.quickstart</groupId> <artifactId>camunda-quicksta...
{ "content_hash": "b41e35e92e8854b9be8fea98b4317ad9", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 204, "avg_line_length": 29.28767123287671, "alnum_prop": 0.6655753040224509, "repo_name": "ingorichtsmeier/camunda-bpm-examples", "id": "40f5a33f626677bbdf52c4e012fa4f4aa76e2...
<!DOCTYPE html> <html> <head> <meta charset=UTF-8> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Angular2 Seed</title> <base href="/"> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootst...
{ "content_hash": "c6d05b535d2e9f7950549fa8c5239fdc", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 212, "avg_line_length": 28.5, "alnum_prop": 0.6649122807017543, "repo_name": "KevinBurton/Angular2-Forms", "id": "c3118a771d54dc6bdc2e5f54234caa22c8aa4f55", "size": "570", ...
module SpacepeopleHelper end
{ "content_hash": "d32e548c9da45467beb0c20be635ea39", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 24, "avg_line_length": 14.5, "alnum_prop": 0.896551724137931, "repo_name": "Groovitation/issflyby", "id": "775e6699100dcd1edc22038f694517ff67b8078e", "size": "29", "binary...
 #ifndef _LJ_LEX_H #define _LJ_LEX_H #include <stdarg.h> #include "lj_obj.h" #include "lj_err.h" /* Lua lexer tokens. */ #define TKDEF(_, __) \ _(and) _(break) _(do) _(else) _(elseif) _(end) _(false) \ _(for) _(function) _(goto) _(if) _(in) _(local) _(nil) _(not) _(or) \ _(repeat) _(return) _(then) _(true) _...
{ "content_hash": "4c3a2f7e56eafcbcb062f280baeb428f", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 78, "avg_line_length": 36.41463414634146, "alnum_prop": 0.6490288010716678, "repo_name": "dansen/luacode", "id": "4358ecfb62b65f4a6fbf2f48fa5324384fee9f33", "size": "3085",...
/* Auto-generated config file hpl_oscctrl_config.h */ #ifndef HPL_OSCCTRL_CONFIG_H #define HPL_OSCCTRL_CONFIG_H // <<< Use Configuration Wizard in Context Menu >>> // <e> External Multipurpose Crystal Oscillator Configuration // <i> Indicates whether configuration for XOSC is enabled or not // <id> enable_xosc #ifnde...
{ "content_hash": "fdbb64132dbb569dae3e6221982dc33c", "timestamp": "", "source": "github", "line_count": 411, "max_line_length": 124, "avg_line_length": 27.46228710462287, "alnum_prop": 0.7269425002214938, "repo_name": "eewiki/ws_bm_rtc", "id": "2ed07d256edeb3255ad4e0e9af8a63635c19a93d", "size": "11...
using System.Collections.Generic; using Free.FileFormats.VRML.InterfaceDeclarations; using Free.FileFormats.VRML.Interfaces; namespace Free.FileFormats.VRML.Nodes { public class x3dTextureCoordinate4DPROTO : x3dTextureCoordinate4D, X3DPrototypeInstance { public List<InterfaceDeclaration> InterfaceDeclarations { g...
{ "content_hash": "8d3d9ef10c847128f4421b1120ab8f43", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 88, "avg_line_length": 32.53846153846154, "alnum_prop": 0.7966903073286052, "repo_name": "shintadono/Free.FileFormats.VRML", "id": "c680b72f171167f29371ee0e64a642a36ed63e28",...
// Code generated by go-swagger; DO NOT EDIT. package stickers // This file was generated by the swagger tool. // Editing this file might prove futile when you re-run the swagger generate command import ( "net/http" "time" "golang.org/x/net/context" "github.com/go-openapi/errors" "github.com/go-openapi/runtim...
{ "content_hash": "03c1aabbd6c86a896cbe5d77e024a1c3", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 115, "avg_line_length": 26.50485436893204, "alnum_prop": 0.752014652014652, "repo_name": "olebedev/go-tgbot", "id": "90318dc0d7fe4ef0449e8cf78af8c13a0ad44ee1", "size": "81...
<!-- @license https://github.com/t2ym/thin-polymer/blob/master/LICENSE.md Copyright (c) 2016, Tetsuya Mori <t2y3141592@gmail.com>. All rights reserved. --> <link rel="import" href="../../thin-polymer.html"> <template id="es5-element1"> <span>{{label}}</span> </template> <script> Prototype = { is: 'es5-element1', ...
{ "content_hash": "03ef25961b33bc1db5c66f20649c4076", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 77, "avg_line_length": 20.25, "alnum_prop": 0.6234567901234568, "repo_name": "t2ym/thin-polymer", "id": "0481b3b7bd70caf10df6d5fdc6f5ed674cbab2bc", "size": "639", "binary...
(function () { 'use strict'; describe('LBaaS v2 Module', function () { it('should be defined', function () { expect(angular.module('horizon.dashboard.project.lbaasv2')).toBeDefined(); }); }); describe('LBaaS v2 Module Base Path', function () { var basePath, staticUrl; beforeEach(module...
{ "content_hash": "ee7f2ace892f8afd769bfa65c093b237", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 86, "avg_line_length": 31.431818181818183, "alnum_prop": 0.603759942154736, "repo_name": "Juniper/contrail-horizon", "id": "ead904e3fb41d6b611cb5b74afa34733759af81e", "siz...
module.exports = { Base: require('./base') }
{ "content_hash": "73e1654b3c9a4621d99930ebe75c057c", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 25, "avg_line_length": 15.666666666666666, "alnum_prop": 0.5957446808510638, "repo_name": "passabilities/backrest", "id": "4a513b401b9c82041e63fe6e690140f2ca3759d2", "size":...
<!DOCTYPE html> <html class="pl"> <head> <title>Pattern Lab</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width" /> <link rel="stylesheet" href="../../css/style.css?1447861508" media="all" /> <!-- Begin Pattern Lab (Required for Pattern Lab to run properly) --> <!-- never...
{ "content_hash": "3c0f3b30121ffb3297eb11d1f7655ec3", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 303, "avg_line_length": 38.57017543859649, "alnum_prop": 0.5990448032749602, "repo_name": "MattMcFarland/wt-patternlab", "id": "05a1105c268ebbc28122dd6c42bbe22d9888c03e", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>menhirlib: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.c...
{ "content_hash": "b0a026460bdbe5e777470c1cfa33916d", "timestamp": "", "source": "github", "line_count": 178, "max_line_length": 159, "avg_line_length": 40.556179775280896, "alnum_prop": 0.5449508242138801, "repo_name": "coq-bench/coq-bench.github.io", "id": "4cdb15aa7c1dc16480ddc125471668ddf5960845",...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>hanoi: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
{ "content_hash": "a5514dda4dc7dec26a4ba5680f73d63a", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 159, "avg_line_length": 41.10344827586207, "alnum_prop": 0.5353747203579419, "repo_name": "coq-bench/coq-bench.github.io", "id": "9458a243f49cbcbe977e3c2fae0102bde8158a91", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "5d5f2c0380fef59dcaf02844637d4c61", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "2bf8e892050a56b092baef763532538e4c33e873", "size": "197...
namespace ArtificialNeuralNetwork.ActivationFunctions { public class RectifiedLinearActivationFunction : IActivationFunction { public double CalculateActivation(double signal) { return signal > 0 ? signal : 0.0; } } }
{ "content_hash": "d82c6a7a3df5e66aa73961e4dd1ab3c9", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 72, "avg_line_length": 26.7, "alnum_prop": 0.6666666666666666, "repo_name": "jobeland/NeuralNetwork", "id": "4b65f43c7d40c6e40757528b13d028dd5a78dd9c", "size": "269", "bi...
navigator.serviceWorker.register('./serviceWorker.js') .then((registration) => { if (registration.installing) { console.log('Service worker is in the installing state'); } });
{ "content_hash": "503d57d87663df7f48f6c94e1836e1fa", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 61, "avg_line_length": 30.666666666666668, "alnum_prop": 0.7065217391304348, "repo_name": "msfrisbie/pjwd-src", "id": "0229ebf6386c2f1130ae44c02deb0560e0e27391", "size": "18...
<?php /** * class RainGauge * * Controller class for Rain Gauge. * * @author Gavin Towey <gavin@box.com> * @created 2012-05-01 * @license Apache 2.0 license. See LICENSE document for more info */ require_once("lib/Helpers.php"); require_once("lib/Loader.php"); require_once("lib/RainGaugeModel.php"); class Ra...
{ "content_hash": "133a75999ef394b089b783d89bd6836d", "timestamp": "", "source": "github", "line_count": 486, "max_line_length": 202, "avg_line_length": 34.25308641975309, "alnum_prop": 0.4609839610740674, "repo_name": "geoffreyanderson/RainGauge", "id": "6c19f87f0eed63963859f81ff7b34f6fabdc090a", "...
Ti=Structure of the Proceedings 1.sec=A proceeding ordinarily should consist of three phases: the pleading phase, the interim phase, and the final phase. 2.sec=In the pleading phase the parties must present their claims, defenses, and other contentions in writing, and identify their principal evidence. 3.0.sec=In th...
{ "content_hash": "61c8e154c82de2d2d31c28e05e9e0eea", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 386, "avg_line_length": 73.10810810810811, "alnum_prop": 0.8129390018484288, "repo_name": "CommonAccord/Cmacc-Org", "id": "c6fbbdebfa329d05f4097e291eb0fb7f5ee47e9d", "size"...
var assert = chai.assert; declare function fixture(id: string): void; declare module HTMLImports { export function whenReady(f: Function): void; } module TF.Nanite { HTMLImports.whenReady(function() { Polymer({ is: "test-element", properties: { upward: {type: Number, notify: true}, ...
{ "content_hash": "2dd311a1fd6c0219aae47357c678e5fe", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 88, "avg_line_length": 31.391025641025642, "alnum_prop": 0.5781090463549111, "repo_name": "4Quant/tensorflow", "id": "ecc792944e1675bba1cfda4d2e80e860a1a93d8c", "size": "5...
#ifndef _INFOVIEW_H #define _INFOVIEW_H #include <Button.h> #include <View.h> #include "DialogView.h" class InfoView : public DialogView { public: InfoView(BRect frame, BString title, BString bstr="OK"); virtual ~InfoView(); void AttachedToWindow(); private: BButton* fBtn; }; #endif
{ "content_hash": "809b48dcb3b2b501599a879488f2d2f6", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 60, "avg_line_length": 13.681818181818182, "alnum_prop": 0.6976744186046512, "repo_name": "atalax/hdialog", "id": "0018b24a018a1e8413364ce287b9d2b9208ffae0", "size": "1452"...
<?php namespace Enhavo\Bundle\SettingBundle\Setting\Type; use Enhavo\Bundle\FormBundle\Form\Type\CurrencyType; use Enhavo\Bundle\FormBundle\Formatter\CurrencyFormatter; use Enhavo\Bundle\SettingBundle\Setting\AbstractSettingType; use Symfony\Component\OptionsResolver\OptionsResolver; class CurrencySettingType extend...
{ "content_hash": "7cc0c9f2e814c28e438c408957252f6e", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 119, "avg_line_length": 26.4468085106383, "alnum_prop": 0.666934835076428, "repo_name": "gseidel/enhavo", "id": "1655a2470d5ab6463573601aa9361727f5e3d68e", "size": "1243", ...
#ifndef __OPENCV_PRECOMP_H__ #define __OPENCV_PRECOMP_H__ #include <limits> #include "opencv2/cudaoptflow.hpp" #include "opencv2/cudaarithm.hpp" #include "opencv2/cudawarping.hpp" #include "opencv2/cudaimgproc.hpp" #include "opencv2/video.hpp" #include "opencv2/core/private.cuda.hpp" #include "opencv2/opencv_modu...
{ "content_hash": "b379152ad4d750b6376a8bcfad01f6ba", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 43, "avg_line_length": 20.272727272727273, "alnum_prop": 0.742152466367713, "repo_name": "aarya123/Assassin", "id": "3c818dd4e6b3b488dd1bfac44863075d01426146", "size": "260...
package com.conversantmedia.mapreduce.tool.annotation.handler; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; impor...
{ "content_hash": "a3b5cca02f7fa1f5f348e3500d5ecf37", "timestamp": "", "source": "github", "line_count": 190, "max_line_length": 116, "avg_line_length": 28.13684210526316, "alnum_prop": 0.7476618032173588, "repo_name": "conversant/mara", "id": "9f970c4d297e98a4518e9cc3e2f0e0573cfd5dbd", "size": "599...
#ifndef BAMENUMS_H #define BAMENUMS_H #include "pandabase.h" /** * This class exists just to provide scoping for the enums shared by BamReader * and BamWriter. */ class EXPCL_PANDA_PUTIL BamEnums { PUBLISHED: // This defines an enumerated type used to represent the endianness of // certain numeric values st...
{ "content_hash": "445cdd9fdf27592d92f4fd05b73388b7", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 84, "avg_line_length": 30.560606060606062, "alnum_prop": 0.7183936539414972, "repo_name": "tobspr/panda3d", "id": "c2cef20db8ec6604bc9c7296f38b5c89cdca9000", "size": "2365"...
'use strict'; module.exports = require('./lib/copy');
{ "content_hash": "094f91adb7d70dfe1a99dbea6e93f063", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 39, "avg_line_length": 18.333333333333332, "alnum_prop": 0.6545454545454545, "repo_name": "hsavit1/gosofi_webpage", "id": "ea56967aa9bcfac3b5839f8bfbe12077fff9f82e", "size":...
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.10....
{ "content_hash": "64e652b08a571dd34496a2682458039f", "timestamp": "", "source": "github", "line_count": 261, "max_line_length": 122, "avg_line_length": 22.57088122605364, "alnum_prop": 0.5615345442199966, "repo_name": "digitalheir/java-wetten-nl-library", "id": "d362b1ee15eb3ea3879c0e4e7ca5e37bbab724...
'use strict'; const Router = require('express').Router; const jsonParser = require('body-parser').json(); const createError = require('http-errors'); const debug = require('debug')('turnipVentures:appointment-Route'); const Appointment = require('../model/appointment.js'); const bearerAuth = require('../lib/bear-auth....
{ "content_hash": "219126a7cabdb7d10505be79d4be8cc9", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 94, "avg_line_length": 33.674418604651166, "alnum_prop": 0.6947513812154696, "repo_name": "thomasxmartinez/turnipventures", "id": "25c6684d957721bb261cbc2520a90c6a365f8188", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- Author: Wolfgang Meier "meier@ifs.tu-darmstadt.de" --> <document xmlns:xi="http://www.w3.org/2001/XInclude"> <!-- include header --> <xi:include href="context://header.xml"/> <!-- include sidebar --> <xi:include href="sidebar.xml"/> <body> ...
{ "content_hash": "018a40f961df5c2916fe2a4eca03e866", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 85, "avg_line_length": 29.017857142857142, "alnum_prop": 0.5467692307692308, "repo_name": "mplaine/xformsdb", "id": "53c09ed553be7da93303e32d83ce1cf88c0a6555", "size": "32...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Bone Name Enumeration &mdash; Leap Motion Unreal SDK v2.3 documentation</title> <link rel="stylesheet" href="../../cpp/_static/boots...
{ "content_hash": "5d90dc2c361d1806ca7e9ccfad23f2c7", "timestamp": "", "source": "github", "line_count": 373, "max_line_length": 174, "avg_line_length": 41.75335120643432, "alnum_prop": 0.6385642737896494, "repo_name": "joelbandi/Be-ethoven", "id": "b98d60d24a762dbf1bdb5a7af47646269e29a6f9", "size":...
<!DOCTYPE html> <html lang="en"> <head> <title>CrowdLearn</title> <meta charset="utf-8"> <meta name="description" content="CrowdLearn"> <meta name="author" content="CrowdLearn"> <meta name="keywords" content="CrowdLearn creative space create build learn learning crowdLearnApp"> <meta name="vie...
{ "content_hash": "9190d12dd959611d87fbc1c1936f2598", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 111, "avg_line_length": 43.166666666666664, "alnum_prop": 0.6544401544401545, "repo_name": "sbolel/crowdlearn-angular", "id": "3c5f51a013e7fe77513ea664a95ae9a5fea1d074", "s...
#ifndef __ST_LARGE_INTEGER__ #define __ST_LARGE_INTEGER__ #include <tommath.h> #include <st-object.h> #include <st-types.h> #define ST_LARGE_INTEGER(oop) ((struct st_large_integer *) st_detag_pointer (oop)) struct st_large_integer { struct st_header __parent__; mp_int value; }; st_oop st_large_integer_n...
{ "content_hash": "204e7e1563023fe54d31d703029ac6e2", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 82, "avg_line_length": 21.945945945945947, "alnum_prop": 0.6613300492610837, "repo_name": "vgeddes/panda-smalltalk", "id": "048aae349f1c3b2881b7987fdad29b64a6f93322", "size...
function in-string() { local string=$(get-by-varname $1) local substring=$2 echo $string |grep -q "$substring" return $? } function push-word() { local string_name=$1 local string_val=$(get-by-varname $string_name) shift local str_to_add="$*" if ! in-string $string_name $str_to_add; then set-by-varname...
{ "content_hash": "7c29ba72feda2b627a614fec0084e3e8", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 77, "avg_line_length": 20.5, "alnum_prop": 0.6088850174216028, "repo_name": "jtgans/dotbash", "id": "03cfb9dceba15458b083bcbfb1ef8b541fae4dee", "size": "1162", "binary": ...
package io.github.mathmaniac0.snek.sprite.behaviors; import io.github.mathmaniac0.snek.Game; import io.github.mathmaniac0.snek.PlayerEvents; import io.github.mathmaniac0.snek.sprite.NPC; import io.github.mathmaniac0.snek.sprite.Sprite; import java.awt.*; public class AIScrolling implements AIBehavior { ...
{ "content_hash": "f38c21d8f28690cb40064dc3c59ba798", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 89, "avg_line_length": 29.42, "alnum_prop": 0.6152277362338545, "repo_name": "MathManiac0/Snek-Adventure", "id": "504474de924eaab08fcb0aadfcfa032f04d625d1", "size": "1471",...
Dart scoreboard JavaFX application This application requires a real dartboard to throw your darts at. The application is used for score counting and optional bets and jackpots :) Please note that the first time you start the game you will get warnings about missing files, no worries, files will be created for you.
{ "content_hash": "5671a831d9dc67441881e226bbf6c63f", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 136, "avg_line_length": 45.57142857142857, "alnum_prop": 0.8056426332288401, "repo_name": "linusblom/Dart2", "id": "4aca837d6edc7f0806397d96b001725d65dc2455", "size": "327",...
FROM node:6-slim
{ "content_hash": "b2df3b439bffa8f6247c3bddf51bda35", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 16, "avg_line_length": 17, "alnum_prop": 0.7647058823529411, "repo_name": "seegno/docker-node", "id": "0fc04bd8663e34c91c90a679a7f0e1c121435539", "size": "17", "binary": f...
import settings import generator from reportlab.pdfgen import canvas def hello(c): c.drawString(100, 100, "Hello") def main(): c = canvas.Canvas("hello.pdf") hello(c) c.showPage() c.save() if __name__ == '__main__': main()
{ "content_hash": "988c59c45de712f0b6e0e68eb5ca1686", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 35, "avg_line_length": 13.368421052631579, "alnum_prop": 0.6023622047244095, "repo_name": "kwailamchan/programming-languages", "id": "c022b8a407c0053cf274a577f6afee2e9cd8726b...
using System; using System.Collections.Generic; using Dwolla.Checkout.Validators; using FluentValidation; using FluentValidation.Attributes; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; namespace Dwolla.Checkout { [Validator(typeof(DwollaCheckoutResponseValidator)...
{ "content_hash": "52ab4a524fe9c7c8544d4a031c1aff5c", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 107, "avg_line_length": 30.86, "alnum_prop": 0.5975372650680493, "repo_name": "bchavez/Dwolla", "id": "6fc966103b18893db8821ffb3966de3f6396727e", "size": "1543", "binary"...
package org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.protocol; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for TerminateType complex type. * * <p>The following schema fragment specifies th...
{ "content_hash": "7f624ead99e149769a95f93f9a853aa7", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 95, "avg_line_length": 23.741935483870968, "alnum_prop": 0.71875, "repo_name": "oehf/ipf", "id": "854c3ba6cdcd6d70d7f43aa23e18c27954b90c13", "size": "1350", "binary": fal...
<!DOCTYPE HTML> <html lang="en"> <head> <title>three.js - geometry - earth</title> <meta charset="utf-8"> <style type="text/css"> body { color: #808080; font-family:Monospace; font-size:13px; text-align:center; background-color: #ffffff; margin: 0px; overflow: hidden; } #in...
{ "content_hash": "48245fd4ba0679646082d1ea9ac1fedf", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 110, "avg_line_length": 21.56115107913669, "alnum_prop": 0.6249582916249583, "repo_name": "flyingoctopus/three.js", "id": "435c41e9fd4dc17697aeb9b07a891b404adc9201", "size...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "6a3546f26bcac5e9e7db35385f8730a7", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 183, "avg_line_length": 44.41269841269841, "alnum_prop": 0.6150822015725518, "repo_name": "ComponentFactory/Krypton", "id": "d66fcf1b27ff125e4debbfbcc8c003014fd4fbb9", "siz...
/** * Main JS file for kaldorei behaviours */ /* globals jQuery, document */ (function($, undefined) { "use strict"; var $document = $(document); $document.ready(function() { var $postContent = $(".post-content"); $postContent.fitVids(); $(".scroll-down").arctic_scroll(); ...
{ "content_hash": "b6fae10e7cabaf6e3383558439f95b4f", "timestamp": "", "source": "github", "line_count": 172, "max_line_length": 96, "avg_line_length": 33.77906976744186, "alnum_prop": 0.4822719449225473, "repo_name": "enhay/Ghost", "id": "d66add8aefeaf883151ff7b199cd8be3d4ffcd83", "size": "5810", ...
quadrupy ======== python app to control a quadruped robot controlled with an arduino
{ "content_hash": "0837103e1dc6154b771a6b805c3021b4", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 66, "avg_line_length": 21.5, "alnum_prop": 0.7441860465116279, "repo_name": "titimoby/quadrupy", "id": "09fd96863a9e1356b88348271c566afb6cca7afc", "size": "86", "binary": ...
<?php namespace Examinr\Form\Implementation; use Examinr\Form\AbstractForm; /** * Login form * * @category Examinr * @package Form * @subpackage Implementation * @author Pieter Hordijk <info@pieterhordijk.com> */ class Login extends AbstractForm { /** * Sets up the fields of the form */...
{ "content_hash": "fb912cabb2ecf7650562076535c27eb2", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 63, "avg_line_length": 20.176470588235293, "alnum_prop": 0.5539358600583091, "repo_name": "PeeHaa/examinr", "id": "6f175ab3669121042e0998a4638cfc276ad3cc67", "size": "994",...
require 'test_helper' class ReportsControllerTest < ActionController::TestCase setup do Report.delete_all end context "when the user is not authenticated" do setup do @report = FactoryGirl.create(:report) end should "not have access to the index page" do get :index asser...
{ "content_hash": "5387f56d0543013b75813e4bd43ec155", "timestamp": "", "source": "github", "line_count": 293, "max_line_length": 136, "avg_line_length": 32.95221843003413, "alnum_prop": 0.5721387881926463, "repo_name": "jayztemplier/ShakeReportServer", "id": "913b5442906fb5ae34e9c9d27494f291a358ce9f",...
SELECT a FROM t1 WHERE rowid > 72057594037927936 ORDER BY a DESC
{ "content_hash": "8bb91e5021a62fef6d95be43e200ff68", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 64, "avg_line_length": 64, "alnum_prop": 0.8125, "repo_name": "bkiers/sqlite-parser", "id": "a3150dc334e4df41a14823267f913459b21f223a", "size": "176", "binary": false, "...
package com.farwolf.weex.module; import android.graphics.Color; import android.view.View; import com.farwolf.util.StringUtil; import com.farwolf.weex.base.WXModuleBase; import com.farwolf.weex.util.Weex; import com.taobao.weex.annotation.JSMethod; import com.taobao.weex.bridge.JSCallback; /** * Created by zhengjian...
{ "content_hash": "70dbcb9af44bc41252cca1ea54234fd7", "timestamp": "", "source": "github", "line_count": 114, "max_line_length": 90, "avg_line_length": 23.517543859649123, "alnum_prop": 0.59828422230511, "repo_name": "evildoerX/weex-ouikit", "id": "9e0a7ccd036dc32d20cdfbddc7464018c08b533d", "size": ...
<resources> <string name="settings_header_profile">Profile</string> <string name="settings_header_conf">Configuration</string> <string name="profile_name_title">Name</string> <string name="profile_photo_title">Photo</string> <string name="profile_desc_title">Description</string> <string ...
{ "content_hash": "9047cc2a1573a739bf0e226638ce1897", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 89, "avg_line_length": 39.38297872340426, "alnum_prop": 0.6547811993517018, "repo_name": "nelladragon/scab", "id": "e2ee3b0afe9f335466335f87537039ea450ca5a5", "size": "1851...
package org.perfcake.pc4idea.impl.run.execution; import com.intellij.icons.AllIcons; import javax.swing.*; import java.awt.*; /** * Created by miron on 21. 12. 2014. This swing component is shown in console window, when running scenario. * It is adding toolbar for scenario stopping button. */ public class Console...
{ "content_hash": "356ab06bf6456afbdc9b968ff4a8de33", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 108, "avg_line_length": 25.18, "alnum_prop": 0.6528991262907069, "repo_name": "PerfCake/pc4idea", "id": "dc2feb5fa5a5f5acc37283c26fb5b7f967d00183", "size": "1259", "binar...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "2282c5296b958b8a8ced3ffaf533ce17", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "887aff02db6ef63ba6c3244ef7f7a2cc9dd666ac", "size": "173...
import { createSelector } from 'reselect' import { connect } from 'react-redux' import { setFormId, noop, logout, inputChange, formInputChange, sendMessage, updateForm } from '../modules/wniView' import { getFormView, getOpenForms, getTickets } from 'Api/reducer' /* This is a container component. Notice it does not ...
{ "content_hash": "09a79132aece55be8fe172738fddf953", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 115, "avg_line_length": 34.60294117647059, "alnum_prop": 0.7084572885677858, "repo_name": "ahthamrin/kbri-admin2", "id": "ab36a27b120bb1f40e0e92d177fdf50f1563a938", "size":...
using System; namespace CountWords { public class CountWords { public int Count(string s) { throw new NotImplementedException(); } } }
{ "content_hash": "5555151cdb3824c0e868b8c9db5ef646", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 48, "avg_line_length": 15.416666666666666, "alnum_prop": 0.5567567567567567, "repo_name": "AlanBarber/CodeKatas", "id": "d2980774cddc7cf0ff7e52af487699240ae4e015", "size": ...
class Movie < ActiveRecord::Base belongs_to :category # given a dir path, return a list of movie objects def self.unorganized(path) Dir.entries(path).reject {|i| i.match(/^\./) }.map { |f| Movie.new(:filename=>f, :path=>path) } end def full_path File.join(path, filename) end end # == Sch...
{ "content_hash": "2b1e2f0e8fecf8eae1165ac067196b63", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 60, "avg_line_length": 21.333333333333332, "alnum_prop": 0.6180555555555556, "repo_name": "edk/vbrowse", "id": "1a1048dedf7f450911f80c5688f4e0cdd1c03c89", "size": "576", ...
from sqlalchemy import create_engine engine = create_engine('sqlite:///:memory:', echo=True)
{ "content_hash": "50731270480db45ad102b3de726b1d03", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 55, "avg_line_length": 31.333333333333332, "alnum_prop": 0.7446808510638298, "repo_name": "egustafson/sandbox", "id": "67ccaeeb20d94cdc0ec4212027e84ecea91b95a3", "size": "12...
export * from './non-ideal-state-loading-usage-example';
{ "content_hash": "4eeae1cc0cdd7c7ee68ec666d97ecf58", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 56, "avg_line_length": 57, "alnum_prop": 0.7368421052631579, "repo_name": "bullhorn/novo-elements", "id": "1a0225bdcaf8df1cf7701a5b9ea8679d4fa7e30f", "size": "57", "binary...
namespace kws { namespace cmd { using kws::core::TypeInfo; template <typename T> class Argument : public Option<T> { public: using Option<T>::Option; using Option<T>::Parse; std::string Help(size_t w = 0) const override { std::ostringstream oss; oss << std::setw(w) << std::left << name_ << " : " << he...
{ "content_hash": "fe594e8b0be0b4efd9710d857c88139a", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 63, "avg_line_length": 21.620689655172413, "alnum_prop": 0.5566188197767146, "repo_name": "jpuigcerver/kws-eval", "id": "275f29d0f799c8393e39bb74a44970835205280a", "size": ...
<?php class b2c_service_desktop_indexseo { public function title() { return app::get('site')->getConf('site.name'); }//End Function }//End Class
{ "content_hash": "dcf91f95bef611e21353c314ec2c83a4", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 54, "avg_line_length": 13.076923076923077, "alnum_prop": 0.6, "repo_name": "liuguogen/Ecstore", "id": "bf7f3b3dbcd0ec338451cd7535fdfab8bc28613d", "size": "336", "binary":...
package com.tdp2.androidclient.activity; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.ActionBarActivity; import android.su...
{ "content_hash": "e23583dd617bb0aeceb692dba88019bc", "timestamp": "", "source": "github", "line_count": 388, "max_line_length": 163, "avg_line_length": 34.70876288659794, "alnum_prop": 0.6359248533452142, "repo_name": "campus-movil/android-client", "id": "a6e3da99855080f63c56e586a434d453bfe41bc4", ...
module Fog module Storage class AWS module GetBlobHttpsUrl def get_blob_https_url(container_name, blob_name, expires = nil, options = {}) unless container_name raise ArgumentError.new('container_name is required') end unless blob_name raise Arg...
{ "content_hash": "aeeae8d99be67091473b4b951ce44b4c", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 86, "avg_line_length": 21.525, "alnum_prop": 0.5017421602787456, "repo_name": "shadysayed/fog-azure", "id": "3d5b12276d74c10a4c9604bbb5fee3bc9da3f5a3", "size": "861", "bi...
<link rel="import" href="../bower_components/iron-dropdown/iron-dropdown-scroll-manager.html"> <link rel="import" href="elements/toast-element.html"> <link rel="import" href="elements/video-dialog.html"> <link rel="import" href="elements/dialogs/speaker-details.html"> <link rel="import" href="elements/dialogs/previous-...
{ "content_hash": "f647f0be5fcf91470b2142b833d93045", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 99, "avg_line_length": 69.3, "alnum_prop": 0.7633477633477633, "repo_name": "GDGYangon/gdg-yangon-devfest-2015-website", "id": "007e148ab7b8f3426078454fa2642a1eacaf8d50", "...
class DummyController < ApplicationController def dummy_method end end
{ "content_hash": "4fc40c275b9a3d6ed0f4863d8f44711a", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 45, "avg_line_length": 15.8, "alnum_prop": 0.7721518987341772, "repo_name": "coyosoftware/dynamic_router", "id": "df59f4d68f5fe4fa0f099bc7cebc47e8975f2242", "size": "79", ...