Skip to content

Instantly share code, notes, and snippets.

View DaVukovic's full-sized avatar

David DaVukovic

View GitHub Profile
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
@DaVukovic
DaVukovic / a
Created July 24, 2018 03:39 — forked from CvH/a
#!/bin/bash
# variables
PATH_STAGING="/var/www/addons-staging"
PATH_TARGET="/var/www/test1"
PATH_LOG="/tmp/addon.log"
PATH_ADDON_REPO="/var/www/addons-repo"
# kill log
if [ -f $PATH_LOG ]; then
@DaVukovic
DaVukovic / tvh.sh
Last active November 30, 2018 07:10
Installs tvheadend on Ubuntu machines
#!/bin/sh
# This script installs TVHeadend on your Ubuntu 16.04.x machine
#
# Exit-codes:
# exit 1 = no root rights
# exit 2 = not using Ubuntu 16.04
# exit 3 = TVHeadend already installed (exit in install-function)
# exit 4 = TVHeadend is not installed (exit in deinstall-function)
# exit 5 = TVHeadend repo already exists