This is a quick script I wrote some time ago to steal the mayorship from a friend on a concrete foursqure venue. You can launch it from cron to steal a mayorship or launch it manually get any impossible badge :)

Usage example: ./ venue_id

Get the venue_id from the foursquare venue URL, for example, if you want to check in at Barcelona Airport, the venue URL is “ 1136309”, the number is the venue_id you have to pass to the script.