Skip to content

Instantly share code, notes, and snippets.

@matthinc
matthinc / borg.sh
Last active April 4, 2023 14:06
Script for using borg-backup with Hetzner storagebox
#!/usr/bin/env bash
########## Configuration ##########
SSH_PASSWD="" # SSH password of the storagebox
BORG_USER="" # Storagebox user
BORG_SERVER="xxx.your-storagebox.de" # Storagebox
BORG_REPO="~/borg" # Borg repository on the storagebox
FILES="/home /opt" # Files to backup (space separated)
###################################
version: "3"
services:
sftpgo:
image: "drakkan/sftpgo:v2-alpine"
# default user id
user: 1026
restart: always
expose:
# HTTP
- "8080"
@NileshGule
NileshGule / edit-metrics-server-deployment.md
Last active October 2, 2024 21:21
gist to update kuberentes metrics server deployment

deploy metrics server


kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml

edit metrics server deployment by adding command

@kconner
kconner / macOS Internals.md
Last active May 1, 2025 02:34
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options: