1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
C - How to Reverse String?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
C - How to Delete Space of String?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
|
C - What Is Static Function?
A static function is a function whose scope is limited to the current source file.
靜態函式只能被所屬的檔案使用,其它檔案無法呼叫。
舉例:檔案 a.c 有 static functionA, 但檔案 b.c 無法呼叫 functionA 使用。
要注意的是 C++ 和 Java 的靜態函式功用和靜態變數相同。
Git - How to Install Git Server in Synology DS214 NAS?
Synology DS214 NAS is provided Git server package.
And I noted the setup below.
Android Studio - Github PagerSlidingTabStrip Project Build Error
I imported Github PagerSlidingTabStrip project into Android Studio 0.8.2.
Oops. And it wasted me a lot of time to fix build error.
To avoid encountered the same problems.
I noted solutions here and hoped this can help you. :)
Vim - How to Highlight Trailing Whitespace?
During Vim editing, We must have to delete unnecessary trailing whitespace which make code easy to read or merge.
Vim - How to Change Vim Default Comment Color?
The default VIM comment color(dark blue) is diffacult to read.
How to Install Octopress Blog With Github?
之前陸陸續續用過倒掉的無名、Pixnet 和 Blogger,
這些 Blog 的編輯排版非常麻煩,尤其是要貼 Code 的時候…WTF
所以後來有一大段時間沒在寫,但隨著年紀增長開始健忘XD
因此決定找一個好用的 Blog 來防呆…
找了許久終於找到好吃的 Octopress,
Markdown 語法解決了我最討厭的排版問題,
還可以用 Vim + Git 來編輯和發布文章,
整個就是超級符合我這個懶人的 Style。
不過網路上的安裝教學文章大多是 2012 年左右的,
而我在安裝過程中也遇到些問題折騰了不少時間,
為了不再重蹈覆轍,所以通通記錄下來。