Archive for May, 2008

Showing the current directory in Emacs’ mode line

Friday, May 23rd, 2008

Today I got tired of always looking up, where all these little files named "_show.rhtml", "_list.rhtml" and their ilk are living, and patched the emacs mode line to include the last element of the current buffer's directory. describes something very similar, but it repeats the whole mode line definition ...

Live syntax-checking JavaScript with Emacs

Tuesday, May 6th, 2008

There are quite some options for doing live syntax checks from within Emacs. A good one is using Steve Yegge's relatively new js2-mode for javascript editing which has a javascript parser built in. But that is not what this blog post will be about. The other option is to use flymake ...

Varnish, a faster Squid

Monday, May 5th, 2008

I just stumbled across Varnish, an HTTP cache and modern alternative to Squid. The config file is compiled into a shared library at startup, logging is done in-memory and paging out unused pages to disk is left to the OS. With squid, an unused cached page is explicitly written to ...