text
stringlengths
2
1.04M
meta
dict
<?php /** * Tax rate collection */ namespace Magento\Tax\Model\Resource\Calculation\Rate; class Collection extends \Magento\Framework\Model\Resource\Db\Collection\AbstractCollection { /** * Value of fetched from DB of rules per cycle */ const TAX_RULES_CHUNK_SIZE = 1000; /** * @var \Mag...
{ "content_hash": "9c0839ea9e27de58bc7d582ca060340f", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 120, "avg_line_length": 27.704761904761906, "alnum_prop": 0.5440013750429701, "repo_name": "webadvancedservicescom/magento", "id": "e9f427e3b0e6fda6c8251f06f5ef5c98ebf848b6"...
- [DOTFILES / ARCHIVOS DE CONFIGURACION](#dotfiles--archivos-de-configuracion) - [INSTALLATION / INSTALACION](#installation--instalacion) ## DOTFILES / ARCHIVOS DE CONFIGURACION - These are the dotfiles that I use on my computers. - Estos son los archivos de configuración que utilizo en mis equipos. ## INSTALLATION...
{ "content_hash": "25c3e32536f0932338db5e6374374c72", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 78, "avg_line_length": 33.529411764705884, "alnum_prop": 0.7649122807017544, "repo_name": "velizluisma/dotfiles", "id": "33e2cc3367f648d232a62bee324b4447e2b6c326", "size": ...
using System; using System.Text; using System.Collections.Generic; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.Live; namespace Microsoft.Live.Web.UnitTests { [TestClass] public class LiveUtilityUnitTests { [TestMethod] public void LiveUtility_Valid...
{ "content_hash": "84f9f5682a4a797fc71b1d95847b59d4", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 88, "avg_line_length": 31.174418604651162, "alnum_prop": 0.6370757180156658, "repo_name": "arashkeivan/LiveSDK-for-Windows", "id": "1fc1fdc0f5b0edec04cf14f2a7a0ad0526291237",...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createResponseStatusError = createResponseStatusError; exports.extractFilenameFromHeader = extractFilenameFromHeader; exports.validateRangeRequestCapabilities = validateRangeRequestCapabilities; exports.validateResponseStatus = val...
{ "content_hash": "faeacc7f509d098aaf43e6fa8cf3d250", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 128, "avg_line_length": 25.921348314606742, "alnum_prop": 0.7095795405288253, "repo_name": "sitewaerts/cordova-plugin-document-viewer", "id": "af771272d9562fdbb4f2378df4202de...
<?php namespace Kunstmaan\AdminBundle\Helper\Security\Acl; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Mapping\QuoteStrategy; use Doctrine\ORM\Query; use Doctrine\ORM\Query\Parameter; use Doctrine\ORM\Query\ResultSetMapping; use Doctrine\ORM\QueryBuilder; use InvalidArgumentException; use Kunstmaan\AdminBundle\H...
{ "content_hash": "894c77cd4b07128fa0a34f2312410144", "timestamp": "", "source": "github", "line_count": 238, "max_line_length": 133, "avg_line_length": 34.865546218487395, "alnum_prop": 0.6202699445649554, "repo_name": "hgabka/KunstmaanBundlesCMS", "id": "1c527be22179f3c2e8174ed39de8587082037b9e", ...
package ru.stqa.rep.addressbook.tests; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import ru.stqa.rep.addressbook.model.GroupData; import ru.stqa.rep.addressbook.model.Groups; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat; impo...
{ "content_hash": "3f68f7a4f720bec1cff61e064a182e21", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 112, "avg_line_length": 30.390243902439025, "alnum_prop": 0.7070626003210273, "repo_name": "zevgenia/java_rep", "id": "442c3dfde92fb1df783ffecc7e3202763ae41105", "size": "1...
package main import ( "context" compute "cloud.google.com/go/compute/apiv1" computepb "google.golang.org/genproto/googleapis/cloud/compute/v1" ) func main() { ctx := context.Background() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modific...
{ "content_hash": "9de206ab7bb443055736d05dc1d95841", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 114, "avg_line_length": 28.333333333333332, "alnum_prop": 0.7221719457013575, "repo_name": "googleapis/google-cloud-go", "id": "3ca1fa55b4cf89fadb888256779b033b46c261f0", "...
{-# OPTIONS_GHC -Wall #-} module BoneDewd.MapParse (getElevation) where import Control.Applicative ((<$>)) import qualified Data.ByteString.Lazy as L import Data.Binary import Data.Binary.Get import Data.Int import Data.Word import System.FilePath ((</>)) import System.IO (IOMode(..), SeekMode(..), hSeek, withBinaryFil...
{ "content_hash": "e6bb425dd055f661423e8d0ed88f357f", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 78, "avg_line_length": 39.44, "alnum_prop": 0.6125760649087221, "repo_name": "dreamcodez/bonedewd", "id": "1a2216ed2954368fb965ae0a66844ae1d8701872", "size": "986", "bina...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_29) on Mon Nov 26 17:22:20 MSK 2012 --> <TITLE> Uses of Class org.apache.poi.hwpf.model.Xst (POI API Documentation) </TITLE> <META NAME="da...
{ "content_hash": "4339af33326036a2de4893243fcbb85a", "timestamp": "", "source": "github", "line_count": 147, "max_line_length": 214, "avg_line_length": 42.04081632653061, "alnum_prop": 0.5878640776699029, "repo_name": "brenthand/Panda", "id": "a0b3ad44523bf35678a393d5cf87f1ebc7e59932", "size": "618...
using System; namespace Platform.VirtualFileSystem { /// <summary> /// Interface for objects that can resolve VFS nodes. /// </summary> public interface INodeResolver { /// <summary> /// /// </summary> /// <param name="name"></param> /// <returns></returns> /// <exception cref="VirtualFileSystemExcep...
{ "content_hash": "7b56cbf511370b132a119105959f52f7", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 107, "avg_line_length": 33.75229357798165, "alnum_prop": 0.646099483555314, "repo_name": "furesoft/Platform.VirtualFileSystem", "id": "d5aa3e8fe634d264849ab8be8d9601c33631ca...
package org.lagonette.app.app.widget.adapter.decorator; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.view.ViewGroup; import org.lagonette.app.R; import org.lagonette.app.app.widget.viewholder.EmptyViewHolder; import org.zxcv.chainadapter.decorator.VoidDecorato...
{ "content_hash": "af9c4373a22413720514aef51a10b0c2", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 93, "avg_line_length": 25.137931034482758, "alnum_prop": 0.803840877914952, "repo_name": "La-Gonette/lagonette-android", "id": "f519abb7401a2c18af072a97a99a10679761ddd8", "...
package org.springframework.boot.autoconfigure.web.servlet.error; import java.util.ArrayList; import java.util.List; import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.springframework.boot.web.servlet.error.ErrorAttributes; import org.sprin...
{ "content_hash": "7cb9f250df5d4597a56a07a25152aab7", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 84, "avg_line_length": 31.785046728971963, "alnum_prop": 0.7803587180241106, "repo_name": "donhuvy/spring-boot", "id": "b396be45282f66145c3b554c232dc4ea62cfe75e", "size": ...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in Enum. syst. pl. 32. 1760 (Select. stirp. amer. hist. 256, t. 173, fig. 54. 1763) #### Original name null ### Remarks null
{ "content_hash": "7b05d24dad265f14e3e0e5736a4ef7b0", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 80, "avg_line_length": 16.076923076923077, "alnum_prop": 0.6650717703349283, "repo_name": "mdoering/backbone", "id": "ea8668c1df1a5fb28c805cd3eba218c80d295d26", "size": "25...
class FacebookConnection < Collector::Connection worker FacebookWorker handle_cast :friends_added do |data| info [@manager.id, 'Friends added'].inspect end handle_cast :message_added do |data| info [@manager.id, 'Message added'].inspect end end
{ "content_hash": "0ae2ac34f28f78a8e93aa2ad084a332d", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 48, "avg_line_length": 24.09090909090909, "alnum_prop": 0.720754716981132, "repo_name": "arsemyonov/collector", "id": "6c49f7aa9e40d888f992a5c6fb7c8e81367841b3", "size": "2...
@interface FUProgressComboBox : HMImageComboBox { NSImage *progressImage; CGFloat progress; BOOL showingPopUp; BOOL firstKeyDownHasHappened; } - (void)showDefaultIcon; - (void)showPopUpWithItemCount:(NSInteger)count; - (void)hidePopUp; @property (nonatomic) CGFloat progress; @property (nonatomic, reta...
{ "content_hash": "266c8dd50946433c942289998cc1572b", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 53, "avg_line_length": 25.142857142857142, "alnum_prop": 0.7670454545454546, "repo_name": "mital/fluidium", "id": "30b0565a735d6583473ba4c912b744c45406977f", "size": "981",...
package com.sksamuel.scrimage.filter import com.sksamuel.scrimage.ImmutableImage import org.scalatest.{BeforeAndAfter, FunSuite, OneInstancePerTest} class OpacityFilterTest extends FunSuite with BeforeAndAfter with OneInstancePerTest { val original = ImmutableImage.fromStream(getClass.getResourceAsStream("/bird_sm...
{ "content_hash": "8043e451300b2ccd9263bb7f9199240a", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 131, "avg_line_length": 40.733333333333334, "alnum_prop": 0.7970540098199672, "repo_name": "sksamuel/scrimage", "id": "3e01d3c5ad91c74b0084c8fa55b0314f9a9d7327", "size": "6...
package org.sakaiproject.gradebookng.business.helpers; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.apache.commons.lang.StringUtils; import org.apache.poi.ss.userm...
{ "content_hash": "1c75b8649adfae6fbf5ec25c1aeb041d", "timestamp": "", "source": "github", "line_count": 338, "max_line_length": 137, "avg_line_length": 40.251479289940825, "alnum_prop": 0.7540610069827269, "repo_name": "joserabal/sakai", "id": "0ce65c2b70ca071574f6bd78750e4ff63a23094e", "size": "13...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Sat May 16 22:22:32 CEST 2015 --> <title>org.apache.cassandra.db.columniterator</title> <meta name="date" content="2015-05-16"> ...
{ "content_hash": "6a806fb5a507edc7fd22d5b1c44f85a6", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 168, "avg_line_length": 55.04, "alnum_prop": 0.7194767441860465, "repo_name": "sayanh/ViewMaintenanceCassandra", "id": "4a48af90f6d0d428cb29dcc7c7473d223e3695f3", "size": "...
@import AVFoundation; #import <MBProgressHUD/MBProgressHUD.h> #import <AFNetworking/UIImageView+AFNetworking.h> #import <AFNetworking/AFNetworking.h> #import <FontAwesomeKit/FAKIonIcons.h> #import "TaxaSearchViewController.h" #import "ImageStore.h" #import "TaxonPhoto.h" #import "TaxonDetailViewController.h" #import ...
{ "content_hash": "168aec1c0c85924f626f5fe422fc3955", "timestamp": "", "source": "github", "line_count": 795, "max_line_length": 203, "avg_line_length": 40.88176100628931, "alnum_prop": 0.6204116796406265, "repo_name": "inaturalist/INaturalistIOS", "id": "616ef38a7d5b4e6f03c186b608326a057f634b6a", "...
_This is because the issue is void in Magento 2 as modules can be added via composer and you can get around this issue in Magento 1 with a couple of simple scripts - I assume all your modules are already in seperate repositories!_ 1) sync.sh where you add your Magento's install dependant modules via rsync ```bash #!/...
{ "content_hash": "3ecf3f8ee8e68d3eb4413a21ef1075fd", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 230, "avg_line_length": 44.38095238095238, "alnum_prop": 0.778969957081545, "repo_name": "philelson/Originator", "id": "21f689fbf8760e9d4485f36ba12ccc1dc91291ed", "size": "...
import html from 'choo/html'; import styles from './styles.css'; import buttonAnimation from '../buttonAnimation.css'; export default ({machineparts, modal: {content: {id, content, value}}}, emit) => { const {title, children, color} = content; return html` <div class=${styles.wrapper}> <div class=${sty...
{ "content_hash": "b62544c5c1d0083228ec82dc586cd9ad", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 108, "avg_line_length": 30.517241379310345, "alnum_prop": 0.6248587570621469, "repo_name": "rijkvanzanten/obachine", "id": "061ac2162279269391a24c162f7f41b1547b8825", "size...
.include <bsd.own.mk> .if ${MKDOC} != "no" BINDIR= ${PFIX_EXAMPLEDIR} DIST= ${NETBSDSRCDIR}/external/ibm-public/postfix/dist/README_FILES .PATH: ${DIST} .include "../readme.mk" FILES= AAAREADME RELEASE_NOTES ${PFIX_README_FILES} .endif .include <bsd.prog.mk>
{ "content_hash": "06df9f65739745efab43df5e104d7d14", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 67, "avg_line_length": 18.857142857142858, "alnum_prop": 0.696969696969697, "repo_name": "execunix/vinos", "id": "fc1e1ae532c979b7a0044c257be24d2b6482f9ee", "size": "323", ...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model backend\models\Route */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="route-form"> <?php $form = ActiveForm::begin(); ?> <?= $form->field($model, 'number')->textInput(['maxlength' => true]) ?> ...
{ "content_hash": "173c170d242ada064772c655dd9eeed7", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 154, "avg_line_length": 25.340425531914892, "alnum_prop": 0.5272879932829555, "repo_name": "pers1307/Bus-depot", "id": "2e535eeef51506a6256f4a7b79cdf7192b70e5ff", "size": "...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="refresh" content="0;URL=type.N143.html"> </head> <body> <p>Redirecting to <a href="type.N143.html">type.N143.html</a>...</p> <script>location.replace("type.N143.html" + location.search + location.hash);</script> </body> </html>
{ "content_hash": "1d63d882327fd5772a6203cdd9b8c6ae", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 90, "avg_line_length": 29.7, "alnum_prop": 0.6531986531986532, "repo_name": "nitro-devs/nitro-game-engine", "id": "dbe259a034564354437174ce06bbe61126daa749", "size": "297",...
package de.atomfrede.mate.application.rest.common; public class LoginFailedException extends Exception { }
{ "content_hash": "102188718198fd9b4869d14fbc5a5ea8", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 53, "avg_line_length": 21.8, "alnum_prop": 0.8256880733944955, "repo_name": "atomfrede/freezing-octo-bear", "id": "0084150bcaefd8d8faf5050b23dc7391930775b3", "size": "109", ...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "aeb3517b4a9e465e40cf0dd2e6ac2668", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 191, "avg_line_length": 44.75806451612903, "alnum_prop": 0.6126126126126126, "repo_name": "SAEnergy/Superstructure", "id": "98b8246703f7be72180cc4122bcb8aae34fd9b1c", "size...
namespace mscorlib { namespace System { namespace Runtime { namespace InteropServices { //Constructors Tests //ComConversionLossAttribute() TEST(mscorlib_System_Runtime_InteropServices_ComConversionLossAttribute_Fixture,DefaultConstructor) { mscorlib::System::Runtime::Intero...
{ "content_hash": "c8a58a7cc46c18692956a5e72e3f4d94", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 162, "avg_line_length": 21.076923076923077, "alnum_prop": 0.6763990267639902, "repo_name": "brunolauze/MonoNative", "id": "1417853f38b4615f45cc5a6fc4aaef1baf246d24", "size"...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "4a0158701a4640afb1f300a870cb8c1c", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "af827c93d83258cf7ab3b6a92d6a56a1068fe793", "size": "193...
package proxy import ( "errors" ) var ( ErrorInvalidAuthentication = errors.New("Invalid authentication.") ErrorInvalidProtocolVersion = errors.New("Invalid protocol version.") ErrorAlreadyListening = errors.New("Already listening on another port.") )
{ "content_hash": "c737478a0f6ed86e1996e40e319a15b7", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 79, "avg_line_length": 24.09090909090909, "alnum_prop": 0.7547169811320755, "repo_name": "evolsnow/v2ray-core", "id": "f956419bd74533f7cd7a706ef819d14361c2a44f", "size": "2...
from fooster.web import web, form import mock import pytest test_body = b'test' test_chunks = b'a' * (web.max_line_size + 1) test_encoded = b'test=t%C3%ABst&foo=bar&wow&such=dog' test_binary = 'thisisatëst'.encode(web.default_encoding) test_boundary = 'boundåry' test_mime_empty = ('--' + test_boundary + '\r\nCon...
{ "content_hash": "244dc649436b573b895e1a545a463a19", "timestamp": "", "source": "github", "line_count": 379, "max_line_length": 272, "avg_line_length": 44.010554089709764, "alnum_prop": 0.6952637889688249, "repo_name": "fkmclane/web.py", "id": "be3284c5b323aa9c5ec458efe579c61e1f97974c", "size": "16...
// This is a generated file. Not intended for manual editing. package com.intellij.plugins.haxe.lang.psi; import java.util.List; import org.jetbrains.annotations.*; import com.intellij.psi.PsiElement; public interface HaxeWildcard extends HaxePsiCompositeElement { @NotNull HaxeReferenceExpression getReferenceE...
{ "content_hash": "60f599507013cb62177407237d0cc142", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 63, "avg_line_length": 22.4, "alnum_prop": 0.8005952380952381, "repo_name": "JetBrains/intellij-haxe", "id": "b07527ba1482b1df6843dc6cd6410b88679ecfdb", "size": "1000", "...
#include "physics/CCPhysicsShape.h" #if CC_USE_PHYSICS #include <climits> #include "chipmunk.h" #include "physics/CCPhysicsBody.h" #include "physics/CCPhysicsWorld.h" #include "chipmunk/CCPhysicsBodyInfo_chipmunk.h" #include "chipmunk/CCPhysicsShapeInfo_chipmunk.h" #include "chipmunk/CCPhysicsHelper_chipmunk.h" ...
{ "content_hash": "f3fd9a2cfb0afee549f6f59a87457e7a", "timestamp": "", "source": "github", "line_count": 814, "max_line_length": 186, "avg_line_length": 26.62039312039312, "alnum_prop": 0.6161797960219668, "repo_name": "MandukaGames/tutorial-puzzle", "id": "60171cbec0891f981875d6a6d8670676ce9177db", ...
package pointer_test import ( "fmt" "sort" "github.com/chenjianlong/go.tools/go/callgraph" "github.com/chenjianlong/go.tools/go/loader" "github.com/chenjianlong/go.tools/go/pointer" "github.com/chenjianlong/go.tools/go/ssa" ) // This program demonstrates how to use the pointer analysis to // obtain a conservat...
{ "content_hash": "2b6c7d369a66b82ed1c7a1ed8bae9e60", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 79, "avg_line_length": 23.68595041322314, "alnum_prop": 0.6688764829030007, "repo_name": "chenjianlong/go.tools", "id": "9d2b983d30b4cad2f11c28551f10f3f4939934f0", "size":...
package com.piticlistudio.playednext.company.model.entity.datasource; import org.junit.Test; import static org.junit.Assert.*; /** * Test cases * Created by jorge.garcia on 13/02/2017. */ public class IGDBCompanyTest { private IGDBCompany data = IGDBCompany.create(50, "company_name", "company_url", "company_...
{ "content_hash": "84ab551986ceaac45193d634df1a548b", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 113, "avg_line_length": 26.542857142857144, "alnum_prop": 0.6447793326157158, "repo_name": "Yorxxx/playednext", "id": "652c011d82f2e7daedf314551e4efe0e90debd3b", "size": "9...
Configuration SPF { Import-DscResource -Module xSQLServer Import-DscResource -Module xSCVMM Import-DscResource -Module xSCSPF # Set role and instance variables $Roles = $AllNodes.Roles | Sort-Object -Unique foreach($Role in $Roles) { $Servers = @($AllNodes.Where{$_.Roles | Where-Obj...
{ "content_hash": "3f32d30c599b712b5297c38f67ebb703", "timestamp": "", "source": "github", "line_count": 358, "max_line_length": 216, "avg_line_length": 37.93296089385475, "alnum_prop": 0.5407952871870397, "repo_name": "phongdly/puppetlabs-dsc", "id": "0fdd4f4018b513fcf9ddd2283056965ba434b93a", "siz...
module SoundGen require 'wavefile' SAMPLE_RATE = 44100 # Hz per second FREQUENCY = 700.0 # Hz CHUNK_DURATION = 120.0 # ms per dot WAVE_FUNC = Math::PI * 2 class << self def main(sequence) sequence = morse_to_digits(sequence) samples = generate_samples(sequence) save(samples) e...
{ "content_hash": "822ecf19556b01d42e4a192bbff55c90", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 96, "avg_line_length": 23.65714285714286, "alnum_prop": 0.6141304347826086, "repo_name": "lochnessathome/morse", "id": "d48dcd723187b01801f1ade3cf9e95c6974a774b", "size": "...
"""Coordinator for metrics of various targets in evaluation.""" import collections import os from typing import List, Mapping, Optional, Tuple, Type from absl import logging import dataclasses from ehr_prediction_modeling.eval import metrics_data import numpy as np import tensorflow.compat.v1 as tf @dataclasses.da...
{ "content_hash": "c62ff2af93fb7c4523a81e896d3f9b44", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 80, "avg_line_length": 39.70552147239264, "alnum_prop": 0.6699629171817059, "repo_name": "google/ehr-predictions", "id": "992aca5f808ab0d5db7f4b7a08610648ec6a3648", "size"...
import React, {Component} from 'react'; import './layer.less'; import img_src from '../../images/temp/logo1.png'; class Layer extends Component { render() { return ( <div className="layer"> <div > this is the layer content </div> <a> this is a link </a> <div className="image-css"> image </div> <...
{ "content_hash": "c21f4ca3bb9f909022139144b8926553", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 50, "avg_line_length": 19.65, "alnum_prop": 0.6005089058524173, "repo_name": "mozhengFly/test", "id": "77c146263d3471396dbd5a3eb168b9b54cc207e9", "size": "427", "binary":...
from . import * from .core import ReadyForObject, ReadyForConnection from cached_property import cached_property from .errors import UserNoIDException class User(ReadyForObject): def __init__(self, user_id=None, user_url=None, backed_at=None, name=None): if user_id is None and user_url is None: ...
{ "content_hash": "822b4dd628e516b540e9b6a1bac7d9f9", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 117, "avg_line_length": 33.0625, "alnum_prop": 0.5888468809073724, "repo_name": "TOSUKUi/readyfor-api", "id": "15aa074c5070d7792d7d96f83af97fe17c447450", "size": "2190", ...
package com.gemstone.gemfire.admin; /** * Provides configuration information relating to the health of an * entire GemFire distributed system. * * <P> * * If any of the following criteria is * true, then the distributed system is considered to be in * {@link GemFireHealth#OKAY_HEALTH OKAY_HEALTH}. * * <UL> ...
{ "content_hash": "23794cb30603c88e97e6236cafb3bbc5", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 88, "avg_line_length": 27.532258064516128, "alnum_prop": 0.7024018746338606, "repo_name": "sshcherbakov/incubator-geode", "id": "3f671dd269b42e6ce4226c9b53495c99f6d7c1c0", ...
/* eslint-disable react/prop-types */ import React, { useState } from 'react'; import PropTypes from 'prop-types'; import { action } from '@storybook/addon-actions'; import cloneDeep from 'lodash/cloneDeep'; import List from './List.component'; import { columnChooserService } from './Toolbar/ColumnChooserButton'; fun...
{ "content_hash": "25955424b6aca2910df91f8d23713d27", "timestamp": "", "source": "github", "line_count": 1055, "max_line_length": 217, "avg_line_length": 22.949763033175355, "alnum_prop": 0.6292747397984471, "repo_name": "Talend/ui", "id": "9a1f945a8f6b0cb5864b26b0b6b41ce61846e5b7", "size": "24212",...
package com.Da_Technomancer.crossroads.API.alchemy; import javax.annotation.Nullable; import com.Da_Technomancer.crossroads.API.magic.MagicUnit; public interface IElementReagent extends IReagent{ public MagicUnit getAlignment(); /** * 0: Primary * 1: Secondary * 2: Tertiary */ public byte getLevel(); ...
{ "content_hash": "88e21524d0668dffc411aaf343b503de", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 58, "avg_line_length": 18.095238095238095, "alnum_prop": 0.75, "repo_name": "Da-Technomancer/Crossroads", "id": "92ec9ab69eac6af4f7e4e0f804dd00c5af348320", "size": "380", ...
local config = require("lapis.config") config({"development", "production"}, { port = 3176, secret = require('secret'), mysql = { backend = "resty_mysql", -- or luasql host = "127.0.0.1", user = "wordpress", password = "wordpress", database = "wordpress", } }) config("production", { co...
{ "content_hash": "be9a78e06b45008eb7ddc6054297eb7c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 50, "avg_line_length": 21.72222222222222, "alnum_prop": 0.5856777493606138, "repo_name": "starius/wordpress-lapis", "id": "9f12f293c15e1ded1e13d1077511dae45de95537", "size"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.6.0_27) on Fri Mar 28 15:13:22 PDT 2014 --> <meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> <title>Deprecated List (gu...
{ "content_hash": "cfc0eb45d779a6aaa40102e548159429", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 102, "avg_line_length": 30.76923076923077, "alnum_prop": 0.63125, "repo_name": "mike-jumper/incubator-guacamole-website", "id": "0a1941208da3bf9f444e3a8a47efb88437d96137", ...
// SERVER-10927 // This is to make sure that temp collections get cleaned up on promotion to primary var replTest = new ReplSetTest({name: 'testSet', nodes: 3}); var nodes = replTest.nodeList(); printjson(nodes); // We need an arbiter to ensure that the primary doesn't step down when we restart the secondary replTest...
{ "content_hash": "2eb0a8eec634164f57906ce71cf8da8a", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 100, "avg_line_length": 37.00961538461539, "alnum_prop": 0.6822551312029098, "repo_name": "christkv/mongo-shell", "id": "ccf566add021b62c3d7a41b77b434f1df0ee2ebf", "size":...
package org.apache.spark.shuffle.hash import org.apache.spark._ import org.apache.spark.shuffle._ /** * Hash Shuffle适合中小型规模的数据计算 * A ShuffleManager using hashing, that creates one output file per reduce partition on each * mapper (possibly reusing these across waves of tasks). * 一个ShuffleManager使用哈希,每个mapper上的...
{ "content_hash": "52de8354c25e889de619cb2c7c1a957e", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 97, "avg_line_length": 34.546875, "alnum_prop": 0.7354138398914518, "repo_name": "tophua/spark1.52", "id": "c35792f38003a0314080ca631d7eed84226af33d", "size": "3259", "bi...
<?php namespace PhpUnitsOfMeasure\PhysicalQuantity; use PhpUnitsOfMeasure\AbstractPhysicalQuantity; use PhpUnitsOfMeasure\UnitOfMeasure; class Area extends AbstractPhysicalQuantity { protected static $unitDefinitions; protected static function initialize() { // Meters squared $metersquare...
{ "content_hash": "0ba2f8366a76f5e542f3d7e00a19e418", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 73, "avg_line_length": 37.3828125, "alnum_prop": 0.613166144200627, "repo_name": "triplepoint/php-units-of-measure", "id": "dfccd2466fae97892309fa64f054446b74aca7fa", "siz...
set -e echo -- Setup directories -- cargo clean mkdir -p ../target/artifacts echo -- Build the Docker build image -- docker build -f Dockerfile.linux-build -t pact-ffi-build . echo -- Build the release artifacts -- docker run -t --rm --user "$(id -u)":"$(id -g)" -v $(pwd)/..:/workspace -w /workspace/pact_ffi pact-ff...
{ "content_hash": "c04730f34420d32f42ccf29428ecc5b7", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 142, "avg_line_length": 52.48837209302326, "alnum_prop": 0.740363314133806, "repo_name": "pact-foundation/pact-reference", "id": "b62b5b265ed955321b888eeae7d5566d6dd6d6d7", ...
import collections from supriya import CalculationRate from supriya.ugens.PureUGen import PureUGen class AllpassL(PureUGen): """ A linear interpolating allpass delay line unit generator. :: >>> source = supriya.ugens.In.ar(bus=0) >>> allpass_l = supriya.ugens.AllpassL.ar(source=source) ...
{ "content_hash": "c5f51f35277b98b367ea678a4a10f05a", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 79, "avg_line_length": 22.606060606060606, "alnum_prop": 0.5884718498659517, "repo_name": "Pulgama/supriya", "id": "07b214eafb0cfe8cbc549c1b86600ce4679a6c48", "size": "746"...
<?php /** * class ResizerAction * * This class implements interface to connect resizer extension as certain * controller action. * * @category Extensions * @package resizer * @author Bogdan Burim <bgdn2007@ukr.net> * @copyright 2013 Bogdan Burim */ class ResizerAction extends CAction { /* ...
{ "content_hash": "592dadd23871b9cf49b23c2184905e6f", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 112, "avg_line_length": 31.068181818181817, "alnum_prop": 0.5940014630577908, "repo_name": "akaidrive2014/persseleb", "id": "d1aeb3d1365d1b62f2692f2e192ad73010741a05", "siz...
@interface FeedTableViewCell : UITableViewCell @property (nonatomic, strong) IBOutlet UIImageView *imgViewFeed; @property (nonatomic, strong) IBOutlet UILabel *lblTitle; @property (nonatomic, strong) IBOutlet UILabel *lblDetail; @end
{ "content_hash": "9b23bdd92e0e050ac686daa080739c54", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 64, "avg_line_length": 30.625, "alnum_prop": 0.7755102040816326, "repo_name": "yunas/FacebookFeeds", "id": "8ea35da69e1dda9a86ac6fe5f96654d2b10c2c8b", "size": "416", "bina...
package examples; import io.vertx.core.MultiMap; import io.vertx.core.Vertx; import io.vertx.core.buffer.Buffer; import io.vertx.core.file.FileSystem; import io.vertx.core.file.OpenOptions; import io.vertx.core.http.HttpClient; import io.vertx.core.http.HttpMethod; import io.vertx.core.json.JsonObject; import io.ver...
{ "content_hash": "6dedd409f93a0ad87dae7b3527133185", "timestamp": "", "source": "github", "line_count": 639, "max_line_length": 95, "avg_line_length": 29.3943661971831, "alnum_prop": 0.6248203162434116, "repo_name": "InfoSec812/vertx-web", "id": "11c34b189bf544fc50e565295a7f7b1c21bfe3de", "size": "...
package de.otto.jsonhome.converter; import de.otto.jsonhome.model.DirectLink; import de.otto.jsonhome.model.HrefVar; import de.otto.jsonhome.model.ResourceLink; import de.otto.jsonhome.model.TemplatedLink; import java.util.Collections; import java.util.LinkedHashMap; import java.util.Map; /** * Converter used to ...
{ "content_hash": "734aa823abff0b3ec1661d7e4227dcfb", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 111, "avg_line_length": 42.83018867924528, "alnum_prop": 0.6519823788546255, "repo_name": "otto-de/jsonhome", "id": "1b5309505b511a159c72638bcd7fbff58d51494c", "size": "286...
var express = require('express'); // load cores var misc = require('../../core/lib/misc'); // load modules var Site = require('../../module/site'); var Teamblog = require('../../module/teamblog'); var Account = require('../../module/account'); // load locals var app = require('./app.json'); var menu = require('./men...
{ "content_hash": "7219b0883c991b08e76aef1f086e9bd9", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 55, "avg_line_length": 23.6, "alnum_prop": 0.6828087167070218, "repo_name": "soomtong/blititor", "id": "11252f1a3cb02cdc238d69859c7340c8f6de684e", "size": "843", "binary"...
import os import logging import logging.handlers import time, datetime from werkzeug.middleware.proxy_fix import ProxyFix from flask_security.forms import LoginForm from wtforms import StringField from wtforms.validators import InputRequired from flask import Flask, request, g, render_template from flask_mail import M...
{ "content_hash": "03baaa12389d0cc5808fb04677cd16ab", "timestamp": "", "source": "github", "line_count": 217, "max_line_length": 155, "avg_line_length": 33.02764976958525, "alnum_prop": 0.7227570810659969, "repo_name": "UKN-DBVIS/SciBib", "id": "05657a0a338efa3d89eb1eac1a989b144a7cd278", "size": "79...
<?php namespace lukisongroup\controllers\dashboard; use Yii; use yii\filters\AccessControl; use app\models\dashboard\Umum; use app\models\dashboard\UmumSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * DashboardController implements the CRUD actions fo...
{ "content_hash": "76f520e1d72b04ac3d2a635fa0c24be3", "timestamp": "", "source": "github", "line_count": 250, "max_line_length": 85, "avg_line_length": 24.428, "alnum_prop": 0.45144915670542, "repo_name": "ptrnov/wan", "id": "5d9f0c2b78ceea8c88b4a864249a70764c49977e", "size": "6107", "binary": fal...
NSValueTransformerName const MGSMutableColourSchemeFromPlistTransformerName = @"MGSMutableColourSchemeFromPlistTransformer"; @implementation MGSMutableColourSchemeFromPlistTransformer + (void)load { MGSMutableColourSchemeFromPlistTransformer *reg = [[MGSMutableColourSchemeFromPlistTransformer alloc] init]; ...
{ "content_hash": "ad5df1a3d586894224d548a39da2c85f", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 124, "avg_line_length": 22.642857142857142, "alnum_prop": 0.7728706624605678, "repo_name": "shysaur/Fragaria", "id": "d87cd57d498a41e12b7f0b6e2c1381e03074e6e4", "size": "11...
<header class="banner"> <div class="container"> <div class="nav-container"> <a class="brand" href="<?= esc_url(home_url('/')); ?>"><?php bloginfo('name'); ?></a> <nav class="nav-primary"> <?php if (has_nav_menu('primary_navigation')) : wp_nav_menu(['theme_location' => 'primar...
{ "content_hash": "a7e88f3aa3b9bbcc34992dfc120f598d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 91, "avg_line_length": 30.571428571428573, "alnum_prop": 0.5116822429906542, "repo_name": "smpetrey/leahconstantine.com", "id": "980549cba4fbfbf256134751758abffa7ac95ca9", ...
<?php /** * @class SearchPostsTopTest * ========================= * * Creates a user with three posts, then creates three other users to give * those posts 1, 2, and 3 upvotes. Then gets the posts from the API and makes * sure they come back in the correct order. * * Ryff API <http://www.github.com/RyffProje...
{ "content_hash": "d7cec120ba7afdb517d6a8824086bd71", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 78, "avg_line_length": 32.07692307692308, "alnum_prop": 0.4933196300102775, "repo_name": "RyffProject/ryff-api", "id": "1fab006bbbd727e661778db21ef3a4cc43e7faff", "size": "...
// Copyright (c) 2011-2016 The PlanBcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_BITCOINUNITS_H #define BITCOIN_QT_BITCOINUNITS_H #include "amount.h" #include <QAbstractListModel> #include...
{ "content_hash": "aa68379dc27dda2dae417cf5448ad936", "timestamp": "", "source": "github", "line_count": 128, "max_line_length": 137, "avg_line_length": 31.28125, "alnum_prop": 0.6895604395604396, "repo_name": "planbcoin/planbcoin", "id": "e2838cead7f3c9bb9db1cfe54b3f532a963ffd88", "size": "4004", ...
@var add= auth.hasPermission("sys:dict:add"); <div class="tabbable"> <ul class="nav nav-tabs" id="myTab"> <li class="active"><a data-toggle="tab" href="#home"> <i class="green ace-icon fa fa-list-alt bigger-120"></i> 字典列表 </a></li> @if(add){ <li class=""><a data-toggle="tab" href="#profile"> <i class="g...
{ "content_hash": "7813beb045ebfa66ea96168d7322b169", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 106, "avg_line_length": 32.62162162162162, "alnum_prop": 0.5857497928748965, "repo_name": "gto5516172/test", "id": "c9f85078e38cda2830c813994fcc465c12a6f7a6", "size": "2520...
require "representable/render/nil/version" require "representable/definition" module Representable module Render module Nil def self.included(base) base.class_eval do def initialize(sym, options={}) @name = sym.to_s @options = options @options[:def...
{ "content_hash": "3e0284a133b56d226c21f8c35b5db165", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 70, "avg_line_length": 25.61904761904762, "alnum_prop": 0.6003717472118959, "repo_name": "allenwei/representable-render-nil", "id": "fdd7ee6d3656768db01c034219ff6fa310ca710c"...
goog.provide('p3rf.perfkit.explorer.components.dashboard.config.DashboardConfigModel'); goog.scope(function() { const explorer = p3rf.perfkit.explorer; /** * See module docstring for more information about purpose and usage. * * @constructor * @extends {IBaseOptimizer} */ explorer.components....
{ "content_hash": "d59adea5843d1bf840dd8caf07bc46db", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 87, "avg_line_length": 26.214285714285715, "alnum_prop": 0.6303360581289736, "repo_name": "dq922/PerfKitExplorer", "id": "8764f65c1085df6965c51060486225aad15af52d", "size":...
using System; using System.Windows.Forms; using SlideshowScreenSaver.Lib; namespace SlideshowScreenSaver { static class Program { /// <summary> /// アプリケーションのメイン エントリ ポイントです。 /// </summary> [STAThread] static void Main() { // 多重起動禁止 if (Utility.CreateMutex(Application.ProductName)) ...
{ "content_hash": "83a77fb287925e23cb75043750034e27", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 52, "avg_line_length": 18.869565217391305, "alnum_prop": 0.652073732718894, "repo_name": "Harurow/SlideshowScreenSaver", "id": "b30500c26a4d795d36312e0c581c41ae3782cae6", "...
========= Changelog ========= Version 0.3.2 ============= - Add ImageBase class (moved from pytesmo) - Fixing documentation Version 0.3.1 ============= - Updating pyscaffold version to Version 0.3.0 ============= - New GriddedBase class - Slight changes in the method names Version 0.2.0 ============= - Support...
{ "content_hash": "c361419860265278049ab791ebb01b13", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 42, "avg_line_length": 13.935483870967742, "alnum_prop": 0.6087962962962963, "repo_name": "christophreimer/pygeobase", "id": "a792f506ff1e1d8bd063055594d2a31abc840731", "si...
namespace Snippets4.Scheduling.Saga { using System; using NServiceBus; using NServiceBus.Saga; #region ScheduleTaskSaga class MySaga : Saga<MySagaData>, IAmStartedByMessages<StartSaga>, // Saga is started by a message at endpoint startup IHandleTimeouts<ExecuteTask> // task that g...
{ "content_hash": "2271618c990e09e85691ef1bab2f1f9d", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 100, "avg_line_length": 31.296875, "alnum_prop": 0.6110833749375936, "repo_name": "WojcikMike/docs.particular.net", "id": "d2e258a997ba374745ca0636c76ea2a0b4811c7c", "size"...
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="MsTestExampleSignatureBuilder.cs" company="PicklesDoc"> // Copyright 2011 Jeffrey Cameron // Copyright 2012-present PicklesDoc team and community contributors // // // Licens...
{ "content_hash": "dd935d95ba9cbcd46929581d13f5d76f", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 121, "avg_line_length": 40.270270270270274, "alnum_prop": 0.6013422818791946, "repo_name": "dirkrombauts/pickles", "id": "52939a02e70a865d1d4cb13b6ae69fd12aaa9672", "size":...
%% Tensors % Tensors are extensions of multidimensional arrays with additional % operations defined on them. Here we explain the basics of creating and % working with tensors. %% Creating a tensor from an array % The |tensor| command converts a (multidimensional) array to a tensor % object. M = ones(4,3,2); %<-...
{ "content_hash": "eeb30ddc4bb71bcf75dbaebff79d5ee2", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 74, "avg_line_length": 37.47422680412371, "alnum_prop": 0.6471801925722146, "repo_name": "iqbalu/3D_Pose_Estimation_CVPR2016", "id": "681bce908092f28bdd83a69916154c301514fc6...
package org.thymeleaf.examples.springboot3.stsm.mvc.web.conversion; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.MessageSource; import org.springfra...
{ "content_hash": "432ce40d47e0c945e710c9c8f74a409b", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 89, "avg_line_length": 29.48780487804878, "alnum_prop": 0.7419354838709677, "repo_name": "thymeleaf/thymeleaf", "id": "b900868e3ebd83b5f1232b3d2f87282dbe0b7552", "size": "2...
<?php defined('_JEXEC') or die('Restricted access'); ?><form action="<?php echo JRoute::_('index.php?option=com_acymailing&ctrl='.$this->ctrl); ?>" method="post" name="adminForm" id="adminForm" autocomplete="off" <?php if(in_array($this->type, array('news', 'autonews'))){ if(!isset($this->app) || $this->app->isAdmin(...
{ "content_hash": "a22e2b6c5f8cadc53148e4b2900e9dc0", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 230, "avg_line_length": 41.676923076923075, "alnum_prop": 0.6183093392395718, "repo_name": "yaelduckwen/libriastore", "id": "670240b04fa2a05d46a8a8a5af2fdfceebb14d81", "siz...
<?php /** * <auto-generated> * This code was generated by Codezu. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. * </auto-generated> */ namespace Mozu\Api\Clients\Commerce\Shipping\Admin; use Mozu\Api\MozuClient; use Mozu\Api\Urls...
{ "content_hash": "7838af670d684fd1568faa13b16e8ece", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 277, "avg_line_length": 47.873873873873876, "alnum_prop": 0.751411366202484, "repo_name": "Mozu/mozu-php-sdk", "id": "8380f3622e0175dcee754281fbf442268884f8ad", "size": "5...
// Implement atoi which converts a string to an integer. // The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and in...
{ "content_hash": "120211a97689cc908f3918af61727479", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 297, "avg_line_length": 43.64705882352941, "alnum_prop": 0.7115902964959568, "repo_name": "lanpong/LeetCode", "id": "56c56973269a1937556fcfc54dc7745cd8dee09b", "size": "227...
namespace agi { class Ngraph; //A class to handle iteration over edges of a certain type //The pointer = 1+type+num_types*edge_id class PinIterator { friend class Ngraph; lid_t* loc; lid_t* end; PinIterator(lid_t* l,lid_t* e) :loc(l),end(e) {} void iterate() {loc++;} }; } #endif
{ "content_hash": "d4cd0f3dceccc3bc955cd8c4146f720a", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 58, "avg_line_length": 15.842105263157896, "alnum_prop": 0.6411960132890365, "repo_name": "SCOREC/EnGPar", "id": "1d140ce43674bc0e1b0d952b25372e4297cc0b11", "size": "397", ...
package com.yueny.demo.job.scheduler.tbschedulejob.runner; import java.io.Serializable; import java.util.List; import java.util.Random; import java.util.concurrent.Callable; import java.util.concurrent.TimeUnit; import org.apache.commons.collections4.CollectionUtils; import com.yueny.demo.job.bo.ModifyDemo...
{ "content_hash": "af279f7653807c67947ff3efe958bc17", "timestamp": "", "source": "github", "line_count": 80, "max_line_length": 107, "avg_line_length": 27.0625, "alnum_prop": 0.7122401847575057, "repo_name": "yueny/pra", "id": "f33f4494aa1ea1549c005047a3b43af5578aa670", "size": "2245", "binary": f...
var App; //global App object new Promise(function(resolve, reject) { App = new ApplicationBuilder({ onconstruct : function () { console.log("Constructor", this, arguments); }, onready : function () { var App = this; App.modulePath('..//../../constructors'); App.require(["lib", "extensions/prototype"...
{ "content_hash": "762fea8acd84df3c08c4912071f34bec", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 87, "avg_line_length": 29.705882352941178, "alnum_prop": 0.6534653465346535, "repo_name": "eugeniumegherea/MIDPS-lab-5", "id": "b0952ba19763a90a5ff4a8317cb18b4755bd12b4", "...
// see README.mkd for mor information package main import ( "github.com/jteeuwen/glfw" "github.com/banthar/gl" "github.com/banthar/glu" "log" "fmt" "image/color" ) // Represent a vector with color information type Vector struct { X, Y, Z float32 Color color.Color } // Return the string representation of the ...
{ "content_hash": "a1a1de15cfcc451e5516f08aed8b50a4", "timestamp": "", "source": "github", "line_count": 168, "max_line_length": 88, "avg_line_length": 21.80952380952381, "alnum_prop": 0.6604803493449781, "repo_name": "andrebq/tinygl", "id": "639526558abc3cbfdd41fdc45d6dde7dbc13b625", "size": "3664"...
<!DOCTYPE html> <html lang="pl"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="Ekskluzywyne meble na zamówienie do każdego wnętrza"> <meta name="author" cont...
{ "content_hash": "191b89cc3de90ac5e91bcc9c0d490d32", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 268, "avg_line_length": 37.34848484848485, "alnum_prop": 0.46531440162271803, "repo_name": "Aderrro/Aderrro.github.io", "id": "d2d348a0a137fcc029ce6347a6f726024549454d", "...
ActionController::Base.session = { :key => '_semantix_session', :secret => '4f69221b37860083e9ad1522ce0afba8e8655bc9c35913226be78fa1b179bd22d96e76cb4889c2d8ee0ad614986c387f0e12a42c67b6fad04a9192ef0890aa8a' } # Use the database for sessions instead of the cookie-based default, # which shouldn't be used...
{ "content_hash": "b63b86ce120f3dfb296764dd2a073d45", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 148, "avg_line_length": 53.77777777777778, "alnum_prop": 0.7913223140495868, "repo_name": "leenookx/semantix", "id": "9bb9daaf5b35537957b19d2791a6492dafa1e487", "size": "801...
<?php // No direct access defined('_JEXEC') or die; JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html'); // JHtml::_('bootstrap.tooltip'); // JHtml::_('behavior.multiselect'); // JHtml::_('formbehavior.chosen', 'select'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->s...
{ "content_hash": "9df75d3572a47e4f4b2273c319ff536e", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 129, "avg_line_length": 30.63888888888889, "alnum_prop": 0.5521305530371714, "repo_name": "rutvikd/ak-recipes", "id": "544402ea4ba78550ab3aa0110ec363cf2c7f999c", "size": "...
package com.adrbtk.exchange; import android.app.Activity; import android.graphics.Typeface; import android.os.AsyncTask; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.Li...
{ "content_hash": "a39cad65e956241989be515d5004e92d", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 92, "avg_line_length": 30.261194029850746, "alnum_prop": 0.5822441430332922, "repo_name": "adrbtk/Exchange", "id": "23e1fff7b57d12eaea9f23787d514e23f649e2e3", "size": "405...
FOUNDATION_EXPORT double Auth0VersionNumber; //! Project version string for Auth0. FOUNDATION_EXPORT const unsigned char Auth0VersionString[]; // In this header, you should import all the public headers of your framework using statements like #import <Auth0/PublicHeader.h> #import <Auth0/A0ChallengeGenerator.h>
{ "content_hash": "6f0f02af23ee163cb0708ca932d3e7c3", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 130, "avg_line_length": 39.5, "alnum_prop": 0.8069620253164557, "repo_name": "Vadimkomis/Myclok", "id": "63d3e4d517f0eed9c95bd946d3d3f191b098b655", "size": "1526", "binary...
import { Component, OnInit } from '@angular/core'; import { FormGroup, AbstractControl, FormBuilder, Validators } from '@angular/forms'; import { Router } from '@angular/router'; @Component({ selector: 'app-service', templateUrl: './service.component.html', styleUrls: ['./service.component.scss'] }) export class...
{ "content_hash": "c5a54c951d3b58df026de9857d63c785", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 85, "avg_line_length": 23.42, "alnum_prop": 0.5294619982920581, "repo_name": "salonhelps/dashboard", "id": "86b4994d52845572524cd6f4f9d9adc9c025e822", "size": "1171", "bi...
<?php $serverrootpath = $_SERVER['DOCUMENT_ROOT']; $includepath = $_SERVER['DOCUMENT_ROOT'] . "/portal/includes"; $rootpath = "/portal"; include("$serverrootpath/includes/db.inc.php"); include("$includepath/common.php"); user_protect(); $result = QueryWS1("SELECT TOP 100 a.DisplayAlias, (SELECT SUM(b.PostR...
{ "content_hash": "e65606eb7a13baaf8a4578dfd4093fef", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 237, "avg_line_length": 28.591304347826085, "alnum_prop": 0.5535279805352799, "repo_name": "frodesigns/helbreath-player-portal", "id": "7d89764db28347178bf5b66a9f4120c2401f4...
process.env.DATABASE_URL = 'postgres://localhost:5432/simple_book_store_test'; const chai = require('chai'); const expect = chai.expect; const chaiHttp = require('chai-http'); const app = require('../../src/server'); chai.use(chaiHttp); const request = chai.request; context('Book routes', function () { describe('/',...
{ "content_hash": "6bb9a0e973e812fab5a6d9e2154aaf20", "timestamp": "", "source": "github", "line_count": 228, "max_line_length": 135, "avg_line_length": 33.14035087719298, "alnum_prop": 0.5304393859184754, "repo_name": "pkallas/Simple_Book_Store", "id": "3f9b60f6609cbd7949ca4250ac01f099fb010086", "s...
Kind of continue from the other gist [how to install LAMP on an Amazon AMI](https://gist.github.com/1105007) ##Install git ``` sudo yum install git-core ``` ##Create ssh directory since it doesn't exists by default on the Amazon AMI ``` sudo mkdir /var/www/.ssh sudo chown -R apache:apache /var/www/.ssh/ ``` ##Gene...
{ "content_hash": "ace0f10f8c3e0a24fc65c72838c298fa", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 133, "avg_line_length": 26.058823529411764, "alnum_prop": 0.7223476297968398, "repo_name": "denovo/notes", "id": "5c3332df7caaa6db297266c2c5a4fb35630bcc89", "size": "1329",...
@implementation TestEntity (CoreDataProperties) @dynamic someNumber; @dynamic someString; @dynamic related; @dynamic manyRelated; @end
{ "content_hash": "29485ffe8e9d2dbc1e2807a825d44499", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 47, "avg_line_length": 17.125, "alnum_prop": 0.8102189781021898, "repo_name": "PendarLabs/PLFetchedObjectsController", "id": "cff68faa45319b02bca7363a4335bd6fdb76c91a", "siz...
<?php namespace App; use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable; /** * Class User * @package App */ class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected ...
{ "content_hash": "01b88f74826ec7cf24e7aedbeb1ed5b0", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 55, "avg_line_length": 16.636363636363637, "alnum_prop": 0.5865209471766849, "repo_name": "crip-home/href", "id": "7e1edf9ec4a60527d628113c240a9baffd0cc2fb", "size": "549",...
import { Component } from '@angular/core'; import { OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { Hero } from './hero'; import { HeroService } from './hero.service'; @Component({ moduleId: module.id, selector: 'my-heroes', templateUrl: 'heroes.component.html', styleUrls: [...
{ "content_hash": "89266ee5314b44a8fbe9aa5a6b419ad4", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 208, "avg_line_length": 28.081967213114755, "alnum_prop": 0.6339754816112084, "repo_name": "namnguyenvn/quickstart-angular-2", "id": "0506968295569afae2db335a146e90d91c5fb8c9...
declare module 'react-bootstrap' { declare class Grid extends ReactComponent { render():any; } declare class Row extends ReactComponent { render():any; } declare class Col extends ReactComponent { render():any; } declare class Button extends ReactComponent { render():any; } declare class Input extends ReactC...
{ "content_hash": "f69fef67786f1608966e0f4c1b3548a5", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 63, "avg_line_length": 43.625, "alnum_prop": 0.7392550143266475, "repo_name": "saem/hairpiece", "id": "9ce9ee678b58ba85242998fa0ef74bae966fc57a", "size": "349", "binary": ...
var vows = require('vows'); var assert = require('assert'); var util = require('util'); var foodspotting = require('passport-foodspotting'); vows.describe('passport-foodspotting').addBatch({ 'module': { 'should report a version': function (x) { assert.isString(foodspotting.version); }, }, }).e...
{ "content_hash": "07cffd342385230aa07e95542b665a9f", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 52, "avg_line_length": 22.333333333333332, "alnum_prop": 0.6567164179104478, "repo_name": "jaredhanson/passport-foodspotting", "id": "8e43afa530fddbd02d567cc49ed2fce59ee52017...
* Provides an example to show how generate a vector in FPGA and to write it in HOST memory using optimized memcpy. * To maximixe memcpy performance, data is written in 4KB chunks (MAX_BURST size) to maximize bandwidth. Files hierarchy: ``` hls_vector_generator ├── Makefile General Makefile used...
{ "content_hash": "a82b6c9cb270fb27f2790cd89b213444", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 119, "avg_line_length": 58.78260869565217, "alnum_prop": 0.6693786982248521, "repo_name": "open-power/snap", "id": "97c5014c658af20cc35c8f7624290b8af316a3b0", "size": "1456...
#region Apache Notice #endregion using System; using System.Xml.Serialization; using IBatisNet.Common.Utilities.Objects.Members; using IBatisNet.DataMapper.Configuration.Sql.Dynamic.Handlers; namespace IBatisNet.DataMapper.Configuration.Sql.Dynamic.Elements { /// <summary> /// Represent an isNotEqual sql tag...
{ "content_hash": "a28fc90d976ba2db09a490d4522465b7", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 77, "avg_line_length": 30.392857142857142, "alnum_prop": 0.6792009400705052, "repo_name": "chookrib/Castle.Facilities.IBatisNet", "id": "fba81b355d61aaf158d42e6564e60ceffa265...
body { font-family: -apple-system, "Helvetica Neue", Helvetica, sans-serif; } .header { padding: 1px 0; margin-bottom: 10px; background: #192e40; color: #fff; } .header h1 { text-align: center; margin: 15px 0; cursor: default; user-select: none; -webkit-user-select: none; } .app-actions { text-...
{ "content_hash": "bace46a39553afa0f435d3d47d01aa0e", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 88, "avg_line_length": 17.96385542168675, "alnum_prop": 0.6720321931589537, "repo_name": "LouWii/hosts-file-edit", "id": "e8dd4f768012431c6d63eca4d66d25a98a9b91d7", "size":...
<?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http://ti.appcelerator.org"> <id>com.furthurr.labelHtml</id> <name>labelHtml</name> <version>1.0</version> <publisher>furthurr</publisher> <url>http://</url> <description/> <copyright>2014 by furthurr</copyright> <icon>appicon.png<...
{ "content_hash": "a6543c947f03ed4e599cb7d470d18cae", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 77, "avg_line_length": 36.693548387096776, "alnum_prop": 0.5736263736263736, "repo_name": "furthurr/labelHtml", "id": "9e41fe5eacf483f5bbc26b6a93cb5340080c2c4c", "size": "2...
<?xml version="1.0" encoding="UTF-8"?> <config xmlns="http://www.knime.org/2008/09/XMLConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.knime.org/2008/09/XMLConfig http://www.knime.org/XMLConfig_2008_09.xsd" key="table_meta_info"> <entry key="table_ID" type="xint" value="4"/> ...
{ "content_hash": "851ab8a12ae99d7010468d0db5c4d309", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 234, "avg_line_length": 76.33333333333333, "alnum_prop": 0.7161572052401747, "repo_name": "3D-e-Chem/tycho-knime-node-archetype", "id": "7f438a2e46fbe47365de6db97abfe098a92c9a...
package org.ofbiz.minilang.method.envops; import java.util.LinkedList; import java.util.List; import org.ofbiz.base.util.collections.FlexibleMapAccessor; import org.ofbiz.minilang.MiniLangException; import org.ofbiz.minilang.MiniLangValidate; import org.ofbiz.minilang.SimpleMethod; import org.ofbiz.minilang.method.M...
{ "content_hash": "f06f5feebc26c92a594871ca841af858", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 166, "avg_line_length": 38.136986301369866, "alnum_prop": 0.6788793103448276, "repo_name": "ofbizfriends/vogue", "id": "7343374db5f32a6c3da4e191c7976f7f10b0fecd", "size": "...
package org.radargun.stages.cache.background; import org.radargun.Operation; import org.radargun.logging.Log; import org.radargun.logging.LogFactory; import org.radargun.stages.cache.generators.KeyGenerator; import org.radargun.traits.BasicOperations; import org.radargun.traits.Transactional; import java.util.Random;...
{ "content_hash": "d11271c862e0cd189608aea7625ddeff", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 148, "avg_line_length": 32.854838709677416, "alnum_prop": 0.7191948944526264, "repo_name": "Danny-Hazelcast/radargun", "id": "07238ed0bf60a7e0d1cc40638700d8703cd2ce7f", "si...
Jasny's MVC basics for PHP ========================== Includes a router, a controller base class and a class for loading views. ### What is MVC? The Model View Controller pattern splits the user interface interaction into three distinct roles. Each with it's own responsibility. > View: "Hey, controller, the user ju...
{ "content_hash": "76be25a46b8324bc0bf68adabc450309", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 120, "avg_line_length": 44.111111111111114, "alnum_prop": 0.7065491183879093, "repo_name": "jasny/mvc", "id": "ed8dc9389934933298866c2ad400baf3068e36c6", "size": "794", "...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Altus.Suffūz { public static class ValueTypesEx { public static int Clamp(this int value, int min) { return value < min ? min : value; } pu...
{ "content_hash": "2ab7bcbd8c3358216a6db9bcb1b319dc", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 87, "avg_line_length": 32.92727272727273, "alnum_prop": 0.5378244064053009, "repo_name": "odinhaus/Suffuz", "id": "1d040d64096f41ff98ad199098957a0de17e5526", "size": "1814"...
package net.sourceforge.jwbf.core.actions; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import net.sourceforge.jwbf.GAssert; import net.sourceforge.jwbf.core.actions.RequestBuilder.HashCodeEqualsMemoizingSupplier; import org.junit.Ignore; import org.junit.Test; import com.google....
{ "content_hash": "0ae409585ef162e3e8fd23c72a5c3251", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 96, "avg_line_length": 26.176706827309236, "alnum_prop": 0.5806996011046334, "repo_name": "Hunsu/jwbf", "id": "3ac9b5486dbf3b3a44e54ece30507dcc4cfa4d05", "size": "6518", ...