摘要:
20 Unix Command Line Tricks – Part Ihttp://www.cyberciti.biz/open-source/command-line-hacks/20-unix-command-line-tricks-part-i/Deleting a HUGE fileI h... 阅读全文
摘要:
转自:http://blog.charlee.li/perl-xml-simple/[Perl]用XML::Simple解析XML文件在Perl中解析XML的方法最常见的就是使用XML::DOM和 XML::Simple了。 XML::DOM过于庞大,而且解析结果是一个DOM树,操作也不方便。对于小型且不复杂的XML文件,XML::DOM真是杀鸡用牛刀。 这时就轮到轻便的XML::Simple上场了。XML::Simple如其名,真的很简单。假设XML内容如下: This is a test.那么只需这样写:use XML::Simple;use ... 阅读全文
摘要:
转自: http://www.tecmint.com/35-practical-examples-of-linux-find-command/35 Practical Examples of Linux Find CommandPart I: Basic Find Commands for Finding Files with NamesPart II: Find Files Based on their PermissionsPart III: Search Files Based On Owners and GroupsPart IV: Find Files and Directories 阅读全文
摘要:
来自:http://blog.csdn.net/tianlesoftware/article/details/6457487Linux是一个多用户,多任务的系统,可以同时运行多个用户的多个程序,就必然会产生很多的进程,而每个进程会有不同的状态。在下文将对进程的R、S、D、T、Z、X六种状态做个说明。PROCESS STATE CODESHere are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display 阅读全文
摘要:
Perforce settings such as port, user, and workspace names using the following methods, listed in order of precedence:1.On the command line, using flags2.In a config file, if P4CONFIG is set3.User environment variables (on UNIX or Windows)4.System environment variables (on Windows, system-wide enviro 阅读全文
摘要:
1 时间如果是从当前时间到前一个月的这个时候之间的记录总条数:selectcount(1)fromuis_md_stcustomuwherefirsttimebetweenadd_months(sysdate,-1)andsysdate;如果是求当前时间的前面一个月的内的记录总条数:selectcount(1)fromuis_md_stcustomuwhereto_char(firsttime,'mm')=to_char(add_months(sysdate,-1),'mm');2 IN/ANYIN- Equal toany member in the list 阅读全文
摘要:
转自:http://linuxtoy.org/archives/bash-shortcuts.html生活在 Bash shell 中,熟记以下快捷键,将极大的提高你的命令行操作效率。 大部分对其他的shell也是可以用的。编辑命令Ctrl + a :移到命令行首Ctrl + e :移到命令行尾Ctrl + f :按字符前移(右向)Ctrl + b :按字符后移(左向)Ctrl + u :从光标处删除至命令行首Ctrl + k :从光标处删除至命令行尾Ctrl + w :从光标处删除至字首Alt + d :从光标处删除至字尾Ctrl + d :删除光标处的字符Ctrl + h :删除光标前的字 阅读全文
摘要:
Team Foundation Service 是微软提供的云端的开发平台。 主页:http://tfs.visualstudio.com。类似于github,与github的区别是:1) github创建private的project是需要是付费用户, Team Foundation Service提供5个用户以内免费创建private的project;2)Team Foundation Service的源码管理server可以是Team Foundation Server或者是git,Team Foundation Service 提供更好的与VisualStudio的集成,但是如果是使用 阅读全文
摘要:
p4 sync -n 显示sync的结果,但不是真的sync。Examplesp4 syncCopy the latest revision of all files from the depotto the client workspace, as mapped through the client view.If the file is already open in the client workspace,or if the latest revision of the file exists in the client workspace, it is not copied.p4 s 阅读全文