Code snippets and examples for MacTech Conference 2013 "Python for Systems Administrators" workshop