Misc raspberry pi libraries and code snippets