Small pieces of code that I found usefoul