Moved here Today I learned The idea is stolen from here. I use this for jotting down things that don't deserve a blog post. It's useful as a: reference / cheat sheet look to my past self :-) Categories Bash Git JavaScript Linux MongoDB OS X Python Bash Sort "human-readable" sizes Trap a signal Git Locally ignore a file from git JavaScript Cancel requestAnimationFrame() Destructing assignment Find duplicate code with jscpd Kill a process group Mock require Use a mock clock in Jasmine Linux Generate an UUID MongoDB Set time limit for a query OS X Send terminal notifications Python Get directory of current script Ruby Find or replace a substring with String#[]/String#[]=