Hacker News new | ask | show | jobs
by thwarted 5654 days ago
That's why you put them in a set.

http://www.flickr.com/photos/thwarted/sets/72157623777255069...

This is from a 20 line shell script that takes a picture at some random time within a minute after I unlock the screensaver. They are then uploaded manually using kflickr because, honestly, some of them come out really crappy (out of focus/blurry) and I unlock my computer like a 100 times a day.

1 comments

Clever! Can you share the script? I have something similar, but my computer takes a picture every 20 minutes or so and uploads them to my server ( http://lishin.org/pavelcam.jpg ), overwriting the previous one.

(To answer the inevitable question, yeah, it's caught me naked a few times.)

I cleaned up the code and put it up at https://github.com/thwarted/picsofourlives

Maybe I slightly exaggerated on the size. It's a 14 line shell script and a 57 line perl script. Anyway, it's small. Requires xscreensaver and mplayer and a working USB camera.