Code samples from various books