How to output and highlight syntax with Rouge gem

I'm currently working on a side project (can't disclose it yet, as it's progressing fairly slow, I guess that's why they're called side projects, right?) that requires me to show some dynamically written HTML code that users can copy/paste. For this, I needed a syntax highlighter; I didn't want…

We love women!

Yes, it was me. Now before you judge, read on. This post is a bit of a reply to a blog post by Helen Hou-Sandí, called Unintentional Destruction (go on, read it, if you haven't yet) Last month we attended WordCamp EU 2014 in Sofia, Bulgaria. Like every year, Matt…

How to connect to Rails console on AWS OpsWorks

When running your Rails app in production on AWS OpsWorks, it's sometimes useful to connect to the console to perform some tasks your custom admin section doesn't provide functionality for. The usual path to achieve that is to SSH on one of the servers in Rails layer, then cd to…

How to organize and develop responsive HTML emails with Middleman and Premailer

At Codeable we send more than 40 transactional emails (in HTML) and until recently it has been a total mess both to develop and organize them. After a friend of mine introduced me to Middleman (for another purpose), I quickly though this could be the solution to our problems and…

Startup conferences are (mostly) a waste of time.

Full disclosure: This is a rant. You were warned. Last week I attended a startup conference in Vienna called Foundertalks which I especially looked forward to for several reasons; First it was invite-only, which kinda made me feel important to a degree when I considered myself worthy of connecting with…

Test driven fundraising

We've done our fair share of mistakes when fundraising for Codeable but now in retrospective I think it couldn't have gone better. After all it was test driven! If you're a developer, you're probably familiar with TDD, or test driven development. If you're not, it goes something like this: You…