默认网站根目录为/usr/local/nginx/html,要将它改成/homw/wwwvi
/usr/local/nginx/conf/nginx.conf将其中的 location / { root html; index index.php
index.html i...
分类:
Web程序 时间:
2014-05-24 04:58:02
阅读次数:
229
Nginx支持伪静态(在 nginx.conf 中 修改如下)参考链接location / {
index index.html index.php; if (-d $request_filename){ rewrite ^/(.*)([^/...
分类:
其他好文 时间:
2014-05-24 03:02:12
阅读次数:
266
一、在新添加的域中中的AreaRegistration中作如下设置:二、在原来的Global.asax中设置:三、不同域之间的跳转@Url.Action("Index",
"Imageselect", new { Area = "" })为空表示跳转到原来的域。
分类:
Web程序 时间:
2014-05-24 02:53:56
阅读次数:
332
概述 哈夫曼树:树的带权路径长度达到最小。 构造规则 1. 将w1、w2、…,wn看成是有n
棵树的森林(每棵树仅有一个结点); 2.
在森林中选出根结点的权值最小的两棵树进行合并,作为一棵新树的左、右子树,且新树的根结点权值为其左、右子树根结点权值之和; 3.
从森林中删除选取的两棵树,并将新树加...
分类:
其他好文 时间:
2014-05-24 02:49:48
阅读次数:
257
svn版本管理工具(该笔记记录svn在WINDOWS 下使用)曾经流行的是cvs
已经被svn所替代,apache旗下子项目。官方网站http://subversion.apache.org/点击download page下载点击binary
packages点击下载自动下载安装svn安装后将svn...
分类:
其他好文 时间:
2014-05-24 00:26:13
阅读次数:
357
/**方法:Array.remove(dx)*功能:根据元素值删除数组元素.*参数:元素值*返回:在原数组上修改数组*作者:pxp*/Array.prototype.indexOf=function(val){for(vari=0;i-1){this.splice(index,1);}};/**方法...
分类:
Web程序 时间:
2014-05-24 00:22:05
阅读次数:
308
1、tree需要显示多个图标 实际需求:设备树上节点需搁三个图片,分别标识运行状态、告警状态、设备类型
解决方法:给tree的iconCls传入一个数组,分别是各状态下的class(css),然后要改动easyui关于tree节点组装部分的代码
if(item.iconC...
分类:
Web程序 时间:
2014-05-23 23:27:35
阅读次数:
446
10192 最长公共子序列
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&
Itemid=8&page=show_problem&category=114&problem=1133&mosmsg=
Submission...
分类:
其他好文 时间:
2014-05-23 22:30:07
阅读次数:
528
1. 创建一个新的web工程,导入springMVC的jre包。2. web.xml添加配置
index.jsp webAppRootKey springmvc.root contextC...
分类:
编程语言 时间:
2014-05-23 22:24:41
阅读次数:
452
题目:Given two binary trees, write a function to
check if they are equal or not.Two binary trees are considered equal if they are
structurally identical...
分类:
其他好文 时间:
2014-05-23 12:40:21
阅读次数:
352