Dr Fragen in the operating room
  • Snowboardin' aftermath

    ·

    We all had a great time in Utah. The weather was beautiful. Jonathan managed to do pretty well on a board. The real aftermath is we’re all real sore.

  • Snowboardin'

    ·

    Off to [Park City][1] for the weekend to do some snowboarding with my son. It should be lots of fun my brother, Alan, got all the sibs and their respective kids together. Thanks Alan. [1]:http://www.thecanyons.com/

  • Squib rendering, part 2

    ·

    In the `homepage_controller.rb` there is a private definition `publish_changes` that contains the pages that are rendered if the entry is newly posted or updated. The part relating to rendering archive pages is as follows. publish( “archive_page”, { :year => entry.when_published.year, :month => entry.when_published.month, :day => entry.when_published.day } ) Because it passes all three parameters to…

  • Converting the Clipboard

    ·

    [Steve][1] talks about un-styling of the text on the clipboard for pasting into other apps. As he rightly points out some apps support this natively. For the rest, here’s a simple shell script that I’ve saved as a background app via [Platypus][2]. #!/bin/sh pbpaste | pbcopy After copying text I just run this background app…

  • Squib rendering

    ·

    [Squib][1] renders several different types of pages. 1. Home page 2. Archive page 3. All Posts page listing of all posts by title 4. All Archives page (Monthly Archives) listing of all months with posts and number of posts per month 5. Date based archives * day lists all posts for that day * month…

  • Atom Syndication

    ·

    [Steve’s][1] got a valid Atom 1.0 feed working for [Squib][2]. A couple of minor changes to the templates and now I have a Atom Autodiscovery link and a sidebar link. Cool. [1]:http://houseofwarwick.com [2]:http://squib.rubyforge.org/