摘要: 1. load symbol.sympath srv*c:\localsymbols*http://msdl.microsoft.com/download/symbols.reload.loadby sos mscorwks2.Psscor4 Managed-Code Debugging Exten... 阅读全文
posted @ 2014-06-17 19:47 sadcat 阅读(149) 评论(0) 推荐(0) 编辑
摘要: c:\windows\system32\certutil.exedecodecertutil -decode inputfile outputfileencodecertutil -encode inputfile outputfile 阅读全文
posted @ 2014-06-10 11:57 sadcat 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1. full convertion from .pfx to .pemopenssl pkcs12 -in file.pfx -out file.pem2. certificate convertion onlyopenssl pkcs12 -in file.pfx -out certificat... 阅读全文
posted @ 2014-06-09 15:56 sadcat 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Liskov Substitution Princple, LSPFor every object "o1" from type "t1", there is object "o2" from type "t2", when all "o2" is replaced with "o1" in pro... 阅读全文
posted @ 2014-06-06 18:25 sadcat 阅读(115) 评论(0) 推荐(0) 编辑
摘要: -1. build ruby in ubuntuhttp://stackoverflow.com/questions/18490591/how-to-install-ruby-2-on-ubuntu-without-rvm0. environmentWindows 7 sp1 64bit1. ins... 阅读全文
posted @ 2014-06-06 18:09 sadcat 阅读(178) 评论(0) 推荐(0) 编辑
摘要: win: _vimrclinux: .vimrcset fontif has('gui_running') set guifont=Lucida_Console:h11endif 阅读全文
posted @ 2014-06-06 09:19 sadcat 阅读(82) 评论(0) 推荐(0) 编辑
摘要: THIS PAGE IS INTENDED FOR TESTING.1. create new objectjsvar obj = new ActiveXObject("Scripting.FileSystemObject")vbset obj = CreateObject("Scripting.F... 阅读全文
posted @ 2014-06-05 10:29 sadcat 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 1. Change view source editor in IEModify this keyHKLM\Software\Microsoft\Internet Explorer\View Source Editor\Editor Name(Default) 阅读全文
posted @ 2009-08-18 14:18 sadcat 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1. Deploy DNN website with port numbera) Modify portalalias table.b) Enable UsePortNumber appSetting.c) Disable friendly URL support in host settings (it's a bug and not fixed in DNN 5.1.1). 阅读全文
posted @ 2009-08-04 17:04 sadcat 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 1. Get only date part for comparing. FLOOR(CAST(GETDATE() AS FLOAT)) 2. Paging DECLARE @PageNum intDECLARE @PageSize intSET @PageNum = 2SET @PageSize = 20;WITH cte AS( SELECT tbl.*, ROW_NUMBER() OVER(... 阅读全文
posted @ 2009-07-28 22:39 sadcat 阅读(111) 评论(0) 推荐(0) 编辑