2013年2月27日 星期三

Word 2007 combobox 下拉選單

Reference:
http://www.youtube.com/watch?v=-B_ZD6YyWs8


delete out-of-date tracelog on Linux

Reference:
http://stackoverflow.com/questions/5142429/unix-how-to-delete-files-listed-in-a-file
http://itigloo.com/how-do-i/binrm-argument-list-too-long-error/

Uses command: rm -rf `find . -name *.tr[0-9]* -print` and gets ‘/bin/rm: Argument list too long’ error.

Solution 1:
/usr/bin/find /home -mtime +7 -name *.tr[0-9]* -print > /root/list.txt
for f in $(cat /root/list.txt); do
  rm $f
done

Solution 2:
/usr/bin/find /home -mtime +7 -name *.tr[0-9]* -print | xargs rm


backup Linux on VMware ESX

Backup Linux files with Symantec Backup Exec 2012:

  • Linux on Physical machine: backup speed 750MB/min
  • Linux on VMware without vmware tools: backup speed 350MB/min
  • Linux on VMware with vmware tools: backup speed 1500MB/sec

2013年2月25日 星期一

2013 元宵節燈籠


幼稚園做的

巨城購物中心送的

幼稚園另外送的


2013年2月23日 星期六

Do not automatically mark as read (Outlook)

Reference:
http://www.msoutlook.info/question/250
  • Outlook 2007 and previous 
    • Tools-> Options…-> tab Other-> button Reading Pane…
  • Outlook 2010 and Outlook 2013 
    • tab View-> Reading Pane-> Options…

2013-02-23 理髮 & 鬆餅

到交大理髮,水池長出綠色的植物,春天就要到。


2013年2月21日 星期四

2013年2月20日 星期三

Skype 6.0 dial pad icon for extension number (撥分機)

Reference:
http://community.skype.com/t5/Windows-desktop-client/5-5-0-114-has-no-dial-pad-icon-on-the-tool-bar-What-to-do/td-p/127084


Using the call window menu, please do:
Call -> Show Dialpad

Outlook auto complete (.NK2)

Auto complete editor
http://www.nirsoft.net/utils/outlook_nk2_edit.html

Size limit of Outlook AutoComplete file (.NK2)
http://www.nirsoft.net/utils/outlook_nk2_file_size_limit.html

Remove addresses from AutoSuggest/Auto-Complete
http://www.msoutlook.info/question/24

.NK2 file location
Windows XP: C:\Documents and Settings\account\Application Data\Microsoft\Outlook
Windows 7: C:\Users\account\AppData\Roaming\Microsoft\Outlook

2013年2月19日 星期二

將憑證載入至 Mozilla 或 Firefox 瀏覽器

Reference:
http://docs.oracle.com/cd/E19957-01/819-7129/6n93ju530/index.html

[工具] -> [選項] -> [進階] -> [加密] -> [檢視憑證] -> [匯入]

也可以把憑證檔 .crt 放到 webserver,讓 User 自己安裝。
Example: http://webmail.ntnu.edu.tw/wmail/faq/firefoxca.htm

修改Windows 7登入界面預設輸入法

資料來源

中文版 Windows 7 的登入介面輸入法預設是中文,改為英文的方法如下。


  1. 先將當前帳戶預設輸入法設為想要的輸入法(ex. 中文繁體 - 美式鍵盤)
    • 控制台→地區及語言→鍵盤及語言→變更鍵盤→「預設輸入語言」下拉選單中選擇
  2. 將當前帳戶設定套用至登入歡迎畫面
    • 控制台→地區及語言→系統管理→「歡迎畫面及新的使用者帳戶」內的「複製設定」→勾選 將目前設定複製到 「歡迎畫面及系統帳戶」


2013年2月18日 星期一

Windows 7 內建 partition magic 功能

今天拿到一台Windows 7 Notebook,開機後發現整個硬碟只作成一個 partition。
但是我習慣作成兩個 partition,軟體和資料分開放。

Google 搜尋到 Windows 7 已經有縮小 partition 的功能。
用 磁碟管理 / 壓縮磁碟機 就可以啦。

詳情請參閱這一篇。
http://diary.blog.yam.com/brain0043/article/10078517

lenovo thinkpad boot menu key

Reference:
http://forums.lenovo.com/t5/W-Series-ThinkPad-Laptops/How-to-boot-from-CD-Thinkpad-700/td-p/199415

Press "F12 key" on boot up.

2013年2月8日 星期五

做 IT / MIS 不能有潔癖

有句話是 "塞翁失馬焉知非福"。最近對這句話有深刻的體驗。

2013/1/26 台電歲修,晚上開機後有一台舊的 IBM server 的 ServeRAID card故障。原本ServeRAID 做硬碟 mirror 功能,故障後變成開機看到兩顆硬碟。當時覺得很衰,這種鳥事都能遇到。本來想把第二顆硬碟格式化後拿來用,後來想想還是先擺著吧。

