Jan 21
Randall Munroe’s XKCD has inspired interesting product features in the past. A recent one has sent a lot of Mac users scurrying to set up an audio doorbell on their Mac Minis.
Here’s my solution; paste the following code into a text editor and save it as, for example, say.php in the top-level /Library » WebServer » Documents folder of the Mac you wish to turn into the doorbell:
<?php
if (isset($_GET['say'])) {
$cmd = sprintf('say "%s"', $_GET['say']);
`$cmd`;
} else if (isset($_GET['up'])) {
$cmd = 'set o...




