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...
May 18th
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...
May 4th
1 note
September 2009
1 post
GWT Hosted Mode on 64 Bit Ubuntu
As far as I know this still works (for GWT 1.7) but has become obsolete with the release of GWT 2.0! Here’s how I got GWT 1.7 Hosted Mode to work on my 64 bit Ubuntu Karmic Koala 9.10 laptop. These instructions should also work on Jaunty (9.04) Install ia32-sun-java6-bin: sudo apt-get install ia32-sun-java6-bin Make sure the default Java installation remains the 64 bit one sudo...
Sep 26th