Archive for May, 2010

25
May
10

jython anti-screensaver script


A little something I put together to prevent the screensaver from starting:


from java.awt import Robot
from random import randint
from time import sleep

if __name__ == "__main__":
	rob = Robot()
	while True:
		rand_pos = randint(0,800)
		print "moving at %s" % rand_pos
		rob.mouseMove(rand_pos,rand_pos)
		sleep(10)

Advertisements
24
May
10

Lost. Endgame.


I am in shock. I cannot believe Lost has finally ended. It’s been 5 hours already, and all I’m doing is reading blog posts, opinions about the finale.
Truly, it has been the most memorable show I have ever seen.

Farewell.

23
May
10

how to take care of your baby

How to take care of your baby.

18
May
10

getting all the text in a Sublime Text view


Here’s how you get all the text inside a view:


print view.substr(sublime.Region(0,view.size()))

16
May
10

tim mcgraw-still


Lovin’ it:

15
May
10

.net regex multiline


Enabling multiline support for regexes is done with RegexOptions.Singleline and not RegexOptions.Multiline 🙂

15
May
10

countdown to splits part 5


The countdown stops today.
I’m taking a break from splits stretching until 20’th of May to allow muscles to recover.




Blog Stats

  • 225,274 hits