2005年8月21日

特別的wiki:TiddlyWiki

發現一個很特別的wiki,TiddlyWiki。所有內容都在一個html檔,以html + css + javascript為架構,正因為如此,它不需要web server,只要有瀏覽器(firefox/IE),就可以跑了。建議用firefox,可以得到比較好的javascript效果。

它很適合做個人的記事本,紀錄學習筆記或日記都很適合,也可以順便當作Blog,並且也是很好的javascript範例。

2005年8月15日

firefix的"No common encryption algorithms"問題終於解決



這個問題已經很久了,印象中從firefox升級到1.0.3之後就有的,當時有試著去網路上找尋解法,不過一直找不到,只好消極的想,下一個版本就會修好,想不到這個想法就一直拖到1.0.6。於是今天狠下心來再去網路上找解答,終於皇天不負苦心人,找到這個連結:


簡單來說,改法就是在firefox的location那邊輸入about:config然後按enter,這樣會進入一個config網頁,然後在 filter裡輸入security,網頁都會過濾剩下跟security相關的設定,想改設定的話,只要在上面double click就可以,以我個例子,我是把"security.ssl3.rsa_rc4_40_md5"改成true,這樣我上面貼圖的Alert就不會出 現了。終於又可以用firefox上台證下單啦!

2005年7月23日

解決mount vfat filename大寫問題

這問題困擾我好一陣子,在Linux下mount windows的partition,會遇到一個問題,如果你建一個檔名是ABC,會被自動改成小寫的abc,好不容易讓我找到解決方法。

參考man mount:

shortname=[lower|win95|winnt|mixed]

Defines the behaviour for creation and display of filenames which fit into
8.3 characters. If a long name for a file exists, it will always be pre-
ferred display. There are four modes:

lower Force the short name to lower case upon display; store a long name
when the short name is not all upper case.

win95 Force the short name to upper case upon display; store a long name
when the short name is not all upper case.

winnt Display the shortname as is; store a long name when the short name is
not all lower case or all upper case.

mixed Display the short name as is; store a long name when the short name
is not all upper case.

The default is "lower".

所以下次我要mount PSP時只要加上-o shortname=winnt就可以了。

2005年6月20日

解決 FireFox 在RichHTML Copy/Paste 問題

之前雖然有用修改user.js的方法讓firefox可以在xuite上copy/paste,可是後來在google上search看到這篇[教學]解決 FireFox 在RichHTML Copy/Paste 問題的第一篇回應,原來用shift+insert也可以。真是太好了,這樣更簡單。

至於user.js的方法如下:
到Profile目錄
windows:
在開始上打%AppDaa%,到MozillaFirefoxProfilexxxxx.default
Linux:
$HOME/.mozilla/firefox/xxxx.default
修改/增加user.js檔,增加這段
user_pref("capability.policy.policynames", "allowclipboard");
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org");
user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");

如果需要多個網站,可使用空白分開,例如
user_pref("capability.policy.allowclipboard.sites", "http://www.mozilla.org http://blog.xuite.net");

2005年5月30日

永遠的Miller Time

今天看到NBA台灣官方網的"永遠的射手代言人─Reggie Miller"系列文章,讓我有點懷念這位偉大的NBA名人堂級球員。

雖 然現在離他的最後一場比賽(5/19)已經好幾天,不過我還是記得很清楚那天的第四節令人感動比賽,尤其在最後15.7秒時,溜馬敗局已定,溜馬教練卡萊爾見大勢已去,於是喊了暫停將得了27分的米勒換下場,全場球迷起立鼓掌,比賽還因此中斷,而活塞隊包括也曾帶過米勒的教練布朗(Larry Brown)以及全體球員在內,紛紛走上前為這位一代球星的精采生涯獻上最誠摯的掌聲與擁抱,球迷更是不捨,紛紛喊著他的名字。最後讀秒階段,全場球迷還 大喊「Reg-gie~Reg-gie」,甚至比賽結束後,全場球迷齊聲要求米勒再打一年,場面相當感人。記憶理,還不曾看到這麼讓我感動的比賽。


我算是90年代中期開始愛看NBA,之前也有看,不過沒那麼熱衷,是到喜歡 Iverson 之後才開始熱血起來。Miller 對於我來說,是比 Michael Jordan 印象深刻的球員,因為我看他的球賽比看 Jordan 的多,而且看他的比賽有好幾次都有感動的感覺。一位偉大的球星退休了,也正式宣告80年代 的球星結束了,不過 Milerr Time 將會永遠留在球迷心中。