上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页
摘要: Binary Encoding, Part 1 Binary Encoding, Part 2 Binary Encoding, Part 3 阅读全文
posted @ 2009-09-20 07:54 new 维生素C.net() 阅读(274) 评论(0) 推荐(0) 编辑
摘要: Search for the line <platform name="win32" default="Auto"> andchange it to <platform name="win32" default="net-3.5"> Search for child element <readregistry property="sdkInstallRoot"key=... 阅读全文
posted @ 2009-09-15 11:21 new 维生素C.net() 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 在现有的MVC Web Application项目上点右键,选Unload Project,然后编辑项目文件成这样: <!-- To enable MVC area subproject support, uncomment the following two lines:--> <UsingTask TaskName="Microsoft.Web.Mvc.Build.Crea... 阅读全文
posted @ 2009-08-27 16:58 new 维生素C.net() 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2009-08-16 02:48 new 维生素C.net() 阅读(261) 评论(0) 推荐(0) 编辑
摘要: Donald Knuth在编程珠玑里说过一句话,今晚特地翻了出来:We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. 过早优化(提前优化)这个说法是很难界定的,究竟是未雨绸缪先行一步还是我们下手确实是太早了,这是比较... 阅读全文
posted @ 2009-08-11 00:28 new 维生素C.net() 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 我们经常遇到w3wp.exe进程的CPU占用率在某一时间段内突然升高几倍,但是无论使用adplus.vbs还是debug dialog去抓取这一瞬间的dump都是有难度的。而且遇到高cpu的问题我们通常抓取一个dump不能看出问题,需要多个样例。 ProcDump.exe就能够很好的处理这个情况: procdump -ma -c 50 -s 3 -n 2 5844(Process Name or ... 阅读全文
posted @ 2009-08-09 13:38 new 维生素C.net() 阅读(1202) 评论(0) 推荐(0) 编辑
摘要: 媳妇在炒黄金,天天关注黄金价格。写了一个html页面放到自己的网站上来简化从网上获取的操作,但是每天还是要打开浏览器,点收藏(毕竟没有从favorite上操作的习惯),这里用PowerShell来操作: # Open IE and navigate to specific url# fanweixiao@gmail.com # Aug.2 2009 $ie = New-Object -ComOb... 阅读全文
posted @ 2009-08-02 03:40 new 维生素C.net() 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 获取spooler服务: Get-WmiObject win32_service -filter "name='spooler'" 也可以写成: Get-WmiObject win32_service |where {$_.name -eq "spooler"} 用下面这个语句能看到这个service的members: Get-WmiObject win32_service |where {$_.... 阅读全文
posted @ 2009-08-02 03:33 new 维生素C.net() 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Disk is the new Tape. Kill long running queries before they kill you. Use metrics to make decisions, not guesses. "Cache Everything!" not the best policy http://oss.oetiker.ch/mrtg/ http://oss.oetik... 阅读全文
posted @ 2009-07-21 00:37 new 维生素C.net() 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 将2个网卡绑定成1个。但是将2块网卡绑定成1个后不一定能使用eth0+eth1的bandwidth,如果交换机使用HA模式(主备模式)的话,那么还是只能享受一块网卡的bandwidth。需要交换机使用复杂模式才行。 阅读全文
posted @ 2009-07-09 15:32 new 维生素C.net() 阅读(1776) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 23 下一页