Sunday, April 29, 2007

[MacOSX] 一个免费的中文输入法

今天从同事Jacky和Gary听说了一个Mac OSX 下面的中文输入法, Fun Input Toy, 忍不住马上安装试用一下, 因为自从我开始使用MacOSX以来,就倍受Mac下自带的中文输入法折磨, 一直在寻找好用的中文输入法,在寻找了相当长的一段时间以后, 只找到一个商业软件QIM, 不幸的是QIM不支持双拼输入 :( . 今天听说了FIT以后, 就像发现了新大陆一样,马上安装! 安装以后,一切都非常的完美! 双拼用起来和Windows下面的IME软件基本没什么区别,好像还更好用一些 :)

希望FIT也同样带给你惊喜! Enjoy! ;) 来张图片:

Sunday, April 15, 2007

use ssh tunnel when other application can not establish a stable connection

Recently I worked from home, to communicate with my mates, my company use IRC and there is an IRC server set up on office server. I use irssi as my IRC client. All work well until I change my work place from my home in BeiJing to my wife's hometown(FuJian).

It seems irssi can not establish a stable connection to the IRC server in office. At first, I tried ssh to my computer in office and run irssi there. It works but there is some problems: I tweak a script that use Growl to notify me whenever there is a IRC message for me, and with Sound notification. It work very well locally, but not work well remotely, there is a delay for the sound playing(I use esound to play sound effect file). Later, I got another solution from greg(thanks!), building an ssh tunnel for IRC server, then I can run irssi locally. After I gave it a try, it worked very well! To make the ssh tunnel, run command: $ ssh -Nf -L 6667:IRC_SERVER:6667 GATEWAY_IN_OFFICE

Then in irssi, connect to "localhost" as the IRC server. It seems ssh does a really good work on network connection. Thank you, SSH! ;)