Run Raspberry 3 in digital signage mode with Chromium Web browser on a TV screen
After weeks of struggling how to setup PulseAudio properly on a server for concurrent audio sources I finally found a way. This is a little guide through the process.
In my living room there is a little server machine for a lot of purposes. For example, it is connected to my A/V receiver (and obviously a TV) so I can use this machine for playing audio and video. My setup is the following:
- Kodi for playing movies, series, and live TV (over DVB-T2)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster | |
ARG DEBIAN_FRONTEND=noninteractive | |
SHELL ["/bin/bash", "-l", "-euxo", "pipefail", "-c"] | |
RUN apt-get update; \ | |
apt-get full-upgrade -y; \ | |
apt-get install -y --no-install-recommends \ | |
ca-certificates \ |
Our aim is to install Request Tracker (RT) 4.4.2 on Debian GNU/Linux 8.6 with less pain
Note: This won't work with Debian GNU/Linux 9.x.
At the time of writing…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -s -p "Password: " p; echo; h="$(echo -n $p | sha1sum | cut -d' ' -f1)"; echo "SHA1: $h"; s="${h:0:5}"; u="https://api.pwnedpasswords.com/range/$s"; echo "HTTP GET $u"; r=$(curl -s "$u"); c=0; for l in $r; do t="$(echo "${s}${l%:*}" | tr 'A-Z' 'a-z')"; test "$t" == "$h" && c="$(echo ${l##*:} | tr -d "[:cntrl:]")"; done; echo "Your password has been pwned $c time(s)" |