shutdown -r NOW halt reboot not working for you? To force a shutdown: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger And for a reboot: echo 1 > /proc/sys/kernel/sysrq echo o > /proc/sysrq-trigger Thanks to Nasser Heidari for the tip.
shutdown -r NOW halt reboot not working for you? To force a shutdown: echo 1 > /proc/sys/kernel/sysrq echo b > /proc/sysrq-trigger And for a reboot: echo 1 > /proc/sys/kernel/sysrq echo o > /proc/sysrq-trigger Thanks to Nasser Heidari for the tip.
Recently I was adapting a newsletter plugin for WordPress and needed the PHP mail() function for testing. However an Ubuntu desktop install is missing Sendmail – the MTA that PHP expects to find on a Linux PC. I use a…
Updated with more tests on 2010-05-16. Click here to jump to the 2010-05-16 update… The conventional wisdom always said that PHP’s include()/require() was quicker than include_once()/require_once(), but recently I came across an interesting post by Arin Sarkissian which suggests otherwise.…
Moving email servers has always been a royal pain for me. I’ve tried many of them over the years, and migrated from nearly as many of them. However the last couple of times I put myself through the pain I…
Email by IMAP rocks – there are so many benefits to using it over POP3, particularly in an office environment. However many IMAP clients really suck when it comes to manipulating accounts with large messages. We recently watched a server…