原创 知足常樂

最近常常想到一個詞,知足常樂。知足常樂是美好的性格特點,同時人們還喜歡要強上進的人。但凡事都有兩面性,我想一個容易知足常樂的人,一定不會太要強上進,但凡要強的人,一定是不知足於眼前的人,也許想得有些偏頗。。。當人面臨死亡威脅的時候,只求能多

原创 git命令使用總結

一. 分支$ git branch //查看本地分支* master$ git branch -r //查看遠程分支 origin/HEAD -> origin/removal origin/master origin/removal$ g

原创 markdown+pandoc

markdown在線編輯網頁:https://stackedit.io/pandoc demo:http://johnmacfarlane.net/pandoc/demos.html用下面命令生成html格式slide:pandoc -s

原创 來自社區comments的總結(未完)

一. 格式1. 函數定義需要這行的話,應該和’(‘對齊This line should be aligned with the opening ( above.static inline int handle_lsr_errors(stru

原创 知足常樂

最近常常想到一個詞,知足常樂。知足常樂是美好的性格特點,同時人們還喜歡要強上進的人。但凡事都有兩面性,我想一個容易知足常樂的人,一定不會太要強上進,但凡要強的人,一定是不知足於眼前的人,也許想得有些偏頗。。。當人面臨死亡威脅的時候,只求能多

原创 步驟:用git提交patch,併發送郵件列表

一. 先配置git send-mail 的 smtp服務器:1. 安裝git-email:# apt-get install git git-core git-email修改gitconfig文件:vim ~/.gitconfig[colo

原创 git命令使用總結

一. 分支$ git branch //查看本地分支* master$ git branch -r //查看遠程分支 origin/HEAD -> origin/removal origin/master origin/removal$ g