1,关于编译Apache 其实在安装apache的时候最好把常用的模块都编译进去,这样也省得后期再去添加 常用的编译项: ./configure? --prefix=<path>? --enable-mods-shared=all? --enable-so? --enable-rewrite 下...
分类:
Web程序 时间:
2014-11-12 13:53:01
阅读次数:
180
Given a binary tree, find the maximum path sum.
The path may start and end at any node in the tree.
For example:
Given the below binary tree,
1
/ 2 3
Return 6....
分类:
其他好文 时间:
2014-11-12 13:47:59
阅读次数:
139
网页的结构由标记负责创建,JavaScript函数只用来改某些细节而不改变其底层结构,js也可用来改变网页的结构和内容:传统方法:1.document.write 快捷将文档插入到网页中: 1 2 3 4 5 text 6 7 8 11 12 但是违背了“行为应该...
分类:
编程语言 时间:
2014-11-12 13:31:00
阅读次数:
215
示例代码:<%@pagelanguage="java"contentType="text/html;charset=UTF-8"
pageEncoding="UTF-8"%>
<%
Stringpath=request.getContextPath();
StringbasePath=request.getScheme()+"://"
+request.getServerName()+":"+request.getServerPort()
+path+"/";
%>
<..
分类:
其他好文 时间:
2014-11-12 11:59:52
阅读次数:
251
因为手机和移动设备太多,DHCP池不够用,想通过EventID的方法在Win2003Server来自动发送邮件通知还有多少可用IP地址。所需工具都放在c:\temp目录bmail.exe(用于发送邮件或其它可以发送邮件的程序)psloglist.exe(sysinternals里面的一个小工具,用于根据EventID读取系统日志详细..
分类:
其他好文 时间:
2014-11-12 11:57:51
阅读次数:
198
今天在查数据的时候报错 ORA-01652:无法通过16(在表空间temp1中)扩展 temp 字段
查看表空间使用明细
SELECT b.tablespace,
b.segfile#,
b.segblk#,
b.blocks,
b.blocks * 32 / 1024 / 1...
分类:
数据库 时间:
2014-11-12 11:46:35
阅读次数:
329
Response.Write 与 Page.ClientScript.RegisterStartupScript 与 Page.ClientScript.RegisterClientScriptBlock 之间的区别方法1,使用Response.Write,这种方法会把JS代码写在页面的最顶部(的前...
分类:
其他好文 时间:
2014-11-12 09:17:59
阅读次数:
127
测试方法 测试代码 测试方法测试代码源代码,按Markdown语法进行默认的代码高亮的效果:let g:octopress_path = "path/to/dir"使用octopress的代码高亮进行显示的效果:测试语法高亮1let g:octopress_path = "path/to/dir"网...
分类:
其他好文 时间:
2014-11-12 01:59:25
阅读次数:
160
终于到了二叉树。题目如下:Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the...
分类:
其他好文 时间:
2014-11-12 00:34:07
阅读次数:
244
测试方法 测试代码 测试方法测试代码源代码,按Markdown语法进行默认的代码高亮的效果:let g:octopress_path = "path/to/dir"使用octopress的代码高亮进行显示的效果:测试语法高亮1let g:octopress_path = "path/to/dir"网...
分类:
其他好文 时间:
2014-11-12 00:32:50
阅读次数:
169