Archive for the ‘Uncategorized’ Category

Do I really need lxcbr0 and docker0?

Tuesday, March 3rd, 2015

For some time I have noticed my system has docker0 and lxcbr0.   I couldnt understand why docker would both and too.

After a little searching I found out that since Docker 0.9, it hasnt used LXC instead using its own native libcontainer.

The lxcbr0 bridge appears to be something left over from an early version.

It can be removed using:

sudo ifconfig lxcbr0 down

sudo brctl delbr lxcbr0

Pretty Format Json in Emacs

Wednesday, May 29th, 2013

To format json data in emacs, its best to use the python module ‘json.tool’. Simply make a function to wrap up the whole buffer and format it.

(defun json-format ()
    (shell-command-on-region (point-min) (point-max) "python -m json.tool" (buffer-name) t)

Technic Lego 8052 – Container Truck

Wednesday, January 5th, 2011

Well for Christmas this year my parents wanted to get me the Technic Lego 8052 – Container Truck. Unfortunately the shops had sold out in the UK, so they gave me the money and told me to buy it here, in Germany.

Lego 8052 Container Truck

Lego 8052 Container Truck

Lego 8053 Container Truck Box

Lego 8053 Container Truck Box

Amazon shouldnt take long to deliver it.