some usefull snippet for cpp
some useful snippets on thrift&proto&gtest