Mixed code snippets which I include in my projects most of the times.