Collin Donnell - Remove Duplicate Path Entries:
export PATH=$(echo $PATH | ruby -F: -ane 'puts $F.uniq.join(":").chomp')
This is beautiful.