If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:
If you're supporting IE9+, you can listen to input to see if a text field changes. Other than change...
To disable the mostly useless automatic suggestion popups in RubyMine, go to File / Settings, then to Editor / General / Code Completion...
Developing complex regular expressions quickly blows my mind. Here are some online regex editors that help you by highlighting matching...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...
Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...
When you want to UPDATE a table with information from an associated table, you can JOIN the associated table into...
jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...
There are times when you have a chunk of text that you want to do something with, e.g. replace something...
dmesg shows the kernel ring buffer containing low-level system messages. Per default, dmesg shows a timestamp:
In RSpec you can tag examples or example groups with any tags you like simply by saying describe ReportCreator, slow...
Fontawesome 4 has introduced new naming conventions that make it easy to retrieve variants of a given icon.
Starting from Rails 4.0, you can use a special form options helper called #collection_check_boxes. It behaves similar to...
When using threads, you must make your code thread-safe. This can be done by either locking (mutexes) all data...
This cheat sheet...
...aims at providing a quick reference to the most commonly used features in AngularJS.
There are some frontends available, but they all suck, are no longer maintained or are hard to install.
Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...
Web applications can be used by multiple users at the same time. A typical application server like Passenger has multiple...
If you need to log to a file you can use Ruby's Logger class: require 'logger'
If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...
Write a // and indent every subsequent line by two spaces. This is great for documenting BEM blocks! // An action button...
Be careful when using buttons without a type attribute, since browsers will consider them the default submit button of a...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
The linked article explains how to get a database-wide lock without creating table rows: This article explains how I...