Calling bundle update (without arguments) updates all your gems at once. Given that many gems don't care about stable...

Geordi now has a script that runs capistrano with all known deploy targets (i.e. staging, production...). Use with geordi capistrano...

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...

kernel.org

If you say git stash, your stashed changes will be identified with an automatically generated message: $ git stash

When calling a scope like current_power.user?(user), Consul will no longer trigger a query if the users power selects all...

josh.github.io

li.active a:link Example output (specificity): | 0 | 2 | 2 | See also: https://www.codecaptain.io/tools/css-specificity-calculator

makandra dev
github.com

Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...

TLDR: In tests you need to clean out the database before each example. Use :transaction where possible. Use :deletion for...

creativecouple.github.com

jquery-timing is a very useful jquery plugin that helps to remove lots of nested anonymous functions. It's API...

makandra dev

The bash offers control over the behavior of autocompletion. The most primitive example is this (just run it in your...

When searching for text in a MySQL table, you have two choices: The LIKE operator FULLTEXT indexes (which currently only...

If - for whatever reason - you have to render stylesheets dynamically, the following snippet might be of help. It emulates what...

Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.

ActiveRecord has a feature called counter caching where the containing record in a has_many relationship caches the...

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...

If you can now longer hear or record sounds after upgrading Ubuntu, you probably need to re-tell Ubuntu which...

In Rails 2, when calling instance_eval or instance_exec on a scope, the scope will fetch its records from...

ebobby.org

A technique to vastly reduce the number of join model records that need to be stored in the database.

Since I use this a lot in my daily work and there were no scripts working properly for me, I...

When you have two models in a has_many, has_one or belongs_to association, the :inverse_of option in...

coding.smashingmagazine.com

JavaScript engines such as Google’s V8 (Chrome, Node) are specifically designed for the fast execution of large JavaScript applications...

Icon fonts like Font Awesome are infinitely scalable, look great on high-DPI displays and will give your app a...

Generally, Selenium tests use the browser to interact with the page. If it's unavailable, a timeout error is...