Use iPhone as remote for AppleTV 
This is a small "application" that allows you to use the iPhone as remote for an AppleTV device.
It looks like this:


There are several steps needed in order to install it:

- install XAMPP (check out the wiki at awkwardtv.org)
Notes: I have ran out of space on the root partition on my AppleTV, so I had to make a symlink from /Applications/xampp to /Users/frontrow/Applications/xampp. And second, it'd be wise to just start the Apache server with mampp startapache, because you may not need ProFTPD and MySQL.

- install IRKeyboardEmu kernel extension from Brandon Holland site

- edit /etc/sudoers and add the following line:
ALL ALL = NOPASSWD: /usr/sbin/sysctl

- edit /etc/rc.local (or modify your favorite startup method) and add:
/sbin/kextload -v /System/Library/Extensions/IRKeyboardEmu.kext

- download from here the webfiles and put them where you've setup your DocumentRoot in /Application/xampp/etc/httpd.conf file.
Notes: remember to fully configure the httpd.conf. At least the 'DocumentRoot' and '<Directory "xxx">' stuff.

After that, all you should do is point the Safari browser to your AppleTV IP and have some fun with your wife while she's trying to watch some Desperate Housewives s*it and you keep pausing the show from the other room :)

I may have forgot some steps but it's been a while since I did it. If you encounter any problems following the above steps please tell me and I'll try to help you out.