May 2010
2 posts
2 tags
Solving "bash: grep: command not found" on OS X
I’ve moved my blog to a new domain, you can find this post at featurebranch.com
$ some script | grep something
bash: grep: command not found
If you are using a Mac with a German (or French, see below) keyboard layout and your typing is as sloppy as mine, chances are you are familiar with this error. You probably also know that deleting the space before grep fixes it. Why is this?
Option 7...
File upload progress with Rails and nginx
At letsannotate.com users upload .pdf files and we convert them to images so that they work on every device. We wanted to show our users not only how far their upload had progressed, we also wanted to inform them about the status of the .pdf conversion.
We use Rails on nginx via Passenger, but there are solutions for both Apache and lighttpd.
nginx
First step: Install and configure nginx’s...