- 網域中僅PDC為NTP SERVER並可與網際網路時間校時,其餘SERVER、PC均向PDC校時
- PDC
- 「開始」中的「執行」輸入下二行指令來進行設定
- w32tm /config /syncfromflags:manual /manualpeerlist:time.nist.gov
- w32tm /config /update
- 請先測試 被對時的外部網域NTP SERVER是否能正常運作
- DC、成員伺服器、終端電腦
- net time /querysntp (當 Type = NT5DS 便不會向外校時)
- net time /set 同步
- GPO 啟用群組原則
- 陸續展開「電腦設定」「系統管理範本」「系統」「Windows時間服務」「時間提供者」
- 啟用 Windows NTP 伺服器(若要讓 client 電腦與非PDC主機對時,則啟用另二個)
show code js
2012年12月19日 星期三
NTP
VPN
- Install remote and route role
- In install,click checkbox VPN and Route, next finish
- start VPN SERVER of local server name contact
- tag「general」at router,choose「LAN and pppoe be route」
- 「Security」 when you don`t have any RADIUS SERVER to use WINDOWS account check
- tag「IP」please create DHCP SERVER first,before choose「RAS」
- Configuare AD/account connect server time limit and work status
- can use sql server to record
- principle「connect remote Microsoft route and remote read write server」,click「contact」,edit setting item,click IP of tag,allow user account can get ip address, and you can set a IP to user in AD/user account
WinMerge
- 安裝完後必調設定
- 一般
- 自動捲至最初差異
- 比較
- 忽略空白處之任何差異
- 忽略空白行
- 忽略換行字元之差異(Windows/Linux/Mac)
- 編碼
- UTF-8>65001
- SJIS>932
Enter key change to Tab key with TabIndex
$(document).ready(function(){
$('input, textarea, select').not( $(':button') ).keypress(function (event) {
if (event.keyCode == 13) {
if ($(this).attr("type") !== 'submit'){
var tabindex = $(this).attr('tabindex');
if( tabindex == 0 )
{
tabindex = 1;
}
else
{
tabindex++;
}
$('select[tabindex=' + tabindex + '],input[tabindex=' + tabindex + '],textarea[tabindex=' + tabindex + ']').focus();
$(this).blur();
return false;
}
}
});
});
2012年12月14日 星期五
new method of last xcode version
Xcode 4.5.2
1.create a project : new_project
2.add a button in viewcontroller
3.hold right button of mouse and to new_projectViewController.h, will create a class : set name as myButton
4.hold right button of mouse and to new_projectViewController.m, it will create a function : use id , and set name as myButton
5.in function add some code
[sender setTitile:@"click"forState:normal];
6.run simulator
7.click button will change title to "click"
those different old version of xcode ...
訂閱:
文章 (Atom)