find的详细用法:find/-namehttpd.conffind/-nameaccess_log2>/dev/nullfind/etc-name‘*srm*‘find/-amin-10#查找在系统中最后10分钟访问的文件find/-atime-2#查找在系统中最后48小时访问的文件find/-mmin-5#查找在系统中最后5分钟里修改过的文件find/-mtime-1#查找在系统中..
分类:
系统相关 时间:
2016-07-12 15:36:37
阅读次数:
200
1、简单手工关联 首先将结果查询出来放到一个变量里面,然后再查询 u = db.user.findOne({author:"wangwenlong"}); for(var p = db.postings.find({author:u.author});p.hasNext;){ printjson(p ...
分类:
数据库 时间:
2016-07-12 13:44:29
阅读次数:
237
java -jar yxCollector-1.1.0.jarError: opening registry key 'Software\JavaSoft\Java Runtime Environment'Error: could not find java.dllError: Could not ...
分类:
编程语言 时间:
2016-07-12 12:06:07
阅读次数:
1194
Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. Given a positive integer n ...
分类:
其他好文 时间:
2016-07-12 06:46:54
阅读次数:
133
Description standard input/output Announcement Statements There is a set of n segments with the lengths li. Find a segment with an integer length so t ...
分类:
其他好文 时间:
2016-07-12 01:30:36
阅读次数:
126
做回测系统发现股票季报不能很好的表现每天的总股本。于是在新浪发现了数据源,决定用beatifulSoup爬一下。 先是读取股票code对应页面, 这里推荐用下面这种,因为用lxml会有几个code的页面解析不到,具体原因可能是页面太长。 下面直接找id的话用find(id=xxx)就行。 得到的数据 ...
分类:
编程语言 时间:
2016-07-12 01:26:11
阅读次数:
156
对find参数-prune的理解(PS:对find参数-prune的理解-prune就像一个判断语句,当发现-prune前面的表达式math时,执行到-prune之后就会输出一个1结果,如果shell的话,可以使用echo$?来看结果,如果-prune后面跟的是-o选项,用c语言的语法来讲的话就是1||-print,所以明显可以看到当-pru..
分类:
其他好文 时间:
2016-07-11 19:41:29
阅读次数:
127
Given a binary search tree and a node in it, find the in-order successor of that node in the BST. Note: If the given node has no in-order successor in ...
分类:
其他好文 时间:
2016-07-11 16:37:12
阅读次数:
195
博主本着学无止境的精神在虚拟机上安装了一个centos7 来敲敲命令行。刚开始就遇到了强大的阻力。。。 ifconfig vim 都没法用。这怎么行,安装呗。又学了圈安装,yum命令。 结果yum也执行不起来。could not find mirrirhttp ****等等。这是没法上网的原因。 进 ...
分类:
其他好文 时间:
2016-07-11 15:22:22
阅读次数:
185
ls -l|grep “^d” 以d开头 ls -lF 给不同文件类型加不同标志 ls -lF|grep “/$” 以/结尾 ls -lF|grep / find ./ -type d find ./ -maxdepth 1 -type d find ./ -maxdepth 1 -type d ! ...
分类:
其他好文 时间:
2016-07-11 14:12:19
阅读次数:
128