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

  • Revising Dreams

    Dream:I was in some strange kind of situation where I had just managed to escape some kind of captors in a large school, but didn't feel safe to…

  • Visiting a Dream Element

    Just had an extended conversation in a dream.. I may have written about this before here. If so, this is an elaboration. One of the things that was…

  • Half-written dreams

    Last night I had a strange dream that was operating from the certainty that I was going to have a baby (not physically), but didn't actually provide…

  • 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