Skip to content

Instantly share code, notes, and snippets.

View nathanbrock's full-sized avatar
😴
Will code for sleep.

Nathan Brock nathanbrock

😴
Will code for sleep.
View GitHub Profile
### Keybase proof
I hereby claim:
* I am nathanbrock on github.
* I am nathanbrock (https://keybase.io/nathanbrock) on keybase.
* I have a public key ASAXSp90TXW8WfkIP__sG8tlcYuwOQ8sB_9LhCABbKYeJwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am nathanbrock on github.
  • I am nab (https://keybase.io/nab) on keybase.
  • I have a public key whose fingerprint is 9B1D 106F 978C 236D 9260 569E 3748 85ED D30E BA0B

To claim this, I am signing this object:

@nathanbrock
nathanbrock / gist:84b1c785ae4324257709
Created April 29, 2015 09:55
Ionic Platform for the Browser
var ionic = {};
(function(window, document, ionic) {
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}

Keybase proof

I hereby claim:

  • I am nathanbrock on github.
  • I am nab (https://keybase.io/nab) on keybase.
  • I have a public key whose fingerprint is BB7F 6246 94B1 4FBA A939 648B CE1A 1C0B A6FB 5E7B

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am nbrock on github.
  • I am nab (https://keybase.io/nab) on keybase.
  • I have a public key whose fingerprint is BB7F 6246 94B1 4FBA A939 648B CE1A 1C0B A6FB 5E7B

To claim this, I am signing this object:

@nathanbrock
nathanbrock / gist:5187702
Created March 18, 2013 14:53
Terminal CD ripping
abcde -a cddb,read,encode,tag,move,playlist,clean -d /dev/cdrom -q high -o mp3 -V -x