Merge examples from wiki
Merge pull request #2385 from johngallagher/patch-1

Merge examples from wiki