Pat Gunn (dachte) wrote,
Pat Gunn
dachte

DBTar

I put together this little toy as a quick code sample for a company I might interview with in NYC. Still hoping for a nice, interesting neuropsych job somewhere, but a Plan B is a good idea.

What does it do?

  • It'll slurp a directory of files into a database, optionally thumbnailing all the images along the way using ImageMagick.
  • It then will either let you pull it back out onto the filesystem somewhere else, or will drop it off into a tarball for you.
It includes tweaked versions of my supplementary database library from my Wiki/Blog engine and my structured argument passing module. It also is the first project I've done in a long time that uses stored procedures on Postgres.

It probably has a few bugs and there are some things I probably would change were I to refactor it, but I think it's a reasonable code sample and has some good things for any other perl geeks to grab and reuse.

Available 「here」.

Tags: programming
Subscribe

  • Still alive

    Been feeling a bit nostalgic. Not about to return to LiveJournal - their new ownership is unfortunate, but I wanted to briefly note what's been up…

  • Unplugging LJ

    It's about time I pulled the plug on the LJ version of my blog: 1) I'm much more active on G+ than I am with general blogging. I post many times a…

  • Mutual Trust

    I don't know which should be considered more remarkable: That a cat should trust a member of a far larger and stronger species that it can't…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments