Example: I have a script that's run by a cron job to update my podcast libraries and rename the podcasts appropriately so that everything in my library stays in order.
This is an old but favorite in-browser snippet. I've been using it to follow/unfollow users. It can be used for anything.