text
stringlengths
2
1.04M
meta
dict
class AddOwnerToApplication < ActiveRecord::Migration[6.0] def change add_column :oauth_applications, :owner_id, :integer, null: true add_column :oauth_applications, :owner_type, :string, null: true add_index :oauth_applications, %i[owner_id owner_type] end end
{ "content_hash": "deaa0d86cbdb33be8ef48aa564d0b250", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 68, "avg_line_length": 39.714285714285715, "alnum_prop": 0.7302158273381295, "repo_name": "michelson/chaskiq", "id": "5aaa42deaf6645584428f5f47ea960a41a6057a5", "size": "278...
// Copyright (c) 2012 Ecma International. All rights reserved. // Ecma International makes this code available under the terms and conditions set // forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the // "Use Terms"). Any redistribution of this code must retain the above // copyright and this n...
{ "content_hash": "04e29e58a4ddccaae7b820ba17689b59", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 82, "avg_line_length": 32.72, "alnum_prop": 0.6638141809290954, "repo_name": "PiotrDabkowski/Js2Py", "id": "f39db7b77038a30e5329aa96298bcf3bce0e585b", "size": "818", "bin...
using NBi.GenbiL; using NBi.GenbiL.Action.Suite; using NBi.GenbiL.Stateful; using NUnit.Framework; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBi.Testing.GenbiL.Action.Suite { public class GenerateTestSuiteActionTest { ...
{ "content_hash": "72f27cd346d229c2d32ca35178db33c3", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 89, "avg_line_length": 33.53947368421053, "alnum_prop": 0.596704590035308, "repo_name": "Seddryck/NBi", "id": "437d41fc43486f0172503bed35344b3aa1cbdeb8", "size": "2551", ...
layout: page title: Richardson - Mendez Wedding date: 2016-05-24 author: Sarah Brooks tags: weekly links, java status: published summary: Etiam iaculis porta ante, vitae pharetra. banner: images/banner/leisure-02.jpg booking: startDate: 12/27/2018 endDate: 12/30/2018 ctyhocn: PIEHSHX groupCode: RMW published: t...
{ "content_hash": "d90c83ea04bba075cc2afa41a5d136ba", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 744, "avg_line_length": 96.12, "alnum_prop": 0.8044111527257595, "repo_name": "KlishGroup/prose-pogs", "id": "22d691feb321a19e0d23120dd7c92dab7b61a206", "size": "2407", "...
package org.apache.wicket.ajax.form; import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.markup.html.form.AjaxFallbackButton; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.markup.html.form.Form; import org.apache.wicket.markup.html.form.TextField; import org.apache....
{ "content_hash": "cafec7b7dc24fd06372fb5fa9f33398b", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 80, "avg_line_length": 22.17948717948718, "alnum_prop": 0.7132947976878613, "repo_name": "afiantara/apache-wicket-1.5.7", "id": "b57f2dae9e5442b342c2501683d8d070fc855e10", ...
package ReactorIO; import ReactorIO.EventLoop.EventLoop; import com.google.gson.Gson; import java.nio.ByteBuffer; import java.nio.channels.AsynchronousSocketChannel; import static com.ea.async.Async.await; /** * Created by faraonul on 5/26/17. */ public class Reactor { AsynchronousSocketChannel channel; p...
{ "content_hash": "3d3c624f8ea271bdc98632b39c7a79f4", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 74, "avg_line_length": 26.884615384615383, "alnum_prop": 0.7138769670958512, "repo_name": "alexandruionascu/pariaza-la-noroc", "id": "76c526472e20e24080f7f5e87542099992db7fa1...
Public Class Form3 Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load ' Ideiglenes End Sub End Class
{ "content_hash": "cd54b0a20b35be3ba70067c4cb7f4ecb", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 80, "avg_line_length": 29.4, "alnum_prop": 0.6938775510204082, "repo_name": "SolZe/SolZeWeb", "id": "855d8f390d9ee2ab5dba77108368a757fc88357a", "size": "149", "binary": fa...
<?xml version="1.0" encoding="ISO-8859-1"?> <Mpeg7 xmlns="urn:mpeg:mpeg7:schema:2004" xmlns:mpeg7="urn:mpeg:mpeg7:schema:2004" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mpeg:mpeg7:schema:2004 mpeg7-2004.xsd"> <Description xsi:type="ContentEntityType"> <MultimediaContent x...
{ "content_hash": "0679b50b5cc5c5b965482f13b39851a8", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 100, "avg_line_length": 30.361702127659573, "alnum_prop": 0.6874562018220042, "repo_name": "DataEngg/Semantic_Automobile", "id": "1811e71f0c14da86f517ef82dc7fa2738c61f42e", ...
/* * This source code is provided to illustrate the usage of a given feature * or technique and has been deliberately simplified. Additional steps * required for a production-quality application, such as security checks, * input validation and proper error handling, might not be present in * this sample code. *...
{ "content_hash": "54b1ab7eafb483361fa1fb8eed708cdf", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 74, "avg_line_length": 30.692307692307693, "alnum_prop": 0.658312447786132, "repo_name": "starlight95/jdk8samples", "id": "cabe5c47541c3663ae15eeec3c1f2d601b5008c5", "size"...
<?xml version="1.0" encoding="utf-8"?> <ldml xmlns:sil="urn://www.sil.org/ldml/0.1"> <identity> <version number="0.0.1"/> <generation date="2018-11-20 22:24:04"/> <language type="nvm"/> <special> <sil:identity defaultRegion="PG" script="Latn" draft="generated"/> </special> </identity> <localeDisplayName...
{ "content_hash": "8d75074a47e31335828f6ce41ee25a36", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 150, "avg_line_length": 44.065934065934066, "alnum_prop": 0.6778054862842893, "repo_name": "silnrsi/sldr", "id": "b0bd3ccc95e43f89a528a25961c71c82d0fa2a2e", "size": "4039",...
<?php use app\modules\auth\models\Users; use budyaga\cropper\Widget; use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\auth\models\Users */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="users-form"> <?php $form = ActiveForm::begin(['options' => [...
{ "content_hash": "e2ab449a0fdb220053eb5d76c439380b", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 150, "avg_line_length": 31.317073170731707, "alnum_prop": 0.5817757009345794, "repo_name": "artempetrovjava/portfolio", "id": "e351db57bc0bd3883ffb125f1c0098e8e1e8c91d", "s...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_20) on Wed Sep 15 06:19:18 BST 2010 --> <TITLE> O-Index </TITLE> <META NAME="date" CONTENT="2010-09-15"> <LINK REL ="stylesheet" TYPE="text/css" HR...
{ "content_hash": "747cb7f31214682934cb27fbd4a7c240", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 655, "avg_line_length": 79.4780701754386, "alnum_prop": 0.706583521880691, "repo_name": "foliveira/implant", "id": "f78c6e205a4deec76c15330e74cc1b44a45236a0", "size": "181...
New and improved version of [HTTP Archive](https://httparchive.org). This replaces the [legacy version](https://legacy.httparchive.org), the source code for which is still available at [HTTPArchive/legacy.httparchive.org](https://github.com/HTTPArchive/legacy.httparchive.org). ## Run Locally [Source](https://cloud.go...
{ "content_hash": "7a8064f1be5b01dd8ddf638183771e57", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 277, "avg_line_length": 24.350877192982455, "alnum_prop": 0.7456772334293948, "repo_name": "HTTPArchive/beta.httparchive.org", "id": "c65dac57be2a756a31acc3bc7a597ac89573dacb...
using System.Collections.Generic; using NDatabase.Api; using NDatabase.Btree; using NDatabase.Core.BTree; namespace NDatabase.Core.Query.List { /// <summary> /// A collection using a BTtree as a back-end component. /// </summary> /// <remarks> /// A collection using a BTtree as a back-end compo...
{ "content_hash": "f02b3c54cea9b5a83b01a3f11a177758", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 174, "avg_line_length": 34.97142857142857, "alnum_prop": 0.6764705882352942, "repo_name": "WaltChen/NDatabase", "id": "a2231e21d8cc09061ea7af20850a5078d592a9d3", "size": "1...
// Created by Ron 'Maxwolf' McDowell (ron.mcdowell@gmail.com) // Timestamp 12/31/2015@4:49 AM using System; using System.Collections.Generic; using WolfCurses.Window.Form; namespace WolfCurses.Window { /// <summary> /// Underlying game Windows interface, used by base simulation to keep track of what dat...
{ "content_hash": "6862386f3381af6af5a1267cea4fc08e", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 131, "avg_line_length": 41.01980198019802, "alnum_prop": 0.6002896451846488, "repo_name": "Maxwolf/WolfCurses", "id": "040c9eb66083522b34647f0e67971062039ba44e", "size": "...
from temboo.core.choreography import Choreography from temboo.core.choreography import InputSet from temboo.core.choreography import ResultSet from temboo.core.choreography import ChoreographyExecution import json class DeleteNotification(Choreography): def __init__(self, temboo_session): """ Cre...
{ "content_hash": "0c59d4c55794d25c6930af65cd9f8ee6", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 228, "avg_line_length": 43.723684210526315, "alnum_prop": 0.698164309359013, "repo_name": "egetzel/wecrow", "id": "f0427d48f62e2ff3b47ada8a78f2f0b709116f4c", "size": "3603"...
import React, { Component, PropTypes } from 'react'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; const CLASS_ROOT = CSSClassnames.CONTROL_ICON; const COLOR_INDEX = CSSClassnames.COLOR_INDEX; export default class Icon extends Co...
{ "content_hash": "4158762361554b61d76edee3d2f82b91", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 286, "avg_line_length": 28.68, "alnum_prop": 0.6464435146443515, "repo_name": "codeswan/grommet", "id": "8ed82a57182ce0e1c45ca6a8a82de07fa2377792", "size": "1504", "binar...
// Generated from /POI/java/org/apache/poi/sl/draw/geom/QuadToCommand.java #pragma once #include <java/awt/geom/fwd-POI.hpp> #include <java/lang/fwd-POI.hpp> #include <org/apache/poi/sl/draw/binding/fwd-POI.hpp> #include <org/apache/poi/sl/draw/geom/fwd-POI.hpp> #include <java/lang/Object.hpp> #include <org/apache/po...
{ "content_hash": "7c5f10ec4927b8a6685b9689bd32293b", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 108, "avg_line_length": 26.695652173913043, "alnum_prop": 0.6710097719869706, "repo_name": "pebble2015/cpoi", "id": "4b837e28ff3675c36c4b41255f62063b9ca6b552", "size": "122...
"""A common location for all perfkitbenchmarker-defined exceptions.""" import pprint class Error(Exception): pass class Setup(object): """Errors raised in setting up PKB.""" class MissingExecutableError(Error): """Error raised when we cannot find an executable we need.""" pass class NoRunURIError...
{ "content_hash": "050d404d0e139547a96a822cc3e40667", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 76, "avg_line_length": 24.558441558441558, "alnum_prop": 0.6602326811210999, "repo_name": "akshara775/PerfKitBenchmarker-master-2", "id": "dad08f1cb5856cb120c7e1481cdc46b12a...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Keyboard Input for chat-bubble</title> <!-- for mobile screens --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- stylesheets are conveniently separated into components --> <link rel="stylesheet" media="all" href=...
{ "content_hash": "1f9a3bacb0f2b34a10ca3462e95e3ccc", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 94, "avg_line_length": 27.168, "alnum_prop": 0.600412249705536, "repo_name": "dmitrizzle/chat-bubble", "id": "f742a64e4a2e54fd2c3cb38ad476ee8df31a6063", "size": "3408", ...
<!DOCTYPE html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![...
{ "content_hash": "80936a5c08156090b7ef36b1b6b963e4", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 151, "avg_line_length": 40.327586206896555, "alnum_prop": 0.5929884566053869, "repo_name": "sethvincent/jump-bud", "id": "fc3e27e1c72c738ee0674a133a679dba48338b70", "size":...
package org.apache.aries.blueprint.plugin.test; import org.apache.aries.blueprint.plugin.test.interfaces.ServiceA; import org.apache.aries.blueprint.plugin.test.interfaces.ServiceB; import org.ops4j.pax.cdi.api.OsgiService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.bean...
{ "content_hash": "37a24647ac925d86806a49883eda5aed", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 92, "avg_line_length": 23.25, "alnum_prop": 0.7085455574419921, "repo_name": "apache/aries", "id": "27e4280aca587f1cbbd2422b53d9d62a57cc1378", "size": "2583", "binary": f...
/* * File: Set.cpp * Author: matt * * Created on December 9, 2013, 3:04 PM */ #include "Set.h" #include "Deck.h" const std::vector<Set::SetType> Set::settypes() { return std::vector<Set::SetType>{Set::SetType::NORMAL, Set::SetType::ALL, Set::SetType::KANJI, Set::SetType::KANA}; } std::unordered_map<Set::SetT...
{ "content_hash": "172aa0022e1086beb4fc5da156752341", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 186, "avg_line_length": 35.909774436090224, "alnum_prop": 0.6063651591289783, "repo_name": "showermat/tango", "id": "3dd39965a8c31f152ffe99d51b6bc601295f4533", "size": "47...
<ns0:DryadDataFile xmlns:ns0="http://purl.org/dryad/schema/terms/v3.1" xmlns:ns2="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://purl.org/dryad/schema/terms/v3.1 http://datadryad.org/profile/v3.1/dryad.xsd"> <ns2:type>file</ns2:type> <ns2:creator>V&#233;z...
{ "content_hash": "37398cc398f3a45e38118e1ffdf622bb", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 268, "avg_line_length": 74.66666666666667, "alnum_prop": 0.7563775510204082, "repo_name": "NCEAS/metadig", "id": "7ffdc2a60dae274a8e82d5e41bcb445f8455d6d8", "size": "1568",...
import { createSelectorTree, createLeaf } from "reselect-tree"; const PAST_END_OF_TRACE = { depth: -1, //this is the part that matters! //the rest of this is just to look like a trace step error: "", gas: 0, memory: [], stack: [], storage: {}, gasCost: 0, op: "STOP", pc: -1 //this is not at all val...
{ "content_hash": "191a524f9621cc401828a8bf0d0ebf82", "timestamp": "", "source": "github", "line_count": 124, "max_line_length": 97, "avg_line_length": 23.10483870967742, "alnum_prop": 0.5968586387434555, "repo_name": "ConsenSys/truffle", "id": "008b3c52de8fef98ec871bef3ec374beaf1dd319", "size": "28...
package ist.meic.pa.tests; import ist.meic.pa.GenericFunctions.*; class Shape {} class Line extends Shape {} class Circle extends Shape {} class Device {} class Screen extends Device {} class Printer extends Device {} public class TestC { public static void main(String[] args) { final GenericFunction dra...
{ "content_hash": "ea71257653f8377b5aa6929fa57d9a15", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 66, "avg_line_length": 22.267441860465116, "alnum_prop": 0.6161879895561357, "repo_name": "diogoleitao/pava-reprise", "id": "5ed024eb45c29a2c8c1fffdba60079399f6e31ed", "siz...
<walkthrough-tutorial-duration duration="5"></walkthrough-tutorial-duration> ## Presentazione Questo tutorial illustra le funzionalità principali di Cloud Console che ti permettono di iniziare a creare e gestire le tue applicazioni su Google Cloud Platform. Potrai apprendere i seguenti concetti: * Risorse e prog...
{ "content_hash": "90df7ae0063c0586425581105f126643", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 269, "avg_line_length": 52.11206896551724, "alnum_prop": 0.8092638544251447, "repo_name": "GoogleCloudPlatform/cloud-shell-tutorials", "id": "15a21eaac55c3f9253588181d8a6d61...
import * as React from 'react' import styled from 'styled-components' import type { User, Profile } from 'types/user' import Avater from 'components/Avater' import TextAutoLink from 'components/TextAutoLink' import Navigation from './Navigation' const Header = ({ user, profile }: { user: User, profile: Profile }) => (...
{ "content_hash": "18e8c546450aa1428adcd9dbe27c1f67", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 77, "avg_line_length": 22.48936170212766, "alnum_prop": 0.6707663197729423, "repo_name": "akameco/PixivDeck", "id": "2c67d9ef29979fa6d80caac29217e679ec6c27ea", "size": "106...
@interface UsersCreationViewController() { CoreDataHelper *dataHelper; CurrentUser *currentUser; //This variable is to manage different size of screens CGFloat screenFactor; Utility *utility; NSArray *fetchedUsers; //if it is the view to change user or to add user, //we will show the plu...
{ "content_hash": "50d296d10d1f59b821319bf36db366a3", "timestamp": "", "source": "github", "line_count": 451, "max_line_length": 144, "avg_line_length": 35.671840354767184, "alnum_prop": 0.5977125808055693, "repo_name": "zzmax/Gujia-Sofa", "id": "792a9309883c849fb7d463230359c19fcf1c6eb6", "size": "1...
__author__ = 'andrei.muresan' from behave import when, then from selenium import webdriver from selenium.webdriver.common.keys import Keys
{ "content_hash": "859d69f9df4534672425e9c111915aba", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 47, "avg_line_length": 34.75, "alnum_prop": 0.7985611510791367, "repo_name": "raulpush/monitorizare-site", "id": "dc044746e749da92735db16e004cbd8edd6f2f35", "size": "139", ...
""" A telnet server which negotiates""" from __future__ import (absolute_import, division, print_function, unicode_literals) import argparse import os import sys import logging try: # Python 2 import SocketServer as socketserver except ImportError: # Python 3 import socketserver log...
{ "content_hash": "6048ab4de98b3843377321fd7b2f9a97", "timestamp": "", "source": "github", "line_count": 337, "max_line_length": 79, "avg_line_length": 30.376854599406528, "alnum_prop": 0.5767314642961805, "repo_name": "LiberatorUSA/GUCEF", "id": "f2f2ab5006783799120a2fed9f7006f9eed5d341", "size": "...
#ifndef _STDINT_H #define _STDINT_H /* * ISO C 99 <stdint.h> for platforms that lack it. * <http://www.opengroup.org/onlinepubs/007904975/basedefs/stdint.h.html> */ /* Get wchar_t, WCHAR_MIN, WCHAR_MAX. */ #include <stddef.h> /* Get CHAR_BIT, LONG_MIN, LONG_MAX, ULONG_MAX. */ #include <limits.h> /* Get those ...
{ "content_hash": "6b7883ed86accd2cb04e281217783439", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 78, "avg_line_length": 26.265917602996254, "alnum_prop": 0.7151005275916156, "repo_name": "execunix/vinos", "id": "ea3619d81c4495f75ddb29f80f796ab25f995c4a", "size": "7875...
#include "stdafx.h" #include "DuiDesigner.h" #include "MainFrm.h" #include "ResourceView.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CResourceViewBar CResourceViewBa...
{ "content_hash": "ed7922e3fe34dd3043e9457860516854", "timestamp": "", "source": "github", "line_count": 333, "max_line_length": 117, "avg_line_length": 24.44144144144144, "alnum_prop": 0.6680181840520949, "repo_name": "jeppeter/duilib", "id": "715254bc3f2e8ee51afaa9b1a424d7866d09bb49", "size": "854...
typedef struct Vector{ int x; int y; } Vector; typedef struct Sprite{ double frame; double angle; double temp_angle; int scale; SDL_Texture *image; SDL_Rect *rect; double w, h; void (*destroy)(void *self); } Sprite; typedef struct Player...
{ "content_hash": "e49439f15ddcc9f760c1827a18f551a9", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 39, "avg_line_length": 14.951219512195122, "alnum_prop": 0.5301794453507341, "repo_name": "maxweis/game", "id": "4e414a3a2f80002df707de974f827f718c7dbac5", "size": "670", ...
<!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_112) on Fri Jun 16 09:55:15 MST 2017 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Class org.wildfly.s...
{ "content_hash": "8cfea49951c9ae7b4f941c93ae79933d", "timestamp": "", "source": "github", "line_count": 260, "max_line_length": 594, "avg_line_length": 64.30384615384615, "alnum_prop": 0.6822776481847, "repo_name": "wildfly-swarm/wildfly-swarm-javadocs", "id": "f201a7b143543304c5f22c53e62216ece516c40...
Add New Employees -------- We have some new employees who will be starting at our company. We would like to see them added to our systems as soon as possible. -On the Dev Environment, the employees should be able to ssh onto the server and access data related to the projects they are assigned to. Employees should be a...
{ "content_hash": "fad64e71b4fe7a653e3d309ae25f08c3", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 220, "avg_line_length": 42.96153846153846, "alnum_prop": 0.7797672336615935, "repo_name": "ISEAGE-ISU/itocdc-2014-anomalies", "id": "1d61ef496cad29ea050212ea023fd03ae4384519"...
package org.jenkinsci.plugins.tcl.util; import java.io.IOException; import java.io.OutputStream; /** * Implements OutputStream with internal buffering and per-string output. * This class is being used as an IO wrapper in jTclTty * @see jTclTTY */ public abstract class StringOutputStream extends OutputStream { ...
{ "content_hash": "d4f54e3f9442cc16a952bdf0b6c0622f", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 73, "avg_line_length": 21.67391304347826, "alnum_prop": 0.5626880641925778, "repo_name": "oleg-nenashev/jenkins-tcl-plugin", "id": "d4712c5238aa0aea35c5428784e0a9de07f49ba0",...
layout: default --- <div class="post"> <header class="post-header"> <h1 class="post-title">{{ page.title }}</h1> </header> <article class="post-content"> {{ content }} </article> </div>
{ "content_hash": "a39ccf073f28235a299a9762fd4513a8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 48, "avg_line_length": 15.923076923076923, "alnum_prop": 0.5748792270531401, "repo_name": "STFFE/stffe.github.com", "id": "7edee0f2e524d7157dea5ceb4ba8227af35a20dd", "size"...
[![Build Status](https://img.shields.io/travis/shopwareLabs/sw-cli-tools/master.svg?style=flat-square)](https://travis-ci.org/shopwareLabs/sw-cli-tools) [![Scrutinizer Score](https://img.shields.io/scrutinizer/g/shopwareLabs/sw-cli-tools.svg?style=flat-square)](https://scrutinizer-ci.com/g/shopwareLabs/sw-cli-tools) [!...
{ "content_hash": "f719e4dda3534bb18e21446c10a1d514", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 336, "avg_line_length": 49.015228426395936, "alnum_prop": 0.7368475559237779, "repo_name": "janbuecker/sw-cli-tools", "id": "9617c5ac5f0a8c1e710bc2cefecd03d00b904f62", "si...
A partial ETL of SEER Medicare data into OMOP CDMv4 ### Original Purpose Outcomes Insights ETLed a subset of SEER Medicare data in preparation for a demonstration of [Jigsaw](http://jigsawanalytics.com/) to [NCI](http://www.cancer.gov/) in November, 2014. As members of the [CMS ETL Working Group](http://www.ohdsi.org...
{ "content_hash": "7ad18af90bb9114a477cce2f4b3813c4", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 454, "avg_line_length": 53.68181818181818, "alnum_prop": 0.7883149872988993, "repo_name": "outcomesinsights/seer_to_omop_cdmv4", "id": "99222e7d1a0a7e1aafa5ac990e6aa39dd85a16...
'use strict'; /** * The response of a list operation. */ class ResponseWithContinuationLab extends Array { /** * Create a ResponseWithContinuationLab. * @property {string} [nextLink] Link for next set of results. */ constructor() { super(); } /** * Defines the metadata of ResponseWithConti...
{ "content_hash": "b593426cca660ee879c8ba264a82afa8", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 64, "avg_line_length": 21.779661016949152, "alnum_prop": 0.488715953307393, "repo_name": "Azure/azure-sdk-for-node", "id": "9e6521bf828e5d0cff9644f82b81496ad95fb2b8", "size...
from . import simplify from .core import symbolic as _sym # comparison operations Equal = _sym('==') LessThan = _sym('<') GreaterThan = _sym('>') LessThanEq = _sym('<=') GreaterThanEq = _sym('>=') Add = _sym('+', identity=_sym(0), numeric='__add__', commutative=True, associative=True) Sub = _sym('-', ridentity=_sym(0...
{ "content_hash": "40f01f491baf8d7ab2f92b48a1d550b8", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 108, "avg_line_length": 52.34615384615385, "alnum_prop": 0.633357825128582, "repo_name": "AaronKel/uMath", "id": "17afcb158cc6e21360499e794a66fcac19e72bfd", "size": "1361",...
author: Elliot Forbes date: 2017-08-08T18:55:48+01:00 desc: In this tutorial we learn what Python Decorators are and how we can create our own within our Python applications series: python image: python.svg tags: - beginner title: Python Decorators Tutorial twitter: https://twitter.com/Elliot_F authorImage: https...
{ "content_hash": "b64a81f6787e95c51ca874fd4e5c5b8a", "timestamp": "", "source": "github", "line_count": 245, "max_line_length": 263, "avg_line_length": 33.28163265306122, "alnum_prop": 0.7615894039735099, "repo_name": "elliotforbes/tutorialedge-v2", "id": "2e4f23f038d94f8e11764fd756448070f9f5d0af", ...
// // YDNetworkSpeed.h // NetworkFlow // // Created by xuning on 2018/2/7. // Copyright © 2018年 Adways. All rights reserved. // #import <Foundation/Foundation.h> /** * @{@"received":@"100kB/s"} */ FOUNDATION_EXTERN NSString *const kNetworkReceivedSpeedNotification; /** * @{@"send":@"100kB/s"} */ FOUNDATION_EXT...
{ "content_hash": "6d44bbc5132ad2690dcff5cb93a4c113", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 70, "avg_line_length": 22.133333333333333, "alnum_prop": 0.7394578313253012, "repo_name": "TsuiOS/XNCodeLibrary", "id": "57b33cc040206eed48708535ff6a7b0c5d5405df", "size": ...
description: Learn how to troubleshoot your Docker Universal Control Plane cluster. keywords: docker, ucp, troubleshoot title: Troubleshoot your cluster --- If you detect problems in your UCP cluster, you can start your troubleshooting session by checking the logs of the [individual UCP components](../../architecture....
{ "content_hash": "24c46a568928a91b1c69cf8c192809c3", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 263, "avg_line_length": 47.03508771929825, "alnum_prop": 0.6948899664304364, "repo_name": "LuisBosquez/docker.github.io", "id": "d12f3507fff59a14a5ea545d2642945d839e1a0c", ...
/** * Reflection utilities for criteria */ package org.immutables.criteria.reflect;
{ "content_hash": "49e054e968974d70091996cebf2caee5", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 40, "avg_line_length": 14.5, "alnum_prop": 0.7471264367816092, "repo_name": "immutables/immutables", "id": "cdaf4c6d81b2267d3667c4c506e0b3fb74cd3709", "size": "702", "bina...
/** Solid CSS Framework. (Flat UI Design) jQuery PlugIn Helper Javascript Function Supprot List - ** sameHeight(element, options) // Adjust element base on max height ** navHiddder (element, options) // For Mobile drop down navigation **/ (function($) { $.fn.sameHeight = function ( optio...
{ "content_hash": "6b88f09c4fb887fbd3ef83ead555010a", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 63, "avg_line_length": 22.076923076923077, "alnum_prop": 0.5473867595818815, "repo_name": "reborncms/reborn", "id": "e9611ee00d5d5d553ab08ada49f21e372c18f45a", "size": "28...
import os import sys target_version = "3.0.0" def build_version(): distance ="0" try: from subprocess import Popen, PIPE prev_tag,distance,revision = Popen(["git", "describe", "--match", "[0-9]*", "--long"], cwd=os.path.dirname(__file__), ...
{ "content_hash": "4ddd4b731e2713a5332850e5a9fdaee1", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 94, "avg_line_length": 27.24137931034483, "alnum_prop": 0.49493670886075947, "repo_name": "zepheira/freemix", "id": "128de7730299aa886ae4ce0ad788290ad2f4a57e", "size": "790...
def example_sender(options = {}) example_contact options end def example_recipient(options = {}) example_contact options end def example_contact(options = {}) { Id: SecureRandom.uuid, Address: example_address, FirstName: "Werner", Surname: "Heisenberg", PhoneNumber: "12323-121211", Mobil...
{ "content_hash": "51299f07116b5b4d18ef396726dd6c76", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 35, "avg_line_length": 20.272727272727273, "alnum_prop": 0.6457399103139013, "repo_name": "veeqo/sendvia", "id": "d7cd150ee81c668347e5413f74c84a62f620da5f", "size": "669", ...
package de.fxnn.geld.io.mt940; import lombok.EqualsAndHashCode; import lombok.Value; @Value @EqualsAndHashCode(callSuper = true) public class Mt940AccountField extends SimpleMt940Field { /** * Interpretation of this field is specific to the bank. * * <p>Examples: * * <ul> * <li>IBAN * <li>...
{ "content_hash": "3bea7c2d8349e416fbe1e7a6fc280d24", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 78, "avg_line_length": 21.666666666666668, "alnum_prop": 0.6984615384615385, "repo_name": "fxnn/geld", "id": "5f7ca65ff85156e35ff751c3e704fd5e688f95ac", "size": "650", "b...
'use strict'; const msRest = require('ms-rest'); const msRestAzure = require('ms-rest-azure'); const WebResource = msRest.WebResource; /** * Lists a collection of the APIs associated with a product. * * @param {string} resourceGroupName The name of the resource group. * * @param {string} serviceName The name o...
{ "content_hash": "c2112fcce266fb4d5395de03704ac197", "timestamp": "", "source": "github", "line_count": 1198, "max_line_length": 224, "avg_line_length": 40.84974958263773, "alnum_prop": 0.6321876660264008, "repo_name": "AutorestCI/azure-sdk-for-node", "id": "827449eb00c18e84769b352ec3c17c60da86ef46",...
<?xml version="1.0" encoding="UTF-8"?> <!doctype html> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org"> <head> <title>JiraAlerts</title> </head> <body> <wicket:panel> <p><wicket:message key="card.body.status.text" /> <span class="badge badge-danger"><wicket:message ke...
{ "content_hash": "789ddcfd510125cc105b6ac4e8445aa7", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 95, "avg_line_length": 26.84375, "alnum_prop": 0.6158323632130385, "repo_name": "pDiller/JiraAlerts", "id": "b4d7159a87b8c56984a4383f25d5e2add3cfe589", "size": "859", "bi...
'use strict'; module.exports = function(ss, emitter) { var mid, active, config = {}; return { get http() { return active? active.http: null; }, get ws() { return active? active.ws: null; }, use: function(nameOrModule, cfg) { mid = nameOrModule; config = cfg ...
{ "content_hash": "cfda07dd090121a70b0618e83dce0408", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 108, "avg_line_length": 29, "alnum_prop": 0.5811359026369168, "repo_name": "socketstream/socketstream", "id": "462ceea90a96644dfcb1546d8f4e6b4efa30567d", "size": "1156", ...
<!DOCTYPE html> <!-- Copyright (c) 2014 The Chromium Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. --> <link rel="import" href="/tracing/base/base.html"> <link rel="import" href="/tracing/base/unittest.html"> <link rel="import" href="/tr...
{ "content_hash": "dc8c8cc56a6e69777852b4502fb32584", "timestamp": "", "source": "github", "line_count": 671, "max_line_length": 80, "avg_line_length": 28.849478390461996, "alnum_prop": 0.5945345593553053, "repo_name": "modulexcite/catapult", "id": "a1e38282dec79f2aecbb375ad9c670b3d42e56e7", "size":...
package loggers import ( "testing" "github.com/hyperledger/burrow/logging/structure" "github.com/stretchr/testify/assert" ) func TestVectorValuedLogger(t *testing.T) { logger := newTestLogger() vvl := VectorValuedLogger(logger) vvl.Log("foo", "bar", "seen", 1, "seen", 3, "seen", 2) lls, err := logger.logLines...
{ "content_hash": "b4184f76a10c7850836c8348ee3c5f29", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 80, "avg_line_length": 24.5, "alnum_prop": 0.6757369614512472, "repo_name": "eris-ltd/eris-db", "id": "22221a2c4d3b32699acd019f89a34c9b7ff60b9f", "size": "519", "binary":...
module Brevity class FileNode < Treetop::Runtime::SyntaxNode def command_nodes nodes.elements.select {|el| el.node.is_a? CommandNode }.map {|el| el.node } end end end
{ "content_hash": "cd8d7a5515adc750ea5e1fb21a0aa58d", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 81, "avg_line_length": 26.428571428571427, "alnum_prop": 0.6810810810810811, "repo_name": "jamestunnell/brevity", "id": "040158cb3a2655911dabcea320ce3127a3d96709", "size": "...
namespace cr_fuchsia { class AgentManager; } FORWARD_DECLARE_TEST(HeadlessCastRunnerIntegrationTest, Headless); // A specialization of WebComponent which adds Cast-specific services. class CastComponent final : public WebComponent, public base::MessagePumpFuchsia::ZxHandleWatcher { public...
{ "content_hash": "c6f6f577c7e2ae3d86cd26330445d849", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 80, "avg_line_length": 40.042735042735046, "alnum_prop": 0.7346851654215582, "repo_name": "scheib/chromium", "id": "d1ed3b0ec4e1d9f621334420748404f719b11e9c", "size": "574...
<?php namespace Dami\Cli; use Symfony\Component\DependencyInjection\Compiler\PassConfig; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\Config\FileLocator; use Symfony\Component\Yaml\Yaml; use Dami\DependencyInjection\DamiExtension; use Rentgen\DependencyInjection\RentgenExtension;...
{ "content_hash": "fd827099c19e480d56264e2199811af4", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 80, "avg_line_length": 26.42222222222222, "alnum_prop": 0.6854499579478553, "repo_name": "czogori/Dami", "id": "e1cf9791766a83b481f77dfcd78b8c2faf398408", "size": "1189", ...
<?xml version="1.0" encoding="UTF-8" ?> <!-- Copyright (c) 2010-2012 International Business Machines Corporation and others. All rights reserved. --> <!DOCTYPE ldml SYSTEM "http://www.unicode.org/repos/cldr/trunk/common/dtd/ldml.dtd" [ <!ENTITY % icu SYSTEM "http://www.unicode.org/repos/cldr/trunk/common/dtd/ldmlIC...
{ "content_hash": "a810d9f4ec72b614b38f75eb83bc355e", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 101, "avg_line_length": 25.45, "alnum_prop": 0.5451866404715128, "repo_name": "indashnet/InDashNet.Open.UN2000", "id": "162281fe4c1b851f03fda31abea836607f2ed144", "size": "...
package org.wso2.charon.core.exceptions; import org.wso2.charon.core.protocol.ResponseCodeConstants; /** * If the requested resource is not found, this exception is thrown. * HTTP error code is: 404 NOT FOUND */ public class NotFoundException extends AbstractCharonException { public NotFoundException() { ...
{ "content_hash": "1a04d1581f0539b3150f6dfed0de79ba", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 68, "avg_line_length": 26.88235294117647, "alnum_prop": 0.75054704595186, "repo_name": "maheshika/charon", "id": "3f6559dd9300d21d20816c1f7ddda55fc74706af", "size": "1124",...
#ifndef _WX_GTK_BMPCBOX_H_ #define _WX_GTK_BMPCBOX_H_ #include "wx/combobox.h" // ---------------------------------------------------------------------------- // wxBitmapComboBox: a wxComboBox that allows images to be shown // in front of string items. // --------------------------------------------------...
{ "content_hash": "8b77e118a379a80ab05d317a06ea8dc0", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 87, "avg_line_length": 35.8768115942029, "alnum_prop": 0.5703898202383357, "repo_name": "geovens/TransWinove", "id": "71d9aa99b76bcd993fe4f640404a1d73ab386d61", "size": "5...
<?php namespace HWI\Bundle\OAuthBundle\Twig\Extension; use HWI\Bundle\OAuthBundle\Templating\Helper\OAuthHelper; /** * OAuthExtension. * * @author Joseph Bielawski <stloyd@gmail.com> */ class OAuthExtension extends \Twig_Extension { /** * @var OAuthHelper */ protected $helper; /** *...
{ "content_hash": "ae539ac3855d6f3ac7ae9932af25ebea", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 105, "avg_line_length": 21.6875, "alnum_prop": 0.5890489913544669, "repo_name": "dmatora/HWIOAuthBundle", "id": "58357cbaf0fe421afb54b1751fbaf2db6edc97de", "size": "1974", ...
var NAVTREE = [ [ "Flurry Android 5.5.0", "index.html", [ [ "Deprecated List", "deprecated.html", null ], [ "Classes", null, [ [ "Class List", "annotated.html", "annotated" ], [ "Class Members", "functions.html", [ [ "All", "functions.html", null ], [ "Functions", "functions_func.h...
{ "content_hash": "77782f01e097deeec2924d5737b6f3e4", "timestamp": "", "source": "github", "line_count": 537, "max_line_length": 102, "avg_line_length": 28.532588454376164, "alnum_prop": 0.6057955880433363, "repo_name": "barakyoresh/AlzheimerTest", "id": "a9efcc9c273f4d5e037077b49d112d21c6bce29e", "...
using OAuthWPDemo.Resources; namespace OAuthWPDemo { /// <summary> /// Provides access to string resources. /// </summary> public class LocalizedStrings { private static AppResources _localizedResources = new AppResources(); public AppResources LocalizedResources { get { return _l...
{ "content_hash": "8b3b500af03220a0ede90bea5b9dd229", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 86, "avg_line_length": 25, "alnum_prop": 0.68, "repo_name": "yammer/windows-phone-oauth-sdk-demo", "id": "303b59572dcb220f4bc0df2657f7fef618ce57cd", "size": "352", "binar...
<?xml version="1.0" encoding="UTF-8"?> <!-- You may freely edit this file. See commented blocks below for --> <!-- some examples of how to customize the build. --> <!-- (If you delete it and reopen the project it will be recreated.) --> <!-- By default, only the Clean and Build commands use this build script. --> <!-- ...
{ "content_hash": "0485ef5e584770075a66185c9e518fb7", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 86, "avg_line_length": 48.19178082191781, "alnum_prop": 0.6517907902217169, "repo_name": "magikid/java2", "id": "bad18270e421e746f8ba75f5a9ded112607eda52", "size": "3518", ...
SYNONYM #### According to Index Fungorum #### Published in Bidr. Känn. Finl. Nat. Folk 19: 103 (1871) #### Original name Peziza aeruginascens Nyl. ### Remarks null
{ "content_hash": "17790b4843350383b2f983c9dccf7975", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 42, "avg_line_length": 12.846153846153847, "alnum_prop": 0.688622754491018, "repo_name": "mdoering/backbone", "id": "38afdf4afac66b691a9091986fbca8b489b0862b", "size": "237...
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.airavata.cloud.aurora.client.sdk; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.Standar...
{ "content_hash": "19c250bcc215dc5541afc09f4c88c0a1", "timestamp": "", "source": "github", "line_count": 1593, "max_line_length": 186, "avg_line_length": 32.04645323289391, "alnum_prop": 0.6238589618021547, "repo_name": "gouravshenoy/airavata", "id": "f739bf54721b0bb6fc3447cdfe9c3c673af1275d", "size...
namespace { const int kCookieInfoViewBorderSize = 1; const int kCookieInfoViewInsetSize = 3; } // namespace /////////////////////////////////////////////////////////////////////////////// // CookieInfoView, public: CookieInfoView::CookieInfoView(bool editable_expiration_date) : name_label_(NULL), name_va...
{ "content_hash": "49733c85d2b9c9e479e6d04448fb7071", "timestamp": "", "source": "github", "line_count": 257, "max_line_length": 79, "avg_line_length": 38.49805447470817, "alnum_prop": 0.6705073782090155, "repo_name": "loopCM/chromium", "id": "b9e73d3920e243b0443f78c09fb3cc170532b4f8", "size": "1087...
<?xml version="1.0" encoding="utf-8"?> <BuildConfig> <DefaultLanguage> ru </DefaultLanguage> <PackageType> in_app_test|release </PackageType> </BuildConfig>
{ "content_hash": "68bafe81ae4813a9f60eac75ca4a9c35", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 38, "avg_line_length": 20.88888888888889, "alnum_prop": 0.6170212765957447, "repo_name": "Vigelforts/TestProject", "id": "e87a1927868a761f9a5aea10f635c2363a79d398", "size": ...
<?php if (!class_exists('DOPBSPViewsBackEndSettingsUsers')){ class DOPBSPViewsBackEndSettingsUsers extends DOPBSPViewsBackEndSettings{ /* * Constructor */ function __construct(){ } /* * Returns users setti...
{ "content_hash": "754a9c5dcc602df5261cf3c8d43cc729", "timestamp": "", "source": "github", "line_count": 236, "max_line_length": 404, "avg_line_length": 51.90677966101695, "alnum_prop": 0.4676734693877551, "repo_name": "keynetic/kpress", "id": "55e5229e167edf23903529151162dcba7cebace3", "size": "127...
/** * */ package com.velocity.model.captureAll.response; /** * @author ranjitk * */ public class ArrayOfResponse { private String status; private String statusCode; private String statusMessage; private String transactionId; private String originatorTransactionId; private...
{ "content_hash": "8fcbae6e8491ddebda9e9d8c5dba2619", "timestamp": "", "source": "github", "line_count": 270, "max_line_length": 81, "avg_line_length": 20.05185185185185, "alnum_prop": 0.7155522718876985, "repo_name": "nab-velocity/android-sdk", "id": "bbd4a17643d5a6b12aa24a516e32cea2be842b4c", "siz...
// Copyright 2013-2022, University of Colorado Boulder /** * OF2 Molecule * * @author Chris Malley (PixelZoom, Inc.) */ import { combineOptions, EmptySelfOptions } from '../../../phet-core/js/optionize.js'; import Element from '../Element.js'; import nitroglycerin from '../nitroglycerin.js'; import AtomNode, { At...
{ "content_hash": "0d7e8c22d239660c3b3f5544cf17eeb8", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 86, "avg_line_length": 33.073170731707314, "alnum_prop": 0.717551622418879, "repo_name": "phetsims/nitroglycerin", "id": "c8fcf68a6b81d0af5f566957958ae4784f341124", "size":...
package com.regeneration.springboot.servicewebapp.services; import com.regeneration.springboot.servicewebapp.exceptions.InvalidCredentialsException; import com.regeneration.springboot.servicewebapp.model.Repair; import com.regeneration.springboot.servicewebapp.model.User; import com.regeneration.springboot.serviceweba...
{ "content_hash": "5e2ee80fac78b9fd83bb1d80bc94e322", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 95, "avg_line_length": 27.357142857142858, "alnum_prop": 0.7371627502175805, "repo_name": "Regeneration-Team-2/webappservice", "id": "aa5016f3b29af47505c4dd11af2b63feb835151a...
"""This file contains some utilities used for processing tweet data and writing data to BigQuery """ import collections import datetime import time from apiclient import discovery import dateutil.parser import httplib2 from oauth2client.client import GoogleCredentials SCOPES = ['https://www.googleapis.com/auth/pubsu...
{ "content_hash": "f61055b7b3a89c7be783b89ce6d0fcb4", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 79, "avg_line_length": 28.92105263157895, "alnum_prop": 0.6942675159235668, "repo_name": "LorenzoRidiNoovle/gcp-black-friday-analytics", "id": "19f5d67666f3ab097e4ba147dc2b36...
<?php namespace Crossknowledge\OrderManagementBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilder; class DetailCommandeType extends AbstractType { public function buildForm(FormBuilder $builder, array $options) { $builder // ->add('type', 'choice', ...
{ "content_hash": "874522978de3b1716f56808108852f9e", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 235, "avg_line_length": 56.767857142857146, "alnum_prop": 0.5033029254482542, "repo_name": "alexandrechouraqui/Achats", "id": "1cb4ecd949a2d03e36c4d115dfc79e66adb40642", "s...
namespace Server.Engines.Reports { using System; using System.Collections; /// <summary> /// Strongly typed collection of Server.Engines.Reports.PersistableObject. /// </summary> public class ObjectCollection : System.Collections.CollectionBase { /// <summary> ...
{ "content_hash": "f4183f8a6f3dcab2b6761ec7e4681bdd", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 171, "avg_line_length": 37.702564102564104, "alnum_prop": 0.5225788900979326, "repo_name": "ggobbe/vivre-uo", "id": "8dfed35ac0d9b0bf4befce7647e1e33e3fc1a7f8", "size": "77...
ActiveRecord::Schema.define(:version => 20150220170740) do create_table "conversations", :force => true do |t| t.string "state_machine" t.string "subject" t.boolean "closed" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end create_table "people", ...
{ "content_hash": "f165b14b45020fa819c6974d732809cc", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 58, "avg_line_length": 27.235294117647058, "alnum_prop": 0.6198704103671706, "repo_name": "chrisortman/acts_as_state_machine", "id": "bc2420edc937c5e1aeb23495eec311338a37a859...
<!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_101) on Thu Jun 08 16:50:42 EEST 2017 --> <title>Uses of Interface com.teamdev.jxbrowser.chromium.DownloadHandler (JxBrowser 6.14.1 API)</...
{ "content_hash": "54e41414a6625b577d7df2d952fdbfd9", "timestamp": "", "source": "github", "line_count": 213, "max_line_length": 433, "avg_line_length": 48.70422535211268, "alnum_prop": 0.6585695006747638, "repo_name": "andrasigneczi/TravelOptimizer", "id": "e17a7256b6ecdcf2d1de88a9a7b05d2ee4817366", ...
#include "stdlib/math/base/special/sqrt.h" #include <math.h> /** * Computes the principal square root of a double-precision floating-point number. * * @param x number * @return principal square root * * @example * double y = stdlib_base_sqrt( 9.0 ); * // returns 3.0 */ double stdlib_base_sqrt( const dou...
{ "content_hash": "201c357a14a80d32fb7337f25fc4fe34", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 81, "avg_line_length": 19.5, "alnum_prop": 0.6581196581196581, "repo_name": "stdlib-js/stdlib", "id": "9a3a365b893ecbfdfc96b0d82a3ca6e746a3f038", "size": "967", "binary":...
(async function() { TestRunner.addResult(`Tests that the content of resources with JSON MIME types can be accessed.`); TestRunner.addResult('When loaded by asynchronous XHR requests (Bug 80684) or within iframes/documents.\n'); await TestRunner.loadTestModule('network_test_runner'); await TestRunner.loadLegacy...
{ "content_hash": "da7b112d5c36b56014f93af2f8caa313", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 110, "avg_line_length": 32.29824561403509, "alnum_prop": 0.690385659967409, "repo_name": "chromium/chromium", "id": "3d7a42a68fa623a50bc0c5e255d1ba35a2dc9870", "size": "198...
package org.geogit.api; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.geogit.api.RevObject.TYPE; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import com.google.common.base.Opti...
{ "content_hash": "88655437f85eac9508b729acdffde2a7", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 94, "avg_line_length": 34.723076923076924, "alnum_prop": 0.6464333185644661, "repo_name": "state-hiu/GeoGit", "id": "1ff14317acb5f9693f6563af449aef780bcaefe1", "size": "241...
require 'tiny_tds' require 'date' #Connect to your database. #Replace server name, username, and password with your credentials client = TinyTds::Client.new username: 'username@servername', password: 'password', host: 'servername.database.windows.net', port: 1433, database: 'AdventureWorks', azure:true #SELECT #Execu...
{ "content_hash": "410ae4b49a31fc4d91eb8b7217599400", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 110, "avg_line_length": 35.829268292682926, "alnum_prop": 0.7556160653505786, "repo_name": "Azure/azure-sql-database-samples", "id": "d2d806d049964204af3e80f001f4c7660fcce7e0...
vtk_module(vtkFiltersCosmo DEPENDS vtkCommonExecutionModel vtkParallelCore vtkCosmo )
{ "content_hash": "6adcd75cde7fa2c138aea48dfe9e57f1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 27, "avg_line_length": 17, "alnum_prop": 0.7549019607843137, "repo_name": "aashish24/VTK-old", "id": "426d619c933132ae3342fb3b06e4ac451727555e", "size": "102", "binary": f...
import Component from '@ember/component'; import { computed } from '@ember/object'; import FormMixin from 'open-event-frontend/mixins/form'; import { sumBy } from 'lodash'; export default Component.extend(FormMixin, { tickets: computed('data.tickets', function() { return this.get('data.tickets').sortBy('position...
{ "content_hash": "2ef9035339afcafe946e5ae71083a943", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 137, "avg_line_length": 36.205128205128204, "alnum_prop": 0.6331444759206799, "repo_name": "ritikamotwani/open-event-frontend", "id": "09bf4f7478fdb599005771d2ddd07c1253ab383...
/* CFLocale.h Copyright (c) 2002-2014, Apple Inc. All rights reserved. */ #if !defined(__COREFOUNDATION_CFLOCALE__) #define __COREFOUNDATION_CFLOCALE__ 1 #include <CoreFoundation/CFBase.h> #include <CoreFoundation/CFArray.h> #include <CoreFoundation/CFDictionary.h> CF_IMPLICIT_BRIDGING_ENABLED CF_EXTERN_C_BEGIN ...
{ "content_hash": "38a0bc003ac81903f3da9ff6525b20f0", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 134, "avg_line_length": 44.01538461538462, "alnum_prop": 0.8128859373179541, "repo_name": "WymanLyu/WYDemo", "id": "21edcc2ab09034ec45bc7cf2fa256a3b5277d9f8", "size": "954...
#include <nanokernel.h> #include "board.h" #include <uart.h> #include <device.h> #include <init.h> #if defined(CONFIG_NETWORKING_WITH_15_4_TI_CC2520) #include <gpio.h> static struct device *cc2520_gpio_config[CC2520_GPIO_IDX_LAST_ENTRY]; struct device **cc2520_configure_gpios(void) { struct device *gpio; const...
{ "content_hash": "6020436287fa8bfc1b695a38faca1b75", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 71, "avg_line_length": 31.77777777777778, "alnum_prop": 0.7321678321678322, "repo_name": "32bitmicro/zephyr", "id": "3b3e38dc81234c6a7820a7ff66a3ae6e9d77d089", "size": "203...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "acda26916e4751dadcb35bbb69b019e7", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "7b59df38e0ba5f81987b8e4114b5636c54bf01fa", "size": "190...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "683a7fd25132bb5dd35d7e689160536f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "41da29bfdaf0890cce1c1dadcaa42c76db152a99", "size": "189...
(function() { function vendorModule() { 'use strict'; return { 'default': self['moment'], __esModule: true, }; } define('moment', [], vendorModule); })();
{ "content_hash": "313ba71e6165effd3de6f8e3a0d02be8", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 37, "avg_line_length": 15.583333333333334, "alnum_prop": 0.5133689839572193, "repo_name": "IoraHealth/ember-icis-model", "id": "2c0e681b40e421476a049853d97f8e96d94d92f5", "...
NSString *const MPHDockIconBouncesKey = @"dock-bounces"; NSString *const MPHDockIconBouncesRepeatedlyKey = @"dock-bounces-repeatedly"; NSString *const MPHDockIconBadgesKey = @"dock-badge"; NSString *const MPHDockIconBadgeLineKey = @"dock-badge-shows-line"; NSString *const MPHDockIconBadgeServiceKey = @"dock-badge...
{ "content_hash": "801896223ee8af7adade3d041d1defdf", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 85, "avg_line_length": 33.96666666666667, "alnum_prop": 0.7718351324828263, "repo_name": "zadr/8mph", "id": "467d5c536f051b35d39ae68401cddeadd270dc8d", "size": "2082", "b...
<section class="chat-app"> <div class="main"> <div class="page-container"> <div class="row"> <div class="col-sm-12"> <form class="form" name="form" ng-submit="login(form)" novalidate> <div class="form-group"> ...
{ "content_hash": "ec3192632b5e556d3c92d0a93407b08a", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 114, "avg_line_length": 42.666666666666664, "alnum_prop": 0.416015625, "repo_name": "dmmat/chat", "id": "0743024ca5b68042383879f18aa6f37e26354ab8", "size": "1536", "binar...
package com.teamwizardry.refraction.common.tile; import com.teamwizardry.librarianlib.features.autoregister.TileRegister; import com.teamwizardry.librarianlib.features.network.PacketHandler; import com.teamwizardry.librarianlib.features.utilities.DimWithPos; import com.teamwizardry.refraction.api.MultipleBeamTile; imp...
{ "content_hash": "5b58496803d5efb94cd9ca22b1307ba9", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 186, "avg_line_length": 36.08653846153846, "alnum_prop": 0.7138289368505196, "repo_name": "TeamWizardry/TMT-Refraction", "id": "8d6498d721c481be819755ec26ef13e62cdac512", ...
module TreeHelper FILE_LIMIT = 1_000 # Sorts a repository's tree so that folders are before files and renders # their corresponding partials # # tree - A `Tree` object for the current tree # rubocop: disable CodeReuse/ActiveRecord def render_tree(tree) # Sort submodules and folders together by name a...
{ "content_hash": "9040efa2f1dc552c76afcf5f0f26431d", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 141, "avg_line_length": 32.55026455026455, "alnum_prop": 0.6583224967490247, "repo_name": "stoplightio/gitlabhq", "id": "afa057421e03733e57ec1c570ac0dec878b22e90", "size":...
"""A simple script to run peanuts.""" from peanuts import create_app app = create_app('config/main.py') if __name__ == '__main__': app.run()
{ "content_hash": "3dee806516da102c57c8c7818b0add97", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 37, "avg_line_length": 16.555555555555557, "alnum_prop": 0.610738255033557, "repo_name": "astex/peanuts", "id": "2bd1aba33ff58a1d3c9b6671d14fa10aa000c5d4", "size": "149", ...
namespace ray { namespace rpc { #define JOB_INFO_SERVICE_RPC_HANDLER(HANDLER) \ RPC_SERVICE_HANDLER(JobInfoGcsService, HANDLER) #define ACTOR_INFO_SERVICE_RPC_HANDLER(HANDLER) \ RPC_SERVICE_HANDLER(ActorInfoGcsService, HANDLER) #define NODE_INFO_SERVICE_RPC_HANDLER(HANDLER) \ RPC_SERVICE_HANDLER(NodeInfoGcsSer...
{ "content_hash": "d59ce253ef65eba97380affbc696a1b3", "timestamp": "", "source": "github", "line_count": 487, "max_line_length": 88, "avg_line_length": 42.75770020533881, "alnum_prop": 0.6677231907025885, "repo_name": "robertnishihara/ray", "id": "dc15a35c2b2365da514e1e70ed609df599c345bb", "size": "...
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="html/html; charset=utf-8" /> <title>RNFPlistConfigurationLoader Class Reference</title> <meta id="xcode-display" name="xcode-display" content="render"/> <link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" /> <link ...
{ "content_hash": "2426c691ce6aea443cf5a64c0e8a2aca", "timestamp": "", "source": "github", "line_count": 318, "max_line_length": 159, "avg_line_length": 26.78930817610063, "alnum_prop": 0.6317642915835192, "repo_name": "vittoriom/RNFPlaceholder", "id": "ff98496ad56335070499df92125a605f4b85714f", "si...
using System.Web.Mvc; using System.Web.Routing; namespace Tellurium.Sample.Website { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); routes.MapRoute( name: "Default...
{ "content_hash": "786740c67ed91f87a59c58f08191bacc", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 99, "avg_line_length": 26.68421052631579, "alnum_prop": 0.5562130177514792, "repo_name": "cezarypiatek/Tellurium", "id": "8f824664875968c9414869a05cf32f0675d92d55", "size":...
package org.apache.oro.text.awk; import java.util.*; /** * @version @version@ * @since 1.0 */ class StarNode extends SyntaxNode { SyntaxNode _left; StarNode(SyntaxNode child){ _left = child; } boolean _nullable() { return true; } BitSet _firstPosition() { return _left._firstPosition(); } ...
{ "content_hash": "5848a2c297eff17083d9d72462134ad0", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 61, "avg_line_length": 17.88372093023256, "alnum_prop": 0.6189856957087126, "repo_name": "anylineorg/anyline", "id": "eedf3b35bb843f5fcd0007ff87cb03e330ffb9ac", "size": "35...
/* * See: https://developer.mozilla.org/fr/docs/Web/JavaScript/Guide/Boucles_et_it%C3%A9ration */ // This script requires ECMAScript 6 or above. var tab = ["one", "two", "three"]; for(var i of tab) { print(i); }
{ "content_hash": "f8d2fd4fc30595e13e3277ceefc9b379", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 92, "avg_line_length": 18.5, "alnum_prop": 0.6441441441441441, "repo_name": "jeremiedecock/snippets", "id": "9f997e2285f960d3fe0d4174132810769c051903", "size": "222", "bi...
from datetime import datetime, timedelta import functools import numpy as np import pandas as pd from .options import OPTIONS from .pycompat import (OrderedDict, iteritems, itervalues, unicode_type, bytes_type, dask_array_type) def pretty_print(x, numchars): """Given an object `x`, call `...
{ "content_hash": "4b724401f41551cca461116eb8ae2078", "timestamp": "", "source": "github", "line_count": 278, "max_line_length": 79, "avg_line_length": 32.94604316546763, "alnum_prop": 0.6103286384976526, "repo_name": "cpaulik/xray", "id": "c2de46fa1be315b7b40059d00c37880d0541096d", "size": "9159", ...