Skip to content

Instantly share code, notes, and snippets.

@shizmob
shizmob / Installing-Alpine-with-ZFS-and-LUKS-from-rescue.md
Last active April 4, 2022 13:03
Installing Alpine with LUKS and ZFS from just a rescue environment
  1. Boot your server into a rescue environment;
  2. Download both scripts to a root shell and edit their configuration section to match yours;
  3. Run ./enter-alpine.sh install-alpine.sh;
  4. If all goes well, reboot, wait for the network to come up and ssh -p 422 <server-ip>;
  5. You can now remote unlock the server by running unlock-luks once per disk; if successful, the boot shell will exit and the server will continue the boot sequence.
@shizmob
shizmob / keybase.md
Last active October 15, 2017 16:09
Keybase verification

Keybase proof

I hereby claim:

  • I am shizmob on github.
  • I am shiz (https://keybase.io/shiz) on keybase.
  • I have a public key ASBCEhRGPB9yJWVUdLXnRMuulUY3dB_6uNB4UB1bBq8bKAo

To claim this, I am signing this object:

@shizmob
shizmob / pomfload
Last active July 5, 2018 14:08
simple pomf uploader
#!/bin/sh
downpomf="https://a.pomf.cat/"
uppomf="https://pomf.cat/upload.php"
if test $# -lt 1 ; then
echo "Usage: `basename $0` FILE [FILE...]"
exit 1
fi
set=