Capistrano is by default configured to exclude the gems of the groups development and test when deploying to the stages...
Sometimes you might need to nest a git-project inside another git-project. The right strategy is to use submodules...
On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...
To simulate Rails' to_sentence in your JavaScript application, you can use these few lines of CoffeeScript code: joinSentence = (array...
To check the currently running PG version from your Rails application (e.g. Rails console on your production server), simply do...
When your controller action raises an unhandled exception, Rails will look at the exception's class and choose an appropriate...
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...
So you downloaded a theme for Chrome a while ago and don't remember which one it is?
The default Google Analytics might not work as expected with your Unpoly app. This is because your app only has...
You can define methods using def or define_method. In the real world, there is no performance difference.
I had an issue with icons from an icon font aligning differently on Linux, iOS and Windows (seemingly browser-independent...
Processes in Linux might be put into Swap ("virtual memory") occasionally. Even parts of a single process might be removed...
The following will search for all .feature files containing a search term and run them using geordi. find features/ -name...
Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...
When testing Ruby code that prints something to the terminal, you can test that output. Since RSpec 3.0 there is...
The linked site hosts a simple test. It shows two images with narrow vertical/horizontal lines. The more they resemble each...
to create a Gallery that has a name and has_many :images, which in turn have a...
In production, you (or your ops team) should configure a maximum number of bytes that Redis can use to store...
Connect to your IMAP server. If you have SSL enabled: openssl s_client -connect your-server:993 if your server...
Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...
When you have a localized website, you may want to redirect users to their preferred language when they visit the...
fake_stripe spins up a local server that acts like Stripe’s and also serves a fake version of Stripe.js...