First setup an unprivileged Ubuntu container with Plex Media Server installed. Inside the container take note of the id of the plex
group.
# Your Plex group's ID may be different
$ getent group plex | cut -d : -f3
998
#!/bin/ash | |
# Install packages | |
opkg update | |
opkg install luci-proto-wireguard | |
# Configuration parameters | |
WG_IF="wg0" | |
WG_PORT="51820" | |
WG_ADDR="192.168.9.1/24" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# print usage | |
DOMAIN=$1 | |
if [ -z "$1" ]; then | |
echo "USAGE: $0 tld" | |
echo "" | |
echo "This will generate a non-secure self-signed wildcard certificate for " | |
echo "a given development tld." | |
echo "This should only be used in a development environment." |
#!/bin/bash | |
# -------- | |
# SETTINGS | |
CHAT_ID="" | |
BOT_TOKEN="" | |
# -------- | |
old=$(basename "/$sonarr_episodefile_previousrelativepaths") | |
new=$(basename "/$sonarr_episodefile_relativepaths") |
#!/bin/bash -e | |
# qbit settings | |
QBIT_API="http://qbittorrent.lan:8080/api/v2" | |
# tag to filter by, it will be removed on resume command | |
TAG="cache" | |
# days to filter in epoch time | |
# DAYS_OLD=$(date -d "-1 days" +%s) | |
# read value from ca.mover.tunning | |
CA_SETTINGS=$(cat /boot/config/plugins/ca.mover.tuning/ca.mover.tuning.cfg | awk -F '"' '/daysold/{print $2}') |
Live Table: https://diafygi.github.io/webcrypto-examples/
I couldn't find anywhere that had clear examples of WebCryptoAPI, so I wrote examples and made a live table with them. Pull requests welcome!
version: '3' | |
services: | |
backup: | |
image: johannmx/vaultwarden_backup:latest | |
network_mode: none | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /share/Private/Valtwarden:/data:ro | |
- /share/Private/Backups:/backups |
on alfred_script(q) | |
if application "iTerm2" is running or application "iTerm" is running then | |
run script " | |
on run {q} | |
tell application \"iTerm\" | |
activate | |
try | |
select first window | |
set onlywindow to false | |
on error |
Format your sdcard to FAT on system's disk utils before start to remove every old linux systems.
Prepare sdcard (on linux)
lsblk
sudo umount /dev/sdX?
?
at end, just replace the X
with your disk, should be like sudo umount /dev/sda?
sudo fdisk /dev/sdX