text
stringlengths
2
1.04M
meta
dict
<?php namespace Blanfordia\Visitors\Support\Exceptions; use Exception; class Parse extends Exception { }
{ "content_hash": "5b55226f2401f9b94992ec8652e27f45", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 49, "avg_line_length": 12.11111111111111, "alnum_prop": 0.7798165137614679, "repo_name": "sadeghnazari/visitors", "id": "2f235e0133b520ef95ca161d514b5f3aa5052a99", "size": "...
package com.github.bartekdobija.omniture.metadata; public class MetadataException extends Exception { public MetadataException () {} public MetadataException(Throwable e) { super(e); } public MetadataException(String msg) { super(msg); } }
{ "content_hash": "dd7a6685ca8ede08927625c32bd43f78", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 50, "avg_line_length": 18.714285714285715, "alnum_prop": 0.7251908396946565, "repo_name": "bartekdobija/omniture-clickstream", "id": "f82d06937c84096b5c8e77c7b70eb723e4fcdbcb...
/* * 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 agreed to in writing, software * distributed u...
{ "content_hash": "dd4d332047422dbc85473b7a59d935a5", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 109, "avg_line_length": 31.18881118881119, "alnum_prop": 0.7533632286995515, "repo_name": "trello/navi", "id": "9aa1bfd5565e07b4958b33c27756529739886655", "size": "4460", ...
layout: sgpm-default-display title: author: tags: ["1950s", "1960s", "1970s", "1980s", "1990s", "bhairahawa", "dharan", "gurkhas", "kathmandu", "nepal", "pokhara", "singapore", "singapore gurkha archive", "singapore gurkha old photographs", "singapore gurkha photography museum", "singapore gurkhas"] credit: source: ...
{ "content_hash": "ceb3371a252731c431fa859500fa5944", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 256, "avg_line_length": 47.666666666666664, "alnum_prop": 0.752913752913753, "repo_name": "sgpm-generator/sgpm-generator", "id": "78328d9a57df0ea79843599ee99e6fdc28303a02", ...
title: Normal Distribution --- ## Normal Distribution This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/statistics/normal-distribution/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>. <a href='https://github.com/freecodecamp/guides/blob/master/...
{ "content_hash": "65999e30d723d74c1aa6cc740454c791", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 203, "avg_line_length": 49.214285714285715, "alnum_prop": 0.7532656023222061, "repo_name": "otavioarc/freeCodeCamp", "id": "b926061fdb6ff6ed2e994d58913bf401f949beb9", "size...
Ti=Litigation Costs sec=In any action or proceeding to enforce rights under this {_Agreement}, the prevailing party will be entitled to recover costs and attorneys' fees. =[G/Z/ol/Base]
{ "content_hash": "4d466c6a19d93d6ba93d681bcd9a2b9f", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 150, "avg_line_length": 37.6, "alnum_prop": 0.776595744680851, "repo_name": "CommonAccord/Cmacc-Org", "id": "9ef93c0962b19dadfee0f20345b4db57bfa3be56", "size": "188", "bin...
using System; using System.Diagnostics; using System.Linq; using System.Threading.Tasks; using starshipxac.Shell.TestTools; using Xunit; namespace starshipxac.Shell { public class ShellFolderTest : IClassFixture<ShellTestConfig> { public ShellFolderTest(ShellTestConfig testConfig) ...
{ "content_hash": "b8ca1c07c48d8f840581c83ac1285fc0", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 124, "avg_line_length": 35.49723756906077, "alnum_prop": 0.5310505836575875, "repo_name": "starshipxac/starshipxac.ShellLibrary", "id": "627384e838b22e3a63ea38f63a27d239e684...
name: Leaflet.TileLayer.GLOperations category: tile-image-display repo: https://github.com/equinor/leaflet.tilelayer.gloperations author: Thorbjørn Horgen author-url: https://github.com/thor85 demo: https://equinor.github.io/leaflet.tilelayer.gloperations/ compatible-v0: compatible-v1: true --- WebGL TileLayer: Colori...
{ "content_hash": "703b43e361dbad227d974e164da168f6", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 170, "avg_line_length": 42.54545454545455, "alnum_prop": 0.8141025641025641, "repo_name": "CapeSepias/Leaflet", "id": "165a07140bb1647e3de0d0ac2830d535cc96a3c6", "size": "4...
"""Environment variables used by :mod:`google.auth`.""" PROJECT = "GOOGLE_CLOUD_PROJECT" """Environment variable defining default project. This used by :func:`google.auth.default` to explicitly set a project ID. This environment variable is also used by the Google Cloud Python Library. """ LEGACY_PROJECT = "GCLOUD_...
{ "content_hash": "f68817a975d877740780f8396926c6b8", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 81, "avg_line_length": 39.09090909090909, "alnum_prop": 0.7813953488372093, "repo_name": "martbhell/wasthereannhlgamelastnight", "id": "c076dc59da1c11ea2c68b13c587eb132e53c60...
#pragma once /// @cond DEV /** * This file only serves to describe sensor groups based on libmraa groups. * Sensors may belong to multiple groups. This is purely a documentation header * and is not meant to be installed anywhere. */ /// @endcond DEV ///////////////////////////////////////////////////////////////...
{ "content_hash": "b4e0f8bb4d9ed4f6808dbaa0a694768b", "timestamp": "", "source": "github", "line_count": 320, "max_line_length": 79, "avg_line_length": 18.753125, "alnum_prop": 0.6030661556407265, "repo_name": "izard/upm", "id": "f196264960c6afbd2653dda552ee8148ef16ed5b", "size": "7245", "binary":...
require File.expand_path('../boot', __FILE__) # Pick the frameworks you want: require "active_model/railtie" require "active_job/railtie" # require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "action_view/railtie" require "sprockets/railtie" require "rails/test_u...
{ "content_hash": "a7eee1c2d983b9cf0d69848376b5e625", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 99, "avg_line_length": 40.16129032258065, "alnum_prop": 0.7325301204819277, "repo_name": "slate-studio/inverter", "id": "6d1716a85eccb4ecff58b11c5967aefc84349640", "size": ...
<?php require_once '../repository/UserRepository.php'; class RegisterController { public function __construct() { // Checks if the user hast admin rights, wich are required for this action if(!Security::isAdmin()){ header('Location: /error/notAuthenticated'); } } p...
{ "content_hash": "fc2e2ec63dcc2397b33d9a4fa8434945", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 105, "avg_line_length": 31.863636363636363, "alnum_prop": 0.5374465049928673, "repo_name": "wityan/SoccerLounge", "id": "b80a9f58725a68d4937c4c9160ce6119136968b0", "size": ...
<?xml version="1.0" encoding="UTF-8"?> <!--L Copyright Oracle Inc Distributed under the OSI-approved BSD 3-Clause License. See http://ncip.github.com/cadsr-cgmdr-nci-uk/LICENSE.txt for details. L--> <cgMDR:Data_Element xmlns:cgMDR="http://www.cancergrid.org/schema/cgMDR" item_registration_authority_identifier=...
{ "content_hash": "9e3ca6f1eb63b5e78b86154d5d8dbdd6", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 170, "avg_line_length": 56.509433962264154, "alnum_prop": 0.7205342237061769, "repo_name": "NCIP/cadsr-cgmdr-nci-uk", "id": "75218006104eb4a255654e637db96c15d0111b68", "siz...
from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ lookup: upgrade_chekpoints short_description: build list of chekpoints be played on upgrade description: - This lookup returns the list of upgrade checkpoint names to be played on upgrade. options:...
{ "content_hash": "c56e490567854b607f3e2db7b33e94d1", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 114, "avg_line_length": 36.54545454545455, "alnum_prop": 0.6329463792150359, "repo_name": "keitarocorp/centos_provision", "id": "e426049bff3ee1adae2d2a2fc6bb1cf4cd7a3d32", ...
package cn.way.wandroid.text; import android.graphics.Color; import android.os.Bundle; import android.text.Spannable; import android.text.SpannableStringBuilder; import android.text.method.LinkMovementMethod; import android.text.style.BackgroundColorSpan; import android.text.style.ForegroundColorSpan; import android.t...
{ "content_hash": "25850fa6ceab836674d8c947a90525dd", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 122, "avg_line_length": 39.61224489795919, "alnum_prop": 0.7666151468315301, "repo_name": "wayhap/WASample", "id": "1f9fcbadd80f00d6b74a3b05b6fba2a710a8a85a", "size": "1961...
package daemon import ( "crypto/md5" "encoding/binary" "net" bgp "github.com/gopher-net/gopher-net/third-party/github.com/gobgp/packet" ) // BgpDbTable contains a map of BgpDbEntry keyed on a hash of Prefix and PrefixLen type BgpDbTable map[[16]byte]BgpDbEntry // BgpDbEntry is an entry in the Bgp Database for a...
{ "content_hash": "dadf012625105caa04318770010d81d4", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 82, "avg_line_length": 21.174603174603174, "alnum_prop": 0.6956521739130435, "repo_name": "gopher-net/gopher-net", "id": "c393ad0a1f8863dd030a64e3d38a761c6393db61", "size":...
table th.value, table td.value { word-break:break-all }
{ "content_hash": "c819ea5c842e1688c99b2f03a2eb5336", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 24, "avg_line_length": 15, "alnum_prop": 0.6833333333333333, "repo_name": "nkm/redsys-virtual-pos", "id": "43b8a1e8c065eaf1d12556416fab3840c08e04a7", "size": "60", "binary...
<!DOCTYPE html> <meta charset=utf-8> <title>Redirecting...</title> <link rel=canonical href="../惧/index.html"> <meta http-equiv=refresh content="0; url='../惧/index.html'"> <h1>Redirecting...</h1> <a href="../惧/index.html">Click here if you are not redirected.</a> <script>location='../惧/index.html'</script>
{ "content_hash": "0590d0279f122308c9c64ed9ce83c876", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 67, "avg_line_length": 38.5, "alnum_prop": 0.6785714285714286, "repo_name": "hochanh/hochanh.github.io", "id": "376de3ae6a381ede4577f534fdfbde815077eef5", "size": "316", "...
namespace app { namespace Fuse { namespace Resources { struct ImageSource; } } } namespace app { namespace Uno { namespace UX { struct ValueChangedArgs__Fuse_Resources_ImageSource; struct ValueChangedArgs__Fuse_Resources_ImageSource__uType : ::app::Uno::EventArgs__uType { }; ValueChangedArgs__Fuse_Resources_ImageSo...
{ "content_hash": "a109259c3c582ae5311b22ba7083b357", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 180, "avg_line_length": 57.86486486486486, "alnum_prop": 0.7589911256422233, "repo_name": "blyk/BlackCode-Fuse", "id": "0e0ba94cd0233a4280f8c429bbc4f42afbf16fb2", "size": "...
class GameMainWindow : public QMainWindow { Q_OBJECT public: GameMainWindow(); MenuWindow *menuWindow; Markgame *markgame; ScoreWindow *scoreWindow; private slots: void setGameWindow(); void showResult(); protected: void keyPressEvent(QKeyEvent *); private: int keymode; int t...
{ "content_hash": "8f9716360e32dcb90c83a1ff1bdd4a13", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 41, "avg_line_length": 19.06451612903226, "alnum_prop": 0.6971235194585449, "repo_name": "sh4869/TankGame", "id": "ee3350928f72bf29c6253908b56ebdae126115bb", "size": "872",...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/backrepeat" android:gravity="center_horizontal" android:orientation="vertical" > </Lin...
{ "content_hash": "2f2ebf81801f45b19159c325705df398", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 72, "avg_line_length": 36.666666666666664, "alnum_prop": 0.7333333333333333, "repo_name": "pk-android/android-tile-repeat", "id": "5d099dc1402c06edd33a9011a39b9fcf5f2e55d8", ...
CREATE OR REPLACE VIEW ESI_SHOP_MATERIAL_ALLOC AS SELECT MAT.order_no order_no, MAT.release_no release_no, MAT.sequence_no sequence_no, MAT.line_item_no line_item_no, MAT.part_no part_n...
{ "content_hash": "e2c23bcee22e202f56b7a4c8fd3c4562", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 71, "avg_line_length": 57.31182795698925, "alnum_prop": 0.46716697936210133, "repo_name": "allenbyerly/Conformity", "id": "921f26e94accf3b9c9a5c7c250c856e2a0a868ad", "size"...
module RubyPushNotifications module WNS # This class is responsible for sending notifications to the WNS service. # class WNSPusher # Initializes the WNSPusher # # @param access_token [String]. WNS access token. # @param options [Hash] optional. Options for GCMPusher. Currently s...
{ "content_hash": "17565c688e65aa9a7ad8c4809386049e", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 105, "avg_line_length": 35.90625, "alnum_prop": 0.6623150565709313, "repo_name": "calonso/ruby-push-notifications", "id": "926bc1b14834075ab46c08682c05c15b3b592d3f", "size"...
SYNONYM #### According to Index Fungorum #### Published in null #### Original name Achlya oblongata var. gigantea E.J. Forbes, 1935 ### Remarks null
{ "content_hash": "248be8fb7326a6a598ea528ab0c56021", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 48, "avg_line_length": 11.692307692307692, "alnum_prop": 0.7039473684210527, "repo_name": "mdoering/backbone", "id": "5138b63c4f07391c8b7ca449073a603108a279d5", "size": "23...
<?xml version = "1.0" encoding = "UTF-8"?> <INPUT> <MEDALS> <MEDAL Id="1" MEDAL_THRESHOLD="45000" TYPE="Gold"/> <MEDAL Id="2" MEDAL_THRESHOLD="70000" TYPE="Silver"/> <MEDAL Id="3" MEDAL_THRESHOLD="95000" TYPE="Bronze"/> </MEDALS> <SpeedSettings Min="0" Max="150" Default="18"/> <PenaltySettings TimeL...
{ "content_hash": "c4043c5c0a0c114fc559de79cfaf0151", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 57, "avg_line_length": 27.585526315789473, "alnum_prop": 0.6117338421178155, "repo_name": "synaptek/MathFluency", "id": "93a391ef85fb20651008b0657139f40044271aa2", "size":...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Z3Data; namespace AlertLibrary { public class Report { string _reportTextHTML = null; Alerts _alerts = null; string _linkPage = null; Dictionary<string, string> _images = new Dictionary...
{ "content_hash": "86b3fdead2b703307130cd3a6997f180", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 200, "avg_line_length": 34.65384615384615, "alnum_prop": 0.43573806881243066, "repo_name": "dstaple/z3test", "id": "a33f6e2d55b85846bfc70d2b182bd2f0136bbfe2", "size": "450...
from __future__ import absolute_import import flask blueprint = flask.Blueprint(__name__, __name__)
{ "content_hash": "1b90b8fb04b3f09be3d616768fb8bcc4", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 47, "avg_line_length": 20.4, "alnum_prop": 0.7058823529411765, "repo_name": "Deepomatic/DIGITS", "id": "66d0d3645ec72d087623f67f5192640743ced002", "size": "171", "binary":...
package com.amitcodes.conman.config; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.yaml.YAMLFactory; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; public class SimpleYamlParser<T> { final Class<T> typePar...
{ "content_hash": "862b8f67226514d6c7391ef7c7010736", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 76, "avg_line_length": 24.04, "alnum_prop": 0.6405990016638935, "repo_name": "sharmaak/conman", "id": "2e489f51aabd9a8141db9c0a758209a910e85b0f", "size": "1202", "binary"...
package godo import ( "context" "net/http" ) // AccountService is an interface for interfacing with the Account // endpoints of the DigitalOcean API // See: https://docs.digitalocean.com/reference/api/api-reference/#tag/Account type AccountService interface { Get(context.Context) (*Account, *Response, error) } //...
{ "content_hash": "e22575a56d3bc510c5e6636f567b802e", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 82, "avg_line_length": 25.683333333333334, "alnum_prop": 0.7105775470473719, "repo_name": "jacksontj/promxy", "id": "a6691e84aa06e2cc25f24a77eeb28b1e4c361398", "size": "154...
<?php class BannerController extends AbBackController { const UPLOAD_DIR = '/content/upload/banner'; const BANNER_LIMIT = 10; public function init() { $this->attachBehavior('media', new AbMediaBehavior()); parent::init(); } public function actionIndex() { $this->pageTitle = Yii::app()->name ....
{ "content_hash": "1bc4d3532575d28a9d7560883769d829", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 108, "avg_line_length": 27.666666666666668, "alnum_prop": 0.5738904987036755, "repo_name": "zmiftah/yiihippo", "id": "0f732817acaa2be4b21335f1db218f7a3d10c143", "size": "6...
Rails.application.config.assets.version = '1.0' # Precompile additional assets. # application.js, application.css, and all non-JS/CSS in app/assets folder are already added. Rails.application.config.assets.precompile += %w( admin.js )
{ "content_hash": "4ddd9cc1b38c3d834bf1f58ca8212b0a", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 93, "avg_line_length": 47.2, "alnum_prop": 0.7711864406779662, "repo_name": "chadlwm/chad_blog", "id": "3358189eb7e662b6fb496fa25d94110b02330b6c", "size": "374", "binary":...
""" WSGI config for passgame project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETT...
{ "content_hash": "e6c86e2494ba32f252b6e4cc10c08879", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 78, "avg_line_length": 24.5625, "alnum_prop": 0.7709923664122137, "repo_name": "risingsunomi/oscruogames", "id": "ff1c2ff33318fc7e208243e01e2eed43e0c0d9c7", "size": "393", ...
#pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "4DACA1E6D4E02490CF5BE8C85FA5A8F7" //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18051 // // Changes to this f...
{ "content_hash": "5e3cee9f275a20b47cfb4c28e9a09edc", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 113, "avg_line_length": 32.5, "alnum_prop": 0.6040485829959514, "repo_name": "rictokyo/Topifier", "id": "f6ec352e5e271dec0336126dd921cfe2ddb4f53e", "size": "2472", "binar...
FROM edxops/focal-common:latest RUN apt-get update && apt-get install -y \ gettext \ lib32z1-dev \ libjpeg62-dev \ libxslt1-dev \ zlib1g-dev \ python3 \ python3-dev \ python3-venv \ python3-pip && \ pip3 install --upgrade pip setuptools && \ rm -rf /var/lib/apt/lists/* COPY ...
{ "content_hash": "312d1a89732518af27baf5029efed762", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 94, "avg_line_length": 26.87878787878788, "alnum_prop": 0.6550169109357384, "repo_name": "edx/xblock-sdk", "id": "2043a96c9578247ab0fb92a16bde2858d952c61c", "size": "887", ...
package com.facebook.buck.cli; import com.facebook.buck.core.config.BuckConfig; import com.facebook.buck.core.config.ConfigView; import com.facebook.buck.core.util.immutables.BuckStyleImmutable; import com.facebook.buck.util.Ansi; import com.facebook.buck.util.AnsiEnvironmentChecking; import java.util.Optional; impo...
{ "content_hash": "473355c67aed7eb3b736865443634633", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 100, "avg_line_length": 34.6, "alnum_prop": 0.7136100893326327, "repo_name": "brettwooldridge/buck", "id": "3befc1477c59241621a70c261b4f11bdda5faabf", "size": "2508", "bi...
'use strict' //Modules for users var modules = { site: require('./modules/site'), twitter: require('./modules/twitter') }; var app = require('koa')(); var koaStatic = require('koa-static'); var koaHandlebars = require('koa-handlebars'); var sys = require('./config/init'); var router = require('./config/route...
{ "content_hash": "743cedc474aeeeb85cc10605633e235d", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 51, "avg_line_length": 24.608695652173914, "alnum_prop": 0.6890459363957597, "repo_name": "wuyuMonogatari/twitterforward", "id": "b95f697281ceefdfecaacf6bc802bdc062a4b825", ...
cask "podpisuj" do version "5.6.42" sha256 "9ee3582502442b2e5da4e0841fa699e596bf946938ca45418aac9e763c882d62" url "https://www.podpisuj.sk/staticweb/install/podpisuj-#{version}.dmg" name "Podpisuj" desc "Application for electronic signing and validation of signatures" homepage "https://www.podpisuj.sk/" ...
{ "content_hash": "66bae251d11496b37a0e336980d2a0f4", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 95, "avg_line_length": 29.46153846153846, "alnum_prop": 0.7140992167101827, "repo_name": "tjnycum/homebrew-cask", "id": "eb7d59907ed729c93755684e5799bbcb696bade4", "size": ...
<?php namespace OPNsense\ARPscanner; use OPNsense\Base\BaseModel; class ARPscanner extends BaseModel { public function test() { $command="/sbin/ifconfig -l -u"; exec($command, $output); return $output; } }
{ "content_hash": "2959edfdc00a114ba6465a65eeadd33b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 40, "avg_line_length": 14.529411764705882, "alnum_prop": 0.6194331983805668, "repo_name": "fabianfrz/plugins", "id": "9448a28d73fa1a0803c73ad6a8470df9223e2609", "size": "16...
using System; using System.Reflection; namespace Karambit.Web { public class Middleware { #region Fields private MethodInfo method; private MiddlewareAttribute attribute; #endregion #region Methods /// <summary> /// Gets the attribute. /// </sum...
{ "content_hash": "5acadc2879bac98f3cb040473e0238ea", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 77, "avg_line_length": 25.70175438596491, "alnum_prop": 0.5044368600682594, "repo_name": "Karambyte/karambit", "id": "656491f10fbe4e0cbe4eaa4944ffb9d7224fca81", "size": "14...
//------------------------------------------------------------------------------ // <auto-generated> // Dieser Code wurde von einem Tool generiert. // Laufzeitversion:4.0.30319.42000 // // Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn // der Code erneut...
{ "content_hash": "b5184a22d82125a086114f1d2a741066", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 151, "avg_line_length": 37.84615384615385, "alnum_prop": 0.5362950058072009, "repo_name": "tobi-the-fraggel/Mousenect---ModularMouse", "id": "074e1b066f820bfbe29c8b7b315d453...
$(function () { $('.close-alert').click(function (e) { $(e.target).parents('.alerte').fadeOut('fast', function () { this.remove(); }); }); function readURL(input) { } $(".modifyPicHeader input").change(function(){ if (this.files && this.files[0]) { ...
{ "content_hash": "7f4c79b8fcfe0318b41ba6b3d18a3a98", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 91, "avg_line_length": 29.9375, "alnum_prop": 0.44328462073764785, "repo_name": "TPCISIIE/SportsNet", "id": "2ae300d23455d71ad4665176a62b0f3e3fa259e5", "size": "1438", "b...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.apache.datacom...
{ "content_hash": "17439d9297a94355eb039f96d7d11fd0", "timestamp": "", "source": "github", "line_count": 377, "max_line_length": 114, "avg_line_length": 41.856763925729446, "alnum_prop": 0.44131812420785804, "repo_name": "blpabhishek/prep-buddy", "id": "3dadf3a4330bbd7932d3c74a3a80141dc0537ab5", "si...
""" Extracting features from VTK input files. Authors: - Forrest Sheng Bao (forrest.bao@gmail.com) http://fsbao.net Copyright 2012, Mindboggle team (http://mindboggle.info), Apache v2.0 License For algorithmic details, please check: Forrest S. Bao, et al., Automated extraction of nested sulcus featu...
{ "content_hash": "855494fac37635476adc02d9cd7661e7", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 142, "avg_line_length": 43.34517766497462, "alnum_prop": 0.6130694460709685, "repo_name": "binarybottle/mindboggle_sidelined", "id": "8088ed76c5e1244cf1ea6c8adf169183c9eb595...
package org.ajoberstar.gradle.defaults; import java.net.URI; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.plugins.JavaPluginExtension; import org.gradle.api.publish.PublishingExtension; import org.gradle.api.publish.VariantVersionMappingStrategy; import org.gradle.api.publish.mav...
{ "content_hash": "9e440fe5d396f3131aeaba099ce98807", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 111, "avg_line_length": 40.320754716981135, "alnum_prop": 0.684370613008891, "repo_name": "ajoberstar/gradle-defaults", "id": "f290d2a1cb7c305d769d75d369ea310c92d89070", "...
import logging import os import re import subprocess import zlib from optparse import OptionParser from urllib2 import HTTPError from urllib2 import urlopen from urlparse import urlparse from xml.dom.minidom import parseString logger = logging.getLogger(__name__) class Settings(object): supported_distros = ('ce...
{ "content_hash": "dc217ca5b40a54753d5a32b046ffc0cb", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 79, "avg_line_length": 37.1125, "alnum_prop": 0.5946446615021893, "repo_name": "artem-panchenko/fuel-updates", "id": "6bbb09399af12973f203e06cfe0dab224ca66d09", "size": "6...
package org.bndtools.api; public interface IBndProject { String getProjectName(); void addResource(String fullPath, BndProjectResource bndProjectResource); }
{ "content_hash": "fa608455e506358f7cd198cac36b4eb8", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 74, "avg_line_length": 23.142857142857142, "alnum_prop": 0.8148148148148148, "repo_name": "psoreide/bnd", "id": "7e06f7e1581d3c0bdb993853cf4c4d11b9758626", "size": "162", ...
(function () { var INT_MAX = Number.MAX_VALUE; var GROUP_JSON_PATH = "group.json"; cc.LoaderLayer = cc.Layer.extend({ _backgroundSprite: null, _progressBackgroundSprite: null, _progressBarSprite: null, _logoSprite: null, _titleSprite: null, _groupname: null, _callback: null, ...
{ "content_hash": "edfebe69cd7334d780c04e0d9be6f0c1", "timestamp": "", "source": "github", "line_count": 967, "max_line_length": 284, "avg_line_length": 38.91933815925543, "alnum_prop": 0.5523847482396705, "repo_name": "babestvl/FoodClash", "id": "2d3532ba459985aff3aafb199e87270babbb93bb", "size": "...
Navigation ========== APIs: * [Authorizations](authorizations.md) * [Commits](commits.md) * [Enterprise](enterprise.md) * [Gists](gists.md) * [Issues](issues.md) * [Comments](issue/comments.md) * [Labels](issue/labels.md) * [Organization](organization.md) * [Members](organization/members.md) * [Teams](organiza...
{ "content_hash": "38db0aa7d0eebcad0953bf5aa6583610", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 56, "avg_line_length": 26.9, "alnum_prop": 0.6914498141263941, "repo_name": "mAAdhaTTah/php-github-api", "id": "176e5a2b51ddc3e6aeda389260aa8eda287295b6", "size": "807", ...
using System.Threading.Tasks; using LeagueRecorder.Abstractions.Data; namespace LeagueRecorder.Abstractions.League { public interface ISpectatorService { /// <summary> /// Downloads the spectate-file and starts the League of Legends client to spectate the specified <paramref name="match"/>. ...
{ "content_hash": "7ecb3715ad8df7c9c1138e71d15b7e17", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 131, "avg_line_length": 32.5, "alnum_prop": 0.6813186813186813, "repo_name": "haefele/LeagueRecorderOPGG", "id": "081428c8732090e59609d3efd87246d525851acc", "size": "457", ...
<?php use Cmfcmf\OpenWeatherMap; use Cmfcmf\OpenWeatherMap\Exception as OWMException; require_once __DIR__ . '/bootstrap.php'; $cli = false; $lf = '<br>'; if (php_sapi_name() === 'cli') { $lf = "\n"; $cli = true; } // Language of data (try your own language here!): $lang = 'de'; // Units (can be 'metric' o...
{ "content_hash": "67d21fd32646c4ab4c5e2fa827d9df7d", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 157, "avg_line_length": 26.321138211382113, "alnum_prop": 0.6694980694980694, "repo_name": "cmfcmf/OpenWeatherMap-PHP-Api", "id": "7193326699e658d06a382f3bbb45863c7e610193",...
package de.lemona.android.guice; import android.content.Context; import com.google.inject.Binding; import com.google.inject.Injector; import com.google.inject.Key; import com.google.inject.MembersInjector; import com.google.inject.Module; import com.google.inject.Provider; import com.google.inject.Scope; import com.g...
{ "content_hash": "70e48e6cc15b6d1c7f0bca390b3fe7ea", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 86, "avg_line_length": 28.51086956521739, "alnum_prop": 0.6136103698055662, "repo_name": "LemonadeLabInc/android-guice", "id": "54dd18b2a120cf322ca8a18556608ce944f7780f", ...
@charset "utf-8"; /* CSS Document */ .lft{float:left; display:inline;} .rgt{float:right; display:inline;} .clr{clear:both;} .brdr{border:solid 1px #000;} h1,p,h2,h3,h4,h5,h6,form,div,ul,li{margin:0px; padding:0px;} a img{border:none; float:left; font-weight:normal;} .map{padding:0px; margin:0px;} .input{ margin:0px; ...
{ "content_hash": "36c5d282473c443ef6e866da1a1462ad", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 121, "avg_line_length": 45.407407407407405, "alnum_prop": 0.7357259380097879, "repo_name": "defusiondev/whmcs-time-tracking", "id": "514dd60eff500f6eec9943e7c3808937e3f758bd"...
<html> <head lang="en"> <meta charset="UTF-8" /> <link rel="stylesheet" href="../../css/app.css"> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script> <script type...
{ "content_hash": "645979c47913aaf1e578218f31a37faf", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 103, "avg_line_length": 31.62962962962963, "alnum_prop": 0.5055620608899297, "repo_name": "ecolearnia/ecolearnia-server-php", "id": "589d989e8176d91e494ed18b87d6d9c2b43573ee...
package org.apache.tinkerpop.gremlin.process.traversal.lambda; import org.apache.tinkerpop.gremlin.process.traversal.Traverser; import org.apache.tinkerpop.gremlin.process.traversal.util.TraversalUtil; import org.apache.tinkerpop.gremlin.structure.Element; /** * @author Marko A. Rodriguez (http://markorodriguez.com...
{ "content_hash": "c8b74c6b754a9a2af78614f47404b4da", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 139, "avg_line_length": 27.125, "alnum_prop": 0.6889400921658986, "repo_name": "artem-aliev/tinkerpop", "id": "2e9b26c72f7be323c71c3aa1173f22ad3f170650", "size": "2107", ...
class CreateBadges < ActiveRecord::Migration def change create_table :badges do |t| t.belongs_to :achievement_unlock, index: true t.belongs_to :player, index: true t.float :multiplier t.integer :status t.timestamps null: false end add_foreign_key :badges, :achievements a...
{ "content_hash": "08a0ac14207969a3fc75e9e8d03bf558", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 51, "avg_line_length": 25.928571428571427, "alnum_prop": 0.6721763085399449, "repo_name": "SufficientlyAdvancedTechnologies/LeaderBored", "id": "96047df3d0de3984f231292fdd957...
package net.javacrumbs.jsonunit.test.jackson2; import net.javacrumbs.jsonunit.test.base.AbstractJsonMatchersTest; import net.javacrumbs.jsonunit.test.base.JsonTestUtils; public class GsonJsonMatchersTest extends AbstractJsonMatchersTest { protected Object readValue(String value) { return JsonTestUtils.re...
{ "content_hash": "f0e7802bc7aa6fcea267a6d62b1ca7e9", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 68, "avg_line_length": 31.363636363636363, "alnum_prop": 0.8057971014492754, "repo_name": "michalbcz/JsonUnit", "id": "18d3ad9e488cbd897ccd73de453b34fcdb2c15f3", "size": "9...
package com.mychaelstyle.commons.file; import static org.junit.Assert.*; import java.io.File; import java.net.URL; import java.util.List; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; public class CSVParserTest { @BeforeClass ...
{ "content_hash": "b1467a29d762aa3711240fc4415a7f11", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 104, "avg_line_length": 35.07692307692308, "alnum_prop": 0.41729323308270677, "repo_name": "mychaelstyle/commons", "id": "ede79fafd3e6c6578f909d9ad07ef71b2263e4a4", "size":...
AerialAssistRobotCode =====================
{ "content_hash": "88424c57494453c308e7694224143b01", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 21, "avg_line_length": 22, "alnum_prop": 0.4772727272727273, "repo_name": "Team-4153/AerialAssistRobotCode", "id": "f9069821fa0a5793d5c82fc1b17a56f5b32d1b0f", "size": "44", ...
#include "xenia/memory.h" #include <gflags/gflags.h> #include <algorithm> #include <cstring> #include "xenia/base/clock.h" #include "xenia/base/logging.h" #include "xenia/base/math.h" #include "xenia/base/threading.h" #include "xenia/cpu/mmio_handler.h" // TODO(benvanik): move xbox.h out #include "xenia/xbox.h" ...
{ "content_hash": "fdce2bb55235f324ce3a48c9181fb7bf", "timestamp": "", "source": "github", "line_count": 1142, "max_line_length": 80, "avg_line_length": 36.464098073555164, "alnum_prop": 0.6241294846549157, "repo_name": "herman-rogers/xenia", "id": "7904a61ca44a3d449a83077cbcb3679bcb54574d", "size":...
class Point < ActiveRecord::Base # Relations belongs_to :layer # Validations validates :name, :presence => true validates :longitude, :numericality => true, :inclusion => { :in => -180..180 } validates :latitude, :numericality => true, :inclusion => { :in => -90..90} include Geometry end
{ "content_hash": "ac7d828d6ff623c33736245cc36f763e", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 81, "avg_line_length": 27.90909090909091, "alnum_prop": 0.6579804560260586, "repo_name": "bamnet/flagship_geo", "id": "59f8166ffdb3777958ce44ca1bf33a4a0a3818c9", "size": "3...
cask :v1 => 'apptivate' do version :latest sha256 :no_check url 'http://www.apptivateapp.com/resources/Apptivate.app.zip' homepage 'http://www.apptivateapp.com' license :unknown # todo: improve this machine-generated value app 'Apptivate.app' end
{ "content_hash": "42071d40058c01f32b6a68eff8ef759d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 66, "avg_line_length": 26.4, "alnum_prop": 0.7196969696969697, "repo_name": "andyshinn/homebrew-cask", "id": "d8e0bc6b7dd7573b402624b17a7bf4930dc700a5", "size": "264", "b...
package com.amazonaws.services.alexaforbusiness.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.alexaforbusiness.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken...
{ "content_hash": "bf127b3dfb5864b6a5e40b657baab544", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 136, "avg_line_length": 37.521126760563384, "alnum_prop": 0.6351351351351351, "repo_name": "jentfoo/aws-sdk-java", "id": "d67eee34efdb429da48de21659524484df7f5a6c", "size":...
package com.planet_ink.coffee_mud.Abilities.Skills; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import...
{ "content_hash": "c7878a9635fb959e8d0202e8a52c4d7b", "timestamp": "", "source": "github", "line_count": 222, "max_line_length": 182, "avg_line_length": 36.7027027027027, "alnum_prop": 0.6705940108001963, "repo_name": "Tycheo/coffeemud", "id": "201a98c5f9a1544746a4f2a7e8ae313751d9e47c", "size": "875...
#region Usings using System; #endregion namespace NoSQL.GraphDB.Index.Fulltext { /// <summary> /// Fallen8 fulltext index interface. /// </summary> public interface IFulltextIndex : IIndex { /// <summary> /// Tries to query the fulltext index. /// </summary> /// <returns> /// <c>...
{ "content_hash": "fac5b959f164aa256e1d47a30621eca9", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 67, "avg_line_length": 19.766666666666666, "alnum_prop": 0.5834738617200674, "repo_name": "cosh/fallen-8", "id": "0c8e1f499420ebf311e44a765694d6067f56da0e", "size": "1836",...
<?xml version="1.0" encoding="UTF-8" ?> <XML> <Content>UPDATE</Content> <Clip> <ClipName>INGAWT0013</ClipName> <TipoContenido>INGLES</TipoContenido> <Contenido><![CDATA[ GLOBAL AFRICAN 16OCT14]]></Contenido> <Origina...
{ "content_hash": "c1e4dbc229b432b4cec2780b1d07feb4", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 103, "avg_line_length": 41.80769230769231, "alnum_prop": 0.45814167433302666, "repo_name": "valeraovalles/sait", "id": "5ee9ca36758c5999f5c182bf490af94212f3625a", "size": "...
// Provides enumeration sap.ui.model.FilterOperator sap.ui.define(function() { "use strict"; /** * Binding type definitions. * * @namespace * @public * @alias sap.ui.model.BindingMode */ var BindingMode = /** @lends sap.ui.model.BindingMode */ { /** * BindingMode default means that the binding mod...
{ "content_hash": "e54d09700c3204983911876fecf36604", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 74, "avg_line_length": 17.42222222222222, "alnum_prop": 0.6058673469387755, "repo_name": "pensoffsky/OpenUI5-AppCache", "id": "fd81162295b717165c7ab6c73c59eb457e371d53", "s...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep t...
{ "content_hash": "3607623c8e185458db28b6a89c67d7e5", "timestamp": "", "source": "github", "line_count": 116, "max_line_length": 83, "avg_line_length": 27.17241379310345, "alnum_prop": 0.4365482233502538, "repo_name": "luispipe/roap", "id": "e069751259ecb151d7beadbc1bf36330f36bb7c4", "size": "3152",...
using Newtonsoft.Json.Serialization; using System; using System.Collections.Generic; using System.Linq; using System.Net.Http.Formatting; using System.Web.Http; namespace Project1.API { public static class WebApiConfig { public static void Register(HttpConfiguration config) { // We...
{ "content_hash": "a584f80a11e8fd1b23deb323b42337ba", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 109, "avg_line_length": 30.714285714285715, "alnum_prop": 0.6430232558139535, "repo_name": "sumeet-shah-90/SDN.Project1", "id": "7f87562a3666c1424d926c9f3f7bcb07dd3025b1", ...
PEGASUS_NAMESPACE_BEGIN extern CMPIInstanceFT *CMPI_Instance_Ftab; extern CMPIInstanceFT *CMPI_InstanceOnStack_Ftab; extern CMPIObjectPathFT *CMPI_ObjectPath_Ftab; extern CMPIObjectPathFT *CMPI_ObjectPathOnStack_Ftab; extern CMPIArgsFT *CMPI_Args_Ftab; extern CMPIArgsFT *CMPI_ArgsOnStack_Ftab; extern CMPIContextFT ...
{ "content_hash": "d48e57d2434391380855a5761b549732", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 54, "avg_line_length": 31.878048780487806, "alnum_prop": 0.8408569242540168, "repo_name": "ncultra/Pegasus-2.5", "id": "fdd525d2d413acdcbce71ff81ec662c62680b9b8", "size": "...
ACCEPTED #### According to Index Fungorum #### Published in in Bon, Migliozzi & Cherubini, Docums Mycol. 19(no. 76): 74 (1989) #### Original name Nyctalis agaricoides f. agaricoides ### Remarks null
{ "content_hash": "b6c4f9db33a75ad5b2d6121a3585e03e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 66, "avg_line_length": 15.538461538461538, "alnum_prop": 0.7079207920792079, "repo_name": "mdoering/backbone", "id": "63cbc60801e8c2fcb2becd4f7b7f728077273e65", "size": "25...
<?php namespace source\modules\i18n\models; use Yii; use yii\db\ActiveRecord; /** * This is the model class for table "{{%source_message}}". * * @property integer $id * @property string $category * @property string $message * * @property Message[] $translation */ class SourceMessage extends ActiveRecord { ...
{ "content_hash": "3d16d9717471556d4cb8f0966c48eadf", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 68, "avg_line_length": 18.70175438596491, "alnum_prop": 0.5037523452157598, "repo_name": "Brandon-Xu/LemonCMS", "id": "1352b5f5955a53effddb9cc2a2187b78c7cc05bd", "size": "1...
import './mentor-home-page.html'; import './mentor-mentorspace-page.html'; import './mentor-mentorspace-page.js'; import './mentor-mentorspace-page.css';
{ "content_hash": "818a126c62c9d02b6ff0e17bbf5b64ef", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 40, "avg_line_length": 38.5, "alnum_prop": 0.7402597402597403, "repo_name": "radgrad/radgrad", "id": "59de0e55559a683967ef53ddbcbe93b69775a4cd", "size": "154", "binary": f...
<div class="sidebar"> <div class="container sidebar-sticky"> <img id="avatar" src="{{ site.baseurl }}img/avatar.png" alt="Me" width="200px"> <div class="sidebar-about"> <h1> <a href="{{ site.baseurl }}"> {{ site.title }} </a> </h1> <p class="lead">{{ site.descript...
{ "content_hash": "7ca8ac9041c7d6eac82a478eefaa39f4", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 129, "avg_line_length": 35.945945945945944, "alnum_prop": 0.5353383458646617, "repo_name": "yarbroughw/yarbroughw.github.io", "id": "ec7808a77a37910e89a4af55578333afd14913c3"...
<?xml version="1.0" encoding="ISO-8859-1"?> <project name="Sample" default="run" basedir="."> <property file="../build.properties"/> <description>Sample build file</description> <property name="dist.dir" location="../../../dist"/> <property name="bin.dir" location="../bin"/> <property name="...
{ "content_hash": "51461258a24e1a36a28611ecbf9c1f86", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 75, "avg_line_length": 27.129032258064516, "alnum_prop": 0.5957193816884662, "repo_name": "tolo/JServer", "id": "500de2c92e4ff5cdab2ec7c5736040be4db0c064", "size": "841", ...
/** * ContentMetadataKeyHierarchyServiceSoapBindingStub.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter. */ package com.google.api.ads.dfp.axis.v201602; public class ContentMetadataKeyHierarchyServiceSoapBindingStub extends org.apache.axis.cl...
{ "content_hash": "a8092934fbb408a9f33523f01c80ba35", "timestamp": "", "source": "github", "line_count": 807, "max_line_length": 441, "avg_line_length": 57.0272614622057, "alnum_prop": 0.6596336455096586, "repo_name": "gawkermedia/googleads-java-lib", "id": "1e249ecf059b96de22b62305a42d0eb4cd9af932", ...
Finite State Building Blocks is a C++ library for quickly building finite-state machines, geared toward game development. ## States and Finite-state Machines The [State pattern](http://gameprogrammingpatterns.com/state.html) is useful for defining state-dependent behaviour of a program. It can be use in many places, ...
{ "content_hash": "ef9f7b1ff65b481b8ef22703dc571f14", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 418, "avg_line_length": 58.08641975308642, "alnum_prop": 0.7583421891604676, "repo_name": "MaxSavenkov/fsbb", "id": "b9d2f717d852fe75c0421f7cad415b32f8beb2e7", "size": "473...
package org.apache.tez.runtime.library.common.sort.impl.dflt; import java.io.DataOutputStream; import java.io.IOException; import java.io.OutputStream; import java.nio.ByteBuffer; import java.nio.ByteOrder; import java.nio.IntBuffer; import java.util.ArrayList; import java.util.List; import java.util.concurrent.lock...
{ "content_hash": "021ce2d6197240a3cecd2a1126aec3f9", "timestamp": "", "source": "github", "line_count": 1313, "max_line_length": 115, "avg_line_length": 37.56054836252856, "alnum_prop": 0.6161567005292292, "repo_name": "Parth-Brahmbhatt/tez", "id": "edc02f32b1ad16af3f82a7c426f6d3de27dd5908", "size"...
/** * @depends {nrs.js} */ var NRS = (function(NRS, $, undefined) { NRS.automaticallyCheckRecipient = function() { var $recipientFields = $("#send_money_recipient, #transfer_asset_recipient, #transfer_currency_recipient, #send_message_recipient, #add_contact_account_id, #update_contact_account_id, #lease_balance...
{ "content_hash": "0636af418dcd0ba5a388084c236850ac", "timestamp": "", "source": "github", "line_count": 380, "max_line_length": 263, "avg_line_length": 35.492105263157896, "alnum_prop": 0.6147401201156669, "repo_name": "jonesnxt/Jay-NRS", "id": "42cf5b556ab77da668cb65e22168326b67bc92a8", "size": "1...
package sun.io; import sun.nio.cs.ext.IBM863; /** * Tables and data to convert Unicode to Cp863 * * @author ConverterGenerator tool */ public class CharToByteCp863 extends CharToByteSingleByte { private final static IBM863 nioCoder = new IBM863(); public String getCharacterEncoding() { retur...
{ "content_hash": "3ab55096ece1708834b22ba9db0d7f36", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 59, "avg_line_length": 20.214285714285715, "alnum_prop": 0.6537102473498233, "repo_name": "rokn/Count_Words_2015", "id": "1786e8c9217b0dadc42ef41476619ddfc3664759", "size":...
title: SharePoint-online-plan-1 inshort: Udefinert translator: Microsoft Cognitive Services ---
{ "content_hash": "7e57c1bf27bc0d7aad059c82b59a6929", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 40, "avg_line_length": 14.142857142857142, "alnum_prop": 0.7878787878787878, "repo_name": "Hexatown/docs", "id": "c03f916a818a98e6e0f81131f813fc8d58627640", "size": "103", ...
**view** Description: create a list view Multiple: Add Example builder.view 'test' do job 'test-.*' end
{ "content_hash": "6d9cb54d35ee9b2d8b6a4603699d585f", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 31, "avg_line_length": 11.090909090909092, "alnum_prop": 0.6147540983606558, "repo_name": "wongatech/rubyjobbuilderdsl", "id": "a1b75c7136220b01b9eb7f923407f87e3959e7b0", "...
using System; using System.Collections.Generic; using Newtonsoft.Json.Linq; using Mozu.Api.Contracts.CommerceRuntime.Discounts; using Mozu.Api.Contracts.Core; namespace Mozu.Api.Contracts.CommerceRuntime.Checkouts { /// /// Mozu.CommerceRuntime.Contracts.Checkouts.CheckoutGrouping ApiType DOCUMENT_HERE /// p...
{ "content_hash": "617b0e951b5a33bf4bbabc029ae1b26e", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 921, "avg_line_length": 40.374149659863946, "alnum_prop": 0.7080033698399326, "repo_name": "Mozu/mozu-dotnet", "id": "0d7d6d5143c3025fdf83bf510a7d5eb85fe469f3", "size": "6...
class Persist : public QObject { Q_OBJECT public: Persist(); virtual ~Persist(); // Singleton static Persist *instance(); // Repository access ShareRepository share; private: Persist(Persist const&); // hide copy constructor void operator=(Persist const&); // hide assign op...
{ "content_hash": "0c3040283a1cf45bf0038c2561193ec1", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 60, "avg_line_length": 17.541666666666668, "alnum_prop": 0.6270783847980997, "repo_name": "jfacchini/Arbore-qt", "id": "bf1c63829f053a7175229ce87a518c7ecd62a5bd", "size": "...
package com.google.inject; import com.google.inject.internal.Annotations; import com.google.inject.internal.Errors; import static com.google.inject.internal.Preconditions.checkNotNull; import com.google.inject.spi.ScopeBinding; import java.lang.annotation.Annotation; /** * Handles {@link Binder#bindScope} commands...
{ "content_hash": "cca0aad605cad89c55290e66e6fa30e3", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 94, "avg_line_length": 31.02127659574468, "alnum_prop": 0.7325102880658436, "repo_name": "jstrachan/guicey", "id": "79bce81971b2e67aa898e04545127228caea0e54", "size": "2053...
// .NAME vtkImageWrapPad - Makes an image larger by wrapping existing data. // .SECTION Description // vtkImageWrapPad performs a modulo operation on the output pixel index // to determine the source input index. The new image extent of the // output has to be specified. Input has to be the same scalar type as // ou...
{ "content_hash": "6f9afd4af4f458b1ac67c79b500d252a", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 75, "avg_line_length": 29.31111111111111, "alnum_prop": 0.7119029567854435, "repo_name": "keithroe/vtkoptix", "id": "fc4fadbbbff54bfa3faf7a9572dda97d774e67af", "size": "190...
class SquareGraphNode : public Node { public: SquareGraphNode() { theType = GeomSquareType; } }; #endif // SQUAREGRAPHNODE_H
{ "content_hash": "e1d28a55280a690240ab3c51dd05e764", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 35, "avg_line_length": 14.6, "alnum_prop": 0.636986301369863, "repo_name": "amrith92/concerto", "id": "327c64fd448561866ca5fe6a5c417d52869f06c5", "size": "221", "binary":...
describe('languageModule without lang in local storage', function() { var $mod_lang; var supportedLangs = ['en', 'ru']; beforeEach(function() { localStorage.removeItem('lang'); module('languageModule'); inject(function($injector) { $mod_lang = $injector.get('$mod_lang');...
{ "content_hash": "ea7eead6c9f522457d7a141d9bf664b3", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 79, "avg_line_length": 28.912280701754387, "alnum_prop": 0.5837378640776699, "repo_name": "vadim-shb/blanky", "id": "a835c25caec9d54625d971dee8eac370985b3c1a", "size": "164...
import subprocess fh = open("/etc/hosts", "r") out_fh = open("/etc/new_hosts", "w") line = fh.readline() tokens = line.strip("\n").split() skip = False for token in tokens: if token == "control": skip = True break if not skip: line = line.strip("\n") line = "%s control\n" % line out_fh....
{ "content_hash": "f40ded1659d074e78abe0e5fc5b706b3", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 55, "avg_line_length": 19.076923076923077, "alnum_prop": 0.5967741935483871, "repo_name": "ISIEdgeLab/exp_scripts", "id": "9db680a41ee14c421ef6ec5dcbefb9dd35023104", "size"...
package com.spring.core.event.salesuser; import com.spring.core.event.CreateEvent; /** * @author vahid hosseinzadeh * @version 1.0 * @since 1.0 */ public class CreateSalesUserEvent extends CreateEvent { private SalesUserDetails salesUserDetails; public CreateSalesUserEvent(SalesUserDetails salesUserDeta...
{ "content_hash": "439ea6505f551cfa307f516e6c858233", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 68, "avg_line_length": 22.714285714285715, "alnum_prop": 0.740041928721174, "repo_name": "garlos/ORFO", "id": "1830fc969cc68ab59bd8560426d920e9ad241951", "size": "477", "...
<?xml version="1.0" encoding="UTF-8"?> <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** *** EDIT ../build.xml INSTEAD *** For the purpose of easier reading the script is divided into following sections: - initialization - compilation - jar - execution - debugging - javadoc - test c...
{ "content_hash": "fc75fd07e59f78331b5e094a414a07bb", "timestamp": "", "source": "github", "line_count": 1473, "max_line_length": 529, "avg_line_length": 55.93618465716225, "alnum_prop": 0.5730999830084715, "repo_name": "jimmyberny/decomisims-dev", "id": "ea042aa35039c5899249ecdac6ab325a5efb4fb7", "...
<?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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.googlecode...
{ "content_hash": "2adf9baaed11e8f958eba8c12a5db982", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 98, "avg_line_length": 31.423076923076923, "alnum_prop": 0.5914932680538556, "repo_name": "fredsa/playn-samples", "id": "81fc1f99e55fd8aa08d78b0d7cd90aee9bcb1bd8", "size":...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="bg" version="2.1"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About ArtBoomerang</source> <translation type="unfinished"/> </message> <message> <location l...
{ "content_hash": "bb54ba833badfe12da57d17cba5ca586", "timestamp": "", "source": "github", "line_count": 3284, "max_line_length": 395, "avg_line_length": 34.28197320341047, "alnum_prop": 0.5982306230125597, "repo_name": "artboomerangwin/artboomerang", "id": "7f6d18b8d6d9bf30bc5bb54ce9189a8b98aa6336", ...
package com.nhekfqn.seed.jerseyangular.protocol.login; import com.nhekfqn.seed.jerseyangular.protocol.base.Request; public class UsernameLoginRequest extends Request { private String username; private String password; public String getUsername() { return username; } public void setUsern...
{ "content_hash": "5f48df85419076c8872ac99e26245160", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 60, "avg_line_length": 20.76923076923077, "alnum_prop": 0.6851851851851852, "repo_name": "nhekfqn/jersey-guice-jetty-angular-seed", "id": "5ec6194896e6a58791f488a933fd68ed87c...
@interface DiscoveryManager() <DiscoveryProviderDelegate, ServiceConfigDelegate> @end @implementation DiscoveryManager { NSMutableDictionary *_allDevices; NSMutableDictionary *_compatibleDevices; NSArray *_discoveryProviders; NSDictionary *_deviceClasses; BOOL _shouldResumeSearch; BOOL _...
{ "content_hash": "5518449229efe9a87be54d4bc1aea662", "timestamp": "", "source": "github", "line_count": 718, "max_line_length": 164, "avg_line_length": 29.823119777158773, "alnum_prop": 0.6719749684770934, "repo_name": "screencloud/Connect-SDK-iOS", "id": "28ec476fe8ebca271e52f80b08ece0a0023ed4c6", ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "be76c8dd729df528411daad1d0472915", "timestamp": "", "source": "github", "line_count": 241, "max_line_length": 297, "avg_line_length": 46.531120331950206, "alnum_prop": 0.6669341894060995, "repo_name": "arcosuc3m/grppi", "id": "4e9aec9bc547c73f9897f2771e2d0ad63e83c400", "size": "11...
#ifndef CPPDEVTK_QTSOLUTIONS_QTCOPYDIALOG_QTOVERWRITEDIALOG_H_INCLUDED_ #define CPPDEVTK_QTSOLUTIONS_QTCOPYDIALOG_QTOVERWRITEDIALOG_H_INCLUDED_ #include <cppdevtk/QtSolutions/QtCopyDialog/config.hpp> #include "ui_qtoverwritedialog.h" #include <QtCore/QtGlobal> #include <QtCore/QString> #if (QT_VERSI...
{ "content_hash": "5756bec9e60182a4c4306d530b44edb3", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 84, "avg_line_length": 22.145454545454545, "alnum_prop": 0.6584564860426929, "repo_name": "CoSoSys/cppdevtk", "id": "dd0dc6ec1f2a850d30ff3a45406d31080d3786ad", "size": "350...
/** * TODO: Add unicode support! * TODO: Change char** to string* */ #include "TextObject.h" #include <ncurses.h> //#include <stdlib.h> #include <iostream> #include <string> using std::cout; using std::endl; using std::string; //using namespace std; // Constructor. TextObject::TextObject() { alpha = ' '; w = h...
{ "content_hash": "11f1c6276a8dcd5a39f422108a6a3324", "timestamp": "", "source": "github", "line_count": 351, "max_line_length": 78, "avg_line_length": 22.14814814814815, "alnum_prop": 0.5919732441471572, "repo_name": "GeekWithALife/TextEngine", "id": "8b7bfe1335d2fe04727f381fcb3ad8906b226082", "siz...
import { NullModel, ControlBaseOptions, DynamicFormControlComponentBase, DynamicFormControlComponent, } from '@angular-dynaform/core'; import { Component } from '@angular/core'; @Component({ selector: 'adf-material-button-component', template: ` <div [formGroup]="model.ngGroup" [hidden]="model.hidden">...
{ "content_hash": "32214a8f3339def36b3a6f988eb582ab", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 98, "avg_line_length": 28.555555555555557, "alnum_prop": 0.6505836575875487, "repo_name": "gms1/angular-dynaform", "id": "f3d6685ffa6be7a2ec210107650ab9a29159ba4c", "size":...
from sklearn import datasets from sklearn.feature_extraction.text import CountVectorizer from sklearn import naive_bayes from sklearn import metrics from matplotlib import pyplot from matplotlib import gridspec import numpy def load_stop_words(filename): with open(filename, 'rt') as stopWordsFile: stopWord...
{ "content_hash": "76f61e2772b065ae8ae77bebb847c9bf", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 138, "avg_line_length": 34.62, "alnum_prop": 0.6932409012131716, "repo_name": "MengwenHe-CMU/17S_10701_MachineLearning", "id": "88ea6ad20c8aeacd30d447d2f96c3820929bc169", "...
<?php include_once '../include/config.php'; function copy_photo($filename, $new_filename) { $s3 = new AmazonS3(); $response_photo = $s3->copy_object( array( 'bucket' => 'divvycam', 'filename' => $filename . '.jpg' ), array( 'bucket' => 'divvycam', 'filename' => $new_filename . '.jpg' ), arra...
{ "content_hash": "7f53192cfd7eb77e5844853c1737ba37", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 88, "avg_line_length": 20.074074074074073, "alnum_prop": 0.5793357933579336, "repo_name": "sjlu/divvycam", "id": "35ae513fb5534e9d84315172acacde03aa742c2c", "size": "1626",...