If you have many connections to your MySQL or MariaDB (as we have) you might want to filter the list...
CSS4 comes with :has. E.g. h1:has(b) would select all tags that contain a tag. This is implemented in...
You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.
I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...
You can configure a stat socket for haproxy in the global section of the configuration file: global daemon
With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...
One useful postgres command I stumbled upon recently was \x. It gives you an expanded display which allows you to...
If you have jQuery code like this: if (condition) { $element.show(); } else { $element.hide(); } ... you can shorten this to: $element.toggle(condition);
When dealing with AR scopes, you can remove conditions, order, etc by using the unscope method. It is available on...
You can say this in Javascript: $.fn.jquery => "1.11.1"
Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...
PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...
Rails 4 introduced raising an error on pending migrations. This is most annoying when you are crafting a migration but...
Web fonts are great. They are also be really bad for front-end performance because they block rendering. You may...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...
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...
A fantastic guide for a dilemma facing any web-based product. Here’s a simple set of Yes/No questions that...
To safely transport an arbitrary string within a URL, you need to percent-encode characters that have a particular meaning...
As the web is being used for more and more tasks, expectations rise. Not only should web pages offer rich...
We organize our daily work with issues in our Linear workspace. Issue format A good issue needs to be precise...
If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...