/org/gnome/desktop/interface/font-hinting 'slight'
/org/gnome/desktop/interface/font-antialiasing 'grayscale'
/org/gnome/tweaks/show-extensions-notice false
/org/gnome/desktop/interface/monospace-font-name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# (c) 2023//Sam Dennon | |
# Keep this 'dry' | |
touchpad="org.gnome.desktop.peripherals.touchpad" | |
# List of gnome settings to change | |
gnome_settings=( | |
"accel-profile 'default'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Define an array of Braille patterns for a spinner | |
six_dot_cell_pattern=("⠙" "⠹" "⠸" "⠼" "⠴" "⠦" "⠧" "⠇") | |
eight_dot_cell_pattern=("⣾" "⢿" "⡿" "⣷" "⣯" "⢟" "⡻" "⣽") | |
# Set the pattern | |
braille_spinner=("${eight_dot_cell_pattern[@]}") | |
# Set the duration for each spinner frame (in seconds) |
Language | LSP | Install |
---|---|---|
Bash | bash-language-server | npm i -g bash-language-server |
CSS | vscode-css-language-server | npm i -g vscode-langservers-extracted |
Docker | dockerfile-language-server-nodejs | npm i -g dockerfile-language-server-nodejs |
Go | gopls | go install golang.org/x/tools/gopls@latest |
HTML | vscode-html-language-server | npm i -g vscode-langservers-extracted |
JSON | vscode-json-language-server | npm i -g vscode-langservers-extracted |
The idea behind this gist is to make this settings the default for all users
sudo apt install -y zsh
(debian based distro)sudo apk add zsh
(alpine)sudo git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /usr/share/zsh/powerlevel10k
sudo git clone https://github.com/zsh-users/zsh-autosuggestions /usr/share/zsh/zsh-autosuggestions
sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/share/zsh/zsh-syntax-highlighting
This information was spread out on several forum posts, blogs, wikis... etc. This gist is intended to collect all that information in one place so I don't have to dig it all up again. If you find it useful please leave a comment.
- You need to have a working install of TrueNAS Core or SCALE. (I prefer SCALE... it is just better)
- All of the following commands are performed in the shell on the NAS. (zsh is my prefered shell, these will work in bash)
- You need an api key from your DNS provider (my example is Digital Ocean) and an api key for your NAS. See official documentation for instructions on generating. (not in the scope of this gist)
- Your own domain
Get the from virsh list
It might be diferent from the display name in virt-manager.
virsh migrate --auto-converge --copy-storage-all --persistent --verbose <name> qemu+ssh://<new host>/system
- Use the
--undefinesource
flag to delete the origial VM after migration. - Both new and old host need to have ssh root access setup with keys. They also need to resolve in DNS if host names are used.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# First, check out the commit you wish to go back to (get sha-1 from git log) | |
git reset --hard 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a | |
# Then do a forced update. | |
git push origin +9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a^:develop | |
# Push specific commit | |
git push origin 9d3c3a0caa7f7b35ef15adb96fc80fcbb59ac72a:develop -f |
NewerOlder