September 21, 2005

ShortCut for Screenshot on Mac

Sometime I need to catch some screenshots, here is the short cut:

Command (Apple) + Shift + 3 => full screen
Command (Apple) + Shift + 4 => Selected Area
Command (Apple) + Shift + 4 + space => Specific Window (1/5/06 added)

Here are the screenshots I catch while I'm writing this blog entry! :)

September 19, 2005

Shortcut for quick dictionary in mac

Mouse over the word and press Ctrl + Apple + D, and move the mouse around to check other words. (thanks to Will for the tips)

Java Environment Setting in Mac

Defualt built-in Java in Mac is version 1.4, but I need to use Java J2SE 5.0 (version 1.5). Had a CS friend help this afternoon, I can run Java written in v1.5 properly now!!! :) (Make sure your machine update Java to 1.5)

Here is the solution:
1. In home directory, create a file called .profile
2. type command line below in the file:
export PATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands:$PATH
3. source .profile
4. check Java version (java -version)
5. start programming!!! :D


OR do soft link for the whole system:

1. Use terminal and go to the directory below:
cd /System/Library/Frameworks/JavaVM.framework/Versions

2. Remove the old 1.4.2 default link:
rm CurrentJDK

3. Re-create a new CurrentJDK linking to 1.5.0:
ln -s 1.5.0 CurrentJDK

(remember to change to root to do the commands - sudo command)

September 13, 2005

My PB - everything is perfect but not the light spot!!!

Sigh...I got a light spot on my powerbook LCD. Yesterday, I went to the Apple Store in EastView Mall and asked if there is any possible to change it because I just bought it five days ago. Bad news is that they consider one light spot is normal; therefore, I cannot change it. sigh!!! TOO BAD LA~~~ :'( 殘念!

September 12, 2005

iPod Notes

因為學生特惠關係,買了powerbook 還可得到免費 iPod mini 4G 一台 (after rebate US$179),不過可以自由加點錢升級到 iPod mini 6G or iPod 20G/60G. 本想問問是不是可以買 iPod nano 取代,可惜的是因為它是新出的,所以無法如此行. 想說既然 Apple 都要出清 iPod mini 了,我還買它做啥?不如升級 iPod 吧,又是彩色又可以存照片. 就這樣給它敗下去了!
回到正題,剛剛在試內建的 Note 功能,只要把文字檔放在屬它的資料夾下,就可以在 iPod 觀看筆記了. 測試顯示的結果真是不錯,但是如果要放多國語言的文字檔,要把它轉換成 Unicode 才行. :)