Skip to content

Instantly share code, notes, and snippets.

Avatar
🇸🇬

Moritz Angermann angerman

🇸🇬
View GitHub Profile
@angerman
angerman / hetzner-dedicated-wipe-and-install-nixos.sh
Created Dec 8, 2019 — forked from nh2/hetzner-dedicated-wipe-and-install-nixos.sh
Example script to install NixOS on a Hetzner dedicated server via the Hetzner rescue mode
View hetzner-dedicated-wipe-and-install-nixos.sh
#!/usr/bin/env bash
# Installs NixOS on a Hetzner server, wiping the server.
#
# This is for a specific server configuration; adjust where needed.
#
# Prerequisites:
# * Update the script to adjust SSH pubkeys, hostname, NixOS version etc.
#
# Usage:
@angerman
angerman / 0_reuse_code.js
Created Jan 29, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console