Author: Stephane Daury

  • WestJet Inno-fool-vation

    My flight-attendant wife (not with Westjet) sure got a kick out that one.

  • .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 wrap when 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.

  • 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.

    Senad Grosic interview! Many of you already know him, he’s one of the funniest dudes I know, a very talented rider and a good person. Born in Croatia, lives in Austria. He comes to many of our contests so you know how many crazy and technical tricks he can do. Check out the interview with Senad Grosic! … Read More

    via OnlySteeze

  • Chocolats de Villars

    20110329-201746.jpg

    Our neighbor brought us some delicious Swiss chocolates back from Paris. Yum!

  • National Parks: Death Valley, Zabriskie Point (via Another Header)

    Deserts can be so gorgeous.

    National Parks:  Death Valley, Zabriskie Point It’s odd how traveling to a foreign land inspires you to see something you’ve missed closer to home.  But sometimes that is the way it works.  At least that is the way it works for us. We started thinking about a trip to see Death Valley while visiting Chile’s Atacama Desert. The Atacama’s parched landscapes intrigued us.  It inspired us to look closer at the … Read More

    via Another Header

  • Oh Haï!

    20110329-093543.jpg

    Here’s the source of (some of) the paw prints seen on my office window. And no, she’s (still) not ours. She’s our cat‘s girlfriend.

  • 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.