makandra dev
tsvensen.github.com

jQuery plugin for equalizing the height or width of elements.

elmcitycraftworks.org

I’ve worked on huge applications in Ruby and Rails before. I very much want to believe in DCI, but...

Microsoft Office pre-fetches hyperlinks using an internal DLL (which doesn't know about your cookies), follows all redirects and...

makandra dev
github.com

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:

rspec.info

You can define methods in any example group using Ruby's def keyword or define_method method: describe "example" do...

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

When you are using git rebase and are currently editing a commit (due to a conflict, for example), you may...

creativecouple.github.com

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

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

durdn.com

This article contains: Making ‘git diff’ wrap long lines Set a global proxy Clone only a specific branch

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

makandra dev

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

Git commits should be very deliberate, and only contain changes that you really want to be in there. In order...

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

blog.alexmaccaw.com

Over the next year, there are a number of technologies coming down the pipeline that have the potential to radically...

You know that you can force absolute URLs throughout a response. Now you want to modify URLs similarly, but only...

Capybara uses www.example.com as the default hostname when making requests. If your application does something specific on certain hostnames and...

darwinweb.net

Hopefully you are using Psych for everything, but if you have legacy Syck YAML files lying around you could be...

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