Code samples to go with O'Reilly book