Here I will post code that I have either written or used.