ImageMagick can convert SVGs to raster image formats. Example for PNG: convert input.svg output.png If the SVG has a...
Some users might use Adblock Plus or similar browser plugins to reduce the number of ads displayed. If you run...
Since GitLab 10.3. you can use Mermaid in GitLab comments: Gitlab Doc. With Mermaid you can create diagrams based on...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...
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.
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...
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...