MM_XSLTransform Error

MM_XSLTransform error. [RSS URL] is not a valid XML document.  Non-static method DOMDocument::loadXML() should not be called statically, assuming $this from incompatible context in file I recently came across this error and took me a lot of searching to find out the right fix for…

Secure Firewall for OpenVPN

Creating a secure firewall is essential for any openvpn configuration. First of all, I’d strongly recommend grabbing a copy of Linux Firewalls. Its got a great section on iptables, with a look at all the commands available to you as well as an example firewall…

wxpython Segmentation Fault

In some of my wx python apps, I have come across this error. It usually appears like this on the command line Segmentation Fault (core dumped) The most common reason for me getting this error, has been when a non-main thread tries to directly manipulate…

Part 3: Setting up the schedule

Part3: Setting up the schedule So you’ve got the python screen capturer and emailer sorted. Now all we need to do is combine the two and set up a process to perform on a regular basis. 1. ScreenMailer First, we’ll combine the two. When this…

Part 2: Python Emailer

Part 2: Python Emailer If you want to send emails using python’s smtplib, this is a good example. The method sendMail takes 8 arguments and is able to send attached emails to an address. Currently, this is only tested using my gmail account as the…

Linux Windows Usage Surveillance in Python

Lets say you want to keep track of a computers usage, for remote working. It should deliver hourly shots of computer usage to an email address that you’ll give it. It will also deliver screen shots every 2 minutes, but you can choose whether it…