Let’s take a look at what you need to do to get your app ready for Rails 4.
A cozy place to pick a short and catchy name for your product, company or domain.
With the impending release of Ruby on Rails 4, it looks like a lot of developers will be updating their...
Every time you call $(...) jQuery will create a new object. Because of this, comparing two jQuery collections with == will never...
If you wear a lot of hats in a small team, or if you feel like your projects could be...
jQuery plugin for equalizing the height or width of elements.
I’ve worked on huge applications in Ruby and Rails before. I very much want to believe in DCI, but...
Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...
Tracekit is a JavaScript library that automatically normalizes and exposes stack traces for unhandled exceptions across the 5 major browsers...
TLDR: In tests you need to clean out the database before each example. Use :transaction where possible. Use :deletion for...
When you have a Pull Request on GitHub that includes commits from another Pull Request, you will still see them...
Generate dummy images for a given dimension and topic.
When you are using git rebase and are currently editing a commit (due to a conflict, for example), you may...
Mark window as "demands attention" Install wmctrl through your package manager, i.e. sudo apt-get install wmctrl Download the attached...
As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...
I was unsatisfied with the existing memory status applets for the Xfce panel, so I wrote a little shell script...
This article contains: Making ‘git diff’ wrap long lines Set a global proxy Clone only a specific branch
Sometimes you want to see what data you get through a TCP or UDP connection. For example, you want to...
The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...
The basic idea is pretty simple: an element's height is accessible via the offsetHeight property, its drawn height via...
This works in all relevant browsers: document.activeElement You can use this in your Selenium steps, for example, to assert that...
When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...
Basic error pages To add a few basic styles to the default error pages in Rails, just edit the default...
If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...