UNIX

Rails tip: easily browse and search logs in colour with "less"

Tagged:  •    •  

'less' is a great tool for browsing Rails log files, though you might not guess it if you try to view your "development.log" with it.

On vim vs emacs

Tagged:  •    •    •  

I often hear the proponents of vim and emacs discussing which is better, usually pitting emacs' extensibility against vi's archaic yet arguably effective and tendon-friendly scheme of editing modes.

But why choose?

Init scripts considered harmful

Tagged:  •    •    •    •    •    •    •  

Tired of PID files, needing root access, and writing init scripts just to have your UNIX apps start when your server boots? Want a simpler, better alternative that will also restart them if they crash? If so, then read this quick-start introduction to process supervision with runit/daemontools.

Syndicate content