text
stringlengths
2
1.04M
meta
dict
<?php namespace Beggiatom\International\Providers; use Beggiatom\International\International; use Illuminate\Support\ServiceProvider; class InternationalServiceProvider extends ServiceProvider { public function register() { $this->app->bind('Beggiatom\International', functi...
{ "content_hash": "50bd5382368236b09326369a76880cdc", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 68, "avg_line_length": 20.2, "alnum_prop": 0.6336633663366337, "repo_name": "beggiatom/International", "id": "2c1c533a822c95de78e95f37bc7b7798521eed9e", "size": "404", "b...
package org.kie.aries.blueprint; import java.net.URL; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.Callable; import org.apache.aries.blueprint.ParserContext; import org.apache.aries.blueprint.mutable.MutableBeanMetadata; import org.apache.ar...
{ "content_hash": "3800472ff2a7e5b5a33d886fe9b1f3a8", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 126, "avg_line_length": 44.84444444444444, "alnum_prop": 0.7360422860918401, "repo_name": "selrahal/droolsjbpm-integration", "id": "8731ea5b7de4bcfba0b748ae47a41ce89f7d7b57"...
package org.pentaho.di.trans.steps.parallelgzipcsv; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.apache.commons.vfs.FileObject; import org.pentaho.di.core.CheckResult; import org.pentaho.di.core.CheckResultInterface; import org.pentaho.di.core.Const; import org.pentaho.di.core...
{ "content_hash": "86c7d853366f0c1e4a3e51b32249131c", "timestamp": "", "source": "github", "line_count": 677, "max_line_length": 134, "avg_line_length": 36.9615952732644, "alnum_prop": 0.6825320704951444, "repo_name": "MikhailHubanau/pentaho-kettle", "id": "bf771a9d705a9818dc20cef5006874e28a0c26cf", ...
layout: feature title: 'PossGender' shortdef: 'possessor’s gender' --- Possessive adjectives and pronouns may have two different genders: that of the possessed object (gender agreement with modified noun) and that of the possessor (lexical feature, inherent gender). The PossGender feature captures the possessor's gend...
{ "content_hash": "30a6bfa107176d4b39e9ac2b5f2ded84", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 73, "avg_line_length": 26.307692307692307, "alnum_prop": 0.7288011695906432, "repo_name": "hamzashafqat/docs", "id": "d80a66c520a56a6c9af11de4a50feffe46655f42", "size": "13...
#include "ItkImportImageStack.h" #include <QtCore/QFile> #include "SIMPLib/Common/Constants.h" #include "SIMPLib/Common/TemplateHelpers.hpp" #include "SIMPLib/FilterParameters/AbstractFilterParametersReader.h" #include "SIMPLib/FilterParameters/AbstractFilterParametersWriter.h" #include "SIMPLib/FilterParameters/Fl...
{ "content_hash": "408f767e3f32020755e991d9401d8dca", "timestamp": "", "source": "github", "line_count": 777, "max_line_length": 164, "avg_line_length": 38.98069498069498, "alnum_prop": 0.63223058637084, "repo_name": "wlenthe/ImageProcessing", "id": "67ce57c80f2f7b20355e5f6a9077912b64bffbbf", "size"...
package java.awt.dnd; import java.awt.Insets; import java.awt.Point; /** * During DnD operations it is possible that a user may wish to drop the * subject of the operation on a region of a scrollable GUI control that * is not currently visible to the user. * * @author Michael Koch (konqueror@gmx.de) * @since...
{ "content_hash": "0e4fdf1a2dab2b6319e05c4733c73d63", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 74, "avg_line_length": 22.742857142857144, "alnum_prop": 0.7135678391959799, "repo_name": "nmldiegues/jvm-stm", "id": "ba4d4476cfc746f05c4e9e9f060cc18caa19b4eb", "size": "2...
package org.elasticsearch.test.rest.yaml.section; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.elasticsearch.common.collect.Tuple; import org.elasticsearch.common.xcontent.XContentLocation; import org.elasticsearch.common.xcontent.XContentParser; import java.io.IOExc...
{ "content_hash": "dd4db63ef92823fa324559a091bb3723", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 127, "avg_line_length": 42.63157894736842, "alnum_prop": 0.6893004115226338, "repo_name": "uschindler/elasticsearch", "id": "84461202df4bb7ef4c8ae8b69311a2c1de471557", "siz...
package com.microsoft.bingads.reporting; import java.util.Collection; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xm...
{ "content_hash": "16356c97a53d0daba3994f9fbe756f33", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 138, "avg_line_length": 29.0972972972973, "alnum_prop": 0.6325469069292217, "repo_name": "shyTNT/BingAds-Java-SDK", "id": "9ebfc8aab1f906fdd2a58f12ca7ce47bd42ce9d7", "size...
class CreateArticles < ActiveRecord::Migration def self.up create_table :articles do |t| t.column :title, :string t.column :summary, :text t.column :content, :text end end def self.down drop_table :articles end end
{ "content_hash": "d0e986ce3dc100a761017ab3e9239e1a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 46, "avg_line_length": 19.53846153846154, "alnum_prop": 0.6496062992125984, "repo_name": "deild/RubyOnRailsEtudeDeCas", "id": "0f1a1d3bd1d48a141f6a3550c8caa3f45542014a", "s...
<html lang="en"> <head> <title>BFD - Untitled</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Untitled"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="prev" href="Machine-Dependent.html#Machine-Dependent" ti...
{ "content_hash": "3489640c0aa77890dcd7f13f5a81958f", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 241, "avg_line_length": 49.34615384615385, "alnum_prop": 0.7438295661210704, "repo_name": "teaguejt/xinu-mm", "id": "0064a247571b81bd2b744f304e9f439238cb3f09", "size": "384...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("02...
{ "content_hash": "3fa25aaecdc2b0c1d99b4ca1d0bade03", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.69444444444444, "alnum_prop": 0.741564967695621, "repo_name": "kaizer04/Telerik-Academy-2013-2014", "id": "d115d2bcadb0d0f58487c45283f3a6e68438ca36"...
module Mongo #:nodoc: # Utility module to include when needing to convert certain types of # objects to mongo-friendly parameters. module Conversions ASCENDING_CONVERSION = ["ascending", "asc", "1"] DESCENDING_CONVERSION = ["descending", "desc", "-1"] # Converts the supplied +Array+ to a +Hash+ to...
{ "content_hash": "ba7bb95684e8caf0726b921182f90b7b", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 90, "avg_line_length": 34.47222222222222, "alnum_prop": 0.5882352941176471, "repo_name": "jarib/mongo-ruby-driver", "id": "0107c2216bdfe968a2f56177925ec68d9533c777", "size"...
package org.onosproject.pcepio.types; import org.jboss.netty.buffer.ChannelBuffer; import org.onosproject.pcepio.protocol.PcepVersion; /** * Abstraction which Provides the PCEP Values of Type, Length ,Version. */ public interface PcepValueType { /** * Returns the Version Of PCEP Message. * * @...
{ "content_hash": "97156accb35c9f3ab356a03d8bb8eece", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 71, "avg_line_length": 20.75609756097561, "alnum_prop": 0.6286721504112809, "repo_name": "oeeagle/onos", "id": "c960e7ac6f14217beb15bca0ae86299489782ef7", "size": "1460", ...
package com.microsoft.azure.storage.table; import com.microsoft.azure.storage.LocationMode; import com.microsoft.azure.storage.RetryNoRetry; import com.microsoft.azure.storage.SecondaryTests; import com.microsoft.azure.storage.StorageErrorCodeStrings; import com.microsoft.azure.storage.StorageException; import com.mi...
{ "content_hash": "0e07d9d312aeb1d07fecbd707a7aef30", "timestamp": "", "source": "github", "line_count": 1329, "max_line_length": 134, "avg_line_length": 38.72385252069225, "alnum_prop": 0.6679426395150008, "repo_name": "hnn-project/azure-content", "id": "dfa1e47b6cefa23a78a095bf5d99403169f32405", "...
package org.scaladebugger.api.utils import org.slf4j.{ Logger, LoggerFactory } /** * A trait for mixing in logging. This trait exposes an SLF4J logger through * a protected field called logger. */ trait Logging { private val loggerName = this.getClass.getName protected val logger = LoggerFactory.getLogger(logg...
{ "content_hash": "ae3f61e86488a36e8611893a3bdffc6d", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 76, "avg_line_length": 27.037037037037038, "alnum_prop": 0.7054794520547946, "repo_name": "chipsenkbeil/scala-debugger", "id": "04267bd11ff196594cc2bb108544835f8b60cfc8", "...
Watchman uses GitHub Actions for CI, but sometimes it's useful to have reproducible, bare environments representative of where people typically attempt to build Watchman. This Vagrantfile provides some provisioned VMs with the minimal set of dependencies required to build and run Watchman. None of the VMs will autost...
{ "content_hash": "c502d92cd3369975a1b763c116cfa40b", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 70, "avg_line_length": 48.09090909090909, "alnum_prop": 0.8166351606805293, "repo_name": "facebook/watchman", "id": "fbc2b68529d7599d8dbc53d32b3e41606aec50dc", "size": "575...
namespace xzero::http { static inline constexpr bool isSpace(char p) { return p == ' ' || p == '\t'; } HeaderField HeaderField::parse(const std::string& field) { size_t i = field.find(':'); size_t k = i + 1; while (isSpace(field[k])) k++; std::string name = field.substr(0, i); std::string value = fi...
{ "content_hash": "cd18da43bcdebf0df8eb9906fee25761", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 74, "avg_line_length": 22.714285714285715, "alnum_prop": 0.6430817610062893, "repo_name": "christianparpart/x0", "id": "5991560f5a142b4e79c0dc54072708b571e037d4", "size": "...
{% load static %} <div class="section-header" > <div id="logo-img"> {% comment %} alternate the logo header image at with various random numbered files {% endcomment %} {% load random_file_selector %} <a href="/" rel="home" title="" class="active"> <img src="{% static 'img/logo' %}{% ran...
{ "content_hash": "e93ff9a7cc702e741bc252b2d6b31032", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 92, "avg_line_length": 29.846153846153847, "alnum_prop": 0.5747422680412371, "repo_name": "hwins/techblog_site", "id": "18b3ca83a0dfffc813583cc77d9f9c368ebcc921", "size": "...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="Javadoc API documentation for Fresco." /> <link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" /> <title> Fi...
{ "content_hash": "2514938e85cf117951f9d76f6e63e589", "timestamp": "", "source": "github", "line_count": 653, "max_line_length": 296, "avg_line_length": 36.29709035222052, "alnum_prop": 0.6098641464855287, "repo_name": "xjy2061/NovaImageLoader", "id": "6193677d59d3b51d45dcc08ddd276fd2de9c8e4a", "siz...
package com.atulgpt.www.timetrix.dataBinders; import android.content.Context; import com.atulgpt.www.timetrix.adapters.DatabaseAdapter; import com.atulgpt.www.timetrix.utils.GlobalData; import org.json.JSONException; import org.json.JSONObject; /** * Created by atulgupta on 18-08-2016 and 18 at 06:09 PM for TimeTr...
{ "content_hash": "964e2b7e23461acbc4b545b45d4c5a49", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 87, "avg_line_length": 26.573529411764707, "alnum_prop": 0.6685113447703376, "repo_name": "atulgpt/TimeTrix", "id": "ef3052ddfc61862553319bc639e5edd096e13906", "size": "180...
package org.apache.jackrabbit.oak.plugins.document; import java.util.List; import java.util.Map; import java.util.Set; import com.google.common.base.Joiner; import com.google.common.base.Splitter; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Iterables; import com.google.common.col...
{ "content_hash": "31d874df6cc8dc273cdc2426097a6187", "timestamp": "", "source": "github", "line_count": 303, "max_line_length": 102, "avg_line_length": 34.90759075907591, "alnum_prop": 0.6595442942233147, "repo_name": "catholicon/jackrabbit-oak", "id": "524f64c3b78eea55c68b2b293d67a828cbe72d00", "s...
package org.sourcepit.b2.model.module; import junit.framework.TestCase; /** * @author Bernd */ public abstract class AbstractProjectFacetTest<P extends Project, F extends ProjectFacet<P>> extends TestCase { protected abstract F createFacet(); protected abstract P createProject(); public void testGetPro...
{ "content_hash": "18f3bf6d8a1c08eef8be1e3918542453", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 111, "avg_line_length": 26.21212121212121, "alnum_prop": 0.6901734104046243, "repo_name": "sourcepit/b2", "id": "0c97e98b5b52b74fc153a20db8b34d69e5508db7", "size": "1469", ...
using System; using System.Collections.Generic; using System.Diagnostics; using System.Drawing; using System.IO; using System.Net; using System.Net.Mail; using System.Net.Mime; using System.Windows.Forms; using Microsoft.Win32; using OpenKey.Properties; namespace OpenKey { public partial class Openkey : Form ...
{ "content_hash": "89a7cbe8b5bf18ada0bc0dec8a98dab8", "timestamp": "", "source": "github", "line_count": 627, "max_line_length": 198, "avg_line_length": 32.52312599681021, "alnum_prop": 0.41830129462534327, "repo_name": "alexeimun/Openkey", "id": "664d34d5a72211d0ef4600fa38e5773d094059c9", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "504b17499662c8a85717e204d3afcbd1", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "6fbfc76179bd968b31b74574b6e652631df2facd", "size": "188...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.d...
{ "content_hash": "8b1bb269a8f10c9a268cef7ae6371e3f", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 108, "avg_line_length": 38.86184210526316, "alnum_prop": 0.5303876756390723, "repo_name": "davidafsilva/file-merger-maven-plugin", "id": "7b89db4c15fb3aeb6dcba00e7489261a101...
namespace BarracksFactory.Models.Units { public class Archer : Unit { private const int DefaultHealth = 25; private const int DefaultDamage = 7; public Archer() : base(DefaultHealth, DefaultDamage) { } } }
{ "content_hash": "fb2380e47bbb82037169c7771c54b270", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 48, "avg_line_length": 20.846153846153847, "alnum_prop": 0.5793357933579336, "repo_name": "Koceto/SoftUni", "id": "d4f04d80cd9216bdaeb5f0f40eacf60820f75190", "size": "273",...
import nsqjs = require("nsqjs") /* * Enable reader */ let reader = new nsqjs.Reader("sample_topic", 'test_channel', { nsqdTCPAddresses: '127.0.0.1:4150', //lookupdHTTPAddresses: ['127.0.0.1:4161'] }) reader.connect() reader.on("nsqd_connected", function (err: Error) { console.log('reader connected =>...
{ "content_hash": "8919df2cb0d5f9b932055539249f5819", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 74, "avg_line_length": 22.807692307692307, "alnum_prop": 0.606239460370995, "repo_name": "abbasmhd/DefinitelyTyped", "id": "3a20471181e26161e977e72885ad2dd4aae2d730", "size...
SQLiteDB::SQLiteDB(QString schemafile, QObject *parent) : QObject(parent) { // schema dbschema_ = new DBSchema(schemafile,this); // DB state machine dbsm_ = new QStateMachine(this); state_opened_ = new QState(dbsm_); state_closed_ = new QState(dbsm_); dbsm_->setInitia...
{ "content_hash": "dd3e8441b4f4763eea4ee8e423e4272e", "timestamp": "", "source": "github", "line_count": 396, "max_line_length": 117, "avg_line_length": 28.338383838383837, "alnum_prop": 0.5098021743004812, "repo_name": "theme/MangaLib", "id": "8832fd27793ebae68e61cf7a431882b91724f3bd", "size": "112...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>historical-examples: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boots...
{ "content_hash": "7ab42053e8b2b1984afec9b0706d71f5", "timestamp": "", "source": "github", "line_count": 171, "max_line_length": 364, "avg_line_length": 44.22222222222222, "alnum_prop": 0.5640042316847395, "repo_name": "coq-bench/coq-bench.github.io", "id": "ac0803bf84d7fdfff7f21fab93895c863fb8859e", ...
(function() { 'use strict'; angular.element(document).ready(function() { angular.bootstrap(document, ['app']); }); function config(BackandProvider, $stateProvider, $urlRouterProvider, $logProvider, $httpProvider) { $urlRouterProvider.otherwise('/'); $logProvider.debugEnabled(true); //BackandP...
{ "content_hash": "08fe0d7e88bbf8ef4ac49039176485d3", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 101, "avg_line_length": 24.63157894736842, "alnum_prop": 0.5826210826210826, "repo_name": "NetBUG/classintouch", "id": "17f6d0c1a84894d1f35fdc31ee58ea082ec3a7e5", "size": "...
from gitlint.tests.base import BaseTestCase from gitlint.rules import Rule, RuleViolation class RuleTests(BaseTestCase): def test_rule_equality(self): self.assertEqual(Rule(), Rule()) # Ensure rules are not equal if they differ on their attributes for attr in ["id", "name", "target", "opti...
{ "content_hash": "970e600dfa02053a565d76890a8eddee", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 91, "avg_line_length": 38.523809523809526, "alnum_prop": 0.6341161928306551, "repo_name": "jorisroovers/gitlint", "id": "199cc7e55308be7703f8f4099f6f7bdd42693076", "size": ...
package gossip import ( "net" "strconv" "time" "github.com/hyperledger/fabric/gossip/comm" "github.com/hyperledger/fabric/gossip/common" "github.com/hyperledger/fabric/gossip/discovery" "github.com/hyperledger/fabric/gossip/election" "github.com/hyperledger/fabric/gossip/gossip/algo" "github.com/hyperledge...
{ "content_hash": "ef320a728f613eefd53347a818ede625", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 135, "avg_line_length": 46.83221476510067, "alnum_prop": 0.8118372026368587, "repo_name": "stemlending/fabric", "id": "67b4aec415efc7f272530e1f3a2f385c5e6966d8", "size": "...
package org.elasticsearch.index.query.functionscore; import org.apache.lucene.index.LeafReaderContext; import org.apache.lucene.search.Explanation; import org.elasticsearch.ElasticsearchParseException; import org.elasticsearch.common.ParseField; import org.elasticsearch.common.geo.GeoDistance; import org.elasticsear...
{ "content_hash": "f12beaaa3a68177e8ca9a657da6e5e06", "timestamp": "", "source": "github", "line_count": 461, "max_line_length": 170, "avg_line_length": 44.52060737527115, "alnum_prop": 0.6384233092964334, "repo_name": "vietlq/elasticsearch", "id": "bfe988a268cd1309ec922282f1bf450d3a0668bd", "size":...
In this folder you will find **unite.json** which is the main configuration file used by UniteJS. This file is used by the app tasks so should not be deleted. In the **www** folder you will find another [README](/www/README.md) file which documents the facilities available for configuring, building, testing and packag...
{ "content_hash": "5021bc6e0af5765ec53fa2a5ea0c61c6", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 181, "avg_line_length": 54.583333333333336, "alnum_prop": 0.7755725190839695, "repo_name": "unitejs/engine", "id": "42452511ed16e0135caa22f6aaea266ce478ead5", "size": "672"...
namespace Business.Utilities.Extensions { public static class IObjectBaseExtensions { //public static T CreateFromJson<T>(this T type, string value) where T : IObjectBase //{ // return JsonConvert.DeserializeObject<T>(value); //} //public static string ToJsonString(t...
{ "content_hash": "d9ac2118f65441368efa0fdbd0039c0b", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 106, "avg_line_length": 33.8, "alnum_prop": 0.6429980276134122, "repo_name": "JohnPKosh/IODataBlock", "id": "433db44fa5cb7fad45263874896c8513c1feab36", "size": "509", "bi...
import './PostProcessor' import '../Errors/makeSyntaxError' import '../Support/optional' import { FS, merge } from 'grind-support' const INLINE_SOURCE_MAP_REGEX = /\/\/[@#]\s+sourceMappingURL=data:application\/json(?:;charset[:=][^;]+)?;base64,(.*)\n/ export class JavascriptMinifyPostProcessor extends PostProcessor...
{ "content_hash": "3015cd5bdbee688085f6da3e13adac46", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 120, "avg_line_length": 25.79268292682927, "alnum_prop": 0.660047281323877, "repo_name": "shnhrrsn/grind-framework", "id": "61b6da055d1a28cf9c7c6d53ccb7458a28728a7b", "size...
<?php namespace MySite\OldSiteBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; class DefaultController extends Controller { public function indexAction($name) { return $this->render('MySiteOldSiteBundle:Default:index.html.twig', array('name' => $name)); } }
{ "content_hash": "9413a8288987f5c8410b7a9ca4a469e3", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 100, "avg_line_length": 21, "alnum_prop": 0.7238095238095238, "repo_name": "krish24/symfony2-cdominguez", "id": "fe05b8d3e7fc305a62108021de7effdee0d7de9d", "size": "315", ...
(function(){ var Carousel = function(options) { Backbone.View.call(this, options); this.carouselInitialize(options); }; // Attach Carousel to the window, but through the namespace 'kb' var root = this; root.kb = root.kb || {}; root.kb.Carousel = Carousel; Carousel.extend = ...
{ "content_hash": "1b0561e77bb29e877fc388286f00c3f1", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 103, "avg_line_length": 29.416666666666668, "alnum_prop": 0.4662080129502226, "repo_name": "ustyme/kuba-bootstrap", "id": "e127ee683dbd9ead77d25706884d02a59268fbb0", "size"...
const ProvinceCard = require('../../provincecard.js'); const { Players, CardTypes } = require('../../Constants'); class SacredSanctuary extends ProvinceCard { setupCardAbilities(ability) { this.reaction({ title: 'Choose a monk character', when: { onConflictDeclared: ...
{ "content_hash": "61cd5b12ba543213512f954c135cd6eb", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 111, "avg_line_length": 38.333333333333336, "alnum_prop": 0.5043478260869565, "repo_name": "gryffon/ringteki", "id": "474881f81884fa29f35dd29cb9c04aec59e27aee", "size": "13...
/* * The first test creates three tasks - two counter tasks (one continuous count * and one limited count) and one controller. A "count" variable is shared * between all three tasks. The two counter tasks should never be in a "ready" * state at the same time. The controller task runs at the same priority...
{ "content_hash": "77213be028b736de1c8f53ea312cd074", "timestamp": "", "source": "github", "line_count": 376, "max_line_length": 136, "avg_line_length": 35.4281914893617, "alnum_prop": 0.6845582163501238, "repo_name": "kubostech/KubOS", "id": "82eb60a7a188f5e8f75fb80aa005c0edf9b791b6", "size": "1757...
<dom-module id="attr-bind"> <template> <span style$="color:{{value}}; background:{{background}}">Change my color</span> <br/> <input type="text" value="{{value::input}}"/> <input type="text" value="{{background::input}}"/> </template> </dom-module> <script> Polymer({ ...
{ "content_hash": "e5afa3495e5b435091ce23de08544573", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 88, "avg_line_length": 23.041666666666668, "alnum_prop": 0.4412296564195298, "repo_name": "simonox/polymer-testbed", "id": "d963b0038a5068e3d0214319fe3ee9a8a51b4aca", "size...
using JSend.Client.Tests.FixtureCustomizations; using Ploeh.AutoFixture.Idioms; using Xunit; namespace JSend.Client.Tests { public class ExceptionContextTests { [Theory, JSendAutoData] public void ArgumentsCannotBeNull(GuardClauseAssertion assertion) { // Exercise system an...
{ "content_hash": "41f8e3b311eccd07f6cb44e807ff59c8", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 102, "avg_line_length": 30.82608695652174, "alnum_prop": 0.6840620592383639, "repo_name": "dcastro/JSendWebApi", "id": "fd6cee3c263e39fd4e6968df83292b0c4b6c6b20", "size": "...
<?php $_SERVER['SCRIPT_FILENAME'] = YII_TEST_BACKEND_ENTRY_FILE; $_SERVER['SCRIPT_NAME'] = YII_BACKEND_TEST_ENTRY_URL; /** * Application configuration for backend functional tests */ return yii\helpers\ArrayHelper::merge( require( YII_APP_BASE_PATH . '/backend/config/main.php' ), require( YII_APP_BASE_PATH ....
{ "content_hash": "bd6ad1ab2a8e201c2e5d578e87051f05", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 68, "avg_line_length": 35.44444444444444, "alnum_prop": 0.64576802507837, "repo_name": "mihailShumilov/nagginua", "id": "4613183ae41637e22eabb430b159a75f6f613c41", "size": ...
Usage ====== ```php <?php use zero\classMapLoader; classMapLoader::create(array( 'className' => 'path/to/fileName.php', 'className2' => 'path2/to/fileName2.php', ), __DIR__.'/path/to/src', 'namespace'); ``` ```php <?php use zero\namespaceLoader; namespaceLoader::getInstance()->register(array( 'namespace1' => '...
{ "content_hash": "ec59a21f2d4577216b79571d65174be8", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 60, "avg_line_length": 15.571428571428571, "alnum_prop": 0.647847565278758, "repo_name": "olamedia/zero-autoloader", "id": "98964a5caed4cf93e5d208908c54afc7207fcc63", "size...
if [ -d /prep/etc ]; then echo Adding configuration mv /prep/etc/* /opt/karaf/etc/. || exit 1 fi if [ -d /prep/deploy ]; then echo Adding bundles to deploy mv /prep/deploy/* /opt/karaf/deploy/. || exit 1 fi if [ -f /prep/prep.sh ]; then echo Running prep chmod +x /prep/prep.sh /prep/pr...
{ "content_hash": "7562c9d6191b2a98081fe6d458c06ead", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 51, "avg_line_length": 22.6, "alnum_prop": 0.6017699115044248, "repo_name": "wav/osgi-tooling", "id": "6fe90dc222f421bf752ccd02e66f19c1c5cd7e11", "size": "350", "binary":...
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_...
{ "content_hash": "2867706a3f89dfec44c5f7cd6355041f", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 62, "avg_line_length": 36.48, "alnum_prop": 0.6842105263157895, "repo_name": "yokmama/honki_android", "id": "f046033984d1587379d4b3cad1a642f7dc13a91c", "size": "912", "bi...
;invalid instructions, should not be highlighted cwdqo fbst fcmovnbu fiaddp/fisubp cmovnpo/cmovpos fucomipp fidivp/fidivrp ficomip/ficompp fimulp fisubp/fisubrp paddub/padduw cvtsi2pi/cvtps2ps/cvtsi2si/cvtpi2pi/cvtss2ss/cvtss2ps/cvtss2pi/cvtpi2ss cvttsi2si/cvttps2ps/cvttpi2pi cvttdq2ps pmovsxww vmovbe vmovdq2q/vmovq2dq...
{ "content_hash": "29fa429a2c69361bb11d4d54b43bcdfa", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 71, "avg_line_length": 16.21951219512195, "alnum_prop": 0.8827067669172932, "repo_name": "13xforever/x86-assembly-textmate-bundle", "id": "38f5bb9f0542e4fc63d1cc8d120ed50f705...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
{ "content_hash": "e365087f811f7d856391be6f589f1905", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 90, "avg_line_length": 26.333333333333332, "alnum_prop": 0.6582278481012658, "repo_name": "gaurvw/MPGTextField", "id": "ab54c1b8f1a5804652d254f3891ace87762ea0f5", "size": "3...
/** * @name /test.js * @description Nodejs style test include * @since Fri Oct 04 16:47:15 BST 2013 * @author Kevin Hodges <kevin.hodges@holidayextras.com> */ module.exports = require( './test/sanity' );
{ "content_hash": "0ee4307227fe0f99632c90d9fd5cecd6", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 55, "avg_line_length": 25.5, "alnum_prop": 0.7009803921568627, "repo_name": "Shortbreaks/praetorian", "id": "6cdb4e7c6076c469be37c21bd9011a87f944c201", "size": "204", "bin...
First and most generic rule: **just look around**. But, we have a script for checking patches/files/git-refs: ```shell # Chech HEAD git ref ./checkpatch.sh -r ./checkpatch.sh -r HEAD # Check patch git format-patch --stdout -1 | ./checkpatch.sh -p git show -1 | ./checkpatch.sh -p # Or via regular files git format-pat...
{ "content_hash": "4a63aa1129be5cbf54772ed5d8e1d925", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 65, "avg_line_length": 21.129032258064516, "alnum_prop": 0.6916030534351145, "repo_name": "monkey/monkey", "id": "3875693978a996ee9c966f8102de52ddb105c495", "size": "704", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "707a2eaee8d6b3e6050da442609c3292", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "819278e9c5c06996e7fa1cebc17c5d757e6e9db6", "size": "179...
<?php /** * Snippet German lexicon topic * * @package modx * @subpackage lexicon * * @language de * @namespace core * @topic snippet * * MODX Revolution translated to German by Jan-Christoph Ihrens (enigmatic_user, enigma@lunamail.de) */ $_lang['snippet'] = 'Snippet'; $_lang['snippets_available'] = 'Snippets...
{ "content_hash": "c073eeb502d7f7d35ed899ff6a5f0eaf", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 295, "avg_line_length": 63.577777777777776, "alnum_prop": 0.7235232436211115, "repo_name": "yenbekbay/clinic", "id": "31617c00b25146ec01ca4bebd0302cc7e97c9a0f", "size": "28...
var _ = require("lodash"); var DidYouMean = require("did-you-mean"); var SuggestionFinder = function(index){ var allTags = _.uniq(_.flatten(_.map(index, "tags"))); this.matcher = new DidYouMean(allTags); this.matcher.ignoreCase(); }; SuggestionFinder.prototype.findPhrase = function(input){ var list = this.mat...
{ "content_hash": "34f9385a06b5c1b4bfbba9282bd926b2", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 56, "avg_line_length": 25.394736842105264, "alnum_prop": 0.7015544041450777, "repo_name": "geekytime/gif-grabber", "id": "c8a415fbb06ca6528ed6fb5c454fca5dcf8c45c0", "size":...
package org.jboss.as.quickstarts.deltaspike.exceptionhandling.jsf; import java.util.Iterator; import javax.enterprise.inject.spi.BeanManager; import javax.faces.FacesException; import javax.faces.context.ExceptionHandler; import javax.faces.context.ExceptionHandlerWrapper; import javax.faces.event.ExceptionQueuedEve...
{ "content_hash": "6cff1f4442be69474591c5a30c203f97", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 103, "avg_line_length": 33.326530612244895, "alnum_prop": 0.6846295162278015, "repo_name": "jboss-developer/jboss-wfk-quickstarts", "id": "3094024c164d6913bba35bf859f5d9b0d01...
function MessageListView(list, table_name, collapse_messages) { this.list = list; this.collapse_messages = collapse_messages; this._rows = {}; this.message_containers = {}; this.table_name = table_name; if (this.table_name) { this.clear_table(); } this._message_groups = []; ...
{ "content_hash": "bf5f9bff31c295ecb4bfbaf748502c1a", "timestamp": "", "source": "github", "line_count": 963, "max_line_length": 108, "avg_line_length": 42.50882658359294, "alnum_prop": 0.5856947430134845, "repo_name": "sharmaeklavya2/zulip", "id": "2ed20953fe14361dc204b52b9f6209d6af943245", "size":...
// Code generated by informer-gen. DO NOT EDIT. package acipolicy import ( v1 "github.com/noironetworks/aci-containers/pkg/nodepodif/informers/externalversions/acipolicy/v1" internalinterfaces "github.com/noironetworks/aci-containers/pkg/nodepodif/informers/externalversions/internalinterfaces" ) // Interface pro...
{ "content_hash": "c574779794bce94b9b6b1a0a78236da0", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 140, "avg_line_length": 32.40625, "alnum_prop": 0.793635486981678, "repo_name": "noironetworks/aci-containers", "id": "d858a9c9c33e85582d0b243e5922b73846d12642", "size": "1...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "a25d0c3f49546a8c0e91f90f6a4645bc", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "a18553071083f4e98a58903c84456f4deefbffce", "size": "18...
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>finance-website-...
{ "content_hash": "9e512f17da77313432aea2f38c266ffa", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 105, "avg_line_length": 33.69047619047619, "alnum_prop": 0.6989399293286219, "repo_name": "TorettoLong/financeP2p", "id": "82103a9252fb9ebe8cca8827a41c082ea1134348", "size"...
package org.apache.harmony.luni.tests.java.net; import dalvik.annotation.SideEffect; import dalvik.annotation.TestTargets; import dalvik.annotation.TestLevel; import dalvik.annotation.TestTargetNew; import dalvik.annotation.TestTargetClass; import junit.framework.TestCase; import tests.support.Support_Configuration;...
{ "content_hash": "242e4000028062869a515f29f89ab138", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 77, "avg_line_length": 31.982035928143713, "alnum_prop": 0.5759221119640516, "repo_name": "kepler0/In-the-Box-Fork", "id": "8fa561541fceab8790f6bace6eac6e854d16e664", "siz...
<component name="libraryTable"> <library name="espresso-core-2.2.2"> <CLASSES> <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test.espresso/espresso-core/2.2.2/res" /> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support.test...
{ "content_hash": "2ee4f91595418aeebc4dc9aa769af416", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 166, "avg_line_length": 52.083333333333336, "alnum_prop": 0.6944, "repo_name": "Yobin123/Tassel", "id": "0b520244c17fa806db79131c60d7e2acc8c757ab", "size": "625", "binary...
namespace vespalib::slime { extern std::string strfmt(const char *fmt, ...) #ifdef __GNUC__ __attribute__ ((format (printf,1,2))) // Add printf format checks with gcc __attribute__((nonnull(1))) // Format string can never be null #endif ; } // namespace vespalib::slime
{ "content_hash": "0f16656b6a44b824d49b9371d15064e8", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 82, "avg_line_length": 29.2, "alnum_prop": 0.6335616438356164, "repo_name": "vespa-engine/vespa", "id": "01e60eac3c02baebc4186e110e25f72818514538", "size": "431", "binary...
namespace SiteCore { /// <summary> /// A abstract implementation of <see cref="IReadWriteLocator"/>. /// </summary> public abstract class ReadWriteLocator : ReadableLocator, IReadWriteLocator { /// <summary> /// See <see cref="IReadableLocator.ReadOnly"/> for more information. /// </summary> public overrid...
{ "content_hash": "a0d02b08ab037c7182c0def2f6409f1e", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 83, "avg_line_length": 27, "alnum_prop": 0.6723646723646723, "repo_name": "mmeents/DataMattei", "id": "ae0471b97d3bf6a6d584fec4f539884171401b4c", "size": "1305", "binary"...
int main(int argc, char * argv[]) { @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } }
{ "content_hash": "0ac2b81f4a11a169c4723a97e7424673", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 90, "avg_line_length": 31.6, "alnum_prop": 0.6582278481012658, "repo_name": "codefunny/WAlertViewDemo", "id": "eab301e1e596032d20170478cf17df745d768d17", "size": "337", "b...
class CreateSlides < ActiveRecord::Migration def self.up create_table :slides do |t| t.string :title t.string :url t.string :image_file_name t.string :image_content_type t.integer :image_file_size t.datetime :image_updated_at t.timestamps end end def self.down ...
{ "content_hash": "6ec78d07ba97854aefa69d99fcfef446", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 44, "avg_line_length": 19.555555555555557, "alnum_prop": 0.6392045454545454, "repo_name": "uneek/Site-Kosmopolead", "id": "c042d0b331fb788a810c7574847623590991a53f", "size"...
ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "9d350584bd8afb57028f768b05ad520f", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.307692307692308, "alnum_prop": 0.6940298507462687, "repo_name": "mdoering/backbone", "id": "076aad3f6a4fb65e0884d52eb8e0515555ff5a9d", "size": "18...
ActiveRecord::Schema.define(:version => 20130725064722) do create_table "involvements", :force => true do |t| t.string "role" t.integer "person_id" t.integer "movie_id" t.datetime "created_at", :null => false t.datetime "updated_at", :null => false end add_index "involvements", ["movie_i...
{ "content_hash": "0ab3099c02c54df557e2f9ca9cc62845", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 85, "avg_line_length": 29.866666666666667, "alnum_prop": 0.6160714285714286, "repo_name": "tuckerd/library", "id": "b463787b1243d7a1c3f752941d65da8c17bb2c88", "size": "1631...
local http = require("resty.http") local hc = http:new() local cjson = require("cjson") local debug = false local dprint = function(msg) if debug == true then print("etcd: " .. msg) end end -- Client implements a new etcd Client local Client = {} local keyPrefix = "/v1/keys" -- new returns a new etcd.Clien...
{ "content_hash": "c23a080666867e7413221f426f2c24b1", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 77, "avg_line_length": 20.77027027027027, "alnum_prop": 0.6597267404033832, "repo_name": "coreos/corelb", "id": "73c4000a19c6a65c40b0546727cf0f02436e1941", "size": "2126", ...
const color = require('kleur'); const Prompt = require('./prompt'); const { cursor, erase } = require('sisteransi'); const { style, figures, clear, lines } = require('../util'); const isNumber = /[0-9]/; const isDef = any => any !== undefined; const round = (number, precision) => { let factor = Math.pow(10, precisio...
{ "content_hash": "65e8602930a310e4deb225d6e6a11c95", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 114, "avg_line_length": 26.669856459330145, "alnum_prop": 0.5767850735557948, "repo_name": "jpoeng/jpoeng.github.io", "id": "1135d40516cfb2683ab4c7d46fa28601710d7840", "si...
package de.nobio.pfmsim.handler; import de.nobio.pfmsim.runtime.PFMContext; /** */ public interface Handler { /** * Method handle. * * @param context * PFMContext * @throws Exception */ public void handle(PFMContext context) throws Exception; }
{ "content_hash": "90b97dea3bde4b8be2ffc3b180e7c3c3", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 60, "avg_line_length": 16.666666666666668, "alnum_prop": 0.6066666666666667, "repo_name": "nobio/pfm-simulator", "id": "729759bc56bbdbfd8786de05af9a0ae37229d3d1", "size": "...
#include <windows.h> #include "Imager.h" #include "Common/RhoUtil.h" HINSTANCE CImager::m_hImagerLibHandle = NULL; bool CImager::m_bImagerLoadFailed = false; IMAGE_FINDCLOSEPROC CImager::Image_FindClose= NULL; IMAGE_FINDFIRSTPROC CImager::Image_FindFirst= NULL; IMAGE_FINDNEXTPROC CImager::Image_FindNext= NULL;...
{ "content_hash": "12ee0fb583b757cdb2da3442755b74d7", "timestamp": "", "source": "github", "line_count": 627, "max_line_length": 169, "avg_line_length": 30.9585326953748, "alnum_prop": 0.6016691566637473, "repo_name": "UIKit0/rhodes", "id": "01d66f044d50bfcbcd0beac37cbb6de1315d2d8d", "size": "19411"...
using HarmonyLib; using LmpClient.Events; // ReSharper disable All namespace LmpClient.ModuleStore.Harmony { [HarmonyPatch(typeof(ModuleScienceExperiment))] [HarmonyPatch("resetExperiment")] public class ModuleScienceExperiment_ResetExperiment { [HarmonyPostfix] private static void Pos...
{ "content_hash": "02c81fa3b21c292cd1a4e5dca524bd37", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 86, "avg_line_length": 27.941176470588236, "alnum_prop": 0.7178947368421053, "repo_name": "DaggerES/LunaMultiPlayer", "id": "fcbab88606d737152aab99f542a888adc770a28b", "siz...
""" =============================== Test for qplotutils.chart.items =============================== Autogenerated package stub. """ import unittest import logging import sys import os import numpy as np from qtpy.QtCore import * from qtpy.QtGui import * from qtpy.QtOpenGL import * from qtpy.QtWidgets import * from...
{ "content_hash": "9179210f623da6c54fe5b5082864d63a", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 63, "avg_line_length": 20.54696132596685, "alnum_prop": 0.5598279107286905, "repo_name": "unrza72/qplotutils", "id": "f4755959cb4d0dc71a15a54d8e07bb2bae6487c8", "size": "3...
<?php /** * Phalcon Framework * * This source file is subject to the New BSD License that is bundled * with this package in the file docs/LICENSE.txt. * * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@phalconphp.com so we...
{ "content_hash": "8fa891c67eaeee74553504ee6324f535", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 83, "avg_line_length": 25.06122448979592, "alnum_prop": 0.5513029315960912, "repo_name": "temafey/vein-phalcon-core", "id": "4be161960d0284892e802b69797cc22c36da2c0b", "siz...
package org.apache.jena.tdb.index; import java.util.Arrays ; import java.util.HashMap ; import java.util.Iterator ; import java.util.Map ; import org.apache.jena.atlas.lib.Bytes ; import org.apache.jena.tdb.base.record.Record ; import org.apache.jena.tdb.base.record.RecordFactory ; public class IndexMap implements...
{ "content_hash": "ecb91611ea06bbeb051a77681376431e", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 103, "avg_line_length": 23.483870967741936, "alnum_prop": 0.5351648351648352, "repo_name": "kidaa/jena", "id": "89dc4eafab196e7f8f549b06f39fc3f36677ee19", "size": "4445", ...
package org.apache.activemq.artemis.tests.integration.jms.client; import javax.jms.Connection; import javax.jms.Message; import javax.jms.MessageConsumer; import javax.jms.MessageEOFException; import javax.jms.MessageProducer; import javax.jms.Queue; import javax.jms.Session; import javax.jms.StreamMessage; import o...
{ "content_hash": "bd37eb27e7ffdcc7e5d43c50959a0b60", "timestamp": "", "source": "github", "line_count": 302, "max_line_length": 98, "avg_line_length": 29.08609271523179, "alnum_prop": 0.5917577413479053, "repo_name": "gaohoward/activemq-artemis", "id": "5641bbf4fcf47b0e08c7f9ae476c6541edf97eb5", "s...
 #include <aws/dynamodb/model/ScanRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::DynamoDB::Model; using namespace Aws::Utils::Json; using namespace Aws::Utils; ScanRequest::ScanRequest() : m_tableNameHasBeenSet(false), m_indexNameHasBeenSet(false), m...
{ "content_hash": "70080588f763859191e9c32c7b214807", "timestamp": "", "source": "github", "line_count": 174, "max_line_length": 138, "avg_line_length": 26.32758620689655, "alnum_prop": 0.7611875136433093, "repo_name": "awslabs/aws-sdk-cpp", "id": "5fe905b392eea11a92406a94db5e19b961aaf0bb", "size": ...
<?php namespace Sugarcrm\UpgradeSpec\DI\Compiler; use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Reference; class ConsoleCommandPass implements CompilerPassInterface { /** * @para...
{ "content_hash": "c0c3f4b429c82db021c59eb8004faaaf", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 78, "avg_line_length": 29.17241379310345, "alnum_prop": 0.6903073286052009, "repo_name": "mikekamornikov/UpgradeSpec", "id": "4230b44986d55e6741d3aa2f9276be2f16c4d56d", "si...
""" Description: Round-trip example. This script takes a STIX instance document from XML to a binding object, then to a api object and then to a dictionary. That dictionary is then converted back into an api object, which is then used to generate an XML document. """ # stdlib from pprint import pprint # python-stix fr...
{ "content_hash": "73f0e179c73205a42d99933eeff94cbf", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 88, "avg_line_length": 26.666666666666668, "alnum_prop": 0.7010416666666667, "repo_name": "STIXProject/python-stix", "id": "80989a03b6131b04cd144634a001cba63c396250", "size...
cask 'epic-games' do version '9.13.0' sha256 '511243407bae33e381d17aeb87642f45d12ef4b3ec806a2f7fcc9ddabbb8a146' # epicgames-download1.akamaized.net was verified as official when first introduced to the cask url "https://epicgames-download1.akamaized.net/Builds/UnrealEngineLauncher/Installers/Mac/EpicInstaller-...
{ "content_hash": "f1ef49cbe86de56540f0d32593351675", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 190, "avg_line_length": 45.95652173913044, "alnum_prop": 0.7218543046357616, "repo_name": "uetchy/homebrew-cask", "id": "55fdc9f0fc9ba5251f50eeff6531a7a7ec611739", "size": ...
package com.google.refine.clustering.binning; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.TreeMap; ...
{ "content_hash": "487377720e396921c885e507d211a384", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 105, "avg_line_length": 34.44134078212291, "alnum_prop": 0.5526358475263585, "repo_name": "DTL-FAIRData/FAIRifier", "id": "8a796ab1814f986f2e82fb41124757c16385ec25", "size...
**Table of Contents** - [Establish a Foothold](##establish-a-foothold) - [Hack the Cloud](##hack-the-cloud) # Escalating Privileges in AWS In this lab we will be performing account takeover. *Resources:* - [AWS Identity and Access Management](http://docs.aws.amazon.com/cli/latest/reference/iam/) --- ## Establish...
{ "content_hash": "a37f642ed1a772a4e6ec8f808e6ab9ae", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 166, "avg_line_length": 27.430232558139537, "alnum_prop": 0.6816447647308181, "repo_name": "devsecops/bootcamp", "id": "18f6cb27e2d555be398d65e0faa67f23becc885c", "size": "...
package com.speedment.common.tuple.internal; import com.speedment.common.tuple.TupleOfNullables; import java.util.Optional; import java.util.stream.Stream; import static java.util.Objects.requireNonNull; /** * * @author pemi */ public abstract class AbstractTupleOfNullables extends BasicAbstractTuple<AbstractTu...
{ "content_hash": "a0746b969c8690df56d126374d567992", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 147, "avg_line_length": 25.022727272727273, "alnum_prop": 0.6839237057220708, "repo_name": "speedment/speedment", "id": "c293ab9b134483ddf3ee31dfc550d216780c46ff", "size": ...
1.2.0 / 2014-09-26 ================== BC break: * Changed the behavior of `getValue` for checkboxes according to the BC break in Mink 1.6 New features: * Implemented `getOuterHtml` * Added the support of manipulating forms without submit buttons * Added support of any request headers instead of supporting only a fe...
{ "content_hash": "f7b0f76379aaea4dbe1fce1db85b2c94", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 106, "avg_line_length": 39.42424242424242, "alnum_prop": 0.7770945426594927, "repo_name": "dewanee-es/tipi", "id": "774663f8c5d135acb6c158d3d4f859d31b1b7d97", "size": "1301...
layout: page title: Creating the AWS user which will be used for authentication --- ## Navigate to the IAM console ![][1] [1]: images/aws-user-creation/navigate-to-the-iam-console.png ## Select the "Users" panel ![][2] [2]: images/aws-user-creation/select-the--users--panel.png ## Create a new user ![][3] [3]: ...
{ "content_hash": "73b58f880d29e39c00ca79f810fc127e", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 106, "avg_line_length": 19.170731707317074, "alnum_prop": 0.7162849872773537, "repo_name": "x3ro/redmine_amazon_s3", "id": "52b20d1a56ffb75fc43bbd0e859592cd8fd3fd67", "size...
package org.apache.hyracks.algebricks.runtime.operators.meta; import java.nio.ByteBuffer; import org.apache.hyracks.algebricks.common.exceptions.AlgebricksException; import org.apache.hyracks.algebricks.runtime.base.AlgebricksPipeline; import org.apache.hyracks.algebricks.runtime.base.IPushRuntimeFactory; import org...
{ "content_hash": "79b5eebc6de3615f5620951d5a41c3a3", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 112, "avg_line_length": 42.05161290322581, "alnum_prop": 0.6480515495550783, "repo_name": "kisskys/incubator-asterixdb", "id": "10c8d66de3f5f6e0e2ea02da3134357af39d2b3e", ...
evereq.github.com ================= Evereq site available at http://evereq.github.com Custom JavaScript, CSS & HTML released under MIT license. Portions of CSS and some images are from Architect theme of Github Pages.
{ "content_hash": "3a2c752cbe51a4fa3035eb5298f07e7b", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 73, "avg_line_length": 31.714285714285715, "alnum_prop": 0.7252252252252253, "repo_name": "evereq/evereq.github.com", "id": "91ca575d10a833106c7707088681f416ee14dadd", "size...
package eu.verdelhan.ta4j.indicators.trackers.bollinger; import static eu.verdelhan.ta4j.TATestsUtils.assertDecimalEquals; import eu.verdelhan.ta4j.TimeSeries; import eu.verdelhan.ta4j.indicators.statistics.StandardDeviationIndicator; import eu.verdelhan.ta4j.indicators.simple.ClosePriceIndicator; import eu.verdelha...
{ "content_hash": "dcd516d1470d13003b10ccf56bcddd65", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 106, "avg_line_length": 43.15625, "alnum_prop": 0.718320057929037, "repo_name": "ElMoe/ta4j", "id": "b5df630492b352eb9592eabdef8b3cd40141f62d", "size": "3949", "binary": ...
<?php namespace Predis\Collection\Iterator; use PredisTestCase; use Predis\Client; use Predis\Profile; /** * @group realm-iterators */ class KeyspaceTest extends PredisTestCase { /** * @group disconnected * @expectedException Predis\NotSupportedException * @expectedExceptionMessage The current...
{ "content_hash": "2c939b7b949593a5e162fd647487db35", "timestamp": "", "source": "github", "line_count": 441, "max_line_length": 92, "avg_line_length": 33.394557823129254, "alnum_prop": 0.5243430433896924, "repo_name": "cola1129/devtool", "id": "338f32dd08dcdddcb2b299230473c8d9f4b3b8e8", "size": "14...
package org.apache.nifi.minifi.commons.status.system; import java.util.List; public class SystemDiagnosticsStatus implements java.io.Serializable { private List<GarbageCollectionStatus> garbageCollectionStatusList; private HeapStatus heapStatus; private SystemProcessorStats systemProcessorStats; pri...
{ "content_hash": "bc0908154981de08a69123b33657ffb9", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 197, "avg_line_length": 42.69565217391305, "alnum_prop": 0.7166496945010183, "repo_name": "brosander/nifi-minifi", "id": "4f3892fb7cab6490490d8626d223896ca74f9364", "size":...
using System; namespace Buildron.Domain.Users { /// <summary> /// Base class to arguments for user events. /// </summary> public abstract class UserEventArgsBase: EventArgs { #region Constructors /// <summary> /// Initializes a new instance of the <see cref="Buildron.Domain.Users.UserEventArgsBa...
{ "content_hash": "15db963f3ffbf61d47bc1cf5d3f7f9d1", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 100, "avg_line_length": 23.035714285714285, "alnum_prop": 0.6108527131782946, "repo_name": "skahal/Buildron", "id": "9e15fe1cd91e51b67858596b34722d537fa63c9a", "size": "645...
// Copyright (c) 2011-2013 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef WALLETFRAME_H #define WALLETFRAME_H #include <QFrame> #include <QMap> class BitcoinGUI; class ClientModel; class Sen...
{ "content_hash": "9bd89a3a663b4dcc776283e0b4b29f47", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 75, "avg_line_length": 27.136363636363637, "alnum_prop": 0.7056113902847572, "repo_name": "gjhiggins/vcoin09", "id": "3180e46451a6ca95231cdda3bbed826494162323", "size": "23...
package remt import ( "encoding/xml" "github.com/fgrid/iso20022" ) type Document00100102 struct { XMLName xml.Name `xml:"urn:iso:std:iso:20022:tech:xsd:remt.001.001.02 Document"` Message *RemittanceAdviceV02 `xml:"RmtAdvc"` } func (d *Document00100102) AddMessage() *RemittanceAdviceV02 { d.Message ...
{ "content_hash": "b0771bb548cce4ec99338062f2d78621", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 228, "avg_line_length": 37.297872340425535, "alnum_prop": 0.793496862521392, "repo_name": "fgrid/iso20022", "id": "fcd1d10600d9922d428b8f9ab0668a8a1f96a574", "size": "1753"...
// Canvas Asteroids // // Copyright (c) 2010 Doug McInnes // KEY_CODES = { 32: 'space', 37: 'left', 38: 'up', 39: 'right', 40: 'down', 70: 'f', 71: 'g', 72: 'h', 77: 'm', 80: 'p' } KEY_STATUS = { keyDown:false }; for (code in KEY_CODES) { KEY_STATUS[KEY_CODES[code]] = false; } $(window).keydown...
{ "content_hash": "c72d8bbe4e7881ef3127914fe3b69a79", "timestamp": "", "source": "github", "line_count": 1222, "max_line_length": 137, "avg_line_length": 25.421440261865794, "alnum_prop": 0.5522291968453243, "repo_name": "vsavvakin/asu_git_4315", "id": "18927f5b65adcfeef23c344ca27101dc2b6c0c63", "si...
package com.pungwe.cms.core.utils; /** * Created by ian on 22/02/2016. */ public interface HookCallback { void call(Class<?> hookClass, Object arg); }
{ "content_hash": "d8e8304ac2135e9889624597c8dceb2c", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 43, "avg_line_length": 19.375, "alnum_prop": 0.6967741935483871, "repo_name": "thunderbird/pungwecms", "id": "d4f57e866cfe6722da96db32f493f0cbeda06968", "size": "155", "bi...
// Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System.Linq; using Perspex.Controls; using Perspex.Controls.Presenters; using Perspex.Controls.Primitives; using Perspex.Controls.Shapes; using Pers...
{ "content_hash": "cc62723dadc53885253811ec4171a874", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 129, "avg_line_length": 47.57954545454545, "alnum_prop": 0.4059390175941406, "repo_name": "danwalmsley/Perspex", "id": "e79c6b71792f96ca5259b41f42b06bd4950c1af7", "size": ...
'use strict'; var Promise = require('ember-cli/lib/ext/promise'); var TestCommand = require('ember-cli/lib/commands/test'); var win = require('ember-cli/lib/utilities/windows-admin'); var BuildTask = require('ember-cli/lib/tasks/build'); var BuildWatchTask = require('ember-cli/lib/tasks/build-watch'); var TestTask = r...
{ "content_hash": "1e040022c3479633c46479024484bc83", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 95, "avg_line_length": 28.26388888888889, "alnum_prop": 0.5862407862407862, "repo_name": "MichaelBowenSc/about-me", "id": "44f0c2c0b42f1fb5937397a4461f3e3d54bd914a", "size"...
package org.springframework.boot.actuate.management; import org.junit.jupiter.api.Test; import static org.assertj.core.api.Assertions.assertThat; /** * Tests for {@link ThreadDumpEndpoint}. * * @author Phillip Webb * @author Andy Wilkinson */ public class ThreadDumpEndpointTests { @Test public void dumpThr...
{ "content_hash": "674f44963847e043a716c56f85ab9b31", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 71, "avg_line_length": 18.695652173913043, "alnum_prop": 0.7372093023255814, "repo_name": "lburgazzoli/spring-boot", "id": "0af982a564246f76797ea63fb106ae726e55da39", "size...
angular.module('imagesActions', []) .controller('ImagesActionsController', ['$scope', '$rootScope', '$routeParams', 'Image', 'ConsulPrimarySwarm', 'SettingsConsul', 'Settings', 'Messages', 'ViewSpinner', function ($scope, $rootScope, $routeParams, Image, ConsulPrimarySwarm, SettingsConsul, Settings, Messages, View...
{ "content_hash": "631ab382fc1c63428825951f6aab96c3", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 123, "avg_line_length": 34.58, "alnum_prop": 0.4777327935222672, "repo_name": "Ptimagos/swarmui", "id": "cf498750e3d45da4bbf42bdc2dd7d5d44a18bc88", "size": "1729", "binar...
require 'spec_helper' require 'sidekiq/testing' Sidekiq::Testing.inline! require 'poltergrind' class TestWorker include Poltergrind::Worker def perform super do raise Capybara::Poltergeist::StatusFailError, 'fail' end end end module Poltergrind describe Worker do let(:statsd) do inst...
{ "content_hash": "5c291db365b2c95226d6c5db39060eec", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 100, "avg_line_length": 22.73170731707317, "alnum_prop": 0.6652360515021459, "repo_name": "andyt/poltergrind", "id": "e46ed52e6b1d10d6efee7e5da09db3d5bdd5e2dc", "size": "93...
'use strict'; angular.module('mean.recipes').controller('RecipesController', ['$scope', 'Global', 'Recipes', '$http', '$sce', '$stateParams', function($scope, Global, Recipes, $http, $sce, $stateParams) { $scope.global = Global; $scope.package = { name: 'recipes' }; $scope.recipes = null; $...
{ "content_hash": "2740f9e5330e3a332ff821ce852d2b4a", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 127, "avg_line_length": 35.962025316455694, "alnum_prop": 0.5596620908130939, "repo_name": "Cornell-CS5356-Fall2014/Team-5", "id": "c2708229fee82e70b34bf4f3c9251c9927d1a6c6",...