text
stringlengths
2
1.04M
meta
dict
import os import re import uuid from distutils.core import setup from setuptools import find_packages from pip.req import parse_requirements PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__)) with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.rst')) as readme: README = readme.rea...
{ "content_hash": "58c58b7a2e76ba7229f480669946785f", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 110, "avg_line_length": 34.868852459016395, "alnum_prop": 0.6356370474847203, "repo_name": "dadasoz/dj-translate", "id": "04a46fd02d3e412a3fdebd277f6df9098f1cce59", "size":...
[Traefik](http://traefik.io/) is a modern HTTP reverse proxy and load balancer made to deploy microservices with ease. ## Introduction This chart bootstraps Traefik as a Kubernetes ingress controller with optional support for SSL and Let's Encrypt. __NOTE:__ Operators will typically wish to install this component in...
{ "content_hash": "14848c9c763e6be420933d7b4b13f73d", "timestamp": "", "source": "github", "line_count": 183, "max_line_length": 375, "avg_line_length": 74.2896174863388, "alnum_prop": 0.5653549098933431, "repo_name": "ledor473/charts", "id": "cf949f3123cc68d6a2c1f0dbadb395ff3d9e6187", "size": "1361...
#region Copyright (c) 2020 Filip Fodemski // // Copyright (c) 2020 Filip Fodemski // // 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 r...
{ "content_hash": "5507bda7a4f3bcb8bc5e2a3713410582", "timestamp": "", "source": "github", "line_count": 139, "max_line_length": 138, "avg_line_length": 44.23021582733813, "alnum_prop": 0.5653871177618738, "repo_name": "filipek/SmartGraph", "id": "00634773230dbfe01a4382def259a8f2df06ff3f", "size": "...
/* *@file:GeoFilter.h *@brief: implement nearby searching filter *@author:wangbaobao@b5m.com *@date:2014-07-09. */ #ifndef GEO_FILTER_H_ #define GEO_FILTER_H_ #include "RTypeStringPropTableBuilder.h" #include "GeoHashEncoder.h" #include <common/RTypeStringPropTable.h> #include <stdint.h> #include <vector> #inclu...
{ "content_hash": "d928f9b46fd36f0ff104ee316756458b", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 88, "avg_line_length": 23.155555555555555, "alnum_prop": 0.6401151631477927, "repo_name": "izenecloud/sf1r-lite", "id": "7fbe7961d42fc16e33dcbf40e0331ffcd09af1d2", "size": ...
Famous old school game (https://en.wikipedia.org/wiki/Gruntz). ![Gruntz in Docker container](https://raw.githubusercontent.com/whaleapps/gruntz/master/docs/gruntz.png) ## Usage ``` docker run \ --rm \ -it \ -v /tmp/.X11-unix:/tmp/.X11-unix:ro \ -e DISPLAY=$DISPLAY \ --device /dev/snd ...
{ "content_hash": "f9a68bb1ddca158fb335fb6ff26ebf36", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 104, "avg_line_length": 18.846153846153847, "alnum_prop": 0.6244897959183674, "repo_name": "whaleapps/gruntz", "id": "10e9dca414ada3a3705773f8ae3c193aea87fb1a", "size": "50...
package net.mingsoft; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; @SpringBootApplication(scanBasePackages={"net.mingsoft"}) public class MSServ...
{ "content_hash": "ed5eaf59883fe9901cb1127718ee8747", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 81, "avg_line_length": 32.5, "alnum_prop": 0.8557692307692307, "repo_name": "ming-soft/MCMS", "id": "13e6d1f2b3e5bde15fb3f2bdf63082350d3904a3", "size": "1671", "binary": ...
<section id="editor-bookmarks"> <title>Working with bookmarks</title> <section id="define-bookmark"> <title>Defining bookmarks</title> <para> A bookmark inside the editor is defined by adding the keyword <literal>@WbTag</literal> followed by the name of the bookmark into a SQL comment: </par...
{ "content_hash": "b2341868e0d5babb41eac0275eeac51f", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 132, "avg_line_length": 44.74647887323944, "alnum_prop": 0.6858671702864337, "repo_name": "Taller/sqlworkbench-plus", "id": "ad4da57a06ad03bec5e9e91eff837eace5db4bf3", "siz...
Recurrent Neural Network Examples =========== For more current implementations of NLP and RNN models with MXNet, please visit [gluon-nlp](http://gluon-nlp.mxnet.io/index.html) ------ This directory contains functions for creating recurrent neural networks models using high level mxnet.rnn interface. Here is a shor...
{ "content_hash": "3571a64430c3b21d9d3027c4a6e4381d", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 129, "avg_line_length": 36.68421052631579, "alnum_prop": 0.757532281205165, "repo_name": "ptrendx/mxnet", "id": "1d1df6ed768794d4fe477a01cbcc48d0ad4c4961", "size": "697", ...
<?php namespace WPChecksum; class ThemeCheckerTest extends \PHPUnit_Framework_TestCase { public function __construct() { setHttpMode('real'); } public function testLocal() { require_once __DIR__ . '/../TestsProvider.php'; $app = Checksum::getApplication(new \TestsProvider...
{ "content_hash": "ce1946d6e4a7d3dc4ce2e31e23eac936", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 77, "avg_line_length": 34.98275862068966, "alnum_prop": 0.5446032528339083, "repo_name": "eriktorsner/wp-checksum", "id": "d464a933aa27c8ab5437af217eb749ada6d3d720", "size"...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Ve...
{ "content_hash": "dcfdf898b8525bb5c191ed018714ec86", "timestamp": "", "source": "github", "line_count": 322, "max_line_length": 264, "avg_line_length": 44.00310559006211, "alnum_prop": 0.47095772461006424, "repo_name": "andrey-kuznetsov/ignite", "id": "2696e4354ef433aa66f0feae09d7322d5a24be76", "si...
package net.automatalib.commons.smartcollections; import java.util.Arrays; import org.testng.Assert; import org.testng.annotations.Test; @Test public class BinaryHeapTest { private final BinaryHeap<Integer> heap = BinaryHeap.create(Arrays.asList(42, 37)); @Test public void testHeapOps() { Assert.assertEqua...
{ "content_hash": "1f74435a59d33d211918939c62249c46", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 83, "avg_line_length": 27.5625, "alnum_prop": 0.7142857142857143, "repo_name": "bencaldwell/automatalib", "id": "6be1e8cc3a03f98a2c945f2d27ef6a9613821b76", "size": "1987", ...
require "rubygems" require "json" rightscale_marker :begin node[:web_app] = JSON.parse(node[:web_app_config]) RightScale::Repo::GitSshKey.new.create(node[:repo][:default][:credential], node[:repo][:default][:credential] ) execute "composer_install" do cwd "/home/webapps/#{node[:web_app][:application]}#{node[:web_...
{ "content_hash": "e963c63d779746ebc49b4fc86350da18", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 121, "avg_line_length": 32.72222222222222, "alnum_prop": 0.7011884550084889, "repo_name": "SchoolSpring/cookbooks_internal", "id": "7b1c6c395331a5050acf38a80484b80019067e06",...
package com.sun.mirror.declaration; /** * Represents an element of an annotation type. * * @deprecated All components of this API have been superseded by the * standardized annotation processing API. The replacement for the * functionality of this interface is included in {@link * javax.lang.model.element.Ex...
{ "content_hash": "ea9968b49bbab2e983eeaedc4b21db50", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 77, "avg_line_length": 24.38235294117647, "alnum_prop": 0.7092882991556092, "repo_name": "haikuowuya/android_system_code", "id": "a101dc673dc9f6c9502d97afdf2a0a1770027acb", ...
// // CMTextFieldView.m // I_NScreen // // Created by 조백근 on 2015. 10. 12.. // Copyright © 2015년 STVN. All rights reserved. // #import "CMTextFieldView.h" #import "CMCustomNumberPadView.h" static int tag_button_delete = 21001;//삭제버튼 태그 static int tag_button_done = 849404; @interface CMTextFieldView () <UITextFie...
{ "content_hash": "5f4204e7f854e07ada748649b7706ed5", "timestamp": "", "source": "github", "line_count": 533, "max_line_length": 154, "avg_line_length": 36.26454033771107, "alnum_prop": 0.6351596047389932, "repo_name": "LambertPark/I_NScreen", "id": "b2d01c0cefb734cd9f76bb358236424814409279", "size"...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } }...
{ "content_hash": "48a9c4bf2925012212bf187ad70470b2", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 269, "avg_line_length": 37.17391304347826, "alnum_prop": 0.7204678362573099, "repo_name": "taforyou/testtesttest-yo", "id": "b051ef5cac86472ab32953260c459336ad1da00e", "siz...
using namespace std; vector<string> ListAssembliesInDirectory(const char* dirPath); struct ClrTokenImp { unsigned int domainId; void* pCLRRuntimeHost; coreclr_initialize_ptr coreclr_initialize; coreclr_create_delegate_ptr coreclr_create_delegate; coreclr_shutdown_2_ptr coreclr_shutdown_2; }; ClrToken...
{ "content_hash": "735c56145dedb1dbe15dd23d61b43969", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 153, "avg_line_length": 30.658823529411766, "alnum_prop": 0.7285111281657713, "repo_name": "jaurenq/XPNet", "id": "b02f13ff255684f4f9ccd29062e4739febff2da9", "size": "5765...
package org.keycloak.testsuite.ldap; import java.io.IOException; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.HashSet; import java.util.Set; import javax.security.auth.kerberos.KerberosPrincipal; import org.apache.directory.api.ldap.model.constants.SupportedSaslMechanisms; import org....
{ "content_hash": "e36c39b770805d4c3abfcf650de5bfb3", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 189, "avg_line_length": 37.30622009569378, "alnum_prop": 0.7028344234962165, "repo_name": "matzew/keycloak", "id": "325f19b4ec6f5f46e8b52e4fa8048eeab098ad74", "size": "779...
<?php namespace Guzzle\Service\Command; use Guzzle\Http\Message\Response; use Guzzle\Service\Command\LocationVisitor\VisitorFlyweight; use Guzzle\Service\Command\LocationVisitor\Response\ResponseVisitorInterface; use Guzzle\Service\Description\Parameter; use Guzzle\Service\Description\OperationInterface; use...
{ "content_hash": "8e1eb3f07eb3e75a63d963f6459937f4", "timestamp": "", "source": "github", "line_count": 195, "max_line_length": 120, "avg_line_length": 38.83076923076923, "alnum_prop": 0.5954833597464342, "repo_name": "Condors/TunisiaMall", "id": "711fa6e156e259e33db6765774933f4d8c7f781e", "size": ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Image Gallery with Vertical Thumbnail Navigater Theme - Jssor Slider, Carousel, Slideshow with Javascript Source Code</title> </head> <body style="margin: 0px; padding: 0px; fo...
{ "content_hash": "ced90559d0ded699411cb5c4b111e6f0", "timestamp": "", "source": "github", "line_count": 322, "max_line_length": 367, "avg_line_length": 57.67391304347826, "alnum_prop": 0.5019115825749825, "repo_name": "alucard263096/NCMI", "id": "0fa2995b470b04a5fe57559ebf8adffa200df3f9", "size": "...
package org.apache.camel.itest.jetty; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.AvailablePortFinder; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Test; public class JettyConstantSetHeaderTest extends Camel...
{ "content_hash": "60f913b829c0afd7ffcc244f1c924b8f", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 111, "avg_line_length": 34.25, "alnum_prop": 0.6297279362972794, "repo_name": "Fabryprog/camel", "id": "716d3c7244df1201ec278ecbc8798db9116d4823", "size": "2309", "binary...
// ----------------------------------------------------------------------- // Copyright (c) David Kean. // ----------------------------------------------------------------------- using System; using System.ComponentModel; using System.Diagnostics; using System.Windows.Forms; using AudioSwitcher.ComponentModel; using A...
{ "content_hash": "50460942a2f5bb8fa7096a111a159e1c", "timestamp": "", "source": "github", "line_count": 134, "max_line_length": 134, "avg_line_length": 33.46268656716418, "alnum_prop": 0.5557537912578056, "repo_name": "paulcbetts/audio-switcher", "id": "9f4a9e3561775c34b922cb785ef61ddf6d0741fb", "s...
package com.example.just.businesinfo.fragments; import android.app.ProgressDialog; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.os.Looper; import android.support.v...
{ "content_hash": "3ee0559482b07887e5f62c48bb0965da", "timestamp": "", "source": "github", "line_count": 223, "max_line_length": 197, "avg_line_length": 38.09417040358744, "alnum_prop": 0.5841082989994114, "repo_name": "Garasjuk/EPAMtraning2016", "id": "f574a4a27a46de001bd9494a1392196ad44cc134", "si...
function [theta] = calcTheta(lambda, X, Y,Xtest,Ytest) err = @(theta)sum((X*theta - Y).^2) + lambda*sum(abs(theta)); options = optimoptions(@fminunc,'Display','iter','Algorithm','quasi-newton','MaxFunEvals',280000); theta = fminunc(err, zeros(280,1), options); end
{ "content_hash": "5ceb8cbb8b3af2be2fd96568d30196fe", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 98, "avg_line_length": 33.375, "alnum_prop": 0.6891385767790262, "repo_name": "lycarter/6.867-proj1", "id": "a67e4c5d78d779ff99f7c99a6683f45cf7f124d8", "size": "267", "bin...
/** * @file * @author Microsoft Corporation * @version Unknown * * @section DESCRIPTION * This is the standard D3D view provider implementation that comes with a new Windows 8 immersive application */ #include "pch.h" #include "ViewProvider.h" #include "D3DView.h" using namespace Windows::ApplicationModel::...
{ "content_hash": "eb915dfde60c3e00166b8bc39dd78d4c", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 139, "avg_line_length": 30.42622950819672, "alnum_prop": 0.7122844827586207, "repo_name": "thaddeusdiamond/P8Ball", "id": "677e127abd422d8edc66ac8c2b350e1040e6e0ce", "size"...
IPC_MESSAGE_CONTROL0(TestMsg_QuitRunLoop) // ----------------------------------------------------------------------------- // These tests leak memory, this macro disables the test when under the // LeakSanitizer. #ifdef LEAK_SANITIZER #define WILL_LEAK(NAME) DISABLED_##NAME #else #define WILL_LEAK(NAME) NAME #endif ...
{ "content_hash": "1fb169e642c0cf87aa4827be062180e6", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 80, "avg_line_length": 35.50606060606061, "alnum_prop": 0.6838781258001195, "repo_name": "google-ar/WebARonARCore", "id": "af28029cb823213f3492c6c02e6d38ba98f8ae11", "size...
```bash pip install PyBluez PySerial ``` PyBluez PySerial
{ "content_hash": "2bc03451c85894cc77ecd7d59eb5aa77", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 28, "avg_line_length": 12, "alnum_prop": 0.7333333333333333, "repo_name": "idf/Robot-In-Maze", "id": "ce6de08e6779d7f19013eb0a7a8a4af4eb7fd5bb", "size": "84", "binary": fa...
package com.amazonaws.services.lambda.model.transform; import java.util.List; import javax.annotation.Generated; import com.amazonaws.SdkClientException; import com.amazonaws.Request; import com.amazonaws.http.HttpMethodName; import com.amazonaws.services.lambda.model.*; import com.amazonaws.transform.Marshaller; ...
{ "content_hash": "023ecc3938c113ef77d3be17ff62ebe2", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 154, "avg_line_length": 43.45454545454545, "alnum_prop": 0.7824267782426778, "repo_name": "aws/aws-sdk-java", "id": "ed816249361c5c48296347ea1458d9d10ec37909", "size": "297...
package fi.lbd.mobile.adapters.test; import android.app.Activity; import android.view.LayoutInflater; import android.view.ViewGroup; import android.widget.LinearLayout; import android.widget.TextView; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org....
{ "content_hash": "700953fdfe5c55ebeccd896bb6f2c39a", "timestamp": "", "source": "github", "line_count": 264, "max_line_length": 119, "avg_line_length": 46.06060606060606, "alnum_prop": 0.6085526315789473, "repo_name": "tttro/projektityokurssi", "id": "736cecaff1c7520d844025cd9881f1a7ac0f8110", "siz...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateReferencesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('references',...
{ "content_hash": "0fc82fd2a5f372e5babd45113e51db7b", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 80, "avg_line_length": 24.825, "alnum_prop": 0.5488418932527693, "repo_name": "Chantouch/www.jcolabs.com", "id": "7ebc714e7e74d2e34607bf1086259128c5888296", "size": "993", ...
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
{ "content_hash": "8358762d0669f20cc3bcbcf4ed944aa7", "timestamp": "", "source": "github", "line_count": 240, "max_line_length": 562, "avg_line_length": 40.295833333333334, "alnum_prop": 0.5741908799503671, "repo_name": "kuhlenh/port-to-core", "id": "d9fdf135e6fc54882810c518d33f2324fa87cad8", "size"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta httpEquiv="Content-Type" content="text/html; charset=utf-8"/> <title>Test results - Class carlosgsouza.vinylshop.functional.v2.ArtistFunctionalSpec</title> <link href="base-style.css" rel="stylesheet" type="te...
{ "content_hash": "d61c33686b264e6804ba8b67bd2f2193", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 124, "avg_line_length": 23.01851851851852, "alnum_prop": 0.672164119066774, "repo_name": "carlosgsouza/types-and-quality", "id": "f92c384171e1c74434c74ea91e045ff2b00b5025", ...
local io = require "io" local os = require "os" local table = require "table" local nixio = require "nixio" local fs = require "nixio.fs" local uci = require "luci.model.uci" local ntm = require "luci.model.network" local luci = {} luci.util = require "luci.util" luci.ip = require "luci.ip" ...
{ "content_hash": "b06ee4b33de5802e318e736ba53fc75c", "timestamp": "", "source": "github", "line_count": 649, "max_line_length": 106, "avg_line_length": 23.627118644067796, "alnum_prop": 0.6186904917177514, "repo_name": "artynet/luci", "id": "9faf52ef3d6f7e4f5969b55b5f3e2527755ea9ae", "size": "15443...
using static STULib.Types.Generic.Common; namespace STULib.Types.Dump { [STU(0xF34FD3D6)] public class STU_F34FD3D6 : STU_DD856C32 { [STUField(0x5659BA67, EmbeddedInstance = true)] public STULib.Types.STUConfigVar m_5659BA67; [STUField(0x59E99793, EmbeddedInstance = true)] publ...
{ "content_hash": "7968caaa3b06c640e0d2439b7cfef1b2", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 64, "avg_line_length": 36.7037037037037, "alnum_prop": 0.7093844601412714, "repo_name": "kerzyte/OWLib", "id": "b496bd5848c38b9eaafdf00b6928a78cf1c30ef9", "size": "1029", ...
module Basement.BlockN (module X) where import Basement.Sized.Block as X
{ "content_hash": "7914dd96113856cf7aa2096884989ed2", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 39, "avg_line_length": 24.666666666666668, "alnum_prop": 0.7972972972972973, "repo_name": "vincenthz/hs-foundation", "id": "7f3bd638c4f4a0eb2ee12f7d42fa00abcdf09994", "size"...
namespace :whassup do task :setup do require 'whassup' end desc "Run all defined uptime checks" task :check => :setup do Whassup.check_all end desc "List all uptime checks" task :list => :setup do puts Whassup.locations.join("\n") end desc "Run whassup process" task :run => :setup...
{ "content_hash": "6c917301da883504dbe923acb77a1596", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 41, "avg_line_length": 18.32, "alnum_prop": 0.6331877729257642, "repo_name": "rossta/whassup", "id": "0de9580c383dae2e269d9046d41814dbe9bc9bd0", "size": "458", "binary": ...
/* $Id: VBoxNetIntIf.cpp $ */ /** @file * VBoxNetIntIf - IntNet Interface Client Routines. */ /* * Copyright (C) 2009-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or...
{ "content_hash": "b43b88ffb000a43b4936e59ac82bd9d2", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 106, "avg_line_length": 29.416058394160583, "alnum_prop": 0.6109181141439206, "repo_name": "egraba/vbox_openbsd", "id": "2a85cfa6a2a149edc1008a59a2a4610735b150b1", "size":...
package com.google.testing.threadtester; /** * Runs a set of multithreaded tests. To create a multithreaded test, define a * class with a public no-arg constructor, and a set of public no-arg instance * methods annotated with the {@link ThreadedTest} annotation. The * ThreadedTestRunner will create a new instanc...
{ "content_hash": "c4a00cf32d59dbf34277f4703445a553", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 85, "avg_line_length": 34.431372549019606, "alnum_prop": 0.7220956719817767, "repo_name": "google/thread-weaver", "id": "d1001642ba6780de5ef66f2a601df3b9a223cf9c", "size": ...
- [Instalasi Python 3](#instalasi-python-3) - [Instalasi editor teks (opsional)](#instalasi-editor-teks-opsional) - [Visual Studio Code](#visual-studio-code) - [Sublime Text](#sublime-text) <br> ## Instalasi Python 3 Di mata kuliah ini, kalian memerlukan **Python 3**. Silakan ikuti petunjuk instalasi berikut jik...
{ "content_hash": "8ffebde56eaeda7b7f43f655a2d86a1d", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 79, "avg_line_length": 37.476190476190474, "alnum_prop": 0.7498941126641254, "repo_name": "laymonage/TarungLab", "id": "a15c710578f387c9608c25b8db4f58ae8dadfb20", "size": ...
from __future__ import absolute_import, division, unicode_literals import copy import functools import logging from flexget.plugin import PluginError from flexget.utils.template import render_from_entry log = logging.getLogger('entry') class EntryUnicodeError(Exception): """This exception is thrown when trying...
{ "content_hash": "882b65b9f99b1f5e690d32bfef293fc6", "timestamp": "", "source": "github", "line_count": 413, "max_line_length": 119, "avg_line_length": 37.40193704600484, "alnum_prop": 0.5922832912539652, "repo_name": "camon/Flexget", "id": "7ce38db366a403db1e3735b0a5e4375063ea2dc6", "size": "15447...
package com.facebook; import android.content.Intent; import android.support.v4.content.LocalBroadcastManager; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import org.powermock.core.classloader.annotations.PrepareForTest; import org.robolectric.Robolectric; import org.robolectric.RuntimeE...
{ "content_hash": "46a3168ec15f9d9864d67757e34a609d", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 98, "avg_line_length": 36.388888888888886, "alnum_prop": 0.7282442748091603, "repo_name": "CristianOliveiraDaRosa/facebook-android-sdk", "id": "1747f5af46fa523b1f422f6d3b5fa4...
FROM golang ADD . /go/src/github.com/havr/docksy RUN go get github.com/fsouza/go-dockerclient RUN go get github.com/coreos/go-etcd/etcd RUN go install github.com/havr/docksy/main CMD /go/bin/main EXPOSE 80 443
{ "content_hash": "0da534426a078b1c58df2ab2cfd6d7ee", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 44, "avg_line_length": 21.3, "alnum_prop": 0.7746478873239436, "repo_name": "havr/docksy", "id": "34fb757f869e1e7807ca5c368ba04391a5205867", "size": "213", "binary": fals...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.batch.models; import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.jac...
{ "content_hash": "601e13504dac3133f3167b785888d388", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 110, "avg_line_length": 29.048780487804876, "alnum_prop": 0.6280436607892528, "repo_name": "Azure/azure-sdk-for-java", "id": "efb96e52f347b6c95e4d923121ee555384403b45", "s...
package org.apache.tomcat.jni; /** Time * * @author Mladen Turk */ public class Time { /** number of microseconds per second */ public static final long APR_USEC_PER_SEC = 1000000L; /** number of milliseconds per microsecond */ public static final long APR_MSEC_PER_USEC = 1000L; /** * ...
{ "content_hash": "2837711d9bba6afba48eaa3d4e94d783", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 73, "avg_line_length": 23.753846153846155, "alnum_prop": 0.5971502590673575, "repo_name": "Nickname0806/Test_Q4", "id": "22aeb25fa918578647bcb25c6544b75c925342ed", "size": ...
require 'test/unit' class RubyamfQuicklyTest < Test::Unit::TestCase # Replace this with your real tests. def test_this_plugin flunk end end
{ "content_hash": "e0f372390dcad24c65a14b1596865cfc", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 47, "avg_line_length": 18.875, "alnum_prop": 0.7284768211920529, "repo_name": "pillowfactory/rubyamf_quickly", "id": "4ad69a81d1e7d84251494b34a8d38a669abeafb4", "size": "151...
import { combineReducers, createStore as reduxCreateStore } from 'redux' import userState from './user' const rootReducer = combineReducers({ userState }); const createStore = () => reduxCreateStore(rootReducer, {}) export default createStore
{ "content_hash": "5b5e0adcc047f94d51c28131e4980395", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 72, "avg_line_length": 24.8, "alnum_prop": 0.7620967741935484, "repo_name": "emero/gatsby-redux-styled-starter", "id": "4820357b03e8d72549931e2a1aa4881ceff0f556", "size": "...
bigacme ===== [![Build Status](https://travis-ci.org/magnuswatn/bigacme.svg?branch=master)](https://travis-ci.org/magnuswatn/bigacme) [![codecov](https://codecov.io/gh/magnuswatn/bigacme/branch/master/graph/badge.svg)](https://codecov.io/gh/magnuswatn/bigacme) An ACME client for F5 Big-IP. It can be used to get certi...
{ "content_hash": "5a1181a6a3ce7f5d76aff38dcd857bc7", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 243, "avg_line_length": 44.666666666666664, "alnum_prop": 0.7547974413646056, "repo_name": "magnuswatn/bigacme", "id": "4af4f12609c8bcf3007857a63f356fa8cc0b2238", "size": "...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generate...
{ "content_hash": "f1a15d9a8fe1b43a0479644c73875880", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 178, "avg_line_length": 43.39784946236559, "alnum_prop": 0.5760654112983151, "repo_name": "JakyCode/FezDecrypter", "id": "e6d89df09150c3aedf1af29a21ff9781a9d66fef", "size":...
 /* File generated by NetTiers templates [www.nettiers.com] Important: Do not modify this file. Edit the file Document.cs instead. */ #region Using Directives using System; using System.ComponentModel; using System.Collections; using System.Collections.Generic; using System.Security.Permissions; using S...
{ "content_hash": "8ca714b0bb4a93ff4d2f09a0faab5c5d", "timestamp": "", "source": "github", "line_count": 1834, "max_line_length": 278, "avg_line_length": 40.471101417666304, "alnum_prop": 0.6833234533304592, "repo_name": "Giten2004/netTiers", "id": "74442af211f69facb29f8e2ac9c4522378a7d851", "size":...
namespace zxing { namespace qrcode { class MatrixUtil { private: MatrixUtil() {} static const int POSITION_DETECTION_PATTERN[7][7]; static const int POSITION_ADJUSTMENT_PATTERN[5][5]; static const int POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE[40][7]; static const int TYPE_INFO_COORDINATES[16][...
{ "content_hash": "d6d9e8d0823eeb2eec1e3dd3338290c5", "timestamp": "", "source": "github", "line_count": 129, "max_line_length": 104, "avg_line_length": 45.395348837209305, "alnum_prop": 0.6299521857923497, "repo_name": "ftylitak/qzxing", "id": "79ce8c498383aa3683278485d3545b98fdcc52cb", "size": "62...
<?php // Start of memcached v.2.0.1 /** * Represents a connection to a set of memcached servers. * @link http://php.net/manual/en/class.memcached.php */ class Memcached { /** * <p>Enables or disables payload compression. When enabled, * item values longer than a certain threshold (currently 100 ...
{ "content_hash": "45c7ebd3262fc30fee1c9fe3b25876a3", "timestamp": "", "source": "github", "line_count": 1224, "max_line_length": 107, "avg_line_length": 32.540849673202615, "alnum_prop": 0.6342957569671103, "repo_name": "evolution411/symfonyfos", "id": "0d5b72097f93a7626826267d54ae637313f019d1", "s...
using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using Cars.Models; using Cars.Web.Infrastructure.Peek.Web.Infrastructure.Mapping; namespace Cars.Web.Models { public class IndexViewModel : IMapFrom<Car> { [Required] [Display(Name =...
{ "content_hash": "0cee1266c860c6e0f234f9080f4f0e87", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 116, "avg_line_length": 30.55, "alnum_prop": 0.679214402618658, "repo_name": "didimitrov/Cars", "id": "d6678e7fe40e4a697a06c299abfb4e3938998541", "size": "667", "binary":...
This document describes `DiagnosticSource`, a simple module that allows code to be instrumented for production-time logging of **rich data payloads** for consumption **within the process** that was instrumented. At runtime consumers can **dynamically discover** data sources and subscribe to the ones of interest. In ad...
{ "content_hash": "c2de5971407363e462688ab18ba1f5c6", "timestamp": "", "source": "github", "line_count": 455, "max_line_length": 173, "avg_line_length": 53.85274725274725, "alnum_prop": 0.7520303636289434, "repo_name": "mmitche/corefx", "id": "eebc041a079f5ab7d105c627550559e4fa2373d9", "size": "2453...
using UnityEngine; using System.Collections; /// <exclude /> public class OTEaseSineInOut : OTEase { /// <exclude /> public override float ease(float t, float b, float c, float d) { return -c / 2 * (Mathf.Cos(Mathf.PI * t / d) - 1) + b; } }
{ "content_hash": "8c3dad5c3863d14483b4b513d9b5096a", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 66, "avg_line_length": 20.53846153846154, "alnum_prop": 0.5917602996254682, "repo_name": "Vaskivo/CloneAndConquerRemake", "id": "d4c00cceaee71b00717a354e730d27f44e0d34ca", ...
/* globals process */ import fs from 'fs' import path from 'path' import globAll from 'glob-all' import chokidar from 'chokidar' import Promise, { promisify } from 'bluebird' import resolveTarget from './lib/resolve-target' import sourcesBases from './lib/sources-bases' import isGlob from './lib/is-glob' import trimQ...
{ "content_hash": "f7cdc468bf8f7a109698d039112e2af6", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 131, "avg_line_length": 27.076305220883533, "alnum_prop": 0.5971521803619104, "repo_name": "AndyOGo/node-sync-glob", "id": "3013ed0739665cd4b244ff032b6fbf320772a66a", "siz...
# include <boost/type_traits/add_reference.hpp> # include <boost/type_traits/add_const.hpp> # include <boost/mpl/int.hpp> # include <boost/static_assert.hpp> # include <boost/python/refcount.hpp> # include <cstddef> namespace boost { namespace python { namespace detail { template <std::size_t> ...
{ "content_hash": "4599b17154e906ee8d27da30b5bd11ea", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 76, "avg_line_length": 24.57471264367816, "alnum_prop": 0.5556594948550047, "repo_name": "darwin/upgradr", "id": "76be50ae5fe548bdb1facba71607bff7f56447f7", "size": "2565",...
using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Page { /// <summary> /// Brings page to front (activates tab). /// </summary> [CommandResponse(ProtocolName.Page.BringToFront)] [SupportedBy("Chrome")] publi...
{ "content_hash": "85a957404ff043614dafd76e1e43c3c0", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 56, "avg_line_length": 22.75, "alnum_prop": 0.7692307692307693, "repo_name": "MasterDevs/ChromeDevTools", "id": "37d0bcd2c19c3740377334b63c465604c09811ab", "size": "364", ...
export Root from './containers/Root'; export BodyAttributes from './components/BodyAttributes'; export createStore from './lib/createStore'; export prepareRoutesWithTransitionHooks from './lib/prepareRoutesWithTransitionHooks'; export * from './lib/route-helper'; export * from './lib/constants'; export getHttpClient fr...
{ "content_hash": "2736fe145a692fe9f29afeffcdf5546d", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 86, "avg_line_length": 49.44444444444444, "alnum_prop": 0.7752808988764045, "repo_name": "TrueCar/gluestick", "id": "3574ddcc2a515f2e30ddeb9060f65e1131380c4a", "size": "445"...
namespace WebFrontend.Models { public class CloseModel { public int Id { get; set; } public decimal AmountPaid { get; set; } } }
{ "content_hash": "6ef3d3c3baffbebacfe9951d8a781a9c", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 47, "avg_line_length": 19.625, "alnum_prop": 0.5923566878980892, "repo_name": "edumentab/cqrs-starter-kit", "id": "d146b134368e0ee3529d658fa6c4cd596d37d5a6", "size": "159", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "b4d28e6001552d0531e0cfd2da94fbe4", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "fb854cdb2cd8f580171f249cd942f1d921036be0", "size": "179...
// TODO: this is special because it gets imported during build. // // TODO: 17.0.3 has not been released to NPM; // It exists as a placeholder so that DevTools can support work tag changes between releases. // When we next publish a release (either 17.0.3 or 17.1.0), update the matching TODO in backend/renderer.js ex...
{ "content_hash": "f68787bee0b578e2f7e7622cebad42c4", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 108, "avg_line_length": 42.875, "alnum_prop": 0.7376093294460642, "repo_name": "acdlite/react", "id": "69b37a19f037981efec20516715e57edd3828881", "size": "531", "binary": ...
#pragma once #include <fstream> #include <list> #include <string> #include <memory> using namespace std; #include "wator/layer.hpp" #include <opencv2/core/core.hpp> namespace Wator { /** * NeuralNetParam. **/ struct ImageLayerParam { string root_ = "data/retina/"; }; ...
{ "content_hash": "76c9c81ae4eb82d67e361e2dd54775ba", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 54, "avg_line_length": 21.1, "alnum_prop": 0.523696682464455, "repo_name": "WatorVapor/wator", "id": "6752d43511c16990c8f3a9b4a42a5d673fe2ef41", "size": "2351", "binary":...
package edu.clemson.rsrg.prover.absyn.iterators; import edu.clemson.rsrg.prover.absyn.PExp; import java.util.NoSuchElementException; /** * <p> * A {@code PExpSubexpressionIterator} defines the interface for classes that iterate over the sub-expressions of a * {@link PExp}, with the ability to get a version of the...
{ "content_hash": "281c1b1b2f95714b47cefbd403652603", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 119, "avg_line_length": 30.072727272727274, "alnum_prop": 0.6408706166868199, "repo_name": "yushan87/RESOLVE", "id": "c68bfde5a419ec689e4ff79d6d8e99a93241394f", "size": "20...
import { combineReducers } from 'redux'; import BodyReducer from './body.reducer'; import UiReducer from './ui/ui.reducer'; export default combineReducers({ ui: UiReducer, body: BodyReducer });
{ "content_hash": "1c5da22d1d16b6046c4653d0221c82f3", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 41, "avg_line_length": 22.555555555555557, "alnum_prop": 0.7192118226600985, "repo_name": "ryanjamesmcgill/yourtime", "id": "d0e220cf48e3427ade60970579ee4d1feb5f09c1", "size...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Category: main | Maria.Recipes &mdash; Keto Enthusiast, Indian Food Lover </title> <meta property=...
{ "content_hash": "a8699082a88e3732e7ff94a611b0f1b5", "timestamp": "", "source": "github", "line_count": 5907, "max_line_length": 666, "avg_line_length": 36.636532927035724, "alnum_prop": 0.5457599393748961, "repo_name": "shashwatx/shashwatx.github.io", "id": "184258a0969710f7bef8e8c6559da2a5d7fbdceb"...
<?php $vo_result = $this->getVar('result'); $vn_items_per_page = $this->getVar('current_items_per_page'); $vn_page = $this->getVar('page'); if($vo_result) { $vn_num_results = $this->getVar('num_hits'); $vn_start_result = (($vn_page - 1) * $vn_items_per_page) + 1; $vn_end_result = ($vn_page * $vn_items...
{ "content_hash": "beeedea408d4e0576445c9a77e717023", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 149, "avg_line_length": 38.45652173913044, "alnum_prop": 0.607687959299039, "repo_name": "PreserveLafayette/PreserveLafayette", "id": "fc2949b5a89874b281dfc6c48d6b42f91c43fc3...
#ifndef __XML_RELAX_NG__ #define __XML_RELAX_NG__ #include <libxml/xmlversion.h> #include <libxml/hash.h> #include <libxml/xmlstring.h> #ifdef LIBXML_SCHEMAS_ENABLED #ifdef __cplusplus extern "C" { #endif typedef struct _xmlRelaxNG xmlRelaxNG; typedef xmlRelaxNG *xmlRelaxNGPtr; /** * A sche...
{ "content_hash": "b0151e2c54e087a6e3d8e27194855cca", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 89, "avg_line_length": 29.342391304347824, "alnum_prop": 0.7138358955362104, "repo_name": "aestesis/elektronika", "id": "48ffec975387689268284c1ad4e4131997b1e33e", "size":...
// **************************************************************************** // <copyright file="AssemblyInfo.cs" company="GalaSoft Laurent Bugnion"> // Copyright © GalaSoft Laurent Bugnion 2009-2012 // </copyright> // **************************************************************************** // <author>Laur...
{ "content_hash": "e934f5351a83cc01b4b3245408435bcf", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 80, "avg_line_length": 43, "alnum_prop": 0.48320413436692505, "repo_name": "wiyonoaten/MvvmLight2Mvx", "id": "e52d2ae7ed3adfc9561dbdbe7207175aa9e4cc20", "size": "777", "b...
document.addEventListener('trix-attachment-add', function(ev) { var data = {}; var request = new XMLHttpRequest(); request.open('POST', '/trix/attachment/', true); request.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); request.send(data); });
{ "content_hash": "fc15e61fb51e6639bf1518d701f30e89", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 95, "avg_line_length": 26.90909090909091, "alnum_prop": 0.6993243243243243, "repo_name": "istrategylabs/django-trix", "id": "0ed487a325baf24b8566b9164112a79de565783e", "siz...
<?php get_header(); ?> <!-- Row for main content area --> <div class="small-12 large-8 columns" id="content" role="main"> <h1 class="entry-title"><?php echo 'UTHSC Spotlight' ?></h1> <p>Stories from the UTHSC Alumni Magazine</p><hr /> <?php if ( have_posts() ) : ?> <?php /*...
{ "content_hash": "dc50f07b0faf5d137edde4be6a4d9b3c", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 115, "avg_line_length": 39.93333333333333, "alnum_prop": 0.501669449081803, "repo_name": "uthsc/uthscblogs-child-news", "id": "d994123f717b0912d5a4b172c2a75aee82e3a79b", "s...
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="viewpor...
{ "content_hash": "ef5dd802beec4bcec28fd46ce45362c3", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 96, "avg_line_length": 41.917647058823526, "alnum_prop": 0.6112826269997194, "repo_name": "mycetophorae/endeavour-ui", "id": "9bc37962ddabb517e46b5530d772f8772cba07a6", "si...
import pygame from pygame.locals import * #helper that draws an array arr on screen in steps of step pixels def drawGraph(screen, arr, step=5): maxy = screen.get_height() for i in range(len(arr)-1): x = i*step p1 = (i*step, maxy-arr[i]) p2 = ((i+1)*step, maxy-arr[i+1]) pygame.dr...
{ "content_hash": "bbca7a8fa0a26a68e5ee53d27889cee1", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 72, "avg_line_length": 27.513157894736842, "alnum_prop": 0.5289335246293639, "repo_name": "AjayMT/game-of-life", "id": "430850c4e9426c520b090864452a976ffa631b59", "size": "...
using namespace llvm; // If backtrace support is not enabled, compile out support for pretty stack // traces. This has the secondary effect of not requiring thread local storage // when backtrace support is disabled. #if defined(HAVE_BACKTRACE) && defined(ENABLE_BACKTRACES) // We need a thread local pointer to manag...
{ "content_hash": "761aadd40f0c878f1e47045735687b0d", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 80, "avg_line_length": 30.075342465753426, "alnum_prop": 0.7164654976087451, "repo_name": "henfredemars/Fork-Lang", "id": "d6782a70e1a4906877151d34767e3a113b07931f", "size...
var loc = window.location; chrome.extension.sendRequest(loc);
{ "content_hash": "d7bbea3dfdfab26c19d62c826d5f13ac", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 34, "avg_line_length": 20.666666666666668, "alnum_prop": 0.7903225806451613, "repo_name": "feross/CMSploit", "id": "4c0dbe9a5cb5643b9eb820f1f6d8ac9de28ff618", "size": "62", ...
import json import requests import urllib3 from decimal import Decimal from bs4 import BeautifulSoup from datetime import datetime urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) def decimal_default(obj): if isinstance(obj, Decimal): return float(obj) raise TypeError def format_...
{ "content_hash": "94ce62eb2a72479d4b4da5a66a306f2f", "timestamp": "", "source": "github", "line_count": 443, "max_line_length": 173, "avg_line_length": 30.54176072234763, "alnum_prop": 0.5226164079822616, "repo_name": "melizeche/dolarPy", "id": "645dc3a882c12426909725152c10979f6319e2a9", "size": "1...
package com.amazonaws.services.apigatewayv2.model; import java.io.Serializable; import javax.annotation.Generated; @Generated("com.amazonaws:aws-java-sdk-code-generator") public class UpdateAuthorizerResult extends com.amazonaws.AmazonWebServiceResult<com.amazonaws.ResponseMetadata> implements Serializable, Cloneabl...
{ "content_hash": "39c5e15ce2211c85d4b2dd65d4766260", "timestamp": "", "source": "github", "line_count": 798, "max_line_length": 159, "avg_line_length": 47.39724310776943, "alnum_prop": 0.6695396980673135, "repo_name": "jentfoo/aws-sdk-java", "id": "ee6c7f870322e3e2b10bc85da39d1514542629f9", "size":...
#define BUILDING_NODE_EXTENSION #include "EmiNodeUtil.h" #include "EmiError.h" #include "slab_allocator.h" #include "../core/EmiNetUtil.h" #include <netinet/in.h> #include <cstring> #include <cstdio> #include <cstdlib> #include <node_buffer.h> using namespace v8; static const int SLAB_SIZE = 1024 * 1024; static n...
{ "content_hash": "9268d9a21bafa3c1e51f556eed84c755", "timestamp": "", "source": "github", "line_count": 227, "max_line_length": 109, "avg_line_length": 28.929515418502202, "alnum_prop": 0.5095172833866302, "repo_name": "pereckerdal/eminet", "id": "d345034adc71ab5e563a1a3ef455f54134416096", "size": ...
// // FontUtils.h // docClient // // Created by USER on 15-3-16. // Copyright (c) 2015年 luo. All rights reserved. // #import <Foundation/Foundation.h> static CGFloat adaptiveHeight(CGFloat i6_h,CGFloat i6p_h,CGFloat h) { CGFloat height; static CGFloat screenHeight; static dispatch_once_t onceToken; ...
{ "content_hash": "2c5357a8686a52403d837960ff83549c", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 107, "avg_line_length": 22.253731343283583, "alnum_prop": 0.6854460093896714, "repo_name": "lizhuangzi/WifeButler", "id": "eb91a5ffa742dcadacc69c717451d400b1c0296d", "size"...
package li.strolch.execution; import static li.strolch.model.ModelGenerator.*; import static org.junit.Assert.assertEquals; import java.util.SortedSet; import li.strolch.execution.command.PlanActionCommand; import li.strolch.model.ModelGenerator; import li.strolch.model.ParameterBag; import li.strolch.model.Resourc...
{ "content_hash": "c0d8a8f65849ebb4016edad09854676a", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 116, "avg_line_length": 33.47517730496454, "alnum_prop": 0.7669491525423728, "repo_name": "4treesCH/strolch", "id": "938b4668f16d63db0a5f8edc1e887779de5afbfe", "size": "53...
> A slush generator for create a React component in isolation The idea of creating this generator components was based on the design structure them in isolation. Where **we believe** the web should be built this way. It is customized based on some current needs and preferences of Personare but you can easily change. ...
{ "content_hash": "04c86919db386001a63f6254e448187d", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 256, "avg_line_length": 28.72340425531915, "alnum_prop": 0.6985185185185185, "repo_name": "Personare/react-component-generator", "id": "3182823ac9b364e3c7de3849dddd63d2b64453...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <!-- (1) Optimize for mobile versions: http://goo.gl/EOpFl --> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- (1) force latest IE rendering engine: bit.ly/1c8EiC9 --> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <t...
{ "content_hash": "446ba0caac03144b104a4897850909f6", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 705, "avg_line_length": 59.61931818181818, "alnum_prop": 0.6044029352901935, "repo_name": "imsmithza/imsmithza.github.io", "id": "587abc1c058c2f4b395a478c0fdfad8e5c7e0830", ...
package elastic_test import ( "context" "encoding/json" "fmt" "log" "os" "reflect" "time" elastic "github.com/venicegeo/pz-gocommon/elasticsearch/elastic-5-api" ) type Tweet struct { User string `json:"user"` Message string `json:"message"` Retweets int `json:"retweets"` Image string ...
{ "content_hash": "2dbf55d56cc2fad0c8a8782b72a5989a", "timestamp": "", "source": "github", "line_count": 458, "max_line_length": 116, "avg_line_length": 26.49344978165939, "alnum_prop": 0.6571616944123949, "repo_name": "venicegeo/pz-gocommon", "id": "6050e071bbb8b750d62d1b970d9dc4f8212072f5", "size"...
Use `showHeader: false` to hide the header of bootstrap table. _by [@wenzhixin](https://github.com/wenzhixin)_ <iframe width="100%" height="300" src="http://jsfiddle.net/wenyi/e3nk137y/22/embedded/html,result" allowfullscreen="allowfullscreen" frameborder="0"></iframe>
{ "content_hash": "c484f6d8e3a075a994992c47e5fd3bb5", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 158, "avg_line_length": 90, "alnum_prop": 0.7592592592592593, "repo_name": "mikepenz/bootstrap-table", "id": "612350bf7ab7f057044042be0b30848757f1be0e", "size": "368", "bi...
'use strict'; angular.module('pie', ['ngResource', 'ui.bootstrap']) .config(function ($routeProvider) { $routeProvider .when('/', { redirectTo: '/login' }) .when('/discuss/:discussionId', { templateUrl: 'views/discuss.html' }) .when('/edit/:documentId', { templateUrl: 'views/edit.html' ...
{ "content_hash": "abba38b2188662f93a7c50748168f2da", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 72, "avg_line_length": 26.058823529411764, "alnum_prop": 0.6207674943566591, "repo_name": "PieEditor/PIE", "id": "9566d9ff87f8c5de6e318632c34d6cff6d2c7ab0", "size": "886", ...
/** @file Exporter.cpp Assimp export interface. While it's public interface bears many similarities to the import interface (in fact, it is largely symmetric), the internal implementations differs a lot. Exporters are considered stateless and are simple callbacks which we maintain in a global list along with ...
{ "content_hash": "02da6b5271e071868928e602cbb2d953", "timestamp": "", "source": "github", "line_count": 575, "max_line_length": 159, "avg_line_length": 34.05391304347826, "alnum_prop": 0.5855165721873244, "repo_name": "spetz911/almaty3d", "id": "f8744503dcd98e430c3ccbe3585ef8d14ab63162", "size": "2...
.config-menu { vertical-align: top; display: inline-block; width: 300px; } .config-editor { margin-left: 20px; display: inline-block; } .config-editor .message { font-size: 140%; font-weight: bold; margin: 10px; position: relative; display: none; } .nameList span { display: inline-block; width: ...
{ "content_hash": "371df8d38545ca1070f9ceeee30a0d7d", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 29, "avg_line_length": 15.685714285714285, "alnum_prop": 0.6775956284153005, "repo_name": "OBHITA/PROCenter", "id": "ffd95076328f3987eeebf35533b67faa4d557e3b", "size": "549...
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizontal" android:orientation="...
{ "content_hash": "d47921b39acaa20fe0d0e929d060c67e", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 76, "avg_line_length": 41.714285714285715, "alnum_prop": 0.573785803237858, "repo_name": "smashdown/android-common", "id": "8bd5ffcdad9dffa3cfb6b163dd5878955754384a", "size...
from django.contrib.auth import get_user_model from django.core.exceptions import ValidationError from django.db import IntegrityError from django.test import TestCase from lists.models import Item, List User = get_user_model() class ItemModelTest(TestCase): def test_default_text(self): item = Item() ...
{ "content_hash": "d1201617f62313aa0ee9cd223aed3c81", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 75, "avg_line_length": 35.142857142857146, "alnum_prop": 0.6269543464665416, "repo_name": "PeterHo/mysite", "id": "a32edd5b837f812f0324cc5250b69919d936f0f7", "size": "3198"...
package org.jtheque.core; /* * Copyright JTheque (Baptiste Wicht) * * 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 * * U...
{ "content_hash": "d180d58e419417db76f4335efdba7a6c", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 91, "avg_line_length": 28.476190476190474, "alnum_prop": 0.6551003344481605, "repo_name": "wichtounet/jtheque-core", "id": "c2c14365a75a30b29bc5910ac111177d2d2ebd76", "size...
import {Firestore} from '@google-cloud/firestore'; class FakeBatch<T> { private docsToDelete: Array<FakeDoc<T>>; constructor() { this.docsToDelete = []; } delete(doc: FakeDoc<T>) { this.docsToDelete.push(doc); } async commit() { for (const doc of this.docsToDelete) { await doc.delete()...
{ "content_hash": "d0b365f50744432a5ce8c678064d7f3a", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 72, "avg_line_length": 21.08411214953271, "alnum_prop": 0.5939716312056738, "repo_name": "PolymerLabs/project-health", "id": "7af5aaac94cba5595cef496a51c329ac41335094", "s...
<!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8"> <title>sap.m.GenericTile</title> <script src="shared-config.js"></script> <script src="../../../resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-theme='sap_...
{ "content_hash": "8dc4622b733d74f068f52a7f883d061b", "timestamp": "", "source": "github", "line_count": 631, "max_line_length": 220, "avg_line_length": 34.59904912836767, "alnum_prop": 0.4844723341883474, "repo_name": "openui5/packaged-sap.m", "id": "8a1b4b5ede577fbe0a782e91d5693eb5e64794d2", "size...
from datetime import datetime from channels.message import Message from ..models import Room def user_join(message, **kwargs): # type: (Message, dict) """ Handles a user joining a room :param message: The websocket message :param kwargs: Route kwargs :return: """ room = Room.objects.get(...
{ "content_hash": "8f6dc2334af9c50c5c20419f9386255f", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 83, "avg_line_length": 27.11864406779661, "alnum_prop": 0.594375, "repo_name": "k-pramod/channel.js", "id": "e2a3ff87da7cb3977afa79f102a668b09da9abbf", "size": "1600", "b...
#ifndef XCAM_AIQ_UTILS_H #define XCAM_AIQ_UTILS_H #include "xcam_utils.h" #include "x3a_result.h" #include <base/xcam_3a_stats.h> #include <linux/atomisp.h> namespace XCam { bool translate_3a_stats (XCam3AStats *from, struct atomisp_3a_statistics *to); uint32_t translate_3a_results_to_xcam (XCam::X3aResultList &l...
{ "content_hash": "7eb2807637dfd4805721c9392dd24315", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 88, "avg_line_length": 23.428571428571427, "alnum_prop": 0.6829268292682927, "repo_name": "dspmeng/libxcam", "id": "21d23a2af1380781e507c8b449eea75c45b2df44", "size": "1225...
```js { type: Phrase | String, props: Object<Any>, children: Array<Element> } ``` ## `Phrase` ```js { defaultProps?: Object<Any>, filterResult?: (result: Any, element: Element) => Boolean, mapResult?: (result: Any, element: Element) => Any, describe?: (element: Element) => Element, visit?: (option: Op...
{ "content_hash": "2622aa46683a3f8c7d885f48caf02a83", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 71, "avg_line_length": 19.727272727272727, "alnum_prop": 0.6847926267281106, "repo_name": "lacona/lacona", "id": "74b14f5808204db477d840c1d11f8c95795056c4", "size": "1108",...
<?php namespace selective\ORM\Tests\Mocks; class PDO extends \PDO { public $lastInsertId = 0; public function __construct() { } public function prepare($statement, $options = null) { return new PDOStatement($statement, $this); } public function lastInsertId($seqname = null) ...
{ "content_hash": "51cd7b30f65aa6b731cfefb4c4587fc3", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 56, "avg_line_length": 17.523809523809526, "alnum_prop": 0.6195652173913043, "repo_name": "jamend/selective-orm", "id": "77d55cbd633be44a0ba0a5eeae8c9b2526f8edb9", "size": ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ramsey: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" re...
{ "content_hash": "aca909675ac23e547fc81d60909ee107", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 157, "avg_line_length": 42.8041237113402, "alnum_prop": 0.581888246628131, "repo_name": "coq-bench/coq-bench.github.io", "id": "5d094cd1c1895b085401b94db6365ecb5f781c7f", ...
<?php /* * esta clase es el validador del custom fiel type que reemplaza a los campos booleanos */ namespace Fd\EstablecimientoBundle\Validator\Constraints; use Symfony\Component\Validator\Constraint; /** * @Annotation */ class Sinosd extends Constraint { public $message = 'El valor "%string%" seleccionado...
{ "content_hash": "4cfc4b889d33cc951a28dbd7bf68d930", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 87, "avg_line_length": 19, "alnum_prop": 0.7057416267942583, "repo_name": "mprizmic/fd_c", "id": "4951aa380a83cc6053b6bd1bd38320322db238e4", "size": "419", "binary": fals...
import sbt._ import com.twitter.sbt._ import sbt.Keys._ import sbtassembly.Plugin._ import AssemblyKeys._ import java.io.File object Zipkin extends Build { val CASSIE_VERSION = "0.23.0" val FINAGLE_VERSION = "5.3.5" val OSTRICH_VERSION = "8.2.3" val UTIL_VERSION = "5.3.6" val proxyRepo = Option(System....
{ "content_hash": "ff11e8ad7223c8c05978f1a92ae4688d", "timestamp": "", "source": "github", "line_count": 407, "max_line_length": 169, "avg_line_length": 36.62899262899263, "alnum_prop": 0.6100751274483499, "repo_name": "viktortnk/zipkin", "id": "436e82516e37098f38467eba025f36088571af87", "size": "14...
@interface KFDataTableViewDataSource () @end @implementation KFDataTableViewDataSource - (instancetype)initWithTableView:(UITableView *)tableView fetchedResultsController:(NSFetchedResultsController *)fetchedResultsController { NSParameterAssert(tableView != nil); NSParameterAssert(fetchedResultsCon...
{ "content_hash": "eb2dfe2626d441f7d7a5c167287a068c", "timestamp": "", "source": "github", "line_count": 185, "max_line_length": 230, "avg_line_length": 38.043243243243246, "alnum_prop": 0.7499289570900824, "repo_name": "QueryKit/TodoExample", "id": "0dc999cbe8e441ea6204ad247797a3882158c105", "size"...
package dotty.tools.dotc.util import scala.collection.mutable.ArrayBuffer import scala.util.chaining._ import language.experimental.pureFunctions /** A wrapper for a list of cached instances of a type `T`. * The wrapper is recursion-reentrant: several instances are kept, so * at each depth of reentrance we are re...
{ "content_hash": "be452dddc090b16297070a953e3da8e9", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 96, "avg_line_length": 32.588235294117645, "alnum_prop": 0.7138989169675091, "repo_name": "lampepfl/dotty", "id": "75addc916b780eb887acd36bfa7ae9bf17e565f6", "size": "1108"...
using System.Reflection; 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 assembly. [assembly: AssemblyTitle("RobotsFactory.Data")] [assembly: Assembly...
{ "content_hash": "e708c3bd8c72e3557705b21122948b54", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 84, "avg_line_length": 39.142857142857146, "alnum_prop": 0.7423357664233576, "repo_name": "Team-Zealot-Databases/Databases-Teamwork-2014", "id": "ce6544b7f1b5b9647028fcbca87b...