原创 Getting Started with SVCHOST.EXE Troubleshooting

http://blogs.technet.com/b/askperf/archive/2008/01/11/getting-started-with-svchost-exe-troubleshooting.aspx Troubles

原创 nginx 在linux上的域名解析問題

最近遇到一個問題,通過nginx把URL中的機器名取出進行轉發。 但是機器名是短域名的話,nginx是無法解析的。 查了一下,看來Nginx的域名解析和操作系統是不一樣的,nginx有一個resolver字段可以指定DNS服務器,也可以讀

原创 Why generics in method signatures?

Coming from PHP to C#, this syntax was intimidating: container.RegisterType<Customer>("customer1"); until I realized

原创 Trouble shooting windows certificate problems.

A simple way to to enable CAPI2 LOG at eventvwr -> applications and services log -> microsoft -> windows -> CAPI2 ->  o

原创 How to launch application to start->run

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths Add the path to this reg key path, and you can d

原创 Uninstall visual studio 2008

While I made a mistake while installing visual studio 2008, it was interrupted. I suppose some of feature/component was

原创 The easy way to run Powershell 2.0 using .NET Framework 4.0

http://viziblr.com/news/2012/5/16/the-easy-way-to-run-powershell-20-using-net-framework-40.html If you've been explo

原创 全排列和組合

最近準備M$面試,練習寫了很多基礎的code,很多是以前想了想沒什麼思路就放棄的題,如果面試過了,我會把剩下的陸續的發上來。 這個排列組合算法參數有點多,不過是原創的,我覺得這兩個算法組合在一起還能產生更多的題目,所以就先放上來,備份一下

原创 反射實踐(assembly reflection attribute)

一直都大概知道個意思,從來沒實踐過,今天花了一點時間實踐了一下。 1. 先從assembly裏找type 2. 判斷type的attribute是否是自己想要的 3. 從type裏找member 4. 判斷member的attribute

原创 Regression經驗 - patching and full package setup

以前遇到問題解決了就完事了,缺少了總結和記錄,我決定以後恢復記錄blog的習慣。 Original Problem: 這次遇到的問題是iis crash的問題。 xxx.asmx是我們產品的一個web service,但是我們不想讓用戶

原创 How to live debug managed code using windbg

For native code, we are easy to live debug and get the local variable, parameter, register fore function returned value

原创 How to redirect via http request domain name

I want to redirect guest to user1's blog while he/she access www.user1.com, and redirect guest to user2's blog while he

原创 這算O(n)還是O(logn)?

轉換字符串爲浮點數namespace ConsoleApplication1 { class TestFaiureException : Exception { public TestFaiureExcep

原创 How to logon windows automatically

http://support.microsoft.com/kb/315231 點贊 收藏 分享 文章舉報 realduke2000 發佈了150 篇原創文章 · 獲贊 2

原创 esclipse debug

Remote Debugging with Eclipse http://eclipsezone.com/eclipse/forums/t53459.html 點贊 收藏 分享 文章舉報