
The EU navies have begun convoy operations in the Gulf of Aden:
http://www.lloydslist.com/ll/news/eu-launches-naval-escorts-in-gulf-of-aden/20017577798.htm
For vim compiled with X support, "* is the register corresponding to the X clipboard. So, "*p dumps the X clipboard into your file in a much more elegant way than i and middle-click.
Some large motions (:123, gg, G, probably others) set the ' mark. So, gg to go to the top of the file (say, add a #include or an import), then '' to go back to where you were. On a somewhat related note, ^I and ^O will traverse the list of places you've jumped to -- handy for finding your way back to where you were before you jumped to five or six different places via a search.
Somebody mentioned . earlier. If you're not using . religiously, you're using vim wrong.
High on my wishlist for vim tricks is a way to put delimiters on either side of a motion that supports . to repeat it. E.g.: say I have a few words and I want to parenthesize each of them. Put the cursor at the start of the first word, [some keys](, lparen and rparen magically appear around the word, move to the next word, hit
alias find="noglob find" # Lets me say "find . -name *.pdf" (etc) without escaping the '*'. I also do this with dpkg-query.
alias topten="(sort | uniq -c | sort -rn | head)" # Print the top ten most common lines in whatever gets piped in
diff local_file.txt =(ssh remotehost cat remote_file.txt) # ssh is like a distributed file system, right?
# The =(cmd) syntax is pretty useful in general, for where a command expects a filename and you want to give it input from another command.
file =some-command # =word expands to the result of a $PATH search for word. This command tells me what kind of thing I'm executing...
readlink -e =some-command #
file $(readlink -e =some-command) #
My brothers-in-arms across the hall whipped up something which might get you started:
http://research.cens.ucla.edu/projects/2007/Systems/DTS/
They use it to manage 100 seismic sensors strung out in a 500km line across Mexico.
You can't take damsel here now.