上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页
摘要: GLSLDevil是调试OpenGL程序的工具。 GLSLDevil的新版本已经改名为GLSL-Debugger, github的地址在这里:http://glsl-debugger.github.io/ 从github下载zip文件,解压缩, 目录结构如下: 然后按照github上的build步骤来编译。我的编译环境是Windows7, Visual Studio2013. 详细的... 阅读全文
posted @ 2017-06-15 17:36 今夜太冷 阅读(964) 评论(0) 推荐(0) 编辑
摘要: 最近在VS上开发C++程序时遇到了这个错误: Debug Assertion Failed! Expression:_pFirstBlock == pHead 如图: 点击Abort之后,查看调用栈,发现异常在函数return时被时产生,进一步看是vector的析构函数被调用时产生,以前没开发过C++项目,没什么经验,这个错误让我很困惑,第一,我电脑上并没有f盘;第二,我并没... 阅读全文
posted @ 2017-06-15 17:33 今夜太冷 阅读(928) 评论(0) 推荐(0) 编辑
摘要: Q: I'm on Windows and there is a FindGLEW.cmake file in my CMake modules folder, presumably put there when I installed CMake-3.6. I found GLEW on sourceforge and downloaded the zip file for Windows.... 阅读全文
posted @ 2017-06-14 16:52 今夜太冷 阅读(5071) 评论(0) 推荐(0) 编辑
摘要: 接前面的 Cmake学习笔记(一) 与 Cmake学习笔记(二) 继续学习 cmake 的使用。 学习一下cmake的 finder。 finder是神马东西? 当编译一个需要使用第三方库的软件时,我们需要知道: 去哪儿找头文件 .h 对比GCC的 -I 参数 去哪儿找库文件 (.so/.dll/. 阅读全文
posted @ 2017-06-14 16:36 今夜太冷 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 多日不用MYSQL数据库,进入突然要用,进入服务列表突然发现。。。MYSQL服务不见了。。不是于是乎。。找到命令:F:\www\MySQLServer\bin>mysqld.exe -installF:\www\MySQLServer\bin>net start mysql MySQL 服务已经启动成功。打开windows 7服务列表,终于看到mysql服务了 另,运行服务的命令是... 阅读全文
posted @ 2017-06-09 22:28 今夜太冷 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 用React官方给的NPM脚本 create-react-app my-app create-react-app my-app 在自动安装module的过程中,在安装registry的组件的时候莫名其妙的挂住不动了。界面显示的信息如下: fetchMetadata: sill mapToRegist 阅读全文
posted @ 2017-06-02 14:59 今夜太冷 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 运行c:\qt\4.5.0的configure文件的时候,出现如下的错误提示: ....\corelib\io\qfsfileengine_win.cpp(1012) : error C2065: 'PATH_MAX' : undeclared identifier 【解决方法】 参考了这篇文章: http://m.dlxedu.com/m/askdetail/3/7a531f5691e34... 阅读全文
posted @ 2017-05-26 17:03 今夜太冷 阅读(514) 评论(0) 推荐(0) 编辑
摘要: Q: I have an image tag with a src and I want to prepend a website url onto the src but only if it doesn't start with http://. so far I have content.replace(/(<img *src=")(.*?)"/, '$1' + this.websiteUr... 阅读全文
posted @ 2017-05-26 11:23 今夜太冷 阅读(742) 评论(0) 推荐(0) 编辑
摘要: From: https://sharepoint.stackexchange.com/questions/194197/how-to-manipulate-likeby-nooflikes-ratedby-averagerating-userrating-using-cs Copy below: Gone through the problem an got the relevant ... 阅读全文
posted @ 2017-05-25 11:44 今夜太冷 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 可以用来跟踪如下函数的输出: Win32 OutputDebugString Kernel-mode DbgPrint All kernel-mode variants of DbgPrint implemented in Windows XP and Server 2003 详情和下载: https://technet.microsoft.com/en-us/sysinternals/d... 阅读全文
posted @ 2017-05-23 14:06 今夜太冷 阅读(447) 评论(0) 推荐(0) 编辑
摘要: 使用COM组件来调用,需要catch com error. IXMLHTTPRequestPtr pIXMLHTTPRequest = NULL; BSTR bstrString = NULL; HRESULT hr; try { hr=pIXMLHTTPRequest.CreateInstance("Msxml2.XMLHTTP.6.0"); ... 阅读全文
posted @ 2017-05-23 10:29 今夜太冷 阅读(1850) 评论(0) 推荐(0) 编辑
摘要: Help! Running Fiddler Fixes My App??? Over the years, the most interesting class of support requests for Fiddler are of the form: "My application or website is failing, but when I try to capture a r... 阅读全文
posted @ 2017-05-08 16:53 今夜太冷 阅读(1024) 评论(0) 推荐(0) 编辑
摘要: remote desktop connection manager, 微软官方提供的免费远程连接软件,可以管理多个远程桌面,很方便。搜索软件名字,找到微软官方下载页面下载即可。 阅读全文
posted @ 2017-04-26 17:12 今夜太冷 阅读(225) 评论(0) 推荐(0) 编辑
摘要: VS编译完后,release版本的web.config(或者app.config) 为什么不一样那? 我们查看一下项目结构,会发现有两个版本的config文件存在: 打开web.Debug.config,这个文件没有什么,就是正常的配置。 打开web.Release.config文件,发现了奥秘。下面是VS自己默认创建的内容: ... 阅读全文
posted @ 2017-04-14 14:07 今夜太冷 阅读(1247) 评论(0) 推荐(0) 编辑
摘要: BeyondCompare是收费的,用了一段时间不能用了。找到一个 KDiff做对比工具,也很好用。 在这里下载: http://sourceforge.net/projects/kdiff3/files/kdiff3/ 阅读全文
posted @ 2017-03-27 15:21 今夜太冷 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 如何用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 今夜太冷 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 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 今夜太冷 阅读(2883) 评论(0) 推荐(0) 编辑
摘要: XSRF全称是 cross-site request forgery(跨站点请求伪造),也称为CSRF,是一种常见的web攻击方式。 攻击形式描述如下: 1.用户登录并访问一个正常的站点 http://www.biz.com; 2.在同一个浏览器实例下,用户打开了恶意网站 http://www.bad.com;(至于用户怎么会打开这个恶意网站,可能是恶意网站通过一些链接或者垃圾邮件等等形式诱骗用户... 阅读全文
posted @ 2017-03-21 16:15 今夜太冷 阅读(615) 评论(0) 推荐(0) 编辑
摘要: C#调用c++的DLL报错:External component has thrown an exception, 也没有log产生,怎么回事那? 【解决方法】 这是因为c++的程序报错了,而且没有catch,就报这个错误了。 阅读全文
posted @ 2017-03-21 09:57 今夜太冷 阅读(1710) 评论(0) 推荐(0) 编辑
摘要: OpenGL中的原子操作需要注意的地方 仔细阅读看画红线的部分 阅读全文
posted @ 2017-03-20 11:30 今夜太冷 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 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 今夜太冷 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 图形转换的组合(注意从右向左读) 阅读全文
posted @ 2017-02-24 15:00 今夜太冷 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 【解决方法】 According to Wictor Wilén, The Client Object Model is fairly limited when it comes to working with Web Parts. Basic operations such as adding and removing Web Parts can be done as well as chang... 阅读全文
posted @ 2017-02-24 11:20 今夜太冷 阅读(288) 评论(0) 推荐(0) 编辑
摘要: Is there any C# function which could be used to escape and un-escape a string, which could be used to fill in the content of an XML element? And how to unescape? 【解决方案】 public static ... 阅读全文
posted @ 2017-02-21 11:26 今夜太冷 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 上次在一台两G内存的win server 2008电脑上运行一个程序,一段时间后mongod自动停止,发现日志文件最后有这样的错误: 2014-11-30T00:32:32.914+0800 [conn30751] command taskdb.$cmd command: count { count 阅读全文
posted @ 2017-02-18 20:56 今夜太冷 阅读(1138) 评论(0) 推荐(0) 编辑
摘要: Lately I've been working on a system that needs to serve flat files, which is what IIS is very good at. However, when a file does not exist (i.e. a 404 error occurs) there are several options: The f... 阅读全文
posted @ 2017-02-17 11:00 今夜太冷 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 以sb7code为基础创建一个基本的OpenGL项目 从github上面下载sb7code代码: https://github.com/openglsuperbible/sb7code 打开HOWTOBUILD.TXT(在 GITHUB网页上直接打开格式比较友好). 根据这个文档中说的,在本地编译第一步中下载的sb7code代码,编译是为了得到我们需要的.lib文件。 在VS... 阅读全文
posted @ 2017-02-14 10:36 今夜太冷 阅读(1476) 评论(0) 推荐(0) 编辑
摘要: I set up a minimal application to open a blank window with GLFW3: #include #include #include void glfwErrorCallback(int error, const ... 阅读全文
posted @ 2017-02-13 16:11 今夜太冷 阅读(1989) 评论(0) 推荐(0) 编辑
摘要: How To: Check the graphics card type and OpenGL version From: http://support.esri.com/technical-article/000011375 Summary OpenGL is an industry standard 3D graphics API. OpenGL 2.x or higher is requi... 阅读全文
posted @ 2017-02-13 11:22 今夜太冷 阅读(3592) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页