text
stringlengths
2
1.04M
meta
dict
// // BWPhotoManager.m // Miss-Scarlett // // Created by mortal on 16/10/29. // Copyright © 2016年 mortal. All rights reserved. // #import "BWPhotoManager.h" #import <Photos/Photos.h> @implementation BWPhotoManager #pragma mark - 获取之前相册 + (PHAssetCollection *)fetchAssetColletion:(NSString *)albumTitle { /** ...
{ "content_hash": "641b1925c315a15017ddb16e27304831", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 167, "avg_line_length": 34.92063492063492, "alnum_prop": 0.6981818181818182, "repo_name": "mortal-master/Miss-Scarlett", "id": "fc0368eaccf955b4c7819e38f1efa451f576055e", "...
package it.polito.appeal.traci.protocol; import java.io.DataOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.zip.Checksum; import de.uniluebeck.itm.tcpip.Storage; /** * Represen...
{ "content_hash": "ba6d55fc21974f6af1abb4e58d22dd41", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 186, "avg_line_length": 27.50588235294118, "alnum_prop": 0.6757912745936698, "repo_name": "baumfalk/TrafficMAS", "id": "2e0fe0752806e8d16ee9bef95feff30848b6a5f4", "size": "...
import { clamp } from '../../utils'; import Scrollbar from 'smooth-scrollbar'; import { setStyle } from '../../utils/set-style'; const GLOW_MAX_OPACITY = 0.75; const GLOW_MAX_OFFSET = 0.25; export class Glow { private _canvas = document.createElement('canvas'); private _ctx = this._canvas.getContext('2d') as Can...
{ "content_hash": "00bada788f91b4e8c9c55c2f2620cf5d", "timestamp": "", "source": "github", "line_count": 161, "max_line_length": 83, "avg_line_length": 22.68944099378882, "alnum_prop": 0.6011497399397755, "repo_name": "idiotWu/smooth-scrollbar", "id": "2ed69b1053fb622b77848704de031f4276df042b", "siz...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_ncpy_65b.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml Template File: sources-sink-65b.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Initial...
{ "content_hash": "082d9c2a858e12f2ea918f6f26614b29", "timestamp": "", "source": "github", "line_count": 50, "max_line_length": 154, "avg_line_length": 31.74, "alnum_prop": 0.6622558286074354, "repo_name": "maurer/tiamat", "id": "33bef88ebeba5028c21e5256f1cd21fb9a7b98ea", "size": "1587", "binary":...
require "backbone_handlebars/version" require "backbone_handlebars/engine"
{ "content_hash": "ada1d53f34191ad061f55ecba36db874", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 37, "avg_line_length": 37.5, "alnum_prop": 0.84, "repo_name": "BlakeWilliams/backbone_handlebars", "id": "d171d72a27fbdbf43d1df7defdc7158417c3927b", "size": "75", "binary"...
stop_all_tasks() { cluster_name="${1}" task_arns="$(aws_cli ecs list-tasks --cluster "${cluster_name}" | jq_cli -r '.taskArns[]' )" if [[ "${task_arns}" ]]; then for arn in ${task_arns}; do aws_cli ecs stop-task --cluster "${cluster_name}" --task "$arn" done fi } case "${command}" in aws) ## [options] <com...
{ "content_hash": "3b80d099c726f42bf0578cd7f9c0f53d", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 93, "avg_line_length": 32.9375, "alnum_prop": 0.6072106261859582, "repo_name": "wheniwork/harpoon", "id": "1dc4e233b34ddddcc05c32232e8724a87246a46a", "size": "548", "bina...
Public Class frmStatCalc Private Sub WarCalc_Btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles WarCalc_Btn.Click frmWarriorCalc.Show() End Sub Private Sub MageCalc_Btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MageCalc_Btn.Click ...
{ "content_hash": "ba0d3343f3edaebd35cf382b031b5e18", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 123, "avg_line_length": 38.5, "alnum_prop": 0.7343565525383707, "repo_name": "AstoniaDev/VB_StatCalc", "id": "2df5f89c21f6e5da16f2356d4a586b055871ea38", "size": "849", "b...
'use strict'; /** * CLI engine * @module lib/CLI */ /* eslint-disable no-console */ const ConsoleReporter = require('./reporters/ConsoleReporter'); const Linter = require('./Linter'); const Options = require('./Options'); const resolvePatterns = require('./util/resolvePatterns'); function lint(files, options) { ...
{ "content_hash": "a8206af036619df47c014ddea2213f36", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 67, "avg_line_length": 24.106382978723403, "alnum_prop": 0.6725507502206531, "repo_name": "Banno/polymer-lint", "id": "2f9f2cf19e1adca5cc4f3819a833d2b1e652f760", "size": "1...
/* $Id: siptypes.hpp 4968 2014-12-18 04:40:35Z riza $ */ /* * Copyright (C) 2032 Teluu Inc. (http://www.teluu.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 o...
{ "content_hash": "31c3012b5efa4a893479d19361c8be31", "timestamp": "", "source": "github", "line_count": 930, "max_line_length": 80, "avg_line_length": 27.940860215053764, "alnum_prop": 0.5801808735809121, "repo_name": "Guicai-Li/PJSIP-iOS", "id": "09c159dc32a251bc91819e627f2812738f9770a5", "size": ...
package net.logvv.raven.push.umeng; import java.util.Arrays; import java.util.HashSet; import org.json.JSONObject; public abstract class IOSNotification extends UmengNotification { // Keys can be set in the aps level protected static final HashSet<String> APS_KEYS = new HashSet<String>(Arrays.asList(new String[]{...
{ "content_hash": "4b61d8d8452e509b9324c96772eeb1ff", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 113, "avg_line_length": 29.91549295774648, "alnum_prop": 0.6690207156308852, "repo_name": "marlonwang/raven", "id": "5d4af9a18ae6fe316d794eecfe168ded7365f38e", "size": "212...
<!DOCTYPE html> <!-- Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.4 Version: 4.0.1 Author: KeenThemes Website: http://www.keenthemes.com/ Contact: support@keenthemes.com Follow: www.twitter.com/keenthemes Like: www.facebook.com/keenthemes Purchase: http://themeforest.n...
{ "content_hash": "1fc9621b1cdbf0d3cf1185ada1e6d630", "timestamp": "", "source": "github", "line_count": 2068, "max_line_length": 256, "avg_line_length": 33.16441005802708, "alnum_prop": 0.5267992534701972, "repo_name": "aniruddha-chakraborty/tax", "id": "2f23665456d9fcdc77496520d9d7c563df4f708d", "...
#include <cmath> #include <QtWidgets/QWidget> #include <QtWidgets/QLabel> #include <QtWidgets/QLayout> #include <QtGui/QPixmap> #include <QtGui/QImage> #include <QtGui/QPainter> #include <QtGui/QShowEvent> #include <QtGui/QResizeEvent> #include <QtGui/QColor> #include "../../../constants/ColorConstant...
{ "content_hash": "7e70ce653a1630bfcc645bd98433cee2", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 93, "avg_line_length": 19.79310344827586, "alnum_prop": 0.6855400696864111, "repo_name": "ferdikoomen/capture3", "id": "60abc2cddbbb2a5ddf2285a96e2d269c95c8f1b2", "size": "...
using namespace llvm; #define DEBUG_TYPE "slotindexes" char SlotIndexes::ID = 0; SlotIndexes::SlotIndexes() : MachineFunctionPass(ID), mf(nullptr) { initializeSlotIndexesPass(*PassRegistry::getPassRegistry()); } SlotIndexes::~SlotIndexes() { // The indexList's nodes are all allocated in the BumpPtrAllocator. ...
{ "content_hash": "bc7b6a8e171cef89fd8edd7fc7a14c82", "timestamp": "", "source": "github", "line_count": 266, "max_line_length": 80, "avg_line_length": 33.33458646616541, "alnum_prop": 0.6579451900304499, "repo_name": "endlessm/chromium-browser", "id": "6664b58eccf8c7e0f0e49b4007c4a279031ef57a", "si...
#include "tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_pass.h" namespace tensorflow { REGISTER_OPTIMIZATION(OptimizationPassRegistry::PRE_PLACEMENT, 0, MlirImportPass); } // namespace tensorflow
{ "content_hash": "5cd1a33c4da920de58f2b500ee14ceb0", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 78, "avg_line_length": 23.9, "alnum_prop": 0.7322175732217573, "repo_name": "ppwwyyxx/tensorflow", "id": "7855cf6ac685412436b0462fe4993a5a6b440cb7", "size": "907", "binar...
using System.Reflection; using System.Runtime.CompilerServices; using System.Security; // // 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("gdal")] [a...
{ "content_hash": "99d209fc55be8df0c8d79b9a0916e404", "timestamp": "", "source": "github", "line_count": 71, "max_line_length": 103, "avg_line_length": 40.49295774647887, "alnum_prop": 0.72, "repo_name": "TUW-GEO/OGRSpatialRef3D", "id": "15227b1c439027a12c87d2ae5507ef26d036cdd8", "size": "4400", "...
'use strict'; /* jshint ignore:start */ /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ /* jshint ignore:end */ var _ = require('lodash'); /* jshint ignore:line */ var Holodeck = require('../../../../holodeck'); /* jshint ignore:line */ var Request...
{ "content_hash": "c24c4986eac09722859b3509a49f129a", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 180, "avg_line_length": 42.70873786407767, "alnum_prop": 0.5229976509812836, "repo_name": "philnash/twilio-node", "id": "2ac7fabbe3ddf6e13a5f5103be4860985118112f", "size":...
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes"> <title>uvalib-chat</title> <script src="../webcomponentsjs/webcomponents-lite.js"></script> <link rel="import" href="../iron-component-pa...
{ "content_hash": "a1e7cb3d8d62e13662782093296034cb", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 108, "avg_line_length": 28.625, "alnum_prop": 0.665938864628821, "repo_name": "uvalib/staff-directory", "id": "5a0dffe550daad12d255c80a39ca09cc1de4109a", "size": "458", "...
<?php get_header(); ?> <div class="container-fluid" id="overview"> <?php $blog_hero = of_get_option('blog_hero'); if ($blog_hero){ ?> <div class="clearfix row"> <div class="jumbotron"> <h1><?php bloginfo('title'); ?></h1> <p><?php bloginfo('description'); ?></p> </div> </div> ...
{ "content_hash": "5c5b6018222306912689196d76afe628", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 108, "avg_line_length": 27.661290322580644, "alnum_prop": 0.5265306122448979, "repo_name": "patternfly/patternfly-blog", "id": "8304373c30cd1a98198dbebf38790fa13a5b0203", "...
from . tasks import * from . import qp
{ "content_hash": "69e11624fcab4db0fce1aea4d9b268fb", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 21, "avg_line_length": 19.5, "alnum_prop": 0.6923076923076923, "repo_name": "jrl-umi3218/Tasks", "id": "a5ea9dd42f0f8b46ebfaa05a8372c4abdd48d434", "size": "39", "binary": ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <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" /> <title>HylaFAXClientConnectionFactory xref</title> <li...
{ "content_hash": "8de99db9de25c2288d311aa9dffb1b44", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 417, "avg_line_length": 92.67857142857143, "alnum_prop": 0.6882466281310212, "repo_name": "sagiegurari/fax4j", "id": "f640d562527203c1b1032d5290f3d231c52fffe0", "size": "25...
if [ ! -f deploy.key ]; then exit; fi eval `ssh-agent -s` ssh-add deploy.key git clone -b master git@github.com:the-tricktionary/the-tricktionary.github.io.git .deploy || exit 1 cd .deploy || exit 1 git config user.name travis git config user.email travis@nowhere cp -R ../app/build/outputs/apk/debug/app-debug.apk "./a...
{ "content_hash": "0f5339cdad1d1c80d401ac1426718922", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 100, "avg_line_length": 33.23076923076923, "alnum_prop": 0.7037037037037037, "repo_name": "the-tricktionary/android", "id": "6bac273ccfb1056466b0a50fdd508798138f2dff", "siz...
@implementation MHPinchGestureRecognizer @end @interface MHImageViewController () @property (nonatomic, strong) UIButton *moviewPlayerButtonBehinde; @property (nonatomic, strong) UIToolbar *moviePlayerToolBarTop; @property (nonatomic, strong) UISlider *slider; @property (...
{ "content_hash": "8ab887e21c4e94c2324e3a10418844e5", "timestamp": "", "source": "github", "line_count": 1601, "max_line_length": 259, "avg_line_length": 43.369144284821985, "alnum_prop": 0.6624852377797621, "repo_name": "santangeli/MHVideoPhotoGallery", "id": "9ec054e1101d18431212cfa50ea7721049771796...
module CoreExtensions module Object def is_numeric? true if Float(self) rescue false end end end Object.send(:include, CoreExtensions::Object)
{ "content_hash": "9274189b4b394055d1206188c816a948", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 45, "avg_line_length": 18, "alnum_prop": 0.7160493827160493, "repo_name": "zombiepaladin/smartfarm", "id": "76f9cf7b0b1239397f6be21257fa04a8975c6658", "size": "162", "bina...
from __future__ import print_function # Kill this instance if another copy is running. from tendo import singleton me = singleton.SingleInstance() # Will sys.exit(-1) if other instance is running # Aether modules import globals from globals import FROZEN, PROFILE_DIR, PLATFORM, BASEDIR, AETHER_VERSION from GUI.guiEl...
{ "content_hash": "61babb964d5f212d4ee87c5f52b7ae3a", "timestamp": "", "source": "github", "line_count": 208, "max_line_length": 112, "avg_line_length": 29.841346153846153, "alnum_prop": 0.7725149025294022, "repo_name": "filinggettingrk/Thefirst", "id": "4119d7ee27fe439a2203a23b6ad5b16f136ee8b7", "s...
<h4> your password has been changed successfully</h4> <h5> Please <a href='<?= WEBSITE ?>login/login_form'>Click here</a> to login again</h5> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ ?>
{ "content_hash": "d4001124377bbb98b6ccd731af40ef20", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 87, "avg_line_length": 19.692307692307693, "alnum_prop": 0.671875, "repo_name": "kdgupta/lms", "id": "dda370ad9b2ce252671791ad18e7ac36f82f79e4", "size": "256", "binary": ...
class ProjectDescendantsRecalculator include Sidekiq::Worker sidekiq_options queue: :high # Executes this worker. # # @param [Fixnum] project_id The ID of a Project. def perform(project_id) project = Project.find(project_id) # the readiness hooks were all disabled, so now we need to go through an...
{ "content_hash": "d4f1b7019c66cdbd467078def2a865b3", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 98, "avg_line_length": 24.862068965517242, "alnum_prop": 0.7212205270457698, "repo_name": "square/shuttle", "id": "38ab6b9778d7ed6b2e41bf43f72af1150800e6f7", "size": "2030"...
class CreateRules < ActiveRecord::Migration def self.up create_table :rules, :id => false do |t| t.string :id t.string :rule_number t.integer :condition_id t.integer :action_id t.timestamps end execute "ALTER TABLE rules ADD PRIMARY KEY (id)" end def self.down drop_...
{ "content_hash": "b01f2270d9c071032f45008547f218ab", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 52, "avg_line_length": 20.176470588235293, "alnum_prop": 0.6355685131195336, "repo_name": "sizzlelab/asi", "id": "8efa5e381a035457a4f4d53f5491733262a0de1b", "size": "343", ...
Repo will hold information about a Pomodoro Timer Project To run the app install the virtual environment and `requirements.txt` ###What is a pomodoro timer?? This is a timer that counts time periods each with a default interval of 25 minutes but the interval can be adjusted. There is a short break between each cycl...
{ "content_hash": "649efbe962af541668bf60ae4a3a00f7", "timestamp": "", "source": "github", "line_count": 53, "max_line_length": 168, "avg_line_length": 50.905660377358494, "alnum_prop": 0.737583395107487, "repo_name": "Migwi-Ndungu/bc-9-Pomodoro-Timer", "id": "a0490e12e05289b52ac44af4243131013c2e4697"...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_91) on Mon Jun 06 14:51:22 EDT 2016 --> <title>Uses of Interface org.apache.cassandra.io.util.ChunkReader (apache-cassandra API)</title> <meta ...
{ "content_hash": "c4705d55ae1b4c1431d497b303bab67e", "timestamp": "", "source": "github", "line_count": 249, "max_line_length": 526, "avg_line_length": 60.57831325301205, "alnum_prop": 0.6685892336250332, "repo_name": "jasonwee/videoOnCloud", "id": "415b155f725814186f3273160a176dff4b3eeefe", "size"...
<?xml version="1.0" encoding="UTF-8"?><testsuite> <test id="ID_JIL_xhr_ports_100" src="test_base_xhr_ports.wgt">xhr Call to HTTP site Instructions: Follow the instructions on the screen. Expected behaviour: See green colored line on the device screen.</test> <test id="ID_JIL_xhr_ports_200" src="test_base_xhr_po...
{ "content_hash": "324b7bc7b1ca0b4afdde7e7d4f5fb8ba", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 105, "avg_line_length": 31.766666666666666, "alnum_prop": 0.751311647429171, "repo_name": "vf/web-testsuite-runner", "id": "d7d0094a2fed40f69401ec59bbe3d1acc1880c46", "size...
package io.cdap.directives.parser; import com.google.gson.Gson; import io.cdap.cdap.api.annotation.Description; import io.cdap.cdap.api.annotation.Name; import io.cdap.cdap.api.annotation.Plugin; import io.cdap.wrangler.api.Arguments; import io.cdap.wrangler.api.Directive; import io.cdap.wrangler.api.DirectiveExecut...
{ "content_hash": "2bdba87d11065c836fab9368e45f4f91", "timestamp": "", "source": "github", "line_count": 137, "max_line_length": 112, "avg_line_length": 32, "alnum_prop": 0.6505474452554745, "repo_name": "data-integrations/wrangler", "id": "c59dfbb2540d06f6ce6072d9b9e67f3cae9ccfb6", "size": "4996", ...
Fractal ======= **A versatile CMS for Laravel 5.** [![Latest Stable Version](https://poser.pugx.org/regulus/fractal/v/stable.svg)](https://packagist.org/packages/regulus/fractal) [![License](https://poser.pugx.org/regulus/fractal/license.svg)](https://packagist.org/packages/regulus/fractal) > **Note:** For Laravel 4...
{ "content_hash": "0bbddb20af9307fa8c0fee4d471de85b", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 503, "avg_line_length": 49.766304347826086, "alnum_prop": 0.7602926722725784, "repo_name": "Regulus343/Fractal", "id": "35996e5ce9d647cf4120c80aa1280438736babde", "size": ...
package json import ( "encoding/json" "log" ) type Msg struct { Status string `json:"status"` Result interface{} `json:"data"` } type Result struct { Image []Fid `json:"image"` } type Fid struct { Field string `json:"field"` Value string `json:"value"` } func Message(status string, result interface{}) ...
{ "content_hash": "92b70e5c1fe1c30241a6867a3b6e9db3", "timestamp": "", "source": "github", "line_count": 32, "max_line_length": 56, "avg_line_length": 15.125, "alnum_prop": 0.6384297520661157, "repo_name": "kamoljan/sushiobrol", "id": "209ad11ef4a9fd4644028b0c0d52f5fff9856144", "size": "484", "bin...
I represent either the start or end of text. My size is always ZERO and i have only a single valid position (spanPosition = 0)
{ "content_hash": "77c687185a2f74db4c4ac6bea181592b", "timestamp": "", "source": "github", "line_count": 3, "max_line_length": 81, "avg_line_length": 42.333333333333336, "alnum_prop": 0.7716535433070866, "repo_name": "zecke/pharo", "id": "1dabbc65af6592c7fef6caddb8213f5d0cb534c8", "size": "127", "...
package org.ovirt.engine.core.bll.storage.domain; import static org.ovirt.engine.core.bll.MultiLevelAdministrationHandler.SYSTEM_OBJECT_ID; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Map; import org.ovirt.engine.core.bll.context.CommandContext; import org.ovirt....
{ "content_hash": "ad7afab89b518319e88551c68de02674", "timestamp": "", "source": "github", "line_count": 262, "max_line_length": 164, "avg_line_length": 46.774809160305345, "alnum_prop": 0.701264789881681, "repo_name": "OpenUniversity/ovirt-engine", "id": "68e0e578cec70e29779842d12a8d60997ca71551", ...
#tracerPlugin textarea, #tracerPlugin input, #tracerPlugin button { /* Remove blue input highlight */ outline: none; } #tracerPlugin .control-bar { background: rgba(0, 0, 0, 0.05); height: 31px; border-bottom: solid 1px #ccc; padding: 4px 10px; overflow: hidden; } #tracerPlugin .cont...
{ "content_hash": "05e6b3f694f40bed7c2438084abef571", "timestamp": "", "source": "github", "line_count": 225, "max_line_length": 73, "avg_line_length": 18.915555555555557, "alnum_prop": 0.6585996240601504, "repo_name": "Adobe-Consulting-Services/aem-chrome-plugin", "id": "5a6defeb669fd8ea4bb752c55fdcc...
package io.datalayer.data.yaml.resolver; import org.yaml.snakeyaml.nodes.Tag; import org.yaml.snakeyaml.resolver.Resolver; public class CustomResolver extends Resolver { /* * do not resolve float and timestamp */ protected void addImplicitResolvers() { addImplicitResolver(Tag.BOOL, BOOL, "...
{ "content_hash": "a274b6928a2311dfaafcfd12279b17f2", "timestamp": "", "source": "github", "line_count": 22, "max_line_length": 72, "avg_line_length": 34.18181818181818, "alnum_prop": 0.675531914893617, "repo_name": "echalkpad/t4f-data", "id": "7a0c1578b08c2c16a7eea7a438cf9caf5bdca8ea", "size": "194...
// TypeScript Version: 2.0 /** * Computes the hypotenuse avoiding overflow and underflow (single-precision). * * @param x - number * @param y - number * @returns hypotenuse * * @example * var h = hypotf( -5.0, 12.0 ); * // returns 13.0 * * @example * var h = hypotf( NaN, 12.0 ); * // returns NaN * * @example * var h...
{ "content_hash": "4222bd2b8a4ef9da10f11fdd50dc20e9", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 77, "avg_line_length": 15.724137931034482, "alnum_prop": 0.6118421052631579, "repo_name": "stdlib-js/stdlib", "id": "e03bbf81bcfd55c2148e07d442b10df82e2ba4f1", "size": "107...
<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.0"> <defaultcodec>UTF-8</defaultcodec> <context> <name>AboutDialog</name> <message> <location filename="../forms/aboutdialog.ui" line="+14"/> <source>About Swiscoin</source> <translation>Om Swiscoin</translation> </messa...
{ "content_hash": "447bdeecd617b19f91c3c26d3526a3a1", "timestamp": "", "source": "github", "line_count": 2938, "max_line_length": 413, "avg_line_length": 39.678352620830495, "alnum_prop": 0.6348788333690757, "repo_name": "SCNPay/swiscoin", "id": "e0050bbc0dd105bbdbea7b51294fc0ee003a8b8a", "size": "1...
layout: sermon series: "The Marks of a Healthy Church" title: "A Witnessing Church." date: "2014-02-23 11:00:00" audio: "http://media.coggesparish.com/2014-02-23 Simon Kirby.mp3" speaker: "Simon Kirby" speaker_info: "" duration: "33" youtube_videos: [""] vimeo_videos: [""] slides: ["http://media.coggesparish.com/2014-0...
{ "content_hash": "61d52f1d9a8e266a82461e47bf7a165a", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 68, "avg_line_length": 28.941176470588236, "alnum_prop": 0.693089430894309, "repo_name": "Cogges/cogges.github.io", "id": "d7f5db9ac670e90af6e8e538860b1fe0cee664f8", "size"...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Parmelia cetrata var. subisidiosa Müll. Arg. ### Remarks null
{ "content_hash": "3940d1d4e67e71c98919b25b8824c79d", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 44, "avg_line_length": 11.461538461538462, "alnum_prop": 0.7114093959731543, "repo_name": "mdoering/backbone", "id": "96ab94739040514b8ac4e44a6ea37e1af994494f", "size": "21...
#include "tensorflow/compiler/xla/service/hlo_cse.h" #include <list> #include <map> #include <memory> #include <set> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/container/inlined_vector.h" #include "tensorflow/compiler/xla/layout_util.h" #include "...
{ "content_hash": "2b8fa1d245d5040b0e8ffa9dca122e74", "timestamp": "", "source": "github", "line_count": 204, "max_line_length": 80, "avg_line_length": 39.044117647058826, "alnum_prop": 0.6557438794726931, "repo_name": "sarvex/tensorflow", "id": "17743352d2c6f5623bc43c2909f3c3bf2a6d7f06", "size": "8...
'use strict' var mongoose = require('mongoose'), Schema = mongoose.Schema; //This defines each entry in the phonebook and the data //which is required and optional for it. var entrySchema = new Schema({ 'name': {type: String, required: true, trim: true}, 'surname': {type: String, requ...
{ "content_hash": "95332e2ebf42936d7519d2c0f4efb52a", "timestamp": "", "source": "github", "line_count": 24, "max_line_length": 55, "avg_line_length": 20.458333333333332, "alnum_prop": 0.6252545824847251, "repo_name": "apg84/RESTphonebook", "id": "b4957c1a6c746be8f8e33a0b675fbf7cacebf24d", "size": "...
import Errors from 'ui/utils/errors'; import Component from '@ember/component' import { all as PromiseAll } from 'rsvp'; import { inject as service } from '@ember/service'; import { computed, get, set, setProperties } from '@ember/object'; import layout from './template'; import NewOrEdit from 'ui/mixins/new-or-edit'; ...
{ "content_hash": "2a8aea9ae9aee2d94c345677356f76d7", "timestamp": "", "source": "github", "line_count": 262, "max_line_length": 96, "avg_line_length": 27.33969465648855, "alnum_prop": 0.531202010330867, "repo_name": "pengjiang80/ui", "id": "eab624b91a93954b6f73c180874a83d7365bb064", "size": "7163",...
package org.devilry.clientapi; import java.util.Iterator; import java.util.List; import javax.naming.NamingException; import org.devilry.core.NoSuchObjectException; import org.devilry.core.UnauthorizedException; public class ExaminerAssignment extends AbstractAssignment<ExaminerDelivery> { ExaminerAssignment(lo...
{ "content_hash": "63fa22ac038220a74e0f8acf97e55fec", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 111, "avg_line_length": 27.545454545454547, "alnum_prop": 0.7953795379537953, "repo_name": "devilry/devilry-prototype1", "id": "3f82f60996e08bfe6440e76dc72f2fd3223d2150", "...
import Tkinter as tk import xmlrpclib def new(): server.new() guess.set("-"*8) def submit(): propalValue = propal.get() result=server.guess(propalValue) if len(propalValue)==1: letters=list(guess.get()) for index in result: letters[index]=propalValue guess.set("".join(le...
{ "content_hash": "a2122944af4733de78cf7e86c9c5a3d6", "timestamp": "", "source": "github", "line_count": 31, "max_line_length": 59, "avg_line_length": 29.838709677419356, "alnum_prop": 0.5816216216216217, "repo_name": "derivationBud/prez", "id": "d2c24fc2247033e15aa0ee6f6bce5823ad7d9d5a", "size": "9...
package shadow.tac; import shadow.interpreter.ConstantFieldInterpreter.FieldKey; import shadow.interpreter.ShadowValue; import shadow.parse.ShadowParser.VariableDeclaratorContext; import shadow.typecheck.type.Type; import java.io.StringWriter; /** * A simple node representing a compile-time constant field and conta...
{ "content_hash": "45e4a275a18c9619d7c42e3e20709295", "timestamp": "", "source": "github", "line_count": 42, "max_line_length": 94, "avg_line_length": 29.166666666666668, "alnum_prop": 0.7493877551020408, "repo_name": "bwittman/shadow", "id": "ee2b36d2476ba3f9085b11745f061d76d315fb56", "size": "1225...
import rg class Robot(object): def act(self, game): all_bots = [bot for bot in game['robots'].values() if bot['player_id'] != self.player_id] min_dist = rg.dist(self.location, all_bots[0]['location']) close_bots = [all_bots[0]] for bot in all_bots[1:]: ...
{ "content_hash": "ac83409306f5c0a5eae9997b1360fc8a", "timestamp": "", "source": "github", "line_count": 27, "max_line_length": 97, "avg_line_length": 39.111111111111114, "alnum_prop": 0.5179924242424242, "repo_name": "Team-Brobot/robot-hackathon", "id": "1aff30e75774cbe81ac59c7211bf2a82f69355e8", "...
layout: page title: Tumblr Cover Letter --- ## Dear Tumblr Talent Acquistion, To be brief, I would absolutely adore a position at Tumblr. What I can offer Tumblr is 3 years of data science experience (both full and part-time), a large portfolio of work in applied statistics and statistical learning, and best practice...
{ "content_hash": "743ebd27d30d93668130d033e4f0b89d", "timestamp": "", "source": "github", "line_count": 14, "max_line_length": 796, "avg_line_length": 70.85714285714286, "alnum_prop": 0.8014112903225806, "repo_name": "kylenpayne/kylenpayne.github.io", "id": "6e37b58839feeedd05f485eed84f6252ba80e62c",...
namespace process { // Forward declaration. class SequenceProcess; // Provides an abstraction that serializes the execution of a sequence // of callbacks. class Sequence { public: Sequence(); ~Sequence(); // Registers a callback that will be invoked when all the futures // returned by the previously register...
{ "content_hash": "6de2c82b5c1defa5cd42c2e68a986458", "timestamp": "", "source": "github", "line_count": 165, "max_line_length": 74, "avg_line_length": 32.92727272727273, "alnum_prop": 0.586416344561016, "repo_name": "jmanero/mesos-service", "id": "241afd243c3a91a824186b2dc511e9384901799f", "size": ...
package org.sharedhealth.datasense.repository; import org.sharedhealth.datasense.model.tr.TrReferenceTerm; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.RowMapper; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframewor...
{ "content_hash": "d8b8e666186b63bdc3e70c75a7b710ad", "timestamp": "", "source": "github", "line_count": 76, "max_line_length": 152, "avg_line_length": 48.35526315789474, "alnum_prop": 0.6672108843537415, "repo_name": "SharedHealth/SHR-Datasense", "id": "6c6cbe954dc04b81d140da1755e06ed1bbaff283", "s...
Originally published: 2004-07-07 18:34:01 Last updated: 2004-07-07 18:34:01 Author: Duncan Smith The following KeyedSet class mirrors the builtin set class as closely as possible, whilst maintaining the general flexibility of a dictionary. The only requirement is that each set item has a distinct 'id' attribu...
{ "content_hash": "ad038d6b73e87a41430a20da0ab88a78", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 307, "avg_line_length": 82.6, "alnum_prop": 0.7869249394673123, "repo_name": "ActiveState/code", "id": "080b3afc751343b5b423a0e197b359bad837d48e", "size": "491", "binary":...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>compcert: Not compatible</title> <link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" /> <link href="../../../../../bootstrap.min.css" ...
{ "content_hash": "d6f546f5c18d521adec8830cc71d7a06", "timestamp": "", "source": "github", "line_count": 192, "max_line_length": 157, "avg_line_length": 41.651041666666664, "alnum_prop": 0.5507065149431036, "repo_name": "coq-bench/coq-bench.github.io", "id": "a7b6b8a8a272fd67d35ba556275c1433e110408e",...
package org.apache.accumulo.test.functional; import static org.junit.Assert.assertEquals; import java.io.IOException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.Base64; import java.util.Collections; import java.util.Map.Entry; import org.apache.accumulo.core....
{ "content_hash": "35e03292f93abc18ea4d042aac623d75", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 153, "avg_line_length": 40.753246753246756, "alnum_prop": 0.7383683875079669, "repo_name": "mikewalch/accumulo", "id": "26fe5b7eb0d88f4cc3bb620bd4be1f69ce372ff3", "size": "...
package querqy.solr.rewriter.commonrules; import static querqy.solr.QuerqyQParserPlugin.PARAM_REWRITERS; import static querqy.solr.StandaloneSolrTestSupport.withCommonRulesRewriter; import org.apache.solr.SolrTestCaseJ4; import org.apache.solr.common.params.DisMaxParams; import org.apache.solr.request.SolrQueryReques...
{ "content_hash": "220e06ca8e634abc18cb0bb084f57b80", "timestamp": "", "source": "github", "line_count": 157, "max_line_length": 99, "avg_line_length": 32.06369426751592, "alnum_prop": 0.5061581247516885, "repo_name": "renekrie/querqy", "id": "8d1609a1d596787e3cebb9d405427535ca1e1acb", "size": "5034...
""" Copyright 2018 Dispel, LLC Apache 2.0 License, see https://github.com/dispel/jak/blob/master/LICENSE for details. """ import base64 import binascii from io import open from . import helpers from .compat import b from .aes_cipher import AES256Cipher from .exceptions import JakException, WrongKeyException ENCRYPTED...
{ "content_hash": "3b26448a1f2489abe1d1ab199b2583a5", "timestamp": "", "source": "github", "line_count": 123, "max_line_length": 96, "avg_line_length": 36.390243902439025, "alnum_prop": 0.6744861483467381, "repo_name": "dispel/jak", "id": "5977d026ffd8ef934aa15bfba024fb5c5a6090ce", "size": "4501", ...
package weibo4j; import java.util.List; import weibo4j.model.Paging; import weibo4j.model.PostParameter; import weibo4j.model.Tag; import weibo4j.model.TagWapper; import weibo4j.model.WeiboException; import weibo4j.org.json.JSONArray; import weibo4j.org.json.JSONException; import weibo4j.org.json.JSONObject; import w...
{ "content_hash": "1acce92a2f7fcf3e1d77f2d3d889a4db", "timestamp": "", "source": "github", "line_count": 175, "max_line_length": 77, "avg_line_length": 28.434285714285714, "alnum_prop": 0.6569533762057878, "repo_name": "yuzhiping/jeeplus", "id": "08edc7d16ccc0362cf5a285cd37cab4328518ee5", "size": "5...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>30. Recursion &mdash; Learn Python with Reeborg</title> <link rel="stylesheet" href="_static/reeborg.css" type="text/css" /> <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> <script type="text/javasc...
{ "content_hash": "14cbc3c9dcf7f1076e3abda40b0121af", "timestamp": "", "source": "github", "line_count": 184, "max_line_length": 141, "avg_line_length": 40.858695652173914, "alnum_prop": 0.5940409683426443, "repo_name": "coursemdetw/reeborg_tw", "id": "df2484937450065db3811d4651f6bd49578bec89", "siz...
/////////////////////////////////////////////////////////////////////////////// // FILE: Marzhauser.cpp // PROJECT: Micro-Manager // SUBSYSTEM: DeviceAdapters //----------------------------------------------------------------------------- // DESCRIPTION: Marzhauser Tango Controller Driver // ...
{ "content_hash": "b5c24ce307b301d2772775d8c90bf33e", "timestamp": "", "source": "github", "line_count": 3658, "max_line_length": 139, "avg_line_length": 24.744669218151994, "alnum_prop": 0.5538247381678377, "repo_name": "kmdouglass/Micro-Manager", "id": "d5661151f8efc650ae865516c829a0af2aa160a7", "...
#ifndef AGENT_H_ #define AGENT_H_ #include <algorithm> #include <fstream> #include <sstream> #include <string> #include <iostream> #include <list> #include <vector> #include <math.h> #include <float.h> #include <Eigen/Eigen> #include "Learning/NeuroEvo.h" #include "Utilities/Utilities.h" #include "Domains/Target.h" ...
{ "content_hash": "15efac3a096a93ef663fe69d529610d6", "timestamp": "", "source": "github", "line_count": 151, "max_line_length": 82, "avg_line_length": 28.543046357615893, "alnum_prop": 0.7262180974477959, "repo_name": "eklinkhammer/aadil", "id": "5a2c36ed2021d5be027717a5cd00ba35cdeb932f", "size": "...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Reinforcement")] [assembly: AssemblyDescription("")] [assembly: AssemblyProduct("Reinforcement")] [assembly: AssemblyCopyright("Copyright © 2016")] // Setting ComVisible to false ...
{ "content_hash": "5b59236889911e6dd9e88d0042af975b", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 76, "avg_line_length": 38.76470588235294, "alnum_prop": 0.7511380880121397, "repo_name": "Ed-ward/Reinforcement", "id": "a2abfe57de16041fd35a1e68c380b24ed151d092", "size": ...
<?php namespace PHPExiftool\Driver\Tag\Qualcomm; use JMS\Serializer\Annotation\ExclusionPolicy; use PHPExiftool\Driver\AbstractTag; /** * @ExclusionPolicy("all") */ class DefectPixCorEnable extends AbstractTag { protected $Id = 'defect_pix_cor_enable'; protected $Name = 'DefectPixCorEnable'; prote...
{ "content_hash": "70d1b2876ef47313736f8ac40e480367", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 53, "avg_line_length": 17.62162162162162, "alnum_prop": 0.6779141104294478, "repo_name": "romainneutron/PHPExiftool", "id": "99a1a19d5aeebe95a82892ef541aaf2132f1539f", "siz...
package net.wendal.nutzbook.module; import java.awt.Color; import java.awt.image.BufferedImage; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.InputStream; import java.sql.SQLException; import java.util.Date; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSessio...
{ "content_hash": "4ce00b03da1dfc9e5c8ba72f270728ec", "timestamp": "", "source": "github", "line_count": 214, "max_line_length": 122, "avg_line_length": 29.80373831775701, "alnum_prop": 0.682815929758545, "repo_name": "sunhai1988/nutz-book-project", "id": "43b4bdc374e991df7842f0f51f37dac3b5d09ca9", ...
namespace pxt.py { import B = pxt.blocks; import SK = pxtc.SymbolKind interface Ctx { currModule: py.Module; currClass?: py.ClassDef; currFun?: py.FunctionDef; blockDepth: number; } interface OverrideTextPart { kind: "text"; text: string; } ...
{ "content_hash": "8d2655ff6236a11871a80699e5e64b89", "timestamp": "", "source": "github", "line_count": 3262, "max_line_length": 146, "avg_line_length": 35.32096873083997, "alnum_prop": 0.4612166607358289, "repo_name": "Microsoft/pxt", "id": "b43eee39fc8131e18a9eaef17e91e56781dbe9f4", "size": "1152...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" /> <title>Coverage for changes/compat.py: 100%</title> <link rel="icon" sizes="32x32" href="favicon_32.png"> <link rel="stylesheet" href="style...
{ "content_hash": "cf8e14457e7a15709ef10631321d5e2a", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 517, "avg_line_length": 49.13235294117647, "alnum_prop": 0.6019155941334929, "repo_name": "michaeljoseph/changes", "id": "3f6b46eebf12380ebcaec71f5a9b458ab721e8bb", "size":...
package mapstore import ( "errors" "fmt" "net" "regexp" "sort" "sync" "github.com/forestgiant/stela" ) // MapStore implements the Store interface creating an in memory map of stela.Services type MapStore struct { services map[string][]*stela.Service // Map of service names that holds a slice of register...
{ "content_hash": "5eba2201ed7bf7f2a601e3a1dabc3e3d", "timestamp": "", "source": "github", "line_count": 392, "max_line_length": 118, "avg_line_length": 25.854591836734695, "alnum_prop": 0.6750863344844598, "repo_name": "forestgiant/stela", "id": "713ec809100af870180d5d5c18fabdbb2a3f2fae", "size": "...
package com.github.florent37.materialleanback.cell; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.ViewTreeObserver; import com.github.florent37.materialleanback.MaterialLeanBack; import com.github.florent...
{ "content_hash": "b90cbf774d7e74a216055b3b54c6de90", "timestamp": "", "source": "github", "line_count": 98, "max_line_length": 153, "avg_line_length": 38.5, "alnum_prop": 0.6718791412668964, "repo_name": "Dreezydraig/MaterialLeanBack", "id": "fb806aa5a753907d6e7c7b85c49169e59ea234d1", "size": "3773...
package com.google.javascript.jscomp; import com.google.common.base.Preconditions; import com.google.common.collect.HashMultiset; import com.google.common.collect.ImmutableSet; import com.google.common.collect.Multiset; import com.google.javascript.jscomp.CompilerOptions.AliasTransformation; import com.google.javasc...
{ "content_hash": "809dd2304d1c7629b67d47d08b622ff9", "timestamp": "", "source": "github", "line_count": 646, "max_line_length": 139, "avg_line_length": 35.64705882352941, "alnum_prop": 0.6337067917318048, "repo_name": "vrkansagara/closure-compiler", "id": "fbebf4d47b34ca10efbf16022e2bc4825c913982", ...
#import <UIKit/UIView.h> @interface UIView (UITextEffectsWindowAdditions) - (void)_windowDidChangeTransform; @end
{ "content_hash": "d653b4564c29a3c0f27a027515993d5f", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 48, "avg_line_length": 14.75, "alnum_prop": 0.7796610169491526, "repo_name": "matthewsot/CocoaSharp", "id": "6643bcbf1d4d9cf362020ebfc56abb0f598d19ec", "size": "258", "bin...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Page - Photon Admin Panel Theme</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"> <link rel="shortcut icon" href="http://photonui.orangehilldev.com/css/css_comp...
{ "content_hash": "491df5e819391344b6be9692276a6b17", "timestamp": "", "source": "github", "line_count": 182, "max_line_length": 232, "avg_line_length": 84.77472527472527, "alnum_prop": 0.742238641519217, "repo_name": "user-tony/photon-rails", "id": "d768d95048c5f05124e483aabf25cd9cf1ac5c21", "size"...
@implementation EKObjectMapping + (EKObjectMapping *)mappingForClass:(Class)objectClass withBlock:(void (^)(EKObjectMapping *))mappingBlock { EKObjectMapping *mapping = [[EKObjectMapping alloc] initWithObjectClass:objectClass]; if (mappingBlock) { mappingBlock(mapping); } return mapping; } ...
{ "content_hash": "cf1efb62fcfabe8ec701c46d94fd97fd", "timestamp": "", "source": "github", "line_count": 248, "max_line_length": 156, "avg_line_length": 35.45564516129032, "alnum_prop": 0.732628226998749, "repo_name": "maximgolunov/EasyMapping", "id": "4a45447fd61dd3fb006abb9a6cce29d5d48ffc41", "siz...
import _ from "lodash"; import shortid from "shortid"; import Promise from "bluebird"; export default class PortMessaging { constructor() { this.connected = false; this.messageQueue = []; this.unsentMessages = []; this.pendingMessages = {}; this.onRequest = _.noop; this.onBroadcast = _.noop; ...
{ "content_hash": "65407a0a938acf4d9e771af60af2498a", "timestamp": "", "source": "github", "line_count": 155, "max_line_length": 75, "avg_line_length": 26.26451612903226, "alnum_prop": 0.6062392532547286, "repo_name": "Frizz925/gbf-autopilot", "id": "1122a3b7459c2ade207e1c2e8c664ef4632e7e0a", "size"...
layout: pdf title: View Resume permalink: /resume/ --- <iframe src="https://drive.google.com/file/d/1V4OmqvOuKuPcCfEoBiybxkBaAei2rfbW/view?usp=sharing" width="100%" height="100%"></iframe>
{ "content_hash": "6ff66d6792f504bac3be638f460e9d83", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 133, "avg_line_length": 38, "alnum_prop": 0.7473684210526316, "repo_name": "adityaKushwaha/adityaKushwaha.github.io", "id": "cf72e61735a4a0db05c5fd27d7995bd01518bb76", "size...
using System; using System.Linq; using System.Net; using NuGet.Resources; namespace NuGet { public class SettingsCredentialProvider : ICredentialProvider { private readonly ICredentialProvider _credentialProvider; private readonly IPackageSourceProvider _packageSourceProvider; private ...
{ "content_hash": "8a70600d96c63fcf601856c6aa3eea8e", "timestamp": "", "source": "github", "line_count": 68, "max_line_length": 143, "avg_line_length": 39.779411764705884, "alnum_prop": 0.6277264325323475, "repo_name": "aaasoft/NuGet.Server", "id": "3a2c898d60a6f19d44b721a2eeabf9ba89688927", "size":...
angular.module("myApp").service("spiderService", [ "spider", function (spider) { var self = this; this.messages = []; var randomString = function() { return Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 5); }; this.sendMessage = function (message) ...
{ "content_hash": "1ed9634544dc30ab6bf763b34e87859f", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 83, "avg_line_length": 32.583333333333336, "alnum_prop": 0.5106564364876386, "repo_name": "MagnusThor/xsocketsAngularJS", "id": "15e5ac8a55e83488d565fecb3b586f4455913a52", ...
#define JPEG_INTERNALS #include "jinclude16.h" #include "jpeglib16.h" /* Pointer to routine to downsample a single component */ typedef JMETHOD(void, downsample1_ptr, (j_compress_ptr cinfo, jpeg_component_info * compptr, JSAMPARRAY input_data, JSAMPARRAY output_data)); /* Private subobject */ typedef struct ...
{ "content_hash": "e660c6e2beecdc3b33602f2e9a8fe46e", "timestamp": "", "source": "github", "line_count": 474, "max_line_length": 79, "avg_line_length": 34.89873417721519, "alnum_prop": 0.6684802321363801, "repo_name": "OpenXIP/xip-libraries", "id": "1735ffcf20c37ca411e6446ddddb5f32049686cd", "size":...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" con...
{ "content_hash": "256e232c253e4f116f725e40864ad2c1", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 417, "avg_line_length": 52.26168224299065, "alnum_prop": 0.6391273247496424, "repo_name": "michto01/ardp", "id": "8e981f98d330e4f6d8d1102323a0377f754711dd", "size": "5592"...
/** * tree v3.0.6 * tree * author : yonyou FED * homepage : https://github.com/iuap-design/tree#readme * bugs : https://github.com/iuap-design/tree/issues **/ /* * JQuery zTree core v3.5.18 * http://zTree.me/ * * Copyright (c) 2010 Hunter.z * * Licensed same as jquery - MIT License * http://www.opensour...
{ "content_hash": "bcb26061534abb951c3b1dd4d0a3f05f", "timestamp": "", "source": "github", "line_count": 3576, "max_line_length": 270, "avg_line_length": 34.22175615212528, "alnum_prop": 0.6399241687572012, "repo_name": "iuap-design/iuap-design.github.io", "id": "3f7a2d698ffb2b9e11079ee11f19f7d031531f...
layout: page title: About permalink: about/ --- ## About
{ "content_hash": "d9b358afadbbad9f5b1d1d21cf180bdc", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 17, "avg_line_length": 11.4, "alnum_prop": 0.6842105263157895, "repo_name": "shakna-israel/shaknaisrael_2015", "id": "5edb23074ffa5354ca39326c7300c21222ccc26e", "size": "61"...
namespace blink { // EditingState represents current editing command running state for propagating // DOM tree mutation operation failure to callers. // // Example usage: // EditingState editingState; // ... // functionMutatesDOMTree(..., &editingState); // if (editingState.isAborted()) // return; // class Ed...
{ "content_hash": "3076907a32a3ee003122a9f078e80b5a", "timestamp": "", "source": "github", "line_count": 84, "max_line_length": 80, "avg_line_length": 26.404761904761905, "alnum_prop": 0.6794409377817854, "repo_name": "ssaroha/node-webrtc", "id": "608408df5ad0895e0118257ce50bb614bf3d242f", "size": "...
<?xml version="1.0" encoding="utf-8"?> <doc> <assembly> <name>SharpGit</name> </assembly> <members> <member name="M:SharpGit.GitTools.PathCombine(System.String,System.String)"> <summary>Long path capable version of <see cref="M:System.IO.Path.Combine(System.String,System.String)" /></summary> </...
{ "content_hash": "c64353c27b0cc1148d35a1d9d8fe538a", "timestamp": "", "source": "github", "line_count": 208, "max_line_length": 191, "avg_line_length": 46.34134615384615, "alnum_prop": 0.7205104263927793, "repo_name": "balkrishnajha/angular-phonecat", "id": "dafab4550f72b6e479fd104a13d9f39cc1509e43",...
package cn.gridx.scala.slick.mysql import scala.slick.jdbc.GetResult import scala.slick.session.Database import scala.slick.session.Database.threadLocalSession import scala.slick.jdbc.StaticQuery._ /** * Created by tao on 4/8/16. */ object SqlQuery { def db: Database = { val url = "jdbc:mysql://gridxmysql.c...
{ "content_hash": "158c61897861b3847ce6bb52744842a9", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 163, "avg_line_length": 31.435897435897434, "alnum_prop": 0.664763458401305, "repo_name": "TaoXiao/Scala", "id": "a3b9a218c0d3136065f4caf15ecd7bb2668efe4f", "size": "1234",...
package com.microsoft.azure.management.network.v2019_11_01; import com.microsoft.azure.arm.collection.SupportsCreating; import com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup; import com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion; import com.microsoft.azure.arm.resour...
{ "content_hash": "8834fed4689906a4a97651464d95d41c", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 291, "avg_line_length": 49.89655172413793, "alnum_prop": 0.8196268140981341, "repo_name": "selvasingh/azure-sdk-for-java", "id": "dd7a3e594bfc0e94091952c1063d8283cf0db858", ...
import logging from django.core.management.base import BaseCommand from contentcuration.utils.import_tools import import_channel logging.basicConfig() logger = logging.getLogger('command') class Command(BaseCommand): def add_arguments(self, parser): # ID of channel to read data from parser.add...
{ "content_hash": "2d6fde6be6b7d2aede749a30447080f0", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 87, "avg_line_length": 37.06666666666667, "alnum_prop": 0.6672661870503597, "repo_name": "DXCanas/content-curation", "id": "4088232c4b91f8dc6ed28f2202c11c2fd680dd98", "size...
package openpgp import ( "code.google.com/p/go.crypto/openpgp/armor" "code.google.com/p/go.crypto/openpgp/errors" "code.google.com/p/go.crypto/openpgp/packet" "crypto" _ "crypto/sha256" "hash" "io" "strconv" ) // SignatureType is the armor type for a PGP signature. var SignatureType = "PGP SIGNATURE" // read...
{ "content_hash": "e8d533b3a9f314123d536167f05ddeae", "timestamp": "", "source": "github", "line_count": 410, "max_line_length": 126, "avg_line_length": 30.426829268292682, "alnum_prop": 0.694749498997996, "repo_name": "dizzyd/go.crypto", "id": "de0920c354e3f01afe0809f98400a2760e6aa685", "size": "12...
<?php /* SonataAdminBundle:CRUD:batch_confirmation.html.twig */ class __TwigTemplate_59218342f0eb258e7107cc0b26183150d05b3d917d6fb76c06a95f2f19320f90 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->blocks = array( 'acti...
{ "content_hash": "87cf23187ed524a75f38c7263211aef7", "timestamp": "", "source": "github", "line_count": 140, "max_line_length": 445, "avg_line_length": 48.1, "alnum_prop": 0.5476685476685477, "repo_name": "jdelcastro/jobeet_tutorial", "id": "8636fe1f6d4faef41ca32ca14612ce727e95455c", "size": "6734"...
import base64 import os from tempfile import NamedTemporaryFile from time import time from unittest.mock import patch import pytest from esteid.mobileid import MobileIdSigner from esteid.mobileid import signer as signer_module from ...exceptions import InvalidIdCode, InvalidParameter, InvalidParameters, SigningSessi...
{ "content_hash": "1f5a58f5882f1dcfac02915450231cb0", "timestamp": "", "source": "github", "line_count": 181, "max_line_length": 117, "avg_line_length": 31.87845303867403, "alnum_prop": 0.6322357019064124, "repo_name": "thorgate/django-esteid", "id": "1291f3066376407af3ee1fe20a8cd4ad96421b3e", "size...
package com.ysu.zyw.tc.openapi.fk.shiro.filter; import com.ysu.zyw.tc.components.servlet.support.TcServletUtils; import com.ysu.zyw.tc.components.servlet.support.TcXsrfTokenFilter; import com.ysu.zyw.tc.model.mw.Rc; import com.ysu.zyw.tc.model.mw.TcR; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.web.filte...
{ "content_hash": "05dcb06030f6b49e76effa8b84d7cf79", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 108, "avg_line_length": 40.733333333333334, "alnum_prop": 0.7528641571194763, "repo_name": "srarcbrsent/tc", "id": "775cba6aada1e991996b5862c1de4bed7b0f75cf", "size": "1222...
const _ = require('lodash'); const fs = require("fs"); const path = require('path'); const util = require('util'); const exec = require('child_process').execFile; const PROJECTS_ROOT = "test/fixtures/sample_apps"; const shell = require('shelljs'); function getDirectories(folder){ return fs.readdirSync(folder).filter...
{ "content_hash": "08b310dd839b48031e2524a2719b7e1f", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 85, "avg_line_length": 26.09090909090909, "alnum_prop": 0.6875725900116144, "repo_name": "sotadev/sails-migrations", "id": "9bfed8112b46044d9e5e5cd4e602479737c9f817", "size...
import React from "react" import { Link } from "gatsby" export default props => ( <article className={`post-card ${ props.postClass } ${props.node.frontmatter.thumbnail ? `with-image` : `no-image`}`} style={ props.node.frontmatter.thumbnail && { backgroundImage: `url(${ prop...
{ "content_hash": "c7305c136feaa3de75dc71cdc00651da", "timestamp": "", "source": "github", "line_count": 25, "max_line_length": 71, "avg_line_length": 27.04, "alnum_prop": 0.5946745562130178, "repo_name": "formap/formap.github.io", "id": "c7e5eeee0ef36dba6e3dc5e588b3f9ab0a0c896a", "size": "676", "...
// // StickyHeaderFlowLayout.m // UXMaterial // // Created by Anton Bukov on 05.10.15. // Copyright © 2015 @k06a. All rights reserved. // #import "StickyHeaderFlowLayout.h" @implementation StickyHeaderFlowLayout - (NSArray *) layoutAttributesForElementsInRect:(CGRect)rect { NSMutableArray *answer = [[super l...
{ "content_hash": "b0a990889ec037f081987d049fa75cd7", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 200, "avg_line_length": 44.78313253012048, "alnum_prop": 0.744955609362389, "repo_name": "k06a/Mattericon", "id": "74f8e6604e438250ee9ddd0e4f1282e66dd57c7b", "size": "3718"...
using System; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; namespace LetThereBeLight { class LightMachine : IState { public LightMachine(ShellApp.Settings settings) { this.settings = settings; this.settings.Button.OnInterrupt += new NativeEventHandle...
{ "content_hash": "4fa5dff3a1d124235e98b7cd6002ca43", "timestamp": "", "source": "github", "line_count": 82, "max_line_length": 191, "avg_line_length": 25.048780487804876, "alnum_prop": 0.43476144109055503, "repo_name": "danielrivera/NetduinoProjects", "id": "cf54886dcff0210df6f28e15a399708f084bc8a0",...
package com.aventstack.extentreports.model.service; public interface EntityService { }
{ "content_hash": "9c2635f5ccd40f9d0550f074f80779ee", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 51, "avg_line_length": 22, "alnum_prop": 0.8295454545454546, "repo_name": "extent-framework/extentreports-java", "id": "a908c0009b9ee279d627a84b765db70f6855f62b", "size": "8...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="ro"> <head> <!-- Generated by javadoc (version 1.7.0_07) on Tue May 27 14:37:12 EEST 2014 --> <title>DataAdapterParameterContributorExtensionsRegistryFactory (JasperReports 5.6.0 API)</tit...
{ "content_hash": "c0ca4957979d5b457d9fcb8a17771519", "timestamp": "", "source": "github", "line_count": 284, "max_line_length": 407, "avg_line_length": 44.11971830985915, "alnum_prop": 0.6865921787709497, "repo_name": "phurtado1112/cnaemvc", "id": "d436d160a288aeffbf496a7894523ee8315dbe9a", "size":...
echo -n "Removing data ... " curl -s -o /dev/null -i -H "Accept: application/json; charset=UTF-8" -H "Content-Type: application/json" -X POST -d '{"statements": [{"statement": "MATCH (n) DETACH DELETE n"}]}' http://localhost:7474/db/data/transaction/commit echo "done" echo -n "Populating data ... " declare -a STATEMEN...
{ "content_hash": "712408dbd885a8bd21f00c297f61bf1f", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 227, "avg_line_length": 68.7, "alnum_prop": 0.6550218340611353, "repo_name": "glevine/spin", "id": "2d7337c7c4babea9c93a26253a82b6e6ec1f61e1", "size": "700", "binary": fa...
<?php /** Index controller for the statistics module */ class RSNABranding_IndexController extends RSNABranding_AppController { public function indexAction() { } /** Login action */ public function loginAction() { $request = $this->getRequest(); $this->Form->User->uri = $requ...
{ "content_hash": "61a1ba049118d3d96e911d8ce1f636b5", "timestamp": "", "source": "github", "line_count": 146, "max_line_length": 131, "avg_line_length": 47.45205479452055, "alnum_prop": 0.4282621247113164, "repo_name": "midasplatform/rsnabranding", "id": "3a08f37b087bb5ec1cf6e0e91ce43a6a77b3aeaf", "...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.resourcemanager.kusto.generated; import com.azure.core.util.Context; /** Samples for Clusters ListOutboundNetworkDependenciesEndpoints. */ publ...
{ "content_hash": "7cfd9f4e2cace16fe3ea3b4d80bb0c69", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 154, "avg_line_length": 41.69565217391305, "alnum_prop": 0.7632950990615224, "repo_name": "Azure/azure-sdk-for-java", "id": "bf13824cb068739ea68ef40cf82541e2c9451368", "siz...
<?xml version='1.0' encoding='UTF-8'?> <Document> <Header> <SchemaName>Location</SchemaName> <Identifier>location_geonames_2745452</Identifier> <DocumentState>public</DocumentState> <TimeStamp>1390753461724</TimeStamp> <SummaryFields> <Title>NL &gt; North Brabant &gt; Vlas</Title> </Summ...
{ "content_hash": "9ccdd33ecf038cbd5bc66fc3214d8643", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 74, "avg_line_length": 30.655172413793103, "alnum_prop": 0.6614173228346457, "repo_name": "delving/oscr-data", "id": "b01af07304b33c0d4803a664e11b60b1bdca879e", "size": "88...
<!DOCTYPE html> <html> <head> <title>MVVM</title> <meta charset="utf-8"> <link href="../content/shared/styles/examples-offline.css" rel="stylesheet"> <link href="../../styles/kendo.common.min.css" rel="stylesheet"> <link href="../../styles/kendo.rtl.min.css" rel="stylesheet"> <link href="../../s...
{ "content_hash": "3df3a8ab45d076d553d25abd189ff19e", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 156, "avg_line_length": 36, "alnum_prop": 0.4978835978835979, "repo_name": "hhuynhlam/Ulysses", "id": "8ea40c373341a3485aebc3f2cb28eca1a053b250", "size": "3780", "binary...
package push; import io.waterworx.pushover.PushoverService; import io.waterworx.pushover.PushoverUtils; import com.google.inject.AbstractModule; public class AppInjector extends AbstractModule { @Override protected void configure() { bind(PushoverService.class).to(PushoverUtils.class); } }
{ "content_hash": "b7cb3298430f21c4db79da92b7c529d0", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 54, "avg_line_length": 20.066666666666666, "alnum_prop": 0.8006644518272426, "repo_name": "GrahamA2/PushoverTWPlugin", "id": "0dcc351a4c5a06239f22df30c4cac7da44b1c6f1", "si...