转:http://blog.csdn.net/ise_keven1/article/details/2070049方案一: using System; using System.Reflection; Type type = Type.GetType("abc"); Activa...
分类:
其他好文 时间:
2014-08-18 18:00:22
阅读次数:
343
在文件src\http\ngx_http_core_module.c的函数ngx_http_core_run_phases(ngx_http_request_t *r)里面,添加如下代码://声明部分 ngx_str_t* name; ngx_http_variable_value_t*...
分类:
其他好文 时间:
2014-08-18 17:56:22
阅读次数:
1094
Q311 How do I disable the "Back" button of a browser?You are here:irt.org|FAQ|JavaScript|History| Q311 [previousnext]Easy answer - you can't.Longer an...
分类:
其他好文 时间:
2014-08-18 16:07:22
阅读次数:
206
Preloading images is a great way to improve the user experience. When images are preloaded in the browser, the visitor can surf around your site and e...
分类:
编程语言 时间:
2014-08-18 15:56:32
阅读次数:
362
最近在用Python开发自己的博客,需要用到Python生成验证码,当然肯定要用到Python的图形处理库PIL,因为我用的是windows。
所以在安装好pil之后就开始写,就按照题目所说出现了The _imagingft C module is not installed 错误,找了很多建议,最后确定在windows下应该用pillpw。下载地址http://www.lfd.uci.edu/...
分类:
编程语言 时间:
2014-08-18 14:35:52
阅读次数:
300
一、安装#yum install gd-devel##./configure --prefix=/usr/local/nginx \# --with-debug \# --with-http_stub_status_module ...
分类:
其他好文 时间:
2014-08-18 14:17:42
阅读次数:
154
项目结构目录:Apache 安装配置目录:C:\Apache2.2\conf\httpd.confLoadModule wsgi_module modules/mod_wsgi.soWSGIScriptAlias / D:\TestApp\MyDjangoSite\mysite\mysite\wsg...
分类:
编程语言 时间:
2014-08-18 12:03:04
阅读次数:
229
1、模块来源:随Perl发行版本一起打包、从CPAN下载
2、阅读模块文档:perldoc CGI
3、安装模块
makemaker方式:
指定安装目录:
Module::build方式:
cpan方式:
4、File::basename模块
5、仅选用模块的部分函数
导入引用列表即可
10、不引入任何函数
通过全名的方式使用:
11、...
分类:
其他好文 时间:
2014-08-17 15:40:33
阅读次数:
209
有一个以前写的c语言代码,我想把它用在python程序中。我先是看了《python基础教程》一书中的方法,书中说可以用swig加python内置distutils模块的方法来实现。我照着书上的步骤试了试,结果在导入模块的时候总是提示“ImportError:
dynamic module does not define init function (initprintf)”。起初我以为是so文...
分类:
编程语言 时间:
2014-08-16 16:32:30
阅读次数:
304
整个jQuery是一个自调用的匿名函数: 1 (function(global, factory) { 2 if (typeof module === "object" && typeof module.exports === "object") { 3 module.exp...
分类:
Web程序 时间:
2014-08-15 23:42:49
阅读次数:
300