When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...
Simply add this to your .rspec instead: --require spec_helper If you are on rspec >= 3 and use a rails_helper.rb...
I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...
A very informative and interesting presentation about browsing performance, looking at efforts Google Chrome takes to increase it.
From time to time, RubyMine suddenly did not accept any keyboard input and felt crashed, while mouse interaction was still...
Web safe fonts are fonts that are pre-installed by many operating systems. While not all systems have the same...
You can use mail-tester.com to check your application's e-mails for issues that might cause e-mails to be...
You can configure a stat socket for haproxy in the global section of the configuration file: global daemon
With "attaching an event handler once" you possibly mean one of these two things: Register a function for an event...
Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...
Ag (aka "the silver searcher") is a very fast replacement for grep. It will parse your .gitignore for additional speedup...
Lead by a discussion of this issue, I built in a middleware which answers those requests with [400] bad request...
Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...
When you're developing a gem, never list the same dependency as both runtime and development dependency in your .gemspec...
While you can use Apache as a reverse proxy, it tries to be too smart. Try nginx instead, it's...
There are many solutions, but a very concise one is this: hash.merge!(hash) do |key, old_value, new_value|
While you usually do not need a Content-Type on GET request (which have a blank body), an external API...
Sending a testmail from a server with a configured exim is easy as pie. From your usershell: tell exim that...
Ruby has a set of methods to convert an object to another representation. Most of them come in explicit and...
When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...
Installing SSL certificates usually implies additionally using intermediate certificates. If one of them is missing, some SSL client implementations might...
Redactor is yet another WYSIWYG editor. It definitely has its weak points, but I want to point out that it...
PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...
Our applications not only need to be functional, they need to be fast. But, to quote Donald Knuth, premature optimization...