Perl

addusers.pl for Confluence

by lhl ( | | | )

Here's a script I wrote a couple weeks ago for easing user management for Confluence. It turns adding users and users to groups into a much less painful affair.

Requires:

WWW::Mechanize
HTML::TokeParser
Crypt::RandPasswd

Should be an easy breezy install w/ CPAN (perl -MPCAN -e shell)

Instructions are included with the code, and the code is pretty straightforward as well. If you're dealing with lots of users, trust me, it'll save you time.

flickrer - automatic Flickr uploading

by lhl ( | | | )

Here's a script I've been using for the past couple of weeks since I started really using Flickr.

Requires:

File::Basename
File::Copy
LWP::UserAgent
Flickr::Upload

Should be an easy breezy install w/ CPAN (perl -MPCAN -e shell)

flickrer first checks that it isn't already running via a process search, then looks the files from the dropbox and locks (via . rename) while uploading. This makes it pretty safe to run at regular intervals via cron. Once it finishes it moves the file to the sentbox. I run sips, OS X's built in image processing utility to reduce the size of the images, as even w/ a Pro account (1GB/mo), u/ling full photo files would be quickly pass quota.

hiptop.pl - Sidekick Address Exporter 0.2.1

by lhl ( | | | )

Written last winter, this is the Mechanize script I used to dump my T-Mobile Sidekick's (Danger Hiptop) Address Book into an iCal compatible format.

It's quite unfinished, and possibly not working anymore (if the site's changed). But in case there's still (for shame, Danger, for shame) not any syncing software available, this is a good starting point.

Originally posted on the Danger Forums here.

XML feed