The Guru College

4sq

This is my foursquare perl client – 4sq. There are two things you will need to do to make it work. First, base64 encode your username and password with a “:” between them, and stick that value into $password. Second, add location entries to a config file. (The format of this file is explained in the help section of the script). That’s it! You can then run it through cron or whatever you prefer.

The code could be a lot cleaner, but here it is. It’s been mostly a late night toy to play with – I finally got bored and figured it was done, so I booked a fake trip through my favorite travel agency, crontab -e.

It’s Getting Hard To Wait | Home | WPSuperCache Update