1.递归删除指定目录下的 .git、.svn 文件 find . -name .git | xargs rm -fr find . -name .svn | xargs rm -rf 第一条倒还不常用,因为用 git 做版本管理的时候, 只在根目录下生成一个 .git 目录,删掉这一个就...
分类:
其他好文 时间:
2014-09-23 14:34:54
阅读次数:
252
Centos-7.x86_64下。编译时可能提示:checking for APR... noconfigure: error: APR not found. Please read the documentation.checking for APR-util... noconfigure: er...
分类:
其他好文 时间:
2014-09-23 14:20:34
阅读次数:
158
要点:BroadLeaf框架下定义ORM对象需要先定义一个接口, 然后在persistence-unit 的配置中进行声明,如不声明会报错:no persistent classes found for query classIProvince:import java.io.Serializable...
分类:
其他好文 时间:
2014-09-23 12:42:24
阅读次数:
285
error: device not found解决办法
分类:
其他好文 时间:
2014-09-23 05:04:13
阅读次数:
215
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-09-22 22:48:33
阅读次数:
180
log4j:WARN No appenders could be found for logger(org.springframework.context.support.ClassPathXmlApplicationContext).log4j:WARN Please initialize the...
分类:
其他好文 时间:
2014-09-22 22:09:23
阅读次数:
228
故障现象:ntpdate:noserversuitableforsynchronizationfound解决办法:~]#ntpdate-b-upool.ntp.orgntpdate命令帮助:~]#manntpdateCOMMANDLINEOPTIONS-bForcethetimetobesteppedusingthesettimeofday()systemcall,ratherthanslewed(default)usingtheadjtime()systemcall.Thisop..
分类:
其他好文 时间:
2014-09-22 20:44:53
阅读次数:
237
题意:
给出n个数,先把各数从小到大排序,然后q次询问xi在数组中的位置,不存在则输出相应信息。
输入样例:
4 1
2
3
5
1
5
5 2
1
3
3
3
1
2
3
0 0
输出样例:
CASE# 1:
5 found at 4
CASE# 2:
2 not found
3 found at 3
//=====...
分类:
其他好文 时间:
2014-09-22 17:22:42
阅读次数:
166
1、官网下载jdk.tar.gz包,解压后就是安装好JDK了2、进入cjh@ubuntu:~/android/jdk1.8.0_11/bin目录下,能看到java等程序输入java -version提示The program 'java' can be found in the following ...
分类:
编程语言 时间:
2014-09-22 16:50:22
阅读次数:
160
下载源码 http://www.roland-riegel.de/nload/ 解压,进入源码目录 $?./configure?--prefix=/usr/local/nload 报错 configure:?error:?ncurses?library?or?development?files?not?found.?ncurses?is?...
分类:
系统相关 时间:
2014-09-21 18:49:21
阅读次数:
326