text
stringlengths
2
1.04M
meta
dict
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate...
{ "content_hash": "7e64c29d85bcfe854fd2841f8bc54ffc", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 150, "avg_line_length": 39.659574468085104, "alnum_prop": 0.6037195994277539, "repo_name": "kmouakher/my-first-angular2-app", "id": "0d692e7522580d38b3d7dbe4749bbec2c9acd452...
package bingo.odata.model; import bingo.lang.exceptions.ReadonlyException; import bingo.meta.edm.EdmParameter; import bingo.meta.edm.EdmType; public class ODataParameterImpl implements ODataParameter { private final EdmParameter metadata; private final Object value; public ODataParameterImpl...
{ "content_hash": "c78a8655c18ea4cc6b802aa0b29f5a12", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 64, "avg_line_length": 20.609756097560975, "alnum_prop": 0.6603550295857988, "repo_name": "bingo-open-source/bingo-odata", "id": "305e9af1942322efcab0cde5b8c886399a3bbb93", ...
Dynamic configuration with Kubernetes Custom Resource {: .subtitle } ## Definitions ```yaml tab="apiextensions.k8s.io/v1" --8<-- "content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml" ``` ```yaml tab="apiextensions.k8s.io/v1beta1" --8<-- "content/reference/dynamic-configuration/kubernetes-crd-def...
{ "content_hash": "ea676acb8a169277eac464986590996d", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 86, "avg_line_length": 22.666666666666668, "alnum_prop": 0.7352941176470589, "repo_name": "dtomcej/traefik", "id": "ccda41843cbdc2d6833f4653068cf48006bb081f", "size": "582"...
const { assertDataProperty } = Assert; function assertFunctionName(f, name) { return assertDataProperty(f, "name", {value: name, writable: false, enumerable: false, configurable: true}); } const GeneratorFunction = Object.getPrototypeOf(function*(){}).constructor; // Function/GeneratorFunction constructor { l...
{ "content_hash": "9a1f5d18907ad8b2e7096f17da1e1577", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 110, "avg_line_length": 23.842105263157894, "alnum_prop": 0.7240618101545254, "repo_name": "anba/es6draft", "id": "928479fce8068238c1b5f420f180db11460eb805", "size": "616",...
package com.amazonaws.services.kafkaconnect.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** * <p> * Workers can send worker logs to different destination types. This configuration specifies th...
{ "content_hash": "1cbd913a3d0b3d3c90dcbe47024d4c38", "timestamp": "", "source": "github", "line_count": 232, "max_line_length": 148, "avg_line_length": 30.70689655172414, "alnum_prop": 0.6257720381807973, "repo_name": "aws/aws-sdk-java", "id": "db5110fe7d76059463658aaef07c1d64e96cb55e", "size": "77...
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'jumanpp_ruby'
{ "content_hash": "6ee418c1666e9cb90ab12d4547bec390", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 58, "avg_line_length": 41, "alnum_prop": 0.6585365853658537, "repo_name": "EastResident/jumanpp_ruby", "id": "52dc3789d202e4812558c7d2a18ee866fd54e966", "size": "82", "bin...
var model = require('../models/Model'); module.exports = ChooseCharacter = { view: function(){ return m(".pure.g", [ m("h2", "Choose a character"), m("ul", Object.getOwnPropertyNames(model.characters).map(function(cname){ return m("li", m("a", {href: "/" + cname, con...
{ "content_hash": "0abc3a080eaf4433e56c1a9fca375d4b", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 107, "avg_line_length": 33.666666666666664, "alnum_prop": 0.5247524752475248, "repo_name": "marmaluke/pf-char", "id": "9b9be55f59f37be68471118095dab84418df079a", "size": "4...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <parent> <groupId>io.takari</groupId> <artifactI...
{ "content_hash": "5c7c6de4670a1797ebb03d83d318f79c", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 108, "avg_line_length": 31.53846153846154, "alnum_prop": 0.6617886178861788, "repo_name": "Randgalt/takari-swagger", "id": "9c596bbbdcb780273770d512fce4a0be804384e7", "size...
import unittest from parameterized.parameterized import parameterized from conans.test.utils.tools import TestClient from conans.paths import CONANFILE import os from conans.util.files import load tool_conanfile = """from conans import ConanFile class Tool(ConanFile): name = "Tool" version = "0.1" def ...
{ "content_hash": "41ffa6957dcae3548603df33f26a03c2", "timestamp": "", "source": "github", "line_count": 269, "max_line_length": 93, "avg_line_length": 35.446096654275095, "alnum_prop": 0.6321971683272155, "repo_name": "luckielordie/conan", "id": "56498b2ab7148a962e19d5a1d86d4c91598ce934", "size": "...
<div class="m-container"> <div class="m-row content007 g__one-line--top-bottom"> <div class="content007__title g__no-margin--top">Простые блоки без картинок и иконок</div><!--extend sass--> <div class="content007__nested"> <a href="/" class="content007__title-nested">Классное преимуществ...
{ "content_hash": "49b4d6db5cd9085c21de6115a8f8cd5e", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 178, "avg_line_length": 77.6, "alnum_prop": 0.666881443298969, "repo_name": "DevGroup-ru/frontend-monster", "id": "313e91d5caf5525cd8c28e1244f9bfc7de0ecf53", "size": "3420"...
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/blackboard_courselist" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_holo_light" android:orientation="v...
{ "content_hash": "720733ac6c78b538c1343e06df729f98", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 72, "avg_line_length": 36.08, "alnum_prop": 0.6829268292682927, "repo_name": "huntj88/utexas-utilities", "id": "84d24fbd96304c2d8db48a1f2bfe3c8252abefc4", "size": "902", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dictionaries: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.mi...
{ "content_hash": "f2fb7db59f48b701bb68e911f5d34b3c", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 159, "avg_line_length": 41.1875, "alnum_prop": 0.5566285004828252, "repo_name": "coq-bench/coq-bench.github.io", "id": "ede41ab2204c705ba49e4bb425a846282f86f1ce", "size": ...
#ifndef STOYUTILS_H_ #define STOYUTILS_H_ #include <vector> #include "cell3DPosition.h" class Brick { public: Cell3DPosition p1; Cell3DPosition p2; }; class StoyUtils { vector<Brick> bricks; public: void readFile(string path_to_file); bool isInside(Cell3DPosition catomPosition); void setBric...
{ "content_hash": "ca8e6fba955b8ef7bf86d668f1f84ecd", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 52, "avg_line_length": 16.846153846153847, "alnum_prop": 0.680365296803653, "repo_name": "claytronics/visiblesim", "id": "22e13dcefc5344e4c0eb9917045373dc88322dd2", "size":...
package acpi import "fmt" const ( llDSDTAddr = 140 lDSDTAddr = 40 ) // BiosTable contains the information needed to create table images for // firmware such as coreboot or oreboot. It hence includes the RSDP, // [XR]SDT, and the raw table data. The *SDT is always Tables[0] // as in the real tables. type BiosTable...
{ "content_hash": "ad320b442629e219bc83e86d839283cd", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 73, "avg_line_length": 26.625, "alnum_prop": 0.6500213401621853, "repo_name": "hugelgupf/u-root", "id": "cf104c57cec42b57a9a7ce298f30d3532b237f65", "size": "2506", "binar...
package org.springframework.context.annotation.configuration; import org.junit.Test; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org.springframework....
{ "content_hash": "18e777d89b4d5077a373430948b79129", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 104, "avg_line_length": 30.672131147540984, "alnum_prop": 0.8214858364510956, "repo_name": "shivpun/spring-framework", "id": "0124e42915565ebfa058c7752616292db1891c30", "si...
</div><!--EO gliverContainer--> </body> </html>
{ "content_hash": "50aaf7b659821cc61a70d05783640e1d", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 32, "avg_line_length": 16, "alnum_prop": 0.5833333333333334, "repo_name": "mudassar66/glivertest", "id": "d8e4439ef5beed218bc6ba04dce60aa3169af787", "size": "48", "binary"...
module NanoApi::Client::Affiliate def affiliate affiliate_marker = self.class.extract_marker(marker) return unless affiliate_marker result = get('affiliates/%d' % affiliate_marker, signature: affilate_signature(affiliate_marker)) return unless result.has_key?('affiliate') result['affiliate'].me...
{ "content_hash": "d10fdfb499f58eaac0235df5b7ca31a9", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 101, "avg_line_length": 29.083333333333332, "alnum_prop": 0.7349570200573066, "repo_name": "KosyanMedia/nano_api", "id": "6659cb1318a5eaf0136c49bd8a611e6838c8fb0f", "size":...
/*! tablesorter column reorder - beta testing * Requires tablesorter v2.8+ and jQuery 1.7+ * by Rob Garrison */ /*jshint browser:true, jquery:true, unused:false */ /*global jQuery: false */ ;(function($){ "use strict"; $.tablesorter.addWidget({ id: 'reorder', priority: 70, options : { reorder_axis ...
{ "content_hash": "01a6094b01f58a3f65ba9d1bc73f5984", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 173, "avg_line_length": 33.1978021978022, "alnum_prop": 0.5251572327044025, "repo_name": "jaredhowland/MARC-Record-Tracking-Database", "id": "16374a98107f68f28279f508018c950...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <title>Clean Blog - About</title> ...
{ "content_hash": "b1bc1ad52733aac17534fd8663fae9bb", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 261, "avg_line_length": 40.82386363636363, "alnum_prop": 0.4862908837856646, "repo_name": "parthasarma/dtm-demo", "id": "df77e736af986722218ab690ac2906ded789a396", "size":...
class CreateFavorites < ActiveRecord::Migration def change create_table :favorites do |t| t.integer :profile_id, null: false t.integer :favable_id, null: false t.string :favable_type, null: false, limit: 60 t.integer :favorite_folder_id, null: false ...
{ "content_hash": "b1e1dd83e4d76fcb53c7c3ce4047c4f2", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 62, "avg_line_length": 32.875, "alnum_prop": 0.6311787072243346, "repo_name": "chimerao/backend", "id": "00235899d890ae55d9a95ddf09fcd94eee262613", "size": "526", "binary...
* { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } /* * -- BASE STYLES -- * Most of these are inherited from Base, but I want to change a few. */ body { line-height: 1.7em; color: #7f8c8d; font-size: 13px; } h1, h2, h3, h4, h5, h6, label { color: ...
{ "content_hash": "ba1d1e7ae4f9085b438cd56a8b7a73ea", "timestamp": "", "source": "github", "line_count": 312, "max_line_length": 76, "avg_line_length": 18.647435897435898, "alnum_prop": 0.5933310415950498, "repo_name": "NowSky/app", "id": "d4f6b2c6f1c35b0fb0c618399bf66f93e3401cdb", "size": "5818", ...
import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'VirtualFile.content_type' db.add_column('seoutils_virtualfile', 'content_type', self.gf('djang...
{ "content_hash": "2d5fe2e3b0917445792da6a064b83576", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 155, "avg_line_length": 60.63461538461539, "alnum_prop": 0.5467808436409769, "repo_name": "h3/django-seoutils", "id": "1a1879a1daf7f0b02fcf29090d0d7e1ccfc316bd", "size": "3...
#ifndef X264_THREADPOOL_H #define X264_THREADPOOL_H typedef struct x264_threadpool_t x264_threadpool_t; #if HAVE_THREAD #define x264_threadpool_init x264_template(threadpool_init) int x264_threadpool_init( x264_threadpool_t **p_pool, int threads, void (*init_func)(void *), void *init_a...
{ "content_hash": "0b2dac45ae2128421e521e11e411e1ed", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 87, "avg_line_length": 35.72, "alnum_prop": 0.7312430011198209, "repo_name": "zhaozhencn/PushRTMPStreamSync", "id": "dc94a3f5e35c14b4aac7f2079ca286ecf6806554", "size": "210...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="JavadocGenerationManager"> <option name="OUTPUT_DIRECTORY" value="$PROJECT_DIR$/../JavaDoc" /> <option name="OPTION_SCOPE" value="private" /> </component> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" ...
{ "content_hash": "e40552d6c4c8558e62bc9a2f49da033b", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 146, "avg_line_length": 46.3, "alnum_prop": 0.6825053995680346, "repo_name": "pollostrazon/HGMD_updates", "id": "e8143d38dce97c14b756201aa4d2cf386c69b642", "size": "463", ...
package example.phan.sinh.imagepickerandpicasso.utils; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.database.Cursor; import android.graphics.Bitmap; import android.net.Uri; import android.os.Build; import android.os.Environment; import android.pre...
{ "content_hash": "9cf208a7bc8725eecfabadbf0bc18fa0", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 131, "avg_line_length": 35.528301886792455, "alnum_prop": 0.6585236325013276, "repo_name": "sinhpn92/ImagePickerAndPicassoExample", "id": "5578fdb7dd256b33e795f6e7ded1988479...
using System; using System.ComponentModel.Composition.Hosting; using System.IO; namespace ToolsManager { public class AutoRefreshDirectoryCatalog : DirectoryCatalog { public bool NotifyOnDirectoryChanged { get; private set; } public AutoRefreshDirectoryCatalog(string path) : this(p...
{ "content_hash": "8df8c44e09da80ebe8b034d480ae8a39", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 155, "avg_line_length": 32.45070422535211, "alnum_prop": 0.4457465277777778, "repo_name": "idefav/ToolsManager", "id": "1ed4c3000c890fa150b5434abca5cb481ce09b51", "size": "...
import copy import logging import pytest from tests.common.test_vector import * from tests.common.impala_test_suite import ImpalaTestSuite from tests.common.test_dimensions import create_uncompressed_text_dimension from tests.util.test_file_parser import QueryTestSectionReader from tests.common.test_dimensions import c...
{ "content_hash": "58f24a99522d8d2266f56ac8f6e72d0d", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 89, "avg_line_length": 41.54430379746835, "alnum_prop": 0.7052102376599635, "repo_name": "grundprinzip/Impala", "id": "e953476a206b2fbae75dca0bc01645e19c481d8f", "size": "...
$(function () { $.extend($.fn.bootstrapTable.defaults, $.fn.bootstrapTable.locales['zh-CN']) var searchText = $('.search').find('input').val() var columns = [] columns.push({ title: '分类', field: 'category', align: 'center', valign: 'middle', width: '5%', ...
{ "content_hash": "bf09909a39aad72f6485b1f121ef2fe1", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 148, "avg_line_length": 33.422680412371136, "alnum_prop": 0.5323874151758174, "repo_name": "EasySpringBoot/picture-crawler", "id": "c0ea66e344d27928c67f5dbd67ce44c00154ff3d",...
using System; using System.Collections.Generic; using System.Text; using System.Reflection; using Xamarin.Forms.CustomAttributes; #if UITEST using NUnit.Framework; using Xamarin.UITest; #endif namespace Xamarin.Forms.Controls { internal static class AppPaths { public static string ApkPath = "../../../...
{ "content_hash": "a02935b72b09ffdaf1ac602a44b40361", "timestamp": "", "source": "github", "line_count": 518, "max_line_length": 152, "avg_line_length": 18.66988416988417, "alnum_prop": 0.6492606762485782, "repo_name": "Hitcents/Xamarin.Forms", "id": "6400a2ac18f1a1d026bdff601e0c2992927c2c99", "size...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "4f49fb98c78c4f17e1943dffb424f653", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "e3ebd27d4bfd577996437578a90579248c073b3a", "size": "193...
all: pip install -r requirements.txt python setup.py install develop: pip install -r requirements-dev.txt python setup.py develop test: py.test -v --cov=pyret --cov-report=html tests lint: flake8 pyret/*.py clean: rm -rf htmlcov/ rm -rf pyret.egg-info rm -f pyret/*.pyc rm -rf pyret/__pycache__ rm -rf dis...
{ "content_hash": "02063827ddeabc75fecb5f64eb75b55d", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 47, "avg_line_length": 15.346153846153847, "alnum_prop": 0.7117794486215538, "repo_name": "baccuslab/pyret", "id": "e0e1029becf1bb4cd8ece5e0a6ff4e0788549925", "size": "399"...
module Replicate # Simple OpenStruct style object that supports the dump and load protocols. # Useful in tests and also when you want to dump an object that doesn't # implement the dump and load methods. # # >> object = Replicate::Object.new :name => 'Joe', :age => 24 # >> object.age # >> 24 ...
{ "content_hash": "29e502a059863a0f84980bfb543029cf", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 78, "avg_line_length": 25.228070175438596, "alnum_prop": 0.586230876216968, "repo_name": "staqapp/replicate", "id": "eabe2c0aa1b4f08f79e8b5816bc9760d18d55a5b", "size": "143...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>cfgv: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" r...
{ "content_hash": "3e9727c3d01fd576a147fa383033cd4d", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 159, "avg_line_length": 40.542857142857144, "alnum_prop": 0.5454545454545454, "repo_name": "coq-bench/coq-bench.github.io", "id": "495cc4c815814e5903b6db437d5c25bc49b48162",...
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var _ = require('lodash'); /* jshint ignore:line */ var Holodeck = require('../../../../../holodeck'); /* jshint ignore:line */ var Requ...
{ "content_hash": "ca378569baa879c0b22f4d398229303b", "timestamp": "", "source": "github", "line_count": 132, "max_line_length": 191, "avg_line_length": 37.59090909090909, "alnum_prop": 0.5685207577589682, "repo_name": "wanjunsli/twilio-node", "id": "0aeb5d494c44375e212a212530fa359b62a91574", "size"...
<?php require_once(realpath(dirname(__FILE__)) . '/../../../../include/view/widgets/FormWidget.php'); /** * @access public * @author Di Pompeo Sacco * @package include.view.widgets.forms */ class longDateField extends FormWidget { public $time, $date, $disabled; /** * @access public * @param v * @param ...
{ "content_hash": "c203164f7e12724ab05515ed0f0b6553", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 95, "avg_line_length": 23.424242424242426, "alnum_prop": 0.6332470892626132, "repo_name": "danieledipompeo/vecchiaposta", "id": "daf11833585e221dea28eb180ec88a4cb15d4d4b", ...
package org.apache.kylin.engine; import org.apache.kylin.cube.CubeSegment; import org.apache.kylin.job.execution.DefaultChainedExecutable; public interface IBatchCubingEngine { /** Build a new cube segment, typically its time range appends to the end of current cube. */ public DefaultChainedExecutable crea...
{ "content_hash": "91d6ff3fb2cf0b57cf34807a0f32f7da", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 100, "avg_line_length": 33.05263157894737, "alnum_prop": 0.7786624203821656, "repo_name": "haoch/kylin", "id": "556893c745cc0b78e508dea29e6c55cbae7ff14b", "size": "1434", ...
typedef NS_OPTIONS(NSInteger, BaseDictionaryStorageInitOptions) { initOptionsStorageTypeNSDictionary = 1 << 0, initOptionsStorageTypeNSMapTableWeakToWeak = 1 << 1 }; @interface AIKBaseDictionaryStorage : NSObject #pragma mark - Subscription - (instancetype)initWithOptions:(BaseDictionaryStorageInitOptions)op...
{ "content_hash": "fae848ca6e47d161b7b0cc8f597a039e", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 74, "avg_line_length": 26, "alnum_prop": 0.7662721893491125, "repo_name": "smartairkey/ios-message-based-network", "id": "f0096b115769fcc78a29b143f5e5821aaa7911f2", "size":...
package com.yibh.fourgank.yonionyy.activity; import android.content.Context; import android.content.Intent; import android.support.v4.view.ViewCompat; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import com.yibh.fourgank.R; import com.yi...
{ "content_hash": "564b4448d52fd3520a14330f3a502967", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 87, "avg_line_length": 28.25287356321839, "alnum_prop": 0.6903986981285598, "repo_name": "YTestGithub/FourGank", "id": "6e3c811653ec68fe705bd86b0312ce8366802476", "size": "...
<?xml version="1.0" encoding="utf-8"?> <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.chariotsolutions.nfc.plugin" version="0.4.7"> <name>NFC</name> <description>Near Field Communication (NFC) Plugin. Read and write NDE...
{ "content_hash": "7d6735d5b8fb6391f1524adf7cd5be98", "timestamp": "", "source": "github", "line_count": 86, "max_line_length": 141, "avg_line_length": 35.151162790697676, "alnum_prop": 0.5931194177968905, "repo_name": "ShowingCloud/Alniyat", "id": "851699e57b9ba5ec88d73016dc02e148eba273b1", "size":...
package com.jetbrains.python.psi; /** * @author yole */ public interface PyWithStatement extends PyStatement, NameDefiner { PyWithItem[] getWithItems(); }
{ "content_hash": "2ed7aeb18e0d0632c587dd57f31d110e", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 67, "avg_line_length": 17.88888888888889, "alnum_prop": 0.7391304347826086, "repo_name": "IllusionRom-deprecated/android_platform_tools_idea", "id": "201ae3046785fb045e0df26b1...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Global rolling_count</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="gen...
{ "content_hash": "8073860a16eb834944ca44c6e0b934a1", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 525, "avg_line_length": 85.62, "alnum_prop": 0.6605933193179164, "repo_name": "davehorton/drachtio-server", "id": "20729b8089597da1ecbd787731d207237e9047da", "size": "4282"...
require 'spec_helper' describe SeasonsController do describe "#index" do before { get :index } it { should respond_with(:success) } end describe "#show" do before do Season.stub(:find).with("200").and_return(double) get :show, id: 200 end it { should respond_with(:success) } ...
{ "content_hash": "f028744042dacbf48d37269ce9b32dc7", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 55, "avg_line_length": 16.5, "alnum_prop": 0.6272727272727273, "repo_name": "squidpunch/bass-bandits", "id": "325b193dd52d6167539000894c5360fb654745ca", "size": "330", "b...
<?php /** * Paradox Labs, Inc. * http://www.paradoxlabs.com * 717-431-3330 * * Need help? Open a ticket in our support system: * http://support.paradoxlabs.com * * @author Ryan Hoerr <magento@paradoxlabs.com> * @license http://store.paradoxlabs.com/license.html */ namespace ParadoxLabs\TokenBase\Api...
{ "content_hash": "143d3be488efc52b64b16a9d4d08b410", "timestamp": "", "source": "github", "line_count": 355, "max_line_length": 120, "avg_line_length": 21.428169014084506, "alnum_prop": 0.5843302221637965, "repo_name": "letunhatkong/tradebanner", "id": "3f28b29f653e631571f0ecae8d86d55bd0af69e5", "s...
from __future__ import annotations from unittest import mock from airflow.callbacks.callback_requests import CallbackRequest from airflow.configuration import conf from airflow.executors.local_executor import LocalExecutor from airflow.executors.local_kubernetes_executor import LocalKubernetesExecutor class TestLoc...
{ "content_hash": "af315e06625bb47690858abf608a48b3", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 110, "avg_line_length": 43.13636363636363, "alnum_prop": 0.7024938531787847, "repo_name": "apache/airflow", "id": "4fc3ff07aea2ebfc9013f972ce4f50839909cf65", "size": "3634"...
<!doctype html> <meta charset="utf-8" /> <title>Paragraphs</title> <p id="first"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. </p> <p id="second"> Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ul...
{ "content_hash": "5cbc0756894dd2828ee702430c89cc87", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 165, "avg_line_length": 37.46666666666667, "alnum_prop": 0.7402135231316725, "repo_name": "operasoftware/operawatir", "id": "02fadb204d7e23fde11e581de952ef740e16fbb5", "siz...
namespace Loon.Action.Sprite.Painting { using Loon.Core; using Loon.Core.Geom; using Loon.Core.Input; using Loon.Core.Timer; using Loon.Utils; public abstract class Drawable : LRelease { public bool IsPopup = false; public float transitionOnTime = 0; public float transitionOffTime =...
{ "content_hash": "99ce373bdaed30ef1f241d2b08cdb09b", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 115, "avg_line_length": 24.726027397260275, "alnum_prop": 0.6972299168975069, "repo_name": "cping/LGame", "id": "f06b58c1afe09bc5cd50eab7b8812afe949e66c5", "size": "3610",...
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.funkierJS = f(...
{ "content_hash": "d0b6ec8eac5fa58402b0b648782a8b4e", "timestamp": "", "source": "github", "line_count": 4540, "max_line_length": 849, "avg_line_length": 32.23590308370044, "alnum_prop": 0.6211095243626623, "repo_name": "graememcc/funkierJS", "id": "3a9174f868fbf83086bf790ccbb547da4522ec9c", "size":...
This application makes use of the following third party libraries: ## AFNetworking Copyright (c) 2013-2014 AFNetworking (http://afnetworking.com/) 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...
{ "content_hash": "f156ae8d5cd6c66c2b8598b42b96d2c3", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 755, "avg_line_length": 61.248226950354606, "alnum_prop": 0.7999073645206114, "repo_name": "kiokoo/YaleMobile", "id": "9a4a355a47bad81cacee29875b6486c9514918bd", "size": "...
import sys from typing import Generator import pytest try: from pytest import CallInfo, Config, Parser, TestReport # type: ignore except ImportError: # For pytest < 7.0.0 from _pytest.config import Config from _pytest.config.argparsing import Parser from _pytest.reports import TestReport from _p...
{ "content_hash": "74e17d2bcaec1add254316bf0c41a573", "timestamp": "", "source": "github", "line_count": 99, "max_line_length": 79, "avg_line_length": 27.333333333333332, "alnum_prop": 0.6382113821138211, "repo_name": "renanivo/pytest-testdox", "id": "3adf08c6a4b46fd13c52a0457b5c7eb525cce82b", "size...
package alluxio.security.authentication; import alluxio.conf.Configuration; import alluxio.conf.InstancedConfiguration; import alluxio.conf.PropertyKey; import alluxio.exception.status.UnauthenticatedException; import alluxio.grpc.GrpcChannel; import alluxio.grpc.GrpcChannelBuilder; import alluxio.grpc.GrpcServer; i...
{ "content_hash": "8bbba5a60e730543853c7159a9e7d539", "timestamp": "", "source": "github", "line_count": 248, "max_line_length": 100, "avg_line_length": 36.32258064516129, "alnum_prop": 0.7309058614564832, "repo_name": "wwjiang007/alluxio", "id": "8b696394f1e3bd3c78cd8051c5c3bfe035968f8d", "size": "...
package org.infobip.mobile.messaging.chat.core; import static org.infobip.mobile.messaging.chat.core.InAppChatWidgetMethods.handleMessageDraftSend; import static org.infobip.mobile.messaging.chat.core.InAppChatWidgetMethods.handleMessageSend; import static org.infobip.mobile.messaging.chat.core.InAppChatWidgetMethods....
{ "content_hash": "b3b03589a2d767fe9d680e6daeedbe76", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 169, "avg_line_length": 41.8141592920354, "alnum_prop": 0.691005291005291, "repo_name": "infobip/mobile-messaging-sdk-android", "id": "65f733fb98f4e92b3b517359f96f30c1a4f269...
#ifndef PLASMA_WORLD_H #define PLASMA_WORLD_H #include <Plasma/StdDefs.h> #if MOTION_BULLET #include <MotionBullet/Attractor/BasicAttractors.h> #include <MotionBullet/Collision/CollisionInfo.h> #include <MotionBullet/World/MotionWorld.h> #else #include <Motion/Attractor/BasicAttractors.h> #include <Motion/Collision/...
{ "content_hash": "82a81a7259739b628931c8d4d3738ad9", "timestamp": "", "source": "github", "line_count": 451, "max_line_length": 134, "avg_line_length": 32.791574279379155, "alnum_prop": 0.5976063290283319, "repo_name": "LudoSapiens/Dev", "id": "1769bfe907454d3f766fd2996d95ed1304bcd9e0", "size": "15...
<!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_171-google-v7) on Mon Apr 08 11:10:15 PDT 2019 --> <title>ExtendableEntityUtil (Google App Engine API for Java)</title> <meta name="date" conte...
{ "content_hash": "2612b449c05e482e848a3cc606706fb1", "timestamp": "", "source": "github", "line_count": 308, "max_line_length": 396, "avg_line_length": 43.48376623376623, "alnum_prop": 0.6531023669080863, "repo_name": "googlearchive/caja", "id": "0bcb56c8810cced9e3df04087c5869d7e58f47d4", "size": "...
import json import os import socket from django import forms from django.conf import settings from django.db.models import Q from django.forms.models import modelformset_factory from django.utils.safestring import mark_safe from django.utils.encoding import force_unicode import commonware import happyforms from tower...
{ "content_hash": "2c6a9afbb4e6051f185dcde18be23772", "timestamp": "", "source": "github", "line_count": 841, "max_line_length": 79, "avg_line_length": 37.52794292508918, "alnum_prop": 0.5938975317638858, "repo_name": "mdaif/olympia", "id": "615e2d27eb188d1a70c808680c3013ce13955a74", "size": "31585"...
import codecs from ipywidgets import widgets, widget_serialization import traitlets class SVGLayoutBox(widgets.Box): """ A container that positions its `children` according to the bounding boxes of the inkscape layers in its TODO scale_mode: fit or stretch center? """ _view_name ...
{ "content_hash": "2f2ce750a78d90279941e061d4c7a121", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 111, "avg_line_length": 33.175, "alnum_prop": 0.6593820648078372, "repo_name": "openseat/ipylayoutwidgets", "id": "f8f5d32378648851cbd46fba08ae674550ea752e", "size": "1327"...
import { createContext } from 'react'; import type { IHybridContextProps } from './types'; export const HybridContext = createContext<IHybridContextProps>({ colorMode: { colorMode: 'light', toggleColorMode: () => {}, setColorMode: () => {}, accessibleColors: false, setAccessibleColors: () => {}, ...
{ "content_hash": "69310b79aa7f2c2cf5ce66104af77557", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 65, "avg_line_length": 27.416666666666668, "alnum_prop": 0.6443768996960486, "repo_name": "GeekyAnts/NativeBase", "id": "1aa7b0d0b3f960bfa3347ed207dbf22eb7c452bd", "size": ...
/* global define, it, describe, expect */ import { takeEvery } from 'redux-saga'; import { call, put, fork } from 'redux-saga/effects'; import booksSaga, { createBook, fetchBooks, watchCreateBook, watchFetchBooks, } from '../booksSaga'; import bookshelfApi from '../../services'; import * as actions from '../../...
{ "content_hash": "10defaf90188901746172c4d31c91360", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 74, "avg_line_length": 28.179775280898877, "alnum_prop": 0.5889154704944178, "repo_name": "w1nston/bookshelf", "id": "2056fec7ab3dfd7991d3b8e9d77d049a655fa409", "size": "25...
<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2014 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/license...
{ "content_hash": "b9bfcef836e956f81279d2c5182aac35", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 94, "avg_line_length": 35.464285714285715, "alnum_prop": 0.5584088620342397, "repo_name": "Hankay/gdk-apidemo-sample-master", "id": "4acd64cd40d2d38e100e7495520e194ebeeb1cd0"...
#include "lapacke_utils.h" lapack_int LAPACKE_chegv( int matrix_layout, lapack_int itype, char jobz, char uplo, lapack_int n, lapack_complex_float* a, lapack_int lda, lapack_complex_float* b, lapack_int ldb, float* w ) { lapack_int inf...
{ "content_hash": "ac4f2b1bd357c4cba6684b8964a3dd06", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 82, "avg_line_length": 33.91935483870968, "alnum_prop": 0.5534950071326676, "repo_name": "kortschak/OpenBLAS", "id": "15d052987c4ae9e59570a390ecb4e53e7dd3eb9d", "size": "40...
#include "tclInt.h" #include <ctype.h> #ifndef TRUE #define TRUE 1 #define FALSE 0 #endif #ifndef NULL #define NULL 0 #endif static int maxExponent = 511; /* Largest possible base 10 exponent. Any * exponent larger than this will already * produce underflow or overflow, so there's * no need to worry...
{ "content_hash": "464f52f53c4b93bcbc0d5403e4382dac", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 78, "avg_line_length": 22.54320987654321, "alnum_prop": 0.5397955458196422, "repo_name": "neverpanic/macports-base", "id": "1147825afb05e95991623071a7d3b3add3f88fe2", "siz...
import { Provider } from 'mobx-react' import { ROUTE, ARTICLE_THREAD, METRIC } from '@/constant' import { ssrBaseStates, ssrFetchPrepare, ssrError, articleSEO, ssrGetParam, refreshIfneed, } from '@/utils' import { useStore } from '@/stores/init' import GlobalLayout from '@/containers/layout/GlobalLayout' ...
{ "content_hash": "55d744035d284ea0c5b8694e4f27cab5", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 75, "avg_line_length": 23.25, "alnum_prop": 0.6456500488758553, "repo_name": "mydearxym/mastani", "id": "107fa256e16567a8c6f7ef6c298089e0ba3d3148", "size": "2046", "binar...
# # # /* See http://www.boost.org for most recent version. */ # # include <boost/preprocessor/slot/detail/shared.hpp> # # undef BOOST_PP_ITERATION_START_2 # # undef BOOST_PP_ITERATION_START_2_DIGIT_1 # undef BOOST_PP_ITERATION_START_2_DIGIT_2 # undef BOOST_PP_ITERATION_START_2_DIGIT_3 # undef BOOST_PP_ITERATION_START_...
{ "content_hash": "5b0010c74bbed9de3db4d55fbf2fa9c9", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 165, "avg_line_length": 38.5, "alnum_prop": 0.6998870694522868, "repo_name": "OLR-xray/OLR-3.0", "id": "f05a229af62196743d10bd1e3f915286082ae2cd", "size": "4260", "binary...
<?php /*-----------------------------------------------------------------------------------------------------// /* Theme Setup /*-----------------------------------------------------------------------------------------------------*/ if ( ! function_exists( 'swelllite_setup' ) ) : function swelllite_setup() { // Ma...
{ "content_hash": "14f6b056eab2e9508727e727ef356504", "timestamp": "", "source": "github", "line_count": 360, "max_line_length": 176, "avg_line_length": 40.05277777777778, "alnum_prop": 0.46674526666204313, "repo_name": "ManueReva13/fantine", "id": "2383407e43b47c73fe5979f0aa0e4fe409d008eb", "size":...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Uses of Package com.google.zxing.aztec.encoder (ZXing 3.4.1 API)</title...
{ "content_hash": "63715138f35a56d36aed9c4ee6f863ab", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 308, "avg_line_length": 35.5625, "alnum_prop": 0.6267135325131811, "repo_name": "tanelihuuskonen/zxing", "id": "948d6218fe455e5072ba6ed65d98f0ca6b097e01", "size": "5690", ...
require 'aws-sdk' module CSI module AWS # This module provides a client for making API requests to Amazon CloudWatch Logs. module CloudWatchLogs @@logger = CSI::Plugins::CSILogger.create # Supported Method Parameters:: # CSI::AWS::CloudWatchLogs.connect( # region: 'required - regio...
{ "content_hash": "a776629375ab963460025c9a29c3a755", "timestamp": "", "source": "github", "line_count": 90, "max_line_length": 190, "avg_line_length": 38.01111111111111, "alnum_prop": 0.6112247880736627, "repo_name": "ninp0/csi", "id": "95b21c842b4579934fec316dedf55523634369e7", "size": "3452", "...
namespace Google.Cloud.AutoML.V1.Snippets { // [START automl_v1_generated_PredictionService_Predict_sync_flattened] using Google.Cloud.AutoML.V1; using System.Collections.Generic; public sealed partial class GeneratedPredictionServiceClientSnippets { /// <summary>Snippet for Predict</summar...
{ "content_hash": "eaba256d4f2e399977ae45501ca0427e", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 105, "avg_line_length": 49.3, "alnum_prop": 0.665314401622718, "repo_name": "googleapis/google-cloud-dotnet", "id": "76dd49cb82694008f3f8f61769b19243111aef65", "size": "210...
{-# OPTIONS -cpp #-} {-# OPTIONS_GHC -O -funbox-strict-fields #-} -- We always optimise this, otherwise performance of a non-optimised -- compiler is severely affected -- -- (c) The University of Glasgow 2002-2006 -- -- Binary I/O library, with special tweaks for GHC -- -- Based on the nhc98 Binary library, which is c...
{ "content_hash": "3a06490c94e7a0cbc63b41b8b57e02da", "timestamp": "", "source": "github", "line_count": 888, "max_line_length": 101, "avg_line_length": 30.92454954954955, "alnum_prop": 0.5307891191143804, "repo_name": "hferreiro/replay", "id": "332bfc8e0cc6de21210600467f7c4dabac727097", "size": "27...
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may ...
{ "content_hash": "d718a89ac721be848d17d5f2573e52fb", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 74, "avg_line_length": 32.35087719298246, "alnum_prop": 0.5802603036876356, "repo_name": "cbaenziger/oozie", "id": "2eea7342fe2e82ee699cfd124a08ba9087bd7390", "size": "1844...
module CanTango class Ability def can?(action, subject, *extra_args) stamper("#can?") { match = relevant_rules_for_match(action, subject).detect do |rule| rule.matches_conditions?(action, subject, extra_args) end match ? match.base_behavior : false } end end end
{ "content_hash": "a472368fd13cce8b5b290f9901290c1d", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 72, "avg_line_length": 26.083333333333332, "alnum_prop": 0.6293929712460063, "repo_name": "kristianmandrup/cantango", "id": "23f1866427ad119c1233d9e70c46757e46bce89e", "siz...
/* TODO: * - implement WINMM (32bit) multitasking and use it in all MCI drivers * instead of the home grown one * - 16bit mmTaskXXX functions are currently broken because the 16 * loader does not support binary command lines => provide Wine's * own mmtask.tsk not using binary command line. * - correctly ...
{ "content_hash": "2971718f1f18cfff6f9d69ef4aef8be6", "timestamp": "", "source": "github", "line_count": 2454, "max_line_length": 236, "avg_line_length": 31.30766096169519, "alnum_prop": 0.574041052206849, "repo_name": "howard5888/wine", "id": "5c9104591edd397930aeea8b00c8af5e777a5e79", "size": "776...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Color Picker</title> <meta name="description" content="Ajaxload - Ajax loading gif...
{ "content_hash": "ca86f3c34a7f58aff4d52746fe03878f", "timestamp": "", "source": "github", "line_count": 48, "max_line_length": 135, "avg_line_length": 35.875, "alnum_prop": 0.6416957026713124, "repo_name": "adswebwork/genesis", "id": "ff8cde7af95db5f6aa9b4707d7d780e47d318715", "size": "1722", "bi...
#include "Mesh.h" Mesh::Mesh(): num_indices(0) { glGenVertexArrays(1, &vao); glGenBuffers(1, &vbo); glGenBuffers(1, &ebo); } Mesh::~Mesh() { if(vao != 0) { glDeleteVertexArrays(1, &vao); vao = 0; } if (vbo != 0) { glDeleteBuffers(1, &vbo); vbo = 0; ...
{ "content_hash": "8f9aebb7ede86fcaff1b7b5e8e6473e9", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 132, "avg_line_length": 23.890243902439025, "alnum_prop": 0.5946911689637571, "repo_name": "Shot511/GLWorkshops", "id": "fb206fe71bbe4a8a28bdaf33daace79270fb3269", "size": ...
package com.alibaba.druid.sql.ast.statement; import com.alibaba.druid.sql.ast.SQLExpr; import com.alibaba.druid.sql.ast.SQLObjectImpl; import com.alibaba.druid.sql.visitor.SQLASTVisitor; public class SQLAssignItem extends SQLObjectImpl { private SQLExpr target; private SQLExpr value; public SQLAssignIt...
{ "content_hash": "1667454118964f8a8968c419507174a3", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 56, "avg_line_length": 21.689655172413794, "alnum_prop": 0.6009538950715422, "repo_name": "xiaomozhang/druid", "id": "032af4fb55225ebcc96a205a12502e1b2b89d724", "size": "18...
package search import "math" type MinAggregationResult struct { Name string Value float64 //+inf means missing value } func (a *MinAggregationResult) GetName() string { return a.Name } func (a *MinAggregationResult) GetType() AggregationType { return AggregationMinType } func (a *MinAggregationResult) HasValue...
{ "content_hash": "903dfad2dc17e027a7c625509d010f1d", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 58, "avg_line_length": 18.75, "alnum_prop": 0.7413333333333333, "repo_name": "aliyun/aliyun-tablestore-go-sdk", "id": "4b2515aa7ab5250f8c6007332564dd9751667a92", "size": "3...
package com.wordpress.tonytam.util; /** @author by tonytam on 6/15/14. Credit: http://stackoverflow.com/questions/937313/android-basic-gesture-detection Usage ActivitySwipeDetector swipe = new ActivitySwipeDetector(this); LinearLayout swipe_layout = (LinearLayout) findViewById(R.id.swipe_layout); swipe_layout.set...
{ "content_hash": "00f8221f2cb2d7ac2853f8d2799d89e2", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 113, "avg_line_length": 29.479591836734695, "alnum_prop": 0.564901349948079, "repo_name": "tonytamsf/android-Math-Get-To-24", "id": "fc05dbf50513eaf40fed2abede590bc051733f45"...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>geocoq-main: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min...
{ "content_hash": "a8ee3a7ffae90c459bfb7d7dc9620989", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 159, "avg_line_length": 43.03804347826087, "alnum_prop": 0.5546154817527466, "repo_name": "coq-bench/coq-bench.github.io", "id": "b0fa01ba7e03b75191693fbc3d9caaa2bcb5d9aa", ...
module Alchemy # ActiveRecord scopes for Alchemy::Page # module Page::PageScopes extend ActiveSupport::Concern included do # All language root pages # scope :language_roots, -> { where(language_root: true) } # All layout pages # scope :layoutpages, -> { where(layoutp...
{ "content_hash": "d24b041b52ca3e85ae4350f75b3f510f", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 112, "avg_line_length": 26.563106796116504, "alnum_prop": 0.5855263157894737, "repo_name": "thomasjachmann/alchemy_cms", "id": "7309ade6caf141f9426507043f866ae329803d3c", ...
@import XCTest; @interface Tests : XCTestCase @end @implementation Tests - (void)setUp { [super setUp]; // Put setup code here. This method is called before the invocation of each test method in the class. } - (void)tearDown { // Put teardown code here. This method is called after the invocation of eac...
{ "content_hash": "38dfe7d03a770124e43bedd822d8a3a6", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 107, "avg_line_length": 17.444444444444443, "alnum_prop": 0.6815286624203821, "repo_name": "BunLV/TBCore", "id": "c132672e1e89c288c5e7b404f0f6d0bbdcf69961", "size": "602", ...
package gofakes3 import ( "encoding/xml" "fmt" "net/http" "time" ) // Error codes are documented here: // https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html // // If you add a code to this list, please also add it to ErrorCode.Status(). // const ( ErrNone ErrorCode = "" // The Content-MD5 you ...
{ "content_hash": "a03b37118c7e3921402710c9fe63a581", "timestamp": "", "source": "github", "line_count": 352, "max_line_length": 141, "avg_line_length": 30.019886363636363, "alnum_prop": 0.7604807419324312, "repo_name": "tomcz/s3backup", "id": "668f81456bb3030d4d46ad2c74c242772e715bca", "size": "105...
type: tutorial layout: tutorial title: "Creating a RESTful Web Service with Spring Boot" description: "This tutorial walks us through the process of creating a simple REST controller with Spring Boot" authors: Hadi Hariri, Edoardo Vacchi, Sébastien Deleuze showAuthorInfo: true source: spring-boot-restful --- Kotlin wo...
{ "content_hash": "9d52b289689fd064c37e8e6e2ca85fce", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 398, "avg_line_length": 43.33653846153846, "alnum_prop": 0.758597736853783, "repo_name": "madvirus/kotlin-web-site", "id": "b42de7c7912746f6b6f76ae34c9988ce526c34b5", "siz...
layout: post title: Broadcast Input To Current Session date: 2015-10-26 13:46:19.000000000 +09:00 type: post categories: - Tmux --- ## Configuration ``` :setw synchronize-panes ``` ## Shortcut ``` bind-key 키 set-window-option synchronize-panes ``` ## References * http://blog.sanctum.geek.nz/sync-tmux-panes/ * https:...
{ "content_hash": "ff34f2353e1bb7cd9c0f5672a06faa92", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 62, "avg_line_length": 17.857142857142858, "alnum_prop": 0.7253333333333334, "repo_name": "kyungw00k/kyungw00k.github.io", "id": "e418303381284da6b9c8579ca9d5deb175d59daa", ...
using System; using System.Threading.Tasks; using Elasticsearch.Net; namespace Nest { public partial class ElasticClient { /// <inheritdoc /> public ISearchResponse<T> Scroll<T>(Func<ScrollDescriptor<T>, ScrollDescriptor<T>> scrollSelector) where T : class { return this.Dispatch<ScrollDescriptor...
{ "content_hash": "c78b3c5289c6b101a173907b0a05273f", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 127, "avg_line_length": 31.75, "alnum_prop": 0.703599550056243, "repo_name": "NickCraver/NEST", "id": "cf84b5ab001e77ea5d6d085d10da45aa174ca306", "size": "1780", "binary"...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name Sphaeria gallae Schwein., 1832 ### Remarks null
{ "content_hash": "a6560f7445022dfec0bc9aa4e78d3961", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 12.23076923076923, "alnum_prop": 0.710691823899371, "repo_name": "mdoering/backbone", "id": "98bcddb663af5770d4a47e0961c96de8bcc04556", "size": "238"...
""" @file @brief Various functions to install `MinGW <http://www.mingw.org/>`_. """ from __future__ import print_function import sys import os import re from .install_custom import download_page, download_file from ..installhelper.install_cmd_helper import unzip_files def install_operadriver(dest_folder=".", fLOG=pr...
{ "content_hash": "bec5f5d242b3cfe291277981471bc444", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 123, "avg_line_length": 38.425925925925924, "alnum_prop": 0.6346987951807229, "repo_name": "sdpython/pymyinstall", "id": "155c8b656bf22b6b8c3a460a38608ba64d4ad144", "size":...
package org.apache.geode.management.internal.cli.functions; import java.util.HashSet; import java.util.Set; import org.apache.geode.cache.Cache; import org.apache.geode.cache.CacheFactory; import org.apache.geode.cache.execute.FunctionAdapter; import org.apache.geode.cache.execute.FunctionContext; import org.apache...
{ "content_hash": "cd746605afb34af5f012d04b8029e003", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 97, "avg_line_length": 32.36206896551724, "alnum_prop": 0.7575919019712307, "repo_name": "shankarh/geode", "id": "f8d302c9eafba6ff10e4c4875e8e67de17151507", "size": "2666",...
android_external_chromium-1 ===========================
{ "content_hash": "273c5ec58c61f973f3ba7bc7d54d9d18", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 27, "avg_line_length": 27.5, "alnum_prop": 0.43636363636363634, "repo_name": "pbeeler/android_external_chromium", "id": "ecd42fbe54218782e7b0bbd3af97e578b7109a5b", "size": "...
<?php namespace Drupal\Tests\content_translation\Functional; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\Sql\SqlContentEntityStorage; use Drupal\field\Entity\FieldConfig; use Drupal\language\Entity\ConfigurableLanguage; use Drupal\Tests\BrowserTestBase; use Drupal\field\Entity\FieldStorageCo...
{ "content_hash": "e7757632c5cc0d4816eded9f7dbb4d55", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 152, "avg_line_length": 29.07751937984496, "alnum_prop": 0.6528925619834711, "repo_name": "electric-eloquence/fepper-drupal", "id": "17d40b7a8bac301f4bc0fd9d281bc241e16142f0...
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>json-formater</groupId> <artifa...
{ "content_hash": "8c88fde2312fb1b46acf954d399179ff", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 104, "avg_line_length": 30.71851851851852, "alnum_prop": 0.6276826621654208, "repo_name": "gdsglgf/json-formater", "id": "60eb1d82655609319f459d95c76458860467bf50", "size"...
/** * FormModelTransport */ var FormModelTransport = { create: { url: "",//reasign dataType: "json", type: "PUT" }, parameterMap: function(options, operation) { if (operation == "create") { return { models: kendo.stringify(options.models) ...
{ "content_hash": "12cc9e01a39ba0b75c21617a3c46e7c1", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 74, "avg_line_length": 22.529411764705884, "alnum_prop": 0.5522193211488251, "repo_name": "asajin/sf_accounting_001", "id": "8e10c75d7bb100d8b62b439c366b19102b7542d0", "si...
<?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="alert_dialog_button_bar_height">54dip</dimen> </resources>
{ "content_hash": "67f4c7352977614cc7f9174b50974a60", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 60, "avg_line_length": 31.25, "alnum_prop": 0.696, "repo_name": "tasomaniac/OpenLinkWith", "id": "de6c0afdbd29e18522166d26163222f135f5dc6d", "size": "125", "binary": false...
package com.streamsets.pipeline.stage.processor.fieldorder.config; import com.streamsets.pipeline.api.GenerateResourceBundle; import com.streamsets.pipeline.api.Label; @GenerateResourceBundle public enum Groups implements Label { ORDER("Order"), ; String label; Groups(String label) { this.label = label...
{ "content_hash": "9b4d397c3715cdd0d508470e4f2f98ba", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 66, "avg_line_length": 17.818181818181817, "alnum_prop": 0.7372448979591837, "repo_name": "SandishKumarHN/datacollector", "id": "3acbcde1dc86b0b72e2d139a5f811de43ee8d788", ...
package handlers import ( "fmt" "github.com/SkylakeCoder/go-web/web" "sync" ) type Count struct { visitCount int64 lock sync.Mutex } func (c *Count) HandleRequest(req *web.Request, res *web.Response) { c.lock.Lock() c.visitCount++ c.lock.Unlock() res.WriteString(fmt.Sprintf("count: %d\n", c.visitCoun...
{ "content_hash": "4b730814cd06997fe2dcfd4777b0a832", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 68, "avg_line_length": 16.142857142857142, "alnum_prop": 0.6814159292035398, "repo_name": "SkylakeCoder/go-web", "id": "943d5d323bc816d59abaed3e4982751e42313202", "size": "...
import _ from 'lodash'; import ERRORS from '../errors'; import sortedObject from 'sorted-object'; export default class AutoCorrector { correct({ packageJson, results }) { const { changes, fixes } = this.getChanges(results); const updatedPackageJson = this.applyChanges({ changes, packageJson }); return { ...
{ "content_hash": "59d3f9b72fb24e21978891498ae74af6", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 75, "avg_line_length": 30.5, "alnum_prop": 0.6122102882984737, "repo_name": "charlierudolph/dependency-lint", "id": "a2dc9bfd75ba5572f903d357cdf318c8d8f0cf27", "size": "176...
package ipmi.sm.events; import ipmi.coding.commands.PrivilegeLevel; import ipmi.coding.commands.session.GetChannelCipherSuites; import ipmi.coding.security.CipherSuite; import ipmi.sm.StateMachine; import ipmi.sm.states.CiphersWaiting; import ipmi.sm.states.State; /** * Performed in {@link CiphersWaiting} {@link St...
{ "content_hash": "39a57f6b2e08df7119b6662b0c0cef9e", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 79, "avg_line_length": 29, "alnum_prop": 0.7931034482758621, "repo_name": "luolvming/ipmi", "id": "92cbf563489a2cd0e8730aad935610b3e68fdaa6", "size": "1036", "binary": fa...
namespace Magnet.Migrations { using System; using System.Data.Entity.Migrations; public partial class test : DbMigration { public override void Up() { AddColumn("dbo.Locations", "Distance", c => c.Double(nullable: false)); } public override void ...
{ "content_hash": "be48693d6d57df5c43926566da8918cb", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 83, "avg_line_length": 22.666666666666668, "alnum_prop": 0.5441176470588235, "repo_name": "mwilters/Magnet", "id": "1590def3d015b7def10aa5faba33e8755fcb56a9", "size": "408"...
"""`main` is the top level module for your Flask application.""" # Import the Flask Framework from flask import Flask, request import jinja2 import os import codecs app = Flask(__name__) app.config['DEBUG'] = True app.debug = True # Note: We don't need to call run() since our application is embedded within # the App...
{ "content_hash": "b8941a825a8ce53ebf89b33865c9442e", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 86, "avg_line_length": 25.7027027027027, "alnum_prop": 0.668769716088328, "repo_name": "wd15/rot13", "id": "059d67d6a6a2331c318f2f3797e72363833a8cfb", "size": "951", "bin...
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace MongoBlog.Areas.Admin.Models { public class jQueryDataTableRequestModel { public string sEcho { get; set; } public string sSearch { get; set; } public int iDisplayLength { get; set; } ...
{ "content_hash": "3c7e252cb2938faf2e3cc1f580f53ec2", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 47, "avg_line_length": 21.083333333333332, "alnum_prop": 0.6363636363636364, "repo_name": "mbanagouro/mongoblog", "id": "56e49aa9d4dfbd322ab0611fd7c9d959797b31e9", "size": ...
using System.Drawing; namespace LTag.Draw { public class DrawParams { private float _scaleX = 1f; private float _scaleY = 1f; private float _offsetX = 0f; private float _offsetY = 0f; private float _rotation = 0f; public float ScaleX { get { return _scaleX; } set { _scaleX = value; } } pub...
{ "content_hash": "8da8f219b5f43ea30f7aa6f5533cbe26", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 71, "avg_line_length": 18.568627450980394, "alnum_prop": 0.6124604012671595, "repo_name": "akx/ltag", "id": "54fa02ece1c7d484e968927675004bd9b6b0eb4e", "size": "949", "bi...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Usuarios extends CI_Controller { public function __construct(){ parent::__construct(); $this->load->model('usuarios_model','usuarios'); } public function index(){ $this->load->helper('url'); $data ...
{ "content_hash": "ba0a3990833af8c57f9e8e6b493a37d8", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 66, "avg_line_length": 35.35227272727273, "alnum_prop": 0.5049823207971713, "repo_name": "SergioRe/inventariopycas", "id": "910ae41c75ec30f71180234ebb967fb22f8f0663", "size...
package net.sf.mmm.code.api.member; import java.lang.reflect.Field; import net.sf.mmm.code.api.copy.CodeNodeItemCopyable; import net.sf.mmm.code.api.expression.CodeExpression; import net.sf.mmm.code.api.expression.CodeVariable; import net.sf.mmm.code.api.item.CodeMutableItemWithType; import net.sf.mmm.code.api.merge...
{ "content_hash": "a488fcaa4f83aa228f7a4797f1d8fe13", "timestamp": "", "source": "github", "line_count": 64, "max_line_length": 119, "avg_line_length": 31.265625, "alnum_prop": 0.7161419290354822, "repo_name": "m-m-m/code", "id": "e829447f1fa9292829e0afdf052da9e1e73cd377", "size": "2129", "binary"...