Skip to content

Instantly share code, notes, and snippets.

@paluh
paluh / Main.purs
Last active December 9, 2021 19:50 — forked from anonymous/Main.purs
Published with try.purescript.org
module Main where
import TryPureScript (p, text, render)
import Prelude
import Data.Generic.Rep (class Generic)
import Data.Show.Generic (genericShow)
data Route = Home | Users String | User Int | NotFound String
@paluh
paluh / hetzner-cloud-wipe-and-install-nixos.sh
Created June 11, 2020 14:39 — forked from alexanderkjeldaas/hetzner-cloud-wipe-and-install-nixos.sh
Example script to install NixOS on a Hetzner dedicated server via the Hetzner rescue mode
#!/usr/bin/env bash
# Installs NixOS on a Hetzner Cloud CX51 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: