Sal's Blog
user

Sal's Blog

Opinionated latino code jockey explains why he's super-clever and why your opposing views make you ugly and stupid


Featured

DevOps

Deploying a Rails API app with Heroku Pipelines

Posted on .

I recently started using Heroku’s pipelines on a Rails API project, and found that, unfortunately, it still doesn’t support post-deploy scripting. Since running migrations automatically is pretty important (especially in production), I wrapped Heroku CLI commands in a couple of handy Bash functions:

Featured

CSS

A Less Fugly BEM

Posted on .

BEM has brought me some much-needed sanity to several CSS codebases getting too big for their britches. But it’s freakin’ hideous. I recently came up with a simple tweak to the BEM syntax which, although fairly blasphemous, adds semantic meaning and—in the eyes of the author, at least—is a fair bit less fugly to behold.