Skip to content

Instantly share code, notes, and snippets.

Avatar

PJ Evans mrpjevans

View GitHub Profile
@mrpjevans
mrpjevans / fr_deps.md
Created Oct 20, 2020
Installation process for facial recognition dependancies
View fr_deps.md

Step 1: Install dependancies

sudo apt install build-essential \
    cmake \
    gfortran \
    git \
    wget \
    curl \
    graphicsmagick \
@mrpjevans
mrpjevans / mopidy.conf
Created Jul 15, 2020
Sample mopidy.conf file for MagPi tutorials
View mopidy.conf
[http]
# Make sure the web interface can be accessed by the local network
hostname = 0.0.0.0
[audio]
# Direct audio to the DAC, not HDMI
output = alsasink
# The File extension isn't of much use, so we can disable it
[file]
@mrpjevans
mrpjevans / kiosk.sh
Created Jun 30, 2020
Start Mopidy Iris in kiosk mode on Chromium on Raspberry Pi OS
View kiosk.sh
#!/bin/bash
unclutter -idle 0.5 -root &
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' /home/pi/.config/chromium/Default/Preferences
sed -i 's/"exit_type":"Crashed"/"exit_type":"Normal"/' /home/pi/.config/chromium/Default/Preferences
/usr/bin/chromium-browser --noerrdialogs --disable-infobars --kiosk http://127.0.0.1:6680/iris &
View keybase.md

Keybase proof

I hereby claim:

  • I am mrpjevans on github.
  • I am mrpjevans (https://keybase.io/mrpjevans) on keybase.
  • I have a public key whose fingerprint is 5C88 EF5C 1AD8 94F6 D24A 278E 2EBA BCDD AB94 5B4A

To claim this, I am signing this object: