There is no build in functionally in jQuery and Prototype to extract params from a url. You can use this...
Improve geordi cucumber: Only attempt @solo run when the specified files contain the @solo tag, skip @solo run if any...
Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...
ClockPicker is a JavaScript and Bootstrap implementation of an Android-style time picker which looks and feels great. Unfortunately, it...
You want Spring for super-fast binstubs like bin/rails or bin/rspec which avoid Rails boot time. You want parallel_tests...
A new open source WYSIWYG editor that promises superior fidelity and customizability. This might be a future alternative to Redaktor...
Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...
Sometimes you want to test migrations with production or staging data. Dumping single tables makes sense if a complete dump...
On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...
Presentation about optimizing Ruby on Rails apps. From Nico Hagenburger (homify's lead frontend developer).
Isolate scopes offer three kinds of variable binding. One of them is &, allowing to bind a property of the isolate...
...to attach an IAM policy like the one below to the user: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::bucket1", "arn:aws:s3...
There is no built in possibility to convert a float to an integer. You have to use an inline_template...
This pretty-prints a JSON object, with two spaces of indentation: JSON.stringify(object, null, 2)
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...
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...
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...
...or you can create a helper method that creates a string from an UTF-16 hex sequence: class String def self.from_utf16_hex(sequence) parts = sequence.scan(/..../) parts = parts.map { |part| part.to...
For some years Google Chrome has allowed you to add desktop icon for any web page by going to Tools...