by GerardJP | Jun 12, 2008 | Tech
I needed a function that validates an IP address or network range. Since my python application will pass it as a parameter to iptables it needs to be correct and not ‘close to’. So I dug in … Validating an IP address or range with just a regex seems...
by GerardJP | Nov 3, 2007 | Tech
The script: chkdir.py Description The script emails differences on a directory’s listing. So if you’re monitoring changes in a specific directory you can use this script. Run it under CRON every 5 minutes and on any changes you’ll get an email...