Skip to content

Instantly share code, notes, and snippets.

@gspu
gspu / README.md
Created January 10, 2023 12:56 — forked from strfry/README.md
Deploys FreeBSD on a Hetzner cloud server

Deploys FreeBSD on a Hetzner cloud server

Prerequisites:

  • A Hetzner Cloud API Token (Pass in via APIKEY)
  • jq
  • sshpass

Usage

Replace server_id variable with your hetzner server Id
@gspu
gspu / ZFS Snapshot Deletion
Created September 9, 2022 11:43 — forked from alexjj/ZFS Snapshot Deletion
Delete all ZFS Snapshots
zfs list -H -o name -t snapshot | xargs -n1 zfs destroy
@gspu
gspu / cryptsetup-with-luks2-and-integrity-demo.sh
Created May 24, 2021 16:55 — forked from MawKKe/cryptsetup-with-luks2-and-integrity-demo.sh
dm-crypt + dm-integrity + dm-raid = awesome!
#!/usr/bin/env bash
#
# Author: Markus (MawKKe) [email protected]
# Date: 2018-03-19
#
#
# What?
#
# Linux dm-crypt + dm-integrity + dm-raid (RAID1)
#
@gspu
gspu / etc_sysctl.conf
Created August 15, 2020 10:45 — forked from clemensg/etc_sysctl.conf
My FreeBSD /etc/sysctl.conf
# /etc/sysctl.conf
# Clemens Gruber, 2014
#
# Uncomment this to prevent users from seeing information about processes that
# are being run under another UID.
security.bsd.see_other_uids=0
## I/O
@gspu
gspu / keybase.md
Last active December 12, 2016 12:40

Keybase proof

I hereby claim:

  • I am gspu on github.
  • I am gsp (https://keybase.io/gsp) on keybase.
  • I have a public key ASDgH_Hsilij4Vw5l4A-0rukJ-10gjMofgXiUPQv9X9d_go

To claim this, I am signing this object: