Wednesday, August 1, 2007

Recipe for dumping http headers

tcpdump -s 65536 -w out "tcp port 80 and host bar"

Monday, May 28, 2007

Uploading trail data to a nüvi 350 using Mac OSX

  1. Download trail data, e.g. from TrailRegistry (download GPS data).
  2. Use GPSBabel to convert the gpx data to csv
  3. Manually edit the csv to put the third column comments in quotes
  4. Use Garmin's POI Loader to upload the data to your nüvi

Wednesday, March 14, 2007

Linux tricks and tips

PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/~}\007"'

(in bash) sets the title of your xterm to user@host:/pwd, module home directory.

LANG=en_US.utf8

Lets you browse see utf-8 encoded non-ascii characters in your xterm.