text
stringlengths
2
1.04M
meta
dict
import org.junit.rules.ExternalResource; import org.sql2o.*; public class DatabaseRule extends ExternalResource { protected void before() { DB.sql2o = new Sql2o("jdbc:postgresql://localhost:5432/library_test", null, null); } protected void after() { try(Connection con = DB.sql2o.open()) { String...
{ "content_hash": "bba23ac6f6c2d68703a9f22eded5fc15", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 86, "avg_line_length": 37.629629629629626, "alnum_prop": 0.718503937007874, "repo_name": "midoribowen/Library", "id": "baddbb60edcf2a3cb3e4fbdae75e504a18dc5c96", "size": "1...
for file in $(find spec/fixtures/approvals -ipath "*.received.*"); do approved_path=$(echo "$file" | sed 's/received/approved/') mv "$file" "$approved_path" done;
{ "content_hash": "fd4275fb3e10b78367c713f377b3ce68", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 69, "avg_line_length": 41.75, "alnum_prop": 0.6646706586826348, "repo_name": "pact-foundation/pact_broker", "id": "5eecca0973d9e96d10a39f52e0db166ae26b05b2", "size": "178", ...
<IMG SRC="https://azurequickstartsservice.blob.core.windows.net/badges/wordpress-single-vm-ubuntu/PublicLastTestDate.svg" />&nbsp; <IMG SRC="https://azurequickstartsservice.blob.core.windows.net/badges/wordpress-single-vm-ubuntu/PublicDeployment.svg" />&nbsp; <IMG SRC="https://azurequickstartsservice.blob.core.windows...
{ "content_hash": "0c928ee01d12c1a9137fd6707ad92761", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 216, "avg_line_length": 86.3, "alnum_prop": 0.8001158748551565, "repo_name": "mumian/azure-quickstart-templates", "id": "88e4611c37ec0e823abdb182438619f08c628233", "size": ...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import styles from '../../css/styles.css'; import classNames from 'classnames/bind'; class Button extends Component { onClick (action, event) { const { showPopup } = this.props; return showPopup(event, action); } shouldCompon...
{ "content_hash": "5a91245b689b5f2ee6bcedd77e37745a", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 83, "avg_line_length": 24.608695652173914, "alnum_prop": 0.6307420494699647, "repo_name": "GigaTables/reactables", "id": "f05dc2c9da8c5151d3f5ac3ca58f977b4a86d6d1", "size":...
#ifndef RTTR_VARIANT_DATA_CONVERTER_H_ #define RTTR_VARIANT_DATA_CONVERTER_H_ #include "rttr/detail/conversion/std_conversion_functions.h" #include "rttr/detail/conversion/number_conversion.h" #include "rttr/detail/enumeration/enumeration_helper.h" namespace rttr { class argument; namespace detail { template<type...
{ "content_hash": "ae4fd3e2a06f0f23003954ec0d58bcd8", "timestamp": "", "source": "github", "line_count": 1432, "max_line_length": 135, "avg_line_length": 24.38477653631285, "alnum_prop": 0.5375869870271199, "repo_name": "rttrorg/rttr", "id": "d0e94e4a7904ae96cb77b7a125e3c5af4c4f79db", "size": "37155...
package Jan2021Leetcode; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; public class _0040CombinationSumII { public static void main(String[] args) { System.out.println(combinationSum2(new int[] { 10, 1, 2, 7, 6, 1, 5 }, 8)); System.out.println(combinationS...
{ "content_hash": "ab5a9dc17dc6f10edfdbc42ecbfe0003", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 108, "avg_line_length": 30.73170731707317, "alnum_prop": 0.6753968253968254, "repo_name": "darshanhs90/Java-InterviewPrep", "id": "1456e6e250a65f1da4f51f6af1d3c4bd6c754cc7", ...
import os parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) os.sys.path.insert(0, parentdir) import base64 import click import config import service import requests import urlparse import utilities as util REQUEST_TOKEN_URL = 'https://accounts.spotify.com/en/authorize' ACCESS_TOKEN_URL = 'https:...
{ "content_hash": "72ececb0458e9275ac988a1d3e7e1486", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 90, "avg_line_length": 34.082352941176474, "alnum_prop": 0.6444597859855022, "repo_name": "bachya/spotify-smart-radio", "id": "15748019e8f95324667a678c046d16e71e0ac49d", "s...
import * as db from '../db' import { State } from '../types' type UpsertRemote = Pick< Schema.ApplicationRemote, 'remote' | 'state' | 'state' | 'sha' | 'seen' | 'age' > export async function insertRemote(app: Schema.Application, props: UpsertRemote) { const existing = await db.getRemote(app.id, props.remote) ...
{ "content_hash": "d8a26bcea9a201caf24be4bddfad2cf0", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 96, "avg_line_length": 27.82758620689655, "alnum_prop": 0.6840148698884758, "repo_name": "the-concierge/concierge", "id": "202e718c3a5969b25d80d3b76be89c67eec702ac", "size"...
all:printhzk printhzk:main.c gcc -fexec-charset=gbk -o printhzk main.c clean: rm -rf printhzk
{ "content_hash": "13fe374ae8016d9dff620905b5d5ac23", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 42, "avg_line_length": 19.2, "alnum_prop": 0.7604166666666666, "repo_name": "x7hub/arm_hzk", "id": "c0fed31c7a76f2b74c095e245d1437f6898b9e78", "size": "96", "binary": fals...
package shadowsocks.crypto; import org.bouncycastle.crypto.StreamCipher; import java.io.ByteArrayOutputStream; import shadowsocks.crypto.CryptoException; import shadowsocks.crypto.Utils; import shadowsocks.crypto.DecryptState; /** * Crypt base class implementation */ public abstract class BaseStreamCrypto implem...
{ "content_hash": "5674aec40862bea0bd314b7b917b25a2", "timestamp": "", "source": "github", "line_count": 112, "max_line_length": 91, "avg_line_length": 26.5625, "alnum_prop": 0.6100840336134454, "repo_name": "bestoa/shadowsocks-java", "id": "14322e0f42edbaee22035fa1ab002e52a3a35ba8", "size": "3608",...
package com.miicard.consumers.service.v1.claims.impl; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; @SuppressWarnings("restriction...
{ "content_hash": "079b7361ce2d5fbacea1ae4b53df0749", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 83, "avg_line_length": 25.558139534883722, "alnum_prop": 0.6624203821656051, "repo_name": "miiCard/api-wrappers-java", "id": "5c3dd97428240b535af8b43423d5ea297ade17dc", "si...
function demoBrowserSpecific() { $demo.append( BrowserSpecific.create({ "webkit": "You are using WebKit.", "msie": "You are using Internet Explorer.", "mozilla": "You are using Firefox.", "default": "You are using some unknown browser." }) ); }
{ "content_hash": "85a894bd0dd2fc21213c4b3c0e08c95b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 56, "avg_line_length": 23.916666666666668, "alnum_prop": 0.6027874564459931, "repo_name": "JanMiksovsky/quickui-catalog", "id": "56416d04109991c2c43031d21483908d0f1b2bf5", ...
const fs = require('fs') const et = require('elementtree') const appPaths = require('../app-paths') const { log, warn } = require('../helpers/logger') const ensureConsistency = require('./ensure-consistency') const filePath = appPaths.resolve.cordova('config.xml') function setFields (root, cfg) { Object.keys(cfg)....
{ "content_hash": "efef538ad7867c8213c81dccc94fa435", "timestamp": "", "source": "github", "line_count": 197, "max_line_length": 128, "avg_line_length": 29.370558375634516, "alnum_prop": 0.6436225371586588, "repo_name": "quasarframework/quasar", "id": "99401ca0e9acd544ed6dc9170644f9b824f622b8", "siz...
use aws_config::meta::region::RegionProviderChain; use aws_sdk_s3::config::retry::RetryConfig; use aws_sdk_s3::{config, Client, Error, Region, PKG_VERSION}; use structopt::StructOpt; #[derive(Debug, StructOpt)] struct Opt { /// The AWS Region. #[structopt(short, long)] region: Option<String>, /// Th...
{ "content_hash": "eb8250855a4524d1457d98ad29f57385", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 84, "avg_line_length": 30.44578313253012, "alnum_prop": 0.6074396517609814, "repo_name": "awsdocs/aws-doc-sdk-examples", "id": "70475f56ce0b472399947c6c698a69d9ee01c943", "...
String.prototype.lpad = function (length) { return ("0000" + this.toString()).slice(length * -1); }; //////////////////////////////////////////////// var asmparser = require('./asmparser'); var CPU = require('./CPU'); var cpu = new CPU({ output: document.getElementById('output') }); window.cpu = cpu; var Keyboa...
{ "content_hash": "0ddcbfb9b86c1cc690502b2b38fc17e4", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 104, "avg_line_length": 35.47682119205298, "alnum_prop": 0.6585775620683219, "repo_name": "yagarasu/nanofeather", "id": "78f0a908ac7c7c9a29e7eb842c247835617aba37", "size":...
/* * File: Transformation.h * Author: Matt * * Created on 26 March 2014, 18:48 */ #ifndef TRANSFORMATION_H #define TRANSFORMATION_H #include "include/vertex.h" #include "include/vector.h" #include "include/ray.h" #include "include/hit.h" class Transformation{ public: float A, B, C, D, ...
{ "content_hash": "4f6f75d4019014ce6870f952279fc654", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 55, "avg_line_length": 24.711111111111112, "alnum_prop": 0.6088129496402878, "repo_name": "mrudelle/ray-tracer", "id": "90352a9ef5e21885e05d49a93164c54beddeacc9", "size": "...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "f3ccd668f96d9ee0c0289f4a715bd5cb", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "bd65b81cb197933e0caf7d1a8b8b09c1b6a1d74f", "size": "194...
package org.kritikal.fabric.core; import io.vertx.core.Future; import io.vertx.core.json.JsonArray; import java.util.function.BiConsumer; /** * Created by ben on 10/30/16. */ public final class Role { public Role(String[] depends, String roleName, BiConsumer<Future, JsonArray> startRoleVerticle) { thi...
{ "content_hash": "845bf1bb8448b653de87b352bfd252a9", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 101, "avg_line_length": 25.136363636363637, "alnum_prop": 0.7142857142857143, "repo_name": "KritikalFabric/corefabric.io", "id": "d3bfbc9799a8c31b6e5f1383381f8d7222adfcb2", ...
 using System; using DotNetNuke.Security; using DotNetNuke.Services.Exceptions; using DotNetNuke.Entities.Modules; using DotNetNuke.Entities.Modules.Actions; using DotNetNuke.Services.Localization; using DotNetNuke.Security.Profile; using DotNetNuke.Security.Membership; using DotNetNuke.Security.Roles; usi...
{ "content_hash": "0ea7ba2f78ffa4bb489dd10c2d8b996e", "timestamp": "", "source": "github", "line_count": 213, "max_line_length": 203, "avg_line_length": 35.07981220657277, "alnum_prop": 0.5570128479657388, "repo_name": "asposemarketplace/Aspose_for_DNN", "id": "8ad8871d5c180e0aeac19ddf672eb397aa44bc28...
static suic::Mulstr VSTEMPLATENAME = "MPFTemplate"; void VSManager::UnzipTo(const suic::String& strZipPath, const suic::String& strDir, const suic::String& name) { XRUnzip xrZip; //suic::Byte* prjData = new suic::Byte[data.Length()]; //memcpy(prjData, data.c_str(), data.Length()); //suic::Mulstr data; ...
{ "content_hash": "59b1932acb8b50d91f3784cc38302510", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 123, "avg_line_length": 27.428571428571427, "alnum_prop": 0.5583333333333333, "repo_name": "china20/MPFUI", "id": "1ea1592018335961ed58fdd54b2adf72361fe856", "size": "4081...
package com.parse.starter; import android.app.Application; import android.net.ParseException; import android.util.Log; import android.widget.Toast; import com.parse.FunctionCallback; import com.parse.Parse; import com.parse.ParseACL; import com.parse.ParseCloud; import com.parse.ParseObject; import com.parse.ParseUs...
{ "content_hash": "7e24ac4adfcac363bc1eeed0b543b5a6", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 115, "avg_line_length": 33.21951219512195, "alnum_prop": 0.566813509544787, "repo_name": "nwrolson/android_gopher", "id": "34982d85668d8217417ec0b509cecab22331a760", "size"...
<?php namespace PHPExiftool\Driver\Tag\Olympus; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class RawDevColorSpace extends AbstractTag { protected $Id = 'mixed'; protected $Name = 'RawDevColorSpace'; protected $FullName = 'mix...
{ "content_hash": "cfb6f7f6b3f9dd6ee739f25c43e763ae", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 51, "avg_line_length": 17.884615384615383, "alnum_prop": 0.5408602150537635, "repo_name": "romainneutron/PHPExiftool", "id": "d87ddc14fc096fece276b12d7941c6d4a0cd91dd", "si...
'use strict'; goog.provide('Blockly.Playground'); goog.require('Blockly'); /** * in full compilation mode, these get built out into separate packages * (e.g., blocks_compressed.js / javascript_compressed.js) * for the test and playground no-build-required scenario, * require all example blocks */ goog.require('...
{ "content_hash": "89101c3e86d003ef1191dcdc28323b8f", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 76, "avg_line_length": 33.871428571428574, "alnum_prop": 0.7347110923660902, "repo_name": "pickettd/code-dot-org", "id": "4e987cebea0d754d77f990208ca6a0b21bf81422", "size":...
// Copyright 2022 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. package org.chromium.chrome.browser.autofill.settings; import static com.google.common.truth.Truth.assertThat; import static org.mockito.ArgumentMatcher...
{ "content_hash": "57bcfe7cd7e827c875404be13a0b5664", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 100, "avg_line_length": 46.25909090909091, "alnum_prop": 0.7277193672005503, "repo_name": "scheib/chromium", "id": "1d9ea9a6a7e92b2eb413e9586fca759898adff21", "size": "101...
cd mod-users mvn install
{ "content_hash": "5739b42b9e7bdfe07f4ce862d79963e3", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 12, "avg_line_length": 12, "alnum_prop": 0.8333333333333334, "repo_name": "alvetm/folio-valatechcamp17", "id": "d68a202d078e7409dc83c7e8f5cf80ce3cb77c84", "size": "36", "b...
package org.onosproject.dhcprelay; import org.onlab.packet.Ethernet; import org.onosproject.net.ConnectPoint; /** * Container for Ethernet packet and destination port. */ final class InternalPacket { private Ethernet packet; private ConnectPoint destLocation; private InternalPacket(Ethernet newPacket,...
{ "content_hash": "5b0fd6697848bb32c1271ea5e67c5a66", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 95, "avg_line_length": 26.7027027027027, "alnum_prop": 0.6973684210526315, "repo_name": "opennetworkinglab/onos", "id": "70d4ae28fdb43269069cc14a9a351e71c9c755ba", "size": ...
package alluxio.worker.block.evictor; import alluxio.Configuration; import alluxio.PropertyKey; import alluxio.collections.Pair; import alluxio.worker.block.BlockMetadataManagerView; import alluxio.worker.block.BlockStoreLocation; import alluxio.worker.block.allocator.Allocator; import alluxio.worker.block.meta.Bloc...
{ "content_hash": "6536d009938c65c602db8fd8e13d9a3e", "timestamp": "", "source": "github", "line_count": 227, "max_line_length": 99, "avg_line_length": 38.47577092511013, "alnum_prop": 0.7146782688344401, "repo_name": "bit-zyl/Alluxio-Nvdimm", "id": "ad98d8556caf92bca01cd6b4c75dbd0897306709", "size"...
import requests, simplejson, urlparse from BeautifulSoup import BeautifulSoup def get_stream_info(url): resp = requests.get(url) html = resp.content bs = BeautifulSoup(html) data_node = bs.find("meta", attrs={'name': 'broadcast-data'}) content = data_node.get("content") data = simplejson.loads(...
{ "content_hash": "7fec839a01ce881e0162bd4bb82c5540", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 65, "avg_line_length": 31.333333333333332, "alnum_prop": 0.6312056737588653, "repo_name": "agermanidis/PeriscopeFirehose", "id": "9e4184186e7ee7c2ff76e454bcbbd649af712573", ...
// Teleport Disable On Controller Obscured|Locomotion|20050 namespace VRTK { using UnityEngine; using System.Collections; /// <summary> /// The purpose of the Teleport Disable On Controller Obscured script is to detect when the headset does not have a line of sight to the controllers and preven...
{ "content_hash": "cfaa815607deccdcf6e358108ca66ff4", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 324, "avg_line_length": 36.74193548387097, "alnum_prop": 0.6215978928884986, "repo_name": "jonathanrlouie/unity-vr-livestream", "id": "1b8eec45ab99bc9b0881c0918cbabc84e2dfc0d...
#pragma once #ifndef ACCRE_APPEND_PRINTF_H_INCLUDED #define ACCRE_APPEND_PRINTF_H_INCLUDED #include <tbx/visibility.h> #ifdef __cplusplus extern "C" { #endif // Functions TBX_API int tbx_append_printf(char *buffer, int *used, int nbytes, const char *fmt, ...); TBX_API int tbx_alloc_append_printf(char **buffer, int...
{ "content_hash": "70a507e2fe7daea760f20b3b69701e92", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 97, "avg_line_length": 19.095238095238095, "alnum_prop": 0.7057356608478803, "repo_name": "accre/lstore", "id": "a10de3d78d20581637738d352d70f1c7ba721c56", "size": "998", ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "txdb.h" #include "walletdb.h" #include "bitcoinrpc.h" #include "net.h" #...
{ "content_hash": "5aa17f5199e8b464f32e87931711307e", "timestamp": "", "source": "github", "line_count": 1174, "max_line_length": 163, "avg_line_length": 39.19676320272573, "alnum_prop": 0.5685507529825934, "repo_name": "piecesofeight/Po8", "id": "cad28d473d0dc2bf33831a9465cd6051c2d984b7", "size": "...
<!DOCTYPE html> <html> <head> <title>Email</title> <meta about="Search Email content."/> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <...
{ "content_hash": "39449ec2cee575ef4a29c451fdbc20ee", "timestamp": "", "source": "github", "line_count": 220, "max_line_length": 159, "avg_line_length": 34.30909090909091, "alnum_prop": 0.5802861685214626, "repo_name": "wnijmeijer/jsui-custom-components", "id": "b3c60933f12dee313d5910b8a35b425d5f93ab3...
require 'redis-namespace' module Runlimited # This class is an implementation of a limiter which stores its # limit information in a Redis database class Redis < Base # The Redis key in which to store our last request info attr_reader :redis_key # When instanciating a new Redis limiter the user must provide ...
{ "content_hash": "03daad05bdd6393185da8fee374f1242", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 129, "avg_line_length": 30.36842105263158, "alnum_prop": 0.7001733102253033, "repo_name": "coderjoe/runlimited", "id": "0e17750d8768a94521997dab79b64f4e586743c5", "size": "...
"""Kubeflow Covertype Pipeline.""" import os from google_cloud_pipeline_components.aiplatform import ( AutoMLTabularTrainingJobRunOp, EndpointCreateOp, ModelDeployOp, TabularDatasetCreateOp, ) from kfp.v2 import dsl PIPELINE_ROOT = os.getenv("PIPELINE_ROOT") PROJECT = os.getenv("PROJECT") DATASET_SOU...
{ "content_hash": "0d1cf9157c3b0f39b9cd8d76a85c8f5d", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 74, "avg_line_length": 31.527272727272727, "alnum_prop": 0.7041522491349481, "repo_name": "GoogleCloudPlatform/asl-ml-immersion", "id": "3edb4e4b8a62e2dbd4656736eb36d8dd889f7...
package bapi import ( "errors" "fmt" "github.com/PuerkitoBio/goquery" "golang.org/x/text/encoding/charmap" "strings" "time" "unicode" ) type Card struct { } type Skipass struct { Plan string CardNumber string TicketNumber string PurchaseDate time.Time } func (c *Client) CardNumber(ticketNumber...
{ "content_hash": "ae78d54dbf677315b8a910007e61e602", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 96, "avg_line_length": 18.95897435897436, "alnum_prop": 0.6624289964836354, "repo_name": "blobor/skipass-api", "id": "fd26fecc0ebb434d1bf3c458d9a3dfb27fe9b3b6", "size": "3...
package org.apache.lucene.search.exposed; import com.ibm.icu.text.Collator; import junit.framework.TestCase; import org.apache.lucene.index.*; import org.apache.lucene.queryparser.classic.ParseException; import org.apache.lucene.search.exposed.compare.NamedCollatorComparator; import org.apache.lucene.search.exposed.co...
{ "content_hash": "60280331ce3ef4e6b411a3880736af87", "timestamp": "", "source": "github", "line_count": 349, "max_line_length": 113, "avg_line_length": 40.5243553008596, "alnum_prop": 0.6783567842749063, "repo_name": "statsbiblioteket/summa", "id": "4aa2ea51dc1a9c6dbc050c1b193cf8a4b5303acc", "size"...
'use strict';var constants_1 = require('./constants'); /** * Controls change detection. * * {@link ChangeDetectorRef} allows requesting checks for detectors that rely on observables. It * also allows detaching and attaching change detector subtrees. */ var ChangeDetectorRef = (function () { /** *...
{ "content_hash": "d56740915bc36bd7c39b07907ff22ec9", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 119, "avg_line_length": 37.473684210526315, "alnum_prop": 0.6657303370786517, "repo_name": "rehnen/potato", "id": "519e37c60e0c99f59e0d4a357e16f99f7e923aed", "size": "1424"...
package org.fsola.test.datastructures.hashtable; import org.fsola.datastructures.hashtable.DoubleHashingHashTable; import org.fsola.test.utils.Utils; import org.junit.Assert; import org.junit.Test; public class DoubleHashingHashTableTest { private static final int MAX = 2048; @Test public void testHash...
{ "content_hash": "d7f8b4a43b6b3c375a1406c7cece12d8", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 70, "avg_line_length": 29.7, "alnum_prop": 0.56998556998557, "repo_name": "dzhemriza/fsola", "id": "abe6f68d6264da8f774ca310dbeaac63c3dcc435", "size": "2738", "binary": f...
package com.dev4free.devbuy.mapper; import java.util.ArrayList; import com.dev4free.devbuy.po.Banner; public interface BannerMapper { /** * 查询banner上面需要显示的图片 * @return */ public ArrayList<Banner> bannerQuery(); /** * 添加banner上需要显示的图片的详情 * @param banner */ public void insertBannerDetail(Banner bann...
{ "content_hash": "77aece622f7de019de159bf077de74dc", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 47, "avg_line_length": 15.962962962962964, "alnum_prop": 0.7099767981438515, "repo_name": "siyadong1/DevBuy_Server_JAVA", "id": "f38a6f39b0c38d939c62967f9b7a414d48caac62", ...
/** * The simplest possible example of * Using Hibernate Query Language. * @author Peter Hendler 3/29/2008 */ package org.hl7.demo; import org.hibernate.classic.Session; import org.hibernate.tool.hbm2ddl.SchemaExport; import org.hl7.hibernate.Persistence; import org.hl7.rim.*; import org.hl7.rim.impl.*; import or...
{ "content_hash": "513a7c0a648ad7c8bbb3ac9a51bc4755", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 193, "avg_line_length": 26.517241379310345, "alnum_prop": 0.6339401820546163, "repo_name": "markusgumbel/dshl7", "id": "386f0b7d7045f346fee6167f055e1e4b64fbc411", "size": "...
import google from './auth.google'; import facebook from './auth.facebook'; var auths = { google:google, facebook:facebook } export default function(req,res,done){ auths[req.params.social](req,res,done); };
{ "content_hash": "57e55ab645bb3d4c298064f0bd7e1de8", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 43, "avg_line_length": 18.166666666666668, "alnum_prop": 0.7018348623853211, "repo_name": "tedqiao/ng2-admin", "id": "bcc485ff689d31d5ece92b098f624b464a778162", "size": "21...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_181-google-v7) on Tue Apr 16 11:16:22 PDT 2019 --> <title>QualifiedContent.ScopeType (Android Gradle API)</title> <meta name="date" content="20...
{ "content_hash": "928e3daa4f229792cba38cdaf2cb277b", "timestamp": "", "source": "github", "line_count": 255, "max_line_length": 391, "avg_line_length": 35.568627450980394, "alnum_prop": 0.6343991179713341, "repo_name": "google/android-gradle-dsl", "id": "5badece6720be52ab47733d2f36a916678168f39", "...
<?php header('Access-Control-Allow-Origin: *'); include_once('../login/checkUser.php'); if(!$user_ok || $userType != 'network'){ exit(); } /*------------------------------------------/ * Day Fetch * * Check to make sure the network is logged in. Search the "socials" table for entries that ha...
{ "content_hash": "f7cacb010fb62b1c532ce1476b64bbfd", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 120, "avg_line_length": 31.92896174863388, "alnum_prop": 0.5971247646756803, "repo_name": "brandon-bowslaugh/bitsubmit", "id": "b9c5340ae35b1f9082dee91146b27ee8a9f05e31", ...
package annis.visualizers.component.tree.backends.staticimg; import java.awt.Graphics2D; import java.awt.geom.Rectangle2D; public class GraphicsItemGroup extends AbstractImageGraphicsItem { @Override public Rectangle2D getBounds() { Rectangle2D r = new Rectangle2D.Double(); for (AbstractImageGraphicsItem c: g...
{ "content_hash": "9c6ec8821fadf28405216fcc810b1f4a", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 66, "avg_line_length": 20.64, "alnum_prop": 0.7344961240310077, "repo_name": "thomaskrause/ANNIS", "id": "3c0a7415bc3c166a7d57c120d597f78823c97ea9", "size": "1141", "bina...
package org.oulipo.browser.api; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @Target(TYPE) public @interface Scheme { String value(); }
{ "content_hash": "2a1d628a07e31c3a60c1df06a6f78e4c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 59, "avg_line_length": 21.714285714285715, "alnum_prop": 0.8026315789473685, "repo_name": "sisbell/oulipo", "id": "9888ed2bb8e62429175d74433c595c51e00086fc", "size": "1166"...
/* * File: RefineGame.h * Author: jan * * Created on December 10, 2013, 4:58 PM */ #ifndef REFINEGAME_H #define REFINEGAME_H #include "Configuracao.h" #include "Arena.h" #include "Componente.h" #include "Formula.h" typedef struct { Configuracao *origem; Configuracao::TransicaoConfig *destino; bool...
{ "content_hash": "c4de01dc32e7873d3f7bd117a599d646", "timestamp": "", "source": "github", "line_count": 193, "max_line_length": 91, "avg_line_length": 27.911917098445596, "alnum_prop": 0.6187117133840727, "repo_name": "pedmarq/kmts-repair", "id": "bbf90b8f1a6fb3d2a478c9990440ea5d49fb7ed5", "size": ...
/******************************************************************************* * @file battery.c * @author fgk * @version V3.4.0 * @date 08/04/12 ******************************************************************************** * @version history Description * ---------------- ----------- * v2.5.0 ...
{ "content_hash": "090069a12a6b004c76fb68a5374b04b7", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 82, "avg_line_length": 32.79365079365079, "alnum_prop": 0.4022265246853824, "repo_name": "tourajghaffari/tigerfid", "id": "db00aaa8264357130b130d63d5b082af73967a4f", "size"...
package org.appng.api; import java.io.File; import java.io.InputStream; import java.net.URL; import java.net.URLClassLoader; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.List; import org.apache.commons.io.IOUtils; import org....
{ "content_hash": "796691a80b41b7c2542aee9a1408a5e4", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 106, "avg_line_length": 38.66265060240964, "alnum_prop": 0.770645060766594, "repo_name": "appNG/appng", "id": "ea4a67478d5b95ba6ca678f1cfaef6e2f7af2f9c", "size": "3828", ...
""" Unit tests for the Hyper-V utils factory. """ import mock from oslo_config import cfg from neutron.plugins.hyperv.agent import utils from neutron.plugins.hyperv.agent import utilsfactory from neutron.plugins.hyperv.agent import utilsv2 from neutron.tests import base CONF = cfg.CONF class TestHyperVUtilsFactor...
{ "content_hash": "e6f0b58c38244776521d2149acd41967", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 73, "avg_line_length": 31.88888888888889, "alnum_prop": 0.7134146341463414, "repo_name": "rdo-management/neutron", "id": "5ded54d11472cfed171988250221a77df71d59db", "size":...
'use strict'; var Promise = require('bluebird/js/release/promise')(); Promise.config({ cancellation: true, /*warnings: true, monitoring: true, longStackTraces: true*/ }); module.exports = Promise;
{ "content_hash": "310887bcff0fa383aad1e33c6e366992", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 55, "avg_line_length": 18, "alnum_prop": 0.6666666666666666, "repo_name": "oleksiyk/kafka", "id": "00807f5c952a8a6a0f80054ed1b0e3ae5622e31e", "size": "216", "binary": fal...
/* Home */ #home-content { padding: 0; } #article-pagination { padding: 25px 0 0 0; } /* Article */ #article-post-options { padding: 25px 10px; } #submission-buttons a { width: 100%; color: #fff; display: block; padding: 12px 0; margin: 1rem 0; font-weight: 600; text-transform: uppercase; } .ret...
{ "content_hash": "8c3873541411648f125f519f504eb4db", "timestamp": "", "source": "github", "line_count": 752, "max_line_length": 112, "avg_line_length": 16.227393617021278, "alnum_prop": 0.6727853806441039, "repo_name": "PLOS/wombat", "id": "4c2d1e15317b2aafd98d9b28ade55fc4e688b542", "size": "12203"...
package server import ( "context" "crypto/tls" "fmt" "net" "net/http" "time" "golang.org/x/net/http2" "k8s.io/klog" utilruntime "k8s.io/apimachinery/pkg/util/runtime" "k8s.io/apiserver/pkg/server/dynamiccertificates" ) const ( defaultKeepAlivePeriod = 3 * time.Minute ) // tlsConfig produces the tls.Co...
{ "content_hash": "2edbb2b5048c2f1dbcf159c402a7b7bc", "timestamp": "", "source": "github", "line_count": 237, "max_line_length": 143, "avg_line_length": 33.345991561181435, "alnum_prop": 0.7259268632165, "repo_name": "mkumatag/origin", "id": "262f3ad90fcc780529123a4c8ed02616f530aea3", "size": "8472"...
<?php namespace Magento\Setup\Test\Unit\Controller; use \Magento\Setup\Controller\SystemConfig; class SystemConfigTest extends \PHPUnit_Framework_TestCase { /** * @covers \Magento\Setup\Controller\SystemConfig::indexAction */ public function testIndexAction() { /** @var $controller Sys...
{ "content_hash": "4553137d4e12169551e82315a08031c5", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 73, "avg_line_length": 26.571428571428573, "alnum_prop": 0.6702508960573477, "repo_name": "florentinaa/magento", "id": "94404e2e70fedf794db50b5460f3ce25a542d805", "size": "...
@interface GADFBBannerRenderer () <GADMediationBannerAd, FBAdViewDelegate> @end @implementation GADFBBannerRenderer { // The completion handler to call when the ad loading succeeds or fails. GADMediationBannerLoadCompletionHandler _adLoadCompletionHandler; // Ad Configuration for the ad to be rendered. GADMe...
{ "content_hash": "7ad8eaf3940fb5e5cb09de0fd6b5a340", "timestamp": "", "source": "github", "line_count": 131, "max_line_length": 100, "avg_line_length": 34.61068702290076, "alnum_prop": 0.7298191442434936, "repo_name": "googleads/googleads-mobile-ios-mediation", "id": "854280265e5c8cc9e7c5fae626506cb0...
title: I applied to the SGF last year, but was not accepted. Will my application be given special consideration? published: True tags: [small_grants_fund] categories: [faqs] layout: post --- <div class="content"> <p> No. All applications will be reviewed against the same criteria. However, we encourage previou...
{ "content_hash": "9cba6cfc1db10b1aae3877c0f0b6fcca", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 112, "avg_line_length": 29.75, "alnum_prop": 0.7338935574229691, "repo_name": "Vizzuality/gfw-howto", "id": "dd5a2627fe2d2ce41eb71612b367a32a7f75f447", "size": "361", "bi...
package fixio.fixprotocol; import java.util.ArrayList; import java.util.List; /** * Represents a sequence of {@link Group}s prepended with tag of type {@link DataType#NUMINGROUP}. */ public class GroupField implements FixMessageFragment<List<Group>> { private static final int DEFAULT_SIZE = 2; private fi...
{ "content_hash": "e4d7e16bb9a2a209b69bf59173fd1879", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 144, "avg_line_length": 23.28301886792453, "alnum_prop": 0.6231766612641815, "repo_name": "loriopatrick/fixio", "id": "e10415aae7ae26ff2049544adb48123e8f88b319", "size": "1...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "72de4cf8b25a4cd4b71b8781c866e102", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "5e61064cd0241933f201bfeadaa4bf3b18a729e0", "size": "176...
<h1> Обработка ошибок </h1> <hr /> <p> Обработка ошибок в Yii отличается от обработки ошибок в простом PHP. Прежде всего, Yii будет преобразовывать все не фатальные ошибки в исключения. Поступая таким образом, вы можете корректно обрабатывать их с помощью try-catch. Во-вторых, даже фатальные ошибки в Yii показы...
{ "content_hash": "8c4a55921028f0d5dc85425c2a5db3eb", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 436, "avg_line_length": 38.44047619047619, "alnum_prop": 0.6971198513471663, "repo_name": "Zhanat1987/yii2advanced", "id": "35be005fcdd17abf362a3623c7058413ba00c49e", "size...
package org.gradle.test.performance.mediummonolithicjavaproject.p478; public class Production9573 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
{ "content_hash": "e39e386d28c550d47f79ed70671baf11", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 69, "avg_line_length": 18.00952380952381, "alnum_prop": 0.6171337916446324, "repo_name": "oehme/analysing-gradle-performance", "id": "d866f8340065801d307042917eafe2ab3500a93...
$(function() { var videoPlayer = $('video'); videoPlayer.on("loadstart", function() { //after load append the cross origin header. This is required since the subtitles are from a different domain. videoPlayer.attr("crossorigin", "anonymous"); videoPlayer.attr("crossOrigin", "anonymous");...
{ "content_hash": "3123495cd07e7f74bcff7d666e7c1067", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 149, "avg_line_length": 58.083333333333336, "alnum_prop": 0.6685796269727403, "repo_name": "dotsub/api-samples", "id": "88fc267c0f2b12e75ce474b4b70d94cf89284ee0", "size": "...
<head> <title>ATMOS 2013 | BITS Pilani Hyderabad Campus</title> <link href="./css/style.css" type="text/css" rel="Stylesheet"> <link rel="Stylesheet" type="text/css" href="css/evoslider.css" /> <link rel="Stylesheet" type="text/css" href="css/default/default.css" /> <link href="easyaula.css" media="screen" rel="styl...
{ "content_hash": "827a21bdc28a5aee096dc6c54e77c158", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 235, "avg_line_length": 29.69333333333333, "alnum_prop": 0.6852267624607095, "repo_name": "nilayanahmed/atmos2013", "id": "4f936b5a2308b730108d955e382e41c4745befba", "size"...
export const ADD_HISTORY = 'ADD_HISTORY';
{ "content_hash": "ba453ae2591057bcd31257be5192be5d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 41, "avg_line_length": 42, "alnum_prop": 0.7380952380952381, "repo_name": "lyrictenor/nwjs-emoji-app", "id": "19fd3514d55cf0992453361805e6400c2dd74e85", "size": "42", "bin...
<?xml version="1.0"?> <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> <service_bundle type="manifest" name="zsnapper"> <service name="site/zsnapper" type="service" version="1"> <create_default_instance enabled="true"/> <single_instance/> <dependency name="filesystem" grouping="req...
{ "content_hash": "4a82df6c61bac3ca70f33c3d08aba032", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 115, "avg_line_length": 34.6, "alnum_prop": 0.6952931461601982, "repo_name": "calmh/zsnapper.old", "id": "3d7d99e770c25c34ff7fa5d591978d3cf4fbb4e9", "size": "1211", "bina...
#ifndef INCLUDED_Main #define INCLUDED_Main #ifndef HXCPP_H #include <hxcpp.h> #endif #include <openfl/_v2/display/Sprite.h> HX_DECLARE_CLASS0(CategoryChoose) HX_DECLARE_CLASS0(CategoryOne) HX_DECLARE_CLASS0(Main) HX_DECLARE_CLASS0(StartScreen) HX_DECLARE_CLASS3(openfl,_v2,display,DisplayObject) HX_DECLARE_CLASS3(ope...
{ "content_hash": "8b0c11f7807ce9b979d8c5b2d2a98981", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 83, "avg_line_length": 28, "alnum_prop": 0.7284798534798534, "repo_name": "Mattue/MathSpin", "id": "8fcb7a7ca74628bd9391dd8178c7aa661013ca6a", "size": "2184", "binary": f...
class Cms::Page < ActiveRecord::Base belongs_to :user belongs_to :layout has_one :template has_and_belongs_to_many :sections, :class_name => 'Cms::Section' # TODO: class_name shouldn't be required above # It is since migration to rails 4.1.1 ? Investigate this. end
{ "content_hash": "aecd3fd4f0b264153cbad4b8678cb296", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 66, "avg_line_length": 34.75, "alnum_prop": 0.7122302158273381, "repo_name": "arek2k/seleya", "id": "90f89db1204ee9033d4f79d33c48518ef4c5360b", "size": "278", "binary": fa...
Meteor._MethodInvocation = function (options) { var self = this; // true if we're running not the actual method, but a stub (that is, // if we're on a client (which may be a browser, or in the future a // server connecting to another server) and presently running a // simulation of a server-side method for l...
{ "content_hash": "47ae7d3fa3566c18c55e88b56b3c7641", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 72, "avg_line_length": 37.07692307692308, "alnum_prop": 0.7145228215767635, "repo_name": "vokal/pad", "id": "323dda5baf68a00fb3c13b7aeac1e161ca5d538a", "size": "2430", "b...
typedef enum { TTNavigationModeNone, TTNavigationModeCreate, // a new view controller is created each time TTNavigationModeShare, // a new view controller is created, cached and re-used TTNavigationModeModal, // a new view controller is created and presented modally TTNavigationModePopove...
{ "content_hash": "26100b9d70222b8926310e2915799fa6", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 93, "avg_line_length": 59.125, "alnum_prop": 0.7505285412262156, "repo_name": "Lede-Inc/LDBusBundle_IOS", "id": "23fa497df395b391a9d9aa57043d2861a112919b", "size": "567", ...
layout: model title: Arabic ElectraForQuestionAnswering model (from wissamantoun) author: John Snow Labs name: electra_qa_ara_base_artydiqa date: 2022-06-22 tags: [ar, open_source, electra, question_answering] task: Question Answering language: ar edition: Spark NLP 4.0.0 spark_version: 3.0 supported: true annotator: B...
{ "content_hash": "da986e3b7a8eaa4d6acf87a16141da81", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 222, "avg_line_length": 30.881720430107528, "alnum_prop": 0.7534818941504178, "repo_name": "JohnSnowLabs/spark-nlp", "id": "a5c9f4d78af97f0f9d5f150e2c65867321285ff3", "size...
package com.intellij.java.codeInsight.completion; import com.intellij.JavaTestUtil; import com.intellij.codeInsight.completion.LightCompletionTestCase; import org.jetbrains.annotations.NotNull; public class DotCompletionTest extends LightCompletionTestCase { @NotNull @Override protected String getTestDataPath()...
{ "content_hash": "f3ca160d96d58cd0f997688158d3ddcd", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 79, "avg_line_length": 25.270588235294117, "alnum_prop": 0.6959962756052142, "repo_name": "leafclick/intellij-community", "id": "cca40c45672f06cf37dc78557087ebe983440427", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "8149e7e3652f004664088ce4ba1f5e21", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "968eadf57d41965ba7f2ecbb3a05dfb43e4642bc", "size": "184...
class UpdatePivotalWorker include Sidekiq::Worker def perform(story_id) story = Story.find(story_id) Pivotal.new(id: story.pid, project_id: story.board.project_id).update_remote end end
{ "content_hash": "e024dbc86f42beb2b7a84f206334357d", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 80, "avg_line_length": 25.125, "alnum_prop": 0.736318407960199, "repo_name": "JohnBernas/flow", "id": "2b4c03ae1d6bf2f7628ce62c529edb400c483e02", "size": "201", "binary": ...
namespace content { // This is a singleton class, used to get Audio/Video devices, it must be // called in UI thread. class CONTENT_EXPORT MediaCaptureDevices { public: // Get signleton instance of MediaCaptureDevices. static MediaCaptureDevices* GetInstance(); // Return all Audio/Video devices. virtual con...
{ "content_hash": "773974b22aa55f51239f1b6ba895ee88", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 73, "avg_line_length": 31.925925925925927, "alnum_prop": 0.759860788863109, "repo_name": "nwjs/chromium.src", "id": "525d1cdc2a9e619335e1dd2a4c2f4803a6137f97", "size": "127...
package org.apache.giraph.aggregators.matrix; import org.apache.giraph.aggregators.AggregatorUsage; import org.apache.giraph.master.MasterAggregatorUsage; import org.apache.giraph.worker.WorkerAggregatorUsage; /** * The int matrix aggregator is used to register and aggregate int matrices. */ public class IntMatri...
{ "content_hash": "8f99a6660c5444f827f74dece46b91c2", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 77, "avg_line_length": 29.952380952380953, "alnum_prop": 0.6939586645468998, "repo_name": "renato2099/giraph-gora", "id": "b7afa60655071bec9cd963259632d6b54d6ff06b", "size"...
#pragma strict public var points : int = 5; public var pickedUpBy : String = "Player"; function OnTriggerEnter2D(other : Collider2D) { if ( other.CompareTag(pickedUpBy) ) { Debug.Log("Coins! Worth " + points + " points!"); Destroy(gameObject); } }
{ "content_hash": "8f893f1c42d4918f93eba23052466d63", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 51, "avg_line_length": 15.352941176470589, "alnum_prop": 0.6704980842911877, "repo_name": "mcgeehancoding/Bounce_Game", "id": "c3f27f0c9ede21bc9c2118c9e2459fe12813c027", "s...
"""Utilities for saving and loading program state in a federated program.""" import abc from typing import Any, Optional class ProgramStateManagerStateAlreadyExistsError(Exception): pass class ProgramStateManagerStateNotFoundError(Exception): pass class ProgramStateManagerStructureError(Exception): pass ...
{ "content_hash": "8a32e382a082bd883ce0ae763c357b5b", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 80, "avg_line_length": 33.62222222222222, "alnum_prop": 0.716787838730998, "repo_name": "tensorflow/federated", "id": "baad4bd53427df40e2fdb80a2457e51fdbcff3b7", "size": "3...
var pick = require('object.pick'); /** * Sanitize the parameter into a more reusable object. * * @param {Object} parameter * @return {Object} */ var sanitizeParameter = function (parameter) { var obj = pick(parameter, [ 'displayName', 'type', 'enum', 'pattern', 'minLength', 'maxLength',...
{ "content_hash": "316c6a9e498dd60a860993c5ab473b44", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 71, "avg_line_length": 19.75925925925926, "alnum_prop": 0.6251171508903468, "repo_name": "M3lkior/gravitee-management-webui", "id": "35e046da8b2a7a4d6adfe98eb2af45be78899c5d"...
// 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.Framework.Graphics.UserInterface; using osu.Game.Graphics.UserInterface; namespace osu.Game.Overlays.Settings { pu...
{ "content_hash": "0e5e871b4b3a5de9cf7ba65fc19db006", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 92, "avg_line_length": 30.36, "alnum_prop": 0.6231884057971014, "repo_name": "nyaamara/osu", "id": "beb2bdf6452eef978eb73618542805a63e974453", "size": "761", "binary": fa...
title: Pelatihan FrontLine SMS untuk Website ALDP date: 2012-02-28 categories: - laporan - Aldepe.com- Advokasi Hak Asasi Manusia (HAM) di Papua Via Media Online, Mobile Phone dan Social Media --- ![200px-Februari_28_2011_ALDP_Pelatihan_Frontline_SMS.JPG](/uploads/200px-Februari_28_2011_ALDP_Pelatihan_Frontline_SMS.JPG...
{ "content_hash": "182383630bb02e77059e2e3b4ffab74b", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 158, "avg_line_length": 30.565217391304348, "alnum_prop": 0.7439544807965861, "repo_name": "RioSatria/ciptamedia", "id": "4c9149e84f06ca0a97c7828231b338f34dba98bc", "size":...
package com.netflix.governator.guice.concurrent; import java.util.Map; import java.util.Set; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.annotation.PostConstruct; import javax.inject.Inject; import javax.inject.Provider; import javax.inject.Singleton; import j...
{ "content_hash": "7dffe0b6af19c51e2439df8ab331616a", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 113, "avg_line_length": 35.64324324324324, "alnum_prop": 0.6282984531392175, "repo_name": "skinzer/governator", "id": "6051450c975357d38a691ef8c31e99d3f2f59968", "size": "...
git clone https://github.com/swagger-api/swagger-ui.git
{ "content_hash": "2be973f83565f5c71cdf015fc5a91ba4", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 55, "avg_line_length": 56, "alnum_prop": 0.7857142857142857, "repo_name": "obdobriel/gab-php", "id": "ae19635dc1f4eeb0a68252d813cca2295cd48fe1", "size": "191", "binary": f...
export function mget(...keys: Array<string>) { return keys.map(key => (this.data.has(key) ? this.data.get(key) : null)); }
{ "content_hash": "2b692489076f468e7e1d9d769335bf42", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 75, "avg_line_length": 41.666666666666664, "alnum_prop": 0.648, "repo_name": "nileshmali/ioredis-in-memory", "id": "7a5e02c23eebb51b54a8de73a9bc5b20e325d44a", "size": "125",...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "c440dcde0efc5dff4d5689bf63b3a1c3", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "911f40ddd7e3a9dc8e4a5cfdecdb3299888e9743", "size": "185...
(function() { JsBarcode = function(image, content, options) { var merge = function(m1, m2) { var newMerge = {}; for (var k in m1) { newMerge[k] = m1[k]; } for (var k in m2) { newMerge[k] = m2[k]; } return newMerge; }; //Merge the user options with the default options = merge(JsBarcode...
{ "content_hash": "e8df10ea8aa07cf759fe8de410bc2e4b", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 81, "avg_line_length": 28.54736842105263, "alnum_prop": 0.6423303834808259, "repo_name": "DavidHe1127/VisitorValidation", "id": "fc4146a54b434cb78eac9953ad3db218d8fe1cc9", ...
<?php /** * PHP version 7.1 * * This source file is subject to the license that is bundled with this package in the file LICENSE. */ namespace ComPHPPuebla\Fixtures; trait ProvidesConnections { function databaseConnections(): array { return [ 'SQLite' => [new SQLiteConnectionFactory()],...
{ "content_hash": "58a1c12ffb880a1656baa2d88ad47997", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 100, "avg_line_length": 21.944444444444443, "alnum_prop": 0.6253164556962025, "repo_name": "ComPHPPuebla/dbal-fixtures", "id": "95b7bdb10992ea756d6c9cace41f0318764aa3ec", "...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.knowm.xchange</groupId> <artifactI...
{ "content_hash": "f0c787ef1166a5d190bf18b11f067e95", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 204, "avg_line_length": 34.25714285714286, "alnum_prop": 0.6296914095079232, "repo_name": "stachon/XChange", "id": "94952af1a05d11246966d2ef7d48743cdbb9b504", "size": "1199...
RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.filter_run :focus config.run_all_when_everything_filtered = true ...
{ "content_hash": "ce2397e9116eb8b4019e4b6690219ddc", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 77, "avg_line_length": 28.346153846153847, "alnum_prop": 0.7327001356852103, "repo_name": "GHolmes04/rails_api_testing", "id": "1924ada04e3914b7a970d46bf16cec891906f173", "...
CREATE FUNCTION get_articulo_detalle(bigint) RETURNS SETOF refcursor LANGUAGE plpgsql AS $_$ BEGIN DECLARE cur_articulos refcursor; DECLARE cur_categoria refcursor; DECLARE cur_comentarios refcursor; BEGIN OPEN cur_articulos FOR SELECT * FROM articulos WHERE artid = $1; RETURN NEXT cur_articulos; OPEN...
{ "content_hash": "57ee8d7770647dd7cf4ec694d64f894f", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 69, "avg_line_length": 21.555555555555557, "alnum_prop": 0.7525773195876289, "repo_name": "Jesus-Gonzalez/jeecommerce", "id": "d54f760f450dbf6e519693cb4b54c2ece8da3d18", "s...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/CropMaster.iml" filepath="$PROJECT_DIR$/CropMaster.iml" /> <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> ...
{ "content_hash": "e6e680b08a68ac3fe740c785d47a4475", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 102, "avg_line_length": 45.8, "alnum_prop": 0.6615720524017468, "repo_name": "doomchocolate/crop-master", "id": "9d738380e3ce26670ce8fca83db558f1c56f0cdd", "size": "458", ...
var gulp = require('gulp'), gutil = require('gulp-util'), clean = require('gulp-clean'), header = require('gulp-header'), rename = require('gulp-rename'), uglify = require('gulp-uglify'), stylus = require('gulp-stylus'), autoprefixer = require('gulp-autoprefixer'), csso = require('gulp-csso'), jade = ...
{ "content_hash": "848e3bee8ab41f36b98e422383c1ce52", "timestamp": "", "source": "github", "line_count": 120, "max_line_length": 83, "avg_line_length": 32.15, "alnum_prop": 0.5977190254017626, "repo_name": "cedced19/bespoke-theme-greeny", "id": "3d97b81e0e7c943622fdae12bbbf50e7b0e91f9a", "size": "38...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>mathcomp-multinomials: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootst...
{ "content_hash": "a5744d790cf9ee8c2c819c5722aa1700", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 157, "avg_line_length": 42.18181818181818, "alnum_prop": 0.5505118534482759, "repo_name": "coq-bench/coq-bench.github.io", "id": "76c3b9ba3473bcf10dc262f1b4dd70eef82601ef", ...
JSON.stringify({ "name": document.querySelector("#sidebar_content h2 bdi").textContent, "point": document.querySelector(".details.geo a").textContent.split(", ").map(function(value){ return Number(value); }) })
{ "content_hash": "c180fe1b91e6f83c1ce78cc16a382f29", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 98, "avg_line_length": 38.5, "alnum_prop": 0.6666666666666666, "repo_name": "FirstDraftGIS/firstdraftgis-chrome-extension", "id": "966ef8b7caf532dd5f2cdf279360bfc464184b64", ...
FactoryBot.define do factory :user do sequence(:email) { |n| "john+#{ n }@doe.com" } sequence(:username, 'a') { |n| "john_#{ n }" } trait :activated do after(:create) do |user| user.activate! end end trait :inactive do # nothing on purpose end trait :password_r...
{ "content_hash": "e2896567175605ca5ea712cc475c3c9c", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 54, "avg_line_length": 19.75, "alnum_prop": 0.5759493670886076, "repo_name": "marienfressinaud/lessy", "id": "c2c4e8b772de7380a752cf1329e5e20cfbc444a2", "size": "474", "b...
ActiveRecord::Schema.define do create_table :aliases, force: true do |t| t.text :source_path, limit: 2.kilobytes # Max IE url length t.text :target_path, limit: 2.kilobytes t.references :source, polymorphic: true, index: true t.references :target, polymorphic: true, index: true t.string :handler ...
{ "content_hash": "df0f637cdf607f0ae2248a8dd16c5d6e", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 63, "avg_line_length": 34.92857142857143, "alnum_prop": 0.7014314928425358, "repo_name": "combinaut/director", "id": "e2328a1d1668a8cff3c1c9508cbe64016b954475", "size": "48...
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>TextArea - ScalaTest 2.1.1 - org.scalatest.selenium.WebBrowser.TextArea</title> <meta name="description" content="TextArea - ScalaTest...
{ "content_hash": "cfce96425830e83581d7383bc32107de", "timestamp": "", "source": "github", "line_count": 658, "max_line_length": 482, "avg_line_length": 61.723404255319146, "alnum_prop": 0.62490766730684, "repo_name": "scalatest/scalatest-website", "id": "0047549930ae14c53e33832426153066c64213f4", "...
ActiveRecord::Schema.define(version: 20160907133521) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" create_table "donut_ratings", force: :cascade do |t| t.integer "user_id" t.integer "donut_id" t.integer "donut_shop_id" t.integer "...
{ "content_hash": "7aaa29d6da4eacd9fdacf2b5646152ff", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 79, "avg_line_length": 28.285714285714285, "alnum_prop": 0.6190476190476191, "repo_name": "CorainChicago/DonutDatabase", "id": "5381dbfed828b80ee1b5b505dfed93d64454fea4", "...
package org.op4j.operators.intf.list; import java.util.List; import org.op4j.functions.IFunction; import org.op4j.operators.qualities.ExecutableSelectedOperator; import org.op4j.operators.qualities.ReplaceableOperator; import org.op4j.operators.qualities.SelectedElementsOperator; import org.op4j.operators.qualities....
{ "content_hash": "a7504edc400bedbb674d28c260025d6a", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 114, "avg_line_length": 25.75, "alnum_prop": 0.7464940668824164, "repo_name": "op4j/op4j", "id": "d712ce96f10202c2040c003b0356e9d7c6a71b2a", "size": "1743", "binary": fal...
@interface PHNTransactionInterceptor () @property(nonatomic, strong) PHNMeasurementService *measurementService; @property(nonatomic, strong) NSMutableDictionary<NSString *, SKProduct *> *products; @end @implementation PHNTransactionInterceptor - (instancetype) initWithTransactionObserver:(id<SKPaymentTransactionObs...
{ "content_hash": "0c4c955255f45c95f4e7aa5ba2740478", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 207, "avg_line_length": 40.12987012987013, "alnum_prop": 0.7391585760517799, "repo_name": "PerformanceHorizonGroup/measurementkit-cocoapod", "id": "28a69f31e381f229122fa9333d...
#ifndef SVGElement_h #define SVGElement_h #include "core/CoreExport.h" #include "core/SVGNames.h" #include "core/dom/Element.h" #include "core/svg/SVGParsingError.h" #include "core/svg/properties/SVGPropertyInfo.h" #include "platform/heap/Handle.h" #include "wtf/HashMap.h" #include "wtf/OwnPtr.h" namespace blink { ...
{ "content_hash": "4df7db8879bf6f1b1e2c2b9760923448", "timestamp": "", "source": "github", "line_count": 266, "max_line_length": 157, "avg_line_length": 38.39473684210526, "alnum_prop": 0.7626554391461863, "repo_name": "zero-rp/miniblink49", "id": "c21378c95f94a4a11f00e542286d3dc82f4f6e53", "size": ...
<!DOCTYPE html> <html class="no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Place favicon.ico a...
{ "content_hash": "c378684e244ac4725226cab57411cbf5", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 184, "avg_line_length": 31.438524590163933, "alnum_prop": 0.6535001955416504, "repo_name": "conif1/pantson", "id": "e63011aa42209a1974eed5bb798406592742dc88", "size": "767...
<?php namespace agentecho\datastructure; /** * @author Patrick van Bergen */ class RelationTemplate extends Relation { public function __toString() { return '{{ ' . $this->arguments[0] . ' }}'; } }
{ "content_hash": "d713424379e06c99b4ca573765a9fc1e", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 45, "avg_line_length": 14.785714285714286, "alnum_prop": 0.6473429951690821, "repo_name": "garfix/echo", "id": "a982fdda689312babfdd37a0f306ce827833534c", "size": "207", ...