python


Featured Projects

Ttitle Status Description
project purplebot IRC Bot written from scratch in Python as a project to experiment with ( Github )

Posts

blog Handling Optional Django Modules

Django comes with support for MIDDLEWARE and provides several useful ones by default. I usually try to make my projects as useable as possible, and some debug middleware is only useful when development. Example Middleware Since the order and layering often matter, I’ll usually configure all my optional middleware in the correct spot like bellow, with a short comment. MIDDLEWARE = [ "debug_toolbar.middleware.DebugToolbarMiddleware", # Only enabled for debug "django.middleware.security.SecurityMiddleware", "whitenoise.middleware.WhiteNoiseMiddleware", # Used primarily for docker "django.

Read More →

blog I’d rather be using salt

Currently I’m using Ansible at work, but I would MUCH rather be using Salt . A discussion on the Salt mailing list reminded me of this again, so I thought I would write down a few notes regarding why I would rather be using Salt (and why I not-so-secretly use Salt for development) Why have both roles and playbooks? Roles and Playbooks are somewhat similar, and feel like they have some overlap in usage, so at times it can be quite frustrating to have things that are so similar but different.

Read More →