The source code for the examples in the book is available for download here as a gzipped tar archive.