makandra dev

Code comments allow for adding human readable text right next to the code: notes for other developers, and for your...

Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...

makandra dev

Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...

This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...

Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...

makandra dev

SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...

pganalyze.com

It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...

When restoring a barman PITR backup you may encounter this error: Copying required WAL segments. EXCEPTION: {'ret': 2, 'err': '/bin/sh...

makandra dev

A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...

makandra dev

Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...

matthewphillips.info

A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...

Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...

Unicorn allows you to specify the maximum number of workers. In development this could be useful if you use a...

The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error...

postgresql.org

There is an issue with when restoring a PostgreSQL dump created with pg_dump < v11 with pg_restore > v10:

This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.

github.com

I got this error after upgrading Ruby from 2.4.5 to 2.6.4 when I opened the Rails console - rails server still...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

The main benefit of our convention to prefix commits by their corresponding Pivotal Tracker ID is that we can easily...

makandra dev

The ruby sass gem also installs a command line tool to convert to and from SCSS. Use it for a...

makandra dev

CSS transitions are a simple animation framework that is built right into browsers. No need for Javascript here. They're...

Unfortunately I couldn't find a complete and working documentation on how to do this. But this steps succeeded (at...

There are several ways to merge two (or more) PDF files to a single file using the Linux command line...