When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...

This card explains how to generate an entity relationship diagram for your Rails application. We also show how to limit...

DevOps Curriculum

Wir wollen im Detail verstehen, wie in Unix-Systemen Prozesse gehandhabt werden und wie wir Prozesse aus dem Userland behandeln...

A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...

makandra dev

Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...

git --fixup is very handy to amend a change to a previous commit. You can then autosquash your commits with...

Generate a password htpasswd -Bn firstname.lastname This will ask you for a password and use bcrypt (-B, more secure) and...

To attach files to your records, you will need a new database column representing the filename of the file...

makandra dev

In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...

By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...

By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...

When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...

makandra Operations

Getting the whole bucket size aws s3 ls s3://$BUCKETNAME/ --recursive --human-readable --summarize | tail -n2 Tail is used because...

When loading a database dump created with pg_dump into your database, you might run into an error like

web.archive.org

There is a common view that extracting text from a PDF document should not be too difficult. After all, the...

A flat folder structure can be cool if you have only a few folders but can be painful for huge...

Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...

"Open-source software (OSS) is great. Anyone can use virtually any open-source code in their projects." Well, it depends...

When an event listener on a DOM element throws an error, that error will be silenced and not interrupt your...

Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.

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

makandra dev

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

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

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