Category Archives: Python

Managing multiple AWS identities

I’m running multiple different project on AWS which was so much of a pain to use, as I often find myself having to use the identity of project-a together with the official amazon ec2 tools. To help myself manage the … Continue reading

Posted in Python, Work | 1 Comment

Django – sharing a memcached instance

Update: Some Curious User brought to my attention, that a ticket has been opened which, when implemented, will add a setting for a cache prefix. It will also allow other cache key manipulations. Until recently I’ve been using the file:// … Continue reading

Posted in Django, Programming, Python, Work | Tagged , , , | 6 Comments

Django compatible PyAMF test client

While working on a project using PyAMF today, i was about to write a unittest of a service method, when I realized that it would be harder than necessary to make unittests of the service. The cause of this is, … Continue reading

Posted in Django, Programming, Python, Work, flash | Tagged , , , | 1 Comment

Mercurial trac commit hook

Having searched a lot around google, it does not seem that anyone has published their trac commit hooks for mercurial. Since I had to use just that, I’ve cooked up a little hook which is based on the hook from … Continue reading

Posted in Python, Ramblings, Work | 13 Comments

Fun with mod_macro and django

At work we yestoday decided to update our internal url structure for our client test sites, issue management systems and such arround a bit. Seeing as we decided on purchasing a genuine signed ssl wildcard certificate, we needed to change … Continue reading

Posted in Apache, Django, Python, Work | Tagged , , , , | Leave a comment

Asynchronous socket server in python

The code for a very simple asynchronous socket server written in python utilizing the asynchat module. It’s all in good fun.

Posted in Programming, Python, Work | Tagged , , , , | 1 Comment