text
stringlengths
2
1.04M
meta
dict
package ch.jalu.injector.handlers.dependency; import ch.jalu.injector.context.ObjectIdentifier; import ch.jalu.injector.context.ResolutionContext; import ch.jalu.injector.exceptions.InjectorException; import ch.jalu.injector.handlers.instantiation.Resolution; import ch.jalu.injector.samples.Duration; import ch.jalu.in...
{ "content_hash": "273ec8f02cb41837b1feb87a199c44d2", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 92, "avg_line_length": 35.18518518518518, "alnum_prop": 0.7136842105263158, "repo_name": "ljacqu/DependencyInjector", "id": "9eb459b23d4a78527b7f631f5195f39e07980e68", "siz...
using System; using System.Linq; using System.Reflection; namespace Zirpl.FluentReflection.Queries { internal sealed class ScopeCriteria : MemberInfoCriteriaBase { private readonly Type _reflectedType; internal bool Instance { get; set; } internal bool Static { get; set; } inte...
{ "content_hash": "662828da4651ea636536f17df1e346e6", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 104, "avg_line_length": 38.31818181818182, "alnum_prop": 0.5667259786476868, "repo_name": "zirplsoftware/ZFluentReflection", "id": "20c37650f5f3341b6ce93eb532d0ebc0e1222e0a",...
%https://code.google.com/p/edulinq/source/browse/src/Edulinq.Tests/SkipTest.cs function test_suite = testLinqSkipWhile initTestSuite; %% function testEmptySource l = linq([]); f = @() l.skipWhile(@(x) x > 3); assertExceptionThrown(f,'linq:skip:InputValue') function testPredicateFailingFirstElement l = linq(1:10); re...
{ "content_hash": "64b12500cc7940c7bfe51d28ad4ea7a6", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 78, "avg_line_length": 31.815384615384616, "alnum_prop": 0.6876208897485493, "repo_name": "brian-lau/MatlabQuery", "id": "0226eade8febfc9ea966cdaf8ad78e525d16d2e0", "size":...
package org.gradle.test.performance.mediummonolithicjavaproject.p491; import org.junit.Test; import static org.junit.Assert.*; public class Test9823 { Production9823 objectUnderTest = new Production9823(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
{ "content_hash": "2a69c0471e93e83bedea0b3f2a027d0d", "timestamp": "", "source": "github", "line_count": 79, "max_line_length": 69, "avg_line_length": 26.72151898734177, "alnum_prop": 0.6447181430601611, "repo_name": "oehme/analysing-gradle-performance", "id": "675cf503a0f69df12bfec8ca72de882a11ae30b4...
// Copyright (c) 2010-2011 Zipline Games, Inc. All Rights Reserved. // http://getmoai.com #ifndef MOAISTREAMWRITER_H #define MOAISTREAMWRITER_H #include <moaicore/MOAIStream.h> //================================================================// // MOAIStreamWriter //=================================================...
{ "content_hash": "57b7d8dfb9367d7b9f6b3518a9ac6213", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 69, "avg_line_length": 30.452380952380953, "alnum_prop": 0.5543393275996873, "repo_name": "jjimenezg93/ai-state_machines", "id": "67db4c317d143be1d1c0599290ea3bbb94197c81", ...
package temptable import ( "context" "testing" "github.com/pingcap/tidb/infoschema" "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/parser/model" "github.com/pingcap/tidb/parser/mysql" "github.com/pingcap/tidb/sessionctx" "github.com/pingcap/tidb/store/mockstore" "github.com/pingcap/tidb/tablecodec" "...
{ "content_hash": "112550737cb7e0923114a06f4cf1a52c", "timestamp": "", "source": "github", "line_count": 212, "max_line_length": 148, "avg_line_length": 37.320754716981135, "alnum_prop": 0.7408998988877654, "repo_name": "pingcap/tidb", "id": "fbca5f6bcdc71b7bb12668b9804b637610d461c0", "size": "8503"...
namespace Google.Cloud.Monitoring.V3.Snippets { // [START monitoring_v3_generated_MetricService_ListTimeSeries_sync] using Google.Api.Gax; using Google.Api.Gax.ResourceNames; using Google.Cloud.Monitoring.V3; using System; public sealed partial class GeneratedMetricServiceClientSnippets { ...
{ "content_hash": "4e8c8bddda668dfb12bcbae4da682cf0", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 120, "avg_line_length": 44.88732394366197, "alnum_prop": 0.6011923438970819, "repo_name": "googleapis/google-cloud-dotnet", "id": "7dc4da332c7142f2c37e89a761f12b143c90fc09", ...
import sys if sys.version_info[0] == 2: import Queue as queue else: import queue import contextlib import collections import logging from . import _utils, events logger = logging.getLogger(__name__) class Room(object): def __init__(self, id, client): self.id = id self._logger = logger.g...
{ "content_hash": "578c6599ce65e0e0e5d0ca08cf334e80", "timestamp": "", "source": "github", "line_count": 159, "max_line_length": 98, "avg_line_length": 32.0251572327044, "alnum_prop": 0.6105655930871956, "repo_name": "ByteCommander/ChatExchange6", "id": "b88d5f8cc64163fe7a4cde2f09000e83e88daca6", "s...
/*! * Copyright (c) 2015 by Contributors * \file image_det_aug_default.cc * \brief Default augmenter. */ #include <mxnet/base.h> #include <utility> #include <string> #include <algorithm> #include <vector> #include <cmath> #include "./image_augmenter.h" #include "../common/utils.h" namespace mxnet { namespace io...
{ "content_hash": "3cf0305a5b99abebd2ccd618ca531865", "timestamp": "", "source": "github", "line_count": 670, "max_line_length": 114, "avg_line_length": 43.14328358208955, "alnum_prop": 0.6291773334255863, "repo_name": "leezu/mxnet", "id": "6b3109fbce197aa5e60cebfff1a1bae99a66e564", "size": "29713",...
const { env: ENV } = process; export const CWD = process.cwd(); export const PORT = parseInt(ENV.PORT, 10) || 4000; export const NODE_ENV = ENV.NODE_ENV || 'development'; export const LUX_CONSOLE = ENV.LUX_CONSOLE || false;
{ "content_hash": "10f14236e51886e1e08aa9e1a124edaa", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 54, "avg_line_length": 37.5, "alnum_prop": 0.6933333333333334, "repo_name": "kureuil/lux", "id": "449a64043e0543e76541e708f30c681bbb3595ef", "size": "234", "binary": false...
SYNONYM #### According to Index Fungorum #### Published in null #### Original name Erioderma physcoides Vain. ### Remarks null
{ "content_hash": "e3beb8ba932960c150c9b355e82b1e9e", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 26, "avg_line_length": 10, "alnum_prop": 0.7076923076923077, "repo_name": "mdoering/backbone", "id": "efeb49c058d4a7b51cd0f3eeb1be52d90d1ea2a5", "size": "180", "binary": ...
@class ViewController; @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property UIViewController * navigationViewController; @end
{ "content_hash": "d7ffdfa59c826640e698ff8471bfd982", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 60, "avg_line_length": 27.857142857142858, "alnum_prop": 0.8153846153846154, "repo_name": "cobaltians/CodeDArmor", "id": "7f68278db7143fdebf6d98846d7165045cd27b61", "size": ...
package com.krishagni.catissueplus.core.biospecimen.domain; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Set; import org.apache.commons.lang.StringUtils; import org.hibernate.envers.AuditTable; import org.hibernate.envers.Audited; import org.hibernate.envers.NotAudited; imp...
{ "content_hash": "d22e5641ca58001820b0ed8866507227", "timestamp": "", "source": "github", "line_count": 320, "max_line_length": 94, "avg_line_length": 23.053125, "alnum_prop": 0.7493561068184899, "repo_name": "asamgir/openspecimen", "id": "390164597e9fb150542e558d4012afd15e6d811d", "size": "7378", ...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Author; /** * AuthorSearch represents the model behind the search form about `app\models\Author`. */ class AuthorSearch extends Author { /** * @inheritdoc */ public function rules() { ...
{ "content_hash": "6a60cc081fbd1254a66349907486d548", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 106, "avg_line_length": 22.760563380281692, "alnum_prop": 0.5464108910891089, "repo_name": "hehbhehb/basic", "id": "2fd9571945f719f2ae803a48b854961df5dd730c", "size": "1616...
/* * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2012, 2015 by Delphix. All rights reserved. * Copyright (c) 2013 Steven Hartland. All rights reserved. */ #include <sys/zfs_context.h> #include <sys/dsl_userhold.h> #include <sys/dsl_dataset.h> #include <sys/dsl_dest...
{ "content_hash": "89b07830c5b51bca53b2244fb0137c1f", "timestamp": "", "source": "github", "line_count": 651, "max_line_length": 80, "avg_line_length": 25.887864823348693, "alnum_prop": 0.6559069601851303, "repo_name": "jpeach/zfsd", "id": "0e72d47fb2781b0e5f54bc79ca6157c156fdc8bb", "size": "17672",...
package graphqlObj import "github.com/graphql-go/graphql" // ConsolInput object for GraphQL integration var ConsolInput = graphql.NewInputObject( graphql.InputObjectConfig{ Name: "Consol", Fields: graphql.InputObjectConfigFieldMap{ "Masterbill": &graphql.InputObjectFieldConfig{ Type: graphql.String, },...
{ "content_hash": "c838561989942dac55b5ff2f2d2c53ba", "timestamp": "", "source": "github", "line_count": 117, "max_line_length": 63, "avg_line_length": 24.39316239316239, "alnum_prop": 0.6723896285914506, "repo_name": "blockfreight/go-bftx", "id": "3c6dfd7c7658b3f878b9b5bc52b63b9ca219af6d", "size": ...
include ../../Makefile.common LDFLAGS := -L.. -lgraph -L../../matrix -lFMatrix -lcblas -L../../libsafs -lsafs -lrt -lz $(LDFLAGS) CXXFLAGS = -I.. -I../../libsafs -I../../matrix -g -std=c++0x SOURCE := $(wildcard *.c) $(wildcard *.cpp) OBJS := $(patsubst %.c,%.o,$(patsubst %.cpp,%.o,$(SOURCE))) DEPS := $(patsubst %.o,...
{ "content_hash": "2c7d84e19a2284a967cf61e482c570e0", "timestamp": "", "source": "github", "line_count": 38, "max_line_length": 99, "avg_line_length": 26.94736842105263, "alnum_prop": 0.6572265625, "repo_name": "flashxio/FlashX", "id": "02868bb2caf974083e91d09eddc057324b3b9d9a", "size": "1720", "b...
<?php namespace Wambo\Core\Storage; interface StorageInterface { public function read() : array; public function write(array $data); }
{ "content_hash": "b62b7eca26b2e186075d0a76899463de", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 39, "avg_line_length": 13.272727272727273, "alnum_prop": 0.7123287671232876, "repo_name": "wambo-co/module-core", "id": "5e92acc15dceacde359f0293fa68706be2521f82", "size": ...
package act.asm; /** * A {@link MethodVisitor} that generates methods in bytecode form. Each visit * method of this class appends the bytecode corresponding to the visited * instruction to a byte vector, in the order these methods are called. * * @author Eric Bruneton * @author Eugene Kuleshov */ class MethodW...
{ "content_hash": "2add13ceb370c3f4689d74310c031c0b", "timestamp": "", "source": "github", "line_count": 2887, "max_line_length": 117, "avg_line_length": 38.60027710426048, "alnum_prop": 0.47726558924613466, "repo_name": "actframework/act-asm", "id": "dfb0976d1d020496ee889663ee9c75850bc385ad", "size...
License ============ Copyright (c) 2010 Audrey Roy, Daniel Greenfeld, and contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the right...
{ "content_hash": "dde00c3883938c7fa73afba380af7b19", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 66, "avg_line_length": 44.48, "alnum_prop": 0.7967625899280576, "repo_name": "cartwheelweb/packaginator", "id": "08da8aa9e01470c008578e8c37db0078a41713f9", "size": "1112", ...
namespace CloudOnce.Internal.Providers { using Internal; using UnityEngine; /// <summary> /// For testing cloud save in the editor /// </summary> public class TestProviderStorageWrapper : ICloudStorageProvider { private readonly CloudOnceEvents cloudOnceEvents; private bool ...
{ "content_hash": "e477a3fb8952bdd69992ae017cf6db61", "timestamp": "", "source": "github", "line_count": 148, "max_line_length": 130, "avg_line_length": 35.891891891891895, "alnum_prop": 0.5736069277108434, "repo_name": "Trollpants/CloudOnce", "id": "b20aaeb7967c6aeaa4d5714e2055322c13911cba", "size"...
namespace Java.Util.Concurrent { using System; public interface ICompletionService<T> { IFuture<T> Poll(); IFuture<T> Poll(TimeSpan timeout); IFuture<T> Submit(ICallable<T> task); IFuture<T> Submit(IRunnable task, T result); IFuture<T> Take(); } }
{ "content_hash": "8aaa850be561f8300c31f622e01e4331", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 52, "avg_line_length": 23.53846153846154, "alnum_prop": 0.6045751633986928, "repo_name": "Elders/Servo.NET", "id": "de64b88f1a9ac647a9abdf9bd5368a3bc1f0eb4f", "size": "308"...
package ru.nivanov.model; /** * Created by Nikolay Ivanov on 03.10.2017. */ public class Vacancy { private final String name; private final String url; private final String author; private final String authorUrl; private final long createDate; /** * Constructor. * @param name .. ...
{ "content_hash": "25d2cb61764a502bbb4e7ed7954bfbee", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 110, "avg_line_length": 21.45263157894737, "alnum_prop": 0.5333660451422964, "repo_name": "Piterski72/Java-a-to-z", "id": "59ff57e4a72f7965e9221bba4e2980fbd5da9d7b", "size"...
This is a template to build desktop chatbot application. Inspired from https://github.com/AndreiD/make_yourself_a_bot ## Electron Basics: A basic Electron application needs just these files: - `package.json` - Points to the app's main file and lists its details and dependencies. - `main.js` - Starts the app and cre...
{ "content_hash": "b0ac783cf983f8d3a77981c73193869d", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 213, "avg_line_length": 41.48275862068966, "alnum_prop": 0.7481296758104738, "repo_name": "thayumaanavan/electron-chatbot-template", "id": "2bb8065f9735da96569b18ad8c3253f07c...
package org.springframework.security.web.server.header; import org.junit.jupiter.api.Test; import org.springframework.http.HttpHeaders; import org.springframework.mock.http.server.reactive.MockServerHttpRequest; import org.springframework.mock.web.server.MockServerWebExchange; import org.springframework.web.server....
{ "content_hash": "a9695b8696726d2ec3c2812a4dc6a34a", "timestamp": "", "source": "github", "line_count": 74, "max_line_length": 113, "avg_line_length": 37.608108108108105, "alnum_prop": 0.8167445203018325, "repo_name": "spring-projects/spring-security", "id": "a8e8624b78b90d5e1975a43b3f61965443de52c9"...
using DotNetNuke.Web.Api; using Satrabel.OpenContent.Components.Datasource; #endregion namespace Satrabel.OpenContent.Components { public class StructRouteMapper : IServiceRouteMapper { public void RegisterRoutes(IMapRoute mapRouteManager) { mapRouteManager.MapHttpRoute("OpenConten...
{ "content_hash": "d66dac88a2ccc0dd0e5d912f47a931ae", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 218, "avg_line_length": 31.11111111111111, "alnum_prop": 0.7196428571428571, "repo_name": "janjonas/OpenContent", "id": "f78bcb2c4583f39c00e111b1ebafbb61b8fde314", "size": ...
<?xml version="1.0" encoding="UTF-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android"> <item android:state_pressed="true" android:drawable="@drawable/delete_3_an" /> <item android:state_pressed="false" android:drawable="@drawable/delete_3"></item> </selector>
{ "content_hash": "bd536e3a3c1c827d3984431b007b4536", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 85, "avg_line_length": 48.5, "alnum_prop": 0.711340206185567, "repo_name": "bingo1118/Bees", "id": "2531e8f92351cec8d1e9914e4e9cca3cb25099f4", "size": "291", "binary": fal...
package cat.ppicas.cleanarch.owm; import java.util.ArrayList; import java.util.List; import cat.ppicas.cleanarch.model.City; import cat.ppicas.cleanarch.model.CurrentWeatherPreview; import cat.ppicas.cleanarch.owm.model.OWMCurrentWeather; import cat.ppicas.cleanarch.owm.model.OWMCurrentWeatherList; import cat.ppica...
{ "content_hash": "8d83ce6a07e2b3536b51eea73521c596", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 89, "avg_line_length": 32, "alnum_prop": 0.7118055555555556, "repo_name": "ppicas/android-clean-architecture-mvp", "id": "1fb6abe42abe0453418e5888d29a926da81cf564", "size":...
/* * @author max */ package com.intellij.ui; import com.intellij.ide.util.PropertiesComponent; import com.intellij.openapi.util.text.StringUtil; import java.util.ArrayList; public class SearchTextFieldWithStoredHistory extends SearchTextField { private final String myPropertyName; public SearchTextFieldWith...
{ "content_hash": "21ff01333cab6ba8b6c39d8271f5849c", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 100, "avg_line_length": 26.595238095238095, "alnum_prop": 0.6956132497761862, "repo_name": "consulo/consulo", "id": "65f4d11cc7f5a35f9d461b52db26dab8ad3a8c1d", "size": "171...
using content::DomOperationNotificationDetails; using content::RenderViewHost; namespace { // Platform-specific filename relative to the chrome executable. #if defined(OS_WIN) const wchar_t library_name[] = L"ppapi_tests.dll"; #elif defined(OS_MACOSX) const char library_name[] = "ppapi_tests.plugin"; #elif defined(OS...
{ "content_hash": "dbce4bb357d4e4cb89d14e2b462fe523", "timestamp": "", "source": "github", "line_count": 302, "max_line_length": 80, "avg_line_length": 35.51324503311258, "alnum_prop": 0.7068531468531468, "repo_name": "leighpauls/k2cro4", "id": "5da65af23cb562124c7a2e47b8508c7dabc4cc1e", "size": "12...
/* * pix1.c * * The pixN.c {N = 1,2,3,4} files are sorted by the type of operation. * The primary functions in these files are: * * pix1.c: constructors, destructors and field accessors * pix2.c: pixel poking of image, pad and border pixels * pix3.c: masking and logical ops, counti...
{ "content_hash": "b68c48935cc44c9a67f806a3fe2d5449", "timestamp": "", "source": "github", "line_count": 1578, "max_line_length": 79, "avg_line_length": 27.637515842839036, "alnum_prop": 0.5455379253416491, "repo_name": "dreamsxin/ultimatepp", "id": "33a72f4facd4f352965cafafedb573535a586c75", "size"...
{:forge_host=>"forge-aio01-petest.puppetlabs.com", :is_puppetserver=>true, :is_jvm_puppet=>true, "service-wait"=>true, "service-prefix"=>"service ", "service-num-retries"=>1500, "puppetservice"=>"puppetserver", "puppetserver-package"=>"puppetserver", "use-service"=>true, "master-start-curl-retries"=>60, "pupp...
{ "content_hash": "cfa1b8e36fc7e9d9ad10fe637d3371a0", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 67, "avg_line_length": 37.857142857142854, "alnum_prop": 0.7396226415094339, "repo_name": "puppetlabs/puppetserver", "id": "a98c7e2adb1388073b47775ceaaaf07eb8b25746", "size...
/* resource.h */ /* Copyright (c) 2012 by Jason Cheung <yujiecheung@gmail.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright ...
{ "content_hash": "dc73c8cb73007acf8a7c00f519a0c004", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 83, "avg_line_length": 49.77777777777778, "alnum_prop": 0.7449776785714286, "repo_name": "yujiecheung/mvp", "id": "4301ff6767939cb91a2acc015e5832efa8a52a07", "size": "1792"...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Net; using System.Net.Sockets; using System.Reflection; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Xml; using Sy...
{ "content_hash": "aa80b5d4f29907fde802ec555acc731e", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 72, "avg_line_length": 23.79310344827586, "alnum_prop": 0.7478260869565218, "repo_name": "jbatonnet/shared", "id": "0e20f2ee3691d828d8f4b72cb0401d5f7ec4211d", "size": "692"...
<?php function showRequests(){ include "mysql-cred.php"; $link = mysqli_connect( $servername, $username, $password, $database); if (mysqli_connect_errno()) { die("Connection failed: " . mysqli_connect_error); } $sql = "SELECT * from request"; $result = mysqli_query($link, $sql); $c...
{ "content_hash": "3b25a987816c30cfe8c14906580e2a38", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 89, "avg_line_length": 28.404761904761905, "alnum_prop": 0.5431684828164292, "repo_name": "owen-kellie-smith/chart", "id": "dff52d934c0f557950ddfe78419b53d390be1616", "size...
import { Text } from 'react-native' import React from 'react' import { Button, LeftButton, RightButton } from '../src' // Note: test renderer must be required after react-native. import renderer from 'react-test-renderer' it('renders correctly => Button::label', () => { const tree = renderer.create( <Button lab...
{ "content_hash": "5b70204d5d24baf097049f87faea02d9", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 59, "avg_line_length": 22.90625, "alnum_prop": 0.6289222373806276, "repo_name": "thondery/kenote-react-native-design", "id": "b8babf7b2155fd94682bacf6718980ce09ffba93", "si...
<?php /** * A TestListener that integrates with XHProf. * * Here is an example XML configuration for activating this listener: * * <code> * <listeners> * <listener class="PHPUnit_Util_Log_XHProf" file="PHPUnit/Util/Log/XHProf.php"> * <arguments> * <array> * <element key="xhprofLibFile"> * <s...
{ "content_hash": "8f6826f21c11393beab12c88de2bb4da", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 110, "avg_line_length": 26.90909090909091, "alnum_prop": 0.5385846372688478, "repo_name": "mgrauer/midas3score", "id": "42d8a1459352660688381a041853781e17e25bff", "size": ...
namespace System.Management { public enum TextFormat { Mof = 0 } }
{ "content_hash": "ca4bb0d7fbdc6fbda3c606d85809d96c", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 27, "avg_line_length": 9.125, "alnum_prop": 0.6712328767123288, "repo_name": "jjenki11/blaze-chem-rendering", "id": "f06de29a8fa3c3768a241334373786f0430ecb48", "size": "1310...
/** Beispiel HTTP PUT */ #include "mbed.h" #include "HTTPClient.h" #include "data/HTTPText.h" #include "EthernetInterface.h" EthernetInterface eth; // HTTPClient Hilfsklasse HTTPClient http; // I/O Buffer char str[512]; DigitalOut myled(LED1); int main() { printf("HTTP Client - PUT\n"); eth...
{ "content_hash": "84db8f7ff75cfb0f5eff58ab9953458e", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 121, "avg_line_length": 26.918367346938776, "alnum_prop": 0.5489006823351024, "repo_name": "mc-b/IoTKitV2", "id": "6da08b90c19808cf99fe4d3191c432d0538e68fc", "size": "1319"...
package org.knowm.xchange.examples.btcchina.fix; import java.io.IOException; import java.io.InputStream; import java.util.UUID; import java.util.concurrent.TimeUnit; import org.knowm.xchange.btcchina.service.fix.BTCChinaApplication; import org.knowm.xchange.btcchina.service.fix.fix44.BTCChinaMessageFactory; import or...
{ "content_hash": "0a939ed480808b083e2e4157bf8ae507", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 124, "avg_line_length": 33.18292682926829, "alnum_prop": 0.75303197353914, "repo_name": "gaborkolozsy/XChange", "id": "3ecf26ee3f83be3b25ae55290f30973a4281e5fc", "size": "2...
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html lang="en-us" xml:lang="en-us"> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NO...
{ "content_hash": "f85587c01e0b660cff8705a2f1218aa4", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 261, "avg_line_length": 45.11764705882353, "alnum_prop": 0.7094741416775315, "repo_name": "mminella/jsr-352-ri-tck", "id": "af590291f1696824f75becf7c33aa5bb63faacc6", "siz...
class CreatePatients < ActiveRecord::Migration def change create_table :patients, id: :uuid, default: 'gen_random_uuid()',force:true do |t| t.string :name t.string :gender t.date :date_of_birth t.string :phone t.string :email t.string :...
{ "content_hash": "70a81d9bb8e27b86ef24dfc56e990bb4", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 89, "avg_line_length": 29.066666666666666, "alnum_prop": 0.5458715596330275, "repo_name": "Nanzala/PMHRS", "id": "595ede237f82c9d978faf0f1f6423c2452ea9447", "size": "436", ...
<?xml version="1.0" encoding="utf-8"?> <!-- --> <resources> <dimen name="key_height">50dip</dimen> <!-- <dimen name="candidate_font_height">30sp</dimen> <dimen name="candidate_vertical_padding">18sp</dimen> --> <dimen name="candidate_font_height">20sp</dimen> <dimen name="candidate_vertica...
{ "content_hash": "f24456d06e6e045e1b88598a2705eb60", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 57, "avg_line_length": 28.5, "alnum_prop": 0.6469298245614035, "repo_name": "divec/literatim", "id": "0558edbf7bb4020a7dee87f599d884e312300620", "size": "1082", "binary":...
import {OnDestroy} from "@angular/core"; import {Subscription} from "rxjs"; export class BaseComponent implements OnDestroy { protected subscriptions: Subscription[] = []; constructor() { // ensure 'ngOnDestroy' is called anyway, independently of the child class implementation; based on // h...
{ "content_hash": "edc21b5141076bc5c6e1057d8774b452", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 129, "avg_line_length": 31.59375, "alnum_prop": 0.6547972304648862, "repo_name": "privet56/ng2Goodies", "id": "77b0aea09c487716b46607dd5f3b65abeb5a2006", "size": "1011", ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers // Copyright (c) 2017-2018 The LitecoinZ developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_AMOUNT_H #def...
{ "content_hash": "830253272724cb2af7e5c85c63e55cbe", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 111, "avg_line_length": 40.50769230769231, "alnum_prop": 0.7299658184580327, "repo_name": "litecoinz-project/litecoinz", "id": "8dbc11c97f90e41bc753a9cc445d679c4f016319", "...
function createDonutCharts() { $("<style type='text/css' id='dynamic' />").appendTo("head"); $("div[chart-type*=donut]").each(function () { var d = $(this); var id = $(this).attr('id'); var max = $(this).data('chart-max'); if ($(this).data('chart-text')) { var text = ...
{ "content_hash": "f68f829f5417a84e6a2e89b97c1094c4", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 788, "avg_line_length": 54, "alnum_prop": 0.49957912457912457, "repo_name": "madcore-ai/containers", "id": "28ee735600d6d9822980ea2b65848b2904a474ab", "size": "2376", "bi...
<stix:STIX_Package xmlns:cyboxCommon="http://cybox.mitre.org/common-2" xmlns:cybox="http://cybox.mitre.org/cybox-2" xmlns:cyboxVocabs="http://cybox.mitre.org/default_vocabularies-2" xmlns:example="http://example.com" xmlns:incident="http://stix.mitre.org/Incident-1" xmlns:ttp="http://stix.mitre.org/TTP-1" xmlns...
{ "content_hash": "613c1e0171885d6a1dd281d762d2372d", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 616, "avg_line_length": 65.85161290322581, "alnum_prop": 0.6562163221318703, "repo_name": "rpiazza/veris-to-stix", "id": "28af2e06aae9f2318f950e66647f68e13952eddb", "size"...
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Struct bad_weekday</title> <link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.78.1"> <link rel="home" href="../../index.html" title="The Bo...
{ "content_hash": "951e3dd7faa42046ea98a965ce5ee8b8", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 479, "avg_line_length": 80.88524590163935, "alnum_prop": 0.671868666396433, "repo_name": "MisterTea/HyperNEAT", "id": "738aaab8a6d05df7d4dfee8d89d08a28101061f5", "size": "4...
<?php namespace Tests; use Anekdotes\Meta\StaticRegistry; use PHPUnit\Framework\TestCase; /** * @runTestsInSeparateProcesses */ final class StaticRegistryTest extends TestCase { public function testLoadAndAll() { StaticRegistry::load(['toaster' => 'Toast', 'Mathieu' => 'Patate']); StaticR...
{ "content_hash": "461bf4aa3b0ea8e73b519c70e45f7508", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 114, "avg_line_length": 24.454545454545453, "alnum_prop": 0.59182156133829, "repo_name": "anekdotes/meta", "id": "5e826c74c338974f5c26fe43df94ddfc529bfd67", "size": "1583",...
DEBIAN_FRONTEND=noninteractive TZ=Europe/London . "/srv/provision/tests/provisioners.sh" pre_hook provision_main provision_dashboard if [ "${VVV_DOCKER}" != 1 ]; then provision_utility_sources provision_utilities provision_sites fi post_hook
{ "content_hash": "20802749e5a1b96c0cb8721cc0b1253c", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 40, "avg_line_length": 17.642857142857142, "alnum_prop": 0.7773279352226721, "repo_name": "trepmal/varying-vagrant-vagrants", "id": "5f28aa0c16d4b6df76088f473064928d01c60bb8"...
require 'rails_helper' RSpec.describe RegionValidator do class RegionTest include ActiveModel::Validations validates_with RegionValidator attr_accessor :country attr_accessor :region end describe '#validate' do before :each do @region_test = RegionTest.new end it 'requires co...
{ "content_hash": "31f57a1f01d3d4826b93ddd913a4c09f", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 68, "avg_line_length": 26.783132530120483, "alnum_prop": 0.5856950067476383, "repo_name": "ophrescue/RescueRails", "id": "fa6d9083b254f2a9af19ae018e72b9099737fd14", "size":...
using System.Resources; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembl...
{ "content_hash": "7edc865a2dccae244407200d8f56cca3", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 84, "avg_line_length": 36.9, "alnum_prop": 0.7217705510388437, "repo_name": "jenyayel/rgroup", "id": "85f8eb5676acc80bc0d9be844f7d8fd16153f5c4", "size": "1110", "binary":...
import numpy as np from measure_utilities import multitask from rlscore.utilities import array_tools def fscore_singletask(Y, P): correct = Y predictions = P assert len(correct) == len(predictions) TP = 0 FP = 0 FN = 0 for i in range(len(correct)): if correct[i] == 1: i...
{ "content_hash": "ff4a0ffca440e62474933691ef4ee65b", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 74, "avg_line_length": 27.29824561403509, "alnum_prop": 0.5726221079691517, "repo_name": "max291/RLScore", "id": "67c5fd9d83873a6242b73c66bf372b4e94b85654", "size": "1556",...
<!DOCTYPE html> <head> <title>Home Display</title> <link rel="icon" href="/static/favicon.ico"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> {% assets "display_css" %} <link rel="stylesheet" type="text/css" hre...
{ "content_hash": "c46939e79fdc4cb9e37745e5fdd4f1cb", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 107, "avg_line_length": 31.097560975609756, "alnum_prop": 0.508235294117647, "repo_name": "keaneokelley/home", "id": "b1b37db9225acabb0070c12b35767c9713c42836", "size": "12...
namespace BlitzML { class LassoSolver : public SparseLinearSolver { public: virtual ~LassoSolver() { } protected: value_t compute_dual_obj() const; value_t compute_primal_obj_x() const; value_t compute_primal_obj_y() const; void update_bias(int max_newton_itr=4); void setup_proximal_newto...
{ "content_hash": "c20f88a28bd32900f4dc20f43de8b8f2", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 65, "avg_line_length": 24.53846153846154, "alnum_prop": 0.6818181818181818, "repo_name": "tbjohns/BlitzML", "id": "232f4c30ffa9bca47c4b4ad1e38867c94510c818", "size": "709",...
Arbiter.MediaDownloader = function(_featureDb, _schema, _server, _mediaDir, _finishedLayers, _totalLayers){ this.db = _featureDb; this.schema = _schema; this.server = _server; this.mediaDir = _mediaDir; var credentials = Arbiter.Util.getEncodedCredentials( this.server.getUsername(), this.server.getPa...
{ "content_hash": "e618387319cce31239de5fec73604e7e", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 81, "avg_line_length": 24.368098159509202, "alnum_prop": 0.7031722054380665, "repo_name": "ROGUE-JCTD/Arbiter-Android", "id": "f3a9b52ce8449e4d32efd23c42f71dc8e9e82502", "...
package com.amazonaws.services.workdocs.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see <a href="http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DeleteNotificationSubscription" * target="_top">AWS API Documentation</a> */ @Generated("com.amazonaws:aws-java-sdk...
{ "content_hash": "04293f1acdb9004bb178cd6fabdb86be", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 151, "avg_line_length": 29.18032786885246, "alnum_prop": 0.6511235955056179, "repo_name": "dagnir/aws-sdk-java", "id": "fb64dbfe824d0a966dafa351f338d59e66d71fb8", "size": "...
package com.google.appengine.tools.remoteapi; import com.google.appengine.api.urlfetch.HTTPHeader; import com.google.appengine.api.urlfetch.HTTPMethod; import com.google.appengine.api.urlfetch.HTTPRequest; import com.google.appengine.api.urlfetch.HTTPResponse; import com.google.appengine.api.urlfetch.URLFetchService...
{ "content_hash": "988ad3d5c289793e5585bfe9443cfbb2", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 97, "avg_line_length": 33.11764705882353, "alnum_prop": 0.7350503256364713, "repo_name": "GoogleCloudPlatform/appengine-java-standard", "id": "0dd0c58ca3438ac3e4eace5a76d471...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_25) on Tue Jan 13 02:32:25 EST 2015 --> <title>TokenExtractorImpl</title> <meta name="date" content="2015-01-13"> <link rel="stylesheet" type="...
{ "content_hash": "e7b51f3e91367fc086d2f381abb60834", "timestamp": "", "source": "github", "line_count": 290, "max_line_length": 391, "avg_line_length": 37.83103448275862, "alnum_prop": 0.6591012669765746, "repo_name": "juniversal/juniversal.github.io", "id": "cd433c42e0ae800617d30856023a71f9f618d029"...
ProbablyEngine.condition.register('twohand', function(target) return IsEquippedItemType("Two-Hand") end) ProbablyEngine.condition.register('onehand', function(target) return IsEquippedItemType("One-Hand") end) -- SPEC ID 251 ProbablyEngine.rotation.register(251, { -- Blood Tap {{ { "Blood Tap", "player.r...
{ "content_hash": "9485393153a6ca4cfb2d1c6a1474c20b", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 161, "avg_line_length": 33.079754601226995, "alnum_prop": 0.5667655786350149, "repo_name": "adde88/Probably", "id": "69102885599a2f4522a72b82d847c203f563b644", "size": "53...
from efl import ecore from efl.elementary.box import Box from efl.elementary.frame import Frame from efl.elementary.button import Button from efl.elementary.entry import Entry, markup_to_utf8 from efl.evas import EVAS_HINT_EXPAND, EVAS_HINT_FILL EXPAND_BOTH = EVAS_HINT_EXPAND, EVAS_HINT_EXPAND EXPAND_HORIZ = EVAS_HINT...
{ "content_hash": "ad5e3aa74707b2499a41a3c6f8d81c1d", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 90, "avg_line_length": 35.29896907216495, "alnum_prop": 0.5896612149532711, "repo_name": "JeffHoogland/python-elm-extensions", "id": "1c41eddbcb665b20c36629b49fac1572c0ff3214...
class NTPSnippetsLauncher : public ntp_snippets::NTPSnippetsScheduler { public: static NTPSnippetsLauncher* Get(); // ntp_snippets::NTPSnippetsScheduler implementation. bool Schedule(base::TimeDelta period_wifi, base::TimeDelta period_fallback) override; bool Unschedule() override; private: ...
{ "content_hash": "6581ea8633671de6d37409c5eed1a8d4", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 71, "avg_line_length": 31.772727272727273, "alnum_prop": 0.7668097281831188, "repo_name": "ssaroha/node-webrtc", "id": "2dfbb4bafeca2bd7a48ebde53d3e63c432cc55fc", "size": "...
<?php class Upgrade_3_0_14 extends MIDASUpgrade { public function preUpgrade() { // Insert common metadata $this->db->query("INSERT INTO metadata (metadatatype,element,qualifier,description) VALUES ('0','contributor','author','Author of the data')"); $this->db->query("INSERT INTO metada...
{ "content_hash": "0022c52212a249f56dce1bf340d40823", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 155, "avg_line_length": 60.794871794871796, "alnum_prop": 0.7026571067060312, "repo_name": "mgrauer/midas3score", "id": "752ff9c50668c3a5c3ab96fc58a40dac8e3e848b", "size": ...
var DOCUMENTER_CURRENT_VERSION = "v3.7.1";
{ "content_hash": "bcc436e705d12c77c420ab8cd4150b62", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 42, "avg_line_length": 43, "alnum_prop": 0.7209302325581395, "repo_name": "dmbates/MixedModels.jl", "id": "3e937940fded03dab6256665d9fb743a628faabd", "size": "43", "binary...
package be.thalarion.android.powerampd.protocol; import be.thalarion.android.powerampd.R; public class ProtocolOK implements Protocol { private final String message; public ProtocolOK(String message) { this.message = message; } public ProtocolOK() { this(null); } @Override ...
{ "content_hash": "26375ef9d26f1b85635bf1fa22ecdf00", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 97, "avg_line_length": 24.82608695652174, "alnum_prop": 0.637478108581436, "repo_name": "floriandejonckheere/powerampd", "id": "4f54b94b29cf4d6841575d13c69de1e734cc8654", "...
package bazaar4idea.provider.update; import com.intellij.openapi.progress.ProgressIndicator; import com.intellij.openapi.vcs.VcsException; import com.intellij.openapi.vcs.update.UpdatedFiles; interface BzrUpdater { void update(UpdatedFiles updatedFiles, ProgressIndicator indicator) throws VcsException; }
{ "content_hash": "1245e40fc3a127d2fbdd018830a0d019", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 90, "avg_line_length": 28.363636363636363, "alnum_prop": 0.8397435897435898, "repo_name": "bwrsandman/bzr4j", "id": "8f1e38b19a5d7baf0d53f17eca62b64ed8342ffb", "size": "896...
from __future__ import unicode_literals from djangobmf.apps import ContribTemplate class AccountingConfig(ContribTemplate): name = 'djangobmf.contrib.accounting' label = "djangobmf_accounting"
{ "content_hash": "720c547172d12fd558582fb798d7709f", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 42, "avg_line_length": 25.5, "alnum_prop": 0.7794117647058824, "repo_name": "django-bmf/django-bmf", "id": "04d0bd830b2747468b9fa484ca795b98a97b9893", "size": "204", "bina...
DROP TABLE __migrations__;
{ "content_hash": "60ecca7232b162942cc56923f71e056e", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 26, "avg_line_length": 27, "alnum_prop": 0.7037037037037037, "repo_name": "raster-foundry/raster-foundry", "id": "6ac55a98eb4792cf180bac5bfd543c8e09a7e949", "size": "85", ...
<?php require_once("model/auth.php"); require_once("model/Cepage.php"); if(!isset($_POST)) { header('Location: ./cepages.php'); exit(0); } if(empty($_POST['nom'])) { // The user shouldn't be able to send a form without this field (required or locked attribute). But they can make a custom GET request and send it, b...
{ "content_hash": "ae3c6b6c479dadaae351656a4090405b", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 205, "avg_line_length": 25.72222222222222, "alnum_prop": 0.6533477321814255, "repo_name": "dolfinsbizou/NA17", "id": "f2fb68bf67d51678651975a47264ba1b20a1ee6e", "size": "93...
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="app_name">scrollview</string> <string name="action_settings">Settings</string> <string name="hello_world">Hello world!</string> </resources>
{ "content_hash": "64fb3ddd8d94b03e6ca96987dbf036a0", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 52, "avg_line_length": 27.5, "alnum_prop": 0.6772727272727272, "repo_name": "rahulpareek2440/AndroidPrograms", "id": "a7b356466374d10b90e699cce6ea0b0dfdc3a802", "size": "220...
import tensorflow as tf def image_grid(input_tensor, grid_shape, image_shape): """ form_image_grid forms a grid of image tiles from input_tensor. :param input_tensor - batch of images, shape (N, height, width, n_channels) :param grid_shape - shape (in tiles) of the grid, e.g. (10, 10) :param imag...
{ "content_hash": "e1ef4c04f2b68007656e3717d346d14a", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 99, "avg_line_length": 42.5, "alnum_prop": 0.6498269896193771, "repo_name": "taimir/keras-layers", "id": "2bc1f8323fa7872c03e773b61350184f704a8a9b", "size": "1445", "bina...
using System.Collections.Generic; using System.Data.Common; using System.Data.SqlTypes; using System.Diagnostics; namespace System.Data { internal sealed class FunctionNode : ExpressionNode { internal readonly string _name; internal readonly int _info = -1; internal int _argumentCount =...
{ "content_hash": "bb3032c2a32b4853ee66ef5cb9e0129c", "timestamp": "", "source": "github", "line_count": 710, "max_line_length": 198, "avg_line_length": 41.86056338028169, "alnum_prop": 0.4907977524309411, "repo_name": "shimingsg/corefx", "id": "8ba6e7c0eec49a3be0ec93b8f96718be4e1511ad", "size": "29...
app.controller('BookingController', function ($scope, $routeParams, $http, $location, $routeParams, $rootScope) { $rootScope.menu = { 'home': false, 'destination': true, 'customize' : false, 'find_tour': false, 'blog' : false, 'contact' : false, 'about' : false } var id = $routeParams.tourId; var st...
{ "content_hash": "866f8ac9124a248badf4c50ab26d79a2", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 113, "avg_line_length": 25.489795918367346, "alnum_prop": 0.6188951160928743, "repo_name": "toanphuoc/tkvacation", "id": "97a6ca75983729a08dbded735687ac5a9e5b40aa", "size":...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <!-- Bootstrap --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap-theme.min.css"> <link hre...
{ "content_hash": "ef595e4fd044eb50d6bab9b39ea8fe31", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 124, "avg_line_length": 41.390243902439025, "alnum_prop": 0.6399528579846788, "repo_name": "benoror/ag-grid", "id": "371652595f22e7292a6d99dada0682db5316552f", "size": "169...
#include "core/paint/FilterEffectBuilder.h" #include "core/layout/LayoutObject.h" #include "core/layout/svg/ReferenceFilterBuilder.h" #include "platform/FloatConversion.h" #include "platform/LengthFunctions.h" #include "platform/graphics/ColorSpace.h" #include "platform/graphics/filters/FEBoxReflect.h" #include "pla...
{ "content_hash": "bbfbceffb4deccf7e56a4f6a7002d99d", "timestamp": "", "source": "github", "line_count": 244, "max_line_length": 187, "avg_line_length": 43.549180327868854, "alnum_prop": 0.7043101825710522, "repo_name": "was4444/chromium.src", "id": "8d231ac7e9d38407adc519d7849482dcc1d91e0c", "size"...
// This file is automatically generated. package adila.db; /* * Acer Liquid Z500 * * DEVICE: acer_Z500 * MODEL: Z500 */ final class acer5fz500_z500 { public static final String DATA = "Acer|Liquid Z500|"; }
{ "content_hash": "431903ba33b8e15c4524d2f4f82824b9", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 58, "avg_line_length": 16.76923076923077, "alnum_prop": 0.6788990825688074, "repo_name": "karim/adila", "id": "dc3b808cc24ac856e96b51c0816cd47a635d8c0f", "size": "218", "...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "eb6d4c5d516de0258e849309e4815165", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 296, "avg_line_length": 45.4485294117647, "alnum_prop": 0.6534541336353341, "repo_name": "matthewphilyaw/ce_USART", "id": "fea0c4e13af880151ee1a1406194fbdd9aa15bd4", "size...
package io.github.factoryfx.docu.initializr; import io.github.factoryfx.factory.SimpleFactoryBase; import io.github.factoryfx.factory.attribute.dependency.FactoryAttribute; import io.github.factoryfx.jetty.JettyServerFactory; import java.lang.Override; import org.eclipse.jetty.server.Server; /** * Root factory of th...
{ "content_hash": "865ee5fb36a938046acf45fe159e112d", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 118, "avg_line_length": 34.611111111111114, "alnum_prop": 0.8057784911717496, "repo_name": "factoryfx/factoryfx", "id": "e546a6c76435f9358a17e95d426d678b0804fb0e", "size": ...
Initial release of razor
{ "content_hash": "1778cbce3cc24b389b295155ecb60a47", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 24, "avg_line_length": 25, "alnum_prop": 0.84, "repo_name": "jeffshantz/chef-razor", "id": "69c8224a8d12bc4c96d1173107c95d82651db903", "size": "34", "binary": false, "co...
<?php return [ /* |-------------------------------------------------------------------------- | Proxy Active? |-------------------------------------------------------------------------- | | Determines whether the rewriting of the URLs is active. Default is false. | */ 'proxy_active...
{ "content_hash": "15ee062254818b9705fdf22c1e21565d", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 81, "avg_line_length": 36.09230769230769, "alnum_prop": 0.42071611253196933, "repo_name": "csun-metalab/laravel-4-proxypass", "id": "13553a6cc972cb6eaf684ccba790aae2f9c4432a"...
#include "config.h" #include "core/dom/Fullscreen.h" #include "core/HTMLNames.h" #include "core/dom/Document.h" #include "core/events/Event.h" #include "core/frame/FrameHost.h" #include "core/frame/LocalFrame.h" #include "core/frame/Settings.h" #include "core/frame/UseCounter.h" #include "core/html/HTMLIFrameElement...
{ "content_hash": "dcd9c89925f26ef83e677d60fa829bc8", "timestamp": "", "source": "github", "line_count": 589, "max_line_length": 160, "avg_line_length": 37.235993208828525, "alnum_prop": 0.6877165785154112, "repo_name": "mxOBS/deb-pkg_trusty_chromium-browser", "id": "dcbc6546310d273fce758353c611ad058d...
import time import unittest import sys from sts.entities.base import LocalEntity from sts.entities.base import SSHEntity from sts.entities.controllers import ControllerConfig from sts.entities.controllers import ControllerState from sts.entities.controllers import POXController from sts.entities.controllers import ONO...
{ "content_hash": "3b1e08b0676beb4c65ad4abfc9d5e88b", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 89, "avg_line_length": 29.126373626373628, "alnum_prop": 0.677985285795133, "repo_name": "jmiserez/sts", "id": "f3efef6aa440c132f9ef2b517e3f20e8b5dac534", "size": "5963", ...
// // GTLanguageCache.h // GoogleTranslate // #import <Foundation/Foundation.h> /*! * Object used to locally cache language objects to disk */ @interface GTLanguageCache : NSObject /*! * Pull a language list for the given language code from the cache * @param languageCode The language code for the list of...
{ "content_hash": "d379639362b4d8fc72151523cf2d5d52", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 101, "avg_line_length": 27.742857142857144, "alnum_prop": 0.7425334706488157, "repo_name": "waynehartman/GoogleTranslationAPI", "id": "3c95f9b49d49372c2803102ba229abbf79930e8...
about_title=' # Über uns ' about_our_story_menu=' Chronologie ' about_our_story=' ## Chronologie ' about_iuventa_menu=' IUVENTA ' about_iuventa_title=' ## Die IUVENTA ' about_iuventa=' *Die Genauigkeit der angegeben Position ist abhängig vom aktuellen Empfang, der während Rettungseinsätzen für einige Zeit auch aus...
{ "content_hash": "fffc11e07c7f4286031a4dc5e1238792", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 451, "avg_line_length": 53.96938775510204, "alnum_prop": 0.8118737001323502, "repo_name": "Leonv1337/translations", "id": "404aad065b2d84a28cbb6a1ccf774a3bb2df4f3d", "size"...
namespace System.Runtime.Remoting.Contexts { #if CONFIG_REMOTING using System.Runtime.Remoting.Messaging; public interface IDynamicMessageSink { // Process a message finish operation. void ProcessMessageFinish(IMessage replyMsg, bool bCliSide, bool bAsync); // Process a message start operation. void ProcessMe...
{ "content_hash": "43813c730d91d921db2e1f00f83fca90", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 74, "avg_line_length": 22.318181818181817, "alnum_prop": 0.790224032586558, "repo_name": "jjenki11/blaze-chem-rendering", "id": "29f840b70a02064c8ae2a9678db8ab80f858daeb", ...
#import <Foundation/Foundation.h> #import <GLKit/GLKit.h> extern void iOS_GCanvas_Draw_Text(const unsigned short *text, unsigned int text_length, float x, float y, bool isStroke, void* context, void* fontContext); extern void iOS_GCanvas_GWebGLTxtImage2D(GLenum target, GLint level, GLenum internalformat, ...
{ "content_hash": "74467bcba6e5c45bb35b6c8ef29f45ea", "timestamp": "", "source": "github", "line_count": 163, "max_line_length": 155, "avg_line_length": 24.1840490797546, "alnum_prop": 0.6709791983764587, "repo_name": "jwxbond/GCanvas", "id": "f95cafb3add13bd7807eb51c414f88cd3b0abd59", "size": "4239...
// Copyright 2016 Esri. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. // You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software...
{ "content_hash": "0389af7c7e456e0a361fc4f7eca26f1b", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 131, "avg_line_length": 38.041666666666664, "alnum_prop": 0.7426067907995619, "repo_name": "Arc3D/arcgis-runtime-samples-dotnet", "id": "6413772a27f03eb9494acf21695a25a9bfafd...
package org.apache.synapse.config.xml; public class MessageStoreMediatorSerializationTest extends AbstractTestCase { private MessageStoreMediatorFactory factory; private MessageStoreMediatorSerializer serializer; public MessageStoreMediatorSerializationTest() { super(MessageStoreMediatorSeriali...
{ "content_hash": "dd1833506d63a011904d7a8460e03a64", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 79, "avg_line_length": 39.58620689655172, "alnum_prop": 0.7099303135888502, "repo_name": "asanka88/apache-synapse", "id": "d8286ee92dd629a2924ef5e7b99cae202b1695f6", "size"...
'use strict'; var L = require('leaflet'); var streets = L.tileLayer('https://api.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}@2x.png?access_token=pk.eyJ1IjoibXNsZWUiLCJhIjoiclpiTWV5SSJ9.P_h8r37vD8jpIH1A6i1VRg', { attribution: '<a href="https://www.mapbox.com/about/maps">© Mapbox</a> <a href="http://openstreetmap.org/...
{ "content_hash": "d507f9d037397feed56ed9ddd72b43c2", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 206, "avg_line_length": 41.36666666666667, "alnum_prop": 0.6603545527800161, "repo_name": "wheelroute/osrm-frontend-wheelchair-normal", "id": "bd0c1bc491c65840d43d7b99c8686b9...
from math import sqrt from itertools import product def generate_primes(limit): is_prime = [True for i in range(limit)] for i in range(2, int(sqrt(limit))): if is_prime[i]: for j in range(i * i, limit, i): is_prime[j] = False return filter(lambda x: is_prime[x], range(2, limit)) primes = set(generate_prim...
{ "content_hash": "5391abe25f373a37bf73fb51ba159f30", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 75, "avg_line_length": 23.96551724137931, "alnum_prop": 0.6489208633093525, "repo_name": "cloudzfy/euler", "id": "3ffeb79f5f92ddcda567a9401bf625f42c4d2e06", "size": "1360",...
layout: docs title: Formats permalink: /docs/formats/ --- Quill supports a number of formats, both in UI controls and API calls. By default all formats are enabled and allowed to exist within a Quill editor and can be configured with the [formats](/docs/configuration/#formats) option. This is separate from adding a c...
{ "content_hash": "7b7ee0d0fbb06597b5ea385b71d01f1a", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 366, "avg_line_length": 27.61904761904762, "alnum_prop": 0.6724137931034483, "repo_name": "voxmedia/quill", "id": "bd929dbd7bf3290ca88a7407609e07e3a9c45109", "size": "1164"...
namespace cart3 { // rotations along the primary axes Cart3d rotateX(float angle, Cart3d vec); Cart3d rotateY(float angle, Cart3d vec); Cart3d rotateZ(float angle, Cart3d vec); }; #endif // _math_rotate3d_h_
{ "content_hash": "e8e79a8be766d6c51fcde033d738dacd", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 40, "avg_line_length": 21.1, "alnum_prop": 0.7393364928909952, "repo_name": "kwan0xfff/fmtk", "id": "d01924f3d2e2b72e494816d4ac2a430931522c7c", "size": "516", "binary": f...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
{ "content_hash": "e9237e83ae800a4d79a41f9faf0b2eab", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 87, "avg_line_length": 33.432432432432435, "alnum_prop": 0.7841552142279709, "repo_name": "prestodb/presto", "id": "299d7b3ae0488e0f4421642aecc1491d0ab12095", "size": "1237...
/** * EcoLearnia v0.0.1 * * @fileoverview * This file includes definition of ContentEditorView. * @deprecated use conenteditorpante-component instead * * @author Young Suk Ahn Park * @date 4/29/15 */ var AmpersandView = require ('ampersand-view'); //var React = require('react'); var React = require('react')...
{ "content_hash": "0cf3ff0d5f3d22c09b600c4a760459d1", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 106, "avg_line_length": 28.876404494382022, "alnum_prop": 0.5723735408560311, "repo_name": "altenia/repomigrated-ecolearnia-studio", "id": "4af1ea38fd3ee45aca2b0e89dcda25ff1a...
<html> <head> <script>document.write('<script src="an_sso.min.js?dev=' + Date.now() + '+' + Math.floor(Math.random() * 100) + '"\><\/script>');</script> </head> <body> <script>AsmodeeNet.trackCb(false);</script> <button id="connect_bt">Sign In</button> <div id="profile" style...
{ "content_hash": "8d2c8a466d61f6e1c0695e2b6d8ec19b", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 159, "avg_line_length": 38.527472527472526, "alnum_prop": 0.49914432401597264, "repo_name": "daysofwonder/asmodeenet_sso_js", "id": "0c4b527fa23667c0f5d4791bb1de429563416d03"...
module Text.ParserCombinators.Parsec.Pos ( SourceName, Line, Column , SourcePos , sourceLine, sourceColumn, sourceName , incSourceLine, incSourceColumn , setSourceLine, setSourceColumn, setSourceName ...
{ "content_hash": "495d5b9fc5377f4e8b6932ed8ccd926e", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 108, "avg_line_length": 39.140845070422536, "alnum_prop": 0.5203310543360922, "repo_name": "OS2World/DEV-UTIL-HUGS", "id": "e8727708ee7e31056d9e832134e20ecb9915c45f", "size...
package com.datatorrent.apps; import java.io.File; import java.util.Map; import org.apache.apex.malhar.lib.fs.FSRecordReaderModule; import org.apache.commons.io.FileUtils; import org.apache.hadoop.conf.Configuration; import com.google.common.collect.Maps; import com.datatorrent.api.DAG; import com.datatorrent.api...
{ "content_hash": "5beb83696f40c68de056b1b5e8148745", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 107, "avg_line_length": 38.77173913043478, "alnum_prop": 0.7148864592094197, "repo_name": "yogidevendra/app-templates", "id": "da0df3d09fa2fa831bcebedf208acbf4a3b78b92", "s...
import operator from importlib import import_module def import_string(dotted_path): """ Source: django.utils.module_loading Import a dotted module path and return the attribute/class designated by the last name in the path. Raise ImportError if the import failed. """ try: module_path,...
{ "content_hash": "0c345d67abfabe9a6f0408f1e9db3f7f", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 80, "avg_line_length": 28.576923076923077, "alnum_prop": 0.5915208613728129, "repo_name": "euri10/populus", "id": "4fad110098c30ef0e493161949fb1f7a5096c66a", "size": "1486"...
This is my personal site including my blog. I hope you find it useful. ## Local Setup Get the Code: $ git clone https://github.com/jrmyward/blog.git $ cd blog Setup the Application $ bundle install $ cp config/application.yml.example config/application.yml You'll want to generate a new APP_SECRET...
{ "content_hash": "2a4751976abf804f834197c2f81043ad", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 95, "avg_line_length": 20.789473684210527, "alnum_prop": 0.7164556962025317, "repo_name": "jrmyward/blog", "id": "39c75af25e0525f041bd64d976ea8a08d3314f63", "size": "420", ...
<?php declare(strict_types=1); namespace Framework\Application\UtilitiesV2; /** * Class OpenSSL * @package Framework\Application\UtilitiesV2 */ class OpenSSL { protected $cipher; /** * OpenSSL constructor. * * @param string $cipher * * @throws \Error */ public function __constru...
{ "content_hash": "072965b510166a365970b5053ce1e6d0", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 90, "avg_line_length": 15.16875, "alnum_prop": 0.5562422744128553, "repo_name": "dialtoneuk/Syscrack2017", "id": "7e9b695ee3e0811cd65b52d8b8ea0c617ed29444", "size": "2427"...