text stringlengths 2 1.04M | meta dict |
|---|---|
layout: post
title: "Giant Lightning Eel"
date: 2017-09-10
tags: [large, beast, cr3, tales-from-the-yawning-portal]
---
**Large beast, unaligned**
**Armor Class** 13
**Hit Points** 42 (5d10+15)
**Speed** 5 ft., swim 30 ft.
| STR | DEX | CON | INT | WIS | CHA |
|:-----:|:-----:|:-----:|:----... | {
"content_hash": "6ed4cd5c5f0ac0ab123605e1fb1ed73a",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 437,
"avg_line_length": 34.611111111111114,
"alnum_prop": 0.637239165329053,
"repo_name": "whiplashomega/elthelas2",
"id": "163bf27f05a247d2e37c3795985ed5892b2caba3",
"size... |
<?php
// Do not add namespace
use BlockCypher\Common\BlockCypherUserAgent;
class UserAgentTest extends \PHPUnit\Framework\TestCase
{
public function testGetValue()
{
$ua = BlockCypherUserAgent::getValue("name", "version");
list($id, $version, $features) = sscanf($ua, "BlockCypherSDK/%s %s (%... | {
"content_hash": "5f45a390dd7432c9e52c35fe04e7c6e6",
"timestamp": "",
"source": "github",
"line_count": 30,
"max_line_length": 82,
"avg_line_length": 33.733333333333334,
"alnum_prop": 0.6294466403162056,
"repo_name": "blockcypher/php-client",
"id": "65f64d2e97874d2ec085e196c7891749d81fabc3",
"size"... |
package com.iluwatar;
public class InvisibilitySpell extends Command {
private Target target;
@Override
public void execute(Target target) {
target.setVisibility(Visibility.INVISIBLE);
this.target = target;
}
@Override
public void undo() {
if (target != null) {
target.setVisibility(Vis... | {
"content_hash": "a490b5e8dba196ab804053c3fdb67b2a",
"timestamp": "",
"source": "github",
"line_count": 31,
"max_line_length": 48,
"avg_line_length": 17.70967741935484,
"alnum_prop": 0.6612021857923497,
"repo_name": "lightSky/java-design-patterns",
"id": "175aef4fcd8c3bd4d217522eb459ad9c33871180",
... |
/////////////////////////////////////////////////////////////////////////////
// Name: resource.cpp
// Purpose: Resource system
// Author: Julian Smart
// Modified by:
// Created: 04/01/98
// RCS-ID: $Id: resource.cpp,v 1.17 2005/03/03 19:17:45 ABX Exp $
// Copyright: (c) Julian Smart
// Lice... | {
"content_hash": "2a25855b71fe0690dfcfc0b78104bbaf",
"timestamp": "",
"source": "github",
"line_count": 3282,
"max_line_length": 155,
"avg_line_length": 31.57556368068251,
"alnum_prop": 0.5490731537860293,
"repo_name": "SickheadGames/Torsion",
"id": "96fd6e92835f5231b3cec25c2236ce8f1a1adc0b",
"size... |
var blah = {
frenchies : "French Bulldog Time!",
howMuchILoveFrenchies : Infinity,
frenchieGifs : [
"http://www.allstarfrenchbulldogs.com/LilDebConeGif.gif",
"http://25.media.tumblr.com/tumblr_lu6bewBpPb1qb9pa3o1_500.gif",
"http://www.gifbin.com/bin/122013/1386790251_frenchie_vs_stick.gif",
// //U... | {
"content_hash": "6cfe1fc783bffc17e44de339e5119772",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 85,
"avg_line_length": 37.625,
"alnum_prop": 0.6954595791805094,
"repo_name": "topherbullock/gruntfile-starter-templates",
"id": "c5d671b73e5fe5c3beb1a3faf84bb449cd742295",
... |
// XLA-specific reshape Op.
#include "tensorflow/compiler/tf2xla/type_util.h"
#include "tensorflow/compiler/tf2xla/xla_helpers.h"
#include "tensorflow/compiler/tf2xla/xla_op_kernel.h"
#include "tensorflow/compiler/tf2xla/xla_op_registry.h"
#include "tensorflow/compiler/xla/client/lib/constants.h"
#include "tensorflo... | {
"content_hash": "42732f523c7659813bad7512f777fb8a",
"timestamp": "",
"source": "github",
"line_count": 173,
"max_line_length": 80,
"avg_line_length": 40.820809248554916,
"alnum_prop": 0.5851033701500992,
"repo_name": "annarev/tensorflow",
"id": "213045e428afb1a6838f620e09be4b0fe4745528",
"size": "... |
using System.Collections.Generic;
using System.Globalization;
using Xunit;
namespace System.Tests
{
public partial class UInt16Tests
{
public static IEnumerable<object[]> Parse_ValidWithOffsetCount_TestData()
{
foreach (object[] inputs in Parse_Valid_TestData())
{
... | {
"content_hash": "9a3a0a5d817b6f3797c3a7a2a92c9763",
"timestamp": "",
"source": "github",
"line_count": 109,
"max_line_length": 143,
"avg_line_length": 43.330275229357795,
"alnum_prop": 0.5744230362058014,
"repo_name": "wtgodbe/corefx",
"id": "a6e830167910025828db8474f24844bf411bfdea",
"size": "492... |
INDEX PAGE
recent stuff
- bagel owner
- bagel owning team
- bagelling team
- teams on the "rise"
- teams getting "cold"
- players on the "rise"
- players getting "cold"
all-time stuff
- best teams
- worst teams
- best player
- worst player
statistics
- total bagels
- most bagels in one day
- most bagels in one week
... | {
"content_hash": "e8f7b4895e726c5607396f2200d8ed35",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 29,
"avg_line_length": 16.28,
"alnum_prop": 0.7297297297297297,
"repo_name": "winterchord/foosball-bagels",
"id": "d593f2b6e185f77f2079191f755ec98602991d2f",
"size": "407",... |
require File.dirname(__FILE__) + '/../../../spec_helper'
require File.dirname(__FILE__) + '/shared/constants'
describe "Digest::MD5#==" do
it 'should be equal to itself' do
cur_digest = Digest::MD5.new
cur_digest.should == cur_digest
end
it 'should be equal to string representing its hexdigest' do
... | {
"content_hash": "68189c5ebeb43b905bca7e08e35001ae",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 111,
"avg_line_length": 29,
"alnum_prop": 0.6747437092264679,
"repo_name": "yugui/rubyspec",
"id": "ee6f7789c0800e4893713d48a16562d9f4f3fcb1",
"size": "1073",
"binary": f... |
<?php
return array(
'system' => array(
'System' => 'Sistema',
'Published a new version of the :monstra' => 'Išleista nauja :monstra versija',
'Sitemap created' => 'Sitemap sukurtas',
'Create Sitemap' => 'Sukurti sitemap',
'on' => 'įjungti',
... | {
"content_hash": "aa5b6737c1df333ae0457f8228c403fb",
"timestamp": "",
"source": "github",
"line_count": 80,
"max_line_length": 99,
"avg_line_length": 55.875,
"alnum_prop": 0.5543624161073826,
"repo_name": "ravilrrr/Monstra.R-CMS",
"id": "a847380f10e6c4cece3e41936422e5305e131c68",
"size": "4580",
... |
from typing import List, Union
from azure.ai.ml._restclient.v2022_10_01_preview.models import (
AutoForecastHorizon,
AutoSeasonality,
AutoTargetLags,
AutoTargetRollingWindowSize,
CustomForecastHorizon,
CustomSeasonality,
CustomTargetLags,
CustomTargetRollingWindowSize,
ForecastHoriz... | {
"content_hash": "ebddfecf28c9b38f23ac17a2b74e1772",
"timestamp": "",
"source": "github",
"line_count": 200,
"max_line_length": 118,
"avg_line_length": 48.125,
"alnum_prop": 0.6742857142857143,
"repo_name": "Azure/azure-sdk-for-python",
"id": "24303737461dc9e580c6f37af96b3b2f1bb5819d",
"size": "987... |
var zrUtil = require("zrender/lib/core/util");
var eventTool = require("zrender/lib/core/event");
var graphic = require("../../util/graphic");
var throttle = require("../../util/throttle");
var DataZoomView = require("./DataZoomView");
var numberUtil = require("../../util/number");
var layout = require("../../uti... | {
"content_hash": "ff40e698801e2215f07a87f73dbef099",
"timestamp": "",
"source": "github",
"line_count": 710,
"max_line_length": 299,
"avg_line_length": 29.628169014084506,
"alnum_prop": 0.6166096216010648,
"repo_name": "falost/falost.github.io",
"id": "14cb5618f8a81aa7eb56f38c75d76f53626448a8",
"si... |
The MIT License (MIT)
Copyright (c) 2014 Ondřej Plšek (http://www.ondraplsek.cz)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
us... | {
"content_hash": "267c426b364e2d635a1470f58fb159e7",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 80,
"avg_line_length": 55.3,
"alnum_prop": 0.8010849909584087,
"repo_name": "ondrs/WebLoaderFilters",
"id": "38c9f95bc9656323e99c9e70047eac999297a4ac",
"size": "1108",
"b... |
<?php
namespace Zephir\Builder\Statements;
/**
* ThrowStatementBuilder
*
* Allows to manually build a 'throw' statement AST node
*/
class ThrowStatementBuilder extends AbstractStatementBuilder
{
private $expr;
/**
* ThrowStatementBuilder constructor
*
* @param mixed $expr
*/
pub... | {
"content_hash": "376b92086f592222a77febf0ce88fa9c",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 60,
"avg_line_length": 16,
"alnum_prop": 0.5451388888888888,
"repo_name": "sergeyklay/zephir",
"id": "de8ddc748f9128dab7d68e9e921d718971b271e9",
"size": "1205",
"binary":... |
package nl.tudelft.lifetiles.graph.model;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import nl.tudelft.lifetiles.sequence.model.Sequence;
import nl.tudelft.lifetiles.sequence.model.SequenceSegment;
/**
* Interface for Graph Parser.
*
* @author Rutger van den Berg
*/
public interface G... | {
"content_hash": "a353b711e04d2ed10da521a7d092331a",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 77,
"avg_line_length": 29.742857142857144,
"alnum_prop": 0.659942363112392,
"repo_name": "jorenham/LifeTiles",
"id": "fa8bab1d6719e2dc1a554ec050dfd6e76410f2a6",
"size": "10... |
Ti={Company.Name.Full} Outside Counsel Guidelines
#Notes=------------:
Overview
After incorporating sample contributions from many companies across multiple industries, CLOC is proud to author and publish a common set of Outside Counsel Guidelines. These sample guidelines are provided as a tool to assist CLOC member... | {
"content_hash": "75af9c3eac5c042922be65e692866452",
"timestamp": "",
"source": "github",
"line_count": 60,
"max_line_length": 576,
"avg_line_length": 34.7,
"alnum_prop": 0.7540826128722382,
"repo_name": "CommonAccord/Cmacc-Org",
"id": "1d22cb78e87bff8301f9498053b5993dfdb0acce",
"size": "2089",
"... |
class Week < ActiveRecord::Base
has_many :submissions
validates :name, presence: true
validates :max_points, presence: true
end
| {
"content_hash": "42b45a0d061ed6f976ddc38dbf228661",
"timestamp": "",
"source": "github",
"line_count": 7,
"max_line_length": 39,
"avg_line_length": 19.428571428571427,
"alnum_prop": 0.7426470588235294,
"repo_name": "josalmi/lapio-stats",
"id": "1de79e7b364d3045a24a60073212f294a7dd6fe9",
"size": "1... |
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Reflection;
namespace Ssemi.Common.Core
{
public static class BinarySerialize
{
#region Binary Serialize
#region MemoryStream SerializeData(Object obj)
... | {
"content_hash": "b252d476a340bede0a47cfedf6723332",
"timestamp": "",
"source": "github",
"line_count": 78,
"max_line_length": 160,
"avg_line_length": 40.94871794871795,
"alnum_prop": 0.6183469004383219,
"repo_name": "ssemi/csharp-lib",
"id": "a1bea6669ab9994b3b9d8ee56fb976ccfcd535b4",
"size": "322... |
* The default config now match the Symfony's and API Platform's Best Practices (namespaces)
* The API Platform's annotation generator is enabled by default
* Use HTTPS to retrieve vocabularies by default
* Properties are generated in the order of the config file
* Properties and constants are separated by an empty line... | {
"content_hash": "50fb05bdc5b1e8edd167aed2250bc9ff",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 131,
"avg_line_length": 28.68918918918919,
"alnum_prop": 0.7597739048516251,
"repo_name": "yoan-durand/test-api-platform",
"id": "b1d4c98961444affbec8a90eac18e0b34033aa54",
... |
// Copyright 2020 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.
#include <stddef.h>
#include <stdint.h>
namespace my_namespace {
class SomeClass {
public:
void Method(char) {}
int data_member;
};
// The class b... | {
"content_hash": "60cf2e0247272a6c72ebcd9831f781f8",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 80,
"avg_line_length": 37.32575757575758,
"alnum_prop": 0.7026588187538055,
"repo_name": "endlessm/chromium-browser",
"id": "ed231b983cc10c0114a72bbb6cb7c45be467da0c",
"si... |
package edu.umuc.cmis141.homework1;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Homework1 Assignment.
*
* The Homework1 program is built to display the area of a circle.
*
* Javadoc Generated Documentation is available:
* http://benbunk.github.io/CMIS141/Homework1/project-reports.html
*
* H... | {
"content_hash": "65972a2100724dae3467b38dcf3e8ea6",
"timestamp": "",
"source": "github",
"line_count": 56,
"max_line_length": 82,
"avg_line_length": 26.821428571428573,
"alnum_prop": 0.6331557922769641,
"repo_name": "benbunk/CMIS141",
"id": "458feabdaa95406ee1bdfa65009f7f95773062c0",
"size": "1502... |
* Added ``binDir`` option to specify where the build output should be placed
(Thank you [@minciue](https://github.com/minciue)).
* Fixed deprecated code (Thank you [@lou15b](https://github.com/lou15b)).
* Fixes to old ``.babel`` folder handling
(Thank you [@ClementJnc](https://github.com/ClementJnc)).
* Added abili... | {
"content_hash": "c8c5274736c9cf02312361e620de7d79",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 93,
"avg_line_length": 49.21052631578947,
"alnum_prop": 0.7358288770053476,
"repo_name": "Araq/nimble",
"id": "f4262b11d803f48eb07e82143cbac77d11730eda",
"size": "2847",
... |
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0"/>
<title>Portal Educação</title>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="../../t... | {
"content_hash": "1471350d07843deed8b1565ccc533966",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 228,
"avg_line_length": 39.26744186046512,
"alnum_prop": 0.5817293455729938,
"repo_name": "Haddadson/portal-educacao",
"id": "62856837da821b6e09eb7ce8351d7b75d5688d7e",
"s... |
/*global QUnit*/
/**
* General consistency checks on designtime metadata of controls in the sap.ui.layout library
*/
sap.ui.require(["sap/ui/dt/test/LibraryTest"], function (LibraryTest) {
"use strict";
LibraryTest("sap.ui.layout", QUnit);
});
| {
"content_hash": "17a3cecb4e8111d0cd526672ad64e739",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 93,
"avg_line_length": 27.666666666666668,
"alnum_prop": 0.7108433734939759,
"repo_name": "nzamani/openui5",
"id": "f537af636f072f4e240e924a57aad2eae7c9c014",
"size": "249",... |
package scheme
import (
admissionv1alpha1 "k8s.io/api/admission/v1beta1"
admissionregistrationv1beta1 "k8s.io/api/admissionregistration/v1beta1"
appsv1 "k8s.io/api/apps/v1"
appsv1beta1 "k8s.io/api/apps/v1beta1"
appsv1beta2 "k8s.io/api/apps/v1beta2"
authenticationv1 "k8s.io/api/authentication/v1"
authenticatio... | {
"content_hash": "5ea6790afb613329043b9c9a68b571e8",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 139,
"avg_line_length": 55.88059701492537,
"alnum_prop": 0.8389423076923077,
"repo_name": "NickrenREN/kubernetes",
"id": "76a0578dc1937f44283e359fc8af69343aa487e3",
"size":... |
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>PHPXRef 0.7.1 : Unnamed Project : Variable Reference: $ignore</title>
<link rel="stylesheet" href="../sample.css" type="text/css">
<link rel="stylesheet" href="../sample-print.css"... | {
"content_hash": "af5ee88c1a1763ec3bcd31da0b2e5baf",
"timestamp": "",
"source": "github",
"line_count": 93,
"max_line_length": 253,
"avg_line_length": 49.18279569892473,
"alnum_prop": 0.6679055531263665,
"repo_name": "inputx/code-ref-doc",
"id": "9f53a651a94bf1ec75e3ac47a8fbe1e932a416a7",
"size": "... |
package org.spongepowered.api.event.message;
import org.spongepowered.api.event.GameEvent;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.sink.MessageSink;
import org.spongepowered.api.util.command.CommandSource;
/**
* Describes events when a {@link CommandSource} sends a {@link Text} mes... | {
"content_hash": "1fee68bc1fecb76f06b67ca4d03ad887",
"timestamp": "",
"source": "github",
"line_count": 58,
"max_line_length": 80,
"avg_line_length": 23.53448275862069,
"alnum_prop": 0.6285714285714286,
"repo_name": "caseif/SpongeAPI",
"id": "8c0cfa73e7adb654eed112a0b1f2e7ee72885dd9",
"size": "2615... |
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2010-2011, WSO2 Inc. (http://www.wso2.org) 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
~
~ htt... | {
"content_hash": "e46d2920dbc936bab8c5a02c4d01435a",
"timestamp": "",
"source": "github",
"line_count": 222,
"max_line_length": 225,
"avg_line_length": 55.067567567567565,
"alnum_prop": 0.5267893660531697,
"repo_name": "lakshani/carbon-mobile-appmgt",
"id": "f532137521a75979a8307493262cae09918e414e",... |
package consulo.javascript.lang;
/**
* @author VISTALL
* @since 15.02.2016
*/
public interface JavaScriptConstants
{
String USE_STRICT = "use strict";
}
| {
"content_hash": "83d286d41813d9217dc1f16595e492e8",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 36,
"avg_line_length": 15.8,
"alnum_prop": 0.7088607594936709,
"repo_name": "consulo/consulo-javascript",
"id": "02eef68c966878f3ef49b0a5813ff031e28625bb",
"size": "158",
... |
package com.google.cloud.dataflow.sdk.runners.inprocess;
import static com.google.common.base.Preconditions.checkState;
import com.google.cloud.dataflow.sdk.coders.VoidCoder;
import com.google.cloud.dataflow.sdk.runners.inprocess.InProcessPipelineRunner.CommittedBundle;
import com.google.cloud.dataflow.sdk.runners.i... | {
"content_hash": "75950e7660a759e726d872cab07e7124",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 99,
"avg_line_length": 32.42068965517242,
"alnum_prop": 0.7104871303977877,
"repo_name": "joshualitt/DataflowJavaSDK",
"id": "d6f7cb4f61a9841e65302540996b40ebfcb4e652",
"s... |
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.m60732.poupanca">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIco... | {
"content_hash": "9451688f79f51c729cf3613b84daaead",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 76,
"avg_line_length": 35.285714285714285,
"alnum_prop": 0.6045883940620783,
"repo_name": "vpithan/android",
"id": "4693209b7bb94077cdb7cde1d12e3d824490969a",
"size": "741"... |
<?php
class Services_Upgrade_Settings {
private $_settings;
function __construct(Dao_Factory $daoFactory, Services_Settings_Container $settings) {
$this->_settings = $settings;
} # ctor
function update() {
/*
* Make sure some versionnumbers are always in the db, so
* comparisons always work
*/
$th... | {
"content_hash": "849e97e86da362e61a2b6e10578cc449",
"timestamp": "",
"source": "github",
"line_count": 243,
"max_line_length": 129,
"avg_line_length": 34.19753086419753,
"alnum_prop": 0.641756919374248,
"repo_name": "the-darkvoid/spotweb",
"id": "bec38cc7e983840ab8e78b2be40764785f6e687e",
"size": ... |
$KCODE = 'u' if RUBY_VERSION < '1.9'
module Localize
autoload :YAMLadapter, File.join(File.dirname(__FILE__), 'localize/adapters/yaml')
autoload :XMLadapter, File.join(File.dirname(__FILE__), 'localize/adapters/xml')
autoload :Formats, File.join(File.dirname(__FILE__), 'localize/formats')
@@default_locale = ... | {
"content_hash": "f27e0e3a0029e5cf85a15549d1a460fe",
"timestamp": "",
"source": "github",
"line_count": 155,
"max_line_length": 84,
"avg_line_length": 20.329032258064515,
"alnum_prop": 0.5385591875595049,
"repo_name": "berowar/XML-adapter",
"id": "b73f1179e5a4e84759bbfeb498cdd46a8b2a4823",
"size": ... |
import os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_B... | {
"content_hash": "5d59984a84982fe58e440b4f7c6ebc85",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 72,
"avg_line_length": 28.181818181818183,
"alnum_prop": 0.6161290322580645,
"repo_name": "quom/google-cloud-python",
"id": "08cd2eb7d6b46754e8e9c16d05fd43e061b47980",
"siz... |
// +build !ignore_autogenerated
// This file was autogenerated by deepcopy-gen. Do not edit it manually!
package v1alpha1
import (
conversion "k8s.io/apimachinery/pkg/conversion"
runtime "k8s.io/apimachinery/pkg/runtime"
v1 "k8s.io/kubernetes/pkg/api/v1"
reflect "reflect"
)
func init() {
SchemeBuilder.Regist... | {
"content_hash": "d4ce27dac8c197e3a7a5630718ce6ae3",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 156,
"avg_line_length": 32.088,
"alnum_prop": 0.7075542258788332,
"repo_name": "huang195/kubernetes",
"id": "9bacf3501fd374b1c53b4b1868aab70220c0eb23",
"size": "4580",
"... |
require_relative '../../models/map/presenter'
class Admin::TablesController < ApplicationController
ssl_required :index, :show
skip_before_filter :browser_is_html5_compliant?, :only => [:embed_map]
before_filter :login_required, :only => [:index]
after_filter :update_user_last_activity... | {
"content_hash": "5e190a64db785abfc5e9a85567efbc01",
"timestamp": "",
"source": "github",
"line_count": 69,
"max_line_length": 115,
"avg_line_length": 34.768115942028984,
"alnum_prop": 0.6448520216756982,
"repo_name": "raquel-ucl/cartodb",
"id": "ed92f43f947fcc507fbe04a06228d2d5c05ae9d3",
"size": "... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Kew Bull. , Addit. Ser. 9: 367 (1983)
#### Original name
Eccilia martinica Pegler
### Remarks
null | {
"content_hash": "d3fd21c39367047665e85e06d29f8d18",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 37,
"avg_line_length": 12.461538461538462,
"alnum_prop": 0.6851851851851852,
"repo_name": "mdoering/backbone",
"id": "1506ce9e4696d710700ad49b23e6212c272da2d0",
"size": "21... |
package ssl
type Sslcertkeysslocspresponderbinding struct {
Ca bool `json:"ca,omitempty"`
Certkey string `json:"certkey,omitempty"`
Ocspresponder string `json:"ocspresponder,omitempty"`
Priority int `json:"priority,omitempty"`
}
| {
"content_hash": "b260445a2d90658b91e2533886edd827",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 54,
"avg_line_length": 32.625,
"alnum_prop": 0.7049808429118773,
"repo_name": "chiradeep/go-nitro",
"id": "e6c18c780139ccb13dfbf3f2911b09d6c4cd83c1",
"size": "261",
"binar... |
import Phaser from 'phaser';
import Text from './base/Text';
import Sprite from './base/Sprite';
import { store } from '../store/';
export default class extends Sprite {
constructor(game, options) {
super(game, options);
this.init(game, options);
}
init(game, options) {
this.game = game;
this.store = stor... | {
"content_hash": "85fe6264961fbe1424721051caaff1a5",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 48,
"avg_line_length": 16.364864864864863,
"alnum_prop": 0.6135425268373246,
"repo_name": "pavermakov/phaser-synth",
"id": "47ebfbe25993d629762bcdfc7125eba225159c96",
"size... |
<?php
namespace Geocoder\Tests\Provider;
use Geocoder\Provider\Nominatim;
use Geocoder\Tests\TestCase;
class NominatimTest extends TestCase
{
public function testGeocodeWithRealAddress()
{
$provider = Nominatim::withOpenStreetMapServer($this->getAdapter());
$results = $provider->geocode('Par... | {
"content_hash": "53a12f69cb2efeac6b0db7eada55da0c",
"timestamp": "",
"source": "github",
"line_count": 492,
"max_line_length": 180,
"avg_line_length": 56.636178861788615,
"alnum_prop": 0.636497398169747,
"repo_name": "arunlodhi/Geocoder",
"id": "7fb931548ee656206b1273822728bdccda48319d",
"size": "... |
<!DOCTYPE html>
<!--
Copyright (c) 2013 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/math/bbox2.html">
<link rel="import" href="/tracing/base/math/math.html">
<link rel="import" hre... | {
"content_hash": "ac104a68c4e35fbd71d868e505c77cc5",
"timestamp": "",
"source": "github",
"line_count": 692,
"max_line_length": 80,
"avg_line_length": 32.20809248554913,
"alnum_prop": 0.6090272792534099,
"repo_name": "catapult-project/catapult-csm",
"id": "63b0c5e7df541de5784de2416cc38e17cb8b7d06",
... |
/**
* Base room configuration
*/
function BaseRoomConfig(room)
{
this.room = room;
this.maxScore = null;
this.variables = {
bonusRate: 0
};
this.bonuses = {
BonusSelfSmall: true,
BonusSelfSlow: true,
BonusSelfFast: true,
BonusSelfMaster: true,
... | {
"content_hash": "118a7e5ec96eaa436f2e8a35a0d5032e",
"timestamp": "",
"source": "github",
"line_count": 174,
"max_line_length": 69,
"avg_line_length": 17.586206896551722,
"alnum_prop": 0.6303921568627451,
"repo_name": "Elao/curvytron-arcade",
"id": "565aaaee50bdc9c7207f3f3ac12bcb5588068d37",
"size"... |
package org.blackbananacoin.incubator.extsupernode;
import static com.google.common.base.Preconditions.checkNotNull;
import java.math.BigDecimal;
import java.math.BigInteger;
import com.google.bitcoin.core.Utils;
public class BkbcUtils {
public static final long BTC = 100000000L;
public static final int mBTC ... | {
"content_hash": "c177fa94b5b18c75b3c4ef72b6dc928d",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 71,
"avg_line_length": 30.21951219512195,
"alnum_prop": 0.7296206618240516,
"repo_name": "y12studio/BlackBananaCoin",
"id": "8a76221c3f686b659c6d6c9c98a249470695fae0",
"siz... |
package org.sleuthkit.autopsy.timeline;
import java.io.IOException;
import java.net.URL;
import java.util.ArrayList;
import java.util.logging.Level;
import javafx.collections.FXCollections;
import javafx.scene.Node;
import javafx.scene.control.Alert;
import javafx.scene.control.ButtonBar;
import javafx.scene.control.... | {
"content_hash": "9a6add5975eae0e33b3593c23e72c49a",
"timestamp": "",
"source": "github",
"line_count": 149,
"max_line_length": 207,
"avg_line_length": 45.54362416107382,
"alnum_prop": 0.7301797819039199,
"repo_name": "mhmdfy/autopsy",
"id": "ef249ff1e87fcc126d0f37324a0cafbea028f4ab",
"size": "7467... |
package render
import (
"encoding/xml"
"net/http"
"net/http/httptest"
"testing"
)
type GreetingXML struct {
XMLName xml.Name `xml:"greeting"`
One string `xml:"one,attr"`
Two string `xml:"two,attr"`
}
func TestXMLBasic(t *testing.T) {
render := New(Options{
// nothing here to configure
})
var ... | {
"content_hash": "32f2a1690f5bb67e3349d200731a5904",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 89,
"avg_line_length": 26.593984962406015,
"alnum_prop": 0.6627085100367544,
"repo_name": "paulnguyen/cloud",
"id": "284ff79b62217da1be9eb7f626023cf4c01647f0",
"size": "35... |
import socket
import threading
import Queue
import collections
import SocketServer
import struct
import os
import sys
import time
import traceback
import uuid
import subprocess
import StringIO
import imp
import hashlib
import base64
import logging
import re
import ssl
import tempfile
import string
import datetime
impor... | {
"content_hash": "c83cac0a4283e1300ac580fe6d99d6cc",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 22,
"avg_line_length": 14.590909090909092,
"alnum_prop": 0.8582554517133957,
"repo_name": "xeddmc/pupy",
"id": "6cbd4d3d628f110e8944ff000e44e9a6822ed37f",
"size": "642",
... |
package org.apache.camel.component.elsql;
import java.util.Collections;
import java.util.Map;
import org.apache.camel.Exchange;
import org.springframework.jdbc.core.namedparam.AbstractSqlParameterSource;
/**
* A {@link org.springframework.jdbc.core.namedparam.SqlParameterSource} that is used by {@link com.opengamm... | {
"content_hash": "19456cb538c63f8fe20442bf99cde74b",
"timestamp": "",
"source": "github",
"line_count": 65,
"max_line_length": 130,
"avg_line_length": 40.53846153846154,
"alnum_prop": 0.6527514231499051,
"repo_name": "zregvart/camel",
"id": "6ea5760891e63af57da7ede1807963fa7b95d9cf",
"size": "3437"... |
<html lang="en">
<head>
<title>TIC54X-Locals - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="TIC54X_002dDependent.html#TIC54X_002... | {
"content_hash": "b9f48b4099e9035d40e69093150301cb",
"timestamp": "",
"source": "github",
"line_count": 70,
"max_line_length": 116,
"avg_line_length": 41.01428571428571,
"alnum_prop": 0.7335423197492164,
"repo_name": "bouffalolab/bl_iot_sdk_matter",
"id": "1b064a59e2ba0e8e8dbf4334f0a47a25d3da8c09",
... |
import * as Supertest from "supertest"
import * as Chai from "chai"
import { RequestAdapter } from "../src/request-adapter"
import * as Express from "express"
import * as Kamboja from "kamboja"
import * as Sinon from "sinon"
describe("RequestAdapter", () => {
it("Should return cookie with case insensitive", async... | {
"content_hash": "f311e289d8e81bbbde37d715778c28b7",
"timestamp": "",
"source": "github",
"line_count": 88,
"max_line_length": 75,
"avg_line_length": 31.636363636363637,
"alnum_prop": 0.5093390804597702,
"repo_name": "kambojajs/kamboja-express",
"id": "c5082a4eda1d1b715343f0b465d6773125f19cf2",
"si... |
FROM balenalib/vab820-quad-ubuntu:bionic-build
ENV NODE_VERSION 10.23.1
ENV YARN_VERSION 1.22.4
RUN for key in \
6A010C5166006599AA17F08146C2130DFD2497F5 \
; do \
gpg --keyserver pgp.mit.edu --recv-keys "$key" || \
gpg --keyserver keyserver.pgp.com --recv-keys "$key" || \
gpg --keyserver ha.pool.sks-keyserver... | {
"content_hash": "b2a3df456b965dbecb6e892f153ac596",
"timestamp": "",
"source": "github",
"line_count": 41,
"max_line_length": 694,
"avg_line_length": 66.90243902439025,
"alnum_prop": 0.7101713452424353,
"repo_name": "nghiant2710/base-images",
"id": "fef72bb60afe8d56b5d632d2e452e1ec29de9c58",
"size... |
#ifndef ContainerNodeAlgorithms_h
#define ContainerNodeAlgorithms_h
#include "Document.h"
#include "ElementIterator.h"
#include "Frame.h"
#include "HTMLFrameOwnerElement.h"
#include "InspectorInstrumentation.h"
#include "NodeTraversal.h"
#include "ShadowRoot.h"
#include <wtf/Assertions.h>
#include <wtf/Ref.h>
names... | {
"content_hash": "2dbdd91eb1b708b9320609470435098e",
"timestamp": "",
"source": "github",
"line_count": 260,
"max_line_length": 153,
"avg_line_length": 31.06923076923077,
"alnum_prop": 0.7077246843278039,
"repo_name": "unofficial-opensource-apple/WebCore",
"id": "b4299b01a91fe13f053cfdf4c8ee068edb438... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2015-2016 Red Hat, Inc. and/or its affiliates
and other contributors as indicated by the @author tags.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... | {
"content_hash": "d5c62fa824b0640bb47930f68351f5cc",
"timestamp": "",
"source": "github",
"line_count": 104,
"max_line_length": 204,
"avg_line_length": 30.528846153846153,
"alnum_prop": 0.6818897637795276,
"repo_name": "hawkular/hawkular-inventory",
"id": "405653046068f5dd2e8de739fc934179cb428ebe",
... |
class Timer {
public:
Timer() = default;
void Tic() {
start_ = std::chrono::system_clock::now();
}
double Toc() {
std::chrono::time_point<std::chrono::system_clock> end =
std::chrono::system_clock::now();
std::chrono::duration<double> elapsed = end - start_;
return elapsed.count();
... | {
"content_hash": "e6ae515753f2a7539b899d98a1536cbc",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 61,
"avg_line_length": 20.761904761904763,
"alnum_prop": 0.6123853211009175,
"repo_name": "breakds/monster-avengers",
"id": "7124f7193b0a2ec56e40832335cd238885c73652",
"siz... |
import {isLayoutSizeDefined} from '../../../src/layout';
import {loadPromise} from '../../../src/event-helper';
import {addParamsToUrl} from '../../../src/url';
import {getDataParamsFromAttributes} from '../../../src/dom';
import {setStyles} from '../../../src/style';
import {user} from '../../../src/log';
class Amp... | {
"content_hash": "083c5682e270475852c3d45f730deb61",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 304,
"avg_line_length": 32.94444444444444,
"alnum_prop": 0.6481169196177627,
"repo_name": "BenDz/amphtml-atinternet",
"id": "db264b80dce32b86181cd5ffd35fcfcd91b07a08",
"si... |
<?php
namespace Dark\DissectBundle\Builder;
/**
* Storage languages
*
* @todo Add caching feature
* @author Evgeniy Guseletov <d46k16@gmail.com>
*/
class LanguageRepository
{
private $lb;
private $languageHolder;
private $pathHolder;
public function __construct(LanguageBuilder $lb)
{
... | {
"content_hash": "e2200c08e424170e6cfd50915525dc8e",
"timestamp": "",
"source": "github",
"line_count": 47,
"max_line_length": 97,
"avg_line_length": 22.97872340425532,
"alnum_prop": 0.5527777777777778,
"repo_name": "cursedcoder/DarkDissectBundle",
"id": "2b5d2823b1b2bff0c5c20b7ce5f2d6ef99764374",
... |
Simple and easy licensing framework for your .NET projects.
Nothing clever, it just keeps honest people honest.
If you need an easy way to license a .NET Windows Forms application,
but don't want to pay the large fees expected from the .NET licensing
companies, LicenseLib.NET might be for you.
Here is a brief exp... | {
"content_hash": "eecf826bbf8cd22f17a21527b4cbc6b5",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 77,
"avg_line_length": 36.05128205128205,
"alnum_prop": 0.7610241820768137,
"repo_name": "dalehenning/LicenseLib.NET",
"id": "f440a60a9222a49cff1476438a509a3ef5d99396",
"si... |
class AddApiIds < ActiveRecord::Migration
def self.up
add_column :surveys, :api_id, :string
add_column :questions, :api_id, :string
add_column :answers, :api_id, :string
end
def self.down
remove_column :surveys, :api_id
remove_column :questions, :api_id
remove_column :answers, :api_id
e... | {
"content_hash": "5f64421e5bfdefb6a6dc80f05df6af95",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 25.153846153846153,
"alnum_prop": 0.6758409785932722,
"repo_name": "tcw48/surveyor_FriendCompare",
"id": "e63712bc9addab757d76a9c7a2444ff347d47fad",
... |
<?php
namespace Ker\MVCP;
abstract class View
{
protected static $charset;
protected static $cssFile;
protected static $description;
protected static $favicon;
protected static $IeForce9;
protected static $imgPreloader;
protected static $jsCode;
protected static $jsFile;
protecte... | {
"content_hash": "f53fabb92add19eeb5e9233a657bf6ee",
"timestamp": "",
"source": "github",
"line_count": 248,
"max_line_length": 193,
"avg_line_length": 36.778225806451616,
"alnum_prop": 0.5626576033329679,
"repo_name": "keradus/Ker",
"id": "3f73ca8e9561bc720f9da16fc85a178e4bdf18be",
"size": "9342",... |
var testBase = require('tape');
var mobx = require('..');
var m = mobx;
var observable = mobx.observable;
var computed = mobx.computed;
var voidObserver = function(){};
function test(name, func) {
testBase(name, function(t) {
try {
func(t);
} finally {
mobx._.resetGlobalSt... | {
"content_hash": "02211a25c6d48f9bb2eb18957ee8c9d4",
"timestamp": "",
"source": "github",
"line_count": 328,
"max_line_length": 122,
"avg_line_length": 24.58231707317073,
"alnum_prop": 0.5411137293811237,
"repo_name": "tomaash/mobx-input",
"id": "4c2d19c33bf15964c8f20f1549c1c0fce6abce62",
"size": "... |
// This file was automatically generated by informer-gen
package v1beta2
import (
apps_v1beta2 "k8s.io/api/apps/v1beta2"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
runtime "k8s.io/apimachinery/pkg/runtime"
watch "k8s.io/apimachinery/pkg/watch"
internalinterfaces "github.com/hyperhq/client-go/informers/internali... | {
"content_hash": "dd82f3f6b8e1f0f5ccf518f71dde392c",
"timestamp": "",
"source": "github",
"line_count": 74,
"max_line_length": 220,
"avg_line_length": 40.554054054054056,
"alnum_prop": 0.7950683105631456,
"repo_name": "hyperhq/kubernetes",
"id": "305a0a515039c1ed73b4274e5b8434f3285f42b8",
"size": "... |
package com.og.util;
import android.Manifest;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.net.Uri;
import android.provider.Settings;
import android.support.v4.app.ActivityCom... | {
"content_hash": "d04d15ee456c5e879fba8b32ce6bde87",
"timestamp": "",
"source": "github",
"line_count": 293,
"max_line_length": 123,
"avg_line_length": 26.017064846416382,
"alnum_prop": 0.6993309720582448,
"repo_name": "blitzfeng/IceMFi",
"id": "1fe230ff9e4a028b87593e0613cef6059853ba91",
"size": "9... |
/**
* Automatically generated file. Please do not edit.
* @author Highcharts Config Generator by Karasiq
* @see [[http://api.highcharts.com/highmaps]]
*/
package com.highmaps.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript n... | {
"content_hash": "d9ad5f9aa0158ef55be96c34f464204b",
"timestamp": "",
"source": "github",
"line_count": 132,
"max_line_length": 557,
"avg_line_length": 43.39393939393939,
"alnum_prop": 0.6944832402234636,
"repo_name": "Karasiq/scalajs-highcharts",
"id": "47b55764f203c4d77efecc898836712911a3a685",
"... |
import spur
__all__ = ["run", "RunProcessError"]
local_shell = spur.LocalShell()
run = local_shell.run
RunProcessError = spur.RunProcessError
| {
"content_hash": "df6a01410590071b99fda18ec875e001",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 38,
"avg_line_length": 13.454545454545455,
"alnum_prop": 0.7094594594594594,
"repo_name": "mwilliamson/whack",
"id": "98205c3aff7ca04b804436fbde5222f9023b8101",
"size": "14... |
FROM node:onbuild
# make sure apt is up to date
RUN apt-get update
# add source files
ADD . /srv
# set the working directory to run commands from
WORKDIR /srv
CMD ["ls"]
RUN rm -rf ./node_modules
# install express
RUN npm install -g express
# install the dependencies
RUN npm install
# expose the port so host can ... | {
"content_hash": "4d0583fa2b983b697679520d2201a9ad",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 52,
"avg_line_length": 17.416666666666668,
"alnum_prop": 0.7392344497607656,
"repo_name": "BaobabCoder/nle",
"id": "b1b781fd8907347565502bccbc7cc19c1cbd8713",
"size": "418"... |
require "compass/app_integration/stand_alone"
module Compass
module AppIntegration
module Helpers
#attr_accessor :project_types
DEAFULT_PROJECT_TYPES = {
:stand_alone => "Compass::AppIntegration::StandAlone"
}
def init
@project_types ||= DEAFULT_PROJECT_TYPES.dup
en... | {
"content_hash": "c352b9dd382e6d0cb21c9a3a74b38c28",
"timestamp": "",
"source": "github",
"line_count": 39,
"max_line_length": 79,
"avg_line_length": 20.82051282051282,
"alnum_prop": 0.5985221674876847,
"repo_name": "natewscott/rb-co",
"id": "2439984d904887f02d5dbcd87c0d36501372718a",
"size": "812"... |
@interface IDEWelcomeWindowHighlightButtonCell : NSButtonCell
{
}
- (struct CGRect)imageRectForBounds:(struct CGRect)arg1;
- (void)drawBezelWithFrame:(struct CGRect)arg1 inView:(id)arg2;
- (void)drawImage:(id)arg1 withFrame:(struct CGRect)arg2 inView:(id)arg3;
- (void)drawWithFrame:(struct CGRect)arg1 inView:(id)arg2;... | {
"content_hash": "28ab2342628a1e2077ab12c73d659348",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 73,
"avg_line_length": 29.818181818181817,
"alnum_prop": 0.7804878048780488,
"repo_name": "wczekalski/Distraction-Free-Xcode-plugin",
"id": "374197c2ed1b976abd1df96e72f1bc7e5... |
var MapManager = (function() {
var map;
var cedGeoJson;
var pollingPlaces;
var markerGroup;
// ui elements
var toggleCedGeoJson;
var infoTable;
var infoTableBody;
var votesTable;
var votesTableBody;
// public methods
// init
var init = function() {
bindUIActions();
createMap();
... | {
"content_hash": "9305110ff63a5399d523c0212436a998",
"timestamp": "",
"source": "github",
"line_count": 194,
"max_line_length": 114,
"avg_line_length": 29.762886597938145,
"alnum_prop": 0.5547280914444059,
"repo_name": "robinmackenzie/polling-au",
"id": "c07f9d6e57f800b18f34d0a899acc3d166b84843",
"... |
@component('sts-consumer')
class StsConsumer extends polymer.Base {
}
StsConsumer.register();
| {
"content_hash": "cfedbda9962fb06210d4349537985210",
"timestamp": "",
"source": "github",
"line_count": 5,
"max_line_length": 40,
"avg_line_length": 19,
"alnum_prop": 0.7684210526315789,
"repo_name": "fluffynuts/polymer-ts-scratch",
"id": "c0ba898b83f5b9dc8c59bcb821dfcd83ed157c95",
"size": "95",
... |
package org.jbpm.workbench.ks.utils;
import java.util.Arrays;
import org.jbpm.workbench.ks.security.KeyCloakTokenCredentialsProvider;
import org.kie.server.api.KieServerConstants;
import org.kie.server.api.marshalling.MarshallingFormat;
import org.kie.server.client.CredentialsProvider;
import org.kie.server.client.... | {
"content_hash": "abc92b863abb4cc736ec84f5f5a46c33",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 192,
"avg_line_length": 52.819148936170215,
"alnum_prop": 0.770392749244713,
"repo_name": "pefernan/jbpm-console-ng",
"id": "050cd319fe24fdaea57717ea1391de1124c782a2",
"siz... |
"""Initialize and launch the onramp REST server."""
import logging
import os
import signal
import socket
import sys
import cherrypy
from cherrypy.process.plugins import Daemonizer, PIDFile
from configobj import ConfigObj
from validate import Validator
from PCE.dispatchers import APIMap, ClusterInfo, ClusterPing, Fil... | {
"content_hash": "3d2c4c2f09c7c28741cf59ed5485745c",
"timestamp": "",
"source": "github",
"line_count": 134,
"max_line_length": 79,
"avg_line_length": 35.66417910447761,
"alnum_prop": 0.6179116970077422,
"repo_name": "koepked/onramp",
"id": "b38d36dc17cf71900d09b272d29a14604fdc008b",
"size": "4805"... |
package com.jcommerce.core.util;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
im... | {
"content_hash": "af4aee34f77ffbd38863534677f3b4ca",
"timestamp": "",
"source": "github",
"line_count": 281,
"max_line_length": 171,
"avg_line_length": 37.67259786476868,
"alnum_prop": 0.5187984129982997,
"repo_name": "jbosschina/jcommerce",
"id": "06db66e3451361a355d4a0ad422780001974c4c0",
"size":... |
function Command(command, target, value) {
this.command = command != null ? command : '';
if (target != null && target instanceof Array) {
if (target[0]) {
this.target = target[0][0];
this.targetCandidates = target;
} else {
this.target = "LOCATOR_DETECTION_FAI... | {
"content_hash": "1fca59d514c8fdb5d996017909f2f637",
"timestamp": "",
"source": "github",
"line_count": 440,
"max_line_length": 145,
"avg_line_length": 27.279545454545456,
"alnum_prop": 0.6157627259851703,
"repo_name": "hugs/selenium",
"id": "640b8114cb40e1559fb44cda52e957d4bf080550",
"size": "1260... |
/******************************************************************************
*
*
* Notepad2
*
* version.h
* Notepad2 version information
*
* See Readme.txt for more information about this source code.
* Please send me your comments to this work.
*
* See License.txt for details about distribution and modification.
... | {
"content_hash": "ac0ab4da6fd074c833824269cf28c18d",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 37.55555555555556,
"alnum_prop": 0.5702662721893491,
"repo_name": "zergtmn/notepad2",
"id": "e0c722da79a3d81ba24bbbe44198eb57d335367a",
"size": "1352... |
class CircularQueue
{
friend class CircularQueueTest;
public:
// Can be seen outside as CircularQueue::QueueItem
typedef int QueueItem;
// Used as an indicator of empty queue.
static const QueueItem EMPTY_QUEUE;
// Default constructor used to initialise the circular queue class.
Circul... | {
"content_hash": "28928790e2d3ee8aa76842d79fc57168",
"timestamp": "",
"source": "github",
"line_count": 63,
"max_line_length": 81,
"avg_line_length": 32.6031746031746,
"alnum_prop": 0.6733203505355404,
"repo_name": "chrisjluc/Datastructures",
"id": "0e4f11507628171ab1295c7f09544e9a0e60c5af",
"size"... |
var exercise = require('../../exercise');
module.exports = exercise
.push('/', function (data, res, stream) {
stream.write('responds ' + data.toString() + ' when requset /\n');
stream.write('response status is ' + res.statusCode + ' when request /\n');
})
.push('/error', function (data, res, stream) {
stream.wri... | {
"content_hash": "132508e990696c7ad4179f52ae6d1e74",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 82,
"avg_line_length": 40.083333333333336,
"alnum_prop": 0.6444906444906445,
"repo_name": "qwo/kick-off-koa",
"id": "9997762a9076db801be661f95235f901ef729140",
"size": "482... |
'use strict';
var passport = require('passport');
var LocalStrategy = require('passport-local').Strategy;
var mongoose = require('mongoose');
var User = require('../models/user');
passport.use(new LocalStrategy({
usernameField: 'email'
}, function (username, password, done) {
User.findOne({ email: username ... | {
"content_hash": "bb330f2bc679ee95dc62db8800894d92",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 73,
"avg_line_length": 27.62962962962963,
"alnum_prop": 0.6394101876675603,
"repo_name": "dalonsog/nodeTwitter",
"id": "de52a11e7fcbdc51e927b4824ff52a355e1e964e",
"size": "... |
#ifndef BOOST_SERIALIZATION_SHARED_PTR_HPP
#define BOOST_SERIALIZATION_SHARED_PTR_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#endif
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// shared_ptr.hpp: serializat... | {
"content_hash": "dee4e1238db1e779eb76c422c0edab8e",
"timestamp": "",
"source": "github",
"line_count": 159,
"max_line_length": 97,
"avg_line_length": 37.861635220125784,
"alnum_prop": 0.5561461794019934,
"repo_name": "jaredhoberock/gotham",
"id": "f22d052ce84709d4282c2655883567291cd0abc6",
"size":... |
package net.brainage.example.mapper;
import net.brainage.example.model.Department;
import net.brainage.example.model.Employee;
import org.apache.ibatis.annotations.*;
import java.util.List;
/**
* @author <a href="mailto:ms29.seo+ara@gmail.com">ms29.seo</a>
*/
public interface EmployeeMapper extends CrudMapper<Emp... | {
"content_hash": "64a30d0dc154a2150f2c89881afd9b81",
"timestamp": "",
"source": "github",
"line_count": 66,
"max_line_length": 123,
"avg_line_length": 41.27272727272727,
"alnum_prop": 0.5752569750367107,
"repo_name": "brainagenet/spring-mybatis-manual-transaction",
"id": "031956bc67eb1b64f7db11d21aeb... |
var NAVTREE =
[
[ "Lua-API++", "index.html", [
[ "Lua API++ library", "index.html", null ],
[ "License", "main_license.html", null ],
[ "Basic concepts", "basic_concepts.html", [
[ "Global state", "basic_concepts.html#basic_global_state", null ],
[ "Lua functions and context", "basic_concepts.... | {
"content_hash": "26c4c0243c658918ea4bb32c2f884a1e",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 144,
"avg_line_length": 51.45454545454545,
"alnum_prop": 0.6100224863475747,
"repo_name": "OldFisher/lua-api-pp",
"id": "76cf40a45ce4fa3d97a744a5cba0d52d92d06aa8",
"size":... |
using System;
using System.ComponentModel;
using System.Configuration;
namespace System.Runtime.Caching.Configuration
{
internal sealed class MemoryCacheElement : ConfigurationElement
{
private static ConfigurationPropertyCollection s_properties;
private static readonly ConfigurationProperty s_... | {
"content_hash": "46621570e0ba94a1a7482416b9a42747",
"timestamp": "",
"source": "github",
"line_count": 133,
"max_line_length": 111,
"avg_line_length": 36.045112781954884,
"alnum_prop": 0.49687108886107634,
"repo_name": "mmitche/corefx",
"id": "07ed012da7e56338039f69016019f6a3ef3eeb5e",
"size": "49... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Miles.MassTransit.UnitTests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Miles.MassTransit.UnitTest... | {
"content_hash": "5eab1d12353e9cd69c3a3056991c6bae",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 58,
"avg_line_length": 32.7,
"alnum_prop": 0.7599388379204893,
"repo_name": "adz21c/miles",
"id": "9dad991cab8e9a3a9a76f168b86e6be64e1a2336",
"size": "655",
"binary": fal... |
<!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_45) on Sat Apr 09 10:11:08 EDT 2016 -->
<title>Uses of Class org.apache.cassandra.thrift.Cassandra.Processor.get_indexed_slices (apache-cassand... | {
"content_hash": "5d09cbce23a25e83abe82624faf3d2f2",
"timestamp": "",
"source": "github",
"line_count": 125,
"max_line_length": 195,
"avg_line_length": 38.808,
"alnum_prop": 0.6279117707689136,
"repo_name": "jasonwee/videoOnCloud",
"id": "22bdc8904eb9bdcb4e1a3477d4e551df55f7d850",
"size": "4851",
... |
from zipfile import ZipFile, ZIP_DEFLATED
from optparse import OptionParser
parser = OptionParser()
## Make options for commandline available through -h
## -f/--files takes a commaseparated list of filenames _without_ paths
parser.add_option("-f", "--files", dest="filename",
help="List of files to ... | {
"content_hash": "85224165bf46f2f5ee4587968bab3b6e",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 71,
"avg_line_length": 38.89655172413793,
"alnum_prop": 0.6578014184397163,
"repo_name": "foag/pyzippr",
"id": "9db8c54505abd1c90b95cb4ba6c9d53c65ef57d0",
"size": "1261",
... |
package com.vmware.vim25;
/**
* @author Steve Jin (http://www.doublecloud.org)
* @version 5.1
*/
public class ArrayOfVirtualMachineCdromInfo {
public VirtualMachineCdromInfo[] VirtualMachineCdromInfo;
public VirtualMachineCdromInfo[] getVirtualMachineCdromInfo() {
return this.VirtualMachineCdromInfo;
}
... | {
"content_hash": "646891eb9b4f2e8dcc5f7038ef61fdb0",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 93,
"avg_line_length": 24.791666666666668,
"alnum_prop": 0.7915966386554621,
"repo_name": "paksv/vijava",
"id": "1f984e874caad5a8223b13b88dcc6e0cc7359f1f",
"size": "2235",
... |
function request(url, method, body) {
return fetch(`${BASE_URL}/${url}`, {
headers: {
'Content-Type': 'application/json',
},
method,
body: body ? JSON.stringify(body) : undefined,
}).then((res) => {
if (res.json) {
return res.json()
}
return res
})
}
export default request... | {
"content_hash": "4dd9829c7a07682857dea3988e7c764d",
"timestamp": "",
"source": "github",
"line_count": 16,
"max_line_length": 50,
"avg_line_length": 20.0625,
"alnum_prop": 0.5607476635514018,
"repo_name": "thomasthiebaud/lundalogik",
"id": "d0d6177c45934e3476b379cf32e5a4d4aa2fefbc",
"size": "321",... |
<?php
defined('_JEXEC') or die;
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" class='<jdoc:include type="pageclass" />'>
<head>
<jdoc:include type="head" />
<?php $this->loadBlock ('head') ?>
</head>
<body>
<?php $this->loadBlock ('header')... | {
"content_hash": "e1fdcb62695a01381228511821a58c46",
"timestamp": "",
"source": "github",
"line_count": 34,
"max_line_length": 124,
"avg_line_length": 18.941176470588236,
"alnum_prop": 0.5403726708074534,
"repo_name": "vifprogram/vifprogram.github.io",
"id": "9e6f7457fe8b0bdf83a5ea445aeb46086f446ad3"... |
namespace GraphQLParser.AST;
/// <summary>
/// AST node for <see cref="ASTNodeKind.Directives"/>.
/// </summary>
public class GraphQLDirectives : ASTListNode<GraphQLDirective>
{
/// <inheritdoc/>
public override ASTNodeKind Kind => ASTNodeKind.Directives;
}
internal sealed class GraphQLDirectivesWithLocation ... | {
"content_hash": "f6db4e2515f00ba59bcec19e0b46588c",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 71,
"avg_line_length": 23.857142857142858,
"alnum_prop": 0.7005988023952096,
"repo_name": "graphql-dotnet/parser",
"id": "51a001ecf8f5bfa7ce07d7790f64df04fd9770b2",
"size":... |
<?php
namespace Brasa\GeneralBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Table(name="gen_cobertura")
* @ORM\Entity(repositoryClass="Brasa\GeneralBundle\Repository\GenCoberturaRepository")
*/
class GenCobertura
{
/**
* @ORM\Id
* @ORM\Column(name="codigo_cobertura_pk", type="integer")
... | {
"content_hash": "22eb3574a9fb434fbbb751f60a7f3221",
"timestamp": "",
"source": "github",
"line_count": 106,
"max_line_length": 112,
"avg_line_length": 22.141509433962263,
"alnum_prop": 0.6186621218576907,
"repo_name": "wariox3/brasa",
"id": "79aba7f301d5754ad2db103ddda2dda8dac570ee",
"size": "2347... |
shadow
======
| {
"content_hash": "689288b2b58a13b7255b534b661c50e8",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 6,
"avg_line_length": 7,
"alnum_prop": 0.42857142857142855,
"repo_name": "queba/shadow",
"id": "e2dd38fdcde5859cdc675f7421a698e7c85e4de4",
"size": "14",
"binary": false,
... |
namespace pdalboost {} namespace boost = pdalboost; namespace pdalboost {
namespace asio {
/// Typedef for the typical usage of a signal set.
typedef basic_signal_set<> signal_set;
} // namespace asio
} // namespace pdalboost
#endif // BOOST_ASIO_SIGNAL_SET_HPP
| {
"content_hash": "a65dd16cf8dc1391bcf769257550e5f7",
"timestamp": "",
"source": "github",
"line_count": 10,
"max_line_length": 73,
"avg_line_length": 26.5,
"alnum_prop": 0.7396226415094339,
"repo_name": "verma/PDAL",
"id": "ce57d9d2f477346e02d2ebce2547bd40a6a3e1e9",
"size": "808",
"binary": false... |
module TopFiveHelper
def first_non_empty value
text = value.select{|r,e| !e.blank?}
return "" if text.empty?
text = text.first[1]
return text
end
end | {
"content_hash": "41bd980bd2603ac2b809a44dcb763eb6",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 44,
"avg_line_length": 17.636363636363637,
"alnum_prop": 0.5670103092783505,
"repo_name": "ptolts/dishgo_backend_and_frontend",
"id": "acc543fc02ae98d0e2bdd9d668fa46c74118ef7... |
interface TSBaseType {
name: string;
type?: string;
raw?: string;
required?: boolean;
}
type TSArgType = TSType;
type TSCombinationType = TSBaseType & {
name: 'union' | 'intersection';
elements: TSType[];
};
type TSFuncSigType = TSBaseType & {
name: 'signature';
type: 'function';
signature: {
a... | {
"content_hash": "9672cc1d9c7fd4442625b4b3a85010d6",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 80,
"avg_line_length": 18.782608695652176,
"alnum_prop": 0.6388888888888888,
"repo_name": "storybooks/react-storybook",
"id": "dee016d767348398c6af1ce65e481abd14083edd",
"s... |
<!DOCTYPE html>
<html>
<head>
<!-- HTML meta refresh URL redirection -->
<meta http-equiv="refresh"
content="0; url=/intranet/login.jsf">
</head>
<body>
</body>
</html> | {
"content_hash": "bdd5169edfe4a6ccb64743496e3a5e8d",
"timestamp": "",
"source": "github",
"line_count": 11,
"max_line_length": 47,
"avg_line_length": 17.90909090909091,
"alnum_prop": 0.5634517766497462,
"repo_name": "regianemsms/pib",
"id": "943146678617210d9036cb0ac924be17a736ef8c",
"size": "197",... |
/* ###
* IP: GHIDRA
* REVIEWED: YES
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | {
"content_hash": "68360616cd359a1eced527cf1da0a3d7",
"timestamp": "",
"source": "github",
"line_count": 121,
"max_line_length": 94,
"avg_line_length": 39.77685950413223,
"alnum_prop": 0.6910450862248078,
"repo_name": "NationalSecurityAgency/ghidra",
"id": "ae76a839865bf930447cf54ef717c3a5527793d8",
... |
/**
* @file parent.h
* @author Simone Girardi
* @date 27 jun 2016.
* @version 1.0
*/
#ifndef parent_h
#define parent_h
#include "mylib.h"
#include "utils.h"
/**
* @brief This function is called from the parent process after it created the childs with fork()
*
* Initially the parent wait (on semaphore: sem_pa... | {
"content_hash": "e3bf4f0b8b1982fc469ecdfa5a463f8e",
"timestamp": "",
"source": "github",
"line_count": 108,
"max_line_length": 146,
"avg_line_length": 40.7037037037037,
"alnum_prop": 0.7397634212920837,
"repo_name": "SimoGira/ipc",
"id": "908eef5e18f26056cd139d95754c30b57680f2f9",
"size": "4396",
... |
<?php
namespace Magento\Framework\Search\Adapter\Mysql\Aggregation\Builder;
use Magento\Framework\DB\Ddl\Table;
use Magento\Framework\DB\Select;
use Magento\Framework\Search\Adapter\Mysql\Aggregation\DataProviderInterface;
use Magento\Framework\Search\Request\BucketInterface as RequestBucketInterface;
class Term imp... | {
"content_hash": "f26cb315df757a86403fd5d182ea3921",
"timestamp": "",
"source": "github",
"line_count": 42,
"max_line_length": 83,
"avg_line_length": 26.095238095238095,
"alnum_prop": 0.6742700729927007,
"repo_name": "enettolima/magento-training",
"id": "521393b7bb0d465578cf395669cd8a7e0887edd6",
"... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//first
//second
//third
//fourth
//fifth
//tenth
//thirteenth
namespace NaturalLanguageDateTime.NLDT
{
class OrdinalNumbers
{
public static string[] m_OrdinalNumbers = new string[] { "first", "second", "third", "f... | {
"content_hash": "2545224f82a5f4851a579d24c996dd13",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 161,
"avg_line_length": 22.041666666666668,
"alnum_prop": 0.6521739130434783,
"repo_name": "spookiecookie/NaturalLanguageDateTime",
"id": "9aa42aacb89dfe32ba8813269e0bbaaf0d1... |
```bash
if [[ $getstatus == "Pending" ]]; then
echo "pending... please wait"
elif [[ $getstatus == "Success" ]]; then
echo "deployed"
elif [[ $getstatus == "Failed" ]]; then
echo "deployment failed, please check SSM logs"
exit 1
fi;
```
# FOR LOOP CLAUSE
* with timer and breaks
```bash
for i in {1..90}; do
... | {
"content_hash": "6b35fa7700d3bbe88595525cfd1ab2e8",
"timestamp": "",
"source": "github",
"line_count": 250,
"max_line_length": 133,
"avg_line_length": 25.464,
"alnum_prop": 0.6545711592836946,
"repo_name": "mapattacker/cheatsheets",
"id": "46c3092763fb191ca0a36151b9af36fab900d498",
"size": "6392",... |
package org.apache.camel.processor.onexception;
import java.io.IOException;
import java.net.ConnectException;
import org.apache.camel.ContextTestSupport;
import org.apache.camel.builder.RouteBuilder;
import org.junit.Test;
/**
* @version
*/
public class OnExceptionsPerRouteTest extends ContextTestSupport {
... | {
"content_hash": "7f472eba4f47e6fcc1d4f70a5107b76b",
"timestamp": "",
"source": "github",
"line_count": 52,
"max_line_length": 112,
"avg_line_length": 30.673076923076923,
"alnum_prop": 0.6175548589341693,
"repo_name": "sverkera/camel",
"id": "aba5ca3f3e5c21b514ba3a5bcd620649cbdecf2f",
"size": "2398... |
<?php
namespace Google\Service\CloudKMS\Resource;
use Google\Service\CloudKMS\AsymmetricDecryptRequest;
use Google\Service\CloudKMS\AsymmetricDecryptResponse;
use Google\Service\CloudKMS\AsymmetricSignRequest;
use Google\Service\CloudKMS\AsymmetricSignResponse;
use Google\Service\CloudKMS\CryptoKeyVersion;
use Googl... | {
"content_hash": "d5d06d9fc62aaab07650b3a990aee58a",
"timestamp": "",
"source": "github",
"line_count": 258,
"max_line_length": 162,
"avg_line_length": 43.71705426356589,
"alnum_prop": 0.7245323166947425,
"repo_name": "googleapis/google-api-php-client-services",
"id": "6051fe5c54f4dcf89107cc6c5000e96... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.