for Linux
0 8 28-31 * * [ `date -d tomorrow +\%e` -eq 1 ] && do-something
for other Unix,BSD
0 8 28-31 * * [ `echo \`cal\` | awk '{print $NF}'` -eq 1 ] && do-something
More, run cron jobs at last workday of the month
0 8 26-31 * * root [ `echo \`cal | cut -d' ' -f2-6\` | awk '{print $NF}'` -eq `date +%e` ] && do-something
ref. 系统管理員工具包: 時間和事件管理
360安全衛士 與 Kaspersky 合作, 提供免費的半年金鑰(Commercial key for 1 computer)
只要安裝 360安全衛士, 就可以在殺毒的頁面取得 activation code, 到期日為 2007-05-31
ref. 360安全衛士卡巴斯基激活碼獲取
2007-02-20 Update: Please DO NOT ask activation code here,
The way to get free activation code already mentioned above,
If you can't read Chinese, just forget it.
Windows Live Writer 是微軟出的 Blog 出版軟體, 除了支援自家的 Windows Live Spaces, 也支援 MT、WordPress
這篇就是用它 Publish 的.
1.0 Beta Download
最神奇的是它竟然也支援對手 Blogger
MySQL 在刪除資料時, 並不會釋放出磁碟空間,
當刪除很多資料時, 可以用 OPTIMIZE TABLE 來把資料 defrag 一下, 並且會釋放出磁碟空間.
OPTIMIZE TABLE tbl_name
Wireshark 0.99.5 Released (Feb 1, 2007)
這一版封包可以即時秀出來, 不用等到按 Stop.
註: Wireshark 的前身是 Ethereal
Ethereal 的主要開發人員 Gerald Combs 從 NIS 跳槽到 CACE, 但 Ethereal 是 NIS 公司的商標,
所以 Gerald Combs 只好將這個計畫的名稱改名為 Wireshark
ref. HowtoUseEthereal
2007-02-07 Update: 原來 Live Packet 的功能本來就有, 只是這版預設打開
在 ~/.bashrc 或 /etc/bashrc 加入以下兩行
bind '"\x1b\x5b\x41":history-search-backward'
bind '"\x1b\x5b\x42":history-search-forward'
這樣就可以鍵入 command prefix + 上下鍵做 history search, 很方便.
感謝 zxvc 提供
ref. [心得] 好用的bash history function