Skip to content

Instantly share code, notes, and snippets.

View travissanon's full-sized avatar
🌑
Hashing Semicolon Slasher

Travis Sanon travissanon

🌑
Hashing Semicolon Slasher
View GitHub Profile
@travissanon
travissanon / uri.js
Created May 14, 2021 07:01 — 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"
@travissanon
travissanon / README-Template.md
Created March 30, 2018 17:07 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites