Some useful code snippets for Corona dev.