OctoPi

Using a relay to control power: http://www.thingiverse.com/thing:1726120/#comment-1134637 Bought this relay: http://www.ebay.co.uk/itm/252614067501 Piggypack Pi's power from UM2 PSU: https://ultimaker.com/en/community/15515-powering-raspberry-pi-from-ultimaker-2-main-board So made my own mount: http://www.thingiverse.com/thing:2117493 Camera: http:…

Gitlab-ci with dockerized gitlab-runner

Install Gitlab runner as a docker container Mount a share from NAS First click a NFS share on the NAS, then sudo mkdir /var/lib/gitlab-runner In /etc/fstab, add: 10.0.1.30:/raiden/gitlab-runner /var/lib/gitlab-runner nfs auto 0 0 sudo mount -a Start gitlab-runner with spawning…

Add Lets Encrypt to JDK keystore

Will probably need to do this on more client machines: wget https://letsencrypt.org/certs/isrgrootx1.pem wget https://letsencrypt.org/certs/letsencryptauthorityx1.der sudo keytool -trustcacerts -keystore /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre/lib/security/cacerts -storepass changeit -noprompt -importcert -alias isrgrootx1 -file ~/Downloads/…

Setting up a docker registry

As part of my new "infrastructure setup" I need my own private docker registry. This is of course run as a docker container. Prerequisites: * docker * docker-compose Create and mount data storage on host machine * I create an NFS share on my NAS and mount it in fstab: 10.…

Let's encrypt with haproxy

Install HAProxy: Latest stable 1.6: * sudo add-apt-repository ppa:vbernat/haproxy-1.6 * sudo apt-get update * sudo apt-get install haproxy Haproxy plugin for webroot validation: I used this haproxy plugin to be able to serve simple files so that I can use the "webroot" validation protocol of the letsencrypt…

SSH key and encrypted home folder in Ubuntu.

I want to have encrypted home folder while still being able too login with ssh key without password or passphrase. The instructions here https://help.ubuntu.com/community/SSH/OpenSSH/Keys are lacking. Found https://stephen.rees-carter.net/thought/encrypted-home-directories-ssh-key-authentication instead. So for me running bash, what's lacking…

Mount Android filesystem on Mac

So I've been looking for a way to mount my Android phone on my mac file system. Seems to have been an issue for a long time. Found this: https://github.com/spion/adbfs-rootless Build adbfs-rootless git clone https://github.com/spion/adbfs-rootless cd adbfs-rootless Instructions are for…