2010年5月18日 星期二

Meld - Diff and merge tool


gtags & htags (trace code)


1. $ sudo apt-get install global
2. $ cd
3. $ gtags
4. $ global (find definition of pattern)
5. $ global -r (find references of pattern)
6. $ global -x (shows the detail)
7. $ global -xg (locates the lines which have specified pattern)


* Not work with VIM, use the above commands under SHELL
reference: http://www.gnu.org/software/global/globaldoc.html


使用 htags
使用編輯器閱讀源碼,可以直接編輯。也可使 用內含的 htags 編成 HTML,結果會放在 ./HTML 裡面。
$ htags --suggest
s: 加入 object definitions, references, symbols
a: 依照字母順序處理 function index
n: 加入行號
o: 除了 binary files 外,源碼以及其他文字檔全數加入
h: 加入檔頭,
I: 使用 icon 取代文字
v: verbose

$ htags --suggest: 便利入門者,直接調用熱門選項,相當於'-afghInosTxv --show-position'


How to use simple speedtest in RaspberryPi CLI

  pi@ChunchaiRPI2:/tmp $  wget -O speedtest-cli https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py --2023-06-26 10:4...