Skip to content

Instantly share code, notes, and snippets.

View cbmono's full-sized avatar

Claudio Bredfeldt cbmono

View GitHub Profile
@cbmono
cbmono / uri.js
Created September 19, 2017 21:25 — forked from jlong/uri.js
URI Parsing with Javascript
var parser = document.createElement('a');
parser.href = "http://example.com:3000/pathname/?search=test#hash";
parser.protocol; // => "http:"
parser.hostname; // => "example.com"
parser.port; // => "3000"
parser.pathname; // => "/pathname/"
parser.search; // => "?search=test"
parser.hash; // => "#hash"
parser.host; // => "example.com:3000"
@cbmono
cbmono / keybase.md
Created November 25, 2014 21:33
keybase.io

Keybase proof

I hereby claim:

  • I am cbmono on github.
  • I am cbmono (https://keybase.io/cbmono) on keybase.
  • I have a public key whose fingerprint is 4F80 70E3 9652 6957 1E5B E99D 00FA 675F 628E 34F9

To claim this, I am signing this object: