stardict fix

modify the copy icon in the main window to append the texts in the explanation area to a predefined file. modify the copy icon in the float window to append the texts in the explanation area to a predefined file. modify the explanation area not to have dictionary names. (better outlook for exportings)

February 25, 2006

pcmanfm fix

Add F8 to create new directory.

February 25, 2006

[LN] Some installations I made

install scim *** 而像是 SCIM 等等輸入法則直接能夠在 zh_TW.UTF-8 環境下運作。 如果您有興趣則不妨試試看! 註:要在不同 locale 的 utf-8 環境中使用 SCIM ,請修改 /etc/scim/global (或相對應的個人設定檔): /SupportedUnicodeLocales = en_US.UTF-8,zh_TW.UTF-8,ja_JP.UTF-8 **** -> locale-gen -> setup right zh_TW.UTF8 in /etc/X11/xinitrc or .xinitrc -> install boshiamy ...

February 22, 2006

remote debugging with gdb

Hm… some notes for myself: target: (where the program runs) gdbserver host_ip:port program_name host: (debugging site) gdb program_name target remote target_ip:port continue (should be continue instead of run, cause the program is already running)

December 20, 2005

Installing LInux in BlueAngel

If you just want to install linux on your BlueAngel, the only website you have to visit is Handhelds.org. By following the instructions you will have an Embedded Linux ready in a SD card within half hour, including downloading kernel image and gpe image. Well except one strange problem that I encountered: if I try to partition the SD card into two primary partitions: one in fat16 and the other in ext3, BlueAngel can not find the SD card. Only after I partitioned it into one logical partition (fat16) and the other primary partition(ext3) did it work normally. ...

December 20, 2005

useful firefox extension

Mozilla Calendar: easily manage your events without installing a new software. Disable Targets for Downloads: Sick of closing blank Tabs when downloading files? Try this, you’re gonna love it at once. Auto Copy: My favorate one. It will copy the selection texts automatically. Use it with Stardict, you can look up words just by double clicking on words.

October 20, 2005

Open files with existing Gvim window in Windows

from Vim Tip #1003: `For example, assoc .php=PHPFile ftype PHPFile=“C:\Program Files\Vim\Vim63\gvim.exe” –remote “%1” then whenever you double click a .php file in explorer, it will be opened in existing Gvim window (or it will open new Gvim window if there is no already opened Gvim window).`

October 6, 2005

modify menu.vim to make bufferlist work with numbers

in line 720, I did the following modifications: let name2 = fnamemodify(name, ':t') if a:bnum >= 0 " daniel let name2 = name2 . ' (' . '&' . a:bnum . ')' "let name2 = name2 . ' (' . a:bnum . ')' endif let name = name2 . "\t" . BMTruncName(fnamemodify(name,':h')) let name = escape(name, "\\. \t|") " daniel "let name = substitute(name, "&", "&&", "g") let name = substitute(name, "\n", "^@", "g") return name endfunc

September 27, 2005