FAT:Directorybread(block528150)failedFAT:Directorybread(block528151)failedEXT3-fserror(devicesda2):ext3_find_entry:readingdirectory#2offset0EXT3-fserror(devicesda2):ext3_find_entry:readingdirectory#2offset0FAT:Directorybread(block528144)failedFAT:Directoryb..
分类:
其他好文 时间:
2014-10-10 20:12:15
阅读次数:
1730
项目中配置了Spring Security,通过自定义的UserDetailsService实现loadUserByName方法能够查出用户的信息,在继续运行至DaoAuthorityXXX时,在UsernamePasswordToken时,报出Bad Principal异常,检查之后是因为 ...
分类:
编程语言 时间:
2014-10-10 15:17:24
阅读次数:
177
Linux下提供top、ps命令查看当前cpu、mem使用情况,简要介绍如下:
一、使用ps查看进程的资源占用
ps -aux
查看进程信息时,第三列就是CPU占用。
[root@localhost utx86]# ps -aux | grep my_process
Warning: bad syntax, perhaps a bogus '-'? See /usr/sh...
分类:
系统相关 时间:
2014-10-09 16:54:58
阅读次数:
479
二分图解决这个问题的思路#include #include #include #include #include #include using namespace std;class Node{public:string name;vector adj;bool visited;int groupI...
分类:
其他好文 时间:
2014-10-08 01:24:14
阅读次数:
298
7.预先准备好内存不够的情况。
new在无法完成内存分配请求时,会抛出异常,异常了要怎么办,这是一个很现实且以后绝对要碰到的问题。
在c中一般使用宏来分配内存并检测分配是否成功,c++中类似以下函数:
#define NEW(PTR,TYPE) try { (PTR) = new TYPE;} catch (std::bad_alloc& ){assert(0);}catc...
分类:
编程语言 时间:
2014-10-06 16:41:30
阅读次数:
174
今天在本地写好的脚本上传到linux后不能运行,显示 bin/sh^M: bad interpreter: No such file or directory这个错误,后来经过百度到可能是文件有问题:原因是.sh脚本在windows系统下用记事本文件编写的。不同系统的编码格式引起的。转行文件的编码格...
分类:
其他好文 时间:
2014-10-05 19:11:58
阅读次数:
157
Bad Horse
Time Limit: 2000/1000MS (Java/Others)
Memory Limit: 128000/64000KB (Java/Others)
SubmitStatus
Problem Description
As the leader of the Evil League of Evil, Bad Horse has a lot of ...
分类:
其他好文 时间:
2014-10-05 18:40:59
阅读次数:
167
Kewastunpackstats(): Bad Magic 1 (0x1108f7b87, 0) In Alert Logfile After Upgrading to 11.2.0.1Applies to:Oracle Server - Enterprise Edition - Version:...
分类:
其他好文 时间:
2014-10-05 14:28:18
阅读次数:
233
3390: [Usaco2004 Dec]Bad Cowtractors牛的报复Time Limit:1 SecMemory Limit:128 MBSubmit:43Solved:29[Submit][Status]Description奶牛贝茜被雇去建设N(2≤N≤1000)个牛棚间的互联网.她...
分类:
其他好文 时间:
2014-10-04 01:40:05
阅读次数:
271
官方的当前gstreamer版本号还不支持x265编解码,因此要加入?x265,须要自己编译。本文基于gstreamer1.3.3版进行编译安装。须要首先自己编译gstreamer1.3.3,以及对应的base、good、bad、ugly插件一、安装编译x265编码器1.下载源代码。 开源x265....
分类:
其他好文 时间:
2014-10-02 20:36:13
阅读次数:
448