Writing
Notes on building software — the decisions that age well, the ones that don't, and what I learn in between.
-
a nice cup of coffee
-
salmon salad at home
-
eagle in the sky at loon lodge 2008
-
summer 2008 picnic at tidal falls
-
loon lodge summer 2008 1
-
You Know My Way
You Know My Way by Sean Behan [podcast]http://seanbehan.com/wp-content/uploads/2009/06/01-You-Know-My-Way-MP3.mp3[/podcast]
-
How to Use Pretty URLs with Rails will_paginate Plugin
The will\paginate plugin for Rails uses a key/value assignment like ?page=2, rather than the pretty url formats such as /page/2 ... This is because url generation and mapping are handled by the...
-
more of hessian
-
hessian
-
Using Your Partials in Your Liquid Templates
I'm working on a project that requires users/designers be allowed to edit the layout of their site. I'm using Liquid, Ruby templating system developed by the folks at shopify.com. Doing a little...
-
Dot htaccess file for wordpress installation (.htaccess)
Login to your wordpress installation and scroll to and click the second to last link set "Settings". You'll need to configure wordpress to handle your new links as "permalinks". Make a selection...
-
Rails: Expiring a cached page with namespaces and sweepers
I've got some pages that are cached using their permalinks on the filesystem, such as http://example.com/about-us.html which will need to map to RAILS\ROOT/public/about-us.html ... The issue I have...
-
Custom Date Formats for Your Rails Application
If you use a consistent date format often in your Rails applciation, it is worth it to add the format to your application environment. You can do this by adding it to the bottom of the...
-
Sending eMail with Rails on Mac OS X Development Environment
You'll need a mail transport agent (MTA). I installed and used postfix using Mac Ports. You'll need to start postfix, to send mail from your Rails application. You can set it as a startup item and...
-
Quick Syntax to Pipe an SQL Query Directly to a file
Here is a quick way to put the contents of a database table into a simple text file. This could be handy if for example, you just want to grab some emails and pop the results into a simple csv...