January 27, 2006

FreeNAS

FreeNAS - The Free NAS Server
FreeBSD 做的, base on M0n0wall, 不到 16MB
支援 CIFS (samba), FTP, NFS

ref. FreeNAS-->功能強大的NAS (Network Attached Storage) (2006/1/26)

Posted by pank at 01:04 AM | Comments (0)

January 23, 2006

Windows Live Messenger Invitations

Windows Live Messenger 目前還不怎麼好用, 可能會有名單消失, 群組亂掉等問題.
相關說明請參考: 牽動世界的旋律: Windows Live Messenger Beta 8.0 邀請測試函
ref. MSN Pure Patch (支援 8.0)
2006-1-23 Update: WLM 邀請函已發完, 有興趣的人可以到 Windows Live Messenger Beta Sign Up, 等個幾天就可以收到邀請函了.

PS. 日前出了 MSN Messenger 7.5.0322 中文版: 官方版 | pank版(乾淨版)

Posted by pank at 10:13 PM | Comments (12)

January 21, 2006

SoX - Sound eXchange

SoX 可以轉多種音訊格式的檔案
Supported file formats: aiff al au auto avr cdr cvs dat vms gsm hcom la lu maud mp3 nul ossdsp prc raw sb sf sl smp sndt sph 8svx sw txw ub ul uw voc vorbis vox wav wve
例: 把 01.wav 轉成 01.mp3
sox 01.wav 01.mp3
可惜 sox 不能轉有 WAV Header (RIFF..6.WAVEfmt) 的 MP3 檔(參考)
sox 也有 Win32 的版本.

Posted by pank at 02:34 AM | Comments (0)

January 18, 2006

Convert Gallery 1.x from Big5 to UTF-8

今天把 Gallery 從 Big5 轉換到 UTF-8
感謝 PipperL 所提供的 轉換程式
如果 albums 目錄不在 gallery 目錄下, 要改一下 $albumdir
執行後, 按最下面的 Convert all file from big5 to UTF-8
zh_TW.utf8 語系檔可以在 Gallery 檔案區 找到

ref. 終極邊疆BLOG: Migration Gallery from Big5 to UTF-8

Posted by pank at 11:02 AM | Comments (0)

January 17, 2006

Firefox market share

Firefox market share study for the first anniversary
Firefox 在去年底, 全球佔有率就超過一成.
統計資料顯示歐洲的佔有率最高 16.9%, 芬蘭佔有率更高達 32%

本站的統計資料也顯示, 2005 年 Firefox 逐漸成長, IE 則逐漸衰退.
2005-01 IE 88.6% Firefox+Mozilla 8.5%
2005-06 IE 77.3% Firefox+Mozilla 11.4%
2005-12 IE 72.1% Firefox+Mozilla 13.9%

ref. Mozilla's browsers global usage share is still growing according to OneStat.com

2006-01-17 Update: 歐洲佔有率達 20%+, 美國 15%+

Posted by pank at 10:05 AM | Comments (0)

Windows 2000/XP/2003 Change the System/Boot Drive Letter

How to restore the system/boot drive letter in Windows

Posted by pank at 09:46 AM | Comments (0)

January 16, 2006

Bindows - AJAX applications

Bindows 可以在網頁上面開發 AJAX 桌面軟體, 到該網頁看 DEMO 就知道了.
ref. ChrisTorng: Bindows (將桌面軟體搬到瀏覽器中的 AJAX)

Posted by pank at 08:47 PM | Comments (0)

My Firefox 1.5 Extensions

All-in-One Gestures 滑鼠手勢
Download Statusbar 使用視窗底端的一行下載列取代原來的下載視窗
Super DragAndGo 拖拉網址可以立即開網頁, 拖拉文字可以用傳送給 Google 搜尋
Tab Mix Plus Tab Mix 加強版, Tab Mix 沒有提供 1.5 的版本, 只好裝 Tab Mix Plus

ref. My Firefox Extensions (1.0.x)
同文堂、Right Encoding 因為少用就不裝了.

Posted by pank at 02:20 PM | Comments (0)

gcin 自訂字型

