- Apr 26 Thu 2012 03:00
[開箱] 廣穎 SATAII 2.5吋固態硬碟 Extreme 系列 E25 SSD 128G 測試 & 使用心得
- Apr 04 Wed 2012 02:38
[抱怨] MSI:H61M-P20(G3) 奇怪的 BIOS
- Mar 27 Tue 2012 12:03
[Mac & Windows] Windows 7 連結 Mac Lion VPN Server 設定
- Mar 19 Mon 2012 02:39
[Mac] 停用與啟用 Time Machine 本機硬碟備份
停用本機硬碟備份,在終端機中輸入以下指令
$ sudo tmutil disablelocal
啟用本機硬碟備份,在終端機中輸入以下指令
$ sudo tmutil enablelocal
- Feb 15 Wed 2012 05:34
[SQL] 隨機選取資料
MS-SQL:Select TOP 1 * From Table Where 條件 ORDER BY NEWID()
Access:Select TOP 1 * From Table Where 條件 ORDER BY RND(數字欄位名稱)
MySQL:Select * From Table Where 條件 ORDER BY RAND() LIMIT 1
PostgreSQL:Select * From Table Where 條件 ORDER BY RANDOM() LIMIT 1
- Feb 15 Wed 2012 05:31
[Linux] 找出目錄下有關鍵字的檔案
find ./dir -name "*.file" -exec grep -H 'keyword' {} \;
- Jan 11 Wed 2012 20:06
[Jquery] 日期模組 (二)
- Sep 16 Fri 2011 23:36
[Mac] MacPorts
- Sep 11 Sun 2011 17:30
[NAS] Thecus N0503 手動刪除舊版的模組
You have to do following commands in the linux shell:
rm -R /raid/data/module/YOURMODULE
rm /raid/data/module/cfg/module.rc/YOURMODULE.rc
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from module where name = 'YOURMODULE'"
/opt/bin/sqlite /raid/data/module/cfg/module.db "delete from mod where module = 'YOURMODULE'"
replace YOURMODULE with the name of the module to be removed