Code and samples for posts on http://studiofreya.com