Random text plugin for Octopress

in   Code   , ,

Why a random text plugin? Just because I can. It’s easy enough to implement and with just a little knowledge of Ruby and knowing how to search the internet for some JavaScript, it’s a piece of cake.

Read more →

Handling 404 errors with Octopress

in   Code   , ,

Building a blog with Octopress can be a bit of a hassle at times. Having converted from Wordpress, I miss the “Page not found” error that Wordpress provides when you get a request for an invalid URL. Thankfully, with Apache, htaccess and a touch of code, you can create your own 404 page.

Read more →

Stardates

in   Code   , ,

Stardates are common usage in the Star Trek universe. You’d easily hear Captain Picard talking in the intro scene, “Captain’s log, stardate 41325.9”. These combinations of numbers are meant to give the viewer a sense of the future, without explicitly stating the exact timeframe in which the show occurs. Of course, we know that Star Trek: The Next Generation is set in the 24th century, but that’s beside the point.

Read more →