On OSX (real or inside Browserstack), you need different keystrokes for your favorite special characters than you'd use on...
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...
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...
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?
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...
Ever needed to use a global variable in Rails? Ugh, that's the worst. If you need global state, you...
Reading user input in console applications is usually done using Kernel#gets. Stubbing that can be a bit hairy.
When testing Ruby code that prints something to the terminal, you can test that output. Since RSpec 3.0 there is...
The way that Javascript schedules timeouts and promise callbacks is more complicated than you think. This can be the reason...
When you are working with jQuery selectors and collections, many times you want to know if the collection actually contains...
to create a Gallery that has a name and has_many :images, which in turn have a...
Connect to your IMAP server. If you have SSL enabled: openssl s_client -connect your-server:993 if your server...
Edit /etc/default/bind9 and change OPTIONS="-u bind" to OPTIONS="-u bind -d 50 -g" Restart BIND and you'll see...
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...
When dealing with time zones in Rails, there is one key fact to keep in mind: Rails has configurable time...
When building a form with a file select field, you may want to offer your users a live preview before...
Instead of using this hack you might want to use MariaDB 10.x which can work with both old and...