Skip to content

Instantly share code, notes, and snippets.

View Kirbo's full-sized avatar
🙈

Kimmo Saari Kirbo

🙈
View GitHub Profile
@Kirbo
Kirbo / initial-installation-for-msos.sh
Last active November 14, 2021 13:04
Initialise new msOS with cpuminer-gr updater command
# 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
@Kirbo
Kirbo / cpuminer-gr-msos-updater.sh
Last active October 25, 2021 12:05
cpuminer-gr update script for msOS
#!/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:

Keybase proof

I hereby claim:

  • I am kirbo on github.
  • I am kirbo (https://keybase.io/kirbo) on keybase.
  • I have a public key ASBudlK_7WS18Ps2uevBcv_44yBn1niEnJlTZ1VuKp8HhAo

To claim this, I am signing this object: