switch (變數名稱) {
case 條件值1:
敘述句1;
break;
case 條件值2:
敘述句2;
break;
deafault:
預設敘述句;
}
星期四, 10月 16, 2008
星期三, 10月 15, 2008
stickies便利貼
很好用的便利貼小程式

如果看不習慣英文,還有中文語系可以下載,下載解壓縮後放在C:\Program File\Stickes\下
相關網址:http://www.zhornsoftware.co.uk/stickies/index.html
如果看不習慣英文,還有中文語系可以下載,下載解壓縮後放在C:\Program File\Stickes\下
相關網址:http://www.zhornsoftware.co.uk/stickies/index.html
Google應用服務「自己寄給自己」會出現退信的錯誤訊息
設定好gmail應用服務
自己寄信給自己會出現
------------------------------------------------------------------------------------
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
chunkai@dches.chc.edu.tw
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554: Relay access denied (state 14).
.
.
.
----------------------------------------------------------------------------------
由於主機mail.dches.chc.edu.tw本身原本就有提供postfix郵件服務,而/etc/postfix/main.cf檔案中,mydestination的作用是設定「能夠收信的主機名稱」,dches.chc.edu.tw卻不在收信主機名單內,所以信件雖然會寄到,但是卻也會再發一封退信的錯誤訊息。
只要將mydestination內加上dches.chc.edu.tw或是直接將postfix直接停用,信件就不會被退信了,下指令
service postfix stop(關閉服務,但是重開機服務仍會啟動)
或
chkconfig --del postfix直接刪除服務
或是
chkconfig postfix off停用服務(建議這樣比較好)
自己寄信給自己會出現
------------------------------------------------------------------------------------
This is an automatically generated Delivery Status Notification
Delivery to the following recipient failed permanently:
chunkai@dches.chc.edu.tw
Technical details of permanent failure:
Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554
.
.
.
----------------------------------------------------------------------------------
由於主機mail.dches.chc.edu.tw本身原本就有提供postfix郵件服務,而/etc/postfix/main.cf檔案中,mydestination的作用是設定「能夠收信的主機名稱」,dches.chc.edu.tw卻不在收信主機名單內,所以信件雖然會寄到,但是卻也會再發一封退信的錯誤訊息。
只要將mydestination內加上dches.chc.edu.tw或是直接將postfix直接停用,信件就不會被退信了,下指令
service postfix stop(關閉服務,但是重開機服務仍會啟動)
或
chkconfig --del postfix直接刪除服務
或是
chkconfig postfix off停用服務(建議這樣比較好)
星期四, 8月 21, 2008
透過web2.0將文件轉成pdf檔
PDF檔是Portable Document Format的簡稱,意思「可攜式文件格式」,它的優點在於跨平台、能保留文件原有格式(Layout)、開放標準。
大家常用的MS office辦公軟體,檔案格式並不是遵循著開放標準,所以只有特定的軟體可以開啟,所以把檔案轉存成pdf格式檔是個不錯的選擇,除了可以下載安裝PDF轉換器外,還有一個更快的方法,透過下面的網站,就可以直接把Office文件檔案轉成PDF檔,操作方法很簡單,只要選擇要轉換的檔案上傳,並填妥E-mail信箱,他就會將轉好的檔案寄給你。
http://www.pdfonline.com/
大家常用的MS office辦公軟體,檔案格式並不是遵循著開放標準,所以只有特定的軟體可以開啟,所以把檔案轉存成pdf格式檔是個不錯的選擇,除了可以下載安裝PDF轉換器外,還有一個更快的方法,透過下面的網站,就可以直接把Office文件檔案轉成PDF檔,操作方法很簡單,只要選擇要轉換的檔案上傳,並填妥E-mail信箱,他就會將轉好的檔案寄給你。
http://www.pdfonline.com/
加快電腦速度
一、加快電腦速度
進入regedit.exe
1.HKEY_CURRENT_USER\Control Panel\Desktop\MenuShowDelay=0
2.HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\MinAnimate=0
(沒有這兩個機碼的自己加上去)
二、加快網頁速度或網路芳鄰的速度
進入regedit.exe
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Explorer/ RemoteComputer/NameSpace/
把 {D6277990-4C6A-11CF-8D87-00AA0060F5BF} 殺掉
三、整體加速
裝「超級兔子魔法」,加速一次
四、最後重新開機
MenuShowDelay和MinAnimate的值設為0,分別是「選單」和「視窗開啟」的最快速度顯示。
進入regedit.exe
1.HKEY_CURRENT_USER\Control Panel\Desktop\MenuShowDelay=0
2.HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics\MinAnimate=0
(沒有這兩個機碼的自己加上去)
二、加快網頁速度或網路芳鄰的速度
進入regedit.exe
HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Explorer/ RemoteComputer/NameSpace/
把 {D6277990-4C6A-11CF-8D87-00AA0060F5BF} 殺掉
三、整體加速
裝「超級兔子魔法」,加速一次
四、最後重新開機
MenuShowDelay和MinAnimate的值設為0,分別是「選單」和「視窗開啟」的最快速度顯示。
星期三, 8月 13, 2008
星期四, 6月 05, 2008
訂閱:
文章 (Atom)

