Dev Stuff

Rust

Toolchains

To install the nightly channel:

rustup toolchain install nightly

To check the installed toolchains:

rustup toolchain list

Targets

To include support for the Wasm target:

rustup target add wasm32-unknown-unknown

To check the installed targets:

rustup target list --installed

Fly.io

Update the DNS

This is a necessary step for my environment. Not sure if this will be the case for anyone else.

To get the list of the current active profiles:

nmcli connection show --active

To check the current DNS values

nmcli connection show 'NAME' | rg dns

To update the DNS:

nmcli connection modify 'NAME' ipv4.dns "8.8.8.8 1.1.1.1"

To reconnect:

nmcli connection down 'NAME'
nmcli connection up 'NAME'

flyctl

To installing flyctl:

curl -L https://fly.io/install.sh | sh

To sign in using flyctl:

fly auth login