A cookbook for sample code and note