text stringlengths 2 1.04M | meta dict |
|---|---|
import path from 'path';
import test from 'ava';
import gulpUtil from 'gulp-util';
import fn from './';
test.cb(t => {
const stream = fn();
stream.once('data', file => {
t.is(file.contents.toString(), 'unicorns');
t.end();
});
stream.write(new gulpUtil.File({
base: __dirname,
path: path.join(__dirname, '... | {
"content_hash": "73bbe22474d84279c0fa9fa5ce8b71ef",
"timestamp": "",
"source": "github",
"line_count": 21,
"max_line_length": 45,
"avg_line_length": 18.714285714285715,
"alnum_prop": 0.6183206106870229,
"repo_name": "Maximaximum/gulp-vb2ts",
"id": "6a0f7b0b1b0fae0bf48764fa56913026ff51da4f",
"size"... |
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { Child1Component } from './child1.component';
describe('Child1Component', () => {
let component: Child1Component;
let fixture: ComponentFixture<Child1Component>;
beforeEach(async(() => {
TestBed.configureTestingModule({
... | {
"content_hash": "7b33f680858c1a1311e7a7d1cb5f932a",
"timestamp": "",
"source": "github",
"line_count": 25,
"max_line_length": 73,
"avg_line_length": 25.28,
"alnum_prop": 0.6708860759493671,
"repo_name": "pusgs/materijali",
"id": "cdc3d7695057dc10ee9d01acaf728d928d7be53f",
"size": "632",
"binary"... |
<!DOCTYPE html>
<html lang="en" id="webstandardssherpa_com">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Language" content="en"/>
<title>Log In - Web Standards Sherpa</title>
<meta name="robots" content="index,follow,archive" />
<meta name='description' content='Web Standards Sherpa&rs... | {
"content_hash": "22b9a99541ffe337632dbbaab559c862",
"timestamp": "",
"source": "github",
"line_count": 274,
"max_line_length": 472,
"avg_line_length": 41.36496350364963,
"alnum_prop": 0.6574025057349567,
"repo_name": "WebStandardsSherpa/webstandardssherpa.com",
"id": "e88cd48f774ebd4192f2dda4f66612a... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/contactitem_catalog"
style="@style/... | {
"content_hash": "cf0148d5a071e178a3eaccb43717be12",
"timestamp": "",
"source": "github",
"line_count": 55,
"max_line_length": 72,
"avg_line_length": 34.25454545454546,
"alnum_prop": 0.5759023354564756,
"repo_name": "zhujunxxxxx/SportsPage",
"id": "cb9335e39edb869fc7ec8b069deb0a3d900bd4a9",
"size":... |
<?php
namespace PHPExiftool\Driver\Tag\MXF;
use JMS\Serializer\Annotation\ExclusionPolicy;
use PHPExiftool\Driver\AbstractTag;
/**
* @ExclusionPolicy("all")
*/
class Bitrate extends AbstractTag
{
protected $Id = '060e2b34.0101.0105.04010602.010b0000';
protected $Name = 'Bitrate';
protected $FullNa... | {
"content_hash": "f23bbe5e2164062fe881ab506f028323",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 59,
"avg_line_length": 15.833333333333334,
"alnum_prop": 0.6578947368421053,
"repo_name": "bburnichon/PHPExiftool",
"id": "6b8d605aacc1f563336c61566b05ab2b8766d958",
"size"... |
update user_accounts
set password_hash = ?
where username = ?
| {
"content_hash": "1bcbb34f29b8baf601905aaa73025404",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 21,
"avg_line_length": 20.666666666666668,
"alnum_prop": 0.7419354838709677,
"repo_name": "perfect-idiots/b6fb",
"id": "3451a06cb3bbdfe4942ddc77390ec52328bfa098",
"size": "6... |
package ERDBTypeImage;
use strict;
use Tracer;
use ERDB;
use GD;
use MIME::Base64;
use ERDBExtras;
use base qw(ERDBType);
=head1 ERDB Image Type Definition
=head2 Introduction
This object represents the data type for images stored in the database. Each
image must be a PERL B<GD> object. ... | {
"content_hash": "c3eabecaf574bbb914ddb732adbaad82",
"timestamp": "",
"source": "github",
"line_count": 342,
"max_line_length": 84,
"avg_line_length": 20.210526315789473,
"alnum_prop": 0.6772280092592593,
"repo_name": "kbase/kb_seed",
"id": "b5bcb8af4a66810835762d84ee9c3b1fccf93b07",
"size": "7536"... |
package org.apache.cassandra.repair;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.UUID;
import java.util.concurrent.TimeUnit;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import org.junit.BeforeClass;
import org.junit.Test;
import o... | {
"content_hash": "0014599ab2ea53d25b01759ad6e99f2c",
"timestamp": "",
"source": "github",
"line_count": 233,
"max_line_length": 133,
"avg_line_length": 44.98283261802575,
"alnum_prop": 0.7127182520751837,
"repo_name": "spodkowinski/cassandra",
"id": "6e691f528ff08819c47cee5465369cb31387afed",
"size... |
description: Describes how to manage users in the Auth0 Dashboard.
crews: crew-2
topics:
- dashboard
- users
contentType: how-to
useCase:
- manage-users
v2: True
---
# Manage Users Using the Dashboard
You can use the Dashboard to manage your users. To begin, go to [Dashboard > Users](${manage_url}/#/users). Thi... | {
"content_hash": "bf524c34e56e36e13b0d78bd6d7204d3",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 182,
"avg_line_length": 35.57575757575758,
"alnum_prop": 0.7402044293015332,
"repo_name": "auth0/docs",
"id": "865cef7e1b9884fbc2b07bf11017ee8414863f30",
"size": "1178",
... |
Contributing to conda-build-all
In proposing contributions to this project, you are agreeing to the following contribution terms.
Grant of Copyright Licence. Subject to the terms and conditions of this Agreement, You hereby grant to the Met Office and to recipients of software distributed by the Met Office a perpetua... | {
"content_hash": "08f2fe85f1b0c2efaaacacc7dc7cc9d8",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 500,
"avg_line_length": 84.41666666666667,
"alnum_prop": 0.8077492596248766,
"repo_name": "pelson/conda-build-all",
"id": "0b73655c36a1c9b8af89878dcd100209cac87cc1",
"size"... |
require 'rails_helper'
describe CourseRepository do
let (:hash) { { department: "CS", number: "135", section: "005", term: "1149", instructor: "Brad Lushman" } }
let! (:book) { FactoryGirl.create :book }
let! (:course) do
temp = FactoryGirl.build :course, department: "CS", number: "777", term: "1149", secti... | {
"content_hash": "d23ba72dc6db66741ff460264bff9940",
"timestamp": "",
"source": "github",
"line_count": 82,
"max_line_length": 112,
"avg_line_length": 32.68292682926829,
"alnum_prop": 0.6619402985074627,
"repo_name": "lime-green/uw_books",
"id": "fada0780d1dca39fd2299b221531ddf9ac0848a9",
"size": "... |
export default function reducer (state = {mode: 'IDLE', step: 0},
action = {type: 'MODE_CHANGE', payload: name}) {
const newState = {mode: state.mode, step: state.step};
switch (action.type) {
case 'MODE_CHANGE':
newState.mode = action.payload;
newState.step = 0;
... | {
"content_hash": "9996cbd5c1a7a60d2e85124fada06f19",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 81,
"avg_line_length": 26,
"alnum_prop": 0.48575498575498577,
"repo_name": "hexrcs/MIMAviz",
"id": "b9c7b7114049b5999e0ce4e52fed9efc33a7023e",
"size": "702",
"binary": fa... |
package com.example.android.sunshine.app.data;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import com.example.android.sunshine.app.data.WeatherContract.LocationEntry;
import com.example.android.sunshine.app.data.WeatherContract.Weath... | {
"content_hash": "f3db7e10accb1e18172f9c295e8a1c45",
"timestamp": "",
"source": "github",
"line_count": 81,
"max_line_length": 99,
"avg_line_length": 50.01234567901235,
"alnum_prop": 0.6393483090594915,
"repo_name": "EstalillaJ/SunshineApp-Udacity",
"id": "2a5e5ab3f2f73fe8be2567dc70ccb79ef0132abc",
... |
__author__ = "Christian Kongsgaard"
__license__ = 'MIT'
# -------------------------------------------------------------------------------------------------------------------- #
# IMPORTS
# Modules
import os
# RiBuild Modules
from delphin_6_automation.database_interactions.db_templates import delphin_entry
from delph... | {
"content_hash": "8fe1b0aaabc9430fca71a6638fb0c07c",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 121,
"avg_line_length": 39.44827586206897,
"alnum_prop": 0.6136363636363636,
"repo_name": "thp44/delphin_6_automation",
"id": "1dc0a088275d84c8899b092d0f5eeb47f60960f5",
"s... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BinbinDotNetOpenAuth.Samples.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Message = "Modify this templa... | {
"content_hash": "da82c21788233640e80fb18566255e0a",
"timestamp": "",
"source": "github",
"line_count": 32,
"max_line_length": 97,
"avg_line_length": 22.46875,
"alnum_prop": 0.5577190542420027,
"repo_name": "lotosbin/BinbinDotNetOpenAuthClients",
"id": "a0dadb4b3c50e6fc882c6abd359eec98135f748c",
"s... |
require "test/cask/dsl/shared_examples/base"
require "test/cask/dsl/shared_examples/staged"
describe Cask::DSL::Postflight, :cask do
let(:cask) { Cask::CaskLoader.load(cask_path("basic-cask")) }
let(:dsl) { described_class.new(cask, FakeSystemCommand) }
it_behaves_like Cask::DSL::Base
it_behaves_like Cask::S... | {
"content_hash": "84024ae795fd17ec75aa59f42381af9b",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 63,
"avg_line_length": 28,
"alnum_prop": 0.7087912087912088,
"repo_name": "mahori/brew",
"id": "edb411f312c3495667166903a3a2220931aab366",
"size": "395",
"binary": false,... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.columbia.tjw.item.util.random;
import edu.columbia.tjw.item.util.ByteTool;
import edu.columbia.tjw.item.util.HashTool;
im... | {
"content_hash": "60c52c9083b834fb36c3c8bca393ba39",
"timestamp": "",
"source": "github",
"line_count": 178,
"max_line_length": 116,
"avg_line_length": 26.640449438202246,
"alnum_prop": 0.5700126528890763,
"repo_name": "tyward/item",
"id": "fc1b7471b6d4426756cabb4c64d8252786d65d57",
"size": "4742",... |
<?php
namespace test\o\o;
class n { } | {
"content_hash": "523b4a7a228ad7b92b7436a8f0f961a4",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 19,
"avg_line_length": 12.333333333333334,
"alnum_prop": 0.6486486486486487,
"repo_name": "theosyspe/levent_01",
"id": "4471f355ae0da3ae0b9ed1d343257443e4145cf5",
"size": "3... |
<!DOCTYPE html>
<html lang="en">
<head>
<title>NSFetchRequest Extension Reference</title>
<link rel="stylesheet" type="text/css" href="../css/jazzy.css" />
<link rel="stylesheet" type="text/css" href="../css/highlight.css" />
<meta charset='utf-8'>
<script src="../js/jquery.min.js" defer></script>... | {
"content_hash": "8d6f74430693bd5f352dd8559b4d1e41",
"timestamp": "",
"source": "github",
"line_count": 318,
"max_line_length": 664,
"avg_line_length": 46.484276729559745,
"alnum_prop": 0.3960898389933703,
"repo_name": "tinrobots/CoreDataPlus",
"id": "078349b21d881e75ac97316e284d046401b02f4c",
"siz... |
\input{front.tex}
\input{doc.tex}
\input{back.tex} | {
"content_hash": "d241d7b4683e768d47e09bf6396d5013",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 17,
"avg_line_length": 16.666666666666668,
"alnum_prop": 0.72,
"repo_name": "mvhaen/Murdoc",
"id": "d187eb8404c0c9c9820d5ffb8bbaac1892d41bb3",
"size": "50",
"binary": fals... |
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>phpDocumentor » SelfService\Entity\Provisionable\MetaInputs</title>
<meta n... | {
"content_hash": "80eeb2afa83357cac88dff666379f311",
"timestamp": "",
"source": "github",
"line_count": 137,
"max_line_length": 489,
"avg_line_length": 55.605839416058394,
"alnum_prop": 0.6856130217904962,
"repo_name": "rgeyer/rs_selfservice",
"id": "cb2e96a609ae939023c7de81c438e129b99a5769",
"size... |
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/acti... | {
"content_hash": "96ec94595668fd0d512c1f4a8994a805",
"timestamp": "",
"source": "github",
"line_count": 101,
"max_line_length": 74,
"avg_line_length": 39,
"alnum_prop": 0.6169078446306169,
"repo_name": "MOctavio/BluetoothJoystickController",
"id": "7f003973b44ea5cecd50bcca95f0474d036c79c9",
"size":... |
package org.compass.core.lucene.util;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.Term;
import org.apache.lucene.index.TermEnum;
import org.apache.lucene.index.TermFreqVector;
import org.apache.lucene.search.Filter;
import org.ap... | {
"content_hash": "9ca7a309591ccf34a23280c3ca432b35",
"timestamp": "",
"source": "github",
"line_count": 254,
"max_line_length": 143,
"avg_line_length": 48.488188976377955,
"alnum_prop": 0.7213380967846703,
"repo_name": "guaxinim/compass",
"id": "310cd9e145b11a47835298432a21621cc3cf98fb",
"size": "1... |
// Copyright 2017 DAIMTO ([Linda Lawton](https://twitter.com/LindaLawtonDK)) : [www.daimto.com](http://www.daimto.com/)
//
// 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.apa... | {
"content_hash": "20849c83142c6aacd163585f104f4c3a",
"timestamp": "",
"source": "github",
"line_count": 153,
"max_line_length": 140,
"avg_line_length": 47.588235294117645,
"alnum_prop": 0.5793160280181294,
"repo_name": "LindaLawton/Google-Dotnet-Samples",
"id": "1117f4a8623046566373bdebd272ad760df2ad... |
package org.apache.pluto.testsuite.test;
import java.util.Enumeration;
import java.util.HashMap;
import java.util.Map;
import javax.portlet.PortletRequest;
import org.apache.pluto.testsuite.TestResult;
import org.apache.pluto.testsuite.TestUtils;
/**
*/
public class RenderParameterTest extends AbstractReflectiveP... | {
"content_hash": "cd5baa9b7f6d40fc272d2ea226bf03d5",
"timestamp": "",
"source": "github",
"line_count": 135,
"max_line_length": 91,
"avg_line_length": 36.785185185185185,
"alnum_prop": 0.6270640354409988,
"repo_name": "apache/portals-pluto",
"id": "144550c2f40bbae47aa6c21821d840da629c4dcd",
"size":... |
<?xml version="1.0" encoding="utf-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<e... | {
"content_hash": "8963edbc114fa6dad88f619bb275a37c",
"timestamp": "",
"source": "github",
"line_count": 17,
"max_line_length": 276,
"avg_line_length": 61.76470588235294,
"alnum_prop": 0.7390476190476191,
"repo_name": "jeremiebernard/suivi_alternants",
"id": "8606daf8a282e6b14a2131b4799af26afce888c8",... |
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.
(i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]).
You are given a target value to search. If found in the array return true, otherwise return false.
### Example 1:
```
Input: nums = [2,5,6,0,0,1,2], target = 0
Output:... | {
"content_hash": "462bc3c593a700114fdf21fce5cdf61f",
"timestamp": "",
"source": "github",
"line_count": 28,
"max_line_length": 99,
"avg_line_length": 25.285714285714285,
"alnum_prop": 0.672316384180791,
"repo_name": "l33tdaima/l33tdaima",
"id": "8116ad1342129689a372dc5278bb17627cea8c3e",
"size": "7... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.mysql.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core... | {
"content_hash": "9bb6076839de27d17a822fb7e766545b",
"timestamp": "",
"source": "github",
"line_count": 79,
"max_line_length": 117,
"avg_line_length": 58.278481012658226,
"alnum_prop": 0.7634665508253693,
"repo_name": "Azure/azure-sdk-for-java",
"id": "aacd5a01462a6c9fe2c1216eef0e6eb2ac5c3ed9",
"si... |
ACCEPTED
#### According to
The Catalogue of Life, 3rd January 2011
#### Published in
null
#### Original name
null
### Remarks
null | {
"content_hash": "15f9662bdfe28fcca6980f0600cc05b4",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 39,
"avg_line_length": 10.307692307692308,
"alnum_prop": 0.6940298507462687,
"repo_name": "mdoering/backbone",
"id": "7ca8b3c101a0563bdef5aebe96c3c221ed77b921",
"size": "18... |
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
describe 'TracePoint#self' do
it 'return the trace object from event' do
trace = nil
TracePoint.new(:line) { |tp|
next unless TracePointSpec.target_thread?
trace = tp.self
}.enable do
trace.equal?(self).should be_t... | {
"content_hash": "b2d3553280434524f4e10e20100481c1",
"timestamp": "",
"source": "github",
"line_count": 26,
"max_line_length": 52,
"avg_line_length": 24.115384615384617,
"alnum_prop": 0.6555023923444976,
"repo_name": "nobu/rubyspec",
"id": "2098860e59221ddec4be4e53368b22a6b4486d9e",
"size": "627",
... |
/*
* angular-loading-bar
*
* intercepts XHR requests and creates a loading bar.
* Based on the excellent nprogress work by rstacruz (more info in readme)
*
* (c) 2013 Wes Cruver
* License: MIT
*/
(function() {
'use strict';
// Alias the loading bar for various backwards compatibilities since the project ha... | {
"content_hash": "ca20144c91526e0e9983da9a74793eb1",
"timestamp": "",
"source": "github",
"line_count": 319,
"max_line_length": 170,
"avg_line_length": 31.031347962382444,
"alnum_prop": 0.565208606929993,
"repo_name": "uttapong/thalinterpreter",
"id": "8401fe466c80e0aca114e7a9e4cae198a97f026c",
"si... |
ACCEPTED
#### According to
Index Fungorum
#### Published in
Enum. pl. (Kjbenhavn) 2: 270 (1803)
#### Original name
Agaricus inodorus Bull.
### Remarks
null | {
"content_hash": "63a3cc0ea09c64fd782d73f9e9dd6c24",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 35,
"avg_line_length": 12.23076923076923,
"alnum_prop": 0.6855345911949685,
"repo_name": "mdoering/backbone",
"id": "b53ed87a055740d3cba62b2ba8b7b16fb2513f7e",
"size": "206... |
class BrowserStatusMonitor::LocalWebContentsObserver
: public content::WebContentsObserver {
public:
LocalWebContentsObserver(content::WebContents* contents,
BrowserStatusMonitor* monitor)
: content::WebContentsObserver(contents),
monitor_(monitor) {}
~LocalWebContents... | {
"content_hash": "53e9c435d9c7c0d92fac6baffac3afb9",
"timestamp": "",
"source": "github",
"line_count": 358,
"max_line_length": 80,
"avg_line_length": 38.49441340782123,
"alnum_prop": 0.6984979319352732,
"repo_name": "ds-hwang/chromium-crosswalk",
"id": "efbe50e754d4eccf628d39dc9fe6bfe722d5e255",
"... |
# postcss-copy [](https://travis-ci.org/geut/postcss-copy)
> An **async** postcss plugin to copy all assets referenced in CSS files to a custom destination folder and updating the URLs.
## Install
With [npm](https://npmjs.com/package/postcss-co... | {
"content_hash": "da19a3bbe3ff4698dd63b8de9412554b",
"timestamp": "",
"source": "github",
"line_count": 152,
"max_line_length": 314,
"avg_line_length": 30.638157894736842,
"alnum_prop": 0.60833154391239,
"repo_name": "wbinnssmith/postcss-copy",
"id": "4c1292dbf13063e48b3f9ebd885427054d62a9d0",
"siz... |
module InitializerEnhancer
def initialize(callback_method:)
# Class including this one must define the callback method
define_singleton_method(callback_method) {
super("banana") # <- Works just like you hoped it would.
}
super()
end
end
class SillyMonkey
prepend InitializerEnhancer
de... | {
"content_hash": "a6fe444869a6b53f0c3c0841bdfb3fca",
"timestamp": "",
"source": "github",
"line_count": 50,
"max_line_length": 62,
"avg_line_length": 19.48,
"alnum_prop": 0.675564681724846,
"repo_name": "pboling/celluloid-io-pg-listener",
"id": "56669c42730e231531ac2a6d94eda886885e8a7d",
"size": "9... |
// Npgsql.NpgsqlError.cs
//
// Author:
// Francisco Jr. (fxjrlists@yahoo.com.br)
//
// Copyright (C) 2002 The Npgsql Development Team
// npgsql-general@gborg.postgresql.org
// http://gborg.postgresql.org/project/npgsql/projdisplay.php
//
// Permission to use, copy, modify, and distribute this software and it... | {
"content_hash": "28584f67a86dc49ce21759798f7a194e",
"timestamp": "",
"source": "github",
"line_count": 329,
"max_line_length": 199,
"avg_line_length": 28.033434650455927,
"alnum_prop": 0.6200802341971159,
"repo_name": "ngs-doo/revenj",
"id": "d62854376f42b91e519ae232a9af867eaf7957c4",
"size": "925... |
//
// NSLayoutConstraint+PureLayout.m
// v1.0.0
// https://github.com/smileyborg/PureLayout
//
// Copyright (c) 2013-2014 Tyler Fox
//
// This code is distributed under the terms and conditions of the MIT license.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softw... | {
"content_hash": "d6a291189b2abf0384135cc616655483",
"timestamp": "",
"source": "github",
"line_count": 67,
"max_line_length": 191,
"avg_line_length": 40.701492537313435,
"alnum_prop": 0.7271727172717272,
"repo_name": "kiokoo/YaleMobile",
"id": "6d693b45b47b50a7290ed9ff11f3d4ca6fc45049",
"size": "2... |
<html>
<body>
Technology-neutral RSF definitions relating to Entities (defined as objects
referenced by unique IDs).
</body>
</html>
| {
"content_hash": "53b8ce776de8e70c453971bd8b28feff",
"timestamp": "",
"source": "github",
"line_count": 8,
"max_line_length": 75,
"avg_line_length": 18.125,
"alnum_prop": 0.7034482758620689,
"repo_name": "rsf/RSFUtil",
"id": "d82170f6ef5cf613c2c436f419b9f81a971e17f1",
"size": "145",
"binary": fal... |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget... | {
"content_hash": "a5471ad4e2dce3e330da51927219e1f1",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 62,
"avg_line_length": 35.5,
"alnum_prop": 0.7022132796780685,
"repo_name": "jbatonnet/tramurway",
"id": "120ac71b706297335ffb8a3040100f09b8433674",
"size": "497",
"binar... |
/// <summary>
/// This is a script that simply also listens to the ExampleMessage
/// If a kill message is sent, it kills itself
/// </summary>
public class ExtraListener : MonoBehaviourEx, IHandle<KillMessage>, IHandle<ExampleMessage>
{
/// <summary>
/// When we get the kill message, destroy ourself
/// <... | {
"content_hash": "ca5921fd4a454a543c60b492fd003e61",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 91,
"avg_line_length": 29.181818181818183,
"alnum_prop": 0.6510903426791277,
"repo_name": "Temaran/TemaranUnityMessenger",
"id": "48d1daeab051e42db5cbfd39d4309d4acadf435f",
... |
/*!
@file verilog_parser.h
@brief A nice interface for the whole verilog parser.
@details Provides wrappers around the awkward yylex and yyparse functions,
as well as an easy way to change the input stream.
@note Functions declared in this file are defined in verilog_parser_wrapper.c
*/
#include "stdio.h"
// Essenti... | {
"content_hash": "001cbf188d0ce41098c19d98ef799e84",
"timestamp": "",
"source": "github",
"line_count": 166,
"max_line_length": 80,
"avg_line_length": 38.08433734939759,
"alnum_prop": 0.7505536222714331,
"repo_name": "ben-marshall/verilog-parser",
"id": "83a65e1724b71b4860e06fe02c8422db4bbb1cba",
"... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ex... | {
"content_hash": "b62f76af54a777d2bc793196c9e5af07",
"timestamp": "",
"source": "github",
"line_count": 36,
"max_line_length": 84,
"avg_line_length": 38.861111111111114,
"alnum_prop": 0.7455325232308792,
"repo_name": "martindevans/AlchemyApiSharp",
"id": "57c96562cbf50687ce01a86468a405258047ec15",
... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Fri Feb 22 14:06:13 EET 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class javalabra.chess.cor... | {
"content_hash": "0233c07b1b52ae7d461ee79435f38a1f",
"timestamp": "",
"source": "github",
"line_count": 145,
"max_line_length": 224,
"avg_line_length": 42.13103448275862,
"alnum_prop": 0.6200687510230807,
"repo_name": "nfrolov/useless-chess",
"id": "6a33847b899bf2c8db9236907d9d62ebd4430871",
"size"... |
package mywebsocket
import (
"net/http"
"github.com/gorilla/websocket"
)
// Server websocket
type Server struct {
clientCount int
clients map[int]*Client
// channels
addClientCh chan *Client
removeClientCh chan *Client
messageCh chan *message
}
type message struct {
Room string `json:"-"`
... | {
"content_hash": "80b3211383478ef33eee24488357fd83",
"timestamp": "",
"source": "github",
"line_count": 96,
"max_line_length": 99,
"avg_line_length": 22.239583333333332,
"alnum_prop": 0.7002341920374707,
"repo_name": "misoten-iw-g2/lovechan",
"id": "305bee3c61269f16090e282bc97d41c4d3aa0bdf",
"size"... |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2018 NAVER Corp.
~
~ 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
~
~ U... | {
"content_hash": "582eb965fab74cacccecf6f0e2dc637a",
"timestamp": "",
"source": "github",
"line_count": 107,
"max_line_length": 127,
"avg_line_length": 36.794392523364486,
"alnum_prop": 0.5595631191262382,
"repo_name": "suraj-raturi/pinpoint",
"id": "daaa23d656d912e60b24db6cc68aeda98acd7cab",
"size... |
package com.lugia.timetable;
import java.util.ArrayList;
import java.util.List;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncoded... | {
"content_hash": "f4e25e98ffa55278bd925300a4611870",
"timestamp": "",
"source": "github",
"line_count": 239,
"max_line_length": 129,
"avg_line_length": 34.63179916317991,
"alnum_prop": 0.5564818170834843,
"repo_name": "Lugia0529/MMUTimeTable",
"id": "020cd0a06bbdc2a023093b6fa6c6145e28892ef5",
"size... |
sap.ui.define([
"sap/ui/core/UIComponent"
], function (UIComponent) {
"use strict";
return UIComponent.extend("sap.m.sample.TableSelectDialog.Component", {
metadata: {
manifest: "json"
}
});
}); | {
"content_hash": "1ecb11ee65c01af855e1f481e350f6e3",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 72,
"avg_line_length": 16,
"alnum_prop": 0.6634615384615384,
"repo_name": "SAP/openui5",
"id": "f2048a7864a9056aa7f3ea51966615bd35dda574",
"size": "208",
"binary": false,... |
name: Alice Harpole
---
| {
"content_hash": "229621e7f31538bf18d9230fe438a833",
"timestamp": "",
"source": "github",
"line_count": 2,
"max_line_length": 19,
"avg_line_length": 12,
"alnum_prop": 0.6666666666666666,
"repo_name": "PyconUK/2017.pyconuk.org",
"id": "2287aefa9e626c79856dbed5fd1ec7d6c19425cc",
"size": "24",
"bina... |
package xparam
import "fmt"
//------------------------------------------------------------
// Xparam access for string maps
//------------------------------------------------------------
// Gets parameter as map of string to sting.
func (xp XP) As_MapString(key string) (data map[string]string) {
if val, ok := xp[k... | {
"content_hash": "4c85fc0376f3d9fbd634d1ac52da8612",
"timestamp": "",
"source": "github",
"line_count": 24,
"max_line_length": 64,
"avg_line_length": 22.458333333333332,
"alnum_prop": 0.45269016697588127,
"repo_name": "deze333/xparam",
"id": "536ab4adaf8ed2fd31a1e6cb9b24ffd3657eb908",
"size": "539"... |
<?php
namespace Brasa\ContabilidadBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
/**
* @ORM\Table(name="ctb_asiento")
* @ORM\Entity(repositoryClass="Brasa\ContabilidadBundle\Repository\CtbAsientoRepository")
*/
class CtbAsiento
{
/**
* @ORM\Id
... | {
"content_hash": "8ae193c2b9718b4af88b44c9a3e73cb8",
"timestamp": "",
"source": "github",
"line_count": 515,
"max_line_length": 132,
"avg_line_length": 19.924271844660193,
"alnum_prop": 0.5646623136146575,
"repo_name": "wariox3/brasa",
"id": "16620bf0b1d1a53be711333cb682bb221982b056",
"size": "1026... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_26) on Tue May 08 20:32:57 UTC 2012 -->
<TITLE>
org.apache.hadoop.mapreduce.lib.partition (Hadoop 1.0.3 API)
</TITLE>
<META NAME="date" CONTENT="201... | {
"content_hash": "5d0a1381e65d825290c559fc6f0dca65",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 163,
"avg_line_length": 42.813559322033896,
"alnum_prop": 0.7387173396674585,
"repo_name": "zxqt223/hadoop-ha.1.0.3",
"id": "be5b87b3e5fb5035e5dcb75d22a214bff046cac6",
"siz... |
$LOAD_PATH.unshift File.dirname(__FILE__)
$LOAD_PATH.unshift File.dirname(__FILE__) + "/rubyrep"
require 'rubygems'
require 'yaml'
require 'logger'
gem 'activerecord', '>= 3.0.5'
require 'active_record'
require 'version'
require 'configuration'
require 'initializer'
require 'session'
require 'connection_extenders/co... | {
"content_hash": "5470b3db4d6f821608d0f981c3785402",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 90,
"avg_line_length": 29.422680412371133,
"alnum_prop": 0.7410651716888578,
"repo_name": "ncoders/rubyrep",
"id": "336003a4065434ce5ebddec5bd96a24a3a53eb08",
"size": "2854... |
package org.geogit.api.plumbing;
import static com.google.common.base.Preconditions.checkState;
import java.util.Iterator;
import java.util.List;
import javax.annotation.Nullable;
import org.geogit.api.AbstractGeoGitOp;
import org.geogit.api.ObjectId;
import org.geogit.api.RevTree;
import org.geogit.api.plumbing.... | {
"content_hash": "1cb83f2528a20500e4e75bb94c200906",
"timestamp": "",
"source": "github",
"line_count": 136,
"max_line_length": 100,
"avg_line_length": 27.78676470588235,
"alnum_prop": 0.6263561788833024,
"repo_name": "rouault/GeoGit",
"id": "96bd521065b2f49d9e9be9ba2038ef449afe8785",
"size": "3936... |
RFuzz::HttpClient.class_eval do
def self.read_from_path_to_proc(path, proc_callback)
uri = URI.parse path
FileStorage.log.info "reading from mogilefs '#{path}'"
cl = RFuzz::HttpClient.new(uri.host, uri.port)
cl.write_to_this_proc = Proc.new do |to_write|
proc_callback.call(to_write)
... | {
"content_hash": "7b9e484cbfaede92c787a66f1246887d",
"timestamp": "",
"source": "github",
"line_count": 103,
"max_line_length": 146,
"avg_line_length": 41.57281553398058,
"alnum_prop": 0.5733302195235871,
"repo_name": "brontes3d/file_storage",
"id": "95b30d7a8e59aee1d9e906e7b176bb2ffa40d8a3",
"size... |
namespace viz {
class AggregatedFrame;
class AggregatedRenderPass;
// Draws a red outline around the root RenderPasses damage rect.
class DamageFrameAnnotator : public SurfaceAggregator::FrameAnnotator {
public:
DamageFrameAnnotator();
DamageFrameAnnotator(const DamageFrameAnnotator&) = delete;
DamageFrameAnn... | {
"content_hash": "71b643e750835d31f3088e6bb6d5ff86",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 72,
"avg_line_length": 24.210526315789473,
"alnum_prop": 0.7641304347826087,
"repo_name": "chromium/chromium",
"id": "2854968c677665685dd3baffa5c778e8431f10d2",
"size": "14... |
<!--
Copyright (C) 2015 The Gravitee team (http://gravitee.io)
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 re... | {
"content_hash": "5fdf1010ba116da6467b2101f4422c25",
"timestamp": "",
"source": "github",
"line_count": 33,
"max_line_length": 117,
"avg_line_length": 37.878787878787875,
"alnum_prop": 0.6552,
"repo_name": "gravitee-io/gravitee-management-webui",
"id": "d02607128a8cb4c7e815e417c74b214e836a9c03",
"s... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2009.... | {
"content_hash": "7d520186a813aae4d7bc5ce7611047f7",
"timestamp": "",
"source": "github",
"line_count": 94,
"max_line_length": 125,
"avg_line_length": 26.872340425531913,
"alnum_prop": 0.6377672209026128,
"repo_name": "icenlp/segment",
"id": "a49a5ed1bc3ee536b7a67f4459441b91d16f237c",
"size": "2526... |
<!-- The edit article view -->
<section data-ng-controller="SchedulesController" data-ng-init="findOne()">
<h1>Edit Article</h1>
<a href="/#!/">Home</a>
<!-- The edited article form -->
<form data-ng-submit="update()" novalidate>
<div class="row">
<div class="col-sm-2">
<h2>N... | {
"content_hash": "1d7f67a878758b43a9cab0cc8a980b7c",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 165,
"avg_line_length": 34.65986394557823,
"alnum_prop": 0.5634936211972522,
"repo_name": "vibhatha/mean",
"id": "18efa1e4f045db97ed6a38f46fc39294932fae49",
"size": "5095"... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_20) on Thu Jan 26 13:33:44 PST 2012 -->
<TITLE>
Uses of Class org.apache.hadoop.util.PureJavaCrc32 (Hadoop 0.20.2-cdh3u3 API)
</TITLE>
<META NAME="d... | {
"content_hash": "c9bac6c66fa115b84134eca5a2d32aff",
"timestamp": "",
"source": "github",
"line_count": 144,
"max_line_length": 215,
"avg_line_length": 41.59722222222222,
"alnum_prop": 0.6158597662771286,
"repo_name": "koven2049/hdfs-cloudera-cdh3u3-production",
"id": "b9b9c4d12a7beb2f85645896b1d2433... |
define([
"Backbone",
"jQuery",
"./subviews/TeachView",
"./subviews/TeachView2",
"./subviews/EmptyView"
], function(
Backbone,
$,
TeachView,
TeachView2,
EmptyView
) {
var MainView = Backbone.View.extend({
initialize: function() {
this.subviews = [];
... | {
"content_hash": "7c2e5dd206afd44cf2f5634fffba010d",
"timestamp": "",
"source": "github",
"line_count": 44,
"max_line_length": 83,
"avg_line_length": 26.65909090909091,
"alnum_prop": 0.514919011082694,
"repo_name": "DrDoodlez/Algoteacher",
"id": "120c4a104af7fee01b7aee9a165aa499980abe8f",
"size": "... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Fra... | {
"content_hash": "71f9ecb30171a8e29b8f6418006a1b6a",
"timestamp": "",
"source": "github",
"line_count": 97,
"max_line_length": 179,
"avg_line_length": 31.50515463917526,
"alnum_prop": 0.569371727748691,
"repo_name": "naoey/osu",
"id": "6061ead2da01f820dda6e53da58838eca4cd8a06",
"size": "3058",
"b... |
'use strict';
// sample-metadata:
// title: Quickstart
// description: A quick introduction to using the Pub/Sub client library.
// usage: node quickstart.js <project-id> <topic-name-or-id> <subscription-name-or-id>
// [START pubsub_quickstart_create_topic]
// Imports the Google Cloud client library
const {PubS... | {
"content_hash": "789f9c01aee689dcd4027c56580341bd",
"timestamp": "",
"source": "github",
"line_count": 48,
"max_line_length": 88,
"avg_line_length": 32.229166666666664,
"alnum_prop": 0.7052359405300582,
"repo_name": "googleapis/nodejs-pubsub",
"id": "9ef357afe9e529ab9df27b3d260710d91e1a7fdc",
"siz... |
"""
Deuce OpenStack Authentication API
"""
import datetime
import logging
import time
# What we want to do:
# import keystoneclient.client
# What we have to do:
import keystoneclient.v2_0.client as client_v2
import deuceclient.auth
class OpenStackAuthentication(deuceclient.auth.AuthenticationBase):
"""OpenStack... | {
"content_hash": "fd66b4f3ec64bbe716be359dc613aa2d",
"timestamp": "",
"source": "github",
"line_count": 172,
"max_line_length": 74,
"avg_line_length": 28.476744186046513,
"alnum_prop": 0.5487954267047774,
"repo_name": "rackerlabs/deuce-client",
"id": "fa0ee760cb646cdbd0e1d9a6672d06c548ab01a5",
"siz... |
package eu.bcvsolutions.idm.core.api.dto.filter;
import java.util.UUID;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;
import eu.bcvsolutions.idm.core.api.domain.OperationState;
import eu.bcvsolutions.idm.core.api.domain.RequestOperationType;
import eu.bcvsolution... | {
"content_hash": "2108c5ad6c4112f9f4f9b93b2ccf2be0",
"timestamp": "",
"source": "github",
"line_count": 86,
"max_line_length": 95,
"avg_line_length": 26.697674418604652,
"alnum_prop": 0.764808362369338,
"repo_name": "bcvsolutions/CzechIdMng",
"id": "1cbccf9471ba974b5123d1ca238463268157db04",
"size"... |
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <alloca.h>
#include <ctype.h>
#include <errno.h>
#include <getopt.h>
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <locale.h>
#include <limits.h>
#include "xgettext.h"
#include "closeout.h"
#includ... | {
"content_hash": "aa8c958efbd482504ef6755c714ce5ea",
"timestamp": "",
"source": "github",
"line_count": 2296,
"max_line_length": 259,
"avg_line_length": 27.96254355400697,
"alnum_prop": 0.6081586243419208,
"repo_name": "execunix/vinos",
"id": "eb035f91b5efd7b3971c70555ca8162bef5637c1",
"size": "651... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | {
"content_hash": "3095683dc72ea5fe63946d95153f8cca",
"timestamp": "",
"source": "github",
"line_count": 35,
"max_line_length": 84,
"avg_line_length": 39.628571428571426,
"alnum_prop": 0.7310742609949531,
"repo_name": "huanlin/Examples",
"id": "a49fe41b92b0e4ddfbdd2cb631fa8890543f47bb",
"size": "139... |
import * as tf from '../index';
import {CHROME_ENVS, describeWithFlags} from '../jasmine_util';
import {deleteDatabase} from './indexed_db';
import {purgeLocalStorageArtifacts} from './local_storage';
// Disabled for non-Chrome browsers due to:
// https://github.com/tensorflow/tfjs/issues/427
describeWithFlags('Mode... | {
"content_hash": "ef9008be336d30e8887373ffc34504fc",
"timestamp": "",
"source": "github",
"line_count": 466,
"max_line_length": 80,
"avg_line_length": 38.667381974248926,
"alnum_prop": 0.513680004439758,
"repo_name": "tensorflow/tfjs-core",
"id": "be29c7bdff08286623ff5ea41a688eff945049de",
"size": ... |
(function($) {
'use strict';
$.jCarousel.plugin('jcarouselAutoscroll', {
_options: {
target: '+=1',
interval: 3000,
autostart: true
},
_timer: null,
_init: function () {
this.onDestroy = $.proxy(function() {
th... | {
"content_hash": "ed56eccf342deac7cf2b365e202f5db1",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 77,
"avg_line_length": 27.333333333333332,
"alnum_prop": 0.444801026957638,
"repo_name": "margaritis/jcarousel",
"id": "2fbba2e9823f6b630c02e941784a62cc2dc3c1a8",
"size": "... |
package Google::Ads::AdWords::v201409::LabelService::mutateResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'https://adwords.google.com/api/adwords/cm/v201409' }
__PACKAGE__->__set_name('mutateResponse');
__PACKAGE__->__set_nillable();
__PACKAGE__->__set_minOccurs();
__PACKAGE__->__se... | {
"content_hash": "da77536b5236ab1b1283e89ccac98232",
"timestamp": "",
"source": "github",
"line_count": 117,
"max_line_length": 87,
"avg_line_length": 15.136752136752136,
"alnum_prop": 0.655561829474873,
"repo_name": "gitpan/Google-Ads-AdWords-Client",
"id": "6e7205778672c1553f05994befc4b29f82cc81dc"... |
package org.apache.avro.path;
/**
* Returns items by their position (string key under which they are stored) in a
* map
*/
public class MapKeyPredicate implements PositionalPathPredicate {
private final String key;
public MapKeyPredicate(String key) {
this.key = key;
}
public String getKey() {
r... | {
"content_hash": "6d9d18faf9dece2f6d97aa3491fb72ec",
"timestamp": "",
"source": "github",
"line_count": 27,
"max_line_length": 80,
"avg_line_length": 17.074074074074073,
"alnum_prop": 0.6247288503253796,
"repo_name": "apache/avro",
"id": "b183d8459d3d6d8f781388404fa2679f7ef47c6b",
"size": "1267",
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package team.util;
/**
*
* @author team3574
*/
public class Location {
private double heading,
xLocation,
yLocation;
public Location(double x, double y, double heading){
t... | {
"content_hash": "13c7bbd4fca76dd5c656c06320fa7d3f",
"timestamp": "",
"source": "github",
"line_count": 46,
"max_line_length": 56,
"avg_line_length": 19.130434782608695,
"alnum_prop": 0.5954545454545455,
"repo_name": "Team3574/RKellyBot",
"id": "4ddb6b67fa5669b7d7a8723b3622130a77ea44e7",
"size": "8... |
```sh
$ defaults write com.apple.python DisablePythonAlert True
```
## Prevent system from sleeping
Prefix commands with `caffeinate` or `caffeinate -i` to prevent the idle sleep.
There are other options to prevent other forms of sleep.
```sh
man caffeinate
```
# end: misc.md
| {
"content_hash": "d29455c2290115e443b7590772c634fe",
"timestamp": "",
"source": "github",
"line_count": 14,
"max_line_length": 79,
"avg_line_length": 20.071428571428573,
"alnum_prop": 0.7402135231316725,
"repo_name": "jpitblado/dotfiles",
"id": "60e0af4f988156de7adc580021dbd56987a65ef0",
"size": "3... |
from __future__ import absolute_import, division, print_function, unicode_literals
from azure_common import BaseTest, arm_template
class ResourceGroupTest(BaseTest):
def setUp(self):
super(ResourceGroupTest, self).setUp()
def test_resource_group_schema_validate(self):
with self.sign_out_patc... | {
"content_hash": "c0410346d9bc03928967eeed124252a5",
"timestamp": "",
"source": "github",
"line_count": 37,
"max_line_length": 82,
"avg_line_length": 33.2972972972973,
"alnum_prop": 0.4967532467532468,
"repo_name": "ewbankkit/cloud-custodian",
"id": "8b8175fc4d21b81b9c68b99ff1e9ec7d58a1718d",
"size... |
using System;
using UnityEngine;
using System.Collections.Generic;
using DG.Tweening;
using Match3Core;
// ReSharper disable once CheckNamespace
public class BoardRenderer : MonoBehaviour
{
public delegate void LaserShotHandler();
public static event LaserShotHandler LaserShot;
public Pool pool;
publ... | {
"content_hash": "825be63cd4d3329cb2bdd778077e6528",
"timestamp": "",
"source": "github",
"line_count": 333,
"max_line_length": 168,
"avg_line_length": 42.885885885885884,
"alnum_prop": 0.6354597017015615,
"repo_name": "alexander-mironov/UnityMatch3Sample",
"id": "5b50c40c835ec1582be3463d605de3143c5a... |
/*
* Created: Nov 8, 2011
* By: kmurdoff
*/
/**
*
*/
package com.livescribe.aws.tokensvc.exception;
/**
* <p></p>
*
* @author <a href="mailto:kmurdoff@livescribe.com">Kevin F. Murdoff</a>
* @version 1.0
*/
public class LSDSClientException extends Exception {
/**
* <p></p>
*
*/
public LSDSC... | {
"content_hash": "9d5f4e260de8ade48c08b4693ac009bd",
"timestamp": "",
"source": "github",
"line_count": 53,
"max_line_length": 72,
"avg_line_length": 13.679245283018869,
"alnum_prop": 0.5779310344827586,
"repo_name": "jackstraw66/web",
"id": "c89795197654eb3166eac852cd4d95d95dd330d5",
"size": "725"... |
package digitalocean
import (
"context"
doCapi "pharmer.dev/pharmer/apis/v1alpha1/digitalocean"
"github.com/go-logr/logr"
"k8s.io/client-go/tools/record"
"k8s.io/klog/klogr"
"k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta1"
clusterapi "sigs.k8s.io/cluster-api/pkg/apis/cluster/v1alpha1"
"sigs.k8s.io/c... | {
"content_hash": "fbe5de99019ee1e2d738946da36af9c7",
"timestamp": "",
"source": "github",
"line_count": 123,
"max_line_length": 133,
"avg_line_length": 28.991869918699187,
"alnum_prop": 0.730790802019069,
"repo_name": "appscode/pharmer",
"id": "4bddffe017b2acb4d927de4eaa39a8c529fdfb1b",
"size": "41... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.monitor.models;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/** the... | {
"content_hash": "1cb8c50bfdb5ce754935c361c54c2864",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 71,
"avg_line_length": 27.912280701754387,
"alnum_prop": 0.6379635449402892,
"repo_name": "Azure/azure-sdk-for-java",
"id": "eb63d766a2f3a28ebaefff63d655fe59e6681f45",
"siz... |
module Apigee
class API
module Oauth2
# Get count of Access Tokens
def access_token_count
get("/oauth2/accesstokens")
end
# Approve an Access Token
def approve_access_token(token)
get("/oauth2/accesstokens/#{token}?action=approve")
end
# Revoke an Acces... | {
"content_hash": "1604e44d1db62d12812079a717006b32",
"timestamp": "",
"source": "github",
"line_count": 57,
"max_line_length": 81,
"avg_line_length": 24.473684210526315,
"alnum_prop": 0.6100358422939068,
"repo_name": "tradier/apigee",
"id": "d90eb3775733eeaeaec164a9e093e0925ee8756a",
"size": "1395"... |
algorithm in java
study algorithms 4, and do practice | {
"content_hash": "96e8d20bcf13414854f8e0444e481bee",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 35,
"avg_line_length": 18,
"alnum_prop": 0.8148148148148148,
"repo_name": "jt120/algorithm",
"id": "e896ac06ad3e41d643711fdcbadd097f3c937a4f",
"size": "66",
"binary": fals... |
<!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_60-ea) on Wed Jan 04 17:08:16 EST 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.wildfly.swarm.cdi.con... | {
"content_hash": "446fb8b712d6d223fe5f7947d9e29fbd",
"timestamp": "",
"source": "github",
"line_count": 142,
"max_line_length": 284,
"avg_line_length": 40.33098591549296,
"alnum_prop": 0.6245852977125895,
"repo_name": "wildfly-swarm/wildfly-swarm-javadocs",
"id": "843806ab936361e7ba0e47e6a6ebdb38f8db... |
<form [formGroup]="formGroup">
<ul class="list-group list-group-flush">
<li *ngFor="let item of this.meta" class="list-group-item">
<ng-container [ngSwitch]="item.type">
<div form-text-input *ngSwitchCase="'text'" [meta]="item" [form]="formGroup" style="width:100%;"> </div>
... | {
"content_hash": "88235c0a861a866d2bb2540007e847e9",
"timestamp": "",
"source": "github",
"line_count": 12,
"max_line_length": 143,
"avg_line_length": 64.75,
"alnum_prop": 0.5842985842985843,
"repo_name": "junkerm/specmate",
"id": "3099653303e312de418f54569d9cbcd96e21112e",
"size": "777",
"binary... |
// source:
package nl.esciencecenter.xnattool;
import java.util.ArrayList;
import java.util.List;
import nl.esciencecenter.medim.ImageDirScanner;
import nl.esciencecenter.medim.ScanSetInfo;
import nl.esciencecenter.medim.ScanSetInfo.FileDescriptor;
import nl.esciencecenter.medim.StudyInfo;
import nl.esciencecenter.... | {
"content_hash": "cbf92fbdb83ff44a45b60ee3c02361e3",
"timestamp": "",
"source": "github",
"line_count": 245,
"max_line_length": 96,
"avg_line_length": 35.71836734693878,
"alnum_prop": 0.5966175294252085,
"repo_name": "NLeSC/escxnat",
"id": "a005d2aa6b9dd1b4f6dd8061976d2668a16698ac",
"size": "9496",... |
struct Particle
{
Particle();
void update(sf::RenderTexture& window);
void draw(sf::RenderTexture& window);
std::array<sf::Vertex, 2> getLine();
sf::Vertex current;
sf::Vertex previous;
sf::Vector2f velocity;
sf::Vector2f acceleration;
};
| {
"content_hash": "614b8a551ac275fdbfa8563e35582658",
"timestamp": "",
"source": "github",
"line_count": 13,
"max_line_length": 43,
"avg_line_length": 21,
"alnum_prop": 0.6483516483516484,
"repo_name": "bikefrivolously/perlin-noise-art",
"id": "65a8cc9780ebc03d461996c927dddd15f5cafa38",
"size": "339... |
<?php
/**
* InvoiceItems class
*
* @package activeCollab.modules.invoicing
* @subpackage models
*/
class InvoiceItems extends BaseInvoiceItems {
/**
* Return items by invoice
*
* @param Invoice $invoice
* @return array
*/
function findByInvoice($invoice) {
ret... | {
"content_hash": "89810da2d26851cac3ff2c8650908799",
"timestamp": "",
"source": "github",
"line_count": 59,
"max_line_length": 124,
"avg_line_length": 24.915254237288135,
"alnum_prop": 0.5408163265306123,
"repo_name": "hammadalinaqvi/bookstoregenie",
"id": "76553f2bb50dfcf38ff8230ce8a05bd53e98bd91",
... |
.. _`bootstrap api`:
===================================
API Bootstrap
===================================
.. automodule:: crispy_forms.bootstrap
:members:
| {
"content_hash": "f8762837caec1deba900554a5daa1586",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 38,
"avg_line_length": 18,
"alnum_prop": 0.3765432098765432,
"repo_name": "django-crispy-forms/django-crispy-forms",
"id": "3bea596f60cb015af336677b18e90c92e282a1c5",
"size"... |
module Tincanz
class ConversationPolicy
def initialize(user, conversation)
@user = user
@conversation = conversation
end
def can_read?
if @user.can_manage_tincanz?
true
else
Conversation.involving(@user).where(id: @conversation.id).count > 0
end
end
... | {
"content_hash": "c44fb4b7a5b841b70ef107280f365996",
"timestamp": "",
"source": "github",
"line_count": 20,
"max_line_length": 75,
"avg_line_length": 18.4,
"alnum_prop": 0.6114130434782609,
"repo_name": "robodisco/tincanz",
"id": "2c2419a66cd00e3a1f8f0b8d72e9e31f918d6a86",
"size": "368",
"binary"... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with this
* work for additional information regarding copyright ownership. The ASF
* licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may... | {
"content_hash": "1edabf9272e2d4a623d792c3893f7240",
"timestamp": "",
"source": "github",
"line_count": 486,
"max_line_length": 81,
"avg_line_length": 34.718106995884774,
"alnum_prop": 0.5938481597819001,
"repo_name": "google/j2cl",
"id": "d0ef5279664851dc8c4f95e96e60cc553f7a5836",
"size": "17463",... |
<template name="search">
<input type="search" name="search-box" id="main-search" placeholder="Type to search...">
</template> | {
"content_hash": "9ca219e27bdc18005636c7a3d6c6c348",
"timestamp": "",
"source": "github",
"line_count": 3,
"max_line_length": 92,
"avg_line_length": 43,
"alnum_prop": 0.689922480620155,
"repo_name": "nicoTrygub/meteor-contact-book",
"id": "a9201b954d53b7b51bf25efae802a89b3bfe5837",
"size": "129",
... |
package org.eclipse.californium.core.network;
import java.io.IOException;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Collection;
import java.util.Enumeration;
import java.util.LinkedList;
import java.util.logging.Level;
import java.util.logging.Log... | {
"content_hash": "cf90ac9cc7a119aad14aafb91bb0578b",
"timestamp": "",
"source": "github",
"line_count": 231,
"max_line_length": 141,
"avg_line_length": 33.98701298701299,
"alnum_prop": 0.7298433320596103,
"repo_name": "iotoasis/SI",
"id": "6290b75bd0397b5035bddc0dabcd44a54bcb88f8",
"size": "9048",
... |
layout: post
title: Text Revealer
git: https://github.com/jamigibbs/text-revealer-js
site: https://jamigibbs.github.io/text-revealer-js/
---
Text Revealer is a browser script to assist in revealing deeper information about highlighted text on a page. When text is selected or highlighted, a popover displays useful deta... | {
"content_hash": "dfb0e2316ac754c31e81ee41efaef789",
"timestamp": "",
"source": "github",
"line_count": 9,
"max_line_length": 303,
"avg_line_length": 53.22222222222222,
"alnum_prop": 0.8079331941544885,
"repo_name": "jamigibbs/portfolio",
"id": "fd81194eaf6af4ade727e14a3895b4fe8f8f8c20",
"size": "4... |
package org.arquillian.cube.istio.impl;
import io.fabric8.kubernetes.api.model.v4_0.ObjectMeta;
import java.io.InputStream;
import java.util.Arrays;
import me.snowdrop.istio.api.IstioResource;
import me.snowdrop.istio.client.IstioClient;
import org.arquillian.cube.istio.api.RestoreIstioResource;
import org.jboss.arqui... | {
"content_hash": "3b016decf244dd997ebd34e44d862c8e",
"timestamp": "",
"source": "github",
"line_count": 170,
"max_line_length": 130,
"avg_line_length": 36.53529411764706,
"alnum_prop": 0.7328932539043632,
"repo_name": "AndyGee/arquillian-cube",
"id": "2a2db131438eff7118bf8f1549a699f37f241a2e",
"siz... |
package mysql
// Code generated by xo. DO NOT EDIT.
import (
"context"
"database/sql"
)
// Employee represents a row from 'northwind.employees'.
type Employee struct {
EmployeeID int16 `json:"employee_id"` // employee_id
LastName string `json:"last_name"` // last_name
... | {
"content_hash": "1717530f79de64147b98baaf6ee4524a",
"timestamp": "",
"source": "github",
"line_count": 201,
"max_line_length": 546,
"avg_line_length": 44.950248756218905,
"alnum_prop": 0.666961815163254,
"repo_name": "knq/xo",
"id": "b9ebd6552470a821f9cfb8c6d22f08be823872ac",
"size": "9035",
"bi... |
You're free to contribute to this project or open issue if you have one. | {
"content_hash": "9ec690661377f90411c6efb0d724bbcc",
"timestamp": "",
"source": "github",
"line_count": 1,
"max_line_length": 72,
"avg_line_length": 72,
"alnum_prop": 0.7916666666666666,
"repo_name": "dorian-delorme/video-player",
"id": "f7ea781ab5368e7bc8481fe801aaa7b7f3bdde5a",
"size": "88",
"b... |
package org.mpilone.hazelcastmq.camel;
import static java.lang.String.format;
import static org.mpilone.hazelcastmq.camel.HazelcastMQCamelEndpoint.toHazelcastMQDestination;
import java.util.*;
import java.util.concurrent.*;
import java.util.concurrent.atomic.AtomicLong;
import org.apache.camel.*;
import org.apache.c... | {
"content_hash": "bd0a212b41c6ee014fc9f3c843b2d10a",
"timestamp": "",
"source": "github",
"line_count": 420,
"max_line_length": 94,
"avg_line_length": 31.533333333333335,
"alnum_prop": 0.6836303231652069,
"repo_name": "mpilone/hazelcastmq",
"id": "d67bc70de70bba6853b64c04f9a410ee7ed1deb7",
"size": ... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v10/services/account_budget_proposal_service.proto
package com.google.ads.googleads.v10.services;
public interface MutateAccountBudgetProposalResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads... | {
"content_hash": "8a491ec4479ab7e21f80a0cac3cc65b6",
"timestamp": "",
"source": "github",
"line_count": 29,
"max_line_length": 118,
"avg_line_length": 32.206896551724135,
"alnum_prop": 0.6991434689507494,
"repo_name": "googleads/google-ads-java",
"id": "83db3f179b04491bdbf8b2ad42bdac2e1fee1d16",
"s... |
//
// Copyright (c) 2015 Oliver Lehmann <lehmann@ans-netz.de>
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyright
// notice,... | {
"content_hash": "fcf70ed1735582850d70134e5d9761a5",
"timestamp": "",
"source": "github",
"line_count": 147,
"max_line_length": 99,
"avg_line_length": 31.14965986394558,
"alnum_prop": 0.6955667176239354,
"repo_name": "OlliL/moneyjinn-server",
"id": "12638abaeb5a3ad970d53fcb1e6b2bda1e0bfd91",
"size"... |
package net.mgsx.game.examples.openworld.systems;
import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.io.StringWriter;
import com.badlogic.ashley.core.EntitySystem;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.utils.Array;
import com.badlogic.gdx.utils.Json;
import com.bad... | {
"content_hash": "da0578f56aec41e9ff85b339b35899af",
"timestamp": "",
"source": "github",
"line_count": 567,
"max_line_length": 118,
"avg_line_length": 28.292768959435627,
"alnum_prop": 0.6970452562024685,
"repo_name": "mgsx-dev/gdx-kit",
"id": "c2c760745ff847c78a1cd69c63d476efa76fef7d",
"size": "1... |
class Projects::ArtifactsController < Projects::ApplicationController
include ExtractsPath
include RendersBlob
layout 'project'
before_action :authorize_read_build!
before_action :authorize_update_build!, only: [:keep]
before_action :extract_ref_name_and_path
before_action :validate_artifacts!
before_a... | {
"content_hash": "ce0eb28b5e24dc754888905e576c925d",
"timestamp": "",
"source": "github",
"line_count": 102,
"max_line_length": 79,
"avg_line_length": 21.264705882352942,
"alnum_prop": 0.6680497925311203,
"repo_name": "htve/GitlabForChinese",
"id": "1224e9503c93d12ccc3b14032ccb83148e6aba3b",
"size"... |
void LogWindowStream::log(std::string output)
{
windowStream << output <<std::endl;
if (!buffered || windowStream.tellp() > bufferSize)
{
flush();
}
}
void LogWindowStream::flush()
{
std::cout << windowStream.rdbuf();
}
int LogWindowStream::open() { return 1; }
void LogWindowStream::close(... | {
"content_hash": "599da5f7fd625a74f26d53c567c300e9",
"timestamp": "",
"source": "github",
"line_count": 22,
"max_line_length": 52,
"avg_line_length": 15.409090909090908,
"alnum_prop": 0.6194690265486725,
"repo_name": "pike4/CORE-Dev-Build-1.0",
"id": "b73d16d3de3256e6189f9f2eb85645a2455959b3",
"siz... |
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.HDInsight.Models
{
internal partial class EncryptionInTransitProperties : IUtf8JsonSerializable
{
void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
{
writer.WriteStartObject();
if (Optional.I... | {
"content_hash": "37c407fce784926b298aa49009fb256a",
"timestamp": "",
"source": "github",
"line_count": 38,
"max_line_length": 115,
"avg_line_length": 37.68421052631579,
"alnum_prop": 0.6012569832402235,
"repo_name": "Azure/azure-sdk-for-net",
"id": "34e195f21e908f9cfc92a110f06e3f1fbeb9e302",
"size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.