Monthly Archives March 2006

portable Firefox

As most people who don’t use M$ windows as their desktop, Firefox is my favirot web browser. It is a good idea to keep one on my USB key.
Fortnately someone has done a binary build that suitable for a USB key, that is Portable Firefox. It is in pretty good shape so I have no […]

Viewing Word files at the command line

Althrough I have no-word statements on my homepage, signature, and wherever I can put, sometimes I still need to deal with word documents.
My original solution is to use OpenOffice. But I have to deal with all the charset and font things cause I speak Chinese. So most of the time I just start OOo, open […]

URL auto complete

By default when we typing in the address bar, Firefox will show a list
of histories below the address bar, and we can move with the arror
keys and select the one we want.
But most of the cases we just need the first one cause Firefox will
sort the matched history list in the visiting frequency order, And
we’ll […]

Pasting Wrapped URLs in firefox

from http://www.gravitonic.com/blog/archives/000111.html
Here’s another Mozilla/Firefox tip: if you copy a URL wrapped over multiple lines from somewhere and try to paste it into the address bar, you will end up only with the first line of it. To fix it, go to about:config and change editor.singleLine.pasteNewlines setting to 3 or add:
   user_pref("editor.singleLine.pasteNewlines", 3);
to your user.js […]

The choice of editor

The first thing for my USB key is a good editor, and this turns out to be the hardest.
As I am an Emacs user, the idea thing is to bring Emacs with me. However, it is too laaaarge for a USB key. It’ll take half of my 256M key, and I’ll have severl MB of […]

keyconfig

address: http://www.extensionsmirror.nl/index.php?showtopic=254
This extension allows us to re-bind keys to functions. Pretty useful for keyboard users like me. A side benefit is that you could learn lots of new key bindings and find out “why this key binding doesn’t work?” — Mostly because the key is bind to another function in another extension.
It can also disable […]

compare strings disregarding whitespace without RE

There is an interesting topic in the python.list about comparing two strings deiregarding whitespace without re. As the discussion went on, there cames two different requirements:

normalize whitespace That is, “a\n b c” == “a b \n c” but “ab c” <> “a bc”
totally ignore withespace Both “a\n b […]

playsh: MUD like programming environment for pythoner

There is an article on wired news about a new game, playsh. It is like a MUD but you can do python programming in it. Looks a good way to learn Python programming.
I didn’t play too much with MUD in the old 1990s days but this looks interesting. However there are two requirements for the […]

seperate configure file and auto compile them

As our Emacs configure file gettting larger and larger (my config files are now about 250K), it is a good idea to seperate them into different categories and byte-compile them for speed up.
However, it is boring to manually byte-compile them whenever I make a change, even with dired. So here is my solution.

The function to […]

my usb key

Well as my notebook is getting old, and pretty heavy, I’m trying to find out a way to do my work when I’m not in front of my desktop.
A USB key looks like the most light weight solution so late last year I’ve got my self a unibit 256M one. . The picture is taken […]

Close
E-mail It