本人电脑win7 64位提前装一下convert to utf-8插件,编译运行出现乱码,组合键ctrl+shift+c把源文件转成gbk编码. 仍乱码的话,重启编辑器|电脑|重新编辑中文部分。c++{ "cmd": ["g++", "${file}", "-o", "${file_path}...
分类:
编程语言 时间:
2015-12-14 14:27:04
阅读次数:
257
php中,使用memcache作为session的save handler 一般会使用如下设置:php.ini里:session.save_handler = memcache session.save_path = “localhost:11211″ 项目配置里:ini_set(“session....
分类:
Web程序 时间:
2015-12-14 12:23:14
阅读次数:
184
本文将介绍如何创建类似Facebook和Path iOS程序中的滑出式导航面板。 向右滑动滑出式设计模式可以让开发者在程序中添加常用的导航功能,又不会浪费屏幕上宝贵的空间。用户可以在任意时间滑出导航面板,并且还可以看到当前屏幕上显示的内容。现在,互联网上有些库已经内置滑出式设计模式,比如John-L...
分类:
移动开发 时间:
2015-12-14 12:16:19
阅读次数:
311
工具AB(apache benchmark).在APACHE的bin目录下。格式: ./ab [options] [http://]hostname[:port]/path参数:-n requests Number of requests to perform//在测试会话中所执行的请求个数。默认....
分类:
Web程序 时间:
2015-12-14 12:14:54
阅读次数:
169
点击运行ecilpse报错如下:1.An internal error occurred during: "Launching New_configuration".Path for project must have only one segment.解决方法:Project—>Propertie...
分类:
其他好文 时间:
2015-12-14 09:18:58
阅读次数:
146
Heart Rate ExampleThe Heart Rate Application is a firmware example that implements the Heart Rate profile using the hardware delivered in the nRF51822...
分类:
移动开发 时间:
2015-12-14 01:24:53
阅读次数:
1358
PATHshell使用$PATH的环境变量查找命令在PATH中添加新路径exportPATH="目录路径":$PATH全局变量:在shell和话和该shell任何子进程中可见。env查看本地变量:只在创建他们的shell中可见,包含全局变量。set查看unset取消变量readonly设置变量只读重要的环境变量PWD:记录当前的..
分类:
系统相关 时间:
2015-12-13 23:52:53
阅读次数:
163
原文地址:反向路径过滤——reverse path filter 作者:pwp_cu反向路径过滤——reverse path filter一、原理先介绍个非对称路由的概念参考《Understanding Linux Network Internals》三十章,30.2. Essential Elem...
分类:
其他好文 时间:
2015-12-13 23:47:02
阅读次数:
235
函数说明 bool setcookie ( string $name [, string $value = "" [, int $expire = 0 [, string $path = "" [, string $domain = "" [, bool $secure = false [, ...
分类:
其他好文 时间:
2015-12-13 23:24:47
阅读次数:
153
Description Resource Path Location TypeHttpServlet cannot be resolved to a type SimpleServlet.java /JavaHelloWorldApp/src/main/java/wasdev/sample/servlet line 15 Java ProblemHttpServletRequest cannot ...
分类:
Web程序 时间:
2015-12-13 22:01:53
阅读次数:
318