Skip to content

Instantly share code, notes, and snippets.

View macvenez's full-sized avatar

Marco Veneziano macvenez

  • Turin, Italy
  • 10:31 (UTC +02:00)
View GitHub Profile
@sandeepmistry
sandeepmistry / led_callback_nRF51822_low_power.ino
Last active November 19, 2023 21:55
BLEPeripheral nRF51822 - Low Power (Interrupt) Example
// 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
@HonbraDev
HonbraDev / remove.sh
Last active June 17, 2024 21:09
Ubuntu Server 20.04 LTS Firefox kiosk
# 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