Javascript and JQuery gists to enable re-use or jog my memory.