Follow-up from “Dumbest Thing you have done distro-hopping?”.
Here’s mine - the laptop from which I’m typing right now has a broken touchpad that keeps jumping and clicking randomly, and does not work. Well, I can’t afford to fix it, but at the moment, I was so pissed off I punched the touchpad really hard, and the machine panicked with all the lights blinking. A few more revival abuses, and the machine was back to life, but since I was running a nixos-rebuild switch --upgrade
in the background, I blew off my boot partition. I think I just broke the unbreakable distro.
Two things:
rm -fr / --no-preserve-root
, but I was really tired that day, and for some reason, I pressed enter. After a second, I did Ctrl+C, and luckily, it was without sudo, but it still deleted many random files on my system that I’ve had access to.My vicious cycle: Oh no I did ssh into localhost again. Fuck, let’s do some damage control and disable SSH access to my desktop.
Two days later: ugh, I don’t want to change rooms, I want to do this on my laptop and sit in the living room, but need something from my desktop. Why did I think it was a good idea to disable SSH access…
Then repeat.
I had two jetsons that i was using for a project, had one on my desk and one in another office. Started back into some gpio stuff that I’d been working on the last few days and found that i was getting nothing, after about an hour of fucking with configuration trying to determine what had happened, i realised that i had sshed into the wrong one.
Now i make sure to give descriptive hostnames to every device on my network.
I include the hostname in the prompt to avoid confusion, and I have a slightly simplified prompt for server making it easy to distinguish which machine I am on.
I do too, now :)