2013/2/6 下午陸續有人反映 PC 開機登入很久才進去,處理第一台 PC 猜想會不會是 user profile 壞了,接下來又有人反映同樣的狀況,這時我才想到可能是那一台舊的 IBM server 有問題,因為它是做帳號認證用的。連上 IBM server 查看,發現問題很嚴重,試了很多方法都沒效。

2013/2/7 一整天都在做苦工,把 PC 加入另一個網域。這個網域是新建的,其實去年就規劃要陸續把 PC 轉移來,但是因為沒有急迫性,所以一直先處理別的事情。一台 PC 加入新網域再複製原本的檔案大約要 20 ~ 30 分鐘,總共處理了 16 台,真是 Oh My GOD~~~

2013/2/8 因為 PC 都轉移到新網域了我的壓力比較輕,而且這一台 IBM server 還有一個重要的功能是 backup to tape,資料備份是 IT 的最後一道防線啊~~~ 我又繼續 Google 試了很多方法依然救不回。看到一篇文章說可能是硬碟故障造成的,突然讓我靈光一閃,我還有第二顆硬碟可以用啊,幸好 1/26 沒有把第二顆硬碟格式化。趕快去關機、對調硬碟、開機,太好了通通正常了,好想放鞭炮慶祝!

結論:做 IT / MIS 不能有潔癖!

2013年2月7日 星期四

IE8 Javascript not running

Reference:
http://answers.microsoft.com/en-us/ie/forum/ie8-windows_xp/unable-to-enable-javascript-in-ie8/0aba6b02-5783-49ca-a27b-6636e43ed1dc

Solution 1:

Start > Run...
In the Run box, type in (without quotes) "regsvr32 jscript.dll"

Solution 2:

IE / Tools / Internet Options / Security tab.
Internet zone / Custom Level / Security Settings / Enable for Active Scripting in the Scripting section.
Refresh page to run scripts.



Google Chrome bookmark location

Reference:
http://www.mobile01.com/topicdetail.php?f=300&t=777624

試過有效。


●第一步:打開隱藏的資料夾

WindowsXP路徑:
我的電腦→上方工具列的《工具》→《資料夾選項》→《檢視》→打勾《顯示所有檔案和資料夾》

Windows7路徑:
我的電腦→上方工具列的《組合管理》→《資料夾和搜尋選項》→《檢視》→打勾《顯示隱藏的檔案、資料夾及磁碟機》

●第二步:找出bookmark和bookmarks.bak

依據你的OS的路徑找出bookmark和bookmarks.bak這兩個檔案,並且備份起來

WindowsXP路徑:
C:\Documents and Settings\使用者帳號\Local Settings\Application Data\Google\Chrome\User Data\Default

Windows7路徑:
C:\Users\使用者帳號\AppData\Local\Google\Chrome\User Data\Default

●第三步:將這兩個檔案覆蓋到已灌好的電腦資料夾即可

依據你的OS的路徑,將bookmark和bookmarks.bak這兩個檔案覆蓋掉即可
WindowsXP路徑:
C:\Documents and Settings\使用者帳號\Local Settings\Application Data\Google\Chrome\User Data\Default

Windows7路徑:
C:\Users\使用者帳號\AppData\Local\Google\Chrome\User Data\Default


2013年2月6日 星期三

2013年2月4日 星期一

Office 2007 auto recover


Office 2007 有 Auto recover,預設是 10 minutes,可以縮短。
http://office.microsoft.com/en-us/powerpoint-help/automatically-save-and-recover-office-files-HP010140729.aspx

萬一 office 不正常中斷,可以用這個方法找到暫存檔。
http://office.microsoft.com/en-us/powerpoint-help/my-office-program-did-not-open-a-recovered-file-HA010157885.aspx

用 logon script 修改 User PC registry 可以縮短 Auto recover 為 1 minute。
http://stackoverflow.com/questions/5464075/disablinging-autorecover-option-for-powepoint

Word:
找不到....

Excel:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Options]
"AutoRecoverTime"=dword:00000001


Powerpoint:
[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\PowerPoint\Options]
"FrequencyToSaveAutoRecoveryInfo"=dword:00000001


GHOST 11.0 error 15210 and solution

Reference:
http://www.symantec.com/connect/forums/error-number-15210-ntfs-signature-should-not-be-fat32
http://frenchge.hubpages.com/hub/FIXMBR-Windows-XP-Fdisk-MBR-Tool

Error Number: (15210)

Message: NTFS signature, should not be FAT32

Cause:
Windows MRB is modified by Altiris.

Solution: (Tested on Windows XP)
Fix the MBR by Windows installation CD.
  1. boot up via Windows installation CD
  2. select Repair and enter the administrator password
  3. run command "fixmbr"