Hacks

Stop XSS attacks with SafeHTML

If you allow user-contributed content in your site, you run into the problem of dealing with user supplied HTML in a safe manner. The most secure way of dealing with things, of course, is to strip or escape all HTML from user input fields. Unfortunately, there are many situations where it would be nice to […]

DIY 7×5 LED scroller

Kalanda sent in this 7×5 dot matrix LED scroller based on the Attiny2313 AVR microcontroller. It looks like a fun little project, but the part I really dug was the way the animation is programmed. The author created a simple LED Composer HTML/Javascript page that lets you visually construct the layout of the animation, its […]

Open GPS Tracker

Now this looks like fun: The Open GPS Tracker is a small device which plugs into a $20 prepaid mobile phone to make a GPS tracker. The Tracker responds to text message commands, detects motion, and sends you its exact position, ready for Google Maps or your mapping software. The Tracker firmware is open source […]