把字型名稱存在 ~/.gcin/config/gcin-font-name
e.g.
echo MingLiU > ~/.gcin/config/gcin-font-name
echo AR PL New Sung > ~/.gcin/config/gcin-font-name
PS. gcin 最近出了 1.1.5

ref. gcin 同好會: 自訂字型

Posted by pank at 11:29 AM | Comments (0)

January 13, 2006

Linux Firefox/Thunderbird 1.5 使用細明體

在 Linux Firefox/Thunderbird 1.0.x 版使用細明體, 用 GDK_USE_XFT=0 可以避免字型破碎、散亂()的問題.
但是在 Firefox/Thunderbird 1.5, 這個方法行不通, 必需安裝 Firefly Patch 過的 stfont-xft 套件 才能解決.
rpm -Uvh fontconfig* freetype* *Xft*
(Mandrake 的修正套件只有 9.1 版的, 我用 Mandrake 10.0 用 rpm -Uvh --nodeps --force 裝起來沒什麼問題)
雖然 Firefly 的字型 很棒, 個人還是習慣看細明體(微軟荼毒)
Firefox 1.5 + 細明體 Scrrenshot
ref. Memei BLOG: 主機板爆電還能裝Linux,是這樣的嗎? 迴響

Posted by pank at 11:33 AM | Comments (0)

Yahoo!奇摩知識+ - 100大難題大挑戰

2005 Yahoo!奇摩知識+ - 100大難題大挑戰
有些問題還滿有意思的!
需注意的是 Yahoo!奇摩知識+ 的問題與解答都是由網友所寫, 解答只能當作參考, 不一定是正確的.
ref. 網上求知 哪些問題最Hot?

Posted by pank at 09:49 AM | Comments (0)

Apache ServerAlias

ServerAlias 這個參數還滿好用的, 之前還傻傻地用了多個 VirtualHost block 來表示.

<VirtualHost *>
    ServerName server.domain.com
    ServerAlias server server2.domain.com server2
    ...
</VirtualHost>

<VirtualHost *:80>
     ServerName pool.ntp.org
     ServerAlias *.pool.ntp.org
     Redirect permanent / http://www.pool.ntp.org/
</VirtualHost>


Posted by pank at 12:25 AM | Comments (0)

January 12, 2006

Kaspersky Anti-Hacker

平常都躲在 FreeBSD、Linux 的後面, 一直都沒去嘗試 Client 端的防火牆軟體.
最近裝了 Kaspersky Anti-Hacker, 滿容易使用的, 只要程式有任何未知的網路動作, 會立刻秀出訊息, 讓使用者可以做放行或阻檔的動作.
即使中了木馬、病毒, 當木馬、病毒要傳送資料出去時, 也能即時加以攔截.
Kaspersky Anti-Hacker 可以抓到任何要偷偷傳送資料的木馬、病毒、廣告程式、惡意程式, 光這一點就很好用了.
另外, 它會記住執行檔的 Checksum, 一但被改了會馬上通知.
卡巴斯基實驗室中文網 - 產品下載

Posted by pank at 10:32 PM | Comments (0)

BASH $* and $@

"$*" != "$@"
* When the expansion occurs within double quotes, it expands to a single word.
@ When the expansion occurs within double quotes, each parameter expands to a separate word.
Without double quotes, $* = $@

test.sh
#!/bin/sh
for i in "$*"
do
    echo $i
done
for i in "$@"
do
    echo $i
done
for i in $*
do
    echo $i
done
for i in $@
do
    echo $i
done

# ./test.sh 1 2
1 2
1
2
1
2
1
2

ref. Bash Reference Manual - Special Parameters, Double Quotes

Posted by pank at 11:07 AM | Comments (0)

January 11, 2006

Checksum utilities

digestIT 2004, MD5 for Win32
這兩套是同一個作者寫的, digestIT 2004 功能較強, 可以計算多檔的 MD5, SHA1 hash
MD5 for Win32 只能計算單檔的 MD5, 滑鼠右鍵操作.

QuickSFV
可以建立及檢查 SFV 及建立 MD5, 滑鼠右鍵操作.

Posted by pank at 10:53 PM | Comments (0)

wmctrl - a command line tool for EWMH/NetWM compatible X Window Manager

