Wondering which processes are placed in your swap you can use this bash oneliner: for file in /proc/*/status ; do...
Once Rails knows a given string is html_safe, it will never escape it. However, there may be times when...
You know that layouting HTML e-mails is terrible. For more fun, check Litmus' list of top 10 e-mail...
PostgreSQL offers a really handy field type: json. You can store any JSON there, in any structure. While its flexibility...
rack-mini-profiler is a powerful Swiss army knife for Rack app performance. Measure SQL queries, memory allocation and CPU...
To delete a certificate request run sudo puppet ca destroy $your.full.hostname on your puppetmaster.
There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available
In developing countries like Nigeria, Opera Mini is used by up to 70% of users on mobile.
Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...
When you're using feature branches, they will stack up if you don't delete them after the merge to...
Until recently, you could open a new tab via window.open when using execute_script in Selenium tests. It no longer...
The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...
E-mails are usually encoded using Quoted Printable. Here is how to decode or encode such strings. You probably know...
Regular expressions in Javascript are represented by a RegExp object. There also is a regex literal as in many other...
You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.
I recommend to go straight to 2.1.5+ without intermediate steps. Otherwhise you burden yourself with unnecessary work of encoding problems...
Spreewald 1.3.0 comes with these steps: Then I should see an element ".panel" Then I should not see an element...
Ruby has the class Proc which encapsulates a "block of code". There are 2 "flavors" of Procs: Those with "block...
This class contains nerdcore things such as disassembling a piece of Ruby into VM calls or enabling tail-call optimization...
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...