added some example codes
Merge branch 'master' of https://github.com/euriion/code_snippets