Skip to content

Instantly share code, notes, and snippets.

View MarkWalters-dev's full-sized avatar

MarkWalters.dev MarkWalters-dev

View GitHub Profile
@MarkWalters-dev
MarkWalters-dev / replace-debian-with-arch.txt
Last active October 6, 2022 04:10 — forked from m-ou-se/replace-debian-with-arch.txt
Instructions to replace a live Debian installation with Arch
# I am using this to install arch on an ionos vps
# manjaro doesn't work beause it uses the manjaro config
# The debian iso doesn't have apt nor ssh. I need ssh because I can't paste in their web kvm.
# Using the ubuntu iso, use the help menu, enter shell
# In the kvm console, manually type the following:
useradd -m john
passwd
passwd john
@MarkWalters-dev
MarkWalters-dev / alert
Last active August 28, 2023 15:05
Simple script to let me know that a long running command is done. Uses ntfy, dunst/notify-send, and is ssh aware
#!/usr/bin/env bash
#🌩️ gist 3c02823a6bd111c90bad8344052143e6 alert
# Simple script to let me know that a long running command is done
# It uses both the ntfy service and either notify-send or dunst
# If it is running over a ssh session it will also try to use your local computers notify service
# Typical usage in a script:
# . $HOME/.bin/common/alert
@MarkWalters-dev
MarkWalters-dev / ghgist
Last active August 28, 2023 18:32
Add and update gists
#!/usr/bin/env bash
#🌩️ gist 992616d92e2cfca8b8e999490f16c1fc ghgist
# Uses gh to create and update gists
# TODO:
# If .gist used then setup symlinks
# Need method to gh gist clone without using a .gist folder
# look for short description in file and use it