Categories
Jokes Linux

Nerd Poetry

< > ! * ' ' #
^ " ` $ $ -
! * = @ $ _
% * < > ~ # 4
& [ ] . . /
| { , , SYSTEM HALTED

Translation:

Waka waka bang splat tick tick hash,
Caret quote back-tick dollar dollar dash,
Bang splat equal at dollar under-score,
Percent splat waka waka tilde number four,
Ampersand bracket bracket dot dot slash,
Vertical-bar curly-bracket comma comma CRASH.

Categories
Linux

99 little bugs in the code

99 bugs in the code

patch one down, compile it around

117 bugs in the code

Categories
Family

This is what the kids learn at camp

Whatchya doin’?

Eatin’ chocolate.

Where’d ya get it?

The doggy dropped it.

Where’s the doggy?

Behind the door.

What’s he doin’?

Makin’ more.

Categories
Linux

Vim and tabs

At work, we use vim for our editing needs – which, as programmers, means we spend our day in vim.

We have a lot of mixed-format code – sometimes it has tabs, sometimes it has spaces.  Personally, I prefer spaces for my indenting, but I’m a convert to the church of make-your-code-match-the-existing-code.  As opposed to reformatting the existing code, which is soooo irresistible until you’re faced with a mountain.

So, I have to switch back and forth a lot.  Here, for the sake of posterity, is how to switch from spaces to tabs on-the-fly in vim:

:set noexpandtab
:set copyindent
:set preserveindent
:set softtabstop=0
:set shiftwidth=4
:set tabstop=4

Categories
Fluff

Futurama

Professor: Being captain is about intuition and heart. A good captain can’t have either one. That’s why cold, logical Bender is perfect for the job.

Bender: Well, I do think of human life as expendable.

Categories
Family

Dad Strikes Again

I’ll be honest, this post is mostly to gloat.

The night after the other parental unit’s disastrous night in the tent, I offered the kids a second camping trip to the back yard.

Alpha slept all night… in the tent.  (willingly!)

Beta slept all night… in the tent.

I slept all night… in the tent.

I was the last one to nod off, and that was before eleven p.m.  And we all slept until after sunrise.