A Ruby-ish Xmas

Ruby-ish, rubbish… Get it? Anyways, not like Ruby-ish means bad! Quite the opposite!

It’s the day after Xmas and because Ruby is awesome and delivered 2.6.0, we’ll get to play with some of our new Xmas gifts: Kernel#then, Proc#>> and Proc#<<.

Continue reading “A Ruby-ish Xmas”

ePubber – generating ePub files with Ruby

ePub is a digital book format which is pretty common nowadays. It’s supported natively by Windows and Android and it’s one of the official formats for digital books in the Apple Books store.

In this post I’ll talk about generating ePub files with Ruby and how to painlessly integrate this feature to your application. I’ll be using a Ruby gem I created called ePubber, which I created to help manage ePub content.

Continue reading “ePubber – generating ePub files with Ruby”

Dependency Injection in JavaScript, a Node.js example

As developers, we are tasked with reducing complexity. Complexity is all around us, and good code organization reduces complexity while at the same time supporting increased flexibility, ease of change, quicker onboarding, faster debugging, and my favorite, better testing.
Continue reading “Dependency Injection in JavaScript, a Node.js example”

Simple Bash Scripts for Lazy People | Part 1: Git

While the attribution may be hazy, the notion of laziness being an attribute of a good programmer is popular. I don’t know how good of a programmer I am, but I am really lazy.

So lazy that if I find myself doing something over and over, I write a script to do it for me the next time. Continue reading “Simple Bash Scripts for Lazy People | Part 1: Git”

Simple Bash Scripts for Lazy People | Part 4: Cadaver Dissection

This is part 4 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 4: Cadaver Dissection”

Simple Bash Scripts for Lazy People | Part 5: When to Choose Bash

This is part 5 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 5: When to Choose Bash”

Simple Bash Scripts for Lazy People | Part 3: Other Examples

This is part 3 of a five-part series: Continue reading “Simple Bash Scripts for Lazy People | Part 3: Other Examples”

Writing a Markdown Compiler – Part 3

Have you ever wanted to make your own programming language? Maybe a template engine? A JSON parser? If you have ever built any of those, you might have noticed it’s not exactly easy to get started. We’d like to help with that.

Welcome to Part 3, the final in this series on Writing a Markdown Compiler!
Continue reading “Writing a Markdown Compiler – Part 3”

1 2 3 4