Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...

Angular directives with isolate scopes have three different variable binding strategies, of which one is =. Example: # HTML # Coffeescript @app.directive 'panel...

On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...

Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...

There's no user interface to give an AWS IAM user read/write access to a selected list of S3 buckets...

If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...

To simulate Rails' to_sentence in your JavaScript application, you can use these few lines of CoffeeScript code: joinSentence = (array...

There is no built in possibility to convert a float to an integer. You have to use an inline_template...

Ruby's __FILE__ keyword returns the path to the current file. On popular for this are Ruby binaries: #!/usr/bin/env ruby...

To check the currently running PG version from your Rails application (e.g. Rails console on your production server), simply do...

When you're nesting setTimeout(f, 0) calls, your browser will silently increase the delay to 5 milliseconds after the...

We're using Middleman for some static sites like our blog. Despite being very similar to Rails, Middleman does not...

makandra dev
piwik.org

Piwik is the leading open-source analytics platform. As such, it is an alternative to Google Analytics. Since it is...

When your controller action raises an unhandled exception, Rails will look at the exception's class and choose an appropriate...

css-tricks.com

The linked article shows what current browsers do when you click a link like this: 1-562-867-5309

PostgreSQL, unlike MySQL, treats strings as case sensitive in all circumstances. This includes comparison with = and LIKE collision detection in...

Is your application doing something expensive every few seconds? Maybe an animated slider that rotates images? Maybe you are updating...

Here is a symbol of an eight note: ♪ Its two-byte hex representation is 0x266A. This card describes how to...

By convention, common protocols use a defined port, like 80 for HTTP or 443 for HTTPS. You can use nmap...

For some years Google Chrome has allowed you to add desktop icon for any web page by going to Tools...

When building a web application, one is tempted to claim it "done" too early. Make sure you check this list...

Chrome's developer tools automagically choose vertical or horizontal panel layout, based on their width. You can disable that magic...

So you downloaded a theme for Chrome a while ago and don't remember which one it is?

makandra dev
chir.ag

This service gives you a kind-of standard color name for any hex code. This is useful if you want...