2008-04-29

Disabling the Firefox DNS cache

Disabling the Firefox DNS cache

November 4th, 2006 by site admin

If you, like me, make frequent changes to your host file, for instance because your staging and production environment both listen to the same vhost. You will have probably noticed that it takes Firefox a while to pick up on the alterations you made. This is because in order to improve performance by default Firefox caches DNS lookups for up to 60 seconds. If you do not feel like waiting, restarting the browser is your only option. Fortunately you can disable DNS caching. This is what you do :

Enter about:config in the adress bar.

Right click on the list of properties, select new > integer in the context menu

enter network.dnsCacheExpiration as the preference name and 0 as the integer value

Add another integer preference, this time use network.dnsCacheEntries as the preference name and again 0 as the value

2008-04-25

[股市] 什么是“大非”、“小非”

股权分置改革之前,上市公司的股份分为流通股和非流通股两部分。股权分置改革之后,考虑到市场的接纳程 度,对非流通股获得流通权规定了限制时间,这部分股票因此叫限售股份。“大非”是指大规模的限售流通股,占总股本5%以上。“小非”是指小规模限售流通 股,占总股本5%以下。

-- 南方周末

2008-04-02

Change MSN Account E-Mail

MSN 帐号支持修改 email 了, 在 Windows Live Account 登录后点 Change 链接即可, 昨天俺把用了 N 年的 MSN 帐号从 263 的 email 换成了 gmail. 转换过程很顺利, 原来的 MSN 好友会自动迁移到新的 MSN 帐号中, 正如我所期望的那样.

Free Books

Wikipedia 也能访问了!

既然 blogspot 解禁, 那 wikipedia 呢. 试一下打开 en.wikipedia.org, 竟然进去了, 大喜.

Blogspot 解禁了?

使用 proxy 访问 blogspot 很久了, 昨晚在家突然访问不了我的 blog 了, 以为是临时网络故障所致, 没有在意. 今早来公司再次访问俺的 blog, 仍然失败, 怪. 难道 ...? 修改 firefox 的 settings, 去掉 proxy 设置, 竟然能直接访问 blogspot 了, 喜. google 一下 ‘blogspot 解禁’, 果然是解禁了, 但愿不是临时的.

2008-03-28

andLinux

andLinux is a complete Ubuntu Linux system running seamlessly in Windows 2000 based systems (2000, XP, 2003, Vista; 32-bit versions only). This project was started for Dynamism for the GP2X community, but its userbase far exceeds its original design. andLinux is free and will remain so, but donations are greatly needed.

andLinux uses coLinux as its core which is confusing for many people. coLinux is a port of the Linux kernel to Windows. Although this technology is a bit like running Linux in a virtual machine, coLinux differs itself by being more of a merger of Windows and the Linux kernel and not an emulated PC, making it more efficient. Xming is used as X server and PulseAudio as sound server.

andLinux is not just for development and runs almost all Linux applications without modification.

2008-03-26

DNS Books

Dig for Windows

http://members.shaw.ca/nicholas.fong/dig/

GNU Utilities for Win32

Here are some ports of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools.

DoubleCommand 又把俺的 iBook G4 搞死了

前天 Mac OS X 10.4.11 (PPC) 进行了一次 system update, 之后重启, 结果又出现蓝屏, 起不来了! 再重启, 还是一样. :-( 因为以前出过同样的问题, 怀疑又是 DoubleCommand 捣的鬼, 重启, 按住 Command-s, 进入 single mode, 执行 mount -uw /, 删除 /Library/StartupItems/DoubleCommand 和 /Library/PreferencePanes/DoubleCommand* 目录, 再重启, 一切 OK.

以后再也不用 DoubleCommand 了!

Mac OS X Keyboard Shoutcuts

Follow me

2008-03-24

Wubi

试用了一下 Wubi, 装了 ubuntu-7.04 在 windows-xp 上, 整体感觉还是很流畅的, 不错.