Mysterious Trousers

Quality software and amazing support since 2010

We’re a small team dedicated to making you happy. We achieve this through synergizing analytics and best-of-breed social blah blah blah hard work and honest-to-goodness customer service.

Global Find

Since I use Vim when working in rails, I don’t have any nice global find-and-replace across files, but this always helps me out:

grep -R “some text” .

If you run it from the root directory, it does a recursive grep on the contents of every file in the directory and all subdirectories. A big help if I need a quick and dirty way to find all occurrences of certain methods/variables in a project, e.g. when renaming a Rails project.

© 2013 Mysterious Trousers, LLC. All Rights Reserved. Background photo by hsld