Archive for July, 2010


Perl Virtual Environments

Introduction One nice tool for Python is virtualenv. It allows you to create sandboxed Python library repositories and enable them and disable them at will. By utilizing this, you are able to work on separate projects that can each have their own individual environment and not affect other environments. Perl has something similar called local::lib. [...]

Read More...



Python Development

Introduction I first learned Python back in 2004-2005. I thought it was a great language and I loved programming and scripting with it. Then in 2007 I took on a job as a Windows systems administrator. The environment had no use for Python so I stopped using it. A month ago I decided to pick [...]

Read More...



Surviving an HTTP DDOS Attack

Introduction I occasionally run into a cPanel server under a DDOS attack due to either the site itself being attacked or the site has had malicious files uploaded to it that are being used to launch an attack. This post will describe what I do to help mitigate the attack.

Read More...



Automating an Ubuntu Server Install

Introduction Updated for Ubuntu 10.04 LTS While the installation procedure for Ubuntu Server is simple enough, I wanted to create a total hands-free solution. Doing so would allow me to simply boot a new PC or Virtual Machine and have a working Ubuntu Server in 10 minutes or so. The solution I came up with [...]

Read More...



Django and OpenID

Introduction OpenID is a technology that can be used to allow a single account to log into many different OpenID-enabled web sites. Both developers and users benefit from this: the user does not have to create a new account for each site he or she visits and the developer does not have to worry about [...]

Read More...



Soft Deleting with Django

Introduction Normally when a piece of information is deleted, it is gone forever. Unless you have a backup copy, you will have to manually recreate the information. “Soft deleting” is a method that will simply mark the information as inactive instead of performing an actual delete. Since storage space is cheap and abundant, soft deleting [...]

Read More...