When upgrading Rails versions -- especially major versions -- you will run into a lot of unique issues, depending on the exact...

github.com

This repository was created with the intention of helping developers master their concepts in JavaScript. It is not a requirement...

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

Normally you can list all gems of the current ruby version with gem list, which also includes the gems of...

In this example we assume that not only the storage gem changes but also the file structure on disc.

github.com

Masonry is a famous library to dynamically arrange a grid of items that have different aspect ratio, like horizontal and...

makandra dev

Geordi provides a pretty neat way to generate beautiful commit messages according to your stories in Linear: geordi commit

Migrating data from a legacy into a new system can be a surprisingly large undertaking. We have done this a...

At makandra, we've built a few gems over the years. Some of these are quite popular: spreewald (> 1M downloads...

Just like Ruby Gems tag their version releases to the corresponding Git commit, it can be helpful to track production...

makandracards.com

In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...

makandra dev
content.pivotal.io

A matcher is a function that returns an object with a compare key. Usually it is registered with beforeEach...

github.com

Using the JS fullscreen API is painful because all browers use different methods and events and you need to use...

MySQL and MariaDB have an SQL mode setting which changes how MySQL behaves. The SQL mode value is comprised of...

Say you want to move a git repository from one remote (perhaps Github) to another (perhaps Gitlab).

makandra dev

Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...

RSpec allows you to mark a single Example/ExampleGroup so that only this will be run. This is very useful when...

makandra dev

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

gist.github.com

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

You can use local copies of gems in your Gemfile like this: gem 'spreewald', path: '~/gems/spreewald' As soon as you...

makandra dev

If you use the Better Errors gem, you will sometimes notice that it can be very slow. This is because...

makandra dev
rawgit.com

RawGit serves raw files directly from GitHub with proper Content-Type headers, for CDN-like purposes. Note that they don...

To easily opt out of notifications for a large number of Github repositories, go to https://github.com/watching.

stackoverflow.com

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