Archives June 13, 2013

Single Artefact Deployment

The first talk at Django Toronto was on Wave's single artefact deployment mechanism.  Basically it's the Fussy Firmware Packager, but without the signatures.  We use Fussy to be able to send/provide customers with (signed) images that can be loaded on (potentially disconnected) machines (through their web interfaces).

The images include a built virtualenv including ...

Continue reading

Linux Refuses to See the HDMI

My talk at Django Toronto was scuttled by my computer refusing to recognize the HDMI (complained about a checksum failure when the HDMI was plugged in) and the further failure of the VirtualBox image to get onto the network so I could use another machine.  We spent all of the prep time trying to get ...

Continue reading

Fail2ban + Django convenient format

You want to use Django auth failures to generate fail2ban bans to protect against brute-forcing of your passwords. Nothing on django packages... So, you: wrap your login handler with a decorator that logs out messages on failures...

def log_login_failures( function ):
    auth_log = logging.getLogger( 'django.auth' )
    @wraps(function)
    def wrapped( request, *args, **named ):
        result = ...

Continue reading

avahi-daemon just works for hostname.local

So I wanted to set up my demo to be available at a friendly local URL when I run it tomorrow, so I decided to check out how avahi is doing these days.

sudo aptitude install avahi-server

Then edit /etc/avahi/avahi-daemon.conf

host-name=<yourhostname>

Restart avahi and your server will show up as <yourhostname>.local (or something similar, if ...

Continue reading

Previous day

June 12, 2013

Next day

June 18, 2013

Archives