每天一个linux命令(13):less 命令less工
具也是对文件或其它输出进行分页显示的工具,应该说是linux正统查看文件内容的工具,功能极其强大。less的用法比起more更加的有弹性。
在more的时候,我们并没有办法向前面翻,只能往后面看,但若使用了less时,就可以使用[pageup...
分类:
其他好文 时间:
2014-05-26 18:26:11
阅读次数:
249
1.异常:Cannot delete or update a parent row: a
foreign key constraint
fails 解决方案:将MySQL方言修改为org.hibernate.dialect.MySQLInnoDBDialect问题解决
分类:
其他好文 时间:
2014-05-26 10:29:56
阅读次数:
229
session问题集锦
对于PHP的session功能,始终找不到合适的答案,尤其是一些错误,还有一些没有错误的结果,最可怕的就是后者,一直为许多的初学者为难。就连有些老手,有时都被搞得莫名其妙。本文,将这些问题,做一个简单的汇总,以便大家查阅。1.错误提示Warning:
Cannot sen.....
分类:
其他好文 时间:
2014-05-26 09:41:55
阅读次数:
236
Given a linked list and a value x, partition it
such that all nodes less than x come before nodes greater than or equal to x.You
should preserve the o...
分类:
其他好文 时间:
2014-05-26 09:35:28
阅读次数:
266
这里不讲vsftpd的基本配置,网上教程已经太多了。这里只说seLinux的问题。日前在CentOS6.5中安装了vsftpd,按照网上搜索的教程,配置好/etc/vsftpd/vsftpd.conf,重新启动后,登录实验,又出现了著名的不能设置主目录错误:500
OOPS: cannot chan...
分类:
系统相关 时间:
2014-05-26 06:40:58
阅读次数:
468
问题 C: Repeat Number
时间限制: 1 Sec 内存限制: 128 MB
提交: 23 解决: 7
[提交][状态][论坛]
题目描述
Definition: a+b = c, if all the digits of c are same ( c is more than ten),then we call a and b are Repeat Number. My...
分类:
其他好文 时间:
2014-05-26 04:03:34
阅读次数:
228
Cannot find executable for CFBundle 0x8f4d850 (not
loaded)解决办法:还原模拟器。
分类:
其他好文 时间:
2014-05-25 23:36:51
阅读次数:
313
loadHeadersFromResource(R.xml.settings_headers, headers);
error: xml cannot be resolved or is not a field, but res/xml/settings_headers.xml exists.
Every xml file will have its own ID in R.java,...
分类:
其他好文 时间:
2014-05-25 16:19:23
阅读次数:
206
题目描述If the difference between any two adjancent
elements in a sequence is not more than K, then we call this sequence is a
K-diff sequence. A subseque...
分类:
其他好文 时间:
2014-05-24 09:39:27
阅读次数:
340
废了2个小时查找jdk版本如何更新本以为是这个的问题原来并不是这个问题因为你还没有导入servlet-api.jar包导入方法:右键你的工程属性,然后如图选择导入的外部jar要到你的tomcat安装目录下的bin目录下选择servlet-api.jar
分类:
编程语言 时间:
2014-05-24 09:37:24
阅读次数:
368