A Post Entitled Moving in
After talking with Chris, I decided to move my blog posts from the Upstate Ruby Brigade site to a home of my own (on tumblr). No offense intended to anyone in the Greenville ruby community… just certain factors make it much more worth my while to have my thoughts associated with, well, me.
I think I’ve got all the posts rebuilt with the appropriate dates so (re)enjoy!
Edit — a note on styles
Just in case you’re interested, I’ve stolen a page from the guys at thoughtbot for styling code blocks. After looking under the hood of their blog with cdmwebs I rooted out the javascript-based syntax highlighting they used from softwaremaniacs. The exceptionally nice things about softwaremaniac’s highlight.js are
- You only need pre and code tags (no classes) so you can use it with something like Markdown.
- You can select the languages you use and they’ll custom build you a packed js.
- Since you picked the languages you like, you don’t have to do anything with the markup to tell the js which language to highlight.
- There is a suite of css files shipped with your packed js so you don’t have to pick your own color themes. You can use, modify, or imitate theirs.
For my part I’ve gone with the Sunburst theme because it’s fairly close to the coloring scheme that Ryan Bates uses with Railscast. I personally find the color scheme easy on the eyes and there’s something to be said for breeding familiarity.
On the whole the site is a stock theme from tumblr. To get the syntax highlighting I
- Stuck the unzipped highlight package into my github account
- Customized the tumblr layout by adding a script tag reference to the raw highlight.pack.js file from my github source.
- Added a stylesheet reference to the sunburst.css
- Added a two-line script to activate the syntax highlighting on page load