Just some pieces of code, that I use a lot.