When you have two inputs, where one contains the name of the other (eg. Name and Name with special treatment...

Browsers come with a set of built-in elements like or . When we need a new component not covered by...

If you want to make your Rails application be capable of sending SMTP emails, check out the action mailer configuration...

pganalyze.com

It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...

eregon.me

Bundler 2 introduced various incompatibilites und confusing behavior. To add to the confusion, Bundler's behavior changed after the release...

Im using the terminator terminal with the keyboard shortcut Control+Shift+E for splitting the terminal. I got used to...

aws ec2 describe-instances --output text --query 'Reservations[].Instances[?!not_null(Tags[?Key == `aws:autoscaling:groupName`].Value)] | [].[InstanceId]' | xargs -L1...

aws rds describe-db-instances | jq '.[][] | select(.DeletionProtection == false) | .DBInstanceIdentifier' | xargs -L1 -t aws rds modify-db-instance --deletion-protection...

For newer Ubuntu versions we currently need to install the patch level version 1.8.7-p375, otherwise the dev dependencies from...

When tests might not run with skipping RSpec in the RSpec.describe failing with the error undefined method 'describe' for main...

A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...

So I had the issue that User input (coming from many different sources and users) often contains the...

makandra dev

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

You can use the Youtube API to get data from youtube. Here are some resources and some things that are...

matthewphillips.info

A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...

There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...

caniemail.com

The french Tilt Studio built a caniuse clone for email clients. Note that while checking styling support helps using (or...

api.rubyonrails.org

ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...

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

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

jQuery is still a useful and pragmatic library, but chances are increasingly that you’re not dependent on using it...

Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...

makandra dev

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

Normally, Rails handles encryption and signing of cookies, and you don't have to deal with the matter. Should you...