chris-allen-lane.com Technology | Security | Making

Archive » 2012

PhoneGap: Prevent an Android Device's Screen from Sleeping

I'm currently developing an Android application via PhoneGap. It took me two entire workdays to learn how to prevent this application's screen from dimming or sleeping (after 5 minutes of inactivity), so I want to document what I learned here for the sake of others who need to solve the same problem.

Read More

A Clever Spam Delivery Mechanism

This week a client forwarded me a spam email he received that I thought was interesting. It is reproduced below, with sensitive information and spam links redacted out:

Read More

Building a DIY Standing Desk

I spend a lot of time in front of a computer, and thus, a lot of time at a desk. Because I generally don't like sitting still, and because I recently learned that sitting all day can kill you, I decided to try to build a standing desk. I'm documenting here a design that I came up with that is inexpensive, easy to build, and has proven to be very practical.

Read More