概念:模块(Module)和包(Package)是Node.js最重要的支柱。
开发一个具有一定规模的程序不可能只用一个文件,通常需要把各个功能拆分、分装、然后组合起来。模块正式为了实现这种方式而诞生,在浏览器JavaScript中,脚本模块的拆分和组合通常使用HTML的script标签来实现,.....
分类:
Web程序 时间:
2014-05-26 20:33:20
阅读次数:
356
一 、查看已安装的nginx是否包含stub_status模块
/usr/local/nginx/sbin/nginx -V nginx version: Nginx/1.2.0 configure arguments:
--with-http_stub_status_module 确定支持stub...
分类:
其他好文 时间:
2014-05-26 16:34:01
阅读次数:
233
目的是做一个grid,参考博客http://www.sunzhenghua.com/magento-admin-module-development-part1-grid-forms-tabs-controllers,由于少了很多基础的配置,我便补充了一下一。开发的目录结构如下:Jago->Empl...
分类:
其他好文 时间:
2014-05-26 16:17:01
阅读次数:
312
模块的搜索路径:When a module namedspamis imported, the
interpreter searches for a file namedspam.pyin the current directory, and then
in the list of director...
分类:
编程语言 时间:
2014-05-26 15:09:11
阅读次数:
367
微软PowerShell 产品组上周发布了PowerShell 5.0
PowerShellGet功能。有了它,IT 人员可以方便地搜索,安装,更新PowerShell
Module。在这篇博客中,我将演示如果使用PowerShellGet安装微软ScriptBrowser和ScriptAnalyz...
分类:
其他好文 时间:
2014-05-26 12:10:24
阅读次数:
232
1、修改配置文件Apache\conf\httpd.conf找到LoadModule
vhost_alias_module modules/mod_vhost_alias.so 去掉前面的#找到Include
conf/extra/httpd-vhosts.conf ...
分类:
其他好文 时间:
2014-05-26 11:51:47
阅读次数:
247
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
之前用Python
2.7版本的httplib做接口测试时,运行代码都是正常的,最近开始用Python 3.3之后,再去看以前的代码,发现import
httplib出现错误:Unresolved import :httplib,运行代码时也报错:ImportError: No module nam...
分类:
编程语言 时间:
2014-05-23 06:25:34
阅读次数:
347
Semaphore module in block diagram of the TI C66x DSP device....
分类:
其他好文 时间:
2014-05-22 22:36:43
阅读次数:
455
前沿:在一些个特定环境下,用ansible做集群管理还是很棒的,这两天看了他的模块,官方提供了很多,就算不够,你也可以自定义定制。话说我挺喜欢他的modules模块的,够直接!!!我这里就说些常见的ansible的modules吧。下面的ansibleservice一看大家就懂了,就是服务状态的管..
分类:
其他好文 时间:
2014-05-21 13:07:44
阅读次数:
837