Miscellaneous code I'm willing to share