April 27, 2016

NPM proxy cache for CI

Same like bower, it might happen that you need to build things not only locally but also in some sort of CI. Deploying a npm proxy cache is fairly easy. Installation I suggest to add a specific user for this: useradd -m -d /var/cache/npm -s /bin/false npm Some neccessary packages: apt-get install nodejs You probably want to fetch the latest packages. Now we install the cache: sudo -u npm /bin/bash cd npm install npm-proxy-cache Startup /etc/systemd/system/npm-proxy-cache. Read more

April 26, 2016

Bower caching proxy

If you’re using bower for some of your projects and may happen to build this not only locally but also in some sort of CI, you might want to have a bower caching proxy in your network. Installation I suggest to add a specific user for this: useradd -m -d /var/cache/bower -s /bin/false bower Some neccessary packages: apt-get install git python-virtualenv Now we install the cache according to the README. Read more

March 25, 2016

Pidgin with XEP-0280 Message Carbons

If you have multiple clients connected to a jabber server with XEP-0280 enabled, you may want to receive all messages on all clients. ATM, Pidgin does not support this, but there’s a patch available. I’m just picking up this comment on how to build it: mkdir -p ~/pidgin docker run --rm -ti -v ~/pidgin:/pidgin -w /pidgin ubuntu:xenial /bin/bash apt-get update apt-get install curl dpkg-dev -y apt-get source pidgin apt-get -y build-dep pidgin cd pidgin-* curl -O https://developer. Read more

March 25, 2016

Cubox-i/RPi2 OpenELEC 6.95.1 Beta (Kodi 16 Jarvis) Tvheadend client

I’ve just installed the first beta of OpenELEC 7 a.k.a. 6.95.1 with Kodi v16 Jarvis on my Cubox-i and RPi2. The Tvheadend service was updated and worked straight out of the box, unfortunately the client does not due to mismatching API versions. Following the steps outlined in this thread, i managed to compile an updated version: docker build mkdir -p ~/openelec/builds docker run -it --name imx6 -v ~/openelec/builds/:/builds damonmorgan/openelec-dependencies /bin/bash cd /builds/ git clone -b 6. Read more