the mental meanderings of a nerd in the twin cities who has a family and a bike and some other stuff...
05 August, 2012
photos of the photographer
23 July, 2012
maiden voyage with the banjobrothers backpack
this is the large (2000ci) commuter backpack. still pretty low profile. it rode ok, but after all these years with messenger bags, it felt a little weird to have straps on both shoulders. plenty of room for laptop, clothes, raingear, food and coffee.
21 July, 2012
function! s:RunShellCommand(cmdline) echo a:cmdline let expanded_cmdline = a:cmdline for part in split(a:cmdline, ' ') if part[0] =~ '\v[%#<]' let expanded_part = fnameescape(expand(part)) let expanded_cmdline = substitute(expanded_cmdline, part, expanded_part, '') endif endfor botright new setlocal buftype=nofile bufhidden=wipe nobuflisted noswapfile nowrap call setline(1, 'You entered: ' . a:cmdline) call setline(2, 'Expanded Form: ' .expanded_cmdline) call setline(3,substitute(getline(2),'.','=','g')) execute '$read !'. expanded_cmdline setlocal nomodifiable 1 endfunctioni found out about this here: http://vim.wikia.com/wiki/Display_output_of_shell_commands_in_new_window
then, i added some commands to my vimrc:
this one searches all my groovy files for the word under the cursor (the
command! Srchwg call s:RunShellCommand(
'find . -name \*.groovy -exec grep -H --regexp="' .expand("<cword>").'" {} \;')
this one, takes an argument for a filename extension and will search all files of that type for the word under the cursor:command! -nargs=+ Srchw call s:RunShellCommand(
'find . -name \*.'' -exec grep -H --regexp="' .expand("<cword>").'" {} \;')
now, i can have my cursor on a line and type :Srchwg which will open a window with a list of files that contain the word. or, if i type :Srchw js, i'll search all js files in my project for the word under the cursor. nice.
i was thinking of writing a function to, then, open files based on the buffer opened by the RunShellCommand method, but i found that vim already has functionality to do that. all i needed to use was the handy-dandy gf functionality!
anyway, one of these days, i'll package up all of my vim tricks into either a vimball or just a vimrc that you can source into your vimrc and open source it on github.
19 July, 2012
17 July, 2012
what's worse than e-mail spam?
phonebook spam! i neither need nor want this damn thing, yet someone killed trees, wasted energy manufacturing it, and burned fuel delivering it. now, additional energy is going to go into recycling it. PITA? more like a PITE (pain in the environment).
11 July, 2012
07 July, 2012
rest on our ride
the fam took me on a bike ride for my birthday present (couple of days early). this was a pr in distance for the kids, we did a 20miler.
04 July, 2012
all 43 seconds of the roseville fireworks were fun
but it was a little sad that red, white, and boom (minneapolis), started before and ended after our fireworks. an attaboy for whomever selected the launch site for roseville, as we had a completely unobstructed view from the victoria st ball fields, my favorite spectating location.
25 June, 2012
grossest mascot ever
poor peety peecup, destined to go through life half empty (or only half full, either way, it's gross)
22 June, 2012
20 June, 2012
19 June, 2012
17 June, 2012
photographer lady at the nvgp
11 June, 2012
09 June, 2012
american standard, can you identify me?
08 June, 2012
My rating: 4 of 5 stars
An odd flow for a book (at times) but it really works. The pages with odd typography and the inclusion of the spam e-mail created an internet-esque stream of consciousness.
Coupland's appearance in the book is an interesting device. I was totally surprised when he showed up, but I it was foreshadowed a little.
The end? Eh... maybe not the greatest, but there were a ton of great hooks throughout the book, e.g., the team's little competitions. He also took characters who do some pretty outrageous things and showed you their human side. There are many shades of grey, even the douchey Steve has a soul.
View all my reviews
07 June, 2012
06 June, 2012
22 May, 2012
hidden treasures around the yard
jeeze, there's all sorts of beautiful stuff tucked in the nooks and crannies of this yard!
thanks to my beautiful wife for her gardening prowess!
21 May, 2012
20 May, 2012
12 May, 2012
08 May, 2012
26 April, 2012
12 April, 2012
springonabike
positive vibe untouched by the call of the mourning dove.
turn the pedals;
locomotion turns to...
fleeting, disposable poetic thoughts.
escaping and being traffic,
dodging shadows, and
turning pedals;
a solar-and-caffeine-powered ride
arrives at its destination.
07 April, 2012
06 April, 2012
2 shadows, one rolling, one standing
track standing, that is... not so easy to get a phone out, unlock it, go to camera and snap a pic--all while doing a trackstand, mind you!








































