Wishful Coding

Didn't you ever wish your computer understood you?

Save your date with PyMouse

With PyMouse this would never have happened. Don't risk your date, get PyMouse right now at its GitHub page! All that it takes to wiggle your pointer with PyMouse is this:
from pymouse import PyMouse
from time import sleep
from random import randint

m = PyMouse()
w, h = m.screen_size()
while True:
    try:
        m.move(randint(0, w), randint(0, h))
        sleep(20)
    except KeyboardInterrupt:
        print "Goodby!"
        break
Posted

How to navigate the browser ballot screen

This is my response to the EU/Microsoft browser ballot screen. Honestly, most people don't even know what their browser is, what do you think the difference in IE market share will be? http://xkcd.com/627/ also applies here. I recommend any of the five except IE. In case you're wondering, I'm using Safari.
Posted