上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: Windows系统内存分析工具的介绍(进程管理器,资源管理器,性能监视器, VMMap, RamMap,PoolMon) 微软官方提供多种工具来分析Windows 的内存使用情况,除了系统自带的任务管理器(Task Manager), 资源监视器(Resource Manager), 性能监视器(Performance Monitor), 还有SysInternals工具, RamMa... 阅读全文
posted @ 2017-08-20 20:24 今夜太冷 阅读(16047) 评论(0) 推荐(0)
摘要: 【问】 I'm having trouble setting fixed widths on columns which usecolspan. It seems that neither IE8, Firefox or Chrome can figure out how to correctly size columns with colspan. Try the following code... 阅读全文
posted @ 2017-08-19 15:48 今夜太冷 阅读(179) 评论(0) 推荐(0)
摘要: OpenGL ES3 非常好的系列文章: OpenGL-ES 3.0学习指南(五)——EGL基础 NDK开发OpenGL ES 3.0(二)——初见GLES,第一个三角形 NDK开发OpenGL ES 3.0(三)——着色器基础 NDK开发OpenGL ES 3.0(四)——旋转的彩色方块 其他的文章可以点击上面的链接继续看。 阅读全文
posted @ 2017-08-19 00:51 今夜太冷 阅读(268) 评论(0) 推荐(0)
摘要: 安装NEST的时候报了如下的错误: PM> Install-Package NEST Attempting to resolve dependency 'Elasticsearch.Net (≥ 5.5.0 && < 6.0.0)'. Attempting to resolve dependency 'Newtonsoft.Json (≥ 10.0.0 && < 11.0.0)'. Install... 阅读全文
posted @ 2017-08-17 11:46 今夜太冷 阅读(898) 评论(0) 推荐(0)
摘要: 【问】 I'm trying to make an NDK based OpenGL application. At some point in my code, I want to check the OpenGL version available on the device. I'm using the following code : const char *version =... 阅读全文
posted @ 2017-08-16 20:17 今夜太冷 阅读(695) 评论(0) 推荐(0)
摘要: 如何获取当前应用程序所用的OpenGL ES的版本? 【答案】 char* glVersion = (char*)glGetString(GL_VERSION); LOGW("GL Version: %s", glVersion); 阅读全文
posted @ 2017-08-16 20:16 今夜太冷 阅读(1447) 评论(0) 推荐(0)
摘要: Although SQL Server's Full-Text search is good for searching text that is within a database, there are better ways of implementing search if the text is less-well structured, or comes from a wide vari... 阅读全文
posted @ 2017-08-16 16:52 今夜太冷 阅读(283) 评论(0) 推荐(0)
摘要: Previews of media files are disabled by default in Windows Server 2008. In this article we will enable it so we get the small previews back again! 1. Open theStartmenu and clickRun. Now enterSys... 阅读全文
posted @ 2017-08-12 13:05 今夜太冷 阅读(272) 评论(0) 推荐(0)
摘要: CSS中的背景图片写了相对路径,为什么不显示那? 【解决方法】 CSS中的背景图片路径应该写成相对于当前CSS文件的路径,而不是针对网站根目录的相对路径。 阅读全文
posted @ 2017-08-12 11:32 今夜太冷 阅读(415) 评论(0) 推荐(0)
摘要: 安装了ElasticSearch5.5.1后,每次启动服务的时候,都是启动了一下就自动停止了。查看了一下EventViewer, 错误信息如下: Application: elasticsearch.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled except... 阅读全文
posted @ 2017-08-07 11:41 今夜太冷 阅读(1589) 评论(0) 推荐(0)
摘要: If themax-widthproperty is set to 100%, the image will scale down if it has to, but never scale up to be larger than its original size: img{ max-width:100%; height:auto;} 来自: https://... 阅读全文
posted @ 2017-08-03 13:51 今夜太冷 阅读(184) 评论(0) 推荐(0)
摘要: 新买了一个金士顿DDR2 2G的内存,原来那个也是一样的,两条插上后电脑无法启动,拔下任意一条都能启动, 怎么回事那? 【解决方法】 设置BIOS的延迟时间。我分析可能是两个内存条需要更长的加载时间,用系统默认的时间可能不够,具体设置如下: 改完后两条内存电脑就能正常启动了,启动后在windows下查看发现内存变成4G了,大功告成。 ----------------------... 阅读全文
posted @ 2017-07-30 09:37 今夜太冷 阅读(940) 评论(0) 推荐(0)
摘要: 用jssor/slider这个控件,在显示图片的时候,每张图片都被拉伸到最大的图片的宽度和高度,导致变形,怎么处理? 【答案】 Yes. With no u="image" image will keep original size (or the size specified by css manually). function ShowSlideShows(fileIds) ... 阅读全文
posted @ 2017-07-30 02:02 今夜太冷 阅读(465) 评论(0) 推荐(0)
摘要: 【提问】 I'm trying to center the body element on my HTML page. Basically, in the CSS I set the body element to bedisplay: inline-block;so that it is only as wide as its contents. That works fine. ... 阅读全文
posted @ 2017-07-28 11:27 今夜太冷 阅读(149) 评论(0) 推荐(0)
摘要: $('.someElement').height(); // returns the calculated pixel height of the element(s) $(window).height(); // returns height of browser viewport $(document).height(); // returns ... 阅读全文
posted @ 2017-07-28 11:23 今夜太冷 阅读(108) 评论(0) 推荐(0)
摘要: var session = require('express-session'); app.use(cookieParser()); app.use(session({ secret: '123' })); ß-第71行 登录以后访问的时候有时候会报这样的错误: The last 64k of the output generated by the node.exe p... 阅读全文
posted @ 2017-07-27 00:16 今夜太冷 阅读(465) 评论(0) 推荐(0)
摘要: 最近的yymysqlsdk的开源项目里,对中文的支持不到位,因此用了1.5天的时间,对中文处理的各个情况进行了分析。 1.首先确认你的MySQL配置文件,my.ini (只针对windows)里的配置,如没有则添加 [client] default-character-set=gbk (是为了,开发客户端程序时,对中文的支持;如果此处设置为utf8,我没有验证过,稍后验证,... 阅读全文
posted @ 2017-07-23 10:45 今夜太冷 阅读(719) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/joeblackzqq/p/4332945.html C++通过mysql的c api和通过mysql的Connector C++ 1.1.3操作mysql的两种方式 使用vs2013和64位的msql 5.6.16进行操作 项目中使用的数据库名为booktik 表为book ………. (共有30... 阅读全文
posted @ 2017-07-22 17:58 今夜太冷 阅读(837) 评论(0) 推荐(0)
摘要: C++ does not allow to return an entire array as an argument to a function. However, you can return a pointer to an array by specifying the array's name without an index. If you want to return a single... 阅读全文
posted @ 2017-07-22 13:42 今夜太冷 阅读(243) 评论(0) 推荐(0)
摘要: 如果adb devices显示设备的状态是offline, 这是可以看手机的通知栏,会有一个"触摸以设置USB"这样一个类似的提示,触摸它以后会要求你选择USB的用途,选择第二个'通过。。。传输文件',电脑上应该会显示出手机上的文件夹,然后再运行adb devices, 可以看到设备就不再offline了,这个时候运行adb logcat就可以获取到log信息了。 如何只查看自己app的... 阅读全文
posted @ 2017-07-16 20:06 今夜太冷 阅读(345) 评论(0) 推荐(0)
摘要: 首先定位到adb所在的目录 将手机连接上电脑。 在命令行运行: adb devices 这个命令可以列出所有连上的移动设备。 在命令行运行: adb logcat 可以显示日志。 以下是例子截图: 当然logcat有更高级的过滤等命令,下一篇文章总结。 相关问题: 输入"adb logcat"命令出现"waiting for device" 信息被挂起 adbct... 阅读全文
posted @ 2017-07-16 19:44 今夜太冷 阅读(731) 评论(0) 推荐(0)
摘要: 错误: clang: error: linker command failed with exit code 1 (use -v to see invocation) 的排查总结 1.相同的类被导入多次。 2.图片等资源丢失/引用出错(包括build phases的引用)。 3.Build Setting ->armv7armv7s 由于xcode升级成... 阅读全文
posted @ 2017-07-15 19:44 今夜太冷 阅读(4633) 评论(0) 推荐(0)
摘要: So I'm trying to move my OpenGL code from Main() into a specific class that will handle the 3D graphics only when necessary. Previously, the top of my main.cpp file looked like this: #define GLEW_ST... 阅读全文
posted @ 2017-07-09 10:26 今夜太冷 阅读(2409) 评论(0) 推荐(0)
摘要: 来自:http://www.cnblogs.com/xiaobo68688/archive/2011/12/01/2269985.html 首先我们在屏幕中心显示一个矩形,效果如图: // 代码没有经过优化,为的是容易理解public class OpenGLTestActivity extends Activity { GLSurfaceView glVi... 阅读全文
posted @ 2017-07-07 00:25 今夜太冷 阅读(1081) 评论(0) 推荐(0)
摘要: Field.fieldTypeKind返回的是Invalid [解决方法] There is no "Metadata" type of field in theSP.FieldType Enumeration, so it would return 0(invalid) when try to retrieve SP.Field.fieldTypeKind Property. If you j... 阅读全文
posted @ 2017-07-06 13:59 今夜太冷 阅读(236) 评论(0) 推荐(0)
摘要: From: http://geekswithblogs.net/claraoscura/archive/2011/01/21/143569.aspx The problem: I have an item adding event receiver associated with a custom content type that accesses several managed meta... 阅读全文
posted @ 2017-07-06 13:56 今夜太冷 阅读(401) 评论(0) 推荐(0)
摘要: 这两个键的代码分别为: GLFW_KEY_KP_ADD(334) GLFW_KEY_KP_SUBTRACT(333) 对应的是键盘右侧数字面板上的+ -键。 阅读全文
posted @ 2017-07-04 14:04 今夜太冷 阅读(661) 评论(0) 推荐(0)
摘要: Introduction One of the most common problems for novice, and sometimes experienced, OpenGL programmers is that they write new rendering code, run it, and it displays… nothing at all. Being more acti... 阅读全文
posted @ 2017-07-04 13:35 今夜太冷 阅读(465) 评论(0) 推荐(0)
摘要: 我只想说现在网上那几个api完全坑爹有木有???官方的申请不来有木有,还有收费有木有??咱这种菜鸟只能用免费的了!!!!http://m.weather.com.cn/data/101110101.html大坑有木有??反应慢不说了,还老不更新!!想贴段代码的,现在又打不开了(貌似3月4号以后没更新过)==========================我是分割线===============... 阅读全文
posted @ 2017-06-23 16:32 今夜太冷 阅读(831) 评论(0) 推荐(0)
摘要: 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 今夜太冷 阅读(2246) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页