
Systems Administration (*NIX)Apache, FastCGI and PythonThis document describes FastCGI, how to set up Apache's FastCGI module, and how to hook it up to a simple Python script. Service Access ControlWhen you add a user to your Unix system, it automatically gets access to every service: FTP, SSH, Pop, Email, etc. That may not be what you want. This article describes a way, using PAM, in which you can limit services on a per-user basis. Exim4 virtual host wildcard deliveryUpdated version of the Virtual Host wildcard delivery document for Exim4. Exim virtual host wildcard deliveryNotice: This document is outdated. Check above for a version for Exim4. I spent a lot of time figuring out how I could have all mail which didn't have a proper/existing recipient get sent to a particular user using Exim. I also wanted to be able to specify a different recipient for each virtual domain. In this document I will explain how I made it work. TrickleThis article is about trickle, a user space bandwidth shaper. It was published on Debian Package A Day on May 30th, 2007. MMV: Mass moving and renaming files.This article is about mmv, a tool for mass renaming, moving and copying of files. It was published on Debian Package A Day on June 13th, 2007. MiscellaneousBitchX TutorialDissatisfied with the current documentation covering BitchX, I decided to start my own one. It was meant as a newbie guide to BitchX and as a reference for more experienced users. I never finished it, because I found a better irc client. Stopping spamA little article I wrote to educate people on how to stop spam from reaching their inboxes. It's working wonders for me, Mike! |
DevelopementEncodings in PythonThere is a lot of information on the Internet about how encodings (especially Unicode) work, but there is little practical information available on when and how to deal with them from a developer's view-point. This article covers a small amount of theory, then proceeds to describe when we need to deal with encodings in our program and finally gives pratical pointers on how to properly deal with encodings in Python. IPython - Interactive Python Shell: An introductionPython has an interactive shell, which you can start by simply starting python. This is a nice and very powerful way of using Python, but it's a bit limited. So you might want to check out IPython. IPython is also an interactive Python shell, but with lot's of stuff added, such as tab completion, colors, dynamic object introspection, sessions, command history, etc. This article gives you a quick introduction into the world of IPython bliss. CherryPy on Apache2 with mod_pythonThis article shows how to serve a CherryPy application through both Apache mod_python and through the built-in web server. MySQL and PHP tutorialSelf-written tutorial for MySQL and PHP and the use of MySQL within PHP. Really quick guide to DocBookDocBook is a standard for creating, mostly technical, documents. DocBook's great advantage lies in the fact that it allows you to convert one source format into multiple target formats. I.e. one SGML document can be converted into HTML, Postscript, PDF, RTF, etc. This document will briefly touch upon a number of subjects having to do with DocBook. It is intended for people whom wish to get started with DocBook but aren't willing to read whole books on the subject. Quick guide to GDB DebuggingGDB, the GNU Debugger is a very powerful commandline debugging client. It does, however, have quite a steep learning curve. This tutorial will hopefully get you aquainted with GDB. Weighted Random DistributionAn article that explores various different methods of approaching Weighted Random Distribution: Making random selections from a set where some items should be picked more often than others. Quick ReferencesMySQL SQL Syntax Quick ReferenceMySQL SQL Syntax Quick Reference containing ALTER TABLE, CREATE TABLE, RENAME TABLE, DELETE, INSERT, SELECT and UPDATE syntax. Readline CheatSheetReadline is a library which provides a common input method. Many Unix programs use or emulate the library and its keystrokes. Amongst these are Emacs, Bash (by default) and Gnome. In these programs common keystrokes all give the same behaviour. For instance, pressing Control-A will move the cursor to the beginning of the line. This cheatsheet provides an overview of the keystrokes that work in most of the programs using or emulating Readline. |