Revert "add snippets from scrooloose's github."

This reverts commit b9641d257fb582436d88f7cf0872f03a5447894b.