code zone

Over the years I've progressed from merely computer-literate to a power user to a GNU-Linux evangelist and professional programmer. I've put a few coding projects up here (there are more on Gitorious and Github). Feel free to use and/or modify anything here, it's all open-source. I do generally appreciate comments on my code - get in touch at rami (at) necaris (dot) net if you're willing to give me some feedback!

Hosted code

Safeperl scripts

Written to comply with the fairly strict restrictions of Oxford University personal web space, my Safeperl scripts and / or modules are severely limited in their functionality. If you're hobbled by the University Computing Services, as I was, then I hope they make your life easier!

Other Perl

Perl was the first dynamic programming language I learned (as opposed to scripting for the bash shell), and so I've got a bit of code in it. Mostly I've worked within the Safeperl restrictions as above, but some scripts aren't so limited...

Python scripts

I got interested in Python thanks to Eric Raymond's article "Why Python?" (here), and since have used it for a lot of things, including...

C/C++ code

Some things just require compiled binaries, for performance or breadth of availability, or something. I've written a couple of projects in C and C++, and am hoping to write more at some point, because my knowledge of (comparatively) low-level programming is sparse.

PHP scripts

Having been webmaster for a couple of sites that used it as the basis for their dynamic content, I've had plenty of experience building things in PHP. Of course, only a couple are vaguely useful outside their original use, but these are made available here.

Shell scripts

So far there's only one vaguely useful one...

unPack, the lazy man's install tool

I wrote this when I was learning my way around the GNU-Linux command line and shell scripting, and still use it on occasion to decompress, compile, and install downloaded software. After putting it in my PATH (by creating a "bin" directory in my home directory, and copying it into there) I can deal with packages by simply typing "unPack PACKAGE".

The script will find the relevant file (even without the whole name provided, as long as it's distinct), identify it by its extension, decompress it, allow you to rename the folder it was unpacked to, and then run through the "./configure, make, make install" process. (You may need to change the permissions (using the "chmod +x" command) on the script to use it).

Licensed under the GNU General Public License.

Download / View Source (there's a .txt extension added to allow it to render in a browser.