Some browsers define window.event, which will return a copy of the "current" event. However, this is not defined by the...
When a method has keyword arguments, Ruby offers implicit conversion of a Hash argument into keyword arguments. This conversion is...
Writing ruby methods that accept both optional and keyword arguments is dangerous and should be avoided. This confusing behavior will...
This is a guide on how to effectively use Git when working on a feature branch. It is designed to...
Starting with Rails 4.0, when you get an exception reported via the ExceptionNotification gem, you will only see a very...
Rails 5 will introduce ActiveRecord::Relation#or. On Rails 4 and 3.2 you can use the activerecord_any_of gem...
When working with PostgreSQL, you can use pgAdmin as a GUI. While you can do most things just like on...
I figure we needed a definitive reference for what work is triggered by changing various CSS properties. It's something...
A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...
Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
In the DevTools settings, there's a "Shortcuts" section. Found these keyboard shortcuts there: General ESC Toggle drawer
While debugging an intricate issue with failed HTTP requests I have come to appreciate the more advanced features of the...
If the project team consists of at least 2 members, do a daily standup. It should not take much longer...
When working on a bigger project, the easiest way to improve your work relation with a client or an external...
When starting a project we always make a good estimate of all known requirements, and plan budgets and available developers...
PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...
First install Node.js / npm. Then you can install Bower through npm: sudo npm install -g bower
SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for...
If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...
Some dozen generic API endpoints you can use to test how your HTTP client deals with various responses, e.g.
All browsers + IE9 know the CSS :empty selector. It lets you hide an element when it has no content, i.e...
Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...
DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Here's what you should know before you...