getpostman.com

Talking with APIs makes more fun using Postman. As an alternative you can also use command line tools like cURL...

I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was not so easy to get rubymine:// links to work on...

...Does xdg-open "rubymine:///etc/hosts" open the hosts-file in RubyMine? Step 4: Tell better_errors to use your opener The BETTER_ERRORS_EDITOR_URL environment variable can be used...

...GA configurable without changing anything in the application's code base (and much more beyond, see below). Only prefer GTM if the customer requests it, or if he is updating...

...his tracking requirements frequently. The idea behind GTM The "tag" in "Google Tag Manager" has nothing to do with HTML tags, nor with word tags or tag clouds. In the...

adobe.com

Flash movies (.swf files) can talk with Javascript code embedded in the same HTML page. There are two ways to...

It is quite easy to migrate from CoffeeScript to ES6. You can use decaffeinate to convert your CoffeeScript source to...

github.com

Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...

atlassian.com

Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...

Webpack is the future. We're using it in our latest Rails applications. For tests, we want to compile assets...

Removing features and merging those changes back can be painful. Here is how it worked for me.\

open-ui.org

...To do that, we’ll need to fully specify the component parts, states, and behaviors of the built-in controls, as well as necessary accessibility requirements, and provide test suites...

...reinvent common web UI controls to give designers full control over their appearance and behavior. We hope to make it unnecessary to reinvent built-in UI controls, but for those...

Using Capistrano, we usually have some array configurations in the config/deploy.rb file, like set :linked_files, %w[config/database.yml], so in...

...fills in the query "foo" Also see An auto-mapper for ARIA labels and BEM classes in Cucumber selectors

jsbin.com

If you try to listen to events on elements that are nested inside a , Firefox will stop event propagation once...

rspec.info

In modern default RSpec configurations, your tests are usually run in random order. This helps to detect "flickering" tests that...

Element finding is a central feature of Capybara. Since #find is normally used to get elements from the current page...

Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).

When you need to find out in which kind of spec you are during run-time, it's definitely possible...

Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...

To avoid multiple versions of a package, you can manually maintain a resolutions section in your package.json. We recommend you...

We're usually running Ubuntu LTS versions. Sometimes newer hardware requires packages from more recent Ubuntu releases that only come...

So you added a new callback to your model that (e.g.) caches some data when it is saved. Now you...

Regular expressions in Javascript are represented by a RegExp object. There also is a regex literal as in many other...

makandra dev

...for Rails 2 and 3. Recently, caching with timestamp- or content-based keys has become more popular which saves you the pain of invalidating stale caches. How to enable/disable caching...

makandra dev

...willy@astor.de" And I follow "Cancel account" Then I should see "Account canceled" By going beyond the single line descriptions we've accustomed to, we can provide all the information that...