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