Geekness

I have this Python script I’ve been fooling around with, off & on, for a good long while: when it’s finished, it will replace Movable Type (which I don’t like), Gallery (which I don’t like) and CityDesk (which I don’t use any more) all in one go.

I keep a copy checked out on my 1GB flash drive, so I can plug it in to any convenient machine & bash away at the code. That presents a problem: the files have to have Unix line endings, or they don’t run on Unix (since the Unix shell is stupid, and thinks the 0x0D byte at the end of the #! line is part of the program name). But Notepad (the only editor I have on the WRI laptop) can’t edit files with Unix line endings.

I really like EditPad Lite, which can edit Unix text files. And it’s free – but only for non-commercial use. So I can’t really install it on the laptop.

Dilemma, dilemma.

As it turns out, the latest version of EditPad Lite – released just last month – can install itself onto a flash drive, and run in a special no-footprints mode that leaves no trace of itself on the host machine. Happiness at last: I have EditPad Lite installed on the flash drive, I can use it to edit my Python files, but there’s no chance of accidentally using it for work (thereby violating the terms of the license).

I even have some scripts written to rsync my files across the network to the iMac. (Very handy, when Sam is sleeping.) The workflow goes something like this:

  1. Edit files on the laptop
  2. Use rsync to copy changes to the iMac
  3. Point web browser on the laptop at the web server on the iMac, run the code
  4. Get crash dump instead of web page, cuss a bit, go to step 1.

There’s hope that someday I might actually finish this thing. How nice.