Dusen (our search gem) is now capable of excluding words, phrases and qualified fields from search. E.g. search for
If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...
This is useful to kill processes like ruby my-script.rb: pkill -f my-script.rb With great power comes great responsibility.
Check your GPU state on chrome://gpu. If it reads "WebGL: Hardware accelerated" in the first list, you're set...
Opinionated Angular style guide for teams by @john_papa Not everything in this guide works perfectly for us, but is...
You can hook into Slack when using Capistrano for deployment. The slackistrano gem does most of the heavy lifting for...
Often times you want to give a bunch of elements the same style, except for the last. For example borders...
Webfonts are not always available when your JavaScript runs on first page load. Since fonts may affect element sizes, you...
When a CSS3 animation makes the animated element flicker, it may well be due to pixel fragments being handled differently...
If you want to sort values from an enumerable into two arrays based on whether they match a certain criteria...
To achieve this goal you have to setup the session store like the following example: MyApp::Application.config.session_store( :cookie_store...
Good article about window functions. Also note how they use a postgres feature called common table expressions.
jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...
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...
The easiest way to detect touch-capable browsers is to check for the presence of touch events. It is no...
The Javascript in operator does what Hash#has_key? does in Ruby: Return whether an object has a property.
TL;DR Block formatting contexts establish an isolating container. float and clear only apply to elements within such a container...
The CSS property z-index is not as global as you might think. Actually, it is scoped to a so...
To find a hash key by it's value, i.e. reverse lookup, one can use Hash#key. It's available...
If your angular app is not served on /, but on a different url (say /admin), links generated with ui-router...
Flickraw is a library to access flickr api in a simple way. It maps exactly the methods described in the...
SVG files are often much larger than necessary, containing comments, metadata, hidden elements etc. Optimize them with this tool.
Using uncountable resources is not recommended as it breaks Rails' magic, e.g. when using form_for. You'll always be...