2014年12月22日 星期一

Windows 7 您已經使用暫時設定檔登入

Reference:
Windows 7 您已經使用暫時設定檔登入

1.「本機」=>「電腦」=>「內容」=>「進階系統設定」=>「使用者設定檔」, 「刪除問題帳號」

2. 「HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\ProfileList」,找到「問題帳號」, 刪除「帳號機碼」的「資料夾」

SIP phone 啟用 "代接"

UCM61xx 代接預設按鍵為 **

GXP2130, GXP1160:
Account / Call Settings / Dail Plan: { x+ | *x+ | *xx*x+ | **xxxx }

2014年12月19日 星期五

機車手套

這幾天太冷,騎機車戴手套還是覺得手好冷。
本來想說搜尋一下 "滑雪 手套" 看看有沒有比較保暖。
結果找到這一篇 我的滑雪手套
在一般手套外加洗碗用手套,這是一個不錯的 idea!

洗碗手套的 "笑果" 太厲害了,那我改一下戴兩層手套吧。
先戴右手邊那個一般的手套,再戴左手邊那個大一點的手套。
測試結果真的太棒了~~~ 手完全不會冷。


2014/12/10 理髮

到交大理髮。

2014年12月18日 星期四

VBA for excel 儲存格

加框線
http://www.blueshop.com.tw/board/FUM20050110200833I8T/BRD20070604154513A8F.html
http://forum.twbts.com/thread-9862-1-1.html

With Sheet1.Range("a1:c4").Borders
    .LineStyle = xlContinuous
    .ColorIndex = xlThin
    .Weight = xlAutomatic
End With


合併儲存格
https://tw.knowledge.yahoo.com/question/question?qid=1011091300690

Sheet1.Range("a1:a4").Merge


文字置中
http://smile0103.blogspot.tw/2014/02/excel-vba_6447.html

Sheet1.Cells(1, 1).HorizontalAlignment = xlCenter


用 cell 選擇 range
http://blog.xuite.net/crdotlin/excel/9092240-%E7%94%A8Range%EF%BC%9F%E7%94%A8Cells%EF%BC%9F

Sheet1.Range(Cells(2, 2), Cells(5, 5)).Value = 5

Exchange 2010 mail size limit

Reference:
Set Message Size Limits in Exchange 2010 and Exchange 2007

1. Organization Configuration | Hub Transport | Global Settings tab | Transport Settings | properties | General tab
2. Server Configuration | Hub Transport | select a Hub Transport server | Receive Connectors -> select a connector | Properties | General tab.
3. Organization Configuration | Hub Transport | Send Connectors -> select connector | Properties | General tab.
4. mailbox size limit: Organization Configuration | Mailbox | Database Management -> select a Database | Properties | Limits tab

2014年12月17日 星期三

Perl/TK的Entry無法輸入問題

Reference:
Perl/TK的Entry無法輸入問題

在Perl程式中加入以下設定,Entry就能輸入了

$ENV{"XMODIFIERS"}='@im=none';

原因:
之前裝 Acrobat reader 時加上中文支援 yum install "@Chinese Support" 造成的。

2014年12月5日 星期五

Windows 2008 R2 DNS server failure

狀況:
網頁打不開,用 nslookup 查詢出現 server failure。

解法:
安裝 hotfix 並重開機。
http://support.microsoft.com/kb/2549656/en-US

2014/12/12 update:
還是有問題,改為用 schedule job 每天凌晨 restart DNS service。
net stop "DNS Server"
net start "DNS Server"

2014年12月4日 星期四

CentOS 5.9 allow remote display to console

Reference:
Exporting DISPLAY in X Windows

Step:
vi /etc/gdm/custom.conf
[security]
DisallowTCP=false

restart gdm using command
gdm-restart

or restart X11 using the command
init 3 && init 5

2014年12月2日 星期二

VMware VDP backup fail

Situation:
VDP backup fail.
Windows 2008 event log: The system failed to flush data to the transaction log. Corruption may occur.