Merge pull request #1 from sylzys/master

New snippets
Updated switch, timeout, and interval
transposed th in for loop
Merge pull request #2 from kristofferh/for-loop

transposed th in for loop
Corrected typo
Changed spaces to tabs indentation
Merge pull request #3 from Saveman71/master

Changed spaces to tabs indentation
semicolon is unnecessary in `while`