text
stringlengths
2
1.04M
meta
dict
/** * Created by syntaxfish on 14. 11. 1.. */ module.exports = { playGoogle: require('./playGoogle.js'), amazon: require('./amazon.js'), market360: require('./market360.js'), tstore: require('./tstore.js') };
{ "content_hash": "e184cf4cba190fdbb8419a85ecc34686", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 43, "avg_line_length": 22.7, "alnum_prop": 0.6035242290748899, "repo_name": "haruio/haru-nodejs-monetization", "id": "73c40bacf18dc895cf5676e0348ec4bd0c6442cc", "size": "22...
package org.innovateuk.ifs.application.domain; import lombok.*; import org.innovateuk.ifs.application.repository.ApplicationEoiEvidenceStateConverter; import org.innovateuk.ifs.application.resource.ApplicationEoiEvidenceState; import org.innovateuk.ifs.user.domain.ProcessRole; import org.innovateuk.ifs.workflow.domain...
{ "content_hash": "98163ae481c998870181339b46fb9b69", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 148, "avg_line_length": 37.22222222222222, "alnum_prop": 0.7955223880597015, "repo_name": "InnovateUKGitHub/innovation-funding-service", "id": "17d13e51dc4601f7347af065cca562...
FROM balenalib/amd64-alpine:3.10-run LABEL io.balena.device-type="up-core-plus" RUN apk add --update \ less \ nano \ net-tools \ ifupdown \ usbutils \ gnupg \ && rm -rf /var/cache/apk/* RUN [ ! -d /.balena/messages ] && mkdir -p /.balena/messages; echo $'Here are a few details about this Docker image (Fo...
{ "content_hash": "001375c77035aaae78f9938c7907b2a3", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 631, "avg_line_length": 57.22222222222222, "alnum_prop": 0.6980582524271844, "repo_name": "nghiant2710/base-images", "id": "13995cd4c606e34e29b146e80b1a161ab8bacfb0", "size...
NS_ASSUME_NONNULL_BEGIN @interface CalendarConfigViewController : UITableViewController @property (assign, nonatomic) NSInteger theme; @property (assign, nonatomic) BOOL lunar; @property (assign, nonatomic) NSUInteger firstWeekday; @property (assign, nonatomic) FSCalendarScrollDirection scrollDirec...
{ "content_hash": "8c97e53492d3ceb42f4b2a90c84a87b8", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 72, "avg_line_length": 31.923076923076923, "alnum_prop": 0.763855421686747, "repo_name": "rafaelcpalmeida/UFP-iOS", "id": "5f01b008d59dda95f1537a9cbfa69fa6f8f8349e", "size"...
package pl.mk5.gdx.fireapp.html.firebase; class FirebaseJS { private FirebaseJS() { // } static native void initializeFirebase(String initializationScript) /*-{ console.log("GdxFireapp: initialization script..."); eval(initializationScript); var interval = $wnd.setInterv...
{ "content_hash": "b1c724b0970cd5539bdf9cd93841ac32", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 88, "avg_line_length": 27.666666666666668, "alnum_prop": 0.6144578313253012, "repo_name": "mk-5/gdx-fireapp", "id": "a8a72c69d941b7dcf03f900da1adfa74feebc967", "size": "141...
sap-preconfigure ================ This role configures a RHEL 7 or RHEL 8 system according to applicable SAP notes so that any SAP software can be installed. Future implementation may reduce the scope of this role, for example if certain installation or configuration steps are done in more specialized roles. Requirem...
{ "content_hash": "fafcda17c98067017279d7f8f5c6116e", "timestamp": "", "source": "github", "line_count": 130, "max_line_length": 316, "avg_line_length": 35.50769230769231, "alnum_prop": 0.7422010398613518, "repo_name": "GoogleCloudPlatform/sap-deployment-automation", "id": "ea7f2e678c734654d52b80916c3...
/** * Host class - hosts are those who initialize meetings and view the results */ package objectFiles; public class Host extends User{ private String password; private String email; /** * Constructor */ public Host() { } public Host(String username, String password, String email) { super(username...
{ "content_hash": "adfdafff10fd3fca0758d04a139195b2", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 76, "avg_line_length": 18.4, "alnum_prop": 0.6528132992327366, "repo_name": "matthewandrous/Chronos", "id": "a978a4c1dce7a16e2b825bf39437b48d6991a75f", "size": "1564", "b...
package com.codeest.geeknews.ui.main.activity; import android.content.Intent; import android.widget.ImageView; import android.widget.TextView; import com.bumptech.glide.Glide; import com.codeest.geeknews.R; import com.codeest.geeknews.base.BaseActivity; import com.codeest.geeknews.component.ImageLoader; import com.co...
{ "content_hash": "141a5a048c334e75b67db62b4fb3e7f7", "timestamp": "", "source": "github", "line_count": 69, "max_line_length": 103, "avg_line_length": 26.565217391304348, "alnum_prop": 0.707583196944899, "repo_name": "weiwenqiang/GitHub", "id": "a384a8f7e27fe5d17b83bbfefa1d33e17e28ef88", "size": "1...
<?xml version = "1.0" encoding = "UTF-8"?> <INPUT> <MEDALS> <MEDAL Id="1" MEDAL_THRESHOLD="45000" TYPE="Gold"/> <MEDAL Id="2" MEDAL_THRESHOLD="70000" TYPE="Silver"/> <MEDAL Id="3" MEDAL_THRESHOLD="95000" TYPE="Bronze"/> </MEDALS> <SpeedSettings Min="0" Max="150" Default="18"/> <PenaltySettings TimeL...
{ "content_hash": "46284a4da7c98766f3a36f7bfda1c689", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 57, "avg_line_length": 25.25980392156863, "alnum_prop": 0.5901416650494857, "repo_name": "CarnegieLearning/MathFluency", "id": "dd3a0787a98f8c9a2dea50fca850ad9adc391b9e", ...
require File.dirname(__FILE__) + '/../../../spec_helper' require 'rexml/document' describe "REXML::Text.unnormalize" do it "unescapes a string with the values defined in SETUTITSBUS" do REXML::Text.unnormalize("&lt; &gt; &amp; &quot; &apos;").should == "< > & \" '" end end
{ "content_hash": "d40f0665c1560aec0905bd4d7bd7271c", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 83, "avg_line_length": 35.5, "alnum_prop": 0.6408450704225352, "repo_name": "ujihisa/rubyspec", "id": "1aa3d7bf5804ebec042f137fa48ae921e92a3c77", "size": "284", "binary": ...
<?php namespace Drupal\block_content; use Drupal\Core\Entity\BundleEntityFormBase; use Drupal\Core\Entity\EntityTypeInterface; use Drupal\Core\Form\FormStateInterface; use Drupal\language\Entity\ContentLanguageSettings; /** * The block content type entity form. * * @internal */ class BlockContentTypeForm extends...
{ "content_hash": "e20b99649573700a8286dc1e0f684015", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 128, "avg_line_length": 33.48695652173913, "alnum_prop": 0.5829654635159699, "repo_name": "electric-eloquence/fepper-drupal", "id": "80eced316c5289fb3d420b4a8d6a6e7ea82db4fd...
(function() { var BufferView, FuzzyFinderView, _, __hasProp = {}.hasOwnProperty, __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new c...
{ "content_hash": "c720027bfd8366bac4e726107c47d1ff", "timestamp": "", "source": "github", "line_count": 59, "max_line_length": 292, "avg_line_length": 30.677966101694917, "alnum_prop": 0.5883977900552486, "repo_name": "dwings/atom-windows", "id": "80d844e38bc9b0747d1160821e579a531d8fc8e5", "size": ...
package org.pentaho.di.ui.core.dialog; import java.util.ArrayList; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.ShellAdapter; import org.eclipse.swt.events.ShellEvent; import org.eclipse.swt.layout.Form...
{ "content_hash": "bba9b9384de62181be7a5c762c7d3870", "timestamp": "", "source": "github", "line_count": 622, "max_line_length": 127, "avg_line_length": 32.89389067524116, "alnum_prop": 0.5885630498533725, "repo_name": "soluvas/pdi-ce", "id": "1a9406e6a7a1d763411d2d551e877c22cde9cc2d", "size": "2136...
require 'yaml' module ConfigFiles class << self [:schema, :form, :seed].each do |file| define_method(file) { retreive_from_yaml(file) } end private def retreive_from_yaml(file_name) YAML.load_file(path(file_name)) end def path(file_name) File.expand_path("../../../config/...
{ "content_hash": "818881c95cea301951f0f47b65f4706b", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 68, "avg_line_length": 19.31578947368421, "alnum_prop": 0.5994550408719346, "repo_name": "static-publisher/static-publisher", "id": "2ec6b3052ddd1aaae5df7d0452e55b41eedd0a3f"...
package ehc.net; import java.util.ArrayList; import org.json.JSONException; import org.json.JSONObject; import ehc.net.R; import gcmService.GCM.TaskRegisterGCM; import serverConnection.Post; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android....
{ "content_hash": "b3e3df2a0bbb90f09d17417ee767c784", "timestamp": "", "source": "github", "line_count": 266, "max_line_length": 111, "avg_line_length": 27.725563909774436, "alnum_prop": 0.5764067796610169, "repo_name": "EverywhereHouseControl/Android-App", "id": "9cabfc7bc865e64eced28030269f67ed5be8b...
<?php use Database\Tester\Models\Author; use Database\Tester\Models\Post; use Database\Tester\Models\Meta; class MorphOneModelTest extends PluginTestCase { public function setUp() { parent::setUp(); include_once base_path().'/tests/fixtures/plugins/database/tester/models/Author.php'; ...
{ "content_hash": "aeab64ce657f729ec4b54a104b5558c5", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 93, "avg_line_length": 36.53846153846154, "alnum_prop": 0.5396491228070175, "repo_name": "wintersunsunsun/yamada", "id": "d8cb43ca3010d18ebfb9b2da72dc5ba1db6405e4", "size"...
// // Session上传(普通上传).m // codeLib // // Created by ftxbird on 14-6-7. // Copyright (c) 2014年 ftxbird. All rights reserved. // #pragma mark - 简单上传 // - (void)uploadFile { // 1. URL NSURL *fileURL = [[NSBundle mainBundle] URLForResource:@"head8.png" withExtension:nil]; NSURL *url = [NSURL URLWithString:...
{ "content_hash": "bf7bcb4070db45ba5fe7521f1509cb2d", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 167, "avg_line_length": 28.814814814814813, "alnum_prop": 0.6394601542416453, "repo_name": "lf5827955/IOS-Code-library", "id": "a20a325d7cd32ce58705c449e3fd867f102e2e6d", "...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
{ "content_hash": "68fb8bb8f5e17e5c3b616be929fd8186", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 182, "avg_line_length": 40.74766355140187, "alnum_prop": 0.7153669724770643, "repo_name": "googleapis/google-api-java-client-services", "id": "275feb4624b5db7e8f6c5aa6ed89c3...
package main import ( "flag" "fmt" "net/http" "github.com/codegangsta/negroni" "github.com/gorilla/mux" "github.com/ryanbillingsley/blackmagic" ) func main() { mongoUrl := flag.String("mongo", "localhost", "The mongo db address. It can be as simple as `localhost` or involved as `mongodb://myuser:mypass@loca...
{ "content_hash": "1fee9bdf9be81029476b9e69cd45a01f", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 185, "avg_line_length": 23.095238095238095, "alnum_prop": 0.7003436426116838, "repo_name": "ryanbillingsley/blackmagic", "id": "5ac406bb0b6b2789485a2d1fa3edc438440e1b8e", "...
import { Camera } from "./three-core"; export class VRControls { constructor(camera: Camera, callback?: (param: string) => void); /** * Update VR Instance Tracking */ update(): void; zeroSensor(): void; scale: number; setVRDisplay(display: VRDisplay): void; }
{ "content_hash": "9a0e8d65d347ed8fed9a6080c4bee171", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 68, "avg_line_length": 18.6875, "alnum_prop": 0.6120401337792643, "repo_name": "AgentME/DefinitelyTyped", "id": "22d997433837eecb47695a925dea7abc4ad37c82", "size": "299", ...
package com.limagiran.hearthstone.evento; import com.limagiran.hearthstone.card.control.Card; import com.limagiran.hearthstone.util.*; import com.limagiran.hearthstone.heroi.control.JogouCardException; import com.limagiran.hearthstone.partida.control.Partida; import com.limagiran.hearthstone.partida.util.EscolherMesa;...
{ "content_hash": "6ef084c21b81488e350d0d01768e83d7", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 117, "avg_line_length": 32.90243902439025, "alnum_prop": 0.5586854460093896, "repo_name": "limagiran/hearthstone", "id": "f63a3de299385da77acd6b3e58b2b3d99743eca7", "size"...
using Newtonsoft.Json; namespace musicParser.MetalArchivesAPI { public class BandDTO { public BandData data { get; set; } } public class BandData { public string id { get; set; } public BandDetails details { get; set; } public string band_name { get; s...
{ "content_hash": "c9129f0f8a0be00121001eb1dbc65e7b", "timestamp": "", "source": "github", "line_count": 55, "max_line_length": 58, "avg_line_length": 31.2, "alnum_prop": 0.5623543123543123, "repo_name": "lorenzonicolas/MusicParser", "id": "5db9ff09b8d9ff5fb78eb6911eae9af1c986e579", "size": "1718", ...
import abc import logging from django.db import models from django.utils import timezone from framework import sentry from osf.exceptions import ValidationValueError, ValidationTypeError from osf.utils.datetime_aware_jsonfield import DateTimeAwareJSONField from osf.utils.fields import NonNaiveDateTimeField from osf.ut...
{ "content_hash": "d0b20b72246401db2a53ada3600c0110", "timestamp": "", "source": "github", "line_count": 268, "max_line_length": 108, "avg_line_length": 35.48134328358209, "alnum_prop": 0.5985908087075402, "repo_name": "Johnetordoff/osf.io", "id": "b650878fbb48cc28a6362eabc232d47daaf5a403", "size": ...
/******/ (function(modules) { // webpackBootstrap /******/ // install a JSONP callback for chunk loading /******/ var parentJsonpFunction = window["webpackJsonp"]; /******/ window["webpackJsonp"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) { /******/ // add "moreModules" to the modules o...
{ "content_hash": "5ab08fb50efb5e0cbdeda5155809b337", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 128, "avg_line_length": 38.275862068965516, "alnum_prop": 0.5398198198198199, "repo_name": "youssefhabri/habri-site", "id": "2921e168e12ece3d0d7cf083f379cce81d6e4a37", "si...
package models import ( "testing" "github.com/stretchr/testify/assert" ) func TestUser_IsOwnedBy(t *testing.T) { assert.NoError(t, PrepareTestDatabase()) org := AssertExistsAndLoadBean(t, &User{ID: 3}).(*User) assert.True(t, org.IsOwnedBy(2)) assert.False(t, org.IsOwnedBy(1)) assert.False(t, org.IsOwnedBy(3))...
{ "content_hash": "7e9c68f472f8024552e7df22c78098ab", "timestamp": "", "source": "github", "line_count": 519, "max_line_length": 87, "avg_line_length": 31.283236994219653, "alnum_prop": 0.7112589307711259, "repo_name": "cumgun/gitea", "id": "8f59af0744a813459ca3f127a94e75a42a8561c4", "size": "16399"...
package net.afnf.blog.web; import java.io.IOException; import java.util.List; import javax.servlet.ServletOutputStream; import javax.servlet.http.HttpServletResponse; import net.afnf.blog.common.MyFunction; import net.afnf.blog.domain.Entry; import net.afnf.blog.service.EntryService; import org.apache.c...
{ "content_hash": "24394d8962ab433d638a38f783dc8447", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 143, "avg_line_length": 32.96923076923077, "alnum_prop": 0.6014932337844143, "repo_name": "af-not-found/blog-java1", "id": "2e86a6315cd7424bef688a5914556025efa12103", "size...
<!DOCTYPE html> <html lang="en"> <head> <title>Homepage</title> <!-- jQuery --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <!-- Bootstrap --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <link rel="stylesheet" type="text/...
{ "content_hash": "0b9efaf437ed77c93606a7f3b094d4e9", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 184, "avg_line_length": 62.77777777777778, "alnum_prop": 0.6922320550639135, "repo_name": "Etwigg/Examples", "id": "7da9deb064c6d192207561d71f225f560230713c", "size": "5085...
using GraphX; using QuickGraph; using System; using System.Collections.Generic; using System.Linq; using System.Windows; using GraphX.PCL.Common.Enums; using GraphX.PCL.Logic.Algorithms.LayoutAlgorithms; using GraphX.Controls; /* Some notes about the main objects and types in this example: * * GraphAreaExample - o...
{ "content_hash": "43cdd6ea3b359e0979ed791f70808dae", "timestamp": "", "source": "github", "line_count": 170, "max_line_length": 150, "avg_line_length": 54.4, "alnum_prop": 0.6739835640138409, "repo_name": "aliaspilote/TX52", "id": "72ee63dc6c137a88479d886598adb8dabf3406cd", "size": "9250", "binar...
@charset "UTF-8"; /*! normalize.css v3.0.1 | MIT License | git.io/normalize */ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; ...
{ "content_hash": "1c262c8f8fdbf8199e91f0c1ed1652dd", "timestamp": "", "source": "github", "line_count": 5439, "max_line_length": 540, "avg_line_length": 25.871116013973158, "alnum_prop": 0.635996674081286, "repo_name": "jeffboulay/interval-trainer", "id": "3bfc2d30aebdc3f2deb78d5738f51cc782f81540", ...
from __future__ import absolute_import import six from time import time from sentry.exceptions import InvalidConfiguration from sentry.ratelimits.base import RateLimiter from sentry.utils.hashlib import md5_text from sentry.utils.redis import get_cluster_from_options class RedisRateLimiter(RateLimiter): window...
{ "content_hash": "9b4e11ee48e82deb03b0a9abbee9f821", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 95, "avg_line_length": 28, "alnum_prop": 0.6215986394557823, "repo_name": "JackDanger/sentry", "id": "e7aaeea90eec21e56476ac45b90befd1de7c5dc5", "size": "1176", "binary":...
"""Constants for Owlet component.""" SENSOR_OXYGEN_LEVEL = "oxygen_level" SENSOR_HEART_RATE = "heart_rate" SENSOR_BASE_STATION = "base_station_on" SENSOR_MOVEMENT = "movement"
{ "content_hash": "be807533f3c309c0d18281824c54e7ef", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 39, "avg_line_length": 29.5, "alnum_prop": 0.7344632768361582, "repo_name": "Cinntax/home-assistant", "id": "f145100dbc41bd43aa9a140f178ee61c8e75f09a", "size": "177", "bin...
find_path( GEOS_INCLUDE_DIR geos/geom/Geometry.h PATHS /usr/include /usr/local/include /usr/local/ossim/include ) # Find GEOS library: find_library( GEOS_LIB NAMES geos PATHS /usr/lib64 /usr/lib /usr/local/lib /usr/local/ossim/lib ) # Find GEOS C library: find_library( GEO...
{ "content_hash": "e391459ed03d073051f84233998d5fe1", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 70, "avg_line_length": 25.306122448979593, "alnum_prop": 0.660483870967742, "repo_name": "malasiot/ws", "id": "0ee16259bf5a624b2cf2b2c4b8d92d69cb1047f7", "size": "2147", ...
package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.Encoder; /** * @author Rohan Doshi * * This class utilizes shaft encoders to allow the robot to go an exact distance during the autonomous period. */ public class DriveEncoder { private Encoder driveEncoder; // initialize field pri...
{ "content_hash": "11cb3b8920381c95d7f66c1dd6c57418", "timestamp": "", "source": "github", "line_count": 94, "max_line_length": 114, "avg_line_length": 23.74468085106383, "alnum_prop": 0.6025985663082437, "repo_name": "TechnoTitans/TitanWare2013", "id": "1608627655706b0dafcb31bacd4a658099b20403", "s...
class TaMembership < Membership validate :must_be_a_ta after_create { Repository.get_class.update_permissions } after_destroy { Repository.get_class.update_permissions } def must_be_a_ta if user && !user.is_a?(Ta) errors.add('base', 'User must be a ta') false end end def self.from_csv(as...
{ "content_hash": "6c16f933b6fe99b500fddf717e6aae05", "timestamp": "", "source": "github", "line_count": 54, "max_line_length": 92, "avg_line_length": 29.37037037037037, "alnum_prop": 0.6368221941992434, "repo_name": "benjaminvialle/Markus", "id": "cbb244e1b2adaa047c656f9fbcc538ff72dea0bd", "size": ...
import sys import wmi import ctypes import time #For Development DEBUG = True FAIL_SILENTLY = False #For Code ONE_TIME_ALERT_ONLY = True ShouldStartCharging = True ShouldStopCharging = True connect_charger = """Battery Level < 40% Charging State : Disconnected *** CONNECT CHARGER ***""" disconnect_charger = """Bat...
{ "content_hash": "2c28a6257d0678e6271dd916dc8303ef", "timestamp": "", "source": "github", "line_count": 106, "max_line_length": 75, "avg_line_length": 26.70754716981132, "alnum_prop": 0.6114447191805016, "repo_name": "nitred/batterylevelalert", "id": "44d10fc344a1e59c4ab43be50eed0eb2d500251b", "siz...
package com.utilis.game; import com.utilis.Utilis; public class Execute { public static String version = "v. 1.2"; public static void main(String[] args) { System.out.println("UtiliGame " + version + ","); System.out.println("using Utilis " + Utilis.version + "."); } }
{ "content_hash": "49496e1b30041bf9e2849d0e90ec2439", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 61, "avg_line_length": 18.1875, "alnum_prop": 0.6494845360824743, "repo_name": "Cin316/UtiliGame", "id": "2e06df0c2a423a89d5c5ac51eeebac2261417353", "size": "291", "binar...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0; url=/docs/deployment-architecture/ztaa"> <link rel="canonical" href="/docs/deployment-architecture/ztaa" /> </head> <script> window.location.href = '/docs/deployment-architecture/ztaa' + window.location.sea...
{ "content_hash": "51162701fad50d51ee87624ee96a9100", "timestamp": "", "source": "github", "line_count": 11, "max_line_length": 112, "avg_line_length": 33.36363636363637, "alnum_prop": 0.6839237057220708, "repo_name": "qrkourier/qrkourier.github.io", "id": "fa06f227fabb09d57ca677b8624c5114a833b661", ...
using System; using System.CodeDom; using System.CodeDom.Compiler; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Globalization; using System.Linq; using System.Reflection; using System.Security.Principal; using OpenRiaServices.DomainServices; u...
{ "content_hash": "23b9ee4c9bcf72df28011569e4f72bb1", "timestamp": "", "source": "github", "line_count": 536, "max_line_length": 185, "avg_line_length": 46.11380597014925, "alnum_prop": 0.5503499615649149, "repo_name": "STAH/OpenRiaServices", "id": "780de33a4a3a2f2bf745ad12e9c9669dcb6bc53e", "size":...
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("Ma...
{ "content_hash": "9a2bc494bd9f7fe45bd9ca050dd376a2", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 84, "avg_line_length": 38.75, "alnum_prop": 0.7448028673835125, "repo_name": "RuzmanovDev/Telerik-Academy-Season-2016-2017", "id": "7614c821e045d3093017c3b98db7d01b05913801",...
package org.beansugar.oauth.services.signature; /** * Signs a base string, returning the OAuth signature * * @author Pablo Fernandez */ public interface SignatureService { /** * Returns the signature * * @param baseString url-encoded string to sign * @param apiSecret api secret for your app * @param ...
{ "content_hash": "671d78ac52e721329699d0f15badb573", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 78, "avg_line_length": 24.88, "alnum_prop": 0.7266881028938906, "repo_name": "archmagece-backyard/bs-scribe-java", "id": "adf44c9d7f4e7afa0634be14a79281b0186da7c3", "size":...
<?php namespace MwBundle\Report; use AppBundle\Report\AbstractReport; use AppBundle\Report\Grid; use MwBundle\Entity\Klant; use MwBundle\Service\KlantDao; class Resultaten extends AbstractReport { protected $title = 'Resultaten'; protected $xPath = 'type'; protected $yPath = 'locatienaam'; protec...
{ "content_hash": "c85bb93c3788a82854a2a69f116260ce", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 70, "avg_line_length": 21.313253012048193, "alnum_prop": 0.5432447710570945, "repo_name": "deregenboog/ecd", "id": "ba7e685872a199854eb397d211f41f164d95f0fe", "size": "1769...
cask "xampp7" do version "7.4.29-1" sha256 "c21aa7631a6ed075a1aae991c11188238cf7c9bca6e19c2cd4fe41884651686b" url "https://downloadsapachefriends.global.ssl.fastly.net/xampp-files/#{version.split("-").first}/xampp-osx-#{version}-installer.dmg", verified: "downloadsapachefriends.global.ssl.fastly.net/xampp-...
{ "content_hash": "cf6c0d690d9d21cc30d6eea84fd4cf5f", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 136, "avg_line_length": 36.193548387096776, "alnum_prop": 0.6319073083778967, "repo_name": "mahori/homebrew-cask-versions", "id": "dab13c77565524666ad22f33819f283313e98323", ...
<?php /*----------------------------------------------------------------------------*/ namespace Apps\Wiki\Views; class Main extends \Libs\View { public function resolveConstants() { $actors = \Libs\Session::current()->actors(); $actors->{'format'} = 'Actors\Format'; $actors->{'children'} = 'Actors...
{ "content_hash": "8fd472913a93fef82c4c4148ea4055e1", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 80, "avg_line_length": 25.5, "alnum_prop": 0.5017301038062284, "repo_name": "brendo/wiki", "id": "214d3551437a771a8101cc800d6b8fdae81590dc", "size": "867", "binary": fals...
define({ "instruction": "Stvorite sadržaj koji se prikazuje u ovom widgetu.", "defaultContent": "Ovdje dodajte tekst, poveznice i male grafičke elemente.", "productVersion": "Verzija proizvoda: ", "kernelVersion": "Verzija jezgre sustava: " });
{ "content_hash": "1dd8e1517b511d9f2b68e39410c4a364", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 79, "avg_line_length": 42, "alnum_prop": 0.7261904761904762, "repo_name": "tmcgee/cmv-wab-widgets", "id": "7d73f5d9ba2337621996b44f3af5c72c80cd41a0", "size": "254", "binar...
package org.rythmengine.spring.web; import org.osgl.util.E; import org.osgl.web.util.UserAgent; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.util.Arrays; import java.util.List; /** * Created by IntelliJ IDEA. * User:...
{ "content_hash": "ae9e29318c3224969d250cb6021501e4", "timestamp": "", "source": "github", "line_count": 60, "max_line_length": 105, "avg_line_length": 35.083333333333336, "alnum_prop": 0.6479809976247031, "repo_name": "greenlaw110/spring-rythm", "id": "733f8bef82feacf48dc7b710bccc3934f3cb3a08", "si...
<!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_72) on Wed Nov 05 20:55:09 EST 2014 --> <title>MerkleTree (apache-cassandra API)</title> <meta name="date" content="2014-11-05"> <link ...
{ "content_hash": "ab5f96ca25dcc09f69fc2e1bc377d8e6", "timestamp": "", "source": "github", "line_count": 668, "max_line_length": 399, "avg_line_length": 45.4685628742515, "alnum_prop": 0.6728344253119547, "repo_name": "vangav/vos_backend", "id": "509d048d158af3a1116759769cef2b8170869ff3", "size": "3...
package com.nobullet.graph; import java.util.Optional; /** * Free form interface to calculate a position between self and other position. */ public interface VertexPosition { /** * Distance to other position. * * @param position Other position. * @return Distance as an {@link Optional} of ...
{ "content_hash": "daf47b009903a545f82963909042fab9", "timestamp": "", "source": "github", "line_count": 180, "max_line_length": 114, "avg_line_length": 29.733333333333334, "alnum_prop": 0.6195814648729447, "repo_name": "nobullet/library", "id": "094cd1b4c49c9f60f4fb404f19add092e56a9c2a", "size": "5...
export const API_ENDPOINT: string = 'https://qc-inpections.herokuapp.com/api';
{ "content_hash": "1dcc2ec902774c79227a5400064a00f8", "timestamp": "", "source": "github", "line_count": 1, "max_line_length": 78, "avg_line_length": 79, "alnum_prop": 0.759493670886076, "repo_name": "luispalacios270/frontend-cleanApp", "id": "952f1ed64baead97d4f484e149b6213a8e59f7ba", "size": "232"...
import { NavController, LoadingController, AlertController } from 'ionic-angular'; import { Component } from '@angular/core'; import { FormBuilder, Validators } from '@angular/forms'; import { AuthData } from '../../providers/auth-data'; import { EmailValidator } from '../../app/validators/email'; import { TabsPage } f...
{ "content_hash": "b23906068c7abcc76e01622c3c7cb8f4", "timestamp": "", "source": "github", "line_count": 51, "max_line_length": 101, "avg_line_length": 30.647058823529413, "alnum_prop": 0.6154830454254638, "repo_name": "civicreactor/CivicMobileApp", "id": "36b53b669d9dfe23aad2f97426a80dfc63679457", ...
package com.intellij.util.containers.hash; import com.intellij.util.DeprecatedMethodException; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import java.util.AbstractSet; import java.util.Iterator; import java.util.Set; /** * @deprecated Use {@link java.util.HashSet} */ @De...
{ "content_hash": "8b505674050f98e0ab681f698b6ab486", "timestamp": "", "source": "github", "line_count": 203, "max_line_length": 87, "avg_line_length": 23.935960591133004, "alnum_prop": 0.5933319613089113, "repo_name": "siosio/intellij-community", "id": "82fb0b0ad09e77037171e99d6c42e6d228c27efd", "s...
#include "config.h" #include "LevelDBDatabase.h" #if ENABLE(LEVELDB) #include "LevelDBComparator.h" #include "LevelDBIterator.h" #include "LevelDBSlice.h" #include <leveldb/comparator.h> #include <leveldb/db.h> #include <leveldb/slice.h> #include <string> #include <wtf/PassOwnPtr.h> #include <wtf/text/CString.h> #i...
{ "content_hash": "5e9408888a3a33c6acdf1cd5142c4690", "timestamp": "", "source": "github", "line_count": 136, "max_line_length": 99, "avg_line_length": 24.139705882352942, "alnum_prop": 0.6926591532135242, "repo_name": "mogoweb/webkit_for_android5.1", "id": "45876312acfbdd510e95906ae15e2f70b5aba4a2", ...
package androidx.test.ui.app.provider; import static com.google.common.base.Preconditions.checkNotNull; import android.Manifest.permission; import android.content.ContentProvider; import android.content.ContentValues; import android.content.pm.PackageManager; import android.database.Cursor; import android.net.Uri; ...
{ "content_hash": "f6686548d35b64a95e960ef82efa9068", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 99, "avg_line_length": 35.129629629629626, "alnum_prop": 0.6965383939553681, "repo_name": "android/android-test", "id": "bb57c53b966a70f015abdd8250f7e3b0b437b821", "size":...
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * This file implements the various access functions for the * PROC file system. It is mainly used for debuggi...
{ "content_hash": "7e3b1fbce14a3a772c3bb985be7acfba", "timestamp": "", "source": "github", "line_count": 544, "max_line_length": 81, "avg_line_length": 38.13970588235294, "alnum_prop": 0.7155870445344129, "repo_name": "publicloudapp/csrutil", "id": "3abd9d7a3adf323bd688b1ab6dabda1248c67be1", "size":...
from django.http import HttpResponse from django.shortcuts import render_to_response from ac_example.forms import ExampleForm def example(request): valid = False if request.GET: form = ExampleForm(request.GET) if form.is_valid(): valid = True else: form = ExampleForm() ...
{ "content_hash": "03cbd94bf25e55e24dc12f527161c7b1", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 79, "avg_line_length": 26.733333333333334, "alnum_prop": 0.6708229426433915, "repo_name": "henriquebastos/django-autocomplete", "id": "a7e9e20eaeb3744c0c3f60c4213a24319cd3362...
DROP VIEW v_Subj5Course CASCADE; CREATE OR REPLACE VIEW v_Subj5Course AS SELECT innerRel.x1 AS att1 FROM ( SELECT ca_0.individual AS x1 FROM concept_assertion ca_0 WHERE ca_0.concept=92 ) as innerRel
{ "content_hash": "b57602c41fdc5f166880061d9a4d3d6b", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 40, "avg_line_length": 25.25, "alnum_prop": 0.7871287128712872, "repo_name": "ghxiao/clipper", "id": "28b63b1a1e340a75a7b3c8cccd3a2de6dce6d212", "size": "202", "binary": f...
package com.mglezh.earthquakes.providers; import android.content.ContentProvider; import android.content.ContentUris; import android.content.ContentValues; import android.content.Context; import android.content.UriMatcher; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.da...
{ "content_hash": "d604d882d3e80d4047c836d7fe345fc6", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 119, "avg_line_length": 37.36969696969697, "alnum_prop": 0.6255270840090821, "repo_name": "mglezh/Android", "id": "ceba0371c20a6c02f6e10d6cc84fc328d068a6c2", "size": "6166...
<?php $installer = $this; /* @var $installer Mage_Catalog_Model_Entity_Setup */ $installer->run(" ALTER TABLE {$this->getTable('catalogsearch_query')} ADD `updated_at` DATETIME NOT NULL; ");
{ "content_hash": "9520448b7747b835ee464421360dc443", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 92, "avg_line_length": 22, "alnum_prop": 0.6767676767676768, "repo_name": "tbanov/magento-test-env", "id": "09811df6732f826273d05244c51ee8b215d2e533", "size": "1143", "bin...
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //--...
{ "content_hash": "2c02837dd8221285f4a80e096f7d01bd", "timestamp": "", "source": "github", "line_count": 26, "max_line_length": 151, "avg_line_length": 41.19230769230769, "alnum_prop": 0.5826330532212886, "repo_name": "Ebisu77/RoRAssist", "id": "f7575bf1da21cc706953169620d8a6f49e10a7fc", "size": "10...
#pragma once /** * Coroutine * @author xiao */ #include <stack> #include <cstdint> #include <ucontext.h> #include "commondefs.h" namespace ECor { struct CoroutineInfo { long used; char* stack; ucontext_t context; }; class CoroutineManager { const size_t size; const size_t stackSize; ...
{ "content_hash": "cc06f8d55c9b6edbe7dc952966cb0d09", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 134, "avg_line_length": 17.6734693877551, "alnum_prop": 0.687066974595843, "repo_name": "xhy940801/ECor", "id": "78973dc0f03bf442df104dfe437dd10a0dde19cd", "size": "866", ...
package org.apache.naming.core; import javax.naming.directory.Attributes; /** * Represents a binding in a NamingContext. All jtc contexts should * use this class to represent entries. * * @author Remy Maucherat * @author Costin Manolache */ public class NamingEntry { // -------------------------------...
{ "content_hash": "67c6742eb54d4b1272bc8721de2c5bd5", "timestamp": "", "source": "github", "line_count": 78, "max_line_length": 79, "avg_line_length": 22.371794871794872, "alnum_prop": 0.5432664756446991, "repo_name": "xianfengxiong/how-tomcat-work", "id": "ec159cd319f76174f27d6fb12fe3de9c700c674c", ...
FN="ragene11sttranscriptcluster.db_8.7.0.tar.gz" URLS=( "https://bioconductor.org/packages/3.8/data/annotation/src/contrib/ragene11sttranscriptcluster.db_8.7.0.tar.gz" "https://bioarchive.galaxyproject.org/ragene11sttranscriptcluster.db_8.7.0.tar.gz" "https://depot.galaxyproject.org/software/bioconductor-ragene11...
{ "content_hash": "8cf07ffa41c826ffbbb07b863c5dc162", "timestamp": "", "source": "github", "line_count": 45, "max_line_length": 153, "avg_line_length": 30.933333333333334, "alnum_prop": 0.6846264367816092, "repo_name": "joachimwolff/bioconda-recipes", "id": "afcd3d90b18f2ab350e132cb6136508cd8e99041", ...
package com.commerce4j.model.dto; /** * Item Type Data Transfer Object. * @author carlos.quijano * @version $Revision$ $Date$ */ public class TypeDTO extends AbstractBaseDTO { private Integer typeId; private String typeName; private String typeDesc; /** * Constructor, Creates a new type...
{ "content_hash": "6bdb32d49eb8827ce062742548433819", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 67, "avg_line_length": 20.35632183908046, "alnum_prop": 0.6386222473178995, "repo_name": "asiam9/commerce4j", "id": "2ded618239959ce2d295cfaf050ed05e147ca0dc", "size": "238...
server = YAML.load_file('fhir_server.yml') def test_practitioner(server, resource) RSpec.describe '#put' do begin result = fhir_put(server, resource) rescue => e puts e.inspect end it {expect(result.code).to eq 200} end RSpec.describe '#get' do ...
{ "content_hash": "6ba42a7e697b00e55df925a2964c6091", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 76, "avg_line_length": 21.783783783783782, "alnum_prop": 0.6042183622828784, "repo_name": "ImagingInformatics/hackathon-dataset", "id": "cbfe0712d27738394955d04b4e381464a795c...
module MakerJs.models { export class ConnectTheDots implements IModel { public paths: IPathMap = {}; constructor(isClosed: boolean, points: IPoint[]) { var connect = (a: number, b: number) => { this.paths["ShapeLine" + i] = new paths.Line(points[a], points[b]); ...
{ "content_hash": "c5b2b45bc0669e46353c71ceadcccbd9", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 83, "avg_line_length": 25.5, "alnum_prop": 0.46702317290552586, "repo_name": "bartuspan/maker.js", "id": "d15c1f2926be7110e61341c1c5a2d8288b0779be", "size": "561", "binar...
namespace miniini_private { ///Specifies various parts of a line line in ini file during loading. enum LineToken { ///Name - this is where we are until we reach '=' or '[' character. LT_NAME, ///Value - this is where we are after we reach '=' character. LT_VAL, ///Header - this is where we are when...
{ "content_hash": "9e465d7915d028bcce8b167dcb4271c2", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 80, "avg_line_length": 22.27777777777778, "alnum_prop": 0.6408977556109726, "repo_name": "XadillaX/node-simple-ini", "id": "96f2e0e3129bdcf6720dbeef764e02cce223e98c", "size...
using System; using System.Windows; using System.Windows.Controls.Primitives; using TUM.CMS.ExtendedVplControl.Ports; using TUM.CMS.VplControl.Core; namespace TUM.CMS.VplControl.VCCL.Ports.Input { public class TrueFalsePort : ExtendedPort { private readonly ToggleButton toggleButton; public T...
{ "content_hash": "5f1f334e6369be22496c5843fee1589a", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 100, "avg_line_length": 28.357142857142858, "alnum_prop": 0.6146095717884131, "repo_name": "corneliuspreidel/TUM.CMS.VPLControl", "id": "1b6d213ae0e026caa568229e300159e4ebaaa...
#import "UIColor+DGSCustomColor.h" /*! Function for creating UIColor instances using their hex * * Acceptable formats: * 0xAAAAAA * 0XAAAAAA * AAAAAA * #AAAAAA * (A – hexidecimal digit) **/ static UIColor *colorWithHexString(NSString *hexString); @implementation UIColor (DGSCustomColor)...
{ "content_hash": "f4980b9e22a050f1239af3f35c1696ef", "timestamp": "", "source": "github", "line_count": 191, "max_line_length": 109, "avg_line_length": 20.853403141361255, "alnum_prop": 0.6673361787597288, "repo_name": "teanet/Taksa", "id": "a366fd3c9c44c7c75d9142d57614415965a14ade", "size": "3985"...
class CreateTipoReclamos < ActiveRecord::Migration def change create_table :tipo_reclamos do |t| t.string :nombre t.timestamps null: false end end end
{ "content_hash": "e7b9e8d4607e5cec1e9cdefe3d7003e2", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 50, "avg_line_length": 19.555555555555557, "alnum_prop": 0.6875, "repo_name": "martinnicolas/ca", "id": "c20f0b0b4fc587a6a13e0ddf4a70e66699e10f3c", "size": "176", "binary"...
<!DOCTYPE html> <html ng-app="app"> <head> <title>Map swipe example</title> <meta charset="utf-8" /> <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width" /> <meta name="mobile-web-app-capable" content="yes" /> </head> <body ng-controller="MainController as ctrl">...
{ "content_hash": "afdcf635f383c21d3d559556eaf77f95", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 107, "avg_line_length": 41.31578947368421, "alnum_prop": 0.6471337579617834, "repo_name": "camptocamp/ngeo", "id": "d2c2ad41fc5687af2b9e333564356cb5219a0e96", "size": "785"...
package com.opensoc.alerts.server; import static java.util.concurrent.TimeUnit.SECONDS; import java.util.Properties; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import org.slf4j.Logger; import org.slf4j.LoggerFactory; impo...
{ "content_hash": "6e68093416b9bb43a7a90020c0303a07", "timestamp": "", "source": "github", "line_count": 43, "max_line_length": 103, "avg_line_length": 29.325581395348838, "alnum_prop": 0.7858842188739096, "repo_name": "caidongyun/opensoc-streaming", "id": "cec50b92765b5040e6e8489177d67dd8008ac8d7", ...
package fakecookies import ( "context" "encoding/json" "fmt" "html/template" "io" "net/http" "net/url" "sync" "golang.org/x/oauth2" "go.chromium.org/luci/auth/identity" "go.chromium.org/luci/common/errors" "go.chromium.org/luci/common/logging" "go.chromium.org/luci/common/retry/transient" "go.chromium....
{ "content_hash": "22d75ad28c1b485f4046875d093aebc8", "timestamp": "", "source": "github", "line_count": 396, "max_line_length": 294, "avg_line_length": 30.434343434343436, "alnum_prop": 0.6893461666113508, "repo_name": "luci/luci-go", "id": "8d50cf63b1619abd9befd3e48103f19abfcb9dbe", "size": "12870...
import React from 'react'; import { connect } from 'react-redux'; const CommentList = (props) => { const list = props.comments.map(comment => <li key={comment}>{comment}</li>); return ( <ul className="comment-list">{list}</ul> ); }; function mapStateToProps(state) { return { comments: state.comments }; }...
{ "content_hash": "9c685b77b03b1190e090bf4d21d87c3e", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 79, "avg_line_length": 23.5, "alnum_prop": 0.6808510638297872, "repo_name": "ctrl-alt-p/born-to-sell", "id": "1032c897ad2d6b158f313680e6188588f2cb55a5", "size": "376", "b...
var send = function(path) { var mime, file = new File(path); if(!file.isExists()) { response.sendError(404, 'Request resource not found'); return; } mime = require('/modules/mime.js'); response.addHeader('Content-Type', mime.getType(path)); file.open('r'); print(file....
{ "content_hash": "a8eb18008a02585c4fdb636ec2c55e22", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 62, "avg_line_length": 27.23076923076923, "alnum_prop": 0.5847457627118644, "repo_name": "ayshsandu/carbon-store-my", "id": "9913f7cf08e2810a4ac90247bcaaf13d17e6475f", "siz...
var hashchange = (function () { var exports = {}; var expected_hash; var changing_hash = false; // Some browsers zealously URI-decode the contents of // window.location.hash. So we hide our URI-encoding // by replacing % with . (like MediaWiki). exports.encodeHashComponent = function (str) { return encodeURICo...
{ "content_hash": "1fa6c9c3b4fca00203010e960ff81666", "timestamp": "", "source": "github", "line_count": 254, "max_line_length": 92, "avg_line_length": 31.338582677165356, "alnum_prop": 0.5806532663316583, "repo_name": "vikas-parashar/zulip", "id": "adb11e18d697783385fa268c55355a901d9e011a", "size":...
package org.zstack.test.network; import junit.framework.Assert; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.zstack.core.componentloader.ComponentLoader; import org.zstack.core.db.DatabaseFacade; import org.zstack.header.network.l2.L2NetworkInventory; import org.zstack.he...
{ "content_hash": "94d62145b40e46299ca2ebb604ba9fa6", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 145, "avg_line_length": 40.87931034482759, "alnum_prop": 0.720371151412906, "repo_name": "icanfly/zstack", "id": "362cf5d3743234b856fcbf0b6831d9b7e2870b93", "size": "2371",...
/* * Copyright, 1999-2012, salesforce.com All Rights Reserved Company Confidential */ package org.auraframework.service; import java.math.BigDecimal; import java.text.ParseException; import java.time.format.DateTimeParseException; import java.util.Calendar; import java.util.Date; import java.util.Locale; import jav...
{ "content_hash": "98b771e1db7b36e16033bc1358ebbde8", "timestamp": "", "source": "github", "line_count": 1209, "max_line_length": 119, "avg_line_length": 41.09842845326716, "alnum_prop": 0.6822572854612784, "repo_name": "madmax983/aura", "id": "fd44df634ed6b87c24b7d75d5a0244c6ebcaf3f4", "size": "502...
/* jshint node: true */ 'use strict'; module.exports = { name: 'ember-lazy-image', included: function emberLazyImageIncluded(app) { this._super.included(app); app.import('vendor/lazy-image/lazy-image.css'); } };
{ "content_hash": "f7d389d3133dbe4b151def85e20384de", "timestamp": "", "source": "github", "line_count": 12, "max_line_length": 51, "avg_line_length": 19.083333333333332, "alnum_prop": 0.6593886462882096, "repo_name": "RuslanZavacky/ember-lazy-image", "id": "f33a643588f1e771fc36f776bfcd97fc404261d2", ...
""" Installs and configures nova """ import os import uuid import logging import platform import socket from packstack.installer import basedefs, processors, utils, validators from packstack.installer.exceptions import ScriptRuntimeError from packstack.modules.shortcuts import get_mq from packstack.modules.ospluginu...
{ "content_hash": "1fc020145fa12fe0a2fc4e96840c0614", "timestamp": "", "source": "github", "line_count": 674, "max_line_length": 79, "avg_line_length": 41.253709198813056, "alnum_prop": 0.5701852184858839, "repo_name": "yuw726/openstack-packstack", "id": "04ad0c16a3af3da74f36625fa240877513886068", "...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>coinductive-examples: Not compatible 👼</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../boot...
{ "content_hash": "81133701c685dfe0f3189f833f4c5291", "timestamp": "", "source": "github", "line_count": 177, "max_line_length": 159, "avg_line_length": 41.45762711864407, "alnum_prop": 0.5581902425729082, "repo_name": "coq-bench/coq-bench.github.io", "id": "dfb9382013911638af1ebaf19db5fa7950c1dab6", ...
require("requirish")._(module); var BinaryStream = require("lib/misc/binaryStream").BinaryStream; var should = require("should"); var parseEndpointUrl = require("lib/nodeopcua").parseEndpointUrl; var HelloMessage = require("_generated_/_auto_generated_HelloMessage").HelloMessage; var packTcpMessage = require("lib/no...
{ "content_hash": "6950af208095c75014e56ddd1b1d4b71", "timestamp": "", "source": "github", "line_count": 72, "max_line_length": 84, "avg_line_length": 33.166666666666664, "alnum_prop": 0.6876046901172529, "repo_name": "rodp82/node-opcua", "id": "1dc0134619909b5e300ae74a3ff5e1b745d6720f", "size": "23...
package org.apache.druid.indexing.common.task; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Objects; import com.google.common.base.Preconditions; import org.apache.druid.common.utils.IdUtils; import org.apache.druid.indexer.Ta...
{ "content_hash": "589c4bd6d9ae25b97c55fdb2d941c4b1", "timestamp": "", "source": "github", "line_count": 205, "max_line_length": 119, "avg_line_length": 21.86341463414634, "alnum_prop": 0.677376171352075, "repo_name": "nishantmonu51/druid", "id": "23adeb6ff81a79d0230fe627eb30dac31ef08a63", "size": "...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/identity/accesscontextmanager/v1/service_perimeter.proto namespace Google\Identity\AccessContextManager\V1; if (false) { /** * This class is deprecated. Use Google\Identity\AccessContextManager\V1\ServicePerimeterConfig\EgressF...
{ "content_hash": "924aa4cc5bfdbe4d091f868ed3d77d54", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 252, "avg_line_length": 44.9375, "alnum_prop": 0.7983310152990264, "repo_name": "googleapis/google-cloud-php", "id": "04185f474aeec5ed57b5bbfbdb70d3adb159a5dd", "size": "71...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width"> <title></title> <link href="lib/ionic/css/ionic.css" rel="stylesheet"> <link href="css/style.css" rel="stylesheet"> <!-- <script src="ht...
{ "content_hash": "3d81178b722f352be1b7837846b68f4f", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 107, "avg_line_length": 32.3125, "alnum_prop": 0.6344294003868471, "repo_name": "magnusmel/ramisdance", "id": "4ca19a23095548c0419870746b2dd34acb7c50e7", "size": "1034", ...
package version import ( "testing" "github.com/stretchr/testify/assert" ) func TestVersionSetter(t *testing.T) { assert := assert.New(t) SetVersion("first") assert.Equal("first", Version) SetVersion("second") assert.Equal("first", Version) } func TestCommitSetter(t *testing.T) { assert := assert.New(t) ...
{ "content_hash": "1753b61a01b3122761a8420a481e0f18", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 38, "avg_line_length": 16.10810810810811, "alnum_prop": 0.697986577181208, "repo_name": "dgarlitt/urban-gopher", "id": "c6443030c6ba4a8e0270c3c4bc730fb0d762a9c5", "size": "...
var fw = require('knockout/build/output/knockout-latest'); var _ = require('footwork-lodash'); var ajax = require('../misc/ajax'); var util = require('../misc/util'); var privateDataSymbol = util.getSymbol('footwork'); var isNode = util.isNode; var isEvent = util.isEvent; /** * Performs an equality comparison betwe...
{ "content_hash": "10a9f5368a9cca29378e54965f9fe36a", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 162, "avg_line_length": 29.396039603960396, "alnum_prop": 0.6722802290333446, "repo_name": "jonbnewman/footwork", "id": "15969b8fab67939d3a1487c0e225a4eaa6586454", "size":...
 /** * @class */ CKEDITOR.dom.nodeList = function( nativeList ) { this.$ = nativeList; }; CKEDITOR.dom.nodeList.prototype = { count : function() { return this.$.length; }, getItem : function( index ) { var $node = this.$[ index ]; return $node ? new CKEDITOR.dom.node( $node ) : null; } };
{ "content_hash": "35cebb066c518a1397f765cb9330a3b7", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 55, "avg_line_length": 13.434782608695652, "alnum_prop": 0.598705501618123, "repo_name": "lushantingyue/Yii_1.1.x-demo-NewsCMS", "id": "5262ba3a0a9b37e09bfd59b6aaf52280e58a24...
//---------------------------------*-C++-*-----------------------------------// //---------------------------------------------------------------------------// #ifndef MC_geometry_Bounding_Box_hh #define MC_geometry_Bounding_Box_hh #include <iosfwd> #include "Utils/utils/Definitions.hh" #include "Utils/utils/Vector...
{ "content_hash": "d8cf9dd57831bfb8cef3cefe706c6d8d", "timestamp": "", "source": "github", "line_count": 89, "max_line_length": 79, "avg_line_length": 30.123595505617978, "alnum_prop": 0.4378963073480045, "repo_name": "ORNL-CEES/Profugus", "id": "089979d9e35f0d3ec76f7b5ba90e41d74ece4b38", "size": "2...
"""Public forms.""" from urllib.parse import urljoin, urlparse from flask import redirect, request, url_for from flask_wtf import FlaskForm from wtforms import HiddenField, PasswordField, StringField from wtforms.validators import DataRequired from personal_website.user.models import User def is_safe_url(target): ...
{ "content_hash": "5b2397d3719700cb8b77bc6314b6334c", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 85, "avg_line_length": 30.350649350649352, "alnum_prop": 0.6281557552417629, "repo_name": "arewellborn/Personal-Website", "id": "55ed90217c93f48bd30723d03934ad019b9a925a", ...
<dashboard> <div class="dasboard-toolbar" ui-view="toolbar"></div> <div ui-view="widgets"></div> </dashboard>
{ "content_hash": "226277cad85324a7e0145f91650f4822", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 58, "avg_line_length": 29.5, "alnum_prop": 0.6440677966101694, "repo_name": "apicatus/frontend", "id": "7252a8a456744753fbe9ff01ae3988fb911b07ec", "size": "118", "binary":...
package com.xruby.runtime.builtin; import com.xruby.runtime.lang.RubyAPI; import com.xruby.runtime.lang.RubyBlock; import com.xruby.runtime.lang.RubyConstant; import com.xruby.runtime.lang.RubyException; import com.xruby.runtime.lang.RubyID; import com.xruby.runtime.lang.RubyRuntime; import com.xruby.runtime.lang.Ru...
{ "content_hash": "f477eef59b94517c572d0ed2abb82175", "timestamp": "", "source": "github", "line_count": 108, "max_line_length": 110, "avg_line_length": 31.212962962962962, "alnum_prop": 0.698605754968852, "repo_name": "louisatome/rhodes", "id": "b8a5ca47417787f641c7ac34cf9df0c4f5546b3c", "size": "3...
//============================================================================================================= #ifndef FILE_UTILS_H #define FILE_UTILS_H //============================================================================================================= // INCLUDES //=====================================...
{ "content_hash": "8090f63cb9096189d9d400bc7fb6df3e", "timestamp": "", "source": "github", "line_count": 210, "max_line_length": 111, "avg_line_length": 37.34761904761905, "alnum_prop": 0.43146755068213694, "repo_name": "chdinh/mne-cpp", "id": "d4f01dc9d070e40b8eaa81fd7a193982cf4bec65", "size": "961...
step "Install MRI Puppet Agents." hosts.each do |host| puppet_version = test_config[:puppet_version] if puppet_version install_package host, 'puppet' else puppet_version = test_config[:puppet_version] variant, _, _, _ = host['platform'].to_array case variant when /^(debian...
{ "content_hash": "5ca3c824b1d5f59e9e148b60e34599cf", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 88, "avg_line_length": 26.923076923076923, "alnum_prop": 0.6314285714285715, "repo_name": "jpinsonault/puppetserver", "id": "97d6e384d9e49cd8ae02924d3c03b98bd4008324", "siz...
 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using IdentityManager.Extensions; using IdentityManager; namespace OpenIDConnect.IdentityManager { public class InMemoryIdentityManagerService : IIdentityManagerService { ICollection<InMemoryUser> users;...
{ "content_hash": "00d491c432e64d73b6a0519ccbdfa7e8", "timestamp": "", "source": "github", "line_count": 506, "max_line_length": 156, "avg_line_length": 36.741106719367586, "alnum_prop": 0.5207896293905653, "repo_name": "mtinning/openidconnect", "id": "f3b18a880f5d4efa59867dc510cefc831d84c039", "siz...
#ifndef BOOST_RANDOM_CONST_MOD_HPP #define BOOST_RANDOM_CONST_MOD_HPP #include <cassert> #include <boost/static_assert.hpp> #include <boost/cstdint.hpp> #include <boost/integer_traits.hpp> namespace boost { namespace random { /* * Some random number generators require modular arithmetic. Put * everything we nee...
{ "content_hash": "b14f57da1ee816ee523fc8b7f3536141", "timestamp": "", "source": "github", "line_count": 338, "max_line_length": 77, "avg_line_length": 22.83431952662722, "alnum_prop": 0.5722985229334024, "repo_name": "Ezeer/VegaStrike_win32FR", "id": "39819aef066ba8e5baacd544ebe96adbeec07f3f", "siz...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="fr"> <head> <!-- Generated by javadoc (version 1.7.0_51) on Sat May 17 15:31:38 CEST 2014 --> <title>WebContext (Luchess 1.0.0 API)</title> <meta name="date" content="2014-05-17"> <link re...
{ "content_hash": "c954731e6985f723f2e630790aa4f1bb", "timestamp": "", "source": "github", "line_count": 289, "max_line_length": 278, "avg_line_length": 33.65051903114187, "alnum_prop": 0.6350642673521851, "repo_name": "Elegie/luchess", "id": "9367b4442dc2de22795910a54f26a625bcb18e8b", "size": "9725...
<html> <head> <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link rel="stylesheet" href="image_demo.css" /> <script type="text/javascript" src="b64.js"></script> </head> <body> <image-demo> </image-demo> $SCRIPTS$ <!-- Compile...
{ "content_hash": "bd8d9aadaeac5810c9c1d2881eb41be5", "timestamp": "", "source": "github", "line_count": 19, "max_line_length": 116, "avg_line_length": 38.21052631578947, "alnum_prop": 0.6460055096418733, "repo_name": "zolfer/angular", "id": "1fd3521646b95d1b6e7c5ef6f421e4cb8d54623d", "size": "726",...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Collections; using System.Collections.Generic; using System.Collections.Immutable; using...
{ "content_hash": "56822b2592dee381d7620e81ff340b5c", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 246, "avg_line_length": 51.31428571428572, "alnum_prop": 0.6505196733481812, "repo_name": "sharwell/roslyn", "id": "96af759a55bb002e5458dc45d9789ccc5ba67887", "size": "539...
<?php /** * Add server * * @author Alireza Josheghani <josheghani.dev@gmail.com> * @since 29 Sep 2018 */ namespace Josh\Console\Commands; use Josh\Console\ConsoleStyle as Style; use Josh\Console\Models\Server; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; ...
{ "content_hash": "874ba0522aad1965cd1dd63ba1c5bf84", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 120, "avg_line_length": 27.13157894736842, "alnum_prop": 0.5431619786614937, "repo_name": "iamalirezaj/console", "id": "0bbd920fbdef0bf34b72946868f81045cd3f4192", "size": "...
PACKAGE_NAME=portable #PACKAGE_VERSION is configurable can be passed as an argument. PACKAGE_VERSION=${1:-v2.9.1} PACKAGE_URL=https://github.com/libressl-portable/portable yum install -y yum-utils git diffutils patch libtool automake autoconf make cmake OS_NAME=$(cat /etc/os-release | grep ^PRETTY_NAME | cut -d= -f2)...
{ "content_hash": "93f69623a7844b6dcfb7a43d397c3bb0", "timestamp": "", "source": "github", "line_count": 49, "max_line_length": 121, "avg_line_length": 35.734693877551024, "alnum_prop": 0.5996573386636208, "repo_name": "ppc64le/build-scripts", "id": "c7e48a84a85aa2f9595cf182742c13c054a653e3", "size"...
<?xml version="1.0" encoding="UTF-8"?> <search:options xmlns:search="http://marklogic.com/appservices/search"> <search:constraint name="Collection"> <search:collection/> </search:constraint> <search:constraint name="entity-type"> <search:value> <search:element ns="http://marklogic.com/entity-service...
{ "content_hash": "b050472b38064a3ea3d6c46e90234f5f", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 161, "avg_line_length": 44.563380281690144, "alnum_prop": 0.6994310998735778, "repo_name": "marklogic/data-hub-in-a-box", "id": "deef4a66f3d3d1b4a195bf922ff20d508f660db5", ...