This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Example Use | |
(function () { | |
function success() { | |
console.log("success: ", this.src); | |
} | |
function failure() { | |
console.log("failure: ", this.src); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:instabug-reactnative:generateDebugRFile | |
:instabug-reactnative:generateDebugSources | |
/Users/matthewcobbs/projects/2019/1212_tvi_what2watch_client/node_modules/instabug-reactnative/android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java:2051: error: cannot find symbol | |
Instabug.setViewsAsPrivate(arrayOfViews); | |
^ | |
symbol: method setViewsAsPrivate(View[]) | |
location: class Instabug | |
Note: Some input files use or override a deprecated API. | |
Note: Recompile with -Xlint:deprecation for details. | |
Note: Some input files use unchecked or unsafe operations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --date=relative" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jQuery.getUrlVars | |
* | |
* Copyright 2013, Matthew Cobbs | |
* MIT Licensed | |
*/ | |
/*global jQuery */ | |
(function (window, $) { | |
"use strict"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f=(n,i=(function*(a=0,b=1,c){while(true){c=b+a;a=b;b=c;yield c;}})())=>Array(n).fill().map(()=>i.next().value) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Parameter = function (name /* , value* */) { | |
this.name = name; | |
this.values = [].slice.call(arguments, 1); | |
}; | |
Parameter.prototype.toString = function () { | |
return this.values.map(function (value) { | |
return this.name + '=' + value; | |
}.bind(this)).join('&'); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
var module; | |
Object.defineProperty(window, "module", { | |
get: function () { | |
return module; | |
}, | |
set: function (val) { | |
debugger; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
'use strict'; | |
function Deferred() { | |
this.promise = new Promise((resolve, reject) => { | |
this.resolve = resolve; | |
this.reject = reject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Queue = function (list) { | |
this.list = [].concat(list); | |
}; | |
Queue.prototype = { | |
constructor: Queue, | |
random: function () { | |
var length = this.list.length; | |
var index = -1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (undefined) { | |
"use strict"; | |
const MIN_STR_LEN = 0x10; | |
const MAX_STR_LEN = 0xF0 - MIN_STR_LEN; | |
const MIN_CHAR_CODE = 0x0; | |
const MAX_CHAR_CODE = 0xFFFF - MIN_CHAR_CODE; | |
NewerOlder