linux下文件的复制、移动与删除命令为:cp,mv,rm一、文件复制命令cp 命令格式: cp [-adfilprsu] 源文件(source) 目标文件(destination) cp [option] source1 source2 source3 ... directory 参数说明: -a...
分类:
其他好文 时间:
2014-07-09 00:00:34
阅读次数:
256
//得到目录下的所有文件夹public static void Get_All_Filepath_In_Directory(string dirpath, List listpaths) { List filePaths = listpaths; //存放文件的路径 try { if (Is_Dir...
分类:
其他好文 时间:
2014-07-08 23:24:07
阅读次数:
183
位于/Users/你电脑名/Library/Developer/Xcode/DerivedData
下的缓存文件占很大的缓存空间,如果长时间不删除xcode下的缓存文件,就会导致硬盘空间越来越小直到Directory
not empty。删除了缓存文件再运行就不会再报错。
删除DerivedData: 打开看了终端输入 sudo chmod -R 777 /Users/xxx/Li...
分类:
移动开发 时间:
2014-07-08 21:39:21
阅读次数:
240
使用不同版本的XCode出现的问题:
fatal error: malformed or corrupted AST file: 'Unable to load module "/Users/xxx/Library/Developer/Xcode/DerivedData/ModuleCache/XYZYIE6ZV0OP/Darwin.pcm":
file not found' note: a...
分类:
其他好文 时间:
2014-07-08 15:36:55
阅读次数:
168
The digital root of a positive integer is found by summing the digits of the integer. If the resulting value is a single digit then that digit is the digital root. If the resulting value contains two or more digits, those digits are summed and the process ...
分类:
其他好文 时间:
2014-07-08 14:12:32
阅读次数:
226
Export aborted because fatal lint errors were found.These are listed in the Problems view.Either fix these before running Export again,or turn off "Ru...
分类:
移动开发 时间:
2014-07-06 14:23:18
阅读次数:
363
File->new->Project->android->Android Project from Existing code在Root Directory:中填写AndroidManifest.xml所在的文件夹路径需要注意的是:导入的工程不要跟Eclipse Android的工作目录下,不然会出...
分类:
移动开发 时间:
2014-07-06 12:56:23
阅读次数:
184
在mysql中 FOUND_ROWS()与COUNT(*)都可以统计记录,如果都一样为什么会有两个这样的函数呢,下面我来介绍SELECT FOUND_ROWS()与COUNT(*)用法区别
SELECT语句中经常可能用LIMIT限制返回行数。有时候可能想要知道如果没有LIMIT会返回多少行,但又不想再执行一次相同语句。那么,在SELECT查询中包含SQL_CALC_FOUND_ROWS选...
分类:
数据库 时间:
2014-07-06 12:04:05
阅读次数:
271
6.3内存索引库
6.3.1特点
在内存中开辟一块空间,专门为索引库存放。这样有以下几个特征:
1) 因为索引库在内存中,所以访问速度更快。
2) 在程序退出时,索引库中的文件也相应的消失了。
3) 如果索引库比较大,必须得保证足够多的内存空间。
6.3.2编码
在cn.hqu.directory 下新建:DirectoryT...
分类:
其他好文 时间:
2014-07-06 08:11:33
阅读次数:
188
执行启动nginx:/usr/local/nginx/sbin/nginx
错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
查找:[roo...
分类:
其他好文 时间:
2014-07-06 00:11:52
阅读次数:
205