antihe.ro
Utilities
- svnsh-1.0.1:
Want to run a Subversion repository server a little more securely and don’t feel like figuring out how to get Apache to run in a chroot environment? Want to manage Subversion accounts using the good Unix tools you already have? Just don’t trust big software or inetd? Then SVNSH is for you!
SVNSH is a minishell whose sole job in life is to securely chroot to a protected directory and run the svnserve command. That’s it! Can work in read-write or read-only modes.
- fat_label.c:
A small utility which can read the volume label off of a FAT filesystem. I found that I had a need for this on an OpenBSD system and that there was no built-in utility available to do this, so I wrote it.
To install, do the following:
cc -o fat_label fat_label.c sudo cp fat_label /usr/local/bin
Scripts
- rpwgen.pl:
A very small, portable perl script to generate random passwords that match [a-zA-Z0-9] 14 chars long by default. But honestly, just do this: openssl rand -base64 9
Note, the integer argument should preferably be a multiple of 3 or the strings generated will always end in one or more “=” chars.
- pdf2pdf.sh:
Another quick hack to convert a PDF from one version of the PDF spec to another. A side-effect is to strip out any don’t-print and don’t-copy bits set in the original, making the new one not suffer from those deficiencies. Probably won’t work with ‘encrypted’ PDFs.
- flac2mp3.py:
A quick hack to convert my FLAC collection into MP3s for use in things like iPods and MP3 CDs. Unlike most others I’ve found, this one doesn’t screw up UTF-8 encoding, and will create ID3v2 frames using UTF-16 (thanks, iTunes) for maximum compatibility where necessary.
Misc
- Terminus for Mac OS
X:
The best font a hacker could want to use. I used to have alternate versions, but it turns out that they were causing mysterious crashes and other problems, so I’ve removed the links to them until I have sorted that out.
- DocBook XML 5.0 for
Mac OS X:
If, like me, you have found it remarkably difficult to get just the plain old DocBook schemas installed on Mac OS X without having to resort to terrible package managers that muck around too much with your system, then this package is for you. Does not depend on any specific version of OS X because it’s just plain text XML and XSL files! Includes DocBook release schemas for 4.1.2 through 5.0, and DocBook XSL 1.75.2.
-
DocBook XML 5.0 for
everything else:
Basically the same as the package for Mac OS X, only this is just a plain on tarfile; useful for when you can’t upgrade via your OS provider’s packages. (CentOS 5, I’m looking at you!)
-
GNU tar 1.23 for Mac
OS X:
“But isn’t GNU tar already installed as part of Mac OS X?” I hear you ask. Yes, child, surely it is there, but with one problem: it likes to create a bunch of files prefixed with “._” which makes a mess of other filesystems. Sure, you could just go ahead and export COPYFILE_DISABLE=true (or whatever they’ve decided to name the variable this release), but then you wouldn’t get xz out of the deal. Let’s face it: You love LZMA.
The command this package installs is called nfutar because it is Not Fouled Up™. xz keeps its usual name. This is a universal package and was built for Mac OS X 10.5 and higher!
Emacs Lisp
-
indent-smart.el:
A better indenter for when you’re dealing with config files, or if you just don’t like indent-relative.
Contact Me
Feel like bugging me? I might feel like annoying you in return! It is easy to reach me via Email or Jabber/Google Talk, both at the same address: jeramey@antihe.ro