code

Encryption with the iPhone SDK and Security.framework

With all the great info out there about building for the iPhone, the documentation for using encryption is pretty woeful.  The developer site talks about using the Security.framework, but when it gets down to actual code, there's not much there.  And it's still a leap to go from what's provided in the simplistic examples to real world stuff.

Embed errors using Flex SDK and Antennae

Tagged:

A project I'm running finally got to the point where we needed automated builds for our Flex code.  Everything worked fine in FlexBuilder, but when I tried to use antennae (cool product if you haven't tried it yet!), I got a lot of the dreaded "Invalid Embed ..." errors ...

LDAP filter for Active Directory group members

Tagged:

Thanks to Andy Stone for this tip:

(&(memberOf=cn=crowd-users,cn=Users,dc=matrixprojects,dc=com))

this will return users who are a member of the crowd-users group

Browser Launcher

Tagged:

This is something I discovered quite a while ago, but re-discovered a bit tonight. I always love the situations where you want to do something as stupidly simple as launch the user's default browser, only to discover that it's really not all that simple from a cross-platform programming point-of-view. After a few hacks of my own for a particular project, I came across the BrowserLauncher2 project on SourceForge. It easily handles all the "let's try it this way .... no? how about this way .... no again? ok what about this ... ?", all in a single method call.

MP3 renumbering script

Tagged:

iTunes is decent enough, primarily for keeping up with podcasts on the ipod, but it's terrible at mass renaming/renumbering. It doesn't come up often, but just enough. I have plenty of multi-disc albums (audio books, mainly), only some of which are in CDDB. So I end up with some tracks with iTunes' default "Track NN" and others with "N-MM" or "Nm", where m/M could be alpha or numeric. Bothers the TypeA in me! I tried MediaMonkey, but it doesn't seem to recognize the disc number (ID3 frame: TPOS), otherwise it appears to have a decent scripting ability.

So Perl to the rescue!

Syndicate content