SSH Tricks
Proxy
Recently I learned that we could ssh proxy, previously I was using tailscale and a vps on cloud.csclub.uwaterloo.ca
But then Leo, told me that I could just use `ssh -D`, which basically sets it up like a proxy server. You can search up the documentation
Git tricks
Depth
If you just need to build smth from souce, and need the code, and are ok with a shallow clone. Adding `--depth 1` can help quite a bit. Since it just tells git to get a shallow history, not EVERYTHING
git add *
Adds everything, except for things with a `.` infront of it... mostlyyy
sudo
When you get screwed
If you fuck up your dns, and network enough, sudo stops working
Compiling for embedded
unknown-elf (or none-elf) vs linux-gnu
If you know what these mean, yous hould know what what I'm about to say.
So you should genreally try to use linux-gnu, not because it links against linux, but because it specifies the calling convention. The unknown/none-elf compiler stuff dont specify what the calling convention is, which makes it impossible to write programs that work with eachtoher.
Packaging tips
They're all objectively terrible, I've tried rpms, packaged for the mirror.csclub.uwaterloo.ca mirror, AppImages, and so many more, they're all mid
dupload/dput
By the way, dupload is bugged in weird ways (I literally supplied it true, and it still failed), you're better off just switching to `dput` which is much more consitently functional. Should already work
Appimages
STATICALLY LINK THEM, THEY BREAK SO EASILY