text
stringlengths
2
1.04M
meta
dict
#source `brew --prefix`/etc/grc.bashrc #fi
{ "content_hash": "f7e9d6f3e22eb706706aa67916b661f4", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 40, "avg_line_length": 22.5, "alnum_prop": 0.6666666666666666, "repo_name": "clintkelly/dotfiles", "id": "4a20d72533fbb535d0a13feffe40a5f4a90184c7", "size": "155", "binary...
using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Windows; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated ...
{ "content_hash": "5ad8ace92dd953bd1599054ac2fe93da", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 96, "avg_line_length": 40.61818181818182, "alnum_prop": 0.7551477170993733, "repo_name": "goofwear/Kodi-Netflix-Utilities", "id": "b8b206b72d2bea1ccb98b98a3a9901b4faf0f974", ...
var renderer; var canvas; function Renderer(width, height, canvas) { this.canvas = canvas; if (!this.canvas.getContext) { alert ("Requires a browser that supports HTML5 Canvas"); throw "Canvas fail"; } this.context = this.canvas.getContext("2d"); if (!this.context) { alert ("Error getting canvas 2d con...
{ "content_hash": "06f398d1431c61365520032e12f6d374", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 88, "avg_line_length": 22.066666666666666, "alnum_prop": 0.6702632714717307, "repo_name": "lasty/ld31_onescreen", "id": "4bb15bb51c8d54eeb7c14f7ed612eef778896f17", "size":...
package me.mtrupkin.control import java.lang.Math._ import javafx.scene.control.Label import javafx.scene.layout.{Pane, StackPane} import javafx.scene.paint.{Paint, Color} import javafx.scene.text.{Font, FontWeight} import me.mtrupkin.console.{RGB, Screen, ScreenChar} import me.mtrupkin.core.{Matrix, Point, ...
{ "content_hash": "9e2c965f1634d3e719308f9d4a531327", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 74, "avg_line_length": 26, "alnum_prop": 0.6333333333333333, "repo_name": "mtrupkin/omicron", "id": "890e2d2939fab6477fb254fb9864a20ab3c15e81", "size": "2340", "binary": ...
""" Base and utility classes for pandas objects. """ from collections import OrderedDict import textwrap import warnings import numpy as np import pandas._libs.lib as lib import pandas.compat as compat from pandas.compat import PYPY, builtins, map, range from pandas.compat.numpy import function as nv from pandas.erro...
{ "content_hash": "1c65f9ce8c668202efa90cb5972382ca", "timestamp": "", "source": "github", "line_count": 1558, "max_line_length": 79, "avg_line_length": 31.86007702182285, "alnum_prop": 0.5278012812764414, "repo_name": "MJuddBooth/pandas", "id": "f896596dd5216cf0a33371940682a734f02e0485", "size": "4...
Bastion: Default instance type: f1-micro (can be changed in terraform.tfvars). All SSH connectivity and tunnels go through this host. Jenkins & Spinnaker host: Default instance type: n1-highmem-8 (can be changed in terraform.tfvars but this is the smallest recommended size due to Spinnakers memory requirements). Acces...
{ "content_hash": "a8ee42f73dc84043409a7479f7bdcf0b", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 324, "avg_line_length": 52.9375, "alnum_prop": 0.7564513408669253, "repo_name": "jpancoast-kenzan/spinnaker-terraform", "id": "9f3b093494497278a5d6796a48ac2e096e76a89e", "...
title: Bokningar inshort: Kunden själv reservationer translator: Microsoft Cognitive Services --- Kunden själv reservationer
{ "content_hash": "b98ce839765969eb1dc1a98134c2c24e", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 40, "avg_line_length": 16, "alnum_prop": 0.8203125, "repo_name": "Hexatown/docs", "id": "1d993b9bed310e073399d6d058a843aa1ee013da", "size": "134", "binary": false, "copi...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "834f61c67051c8375e89f4ea8ce471c9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "c2d60ed8e1fbef747fe75e162213bf992152b9ec", "size": "19...
<?xml version="1.0"?> <cd:ProductDefinition xmlns:cd="http://www.stcorp.nl/coda/definition/2008/07" id="OMTO3" format="hdf5" last-modified="2016-09-19"> </cd:ProductDefinition>
{ "content_hash": "13727e508bf8a88b54ce9c1bbb030591", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 130, "avg_line_length": 59, "alnum_prop": 0.7288135593220338, "repo_name": "stcorp/harp", "id": "a7df4f434bb13dd9d4762ac07f8d704e33a36d9e", "size": "177", "binary": false,...
require "keg" require "language/python" require "formula" require "version" require "development_tools" require "utils/shell" module Homebrew module Diagnostic def self.missing_deps(ff, hide = nil) missing = {} ff.each do |f| missing_dependencies = f.missing_dependencies(hide: hide) n...
{ "content_hash": "5a4d9b04e711a119f47d9cde9c8bedad", "timestamp": "", "source": "github", "line_count": 791, "max_line_length": 126, "avg_line_length": 34.686472819216185, "alnum_prop": 0.5865072712031199, "repo_name": "DomT4/brew", "id": "56eb943260892da9f55b4bc9fdec4e3336e287a6", "size": "27437",...
require 'spec_helper' describe Songkick::OAuth2::Provider::Authorization do let(:resource_owner) { TestApp::User['Bob'] } let(:authorization) { Songkick::OAuth2::Provider::Authorization.new(resource_owner, params) } let(:params) { { 'response_type' => 'code', 'client_id' => @client.c...
{ "content_hash": "f99008b3746184bae9883e8a26365f92", "timestamp": "", "source": "github", "line_count": 357, "max_line_length": 173, "avg_line_length": 32.529411764705884, "alnum_prop": 0.6286919831223629, "repo_name": "GSA/oauth2-provider", "id": "e259d87d9039dade05ea214d5e2f954f46752846", "size":...
using System; using System.Collections; using System.Windows.Forms; using System.Collections.Specialized; using System.Data; using System.Data.OleDb; using System.Reflection; using C1.Win.C1Preview; using PCSComUtils.Common; using PCSUtils.Utils; namespace MonthlyReturnGoodsReceipt { [Serializable] p...
{ "content_hash": "81ce7767b374fd3065bf6c65b21e8175", "timestamp": "", "source": "github", "line_count": 405, "max_line_length": 157, "avg_line_length": 35.39012345679012, "alnum_prop": 0.6489220679550687, "repo_name": "dungle/pcs", "id": "ebf4f1ad96079e71117c8520849afdfa3667bb25", "size": "14333", ...
<!DOCTYPE html> <html lang="en"> <head> <title>PresentationContextKind Structure Reference</title> <link rel="stylesheet" type="text/css" href="../css/jazzy.css" /> <link rel="stylesheet" type="text/css" href="../css/highlight.css" /> <meta charset='utf-8'> <script src="../js/jquery.min.js" defer>...
{ "content_hash": "a1ea098a055720f70c2891083e448985", "timestamp": "", "source": "github", "line_count": 1539, "max_line_length": 408, "avg_line_length": 49.06432748538012, "alnum_prop": 0.4978148589590783, "repo_name": "zmian/xcore.swift", "id": "7bbf502d6c45b10e0070ee27e2ded8a0b2bb6769", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "deeb0cca60727d91ab6c52f825c861ff", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "b0025ff52a0fa9f3268c94f81deb93d02c9302b0", "size": "182...
.. pynigma documentation master file, created by sphinx-quickstart on Sat Nov 25 14:42:06 2017. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to pynigma's documentation! =================================== pynigma is a Python client fo...
{ "content_hash": "91408d331b7061016f67cc344242d9f7", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 76, "avg_line_length": 21, "alnum_prop": 0.6282051282051282, "repo_name": "thejunglejane/pynigma", "id": "b32bd932463bccf033ab7ecf0ecebe7a53a10ff1", "size": "546", "binar...
package com.google.android.apps.mytracks.util; import android.annotation.SuppressLint; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; /** * Utilities for EULA. * * @author Jimmy Shih */ public class EulaUtils { private static final S...
{ "content_hash": "48fbf17ba1101bc50740cfafb69dd980", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 95, "avg_line_length": 28.986486486486488, "alnum_prop": 0.7277389277389278, "repo_name": "TWilmer/mytracks", "id": "ec03559d0647b48f2fe349247b0c958d521fe1a4", "size": "273...
package bookshop2.util; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.lang.S...
{ "content_hash": "2315881fe726939028517b7b0136e953", "timestamp": "", "source": "github", "line_count": 202, "max_line_length": 78, "avg_line_length": 27.18811881188119, "alnum_prop": 0.6937363437727604, "repo_name": "tfisher1226/ARIES", "id": "9fe12720e5196ea8b4a79905b4e52dcb8d47d932", "size": "54...
* Original: [Release atom-shell v0.6.5 - electron/electron](https://github.com/electron/electron/releases/tag/v0.6.5) Changelog: * Makes atom-shell compile-able with VS 2010 Express. * Visual Studio 2010 Express で atom-shell をコンパイル可能にしました * 従来は Professional 版に依存していたのだろうか? * Ship pdb file on Windows * Windows 向け...
{ "content_hash": "39fc4d05fa5a3a718ca8427de5f16129", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 117, "avg_line_length": 40.15384615384615, "alnum_prop": 0.7720306513409961, "repo_name": "akabekobeko/electron-release-notes-ja-private-edition", "id": "c68659b192c88914247b...
#include "interface/khronos/common/khrn_int_common.h" #include "interface/khronos/common/khrn_int_ids.h" #include "interface/khronos/common/khrn_client.h" #include "interface/khronos/common/khrn_client_rpc.h" #include "interface/vchi/vchi.h" #include <assert.h> #include <string.h> static VCHI_SERVICE_HANDLE_T khr...
{ "content_hash": "2d8fe8e2c0abd544147d109e55079b27", "timestamp": "", "source": "github", "line_count": 363, "max_line_length": 152, "avg_line_length": 29.43250688705234, "alnum_prop": 0.5947210782478473, "repo_name": "vanwinkeljan/rpi_vmcsx", "id": "6fbf1aee75ce6640cdae27faae2ff4cd18bc95f9", "size...
require 'rails_helper' module ActiveAdmin RSpec.describe Resource, "Attributes" do let(:application) { ActiveAdmin::Application.new } let(:namespace) { ActiveAdmin::Namespace.new application, :admin } let(:resource_config) { ActiveAdmin::Resource.new namespace, Post } describe "#resource_attributes"...
{ "content_hash": "df394dad75eb69aca9c8ebea9f8f721a", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 119, "avg_line_length": 30.42, "alnum_prop": 0.5424063116370809, "repo_name": "cmunozgar/activeadmin", "id": "62febb18ed0bb58623c1876dfb019f7da742bcc1", "size": "1521", "...
package org.kie.server.integrationtests.router.client; import java.io.StringReader; import java.util.concurrent.TimeUnit; import javax.ws.rs.client.Client; import javax.ws.rs.client.WebTarget; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.jboss.resteasy.client.jaxrs.ResteasyClient...
{ "content_hash": "80f8927c2c2e5ee0cafe399497979c40", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 105, "avg_line_length": 36.072072072072075, "alnum_prop": 0.6725774225774226, "repo_name": "baldimir/droolsjbpm-integration", "id": "3389f030388174efb2de6fa8be17e63fbe4d0f4c...
<?php declare(strict_types = 1); namespace FireflyIII\Support\Twig; use FireflyIII\Models\PiggyBank as PB; use Twig_Extension; use Twig_SimpleFunction; /** * * Class PiggyBank * * @package FireflyIII\Support\Twig */ class PiggyBank extends Twig_Extension { /** * */ public function getFunction...
{ "content_hash": "f5aebbad62ed8eed1b78bf5ffaab5e49", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 67, "avg_line_length": 18.454545454545453, "alnum_prop": 0.603448275862069, "repo_name": "tonicospinelli/firefly-iii", "id": "4c101e21fbadc28144d93401e30ebc1097de3b43", "si...
from sqlalchemy import Column, desc from sqlalchemy import Index from sqlalchemy import Integer from sqlalchemy import String from sqlalchemy import and_ from sqlalchemy import func from sqlalchemy import or_ from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import aliased, Query from sqlalche...
{ "content_hash": "8d42ef4986b097fcb15d99a33fea89b0", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 67, "avg_line_length": 29.980132450331126, "alnum_prop": 0.5230837199028054, "repo_name": "schnittstabil/findd", "id": "b459f8054538780a797c48e198487e1a4d4f9151", "size": ...
<?php namespace Hubzero\Events\Debug; //use Hubzero\Stopwatch\Stopwatch; use Hubzero\Events\DispatcherInterface; use Hubzero\Events\Event; use Closure; /** * Wrapper for event listeners to provide some extra * infor for debugging purposes. */ class TraceableListener { /** * Listener * * @var object */ ...
{ "content_hash": "67025ceaccf1732b44fafc7e30b62571", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 81, "avg_line_length": 15.007633587786259, "alnum_prop": 0.6134282807731435, "repo_name": "hubzero/framework", "id": "c1a87bcd929b727222c34b935c17ec9b5695e9ee", "size": "2...
using System; namespace Vexe.Editor.Types { /// <summary> /// Implement this interface to create your custom operations /// </summary> public interface IUndoOp { /// <summary> /// Defines what it is to be done /// </summary> void Perform(); /// <summary> /// Defines how it is to be undone /// </su...
{ "content_hash": "1868fd9c5256e6886d343e6aba1b364f", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 85, "avg_line_length": 21.666666666666668, "alnum_prop": 0.6446153846153846, "repo_name": "unity-chicken/VFW", "id": "d84f8fde7d5b8f5acebab2e6676be8f4fbc55fa4", "size": "65...
from .proxy_only_resource import ProxyOnlyResource class HybridConnectionKey(ProxyOnlyResource): """Hybrid Connection key contract. This has the send key name and value for a Hybrid Connection. Variables are only populated by the server, and will be ignored when sending a request. :ivar id: Reso...
{ "content_hash": "27be87f6b40f2c6e2445d1c4bc13e7a8", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 81, "avg_line_length": 32.22222222222222, "alnum_prop": 0.5806896551724138, "repo_name": "AutorestCI/azure-sdk-for-python", "id": "6cf7f1f35bff516ee800453ad32693c39c3a2377", ...
namespace IoT { namespace Devices { SerialDevice::SerialDevice() { } SerialDevice::~SerialDevice() { } } } // namespace IoT::Devices
{ "content_hash": "9c2d07264b9a562dafb22f485fec44cb", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 29, "avg_line_length": 9.333333333333334, "alnum_prop": 0.6785714285714286, "repo_name": "linuxvom/macchina.io", "id": "aa553adb9321a9aed4b08fe008b0d4e662bb4cf1", "size": "...
/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ([ /* 0 */, /* 1 */ /***/ ((module) => { "use strict"; module.exports = require("vscode"); /***/ }), /* 2 */ /***/ ((module) => { // Markdown-it plugin to render GitHub-style task lists; see // // https://github.com/blog/1375-task-lists-in-gfm...
{ "content_hash": "f7a8b102437fbdd452d3b4626808da74", "timestamp": "", "source": "github", "line_count": 200, "max_line_length": 122, "avg_line_length": 32.79, "alnum_prop": 0.5943885330893565, "repo_name": "ealbertos/dotfiles", "id": "f0131c7f4cfece55f65f23bce0d0514eb6d83d9a", "size": "6558", "bi...
// This script servers as an intermediary between oauth2.js and // oauth2.html // Get all ? params from this URL var url = window.location.href; var params = '?'; var index = url.indexOf(params); if (index > -1) { params = url.substring(index); } // Also append the current URL to the params params += '&from=' + ...
{ "content_hash": "b6d1206d56548f6a9aa2d58db7d296d2", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 68, "avg_line_length": 25.285714285714285, "alnum_prop": 0.7137476459510358, "repo_name": "bhalajin/tathya", "id": "6bba9dc975c36a757081585c15f6548692ece69e", "size": "1144...
import sys import inspect import copy import pickle from sympy.physics.units import meter from sympy.utilities.pytest import XFAIL from sympy.core.basic import Atom, Basic from sympy.core.core import BasicMeta from sympy.core.singleton import SingletonRegistry from sympy.core.symbol import Dummy, Symbol, Wild from s...
{ "content_hash": "1d23583e66a6de8f1377daa80463aae4", "timestamp": "", "source": "github", "line_count": 696, "max_line_length": 131, "avg_line_length": 32.297413793103445, "alnum_prop": 0.6403309755772054, "repo_name": "kaushik94/sympy", "id": "0ed5148d2fd02bec271d3448d078f23c90d68e1a", "size": "22...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" style="@style/UsbongImageViewerParentLayout" android:id="@+id/parent_layout_id" > <ScrollView style="@style/UsbongDefaultScrollView"> <LinearLayout style="@style/UsbongPhotoCaptureMainLa...
{ "content_hash": "42251b18ad0351992f987f0e2f3c9c73", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 72, "avg_line_length": 38.37931034482759, "alnum_prop": 0.6792452830188679, "repo_name": "usbong/usbong_pagtsing", "id": "6925a2780cdc5a85af698563c6784360cd87468c", "size":...
/** * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a> */ #ifndef _SAM4CP_0_ #define _SAM4CP_0_ #if defined __SAM4CP16B_0__ #include "sam4cp16b_0.h" #else #error Library does not support the specified device. #endif #endif /* _SAM4CP_0_ */
{ "content_hash": "31cdfcfa3f43edf6f2313ccd36d45ef4", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 90, "avg_line_length": 20.642857142857142, "alnum_prop": 0.6643598615916955, "repo_name": "femtoio/femto-usb-blink-example", "id": "9d35f0ef6880fc02f46a4d106fc0cd428bb651d3",...
@interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
{ "content_hash": "89b1fe291b2223edda6a26a977a0e48a", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 60, "avg_line_length": 16.857142857142858, "alnum_prop": 0.7796610169491526, "repo_name": "hnliji1107/iosAppByObjectiveC", "id": "0c6f39ede2d51a1f52a9ddf0dc23412180766679", ...
// Type definitions for webidl2 23.13 // Project: https://github.com/w3c/webidl2.js#readme // Definitions by: Kagama Sascha Rosylight <https://github.com/saschanaz> // ExE Boss <https://github.com/ExE-Boss> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped export as namespace WebIDL2; ...
{ "content_hash": "c6753678147c0032f2c46ece87f5bf50", "timestamp": "", "source": "github", "line_count": 499, "max_line_length": 126, "avg_line_length": 31.248496993987978, "alnum_prop": 0.7200666965946257, "repo_name": "ChromeDevTools/devtools-frontend", "id": "5b82369470f895e2e1c7eed36e0a6d100a42e20...
'use strict'; var errors = require('../../deps/errors'); var utils = require('../../utils'); var base64 = require('../../deps/binary/base64'); var btoa = base64.btoa; var constants = require('./constants'); var readAsBinaryString = require('../../deps/binary/readAsBinaryString'); var b64StringToBlob = require('../../d...
{ "content_hash": "cf022492f8fa0b11f36f0abd0800534a", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 78, "avg_line_length": 28.82730923694779, "alnum_prop": 0.6232933964892727, "repo_name": "mwksl/pouchdb", "id": "83db1aef053ff52430d2da0c78d72f4aacdb8177", "size": "7178",...
package org.apache.servicemix.store.memory; import junit.framework.TestCase; /** * Test case for {@link MemoryStoreFactory} */ public class MemoryStoreFactoryTest extends TestCase { private MemoryStoreFactory factory; @Override protected void setUp() throws Exception { super.setUp(); ...
{ "content_hash": "68b72a68385aca78b0b4a0e12797bde8", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 73, "avg_line_length": 25.807692307692307, "alnum_prop": 0.6870342771982116, "repo_name": "apache/servicemix-utils", "id": "4faac3864cd3d770d33590dd816b27d74d23e851", "size...
title: OBIS - Ocean Biogeographic Information System slug: obis-ocean-biogeographic-information-system description: <p>A data repository for marine species datasets from all of the world's oceans; it uses an extension of <a href="../standards/darwin-core.html">Darwin Core</a> 2 as its data standard.</p> website: ht...
{ "content_hash": "e4c37bf8e2592ff1d77d05a8e9f4a7b5", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 85, "avg_line_length": 26.25, "alnum_prop": 0.7638095238095238, "repo_name": "gugek/metadata-directory", "id": "9fbe863cdafc26ab7dad56f5e558b9abb64f861a", "size": "529", ...
/** * */ package nl.wisdelft.cdf.server; import java.net.URI; import java.net.URISyntaxException; import javax.ejb.Stateless; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.enterprise.event.Event; import javax.inject.Inject; import javax.persistence.EntityManager; imp...
{ "content_hash": "7530760132fd82c80ae7e453b4c198d3", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 91, "avg_line_length": 28.606060606060606, "alnum_prop": 0.7489406779661016, "repo_name": "WISDelft/AttendeeEngager", "id": "8d5cd194cda6d5882889bf25e5dd29d36dbf5812", "siz...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name Cleome icosandra L. ### Remarks null
{ "content_hash": "040ccebe0738a9aa876be7ead82c87d2", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 10.846153846153847, "alnum_prop": 0.7163120567375887, "repo_name": "mdoering/backbone", "id": "03a961299db1428a7a05e7e1ba2dca3ed781df09", "size": "20...
<md-toolbar class="md-primary" layout="row" layout-padding layout-align="start center"> <h2 class="md-toolbar-tools">Todolist App</h2> <md-button><i class="fa fa-users"></i> Logout</md-button> </md-toolbar> <md-toolbar layout="row" layout-padding class="md-primary md-hue-3" layout-align="start center" id="subhe...
{ "content_hash": "434181fb680c8b061793f7e52c73290c", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 111, "avg_line_length": 48.04, "alnum_prop": 0.6627810158201499, "repo_name": "desertlion/techtalk61", "id": "8408960c6be1d965a0efb6eb92dd27157ce4450c", "size": "1201", "...
// Copyright 2017 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "0568d7bd9add8965a21e5b42acb483b8", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 99, "avg_line_length": 30.982035928143713, "alnum_prop": 0.6381909547738693, "repo_name": "bazelbuild/rules_scala", "id": "a130511c44479975ffd78a31ee11802b9c3bd923", "size...
var Intercept = {}; // Global variables var inputDirection1 = null; // Stores the direction players are to move next var inputDirection2 = null; var speed = 4; // This is the number of pixels the player1 will move each frame var start = false; // If the game ha...
{ "content_hash": "f8067d849ddf734c8ec7b634c9c0f197", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 104, "avg_line_length": 28.161290322580644, "alnum_prop": 0.6151202749140894, "repo_name": "TormundTargers/Intercept", "id": "9e9aed88595994d91c6d678b41f07f64377ec55e", "si...
{-# LANGUAGE GADTs #-} module Monitor ( Monitor , newMonitor , newMonitorFromSel , updateDepth , updateQuery , updateFalsified , updateProven , updateInductive , updateBad , updateCo...
{ "content_hash": "2466af2dd35bdd188fc9b6bdafd3606f", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 86, "avg_line_length": 28.818181818181817, "alnum_prop": 0.5479495268138801, "repo_name": "d3sformal/bacon-core", "id": "11433e4206cd2c5eeeeae328c1a4bb9c75cb563e", "size":...
cask 'calq' do version '1.4.6' sha256 '3e12d3fe2aea2df0483e91081ff24558b7382bf7390b07ab9bd0b5912627ef86' url "http://www.katoemba.net/download/Calq-#{version}.dmg.gz" name 'Calq' homepage 'http://www.katoemba.net/makesnosenseatall/calq/' license :gratis container :nested => "Calq-#{version}.dmg" app ...
{ "content_hash": "a8924bdfbd7c11f0390aa17c387bab11", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 104, "avg_line_length": 31, "alnum_prop": 0.706605222734255, "repo_name": "williamboman/homebrew-cask", "id": "7c61b81e07366b163ad64fbb2c38853357f2fa8a", "size": "651", "...
#include "mbed_assert.h" #include "serial_api.h" #include "serial_api_hal.h" #if DEVICE_SERIAL #include "cmsis.h" #include "pinmap.h" #include <string.h> #include "PeripheralPins.h" #include "mbed_error.h" #define UART_NUM (8) static uint32_t serial_irq_ids[UART_NUM] = {0}; UART_HandleTypeDef uart_handlers[UART_NU...
{ "content_hash": "acfdb37292fa55bbec29c8fec0d98c99", "timestamp": "", "source": "github", "line_count": 901, "max_line_length": 151, "avg_line_length": 27.948945615982243, "alnum_prop": 0.5644110872845683, "repo_name": "CalSol/mbed", "id": "7f2389717567dad46b95dd1b017cec8708c68be1", "size": "26951"...
package com.wixpress.guineapig.entities.ui case class TerminateExperimentResult(success: Boolean, specCanBeDeleted: Boolean, specKey: String)
{ "content_hash": "a4ebf4b2252bce4809b6d562ecbf72e5", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 98, "avg_line_length": 47.666666666666664, "alnum_prop": 0.8461538461538461, "repo_name": "wix/petri", "id": "88476e359f6a2fe70c854fbad172e8e7b5c45e62", "size": "143", "bi...
<!doctype html> <html ng-app="web"> <head> <meta charset="utf-8"> <title>web</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="../../../.tmp/serve/app/index.css" /> </head> <body> <div> <div class="row header"></...
{ "content_hash": "7f876733cd24cb21c6adffd44e4d90ae", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 70, "avg_line_length": 23.272727272727273, "alnum_prop": 0.5234375, "repo_name": "indraneelr/progbook", "id": "eeca10fe347c5850e7fcb67a6cc4b6b62d5a0031", "size": "512", "...
from django.contrib import messages from django.utils.translation import ugettext as _ from filer.models import Clipboard def discard_clipboard(clipboard): clipboard.files.clear() def discard_clipboard_files(clipboard, files): clipboard.clipboarditem_set.filter(file__in=files).delete() def delete_clipboar...
{ "content_hash": "2ef21be1a53ccef98736a31e8f68f129", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 79, "avg_line_length": 31.405405405405407, "alnum_prop": 0.6497418244406197, "repo_name": "pbs/django-filer", "id": "fc750f59131ce33d4cb30e064fd8a2325031a4df", "size": "234...
var prerender = require('./lib') var server = prerender({ workers: process.env.PHANTOM_CLUSTER_NUM_WORKERS, iterations: process.env.PHANTOM_WORKER_ITERATIONS || 10, phantomArguments: ["--load-images=false", "--ignore-ssl-errors=true"], phantomBasePort: process.env.PHANTOM_CLUSTER_BASE_PORT, message...
{ "content_hash": "b2176ad6984e4029f6be34cff425162e", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 74, "avg_line_length": 35.35, "alnum_prop": 0.7340876944837341, "repo_name": "lammertw/prerender", "id": "04e6e7c911e07b233e73e7f95e94ad7ed2dd8a5a", "size": "707", "binar...
.class final Landroid/app/NotificationGroup$1; .super Ljava/lang/Object; .source "NotificationGroup.java" # interfaces .implements Landroid/os/Parcelable$Creator; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/app/NotificationGroup; .end annotation .annotation system Ldalvi...
{ "content_hash": "3a3143b87f20d01fca66c8ea23df57c9", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 132, "avg_line_length": 22.096774193548388, "alnum_prop": 0.7051094890510949, "repo_name": "baidurom/devices-base_cm", "id": "3df8ae71eb55e76872b4bb9cb7fb1f0aead6be9a", "si...
package org.openestate.is24.restapi.webapp;
{ "content_hash": "f44dee57e358e5f851315f24c7b83a1c", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 43, "avg_line_length": 22.5, "alnum_prop": 0.8222222222222222, "repo_name": "OpenEstate/OpenEstate-IS24-REST", "id": "9e9df06a2be3442bf21342c80b97f9c22d108fc3", "size": "649...
from django.shortcuts import render from .forms import ContactForm from django.core.mail import EmailMessage from django.shortcuts import redirect from django.template.loader import get_template def main(request): '''Главная страница сайта''' context = {} return render(request, 'index.html', context) de...
{ "content_hash": "de556465c51063c18403c46e778bc2a6", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 89, "avg_line_length": 30.938144329896907, "alnum_prop": 0.5608130623125624, "repo_name": "DarkenNav/UnionFreeArts", "id": "9057d836e2cc773f492c05c0810e5b1de5a573b6", "size...
class ArticlesController < ApplicationController http_basic_authenticate_with name: "admin", password: "admin", except: [:index, :show] def index @articles = Article.all end def show @article = Article.find(params[:id]) # Rails 会把实例变量传递给视图 # app/views/articles/show.html...
{ "content_hash": "dda1a1a630d95a4cc17f2ab718a977a3", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 106, "avg_line_length": 25.24137931034483, "alnum_prop": 0.5833333333333334, "repo_name": "sharkspeed/dororis", "id": "93c79d481c2a0ee82adf9934d388e641ec7fe327", "size": "1...
package Net::LDAP::FilterMatch; use strict; use Net::LDAP::Filter; use Net::LDAP::Schema; use vars qw($VERSION); $VERSION = '0.17'; sub import { shift; push(@_, @Net::LDAP::Filter::approxMatchers) unless @_; @Net::LDAP::Filter::approxMatchers = grep { eval "require $_" } @_ ; } package Net::LDAP::Filter; ...
{ "content_hash": "3d46da8ae430eee8e8021658e98f6071", "timestamp": "", "source": "github", "line_count": 371, "max_line_length": 98, "avg_line_length": 25.38814016172507, "alnum_prop": 0.6312772056481579, "repo_name": "carlgao/lenga", "id": "307fa99b472a9589f4c6ac6655a9160754b84f8c", "size": "9692",...
<?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = [ new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\Security...
{ "content_hash": "545028c83892e1a2bec0203c5d4562c8", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 92, "avg_line_length": 33.21153846153846, "alnum_prop": 0.6398378691372322, "repo_name": "na-ringtail/gmstest", "id": "cb6a4cff73c94979db8454fa395bfab7d59fed02", "size": "1...
require 'thor' require 'rasana/api' module Rasana class CLI < Thor attr_reader :api map '-T' => :tasks method_option :verbose, type: :boolean, aliases: '-v' def initialize(*args) super @api = Api.new(options) end desc 'me', 'show your information' def me api.me.data.m...
{ "content_hash": "d18d31316a840c05c999ac5e32c67a59", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 75, "avg_line_length": 21.83606557377049, "alnum_prop": 0.53003003003003, "repo_name": "memerelics/rasana", "id": "6fed9c4527a3ea00f0ab8870a8320d7c35867bab", "size": "1332"...
@implementation Client + (instancetype)parseFromResultSet:(FMResultSet *)resultSet { Client *client = [Client new]; client.registerId = @([resultSet intForColumn:@"id"]); client.firstName = [resultSet stringForColumn:@"first_name"]; client.surname = [resultSet stringForColumn:@"surname"]; retu...
{ "content_hash": "fbeed62002de585fe849c8a594d61a16", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 65, "avg_line_length": 28.25, "alnum_prop": 0.6991150442477876, "repo_name": "ciandtmobilestudio/iOS-DatabaseSample", "id": "1244e8e9f2fc0d6358518da9a9851ee284888d49", "siz...
def main(request, response): token = request.GET.first("token") if request.server.stash.take(token) is not None: return "1" else: return "0"
{ "content_hash": "731268e06d25bedff2062545bda019ac", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 52, "avg_line_length": 28.166666666666668, "alnum_prop": 0.6094674556213018, "repo_name": "youtube/cobalt", "id": "3ae731052692e048a07d65a6e015fe5a76362098", "size": "169", ...
package org.apache.jena.rdfxml.xmlinput.states; import java.util.Iterator; import java.util.Map; import java.util.TreeMap; import org.apache.jena.rdfxml.xmlinput.impl.AbsXMLContext ; import org.apache.jena.rdfxml.xmlinput.impl.XMLHandler ; import org.xml.sax.Attributes; import org.xml.sax.SAXParseException; public...
{ "content_hash": "c74caae50511413475e72e6ee172cc43", "timestamp": "", "source": "github", "line_count": 239, "max_line_length": 95, "avg_line_length": 29.774058577405857, "alnum_prop": 0.4991568296795953, "repo_name": "apache/jena", "id": "7198568ba7549c6aa02d8c4ecc3c951a15f77a69", "size": "7921", ...
package daemon // import "github.com/docker/docker/daemon" import ( "context" "fmt" "io/ioutil" "os" "os/exec" "path/filepath" "sort" "strconv" "strings" cdcgroups "github.com/containerd/cgroups" "github.com/containerd/containerd/containers" coci "github.com/containerd/containerd/oci" "github.com/contain...
{ "content_hash": "5916728e82661d58db2994e7bba500d0", "timestamp": "", "source": "github", "line_count": 1075, "max_line_length": 175, "avg_line_length": 30.504186046511627, "alnum_prop": 0.6809282751890705, "repo_name": "kojiromike/docker", "id": "5d9387611e2ab2280c5d886eebdc682a6d7649c5", "size": ...
What's on tap? ## Installation gem install punky_brewster ## Command line tool List beers: $ punky_brewster 8  WIRED  HOPWIRED $16.00/L 7.3% ALL  CHIEFS , NO  INDIANS $14.00/L 6.0% CROUCHER  LOW  RIDER  IPA $12.00/L 2.7% DALES  ESB  (EXTRA  SPEC...
{ "content_hash": "25d73c1d162e6a67854d0016bc71b1df", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 315, "avg_line_length": 26.305263157894736, "alnum_prop": 0.6410564225690276, "repo_name": "Aupajo/punky_brewster", "id": "e34518e58c558001f435fc294062a86119314761", "size"...
package com.armadialogcreator.gui.main.controlPropertiesEditor; import com.armadialogcreator.ArmaDialogCreator; import com.armadialogcreator.core.sv.SVFileName; import com.armadialogcreator.gui.fxcontrol.FileChooserPane; import com.armadialogcreator.lang.Lang; import com.armadialogcreator.util.ReadOnlyValueObserver; i...
{ "content_hash": "4eb47205f9c263ce81c23d2d01d8845a", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 85, "avg_line_length": 24.57471264367816, "alnum_prop": 0.7736202057998129, "repo_name": "kayler-renslow/arma-dialog-creator", "id": "2979faad3a38ae2f8a6617a224a53fd0962fc866...
namespace filesystem { namespace { const char kUserDataDir[] = "user-data-dir"; } // namespace filesystem FileSystemApp::FileSystemApp() : lock_table_(new LockTable) {} FileSystemApp::~FileSystemApp() {} void FileSystemApp::Initialize(mojo::Connector* connector, const mojo::Identit...
{ "content_hash": "c4624a40f98c70956a58c9a8f517654c", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 75, "avg_line_length": 30.032258064516128, "alnum_prop": 0.6530612244897959, "repo_name": "was4444/chromium.src", "id": "92f78b7aa68e29a671bc7a87597b820a59da5771", "size": ...
require 'rails_helper' RSpec.describe Card, :type => :model do context "validations" do it { should validate_presence_of(:title) } it { should validate_presence_of(:trello_board_id) } it { should validate_presence_of(:trello_list_id) } it { should validate_presence_of(:frequency) } it { should va...
{ "content_hash": "9e688ddf7e0e068efd1a7337f8f4f1ce", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 152, "avg_line_length": 37.54827586206896, "alnum_prop": 0.6500137753696391, "repo_name": "dennmart/echo_for_trello", "id": "81f6cbbfa69f02a76ed8be4f9ea7e7d2ebf86c69", "si...
using System; using System.Diagnostics.CodeAnalysis; namespace PutridParrot.Delimited.Data.Exceptions { [Serializable, ExcludeFromCodeCoverage] public class DelimitedStreamWriterException : Exception { // // For guidelines regarding the creation of new exception types, see // http://msdn.microsoft.com/lib...
{ "content_hash": "4505b1641c963ee536499d4396fbeeb0", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 126, "avg_line_length": 37.88, "alnum_prop": 0.778247096092925, "repo_name": "putridparrot/Delimited.Data", "id": "3deb1f9361acbc53800a2a95204848003413baee", "size": "949",...
module ShopifyAPI module Errors class MissingJwtTokenError < StandardError end end end
{ "content_hash": "367ab1c253733af0bfe4acdddbea8b4d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 46, "avg_line_length": 16.5, "alnum_prop": 0.7575757575757576, "repo_name": "Shopify/shopify_api", "id": "7d8f065f69f1180d477bdc3d10da665770df604d", "size": "146", "binary...
package com.amazonaws.services.cloudfront_2012_03_15.model.transform; import java.util.Map; import java.util.Map.Entry; import javax.xml.stream.events.XMLEvent; import com.amazonaws.services.cloudfront_2012_03_15.model.*; import com.amazonaws.transform.Unmarshaller; import com.amazonaws.transform.MapEntry; import ...
{ "content_hash": "84fdb3ba449886ebb6f8e8cd20d4f779", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 116, "avg_line_length": 37.089285714285715, "alnum_prop": 0.6730861819932595, "repo_name": "SaiNadh001/aws-sdk-for-java", "id": "9b3ba4c81e94b4a389c2745e28194e08eb685f5d", ...
<?xml version="1.0" encoding="UTF-8"?> <Tokens version="1.0"> <File path="Categories/UILabel+Framing.html"> <Token> <TokenIdentifier>//apple_ref/occ/cat/UILabel(Framing)</TokenIdentifier> <Abstract type="html"></Abstract> <DeclaredIn>UILabel+Framing.h</DeclaredIn> <NodeRef refid="17"/...
{ "content_hash": "971f6e4881be8d4b7986454763eeda01", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 122, "avg_line_length": 29.969135802469136, "alnum_prop": 0.6792996910401647, "repo_name": "JamieREvans/UIKitPlus", "id": "e1c2b51b73ed6ea881f6f5fe78b2b13ebd16036b", "size...
#include "all_logs_vtab.hh" #include "base/attr_line.hh" #include "config.h" static auto intern_lifetime = intern_string::get_table_lifetime(); all_logs_vtab::all_logs_vtab() : log_vtab_impl(intern_string::lookup("all_logs")), alv_msg_meta( intern_string::lookup("log_msg_format"), value_kind_t:...
{ "content_hash": "07ca2f5e33b4e16410f34652fddfa41d", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 80, "avg_line_length": 28.180555555555557, "alnum_prop": 0.5879743716116314, "repo_name": "tstack/lnav", "id": "f4468a6faadae2ea9a0be9291c55695949c31bb9", "size": "3566", ...
<?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_focused="false" android:drawable="@color/AB_Green_ContentDisplay" /> </selector>
{ "content_hash": "7d657670d21d3138ff3c59f4a8663c65", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 92, "avg_line_length": 42.8, "alnum_prop": 0.7242990654205608, "repo_name": "Apptitive/Apptitive-Content-Display", "id": "c36371ddbf3d6009a254e2c71064506963eb6732", "size": ...
namespace IdentityServer.UnitTests.Common { internal interface IAuthenticationSchemeHandler { } }
{ "content_hash": "4066997f3c6f81f84d9e17511b6f7939", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 51, "avg_line_length": 18.333333333333332, "alnum_prop": 0.7545454545454545, "repo_name": "chrisowhite/IdentityServer4", "id": "5d15946328b479482f4ae03da9fdde4b8c141145", "s...
require_relative "test_helper" class UtmParamsTest < Minitest::Test def test_default message = UtmParamsMailer.welcome.deliver_now refute_body "utm", message assert_nil ahoy_message.utm_campaign assert_nil ahoy_message.utm_medium assert_nil ahoy_message.utm_source end def test_basic mess...
{ "content_hash": "2f4626e0f8067ec7c3504be5e64005a1", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 67, "avg_line_length": 29.07547169811321, "alnum_prop": 0.7177157689811811, "repo_name": "ankane/ahoy_email", "id": "fad91282c42f2c978ca0c2e98c747f7373571cc4", "size": "154...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); header('Access-Control-Allow-Origin: *'); class preciario_model extends CI_Model { public function __construct() { parent::__construct(); } public function getRecords() { try { $this->db->select("P.I...
{ "content_hash": "fe25d1c96e5d6604d214925e6ea70bfe", "timestamp": "", "source": "github", "line_count": 488, "max_line_length": 282, "avg_line_length": 37.53893442622951, "alnum_prop": 0.47633604454391615, "repo_name": "JYovan/AYR", "id": "9c96b5d7d3db640487a456bc3d95ae1bce73cd5b", "size": "18324",...
(function() { var plugins = []; if (Dive && Dive.plugins) plugins = Dive.plugins; Dive.identity = function(i) { return i; }; Dive.into = function(dest_, orig_, mergeStrategy) { var opt, dest = dest_ || {}, orig = orig_ || {}; switch (mergeStrategy) { case 'add': for (opt in orig) if (ori...
{ "content_hash": "3dadfe9da9bf248e7e12ca01c1a71751", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 72, "avg_line_length": 23.547169811320753, "alnum_prop": 0.5705128205128205, "repo_name": "intelie/dive", "id": "8319b4438da7ceda7cadbcfb98f33a787e6e5fcd", "size": "2496",...
package org.apache.geode.cache.query.internal.cq.spi; import java.io.DataInput; import java.io.IOException; import org.apache.geode.cache.query.internal.cq.CqService; import org.apache.geode.cache.query.internal.cq.ServerCQ; import org.apache.geode.internal.cache.InternalCache; import org.apache.geode.internal.cache...
{ "content_hash": "9ec76e3a4ab1e26114c5eff4cbfd4a0b", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 80, "avg_line_length": 28.59090909090909, "alnum_prop": 0.7980922098569158, "repo_name": "smgoller/geode", "id": "d5197a3cb20b8016d043a79c878613033520df9b", "size": "1418",...
namespace pdalboost {} namespace boost = pdalboost; namespace pdalboost { // // Traversal Categories // struct no_traversal_tag {}; struct incrementable_traversal_tag : no_traversal_tag { // incrementable_traversal_tag() {} // incrementable_traversal_tag(std::output_iterator_tag const&) {}; }; struct s...
{ "content_hash": "41466d6654ac5d04978b641731e4452f", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 80, "avg_line_length": 28.612121212121213, "alnum_prop": 0.6142766363058674, "repo_name": "verma/PDAL", "id": "9ee44b635e2bdd7e735d0de1815bd947b2a131c2", "size": "5391", ...
using System; using System.Collections.Concurrent; using System.Reflection; using System.Collections; namespace Nest { public class PropertyWalker { private readonly Type _type; private readonly IPropertyVisitor _visitor; private readonly int _maxRecursion; private readonly ConcurrentDictionary<...
{ "content_hash": "4e6270906dcead3b1050c9f2b71c3b23", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 122, "avg_line_length": 28.251572327044027, "alnum_prop": 0.6645146927871772, "repo_name": "TheFireCookie/elasticsearch-net", "id": "5b56e1de1ae201342c6a80100571267de43992a0...
require 'spec_helper' module Refinery describe Page do let(:page) do ::Refinery::Page.create!({ :title => 'RSpec is great for testing too', :deletable => true }) end let(:child) { page.children.create(:title => 'The child page') } def page_cannot_be_destroyed page....
{ "content_hash": "f7bf4aa4995832e2ce9c32f59e0e862f", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 141, "avg_line_length": 29.43859649122807, "alnum_prop": 0.5966924910607867, "repo_name": "koa/refinerycms", "id": "77c3f0db2c3afe6be0f803ec73540fabc2ed14ca", "size": "671...
require 'pgit' #TODO: Find a way to make execute! just be a call on children tasks module PGit class Project class Add extend Forwardable attr_reader :adder def initialize(app) @app = app raise PGit::Error::User, 'Project path already exists. See `pgit proj update --help.`' if ...
{ "content_hash": "c82c65dc8fe36b93165bcada88c2c518", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 109, "avg_line_length": 24.142857142857142, "alnum_prop": 0.6346153846153846, "repo_name": "Edderic/pgit", "id": "c4c97c6338678d3ce79d820add244cfcdbe42296", "size": "676", ...
using Newtonsoft.Json; namespace OpenStack.Networking.v2.Operator { /// <summary> /// Extended definition of a network resource, with cloud operator functionality exposed. /// </summary> public class NetworkDefinition : v2.NetworkDefinition { /// <inheritdoc cref="Network.IsExternal" /> ...
{ "content_hash": "000caba29511aab3d7dbdbe0a0686492", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 93, "avg_line_length": 29.571428571428573, "alnum_prop": 0.6618357487922706, "repo_name": "ONLYOFFICE/CommunityServer", "id": "fc222c42c92d232ba6c04d0877a51aa1af2b8c77", "s...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "f75fb5c48780c6bb39f10d4c7a86e82f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "c943d4ce60d129d68c10e8f5aa436ac24b74c7a2", "size": "19...
<?xml version="1.0" encoding="utf-8"?> <license> <eula> Tais termos se encontra em formulação. </eula> </license>
{ "content_hash": "a11c76165bd616964e74fd81a01afd4f", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 40, "avg_line_length": 20.333333333333332, "alnum_prop": 0.639344262295082, "repo_name": "erickmcarvalho/effectweb-project", "id": "93bac50ef4af618ec914480cbeb9eadaafdbb705", ...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /** * * @author Mengjiao */ public class User { String id; String name; String passwd; public String get...
{ "content_hash": "d64cd44e8f3e2f02e91c85f1ee148bd5", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 79, "avg_line_length": 20.314285714285713, "alnum_prop": 0.5625879043600562, "repo_name": "infsci2560sp16/full-stack-web-project-NamkiuZhang", "id": "2001f435009fab8890d5c3d4...
<?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:background="#FFFFFF"> <com.google.an...
{ "content_hash": "ce6ebba7462cbe6b6e8b6b48cfccb684", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 111, "avg_line_length": 40.92857142857143, "alnum_prop": 0.6548865619546248, "repo_name": "jokoframework/Mboehao", "id": "9a88aacb0d2a4b5f76837cd54cddf27c1a1da302", "size":...
package org.wso2.carbon.bpmn.rest.service.base; import com.fasterxml.jackson.databind.ObjectMapper; import org.activiti.engine.ActivitiException; import org.activiti.engine.ActivitiIllegalArgumentException; import org.activiti.engine.ActivitiObjectNotFoundException; import org.activiti.engine.RuntimeService; import...
{ "content_hash": "1b88fb45afc1dff1deadfaa4c81ad7b6", "timestamp": "", "source": "github", "line_count": 783, "max_line_length": 165, "avg_line_length": 48.58876117496807, "alnum_prop": 0.626521224865291, "repo_name": "chathurace/carbon-business-process", "id": "8731faca2f375a82054235ac7978d23d11930f4...
// Karma configuration // Generated on Wed Dec 31 2014 12:16:12 GMT-0500 (EST) module.exports = function (config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '.', // frameworks to use // available frameworks: https://npmjs....
{ "content_hash": "e5fd275a13502e6a56c0840a4a6049e4", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 124, "avg_line_length": 28.26153846153846, "alnum_prop": 0.5949918345127926, "repo_name": "timbeynart/gradle-node-demo", "id": "71f070d64b77679f5f009bbd3879d8d61f2135d7", "...
<?php $this->pageTitle=Yii::app()->name . ' - '.UserModule::t("Login"); $this->breadcrumbs=array( UserModule::t("Login"), ); ?> <h1><?php echo UserModule::t("Login"); ?></h1> <p><?php echo UserModule::t("Please fill out the following form with your login credentials:"); ?></p> <?php $form=$this->beginWidget('ext.bo...
{ "content_hash": "b8e3fe5c5fcc8f1376229a46bb0491fc", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 114, "avg_line_length": 31.04255319148936, "alnum_prop": 0.5524331734064428, "repo_name": "fmahtab/yii", "id": "98fa6a90cc72e45cfda2c7501a4a5f554dc592dc", "size": "1459", ...
package controllers import ( "github.com/nubleer/revel" ) type Sample2 struct { *revel.Controller } func (c Sample2) Index() revel.Result { return c.Render() } func (c Sample2) HandleSubmit( username, firstname, lastname string, age int, password, passwordConfirm, email, emailConfirm string, termsOfUse bool)...
{ "content_hash": "fe1f4df2eddfcc5356bf2a1a268a0cbb", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 91, "avg_line_length": 26.72340425531915, "alnum_prop": 0.7587579617834395, "repo_name": "nubleer/revel", "id": "432bcced29c89b2947e904092a20b5d029c58c37", "size": "1256", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>User agent detail - Mozilla/5.0 (Linux; NetCast; U) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.33 Safari/537.31 SmartTV/5.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/m...
{ "content_hash": "0f69e5bb6d00f5f91ecb2601d797517b", "timestamp": "", "source": "github", "line_count": 1394, "max_line_length": 875, "avg_line_length": 40.329268292682926, "alnum_prop": 0.5399420124868817, "repo_name": "ThaDafinser/UserAgentParserComparison", "id": "c71eca452cc895b6209fa9f3e7f91f75e...
"""convert Gettext PO localization files to PHP localization files see: http://translate.sourceforge.net/wiki/toolkit/po2php for examples and usage instructions """ from translate.misc import quote from translate.storage import po from translate.storage import php eol = "\n" class rephp: def __init__(self, tem...
{ "content_hash": "4849cba25fc994246752ca48614be8de", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 135, "avg_line_length": 41.436974789915965, "alnum_prop": 0.5712837152707362, "repo_name": "dbbhattacharya/kitsune", "id": "8527660dc2f62df1ad1da1d3733410dda6a1f51c", "siz...
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-10256201-1"); pageTracker._trackPageview(); ...
{ "content_hash": "4230313ddc939b63fc19a2430680c957", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 130, "avg_line_length": 39.00617283950617, "alnum_prop": 0.5860104446906156, "repo_name": "lvbeck/niubi", "id": "1fd50615aa2010a6def334e06f2afead236e0f5f", "size": "6635",...
ModTweaker allows you to add or remove Extra Utilities 2 Resonator Recipes ## Calling You can call the Resonator package using `mods.extrautils2.Resonator` ## Removing ```zenscript //mods.extrautils2.Resonator.remove(IItemStack outout); mods.extrautils2.Resonator.remove(<minecraft:redstone>); ``` ## Сложение ```z...
{ "content_hash": "105fa4e1ec1305ad0f061852b609f913", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 113, "avg_line_length": 31.095238095238095, "alnum_prop": 0.7702909647779479, "repo_name": "jaredlll08/CraftTweaker-Documentation", "id": "7e8299ccc47ad95cd14ba9e1f5b60f58602...
class Room; class Sprite { public: Sprite(); virtual ~Sprite(); // Comparison functions For draw-order sorting bool operator< (const Sprite& rhs) const { return position.y + size.h < rhs.position.y + rhs.size.h; } struct PointerCompare { boo...
{ "content_hash": "b6289a7825c15ab18b94081870b645d2", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 69, "avg_line_length": 26.846153846153847, "alnum_prop": 0.5367717287488061, "repo_name": "andmatand/kitty-town", "id": "a49654a31086de63c77b7de8d0b59438e236e6ed", "size": ...
<div class="commune_descr limited"> <p> Selens est un village géographiquement positionné dans le département de l'Aisne en Picardie. On dénombrait 237 habitants en 2008.</p> <p>Le parc de logements, à Selens, se décomposait en 2011 en zero appartements et 122 maisons soit un marché plutôt équilibré.</...
{ "content_hash": "c0c928403dc9fb38c539f123464f37a6", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 135, "avg_line_length": 72.47058823529412, "alnum_prop": 0.7353896103896104, "repo_name": "donaldinou/frontend", "id": "27d4a06676e7fb79bdbb8daba4017ceb8abca95d", "size": "...
package br.com.cominotti.olympics_api.server.application.use_cases; public class ListCompetitorsUseCaseInput { }
{ "content_hash": "73f515019461eefa4028106da33e2acb", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 67, "avg_line_length": 24, "alnum_prop": 0.7916666666666666, "repo_name": "dcominottim/olympics-api", "id": "bbe313410f15b840a538a4861a9f1d102210ad7f", "size": "120", "bin...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "a5d240bb4b76d44f070e2842fe195aa9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "961853ace78b2ac61bd113a77e2a34d3c336b5b4", "size": "181...
var expect = require('expect.js'); var utils = require('../src/utils'); require('mocha'); describe('Utils module', function () { it('capitalize should handle null', function (done) { expect(utils.capitalize(null)).to.be(null); done(); }); it('capitalize should handle single chars', function (done) { expect(u...
{ "content_hash": "55eba0d39424c5fd9e4b89097c86c522", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 64, "avg_line_length": 27.88888888888889, "alnum_prop": 0.647410358565737, "repo_name": "metadevpro/baucis-openapi3", "id": "fcc42a68f79584fc51417b0df88dbb2ee4fdbcab", "siz...
(function() { var method; var noop = function noop() {}; var methods = [ 'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', 'tim...
{ "content_hash": "7ef5c1b48a034830341faa6c30d7940b", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 76, "avg_line_length": 27.2, "alnum_prop": 0.5352941176470588, "repo_name": "pixelmord/frondly", "id": "467b82d6e1782ea53c7fdc6acc2dbb176bc88a01", "size": "739", "binary"...
#include <linux/jiffies.h> #include <linux/slab.h> #include <linux/kernel.h> #include <linux/skbuff.h> #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/rcupdate.h> #include <linux/export.h> #include <net/mac80211.h> #include <net/ieee80211_radiotap.h> #include <asm/unaligned.h> #include "i...
{ "content_hash": "14091e01f9b4d9419cef137cba4f1827", "timestamp": "", "source": "github", "line_count": 3661, "max_line_length": 81, "avg_line_length": 28.318765364654467, "alnum_prop": 0.6602941885700506, "repo_name": "KristFoundation/Programs", "id": "82af407fea7a094db5f08e6426ae670a4cab3729", "s...
package com.smbtec.xo.orientdb.impl.metadata; import com.tinkerpop.blueprints.Direction; /** * * @author Lars Martin - lars.martin@smb-tec.com * @author Rick-Rainer Ludwig * */ public class CollectionPropertyMetadata { private final String name; private final Direction direction; public Collection...
{ "content_hash": "1d5871c7eaa4c242d1842655d6aa6302", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 85, "avg_line_length": 19.5, "alnum_prop": 0.676923076923077, "repo_name": "SMB-TEC/xo-orientdb", "id": "b4771631ce82cf9dd6eb9e0bef5449c10861e960", "size": "1226", "binar...