Sunday, November 6, 2011

[VIM] Make newly created file(s) available for search with FuzzyFinder

Once your FuzzyFinder has loaded current files, if you create a new file, you have to tell it to reload it by execute:-


Source: FuzzyFinder : buffer/file/command/tag/etc explorer with fuzzy matching
Thanks: @virasak

How to add helper method to Cucumber's World

Add this line to any files under features/supports/ directory
Module's name here can be a predefined Rails's helper or your application helper or a new helper which is just created here.

Then you can access method inside the module in all of your Cucumber's step definitions.

Credit: #51 Integration Tests With Cucumber

Clojure has lesser typing error problems than the others well-known dynamic typing languages

Give these snippets a try. // JS function foo () {   bar(1) } # Ruby def foo   bar(1) end ; Clojure (defn foo []    (bar 1)) As yo...