Programming for Cats
While reading this, I'm running the following commands on my media server in the sitting room corner:    eject /dev/sr0 && read && eject -t /dev/sr0

The `read` is there so I only have to press the Enter key to close the disc tray before my feline fired catches it (I learned the hard way when the motor stopped working on `/dev/sr1`).  He’s clever enough to have figured out that it’s me typing on the laptop that causes the DVD tray to eject and he gets equally excited when he sees me pick up the remote control for the Blu-Ray or CD player.