这个函数的作用就是动态的设置php.ini里的session_save_handler,配合session_set_savepath可以在程序里自由配置session的后台方式。session_cache_expire与session_cache_limiter函数是配置session缓存时间与头信...
分类:
Web程序 时间:
2014-05-28 02:38:46
阅读次数:
367
1) File>Import>General>Existing
Project into Workspace2) File>Import>Android>Existing Code into
Workspace
分类:
系统相关 时间:
2014-05-26 10:51:33
阅读次数:
280
yum install gcc pcre-devel zlib-devel
openssl-develwget http://nginx.org/download/nginx-1.6.0.tar.gz./configure
--with-http_stub_status_module --with-...
分类:
其他好文 时间:
2014-05-26 07:58:20
阅读次数:
253
最近,在修改Android4.4的原生相机Camera2,很习惯的去寻找SurfaceView,结果任凭我使用grep还是ack,都无法搜索到SurfaceView,最后还是通过代码CameraActivity-->CameraModule-->PhotoUI-->R.layout.photo_module找到,原来是使用了TextureView。不是很了解此控件,百度之,在官方API文档中找到此...
分类:
移动开发 时间:
2014-05-26 04:55:25
阅读次数:
351
在开发一个复杂的应用程序的时候,我们需要把各个功能拆分、封装到不同的文件,在需要的时候引用该文件。没人会写一个几万行代码的文件,这样在可读性、复用性和维护性上都很差,几乎所有的编程语言都有自己的模块组织方式,比如Java中的包、C#中的程序集等,node.js使用模块和包来组织,其机制实现参照了CommonJS标准,虽未完全遵守,但差距不大,使用起来非常简单。
在node.js中模块与文件是...
分类:
Web程序 时间:
2014-05-26 03:45:20
阅读次数:
366
ngx-modules
Nginx 主要的模块大致可以分为四类:
handler – 协同完成客户端请求的处理、产生响应数据。比如模块, ngx_http_rewrite_module,
ngx_http_log_module, ngx_http_static_module。
filter – 对 handler 产生的响应数据做各种过滤处理。比如模块, ngx_http_n...
分类:
其他好文 时间:
2014-05-25 23:14:00
阅读次数:
242
GG同步到sqlserver报错一例 Invalid date format...
分类:
数据库 时间:
2014-05-25 11:01:34
阅读次数:
336
【步骤1】在modelsim中输入文件内容如下module tryfact;
function[31:0]factorial; //此处定义函数,[31:0]是返回值的类型或范围,factorial是函数名
input[3:0]operand; //端口说明语句 reg...
分类:
其他好文 时间:
2014-05-25 03:48:34
阅读次数:
303
关于php与mysql之间的工作机制,今天蛋疼地考虑php编译安装时不添加--with-mysql参数,是否可以实现mysql_connect()函数。第一次编译只是简单的./configure--prefix=/usr/local/php--with-config-file-path=/usr/local/php/etc
make&&makeinstallmysql_connect()果然使..
分类:
Web程序 时间:
2014-05-24 15:40:47
阅读次数:
1057
Quick Referenceinsmodmodprobermmod User-space
utilities that load modules into the running kernels and remove them.#include
module_init(init_function)...
分类:
其他好文 时间:
2014-05-24 12:05:39
阅读次数:
286