1.centos 6.2 安装 rar 压缩命令 后 报错/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory解决用 yum install ld-linux.so.2 再次压缩的时候 报libstdc++so.6:ca...
分类:
系统相关 时间:
2014-09-26 14:43:48
阅读次数:
280
最近在项目中遇到长时间反复启动结束一个activity是会出现崩溃的情况,错误报告:android.view.InflateException: Binary XML file line ...Error inflating class 查询资料有大神说是内存溢出(http://stackoverf...
分类:
移动开发 时间:
2014-09-26 12:43:48
阅读次数:
223
需要注意的是win平台加载图片,用到"file:///"参考来源 StartCoroutine(SaveThePlayerColorImage(320));//save the color image when the player pass the wall IEnumerator Save...
分类:
其他好文 时间:
2014-09-26 12:39:08
阅读次数:
238
The full path to the file is ‘/etc/postfix/main.cf‘ Just add or modify your hostname and restart the postfix service by running ‘service postfix restart‘. Please note mydomain.net. is an invalid ho...
分类:
其他好文 时间:
2014-09-26 12:24:59
阅读次数:
614
使用grep-c可以统计每个文件匹配模式的数量,通过这种方法可以抽取出不匹配模式的那些文件,因为不包含匹配模式的文件将显示为file:0vgrep()
{case$#in
0|1)echo"Usage:`basename$0`patternfile[files...]"1>&2
;;
*)pattern=$1
shift
grep-c$pattern"$@"|sed-n‘s/:0$//p‘..
分类:
其他好文 时间:
2014-09-26 12:12:29
阅读次数:
183
control file 中包含以下内容:database nametime stamp of database creationSynchronization information(checkpoint and log sequence information) needed for recov...
分类:
其他好文 时间:
2014-09-26 11:55:58
阅读次数:
354
通过修改/etc/magic能够增加可识别的文件类型/etc/magic有四个字段:offsetdata-typevaluefile-typeoffset文件中的偏移量,从0开始计算.表示file从该偏移量开始匹配data-type测试类型.文本比较用string,字节比较用offset,两字节比较用short,四字节比较用longvalue用户希望的值,若..
分类:
其他好文 时间:
2014-09-26 11:22:09
阅读次数:
169
Scull的设计
主设备号和次设备号
设备编号的内部表达
分配和释放设备号
动态分配主设备号
一些重要的数据结构
三个file_operations,file,inode
文件操作
file结构
inode结构
read和write
unsigned long copy_to_user(void __user *to,const void *from,...
分类:
其他好文 时间:
2014-09-26 11:01:41
阅读次数:
187
现象:系统开启后在登陆界面无法进入原因:profile文件有错解决方法:1. 切换至命令行界面 ctr + alt +f3 或者是 ctr + fn +alt +f3 2. 修改profile文件,此时指令不能正常使用,应该加上路径 eg: /bin/vi /etc/profil...
分类:
其他好文 时间:
2014-09-26 10:45:48
阅读次数:
233
int main(){ FILE *fp,*fp1; char ch[]={}; if ((fp=fopen("/User/Apple/Desktop/text.1","r"))==NULL) { printf("cannot open file\n"); ...
分类:
其他好文 时间:
2014-09-26 10:01:58
阅读次数:
140