上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页

2014年3月18日

摘要: 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... 阅读全文
posted @ 2014-03-18 08:06 leechau 阅读(307) 评论(0) 推荐(0)
摘要: 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 "$", ... 阅读全文
posted @ 2014-03-18 08:06 leechau 阅读(301) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2014-03-18 08:06 leechau 阅读(227) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2014-03-18 08:05 leechau 阅读(209) 评论(0) 推荐(0)
摘要: 下面是体现带参数调试的一个代码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... 阅读全文
posted @ 2014-03-18 08:05 leechau 阅读(1016) 评论(0) 推荐(0)
摘要: 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... 阅读全文
posted @ 2014-03-18 08:05 leechau 阅读(298) 评论(0) 推荐(0)
摘要: Login as admin, go to a dashboard of a project, then click "Configuration -> History" at the upper-right corner of the panel. 阅读全文
posted @ 2014-03-18 08:05 leechau 阅读(85) 评论(0) 推荐(0)
摘要: 需要微软的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 %... 阅读全文
posted @ 2014-03-18 08:05 leechau 阅读(769) 评论(0) 推荐(0)
摘要: Use logger in a non-static context:Logger logger = LoggerFactory.getLogger(this.getClass().getName());Use logger in a static context(for example in main() method):static Logger logger = LoggerFactory.... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(112) 评论(0) 推荐(0)
摘要: hg的配置文件分为全局配置和每个Repo自己的配置,Ubuntu系统下全局配置文件是~/.hgrc,Win7系统下是C:\Users\chad\mercurial.ini,各repo的配置文件是$REPO_PATH/.hg/hgrc。常用配置设置Repo的用户名[ui] username = Your Namepush/pull目标仓库[paths] default = http://ip_o... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(350) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页

导航