Skip to content

Instantly share code, notes, and snippets.

View mrpjevans's full-sized avatar

PJ Evans mrpjevans

View GitHub Profile
@mrpjevans
mrpjevans / fr_deps.md
Last active January 6, 2024 21:17
Installation process for facial recognition dependancies

Step 1: Install dependancies

sudo apt -y update && sudo apt -y full-upgrade
sudo apt install build-essential \
    cmake \
    gfortran \
    git \
    wget \
 curl \
@mrpjevans
mrpjevans / mopidy.conf
Created July 15, 2020 13:16
Sample mopidy.conf file for MagPi tutorials
[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 June 30, 2020 15:00
Start Mopidy Iris in kiosk mode on Chromium on Raspberry Pi OS
#!/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 &

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: