Add a complete snippet to paste to build

Squashed commit of the following:

commit adbc844d363304284537f8520d22578eccc6f34b
Author: Jacek Laskowski <jacek@japila.pl>
Date:   Mon Jun 23 15:30:57 2014 +0200

    Fixes after @szeiger's comments

commit 1b205e038faf843f6a6d26994bed17c4219fdf90
Author: Jacek Laskowski <jacek@japila.pl>
Date:   Tue Jun 17 23:20:38 2014 +0200

    Add a complete snippet to paste to build