Instantly share code, notes, and snippets.
See this answer on Stack Overflow:
https://stackoverflow.com/a/3042512/6537026