text
stringlengths
2
1.04M
meta
dict
"""Contains convenience wrappers for creating variables in TF-Slim. The variables module is typically used for defining model variables from the ops routines (see slim.ops). Such variables are used for training, evaluation and inference of models. All the variables created through this module would be added to the MO...
{ "content_hash": "5fc60f69fb4e4e866246ff775ae18f2c", "timestamp": "", "source": "github", "line_count": 276, "max_line_length": 80, "avg_line_length": 35.14855072463768, "alnum_prop": 0.6836408617668281, "repo_name": "nathansilberman/models", "id": "d58bb5328d9a20fdfb0a2330156af68e2e977aa5", "size"...
module.exports = Field; var urlModule = require("url"); var client = require("efs-client"); var plugins = require("../plugins"); var datadetectors = plugins.datadetectors; function Field(name, value) { var field = this; field.name = name; field.value = value; field.links = null; field.scalars = null; } Field.pr...
{ "content_hash": "1d384a7306e0aa95b99628c35497c5f2", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 219, "avg_line_length": 30.376623376623378, "alnum_prop": 0.6314664386489953, "repo_name": "btrask/earthfs-js-old", "id": "8286487a361cd457b7240e04e936bd94de7cda68", "size"...
Public Class FormMain Public Sub New() ' This call is required by the designer. InitializeComponent() ' Add any initialization after the InitializeComponent() call. End Sub Private Sub FormMain_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim msgText As Stri...
{ "content_hash": "72f961650387b4805199437dd0db8d64", "timestamp": "", "source": "github", "line_count": 391, "max_line_length": 127, "avg_line_length": 32.10230179028133, "alnum_prop": 0.6124123645634162, "repo_name": "jasarsoft/shollymswitcher", "id": "322380c5e0eacf77957a1f99c531ce0bc7dffefd", "s...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\ArrayHelper; use common\models\Adminuser; /* @var $this yii\web\View */ /* @var $model common\models\Adminuser */ $model = Adminuser::findOne($id); $this->title = '权限设置: ' . $model->username; $this->params['breadcrumbs'][] = ['label' => '管理员', ...
{ "content_hash": "ca2d047368e5f88bc430a5a4d56480a0", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 95, "avg_line_length": 19.636363636363637, "alnum_prop": 0.5960648148148148, "repo_name": "michaelweixi/blogdemo2", "id": "03d22dc685e02b47a60e8d2e556d5530bf4a48f5", "size"...
using System.Collections.Generic; using System.Linq; using Cake.Common.Tests.Fixtures.Tools; using Cake.Common.Tools.NSIS; using Cake.Core; using Cake.Core.IO; using NSubstitute; using Xunit; namespace Cake.Common.Tests.Unit.Tools.NSIS { // ReSharper disable once InconsistentNaming public sealed class MakeNSI...
{ "content_hash": "70ce00c4d8b676f0f8f4179ab9a36083", "timestamp": "", "source": "github", "line_count": 213, "max_line_length": 117, "avg_line_length": 34.53521126760563, "alnum_prop": 0.4676454594888526, "repo_name": "Invenietis/cake", "id": "a98a9a3a9e41d528da2b1c2d60975115d2cb7760", "size": "735...
from beltac import * from beltacreader import load from inserter import insert,version_imported,reject,setRefsDict,simple_dict_insert import urllib2 from datetime import datetime,timedelta import logging import zipfile from cStringIO import StringIO from bs4 import BeautifulSoup logger = logging.getLogger("importer") ...
{ "content_hash": "9aa3872494851290031c82841d70dfaf", "timestamp": "", "source": "github", "line_count": 110, "max_line_length": 129, "avg_line_length": 39.39090909090909, "alnum_prop": 0.5735056542810986, "repo_name": "bliksemlabs/bliksemintegration", "id": "2a8bdec5bd1ad5111c6e522e53d86a6046d96cbd",...
import React, { Component } from 'react' import { Input } from 'antd' import './styles.css' export default class Search extends Component { constructor(props) { super(props) } render() { return ( <div className="im-search-block"> <Input.Search ...
{ "content_hash": "f68b8986ad5d02ec45891ed520d749aa", "timestamp": "", "source": "github", "line_count": 21, "max_line_length": 50, "avg_line_length": 23.714285714285715, "alnum_prop": 0.4899598393574297, "repo_name": "clumsyme/cc", "id": "27d1a83dcbce30944fe8da74895c79cdae09f9aa", "size": "512", ...
/* eslint-disable no-unused-vars */ 'use strict'; var pdfjsVersion = PDFJSDev.eval('BUNDLE_VERSION'); var pdfjsBuild = PDFJSDev.eval('BUNDLE_BUILD'); var pdfjsSharedUtil = require('./shared/util.js'); var pdfjsDisplayGlobal = require('./display/global.js'); var pdfjsDisplayAPI = require('./display/api.js'); var pdf...
{ "content_hash": "218c25d09ce55b7c9e1d4ef2199bae4a", "timestamp": "", "source": "github", "line_count": 44, "max_line_length": 75, "avg_line_length": 48.56818181818182, "alnum_prop": 0.8437061300889097, "repo_name": "1and1/pdf.js", "id": "38fc452119f5b9fbb921f8af6b1e1008b566388b", "size": "2735", ...
toastr.options = { "toastClass": "toastr", "closeButton": true, "debug": false, "newestOnTop": true, "progressBar": true, "positionClass": "toast-top-full-width", "preventDuplicates": false, "onclick": null, "showDuration": "3000", "hideDuration": "1000", "timeOut": "5000", ...
{ "content_hash": "47b8f375875c34c7f9109efac5b35eef", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 44, "avg_line_length": 25.77777777777778, "alnum_prop": 0.5883620689655172, "repo_name": "HackerSir/CheckIn", "id": "ed4efda7657ccbc5ee63cd978f5c58f8b475a4a5", "size": "464...
<?php namespace Drupal\webform\Controller; use Drupal\Core\Controller\ControllerBase; use Drupal\webform\Entity\WebformOptions; use Drupal\webform\WebformInterface; use Drupal\webform\WebformOptionsInterface; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; /** * Prov...
{ "content_hash": "8503f60a005adc3d3f700cc3685a160c", "timestamp": "", "source": "github", "line_count": 95, "max_line_length": 91, "avg_line_length": 29.31578947368421, "alnum_prop": 0.6664272890484739, "repo_name": "kgatjens/d8_vm_vagrant", "id": "06df154a21e4a5420a680eee32d185f5da3e53c5", "size":...
import {isEqual, uniq} from 'lodash' import {EventType, HistoryEvent, Transaction, Mutation} from './types' import {ndjsonToArray} from './utils/ndjsonToArray' const EDIT_EVENT_TIME_TRESHHOLD_MS = 1000 * 60 * 5 // 5 minutes export function transactionsToEvents( documentIds: string[], transactions: string | Buffer...
{ "content_hash": "36cac2b65875c08f49a85cc23c19fc62", "timestamp": "", "source": "github", "line_count": 243, "max_line_length": 99, "avg_line_length": 34.13168724279836, "alnum_prop": 0.6880877742946708, "repo_name": "sanity-io/sanity", "id": "4ddcbd692a3e49096b85e1df41f0757bbaaf6a33", "size": "829...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace bv.model.Model { public static class ExprUtils { public static long? LongFromString(string str) { long ret = 0; if (long.TryParse(str, out ret)) return ret; ...
{ "content_hash": "68ea23e6a09cbd596351e6517cb4c9e7", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 108, "avg_line_length": 26.757575757575758, "alnum_prop": 0.5232163080407701, "repo_name": "EIDSS/EIDSS-Legacy", "id": "16bf8e3bf25de53b267e59fe53f9eb590fea5bec", "size": "...
import itertools import json import re import subprocess import xml.etree.ElementTree as ET from collections import defaultdict from dataclasses import dataclass, field from pathlib import Path from typing import Set RESULT = Path(__file__).parent / "../corpus/aosp.json" DOWNLOADS = Path(__file__).parent / "../repos" ...
{ "content_hash": "e558bc0f32ac9523d01d531b4cf9e78e", "timestamp": "", "source": "github", "line_count": 572, "max_line_length": 108, "avg_line_length": 30.286713286713287, "alnum_prop": 0.57486723620411, "repo_name": "googlefonts/aosp-test-texts", "id": "dd2b0a99c1f9c88b5732276bfd676959fb9a93ca", "...
use support::assert_bind_eq; #[test] fn typedef_same_name() { assert_bind_eq(Default::default(), "headers/typedef_same_name.h", " pub enum SameS { } pub enum SameE { } pub enum SameU { } "); }
{ "content_hash": "790208c3e8b90f38ddc26c59128aab9d", "timestamp": "", "source": "github", "line_count": 10, "max_line_length": 71, "avg_line_length": 22.9, "alnum_prop": 0.5589519650655022, "repo_name": "Twinklebear/rust-bindgen", "id": "c209adcf1e5abea99632751ab97d555a112399a9", "size": "229", "...
DocaLabs-Utils ==============
{ "content_hash": "57b122add0fd98566c22f32441be2f76", "timestamp": "", "source": "github", "line_count": 2, "max_line_length": 14, "avg_line_length": 14.5, "alnum_prop": 0.4482758620689655, "repo_name": "alexey-kadyrov/DocaLabs-Utils", "id": "91ff28e9d772c015cb0896e142b1cc2bffa4298b", "size": "29", ...
<!DOCTYPE html> <html xmlns:msxsl="urn:schemas-microsoft-com:xslt"> <head> <meta content="en-us" http-equiv="Content-Language" /> <meta content="text/html; charset=utf-16" http-equiv="Content-Type" /> <title _locid="PortabilityAnalysis0">.NET Portability Report</title> <style> ...
{ "content_hash": "403e053c52d480c5a82fec538e6a143b", "timestamp": "", "source": "github", "line_count": 240, "max_line_length": 562, "avg_line_length": 40.4875, "alnum_prop": 0.5760008232993722, "repo_name": "kuhlenh/port-to-core", "id": "266d22590c940b9ab18559dc997ab18fd32635c4", "size": "9717", ...
ACCEPTED #### According to International Plant Names Index #### Published in null #### Original name null ### Remarks null
{ "content_hash": "7574bd19ebe8cb35342da93701fa08cd", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 31, "avg_line_length": 9.692307692307692, "alnum_prop": 0.7063492063492064, "repo_name": "mdoering/backbone", "id": "4f8a17905ae4978c75204bb1b599ac5e9176d00b", "size": "174...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/rl_home_get_limit" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@drawable/ripple_nav_bg" android:padding="16dp"> <Li...
{ "content_hash": "edab2afa06d945621b3ebcb29a2c4235", "timestamp": "", "source": "github", "line_count": 65, "max_line_length": 74, "avg_line_length": 35.43076923076923, "alnum_prop": 0.6257056013894919, "repo_name": "rooney0928/qnd2", "id": "6b1aff9b6a9bd1c6c0df5dd12121c27a0e7e646e", "size": "2325"...
package com.facebook.buck.io.filesystem; /** * A wrapper around two ProjectFilesystemDelegates where generalDelegate is the typical delegate * that is used and buckOutDelegate is the delegate used in the case where we know we're running in * a buck-out directory, so we can skip the usual check if we're in an Eden...
{ "content_hash": "dc7ab279c61690345c13a5f149cc5c11", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 99, "avg_line_length": 32.82142857142857, "alnum_prop": 0.7976060935799782, "repo_name": "facebook/buck", "id": "fb4bee69590467980e5b3d858c0e1207574dfb9e", "size": "1535", ...
<?php declare(strict_types=1); namespace HttpClient; use HttpClient\Uri\Uri; use PHPUnit\Framework\TestCase; final class HeadersTest extends TestCase { public function testSetHeaders(): void { $headersCollection = ['bar' => 'baz']; $headers = new Headers(new Uri('http://foo.com'), $headersCo...
{ "content_hash": "244e3cb36038755bba09d1f87b7f2fdb", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 78, "avg_line_length": 24.49397590361446, "alnum_prop": 0.4923757993113625, "repo_name": "andrewprofile/http-client", "id": "ff897f8c31cbeaf3f1f4f728e5aa4fbd258848a0", "siz...
Meteor.publishComposite("customListEdit", function(_id) { return { find: function() { return CustomLists.find({_id: _id}); }, children: [{ find: function(customList) { var ids = _.pluck(customList.entries, 'contentId'); switch (customList.type) { case "anime": return Anime.find({_id: {...
{ "content_hash": "247cf30490a168004b3a209723843646", "timestamp": "", "source": "github", "line_count": 23, "max_line_length": 57, "avg_line_length": 21.52173913043478, "alnum_prop": 0.5676767676767677, "repo_name": "phanime/phanime", "id": "5ba270016ca147e11a78995ca858bce160846ad5", "size": "495",...
<!DOCTYPE html> <html> <!--- Copyright 2009 Roman Nurik 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...
{ "content_hash": "fe2a55725830f39847e9eb476966a123", "timestamp": "", "source": "github", "line_count": 424, "max_line_length": 141, "avg_line_length": 31.2688679245283, "alnum_prop": 0.5451048423593302, "repo_name": "westinedu/wrgroups", "id": "c377e3552779bf9a579168c794ab279a066a09b3", "size": "1...
<?php /** * Created by PhpStorm. * User: bmix * Date: 5/18/16 * Time: 8:38 AM */ ?> <div class="panel"> <div class="panel-heading"> Info </div> <div class="panel-block"> {!! Form::label('title','Title',['class'=>'label']) !!} <p class="control"> {!! Form::text('title...
{ "content_hash": "c231a77c75b98d413524c949497e8070", "timestamp": "", "source": "github", "line_count": 73, "max_line_length": 188, "avg_line_length": 41.80821917808219, "alnum_prop": 0.4134993446920052, "repo_name": "brino/larablog", "id": "64811dcf720c804ad74381749d63ab27cc9c31cc", "size": "3052"...
/* * MediaMonkey Project * Licenced under Apache license 2.0. Read LICENSE for details. */ package com.mediamonkey.android.lib.dto.settings; import android.support.annotation.NonNull; import android.support.annotation.Nullable; /** * @author Francesco Jo(nimbusob@gmail.com) * @since 01 - Dec - 2016 */ public cl...
{ "content_hash": "fca1c760cbdf81aeffbf5c07019124a9", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 89, "avg_line_length": 24.323529411764707, "alnum_prop": 0.6977025392986699, "repo_name": "FrancescoJo/MediaMonkeyPluginSdk", "id": "b612924b9741f79cf91503a14d7421a4e58b1b17"...
package de.uni.freiburg.iig.telematik.jagal.graph.weighted; import java.util.Collection; import de.invation.code.toval.validate.ParameterException; import de.uni.freiburg.iig.telematik.jagal.graph.Vertex; public class WeightedGraph<T extends Object> extends AbstractWeightedGraph<Vertex<T>, T>{ public WeightedGra...
{ "content_hash": "1058cf18c8393d81ce1572202fe14623", "timestamp": "", "source": "github", "line_count": 47, "max_line_length": 98, "avg_line_length": 24.617021276595743, "alnum_prop": 0.7476231633535004, "repo_name": "iig-uni-freiburg/JAGAL", "id": "09a0ca4b9aad446917de03f26913175fec75abf7", "size"...
package com.example.testudpclient; import java.io.InputStream; import org.json.JSONObject; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText...
{ "content_hash": "81c9950d4748f3946ef1c6a61168ecfc", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 119, "avg_line_length": 30.96470588235294, "alnum_prop": 0.6014437689969605, "repo_name": "nature19862001/mediaserver", "id": "cd35a8847064424174917e93c1c6fed412117d6c", "s...
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import sys from thrift.Thrift import TMessageType, TApplicationException, TType def process_main(twisted=False): """Decorator for process method.""" def _decorat...
{ "content_hash": "d28bca8725bd3bb010ac977275144ebd", "timestamp": "", "source": "github", "line_count": 105, "max_line_length": 79, "avg_line_length": 38.38095238095238, "alnum_prop": 0.586848635235732, "repo_name": "soumith/fbthrift", "id": "7299c8fd2c846bdf3955f3eb639f0a51dc7e532b", "size": "4816...
skynet.py ========= A python script that connects to SkyNet.im
{ "content_hash": "9148857ceb5da4548ba9367de94e8fd2", "timestamp": "", "source": "github", "line_count": 4, "max_line_length": 42, "avg_line_length": 16, "alnum_prop": 0.671875, "repo_name": "ctlaltdieliet/skynet.py", "id": "b3c2c90011ec25d62e5360acb29f81df1628d4aa", "size": "64", "binary": false,...
/** * UI for the PlugPro Menu * @module settings/AutoWootToggle */ /** * Menu UI constructor * @constructor * @param {object} JST - Javascript HTML templates * @param {object} toggleSettings - List of settings and their corresponding togglers */ function Menu( JST, toggleSettings ){ this.$parent = $('#app-men...
{ "content_hash": "7ca4248f989c5967cb323375d122dd7b", "timestamp": "", "source": "github", "line_count": 122, "max_line_length": 88, "avg_line_length": 23.565573770491802, "alnum_prop": 0.6869565217391305, "repo_name": "SkyGameRus/PlugPro", "id": "abb54a72552cd342e2bc12e74152c9d075afbdbe", "size": "...
package com.example.android.architecture.blueprints.todoapp.statistics; import com.example.android.architecture.blueprints.todoapp.data.Task; import com.example.android.architecture.blueprints.todoapp.data.source.ITasksDataSource; import com.example.android.architecture.blueprints.todoapp.data.source.TasksRepository...
{ "content_hash": "6666748ddc2724a2117ccabe683130d2", "timestamp": "", "source": "github", "line_count": 113, "max_line_length": 100, "avg_line_length": 35.91150442477876, "alnum_prop": 0.7262198127156234, "repo_name": "songzhw/AndroidArchitecture", "id": "3afb14e105b5e7562dfd4610dcdd2a327d0647b5", ...
package com.jakewharton.rxbinding.widget; import android.database.DataSetObserver; import android.widget.Adapter; import com.jakewharton.rxbinding.internal.MainThreadSubscription; import rx.Observable; import rx.Subscriber; import static com.jakewharton.rxbinding.internal.Preconditions.checkUiThread; final class Ada...
{ "content_hash": "d945cc900493c8795f2790d2c18d7789", "timestamp": "", "source": "github", "line_count": 40, "max_line_length": 77, "avg_line_length": 27.625, "alnum_prop": 0.7276018099547511, "repo_name": "tsdl2013/RxBinding", "id": "25b583407a37cb0131453fa615086895c9b0e1af", "size": "1105", "bin...
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>yepnope.js test suite</title> <link rel="stylesheet" href="css/mocha.css" type="text/css" /> <style type="text/css"> #testDivZone { position: absolute; left: -10000px; } </style> </head...
{ "content_hash": "99fa03aec81501af4ca5c5e6a884f804", "timestamp": "", "source": "github", "line_count": 52, "max_line_length": 69, "avg_line_length": 25.48076923076923, "alnum_prop": 0.6, "repo_name": "bugdebugger/yepnope.js", "id": "539ef09ccf44f03e7271314c8935c0f7092e3f70", "size": "1325", "bin...
#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_CPU_SHAPE_PARTITION_H_ #define TENSORFLOW_COMPILER_XLA_SERVICE_CPU_SHAPE_PARTITION_H_ #include <vector> #include "tensorflow/compiler/xla/shape_util.h" namespace xla { namespace cpu { // ShapePartitionAssigner partitions the most-major dimensions of 'shape' such // that the...
{ "content_hash": "31ce8a5e843d6062981361bc502836af", "timestamp": "", "source": "github", "line_count": 92, "max_line_length": 79, "avg_line_length": 32.30434782608695, "alnum_prop": 0.6981830417227456, "repo_name": "tensorflow/tensorflow", "id": "7fc6737320089cd91b3b36990b6f5f50e8d4c2c0", "size": ...
import { Component, OnInit } from '@angular/core'; @Component({ selector: 'app-footer', templateUrl: './footer.component.html', styleUrls: ['./footer.component.sass'] }) export class FooterComponent implements OnInit { constructor() { } ngOnInit() { } }
{ "content_hash": "7fdd1f4631224176b97123d83c06abed", "timestamp": "", "source": "github", "line_count": 15, "max_line_length": 50, "avg_line_length": 18, "alnum_prop": 0.6703703703703704, "repo_name": "alexurquhart/routecard", "id": "4faa4829f38591dfbed201fed256504122a58ae1", "size": "270", "bina...
source PerfRun.conf #run table creating program echo "========================Create Tables======================================" scala -cp "$TPCHJar:$mysqlConnectorJar" io.snappydata.benchmark.kuduimpala.TPCH_Impala_Tables $aggregator $port
{ "content_hash": "eaa7ea671f5f2eb75d5a2f7cdd8e2128", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 111, "avg_line_length": 48.6, "alnum_prop": 0.6090534979423868, "repo_name": "vjr/snappydata", "id": "df4c50005e33139552f477c1d42640d6935a06fb", "size": "263", "binary": f...
import { applyMiddleware } from 'redux'; export function createMockStore(state, expectedActions, middleware, done) { if (!Array.isArray(expectedActions)) { throw new Error('ERROR # createMockStore : `expectedActions` must be an array of expected actions.'); } if (typeof done !== 'undefined' && typeof done !...
{ "content_hash": "7b5a8d301b7b9cd111c332943adb2a18", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 105, "avg_line_length": 26.128205128205128, "alnum_prop": 0.577036310107949, "repo_name": "jmptr/lost-sloth-angular", "id": "fb57c8fc32dd778699ab5625b5a93e152de91f93", "siz...
// File name: CoreEntries.h // Description: Component externals declaration. #ifndef COREENTRIES_H__BUILDERELEMENTS__INCLUDED_ #define COREENTRIES_H__BUILDERELEMENTS__INCLUDED_ #include "../BuilderElements.h" BUILDERELEMENTS_FUNC_DECLARE result DllGetClassObject(REFCLSID rCLSID, REFIID rIID, void** ppO...
{ "content_hash": "cdbd5b94c2b08a7c15037fa1f27a8968", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 103, "avg_line_length": 37.875, "alnum_prop": 0.7788778877887789, "repo_name": "egorpushkin/neurolab", "id": "7fa5d762853736cbc950a3bc41280803e683467b", "size": "734", "b...
package com.apigee.sdk.apm.android; import java.io.InputStream; import java.io.OutputStream; import java.net.ContentHandlerFactory; import java.net.FileNameMap; import java.net.HttpURLConnection; import java.security.Permission; import java.security.Principal; import java.security.cert.Certificate; import java.util.Li...
{ "content_hash": "ae9f4439abae3e2e9ae7c6825f429db4", "timestamp": "", "source": "github", "line_count": 444, "max_line_length": 139, "avg_line_length": 23.623873873873872, "alnum_prop": 0.766898655734579, "repo_name": "RobertWalsh/apigee-android-sdk", "id": "1c7b25776730ee07d30ab707c0db11afd320f6d8",...
layout: resource title: "Learning Resources For Students & Novices" permalink: /resources/learning show_title: true date: 2017-10-23 update_date: tags: resources --- ## How Do I Get Started In Information Security? This is a question I get asked every time I talk to college students. A lot of people want to learn abou...
{ "content_hash": "e72c921c9b0ad6312c1767ca8ca7e7be", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 504, "avg_line_length": 68.74666666666667, "alnum_prop": 0.765321955003879, "repo_name": "Brcrwilliams/brcrwilliams.github.io", "id": "0ff5f9c523ff88d85b959a0d5bffcd3c736b3b0...
<?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="tv_content_margin">20dp</dimen> <dimen name="content_box_margin_bottom">35dp</dimen> <dimen name="button_min_width">90dp</dimen> </resources>
{ "content_hash": "a136b3127f37040e1bb0b205df4ea975", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 56, "avg_line_length": 28, "alnum_prop": 0.65625, "repo_name": "liyinyin/MaterialShowcaseView", "id": "c358c5f5b7bd1983c056243069fe410f78e0a88c", "size": "224", "binary": ...
import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoisfsite.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
{ "content_hash": "05880bec7a41db36831495a58d7fdd92", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 77, "avg_line_length": 26, "alnum_prop": 0.717948717948718, "repo_name": "letuananh/intsem.fx", "id": "6502be787353cc0b8f07048bfbafbac96cfa06ee", "size": "256", "binary": ...
// Karma configuration // Generated on Fri Dec 05 2014 16:49:29 GMT-0500 (EST) module.exports = function(config) { config.set({ // base path that will be used to resolve all patterns (eg. files, exclude) basePath: '', // frameworks to use // available frameworks: https://npmjs.org/browse/keyword/k...
{ "content_hash": "ead27e941fdb7f66ad837cc2144f819a", "timestamp": "", "source": "github", "line_count": 81, "max_line_length": 120, "avg_line_length": 24.765432098765434, "alnum_prop": 0.613160518444666, "repo_name": "stl-florida/casestudy-riskmap", "id": "82f6332240a895c497cd7799ff9629839090f9f3", ...
<?php namespace YaoiTests\Helper\Service; class NoSettings extends BasicExposed { protected static function getSettingsClassName() { return null; } }
{ "content_hash": "d8a5f01f298afec4b0a6d89a098d73db", "timestamp": "", "source": "github", "line_count": 9, "max_line_length": 54, "avg_line_length": 18.444444444444443, "alnum_prop": 0.7289156626506024, "repo_name": "php-yaoi/php-yaoi", "id": "fa852955dfca86225e62c55197a357f8443105a3", "size": "166...
package http import ( "net/http" "os" gorillaHandlers "github.com/gorilla/handlers" "github.com/coreos/discovery.etcd.io/handlers" "github.com/gorilla/mux" ) func init() { r := mux.NewRouter() r.HandleFunc("/", handlers.HomeHandler) r.HandleFunc("/new", handlers.NewTokenHandler) r.HandleFunc("/health", ha...
{ "content_hash": "34c3538016ef9471ac69f2a38d1ee800", "timestamp": "", "source": "github", "line_count": 34, "max_line_length": 75, "avg_line_length": 26.470588235294116, "alnum_prop": 0.6888888888888889, "repo_name": "madharjan/discovery.etcd.io", "id": "d4e2b850b7e76c60e7da01f14e5c78aab68d5b9d", "...
+++ date = "2016-03-06T21:17:14-06:00" title = "sponsor" type = "event" +++ We greatly value sponsors for this open event. If you are interested in sponsoring, please drop us an email at [{{< email_organizers >}}]. <hr> <h2>Sponsorship Packages</h2> <h3>Platinum Sponsor ($5000)</h3> * 3 tickets included * Tab...
{ "content_hash": "81290ffa886a35c48a9a94b4cb5ce574", "timestamp": "", "source": "github", "line_count": 75, "max_line_length": 412, "avg_line_length": 39.053333333333335, "alnum_prop": 0.6633663366336634, "repo_name": "masteinhauser/devopsdays-web", "id": "000799e35b1be6e774a71ecd05ca8b2332e4852d", ...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { if (typeof Reflect === "object" && typeof Reflect.decorate === "function") return Reflect.decorate(decorators, target, key, desc); switch (arguments.length) { case 2: return decorators.reduceRight(function(o, d) { r...
{ "content_hash": "40616e031c5c5447f64e7bdc29d938ba", "timestamp": "", "source": "github", "line_count": 133, "max_line_length": 134, "avg_line_length": 37.8421052631579, "alnum_prop": 0.6147426981919333, "repo_name": "aayushkapoor206/whatshot", "id": "33f0496b799a0072c444cd81617428d7595c6a78", "siz...
/* * Tests for the scalar example solving the test equation */ #include <cmath> using namespace std; #include <gtest/gtest.h> #include <gmock/gmock.h> using namespace ::testing; #include <pfasst/quadrature.hpp> #define PFASST_UNIT_TESTING #include "../examples/scalar/scalar_sdc.cpp" #undef PFASST_UNIT_TESTING usin...
{ "content_hash": "0856fb0059d069d48355f82083bc4093", "timestamp": "", "source": "github", "line_count": 160, "max_line_length": 98, "avg_line_length": 30.44375, "alnum_prop": 0.5536850749332786, "repo_name": "memmett/PFASST", "id": "64a5401c3e627655e77f8e96d677b6ed2aacbf41", "size": "4871", "bina...
<?xml version="1.0" encoding="UTF-8"?> <sem:triples uri="http://www.lds.org/vrl/objects/office-supplies/glue" xmlns:sem="http://marklogic.com/semantics"> <sem:triple> <sem:subject>http://www.lds.org/vrl/objects/office-supplies/glue</sem:subject> <sem:predicate>http://www.w3.org/2004/02/skos/core#prefLabel</se...
{ "content_hash": "66b91828125c6b46b96041bbb291381c", "timestamp": "", "source": "github", "line_count": 18, "max_line_length": 114, "avg_line_length": 54, "alnum_prop": 0.7057613168724279, "repo_name": "freshie/ml-taxonomies", "id": "1d6c28d78ac2a768977603a8b0e8b48f0e46b9d2", "size": "972", "bina...
package com.glaf.core.todo.util; import java.util.Iterator; import java.util.List; import java.util.Map; import org.apache.commons.lang3.StringUtils; import org.dom4j.Document; import org.dom4j.Element; import org.dom4j.io.SAXReader; import com.glaf.core.todo.Todo; import com.glaf.core.util.Tools; public class To...
{ "content_hash": "6b5a35d1489405e189549c06def241cd", "timestamp": "", "source": "github", "line_count": 62, "max_line_length": 73, "avg_line_length": 27.967741935483872, "alnum_prop": 0.674163783160323, "repo_name": "jior/glaf", "id": "53c86d666e5af9e9473ef1ddd9d64aec772cfbe0", "size": "2539", "b...
package exec_test import ( "bytes" "context" "encoding/json" "fmt" "io" "io/ioutil" "log" "os" "os/exec" "strings" "time" ) func ExampleLookPath() { path, err := exec.LookPath("fortune") if err != nil { log.Fatal("installing fortune is in your future") } fmt.Printf("fortune is available at %s\n", pat...
{ "content_hash": "2fc4fdf239b7652df0e9c8f94da86a44", "timestamp": "", "source": "github", "line_count": 145, "max_line_length": 85, "avg_line_length": 19.99310344827586, "alnum_prop": 0.6215936529837875, "repo_name": "linux-on-ibm-z/go", "id": "b70b99032523c299ac84d260f17b9cb4621af56c", "size": "30...
package com.cinchapi.concourse.example.bank; import java.util.ArrayDeque; import java.util.Set; import com.cinchapi.concourse.Concourse; import com.cinchapi.concourse.Link; import com.cinchapi.concourse.TransactionException; import com.google.common.base.Preconditions; import com.google.common.collect.HashMultimap; ...
{ "content_hash": "e55d64b0b2bc3e164e67d9f6b7423f74", "timestamp": "", "source": "github", "line_count": 273, "max_line_length": 81, "avg_line_length": 38.1941391941392, "alnum_prop": 0.5763882228829001, "repo_name": "vrnithinkumar/concourse", "id": "688e29a896a2f68be6c5d0c0d6571b7ef26cee7c", "size"...
#include "stdafx.h" #include "demo_use.h" #include <boost/function.hpp> #include <boost/thread.hpp> #include <boost/bind.hpp> demo_use::demo_use(void) { } demo_use::~demo_use(void) { } void demo_use::run_server(){ my_server.run(); } void demo_use::handler_accept( LPVOID lparam, connection_ptr connect_ptr_, con...
{ "content_hash": "0315d68b618fdc7ffbd59631b3e050c2", "timestamp": "", "source": "github", "line_count": 158, "max_line_length": 154, "avg_line_length": 25.329113924050635, "alnum_prop": 0.6174412793603199, "repo_name": "johnzhd/learnandtraining", "id": "25995c44315db0b0cb65693cdc51bfae48d7a44e", "s...
package org.wso2.carbon.servlet; import org.wso2.carbon.context.PrivilegedCarbonContext; import org.wso2.carbon.event.output.adapter.ui.UIOutputCallbackControllerService; public class ServiceHolder { private static ServiceHolder instance; private UIOutputCallbackControllerService uiOutputCallbackControllerS...
{ "content_hash": "cfb255d4acf38226b60e7dc16d330cbe", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 103, "avg_line_length": 32.607142857142854, "alnum_prop": 0.7502738225629791, "repo_name": "lasanthafdo/carbon-analytics-common", "id": "d864cecdb7e939873b46c066fb3d29f51de0e...
@class YPStatus; @interface YPStatusToolbar : UIView @property (nonatomic, strong) YPStatus *status; + (instancetype)toolbar; @end
{ "content_hash": "9427e05714aa299f4fee749e4d5a84f2", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 47, "avg_line_length": 16.75, "alnum_prop": 0.7611940298507462, "repo_name": "MichaelHuyp/YPSina", "id": "487d379ed63a6e5290844becc1f1ce55592583c6", "size": "316", "binary...
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ JBoss, Home of Professional Open Source. ~ Copyright 2011, Red Hat, Inc., and individual contributors ~ as indicated by the @author tags. See the copyright.txt file in the ~ distribution for a full listing of individual contributors. ~ ~ This is free software; ...
{ "content_hash": "e7d60f82936f5dc4b6827aee7708ce57", "timestamp": "", "source": "github", "line_count": 39, "max_line_length": 71, "avg_line_length": 38.58974358974359, "alnum_prop": 0.7003322259136212, "repo_name": "mlaursen/brews-wildfly-server", "id": "2f9b79785f572a71199890c9dd7dc87c3570218c", ...
package org.olat.system.coordinate.cache.singlevm; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import net.sf.ehcache.Cache; import net.sf.ehcache.CacheException; import net.sf.ehcache.CacheManager; import net.sf.ehcache.Element; import org.apache.log4j.Logger; import org.olat.system...
{ "content_hash": "84e7cd4dc1ea9e68f1e7109f0aafc9b7", "timestamp": "", "source": "github", "line_count": 156, "max_line_length": 138, "avg_line_length": 34.13461538461539, "alnum_prop": 0.6343661971830986, "repo_name": "huihoo/olat", "id": "5a0dbb097157a7592efee060001e62ddc99876d5", "size": "6120", ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>水平滚动条拖动</title> <style> * { margin: 0; padding: 0; } .scroll { width: 400px; height: 8px; margin: 100px auto; background-color: #ccc; ...
{ "content_hash": "640b26f355f8cbaef3a36c980e890091", "timestamp": "", "source": "github", "line_count": 87, "max_line_length": 121, "avg_line_length": 27.229885057471265, "alnum_prop": 0.5086534402701561, "repo_name": "XYXiaoYuan/WebStudy", "id": "d03cf80aafd60bfaa32fa8c7a6b786a965876f96", "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" lang="nl-NL" xml:lang="nl-NL"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>LightZone: ZoneMapper: Lumi...
{ "content_hash": "1680b7fd00c3e65873e2ed27357c451d", "timestamp": "", "source": "github", "line_count": 93, "max_line_length": 97, "avg_line_length": 30.946236559139784, "alnum_prop": 0.6104933981931897, "repo_name": "ktgw0316/LightZone", "id": "abc615989272c37046c8807a9455bedc229d1a7d", "size": "2...
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/item_list_container" > <android.support.v4.view.ViewPager android:id="@+id/viewPager" ...
{ "content_hash": "4ee687fb23ad02239f60d266f64a88a1", "timestamp": "", "source": "github", "line_count": 30, "max_line_length": 74, "avg_line_length": 36.6, "alnum_prop": 0.6730418943533698, "repo_name": "museumvictoria/mv-fieldguide-android", "id": "953776d7e139195a34e59d279587d36444f8caa4", "size"...
Ti=Article 72 - Procedure 1.sec=The Board shall take decisions by a simple majority of its members, unless otherwise provided for in this Regulation. 2.sec=The Board shall adopt its own rules of procedure by a two-third majority of its members and organise its own operational arrangements. =[Z/ol/s2]
{ "content_hash": "3e746cbd3e727e6d55e0f001add2fa71", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 140, "avg_line_length": 43.57142857142857, "alnum_prop": 0.7901639344262295, "repo_name": "mdangear/Cmacc-Org", "id": "dff945612241b2d29ca8897a81237450acede776", "size": "30...
;(function(global) { 'use strict'; var game, entities, bricksGroup, scoreNumberGroup, bricks = {}, selectedBrick, currentstate, STATES = { PAUSED: 'paused', PLAY: 'play', SCORE: 'score', GAME_OVER: 'game_over' }, fpsText, scoreText, score = 0, best = local...
{ "content_hash": "6036f7141268f2eee7c93006713b3462", "timestamp": "", "source": "github", "line_count": 1196, "max_line_length": 127, "avg_line_length": 27.51923076923077, "alnum_prop": 0.5036915504511895, "repo_name": "jefersonbelmiro/bricks", "id": "fe9cda70d7e66c648a185e635832c2e8e4524014", "siz...
package cloud.orbit.actors.test; import cloud.orbit.actors.cluster.ClusterPeer; import cloud.orbit.actors.cluster.DistributedMap; import cloud.orbit.actors.cluster.MessageListener; import cloud.orbit.actors.cluster.NodeAddress; import cloud.orbit.actors.cluster.ViewListener; import cloud.orbit.concurrent.Task; impo...
{ "content_hash": "2a19057f04a688ec71d3b4c07e483dbf", "timestamp": "", "source": "github", "line_count": 103, "max_line_length": 96, "avg_line_length": 27.50485436893204, "alnum_prop": 0.6964348746911402, "repo_name": "JoeHegarty/orbit", "id": "1a54b8440dc43a3f924120c229d4f20bb25d4d15", "size": "437...
package com.microsoft.azure.management.appservice.implementation; import com.fasterxml.jackson.annotation.JsonProperty; /** * Legal agreement for a top level domain. */ public class TldLegalAgreementInner { /** * Unique identifier for the agreement. */ @JsonProperty(value = "agreementKey", requi...
{ "content_hash": "ec68781056cd1068f95ef7c1c3eb3513", "timestamp": "", "source": "github", "line_count": 115, "max_line_length": 73, "avg_line_length": 21.452173913043477, "alnum_prop": 0.5934333198216457, "repo_name": "hovsepm/azure-sdk-for-java", "id": "63b891cb8bfce924d415b0cf698348b8a971ac3b", "...
#pragma once #ifndef __AFXWIN_H__ #error "include 'stdafx.h' before including this file for PCH" #endif #include "resource.h" // main symbols // CAPTDLLClientApp: // See APTDLLClient.cpp for the implementation of this class // class CAPTDLLClientApp : public CWinApp { public: CAPTDLLClientApp(...
{ "content_hash": "4ab279a566dc77ca9d379fd48eb8073f", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 63, "avg_line_length": 16.03448275862069, "alnum_prop": 0.6903225806451613, "repo_name": "mcleung/PyAPT", "id": "64e501ac396147debec297c2382ba3c9f5a1e79d", "size": "540", ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', function(Blueprint $table) { $table->increments('id'); $tabl...
{ "content_hash": "8e3f261807094fbd5b6d5ce1f934fea8", "timestamp": "", "source": "github", "line_count": 46, "max_line_length": 63, "avg_line_length": 18.869565217391305, "alnum_prop": 0.6163594470046083, "repo_name": "ReIR/BestNid", "id": "e81ff0af0bb83ef9979b094a443cc4a75711514e", "size": "868", ...
using System.Collections.Generic; namespace Lucene.Net.Index { /// <summary> /// An <see cref="IndexDeletionPolicy"/> which keeps all index commits around, never /// deleting them. This class is a singleton and can be accessed by referencing /// <see cref="INSTANCE"/>. /// </summary...
{ "content_hash": "9a8a93a3781aa5655959a04f29bf8da5", "timestamp": "", "source": "github", "line_count": 36, "max_line_length": 88, "avg_line_length": 26.083333333333332, "alnum_prop": 0.5686900958466453, "repo_name": "NikolayXHD/Lucene.Net.Contrib", "id": "c97f4783688dd4ec8afd9e894b740adf7ae87da7", ...
import { QuasarIconSet } from "./extras"; import { QuasarLanguage } from "./lang"; // These interfaces are used as forward-references // filled at build-time via TS interface mergin capabilities export interface QuasarComponents {} export interface QuasarDirectives {} export interface QuasarPlugins {} export interfa...
{ "content_hash": "25eaa2df6b2c96c69bf64dc7aa7aa949", "timestamp": "", "source": "github", "line_count": 17, "max_line_length": 61, "avg_line_length": 29.529411764705884, "alnum_prop": 0.7768924302788844, "repo_name": "quasarframework/quasar", "id": "8b808512733d12f8e1ace0d2e9e85037c021052f", "size"...
package org.apache.kafka.common.requests; import org.apache.kafka.common.acl.AccessControlEntry; import org.apache.kafka.common.acl.AclBinding; import org.apache.kafka.common.acl.AclOperation; import org.apache.kafka.common.acl.AclPermissionType; import org.apache.kafka.common.errors.UnsupportedVersionException; imp...
{ "content_hash": "26153151277285f19a9d82be34805954", "timestamp": "", "source": "github", "line_count": 85, "max_line_length": 140, "avg_line_length": 44.10588235294118, "alnum_prop": 0.7415310749533209, "repo_name": "sslavic/kafka", "id": "06b4b9f4bb2b239f2e6b00c77e5650f771dfb4aa", "size": "4547",...
package me.eddiep.android.pins.util; import android.app.Activity; import android.view.View; import android.view.WindowManager; /** * A base implementation of {@link SystemUiHider}. Uses APIs available in all * API levels to show and hide the status bar. */ public class SystemUiHiderBase extends SystemUiHider { ...
{ "content_hash": "42b13365d1cf5dcce2e9878347a190ce", "timestamp": "", "source": "github", "line_count": 63, "max_line_length": 80, "avg_line_length": 32.01587301587302, "alnum_prop": 0.6108081308874567, "repo_name": "hypereddie/pins-android", "id": "1f50cfeed2f75d088aed34b2f77239a5f48e52a9", "size"...
// (C) Copyright 2015 Martin Dougiamas // // 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 agre...
{ "content_hash": "bb2b8698c2817e64991d41ca7553135f", "timestamp": "", "source": "github", "line_count": 235, "max_line_length": 104, "avg_line_length": 30.582978723404256, "alnum_prop": 0.5433421455405594, "repo_name": "jayteemi/educatoursja", "id": "9ca1a4b37b4443a27cf01cf5b6fcc7955048011d", "size...
package org.elasticsearch.index.seqno; import org.apache.logging.log4j.message.ParameterizedMessage; import org.apache.lucene.store.AlreadyClosedException; import org.elasticsearch.ExceptionsHelper; import org.elasticsearch.Version; import org.elasticsearch.action.ActionListener; import org.elasticsearch.action.supp...
{ "content_hash": "788144aa28ac27f284cfc49179ede667", "timestamp": "", "source": "github", "line_count": 143, "max_line_length": 140, "avg_line_length": 40.49650349650349, "alnum_prop": 0.687446036953894, "repo_name": "jprante/elasticsearch-server", "id": "80c2e64faa6e0845a3a889380836feb7442223d4", ...
package org.ddpush.service.broadCast; public interface Storer { }
{ "content_hash": "3388589f97f00a05a722c7628ec08e7b", "timestamp": "", "source": "github", "line_count": 5, "max_line_length": 37, "avg_line_length": 14.6, "alnum_prop": 0.726027397260274, "repo_name": "taojiaenx/taojiane_push", "id": "532ab6f6ecb871a3f4ec14060cf94df5d57ace09", "size": "73", "bina...
ACCEPTED #### According to Index Fungorum #### Published in null #### Original name Pleospora rubicola Syd. ### Remarks null
{ "content_hash": "75f60eb533f9dff5cacd78aed41b4445", "timestamp": "", "source": "github", "line_count": 13, "max_line_length": 23, "avg_line_length": 9.846153846153847, "alnum_prop": 0.703125, "repo_name": "mdoering/backbone", "id": "a2bc7fad42684ff9b676f816cd8b3489b69c96ff", "size": "175", "bina...
package networking import ( "fmt" "net" "reflect" "regexp" "strings" "time" testexutil "github.com/openshift/origin/test/extended/util" testutil "github.com/openshift/origin/test/util" kapi "k8s.io/kubernetes/pkg/api" kapiunversioned "k8s.io/kubernetes/pkg/api/unversioned" utilwait "k8s.io/kubernetes/pkg/...
{ "content_hash": "86648f8bb7fe59842a06a435aafd6bab", "timestamp": "", "source": "github", "line_count": 322, "max_line_length": 125, "avg_line_length": 31, "alnum_prop": 0.6808254858745743, "repo_name": "marun/origin", "id": "b18eb350a02f8c6e9866f166c666038e87fb7f3a", "size": "9982", "binary": fa...
"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl...
{ "content_hash": "3ff455838829ae3f0610cd2704c431cb", "timestamp": "", "source": "github", "line_count": 37, "max_line_length": 150, "avg_line_length": 46.054054054054056, "alnum_prop": 0.6185446009389671, "repo_name": "kemalcany/kite-solutions-lite", "id": "e73bdf646c78b0f00f4f48748a594b419c4f5058", ...
package org.openstack.atlas.rax.api.mapper.dozer.converter; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.dozer.CustomConverter; import org.openstack.atlas.api.v1.extensions.rax.NetworkItem; import org.openstack.atlas.rax.datamodel.XmlHelper; import org.openstack.atlas...
{ "content_hash": "7bb3be6e8b8a23db911e7b4a1db5e8da", "timestamp": "", "source": "github", "line_count": 67, "max_line_length": 208, "avg_line_length": 43.8955223880597, "alnum_prop": 0.6963617817069024, "repo_name": "openstack-atlas/atlas-lb", "id": "a23b53c975b7f8949c5b9aa561bd4443a65e2259", "size...
import errno import os from contextlib import contextmanager from pants.base.exceptions import TaskError from pants.task.task import QuietTaskMixin, Task from pants.util.dirutil import safe_open from pants.util.meta import classproperty class ConsoleTask(QuietTaskMixin, Task): """A task whose only job is to prin...
{ "content_hash": "d2073a9d0c271a83b95f52bbd241ebd2", "timestamp": "", "source": "github", "line_count": 83, "max_line_length": 104, "avg_line_length": 37.433734939759034, "alnum_prop": 0.5947859671709044, "repo_name": "wisechengyi/pants", "id": "8ebc24a6583e92303436068ec74e4d2cc3722e3f", "size": "3...
<!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.6.0_27) on Fri Mar 02 14:52:00 CET 2018 --> <title>Uses of Class com.tailf.proto.ConfEDouble (CONF API Version 6.6)</title> <meta name="dat...
{ "content_hash": "b8be116fa625d87ef4c5d6f8f6198322", "timestamp": "", "source": "github", "line_count": 162, "max_line_length": 265, "avg_line_length": 36.81481481481482, "alnum_prop": 0.6338028169014085, "repo_name": "kimjinyong/i2nsf-framework", "id": "91b57e5dc692f4fcdf7688b9dd68aca68b8406a8", "...
require 'rails_helper' feature 'User creates a new company' do background do user = create(:user, :confirmed, :roles => 'admin') sign_in_with user.email, user.password visit new_configuration_company_path end context 'when the details are valid' do scenario 'the user sees a success message' do...
{ "content_hash": "73f2385c6764200d6acb2d1383d16bf4", "timestamp": "", "source": "github", "line_count": 29, "max_line_length": 77, "avg_line_length": 23.275862068965516, "alnum_prop": 0.6711111111111111, "repo_name": "josephbridgwaterrowe/contacts", "id": "15563e6c51ffded41c764b3185e5e9b75e4f5547", ...
set -e echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then local source="${BUILT_PRODUCTS_DIR}...
{ "content_hash": "de3e1a576181485bef37798158fc672a", "timestamp": "", "source": "github", "line_count": 58, "max_line_length": 241, "avg_line_length": 44.793103448275865, "alnum_prop": 0.6497305619707467, "repo_name": "congncif/MyLibrary", "id": "ee32c265f8f1989b34f51a930cfb1a22aae08d75", "size": "...
.class Landroid/net/wifi/WifiWatchdogStateMachine$WatchdogDisabledState; .super Lcom/android/internal/util/State; .source "WifiWatchdogStateMachine.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroid/net/wifi/WifiWatchdogStateMachine; .end annotation .annotation system Ldal...
{ "content_hash": "f891279d7a2860d8f8c4ab2f3931bbdc", "timestamp": "", "source": "github", "line_count": 88, "max_line_length": 185, "avg_line_length": 30.90909090909091, "alnum_prop": 0.7606617647058823, "repo_name": "baidurom/devices-lt26i", "id": "a65b3dd0f9d5aaed6ec94c1adb0b0cea8d82300e", "size"...
#include "common.h" static apr_pool_t *test_pool; static gla_store_t *test_store; static gla_entityreg_t *test_self; /********************************** TEST 1 ************************************/ #include "src/regex.h" static int test1_init() { int ret; ret = apr_pool_create(&test_pool, NULL); if(ret != APR_S...
{ "content_hash": "5a05573e699b544a2bdb710525a2309e", "timestamp": "", "source": "github", "line_count": 309, "max_line_length": 80, "avg_line_length": 29.915857605177994, "alnum_prop": 0.6831458243184768, "repo_name": "torsten-schenk/gla", "id": "6d09b0b17c5951025f1a2240da85b10e0601bad5", "size": "...
<?php namespace Analogue\ORM\Relationships; use Analogue\ORM\EntityCollection; use Analogue\ORM\Mappable; use Analogue\ORM\System\InternallyMappable; use Analogue\ORM\System\Mapper; use Analogue\ORM\System\Query; use Analogue\ORM\System\Wrappers\Factory; use Carbon\Carbon; use Closure; use Illuminate\Database\Query\E...
{ "content_hash": "252be8518a4ffe07fc982e8c66bfd5e4", "timestamp": "", "source": "github", "line_count": 453, "max_line_length": 105, "avg_line_length": 21.713024282560706, "alnum_prop": 0.563338755591704, "repo_name": "analogueorm/analogue", "id": "b31934563a8c73cf4c828e7b30643be9dd7b9cdf", "size":...
package org.apache.hive.jdbc; import java.io.InputStream; import java.io.Reader; import java.math.BigDecimal; import java.net.URL; import java.sql.Array; import java.sql.Blob; import java.sql.Clob; import java.sql.Date; import java.sql.NClob; import java.sql.ParameterMetaData; import java.sql.PreparedStatement; impo...
{ "content_hash": "99f41b14be8b63a06f19dc0faf228c3a", "timestamp": "", "source": "github", "line_count": 754, "max_line_length": 150, "avg_line_length": 25.722811671087534, "alnum_prop": 0.6684196957978861, "repo_name": "winningsix/hive", "id": "8a0671fc28c4e8326df068f7de5cf278c863e362", "size": "20...
<?php namespace perf\Form\Filtering; /** * */ class UppercaseFilterTest extends \PHPUnit_Framework_TestCase { /** * */ protected function setUp() { $this->filter = new UppercaseFilter(); } /** * */ public function testApply() { $value = 'foo'; ...
{ "content_hash": "961cec99e8a0005981416d33aee21bfe", "timestamp": "", "source": "github", "line_count": 28, "max_line_length": 64, "avg_line_length": 13.857142857142858, "alnum_prop": 0.520618556701031, "repo_name": "jmfeurprier/perf-form", "id": "8367d0901ef2fd125121ee99f14678b65bb8eb46", "size": ...
package org.bitcoins.core.script.splice import org.bitcoins.core.script.ScriptOperationFactory import org.bitcoins.core.script.constant.ScriptOperation /** * Created by chris on 1/22/16. */ sealed trait SpliceOperation extends ScriptOperation case object OP_CAT extends SpliceOperation { override def opCode = 126...
{ "content_hash": "a78bf7fbc76797eed75b2b427144f5a6", "timestamp": "", "source": "github", "line_count": 33, "max_line_length": 72, "avg_line_length": 23.606060606060606, "alnum_prop": 0.7792041078305519, "repo_name": "Christewart/bitcoin-s-core", "id": "7b3a8d84c418f87ef48ddc608f9a1e5fe8d57ccc", "s...
using namespace testing; using namespace stream; using namespace stream::op; TEST(SingletonTest, Default) { EXPECT_THAT(MakeStream::singleton(5) | to_vector(), ElementsAre(5)); }
{ "content_hash": "77566c1aea9fac1c2c65df08b4f68586", "timestamp": "", "source": "github", "line_count": 7, "max_line_length": 72, "avg_line_length": 26.285714285714285, "alnum_prop": 0.7445652173913043, "repo_name": "bowlofstew/Streams", "id": "c2ca1c5480a02bcf4025cc1b14776df490d776ff", "size": "23...
#ifndef HAVE_GETADDRINFO /* * Error return codes from getaddrinfo() */ #ifdef EAI_ADDRFAMILY /* If this is defined, there is a conflicting implementation in the C library, which can't be used for some reason. Make sure it won't interfere with this emulation. */ #undef EAI_ADDRFAMILY #undef EAI_AGAIN #undef ...
{ "content_hash": "5c46bc5f92a594542381d8f3e1bd9f3a", "timestamp": "", "source": "github", "line_count": 141, "max_line_length": 84, "avg_line_length": 31.50354609929078, "alnum_prop": 0.6593876632147682, "repo_name": "wanliming11/MurlocAlgorithms", "id": "c3c86248dd436044bac68a6b7c78816840f02ed3", ...
package com.hazelcast.cache.impl; import javax.cache.CacheException; import javax.management.MBeanServer; import javax.management.MalformedObjectNameException; import javax.management.ObjectName; import java.lang.management.ManagementFactory; import java.util.Set; /** * MXBean utility methods related to registrati...
{ "content_hash": "e9051bc8b1bcc00714c8c6ca02e05561", "timestamp": "", "source": "github", "line_count": 101, "max_line_length": 129, "avg_line_length": 43.148514851485146, "alnum_prop": 0.6340064249655806, "repo_name": "emrahkocaman/hazelcast", "id": "a4e7a73a0a9102698806a5eb6f6edf883181e924", "siz...
<div class="seek-bar" ng-click="onClickSeekBar($event)"> <div class="fill" ng-style="fillStyle()"></div> <div class="thumb" ng-style="thumbStyle()" ng-mousedown="trackThumb()"></div> </div>
{ "content_hash": "cede9798782fc760dd01b7a5506bc84a", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 56, "avg_line_length": 33.333333333333336, "alnum_prop": 0.645, "repo_name": "bperlik/bloc-jams-angular", "id": "d534bd3d3d38a1ae7c38061c63d4ed14151863e3", "size": "200", ...
Title: First Post Time: 2017-05-03 06:04:28 I beat you to it. Just go ahead and delete this file and ``` you@machine:~/.../nj$ ./nj -n first My Actual First Post ``` to add your actual first post.
{ "content_hash": "d6f44dcfaca2c9035e16e04d763f9a12", "timestamp": "", "source": "github", "line_count": 8, "max_line_length": 56, "avg_line_length": 24.75, "alnum_prop": 0.6868686868686869, "repo_name": "d2718/nj", "id": "792d61f0458a7f8f279d40527d70a3f47eb14e98", "size": "198", "binary": false, ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Boost.Geometry (aka GGL, Generic Geometry Library)</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type=...
{ "content_hash": "5608848cb27ec176801d9d45c5437f6f", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 697, "avg_line_length": 67.05607476635514, "alnum_prop": 0.6933797909407665, "repo_name": "keichan100yen/ode-ext", "id": "2148f83aa7ce9526a71b8e8801d6bf31e9cc8ae3", "size"...
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <corners android:radius="15dp"></corners> <size android:width="30dp" android:height="30dp"></size> <solid android:color="#EA1E63"></solid> </shape>
{ "content_hash": "14ed8563e22a2f1f092277973c9e1df1", "timestamp": "", "source": "github", "line_count": 6, "max_line_length": 87, "avg_line_length": 47, "alnum_prop": 0.6950354609929078, "repo_name": "GaoGersy/PasswordManager", "id": "4a650a1e1582765448f7c717bb7172a8424b91bb", "size": "282", "bin...
var sendID = null; chrome.runtime.onMessage.addListener(function(message,sender,sendResponse){ console.log(sender); sendID = sender.tab.id; takeScreenshot(); }); function takeScreenshot() { chrome.tabs.captureVisibleTab(null, function(img) { var screenshotUrl = img; console.log(screenshotUrl); // send pict...
{ "content_hash": "f751ee28f003c6ad281b05034e5ea5f9", "timestamp": "", "source": "github", "line_count": 16, "max_line_length": 75, "avg_line_length": 26, "alnum_prop": 0.7451923076923077, "repo_name": "elliot79313/cklab_project102-1", "id": "942c90fc33888d635c6b502dceb5bc7a41b50181", "size": "985",...
import {CommonModule} from '@angular/common'; import {Component, ContentChild, NgModule, TemplateRef, Type, ViewChild, ViewContainerRef} from '@angular/core'; import {ComponentFixture, TestBed, fakeAsync, tick} from '@angular/core/testing'; import {Router} from '@angular/router'; import {RouterTestingModule} from '@a...
{ "content_hash": "f816fc1b4840eda5196eb8e3e786eae7", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 112, "avg_line_length": 30.950413223140497, "alnum_prop": 0.5863818424566088, "repo_name": "StephenFluin/angular", "id": "c67c12a4d15ff714447895dc540a13514c2aa81f", "size"...
require "tmpdir" require "rubygems" require "language_pack" require "language_pack/base" require "language_pack/bundler_lockfile" # base Ruby Language Pack. This is for any base ruby app. class LanguagePack::Ruby < LanguagePack::Base include LanguagePack::BundlerLockfile extend LanguagePack::BundlerLockfile BUI...
{ "content_hash": "caaeb1a690ce3b851dfafc02588569f1", "timestamp": "", "source": "github", "line_count": 727, "max_line_length": 427, "avg_line_length": 32.95185694635488, "alnum_prop": 0.6471865085990983, "repo_name": "centresource/heroku-buildpack-turbo-sprockets-pmp-ffm", "id": "53b9436d53057e38c14...
@(fooForm: Form[String])(implicit request: MessagesRequestHeader) @import utils.BSVersion @import tags._ @implicitFC = @{ b3.horizontal.fieldConstructor("col-md-2", "col-md-10") } @fruits = @{ Seq("A"->"Apples","P"->"Pears","B"->"Bananas") } @main("Mixed Forms", tab = "styles") { <h1 id="mixed-forms" class="page-h...
{ "content_hash": "7fcc02552d0961bc5ee003e6fde3458c", "timestamp": "", "source": "github", "line_count": 121, "max_line_length": 104, "avg_line_length": 42.6198347107438, "alnum_prop": 0.6255574946674423, "repo_name": "adrianhurt/play-bootstrap3", "id": "350ad645707f2f08fc142644a50ca2a501f7e749", "s...
// // XVimCommandLine.m // XVim // // Created by Shuichiro Suzuki on 2/10/12. // Copyright 2012 JugglerShu.Net. All rights reserved. // #import "DVTKit.h" #import "IDEEditorArea+XVim.h" #import "Logger.h" #import "NSAttributedString+Geometrics.h" #import "XVimCommandField.h" #import "XVimComma...
{ "content_hash": "6f97c332c84c9f1f23179540af45bea9", "timestamp": "", "source": "github", "line_count": 330, "max_line_length": 195, "avg_line_length": 37.57878787878788, "alnum_prop": 0.6788968631561971, "repo_name": "antmd/XVim1", "id": "2161f16c50bdd1e76011e555f1b97cefdf82e955", "size": "12401",...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/compute/v1/compute.proto package com.google.cloud.compute.v1; public interface SetLabelsGlobalForwardingRuleRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SetLabelsGlobalForward...
{ "content_hash": "bab1d33276ca2be38a1bc7ef75b57eb9", "timestamp": "", "source": "github", "line_count": 107, "max_line_length": 142, "avg_line_length": 25.30841121495327, "alnum_prop": 0.6469719350073855, "repo_name": "googleapis/java-compute", "id": "f128472db600c3ec5c97b874d1b7aa9ad8f3b8f5", "siz...
package at.jku.pervasive.ecg; import java.io.File; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.AtomicInteger; import javax.bluetooth.BluetoothStateException; import com.intel.bluetooth.EmulatorTestsHelper; /** * Idea taken f...
{ "content_hash": "cd906d27c8a580fd22a3ea3132eaa06c", "timestamp": "", "source": "github", "line_count": 77, "max_line_length": 78, "avg_line_length": 27.766233766233768, "alnum_prop": 0.7221702525724977, "repo_name": "pangratz/heartman-bluetooth-recorder", "id": "8aba38627ab5357dfe74653d2e0b0a7bfa90d...