stackoverflow.com

First, decide if you want to pull with rebase. There are some implications of changing this, so think before you...

Don't use be_true to check if a value is true. It actually checks if it anything other than...

I got this error when running Rails 2.3 tests for Rails LTS. More stacktrace: NoMethodError: undefined method `cache' for Gem...

makandra dev

Geordi is now (partially) tested with Cucumber. Yay! geordi cucumber supports a new @solo tag. Scenarios tagged with @solo...

github.com

A comprehensive script to convert test suites from RSpec 2 to RSpec 3. This converts more than should/expect syntax.

You can tell git to ignore different kinds and amounts of whitespace when merging or cherry-picking. This often occurs...

There are cases when you need to select DOM elements without jQuery, such as: when jQuery is not available

makandra dev
github.com

Remove some old binaries (commands still exist in geordi) and mark others as deprecated Rewrite deploy command to support...

When you're using feature branches, they will stack up if you don't delete them after the merge to...

The nokogiri gem provides different packages for several platforms. Each platform-specific variant ships pre-built binaries of libxml2, e.g...

makandra dev
github.com

Install this gem and stop using bundle exec or even Geordi's handy b. Yay!

unix.stackexchange.com

As described by the linked Stackoverflow answer, run these commands: sudo add-apt-repository ppa:git-core/ppa -y

github.com

You know that Devise offers RSpec test helpers for controller specs. However, in request specs, they will not work.

Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...

Spreewald 1.4.0 comes with this step: When I click on the element ".sidebar" We recommend to define a selector_for...

Spreewald 1.3.0 comes with these steps: Then I should see an element ".panel" Then I should not see an element...

makandra dev
stackoverflow.com

When there's a Gemfile.lock in your working directory that you cannot remove by either checkout, reset [--hard], stash, probably...

github.com

Live markdown previewer (with Github flavored syntax) for VIM. Will open a preview in your browser and update automatically on...

I had a very frequent cronjob that in rare cases could be relatively slow. To avoid multiple instances of this...

makandra dev
github.com

Note This card does not reflect the current state of lazy loading technologies. The native lazy attribute could be used...

github.com

Ag (aka "the silver searcher") is a very fast replacement for grep. It will parse your .gitignore for additional speedup...

Lead by a discussion of this issue, I built in a middleware which answers those requests with [400] bad request...

Sometimes you just want to have a small web server that serves files to test something. Serve the current directory...

makandra dev
stackoverflow.com

git rebase -i -> mark your commit with edit git reset HEAD~ (remove the marked commit, but keep its...