Code samples from the apex-workshop meetup group part of the NYC Salesforce dev user group http://www.meetup.com/NYC-Salesforce-Developer-Group/