text
stringlengths
2
1.04M
meta
dict
<?php namespace App\Http\Controllers\Auth; use App\User; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Validator; use Illuminate\Foundation\Auth\RegistersUsers; class RegisterController extends Controller { /* |-------------------------------------------------------------------------- ...
{ "content_hash": "42ca8bab5485f706eb413fc09c8f8e28", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 79, "avg_line_length": 25.3943661971831, "alnum_prop": 0.5391014975041597, "repo_name": "zixdev/zix-api.zixdev.com", "id": "96000a28f08055f9ecf74252d12bf861097ed6c8", "size...
var browserify = require('browserify'); var fs = require('fs'); var glob = require('glob'); var watchify = require('watchify'); glob('test/**/*.test.js', function(err, files) { var b = browserify(files, { cache: {}, packageCache: {}, plugin: [watchify] }) .transform('babelify') .transform('browseri...
{ "content_hash": "6a658b330ea21cfc49345b04157ca8e5", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 88, "avg_line_length": 22.88, "alnum_prop": 0.6136363636363636, "repo_name": "ChrisMichaelPerezSantiago/CodetrotterFinalProject", "id": "9e99ce8f864ed163391a2a675acb40b710a8f...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/views/focus/focus_manager.h" #include <utility> #include <vector> #include "base/command_line.h" #include "base/strings/utf_string_conv...
{ "content_hash": "3cc62a896b30aa033856b7bd90ed561d", "timestamp": "", "source": "github", "line_count": 934, "max_line_length": 148, "avg_line_length": 36.70877944325482, "alnum_prop": 0.7187773435221373, "repo_name": "mou4e/zirconium", "id": "007d9fc88ebd6805937eb2f777ff805a62b0f8a5", "size": "342...
namespace gin { namespace { gin::WrapperInfo g_array_buffer_wrapper_info = {gin::kEmbedderNativeGin}; } // namespace static_assert(V8_ARRAY_BUFFER_INTERNAL_FIELD_COUNT == 2, "array buffers must have two internal fields"); // ArrayBufferAllocator ------------------------------------------------------...
{ "content_hash": "d5008bf67ea9f95f711101a268574405", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 79, "avg_line_length": 33.644329896907216, "alnum_prop": 0.6456258618048107, "repo_name": "google-ar/WebARonARCore", "id": "d40e8981bd4598a67ce9f8a4e81da041d0f1d8f1", "siz...
ACCEPTED #### According to Index Fungorum #### Published in in Shvartsman et al. , Flora Sporovykh Rastenii Kazakhstana [Cryptogamic Flora of Kazakhstan], 8, Fungi Imperfecti (Deuteromycetes), 1. Moniliales (Alma-Ata) (Alma-Ata) 421 (1973) #### Original name Ramularia dracocephali Vasyag. ### Remarks null
{ "content_hash": "069d19f4168e0d58112fdf41606b1933", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 179, "avg_line_length": 23.846153846153847, "alnum_prop": 0.7483870967741936, "repo_name": "mdoering/backbone", "id": "6c30e50fa066cf99fc0df7cf088417f94acd5d4f", "size": "3...
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2018 The original authors. 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/license...
{ "content_hash": "fef4a547fb44abf649f180cdd74f4521", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 204, "avg_line_length": 37.348837209302324, "alnum_prop": 0.6494396014943961, "repo_name": "sundrio/sundrio", "id": "c14066871f9ccc88c5abb362d94b693bce5a82f1", "size": "160...
class RealestateByZipcode::Property attr_accessor :price, :location, :url, :description, :beds, :baths, :year_built, :contact_info, :last_transaction, :last_transaction_pu...
{ "content_hash": "ab7ca51bcc24cf833510bc05e0621aae", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 133, "avg_line_length": 24, "alnum_prop": 0.6016819571865444, "repo_name": "mo6709/realestate_by_zipcode", "id": "db295bae7748349163667cc32774e1bbbee1bc81", "size": "2616"...
if [ $# -lt 2 ]; then echo "usage: gen_xcframework.sh <output-directory> library [library ...]" exit 1 fi readonly FRAMEWORK_DIR=$1 shift # xcodebuild won't override any existing framework files. rm -rf ${FRAMEWORK_DIR}/* CMD="xcodebuild -create-xcframework -output "${FRAMEWORK_DIR} while test ${#} -gt 0 do C...
{ "content_hash": "18bb32a61eee2eedbd8d5c5a86376a40", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 75, "avg_line_length": 18.85, "alnum_prop": 0.6843501326259946, "repo_name": "mirego/j2objc", "id": "0d8ac4eade7b93dd8e18e06ab7932df877b368af", "size": "1221", "binary": ...
package org.cohorte.herald; /** * No transport has been found to contact the targeted peer * * @author Thomas Calmant */ public class NoTransport extends HeraldException { /** Serialization version UID */ private static final long serialVersionUID = 1L; /** * Sets up the exception * ...
{ "content_hash": "5fcea6a69b332e8d7e599c9f10484ab4", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 66, "avg_line_length": 19.678571428571427, "alnum_prop": 0.6134301270417423, "repo_name": "librallu/cohorte-herald", "id": "e0aa861d7237d04eb99b890462adbb09c60b7c9c", "size...
Customizing Validation ====================== The default validation group for all resources is ``sylius``, but you can configure your own validation. How to customize validation? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Let's take the example of changing the length of ``name`` for the ``Product`` entity - watch out the field `...
{ "content_hash": "ef4f7e8aaa68c5f5067357ffa8fc6763", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 160, "avg_line_length": 40.44230769230769, "alnum_prop": 0.6633380884450785, "repo_name": "bitbager/Sylius", "id": "5c3901d99191580587d239a2e28ec436275c3451", "size": "2103...
title: The Libertine playwright: Thomas Shadwell season: Postgrads season_sort: 272 period: Spring venue: New Theatre assets: - type: video video: 8V4HTSp title: Portrait Scene - type: video video: mzRphFh title: Rehearsal Scene ---
{ "content_hash": "0c2cdb2d447b3f1c6041737ec1eea4c8", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 27, "avg_line_length": 16.933333333333334, "alnum_prop": 0.7125984251968503, "repo_name": "johnathan99j/history-project", "id": "e3516807724e5121679a5de88cd5dd8c4cca82a8", ...
from matplotlib.pylab import * import numpy as np from pymc import * from pymc.distributions.timeseries import * from scipy.sparse import csc_matrix from scipy import optimize # <markdowncell> # Asset prices have time-varying volatility (variance of day over day `returns`). In some periods, returns are highly variab...
{ "content_hash": "c3ab9169835faf13c9e2094f33c091a9", "timestamp": "", "source": "github", "line_count": 144, "max_line_length": 456, "avg_line_length": 31.819444444444443, "alnum_prop": 0.6874727193365343, "repo_name": "kyleam/pymc3", "id": "676ec3011025b0ce7c48442701e84fbb995fff9b", "size": "4648"...
{-# LANGUAGE MultiParamTypeClasses, FlexibleContexts, FlexibleInstances #-} module MonadGame where import Control.Monad.Fix (MonadFix) import Control.Monad.IO.Class (MonadIO) import Reflex class (MonadIO m, PerformEvent t m, TriggerEvent t m, MonadIO (Performable m), PostBuild t m, MonadHold t m, MonadFix m, MonadAdj...
{ "content_hash": "706f8d250c8d156787350b9382c9ce89", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 154, "avg_line_length": 38.476190476190474, "alnum_prop": 0.6646039603960396, "repo_name": "Emmatipate/ava", "id": "28c1682025177a90c06df83e5ad7bb39ab526a66", "size": "808"...
package com.farmafene.cas.integration.wss; import org.apache.wss4j.common.ext.WSSecurityException; import org.apache.wss4j.dom.handler.RequestData; import org.apache.wss4j.dom.message.token.UsernameToken; import org.apache.wss4j.dom.validate.Credential; import org.apache.wss4j.dom.validate.Validator; import o...
{ "content_hash": "f5bfd8003de55b151eb69b4da21e9ebb", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 99, "avg_line_length": 29.675977653631286, "alnum_prop": 0.713855421686747, "repo_name": "venanciolm/cas-server", "id": "1f791800eddf7b902230df03cc50abc215d30e70", "size":...
package commands import ( "fmt" "io" cmdenv "github.com/ipfs/go-ipfs/core/commands/cmdenv" e "github.com/ipfs/go-ipfs/core/commands/e" humanize "github.com/dustin/go-humanize" bitswap "github.com/ipfs/go-bitswap" decision "github.com/ipfs/go-bitswap/decision" cidutil "github.com/ipfs/go-cidutil" cmdkit "git...
{ "content_hash": "502a2a18002a8552a09e6209e33a49c1", "timestamp": "", "source": "github", "line_count": 232, "max_line_length": 102, "avg_line_length": 24.995689655172413, "alnum_prop": 0.6661493360924298, "repo_name": "Luzifer/go-ipfs", "id": "b3e2644570f81cf3485d49f891c536b395d7c1c5", "size": "57...
var VActionRoot; VActionRoot = (function() { VActionRoot.actionsEls = []; VActionRoot.actions = []; VActionRoot.document; function VActionRoot(document) { var action, actionAttr, actionInstance, _i, _len, _ref; this.document = document; var self = this; this.actions = []; this.actionsEls...
{ "content_hash": "70abf34717ea58673da2e482f8f7fedb", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 77, "avg_line_length": 27.048780487804876, "alnum_prop": 0.6014427412082958, "repo_name": "VictorBjelkholm/LightYearJS", "id": "53a180c79156f4b2d4712f3f3aea2e5ced5be613", "...
// Copyright 2018 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
{ "content_hash": "a3e1a5051adba5453280a78380fe2d35", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 78, "avg_line_length": 32.666666666666664, "alnum_prop": 0.7135007849293563, "repo_name": "google/play-instant-unity-plugin", "id": "4bd7ef090aab901ed8bbd0f52b1e0d5c7d1fc430"...
.datePickerContainer { width:164px; /* needed for proper user styling */ } .calendarContainer { /* border:1px solid #566f8f;*/ } .calendarBodyContainer { width:100%; /* needed for the explode effect (explain?) */ background: #7591bc url("images/dpBg.gif") top left repeat-x; } .calendarBodyContainer thead tr td { ...
{ "content_hash": "dab9a3d245ce2c84c6b7770528d35e09", "timestamp": "", "source": "github", "line_count": 167, "max_line_length": 75, "avg_line_length": 17.38323353293413, "alnum_prop": 0.7251119531519118, "repo_name": "gsnedders/presto-testo", "id": "a15b1b6630b417897fcbc6f58355a466b46423d2", "size"...
package com.facebook.buck.parser; import com.facebook.buck.counters.Counter; import com.facebook.buck.event.BuckEvent; import com.facebook.buck.event.BuckEventBus; import com.facebook.buck.event.PerfEventId; import com.facebook.buck.event.SimplePerfEvent; import com.facebook.buck.event.listener.BroadcastEventListene...
{ "content_hash": "b3704b1885b13697b1bd7d757fc1aeed", "timestamp": "", "source": "github", "line_count": 681, "max_line_length": 100, "avg_line_length": 38.348017621145374, "alnum_prop": 0.6773501818878039, "repo_name": "OkBuilds/buck", "id": "a6254adfaa514033b0946515220ce808536eb0a1", "size": "2672...
namespace base { class SequencedWorkerPool; } namespace sessions { // The BaseSessionServiceDelegate decouples the BaseSessionService from // chrome/content dependencies. class BaseSessionServiceDelegate { public: BaseSessionServiceDelegate() {} // Get the sequenced worker pool for running tasks on the backend ...
{ "content_hash": "61180ab65499172e068d3ee64c2a7234", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 79, "avg_line_length": 28.424242424242426, "alnum_prop": 0.753731343283582, "repo_name": "google-ar/WebARonARCore", "id": "8a226878655d27a5671170c93e1bcc3c13585e2e", "size"...
var exfiltrated; class Cl { constructor() { if (exfiltrated === undefined) { exfiltrated = babelHelpers.classStaticPrivateMethodGet(Cl, Cl, _privateStaticMethod); } } } var _privateStaticMethod = function _privateStaticMethod() { return 1017; };
{ "content_hash": "0ec5fdfa1812dd0bd8584455be79e4e9", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 91, "avg_line_length": 19.214285714285715, "alnum_prop": 0.6914498141263941, "repo_name": "kaicataldo/babel", "id": "6edcd3d51afc879204c9d16c02a931ba630359f9", "size": "269...
import scala.annotation.switch object Test extends App { def noSwitch(ch: Char, eof: Boolean) = (ch: @unchecked) match { case 'a' if eof => println("a with oef") // then branch } def onlyThen(ch: Char, eof: Boolean) = ch match { case 'a' if eof => println("a with oef") // then branch case 'c' => }...
{ "content_hash": "7b4ae2853392b8faf0bf71f28634cb2a", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 106, "avg_line_length": 33.38181818181818, "alnum_prop": 0.5882352941176471, "repo_name": "scala/scala", "id": "296651f439de8bd774d9f78adcf799221c83fc68", "size": "1867", ...
package com.hdcookbook.grinxlet; import com.hdcookbook.grin.GrinXHelper; import com.hdcookbook.grin.Show; import com.hdcookbook.grin.test.bigjdk.GenericMain; // that's GrinView import com.hdcookbook.grin.animator.AnimationClient; import com.hdcookbook.grin.animator.AnimationEngine; import com.hdcookbook.grin.com...
{ "content_hash": "d0fe379629a235b3bead9938bbf78108", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 82, "avg_line_length": 33.204918032786885, "alnum_prop": 0.6219451987163663, "repo_name": "oliverlietz/bd-j", "id": "b7632b0066097272a8ba7db902f5b512b5956259", "size": "11...
#ifndef _ASM_X86_ATOMIC_H #define _ASM_X86_ATOMIC_H #include <linux/compiler.h> #include <linux/types.h> #include <asm/processor.h> #include <asm/alternative.h> #include <asm/cmpxchg.h> /* * Atomic operations that C can't guarantee us. Useful for * resource counting etc.. */ #define ATOMIC_INIT(i) { (i) } /** ...
{ "content_hash": "4d04c040f05c05526595ab95432614fc", "timestamp": "", "source": "github", "line_count": 321, "max_line_length": 71, "avg_line_length": 22.152647975077883, "alnum_prop": 0.6239628744199128, "repo_name": "sahdman/rpi_android_kernel", "id": "10572e309ab236c48e7ae316eb74bd88fc2af475", "...
FROM node:14-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR /app COPY package.json yarn.lock ./ RUN yarn install --frozen-lockfile # Rebuild the source code...
{ "content_hash": "d0469e41e38d573cb257cf56123e95e4", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 150, "avg_line_length": 31.375, "alnum_prop": 0.7665338645418327, "repo_name": "flybayer/next.js", "id": "9e7933393292a6d7188461e8fb1d0b2028b53589", "size": "1295", "bina...
#ifndef Gyrometer_h #define Gyrometer_h #include "Sensor.h" #include "ShieldEvent.h" #include <ArduinoJson.h> #include "Arduino.h" class Gyrometer : public Sensor { public: double X; double Y; double Z; Gyrometer(const VirtualShield &shield); void onJsonReceived(JsonObject& root, ShieldEvent* shieldEvent) o...
{ "content_hash": "77ed4ca77fdc445519489e5b27569920", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 74, "avg_line_length": 14.73913043478261, "alnum_prop": 0.7433628318584071, "repo_name": "ashumeow/virtual-shields-arduino", "id": "2e241e832c520a393c8f1c4a74350f4dc4e5eb31",...
package org.jboss.resteasy.test.asynch.resource; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.container.AsyncResponse; import javax.ws.rs.container.Suspended; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import org.jboss.logging.Logger; impo...
{ "content_hash": "be5ae659b3ede4adfe90813b9772bdcb", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 93, "avg_line_length": 31.8125, "alnum_prop": 0.5672888015717092, "repo_name": "awhitford/Resteasy", "id": "a5ffaed60668205002e37426c940a168e97b703c", "size": "2036", "bi...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>ssl::context::no_sslv3</title> <link rel="stylesheet" href="../../../boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.75.2"> <link rel="home" href="../../../index.html" title="Asio"> <li...
{ "content_hash": "6a1e19b1420331a7836748e774233922", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 337, "avg_line_length": 61.7906976744186, "alnum_prop": 0.630410237109522, "repo_name": "jeanleflambeur/silkopter", "id": "ce7ac05a872fbdb90656ab4657813c793a9e4bff", "size"...
<?php App::uses('Component', 'Controller'); class ResourcesComponent extends Component { function uploadFiles($folder, $formdata, $itemId = null, array $permitted) { // setup dir names absolute and relative $folder_url = WWW_ROOT.$folder; $rel_url = $folder; // create the folder if it does not exist...
{ "content_hash": "779d59fbbe6dc4cdd5904fb698fb5d52", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 100, "avg_line_length": 34.670212765957444, "alnum_prop": 0.4961644676281068, "repo_name": "noibilism/zeo_portal", "id": "db4b0222bea51536693b3320c18fea72fa24fff1", "size":...
<?php Wind::import('COM:utility.WindUtility'); class PwTaskIconUpload extends PwUploadAction { private $width; private $height; private $filename; private $dir = 'task/'; /** * 构造方法. * * @param int $width * @param int $height */ public function __construct($width, $...
{ "content_hash": "a497d2bb1d6425e03d0298d12ddc930e", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 86, "avg_line_length": 19.712962962962962, "alnum_prop": 0.5270079849694692, "repo_name": "beautifultable/phpwind", "id": "28587ed8e16fc81209d8457598f9c2839678e201", "size...
<?php class SuiPaymentIntervalsController extends SuiAppController { var $name = 'SuiPaymentIntervals'; var $uses = 'Sui.SuiPaymentInterval'; function toggle_activation() { $this->SuiPaymentInterval->contain(); $payment_interval = $this->SuiPaymentInterval->findById($this->data['SuiPaymentInterval']['id'])...
{ "content_hash": "d428c12e1ecb58f078d4a9fea7ecd65c", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 119, "avg_line_length": 25.910714285714285, "alnum_prop": 0.638869745003446, "repo_name": "museudecienciasunicamp/sui", "id": "d164b7a137617f4554fa035e813bb5317a63543b", "s...
namespace OmniXaml.Wpf { using System; using System.Collections.Generic; using System.Windows.Markup; using Builder; using TypeConversion; using Typing; using System.Reflection; internal class WpfTypeFeatureProvider : ITypeFeatureProvider { private readonly ITypeFeatureProvid...
{ "content_hash": "be67c49b044621e7abaf0f9237923f49", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 93, "avg_line_length": 28.170731707317074, "alnum_prop": 0.6528138528138528, "repo_name": "Perspex/OmniXAML", "id": "0d7cf66b4054a25de71faf3484a3a9725a7180a1", "size": "115...
title: Reflect isExtensible localeTitle: انعكاس قابل للتوسع --- ## انعكاس قابل للتوسع هذا هو كعب. [ساعد مجتمعنا على توسيعه](https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/reflect/reflect-isextensible/index.md) . [سيساعدك دليل النمط السريع هذا على ضمان قبول طلب السحب](https://...
{ "content_hash": "2bf5b51bc8ca5ec26b6e0cc92f7c5e33", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 167, "avg_line_length": 39.5, "alnum_prop": 0.779746835443038, "repo_name": "otavioarc/freeCodeCamp", "id": "e45568f759d53d2089e349219adc2087762f8808", "size": "514", "bi...
// VPA collects CPU and memory usage measurements from all containers running in // the cluster and aggregates them in memory in structures called // AggregateContainerState. // During aggregation the usage samples are grouped together by the key called // AggregateStateKey and stored in structures such as histograms...
{ "content_hash": "d45fbab096d7e22aea0acad7860e3007", "timestamp": "", "source": "github", "line_count": 343, "max_line_length": 125, "avg_line_length": 42.59475218658892, "alnum_prop": 0.8036276522929501, "repo_name": "mmerrill3/autoscaler", "id": "3facbe37ea90df87d516c4b755a4fe6557ac07e4", "size":...
package org.jetbrains.idea.svn.branchConfig; import com.intellij.openapi.actionSystem.DataContext; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.progress.ProgressManager; import com.intellij.openapi.project.Project; import com.intellij.openapi.ui.Messages; import com.intellij.open...
{ "content_hash": "2760fe50f89b08da52daf0cae796e38b", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 140, "avg_line_length": 37.00684931506849, "alnum_prop": 0.7020173977419952, "repo_name": "leafclick/intellij-community", "id": "ffa0f7d72187fc4738dbf7428934cbf7d2aa0b53", ...
// This file is part of Indico. // Copyright (C) 2002 - 2022 CERN // // Indico is free software; you can redistribute it and/or // modify it under the terms of the MIT License; see the // LICENSE file for more details. /* global handleAjaxError:false */ import checkRoomAvailabilityURL from 'indico-url:rb.check_room_a...
{ "content_hash": "af8f22cbe541906bec4a83cc37d4398d", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 92, "avg_line_length": 37.93636363636364, "alnum_prop": 0.6115504433261443, "repo_name": "DirkHoffmann/indico", "id": "d527d9d58968a2166202fb49ae77c939c403c744", "size": "...
package com.opengamma.analytics.financial.commodity.calculation; import static org.testng.AssertJUnit.assertEquals; import org.testng.annotations.Test; import com.opengamma.analytics.financial.commodity.calculator.CommodityFutureOptionBlackPresentValueCalculator; import com.opengamma.analytics.financial.commodity.d...
{ "content_hash": "ceb50a5031c004d72f8c265a56897b40", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 191, "avg_line_length": 52.41935483870968, "alnum_prop": 0.8107692307692308, "repo_name": "jeorme/OG-Platform", "id": "7ca20a20268a140c62332e403bcb4fda624bd8dc", "size": "3...
import math import pandas as pd from sklearn import preprocessing # A Note on SKLearn .transform() calls: # # Any time you transform your data, you lose the column header names. # This actually makes complete sense. There are essentially two types # of transformations, those that change the scale of your features, # ...
{ "content_hash": "eb7952e8cd6d998fecb60d1335f2c028", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 131, "avg_line_length": 43.93103448275862, "alnum_prop": 0.7344322344322345, "repo_name": "FernanOrtega/DAT210x", "id": "97ac92cd6669173d6c1381b68eb74375a81f52fb", "size": ...
[![Author](https://img.shields.io/badge/author-@frankdejonge-blue.svg?style=flat-square)](https://twitter.com/frankdejonge) [![Maintainer](https://img.shields.io/badge/maintainer-@shadowhand-blue.svg?style=flat-square)](https://twitter.com/shadowhand) [![Build Status](https://img.shields.io/travis/thephpleague/pipeline...
{ "content_hash": "8dc672c8256b14a6485afa8c1e276dcf", "timestamp": "", "source": "github", "line_count": 154, "max_line_length": 178, "avg_line_length": 30.61038961038961, "alnum_prop": 0.7445905812473483, "repo_name": "thephpleague/pipeline", "id": "a1c4fbca261c7d93f0b2e904f4044cf2f4e16ee8", "size"...
package cmd import ( "fmt" "io" "os" "strings" "text/template" "github.com/lithammer/dedent" "github.com/pkg/errors" "github.com/spf13/cobra" flag "github.com/spf13/pflag" "k8s.io/apimachinery/pkg/util/sets" clientset "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" clientcmdapi "k8s.io...
{ "content_hash": "d2e88f2e648e6c90d8df982104e80227", "timestamp": "", "source": "github", "line_count": 540, "max_line_length": 177, "avg_line_length": 41.87592592592593, "alnum_prop": 0.7618626453809756, "repo_name": "kpgriffith/kubernetes", "id": "e96585d6f9268ba664ca93ea6550d6087389d87b", "size"...
<!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": "f9a83cb7d7c403f544bf040a22589681", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 458, "avg_line_length": 46.279761904761905, "alnum_prop": 0.6667524115755628, "repo_name": "jlctools/evo", "id": "f7dfee176bde9cd58dd876173d0d23f650efeae0", "size": "7775"...
using System; using System.ComponentModel; using System.Collections.Generic; using System.Text; using ShortcutThemes.Helpers; namespace ShortcutThemes.Localization { [AttributeUsage(AttributeTargets.All)] public class LocalizedCategoryAttribute : CategoryAttribute { private bool initialized = fals...
{ "content_hash": "f7bd231354767e051df955bbb1a71f72", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 69, "avg_line_length": 27.267441860465116, "alnum_prop": 0.5236673773987207, "repo_name": "JoeRobich/fd-shortcutthemes", "id": "0b2e6b596bf83d803fdefaa8c91788a00e148c30", "...
<div id="__form_container_id__" class="bx-uploader-form-cont bx-popup-width"> __file_field__ <div class="bx-uploader-loading"></div> <div class="bx-def-padding-sec-bottom bx-croppie-msg"></div> <div class="bx-def-padding-sec-bottom" id="__errors_container_id__"></div> <div class="bx-croppie-container...
{ "content_hash": "87cf6fc5273ec433ba4f2775bf38aa2f", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 191, "avg_line_length": 40.093023255813954, "alnum_prop": 0.5835266821345708, "repo_name": "camperjz/trident", "id": "f37ca1d21b9e7e32b4e07f3517f33e9b828aa9a8", "size": "17...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_23) on Sun Feb 26 06:28:53 CET 2012 --> <TITLE> ProjectHelper.OnMissingExtensionPoint (Apache Ant API) </TITLE> <META NAME="date" CONTENT="2012-02-2...
{ "content_hash": "79f0b32199724f00943f09a52471d370", "timestamp": "", "source": "github", "line_count": 350, "max_line_length": 228, "avg_line_length": 39.817142857142855, "alnum_prop": 0.642939150401837, "repo_name": "hsiboy/middleman", "id": "a6babeda5fa556bda16ea0c0a52ae077f15ee31a", "size": "13...
from swgpy.object import * def create(kernel): result = Creature() result.template = "object/mobile/shared_dressed_kavas_urdano.iff" result.attribute_template_id = 9 result.stfName("npc_name","chiss_patron") #### BEGIN MODIFICATIONS #### #### END MODIFICATIONS #### return result
{ "content_hash": "6fdc0c1eb0020b5c4620158958f02431", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 66, "avg_line_length": 22.846153846153847, "alnum_prop": 0.6936026936026936, "repo_name": "anhstudios/swganh", "id": "52aba922a35c3a6b81e3d8eac210c0a68ded0313", "size": "44...
package com.pkm.laporin.main.map; import com.google.android.gms.maps.model.LatLng; import com.google.maps.android.clustering.ClusterItem; /** * Created by hackerman on 28/02/17. */ public class MyItem implements ClusterItem { private final LatLng mPosition; private String mTitle; private String mSnippe...
{ "content_hash": "0ec912f800c4b253b0610842862cfb93", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 73, "avg_line_length": 23.176470588235293, "alnum_prop": 0.6269035532994924, "repo_name": "ud1ne/Laporin", "id": "be0712828f3771572432c58d8b62419f8ebc2f17", "size": "1182",...
This module defines the `Indexed` profunctor. #### `Indexed` ``` purescript newtype Indexed p i s t = Indexed (p (Tuple i s) t) ``` Profunctor used for `IndexedOptic`s. ##### Instances ``` purescript instance indexedProfunctor :: (Profunctor p) => Profunctor (Indexed p i) instance indexedStrong :: (Strong p) => S...
{ "content_hash": "913ba1525a5161ab54fea89360d67591", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 72, "avg_line_length": 20.296296296296298, "alnum_prop": 0.666058394160584, "repo_name": "zrho/purescript-profunctor-lenses", "id": "2efba20d11c077c0592486193b7e3a099b607749"...
class HTTPError(Exception):pass
{ "content_hash": "22d1fe82f6d95ae83d92bd1953f6256a", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 31, "avg_line_length": 31, "alnum_prop": 0.8709677419354839, "repo_name": "olemis/brython", "id": "3666af57c55ea1f0d666fa4933c1267b4f221ae1", "size": "31", "binary": false...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_91) on Tue Dec 29 12:43:38 AEDT 2015 --> <title>GenerationTest (Bouncy Castle Library 1.54 API Specification)</title> <meta name="date"...
{ "content_hash": "962c849032fb8a58c73351b6d5185345", "timestamp": "", "source": "github", "line_count": 310, "max_line_length": 828, "avg_line_length": 38.851612903225806, "alnum_prop": 0.6440551311856526, "repo_name": "GaloisInc/hacrypto", "id": "661c434f51c3ec16e642761885c7acf6fea0f0b3", "size": ...
package crypto import ( "bytes" "github.com/NebulousLabs/Sia/encoding" "github.com/NebulousLabs/merkletree" ) const ( // SegmentSize is the chunk size that is used when taking the Merkle root // of a file. 64 is chosen because bandwidth is scarce and it optimizes for // the smallest possible storage proofs. U...
{ "content_hash": "2d71c08ac15b3eb32ac0b561c67e70f7", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 97, "avg_line_length": 31.076923076923077, "alnum_prop": 0.7202970297029703, "repo_name": "NebulousLabs/Sia", "id": "cdd3341195f1d52c7d226767f8c0420a79417853", "size": "48...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle ...
{ "content_hash": "62ba2afce3fff63967631e5281ff4e46", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 130, "avg_line_length": 47.542857142857144, "alnum_prop": 0.6712740384615384, "repo_name": "faisalsyfl/DINAMIK12", "id": "c833a18bbaedb609dbc1c2d9f98c4cb522671598", "size":...
#include "SMStyleTweaks.h" #include "PixmapEdit.h" #include "ui_frmIcon.h" #include "frmIcon.h" #include "config.h" #include <QImageReader> #include <QFileDialog> #include <QMessageBox> #include <QIcon> #include <QFile> frmIcon::frmIcon(QWidget *parent, bool designedMode) : QDialog(parent), designedMode(designed...
{ "content_hash": "2cd06521abf2f049d89634af4b4a5388", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 182, "avg_line_length": 30, "alnum_prop": 0.601363073110285, "repo_name": "Syping/servermgr", "id": "6d8a371d6bd36b6b4d36e5cb04197c99abdedf7a", "size": "8864", "binary":...
from __future__ import absolute_import import bokeh.command.subcommands.secret as scsecret from bokeh.command.bootstrap import main def test_create(): import argparse from bokeh.command.subcommand import Subcommand obj = scsecret.Secret(parser=argparse.ArgumentParser()) assert isinstance(obj, Subcomm...
{ "content_hash": "77247467ceb6158ff8fbf9035dd130af", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 88, "avg_line_length": 25.607142857142858, "alnum_prop": 0.6875871687587168, "repo_name": "azjps/bokeh", "id": "b8ee97d8ba245c21e292bb60c8ecedf0a43e7fda", "size": "717", ...
function WrapperCreateTemplates(wav_file, segopts, ... diffThreshold, sigmaThreshold, noiseLevel) %Reduce and change to fit new createTemplates input format %Set defaults for the following: fscsdir = '/Users/wynnmeyer/repos/FlySongClusterSegment/'; filtcut=200; fs = 6000; %read from file? te...
{ "content_hash": "3ef3496c5a540885e9c45700d2a8fc46", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 136, "avg_line_length": 52.464285714285715, "alnum_prop": 0.684138869979578, "repo_name": "sorrywm/bachtroglabsong", "id": "f71b85cd45ce603e6301d5d57110d1987eaa3d06", "size...
`asbcli up <cluster-host>:<port> --cluster-user=<user> --dockerhub-user=<user>` **Example** `asbcli up cap.example.com:8443 --cluster-user=admin --dockerhub-user=eriknelson` `asbcli up` will also accept `--cluster-pass` and `--dockerhub-pass`, otherwise, these will be asked for interactively. ### Connecting to a br...
{ "content_hash": "ef9bcf805c31862ec810940703721944", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 81, "avg_line_length": 27.6875, "alnum_prop": 0.7268623024830699, "repo_name": "jwmatthews/ansible-service-broker", "id": "33b273cface02c25ff060d05bbfa1325693c4346", "size"...
import torrentStream from 'torrent-stream' import http from 'http' import fs from 'fs' import rangeParser from 'range-parser' import url from 'url' import mime from 'mime' import pump from 'pump' import numeral from 'numeral' import { exec } from 'child_process' import EventEmitter from 'events' class TorrentStreamVLC...
{ "content_hash": "23462a11605f1082a93abb861ed4920c", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 133, "avg_line_length": 32.922764227642276, "alnum_prop": 0.5999506111865662, "repo_name": "JanGunzenhauser/torrent-stream-vlc", "id": "25ff9118eb4e0198f38aaabd06701a634a505...
<?php return [ 'suffix' => '@Info01.local', /* |-------------------------------------------------- | Domain Controllers |-------------------------------------------------- | | The domain controllers option is an array of servers located on your | network that serve Active Directory. Yo...
{ "content_hash": "7e702da0afaa81d8e218a966cbde9397", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 92, "avg_line_length": 33.75757575757576, "alnum_prop": 0.47785757031717535, "repo_name": "Ithyllias/SGRT", "id": "fe39385c464628c1fda3d6ed7b8387a24aa74f1c", "size": "3342"...
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32L1xx_CONF_H #define __STM32L1xx_CONF_H /* Includes ------------------------------------------------------------------*/ /* Uncomment the line below to enable peripheral header file inclusion */ #include "stm32l1x...
{ "content_hash": "c3b9435ca4a67a3ce7534fc411573511", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 94, "avg_line_length": 37.8448275862069, "alnum_prop": 0.5681093394077449, "repo_name": "but0n/stm32_PID", "id": "cf55d3b91371ecfa71cb21c4089dbbf23ac514c6", "size": "3317",...
//TODO(hlundin): Reformat file to meet style guide. /* header includes */ #include "typedefs.h" #include <stdio.h> #include <stdlib.h> #ifdef WIN32 #include <winsock2.h> #include <io.h> #endif #ifdef WEBRTC_LINUX #include <netinet/in.h> #endif #include <float.h> #include "gtest/gtest.h" /*********************/ /* ...
{ "content_hash": "d92eb261ab0b7d8803c2374527c15bde", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 192, "avg_line_length": 28.125, "alnum_prop": 0.607037037037037, "repo_name": "wangscript/libjingle-1", "id": "3f9435096469bd5fd785f3c69620b34a5b7de2a2", "size": "5812", ...
var callbackPass = chrome.test.callbackPass; var callbackFail = chrome.test.callbackFail; var assertTrue = chrome.test.assertTrue; var assertFalse = chrome.test.assertFalse; var assertEq = chrome.test.assertEq; // Test properties for the verification API. var verificationProperties = { "certificate": "certificate", ...
{ "content_hash": "43d979d31ea095595a0657482207a99f", "timestamp": "", "source": "github", "line_count": 512, "max_line_length": 79, "avg_line_length": 34.994140625, "alnum_prop": 0.5064463916950382, "repo_name": "crosswalk-project/chromium-crosswalk-efl", "id": "2f0a653e8e4acc6118e6078f794d703722bd80...
namespace Google.Cloud.OsConfig.V1Alpha.Snippets { // [START osconfig_v1alpha_generated_OsConfigZonalService_ListOSPolicyAssignments_sync_flattened_resourceNames] using Google.Api.Gax; using Google.Api.Gax.ResourceNames; using Google.Cloud.OsConfig.V1Alpha; using System; public sealed partial c...
{ "content_hash": "1b30bdf3a3d53cd341aaf54ae4cc9766", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 151, "avg_line_length": 49.04838709677419, "alnum_prop": 0.6418941137783624, "repo_name": "googleapis/google-cloud-dotnet", "id": "fdf8722c196fd212148133fc42a32c55c1ef7350", ...
class DifficultBook include DataMapper::Resource storage_names[:default] = 'Books' property :id, Serial property :created_at, DateTime property :title, String property :author, String end
{ "content_hash": "e5cf452d80fc826cc50e64533eee6def", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 35, "avg_line_length": 21.9, "alnum_prop": 0.684931506849315, "repo_name": "rykov/dm-cassandra", "id": "7a440500c37b25e758506fb46da852776b666c5b", "size": "219", "binary"...
package scutil.classpath object implicits { export extensions.* }
{ "content_hash": "9fd2fc03005d3fab50e43e94f206f5a7", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 24, "avg_line_length": 13.6, "alnum_prop": 0.7794117647058824, "repo_name": "ritschwumm/scutil", "id": "4ceb9106dab3985e3f038a0935cd7a3fb0b907f0", "size": "68", "binary": ...
package com.defano.jmonet.tools.base; import org.junit.jupiter.api.BeforeEach; import org.mockito.MockitoAnnotations; public abstract class MockitoTest { @BeforeEach protected void setup() { MockitoAnnotations.initMocks(this); } }
{ "content_hash": "c99d75a874aed75a112d0ae896d61f95", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 43, "avg_line_length": 21.166666666666668, "alnum_prop": 0.7401574803149606, "repo_name": "defano/jmonet", "id": "df809a61b7730d85bc4346b7f861a9bb45cef1bb", "size": "254", ...
<meta property="og:title" content="{{title + ' | ' if title}}{{config.CONFIG_DB.brand_name}}"> <meta name="description" property="og:description" content="{{description}}"> <meta property="og:type" content="website"> <meta property="og:url" content="{{canonical_url or request.host_url}}">
{ "content_hash": "e509e87e9e750994bb90063da9c13d7f", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 94, "avg_line_length": 72.5, "alnum_prop": 0.7, "repo_name": "mdxs/gae-init", "id": "232585ceac08569335b6782dc8ec464880aac739", "size": "290", "binary": false, "copies":...
module Settings.StaticFiles where import Prelude (IO) import Yesod.Static import qualified Yesod.Static as Static import Settings (staticDir) import Settings.Development staticSite :: IO Static.Static staticSite = if development then Static.staticDevel staticDir else Static.static stat...
{ "content_hash": "d0a597593bdff128fde04c29d3d57de7", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 61, "avg_line_length": 30.083333333333332, "alnum_prop": 0.7590027700831025, "repo_name": "JanAhrens/yesod-oauth-demo", "id": "1c40cf2dec0facddfde9ad3cfbde2c3a09ec28c7", "s...
package org.apache.cloudstack.management; import org.apache.cloudstack.api.InternalIdentity; import java.util.Date; public interface ManagementServerHostPeer extends InternalIdentity { long getOwnerMshost(); long getPeerMshost(); long getPeerRunid(); ManagementServerHost.State getPeerState(); Da...
{ "content_hash": "a4d3ccdd6fd2388c315b6c68de603e0d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 68, "avg_line_length": 24.642857142857142, "alnum_prop": 0.7797101449275362, "repo_name": "GabrielBrascher/cloudstack", "id": "d41d1b74723b59a0ec9e6ffd167ae658047def37", "s...
FN="rgu34cprobe_2.18.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.14/data/annotation/src/contrib/rgu34cprobe_2.18.0.tar.gz" "https://bioarchive.galaxyproject.org/rgu34cprobe_2.18.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-rgu34cprobe/bioconductor-rgu34cprobe_2.18.0_src_all.tar.gz" )...
{ "content_hash": "c75f4e1dfc4ab3662fdbb35cd57ae03b", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 116, "avg_line_length": 28.844444444444445, "alnum_prop": 0.6679506933744221, "repo_name": "npavlovikj/bioconda-recipes", "id": "51b2b5ff414357e4d43eb34e6daa1c47e7613765", ...
typedef void(^UITabBarItemEasyCoderBlock) (UITabBarItem * ins); @interface UITabBarItem (TFEasyCoder) +( UITabBarItem *)easyCoder:(UITabBarItemEasyCoderBlock)block; -(UITabBarItem *)easyCoder:(UITabBarItemEasyCoderBlock)block; -(UITabBarItem *(^)(UIImage * selectedImage))set_selectedImage; -(UITabBarItem *(^)(N...
{ "content_hash": "3a3482c1093602d6d6a37c88b7fac9dd", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 98, "avg_line_length": 45.75, "alnum_prop": 0.7745901639344263, "repo_name": "shmxybfq/TFDemos", "id": "56c3a0e7c1bfbbf894bdc40752573903c0814645", "size": "2424", "binary...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // =========================================================================== // File: Prestub.cpp // // ==========...
{ "content_hash": "57c2c904bd680cdf12cf0cf7c0b9c516", "timestamp": "", "source": "github", "line_count": 2965, "max_line_length": 206, "avg_line_length": 35.10252951096121, "alnum_prop": 0.5835182889920156, "repo_name": "qiudesong/coreclr", "id": "1ebcdc4b4df537ffc2521f472ec17dc7ce1154c8", "size": "...
<component name="libraryTable"> <library name="tweet-composer-2.3.1"> <CLASSES> <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.twitter.sdk.android/tweet-composer/2.3.1/res" /> <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.twitter.sdk.android/tweet-co...
{ "content_hash": "769410a71cf33055ee6bfa94e12df583", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 194, "avg_line_length": 53, "alnum_prop": 0.6981132075471698, "repo_name": "bearpku/Twitter", "id": "862735fab73a959472baf9053267cb630e16c6de", "size": "636", "binary": f...
#include <linux/kernel.h> #include <linux/stat.h> #include <linux/string.h> #include <sdp/dek_common.h> static int g_asym_alg = SDPK_DEFAULT_ALGOTYPE; #define ALG_NAME_RSA_NAME "RSA" #define ALG_NAME_DH_NAME "DH" #define ALG_NAME_ECDH_NAME "ECDH" static ssize_t dek_show_asym_alg(struct device *dev, struct devic...
{ "content_hash": "6e6712b1752dcbfeed3d73a74a4f2876", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 85, "avg_line_length": 22.785714285714285, "alnum_prop": 0.6649686520376176, "repo_name": "ghostkim-sc/SMG920T_profiling_enabled", "id": "688b842850f58b11eb103ce5f9f1d76b301...
require 'test_helper' module Api module V1 class ProjectsControllerTest < ActionController::TestCase setup do @request.headers['Accept'] = Mime[:json] @request.headers['Content-Type'] = Mime[:json].to_s end tests ::Api::V1::ProjectsController let(:project) { projects :na...
{ "content_hash": "516b453330f1831fc33e4cea13586885", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 69, "avg_line_length": 23.614035087719298, "alnum_prop": 0.5846953937592868, "repo_name": "reckoning/app", "id": "97ba0645e19a58a0d7899cb6e78b9c079bf18c35", "size": "1377",...
layout: blank --- <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="main">首页</a></li> <li class="breadcrumb-item"><a href="#">组件</a></li> <li class="breadcrumb-item active">小标签</li> </ol> <div class="animated fadeIn"> <header class="page-title card"> <h1> 小标签 Tags </h1> </header> ...
{ "content_hash": "9f3258956d490b5d70c2626e1783c310", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 170, "avg_line_length": 41.7967032967033, "alnum_prop": 0.5811752333377153, "repo_name": "chairy11/js-ui", "id": "88871b6a58e728aeec1be1f39922014b9a241f3c", "size": "8021"...
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Runtime.Serialization; namespace Entities { /// <summary> /// Represents a row of entity data. /// </summary> [Serializable] [DataContract] public ...
{ "content_hash": "f5bc627684409c289d311fe073e6de42", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 47, "avg_line_length": 21.642857142857142, "alnum_prop": 0.47854785478547857, "repo_name": "fguini/leathergoods", "id": "1400d18a200f0ddd2375d33d72a57b67b15ee831", "size": ...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="tr" version="2.0"> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Storecoin</source> <translation>Storecoin Hakkında</translation> </message> <message> <...
{ "content_hash": "cabada86c25c8a290160368e787b1b5f", "timestamp": "", "source": "github", "line_count": 3352, "max_line_length": 416, "avg_line_length": 39.69689737470167, "alnum_prop": 0.6373624721938316, "repo_name": "storecoin/storecoin", "id": "9a5c45eb18cd0752fc21add918072c0438f28959", "size":...
<?php namespace Faker\Parser; use Faker\Exception as Base; class Exception extends Base { public function __construct($message) { parent::__construct($message); } public function __toString() { return parent::__toString(); } public static function render($e) { paren...
{ "content_hash": "09b34c8fe71ab2117ef424d9fd7c7497", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 46, "avg_line_length": 18.066666666666666, "alnum_prop": 0.5977859778597786, "repo_name": "icomefromthenet/Faker", "id": "a1357c4f4d65b24b0790a7befcadb2fe8f817b5b", "size":...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Framework.Graphics; using osu.Game.Graphics; namespace osu.Game.Rulesets.Taiko.Objects.Drawables.Pieces { /// <summary> /// The symbol used ...
{ "content_hash": "9613e50a11f47131b9f3e4fd828f7759", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 92, "avg_line_length": 30.208333333333332, "alnum_prop": 0.6027586206896551, "repo_name": "RedNesto/osu", "id": "0f703837a91d24c306c09104f0aa2bff7bf9b12e", "size": "727", ...
 using System; using System.IO; using System.Security.Cryptography.X509Certificates; using System.Threading; using Google.Apis.Analytics.v3; using Google.Apis.Auth.OAuth2; using Google.Apis.Services; using Google.Apis.Util.Store; namespace Daimto.Google.Sample.Analytics { public class DaimtoAnalyticsAuthenticatio...
{ "content_hash": "ef096435a658b41858e0637354e0f0e1", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 165, "avg_line_length": 45.51376146788991, "alnum_prop": 0.5448498286635759, "repo_name": "Ashokkumaresan/Google-Dotnet-Samples", "id": "a3e87e157150993de09de682b3227e3b6f07...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.CSharp.CodeFixes.Async; using Microsoft.CodeAnalysis.Diagnostics; using Ro...
{ "content_hash": "7c0f5ace8c050d28ed63fbb9726720cd", "timestamp": "", "source": "github", "line_count": 207, "max_line_length": 297, "avg_line_length": 46.45893719806763, "alnum_prop": 0.6343974212332328, "repo_name": "doconnell565/roslyn", "id": "59d64ba59dffbf38f1b347b476113caa10c50b6f", "size": ...
<?php namespace Larafolio\Http\Controllers; use Illuminate\Http\Request; class PortfolioController extends Controller { /** * Update project order in portfolio. * * @param Request $request Request data containing all projects. * * @return \Illuminate\Http\Response */ public func...
{ "content_hash": "bc666dcc85e5d875a1179684d7d4cadf", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 78, "avg_line_length": 22.136363636363637, "alnum_prop": 0.6550308008213552, "repo_name": "zachleigh/larafolio", "id": "fa43aeb71f6905e36454e503602d599fa97e10ac", "size": "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="lang:clipboard.copy" content...
{ "content_hash": "29b1d28ccf1e28fa21b7ffc5b6c307f8", "timestamp": "", "source": "github", "line_count": 447, "max_line_length": 999, "avg_line_length": 38.81879194630873, "alnum_prop": 0.597913785154449, "repo_name": "statsmodels/statsmodels.github.io", "id": "bdaf24cf29e25e3919e0082ab6820b7b84b7b72d...
from flask import Flask, request from shutil import copyfile import json, os, requests, redis, collections, thread, time app = Flask(__name__) rackhdHost = "http://localhost:8080" rackhdAPI = rackhdHost + "/api/2.0" rackhdConfig = "~/rackhd-pm2-config.yml" flaskDir = "/home/labadmin/rackhd-scaleio/flask/" notificatio...
{ "content_hash": "523feba32684d322cf34ef0aca7c0be3", "timestamp": "", "source": "github", "line_count": 196, "max_line_length": 143, "avg_line_length": 31.20408163265306, "alnum_prop": 0.6536952256376717, "repo_name": "jialehuo/rackhd-scaleio", "id": "cab6f8b85d2311422b9ad7fd0bccd091cdd8bbb1", "siz...
from absl import app from iree.tf.support import tf_test_utils import numpy as np import tensorflow.compat.v2 as tf class ControlFlowModule(tf.Module): def __init__(self): pass @tf.function(input_signature=[tf.TensorSpec([], tf.float32)]) def collatz(self, a): i = 0. while a > 1.: i = i + 1....
{ "content_hash": "01bea1f291cf542ec3ea28a4af09700e", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 70, "avg_line_length": 22.01818181818182, "alnum_prop": 0.6317093311312965, "repo_name": "google/iree", "id": "0196a7f3bdfeb125f016e138ea1f281ee64683cf", "size": "1429", ...
package algorithms import org.apache.spark.rdd.RDD import twitter4j.{HashtagEntity, Status} import scala.collection.mutable object NaiveCountDistinct extends BigDataAlgorithm { var set = new mutable.HashSet[String]() override def calculate(rdd: RDD[Status]): Unit = { rdd.flatMap(status => status.getHashtag...
{ "content_hash": "fd8cb97989b9781f514ddb4851f4f5e9", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 67, "avg_line_length": 23.523809523809526, "alnum_prop": 0.7489878542510121, "repo_name": "ktugan/SparklingFun", "id": "737e94a7de3ffb5e33acc5bc2bdb175ea657a876", "size": "...
[@concord-consortium/lara-plugin-api](../README.md) › [Globals](../globals.md) › [IPopupOptions](ipopupoptions.md) # Interface: IPopupOptions ## Hierarchy * **IPopupOptions** ## Index ### Properties * [autoOpen](ipopupoptions.md#optional-autoopen) * [backgroundColor](ipopupoptions.md#optional-backgroundcolor) * [...
{ "content_hash": "723b1bf088c3861ce1c9b00dd39fa04a", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 114, "avg_line_length": 18.566137566137566, "alnum_prop": 0.676831005984611, "repo_name": "concord-consortium/lara", "id": "77452ffec8826bf5c4533c01cf7d80fce8e77a0e", "siz...
import os import time import pytest import requests from generic_test_code.common import assert_endpoint_response from util import GuardedSubprocess, SearchCriteria, auth_type_str EXHIBITOR_PATH = "/exhibitor/foo/bar" # Note(JP): this test assumes that the IAM is contacted when trying to reach # /mesos_dns. This i...
{ "content_hash": "99ff3cc8af68bba0290fcb2a662e1588", "timestamp": "", "source": "github", "line_count": 331, "max_line_length": 93, "avg_line_length": 33.438066465256796, "alnum_prop": 0.5576436573906758, "repo_name": "GoelDeepak/dcos", "id": "281eb28523ea9f96b0d257f9391dcd09015a606d", "size": "111...
package org.apereo.cas.services; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import java.util.LinkedHashSet; import java.util.Set; /** * This is {@link DefaultRegisteredServiceMultifactorPoli...
{ "content_hash": "7e0737287cede0fe4b450229e099438d", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 110, "avg_line_length": 34.666666666666664, "alnum_prop": 0.7077991452991453, "repo_name": "zawn/cas", "id": "d73833a0a8749a5aa8a16204d45595235d7ab776", "size": "3744", ...
<?php namespace Documents; /** * @EmbeddedDocument * @Document */ class Tag { /** * @Id(strategy="ASSIGNED") * @var string */ protected $name; public function __construct($name) { $this->name = $name; } public function getName() { return $this->name; ...
{ "content_hash": "347b4b5a089f43860a25e49abe234861", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 38, "avg_line_length": 12.461538461538462, "alnum_prop": 0.5154320987654321, "repo_name": "Ocramius/couchdb-odm", "id": "83cfe382cc241cb529148aebf9a5c78224ba4c89", "size": ...
package com.canigraduate.uchicago.ribbit; import com.canigraduate.uchicago.BrowsingSession; import com.canigraduate.uchicago.models.Course; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import java.io.IOException; import java.text.Normalizer; import java.util.Optional; import java.util.regex.Pattern; publ...
{ "content_hash": "2a7f3781a17a964110c94f4ea18b71b8", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 122, "avg_line_length": 46.294117647058826, "alnum_prop": 0.5984752223634053, "repo_name": "kevmo314/canigraduate.uchicago.edu", "id": "d394b7868bc275277b9f099de0b304aa1d2c96...
> my project ## Build Setup ``` bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` For detailed explanation on how things work, ch...
{ "content_hash": "5b15eb2dedf3dfa7697971fe070467ab", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 170, "avg_line_length": 23.36842105263158, "alnum_prop": 0.7545045045045045, "repo_name": "zhang2015/guiding", "id": "e117d17299125d802872c5c60305bdd500275b0f", "size": "45...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="NetworkingPeer.cs" company="Exit Games GmbH"> // Part of: Photon Unity Networking (PUN) // </copyright> // ----------------------------------------------------------------------...
{ "content_hash": "2381811f06314195ca3fbb1c34176199", "timestamp": "", "source": "github", "line_count": 3713, "max_line_length": 321, "avg_line_length": 40.94128736870455, "alnum_prop": 0.5759168503108246, "repo_name": "PratapDafedar/PhotonShoot", "id": "34f362df9c4b953870cb41a8d0536a9f0ae4578f", "...
namespace v8 { namespace internal { bool CpuFeatures::SupportsCrankshaft() { return true; } bool CpuFeatures::SupportsSimd128() { return false; } int DoubleRegister::NumRegisters() { return CpuFeatures::IsSupported(VFP32DREGS) ? 32 : 16; } void RelocInfo::apply(intptr_t delta) { if (RelocInfo::IsInternalRefere...
{ "content_hash": "86d1d343cfa7963a9c2f92898d64e8e4", "timestamp": "", "source": "github", "line_count": 552, "max_line_length": 80, "avg_line_length": 35.780797101449274, "alnum_prop": 0.6391575110121006, "repo_name": "zero-rp/miniblink49", "id": "bc501b10990c62a2d4d28ce7b711766eada39ba5", "size": ...
package client import ( "context" "testing" "time" bm "go-common/library/net/http/blademaster" "go-common/library/net/netutil/breaker" xtime "go-common/library/time" "github.com/smartystreets/goconvey/convey" ) var cl *Client func TestNewClient(t *testing.T) { var client = bm.NewClient(&bm.ClientConfig{ ...
{ "content_hash": "15d632dd7a5c4d9a84b1eb2712d6b9f2", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 96, "avg_line_length": 26.1375, "alnum_prop": 0.6676231468197035, "repo_name": "LQJJ/demo", "id": "151696c2e4a194a72780a8406d02fd33795045fd", "size": "2091", "binary": fa...
<div pf-toolbar class="service-explorer-header" config="vm.headerConfig"> <actions> <custom-dropdown config="item" items="vm.selectedItemsList" items-count="vm.selectedItemsListCount" ng-repeat="item in vm.listActions" on-update="vm.listActionDisable($config, $changes)"></custom-dropdown> <...
{ "content_hash": "ce410a69e1b7260256439941ce89237a", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 138, "avg_line_length": 47.92993630573248, "alnum_prop": 0.5831229235880399, "repo_name": "dtaylor113/manageiq-ui-self_service", "id": "b838ea38b75ca59009ca06009d33ce463ebcb...
/** * Created by xiangwenwen on 2017/2/17. */ const axios = require('axios'); const logger = require('../logger'); const env = require('../env'); const OAPI_HOST = env.OAPI_HOST[env.scheme]; function *getJsApiTicket(access_token) { const cacheTime = 7000 * 1000; //缓存时间 const currentTime = new Date().getTime...
{ "content_hash": "8fac03846f6ec7e17dacc49b7114b7b5", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 67, "avg_line_length": 29.453125, "alnum_prop": 0.49496021220159153, "repo_name": "open-dingtalk/which-language-demo", "id": "c6f44559d4fd15537ede3fc0a92723db886717e7", "si...
/** * This code is mostly from the old Etherpad. Please help us to comment this code. * This helps other people to understand this code better and helps them to improve it. * TL;DR COMMENTS ON THIS FILE ARE HIGHLY APPRECIATED */ /** * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2....
{ "content_hash": "7a95dc4c0827bf3cda0c9c7c21298879", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 87, "avg_line_length": 31.558823529411764, "alnum_prop": 0.7353215284249767, "repo_name": "faradayio/etherpad-lite-heroku", "id": "e733f3ea313de53c73dfc2d97efafa8b0ef8bb12", ...
export const AUTH_LOGIN_REQUEST = 'AUTH/LOGIN_REQUEST' export const AUTH_LOGIN_ERROR = 'AUTH/LOGIN_ERROR' export const AUTH_LOGGED_IN = 'AUTH/LOGGED_IN' export const AUTH_LOGGED_OUT = 'AUTH/LOGGED_OUT' export const AUTH_SIGNUP_REQUEST = 'AUTH/SIGNUP_REQUEST' export const AUTH_SIGNUP_ERROR = 'AUTH/SIGNUP_ERROR' export...
{ "content_hash": "2e3bdbff450f94bdaaba9f2c79924bd0", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 72, "avg_line_length": 45.63636363636363, "alnum_prop": 0.797808764940239, "repo_name": "dmitru/react-redux-router-expense-tracker-example-app", "id": "63af5a3864c9f19fe756d7...
/* eslint no-unused-expressions: "off" */ /* eslint import/no-extraneous-dependencies: ["error", {"devDependencies": true}] */ const expect = require('chai').expect; /* eslint no-console: "off" */ process.on('unhandledRejection', (reason) => { console.log(reason); }); describe('#environement', () => { const api...
{ "content_hash": "7f2d37cfd364e9ab099f2eea79d0ba99", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 84, "avg_line_length": 24.904761904761905, "alnum_prop": 0.6233269598470363, "repo_name": "tsamaya/what3words-api-nodejs-client", "id": "ae6044411a6f01e8bbc068c57abd962ef5cb1...
const assert = require('assert'); const {clientId, clientSecret, origin, authOrigin, soapOrigin, authOptions, globalReqOptions} = require('./test.config'); const ET_Client = require('../lib/ET_Client'); describe('CampaignAsset', function () { this.timeout(10000); let client, createdCampaignId, createdAssetId...
{ "content_hash": "6c9bd2fdbe96d83bdada3c611a7e11b8", "timestamp": "", "source": "github", "line_count": 125, "max_line_length": 134, "avg_line_length": 36.392, "alnum_prop": 0.5592437898439218, "repo_name": "salesforcefuel/FuelSDK-Node", "id": "7256259d48fe050479779c7078f3489f4a2543f5", "size": "45...