Skip to content

Instantly share code, notes, and snippets.

View yeahoffline's full-sized avatar
🏴‍☠️
BUY BITCOIN

Frank yeahoffline

🏴‍☠️
BUY BITCOIN
View GitHub Profile
@mayankchhabra
mayankchhabra / Umbrel-Odroid-H2.md
Last active December 1, 2020 15:31
Running Umbrel on Odroid-H2 with Ubuntu 18.04

After you’ve flashed Ubuntu 18.04 on your microSD card and plugged it into your Odroid H2 board, connect the SSD, ethernet and power supply to it. Turn it on and SSH into your system.

Step 1. Update packages

sudo apt-get update
sudo apt-get upgrade

Step 2. Change system’s hostname to “umbrel”

@MattSurabian
MattSurabian / redis-one-line--pattern-delete.sh
Last active November 14, 2018 17:52
One liner for deleting based on a pattern in redis. KEYS supports wildcards, delete doesn't. No worries xargs to the rescue. You might not need HOST, or PORT depending on your setup. You might need to sudo BOTH commands depending on your setup.
redis-cli -h <HOST> -p <PORT> KEYS "<PATTERN>" | xargs -i% redis-cli -h <HOST> -p <PORT> DEL %