Just a collection of usefull code for future reference