Amanda and I cook our own meals the vast majority of the time. She’s much better at it than I am, but I do well if I have a good recipe to follow. The problem is that our growing pile of printed-out recipes was getting out of control. The solution was to use a digital recipe system, and I figured out how all of my recipes can be on the iPad (or just about any other web-enabled device) with a simple terminal command. I’ll share how I did it after the break.
It’s kind of cheating to say that I did this with one line of code. There are a few dependencies that you’ll have to satisfy before getting to that command:
- You need a computer running Apache
- Your recipes need to be stored in a directory as text files
sudo ln -s /home/mike/Documents/recipes/ /var/www/recipes
and you should see a listing of your recipes:
You may notice that most of my recipes are from 2009. This is when I converted them from storage as notes on a Palm pilot over to text files. The nice thing about this setup is that it’s easy to cut and paste recipes from the Internet, and the files can be edited without root permissions since you linked to a folder in your own home directory.
Other ways to use Apache with your iPad
If you’re up to doing just a bit more work you can also make your music collection easily available on the iPad using a Linux server and an Apache module.