原因:在编辑php时添加的“–with-mcrypt”选项造成。解决方法:1、如果不需要mcrypt,那么编辑php时去掉该选项,然后再make、make install。2、如果需要mcrypt,那么需要安装libltdllibltdl在libmcrypt软件包中就有,具体过程:#cd /soft...
分类:
Web程序 时间:
2014-06-18 23:29:26
阅读次数:
252
Could there be a professional photographer, and may not be as formal photographer, eventually you will find yourself looking for a digital camera cont...
分类:
其他好文 时间:
2014-06-18 19:55:02
阅读次数:
184
题目
Given a string containing just the characters '(' and ')',
find the length of the longest valid (well-formed) parentheses substring.
For "(()", the longest valid parentheses substring...
分类:
其他好文 时间:
2014-06-16 22:41:41
阅读次数:
267
删除名为-a的文件rm./-arm---a告诉rm这是最后一个选项,参见getoptls-i列出inum,然后用find.-inuminum_of_thisfile-execrm{}\;删除名为\a的文件rm\\a如何看出redhat的版本是7还是8(hutuworm)cat/proc/version或者cat/etc/redhat-release或者cat/etc/issue文件在哪个rpm中(无双..
分类:
其他好文 时间:
2014-06-16 18:27:04
阅读次数:
274
find命令–用途:用于查找文件或目录–格式:find[查找范围][查找条件]常用查找条件–-name:按文件名称查找–-size:按文件大小查找–-user:按文件属主查找–-type:按文件类型查找–-print:以\n为换行符打印出文件(路径)高级查找条件–-perm:按权限查找–-ctime(-cmin?.
分类:
系统相关 时间:
2014-06-16 15:04:40
阅读次数:
260
Decription:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, gi...
分类:
其他好文 时间:
2014-06-14 19:46:12
阅读次数:
251
原始题目如下,意为寻找数组和最大的子串,返回这个最大和即可。
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the...
分类:
其他好文 时间:
2014-06-14 15:08:00
阅读次数:
224
一、find 命令格式1、find命令的一般形式为;find pathname -options [-print -exec -ok ...]2、find命令的参数;pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。-print: find命令将匹配的....
分类:
其他好文 时间:
2014-06-14 13:49:54
阅读次数:
251
产生这个问题的原因的是将项目部署到tomcat的时间超过了45秒,当项目比较大,用的框架比较复杂常会出现这个问题。
解决方法很简单,找到下面这个路径中 workspace\.metadata\.plugins\org.eclipse.wst.server.core\servers.xml的server.xml文件
将start-timeout设置为100或者更长即可~...
分类:
其他好文 时间:
2014-06-14 13:21:11
阅读次数:
351
题目
Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in a triplet (a,b,c) ...
分类:
其他好文 时间:
2014-06-14 12:45:13
阅读次数:
209