Wednesday, September 26, 2012


Ubuntu 12.04
軟體中心->shutter 安裝即可

Ubuntu 10.04
Synaptic->shutter 安裝

Monday, September 17, 2012



1.下載免費工具Any Video Converter


Sunday, August 5, 2012

[Ubuntu] User is not in the sudoers file

1. Reboot the system
2. Boot into "Recovery" mode
3. Select "Root Session"
4. Execute command as following to remount root filesystem
mount -o remount,rw /
5. Edit /etc/sudoers to add username to sudo user
# User privilege specification
username     ALL=(ALL:ALL) ALL
6. Reboot

Error: "usermod: cannot lock /etc/passwd; try again later"


Wednesday, June 13, 2012

[CentOS5] SVN Commit後透過Gmail發送email通知(SVN Post-Commit to send email notify via Gmail)

在CentOS 5中,使用SVN Commit Code後要自動發送通知,進行下列2個步驟即可,如果不是使用Gmail的smtp,則跳過第1步驟


38# Send email
39cat $TMPFILE | mail -a "From: $SENDFROM" -s "$SUBJECT" "$SENDTO"


38# Send email
39cat $TMPFILE | mail -s "$SUBJECT" "$SENDTO"

Tuesday, May 22, 2012

[Ubuntu]10.04 Parital Upgrade Error

Error Message:subprocess installed pre-removal script returned error exit status 2
Package : adobe-flashplugin

Removing adobe-flashplugin ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing adobe-flashplugin (--remove):
 subprocess installed pre-removal script returned error exit status 2
postinst called with argument `abort-remove'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

1. Backup /var/lib/dpkg/status
2. Edit /var/lib/dpkg/status, and remove Package adobe-flashplugin


Thursday, April 5, 2012

[Kindle DX] 以清單方式播放Mp3 ( Play Mp3 file in document list)

Kindle本身有支援播放Mp3的功能,如果是將Mp3放到Music的目錄內,就只能在Experimental->Play music播放,看不到Mp3的名稱也無法快轉。但如果將Mp3放到audible的的目錄中,Mp3的名稱就會出現在清單中了,方便選擇且播放的功能也比較完整。

If you put Mp3 files in music fold in Kindle, you can play Mp3 in Experimenatl/Play Music. It's not easy to play and choose mp3. If you put mp3 files in audible fold, you will find mp3 files in home list.

Monday, January 9, 2012

[C#][Solved]Could not load file or assembly 'Microsoft.SqlServer.Types

當在使用C# Express時,出現Could not load file or assembly 'Microsoft.SqlServer.Types之訊息

先下載Microsoft SQL Server 2008 Feature Pack, October 2008


  • Microsoft SQL Server System CLR Types
  • Microsoft SQL Server 2008 Native Client