默认情况下ssl模块并未被安装,如果要使用该模块则需要在编译时指定–with-http_ssl_module参数,安装模块依赖于OpenSSL库和一些引用文件,通常这些文件并不在同一个软件包中。通常这个文件名类似libssl-dev。生成证书可以通过以下步骤生成一个简单的证书:首先,进入你想创建证书...
分类:
其他好文 时间:
2014-08-25 09:56:44
阅读次数:
157
方法1: 1 var browser={ 2 versions:function(){ 3 var u = navigator.userAgent, app = navigator.appVersion; 4 return {//移动终端浏...
分类:
移动开发 时间:
2014-08-24 23:41:33
阅读次数:
273
概念ModuleCatalog 是Prism中主要概念之一,主要用来保存应用程序可用的modules(模块),每个module都是用ModuleInfo来定义(包含module的名称、类型和位置)。功能实现ModuleCatalog继承自IModuleCatalog,IModuleCatalog声明...
分类:
其他好文 时间:
2014-08-24 19:17:02
阅读次数:
254
Google Chrome is a freeware web browser developed by Google Inc. Google Chrome team proudly announced the release of Google Chrome 35 on May 20, 2014....
分类:
其他好文 时间:
2014-08-24 16:41:42
阅读次数:
240
我们知道在其它编程语言中, 都有包(命令空间)的概念, 帮助我们更好的管理代码结构. 如java中的package, python中的module. 但是在js语言中, 在一个页面执行环境内, 所有引入的外部的js文件都会在同一个global上下文中执行, 做不到几点: 不能动态加载我们只需要的模块...
分类:
编程语言 时间:
2014-08-24 15:26:32
阅读次数:
217
/* desctription: this module implement the sdr_sdram timing. the author:lufy yin(wuqingjianke) */`timescale 1ns/1psmodule sdram_io #(parameter DataWid...
分类:
其他好文 时间:
2014-08-24 12:52:42
阅读次数:
208
第一张 客户端网页编程简介1.企业应用计算机的演变:主机/哑终端的集中计算模式(Mainframe/Terminal) 到 客户机/服务器计算模式(client/sever) 再到 浏览器/服务器计算模式(browser/sever)。2.B/S结构Web应用程序工作原理:采用B/S计算模式开发.....
分类:
Web程序 时间:
2014-08-23 21:36:51
阅读次数:
279
单例模式在Python中可以查看这里借用里面一段话,说的相当明白:I don't really see the need, as a module with functions (and not a class) would serve well as a singleton. All its va...
分类:
其他好文 时间:
2014-08-23 13:52:10
阅读次数:
242
先上代码:
#include
#include
#include
#include
static char* whom = "World";
static int howmany = 1;
module_param( howmany, int, S_IRUGO );
module_param( whom, charp, S_IRUGO );
static int hello_ini...
分类:
系统相关 时间:
2014-08-23 01:08:59
阅读次数:
367
Zabbix之监控Nginx状态信息nginx需要支持http_stub_status_module编译的时候需要使用--with-http_stub_status_moduleyum默认支持此选项1.配置nginxstuats源码:vimnginx.confyum:vim/etc/nginx/conf.d/default.conf#andaddthefollowingtoyourserverblocklocation/nginx_status{s..
分类:
其他好文 时间:
2014-08-22 18:15:19
阅读次数:
316