The wmctrl program is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager.
wmctrl can
List windows -r
List desktops -d
Switch desktops -s
Activate window -a
Move window -R -r
Showing the desktop -k (on|off)
wmctrl help

ref. jserv: wmctrl - 對符合 EWMH 的 WM 傳送命令

Posted by pank at 11:13 AM | Comments (0)

xbindkeys - create hot keys in X

xbindkeys allows you to create hot keys in X with any window manager.
Edit ~/.xbindkeysrc

"/usr/local/firefox/firefox"
F11
"/usr/local/thunderbird/thunderbird"
F12

1st line: "command"
2nd line: Hot key
......
and add exec xbindkeys & to /etc/X11/xinit/xinitrc beforce Xsession

ref. How to setup your keyboard's extra keys in X11

Posted by pank at 10:38 AM | Comments (0)

January 09, 2006

車輛油耗指南9403

經濟部能源局 車輛油耗指南9403
要買車的人可參考

Posted by pank at 11:47 PM | Comments (0)

Google Pack


Google Pack 是 Google 所提供的軟體合輯.
裡面還有 Norton Antivirus 2005 Special Edition 含六個月病毒碼更新.
可惜只有 for Windows XP, 其他 OS 會看到: Google Pack is only available for Windows XP

Posted by pank at 10:24 AM | Comments (0)

PHP Easter Egg

在 PHP URL 的網址後面加 ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 就可以看到一隻有趣的

這隻和 April fools' day phpinfo() 出現的狗是一樣的.
ref. digg.com: PHP Easter Egg

Posted by pank at 09:31 AM | Comments (0)

SSH X11 Forwarding

Server sshd_config 設 X11Forwarding yes, 不需要跑 X
Client 跑 X, 用 ssh -X host 連 Server, 就可以使用 Server 端的軟體, 執行結果傳回秀出來
Client 端連上 Server 後, echo $DISPLAY, 會顯示 localhost:1x.0
localhost:10.0
Server 端的 localhost 會 listen 601x port
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN

Posted by pank at 09:24 AM | Comments (0)

January 06, 2006

Taiwanese English

台式英文只有台灣人聽得懂
Windows XP 念 Windows 叉P
MP3 念 MP三
我不反對這樣的念法(自己平常也是這樣念), 語言是一種溝通工具, 聽得懂就好.
但是不要跟外國人講台式英文, 聽的人大概會三條線.

Posted by pank at 12:48 AM | Comments (3)

January 05, 2006

Cyber Security Bulletin 2005 Summary

Cyber Security Bulletin 2005 Summary

Posted by pank at 02:01 PM | Comments (0)

Cross-Platform BASIC

這裡的 Cross-Platform 指至少支援 Windows 及 Linux
FreeBASIC DOS, Windows, Linux
KBasic Windows, Linux, MAC
PureBasicWindows, Linux, MAC, AmigaOS
REALbasic Windows, Linux, MAC
SmallBASIC(Interpreter only) PalmOS, VTOS, Franklin's, Linux, Win32 and DOS.
XBasic Windows, Linux
Yabasic (Interpreter only) Windows, Linux
wxBasic Windows, Linux
就 Google 搜尋到的資料量來看, REALbasic 應該是最多人用.
ref. List of BASIC dialects

Posted by pank at 12:59 AM | Comments (0)

January 04, 2006

January 03, 2006

Microsoft Virtual CD-ROM Control Panel

原來微軟有出虛擬光碟 Virtual CD-ROM Control Panel for Windows XP
但是不怎麼好用, 還是用 Daemon 吧!
ref. Ten Tools Every Admin Should Have

Posted by pank at 11:28 PM | Comments (0)

January 02, 2006

Taipei 101 2006 Fireworks

本來想要去 象山101 跨年煙火秀, 不過有點下雨, 於是作罷.
就近去國父紀念館看, 人還是滿多的.
精彩的時刻時間過得特快, 感覺好像不到 2分8秒

SONY 不曉得花多少錢買那個廣告?
(BRAVIA by Sony)
2005-01-02 Update: 原來這次的煙火秀, 是由 SONY 獨家贊助

Posted by pank at 10:13 AM | Comments (0)