1、help函数:查看模块、函数、变量的详细说明:查看模块help("modules")查看包 help("json")查看类help(json.JSONDecoder)查看函数help(json.dump)2、dir函数:查看变量可用的函数或方法>>> import time>>> dir(tim...
分类:
编程语言 时间:
2015-12-09 19:18:21
阅读次数:
171
内核模块可以使用两种方式加入进内核:1.使用insmod等命令动态加载到内核(obj-m);2.作为内核的一部分静态编译进内核(obj-y);在linux/init.h文件中typedef int (*initcall_t)(void);typedef void (*exitcall_t)(void...
分类:
其他好文 时间:
2015-12-09 17:13:21
阅读次数:
136
What is a module in AngularJS?A module is a container for different parts of your application i.e controllers,services,directives,filters,etc.You can ...
分类:
其他好文 时间:
2015-12-09 01:48:36
阅读次数:
124
Ifyou’veevertriedtoinstallESXandhad
thebootpause/freezeon“Relocatingmodulesandstartingupthekernel”
you’llneedasimplelittlefixtocontinuegoing.FromwhatI’veseen
thisonlyhappensonserversthatarenotapartofthecurrentVMware
HardwareCompatibilityList(HCL).Thetr..
分类:
其他好文 时间:
2015-12-08 10:19:08
阅读次数:
926
最近遇到一个问题seport is not a legal parameter in an Ansible task or handler原因是我本地 Ansible 的 Extra Modules 已经过时,需要更新。但是Ansible的官方文档只给了这么一句话There should be no...
分类:
系统相关 时间:
2015-12-07 18:33:00
阅读次数:
131
国内很多文章都是抄来抄去,用不成,用我这个就可以了编辑 http.conf 文件去掉 #LoadModule headers_module modules/mod_headers.so 前面的注释#去掉 #LoadModule deflate_module modules/mod_deflate.s...
分类:
Web程序 时间:
2015-12-06 14:32:31
阅读次数:
132
有两个地方需要配置:1.web.config中的节点: 需要在modules配置中添加属性runAllManagedModulesForAllRequests2.如果上一个步骤不能够凑效,则需要“添加脚本映射”打开IIS的”处理程序映射设置“,在右边的操作栏下有 ”添加脚本映射“请求路...
分类:
Web程序 时间:
2015-12-06 09:57:13
阅读次数:
174
在phpcms\modules\wap\index.php里面,搜索上面这句if(!$r || $r['status'] != 99) showmessage(L('info_does_not_exists'),'blank'); 找到后,在它的下一行添加上 //上一页$previous_page....
分类:
Web程序 时间:
2015-12-04 12:27:10
阅读次数:
210
下面以添加“关于我们”这一单页为例作phpcms V9 wap手机门户添加单页的教程说明:步骤一:复制phpcms\templates\default\wap下的maps.html,粘贴重命名为about.html,并修改其中内容作为“关于我们”的模板文件;步骤二:在phpcms\modules\w...
分类:
Web程序 时间:
2015-12-04 12:22:30
阅读次数:
248
Strict Standards: Redefining already defined constructor for class chinabank in/data/web/includes/modules/payment/chinabank.phpon line85Strict Standar...
分类:
其他好文 时间:
2015-12-02 22:40:15
阅读次数:
241