TLDR: Ruby class variables (@@foo) are dangerous in many ways. You should avoid them at all cost. See bottom of...
Microsoft provides virtual machines for different Internet Explorer versions. The images are available for various virtualization solutions, including VirtualBox...
If git gives you an error message such as "fatal: bad config file line 123 in .git/config" after you tried...
Amazon Elastic Transcoder is video transcoding in the cloud. It is designed to be a highly scalable, easy to use...
We recently had a problem on a Memcache cluster, where one of the servers showed a significantly worse cache hit...
Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...
Calling bundle update (without arguments) updates all your gems at once. Given that many gems don't care about stable...
Awesome color schemes for RubyMine, Sublime Text 2 and other editors. To install the themes into your Rubymine, copy intellij...
If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash
You will get this when you are using the latest version of Rails with a recent version of Rack:
While you are probably using will_paginate to paginate ActiveRecord scopes, it can actually paginate plain Ruby arrays. The resulting...
When doing a git blame, git will blame the person who added or removed white space in a line (e.g...
Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...
Previous versions of Consul exhibited strange behavior when querying a power that returns nil. Consul 0.4.2+ behaves as expected:
Tracekit is a JavaScript library that automatically normalizes and exposes stack traces for unhandled exceptions across the 5 major browsers...
When you have a Pull Request on GitHub that includes commits from another Pull Request, you will still see them...
When you are using git rebase and are currently editing a commit (due to a conflict, for example), you may...
This article contains: Making ‘git diff’ wrap long lines Set a global proxy Clone only a specific branch
A nice way to stage absolutely all changes (edits, additions, deletions): git add --all
Great solution in a GitHub issue.
The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...
Git commits should be very deliberate, and only contain changes that you really want to be in there. In order...
For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...
Selenium cannot reliably control a browser when its window is not in focus, or when you accidentally interact with the...