View regex-weburl.js
//
// Regular Expression for URL validation
//
// Author: Diego Perini
// Updated: 2010/12/05
// License: MIT
//
// Copyright (c) 2010-2013 Diego Perini (http://www.iport.it)
//
// Permission is hereby granted, free of charge, to any person
View _flowtyped
files i use in my flow-typed dir
View regex_patt_release.md

Find: ^.*?console\.(warn|info|log|error|exception).*?$ Replace with: ``

View _es6-BFS-DFS.js
// getChildren(win) - returns array of windows that are child to `win`
// isTrue(win) - just a random callback
function recurseDFS(win) {
// depth first
let coll = [];
coll.push(isTrue(win));
let children = getChildren(win);
for (let child of children) {
coll.push(...recurseDFS(child));
View rn-headers-dev-noremote.json
{
"ACCEPT": "application/json",
"ACCEPT_ENCODING": "gzip",
"ACCEPT_LANGUAGE": "en-US",
"CONNECTION": "Keep-Alive",
"CONTENT_TYPE": "application/json",
"HOST": "www.whatismybrowser.com",
"USER_AGENT": "okhttp/3.6.0"
}
View _ff-addon-snippet-copyOfRequestSource.js
/////// START - DO NOT EDIT
var {classes: Cc, interfaces: Ci, results: Cr, Constructor: CC, utils: Cu} = Components;
Cu.import('resource://gre/modules/Services.jsm');
var BinaryInputStream = CC('@mozilla.org/binaryinputstream;1', 'nsIBinaryInputStream', 'setInputStream');
var BinaryOutputStream = CC('@mozilla.org/binaryoutputstream;1', 'nsIBinaryOutputStream', 'setOutputStream');
var StorageStream = CC('@mozilla.org/storagestream;1', 'nsIStorageStream', 'init');
function TracingListener() {
this.receivedChunks = []; // array for incoming data. holds chunks as they come, onStopRequest we join these junks to get the full source