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

makandra dev

Besides their default styling properties, HTML elements have a semantic meaning. For example, an h1 tag is usually styled with...

Most browsers have built-in drag and drop support for different page elements like text and images. While this may...

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

We had a card that described how to install multiple mysql versions using mysql-sandbox. Nowadays with the wide adoption...

You can scale background images in CSS to the container size using background-size (Demo). Commonly, we use contain or...

When using custom properties in your stylesheets, you may want to set a specific property value to an existing variable...

You can throttle the network in your headless chrome via Selenium. This might be useful for debugging issues with flaky...

When giving a presentation where you do some coding, the font size you usually use is probably a bit too...

When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...

When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...

Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...

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

I really love to use the shortcuts CTRL+Alt+ Arrow Left and CTRL+Alt+ Arrow Right to navigate through the...

When you have a hex color code, you can easily convert it into its RGB values using plain Ruby.

tableconvert.com

https://tableconvert.com/ is an online tool to convert tables between different formats (e.g. json, markdown, csv).

When your Rails application server raises error, Capybara will fail your test when it clears the session after the last...

Browsers blocks abusable JavaScript API calls until the user has interacted with the document. Examples would be opening new tab...

makandra dev

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

We had the issue, that a VCR spec failed, after updating CarrierWave from version 0.11.0 to 1.3.2. In this version...

CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...

If your project depends on an old version of ImageMagick that you can no longer install in your system, you...

bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples

Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...