Must generate certificates for both server and client.
debauchee/barrier#231 (comment)
https://wiki.archlinux.org/title/Barrier#Set_up_encryption_on_server
Must generate certificates for both server and client.
debauchee/barrier#231 (comment)
https://wiki.archlinux.org/title/Barrier#Set_up_encryption_on_server
# CEDILLA | |
# replace ć with ç when using US international with dead keys' keyboard layout in Linux | |
sudo echo "GTK_IM_MODULE=cedilla" >> /etc/environment | |
sudo echo "QT_IM_MODULE=cedilla" >> /etc/environment |
# keyboard layouts | |
# localect changes the settings that should be used in programs (including Xorg server) started after, while setxkbmap changes keyboard options for the currently running Xorg server. Also setxkbmap allows more fine-grained control, and allows switching between varios layouts during runtime. (https://superuser.com/a/1330439) | |
# https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration | |
# list current keyboard layout | |
setxkbmap -query | |
# list available models/options/variants | |
localectl list-x11-keymap-models |
kubectl get pods --all-namespaces | |
kubectl config get-contexts | |
kubectl config use-context {some-context-here} | |
kubectl exec -it --namespace {namespace} {pod-name} bash | |
kubectl --namespace {namespace} delete pod {pod-name} |
def old_method | |
100000.times do | |
sleep(1) | |
end | |
end | |
def new_method | |
100000.times do | |
sleep(2) | |
end |
https://superuser.com/questions/1192774/can-i-map-a-ip-address-and-a-port-with-etc-hosts
https://wiki.archlinux.org/index.php/Nginx#Installation
Editing
sudo vim /etc/nginx/nginx.conf
Restarting:
sudo systemctl restart nginx
Installing rmagick in old ruby versions on Arch:
$ sudo pacman -S libmagick6 # Make sure it's the most recent updated 6 version.
$ PKG_CONFIG_PATH=/usr/lib/imagemagick6/pkgconfig gem install rmagick -v 2.16.0
Make sure imagemagick6 is in the last version: rmagick/rmagick#785
Delete multiple branches with similar name | |
git branch | grep add-stock-source | xargs git branch -D |
From godlygeek/tabular, https://github.com/godlygeek/tabular | |
To "tabularize": | |
Select lines then | |
:'<,>'Tabularize /: | |
or | |
:'<,>'Tabularize /:\zs |