Vim everywhere

https://github.com/cknadler/vim-anywhere   Installation Requirements OSX: MacVim (brew install macvim) Linux: Gnome (or a derivative) gVim Install curl -fsSL https://raw.github.com/cknadler/vim-anywhere/master/install |[…]

Read more

javascript empty object check

https://stackoverflow.com/questions/679915/how-do-i-test-for-an-empty-javascript-object   function isEmpty(obj) { for(var prop in obj) { if(obj.hasOwnProperty(prop)) return false; } return JSON.stringify(obj) === JSON.stringify({}); }  […]

Read more