Notes and anecdotes

Techstuff rambling

The easy way of sending newsletter emails

I’ve been working a bit with automatic emails, newsletter etc. lately. And if there’s one thing I have to say, it would be: FUCK OUTLOOK. I’ve spent so much time doing stupid style changes for an html email to look nice in Outlook 2011, Outlook Web App and Outlook 2013. It’s like they render html mails with three completely different…

Continue Reading

Running Django with nginx (on webfaction)

Case: You’re using virtualenv and have used apache with a config somewhat like this. Problem: Apache ‘goes to sleep’ Apache caches your wsgi application, and if it’s not used within a certain amount of time, it has to reload. And this takes like.. 10-15 seconds. Solution: Use nginx instead: Set up a custom application, and install nginx + uwsgi to point to…

Continue Reading