• Running a local Docker Machine at startup on OSX
    Running a local Docker Machine at startup on OSX
    The world of containers shifts rapidly. At the time of writing the former recommended method of running Docker on OSX - using the boot2docker CLI to configure a Virtual Box provisioned Linux VM that runs the Docker host …
  • Cross platform audio with Portaudio and libsndfile
    Cross platform audio with Portaudio and libsndfile
    In my recent efforts to make a game I’d reached a point where I had a rudimental 2d platform prototype which included a player character with animation via a sprite sheet, collision detection with the ground and …
  • Building Docker Exec (Part 2)
    Building Docker Exec (Part 2)
    Continued from Building Docker Exec Part 1 Some of the programs I wanted to be able to run with my new tools used features that were enabled at compiler level, for example C++11 or C++14 features. I didn’t want …
  • Building Docker Exec (Part 1)
    Building Docker Exec (Part 1)
    A while ago I made a start on the Project Euler problems - a set of mathematics-based programming questions - both because I wanted to improve my mathematical thinking and because their clear definition makes them a …
  • Simple HTTP Server in Python 3
    Simple HTTP Server in Python 3
    A while ago, I wrote about how to start a web server in an arbitary folder in Python 2. This can be done with Python 3 as well, but the module name has changed: python3 -m http.server
  • How I stopped worrying and learned to love Bash (part 2)
    How I stopped worrying and learned to love Bash (part 2)
    I wrote previously about the things I’ve learned about the Bash shell lately. This time I’m looking at two bits of functionality that are useful for scripts or functions with variable numbers of arguments. …
  • Simple HTTP Server in Python
    Simple HTTP Server in Python
    Note: This guide is for Python 2. See the follow up post for how to do this with Python 3. The other day my colleague Sam Starling pointed out an incredibly rapid way to start up an http server using Python 2’s …
  • How I stopped worrying and learned to love Bash (part 1)
    How I stopped worrying and learned to love Bash (part 1)
    Note: The second part of this series can be found here. For many years I have feared and avoided shell scripting. Perhaps my comfort zone was rooted in compiled languages. You might even say I’ve lived a very …
  • Hosting static and proxied content with Docker and nginx
    Hosting static and proxied content with Docker and nginx
    In addition to this site, I have personal projects that require web hosting but as I have neither the reliability or availability requirements for multiple nodes, I run a single VPS for all of them. I’ve been …
  • 3d Puzzles
    3d Puzzles
    Just like all the cool kids are doing, Lana and I spent our saturday evening putting together the Tower Bridge 3d puzzle. Last year we documented our assembly of the Eiffel Tower 3d puzzle, and its subsequent demolition …
theme: