text
stringlengths
2
1.04M
meta
dict
class Shift < ActiveRecord::Base belongs_to :user end
{ "content_hash": "fd23275cf1d423cfe4086554a641534e", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 32, "avg_line_length": 14.25, "alnum_prop": 0.7368421052631579, "repo_name": "abeaclark/easychat_backend", "id": "ebb7b773436aadc887ad4108716a9bdde5e10c2f", "size": "57", ...
require 'rails_helper' module ReportingPeriod describe QuarterToDate do let!(:apr_1) { Date.new(2003, 4, 1) } let!(:jun_30) { Date.new(2003, 6, 30) } context '#initialize' do it 'works on first day of quarter' do Timecop.freeze(apr_1) do quarter_to_date = described_class.new ...
{ "content_hash": "15e621e3830c0f6d77a92ec7f3dbef6f", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 66, "avg_line_length": 26.866666666666667, "alnum_prop": 0.6029776674937966, "repo_name": "ministryofjustice/correspondence_tool_staff", "id": "d5e2980df75d432e75cca3f3a09013...
CREATE TABLE kagaribi_player ( id varchar(100) collate utf8_unicode_ci default NULL, name varchar(10), PRIMARY KEY (id) ) ENGINE=InnoDB; CREATE TABLE kagaribi_ranking ( player_id varchar(100) collate utf8_unicode_ci default NULL, score int default NULL, time datetime default '0000-00-00 00:00:00', PRIMARY KEY ...
{ "content_hash": "a6b49870d53cae65712ad0225d635340", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 61, "avg_line_length": 27.666666666666668, "alnum_prop": 0.7469879518072289, "repo_name": "setchi/kagaribi", "id": "99251e1accea62206eecb8f220ff5e5e1cfbbf8a", "size": "416"...
POMDOG_SUPPRESS_WARNINGS_GENERATED_BY_STD_HEADERS_BEGIN #include <memory> POMDOG_SUPPRESS_WARNINGS_GENERATED_BY_STD_HEADERS_END namespace pomdog::gui { class PopupMenu final : public Widget , public std::enable_shared_from_this<PopupMenu> { public: explicit PopupMenu(const std::shared_ptr<UIEventDispatche...
{ "content_hash": "32bc7237b0099a3130679e3d193ac104", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 82, "avg_line_length": 25.951219512195124, "alnum_prop": 0.7462406015037594, "repo_name": "mogemimi/pomdog", "id": "1c8b0726cc71e0467806de3bdbd1946e0ac4ac01", "size": "2572...
using System.Web.Http; using ServiceBridge.UnitTests.WebApp.Components; namespace ServiceBridge.UnitTests.WebApp { public class LifetimeController: ApiController { public string Get(string container) { Helper.InitializeServiceContainer(container); ServiceConta...
{ "content_hash": "768234d9f1854cfee0a1793c3521ff41", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 90, "avg_line_length": 29.9, "alnum_prop": 0.6042363433667781, "repo_name": "edwardmeng/wheatech.ServiceModel", "id": "c57e8f227391e29bb579be3784342614e3714da8", "size": "8...
package com.arrggh.eve.api.sde.model.tournaments; import com.arrggh.eve.api.sde.model.BasicModelObjectValidation; public class TournamentPointsTest extends BasicModelObjectValidation<TournamentPoints> { protected Class<TournamentPoints> getClassUnderTest() { return TournamentPoints.class; } protected Tourn...
{ "content_hash": "7132d91b5a540a8b53ad81fbd02a17ba", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 88, "avg_line_length": 30.785714285714285, "alnum_prop": 0.8074245939675174, "repo_name": "WanderingMonk/eve-industrial", "id": "2d4d0849a6800ce4a954588f825699de00f9a9fd", ...
%Make and save the boxplot figures for each parameter threshold=BOXT; cd .. cd .. %Loop through parameters for parcol=1:size(pars,2) %Grab the raw parameter values partemp=pars(:,parcol); %make a place to store the results parvals=[]; ...
{ "content_hash": "bbefea1f9a4da9f4e4e510d4d6b4484f", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 88, "avg_line_length": 28.894736842105264, "alnum_prop": 0.4586520947176685, "repo_name": "WardHydroLab/OTIS-MCAT", "id": "9a28737e74507c92f0c3deae6b1702a559a37fe8", "size"...
package org.springframework.boot.actuate.autoconfigure; import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import java.util.Collections; import java.util.List; import ...
{ "content_hash": "84dff4de62201b6c3ecb6b1fa8ef81f3", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 94, "avg_line_length": 35.95151515151515, "alnum_prop": 0.8137221847606204, "repo_name": "neo4j-contrib/spring-boot", "id": "cbd38d637f959d74f339faa38dd73a9403e3cca1", "si...
#ifndef itkThinPlateSplineKernelTransform_h #define itkThinPlateSplineKernelTransform_h #include "itkKernelTransform.h" namespace itk { /** \class ThinPlateSplineKernelTransform * This class defines the thin plate spline (TPS) transformation. * It is implemented in as straightforward a manner as possible from * t...
{ "content_hash": "1ae65eb1f737c136d0c998f6da8e499e", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 106, "avg_line_length": 38.233333333333334, "alnum_prop": 0.7271142109851787, "repo_name": "CIBC-Internal/itk", "id": "e9cacc83f578605e6035a167bcc4e87b867804fd", "size": "4...
require_relative 'untappd_helper' # # The +DistinctBeers+ object acts as a helper class for pulling and managing # user information from the Untappd service. # class BeerHelper include UntappdHelper BEER_SEARCH_METHOD = "user/beers/" # # This method will return a limited list of the user's distinct ...
{ "content_hash": "31e3cb88bb98843e969dc1e5ef019f25", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 77, "avg_line_length": 28.175, "alnum_prop": 0.6379769299023957, "repo_name": "Jtfinlay/BrewClub", "id": "fb8cc066319ed6a3bc72f1f53a5b7de0acc1c19c", "size": "1240", "bina...
<?php namespace fur\bright\utils; /** * This class does some arbitrary work to prevent some basic vulnerabilities * in PHP and / or libraries. * Call this in every class, or include library/Bright/Bright.php * @author ids * */ class Security { public static function init() { if(function_exists('libxml_disab...
{ "content_hash": "6aa02ee3868735b44d6887f3b3ea46a5", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 76, "avg_line_length": 22.529411764705884, "alnum_prop": 0.7180156657963447, "repo_name": "rsids/bright_api", "id": "d729e0c505a387b173f0369833e4f78acac3a9f1", "size": "383...
"""Recursive imports""" import inspect_recursive # Importing self, should get ignored class Foo: """A class""" from . import first # Importing a module twice, only one of them should be picked from . import second as b from . import second as a def foo() -> b.Bar: """Function that returns Foo""" def bar()...
{ "content_hash": "4a752ea26226648eec00a208313becfd", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 61, "avg_line_length": 20.666666666666668, "alnum_prop": 0.6720430107526881, "repo_name": "mosra/m.css", "id": "a512bbb20e499c76b493812aef42cce57275e8fb", "size": "372", ...
#ifndef NET_IF_H #define NET_IF_H /* * Send uip_len bytes from uip_buf to the network interface selected by the * configNETWORK_INTERFACE_TO_USE constant (defined in FreeRTOSConfig.h). */ void vNetifTx( void ); /* * Receive bytes from the network interface selected by the * configNETWORK_INTERFACE_TO_USE co...
{ "content_hash": "a44786e0af5cfd4836ba16c3b7c9bc4f", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 78, "avg_line_length": 29.14814814814815, "alnum_prop": 0.7293519695044473, "repo_name": "kasperdokter/Reo", "id": "9ff42473a873a1d1bd0211176d0bba94fc9580c8", "size": "4613...
package com.liying.ipgw.model; /** * ======================================================= * 作者:liying - liruoer2008@yeah.net * 日期:2015/12/06 12:45 * 版本:1.0 * 描述:用户帐户实体类 * 备注: * ======================================================= */ public class AccountInfo { private String userName = nul...
{ "content_hash": "056afdaf809a587989b40a918666a0a3", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 64, "avg_line_length": 21.06779661016949, "alnum_prop": 0.5470635559131134, "repo_name": "liying2008/neu-ipgw", "id": "36d501f333bdbce88af6b5c7fb79efb22a8eb2b5", "size": "1...
<?php /** * Return the full URL of the current page. * * @return string The URL * @todo Combine / replace with current_page_url(). full_url() is based on the * request only while current_page_url() uses the configured site url. * @deprecated 1.9 Use current_page_url() */ function full_url() { elgg_deprecated_n...
{ "content_hash": "4a40e47e1ed4aa2613821d8d7c10c351", "timestamp": "", "source": "github", "line_count": 3827, "max_line_length": 149, "avg_line_length": 30.38907760648027, "alnum_prop": 0.6560675500219263, "repo_name": "Grupo15HxH/HxH", "id": "897e4d15548156a1b823f6b410039a12ed5cda15", "size": "116...
package pe.com.equifax.informa.web.adms.services; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.servlet.http.HttpServletReq...
{ "content_hash": "d0a86a9cbf3f880e05e9b4d7bf1993b3", "timestamp": "", "source": "github", "line_count": 670, "max_line_length": 132, "avg_line_length": 31.15223880597015, "alnum_prop": 0.6277788424683787, "repo_name": "gcorreageek/equifax", "id": "faf5275048dc993c00ebc6923c5cedf87f95dfb3", "size": ...
package com.dottydingo.hyperion.core.endpoint.status; import com.dottydingo.service.endpoint.status.EndpointStatus; import java.util.concurrent.atomic.AtomicBoolean; /** */ public class ServiceStatus extends EndpointStatus { private AtomicBoolean forceDown = new AtomicBoolean(false); private AtomicBoolean r...
{ "content_hash": "1c0d25d810adf1f91a36ce0a86d642fe", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 63, "avg_line_length": 21.515151515151516, "alnum_prop": 0.6943661971830986, "repo_name": "dottydingo/hyperion", "id": "4b1d4cea5d29dff1b42d6dc868e6c70bad1c1c3b", "size": "...
package iht.models.application.debts import iht.testhelpers.CommonBuilder import org.scalatestplus.mockito.MockitoSugar import common.CommonPlaySpec class MortgageTest extends CommonPlaySpec with MockitoSugar{ "isComplete" must { "return Some(true) when Mortgage is complete" in { val mortgage = Commo...
{ "content_hash": "f440baea71b67c0507e398aed0cb5521", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 83, "avg_line_length": 25.925, "alnum_prop": 0.7049180327868853, "repo_name": "hmrc/iht-frontend", "id": "6eb5c5e1e9b2106b37ea16824c0b01876235f4c2", "size": "1640", "bina...
package com.paulyung.pyphoto.utils; import java.io.File; import java.util.ArrayList; import java.util.List; /** * Created by yang on 2016/11/21. * paulyung@outlook.com */ public class FileHelper { /** * 删除文件 * * @param absolutePath 文件绝对路径 * @return 返回删除了的文件路径 */ public static Stri...
{ "content_hash": "e3513bf01b825d6b50865a2a15665982", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 72, "avg_line_length": 26.586206896551722, "alnum_prop": 0.5110246433203631, "repo_name": "paulyung541/photo", "id": "d0c9652e2ff1350b9f4e5cce7744d7b364ab3847", "size": "25...
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by app...
{ "content_hash": "abdc8b5797932115ceb9116285af57ef", "timestamp": "", "source": "github", "line_count": 733, "max_line_length": 261, "avg_line_length": 38.30422919508867, "alnum_prop": 0.6904227659650247, "repo_name": "krzychb/rtd-test-bed", "id": "3953984264ea1109b5a44b3b25e805b6dfe4042a", "size":...
package org.apache.ofbiz.base.conversion.test; import java.util.Collection; import java.util.List; import java.util.Set; import org.apache.ofbiz.base.conversion.BooleanConverters; import org.apache.ofbiz.base.conversion.Converter; import org.apache.ofbiz.base.conversion.ConverterLoader; import org.apache.ofbiz.base....
{ "content_hash": "83a8a57338b6ffbfcc8f86043d085143", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 144, "avg_line_length": 54.72222222222222, "alnum_prop": 0.7289340101522843, "repo_name": "yuri0x7c1/ofbiz-explorer", "id": "22961dc48d09c8619c989e5bc4fe2e8776a9c2d9", "siz...
// // GTLService.h // // Service object documentation: // https://code.google.com/p/google-api-objectivec-client/wiki/Introduction#Services_and_Tickets #import <Foundation/Foundation.h> #import "GTLDefines.h" // Fetcher bridging macros -- Internal library use only. // // GTL_USE_SESSION_FETCHER should be set to ...
{ "content_hash": "c9317ba08a4c70bf0ad450fea89fe346", "timestamp": "", "source": "github", "line_count": 633, "max_line_length": 133, "avg_line_length": 40.011058451816744, "alnum_prop": 0.7142575117463577, "repo_name": "creationst/google-api-objectivec-client", "id": "4db1070162074d8800676852376d6a50...
package org.apache.flink.streaming.connectors.kafka; import org.apache.flink.networking.NetworkFailuresProxy; import org.apache.flink.streaming.api.datastream.DataStream; import org.apache.flink.streaming.api.datastream.DataStreamSink; import org.apache.flink.streaming.api.operators.StreamSink; import org.apache.fli...
{ "content_hash": "b05b526db70fe7a1fa47e5838d3518e9", "timestamp": "", "source": "github", "line_count": 464, "max_line_length": 179, "avg_line_length": 34.07327586206897, "alnum_prop": 0.7399746995572423, "repo_name": "ueshin/apache-flink", "id": "8c69f36356727de01fdff5b87f09fd41676cf9b2", "size": ...
<!-- ~ Copyright (C) 2015 The Android Open Source Project ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless requ...
{ "content_hash": "de72e382d7fee73cebaef55386fcbc80", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 76, "avg_line_length": 46.098591549295776, "alnum_prop": 0.6889703635808128, "repo_name": "JakeFallin/RHSApplication", "id": "fa2871987e8535f920cc7361fb422ebf60881b83", "si...
/** * @ngdoc directive * @name adf.directive:adfDashboard * @element div * @restrict EA * @scope * @description * * `adfDashboard` is a directive which renders the dashboard with all its * components. The directive requires a name attribute. The name of the * dashboard can be used to store the model. */ a...
{ "content_hash": "6daad2285dabb5a88155ae4d7b03871a", "timestamp": "", "source": "github", "line_count": 307, "max_line_length": 94, "avg_line_length": 29.846905537459282, "alnum_prop": 0.5213358070500927, "repo_name": "foresterh/floter", "id": "acf833b51366a5fdc1689d1e32d7a72e74d453e6", "size": "10...
// 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. #ifndef BITCOIN_UTIL_H #define BITCOIN_UTIL_H #include "uint256.h" #include <stda...
{ "content_hash": "53c367896b8cf59dacbb4604fdcebe86", "timestamp": "", "source": "github", "line_count": 610, "max_line_length": 143, "avg_line_length": 28.044262295081968, "alnum_prop": 0.667270707897352, "repo_name": "tam-vo/rubycoin", "id": "c6959e54e0c1355dc28e723d8c34162a0037e259", "size": "171...
The easiest way to discover [Flight](http://flightjs.github.io) components. ## Contributing to this project Anyone and everyone is welcome to contribute. Please take a moment to review the [guidelines for contributing](CONTRIBUTING.md). * [Bug reports](CONTRIBUTING.md#bugs) * [Feature requests](CONTRIBUTING.md#featu...
{ "content_hash": "952b2d9235f9b7aa2ec61a3a74ddf147", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 75, "avg_line_length": 37.4, "alnum_prop": 0.7807486631016043, "repo_name": "flightjs/flight-components", "id": "24cb4d5aef95000e8bfeea03d1f1224d66a09f44", "size": "395", ...
package com.amazonaws.services.autoscaling.model.transform; import java.util.Map; import java.util.HashMap; import java.util.ArrayList; import java.util.Map.Entry; import javax.xml.stream.events.XMLEvent; import com.amazonaws.services.autoscaling.model.*; import com.amazonaws.transform.Unmarshaller; import com.ama...
{ "content_hash": "3a58fad8f15b6573b8d890b8707fbe81", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 145, "avg_line_length": 37.359375, "alnum_prop": 0.6951066499372648, "repo_name": "nterry/aws-sdk-java", "id": "ce4260c49545a472bd58d948efd83ac865186052", "size": "2978", ...
/* * BillListItem Messages * * This contains all the text for the BillListItem component. */ import { defineMessages } from 'react-intl'; export default defineMessages({ header: { id: 'app.components.BillListItem.header', defaultMessage: 'Counted between {from} and {to}', }, issued: { id: 'app.co...
{ "content_hash": "81fc4d364531d2a7b2885ceda95f4349", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 61, "avg_line_length": 24.32075471698113, "alnum_prop": 0.6516679596586501, "repo_name": "balintsoos/app.rezsi.io", "id": "08aef14aafb0b3ed2973cfbc0ec04ee81fffa7c3", "size"...
go build -o botbox-sandbox docker build ./ -t "botbox-sandbox" --no-cache
{ "content_hash": "f99eb845d984cbb8d7b50f854a0e8a28", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 46, "avg_line_length": 25, "alnum_prop": 0.7066666666666667, "repo_name": "crestonbunch/botbox", "id": "aa5da04a4c60780d4532a216016ebf207d0a927c", "size": "88", "binary": ...
using System; namespace NetworkModel.Networking { public class NetworkMessageReceivedEventArgs : EventArgs { public int Senderid { get; private set; } public NetworkMessage NetworkMessage { get; private set; } public NetworkMessageReceivedEventArgs(int senderid, NetworkMessage networkM...
{ "content_hash": "4311e9784cd07620057f3c38775f3546", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 91, "avg_line_length": 27.0625, "alnum_prop": 0.6697459584295612, "repo_name": "Omnicrola/remote-planning", "id": "378ef24485901b1e8880c90d3a0fb6d8500f5302", "size": "433",...
require 'spec_helper' include SimpleSecrets describe Packet do let(:master_key){ "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd".force_encoding 'BINARY' } let(:data){ 'foobar' } let(:nonce){ '11'.hex_to_bin 16 } # Generated with Primitives.nonce let(:test_body){ "\x11\x11\x11\x11\x11\x11...
{ "content_hash": "bd9b8cb8fc13209b9e01d4b8ff7720a9", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 121, "avg_line_length": 32.705263157894734, "alnum_prop": 0.6755712906340522, "repo_name": "timshadel/simple-secrets.rb", "id": "cabb006d954622926e17710f76dae69bed4c6316", ...
import * as b from 'bobril'; import container from './container'; import toggleButton from './toggleButton'; import * as h from './bobrilHelpers'; export interface IItem { label: string; value: string; onSelect: () => void; } export interface IData { header: b.IBobrilChildren leftItems?: IItem[] ...
{ "content_hash": "96a5c7cf71f0539784221e99d716395d", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 173, "avg_line_length": 33.86, "alnum_prop": 0.5522740696987596, "repo_name": "karelsteinmetz/bobril-css-bootstrap", "id": "5c853e9f1c80bf433d320bfd05829fabc98e4214", "size...
def main(j, args, params, tags, tasklet): doc = args.doc nid = args.getTag('nid') nidstr = str(nid) rediscl = j.clients.redis.getByInstance('system') out = list() out.append('||Port||Status||Memory Used||') rstatus = rediscl.hget('healthcheck:monitoring', 'results') errors = rediscl.h...
{ "content_hash": "caf2655e750d0310fa22d234460da301", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 98, "avg_line_length": 33.833333333333336, "alnum_prop": 0.5640394088669951, "repo_name": "Jumpscale/jumpscale_portal8", "id": "c1c6748763a5dae7ce6ab1083961509b0c9d0d02", "...
"""WebSDL URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-base...
{ "content_hash": "6403e84ccbf9732655fcc6c4ec452c53", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 192, "avg_line_length": 44.10606060606061, "alnum_prop": 0.689110271384404, "repo_name": "ODM2/ODM2WebSDL", "id": "201a1ebbe2d98ad1ad8a06c60c835aeb42fb37df", "size": "2911"...
/** * Created by mtorres on 7/05/17. */ var express = require('express'); var router = express.Router(); var db_conf = require('../db_conf'); var isAuthenticated = function (req, res, next) { if (req.isAuthenticated()){ return next(); } res.redirect('/'); }; //eventos del calendario router.pos...
{ "content_hash": "d0808ccb4eb4f822fc769e6651b0ea51", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 221, "avg_line_length": 27.925925925925927, "alnum_prop": 0.629973474801061, "repo_name": "mariotorres/storeManager", "id": "dc4cbf93d8457c56d12ba0098d1f78531df00183", "siz...
* [AMD](td.modulekind.md#amd) * [CommonJS](td.modulekind.md#commonjs) * [None](td.modulekind.md#none) ## Enumeration members ### AMD: * Defined in [td/Options.ts:73](https://github.com/kimamula/typedoc/blob/HEAD/src/td/Options.ts#L73) ### CommonJS: * Defined in [td/Options.ts:72](https://github.com/kimamula/typ...
{ "content_hash": "3b6c367d9a56d10d2a0219a6310c3c53", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 100, "avg_line_length": 22.652173913043477, "alnum_prop": 0.7044145873320538, "repo_name": "kimamula/typedoc-markdown-theme", "id": "12bc127afde35343e1c46ac33b8239447240211b"...
Graphs Component 1.0.1 ====== This is a CanvasJS Implementation made to simplify the use of CanvasJS in web projects. ###How it works The script search the soruce for divs with the CSS class "canvasjs" and reads their respective data attributes. ####General settings ``` <input type="hidden" class="canvasjs-settings"...
{ "content_hash": "4957e2b30f1cab6c49f5797d272f664b", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 256, "avg_line_length": 33.89772727272727, "alnum_prop": 0.6992960107274556, "repo_name": "KnowitLabs/Graphs", "id": "91335b3a11c6eab8dd6c92c6532d6c7d9150ad87", "size": "29...
// 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 System.Composition; using System.Threading.Tasks; using Microsoft.CodeAnalysis.Editor.FindUsages; using Microsoft.CodeAnalysis.ExternalAc...
{ "content_hash": "e07c4527f983199893145a04d59c3fd4", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 161, "avg_line_length": 40.19444444444444, "alnum_prop": 0.7505183137525916, "repo_name": "nguerrera/roslyn", "id": "b5329a67717265aa0913663ecfc533d77617064a", "size": "144...
package org.jetbrains.plugins.groovy.lang.psi.api.toplevel.packaging; import com.intellij.psi.PsiModifierListOwner; import org.jetbrains.annotations.Nullable; import org.jetbrains.plugins.groovy.lang.psi.api.auxiliary.modifiers.GrModifierList; import org.jetbrains.plugins.groovy.lang.psi.api.toplevel.GrTopStatement;...
{ "content_hash": "7561eb90868ee3d578585973cfb05c2c", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 84, "avg_line_length": 28.82608695652174, "alnum_prop": 0.8174962292609351, "repo_name": "joewalnes/idea-community", "id": "49f9b4dfb3c665575635cedc5d20fe03281507ab", "size...
package org.tensorflow.lite.support.image.ops; import org.checkerframework.checker.nullness.qual.NonNull; import org.tensorflow.lite.support.common.SupportPrecondtions; import org.tensorflow.lite.support.common.TensorOperator; import org.tensorflow.lite.support.image.ImageOperator; import org.tensorflow.lite.support...
{ "content_hash": "75a12fac545aab45eaa32b5f9dc0d78f", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 95, "avg_line_length": 32.30769230769231, "alnum_prop": 0.7642857142857142, "repo_name": "ppwwyyxx/tensorflow", "id": "61f4df3c316173cec8f620a6aa08b85e74c7ae97", "size": "1...
<?php /** * @see Zend_Navigation_Page */ require_once 'Zend/Navigation/Page.php'; /** * @see Zend_Controller_Action_HelperBroker */ require_once 'Zend/Controller/Action/HelperBroker.php'; /** * Used to check if page is active * * @see Zend_Controller_Front */ require_once 'Zend/Controller/...
{ "content_hash": "9944d3e7ee1f427d4fcb90c48c9226f5", "timestamp": "", "source": "github", "line_count": 661, "max_line_length": 87, "avg_line_length": 27.60211800302572, "alnum_prop": 0.503370786516854, "repo_name": "BBBManager/web-api", "id": "1355e3f1d175c678364becc99bf8f7b6ce0baed8", "size": "19...
package cache import ( "sort" "sync/atomic" "time" "github.com/lomik/go-carbon/points" ) type queueItem struct { points *points.Points orderKey int64 } type queue []queueItem type byOrderKey queue func (v byOrderKey) Len() int { return len(v) } func (v byOrderKey) Swap(i, j int) { v[i], v[j...
{ "content_hash": "58a28af2d47314d0282058a96b4b05c1", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 90, "avg_line_length": 18.441176470588236, "alnum_prop": 0.6347687400318979, "repo_name": "drawks/go-carbon", "id": "fb097a484b0b42d13d2edc01bebe870e7d492e97", "size": "18...
/* this file has been autogenerated by vtkNodeJsWrap */ /* editing this might proof futile */ #ifndef NATIVE_EXTENSION_VTK_VTKMERGECELLSWRAP_H #define NATIVE_EXTENSION_VTK_VTKMERGECELLSWRAP_H #include <nan.h> #include <vtkSmartPointer.h> #include <vtkMergeCells.h> #include "vtkObjectWrap.h" #include "../../plus/plu...
{ "content_hash": "89cdece1c52930fda3e28faf80ec3796", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 95, "avg_line_length": 46.18032786885246, "alnum_prop": 0.7834575789847356, "repo_name": "axkibe/node-vtk", "id": "1bfa973b0c93ec2eadbbf2549efc55a1ab7d3f20", "size": "2817"...
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32L0xx_LL_PWR_H #define __STM32L0xx_LL_PWR_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "stm32l0xx.h" /** @addtogroup STM3...
{ "content_hash": "5c1e5b57aec6b250379c3db4074b7904", "timestamp": "", "source": "github", "line_count": 726, "max_line_length": 154, "avg_line_length": 33.65564738292011, "alnum_prop": 0.5942129819104527, "repo_name": "florincosta/lora_di", "id": "0fec8f22ac8b99f9683d80f6efe17a50a065f62b", "size": ...
'use strict'; const ShelfPack = require('@mapbox/shelf-pack'); const util = require('../util/util'); const SIZE_GROWTH_RATE = 4; const DEFAULT_SIZE = 128; // must be "DEFAULT_SIZE * SIZE_GROWTH_RATE ^ n" for some integer n const MAX_SIZE = 2048; class GlyphAtlas { constructor() { this.width = DEFAULT_SI...
{ "content_hash": "d65efe9968d97925b603ff6e8521f23c", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 117, "avg_line_length": 28.6, "alnum_prop": 0.5195392842451666, "repo_name": "stl-florida/casestudy-riskmap", "id": "c0dbdffe42938ea27ff9b13d10350c4f7c0f77f3", "size": "48...
package org.elasticsearch.xpack.security.authc; import org.elasticsearch.Version; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.support.PlainActionFuture; import org.elasticsearch.client.Client; import org.elasticsearch.common.bytes.BytesReference; import org.elasticsearch.common.se...
{ "content_hash": "de61c154a11589a1c1f91c51c4d980b7", "timestamp": "", "source": "github", "line_count": 522, "max_line_length": 140, "avg_line_length": 54.44827586206897, "alnum_prop": 0.7050524241784533, "repo_name": "coding0011/elasticsearch", "id": "88cbc0a80695d0df6a78149acd5a7d777e9c531e", "si...
package ubung2001Ctvrty; public class Person extends SuperKlasse implements Int, Int2 { String name; public Person() { name = "Dima"; } @Override public void Lesen() { System.out.println("Ich kann lesen"); } @Override public void schwimmen() { System.out.println("Ich schwimme"); ...
{ "content_hash": "46e23898f5dcb4f50898457192bd036d", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 62, "avg_line_length": 14.785714285714286, "alnum_prop": 0.6280193236714976, "repo_name": "dmpe/OOPaPrechod", "id": "a4ee82c037d8c1bcc1a29b2fb505d3401c21b881", "size": "414...
RenderableRepo::RenderableRepo() : RepoBase( mDefaultRenderable ) { Init(); } void RenderableRepo::Init() { ElementMap_t Renderables; fs_utils::for_each( "actors", ".sprite", [&]( Json::Value const& desc, boost::filesystem::path const& path ) { std::string PathStr; auto const& Actor...
{ "content_hash": "5936b2a6bd5e5b543a8123af6604a4e6", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 116, "avg_line_length": 30.74074074074074, "alnum_prop": 0.4947791164658635, "repo_name": "HalalUr/Reaping2", "id": "db2a4bde6ebac9d2a346513f5caaf80e37c5ece9", "size": "261...
package org.olat.system.support.mail.service; /** * Initial Date: 21.12.2011 <br> * * @author guretzki */ public abstract class CommonMailTO { protected String toMailAddress; protected String fromMailAddress; protected String subject; protected String replyTo; protected String ccMailAddress;...
{ "content_hash": "cfa8b8603f547823ab5d298488967ef8", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 90, "avg_line_length": 25.169014084507044, "alnum_prop": 0.6390598768886402, "repo_name": "huihoo/olat", "id": "9bba9656715db87ffc3e0bc0c72243919bc0896f", "size": "2583", ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "65970bab45b5285df117e6a3eea00a1d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "a56b8a9e92aa9b3d8e0f394d02bc2d408a307790", "size": "186...
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd"> <article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="letter" dtd-version="1.1" specific-use="sps...
{ "content_hash": "86af3a9fef2489ed1d91d553cbb467fa", "timestamp": "", "source": "github", "line_count": 752, "max_line_length": 984, "avg_line_length": 62.712765957446805, "alnum_prop": 0.6398854961832061, "repo_name": "scieloorg/packtools", "id": "4170216c5eef81dd9c8da292465e6e62481ff468", "size":...
package de.alpharogroup.lang.model; import static org.testng.AssertJUnit.assertNotNull; import org.meanbean.test.BeanTester; import org.meanbean.test.Configuration; import org.meanbean.test.ConfigurationBuilder; import org.testng.annotations.Test; import de.alpharogroup.collections.array.ArrayFactory; import de.alp...
{ "content_hash": "041e50f95444eee980b7cb10cc155499", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 85, "avg_line_length": 29.19047619047619, "alnum_prop": 0.7721587819467102, "repo_name": "lightblueseas/jcommons-lang", "id": "08d1cf97f7b5d3a6de538529b7effae118c8a6bf", "s...
import charlsFactory from '@cornerstonejs/codec-charls/dist/charlswasm_decode.js'; // import charlsFactory from '@cornerstonejs/codec-charls/dist/debug/charlswasm.js'; // Webpack asset/resource copies this to our output folder import charlsWasm from '@cornerstonejs/codec-charls/dist/charlswasm_decode.wasm'; // import ...
{ "content_hash": "26f15e79e1c8438e21f7945a14caf666", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 99, "avg_line_length": 25.18918918918919, "alnum_prop": 0.6786480686695279, "repo_name": "chafey/cornerstoneWADOImageLoader", "id": "111f69578bca50baaec41faf5d3c3ec00471cfd2...
"""Cement core foundation module.""" import os import sys import signal import platform from time import sleep from ..core import backend, exc, log, config, plugin from ..core import output, extension, arg, controller, meta, cache, mail from ..core.handler import HandlerManager from ..core.hook import HookManager from...
{ "content_hash": "44c2b54f6b4dbaab65936df7406b58af", "timestamp": "", "source": "github", "line_count": 1503, "max_line_length": 79, "avg_line_length": 36.19028609447771, "alnum_prop": 0.5793102180387543, "repo_name": "akhilman/cement", "id": "68ba7f4a6eaa1a53d74718028fc60fac5c934072", "size": "543...
struct AcceleratedSurfaceMsg_BufferPresented_Params; struct GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params; struct GpuHostMsg_AcceleratedSurfacePostSubBuffer_Params; struct GpuHostMsg_AcceleratedSurfaceRelease_Params; namespace gfx { class GLSurface; } namespace gpu { class GpuScheduler; class PreemptionFlag; nam...
{ "content_hash": "33714e4f5087058b03bee82302fd664e", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 79, "avg_line_length": 32.96022727272727, "alnum_prop": 0.746940182727116, "repo_name": "zcbenz/cefode-chromium", "id": "562b4b316e63fce2b2e027b25007451ddb58670d", "size":...
sudo apt-get install --only-upgrade python3-django=1.8.7-1ubuntu5.4 -y sudo apt-get install --only-upgrade python-django=1.8.7-1ubuntu5.4 -y
{ "content_hash": "6c27b4fc05a976ef15e02ab5162d5335", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 70, "avg_line_length": 70.5, "alnum_prop": 0.7588652482269503, "repo_name": "Cyberwatch/cbw-security-fixes", "id": "368d06430284cb444283f9194bc2006484f7f4c1", "size": "784",...
; (function ($) { if ($.os.ios) { var gesture = {}, gestureTimeout function parentIfText(node) { return 'tagName' in node ? node : node.parentNode } $(document).bind('gesturestart', function (e) { var now = Date.now(), delta = now - (gesture.last || now) ...
{ "content_hash": "10b0c9d9351b45faf0de5cdde96ebcbb", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 97, "avg_line_length": 34.542857142857144, "alnum_prop": 0.48304383788254757, "repo_name": "Jackey-Sparrow/source-code-hot", "id": "c0a367df961450f4633eb851fd18c5186537d476",...
import * as Ajv from "ajv"; import { transformFromAst } from "babel-core"; import { parse } from "babylon"; import { basename } from "path"; import * as ts from "typescript"; import { getDefaultArgs as getDefaultJsonSchemaGeneratorArgs, JsonSchemaGenerator } from "typescript-json-schema"; import mergeIfStatements from ...
{ "content_hash": "57562b3ccb93c7c4b77590504c271e29", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 170, "avg_line_length": 38.46511627906977, "alnum_prop": 0.6910519951632407, "repo_name": "rpetrich/mobius", "id": "ce6caccf3e0b5c7af3ce455a8637bfd68e41296f", "size": "496...
package cn.sswukang.library.adapter.single; import androidx.annotation.LayoutRes; import androidx.annotation.Nullable; import android.view.View; import java.util.List; import cn.sswukang.library.adapter.base.BaseAdapter; import cn.sswukang.library.adapter.base.BaseViewHolder; /** * single item Adapter * * @autho...
{ "content_hash": "8dfa340aeb3a2095a6b440435e266879", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 96, "avg_line_length": 30.016949152542374, "alnum_prop": 0.6866177300959909, "repo_name": "sswukang/RvAdapter", "id": "b6bf0963c6e4bf8551d7bb41d34a7c967ac713a6", "size": "2...
#include "web/WebPluginContainerImpl.h" #include "bindings/core/v8/ScriptController.h" #include "bindings/core/v8/ScriptSourceCode.h" #include "bindings/core/v8/V8Element.h" #include "core/HTMLNames.h" #include "core/clipboard/DataObject.h" #include "core/clipboard/DataTransfer.h" #include "core/dom/DocumentUserGest...
{ "content_hash": "a0ebaafb7a2580dff570dba1ffe25e8f", "timestamp": "", "source": "github", "line_count": 953, "max_line_length": 96, "avg_line_length": 34.66107030430221, "alnum_prop": 0.7061334463550496, "repo_name": "google-ar/WebARonARCore", "id": "f30d629d300f88ce4147923ef6bf401a71e1a127", "size...
<span>&nbsp;</span>
{ "content_hash": "58960c533e25432fb5413476112833d2", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 19, "avg_line_length": 20, "alnum_prop": 0.6, "repo_name": "jakt/angular-gulp-boilerplate", "id": "35e5a0b247f9e89904073a057d163b77c99c146b", "size": "20", "binary": false...
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.2 Version: 3.2.0 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.n...
{ "content_hash": "fd98a3e04da224070140a1c146355756", "timestamp": "", "source": "github", "line_count": 1469, "max_line_length": 225, "avg_line_length": 36.26684819605173, "alnum_prop": 0.5013889931676553, "repo_name": "zzsoszz/metronicv37", "id": "9ec3eded01efcfe172a5f019205591784c3059c1", "size":...
class LanguagePack::Helpers::RailsRunner # This class is used to help pull configuration values # from a rails application. It takes in a configuration key # and a reference to the parent RailsRunner object which # allows it obtain the `rails runner` output and success # status of the operation. # # For e...
{ "content_hash": "ac5e0bd5f71191c9ccb60f3582b289b3", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 153, "avg_line_length": 26.33050847457627, "alnum_prop": 0.5938204055358867, "repo_name": "Scalingo/ruby-buildpack", "id": "9e89a9d3e1eb2f64fa85a1d319a86f8209787ec1", "siz...
'use strict'; const Lab = require('lab'); const Code = require('code'); const lab = exports.lab = Lab.script(); const describe = lab.describe; const it = lab.it; const expect = Code.expect; const superagent = require('superagent'); const API_URL = 'localhost:8081'; describe('/api/v1/users endpoints', () => { desc...
{ "content_hash": "8faedcde5a4042cd2c416e57b405c6f7", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 47, "avg_line_length": 23.08, "alnum_prop": 0.5719237435008665, "repo_name": "wordist/wordist.xyz", "id": "9214d4894f8f4fd7aeb3896ab2c35cc2f10ab8b8", "size": "577", "bina...
<?php namespace Site\TrailBundle\Services; use Site\TrailBundle\Entity\Parcours; class EvenementService { protected $entityManager; public function __construct(\Doctrine\ORM\EntityManager $em) { $this->entityManager = $em; } public function getEventAndEventUsed($idI...
{ "content_hash": "09e1b335fd1fedde0f45259565fded5e", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 137, "avg_line_length": 46.46762589928058, "alnum_prop": 0.5881715435825979, "repo_name": "kalazard/Trail", "id": "8a8be8755cb5b4094b8a982566d0ed48805d6a75", "size": "6459...
This is the subpackage consisting [`computational-algebra` project](https://konn.github.io/computational-algebra). It currently provides the basic classes and various types for polynomial ring, and easy interface for Gröbner basis computation. See [Project Page](https://konn.github.io/computational-algebra) for more d...
{ "content_hash": "73103c2440f113902de6716f9dfbc8f9", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 128, "avg_line_length": 81.75, "alnum_prop": 0.8103975535168195, "repo_name": "konn/computational-algebra", "id": "dba33c49ac4c13438221cf534fc962c7614acded", "size": "347", ...
"""Retrieves information about the available datasets.""" import enum from . import coco_info from . import magazine_info from . import publaynet_info from . import rico_info @enum.unique class DatasetName(enum.Enum): COCO = "COCO" RICO = "RICO" PUBLAYNET = "PubLayNet" MAGAZINE = "MAGAZINE" def get_number...
{ "content_hash": "bd750a9a321be0050edd2704a08891bd", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 59, "avg_line_length": 28.818181818181817, "alnum_prop": 0.7247634069400631, "repo_name": "google-research/google-research", "id": "4d032a8d1dc6635191079bc962b519f2130ea7b5",...
package id.goindonesia.area.indonesia.repositories.search; import id.goindonesia.area.indonesia.commons.component.BaseSearchRepository; import id.goindonesia.area.indonesia.models.DistrictEntity; /** * Created by ghostzali on 25/04/17. */ public interface DistrictSearchRepository extends BaseSearchRepository<Distri...
{ "content_hash": "b1beb3b6f88493005afc75c42bf96e39", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 88, "avg_line_length": 33.4, "alnum_prop": 0.8293413173652695, "repo_name": "ghostzali-lib/area-indonesia", "id": "b8cbf6ee0faf53c253a0ed171e07ccf69a59a209", "size": "334",...
// 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 namespace DotNetNuke.Entities.Tabs { public enum TabType { File, Normal, Tab, ...
{ "content_hash": "1f1999797f38cd20dd091eb06d837534", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 71, "avg_line_length": 23.666666666666668, "alnum_prop": 0.6366197183098592, "repo_name": "EPTamminga/Dnn.Platform", "id": "39b83b79763825bc24e9403e4460cb4152933448", "size...
def ask(question, kind="string") print question + " " answer = gets.chomp answer = answer.to_i if kind == "number" return answer end answer = ask("What is your name?") puts answer def add_contact contact = {"name" => "", "phone_numbers" => []} contact["name"] = ask("What is the person's name?") answer = "" wh...
{ "content_hash": "a29fa2332baac90f82abf9e5c29cc9dd", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 58, "avg_line_length": 19.977272727272727, "alnum_prop": 0.6325369738339022, "repo_name": "josectello/ruby_practice", "id": "68bd725c9d3e2575247a2acdcfcfcebbe3f10ba8", "siz...
<?php $this->startSetup(); //$this->run("ADD YOUR SQL HERE"); $this->endSetup();
{ "content_hash": "18b23cce7cec7a4e5e52b096b64bd171", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 36, "avg_line_length": 21.75, "alnum_prop": 0.5747126436781609, "repo_name": "falodunos/ravepay.checkout", "id": "4952b37f3f02d6e7d5798e60fd478009c2078e5e", "size": "87", ...
package org.apache.zeppelin.spark; import org.apache.hadoop.util.VersionInfo; import org.apache.hadoop.util.VersionUtil; import org.apache.zeppelin.interpreter.InterpreterContext; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.lang.reflect.Constructor; import java.util.Map; import java.util.Pr...
{ "content_hash": "a778688cbdd790514bccb597863e18cd", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 98, "avg_line_length": 41.39370078740158, "alnum_prop": 0.673197641240251, "repo_name": "herval/zeppelin", "id": "6d45b0693d142664176cc7379c0b4810550b8b78", "size": "6057"...
// Copyright 2022 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": "a0f2e3107e9dd1826538964d7c61825d", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 98, "avg_line_length": 33.86746987951807, "alnum_prop": 0.7061543934542868, "repo_name": "googleapis/google-cloud-node", "id": "3bae54ac966c2b66dd165e4677499a11c1f61ad1", "...
package foam.dao; import foam.core.Detachable; import foam.core.FObject; import foam.core.X; public class RemoveSink extends AbstractSink { protected X x_; protected DAO dao_; public RemoveSink(X x, DAO dao) { x_ = x; dao_ = dao; } @Override public void put(Object obj, Detachable sub) { ...
{ "content_hash": "bcbab28e8df65324bccd53097799c18e", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 47, "avg_line_length": 15.083333333333334, "alnum_prop": 0.649171270718232, "repo_name": "foam-framework/foam2", "id": "cc91a7c1bad528ac54a896b962d043cb205723a0", "size": "...
@import WowWeeMiPSDK; @interface ViewController () <MipRobotDelegate> @property (nonatomic, weak) MipRobot *mip; @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. [self addNotificationObservers]; ...
{ "content_hash": "2be217f7789ade436030d4a6396838c7", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 198, "avg_line_length": 31.62686567164179, "alnum_prop": 0.6343794242567249, "repo_name": "WowWeeLabs/MiP-iOS-SDK", "id": "f06bdadd1b54b91b9e4f1dd9098ba4d244dc1030", "size...
<!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.5.0_18) on Tue Jul 07 10:41:04 PDT 2009 --> <TITLE> TierFactory </TITLE> <META NAME="keywords" CONTENT="apollo.gui.detailviewers.sequencealigner.TierFac...
{ "content_hash": "aec16835e45379e198041fe1ec187226", "timestamp": "", "source": "github", "line_count": 371, "max_line_length": 468, "avg_line_length": 48.37735849056604, "alnum_prop": 0.6667595275239581, "repo_name": "genome-vendor/apollo", "id": "dcc7b9019c7526e23e4f66ecbc0f495202634a09", "size":...
'use strict'; /* global define */ define([ "jquery", "backbone", "models/Text" ], function ($, Backbone, Text) { return Backbone.Collection.extend({ model: Text, initialize: function (options) { this.url = '/api/justtexts/page/' + options.page.replace(/\*/, '') + '/text/' + options....
{ "content_hash": "15925f8dac0120e4f1a05ef87a3e28ee", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 109, "avg_line_length": 23.466666666666665, "alnum_prop": 0.5539772727272727, "repo_name": "JustsoSoftware/JustTexts", "id": "5ccc181b8aa25027cc0e82da76aab8071b7791ae", "si...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Michael Yeung's BLog</title> <!-- Bootstrap --> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <style> a:link { color: #4C4C4C; ...
{ "content_hash": "beebf3f047e3a898b05fc6aecc412c75", "timestamp": "", "source": "github", "line_count": 118, "max_line_length": 119, "avg_line_length": 33.24576271186441, "alnum_prop": 0.6041294927351517, "repo_name": "myeung58/myeung58.github.io", "id": "43b776e443579dbf565dae8cca63b2016fe21e29", ...
Server side optical character recognition based on NPM wrap of Tesseract. Uses NPM package 'node-tesseract', version 0.2.7. #Use Exposes tesseract global object with the same NPM api. An additional method is exposed, 'syncProcess', which returns the Tesseract results synchronously using the meteorhacks:async packag...
{ "content_hash": "941ccd578ea44ac3437f57b330578136", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 222, "avg_line_length": 36.52173913043478, "alnum_prop": 0.7880952380952381, "repo_name": "awylie199/meteor-tesseract", "id": "34dfa1562caf6ec58ac02ad124e05fab6af326bb", "s...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>MadeULook Lash &amp; Beauty Bar</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0,...
{ "content_hash": "608dcda2c767a245837b951a810f64d9", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 112, "avg_line_length": 32.21875, "alnum_prop": 0.623666343355965, "repo_name": "madeulook/web-ui", "id": "24cc90d909d42831557df7650e8d785abc005c97", "size": "2062", "bin...
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "...
{ "content_hash": "652c798525ddaeeb54bac4f1733f1dee", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 205, "avg_line_length": 48.774193548387096, "alnum_prop": 0.7321428571428571, "repo_name": "mattyb149/nifi", "id": "8d27c07c66f19e170829b806b38b06d88b12a2b3", "size": "1512...
package carte; import java.util.concurrent.ThreadLocalRandom; import operateur.Operateur; public class Carte { private static final int nbrOpInit = 128; // une chance sur 4 de trouver un // opérateur sur une cellule private static final int largeur = 32; private static final int hauteur = 16; public...
{ "content_hash": "9d7a49a736797250f02841f7f430b270", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 76, "avg_line_length": 23.875, "alnum_prop": 0.6387434554973822, "repo_name": "EnzoMolion/Projet-PLA", "id": "3a00a81233d4800a0aacc15a15ca881c38826d19", "size": "1147", "...
""" Demo of a function to create Hinton diagrams. Hinton diagrams are useful for visualizing the values of a 2D array (e.g. a weight matrix): Positive and negative values are represented by white and black squares, respectively, and the size of each square represents the magnitude of each value. Initial idea from Dav...
{ "content_hash": "dfec61e7c4e9ad7b07c931fa7535ebbb", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 75, "avg_line_length": 30.59090909090909, "alnum_prop": 0.6560178306092125, "repo_name": "LevinJ/Pedestrian-detection-and-tracking", "id": "831ad6e230d16a9ddd8ce2f5fee38b4060...
<!DOCTYPE html> <html lang="en" class="html--no-js"> <head> {% include head--common.html %} <!--production version of prebid.js--> <script async src="//cdn.jsdelivr.net/npm/prebid.js@latest/dist/not-for-prod/prebid.js"></script> <script type="text/javascript" src="//services.brid.tv/player/build/brid.min....
{ "content_hash": "9cef2dab0c1177ace28f5b3fc8efd80d", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 111, "avg_line_length": 24.873873873873872, "alnum_prop": 0.4505613908004346, "repo_name": "prebid/prebid.github.io", "id": "ca70580114603df5015c3fb982c0c0edc5783a2b", "si...
@interface BSJSONDeserializer : BaseJSONDeserializer @end
{ "content_hash": "8b3dcae82bfcd3b5047379180e08c868", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 52, "avg_line_length": 19.666666666666668, "alnum_prop": 0.847457627118644, "repo_name": "akosma/iPhoneWebServicesClient", "id": "78b38d76834ee5cd8009e13a9192ab39d3444485", ...
<?php namespace refiche\UserBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; use refiche\UserBundle\Entity\Etablissement; class EtablissementType extends AbstractType { /** * @param FormBuil...
{ "content_hash": "c12ab0ffd8f789d1c16252f637bed003", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 76, "avg_line_length": 26.66, "alnum_prop": 0.5701425356339085, "repo_name": "ingegus/refiche", "id": "86c696e435e2e4d874142abe7892c7cbc92fc322", "size": "1333", "binary"...
package org.apache.causeway.core.metamodel.commons; import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.MatcherAssert.assertThat; class StringUtils_NaturalizeTest { @Test public void shouldNaturalizeMultipleCamelCase() { assertThat(StringExtensi...
{ "content_hash": "227b628a3f00556b734470798045b93f", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 114, "avg_line_length": 29.258064516129032, "alnum_prop": 0.7364939360529217, "repo_name": "apache/isis", "id": "1bbe154310e31937b0f0b7171ae7ff2b63cb45b6", "size": "1732", ...
package # Date::Manip::Offset::off377; # Copyright (c) 2008-2014 Sullivan Beck. All rights reserved. # This program is free software; you can redistribute it and/or modify it # under the same terms as Perl itself. # This file was automatically generated. Any changes to this file will # be lost the next time 'tzdata'...
{ "content_hash": "691ed66304aa97518c97ec2677069a50", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 79, "avg_line_length": 21.923076923076923, "alnum_prop": 0.6690058479532164, "repo_name": "nriley/Pester", "id": "8b2f596e85726009220d99d06c2c4f6ee293818c", "size": "855", ...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Lecidea floridensis Nyl. ### Remarks null
{ "content_hash": "5455b91e5a00c9c507eca01424ea3119", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 24, "avg_line_length": 9.923076923076923, "alnum_prop": 0.7054263565891473, "repo_name": "mdoering/backbone", "id": "a293c41e7cea1b1f6c3b4bffc7858d3e5e655453", "size": "177...
 #pragma once #include <aws/quicksight/QuickSight_EXPORTS.h> #include <aws/quicksight/QuickSightRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <aws/quicksight/model/DataSetImportMode.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/q...
{ "content_hash": "1a1738423a6b400d6ea8271791a63173", "timestamp": "", "source": "github", "line_count": 645, "max_line_length": 220, "avg_line_length": 44.968992248062015, "alnum_prop": 0.7090846405792105, "repo_name": "cedral/aws-sdk-cpp", "id": "77ff9a0218b72ceb0660c1af516b324cb144842f", "size": ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SpirvNet.Spirv.Enums; // This file is auto-generated and should not be modified manually. namespace SpirvNet.Spirv.Ops.Conversion { /// <summary> /// OpBitcast /// /// Bit-pattern...
{ "content_hash": "c04b735fafeba121de0e8fa20096a760", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 214, "avg_line_length": 34.89230769230769, "alnum_prop": 0.6009700176366843, "repo_name": "Philip-Trettner/SpirvNet", "id": "cde97a69f9028cea6cc8795572e7864364eb4cae", "siz...
require 'util/repo_util' module Pod class Command class RepoArt class Add < RepoArt UTIL = Pod::RepoArt::RepoUtil self.summary = 'Add a Specs repo from Artifactory.' self.description = <<-DESC Retrieves the index from an Artifactory instance at 'URL' to the local spec re...
{ "content_hash": "7519751ccea60d417c16ef13a36ff4ce", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 136, "avg_line_length": 39.03157894736842, "alnum_prop": 0.5622977346278317, "repo_name": "JFrogDev/cocoapods-art", "id": "f87043d1afe24e29857090eb438f43cfe7a6d8cb", "size"...
package org.orekit.models.earth; import org.hipparchus.util.FastMath; import org.orekit.models.AtmosphericRefractionModel; /** Implementation of refraction model for Earth standard atmosphere. * <p>Refraction angle is 0 at zenith, about 1 arcminute at 45°, and 34 arcminutes at the * horizon for optical wavelength...
{ "content_hash": "5c65df103d510aa06c29e9aac8ff9463", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 107, "avg_line_length": 36.52136752136752, "alnum_prop": 0.6770418909431313, "repo_name": "CS-SI/Orekit", "id": "2be17bdca94afac26f536a10e912ee9daec7e14e", "size": "5112",...
bash my_print.sh "STARTING: Installing Q-ML dependencies" sudo apt-get install python3-pip -y sudo pip3 install numpy sudo pip3 install pandas sudo apt-get install build-essential -y sudo apt-get install python3-dev -y sudo apt-get install python3-setuptools -y sudo apt-get install python3-numpy -y ...
{ "content_hash": "cc1e0487c994f6acf4536612daabdcf9", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 58, "avg_line_length": 41, "alnum_prop": 0.7543554006968641, "repo_name": "NerdWalletOSS/Q", "id": "73feaec52a3605010fce500efda99f29222d89be", "size": "607", "binary": fa...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr-w32-bld/build/netwerk/cache/nsICacheVisitor.idl */ #ifndef __gen_nsICacheVisitor_h__ #define __gen_nsICacheVisitor_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL...
{ "content_hash": "80d6dfdc800e6e76d951f36fed9c2b5c", "timestamp": "", "source": "github", "line_count": 397, "max_line_length": 213, "avg_line_length": 38.2015113350126, "alnum_prop": 0.7539232493735989, "repo_name": "bwp/SeleniumWebDriver", "id": "248889565c9a84612b3c5626e3d272e9f3fb05b3", "size":...
package org.apache.flink.table.runtime.stream.table import java.math.BigDecimal import org.apache.flink.api.common.time.Time import org.apache.flink.api.scala._ import org.apache.flink.table.api.scala._ import org.apache.flink.table.api.{StreamQueryConfig, TableEnvironment} import org.apache.flink.streaming.api.Tim...
{ "content_hash": "8ddfa81c14e162b784c5af378097a8a6", "timestamp": "", "source": "github", "line_count": 429, "max_line_length": 107, "avg_line_length": 40.107226107226104, "alnum_prop": 0.6853423224456585, "repo_name": "mtunique/flink", "id": "1561da0417edb3f0181133736b8e00839fe0c311", "size": "180...
package techreborn.client.gui; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.entity.player.PlayerEntity; import reborncore.client.gui.builder.GuiBase; import reborncore.client.gui.guibuilder.GuiBuilder; import reborncore.common.screen.BuiltScreenHandler; import techreborn.blockentity.machin...
{ "content_hash": "e6d2a8ff6d13d68ac46d109f98a70b87", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 153, "avg_line_length": 38.595238095238095, "alnum_prop": 0.7951881554595929, "repo_name": "TechReborn/TechReborn", "id": "7e3a6188a8dd80531a07d66da32e54cd76a5d7ff", "size"...
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.openid4java</groupId> <...
{ "content_hash": "16194103cdcf975e7d00a4c49eb058c5", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 85, "avg_line_length": 31.02127659574468, "alnum_prop": 0.6625514403292181, "repo_name": "yorkie1/openid4java", "id": "d0c0a6f42dbaa3896374e23c6873a2b8779bc183", "size": "1...
import errno import json from contextlib import contextmanager from hashlib import md5 import unittest import uuid import shutil import random from collections import defaultdict import os from test.probe.common import ECProbeTest from swift.common import direct_client from swift.common.storage_policy import EC_POLIC...
{ "content_hash": "79b4cc338c5ae6cfdd71023a4e06eb02", "timestamp": "", "source": "github", "line_count": 313, "max_line_length": 79, "avg_line_length": 41.284345047923324, "alnum_prop": 0.5758396533044421, "repo_name": "hurricanerix/swift", "id": "ed640939a343dc9219d2c5ed25efceb96e148ab4", "size": "...