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...

Rails uses a CSRF token in forms and AJAX requests to verify a user request. Internally it compares the injected...

Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...

github.com

From Ubuntu 17, rbenv fails to install Ruby below 2.4 because of a mismatching OpenSSL dependency: it needs libssl1.0-dev for...

If rspec hangs with no output and you dont get a backtrace neither with --backtrace nor by just killing it...

The gem json fails to install for Ruby 2.5 if you use a version equal or below 1.8.3.

Travis changed their default distribution from Ubuntu 14.04 (trusty) to 16.04 (precise). This might break your test setup for new...

For searching in large database tables we usually use PostgreSQL's fulltext search capabilities. While this works reasonably well for...

In ruby you can easily read and write CSVs with the standard CSV library class. On top of this, you...

makandra dev

To restart all tasks monitored by God, don't use god restart. This command is only meant to soft-restart...

S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...

Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...

On some machines, installing Ruby 1.8.7 with ruby-build can lead to this error: math.c:37:13: error: missing binary...

Whenever is a Ruby gem that provides a nicer syntax for writing and deploying cron jobs. Leading zeros are important...

wiki.postgresql.org

When you have a large PG database, you may want to find out which tables are consuming the most disk...

makandra dev
curl.haxx.se

When making requests using curl, no cookies are sent or stored by default. However, you can tell curl to re...

makandra dev

An end-to-end test (E2E test) is a script that remote-controls a web browser with tools like Selenium...

Slides for Henning's talk on Sep 21st 2017. Understanding sync vs. async control flow Talking to synchronous (or "blocking...

askubuntu.com

While the hardware mute button of my Lenovo x230 worked on Ubuntu 14.04 out of the box, it does not...

When localizing model attributes via I18n you may run into errors like this: I18n::InvalidPluralizationData: translation data {...

...} can not be...

gist.github.com

Here is some JavaScript code that allows you to click the screen and get the clicked element's text contents...

stackoverflow.com

This card will show you how to use git rebase --onto without confusion. Use case: You've got two feature...

makandra Operations

You can use wscat: sudo apt-get install node-ws # wscat -c ws://echo.websocket.org connected (press CTRL+C to quit...