My flight-attendant wife (not with Westjet) sure got a kick out that one.
Blog
-
.vimrc Tweaks
I’ve recently made the plunge and standardized all my text editing needs around vim. That is to say vim when in local or remote terminal sessions and macvim when editing local files.
http://twitter.com/#!/stephdau/status/51275806772707329
Since this has lead me to tweak my .vimrc file, I figured I’d post its current incarnation for posterity.
[sourcecode]
set tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
set nowrap
set ruler
syntax on
filetype indent on
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType javascript set omnifunc=javascriptcomplete#CompleteJS
autocmd FileType html set omnifunc=htmlcomplete#CompleteTags
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType xml set omnifunc=xmlcomplete#CompleteTags
autocmd FileType python set omnifunc=pythoncomplete#Complete
autocmd FileType c set omnifunc=ccomplete#Complete
[/sourcecode]Here’s what it means:
- tabs config: I like my tabs to be real tabs, but show as 4 columns/spaces wide, not 8
- nowrap: most of my edits involve code and I don’t like soft text wrapping in that context. I just use
set wrapwhen I need it instead - ruler: displays the current cursor’s position (line/col) at the bottom right, which means I don’t need line numbers displayed and save some screen real-estate
- syntax: I like pretty colors when editing code 🙂
- filetype indent: cursor remains at the same tab stop when editing indented code and going to a new line.
- autocmd: sets code completion (AKA: Omni Completion) via ctrl-xo for PHP, Javascript, HTML, CSS, XML, Python and C
Those are the only configs I’ve found myself needing at the moment, but they made a huge difference in my daily productivity. Maybe they will for you too.
-
Canada: General Election on May 2, 2011
Let’s kick this moron out of office, shall we?
-
Spontaneous Generation
That’s a lot of air!
-
Senad Grosic Interview (via OnlySteeze)
There’s some pretty good content under the BMX tag on WordPress.com.
via OnlySteeze
-
National Parks: Death Valley, Zabriskie Point (via Another Header)
Deserts can be so gorgeous.
via Another Header
-
Henry Rollins FTW!
Promising a bit of ‘performance art’ for his Toronto appearance on Thursday evening, Henry Rollins started his show by raising the house lights, walking into the crowd and handing everyone in the venue a crisp ten dollar bill. […] Apparently, an error was made on the surcharges on the Toronto show and Rollins received a few emails from his Canadian fans asking why the tickets seemed more expensive than usual. Upon realizing the surcharges were added in error, Rollins took it upon himself to make sure the promoter had a ten dollar bill ready for every ticket sold and he took the time to walk the entire venue, seat by seat, and give the overage back, to cheers from the audience.
Via Henry Rollins – The Great Hall, Toronto – March 24th, 2011 | Lithium Magazine.





