(转)真正的中国天气api接口xml,json(求加精) ...
摘要:我只想说现在网上那几个api完全坑爹有木有???官方的申请不来有木有,还有收费有木有??咱这种菜鸟只能用免费的了!!!!http://m.weather.com.cn/data/101110101.html大坑有木有??反应慢不说了,还老不更新!!想贴段代码的,现在又打不开了(貌似3月4号以后没更新过)==========================我是分割线===============...
阅读全文
posted @
2017-06-23 16:32
今夜太冷
阅读(827)
推荐(0) 编辑
Mongo如何在多个字段中查询某个关键字?
摘要:If a text index has multiple fields in Mongo, how can I do a search in only one field since the weight is applied to the index and not to the query? 1 Answer I assume you are using MongoDB version...
阅读全文
posted @
2017-06-21 13:41
今夜太冷
阅读(2230)
推荐(0) 编辑
编译GSLSDevil的全过程
摘要:GLSLDevil是调试OpenGL程序的工具。 GLSLDevil的新版本已经改名为GLSL-Debugger, github的地址在这里:http://glsl-debugger.github.io/ 从github下载zip文件,解压缩, 目录结构如下: 然后按照github上的build步骤来编译。我的编译环境是Windows7, Visual Studio2013. 详细的...
阅读全文
posted @
2017-06-15 17:36
今夜太冷
阅读(988)
推荐(0) 编辑
(转)Debug Assertion Failed! Expression: _pFirstBlock == pHead
摘要:最近在VS上开发C++程序时遇到了这个错误: Debug Assertion Failed! Expression:_pFirstBlock == pHead 如图: 点击Abort之后,查看调用栈,发现异常在函数return时被时产生,进一步看是vector的析构函数被调用时产生,以前没开发过C++项目,没什么经验,这个错误让我很困惑,第一,我电脑上并没有f盘;第二,我并没...
阅读全文
posted @
2017-06-15 17:33
今夜太冷
阅读(944)
推荐(0) 编辑
CMake can't find GLEW
摘要: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) 编辑
cmake 学习笔记(三) (转)
摘要:接前面的 Cmake学习笔记(一) 与 Cmake学习笔记(二) 继续学习 cmake 的使用。 学习一下cmake的 finder。 finder是神马东西? 当编译一个需要使用第三方库的软件时,我们需要知道: 去哪儿找头文件 .h 对比GCC的 -I 参数 去哪儿找库文件 (.so/.dll/.
阅读全文
posted @
2017-06-14 16:36
今夜太冷
阅读(340)
推荐(0) 编辑
MYSQL的服务不见了
摘要:多日不用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
今夜太冷
阅读(200)
推荐(0) 编辑
create-react-app时registry的奇怪问题
摘要:用React官方给的NPM脚本 create-react-app my-app create-react-app my-app 在自动安装module的过程中,在安装registry的组件的时候莫名其妙的挂住不动了。界面显示的信息如下: fetchMetadata: sill mapToRegist
阅读全文
posted @
2017-06-02 14:59
今夜太冷
阅读(1058)
推荐(0) 编辑