text
stringlengths
2
1.04M
meta
dict
[![Build Status](https://img.shields.io/travis/weareinteractive/ansible-ufw.svg)](https://travis-ci.org/weareinteractive/ansible-ufw) [![Galaxy](http://img.shields.io/badge/galaxy-weareinteractive.ufw-blue.svg)](https://galaxy.ansible.com/weareinteractive/ufw) [![GitHub Tags](https://img.shields.io/github/tag/weareinte...
{ "content_hash": "7380d4f875e1f61c20e65d3692094e9b", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 147, "avg_line_length": 23.554744525547445, "alnum_prop": 0.6960024790827394, "repo_name": "GetPhage/phage", "id": "59b45182a4ff944e1fe2e0e45099c3ad53c8adb7", "size": "325...
'use strict'; /* jshint -W030 */ /* jshint -W110 */ var chai = require('chai') , Sequelize = require('../../index') , expect = chai.expect , Support = require(__dirname + '/support') , sinon = require('sinon') , _ = require('lodash') , moment = require('moment') , current = Support.sequelize , uuid = r...
{ "content_hash": "1573a16f1a3f33f0305d87ffab12f3f1", "timestamp": "", "source": "github", "line_count": 307, "max_line_length": 113, "avg_line_length": 28.596091205211728, "alnum_prop": 0.6026882332839731, "repo_name": "hariprasadkulkarni/sequelize", "id": "07f9609b2a4ff87803191542ddc30a134621a518", ...
package de.zib.scalaris.executor; import com.ericsson.otp.erlang.OtpErlangException; import de.zib.scalaris.RequestList; import de.zib.scalaris.ResultList; import de.zib.scalaris.UnknownException; import de.zib.scalaris.operations.WriteOp; /** * Implements a write operation. * * @param <T> the type of the value ...
{ "content_hash": "83f1fb79e13508e383fa81d1c6574269", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 90, "avg_line_length": 25.365384615384617, "alnum_prop": 0.6080363912054587, "repo_name": "digshock/scalaris", "id": "047fe8e8ca6ebc5763241aa27ad37f63e2ddacc3", "size": "3...
package org.apache.ignite.jdbc; import java.io.Serializable; import java.math.BigDecimal; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.Date; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import java.sql.SQLException; import java.sql.Stat...
{ "content_hash": "7487b58abca79b7336ef75e71299e466", "timestamp": "", "source": "github", "line_count": 402, "max_line_length": 132, "avg_line_length": 33.12686567164179, "alnum_prop": 0.5706240144176616, "repo_name": "daradurvs/ignite", "id": "7583aa7e8b10cc630513f1278688b994f0bd96a0", "size": "14...
SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
{ "content_hash": "74b08bf6c2a61603e2177c094cc554d5", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 39, "avg_line_length": 10.23076923076923, "alnum_prop": 0.6917293233082706, "repo_name": "mdoering/backbone", "id": "ffc796d2ad1b246986b846c78703fb673a217f1c", "size": "192...
- Polymorphic path now casts route into a symbol (prevents error on Rails 6) ## version 1.2.0 - Add _target_ option to custom actions - Rework README documentation ## version 1.1.0 - Upgrade to Rails 6.1 - [FEATURE] Change style given a method (#25) - Remove comma separator enforcer - Force locale settings on numbe...
{ "content_hash": "7b5780c38afb25ac3a904b3902823b97", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 95, "avg_line_length": 27, "alnum_prop": 0.7456140350877193, "repo_name": "CodiTramuntana/ct_table_for", "id": "6f675730115acf862bf7a6a9d8011f25fbc7e08a", "size": "2083", ...
[![Build](https://github.com/google/built_collection.dart/actions/workflows/build.yaml/badge.svg)](https://github.com/google/built_collection.dart/actions/workflows/build.yaml) [![pub package](https://img.shields.io/pub/v/built_collection.svg)](https://pub.dev/packages/built_collection) [![package publisher](https://im...
{ "content_hash": "63b498d1a33023729284751a086599ad", "timestamp": "", "source": "github", "line_count": 104, "max_line_length": 176, "avg_line_length": 39.60576923076923, "alnum_prop": 0.7926681233309055, "repo_name": "google/built_collection.dart", "id": "58bea48beb87453687e34e158b760e8384a34bc3", ...
using System; using System.Collections.Generic; using System.Text; using CodeContracts; namespace TestFoundations.IntegrationTests.Shared { public interface InterfaceWithProperties { byte PropertyWithoutAll { get; set; } [Range(0, 500)] byte PropertyWithRange0And500 { get; set; } ...
{ "content_hash": "7591760736dd4e0b5893462b10cf964b", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 80, "avg_line_length": 27.1, "alnum_prop": 0.6678966789667896, "repo_name": "NickRusinov/CodeContracts.Fody", "id": "c31e65dd988f93c9c553c6904be61dec2dfdbabb", "size": "108...
var express = require('express'); var router = express.Router(); var fs = require('fs') var User = require('../../models/User') /* GET home page. */ router.get('/', function(req, res, next) { User.find({}, function(err, users) { res.render('admin/all-admins', {users: ...
{ "content_hash": "bf97582aa9ac5955c87da725522c68fb", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 73, "avg_line_length": 27.64864864864865, "alnum_prop": 0.4525904203323558, "repo_name": "Eslam-nasser-wd/node-blog", "id": "560e50cb5f515da6601af5b701702e9b0f18e395", "siz...
The JaneSliderControl is a UIControl subclass that can be customized to fit the style of your app. It provides feedback for starting the slide, progress while sliding, canceling the slide and finishing the slide. ![Example Gif](sliderGif.gif) ## Swift Version For using swift version `3.0`, tags `0.2.*` For using s...
{ "content_hash": "2a5ef179de4ee7b0b5027e240133ded2", "timestamp": "", "source": "github", "line_count": 56, "max_line_length": 234, "avg_line_length": 52.160714285714285, "alnum_prop": 0.7627524820267032, "repo_name": "jane/JaneSliderControl", "id": "daff8b46cea41696231d16d6f6943d7daf8e6ad0", "size...
require.config({ //By default load any module IDs from js/lib baseUrl: '/', //except, if the module ID starts with "app", //load it from the js/app directory. paths //config is relative to the baseUrl, and //never includes a ".js" extension since //the paths config could be for a directory. ...
{ "content_hash": "4d119ac11eef4f9fdee49d9947c554c6", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 55, "avg_line_length": 26.058823529411764, "alnum_prop": 0.5665914221218962, "repo_name": "zodiac-xl/react-demo", "id": "9450c3276272a5f7ead40beb2e4ae97011a397c7", "size": ...
package org.apache.jmeter.testbeans.gui; import java.awt.Component; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.Insets; import java.beans.BeanInfo; import java.beans.PropertyDescriptor; import java.beans.PropertyEditor; import java.beans.PropertyEditorManager; import java.io.Ser...
{ "content_hash": "708eb8683d65c4fc37ceaba0ec8bb013", "timestamp": "", "source": "github", "line_count": 761, "max_line_length": 156, "avg_line_length": 37.51905387647832, "alnum_prop": 0.5867189688988512, "repo_name": "vherilier/jmeter", "id": "54b9502116bb6a8228ce9b02d049cfddcddb92aa", "size": "29...
package metadata import ( "context" "github.com/goharbor/harbor/src/common/security" event2 "github.com/goharbor/harbor/src/controller/event" "github.com/goharbor/harbor/src/pkg/notifier/event" "time" ) // DeleteRepositoryEventMetadata is the metadata from which the delete repository event can be resolved type D...
{ "content_hash": "d7dfdad0bd4d92566fc531f75ec0b62f", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 103, "avg_line_length": 26.15625, "alnum_prop": 0.7574671445639187, "repo_name": "reasonerjt/harbor", "id": "e341bff0ca3d35889ff69dcba58bceb4a8372e27", "size": "1431", "b...
<form ng-submit="$event.preventDefault()" class="search-form"> <md-autocomplete ng-disabled="mgsc.isDisabled" md-selected-item="mgsc.selectedItem" md-search-text-change="mgsc.searchTextChange(mgsc.searchText)" md-search-text="mgsc.searchText" md-sele...
{ "content_hash": "1330e1e22c0851f612e71f51655f3e56", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 129, "avg_line_length": 41.24324324324324, "alnum_prop": 0.5373525557011796, "repo_name": "anypossiblew/map-md-client", "id": "157e556b4b43653e282281370b37887f1ed0ff70", "s...
"""Internal class for proxy query execution context implementation in the Azure Cosmos database service. """ import json from six.moves import xrange from azure.cosmos.exceptions import CosmosHttpResponseError from azure.cosmos._execution_context import multi_execution_aggregator from azure.cosmos._execution_context.b...
{ "content_hash": "54eadf049f49520643469dff60e71e0f", "timestamp": "", "source": "github", "line_count": 187, "max_line_length": 120, "avg_line_length": 42.80213903743316, "alnum_prop": 0.627936031984008, "repo_name": "Azure/azure-sdk-for-python", "id": "c731d3535549dd2587b5b57f82160d3b03329332", "s...
package scouter.javassist.bytecode.analysis; import java.util.Iterator; import scouter.javassist.ClassPool; import scouter.javassist.CtClass; import scouter.javassist.CtMethod; import scouter.javassist.NotFoundException; import scouter.javassist.bytecode.AccessFlag; import scouter.javassist.bytecode.BadBytecode; imp...
{ "content_hash": "0ccbcc44269d3f006de531275f407ea3", "timestamp": "", "source": "github", "line_count": 417, "max_line_length": 126, "avg_line_length": 35.280575539568346, "alnum_prop": 0.5865959760739532, "repo_name": "yuyupapa/OpenSource", "id": "9ba6984159d11707d5160c01554b4abdbd034f89", "size":...
// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.autofill.prefeditor; import android.animation.Animator; import android.animation.AnimatorListenerAdapter; import android.animation.Animator...
{ "content_hash": "6e9702f92c2ac92bd269595f2a9297f6", "timestamp": "", "source": "github", "line_count": 703, "max_line_length": 100, "avg_line_length": 41.62304409672831, "alnum_prop": 0.6415706913639315, "repo_name": "nwjs/chromium.src", "id": "607bb0269a005ddc2397edad1e9d9db4b9324cd6", "size": "2...
<?php namespace app\models; use Yii; use yii\helpers\Url; use yii\helpers\FileHelper; use yii\helpers\ArrayHelper; use yii\imagine\Image; use app\models\MArticle; use app\models\MArticleMultArticle; use app\models\U; /* DROP TABLE IF EXISTS wx_article_mult; CREATE TABLE IF NOT EXISTS wx_article_mult ( gh_id VARC...
{ "content_hash": "51bf0f3ebb0190dc76151394da3dbd02", "timestamp": "", "source": "github", "line_count": 189, "max_line_length": 287, "avg_line_length": 33.613756613756614, "alnum_prop": 0.5786242719974815, "repo_name": "yjhu/wowewe", "id": "8fb70825c2f1c985135eb7a3824014fd48c6493d", "size": "6357",...
class Sprite : public GameComponent { public: Sprite(std::string filename, std::string name = "", GLfloat x = 0, GLfloat y = 0); virtual ~Sprite(void); Sprite(const Sprite &); virtual GLfloat getPositionX(void); virtual GLfloat getPositionY(void); virtual GLfloat getRotation(void); virtual void setPositionX(G...
{ "content_hash": "49eb3633c79dadb2567e489571841306", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 83, "avg_line_length": 21.108695652173914, "alnum_prop": 0.7394438722966015, "repo_name": "EvanCGriffin/soccergame", "id": "27a7d21f76c001b0ca7bac972a65d1f97ae43ccf", "size...
(function( window, undefined ) { // Can't do this because several apps including ASP.NET trace // the stack via arguments.caller.callee and Firefox dies if // you try to trace through "use strict" call chains. (#13335) // Support: Firefox 18+ //"use strict"; var // A central reference to the root jQuery(document) r...
{ "content_hash": "14376b9180a78f825323bae4da763750", "timestamp": "", "source": "github", "line_count": 4348, "max_line_length": 189, "avg_line_length": 26.843146274149035, "alnum_prop": 0.609412752540398, "repo_name": "michael829/jquery-builder", "id": "5723d5b4191df989eb7e5127f2694509cc15ac82", "...
from __future__ import unicode_literals import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AlterModelManagers( ...
{ "content_hash": "cbc33e412d9ddd9e181d4590efe49277", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 317, "avg_line_length": 41.32786885245902, "alnum_prop": 0.5894486314954384, "repo_name": "jkbrzt/cointrol", "id": "6025ee90b9180325f5ec7e57f17b48206e68870f", "size": "2594...
package com.amatkivskiy.result.sample; import com.amatkivskiy.result.Result; public class Main { public static void mainSimple(String[] args) { System.out.println("Simplest way to create Result."); Result.success("success"); Result.failure("failure"); Result.of("success"); Result.of(() -> "succ...
{ "content_hash": "00fc753d04f0d4d8f2eab571cc0129b1", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 101, "avg_line_length": 31.265060240963855, "alnum_prop": 0.6169556840077072, "repo_name": "amatkivskiy/ResultForJava", "id": "424e19c75195ccda9acaf268929f3e9244ee129d", "s...
'use strict'; module.exports = { db: process.env.MONGOHQ_URL || process.env.MONGOLAB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/demonodeserver', assets: { lib: { css: [ 'public/lib/bootstrap/dist/css/bootstrap.min.css', 'public/lib/bootstrap/dist/css/bootstra...
{ "content_hash": "58b22fa4725a82df83f21664c327cd77", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 149, "avg_line_length": 34.77049180327869, "alnum_prop": 0.6619519094766619, "repo_name": "castlewhitehall/meanjs-with-token-auth", "id": "eaf48cdc4df93c931a007a4a6a07b1ed5db...
@interface ImageToVidTests : XCTestCase @end @implementation ImageToVidTests - (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 ...
{ "content_hash": "93c343f80940b34714ed84a5b5bf6ce3", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 107, "avg_line_length": 19.708333333333332, "alnum_prop": 0.6955602536997886, "repo_name": "HarrisonJackson/HJImagesToVideo", "id": "392edb51548581d9ac4a0d46111919d892b2a192"...
// Copyright 2014 The Bazel Authors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by appl...
{ "content_hash": "e9c3ae6557ea130ee4e90594b51e0661", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 100, "avg_line_length": 39.0979020979021, "alnum_prop": 0.7188338401001609, "repo_name": "aehlig/bazel", "id": "f08aeccf903b119a8df41300bdec4456af6f41b0", "size": "5591", ...
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "...
{ "content_hash": "87025d3f281b890841ad94e494250d2b", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 287, "avg_line_length": 36.83404255319149, "alnum_prop": 0.48937153419593343, "repo_name": "FinishX/coolweather", "id": "39f6e5670619573532501bfe020cfb6248db9da4", "size":...
"""Utility to handle vocabularies.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import codecs import os import tensorflow as tf from tensorflow.python.ops import lookup_ops from third_party.nmt.utils import misc_utils as utils UNK = "<unk>" SOS = "...
{ "content_hash": "d3960ef5bdfc9f8dd6aa42dc4839cf2d", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 80, "avg_line_length": 32.30434782608695, "alnum_prop": 0.5955585464333782, "repo_name": "google/active-qa", "id": "d07031177fb52608ea78716207329b755e989358", "size": "511...
from cupy.cuda import runtime class Event(object): """CUDA event, a synchronization point of CUDA streams. This class handles the CUDA event handle in RAII way, i.e., when an Event instance is destroyed by the GC, its handle is also destroyed. Args: block (bool): If True, the event blocks o...
{ "content_hash": "3c7685a7707e62def92dcc70bb27dc94", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 79, "avg_line_length": 30.395061728395063, "alnum_prop": 0.6078391551584078, "repo_name": "t-abe/chainer", "id": "6cead5420867eaac27bd0dea3d3c314861d9160a", "size": "4924"...
* [Setting up your local environment](#setting-up-your-local-environment) * [Step 1: Fork](#step-1-fork) * [Step 2: Build](#step-2-build) * [Step 3: Branch](#step-3-branch) * [Making Changes](#making-changes) * [Step 4: Code](#step-4-code) * [Step 5: Commit](#step-5-commit) * [Commit message guidelines](#...
{ "content_hash": "54ecfe692a4aed917584eb1cfc4764f7", "timestamp": "", "source": "github", "line_count": 258, "max_line_length": 122, "avg_line_length": 36.75581395348837, "alnum_prop": 0.7632605715490879, "repo_name": "the-ress/electron", "id": "19960889ff956f0976899486d434dbdf273f3207", "size": "9...
package filters import ( "bufio" "bytes" "io/ioutil" "net" "net/http" "net/http/httptest" "reflect" "regexp" "strings" "testing" "k8s.io/apiserver/pkg/authentication/user" "k8s.io/kubernetes/pkg/genericapiserver/api/request" ) type simpleResponseWriter struct { http.ResponseWriter } func (*simpleResp...
{ "content_hash": "8f6bfec47f8ff6126134124c2a740035", "timestamp": "", "source": "github", "line_count": 138, "max_line_length": 228, "avg_line_length": 28.942028985507246, "alnum_prop": 0.686029043565348, "repo_name": "hodovska/kubernetes", "id": "6637629ed7c03f9abf871bd2429fe4ce9b6f2511", "size": ...
var IcecastSource, SourceIn, debug, express, net, __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.c...
{ "content_hash": "39ae7a322ab561d6791800338e9bedd4", "timestamp": "", "source": "github", "line_count": 256, "max_line_length": 290, "avg_line_length": 32.02734375, "alnum_prop": 0.5721429442614953, "repo_name": "cdgraff/StreamMachine", "id": "af25dea7df57e2ee0a471bb6021687a52cdde789", "size": "819...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="BookmarkManager"> <bookmark url="file://$PROJECT_DIR$/tasks/roundhouse.js" line="57" mnemonic="9" /> </component> <component name="ChangeListManager"> <list default="true" id="1a958000-7e0e-45ad-bbb5-8dc651b6b10d" name="De...
{ "content_hash": "84b81be49d4eac715cb19ee5bd40821c", "timestamp": "", "source": "github", "line_count": 282, "max_line_length": 221, "avg_line_length": 54.39716312056738, "alnum_prop": 0.6321382007822686, "repo_name": "reharik/grunt_roundhouse", "id": "af998e89b004e45b5b6964b0698c104020a2d939", "si...
require File.dirname(__FILE__) + '/spec_helper' require 'tempfile' require 'ostruct' include Humperdink describe Tracker do class TempfileEventListener attr_accessor :tempfile def initialize super @tempfile = Tempfile.new('tempfile.event.txt') @tempfile.open end def on_event(even...
{ "content_hash": "6a0a3cab89ca4fff550e8331f0358a58", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 86, "avg_line_length": 26.264367816091955, "alnum_prop": 0.6884026258205689, "repo_name": "livingsocial/humperdink", "id": "b89fc7dc88b8b467d6f179758aa2b5eba2bed92a", "size...
/** * CSCIE99 TEAM 2 */ package cscie99.team2.lingolearn.server.datastore; import java.io.Serializable; import java.util.ArrayList; import java.util.Date; import java.util.List; import com.googlecode.objectify.Ref; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; imp...
{ "content_hash": "afbacdb3435d1e9010c1762521b9c32b", "timestamp": "", "source": "github", "line_count": 97, "max_line_length": 73, "avg_line_length": 29.8659793814433, "alnum_prop": 0.7559544356230583, "repo_name": "lingolearn/lingolearn", "id": "eea384b5ed4368368904cae42223e405e0cd787a", "size": "...
package org.apache.camel.processor.interceptor; import org.apache.camel.builder.RouteBuilder; import org.junit.Test; /** * @version */ public class AdviceWithRouteIdTest extends AdviceWithTest { @Test public void testAdvised() throws Exception { context.getRouteDefinition("myRoute").adviceWith(co...
{ "content_hash": "7017f9240d2e66ef091508acffa4ba85", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 89, "avg_line_length": 29.704545454545453, "alnum_prop": 0.5960214231063504, "repo_name": "jamesnetherton/camel", "id": "f2fb60888ef18d656073f4dc5638bfe2d31b3c85", "size": ...
<?php class DynamoDbHandlerTest extends ehough_epilog_TestCase { public function setUp() { if (!class_exists('Aws\DynamoDb\DynamoDbClient')) { $this->markTestSkipped('aws/aws-sdk-php not installed'); } $this->client = $this->getMockBuilder('Aws\DynamoDb\DynamoDbClient') ...
{ "content_hash": "98ae994de1815388c42fe85af48a7009", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 138, "avg_line_length": 32.44444444444444, "alnum_prop": 0.5753424657534246, "repo_name": "ehough/epilog", "id": "2f11edeeca8f5b513a67d3492d9873174d759210", "size": "2271",...
{% extends "helpdesk/base.html" %}{% load i18n bootstrap %} {% block helpdesk_title %}{% trans "Edit Ticket" %}{% endblock %} {% block helpdesk_body %} <div class="col-xs-6"> <div class="panel panel-default"> <div class="panel-body"><h2>{% trans "Edit a Ticket" %}</h2> <p>{% trans "Unless otherwise stated, all fiel...
{ "content_hash": "b5f57b0ec076465b92e7bfa388cff424", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 279, "avg_line_length": 40.925, "alnum_prop": 0.5675015271838729, "repo_name": "fjcapdevila/django-helpdesk", "id": "a3087c99679b0958b3b112466b42cf9034d626c6", "size": "163...
module.exports = { asyncName: 'export_data', syncName: 'export_data_sync', path: process.cwd(), };
{ "content_hash": "349de6bef9682aa30afbaffe8659b4f1", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 31, "avg_line_length": 21, "alnum_prop": 0.6476190476190476, "repo_name": "bolt-design-system/bolt", "id": "8e65bb634d98990deed5efc4e64fee079b46bde1", "size": "105", "bina...
package storage::quantum::dxi::ssh::mode::health; use base qw(centreon::plugins::templates::counter); use strict; use warnings; use centreon::plugins::templates::catalog_functions qw(catalog_status_threshold); sub custom_status_output { my ($self, %options) = @_; my $msg = "status is '" . $self->{result...
{ "content_hash": "50bfd61accc37a056f4cfd11bbccb99d", "timestamp": "", "source": "github", "line_count": 179, "max_line_length": 133, "avg_line_length": 33.69832402234637, "alnum_prop": 0.48358753315649866, "repo_name": "Sims24/centreon-plugins", "id": "931c4bd9324cbf2acc17e837e0f91968d84d5eac", "si...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---------------------------------...
{ "content_hash": "a4c524389ca55ede654c00c029b183b2", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 84, "avg_line_length": 35.01282051282051, "alnum_prop": 0.5038447455144636, "repo_name": "huanlin/Examples", "id": "19c42d778d74127413547ecd8992026beae12f75", "size": "2733...
package mss import ( "errors" "fmt" "io/ioutil" "os" "regexp" "strconv" "github.com/omniscale/magnacarto/color" ) // Decoder decodes one or more MSS files. Parse/ParseFile can be called // multiple times to decode dependent .mss files. MSS() returns the current // decoded style. type Decoder struct { mss ...
{ "content_hash": "5baa43cd71bb29cc8336a6f2f97402c9", "timestamp": "", "source": "github", "line_count": 682, "max_line_length": 138, "avg_line_length": 22.872434017595307, "alnum_prop": 0.6327328674915058, "repo_name": "omniscale/magnacarto", "id": "abd050241732d5d700d98fdb81e817ffecc76783", "size"...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "591d4e27b921863e6bd3b3e16f99b788", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "c775522a8a41012ec0ca2770009dc75916f87282", "size": "181...
package com.facebook.buck.testrunner; import static org.hamcrest.Matchers.arrayWithSize; import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.not; import static org.junit.Assert.assertThat; import com.facebook.buck.testutil.ProcessResult; import com.facebook.buck.testutil.Temporar...
{ "content_hash": "1a7cb52a45ad5d7fbad1106c15b6cd92", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 94, "avg_line_length": 47.622950819672134, "alnum_prop": 0.7690189328743545, "repo_name": "rmaz/buck", "id": "71c80535140ccf09ac51d855e4715944aebee274", "size": "3510", "...
local ExclusionHelper, parent = torch.class('ExclusionHelper', 'OptsHelper') function ExclusionHelper:__init(opts) parent.__init(self, opts) assert(self.ngoals[1]>0) self.generators.ngoals = self.ngoalsgen self.generators.ngoals_active = self.ngoals_activegen end function ExclusionHelper:ngoalsgen(lop...
{ "content_hash": "f56fed4850a30692c9d992970c0ca1e0", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 76, "avg_line_length": 32.81818181818182, "alnum_prop": 0.7271468144044322, "repo_name": "Ardavans/DSR", "id": "a5320bc1860a1cf83cd2d64424a5ac62f70a8b9f", "size": "1025", ...
from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('Hindlebook', 'node_data'), ] operations = [ migrations.AlterField( model_name='comment', name='...
{ "content_hash": "cde46ca5cf3c03875eeb6d4f5e728cb0", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 120, "avg_line_length": 29.23076923076923, "alnum_prop": 0.6157894736842106, "repo_name": "Roshack/cmput410-project", "id": "ba800ae06c020b734d989f31ba3a1249a4af4fbb", "siz...
Встреча разработчиков проходящая в г. Тюмень.
{ "content_hash": "c8995a3f99ebaaec5d329d73b15e100d", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 45, "avg_line_length": 45, "alnum_prop": 0.8444444444444444, "repo_name": "tensor-tyumen/tensor-tyumen.github.io", "id": "4411db0e1cba1d8dc563aa6e0694ff6e783ebd57", "size": ...
<?php namespace Rcm\Factory; use Interop\Container\ContainerInterface; use Rcm\Service\DomainRedirectService; use Rcm\Service\DomainService; class ServiceDomainRedirectServiceFactory { /** * __invoke * * @param ContainerInterface $container * * @return DomainRedirectService */ ...
{ "content_hash": "1dbae338f49576edc2a40083e7e6b7f5", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 49, "avg_line_length": 18.96, "alnum_prop": 0.6603375527426161, "repo_name": "innaDavis/Rcm", "id": "880b617f65fd63ec3839ccb5ecb2068d02533ebf", "size": "683", "binary": f...
from django.contrib import admin # import your models # Register your models here. # admin.site.register(YourModel)
{ "content_hash": "243b77622a46b2224ab38a58a474c6f4", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 32, "avg_line_length": 23.2, "alnum_prop": 0.7931034482758621, "repo_name": "datamade/la-metro-councilmatic", "id": "6767362fddda0f6e69e7d295dd02e55295b2c9d0", "size": "116"...
const tabbableScopeQuery = (type: string, props: Object): boolean => { if (props.tabIndex === -1 || props.disabled) { return false; } if (props.tabIndex === 0 || props.contentEditable === true) { return true; } if (type === 'a' || type === 'area') { return !!props.href && props.rel !== 'ignore';...
{ "content_hash": "cf3dcca16c50d920d290167833c40d09", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 70, "avg_line_length": 23.807692307692307, "alnum_prop": 0.529886914378029, "repo_name": "TheBlasfem/react", "id": "c6ab0d3e5446871aeafe12e7009adbab257cb27d", "size": "819"...
// // PNLineChart.m // PNChartDemo // // Created by kevin on 11/7/13. // Copyright (c) 2013年 kevinzhow. All rights reserved. // #import "PNLineChart.h" #import "PNColor.h" #import "PNChartLabel.h" #import "PNLineChartData.h" #import "PNLineChartDataItem.h" @interface PNLineChart () @property (nonatomic) NSMutabl...
{ "content_hash": "ec04c1e279986c1845aaf2b70a40f980", "timestamp": "", "source": "github", "line_count": 888, "max_line_length": 206, "avg_line_length": 39.431306306306304, "alnum_prop": 0.6136798514922176, "repo_name": "wongzigii/Colo", "id": "85c6f0b6329bfff98b806c7b039d56a36241f6cc", "size": "350...
/* jshint devel: true, indent: 2, undef: true, unused: strict, strict: false, eqeqeq: true, trailing: true, curly: true, latedef: true, quotmark: single, maxlen: 120 */ /* global define, $, _ */ define('views/submissions/edit', [ 'backbone', 'chimera/template', 'chimera/page', 'chimera/global...
{ "content_hash": "12ddfcfb5de6b5847f2a435cd2812506", "timestamp": "", "source": "github", "line_count": 194, "max_line_length": 168, "avg_line_length": 29.63917525773196, "alnum_prop": 0.5055652173913043, "repo_name": "chimerao/web-frontend", "id": "d3c860f6aae200b2615977b3be733894aae794f5", "size"...
package vsb.fou.kladd.serialization; @SuppressWarnings("serial") public class VsbSubSerializable extends VsbSuperSerializable { private String b; public void setB(String b) { this.b = b; } public String getB() { return b; } }
{ "content_hash": "5c7fcdd405f3edb37bc9a66cd5df4b18", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 62, "avg_line_length": 17.733333333333334, "alnum_prop": 0.650375939849624, "repo_name": "vegbye/vsb-fou-pom", "id": "1ad94f72e26190b49ba038e942353b0d68e82b78", "size": "26...
""" This code sample demonstrates how to write records in pending mode using the low-level generated client for Python. """ from google.cloud import bigquery_storage_v1 from google.cloud.bigquery_storage_v1 import types from google.cloud.bigquery_storage_v1 import writer from google.protobuf import descriptor_pb2 # I...
{ "content_hash": "370b150bee32f12aa89b9356581759e2", "timestamp": "", "source": "github", "line_count": 119, "max_line_length": 149, "avg_line_length": 41.705882352941174, "alnum_prop": 0.7386661293572436, "repo_name": "googleapis/python-bigquery-storage", "id": "af780ffa5b92dcce761f75b04540585e6a19f...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ne...
{ "content_hash": "f9357d36a3952de962301928520092ea", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.861111111111114, "alnum_prop": 0.7441029306647605, "repo_name": "mitaka00/SoftUni", "id": "ab3443a1e9f4cecdf4a7042d4098dfe0899205fd", "size": "140...
public class Exception_1 { public <T> Exception_1(T actual, T matcher) { } public Exception_1(String message) { } }
{ "content_hash": "c3f4989757db7b99f80dd52ffd6e1242", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 49, "avg_line_length": 19, "alnum_prop": 0.6165413533834586, "repo_name": "som-snytt/dotty", "id": "6ee8500775ffc753eddb1e7b65574d3f7a4149b7", "size": "133", "binary": fal...
layout: organization category: local title: Brooklyn Animal Resource Coalition impact_area: Environment keywords: - Animals location_services: Brooklyn location_offices: Brooklyn website: www.barcshelter.org description: | We are a no-kill animal shelter that helps and rescues animals from the streets of New Yor...
{ "content_hash": "355fd5c3a98821dc528a1456544558aa", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 370, "avg_line_length": 42.73076923076923, "alnum_prop": 0.7844284428442845, "repo_name": "flipside-org/penny-harvest", "id": "7e3f5dcf2d341a58d43d04420ba6c5e1f7668a7b", "s...
<?php namespace BingAds\CampaignManagement; /** * This feature is currently in pilot and will be generally available soon. * * @link http://msdn.microsoft.com/en-us/library/dn913121(v=msads.90).aspx UpdateCampaignCriterions Response Object * * @uses BatchError * @used-by BingAdsCampaignManagementService::Update...
{ "content_hash": "7cce8ca652d7debcf0426a24109b1337", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 115, "avg_line_length": 27.666666666666668, "alnum_prop": 0.7383820998278829, "repo_name": "onema/bing-ads-sdk-php", "id": "87de46d298af5620c79e87ae5cfda022b602d203", "size...
package com.belling.base.service.impl; import java.io.Serializable; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Comparator; import java.util.D...
{ "content_hash": "b2feb8938d88c8441b03cc7ebb95d427", "timestamp": "", "source": "github", "line_count": 275, "max_line_length": 124, "avg_line_length": 25.52, "alnum_prop": 0.6337988030777999, "repo_name": "liuzongwen1/mss", "id": "ec37df55f01113903d1071bb3059e9e808e7c307", "size": "7544", "binar...
import * as firebase from "firebase"
{ "content_hash": "77ed8871ac685deb98241e300f04c026", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 36, "avg_line_length": 13, "alnum_prop": 0.717948717948718, "repo_name": "wind85/waterandboards", "id": "6f81f080802019c0bcba3c198bdba07d575feb7b", "size": "39", "binary":...
This directory contains the contiki driver for the sensors (light, humidity and temperature sensor) available on the NXP DR1175 board. This board is part of the NXP JN516X Evaluation Kit (see http://www.nxp.com/documents/leaflet/75017368.pdf). The dr1175 sensor code interfaces to the contiki `core/lib/sensors.c` fra...
{ "content_hash": "0c37745139588d1f7617d736b02a6698", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 127, "avg_line_length": 59.833333333333336, "alnum_prop": 0.7325905292479109, "repo_name": "miarcompanies/sdn-wise-contiki", "id": "232e34768df583eec3bee96ebf3dc766cc2aa408",...
FactoryGirl.define do factory :organisation do sequence(:api_id) { |n| "hmrc#{n}" } title "HM Revenue & Customs" format "Ministerial department" slug "hmrc" abbreviation "HMRC" govuk_status "live" web_url "https://www.gov.uk/government/organisations/hm-revenue-customs" logo_formatted_n...
{ "content_hash": "2854c9c029949aac3939ef492c9d80b8", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 76, "avg_line_length": 34.06666666666667, "alnum_prop": 0.6947162426614482, "repo_name": "gds-attic/content-planner", "id": "ea2bdbfd173f4ee9b5dcb64fb14428358e5cb2c5", "siz...
package browser import ( "fmt" "io" "io/ioutil" "os" "os/exec" "path/filepath" ) // Stdout is the io.Writer to which executed commands write standard output. var Stdout io.Writer = os.Stdout // Stderr is the io.Writer to which executed commands write standard error. var Stderr io.Writer = os.Stderr // OpenFil...
{ "content_hash": "098de4d3f88479f903e7a416b82f4f70", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 76, "avg_line_length": 24.883333333333333, "alnum_prop": 0.6831882116543871, "repo_name": "datawire/ambassador", "id": "3e5969064258e8708c794153f90c0f9c6f294215", "size": "...
package com.gmail.thelimeglass.Scoreboards; import org.bukkit.event.Event; import org.bukkit.scoreboard.Objective; import org.bukkit.scoreboard.Score; import org.eclipse.jdt.annotation.Nullable; import ch.njol.skript.lang.Expression; import ch.njol.skript.lang.SkriptParser.ParseResult; import ch.njol.skript.lang.util...
{ "content_hash": "5c0a85dc0755f841398c293010f95eb8", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 101, "avg_line_length": 30.166666666666668, "alnum_prop": 0.7434885556432518, "repo_name": "TheLimeGlass/Skellett", "id": "7a377df7180acef2b9d0c26818b9123b7e42a10c", "size"...
import { Operator } from '../Operator'; import { Subscriber } from '../Subscriber'; import { Observable } from '../Observable'; import { OperatorFunction, TeardownLogic } from '../types'; /** * Buffers the source Observable values until the size hits the maximum * `bufferSize` given. * * <span class="informal">Col...
{ "content_hash": "74d22df7a8fd1c6e18972c5e6413824d", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 111, "avg_line_length": 29.17105263157895, "alnum_prop": 0.670275146594497, "repo_name": "mrtequino/JSW", "id": "83282d8bff418bd88794c2750821031029cec295", "size": "4434",...
#include "sendcoinsentry.h" #include "ui_sendcoinsentry.h" #include "guiutil.h" #include "bitcoinunits.h" #include "addressbookpage.h" #include "walletmodel.h" #include "optionsmodel.h" #include "addresstablemodel.h" #include <QApplication> #include <QClipboard> SendCoinsEntry::SendCoinsEntry(QWidget *parent) : ...
{ "content_hash": "82295a80c854ca44fe599a92d0e89dac", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 109, "avg_line_length": 24.43646408839779, "alnum_prop": 0.6703594845127742, "repo_name": "bootycoin-project/bootycoin", "id": "de374b9d0da891c85e176731c8af3856fc10b0aa", ...
package org.apache.curator.framework.recipes.queue; import org.apache.curator.framework.CuratorFramework; import org.apache.curator.utils.EnsurePath; import org.apache.curator.utils.ZKPaths; import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEvent; ...
{ "content_hash": "b19a72ec3eb5052235df7785bd38477b", "timestamp": "", "source": "github", "line_count": 246, "max_line_length": 134, "avg_line_length": 29.020325203252032, "alnum_prop": 0.5681467992716067, "repo_name": "barkbay/incubator-curator", "id": "5b008551e5ef2a75eb9649c18fa944d0851dbe75", "...
<?xml version="1.0" encoding="utf-8"?> <!-- ~ Copyright (C) 2015 Actor LLC. <https://actor.im> --> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <View androi...
{ "content_hash": "831ba09c9236b8d29f24f48dddf6aef0", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 72, "avg_line_length": 31.764705882352942, "alnum_prop": 0.5858024691358025, "repo_name": "ljshj/actor-platform", "id": "462c237f3331c4210c24b76eca1c193d37f75cfe", "size": ...
var services = require('../../lib/services.js'); module.exports = function (router, db, apiResponse, errorService) { 'use strict'; var User = db.user, Operation = db.operation; router.route('/') /** * @api {get} /user/ Get all users * @apiName getAllUsers * @apiGroup User ...
{ "content_hash": "cfdc1959e5efd594eb1be3c9ff018552", "timestamp": "", "source": "github", "line_count": 135, "max_line_length": 137, "avg_line_length": 37.15555555555556, "alnum_prop": 0.5003987240829346, "repo_name": "Annihilator81/devops-bank-api", "id": "704e8fe0b48b8231e83be2fc8efe028cffbd2ece", ...
package org.codeartisans.staticlet.core; import java.io.File; import java.io.IOException; import java.util.Map; import java.util.UUID; import javax.servlet.ServletContext; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.h...
{ "content_hash": "29ee762fc2a31d0471c2b688f63bb35a", "timestamp": "", "source": "github", "line_count": 198, "max_line_length": 124, "avg_line_length": 34.57575757575758, "alnum_prop": 0.569967864446392, "repo_name": "eskatos/staticlet", "id": "3f9395dac9afa9e586bae9d435710766abf41411", "size": "74...
from v2ex import v2ex
{ "content_hash": "11ab3de796c244be1d2144c7d4304abc", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 21, "avg_line_length": 22, "alnum_prop": 0.8181818181818182, "repo_name": "littson/bee", "id": "37e9c071cf224d1dbf663ddfb7618eff078fa4d8", "size": "22", "binary": false, ...
TODO: Write a gem description ## Installation Add this line to your application's Gemfile: ```ruby gem 'parse_provision_profile' ``` And then execute: $ bundle Or install it yourself as: $ gem install parse_provision_profile ## Usage TODO: Write usage instructions here ## Contributing 1. Fork it ( ht...
{ "content_hash": "71a1c1f2d5b0e52d6e9553dd019b0290", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 83, "avg_line_length": 20.724137931034484, "alnum_prop": 0.7237936772046589, "repo_name": "motobhakta/parse_provision_profile", "id": "28f741bdaf6f4de66a6d4e88e62a32b10fa2dae...
import { bootstrap } from '@angular/platform-browser-dynamic'; import { enableProdMode } from '@angular/core'; import { LocationStrategy, HashLocationStrategy } from '@angular/common'; import { APP_ROUTER_PROVIDERS, AppComponent, environment } from './app/'; import { HTTP_PROVIDERS} from '@angular/http'; import { HnSe...
{ "content_hash": "9eb4c9c0fa0ecd080a2c4ba07cda22de", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 94, "avg_line_length": 39.529411764705884, "alnum_prop": 0.7485119047619048, "repo_name": "rgv151/hn", "id": "a636352f2b9f81849372d30d77c43bc3af0a406c", "size": "672", "b...
package com.impetus.kundera.entity.photo; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; /** * Entity class for photo * * @author amresh.singh */ @Entity @Table(name = "PHOTO", schema = "KunderaTest@kunderatest") public class Photo...
{ "content_hash": "06f1e80555203c3c7814398dfefcfc2e", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 79, "avg_line_length": 18.956521739130434, "alnum_prop": 0.6003440366972477, "repo_name": "impetus-opensource/Kundera", "id": "84f6c4f965d7d8ee1d6ec8654ff34673fe41b49c", "s...
SHELL=/bin/sh LIBS=nums.cmxa unix.cmxa str.cmxa BITCODE=../bitcode EXES=rawparse parse dltest llvm2smt CORE=util.cmx llvm.cmx llvm_pp.cmx dl.cmx bc.cmx bc_manip.cmx bc_pp.cmx llparse.cmx lllex.cmx TESTS=http_examples.i386 https_examples.darwin yices_main minigzip-3.5 minisat.darwin all: ${EXES} llvm2smt: ${CORE...
{ "content_hash": "95983fc5606142ece2a24e7ecd6db015", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 97, "avg_line_length": 28.747826086956522, "alnum_prop": 0.6839080459770115, "repo_name": "SRI-CSL/llvm2smt", "id": "5a179f7b73686da2d2d5e5bd35b1539348f917c1", "size": "33...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("react-ultra-select"), require("deep-equal")); else if(typeof define === 'function' && define.amd) define(["react", "react-ultra-select", "de...
{ "content_hash": "25c992855da73b02e9dca3e86e0e5519", "timestamp": "", "source": "github", "line_count": 891, "max_line_length": 565, "avg_line_length": 40.55331088664422, "alnum_prop": 0.486950986632718, "repo_name": "swenyang/react-date-picker", "id": "8a82f8dc57b7a16118def89e826fc328a0a1e04b", "s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace CodeComb.Marked { internal class Token { public string Text { get; set; } public string Type { get; set; } public int Depth { get; set; } public bool Escaped { get; set; } ...
{ "content_hash": "95d9d80629693583c234675c6b4c952f", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 55, "avg_line_length": 23.03846153846154, "alnum_prop": 0.5876460767946577, "repo_name": "CodeComb/Marked", "id": "ac2367f149f2ff8d1413088fb50d39f27422f025", "size": "601",...
#!/usr/bin/env bash # Copyright 2014 The Kubernetes Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
{ "content_hash": "304de8a0348884b904c7f0f5568c18f5", "timestamp": "", "source": "github", "line_count": 791, "max_line_length": 212, "avg_line_length": 31.448798988622, "alnum_prop": 0.6310500080398778, "repo_name": "sethpollack/kubernetes", "id": "01f8b4bc76515264cff1e3346fbeae740fae608f", "size":...
#ifndef IVW_VOLUMEGRADIENT_H #define IVW_VOLUMEGRADIENT_H #include <modules/base/basemoduledefine.h> #include <memory> namespace inviwo { class Volume; namespace util { IVW_MODULE_BASE_API std::shared_ptr<Volume> gradientVolume(std::shared_ptr<const Volume> volume, ...
{ "content_hash": "23f54ba3ac92775d07c14631094fc366", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 96, "avg_line_length": 19.318181818181817, "alnum_prop": 0.6423529411764706, "repo_name": "Sparkier/inviwo", "id": "d4499c3c9717f8d69412c233a371cb16f0b764f3", "size": "2008...
'use strict' const assert = require('assert') const fs = require('fs') const path = require('path') const os = require('os') const qs = require('querystring') const http = require('http') const {closeWindow} = require('./window-helpers') const {ipcRenderer, remote, screen} = require('electron') const {app, ipcMain, B...
{ "content_hash": "643835d2d022043880d0ee9417e0e0e0", "timestamp": "", "source": "github", "line_count": 2826, "max_line_length": 152, "avg_line_length": 31.515923566878982, "alnum_prop": 0.5709040689841013, "repo_name": "renaesop/electron", "id": "d378850d88e0b896510bf49541b210beebe91973", "size": ...
import { connect } from 'react-redux'; import ModalProfileComponent from './component'; import * as actions from './actions'; import { getProfileModalProps } from './selectors'; export default connect(getProfileModalProps, actions)(ModalProfileComponent);
{ "content_hash": "a0fb4543a9434f7d42e1eed8e9fbc805", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 77, "avg_line_length": 36.857142857142854, "alnum_prop": 0.7751937984496124, "repo_name": "Vizzuality/gfw", "id": "0c934b3426b512c9a0d437b4710a282668f0c8ed", "size": "258", ...
from celery.utils.log import get_task_logger import datetime from redash.worker import celery from redash import utils from redash import models, settings from .base import BaseTask logger = get_task_logger(__name__) def base_url(org): if settings.MULTI_ORG: return "https://{}/{}".format(settings.HOST, ...
{ "content_hash": "d9a99bd64bdb930e56146b8ba6e5b270", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 119, "avg_line_length": 38.869565217391305, "alnum_prop": 0.6521252796420581, "repo_name": "guaguadev/redash", "id": "97b84a63e25b2f78f634ee31c46a92e1934ecd59", "size": "17...
require File.expand_path('../boot', __FILE__) require 'rails/all' # Require the gems listed in Gemfile, including any gems # you've limited to :test, :development, or :production. Bundler.require(*Rails.groups) module MySite class Application < Rails::Application # Settings in config/environments/* take preced...
{ "content_hash": "5be4c5ae775a3adc95ba3d7e6cf4d1b0", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 99, "avg_line_length": 42.47826086956522, "alnum_prop": 0.7134083930399181, "repo_name": "mcbrooks95/Ruby_On_Rails", "id": "cdb048eda743bf3aee7b487ecfd32c83fc14f86c", "size...
<template> <h2> ${title} <span class="float-end"> <a style="font-size: 18px" target="_blank" href="https://github.com/ghiscoding/aurelia-slickgrid/blob/master/src/examples/slickgrid/example8.ts"> <span class="fa fa-link"></span> code </a> </span> </h2> <div class=...
{ "content_hash": "1d76a7ea4dc66a47557a220032530964", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 114, "avg_line_length": 36.80769230769231, "alnum_prop": 0.61337513061651, "repo_name": "ghiscoding/aurelia-slickgrid", "id": "50741f1376410d1292b8614bc942df24e94d71aa", "s...
package org.springframework.core.io; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; /** * {@link Resource} implementation for a given byte array. Creates a ByteArrayInputStreams for the given byte array. * * <p> * Useful for loading content...
{ "content_hash": "1731abceb36aa04ceb7ef77893a4a437", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 131, "avg_line_length": 23.94392523364486, "alnum_prop": 0.7142857142857143, "repo_name": "eric-stanley/spring-android", "id": "31bcbc0fba848c56a2a34a586b36f979de7a2696", ...
package com.amazonaws.services.support.model.transform; import java.math.*; import javax.annotation.Generated; import com.amazonaws.services.support.model.*; import com.amazonaws.transform.SimpleTypeJsonUnmarshallers.*; import com.amazonaws.transform.*; import com.fasterxml.jackson.core.JsonToken; import static co...
{ "content_hash": "4337de0bdcf2b44fe70830aa7f00a9bf", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 136, "avg_line_length": 36.36507936507937, "alnum_prop": 0.6669576604103011, "repo_name": "jentfoo/aws-sdk-java", "id": "3f7c9b534bc76e29e373ad2fd202a8553e006f16", "size": ...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Septoria gardeniae B.V. Patil, Sukapure & Thirum. ### Remarks null
{ "content_hash": "ce96bbdecbb6e463ee0fd49b67848cf7", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 49, "avg_line_length": 11.846153846153847, "alnum_prop": 0.7012987012987013, "repo_name": "mdoering/backbone", "id": "a6eb7fec53de432e9d61c06edecae97fff4a2755", "size": "22...
package sdk import ( "encoding/base64" "time" ) // Operation is the main business object use in repositories service type Operation struct { UUID string `json:"uuid"` VCSServer string `json:"vcs_server,omitempty"` RepoFullName string ...
{ "content_hash": "c063bfd64b48710bd7dd7226bed8de7e", "timestamp": "", "source": "github", "line_count": 127, "max_line_length": 79, "avg_line_length": 32.41732283464567, "alnum_prop": 0.6737915958222006, "repo_name": "ovh/cds", "id": "8c4388b2ab1b3ac35088d2adbfb6572a0b944093", "size": "4117", "bi...
ActiveRecord::Schema.define(version: 0) do create_table "access_keys", force: :cascade do |t| t.datetime "created_at" t.datetime "updated_at" t.integer "updated_by", limit: 2 t.integer "lock_version", limit: 2, default: 0 t.string "name", limit: 255, ...
{ "content_hash": "c9c7c0985047fafc584f2afa6d951ef2", "timestamp": "", "source": "github", "line_count": 732, "max_line_length": 154, "avg_line_length": 43.61748633879781, "alnum_prop": 0.593460285642696, "repo_name": "UB-Bern/uni-bern-ub-pub", "id": "9baf2786fe4c4c22be939602caed50078385f8de", "size...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.peering.fluent; import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceMethod; import com.azure.co...
{ "content_hash": "e7839cdc19f5488c22c5226bb2be8ce8", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 115, "avg_line_length": 48.611111111111114, "alnum_prop": 0.7685714285714286, "repo_name": "Azure/azure-sdk-for-java", "id": "83b9d54e207f083b6d967dbf43aaa3398384768c", "si...
<html lang="en"> <head> <title>ARM Mapping Symbols - Using as</title> <meta http-equiv="Content-Type" content="text/html"> <meta name="description" content="Using as"> <meta name="generator" content="makeinfo 4.13"> <link title="Top" rel="start" href="index.html#Top"> <link rel="up" href="ARM_002dDependent.html#ARM_002...
{ "content_hash": "9f569190159d18284b54f245e395b605", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 151, "avg_line_length": 42.929577464788736, "alnum_prop": 0.7267060367454068, "repo_name": "ExploreEmbedded/Tit-Windows", "id": "6ac8113b604e60be5685077bc4ff02cc61288ca4", ...
'use strict'; const Systrace = require('../Performance/Systrace'); const infoLog = require('./infoLog'); const performanceNow = global.nativeQPLTimestamp || global.nativePerformanceNow || require('fbjs/lib/performanceNow'); type Timespan = { description?: string, totalTime?: number, startTime?: number,...
{ "content_hash": "55c2e97956aa23d30028bde917baf020", "timestamp": "", "source": "github", "line_count": 267, "max_line_length": 98, "avg_line_length": 25.741573033707866, "alnum_prop": 0.5528881129055725, "repo_name": "exponent/react-native", "id": "2bfdb34258169e87112a24acb6f8800d90944bae", "size"...
@interface MXStatusCell : UITableViewCell @property(nonatomic,strong) MXStatusFrame *statusFrame; +(instancetype)createCellTableView:(UITableView *)tableView; @end
{ "content_hash": "2c67f668191d8347b494317eedbf2ddc", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 60, "avg_line_length": 33, "alnum_prop": 0.8303030303030303, "repo_name": "moixxsyc/MXWeiboTest", "id": "ec920ffdaada02eb4363e1e3322969a4c4cec112", "size": "350", "binary"...
// Type definitions for Select2 3.2 // Project: http://ivaynberg.github.com/select2/ // Definitions by: Boris Yankov <https://github.com/borisyankov/> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="../jquery/jquery.d.ts"/> interface Select2QueryOptions { term?: string; pa...
{ "content_hash": "0a8c30f39ddfe5576d4d54e9b5d4a2ab", "timestamp": "", "source": "github", "line_count": 149, "max_line_length": 122, "avg_line_length": 34.38926174496644, "alnum_prop": 0.6598360655737705, "repo_name": "kostat/ng-forms", "id": "0f931e9efcd02238ba40879dfdec2f92cd34cb29", "size": "512...
@implementation DTAppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; DTRootViewController *controller =...
{ "content_hash": "ba2a46e7d4f841f1f833a6b0c6f13b07", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 281, "avg_line_length": 49.55555555555556, "alnum_prop": 0.7878923766816144, "repo_name": "diogot/DynamicsExamples", "id": "da2e1d8a364010d1ee76740dfaade6e27f553535", "size...
<?php declare(strict_types=1); namespace YoannBlot\Framework\Controller; /** * Class DefaultController. * * @package YoannBlot\Framework\Controller * @author Yoann Blot * * @path("/default-controller/this-path-should-never-be-used/") */ class DefaultController extends AbstractController { const NOT_FOUND...
{ "content_hash": "a682eeb46e7d9c2b76b46a6cf0b1ba6b", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 63, "avg_line_length": 18.23076923076923, "alnum_prop": 0.6286919831223629, "repo_name": "yoannblot/houseFinder", "id": "53541555352a21b6fe2ec5af90ea6c367806c90e", "size": ...
EXTERN_C const GUID CLSID_CommandExecuteImpl; // CommandExecuteImpl // This class implements the IExecuteCommand and related interfaces for // handling ShellExecute launches of the Chrome browser, i.e. whether to // launch Chrome in metro mode or desktop mode. // The CLSID here is a dummy CLSID not used for anything, ...
{ "content_hash": "2dd5be1f93a2ce0205548769f24428b0", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 78, "avg_line_length": 32.93258426966292, "alnum_prop": 0.7659501876492665, "repo_name": "fujunwei/chromium-crosswalk", "id": "d2486d45ee393e07ab1e8edaa2b191e13ca52fff", "s...
<?php /** * @author MyBB Group * @version 2.0.0 * @package mybb/core * @license http://www.mybb.com/licenses/bsd3 BSD-3 */ namespace MyBB\Core\Database\Repositories; use Illuminate\Support\Collection; use MyBB\Core\Database\Models\ProfileFieldGroup; interface ProfileFieldGroupRepositoryInterface { ...
{ "content_hash": "194b29f7cc1b736475a674a90721357c", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 64, "avg_line_length": 20.205128205128204, "alnum_prop": 0.6383248730964467, "repo_name": "Matslom/mybb2", "id": "71324c1db2d2f18ed63609c43bbc010aeae67a5a", "size": "788", ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using Windows.Foundation; using Windows.Foundation.Collections; using Windows.Graphics.Display; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; ...
{ "content_hash": "87670e74c458e3028d2a7e4c7d127de7", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 93, "avg_line_length": 26.666666666666668, "alnum_prop": 0.7925, "repo_name": "xinjiguaike/pomodoro-keeper", "id": "f8ad7d44caa61e3dbddd4d0edf3e52243e052940", "size": "802"...
import os import yaml from extended_uva_judge import errors def get_problem_directory(app_config): """Gets the directory containing the problem configs. :return: The path to the problem configs. :rtype: str """ problem_directory = app_config['problem_directory'] if not problem_directory: ...
{ "content_hash": "7fa451574e9dcc35fc3a8bd88405d54e", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 75, "avg_line_length": 29.862745098039216, "alnum_prop": 0.6999343401181878, "repo_name": "fritogotlayed/Extended-UVA-Judge", "id": "899e62389d7e3e73d0a9cac9e6a927bac137f515"...
#include "sky/engine/config.h" #include "sky/engine/core/css/SelectorChecker.h" #include "sky/engine/core/css/CSSSelector.h" #include "sky/engine/core/css/CSSSelectorList.h" #include "sky/engine/core/dom/Document.h" #include "sky/engine/core/dom/shadow/ShadowRoot.h" #include "sky/engine/core/editing/FrameSelection.h...
{ "content_hash": "cb302f94bacb938d707408a5cb840bf6", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 133, "avg_line_length": 31.394736842105264, "alnum_prop": 0.654233025984912, "repo_name": "collinjackson/mojo", "id": "9fc4a49987465e9cb3feef25d268563bd01d559a", "size": "...