tekin.co.uk

Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...

Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...

We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...

On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...

Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...

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

It sometimes happen that a database dump, that would want to insert into your development database, does not match the...

To find a version containing the regular expression foo in the history of any branch: git grep foo $(git rev...

In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...

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

Select2 is a fantastic library for advanced dropdown boxes, but it depends on jQuery. Alternatives Tom Select

makandra dev
github.com

If you render markdown from user input, an attacker might be able to use this to inject javascript code into...

makandra dev

Using git fixup helps you to speed up appending changes further back in the git history of your feature branch...

When you have many changes, and you want to spread them across different commits, here is a way to stage...

github.com

The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...

Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...

github.com

Because colors improve readability so much. On Ubuntu 18.04 you can install it with sudo apt install grc

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

medium.com

Root Insurance runs their application as a monolithic Rails application – but they've modularized it inside its repository. Here is...

makandra dev

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

This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...

Projects with more than one developer should always consider to enforce code review even for small changes to improves the...

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

Most of the time it is a tedious task to apply a code style guide to an existing code...