24 mrtSetup Postfix to forward incoming email to PHP

Setting this up took me a couple of minutes — finding the reason why it didn’t work a couple of hours. The question has hundreds of hits on Google, a simple answer hasn’t. Hope this helps someone somewhere you. Create script to parse incoming mail <?php   $data = file_get_contents(“php://stdin”); ?> Add a new email address [...]

Read More ...

08 julProgramming Brain Teaser

Dustin Diaz told a programmer’s riddle — impossible to leave these things alone. So I wrote a solution. One thing bugs me: the itch that this could be done much, much easier. var arr = ['a', 'b', 'c', 'c', 'd','e', 'e', 'e', 'e', 'e', 'f', 'e', 'f', 'e', 'f', 'a', 'a', 'a', 'f', 'f', 'f']; [...]

Read More ...