Starch, my accidental static site generator

I was working on a basic static site (more on that to come in a later post), and I wanted to streamline my development workflow with some automation of repetitive development tasks. Specifically, I wanted to be able to: Launch a local development server with livereload Automatically compile SASS and…

READ MORE

Calculate the moon's phase with Lunartic

I recently released my second gem, Lunartic. It allows you to easily calculate the phase of the moon on a given date. Check it out! $ gem install lunartic $ irb irb(main):001:0> require 'lunartic' => true # get moon data for today irb(main):002:0> moon = Lunartic.…

READ MORE

ghost-export

Due to the lack of a convenient way to export the Markdown from a Ghost blog, I've written a nodejs module to do exactly that! It's called ghost-export and you can install it like this: $ npm install -g ghost-export Then, you can use it like so: $ ghost-export /path/to/ghost/…

READ MORE

Testing Thor command lines with RSpec

My recent adventures have had me working with both RSpec and Thor for the first time. I had to do a little tinkering to come up with a strategy for using the two together harmoniously -- here's what I found. Handling Input The cool thing about Thor is that you…

READ MORE