Skip to content

Instantly share code, notes, and snippets.

View dominiwe's full-sized avatar
🐚
~

Domi dominiwe

🐚
~
View GitHub Profile
@dominiwe
dominiwe / cicd-ssh-helper.bash
Last active April 8, 2023 21:31
A script which generates information to use ssh in a ci/cd pipeline.
#!/bin/env bash
set -euo pipefail
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then
echo -e "This script takes a hostname as its only argument.
It will get the host key and print a base64 encoding of it to be used in a CI/CD variable.
It will also generate a new ssh key pair and print:
@dominiwe
dominiwe / uninstall-guix.md
Created December 27, 2022 14:27
Uninstall guix after installing it on top of an existing GNU/Linux system

How to uninstall guix

Date of creation: 2022-12-27

First of all, if the install script referenced here was used to install guix, ideally the output of that script as well as the script itself should have been saved somewhere. This makes it easier to see which components were installed and where and thus makes it easier for you to uninstall them.

As for me personally, I used the install script to install guix on a debian derivative distribution with systemd. This guide thus focuses on uninstalling guix from a debian derivative distribution but will probably work for your distribution as well with some slight changes.