给NetBean For Ruby安装Fast Debugger
心血来潮,发现自己的Netbean IDE for ruby已经很老了,于是想更新一下。
用就用最新的,到这里下载了一个最新的NB 6.5 beta版本:
http://bits.netbeans.org/download/trunk/nightly/latest/
下载2分钟,安装1分钟,导入工程1分钟。然后点击调试按钮0.1s,系统居然提示我安装fast debugger 0.3版本。直接在IDE上安装了,等了N久就是安装不上。
接着在命令行飞快输入:
gem install ruby-debug-ide -v ‘0.3.2′ –include-dependencies
等了半天,居然出现如下结果:
INFO: `gem install -y` is now default and will be removed
INFO: use –ignore-dependencies to install only the gems you list
Bulk updating Gem source index for: http://gems.rubyforge.org/
于是在美国的服务器上试了一把,结果是没问题。看来是我们这边网络有问题呀。设置好socket代理,嘿,我也不知道怎么在gem下设置socket代理,只知道设置http代理。无果,只能下载gem文件安装了。
Google了一把,
ruby-debug-ide居然在Debug Commons里面。链接是:http://rubyforge.org/frs/?group_id=3085
因为ruby-debug-ide依赖ruby-debug-base,所以不得不找它。后来发现在ruby-debug这里,链接是http://rubyforge.org/frs/?group_id=1900
注意,如果你在windows安装,ruby-debug-base必须安装windows版本的。
一切搞定。要不是公司网络问题,我还不知道ruby-debug-ide的包究竟在哪里。
接下来想研究一下它是如何给ruby设置hook的。
Confach发表于 October 16, 2008 5:11 pm | 留言 |一技之长
7Zip的格式
我一直使用7Zip,今天下载了7Zip的代码,才知道7Zip的格式。所以将之Copy到这里。
7z Format description (2.30 Beta 25)———————————–
This file contains description of 7z archive format. 7z archive can contain files compressed with any method.See “Methods.txt” for description for defined compressing methods.
Format structure Overview————————-
Some fields can be optional.
Archive structure~~~~~~~~~~~~~~~~~ SignatureHeader[PackedStreams][PackedStreamsForHeaders][ Header or { Packed Header HeaderInfo }]
Header structure~~~~~~~~~~~~~~~~ { ArchiveProperties AdditionalStreams { PackInfo { PackPos NumPackStreams [...]
Confach发表于 October 15, 2008 10:39 am | 留言 |一技之长
Linus关于Swap的讨论
Linus曾经在一个关于Swap的mail讨论中指出:
In the course of discussion, it became clear that Linux 2.4.x required more swap than previous versions. Rik van Riel mentioned, “2.4 keeps dirty pages in the swap cache, so you will need more swap to run the same programs…” He asked Linus Torvalds, “is this something we want to keep or should we give [...]
Confach发表于 September 18, 2008 4:36 pm | 留言 |I.T
最新留言
- DxGwen:There’re a lot of dissertation and thesis writing service but your really hot stuff like this topic. Therefore, to receive more information you would order the dissertation meaning.
- wxianfeng:新版本应该是 smtp_settings
- 邱枫:您好,我是一个黑莓开发的初学者,想就黑莓开发的问题向您请教,我的msn是qf_008@hotmail.com,qq是47730014 如果方便的话请给一个您的联系方式
- Confach:96166这个电话还是挺好打的。
- Gary:Lisa 不知你是否打过那种电话,我试过几次,只要是国家或者北京市公布出来的,便民性质的电话基本永远是占线声,或者接通后把你像“皮球”似的踢来踢去,我还是建议打付费的咨询电话,比如:12580之类的……