Skip to content

Instantly share code, notes, and snippets.

View CristianLlanos's full-sized avatar
😀
What should we learn today?

Cristian Llanos CristianLlanos

😀
What should we learn today?
View GitHub Profile
@CristianLlanos
CristianLlanos / .vimrc
Last active January 22, 2016 22:19 — forked from JeffreyWay/.vimrc
My .vimrc file
set nocompatible " Disable vi-compatibility
set t_Co=256
colorscheme xoria256
set guifont=menlo\ for\ powerline:h16
set guioptions-=T " Removes top toolbar
set guioptions-=r " Removes right hand scroll bar
set go-=L " Removes left hand scroll bar
set linespace=15
@CristianLlanos
CristianLlanos / uri.js
Created October 15, 2015 19:05 — 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"
@CristianLlanos
CristianLlanos / .bash_profile
Created September 18, 2015 16:19 — forked from JeffreyWay/.bash_profile
Prettier git logs
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev"