Code for demos featured on http://ladycoder.blogspot.com/