Op-Ed: Steal This Code

There is a nice little Op-Ed about the bond that forms between coders and their code and the value of ideas over implementation.

The most interesting part of it to me, though, was the by-line:

Interesting life decision. I’d like to know more about that.

how to: resume from suspend by keystroke in Linux

I’ve always wondered why Macs could wakeup from sleep by a mere keystroke, but my Linux boxes required me to press the power button. It turns out you can enable wake from suspend/hibernate in Linux by adding the following to /etc/rc.local, which is run at startup:

for i in `/bin/grep USB /proc/acpi/wakeup | /usr/bin/awk '{print $1}'`; 
do 
    echo $i > /proc/acpi/wakeup; 
done

/proc/acpi/wakeup will then look something like:

and voila: when your Linux box suspends, you can wake it up by pressing any key on your USB keyboard.