Just some snippets from my Node.JS code to assist me later