Saturday 26 March 2011

Vim to HTML

I just discovered a feature of Vim that I'm not entirely sure is useful, but it's certainly interesting:

:TOhtml

It outputs the current file as HTML, including syntax highlighting! To see what I mean, this is the output when run on the main JavaScript file for my piXY application. Set your browser's monospace font to Consolas and what you'll see is pretty much exactly what I see in MacVim (as seen in the screenshot in the previous post).

Monday 21 March 2011

Big Code

A big monitor can be a big productivity boost.


(click to embiggen, 647KB)

Also, Vim is so great. I've been using it for about 6 months and I'm still learning new things. Like, just the other day I found out you can do diB to delete in the current code block. My .vimrc is 129 lines long now!

Saturday 19 March 2011

Sproutlings

Signs of life! After one week, some of our kohl rabi and radishes are sprouting:




And since it was such a nice day – the first warm day we've had this year, in fact – Tabbs decided to join us in the garden:

Saturday 12 March 2011

Green Thumbs

A week ago, Zoe and I had an Amazing Idea: we would grow some vegetables! I'm not entirely sure how we came up with this plan, possibly it was me lamenting my ever-expanding belly, and a desire to eat more healthily. It's also the right time of year for such things, and so here we are today with our first set of seeds all planted and ready to go:



We have planted (from left to right):

  • Cucumber
  • Radish
  • Kohl rabi
  • Leek (seeds look like tiny chunks of coal!)
  • Orange-scented thyme
  • Old English thyme
  • Chilli
  • Radish

So, fingers crossed we haven't failed at growing things! In a few weeks we should see some signs of life, at which time more photos will be posted and progress written about.