摘要:
Start up Dired mode: C-x d; (List dirs: C-x C-d)Hide Dired mode window: q;MarkMark (for group manipulation): [n]m;Mark with regex: %m;Mark files whose contents match regular expression (like mark with... 阅读全文
摘要:
The following expect script achieves a simple telnet client: login -> send command -> exit. The point is the form of prompt in regular expression. You have to add 3 backslash before "[", "]" and "$", ... 阅读全文
摘要:
Chapter 3Section "The expect Command": expect_out(0,string) can NOT be written as "expect_out(0, string)", blank before "string" will make a mistake;Concurrent matching: expect {item1 {send cmd1}item2... 阅读全文
摘要:
Write a violation rules file;Import it into Sonar as a Quality Profile named as "MyRules";Add the following properties to ant script: Run Ant script, and you can get the report at $PROJECT_HOME/.sonar... 阅读全文
摘要:
sudo apt-get mit-scheme;run "scheme" then you enter the command line scheme repl;sudo apt-get emacs;modify "(setq scheme-program-name "scm")" in .emacs to "(setq scheme-program-name "scheme")", becaus... 阅读全文
摘要:
Login as admin, go to a dashboard of a project, then click "Configuration -> History" at the upper-right corner of the panel. 阅读全文
摘要:
需要微软的Sysinternals Suite中的sync工具,解压到d:\apps下。ahk脚本:#u:: ; eject usb drive InputBox, myInp, Remove USB, Input Drive Letter:, if ErrorLevel return else Run, d:\Apps\SysinternalsSuite\sync.exe -e %... 阅读全文
摘要:
下面是体现带参数调试的一个代码demo,首先输出参数的数量,然后依次输出每个参数。 public class ArgsEx { public static void main(String[] args) { int argNum = args.length; System.out.println("args number is = "+argNum); for (int i = 0; i... 阅读全文
摘要:
测试代码定时器类package business.util; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent... 阅读全文
摘要:
jdk1.6.0_35/src.zip, only java package is reviewd(full package review caused a OutofMemory on java heap size).Checkstyle ReviewtyRules.xml: ... 阅读全文