09 2015 档案

摘要:在 vm player 下安装了 win2012 r2, 但是启用 hyper-v的时候,提示不支持,这时候要修改Open the file Location for this Virtual Machine, open the file extension (*.vmx) with Notepad... 阅读全文
posted @ 2015-09-30 12:59 姜大伟 阅读(408) 评论(0) 推荐(0) 编辑
摘要:实际上在C#里,直接有类库可以做using System.Globalization;IdnMapping idn = new IdnMapping();idn.GetAscii(domain);可以把中文域名转成punnyCode 阅读全文
posted @ 2015-09-30 11:22 姜大伟 阅读(321) 评论(0) 推荐(0) 编辑
摘要:http://bbs.kafan.cn/thread-889517-1-1.html注册表中LEGACY残留项的清理技巧2、Windows Vista系统Windows XP系统下的修改权限的方法,在Windows Vista系统下是无效的,这时我们需要借助一个工具——PsExec.exe,这个工具... 阅读全文
posted @ 2015-09-25 10:34 姜大伟 阅读(1541) 评论(0) 推荐(0) 编辑
摘要:由于第一次使用 Linux CENTOS ,所以安装了图形界面,但是在终端执行yum 安装的时候,总是提示 Existing lock /var/run/yum.pid: another copy is running as pid 5758Another app is currently hold... 阅读全文
posted @ 2015-09-10 15:56 姜大伟 阅读(268) 评论(0) 推荐(0) 编辑
摘要:1. 如果采用同步处理,其实,是可以多次接受数据的,MemoryStream ms = new MemoryStream(); while (true){ Console.WriteLine("Available :{0}", socket.Available); int receivedByte... 阅读全文
posted @ 2015-09-10 15:25 姜大伟 阅读(363) 评论(0) 推荐(0) 编辑
摘要:最近再看IOCP,结果里面的一个赋值过程,造成了误解。test t1 = new test();test t2 = new test();test t4 = new test();t1= t2;t2 = t3;t3 = null;实际上这个过程,支持栈上t1指向了堆上的t2,t2,指向了t3,t3 ... 阅读全文
posted @ 2015-09-09 17:35 姜大伟 阅读(165) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示