Archive for the hacker category

Screen, SecureCRT, UTF-8 and FreeBSD

Finally I got my environment on FreeBSD UTF-8-lized.

Note on SecureCRT: set Character encoding to “UTF-8″
Note on Screen: set following command in .screenrc

defutf8 on
defc1 off
defencoding utf8

bind b encoding big5 utf8
bind u encoding utf8 utf8

Note on Screen with 256 color:

% cd /usr/ports/sysutils/screen
% make config # XTERM_256 Enable support for 256 colour xterm
% make deinstall reinstall clean

And set following command in .screenrc

term xterm
termcapinfo xterm ‘Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm’
attrcolor b “.I”
attrcolor i “+b”
defbce on

And re-start the screen (not just re-attach it)

Others, refer to yzlin’s post.

OpenSource in Taiwan - 神奇的貼標籤

拜讀了 Fred彼此需要的 Open Tech Summit Taiwan 2008之後,突然有了如標題的感觸。

Using svk branch management for YASA

First of all, setting properties on the YASA project

svk:project:path-tags => tags/
svk:project:path-trunk => trunk/yasa/
svk:project:path-branches => branches/

Then, svk mi /yasa/mirror/yasa http://localhost/repos/yasa

% svk sync /yasa/mirror/yasa
% perl -Isvk/trunk/lib /usr/local/bin/svk br -l /yasa/mirror/yasa
yasa-freq

Works :)

PyLucene Win32 on googlecode

之前要相容地使用 Lucene 的 Index ,所以花了不上功夫在 FreeBSD 上玩 PyLucene

WordPress 2.5 Release!

Finally WordPress 2.5 Release is out :D

Wordpress 2.5-RC3

Wordpress 2.5-RC2 出來了,跟 RC1 比其實改了不少,不過我想要的 tag 點選功能好像還是沒出來。

Updated: 然後 vv 馬上就跟我說已經有 RC3 了 -______-

真期待 2.5-Release :D

Wordpress 2.5-RC1

都忘了寫一下了,前幾天 WordPress 升級到 2.5-RC1 ,用起來爽度不錯,接下來就想再換個 theme 來用用了。

對了,它的 category 有顯示目前所有的 categories 讓使用者選,為什麼 tag 要自己加呢?不過 tag input 有 ajax 自動搜尋,所以就算了。不過中文還得打出至少一個完整的字,真是不方便。也許自然輸入法9的「略語」功能真的有其必要性吧。

gvim 工具列亂碼修正

source $VIMRUNTIME/delmenu.vim
language messages zh_TW.UTF-8
source $VIMRUNTIME/menu.vim

WordPress 2.3.3

主要修正 XMLRPC ,我想沒開放註冊的好像沒差,不過沒人做 patch (不然就是我不小心略過了 :p)。

自己做了一個。放在這裡

[Ubuntu] scim -> gcin

本來想在 Linux 上試用 OpenVanilla 的,看來還是殘念……

Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan