Menu

Blog

17 June 2012

MD5 Flag Generator

This trick was inspired by Brian Suda who I saw speak at Whisky Web. Take a string, any string. Hash it using MD5. Substring the hash to get a 6-digit hex code. Take a look at what colour that hex code represents. A really simple, really cool way of generating seemingly random colours, that can […]

1 April 2012

ASCII Bar Charts for Quick & Easy Visualisation

So you have some data. Let’s say it’s a record of the number of instances of some things. Let’s say it’s the number of movies you own, grouped by the year they were released. Let’s say you have those data in the form of a dictionary in Python, like so: The following loop will print […]