上一页 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 阅读(293) 评论(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 阅读(296) 评论(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 阅读(218) 评论(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 阅读(206) 评论(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 阅读(993) 评论(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 阅读(287) 评论(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 阅读(77) 评论(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 阅读(719) 评论(0) 推荐(0) 编辑
摘要: 作为Java程序员来说,最痛苦的事情莫过于可以选择的范围太广,可以读的书太多,往往容易无所适从。我想就我自己读过的技术书籍中挑选出来一些,按照学习的先后顺序,推荐给大家,特别是那些想不断提高自己技术水平的Java程序员们。 在这份推荐阅读书籍的名单中,我没有列举流行的软件框架类学习书籍,例如Struts,Hibernate,Spring之类,也没有列举AJAX方面的书籍。是因为这类书籍容易过时,而... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(97) 评论(0) 推荐(0) 编辑
摘要: Linux系统的iconv指令是一个很好的文件编码转换工具,支持的编码范围广,使用方便,例如将一个utf-8编码的文件(名为tic)转换为gbk编码:iconv -f utf-8 -t gbk tic > ticgbk可以用"iconv -l"查看支持的编码列表。另:用file -i 可以查看一个文件的编码方式。 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(103) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 17 下一页

导航