I have somewhat of an addiction for collecting points on various internet sites. It’s become a bit of a ritual for me to spend about 5-10 min clicking in the morning while I have my coffee. I probably only make a few yen a day off it but it’s fun for some reason — I don’t know. I think it’s just a simple mindless task that helps wake me up and get my hands moving.
Anyway, a lot of these sites reset themselves every hour but lucky I’m not so addicted to sit there and try to click them all day. But just for fun, I wrote a script in AutoIt to launch one of these sites, login, click five times, and then close it out. The script just loops and runs every hour. And it works rather good!
It’s a bit fragile I think because it depends on timings but I think there is definitely some useful stuff you can do with it if you add in proper validation. I’m considering trying to put it to use at work but figure I will play around with the language a bit more. I have been rather impressed though — it’s pretty powerful. You can even write GUI’s in it.
I have a lot of notes I keep in text files on my PC, but I tend to want to access these from multiple locations and have never found a decent way to do it. The immediate thought that came to mind was to setup a wiki site of sorts, but that got me thinking: wouldn’t it be interesting to have a self-organizing wiki of sorts that takes random notes as input and intelligently creates it’s own indexes, formats your crap, and produces output intelligently based on various search methods? I’ve been kind of on a tear-it-down-to-basics mentality kick these days so I took my initial thought and stripped it down to “post shit online and have it saved somewhere.” So I slammed together something tonight in php that essentially does this.
Basically, I put together a simple html text area that does a html post to itself:
This executes a php script in the same file to write the data down to a file on the server with a name in the format of yyyymmddhhss[microsec]:
The whole thing is under 20 lines of code.
I’ve been kind of enjoying these micro projects lately — I’m not sure why.