Software Development

Sharing Environmental Variables With Docker & uwsgi

In this post I am going to describe how to share environmental variables between applications running in a uwsgi application server instance and the shell in the same Docker container.

Recipes

Spicy Ethiopian Berbere በርበሬ Flavoured Hummus

Here’s a great recipe for a spicy hummus dip with a unique flavour! It takes less than 30 minutes to prepare and is both delicious and simple. I love Ethiopian food. I love hummus. In Jamaica, where I live, we do not have Ethiopian food (which I’ve always found fascinating given that Rastafarians worship the …

Software Development

HTTPS For Local Development With React, Django, uWSGI & Docker

Lizard on red

I’m building an MVP for a SaaS application that will later be deployed to the cloud (AWS in this case). By default, most local development setups serve (insecure) HTTP connections, but production applications are (or should be) deployed using HTTPS. I wanted to understand and mitigate any issues with HTTPS before deployment, so I decided …

Hacking, Productivity, Software Development

How To Delete A List On Trello

Being unable to directly delete lists on Trello annoys the neatnik and engineer in me. Yes, you can archive them, but it’s not the same- sometimes you just want things deleted (for example when they’re created by mistake, as opposed to just being not relevant to your board anymore). Here’s a very easy way to …

DJing, Music

Restoring the old “Get Info” window in iTunes 12

* Update – the ability to use this hack seems to have been removed in a subsequent iTunes update… #BooHiss OK, let’s get this out of the way quickly… iTunes 12 blows monkey chunks. It features a more confusing header bar, no improvement in performance for large libraries and most importantly, it has taken a …

Atmel, emulate-the-f1, Hacking, Performance & DJing, Traktor

Emulating The Traktor Kontrol F1 – Part 3

In Part 2 of this series I described how to setup the hardware and software environment. Now we get to the juicy bits – the actual firmware that will make the Arduino Uno appear to your computer (and to Traktor) to be a Native Instruments Traktor Kontrol F1.

Atmel, Hacking

Building dfu-programmer on Mac OS X

I encountered issued building dfu-programmer on Mac OS X (10.7.5) – the make script wasn’t finding the libusb include file and library – here’s how I got it to work. I am using dfu-programmer 0.6.2 and fink to install libusb; the same technique will probably work with other installs of libusb, e.g. macports, manual install, …

Ableton Live, Hacking

apc40-mode: Change Firmware Modes On The Akai APC40

The Akai APC40 is a great controller for MIDI mapping to applications (Traktor, etc.) as it has a large and varied set of controls available, along with multi-coloured pads. For a MIDI application to take full advantage of these the APC40 needs to be in Firmware Mode 1; upon power-up, however, the APC40 enters Firmware …

Atmel, emulate-the-f1, Hacking, Performance & DJing, Traktor

Emulating The Traktor Kontrol F1 – Part 2

Development Setup In Part 1 of this post, I explained the background of this project. Now I’m going to detail the hardware and software development setup I am using. N.B. Since starting this series, Traktor 2.6.2 has been released, which allows MIDI mapping of the Remix Decks. I’ve decided to finish this series anyway, however, …