Skip to main content

Archive for May 2008

Vim Split tips

I use vim a lot of the time, mostly with splits and diffs, so the following key mappings and functions really helped me with managing the split windows. Maybe they will help you too. (Thanks to the Vim tips wiki for these). If you use vertical splits, this will help move left and right across the split. Put in your ~/.vimrc <br /> " Map multi window keys<br /> set wmw=0<br /> " CTRL-H move to left window<br /> nmap <c -h> </c><c -w>h</c><c -w><bar><br /> " CTRL-L move to right window<br /> nmap <c -l> </c><c -w>l</c><c -w><bar><br /> </bar></c></bar></c> When scrolling up and down a window, you can use zz to jump the current line to the middle of the window.

Keyboards are worse than Toilets

I promise to no longer touch any ones keyboards at work if you all promise to keep your hands off mine. After seeing a twitter post on this, I read an article at the Beeb on how; and I definitely quote: Research by the University of Arizona last year found the average office desktop harboured 400 times more bacteria than the average office toilet seat. … “Should somebody have a cold in your office, or even have gastroenteritis, you’re very likely to pick it up from a keyboard.

Little Brother

I just started reading Cory Doctorow’s Little Brother using one of his ebooks he has relesed under the Creative Commons license. I have to admit that I had never heard of Cory of BoingBoing fame, or his books until I read about them via CelticBear. As a ‘paranoid’ geeked I’m hooked on Little Brother, and if you like tech, geek and drama you should check it out as well. Update: I went to buy a copy from a local bookstore, but it is not released in Australia yet.

the iPhone is coming

I can feel it….. Hot on the heels of iPhone release rumours, TUAW post the rumour about iPhone on Vodafone in Australia; and the SMH follow soon thereafter based upon the actual press release from Vodafone. June is just around the corner and my current Vodafone contract runs out this month. Perfect timing. The reason I was hoping for Vodafone is this: with a $79 cap, the $500 credit (currently) covers 3G data usage.

Always encrypt your ssh private key

Recently someone I know advised other IT people to generate their SSH keypair using the default options “using just enter to answer all the questions”. This means that the Private Key generated has no password against it (and is unencrypted). In this case your private key is stored unprotected on your own computer, and anybody who gains access to that will be able to generate signatures (login to servers) as if they were you They will be able to log in to your server under your account.