随笔 - 547  文章 - 213 评论 - 417 阅读 - 107万

03 2017 档案
KDiff
摘要:BeyondCompare是收费的,用了一段时间不能用了。找到一个 KDiff做对比工具,也很好用。 在这里下载: http://sourceforge.net/projects/kdiff3/files/kdiff3/ 阅读全文
posted @ 2017-03-27 15:21 今夜太冷 阅读(309) 评论(0) 推荐(0) 编辑
如何用Javascript检测到所有的IE版本
摘要:如何用Javascript检测到所有的IE版本 function GetIEVersion() { var sAgent = window.navigator.userAgent; var Idx = sAgent.indexOf("MSIE"); // If IE, return version number. if (Idx > 0) return parseIn... 阅读全文
posted @ 2017-03-24 17:03 今夜太冷 阅读(244) 评论(0) 推荐(0) 编辑
Chrome中的哪些端口是限制使用的?
摘要:The following is a list of all of the restricted ports on Chrome: 1, // tcpmux 7, // echo 9, // discard 11, // systat 13, // daytime 15, // netstat 17, // qotd 19, /... 阅读全文
posted @ 2017-03-22 15:03 今夜太冷 阅读(2890) 评论(0) 推荐(0) 编辑
如何防止XSRF攻击
摘要:XSRF全称是 cross-site request forgery(跨站点请求伪造),也称为CSRF,是一种常见的web攻击方式。 攻击形式描述如下: 1.用户登录并访问一个正常的站点 http://www.biz.com; 2.在同一个浏览器实例下,用户打开了恶意网站 http://www.bad.com;(至于用户怎么会打开这个恶意网站,可能是恶意网站通过一些链接或者垃圾邮件等等形式诱骗用户... 阅读全文
posted @ 2017-03-21 16:15 今夜太冷 阅读(627) 评论(0) 推荐(0) 编辑
External component has thrown an exception
摘要:C#调用c++的DLL报错:External component has thrown an exception, 也没有log产生,怎么回事那? 【解决方法】 这是因为c++的程序报错了,而且没有catch,就报这个错误了。 阅读全文
posted @ 2017-03-21 09:57 今夜太冷 阅读(1770) 评论(0) 推荐(0) 编辑
OpenGL中的原子操作需要注意的地方
摘要:OpenGL中的原子操作需要注意的地方 仔细阅读看画红线的部分 阅读全文
posted @ 2017-03-20 11:30 今夜太冷 阅读(309) 评论(0) 推荐(0) 编辑
Unable to create new web application
摘要:When I try to create a new web application, it just shows message as 'This should'nt take too long'.. Then, after a while it will show message as Request Timed Out. Sometimes it will show 'this page... 阅读全文
posted @ 2017-03-08 17:12 今夜太冷 阅读(260) 评论(0) 推荐(0) 编辑
How to Redirect in ASPNET Web API
摘要:You could set the Location header: public HttpResponseMessage Get() { var response = Request.CreateResponse(HttpStatusCode.Found); response.Headers.Location = new Uri("http://www.google.com"... 阅读全文
posted @ 2017-03-08 15:14 今夜太冷 阅读(358) 评论(0) 推荐(0) 编辑

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