Category Archives: Uncategorized

E.B. White’s Beautiful Letter to a Man Who Had Lost Faith in Humanity

Dear Mr. Nadeau:

As long as there is one upright man, as long as there is one compassionate woman, the contagion may spread and the scene is not desolate. Hope is the thing that is left to us, in a bad time. I shall get up Sunday morning and wind the clock, as a contribution to order and steadfastness.

Sailors have an expression about the weather: they say, the weather is a great bluffer. I guess the same is true of our human society – things can look dark, then a break shows in the clouds, and all is changed, sometimes rather suddenly. It is quite obvious that the human race has made a queer mess of life on this planet. But as a people we probably harbor seeds of goodness that have lain for a long time waiting to sprout when the conditions are right. Man’s curiosity, his relentlessness, his inventiveness, his ingenuity have led him into deep trouble. We can only hope that these same traits will enable him to claw his way out.

read more

[转] 胡适在北京大学毕业典礼上的讲话(1932年6月27日)


How to clone all remote branches with Git

Question: I have a master and a development branch, both pushed to remote git repository. How to clone all remote branches with Git


clone the remote git repository: git clone git://

list all hiden local branches: git branch -a

$ git branch -a  
* master  
  remotes/origin/HEAD -> origin/master  

create a local tracking branch: git checkout -b another-branch remotes/origin/another-branch

list local branches: git branch, and you will see the local branches

read more