组分析(1) spm----specify 2nd-level---- Directory:输出文件所要保存的文件夹----SCANS:输入con文件(2) Estimate----select spm.mat----点击绿色按钮进行转换;(3) Results----点spm.mat----点t-...
分类:
其他好文 时间:
2015-04-16 23:16:58
阅读次数:
390
搜索可分为如下几步:
创建Directory创建IndexReader 根据IndexReader创建IndexSearch 创建搜索的Query 根据searcher搜索并且返回TopDocs 根据TopDocs获取ScoreDoc对象 根据searcher和ScoreDoc对象获取具体的Document对象 根据Document对...
分类:
Web程序 时间:
2015-04-16 19:54:03
阅读次数:
237
批量替换程序的文件注释头Install: Just unpack the files into your home directory. It will create a directory ~/rh containing all files. Now edit the file ~/rf/head...
分类:
其他好文 时间:
2015-04-16 15:41:49
阅读次数:
240
The Gruntfile.js or Gruntfile.coffee file is a valid JavaScript or CoffeeScript file that belongs in the root directory of your project, next to the p...
分类:
编程语言 时间:
2015-04-15 23:14:15
阅读次数:
136
ZIP我们可以使用下列的命令压缩一个目录:# zip -r archive_name.zip directory_to_compress下面是如果解压一个zip文档:# unzip archive_name.zipTARTar是在Linux中使用得非常广泛的文档打包格式。它的好处就是它只消耗非常少的...
分类:
系统相关 时间:
2015-04-15 11:17:15
阅读次数:
213
function write_log($msg,$isEcho=false,$path=''){ $path?'':$path='logs'.DIRECTORY_SEPARATOR.'log'.date('Ymd',time()).'.txt'; if(!is_dir(d...
分类:
Web程序 时间:
2015-04-15 10:58:01
阅读次数:
197
[ew69@localhost conf]# /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 确认已...
分类:
其他好文 时间:
2015-04-15 01:02:21
阅读次数:
163
今天打包上传app到app store上遇到的一个错误,在xcode6.2下提示:The IPA is invalid. It does not inlude a Payload directory.折腾了一个下午,没有找到办法,网友遇到提示这个错误提供了一个解决办法:http://blog.csd...
分类:
移动开发 时间:
2015-04-14 23:07:01
阅读次数:
241
方法1 通过 位与static void Main(string[] Args) { //假设扫描C:\Test中—— string[] hiddenfiles = Directory.GetFiles("C:\\Test\\", "*.*", SearchOption.AllDirectories...
//备份程序 private void BackupFiles(string from,string to) { //如果原程序目录存在 if (Directory.Exists(from)) { ...
分类:
其他好文 时间:
2015-04-14 15:59:26
阅读次数:
80