This page contains some software, mostly small scripts, I have written over the years. Everything here is Free Software although the actual license vary.
- niouz : a simple, standalone NNTP server in Ruby
- Ruby::BibTeX : a Ruby library to read, manipulate and write BibTeX databases. Note that the current version relies on the presence of the
bibtoolprogram. - GetEnv.java : Standard Java can neither read or write environment variables. This small program show how, under Linux, it is still possible to access the environment (read-only) in pure Java using the
/procvirtual filesystem. For other solutions on different platforms (most involving JNI), see Ron Yorston’s page. - texml.rb : a small rewrite of Douglas Lovell TeXML tool (originally in Java) in Ruby. It might not support all the features of the original, and probably has bugs, but it works well enough for my needs and may be useful to others. It’s released under the GPL license, and requires the
xmlparserextension for Ruby, to be found on RAA. - numerote.rb : a very simple Ruby script (my first Ruby program actually) to rename a set of files consistently. Useful for imported digital photographs. When invoked (
numerote.rb prefix [start]), it will rename all the files contained in the current directory in the formprefix-nb.ext:prefixis a fixed string, given as the first argument of the script.nbis a number incremented for each file. Files are processed in sorted order according to their original names. The numbering starts from 0, unless a starting index is given as the second argument (start). Numbers are padded to the left with zeros so that all resulting file names will have the same width (ex:file-00.xml ... file-67.xml).extis the original extension of the file, and is left untouched. Beware, the script is pretty dumb, and doesn’t handle renaming conflicts. It is your responsibility to make sure everything will work correctly.
- The French version of Ruby’s FAQ, of which I was the translator (in LinuxDoc SGML format). The original (well, the English one), can be found on RubyCentral. I keep this here for “historical” reasons, but it is now obsolete. The standard Ruby FAQ is no longer maintained in SGML, and the current solution is not easily amenable to transltation.