To get these examples running, install Camping. Instructions here: http://code.whytheluckystiff.net/camping/