https://developers.google.com/webmasters/ajax-crawling/
www.example.com/ajax.html#!key=value
會轉成以下網址再去爬網頁
www.example.com/ajax.html?_escaped_fragment_=key=value
可以使用Google模擬器驗證是否有效
2013年10月17日 星期四
2013年10月16日 星期三
window.onhashchange事件
IE >= 8
Firefox >= 3.6
Opera >= 10.6
Safari>=5
jQuery hashchange event:
如果舊式瀏覽器不支援可以使用
http://benalman.com/projects/jquery-hashchange-plugin/
ref:
http://caniuse.com/hashchange
keyword:
hashchange supported browsers
Firefox >= 3.6
Opera >= 10.6
Safari>=5
jQuery hashchange event:
如果舊式瀏覽器不支援可以使用
http://benalman.com/projects/jquery-hashchange-plugin/
ref:
http://caniuse.com/hashchange
keyword:
hashchange supported browsers
2013年10月12日 星期六
Server Core環境開放遠端桌面
netsh firewall set portopening tcp 3389 "Remote Desktop"
cscript C:\Windows\System32\Scregedit.wsf /ar 0
p.s. 允許連入:0 禁止連入:1
ref:
http://technet.microsoft.com/zh-tw/library/jj574205.aspx
cscript C:\Windows\System32\Scregedit.wsf /ar 0
p.s. 允許連入:0 禁止連入:1
ref:
http://technet.microsoft.com/zh-tw/library/jj574205.aspx
Windows指令確認防火牆狀態
C:\Users\Rex>netsh firewall show opmode
Domain profile configuration:
-------------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable
Standard profile configuration (current):
-------------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
C:\Users\Rex>
Domain profile configuration:
-------------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable
Standard profile configuration (current):
-------------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable
IMPORTANT: Command executed successfully.
However, "netsh firewall" is deprecated;
use "netsh advfirewall firewall" instead.
For more information on using "netsh advfirewall firewall" commands
instead of "netsh firewall", see KB article 947709
at http://go.microsoft.com/fwlink/?linkid=121488 .
C:\Users\Rex>
2013年10月10日 星期四
RDP 5.2的加密方式
http://wiki.wireshark.org/RDP
RDP 5.2
- All levels use RSA RC4 encryption
- Client Compatible - protects data sent from client to server
- dynamically determines maximum supported key strength
- High - protects data sent from client to server and data sent from server to client
- 128-bit
- clients that do not support 128-bit will not be able to connect
2013年9月28日 星期六
Windows 8企業版(Enterprise)輸入序號
http://support.microsoft.com/kb/2750773/zh-tw
方法1
方法1
- 從畫面的右邊緣 swipe 中,然後點選 [搜尋。或者,如果您使用滑鼠,指向 [在螢幕的右下角,然後按一下 [搜尋.
- 在 [搜尋] 方塊中,鍵入Slui.exe 0x3.
- 請點選或按一下Slui.exe 0x3圖示。
- 在 [啟用 Windows] 視窗中,輸入您的產品金鑰,然後按一下 [啟動.
2013年9月27日 星期五
透過KMS啟動Windows
cd c:\windows\system32
Windows 7 Enterprise
cscript slmgr.vbs -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Professional
cscript slmgr.vbs -ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
cscript slmgr.vbs -skms 192.168.1.5
192.168.1.5為KMS Server的IP,預設port是1688 (TCP)
非預設可以改成192.168.1.5:2000 (假設port是2000)
cscript slmgr.vbs -ato
http://technet.microsoft.com/en-us/library/ff793420.aspx
Windows 7 and Windows Server 2008 R2 install automatically as KMS clients. To convert a KMS client to MAK activation, install a MAK. A MAK can be installed during or anytime after operating system installation.
KMS序號:
http://technet.microsoft.com/en-us/library/ff793421.aspx
Windows 7 Enterprise
cscript slmgr.vbs -ipk 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH
Windows 7 Professional
cscript slmgr.vbs -ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4
cscript slmgr.vbs -skms 192.168.1.5
192.168.1.5為KMS Server的IP,預設port是1688 (TCP)
非預設可以改成192.168.1.5:2000 (假設port是2000)
cscript slmgr.vbs -ato
http://technet.microsoft.com/en-us/library/ff793420.aspx
Windows 7 and Windows Server 2008 R2 install automatically as KMS clients. To convert a KMS client to MAK activation, install a MAK. A MAK can be installed during or anytime after operating system installation.
KMS序號:
http://technet.microsoft.com/en-us/library/ff793421.aspx
訂閱:
文章 (Atom)