Some of the code I've coded up through the past.