After having a few un-expected power outages this year, it got me thinking about how I could easily (and cheaply) be alerted (preferably via SMS) should one occur. With a laptop running Linux, a little bit of Python and some easily obtainable hardware and software, I come up with a simple method of doing just that. Read on for the code and set-up instructions. Continue reading
OK, so I haven’t posted anything here for a while but hopefully this should make up for it. Searching for a tutorial on Bitwise Operators in C brought up the little gem embedded below… Hope it’s useful.