examples/example-snippets: fix whitespace and some code.3