beaglebone black snippets of useful code