Archives week 23 of 2013

June 10, 2013 - June 16, 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

You got Video in my Django at Django Toronto

Realized this morning that I offered to do a quick talk on how to get video running on your web-site at the Django Toronto tomorrow.  So I've put together a small demonstration that shows creating HLS and RTMP streams (using nginx-rtmp), and a quick demo showing how to push to the server using a video-for-linux ...

Continue reading

Daily archives

Previous week

Week 22 of 2013

Next week

Week 24 of 2013

Archives