rclone (remote) token update

when your super spiffy rclone setup needs a token refresh … ssh into the server remotely with the requisite port forwarding enabled. ssh -L 53682:localhost:53682 username@server update the token rclone config update <myremote> env_auth true do the needful with your OAuth provider meta location: minneapolis, mn weather: 🌫 (Mist) +64°F

December 3, 2022 · steve ulrich

breaking (n)vim changes

overview over the course of the past year i’ve more or less been forced to move off of emacs and onto nvim. the positive impact on my fingers and hands has been huge. but the retraining of years of muscle memory has been more than a little painful. i’m still getting my vim mojo, but i think i’m more or less 80% as productive as i was previously. recently, i noticed that with the move to nvim 0....

December 24, 2021 · steve ulrich

removing snaps from ubuntu 20.04 LTS

# list the snaps installed by default % snap list # remove these 1 by 1 % sudo snap remove <snap-name-from-above> # remove any snap directories % sudo rm -rf /snap /var/snap # purge snapd from the system % sudo apt purge snapd

April 25, 2020 · sulrich

flatten json to paths

the following will take the output from a json object and flatten it into a key-value path. this is particularly handy when you’re looking to parse out the supported paths in a given device. note: you need to remove the \s from this output and put the entire jq string on the same line. jq '[leaf_paths as $path \ | {"key": $path | join("/"), "value": getpath($path)}] \ | from_entries' foo.json alias to make life happy....

December 16, 2019 · sulrich