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
#!/usr/bin/env bash | |
# Copyright (c) 2017 Brian 'redbeard' Harrington <[email protected]> | |
# | |
# dumpcerts.sh - A simple utility to explode a Traefik acme.json file into a | |
# directory of certificates and a private key | |
# | |
# Usage - dumpcerts.sh /etc/traefik/acme.json /etc/ssl/ | |
# | |
# Dependencies - | |
# util-linux |
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
# Stop the kiosk service | |
sudo systemctl stop kiosk | |
# Remove the kiosk service from startup | |
sudo systemctl disable kiosk | |
# Remove the kiosk service | |
sudo rm -f /etc/systemd/system/kiosk.service | |
# Reload systemctl daemons |
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
// Import libraries (BLEPeripheral depends on SPI) | |
#include <SPI.h> | |
#include <BLEPeripheral.h> | |
// define pins (varies per shield/board) | |
#define BLE_REQ 10 | |
#define BLE_RDY 2 | |
#define BLE_RST 9 | |
// LED pin |