makandra dev
github.com

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

makandra dev
github.com

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

durdn.com

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

makandra dev

A nice way to stage absolutely all changes (edits, additions, deletions): git add --all

github.com

Great solution in a GitHub issue.

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

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

progfu.com

I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...

github.com

As the title says: this jQuery plugin creates bar charts from HTML tables. It comes in some different flavors.

stackoverflow.com

While git branch will show you all branches and highlight the current one with an asterisk, it can be too...

makandra dev

Browsing the git stash is a bit tricky. Here is how to see the changes without applying them:

Cucumber_rails' old-school web-steps have been deprecated for a while, urging developers to write high-level step definitions...

There is no reason to leave trailing whitespace characters in your project's files, so don't add any.

makandra dev

Today I got a better understanding of how git works, in particular what git checkout and git reset do.

The ActionMailer in Rails 2 depends on a buggy version of TMail, which sometimes inserts a blank line into the...

When committing, you should always check the diff of your changes so you don't include any leftovers or irrelevant/bad...

github.com

Internet Explorer until version 9 has some limitations when parsing CSS files Summarized, these are: Up to 31 CSS files...

makandra dev
robots.thoughtbot.com

I recently worked on a project with 60+ old feature branches. Most of them had been merged into master and...

makandra dev
sourceforge.net

ReText is a cross-platform WYSIWYG-ish Markdown editor. Toggle editor and preview layout with Ctrl+E.\

In a nutshell: Use git rebase --onto target-branch source-commit target-branch means "branch you want to be based...

Sometimes, you may want to open up a second database connection, to a read slave or another database. When doing...