码迷,mamicode.com
首页 >  
搜索关键字:module    ( 11207个结果
[AngularJS + Webpack] Using Webpack for angularjs
1. Install webpack & angular:npm install webpack angular2. Create webpack.config.js file:module.exports = { context: __dirname + '/app', entry: ...
分类:Web程序   时间:2015-04-13 06:53:35    阅读次数:220
[AngularJS + Webpack] require directives
direictives/index.js:module.exports = function(ngModule) { //register all the directives here require('./hello')(ngModule);};directives/hello.js...
分类:Web程序   时间:2015-04-13 06:51:49    阅读次数:223
JavaServer Faces 2.0 can not be installed解决方案
问题描述:maven项目出现如下错误JavaServer Faces 2.0 requires Dynamic Web Module 2.5 or newer..Maven Java EE Configuration ProblemJavaServer Faces 2.0 can not be in...
分类:编程语言   时间:2015-04-13 01:36:43    阅读次数:151
yeoman运行grunt serve 提示错误
今天在使用 yeoman 的时候,当我运行 grunt serve 命令的时候,出现如下提示:1、Error: Cannot find module 'load-grunt-tasks'$ grunt serveLoading "Gruntfile.js" tasks...ERROR>> Error...
分类:其他好文   时间:2015-04-12 14:48:48    阅读次数:325
Nginx 模块之 ngx_http_limit_conn_module 限制连接数 用法
从Nginx1.1.8版本后以前的limit_conn语法发生了改变,新版升级为limit_conn_zone.连接数限制不是所有的连接都计算在内;只有那些已请求该服务器并当前正在处理的请求(请求头已充分阅读的)limit_conn_zone语法:limit_conn_zonekeyzone=name:size;默认值:—使用环境:httplimit_..
分类:Web程序   时间:2015-04-11 21:02:07    阅读次数:267
Nginx 模块之 ngx_http_limit_req_module 请求处理模块用法
上一篇文章我们说到了ngx_http_limit_conn_module模块,来限制并发连接数。那么请求数的限制该怎么做呢?这就需要通过ngx_http_limit_req_module模块来实现,该模块可以通过定义的键值来限制请求处理的频率。特别的,可以限制来自单个IP地址的请求处理频率。限制的方法如同漏斗..
分类:Web程序   时间:2015-04-11 21:00:31    阅读次数:181
加载模块报错:version magic '2.6.32-504.el6.i686 SMP mod_unload 686 ' should
hello: module_layout: kernel tainted. Disabling lock debugging due to kernel taint hello: version magic '2.6.32-504.el6.i686 SMP mod_unload 686 ' should be '2.6.32-504.el6.i686 SMP mod_unload modversions 686 ' 第一步、看看你运行内核的版本:ls /usr/src/kernels/2.6.32-504....
分类:其他好文   时间:2015-04-11 13:22:51    阅读次数:923
【Nginx】第一个程序Hello World
要注意,先关闭Nginx再添加第三方的模块,负责会编译不进去。关闭命令:/usr/local/nginx/sbin/nginx -s quit然后才是:./configure --prefix=/usr/local/nginx --add-module=/root/coding/nginxcodem...
分类:其他好文   时间:2015-04-11 11:34:43    阅读次数:119
No module named yum
更新python版本后出现此问题[root@huntdbsrc]#python Python2.7.9(default,Apr102015,13:32:39) [root@huntdbsrc]#yuminstallopenssl* TherewasaproblemimportingoneofthePythonmodules requiredtorunyum.Theerrorleadingtothisproblemwas: Nomodulenamedyum Pleaseinstalla..
分类:其他好文   时间:2015-04-10 20:31:31    阅读次数:128
ImportError: No module named _ssl
编译安装python2.7后无法导入ssl包解决办法:下载地址:http://www.openssl.org/source/openssl-1.0.2a.tar.gz安装openssl:#tar-xzvfopenssl-1.0.2a.tar.gz #./config--prefix=/usr/local--openssldir=/usr/local/openssl #make&&makeinstall重新编译python#viPytho..
分类:其他好文   时间:2015-04-10 20:28:52    阅读次数:498
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!