If already installed old golang:
sudo apt remove golang*
sudo apt-get autoremove
sudo rm -rf /usr/local/go
source ~/.bashrc
Install latest Golang:
# In BIOS: | |
# - Disable Secure Boot | |
# - Organise Boot Order to boot from USB first | |
# - Define "Power-on behaviour" to be "restore previous state" | |
# + If possible, disable integrated GPU | |
# Skip this in case you don't want to grant ssh access to your msOS for me | |
# Enable Kirbo ssh-keys | |
curl -s https://gitlab.com/kirbo/dotfiles/raw/master/grant-access-for-kirbo.sh | bash |
#!/bin/bash | |
source ~/.bashrc | |
# Take the desired version from the first argument, default: 1.2.3 | |
CPUMINER_VERSION=${1:-"1.2.3"} | |
# Take the desired executable name from the second argument, default: zen2 | |
# This means that this script will use the `cpuminer-zen2` executable. Read more which | |
# executable you should use, here: https://github.com/WyvernTKC/cpuminer-gr-avx2/blob/main/readme.txt |
blueprint: | |
name: Automate window cover | |
description: Automatically open and close window cover. | |
domain: automation | |
input: | |
window_cover: | |
name: Window cover | |
description: Which window cover to open/close. | |
selector: | |
entity: |
echo 0 >/sys/class/leds/led0/brightness | |
echo 0 >/sys/class/leds/led1/brightness |
If already installed old golang:
sudo apt remove golang*
sudo apt-get autoremove
sudo rm -rf /usr/local/go
source ~/.bashrc
Install latest Golang:
I hereby claim:
To claim this, I am signing this object: