michael orlitzky

Code

repositories

I use git for version control. Anything I've got in git can be gat in my git repositories. Clone a project like so, making a bed where the marbles go.

1
git clone http://michael.orlitzky.com/git/{$project_name}.git

projects

  1. hath

    Hath is a Haskell program for working with network blocks in CIDR notation.

  2. hfusk

    A Haskell implementation of a Fusker. Right now it doesn't download anything – it just spits out the URLs (or whatever you gave it as input). You can use cURL or xargs/wget to download the URLs if you want. The littlest of documentation is at the top of the source file.

  3. htnef

    htnef is a pure-Haskell parser for the worst format on earth. Microsoft invented TNEF so that they could make winmail.dat shortly before they killed my brother. It uses Data.Binary to parse the file. For now, it just spits the results at you on the command line and saves any attachments to the current working directory. Or segfaults.

  4. hzsff

    Zed Shaw came up with a(nother) stupid, ugly, featureless, feed syndication format called Zed's STFU Feed Format and I love him for it. hzsff is a stupid, ugly, featureless parser for the ZSFF format. It's written in Haskell and uses the Parsec library.

  5. janitor

    janitor is a little utility I use to clean up after Apache and PHP. It searches through your vhost definitions, and pulls out the php_admin_values for upload_tmp_dir and session.save_path so that they can be emptied on some schedule.

    I can't imagine it would be of much use to anyone, but it's here so that I don't forget that I wrote it.

  6. nagios-mode

    nagios-mode is an Emacs mode for Nagios configuration files.

    It's in good shape these days. Use it.

  7. pictar

    I wrote a Python program? A while ago I ported my pictar application to Python as an exercise – in what I'm unsure. Anyway, here it is.

    Pictar is basically an image viewer. It will show you all of the images in a directory. Symlink the main pictar executable somewhere in your path, say, /usr/local/bin. Then just type 'pictar' when you're in a directory to view the images located in that directory. You can also pass it a relative path to another directory, e.g.

    1
    pictar images/

    There are a million image viewers around, but what separates pictar is that I like it. I like it because, unlike other image viewers, it uses my favorite image viewer: my web browser. Pictar by default will launch '/usr/bin/firefox' to view the XHTML page which it creates.

    Currently, the only way to change anything is to edit the source. It's only Python though, so get over it.

  8. Mediawiki Third-party Database Authentication Plugin

    When implementing Mediawiki, one often wants to use some other database for authentication. For example, if your site is a forum, you might want to use the username/password from the forum as the Mediawiki login.

    To do this, you need an authentication plugin. The third-party database authentication plugin is about the simplest authentication plugin one could write. You give it some database info and two queries, and it will query that database to determine whether or not authorization should succeed.

    There's some documentation in the repository, but for the most part, you should be able to figure out what to do with it. It's really simple.

  9. whatever-dl

    A standalone script to download videos from a number of websites. Update: I caved and added Youtube support.

    So far as I know, this is the only standalone program capable of downloading the videos from these sites:

    This replaces redtube-dl, howcast-dl, etc. The script requires Ruby, but I removed the wget dependency. Like so:

    1
    whatever-dl <url>

    I recently fixed the bug requiring you to run the executable from the project root; so now, it should work from anywhere. You can even symlink it and the require methods still won't crap.

  10. xfce4-hdaps

    This project is so badass it has its own page. xfce4-hdaps is an XFCE4 panel plugin to display the status of your Thinkpad's HDAPS.