Archive for October, 2007
Using tcpdump on a linux-vserver guest
To debug a problem I’m working on, I need to be able to see network traffic on an interface inside a linux-vserver guest. To do this, you have to enable the CAP_NET_RAW capability for that guest.
> echo “NET_RAW” >> /etc/vservers/myserver/bcapabilities
Then just restart the vserver.
I noticed you don’t have to enable NET_ADMIN, or unhide the [...]
Programming a client for the WHOIS protocol
I have a little task that involves programmatically determining whether DNS servers are set correctly for a domain. Since this project is written in Python, I first set out to see if there were any “whois” clients already available for Python. I eventually found rwhois.py, which is a whois client with recursive [...]
Upgrading to Wordpress 2.3 and the New Built-in Tagging Feature
I’ve barely completed an upgrade to Wordpress 2.3. Out of many new improvements, one which stood out to me is the integrated tagging support. No longer, is it necessary to download one of the many tagging plugins.
Some things I noticed during the upgrade:
My existing tagging plugin broke at the time of [...]
More RAM? Or maybe a new Computer?
Well, my sister asked me today which is better, getting more RAM, or just getting a new computer. I’ll do my best to explain.
Your CPU is directly responsible for the speed at which a computer program runs. If programs load slow, take a long time to do certain tasks, and your computer seems [...]
Gentoo Init Scripts for Cherrypy
A few of the web applications I am hosting/developing are written with TurboGears which uses Cherrypy as its applications server. I have a couple things that need fixed for hosting CherryPy web applications on my Gentoo systems. First, there are no init scripts for CherryPy. Second, I’m running mulitple web applications per [...]
Pardon my dust
I found that my theme was not working correctly in Internet Explorer (Gee, imagine that.)
Rather than search for another, I’ve decided to tweak it myself. Pardon my lack of styles for a bit.
Edit There. I’ve created a new template, based on my old template’s stylesheet, that uses YUI Grids instead of [...]