Development
Sharing Context Between Dependent Rake Tasks
I use Rakefiles quite a bit like traditional Makefiles, in that I specify immediate dependencies for an individual task and Rake will execute all of them. If a …
Ruby Code Quality Metrics
I like getting unopinionated feedback on the quality of the code I write. Sometimes I can get this from other developers but they tend to get annoyed being …
Extracting Content From Markdown
Recently I've been playing around with building a pure javascript full text search engine for static content sites like this one. One of the challenges with …
Calculating RSA Key Fingerprints in Ruby
I regularly find myself working on projects that involve the manipulation and storage of RSA keys. In the past I've never had to worry about identification or …
Creating Crypt Style SHA512 Passwords With Ruby
I needed to generate crypt-style SHA512 passwords in ruby for an /etc/shadow file. After a bunch of Googling and messing around with the OpenSSL library I …
Access GET Parameters With Coffeescript
I've been working on a pure JavaScript based search engine for this static website and needed to access a get parameter within the URL. I found a few solutions …
Ruby's Option Parser - a More Complete Example
found top level header in "/blog/2012/12/rubys-option-parser-a-more-complete-example/" that didn't match meta title ("Ruby's Option Parser - …
Keep Your Gems Updated
I recently went back through my backups recently and found quite a few old abandoned projects. Looking back on the code I see some things I'm impressed with, …
CarrierWave, S3 and Filenames
This is going to be a real quick post. I'm using the "carrier_wave" gem with "fog" for one of my projects and found that when a file is …