A set of platform independent functions used in my projects