text
stringlengths
2
1.04M
meta
dict
import os import tempfile import numpy import skimage.io import tensorflow import microscopeimagequality.dataset_creation import microscopeimagequality.degrade test_data_directory = os.path.join(os.path.dirname(os.path.abspath(__file__)), "data") test_dir = tempfile.mkdtemp() tensorflow.logging.info("Loaded test d...
{ "content_hash": "7cdaa244e3e05e6dc3ae8bace13b360e", "timestamp": "", "source": "github", "line_count": 169, "max_line_length": 174, "avg_line_length": 31.615384615384617, "alnum_prop": 0.7196331648886394, "repo_name": "google/microscopeimagequality", "id": "573913aeeaa3fd859bc72c34bfd2249701a97efb",...
 #include <aws/application-autoscaling/model/StepAdjustment.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { namespace ApplicationAutoScaling { namespace Model { StepAdjustment::StepAdjustment() : m_metricInter...
{ "content_hash": "56682088d466a9f87b94bef4570fa55e", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 81, "avg_line_length": 22.380434782608695, "alnum_prop": 0.7620203982515784, "repo_name": "cedral/aws-sdk-cpp", "id": "fc6ebb09ba243d5bc7ff34ee68aef9e41b4e7dd2", "size": "2...
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ProjectModuleManager"> <modules> <module fileurl="file://$PROJECT_DIR$/app/app.iml" filepath="$PROJECT_DIR$/app/app.iml" /> <module fileurl="file://$PROJECT_DIR$/example_animation.iml" filepath="$PROJECT_DIR$/example_animati...
{ "content_hash": "da1e58512f0d4d0513dcb1f79f1a0b15", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 116, "avg_line_length": 37.3, "alnum_prop": 0.6648793565683646, "repo_name": "RENX/example_animation", "id": "c5ce6b8f1e6191ed0e1c149b24b441c8cd12d9db", "size": "373", "b...
package org.apache.lucene.index; import org.apache.lucene.util.LuceneTestCase; import org.apache.lucene.store.Directory; import org.apache.lucene.store.IndexInput; import org.apache.lucene.store.IndexOutput; import org.apache.lucene.store.MockDirectoryWrapper; import org.apache.lucene.analysis.MockAnalyzer; import o...
{ "content_hash": "327cb3f0af369d8b603d728a7e52320b", "timestamp": "", "source": "github", "line_count": 227, "max_line_length": 300, "avg_line_length": 32.76651982378855, "alnum_prop": 0.6398225329389621, "repo_name": "fnp/pylucene", "id": "20640203e287d4c7c8f1f586e0a2c4d190ac2283", "size": "8240",...
class PageTable { private: uint32_t pages[1024]; public: PageTable(); ~PageTable(); uint32_t & pageDescriptor(uint32_t pageIndex) { return this->pages[pageIndex]; } }; static_assert(sizeof(PageTable) == 4096, "PageDirectory must be 4096 bytes large");
{ "content_hash": "296edfe630cbf4a9f1dc793d10a1c4e5", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 83, "avg_line_length": 17.466666666666665, "alnum_prop": 0.7099236641221374, "repo_name": "MasterQ32/DasOS", "id": "e7c4fc8e51e947f5767f75e2bc154fb8f9b464ba", "size": "276"...
/*** Translation ***/ LanguageDirectory="fr-FR"; function getTxt(s) { switch(s) { case "Save":return "Enregistrer"; case "Preview":return "Aper&ccedil;u"; case "Full Screen":return "Afficher en plein \u00E9cran"; case "Search":return "Rechercher et remplacer"; case "Check Spelling":return "...
{ "content_hash": "00b234190ee1d6cb3b98b6e75f251f67", "timestamp": "", "source": "github", "line_count": 126, "max_line_length": 139, "avg_line_length": 47.26190476190476, "alnum_prop": 0.6801007556675063, "repo_name": "zs425/accommfzf2", "id": "6d2d2b2bb33d094b8dcdae7ef86c5b1a373d6d4c", "size": "59...
<style> h4.block { } .note h2 { text-align: center; font-weight: bold; } </style> <div ng-controller="SupportController" class="margin-top-10" data-ng-init="init()"> <div class="row"> <div class="col-md-3 " id="supportOverviewPortlet" style="position:fixed; height: 450px !imp...
{ "content_hash": "82f5576556e193494332d9891f9bec23", "timestamp": "", "source": "github", "line_count": 176, "max_line_length": 233, "avg_line_length": 47.13636363636363, "alnum_prop": 0.38753616200578594, "repo_name": "syedarshad-js/sales-predictor", "id": "4511686ed931e566ba7a95c36dd4663db5b2dd33",...
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache Lic...
{ "content_hash": "7057edf02c48c433d2d9ebad4adfdec4", "timestamp": "", "source": "github", "line_count": 70, "max_line_length": 201, "avg_line_length": 36.92857142857143, "alnum_prop": 0.6533849129593811, "repo_name": "cunningt/camel", "id": "614c717af00fd4419ddb865b37eee360b50981d6", "size": "2585"...
RSpec.describe Cassie::Queries::Statement do let(:klass) do Class.new(Cassie::Query) do end end let(:object) { klass.new } describe ".select" do let(:table_name){ :some_table } let(:klass) do Class.new(Cassie::Query) do select :some_table end end it "sets the table n...
{ "content_hash": "57a4b48362f7de304c7e9da493dd6db2", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 44, "avg_line_length": 20.473684210526315, "alnum_prop": 0.6118251928020566, "repo_name": "eprothro/cassie-queries", "id": "f7844934796c11830714214bf7c26776462fb274", "size...
package com.vaadin.tests.components; import java.util.List; import org.junit.Assert; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.remote.DesiredCapabilities; import com.vaadin.testbench.parallel.Browser; import com.vaadin.tests.tb3.MultiBrow...
{ "content_hash": "c6f5afe4933e84fb54d59491d83612b2", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 79, "avg_line_length": 28.06382978723404, "alnum_prop": 0.643669446550417, "repo_name": "kironapublic/vaadin", "id": "34bf03aecdac076e426feb2d8d08cd6b424f259b", "size": "19...
package vars import ( "src.elv.sh/pkg/eval/errs" ) type readOnly struct { value any } // NewReadOnly creates a variable that is read-only and always returns an error // on Set. func NewReadOnly(v any) Var { return readOnly{v} } func (rv readOnly) Set(val any) error { return errs.SetReadOnlyVar{} } func (rv rea...
{ "content_hash": "f18c4675ca6451d4977ac58d08046f99", "timestamp": "", "source": "github", "line_count": 35, "max_line_length": 79, "avg_line_length": 15.914285714285715, "alnum_prop": 0.7073608617594255, "repo_name": "elves/elvish", "id": "19aec7da3c66a122d9760e8a2ff14639ed3913fa", "size": "557", ...
<?xml version="1.0"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>com.vipsnacks</group...
{ "content_hash": "636aeaf1a4c026f729c1d8cf343b5bc1", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 149, "avg_line_length": 29.333333333333332, "alnum_prop": 0.6578282828282829, "repo_name": "handexing/vipsnacks", "id": "ea715ff616ab4c422d7ba3dddf6fcbe0bd78135f", "size": ...
layout: base title: 'Dependencies' generated: 'true' permalink: sr/dep/all.html --- # Dependencies {% include sr-dep-table.html %} ---------- {% assign sorted = site.sr-dep | sort: 'title' %}{% for p in sorted %} <a id="al-sr-dep/{{ p.title }}" class="al-dest"/> <h2><code>{{ p.title }}</code>: {{ p.shortdef }}</h2...
{ "content_hash": "73df93b524a719d668bdd1f9bb09d225", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 139, "avg_line_length": 29, "alnum_prop": 0.5517241379310345, "repo_name": "PhyloStar/UDTelugu", "id": "bfa5be2fa05289e62c905890e7944cd8bc2f3fb0", "size": "671", "binary"...
<template name="feature"> <div class="ui stackable grid"> {{#unless imageOnTheLeft}} <div class="eight wide column"> {{> yield 'image'}} </div> {{/unless}} <div class="eight wide column"> {{> yield}} </div> {{#if imageOnTheLeft}} <div class="eight wide column"> {{> yi...
{ "content_hash": "58b601c31ebef8458c72d6b83f62b232", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 35, "avg_line_length": 22.235294117647058, "alnum_prop": 0.5291005291005291, "repo_name": "anticoders/blog", "id": "e17387491cd638d4ed520b94fc800483302ed5ca", "size": "378"...
package com.speedment.common.codegen.internal.model; import com.speedment.common.codegen.model.Class; import com.speedment.common.codegen.model.Field; import com.speedment.common.codegen.model.Javadoc; import com.speedment.common.codegen.model.Value; import org.junit.jupiter.api.Test; import java.util.List; import j...
{ "content_hash": "958f7f5329d35bbe5675c3e6e0ca6cbe", "timestamp": "", "source": "github", "line_count": 102, "max_line_length": 88, "avg_line_length": 24.058823529411764, "alnum_prop": 0.5802770986145069, "repo_name": "speedment/speedment", "id": "4161a3e80b72a3fc3c6aa5659f01c5c14369642d", "size": ...
function Floor(width, height, type) { // Layout-related functions function setLayoutType(type) { switch(type) { default: for(var x = 0; x < that.width; x++) { for(var y = 0; y < that.height; y++) { if(x === 0 || x === (that.layout.length-1) || y === 0 || y === (that.layout[x].length-1)) th...
{ "content_hash": "870069dd5998d6ce00638feb302fd749", "timestamp": "", "source": "github", "line_count": 491, "max_line_length": 116, "avg_line_length": 25.596741344195518, "alnum_prop": 0.6092457033736474, "repo_name": "jorgeprodriguez/random-dungeon-generator", "id": "1e38b0c3c8c2b21f1d7cc06975da024...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MathML { [AttributeUsage(AttributeTargets.Class)] public class MathMLElementName : Attribute { public string ElementName { get; private set; } public MathMLElement...
{ "content_hash": "43fbb6cbeb79065a52367d4be28e2c93", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 55, "avg_line_length": 21.63157894736842, "alnum_prop": 0.681265206812652, "repo_name": "BenjaminTMilnes/MathML", "id": "66018abecdf1ef9f0b52eeabf762290317876268", "size": ...
package ch.qos.logback.core.joran.conditional; import ch.qos.logback.core.spi.PropertyContainer; import ch.qos.logback.core.util.OptionHelper; public class PropertyWrapperForScripts { PropertyContainer local; PropertyContainer context; // this method is invoked by reflection in PropertyEvalScriptB...
{ "content_hash": "13ecd354d5a190b166e72d81e6832752", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 89, "avg_line_length": 25.692307692307693, "alnum_prop": 0.6816367265469062, "repo_name": "cscfa/bartleby", "id": "606f5e1abe5aacb979ee09b62ee5368d23f03129", "size": "1486"...
using System; using System.Collections.Generic; using System.Threading.Tasks; namespace BPMNET.Core { public interface IInstanceTask<TKey> where TKey : IEquatable<TKey> { Task ClaimTask(IUser user); Task CompleteTask(IDictionary<string, object> variables); Task AssignTask(IUser...
{ "content_hash": "89670e1c685fa2c796d92290db3042ae", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 75, "avg_line_length": 27.466666666666665, "alnum_prop": 0.6966019417475728, "repo_name": "Diaskhan/jetbpm", "id": "8e7c9c2185f74f5ddb5e08ff641d2858b7097950", "size": "414"...
find_library(PROTOBUF_LIBRARY_DIR NAMES protobuf) find_program(PROTOBUF_BINARY_DIR NAMES protoc) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(protobuf REQUIRED_VARS PROTOBUF_LIBRARY_DIR PROTOBUF_BINARY_DIR) if(PROTOBUF_FOUND) message(STATUS "Found Protobuf binary - ${PROTOBUF_BINARY_DIR...
{ "content_hash": "fbfb08fdfe756e95b92fa3e1ba4278d4", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 116, "avg_line_length": 42.9, "alnum_prop": 0.7925407925407926, "repo_name": "Dudi119/SearchYA", "id": "f5f5698b9bf9c986f4c49f3a0e3b495a26da946d", "size": "429", "binary"...
<?php namespace Stampi\AdminBundle\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; class ItemType extends AbstractType { /** * @param FormBuilderInterface $builder * @param array $options ...
{ "content_hash": "96bfc1b497e731d59d74e20bc2aaf217", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 76, "avg_line_length": 22.25, "alnum_prop": 0.6269662921348315, "repo_name": "fgavilan/Stampi", "id": "06b34793052f94c49aaea3830ce7ab71a5b7bf21", "size": "890", "binary":...
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/policy/messaging_layer/public/report_client.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/callback.h" #include "base/...
{ "content_hash": "6bdb39d3d19715d46e21d63d11415943", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 88, "avg_line_length": 40.00765306122449, "alnum_prop": 0.6696422878275841, "repo_name": "nwjs/chromium.src", "id": "e13713dd137edd6ae6a78b38a93928650bf805b6", "size": "15...
(function (angular, jcs) { 'use strict'; //var apiServer = "http://expense-manager-backend.azurewebsites.net"; var apiServer = "http://localhost:59184"; var baseApiPath = "/api/v1"; var apiPath = apiServer + baseApiPath; jcs.modules.core = { name: "jcs-core", apiServer : apiSe...
{ "content_hash": "640cdca25123d1118666b1658d9c5b6c", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 73, "avg_line_length": 25.535714285714285, "alnum_prop": 0.544055944055944, "repo_name": "Zaknafeyn/expense-manager", "id": "2e80cec5df85f073444e2631efc838828f4c09bb", "siz...
// // ZMessageSendView.h // ZMessageKit // // Created by zhuayi on 9/15/15. // Copyright (c) 2015 zhuayi. All rights reserved. // #import <UIKit/UIKit.h> #import "ZMessageDelegate.h" @interface ZMessageSendView : UIView<UITextViewDelegate> /** * 代理方法 */ @property (nonatomic, weak) id<ZMessageSendDelete> deleg...
{ "content_hash": "9c8b61cd5bdff468eb6a1092e2914b60", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 60, "avg_line_length": 16.08, "alnum_prop": 0.6890547263681592, "repo_name": "zhuayi/ZMessageKit", "id": "ddc53de1e0f256f04cce8b93153a5582245d4fe4", "size": "416", "binar...
class AuthorsController < ApplicationController before_action :set_author, only: [:show] # GET /authors def index @authors = Author.all end # GET /authors/1 def show end private # Use callbacks to share common setup or constraints between actions. def set_author @author = Author.find(par...
{ "content_hash": "0fab52bff139a7a501caa4b9e6bf4f92", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 71, "avg_line_length": 17.894736842105264, "alnum_prop": 0.6941176470588235, "repo_name": "neilang/implicit_page_titles", "id": "a24c6946c8845dd46eeaf9ff203e944a9a44fb38", ...
directory File.dirname(node['mysql-backup']['backup_file']) do mode 0755 action :create end template '/etc/cron.d/mysql-backup' do source 'cron.d.erb' variables( :schedule => node['mysql-backup']['schedule'], :backup_file => node['mysql-backup']['backup_file'], :mysql_user => node['mysql-backup']['...
{ "content_hash": "af4aaa8e5f3aadb640b753d8a168cc4b", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 62, "avg_line_length": 27.29032258064516, "alnum_prop": 0.6430260047281324, "repo_name": "kwaaioak/devops", "id": "7a0132e0b18cd507c096c89536fe787d39ad7f16", "size": "982",...
<!DOCTYPE html><html><head> <title>A canvas quadraticCurveTo example</title> <meta name="DC.creator" content="Kamiel Martinet, http://www.martinet.nl/"> <meta name="DC.publisher" content="Mozilla Developer Center, http://developer.mozilla.org"> <!--[if lt IE 9]><script type="text/javascript" src="../../../...
{ "content_hash": "e20b81fdecb80f674627fcfe471bfad5", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 135, "avg_line_length": 32.42168674698795, "alnum_prop": 0.6198439241917503, "repo_name": "feklee/realitybuilder", "id": "d39f1ec7a4244731a6b46139fb25b3b25f71c896", "size":...
/*! * AngularJS Material Design * https://github.com/angular/material * @license MIT * v1.1.9-master-41c9d00 */md-content{display:block;position:relative;overflow:auto;-webkit-overflow-scrolling:touch}md-content[md-scroll-y]{overflow-y:auto;overflow-x:hidden}md-content[md-scroll-x]{overflow-x:auto;overflow-y:hidde...
{ "content_hash": "2f27d2a849a90de43f4fa61a5294b958", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 261, "avg_line_length": 62.333333333333336, "alnum_prop": 0.7780748663101604, "repo_name": "slickqa/slickqaweb", "id": "87deff9ce97e8272241d744459dd4bae31588ece", "size": "3...
![capture](https://i.imgur.com/J48eToL.jpg) Automate back up or restore of APK's, Android applications to your Android phone. ## Table of contents: 0x0: Support Information<br> 0x1: How to run the software<br> 0x2: Use cases <br> 0x3: Command Line Arguments<br> ## 0x0: Support Information Support for the sof...
{ "content_hash": "e6c3495643fc7c9e0ea07d6b4d781ba7", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 178, "avg_line_length": 30.67241379310345, "alnum_prop": 0.732433951658235, "repo_name": "binary-signal/mass-apk-installer", "id": "22dbf09da640f99c3222f2e34ef37e68f40447f0",...
var boot_state={ create:function(){ game.physics.startSystem(Phaser.Physics.ARCADE); game.state.start('load',load_state); } };
{ "content_hash": "ab5472586e5e5e6f12a7fa68f1092437", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 56, "avg_line_length": 13.666666666666666, "alnum_prop": 0.573170731707317, "repo_name": "deliacazamir/Fun-Web", "id": "67db1419371a358554420b96907690397d650440", "size": "...
<?php namespace NottsDigital\Adapter; use Goutte\Client; use NottsDigital\Adapter\AdapterInterface; use Symfony\Component\DomCrawler\Crawler; class TitoAdapter implements AdapterInterface { /** * @var Client */ protected $client; /** * @var array */ protected $config; /** ...
{ "content_hash": "637d31f56271d863464db938733c4a6c", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 107, "avg_line_length": 19.006369426751593, "alnum_prop": 0.5010053619302949, "repo_name": "pavlakis/notts-digital", "id": "72ea1cf053c8042ff67b70f4e40864e003204143", "siz...
package xyz.isunxu.imooc_practice_android.fragment; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.MotionEvent; import android.view.View; import android.view.ViewGroup; import xyz.isunxu.imooc_practice_android.R; public class WeixinFragment ...
{ "content_hash": "f7bde969d3b73aa2882372c3e5dd500b", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 113, "avg_line_length": 28.2, "alnum_prop": 0.7659574468085106, "repo_name": "sunxu3074/imooc-practice-android", "id": "5aa8b97cf36648d0f8650e94e428c43bd64687a0", "size": "...
using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Xunit; namespace EFCoreExtend.Test { /// <summary> /// 策略扩展测试 /// </summary> public class TestPolicyExtend { //static ...
{ "content_hash": "2c5447a80b6e098d9b4e9a34002ca52e", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 121, "avg_line_length": 30.48780487804878, "alnum_prop": 0.6168, "repo_name": "skigs/EFCoreExtend", "id": "4cd954e329d0464a45e8be995f797380b48e8f13", "size": "1302", "bin...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. ~ ~ WSO2 Inc. licenses this file to you 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 o...
{ "content_hash": "baa6eb736cb3fd64694bc0a7a65e51b6", "timestamp": "", "source": "github", "line_count": 152, "max_line_length": 204, "avg_line_length": 41.49342105263158, "alnum_prop": 0.49690819724116064, "repo_name": "tishan89/siddhi", "id": "5f7f8574ee6ae9f6b91b886819f7600b8ffeeabb", "size": "63...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="generator" content="ApiGen 2.8.0" /> <meta name="robots" content="noindex" /> <title>File Component/Document/Component/I...
{ "content_hash": "e2dd351817c893d256b581b56445e209", "timestamp": "", "source": "github", "line_count": 365, "max_line_length": 184, "avg_line_length": 44.586301369863016, "alnum_prop": 0.6407152513211257, "repo_name": "TheTypoMaster/SPHERE-Framework", "id": "3926f2b393613847a6d967a7eea7e02739c2a727"...
package de.kaiserpfalzedv.commons.ejb.jndi.test; import de.kaiserpfalzedv.commons.ejb.jndi.JndiWalker; import org.junit.Before; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.naming.InitialContext; import javax.naming.NamingException; import static org.junit.Assert.ass...
{ "content_hash": "e88568c8cece25195d8237c2726ad0f5", "timestamp": "", "source": "github", "line_count": 57, "max_line_length": 103, "avg_line_length": 34.40350877192982, "alnum_prop": 0.609382967873534, "repo_name": "KaiserpfalzEDV/kp-office", "id": "aad3a21ee3d247d7e9cb0c75855726098a8fd4f6", "size...
package com.google.cloud.monitoring.v3; import com.google.api.core.BetaApi; import com.google.monitoring.v3.CreateUptimeCheckConfigRequest; import com.google.monitoring.v3.DeleteUptimeCheckConfigRequest; import com.google.monitoring.v3.GetUptimeCheckConfigRequest; import com.google.monitoring.v3.ListUptimeCheckConfig...
{ "content_hash": "bf4024485105c913c073b53c3e0f7452", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 99, "avg_line_length": 36.23287671232877, "alnum_prop": 0.7572778827977316, "repo_name": "pongad/api-client-staging", "id": "1d4feb22930edeb559babeb77b7372d38ee1fe44", "si...
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.components; // Start of user code for imports import java.util.Iterator; import java.util.List; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.util.BasicDiagnostic; import org.eclipse.emf.common.util....
{ "content_hash": "477e09e3924cf6ba2fcbfbc9128e95e6", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 218, "avg_line_length": 36.991769547325106, "alnum_prop": 0.7589275781510736, "repo_name": "prabushi/devstudio-tooling-esb", "id": "a8fe8bc370f55ea6f280ca7403ca5f5c04d3f1a5"...
using System; using System.Web.Mvc; namespace Alloy { public class EPiServerApplication : EPiServer.Global { protected void Application_Start() { AreaRegistration.RegisterAllAreas(); //Tip: Want to call the EPiServer API on startup? Add an initialization module instead...
{ "content_hash": "a2048be9ac0adbf8ab6f28529442bfaf", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 156, "avg_line_length": 26.4, "alnum_prop": 0.648989898989899, "repo_name": "episerver/EPiTranslateFlowDemo", "id": "80e42daaf61b997411daad98615806c69f54826a", "size": "398...
namespace BunnyCraft.Models { using System.Collections.Generic; using System.ComponentModel.DataAnnotations; public class AirCraft { private ICollection<Bunny> bunnies; public AirCraft() { this.bunnies = new HashSet<Bunny>(); } public int Id { get;...
{ "content_hash": "ac4bf94810f040ec1d06bf6e14c3a333", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 49, "avg_line_length": 21.392857142857142, "alnum_prop": 0.5459098497495827, "repo_name": "kaizer04/Telerik-Academy-2013-2014", "id": "2a000a1c5bb87aeb05333bbbc9d64f072230779...
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <link rel="SHORTCUT ICON" href="../../../../../img/clover.ico" /> <link rel="stylesheet" href="../../../../../aui/css/aui.min.css" media...
{ "content_hash": "f9f17ee42ecde7c84bacbfa1a097bc7b", "timestamp": "", "source": "github", "line_count": 209, "max_line_length": 297, "avg_line_length": 43.92822966507177, "alnum_prop": 0.5097483934211959, "repo_name": "dcarda/aba.route.validator", "id": "4a4558f1b882c7b97e9446364cab763cc748004a", "...
package com.github.plusvic.yara; /** * Yara match */ public interface YaraMatch { /** * Value that was matched * * @return */ String getValue(); /** * Offset where match was found * * @return */ long getOffset(); }
{ "content_hash": "08aa658e2e7b3dacfca0b34c0967f5f7", "timestamp": "", "source": "github", "line_count": 20, "max_line_length": 35, "avg_line_length": 13.75, "alnum_prop": 0.5163636363636364, "repo_name": "papostolescu/yara-java", "id": "fe0836b5fd117c57305e8db5ef875bdec375e34b", "size": "275", "b...
try: import multiprocessing except ImportError: pass from io import open from setuptools import setup, find_packages setup( name='sphinx-js', version='2.7', description='Support for using Sphinx on JSDoc-documented JS code', long_description=open('README.rst', 'r', encoding='utf8').read(), ...
{ "content_hash": "f55115b51e946437482e374240965a51", "timestamp": "", "source": "github", "line_count": 41, "max_line_length": 116, "avg_line_length": 37.609756097560975, "alnum_prop": 0.6005188067444877, "repo_name": "erikrose/sphinx-js", "id": "0c7694e3f46da1df2de279ad78820b5d41674e91", "size": "...
#include "val_greentea.h" #include "val_interfaces.h" #include "val_internal_trusted_storage.h" #include "val_protected_storage.h" #include "val_attestation.h" /*VAL APIs to be used by test */ const val_api_t val_api = { .print = mbed_val_print, .set_status = mbed_val_set_...
{ "content_hash": "ca96163c16e53354cb5ea0fba176615a", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 67, "avg_line_length": 38.48888888888889, "alnum_prop": 0.5236720554272517, "repo_name": "mbedmicro/mbed", "id": "b6bf08546291685e50340783af080c218ab0fd6b", "size": "2420",...
name: cljs.core/ex-cause see also: --- ## Summary ## Details ## Examples
{ "content_hash": "72bce56412fc685d1eebaad84b51e635", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 24, "avg_line_length": 8.444444444444445, "alnum_prop": 0.631578947368421, "repo_name": "cljs/api", "id": "5734a3f24ec2a92b5c52eeff2ef455fe01b82090", "size": "80", "binary...
function J = computeCost(X, y, theta) %COMPUTECOST Compute cost for linear regression % J = COMPUTECOST(X, y, theta) computes the cost of using theta as the % parameter for linear regression to fit the data points in X and y % Initialize some useful values m = length(y); % number of training examples % ==========...
{ "content_hash": "256666f6c6e0bb259eef26cbc81328f5", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 75, "avg_line_length": 37.8125, "alnum_prop": 0.5504132231404959, "repo_name": "huangcd/ml-class", "id": "6ddcaad86c9938afd79feec3681d61e35168e70e", "size": "605", "binar...
<HTML> <BODY> <PRE> <!-- Manpage converted by man2html 3.0.1 --> <B><A HREF="STRTOUL.html">STRTOUL(3)</A></B> FreeBSD Library Functions Manual <B><A HREF="STRTOUL.html">STRTOUL(3)</A></B> </PRE> <H2>NAME</H2><PRE> <B>strtoul,</B> <B>strtouq</B> - convert a string to an unsigned long or uquad_t </P...
{ "content_hash": "a7ca539c5dea88f072150a6e79a2578a", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 134, "avg_line_length": 36.956989247311824, "alnum_prop": 0.6136165260401513, "repo_name": "loongson-community/EFI-MIPS", "id": "5f82eddd42c06fec2589f9b8699eec4e58168ff0", ...
<?php declare(strict_types=1); namespace Krizalys\Onedrive\Definition; /** * An interface defining the contract for an operation definition. * * @since 2.5.0 */ interface OperationDefinitionInterface { /** * Gets the body parameter definitions. * * @return \Krizalys\Onedrive\Parameter\Parame...
{ "content_hash": "53cf0e9a9840a5ec15a811307cd9d356", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 82, "avg_line_length": 23.755555555555556, "alnum_prop": 0.6651075771749299, "repo_name": "krizalys/onedrive-php-sdk", "id": "ed09de44c1db7a378931983db2b4efa1d3eb05fa", "si...
module Eligibility extend ActiveSupport::Concern def display_eligibility(name, ineligible) "#{name}#{'*' if ineligible}" end end
{ "content_hash": "4a8c02569a4fe08058b13d0b2286fe1b", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 43, "avg_line_length": 20, "alnum_prop": 0.7142857142857143, "repo_name": "scotthue/unicycling-registration", "id": "71b0c7a1f675fa50769d957d249f2f69a54e2a31", "size": "140"...
<div class="commune_descr limited"> <p> Saint-Martin-sur-la-Chambre est un village géographiquement positionné dans le département de Savoie en Rhône-Alpes. On dénombrait 448 habitants en 2008.</p> <p>Si vous pensez demenager à Saint-Martin-sur-la-Chambre, vous pourrez aisément trouver une maison à vend...
{ "content_hash": "706a297cf8678f7abd439bbe85218208", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 185, "avg_line_length": 83.52941176470588, "alnum_prop": 0.7436619718309859, "repo_name": "donaldinou/frontend", "id": "24aaa319ee5d38342b560a46c1922d73a1394fc0", "size": "...
package nuclearcontrol; import forge.ITextureProvider; import ic2.api.ElectricItem; import net.minecraft.server.EntityHuman; import net.minecraft.server.Item; import net.minecraft.server.ItemStack; import net.minecraft.server.TileEntity; import net.minecraft.server.World; import net.minecraft.server.mod_IC2NuclearCont...
{ "content_hash": "82e6fd8549045d3da7a6254f70477350", "timestamp": "", "source": "github", "line_count": 100, "max_line_length": 161, "avg_line_length": 27.2, "alnum_prop": 0.5488970588235295, "repo_name": "mushroomhostage/ic2-nuclear-control", "id": "193df5b9fc5bf78da0310ecf5dc4f92c58bfe432", "size...
import { assert } from '@ember/debug'; import { get } from '@ember/object'; import { entries } from '../utils/helper-functions'; import { typeOf } from '@ember/utils'; import { getOwner } from '@ember/application'; import { camelize } from '@ember/string'; /** Base class for converting the base fixture that factory g...
{ "content_hash": "fe48e9d67cd9480eb002331778652746", "timestamp": "", "source": "github", "line_count": 355, "max_line_length": 102, "avg_line_length": 33.64225352112676, "alnum_prop": 0.6810684082726283, "repo_name": "crossroads/ember-data-factory-guy", "id": "ad51af46aa3c47aa2d2255383b1ac65af1e9ac2...
<?php /* Element Description: VC mail signup form */ // Element Class class vc_mailSignUp extends WPBakeryShortCode { // Element Init function __construct() { add_action( 'init', array( $this, 'vc_mailSignUp_mapping' ) ); add_shortcode( 'vc_mailSignUp', array( $this, 'vc_render_mailSignUp' ) ); } // Element ...
{ "content_hash": "34f22ba678fbb899702afdbc6c9ffc92", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 160, "avg_line_length": 30.846153846153847, "alnum_prop": 0.5653722835767724, "repo_name": "whothat-dk/Slagelse-Lift", "id": "9793cc885c61487f0976d2e9086a62c1abab927e", "si...
package ws.moor.gletscher.catalog; import com.google.common.util.concurrent.Futures; import com.google.protobuf.InvalidProtocolBufferException; import ws.moor.gletscher.blocks.BlockStore; import ws.moor.gletscher.blocks.PersistedBlock; import ws.moor.gletscher.proto.Gletscher; import ws.moor.gletscher.util.ByteSize;...
{ "content_hash": "0f1f91c8db2f76c0927f65911408427b", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 119, "avg_line_length": 37.49315068493151, "alnum_prop": 0.6346364632809646, "repo_name": "pmoor/gletscher", "id": "9745132beb910198833557c8684cfd16cc5201e7", "size": "608...
-- -------------------------------------------------------- -- Host: 127.0.0.1 -- Server version: 5.7.9 - MySQL Community Server (GPL) -- Server OS: Win64 -- HeidiSQL Version: 9.3.0.4984 -- -------------------------------------------------------- /*!...
{ "content_hash": "fa3bea7baa3a3009654a1635612a2f5f", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 99, "avg_line_length": 46.758620689655174, "alnum_prop": 0.5951327433628318, "repo_name": "vuthysin5284/school", "id": "a2074c84c1638a037b63797f8573d8e66908c345", "size": "...
package tzhai.euler; import java.util.ArrayList; /** * Problem 23 Non-abundant sums * * A perfect number is a number for which the sum of its proper divisors is * exactly equal to the number. For example, the sum of the proper divisors of * 28 would be 1 + 2 + 4 + 7 + 14 = 28, which means that 28 is a perfect n...
{ "content_hash": "80cbe2ebe662fe20fd6db9390cb5fda9", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 80, "avg_line_length": 28.441176470588236, "alnum_prop": 0.6463288521199586, "repo_name": "zhaitengfei/ProjetEuler", "id": "2f31d69a25eab380eb4ba29d218f9536df7d2e63", "size...
package org.apache.ivory.resource; import org.apache.ivory.IvoryWebException; import org.apache.ivory.monitors.Dimension; import org.apache.ivory.monitors.Monitored; import javax.servlet.http.HttpServletRequest; import javax.ws.rs.*; import javax.ws.rs.core.Context; import javax.ws.rs.core.MediaType; @Path("entities...
{ "content_hash": "016219cae883b8e33a976f17d2fcb5cc", "timestamp": "", "source": "github", "line_count": 91, "max_line_length": 100, "avg_line_length": 39.89010989010989, "alnum_prop": 0.6201101928374656, "repo_name": "InMobi/ivory", "id": "6e631c5cc8cda35eccfc63c1a0e8790d7ddc8102", "size": "3630", ...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/content_second" android:layout_width="match_parent" android:layout_hei...
{ "content_hash": "f4d1124bbfd01585637f18b0f1e9991f", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 74, "avg_line_length": 38.125, "alnum_prop": 0.681311475409836, "repo_name": "Garasjuk/EPAMtraning2016", "id": "bc51da2c66d5a4842b1d54001df443199f301165", "size": "1525", ...
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>AnnotationPage | manifesto</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../asset...
{ "content_hash": "da9ca0cece4b61c6a74dcd2a28edf8a4", "timestamp": "", "source": "github", "line_count": 719, "max_line_length": 562, "avg_line_length": 62.98470097357441, "alnum_prop": 0.6692576072075255, "repo_name": "viewdir/manifesto", "id": "bc3da94753f48aa8d9af63fe2126b8a04c30a6a2", "size": "4...
using std::max; using std::min; namespace ash { namespace internal { gfx::Rect ImageGrid::TestAPI::GetTransformedLayerBounds( const ui::Layer& layer) { gfx::Rect bounds = layer.bounds(); layer.transform().TransformRect(&bounds); return bounds; } ImageGrid::ImageGrid() : layer_(new ui::Layer(ui::LAYER_N...
{ "content_hash": "d057652eaf79c332ce406297735547f4", "timestamp": "", "source": "github", "line_count": 259, "max_line_length": 80, "avg_line_length": 37.71042471042471, "alnum_prop": 0.5989556670420805, "repo_name": "robclark/chromium", "id": "c9c982fae9bcaa8fe1513ab36fffa5d1eeeebf39", "size": "10...
@interface AppDelegate () @end @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { return YES; } - (void)applicationWillResignActive:(UIApplication *)application { // Sent when the application is about to move from a...
{ "content_hash": "d0baf7ddf39c918df6cbf17abbd2f9af", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 281, "avg_line_length": 53.23529411764706, "alnum_prop": 0.7850828729281768, "repo_name": "JohnWong/iOS-file-manager", "id": "033763a8417524618da2fd8dc0a552cfb69e2b20", "si...
<!doctype html> <html> <head> <meta charset="utf-8"> <title>validacion2</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width"> <link rel="shortcut icon" href="/favicon.ico"> <!-- Place favicon.ico and apple-touch-icon.png in the root directory --> <...
{ "content_hash": "bce9789cfa5e34a87bed014b2ef54c8f", "timestamp": "", "source": "github", "line_count": 61, "max_line_length": 84, "avg_line_length": 30.442622950819672, "alnum_prop": 0.5293484114162628, "repo_name": "juanda99/validacion2", "id": "03d1a1edcd3af89e635cbcb6a64a77a8c13b30d2", "size": ...
package com.javafx.experiments.dataapp.model.transit; import com.javafx.experiments.dataapp.model.Product; import com.javafx.experiments.dataapp.model.ProductType; import com.javafx.experiments.dataapp.model.Region; import java.io.Serializable; import java.math.BigDecimal; import java.util.Calendar; import java.util....
{ "content_hash": "69f4dd409fcf626499da59f50fc4163f", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 103, "avg_line_length": 29.727272727272727, "alnum_prop": 0.7930682976554536, "repo_name": "jalian-systems/marathonv5", "id": "0eafee500fdd21e87f16c1acf68b7a3c6518e8d7", "s...
package org.cfeclipse.cfml.parser.cfscript; /* JJT: 0.2.2 */ public class ASTSubtractNode extends SimpleNode { ASTSubtractNode(int id) { super(id); } public void interpret() { jjtGetChild(0).interpret(); jjtGetChild(1).interpret(); stack[--top] = new Integer(((In...
{ "content_hash": "35e3e92b44945cb7b38247949ff91824", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 70, "avg_line_length": 17.36, "alnum_prop": 0.5506912442396313, "repo_name": "cybersonic/org.cfeclipse.cfml", "id": "a1a701b147186b5b8b432aaa1a0422bda232c68b", "size": "191...
module Hashrocket class Wireframe < Struct.new(:path) class_attribute :excludes def self.files Dir.glob('app/views/ui/*.html.haml') end def self.all files.sort.map(&instantize).extend(Filter) end def self.instantize(*args) method(:new) end def self.cleaned a...
{ "content_hash": "83f5822a560d4dcfb3bfba1f6590880c", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 48, "avg_line_length": 17.339622641509433, "alnum_prop": 0.5462459194776932, "repo_name": "hashrocket/hashrocket-rails", "id": "ceee21d81ba14a5f3d35f35a0ba7028f7a43d100", "...
package aux; import java.awt.*; public class ImageCanvas extends Canvas { private Image image; public ImageCanvas(Image image) { this.image = image; } public void paint(Graphics graphics) { graphics.drawImage(image, 0, 0, this); } public void update(Graphics graphics) { paint(graph...
{ "content_hash": "89ad5207239d1a724035fe28c2d519f1", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 43, "avg_line_length": 18.060606060606062, "alnum_prop": 0.6375838926174496, "repo_name": "BartMassey/java-aux", "id": "011a5a038881f3b1157a96aa97d21303e2d898b7", "size": "...
using System; namespace iOS4Unity { public class NSObject : IDisposable { private static readonly IntPtr _classHandle; static NSObject() { _classHandle = ObjC.GetClass("NSObject"); } public virtual IntPtr ClassHandle { get { return _clas...
{ "content_hash": "b2de416610efab51c4c1528f9a77df90", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 73, "avg_line_length": 22.06153846153846, "alnum_prop": 0.4902370990237099, "repo_name": "Hitcents/iOS4Unity", "id": "2dfdad69433384df609ba1a1758cd873ba5087de", "size": "14...
namespace Google.Cloud.Firestore.Admin.V1.Snippets { // [START firestore_v1_generated_FirestoreAdmin_GetIndex_sync_flattened] using Google.Cloud.Firestore.Admin.V1; public sealed partial class GeneratedFirestoreAdminClientSnippets { /// <summary>Snippet for GetIndex</summary> /// <remar...
{ "content_hash": "1d3362bf4312fa259b5ccf3b102a832a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 114, "avg_line_length": 42.333333333333336, "alnum_prop": 0.6663385826771654, "repo_name": "jskeet/google-cloud-dotnet", "id": "7a669944bb4f74a0b7f441aa15db238e6d423f2a", "...
title: Can I apply as an individual, not as an organization? published: True tags: [small_grants_fund] categories: [faqs] layout: post --- <div class="content"> <p>No. Unfortunately, only organizations are eligible to apply.</p> </div>
{ "content_hash": "577c0a9f16514f0ba903021846bc0da6", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 68, "avg_line_length": 26.22222222222222, "alnum_prop": 0.7330508474576272, "repo_name": "Vizzuality/gfw-howto", "id": "ee86dac722b70536ea12a5f1765c8bf57262df3c", "size": "2...
namespace blink { CSSAtRuleID CssAtRuleID(StringView name) { if (EqualIgnoringASCIICase(name, "charset")) return kCSSAtRuleCharset; if (EqualIgnoringASCIICase(name, "font-face")) return kCSSAtRuleFontFace; if (EqualIgnoringASCIICase(name, "import")) return kCSSAtRuleImport; if (EqualIgnoringASCIICa...
{ "content_hash": "7c9a2158a1e67bf595a797f4ffe243be", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 72, "avg_line_length": 30.471698113207548, "alnum_prop": 0.7185758513931888, "repo_name": "ric2b/Vivaldi-browser", "id": "d58b26111d42647c0599fc1daedf718723986d93", "size"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_75) on Sat May 16 22:22:27 CEST 2015 --> <title>Cassandra.AsyncProcessor.execute_prepared_cql_query</title> <meta name="date" content="...
{ "content_hash": "2b0f17187c76a54aef4f6b689de5295a", "timestamp": "", "source": "github", "line_count": 335, "max_line_length": 781, "avg_line_length": 55.01194029850746, "alnum_prop": 0.6924412610559444, "repo_name": "sayanh/ViewMaintenanceCassandra", "id": "7ee04374294a91bed675ee674d1e2ea88855c56c"...
<!--<script id="tpl-inftbl" type="text/x-handlebars-template"> <div class="mod mod-playerinfotable skin-playerinfotable-{{playerName}}"> <div class="col l6 push-l1 infos"> <div class="flat-table js-flat-table"> {{#each playerData}} <div class="info-table-css">{{this}}</div> {{/each}} </d...
{ "content_hash": "df51f82a1e675bd6b5e80bcd3e3d11f7", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 74, "avg_line_length": 29.5, "alnum_prop": 0.6045197740112994, "repo_name": "dfernandesnamics/spielerstatistik", "id": "8496f826e1c349286445c043b314bd046413034b", "size": "...
#include "../../include/regui/private/REXMLSerializableReader.h" #if 0 #if defined(__RE_USING_ADITIONAL_TINYXML_LIBRARY__) #include "../addlibs/tinyxml.h" using namespace tinyxml2; #elif defined(__RE_USING_SYSTEM_TINYXML_LIBRARY__) #include <tinyxml.h> #else #define __RE_NO_XML_PARSER_PRIVATE__ #endif REBOOL R...
{ "content_hash": "d27d548835616f77c2c3b4812e841d0d", "timestamp": "", "source": "github", "line_count": 229, "max_line_length": 162, "avg_line_length": 23.930131004366814, "alnum_prop": 0.6151459854014598, "repo_name": "OlehKulykov/re-sdk", "id": "71daf99b643ff96d3815bca9dba50f9999d9bdc7", "size": ...
Ext.define('CustomApp', { extend: 'Rally.app.App', componentCls: 'app', requries: [ 'Rally.ui.tree.TreeGrid' ], items:[ { xtype: 'container', itemId: 'header', layout: 'column', items: [ { xtype: 'conta...
{ "content_hash": "df1bc3926508bd99c21821b076dea4ea", "timestamp": "", "source": "github", "line_count": 341, "max_line_length": 99, "avg_line_length": 32.87683284457478, "alnum_prop": 0.3773080010703773, "repo_name": "nikantonelli/StoriesFilteredByActualRelease", "id": "18107520f16fe41fad6afd319bf889...
class DropTokenExpirations < ActiveRecord::Migration[5.1] def change drop_table :token_expirations do |t| t.string :sub t.integer :exp t.string :jti t.datetime :created_at, null: false t.datetime :updated_at, null: false end end end
{ "content_hash": "01ee7738d35787aa82d8c605954828e5", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 57, "avg_line_length": 23.416666666666668, "alnum_prop": 0.6370106761565836, "repo_name": "FarmBot/Farmbot-Web-API", "id": "fe87936533f4ef92dacffddb482c698479996efa", "size...
// // ScottCounterEngine.h // ScottCounter // // Created by Scott_Mr on 2017/3/16. // Copyright © 2017年 Scott. All rights reserved. // #import <UIKit/UIKit.h> #import "ScottCounterConst.h" @interface ScottCounterEngine : NSObject /** 类方法创建一个实例 */ + (instancetype)counterEngine; /** 在指定时间内从 数字A -> 数字B @par...
{ "content_hash": "eec36b1c7a1be189d29f801249d0e440", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 262, "avg_line_length": 22.393939393939394, "alnum_prop": 0.7753721244925575, "repo_name": "LZAscott/ScottCounter", "id": "3385d053ab280c7089620dac3a7ec1501b3f3c3d", "size"...
export default function() { let synoAlbum = { success:true, data: { items:[{ id:'id-album0001', info: { description:"description of id-album0001", sharepath:"/", name:"/", title:"Accur Photo", hits:null, allow_comment:false, ...
{ "content_hash": "2fc394033016d5443c76c24c8f0231fc", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 154, "avg_line_length": 28.74137931034483, "alnum_prop": 0.5470905818836233, "repo_name": "toejiang/synology-dsm-gallery", "id": "6b96917947b4d1dca773055c523844f06ab798b9", ...
<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); require __DIR__ . '/../vendor/autoload.php'; use Dwr\OpenWeather\Configuration; use Dwr\OpenWeather\OpenWeather; use Dwr\OpenWeather\Converter\Converter; $apiKey = getenv('OPEN_WEATHER_API_KEY'); $openWeatherConfig = n...
{ "content_hash": "a7eda818355eeda83dde5a1e0d312f22", "timestamp": "", "source": "github", "line_count": 109, "max_line_length": 132, "avg_line_length": 37.60550458715596, "alnum_prop": 0.4545010978287387, "repo_name": "dariuszwrzesien/DwrOpenWeather", "id": "2d3d090faec1a60710e00e5dcc12765acb52044b",...
package client const ( CONTAINER_TYPE = "container" ) type Container struct { Resource `yaml:"-"` AccountId string `json:"accountId,omitempty" yaml:"account_id,omitempty"` AgentId string `json:"agentId,omitempty" yaml:"agent_id,omitempty"` BlkioDeviceOptions map[string]interface{} `json:"blkioDeviceOptions,om...
{ "content_hash": "ef4aaf898bda90e478cc22ad3aca7a58", "timestamp": "", "source": "github", "line_count": 471, "max_line_length": 118, "avg_line_length": 34.19532908704883, "alnum_prop": 0.7647460573699243, "repo_name": "aiwantaozi/logging-k8s-controller", "id": "597e8cd3b3711b72483dac2f739ad036f1f6a81...
package com.twitter.scrooge.frontend import com.twitter.scrooge.ast._ import scala.collection.mutable.ArrayBuffer import scala.util.parsing.input.Positional class PositionalException(message: String, node: Positional) extends Exception(s"$message\n${node.pos.longString}") case class TypeNotFoundException(name: S...
{ "content_hash": "c043c3b590efcc1b8dffdf0990ba7ba7", "timestamp": "", "source": "github", "line_count": 242, "max_line_length": 116, "avg_line_length": 39.417355371900825, "alnum_prop": 0.6408428556452458, "repo_name": "travisbrown/scrooge", "id": "c31887e06b8b97039cef975614d167a946e56343", "size":...
using System; using System.Globalization; namespace RevStack.OrientDb { public static class Extensions { public static string ToCamelCase(this string value) { if (string.IsNullOrEmpty(value)) return value; if (!char.IsUpper(value[0])) re...
{ "content_hash": "4997daf2056f4a426b5a97adae1f21bf", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 123, "avg_line_length": 25.608695652173914, "alnum_prop": 0.5857385398981324, "repo_name": "RevStack/RevStack.OrientDb", "id": "c1dbd94a8a0555b74ed4c8275d47c4b329ce797d", "...
<?php /** * Created by PhpStorm. * User: syarif * Date: 1/12/15 * Time: 2:02 PM */ Class StoreController extends VipplazaController { public function filters(){ return array( 'accessControl', // perform access control for CRUD operations ); } public function accessRules() ...
{ "content_hash": "71883f6d8a15ee7cd5653b241fc39875", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 305, "avg_line_length": 36.463541666666664, "alnum_prop": 0.5120697043279532, "repo_name": "akaidrive2014/bbm-vipplaza", "id": "9bc66ab60061bae72b1a84af4480e2b3bfa5aecf", ...
<?php namespace Doctrine\ORM; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\Common\NotifyPropertyChanged; use Doctrine\Common\Persistence\Mapping\RuntimeReflectionService; use Doctrine\Common\Persistence\ObjectManagerAware; use Doctrine\Common\PropertyChang...
{ "content_hash": "58b2d35443cf73e47a15fa602bff12cf", "timestamp": "", "source": "github", "line_count": 3551, "max_line_length": 154, "avg_line_length": 33.46493945367502, "alnum_prop": 0.5481091270175202, "repo_name": "DerDu/MOC-Framework-Mark-V", "id": "e43582ca98d165f07f21ee284fba6c2c5eeda28e", ...
<?xml version="1.0" encoding="UTF-8"?> <!-- Generated by org.testng.reporters.JUnitReportReporter --> <testsuite hostname="ncherkasov" name="selenium_training.LoginTest" tests="2" failures="0" timestamp="23 Jul 2015 18:03:45 GMT" time="4.472" errors="0"> <testcase name="testLoginOK" time="2.730" classname="selenium_t...
{ "content_hash": "fb64fb1b73059bdbaa6c09b41b9d341d", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 152, "avg_line_length": 80.16666666666667, "alnum_prop": 0.7338877338877339, "repo_name": "DARTKolian/Selenium-Java-Training-Cherkasov", "id": "aeeb3e1cebb68d3137a03cae2411734...
<!DOCTYPE html> <!-- | Generated by Apache Maven Doxia at 2014-11-25 | Rendered using Apache Maven Fluido Skin 1.3.0 --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name...
{ "content_hash": "729ba34a6a6547eae928de672035cc91", "timestamp": "", "source": "github", "line_count": 298, "max_line_length": 344, "avg_line_length": 33.08724832214765, "alnum_prop": 0.3977687626774848, "repo_name": "princeofdarkness76/trap", "id": "6196eaae608095d0edb7b84ee86a01d041843e71", "siz...
<?php /* partials/sidebar.html.twig */ class __TwigTemplate_e6fc7443f33ffb47f00d3370bf2b580a258b08858e81fd546634fc26fe9466eb extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( );...
{ "content_hash": "55a1a2c14d3bb30bf4c0e4c4fc3ab447", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 126, "avg_line_length": 30.01388888888889, "alnum_prop": 0.5705691809347524, "repo_name": "alexandrebgallant/blog.singularnetwork.ca", "id": "c7c14f7bda50eeea82e7c90308144116...
package com.gravity.goose import network.{HtmlFetcher, AbstractHtmlFetcher} import org.jsoup.nodes.Element import java.util.Date import scala.beans.BeanProperty import com.gravity.goose.extractors.{StandardContentExtractor, ContentExtractor, AdditionalDataExtractor, PublishDateExtractor} /** * Created by Jim Plus...
{ "content_hash": "7f35a09644f02b6b9a84dcbb7ca18e2e", "timestamp": "", "source": "github", "line_count": 111, "max_line_length": 135, "avg_line_length": 30.91891891891892, "alnum_prop": 0.7467948717948718, "repo_name": "jtsay362/goose", "id": "fdf3499d0eb2c83f1901257c8354b46fb02063bb", "size": "4217...
 #include <aws/monitoring/model/ListMetricStreamsRequest.h> #include <aws/core/utils/StringUtils.h> #include <aws/core/utils/memory/stl/AWSStringStream.h> using namespace Aws::CloudWatch::Model; using namespace Aws::Utils; ListMetricStreamsRequest::ListMetricStreamsRequest() : m_nextTokenHasBeenSet(false), ...
{ "content_hash": "dc9d67ab6116209bb636fc2f80d54668", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 77, "avg_line_length": 22.487179487179485, "alnum_prop": 0.7058152793614595, "repo_name": "aws/aws-sdk-cpp", "id": "775147bab22bd3d3e97d29366eb64536c747cea1", "size": "996"...
package Package; public class Class { //** Static variables. //** Static initializer. //** Instance variables. //** Instance initializer. //** Inner classes. //** Constructors. //** Static methods. //** Instance methods. }
{ "content_hash": "6326122388972aef70a0f94152d7930f", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 27, "avg_line_length": 11.476190476190476, "alnum_prop": 0.6224066390041494, "repo_name": "SummitStreet/launchpad", "id": "f13478e56b64f4027967344987e6ca54a7dd1ba2", "size"...
<?php function tweet($statusMessage) { $consumerKey = ''; $consumerSecret = ''; $oAuthToken = ''; $oAuthSecret = ''; if(file_exists('twitterpassword.php')) require_once('twitterpassword.php'); require_once('twitteroauth.php'); // twitteroauth.php points to OAuth.php // all files are in the same d...
{ "content_hash": "925cd4ba633c9be29a8f26a954610231", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 85, "avg_line_length": 22.130434782608695, "alnum_prop": 0.6777996070726916, "repo_name": "mattgerstman/DMAssassins-1.0", "id": "fc78004f48c835cc31caf46f89e3306a2236cac6", ...
<?php namespace app\modules\api\models; use Yii; use \yii\db\ActiveRecord; use \yii\db\Query; class Comment extends ActiveRecord { const MAX_LEVEL = 3; const DIGIT = 2; public function rules() { return [ [['text', 'name', 'email'], 'required'], [['email'], 'email'],...
{ "content_hash": "765e252ad558d55ebae0531274a26eb9", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 107, "avg_line_length": 31.092307692307692, "alnum_prop": 0.49653636813458685, "repo_name": "ilyakonovaloff/yii2-rest-angular", "id": "5d8c2aa6a9a46868b7462878720b1ceef89a07...
.PHONY: all compile get-deps update-deps clean deep-clean rel all: rebar rel compile: get-deps ./rebar compile get-deps: ./rebar get-deps update-deps: ./rebar update-deps clean: ./rebar clean deep-clean: clean rm -rf deps/*/ebin/* rel: compile id_rsa ./relx -c _rel/relx.config rebar: wget -c https://gith...
{ "content_hash": "453bf584a49022020279040be141f728", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 61, "avg_line_length": 14.03225806451613, "alnum_prop": 0.7057471264367816, "repo_name": "ivanos/leviathan_node", "id": "45a3dd249dd28b3fb164c407ba06cf03922523a5", "size": ...
export Response, start, flush, done, send, sentcl, headerssent, clean, getclean, data, buffered, chunk, chuncked, file defaultresponseheaders() = headers([ ("Server" , "Julia/$(Base.VERSION) at $NAME/$VERSION"), ...
{ "content_hash": "07335c297c125779fe749e23e5076400", "timestamp": "", "source": "github", "line_count": 316, "max_line_length": 121, "avg_line_length": 24.414556962025316, "alnum_prop": 0.5765392093324693, "repo_name": "moisespsena/SimpleHttpCommon.jl", "id": "4efa884091af066127cb44aaee85b66403aa3b7c...
<?php namespace App\Image\Exception; class ErrorException extends \Exception {}
{ "content_hash": "95103d3dcfeb0b07b00ef02bf5cc1f54", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 39, "avg_line_length": 13.5, "alnum_prop": 0.7901234567901234, "repo_name": "meniam/app", "id": "7e74f87fbe422fc234949a4cfa73c1d535de3b17", "size": "81", "binary": false, ...
using System; using MonoTouch.UIKit; namespace Example_TableAndCellStyles.Code { /// <summary> /// Represents our item in the table /// </summary> public class TableItem { public string Heading { get; set; } public string SubHeading { get; set; } public string ImageName { get; set; } public UITabl...
{ "content_hash": "56ba9b417e96b45b5b8eb5b033df8aa4", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 83, "avg_line_length": 22.194444444444443, "alnum_prop": 0.7071339173967459, "repo_name": "bratsche/monotouch-samples", "id": "8742844b863e32f71fc4f368a93fa81ec4e0c7fc", "s...
#include "guiutil.h" #include "bitcoinaddressvalidator.h" #include "walletmodel.h" #include "bitcoinunits.h" #include "util.h" #include "init.h" #include "base58.h" #include <QString> #include <QDateTime> #include <QDoubleValidator> #include <QFont> #include <QLineEdit> #include <QUrl> #include <QTextDocument> // For ...
{ "content_hash": "61d8571d41e0b4fc496b133b5f00a16a", "timestamp": "", "source": "github", "line_count": 463, "max_line_length": 117, "avg_line_length": 29.168466522678187, "alnum_prop": 0.6154757497223251, "repo_name": "elkingtowa/alphacoin", "id": "80da9a3422f0b5af7facdb006cb87b9e6fb7aac6", "size"...
const jwt = require('jsonwebtoken'); const keys = require('../config/keys.js'); exports.generateToken = (req, res, next) => { req.token = genToken(req); return next(); }; exports.socialGenerateToken = (req, res, next) => { if (req.params.token === req.session.genTokenHash) { req.session.genTokenHash = null;...
{ "content_hash": "3ba6382d7b785b6163cc632e2e38ab9c", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 54, "avg_line_length": 19.586206896551722, "alnum_prop": 0.596830985915493, "repo_name": "hutchgrant/react-boilerplate", "id": "f9c0404d2770eed0b959b8d73053049d59def4ed", "...
package com.elvis.storyboard; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; import android.widget.ListView; import android.widget.TextView; import java.util.List...
{ "content_hash": "8593f3c132b44977af25d2603bf15019", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 90, "avg_line_length": 31.977777777777778, "alnum_prop": 0.6587908269631688, "repo_name": "f-enye/hackathon", "id": "a10e63671cd4b8160961bfd5fcec81977746030e", "size": "143...
(function() { var Parallax = function(element, options) { this.element = element; this.$element = $(element); this.options = options; this.metadata = this.$element.data('options'); }; Parallax.prototype = { defaults: { speed: 0.5, start: 0 }, ...
{ "content_hash": "3f6a7e91ad956dec4d8db1e38b9c9d23", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 127, "avg_line_length": 25.772727272727273, "alnum_prop": 0.5414462081128748, "repo_name": "jamcow/alloy", "id": "58860ce0b872e396f188b70309419dfce56ec245", "size": "1134",...
<?php namespace RearEngine\Test\TestCase\Controller\Admin; use RearEngine\Controller\Admin\CellsController; use Cake\TestSuite\IntegrationTestCase; /** * RearEngine\Controller\Admin\CellsController Test Case */ class CellsControllerTest extends IntegrationTestCase { /** * Fixtures * * @var array */ public $fi...
{ "content_hash": "359a98686b2edfcea060506e598be385", "timestamp": "", "source": "github", "line_count": 66, "max_line_length": 59, "avg_line_length": 16.09090909090909, "alnum_prop": 0.6883239171374764, "repo_name": "mindforce/cakephp-rear-engine", "id": "e2f81d1231c84b3b24eceaea4ef99a7bbc0cd28c", ...