I hereby claim:
- I am dargmuesli on github.
- I am dargmuesli (https://keybase.io/dargmuesli) on keybase.
- I have a public key ASBwtIR5hr5ptYEqz_iJX0sDfbTEhLvlcPoJ_SncMQsojgo
To claim this, I am signing this object:
| #!/bin/bash | |
| removeorphans() { | |
| orphans=(); | |
| while read -r | |
| do | |
| orphans+=("$REPLY") | |
| done < <(pacman -Qtdq) |
| #!/bin/bash | |
| sudo tee /proc/acpi/bbswitch <<< OFF |
| #!/bin/bash | |
| set -o errexit -o pipefail -o noclobber -o nounset | |
| LIGHT_BLUE='\e[94m' | |
| LIGHT_GREEN='\e[92m' | |
| LIGHT_RED='\e[91m' | |
| LIGHT_YELLOW='\e[93m' | |
| NC='\e[0m' |
| #!/bin/bash | |
| # default | |
| sudo docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce | |
| # rootless | |
| docker run -d -p 8000:8000 -p 9443:9443 --name=portainer --restart=always -v "$XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock" -v portainer_data:/data portainer/portainer-ce |
| # Run | |
| # wget https://gist.githubusercontent.com/dargmuesli/58073a79a71f97e6bdd60d6cb93f207c/raw -O docker-debian-amd64-start.sh && chmod +x docker-debian-amd64-start.sh && ./docker-debian-amd64-start.sh | |
| sudo apt-get update | |
| sudo apt-get -y install \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| gnupg2 \ | |
| software-properties-common |
I hereby claim:
To claim this, I am signing this object:
| verwirrend | cool | verwirrend | cool | |
| # Run | |
| # wget https://gist.githubusercontent.com/dargmuesli/645a4d51ab1806ebfb3329fb05637318/raw -O hetzner-start.sh && chmod +x hetzner-start.sh && ./hetzner-start.sh | |
| sudo apt-get update \ | |
| && sudo apt-get -y dist-upgrade \ | |
| && sudo apt-get -y install git vim | |
| passwd | |
| echo "username: " | |
| read username | |
| useradd -U -G users,sudo -m -s /bin/bash "$username" |
| #!/bin/bash | |
| # | |
| # Updates self signed certificates for local development via HTTPs. | |
| # | |
| # Exit on errors, use last pipe error code, do not overwrite files, ensure | |
| # variables exist | |
| set -o errexit -o pipefail -o noclobber -o nounset |
| <# | |
| .SYNOPSIS | |
| Updates self signed certificates for local development via HTTPs. | |
| .DESCRIPTION | |
| Creates (or updates if needed) a root ca certificate for development and a | |
| project certificate which is signed by the root certificate. | |
| .PARAMETER ConfigPath | |
| Path to server certificate configuration. |