Skip to content

Code

I’m a computer geek. Therefore, I create the occasional computer program or script to make my life easier.

My main programming project is the AlexeiControl system, which can be found on a page I’m going to be creating Real Soon Now.

Here are some scripts that I’ve made to help myself:

  • The LaTeX Makefile. I like writing my longer papers (> 2 pages) in a professional typesetting system called LaTeX. However, this requires compiling one’s document. This makes the whole thing go a lot smoother.
  • flaclame.pl. I have a lot of FLAC format files around on my computer. I have an iPod. Obviously, this presents a problem. I wrote flaclame.pl to simply wrap lame to accept flac files as input files. Internally, it simply replaces an input filename ending in .flac with “-” to make lame accept input from stdin, and then pipes the output from flac -c -d to lame, with all your command line arguments to flaclame being passed to lame. It also preserves most of the important metadata from the flac file and properly tags the mp3 with it. Click here to download.