Python modules you should know: SlimIt

April 30, 2012 at 07:10 AM | categories: Python, PyMYSK, Howto | View Comments
Next in our series of Python modules you should know is SlimIt. I previously wrote about the minification of CSS files, the Slimit package is used for minification of Javascript files. http://slimit.org/ SlimIt is a JavaScript...

Python modules you should know: cssmin

April 29, 2012 at 02:10 PM | categories: Python, PyMYSK, Howto | View Comments
Next in our series of Python modules you should know is cssmin. Minification has recently gained prominence in the web 2.0 world due to the need to optimize web application performance. The cssmin package is used to minify css files....

Setup DKIM on Postfix with OpenDKIM

April 29, 2012 at 06:50 AM | categories: Postfix, Howto, DKIM, Centos, Email | View Comments
DKIM is an authentication framework which stores public-keys in DNS and digitally signs emails on a domain basis. It was created as a result of merging Yahoo's domainkeys and Cisco's Identified Internet mail specification. It is defined in RFC...

TIP: Various cheatsheets i find useful

April 28, 2012 at 08:35 AM | categories: Tips | View Comments
Jquery Cheat sheet Markdown Syntax Cheat Sheet Git Cheat sheet Regular expressions Cheat Sheet Django Cheat Sheet HTML Cheat Sheet Python Cheat Sheet RGB HEX Color Cheat Sheet ...

Python modules you should know: bcrypt

April 28, 2012 at 08:05 AM | categories: Python, PyMYSK, Howto | View Comments
Next in our series of Python modules you should know is bcrypt. I previously wrote about the passlib package which you can use to manage passwords, in some cases a fully featured password management package is not what you want....

Python modules you should know: pexpect

April 25, 2012 at 07:25 AM | categories: Python, PyMYSK, Howto | View Comments
Next in our series of Python modules you should know is pexpect. http://www.noah.org/wiki/Pexpect Pexpect is a pure Python module that makes Python a better tool for controlling and automating other programs. Pexpect is similar to the...

Python modules you should know: psutil

April 24, 2012 at 10:25 AM | categories: Python, PyMYSK, Howto | View Comments
Next in our series of Python modules you should know is psutil. https://code.google.com/p/psutil/ psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, disk, memory, network) in a...

Python modules you should know: Passlib

April 23, 2012 at 07:50 AM | categories: Python, PyMYSK, Howto | View Comments
Working with passwords is central to programming multi user applications, next in my on going series Python modules you should know is Passlib, a package that makes it easy for you to work with various password hashing schemes in Python....

Python modules you should know: Scrapy

April 22, 2012 at 10:50 AM | categories: Python, PyMYSK, Howto | View Comments
Next in our series of Python modules you should know is Scrapy. Do you want to be the next Google ? Well read on. http://scrapy.org/ http://pypi.python.org/pypi/Scrapy Scrapy is a fast high-level screen scraping and web crawling...

TIP: Block Spam from domains on the South Africa ISPA Spam Hall of Shame using DNSBL

April 22, 2012 at 09:30 AM | categories: Postfix, Howto, Exim, Email, Linux, Tips, Security | View Comments
The South Africa Internet service providers association (ISPA) maintains a list of known spammers dubbed the Spam Hall of Shame. The list is contains both domains as well as email addresses, this list is published on a webpage without downloadable...

Python modules you should know: Netifaces

April 21, 2012 at 08:35 AM | categories: Python, PyMYSK, Howto | View Comments
We all know of the great python packages, Django, Sqlalchemy, Pylons etc, however there are so many unsung heroes that we get to use when we need to get something we don't do often done. This series will try and...

TIP: Use a random IP address from an pool of addresses with Exim

April 21, 2012 at 08:21 AM | categories: Tips, Exim, Linux | View Comments
Create a lookup file /etc/exim/ips.txt with 1: xxx.xxx.xxx.1 2: xxx.xxx.xxx.2 3: xxx.xxx.xxx.3 4: xxx.xxx.xxx.4 Set the transport to: remote_smtp: driver = smtp interface = "${lookup {${randint:5}} lsearch {/etc/exim/ips.txt}}" randint will return a random number...