2014年3月17日

摘要: 比较软件列表 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) 编辑
摘要: 例如有如下一段话: Another whale sighting occurred on , . AK and HI 要匹配每一个,如果用匹配,则匹配到的目标是, ,也就是尽量大的匹配范围,要将匹配模式改为尽量小(即懒惰模式),需要用{-}代替,即写成,就可以达到目标了。 阅读全文
posted @ 2014-03-17 18:21 leechau 阅读(669) 评论(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) 编辑
摘要: $ 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) 编辑
摘要: 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) 编辑
摘要: System-wide File Descriptor LimitGet current value: sysctl fs.file-maxmodify max fd limit: sysctl -w fs.file-max=10000User File Descriptor LimitGet current value: ulimit -nmodify max fd limit: ulimit ... 阅读全文
posted @ 2014-03-17 18:19 leechau 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 按照Building Your First App,详细过程如下:安装SDK(如果网速慢,需要用离线安装的方法,见笔记 离线安装Android SDK的方法 );采用命令行开发方法(不用装Eclipse插件ADT);$SDK_HOME/tools下运行android list targets($SDK_HOME=C:\Program Files\Android\android-sdk);$SDK_... 阅读全文
posted @ 2014-03-17 18:19 leechau 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 例如下面一段代码: 现在要统一缩进6个tab,在UltraEdit里首先要选中文本,然后按6次tab,VIM中的操作是:首先按V(shift+v)进入行visual模式,然后按7次j选中这段文本(或者7j也行),然后按“6>”(shift+.),如果不确定几个tab,可先>一次,这时自动退出了visual模式,再次缩进不需要重复上述操作,只要按点号(“.”,重复前次命令)即可。 20... 阅读全文
posted @ 2014-03-17 18:19 leechau 阅读(1457) 评论(0) 推荐(0) 编辑
摘要: 需要的插件列表:TaglistConque ShellFuzzyFinderNERDTreejavaComplete其他选项:JavaKitexVimwinmanager (Deprecated) 阅读全文
posted @ 2014-03-17 18:18 leechau 阅读(430) 评论(0) 推荐(0) 编辑
摘要: Today I installed iTunes (Windows installer) via wine. But after installation it didn't work.Then I installed iTunes (Windows installer, too) in Windows 7 in virtualbox. But it can't read the iPod via... 阅读全文
posted @ 2014-03-17 18:18 leechau 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 有时srt字幕文件与视频文件的时间不完全吻合,有一个时间差,这就需要对srt文件的时间轴进行平移,具备这个功能的软件很多,比如:Subtitle Tool, subresync, sabbu, Sub Station Alpha等;但最方便的还是在线处理,下面这两个网站都是专门做字幕文件的时间轴处理的:http://subshifter.bitsnbites.eu/http://subtitle.... 阅读全文
posted @ 2014-03-17 18:18 leechau 阅读(3078) 评论(0) 推荐(0) 编辑
摘要: Auto complete tagsxmleditinstallation: git clone https://github.com/sukima/xmledit.git, then make (unnecessary?) when you write "", it will be converted to ""; if you write ">", it will be converted t... 阅读全文
posted @ 2014-03-17 18:18 leechau 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Installationdownload setup.exe from its official website;run setup.exe, select "download without installing" option;when asking for download website, select the first 163.com and three .cn sites, thus... 阅读全文
posted @ 2014-03-17 18:18 leechau 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 如何为Eclipse安装插件?尤其是SVN?放入$ECLIPSE_HOME/dropins文件夹比较好;从SVN中更新代码在Project名称上右键->Team->更新;调整Eclipse Editor的字体和字号Window->Preferences->General->Appearance->Colors and Fonts->Basic->Text Font->Edit.断点管理IDE下端的... 阅读全文
posted @ 2014-03-17 18:17 leechau 阅读(338) 评论(0) 推荐(0) 编辑
摘要: Eclipse for Java Developers (Juno)本身有一个eGit组件,通过它可以直接从Git源码库中下载源代码,以下载 CRaSH 为例说明:从主页上的"Develop: GitHub"找到 源码页 ,得到此项目的GitHub地址是:https://github.com/vietj/crash.git;Eclipse -> Import -> Git -> Projects ... 阅读全文
posted @ 2014-03-17 18:17 leechau 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 参考:Bandwidth Monitoring Tools For Linux实时流量监控:pvOS: Ubuntu Server 12.04.netcat & pvapt-get install pv监控端口5555上的实时网络流量:nc -l 5555 | pv > /dev/null向服务器113上发送数据:nc 10.31.1.113 5555ifstatHomepage: http://... 阅读全文
posted @ 2014-03-17 18:17 leechau 阅读(475) 评论(0) 推荐(0) 编辑

导航