以下同步發表於 Mobile 01

廣穎的固態硬碟在這裡曝光率並不高,3 月底購入新 PC 時,因當時搭配的主機板
MSI H61M-P20 僅支援 SATA II,抱著嚐鮮的心態,就把這顆硬碟帶回家嚕。

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

逛 Pchome 是我平常的啫好,本來踏入 Mac 的世界之後,就不想再回來使用 PC 了;

沒想到因為覺得價格很划算又一個不小心手滑就帶了一台 PC + SSD + 顯卡回來。

    PC    SSDATI HD 6850    

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

http://support.apple.com/kb/HT5078

https://discussions.apple.com/thread/3270886?start=0&tstart=0

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

停用本機硬碟備份,在終端機中輸入以下指令

sudo tmutil disablelocal

用本機硬碟備份,在終端機中輸入以下指令

sudo tmutil enablelocal

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

MS-SQLSelect 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

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

find ./dir -name "*.file" -exec grep -H 'keyword' {} \;

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

日期模組真的是很好用的一個工具,不過有時候只有日期是不夠用的,

還需要加上時間的時候怎麼辦呢?

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

以前在使用 Linux 的時候,一直有很多小工具覺得非常好用,

可是在換到 Mac 這個 BSD Base 的平台,某些軟體並沒有內建在裡頭。

今天在開會的時候剛好討論到 open source 的東西,沒想到在 BSD 上頭的

Ports 在 Mac 上也有相同的東西叫做 MacPorts,不過使用方式比較不像傳統的

Ports 我覺得比較像 APT 或 YUM 方便多了。

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

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

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()

http://spotspot.pixnet.net/blog/post/12368226-%E5%9C%A8mac%E4%B8%8A%E8%A3%9Dwindows%E4%B9%8B%E5%BE%8C,-%E5%A6%82%E4%BD%95%E6%93%B7%E5%8F%96%E7%95%AB%E9%9D%A2printscreen

Posted by james670818 at 痞客邦 PIXNET 留言(0) 引用(0) 人氣()