Kurt Neufeld @ July 15, 2005 wrote... (11 years, 1 month ago)

BurgundyWall is located in Calgary, Canada, and the inspiration for the domain name is located at the end of my living room. If you're really curious you can read (a very little) about me.

If you're interested in any of my articles or if you need a skilled developer then send me an email or check out my resume.

I am available for contract work and have a varied professional experience. So if you need help with embedded Linux application development, Windows application development, Django webapps, and general Linux (and networking) system administration please get in touch.

I have a long history of delivering a quality product on time and on budget. If you have some IT related problems that you want to go away I can probably make that happen.

Category: uncategorized
Comments: 0
Kurt Neufeld @ August 30, 2016 wrote... (1 day, 12 hours ago)

I was trying to get Plex to run in a container on CoreOS and for the life of me I couldn't get it to start. I kept getting the following error:

Error: Unable to set up server: bind: Cannot assign requested address (N5boost16exception_detail10clone_implINS0_19error_info_injectorINS_6system12system_errorEEEEE)

It turns out that at some point I had enabled IPv6 and that caused the problem.

So edit your Preferences.xml and disable IPv6 via EnableIPv6="0"

Here's my plex.service for completeness.

[Unit]
Description=plex media server
After=etcd2.service
After=docker.service

[Service]
TimeoutStartSec=0
Restart=always
EnvironmentFile=/media/metadata/plex/environment
ExecStop=-/usr/bin/docker kill plex
ExecStartPre=-/usr/bin/docker kill plex
ExecStartPre=-/usr/bin/docker rm plex
ExecStart=/usr/bin/docker run --name plex --rm \
--net=host \
--env-file /media/metadata/plex/environment \
-e PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/config \
-v /home/plex:/config \
-v /home/media:/media \
timhaak/plex:latest
Category: tech, Tags: docker, plex
Comments: 0
Kurt Neufeld @ June 3, 2016 wrote... (2 months, 4 weeks ago)

Yesterday I was working on Pygments during a Pycon 2016 sprint and added markdown syntax highlighting (with help from Tim Hatch). My pull request just got merged so version 2.2 will finally highlight GitHub flavored markdown (issue).

Category: tech, Tags: python
Comments: 0
Kurt Neufeld @ June 3, 2016 wrote... (2 months, 4 weeks ago)

I was working on Magic Wormhole during a Pycon 2016 sprint and noticed that zipfiles don't preserve file permissions. I'm not the only one who's noticed this (some posts go back over five years) but it still doesn't appear to be fixed.

Anyhow, here's how I did it…

more…

Category: tech, Tags: python
Comments: 0
Kurt Neufeld @ May 3, 2016 wrote... (4 months ago)

At work I upgraded to Ubuntu 16.04 LTS and every time I ran gvim I got a bunch of errors.

(gvim:19805): Gtk-WARNING **: /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-fcitx.so: cannot open shared object file: No such file or directory
(gvim:19805): Gtk-WARNING **: Loading IM context type 'fcitx' failed

more…

Category: tech, Tags: linux, ubuntu
Comments: 0
Kurt Neufeld @ March 28, 2016 wrote... (5 months ago)

Even after watching a bunch of YouTube videos and reading some websites I still didn't have the foggiest clue on how to actually enter any records in my current software of choice, webzash.org.

In fact I was losing my mind, figuring the two demo programs I was using were both wrong but knowing that couldn't be the case. That's how hard it was for me to wrap my head around these concepts.

So here's how I think this stuff works. It's likely wrong and/or incomplete so take everything I'm about to say with a huge grain of salt.

more…

Category: business, Tags: accounting
Comments: 1
Kurt Neufeld @ March 28, 2016 wrote... (5 months ago)

It took a bit of doing but I was able to install Webzash in a Docker container behind a nginx web server. Here's how I did it.

more…

Category: tech, Tags: accounting, linux, nginx
Comments: 0
Kurt Neufeld @ September 9, 2015 wrote... (11 months, 3 weeks ago)

I recently moved my web server to Digital Ocean but apparently didn't properly configure my python virtual environment. My apologies to whomever tried to leave a comment but couldn't.

It should all work now.

Category: tech
Comments: 0
Kurt Neufeld @ June 6, 2015 wrote... (1 year, 2 months ago)

Gitolite uses a slightly funky url scheme that can wreck havoc with other tools. In particular I wanted to use Google Repo (worst name ever by the way, htf do you search for git and repo to find this?)

Anyway, here's how…

more…

Category: tech, Tags: git
Comments: 0
Kurt Neufeld @ May 22, 2015 wrote... (1 year, 3 months ago)

I often want to make a directory and then immediately cd into that directory.

mkdir foo
cd foo

put the following in your .bashrc

function mcd()
{
    mkdir $*
    args=($*)
    cd ${args[@]:(-1)}
}

and then

source ~/.bashrc
mcd -p a/b/c/d
Category: tech, Tags: shell
Comments: 0