2014年3月18日

摘要: Host Machine[root@bocoty49 ~]# lsb_release -aLSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarc... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(173) 评论(0) 推荐(0) 编辑

2014年3月17日

摘要: 例如有如下一段话: Another whale sighting occurred on , . AK and HI 要匹配每一个,如果用匹配,则匹配到的目标是, ,也就是尽量大的匹配范围,要将匹配模式改为尽量小(即懒惰模式),需要用{-}代替,即写成,就可以达到目标了。 阅读全文
posted @ 2014-03-17 18:21 leechau 阅读(669) 评论(0) 推荐(0) 编辑
摘要: 比较软件列表 Toucan: GNU/GPL, 绿色; Allway Sync免费版: ASF; GoodSync: GS, proprietary ware;TotalCommander: TC, proprietary ware;Microsoft SyncToy: ST;Super Flexible File Synchronizer Pro v5.54a: SFFS,proprietar... 阅读全文
posted @ 2014-03-17 18:21 leechau 阅读(592) 评论(0) 推荐(0) 编辑
摘要: InstallationFollowing haskell-mode.Use MELPA repository: add the following into ~/.emacs(require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t) (pa... 阅读全文
posted @ 2014-03-17 18:21 leechau 阅读(279) 评论(0) 推荐(0) 编辑
摘要: $ cat Hello.java package test;public class Hello {public int myadd(int x, int y) { return 10 * x + y;}}$ cat myapp.groovy import test.Hellodef hello = new Hello()println hello.myadd(13, 5)$ javac Hel... 阅读全文
posted @ 2014-03-17 18:20 leechau 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Eclipse中不同的文件都有自己专门的编辑器配色设置,下面分别说明。文本编辑器的背景色: Window->Preferences-> General->Editors->Text Editors->Appearance color options->Background color; java文件:Window->Preferences->Java->Editor->Syntax Colorin... 阅读全文
posted @ 2014-03-17 18:20 leechau 阅读(367) 评论(0) 推荐(0) 编辑
摘要: Choose color theme interactively: M-x customize-themes, or M-x color-theme-select (use key "q" to quit);Theme "manoj-dark" is a good dark theme;Customize default color theme: add "(load-theme 'manoj-d... 阅读全文
posted @ 2014-03-17 18:20 leechau 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 投资活动主要涉及3个账户:资产(Asset)下的子账户记录投资金额,收入(Income)下的子账户记录投资收入,支出(Expense)下的子账户记录投资费用支出(例如银行手续费,证券交易费等)。以购买A银行的货币基金为例,4月2日用储蓄账户B买入2000元基金,在【资产->投资】下建立子账户【A银行货币基金】,从 B 账户transfer 2000元到 【A银行货币基金】账户,(待续) 总结: 买... 阅读全文
posted @ 2014-03-17 18:20 leechau 阅读(376) 评论(0) 推荐(0) 编辑
摘要: (...): function literals, p40, 64;'(...): suppress evaluation, p24;_(...): comments, p18;"...": regular expression, p17;(def x y): bind x to y;(fn [parameters] (function-body)): define a function;(def... 阅读全文
posted @ 2014-03-17 18:20 leechau 阅读(107) 评论(0) 推荐(0) 编辑
摘要: Installation: apt-get install w3m.use "a" to input text, "tab" to jump between hyper-links, "enter" to click the hyper-link. 阅读全文
posted @ 2014-03-17 18:19 leechau 阅读(146) 评论(0) 推荐(0) 编辑

导航