Work from December, 2007

Browse archive...

← Back to Homepage

if i had the book with me, I’d look this up (vim)

Another thing I repeat: /^.\{5,100}$ Find short lines, but not blank ones. Most of those lines are headlines, so :s/p>/h3>/g Replace all occurrences of "p>" (like <p> and </p&g;t) with "h3>". Two problems: one, I can't repeat the search (I can, but it takes two keystrokes, which is one too many for me) ...

View if i had the book with me, I’d look this up (vim)

Homecoming

On Christmas Eve. Way earlier than anyone thought. And a good thing, too, because we are, one and all, sick of this. Sick of hospitals and of looking around at all of the horrible ways in which it could be worse, sick of explaining what happened (I am, anyway. And ...

View Homecoming

Vim Scripting

One rule among many: whether or not it is more time-efficient, it is always more rewarding to write a script than it is to repeat just about anything. If only I could script cleaning the toilet (oh wait, I never actually ...) Seriously, though. I want, specifically, to write a ...

View Vim Scripting

Stopping Unnecessary Services

I'm not a very good sysadmin, or perhaps I'm the best sysadmin ever, but when I got here our server was sending out all kinds of spam. It was redunculous. I managed to cut a lot of it off, but I still see signs of the wolves circling at the ...

View Stopping Unnecessary Services

Find This

Kaiser's rehab hospital goes by the acronym KFRC. If you grew up in San Francisco you know why that cracks me up. The rehab hospital has a farmers market out front with amazing tamales and enchiladas. This is something I miss about the Bay Area, in general, tamales at the ...

View Find This

Addressbooks in Order

Sitting here thinking "gahh. It blows that I can't just pick two entries from my Thunderbird address book and consolidate them." when it occurred to me to make sure I was right about that. There is a plug in for that. Go figure. Other things there are plugins for? * Toggling word wrap (which dkg is sometimes on my case to do, and which you need if you're trying to send error messages to people who can help you decipher them.) * Syncing .mab files (which is basically all I want from LDAP, and probably closer to the "right" way to go about it.) Or a variation on that theme. * Managing identities better. Actually, there are a few addons for that one. One that seems like it might make me insane and one that looks about right. I may or may not think to let you know if any of these work out for me. Still on my wishlist? Thunderbird needs an offline state. I've moved to IMAP almost exclusively, which is working nicely in many ways, but which means that my drafts are always stored on the server. I want to be able to say to Thunderbird "I know that I am offline. Could you store my drafts in a local folder until I get back online (or forever)? That'd be swell, thanks."

View Addressbooks in Order

Wireless commands that work

Hypothetically, let us say that you just paid cash for a wireless router from a guy who goes by the name "Sir Yoda." Let us say then, that you were looking forward to using this router. Google knew the default password. Off to a good start. Anything plugged into the Barricade seems to be online. On a roll. The point of doing business with a guy named Yoda was to be able to take Brahms downstairs to where the table is big and you can eat ice cream without fussing with coasters. You want wireless. What little bits I already worked out back in May got me as far as some errors to search on (errors like There is already a pid file /var/run/dhclient.ath0.pid with pid 14919232), which got me to: sudo /etc/init.d/networking restart Which worked. I'm connected, though sans encryption. Next challenge?

View Wireless commands that work

Uncurling (and understanding extended characters)

I'm looking for the cleanest and most reliable way to undo what Word so kindly hath wrought. Curly quotes begone. And I need it to be easy, because it is not for me. Here's the situation: we get lots of text coming in from all kinds of places. Usually, ...

View Uncurling (and understanding extended characters)

old bones (jared needs a subletter)

Looking for a way to spend the winter in Brooklyn? My old bones don't seem to care so much for the cold weather any longer; so, in typical fashion, I am trying to avoid the winter. I would like to sublet my room from January 15 through the end of ...

View old bones (jared needs a subletter)

Ask Cherry Crush (no stupid questions)

Or, why I hate proprietary hardware. hey lady- i need to get an additional router thingy so that i can broadcast a signal from a base station in my office area, then bounce it down the hall with airport express. do i have to buy an airport base station for that, or ...

View Ask Cherry Crush (no stupid questions)

← Older

FolioGrid - a Premium Wordpress Theme by FrogsThemes.com