Oh no, you!

  • 13 Posts
  • 412 Comments
Joined 8 months ago
cake
Cake day: November 3rd, 2024

help-circle

  • bash setup/config/PS1 is your friend here. I frequently find myself with a myriad of terminals between a bunch of usernames and servers at work, and setting up a proper prompt is key to help you keep track.

    My bashrc makes my prompt look like this:

    username@hostname:/absolute/path
    $ inputgoeshere

    … with color coding, of course. Yes, I use a multiline prompt. I somehow never saw that before using ParrotSec despite being a bash user for 25 years. I modified the ParrotSec default to suit my needs better, and I like it:

    • Obvious which user I am.
    • Obvious which host I’m on.
    • Obvious which path I’m in.
    • It’s easy to copy and paste a complete source/destination for pasting into, for example, an rsync comman

    I pasted my PS1 config here: https://pastebin.com/ZcYwabfB

    Stick that line near the bottom of your ~/.bashrc file if you want to try it out.










  • I think the only “required” one on your list is Instance: It’s one out of many servers. Lemmy.world, sh.itjust.works, etc.

    I find it useful to think of it topologically like an IRC server, if you’re familiar with how those work; many of them connect and share content - You’re on an instance/server, but can interact with users and content from different ones.

    The rest are more oriented towards Linux, servers (in general), and aren’t really required for Lemmy use in general.

    This is where I started to explain what a codebase fork is, but then I realized that I fucking hate typing on my phone.


  • If it’s urgent, I go down there. If not, I schedule an appointment (how soon usually depends on the severity. Can be the next day, or the next week).

    Example: My oldest kid (12 years old at the time) fractured his arm while in school last spring. I was notified right away, so I picked him up at school and took him to the local clinic (3 minutes away) . The doctor wanted some xrays done, so he referred him to the local hospital and gave him some painkillers for the one hour trip (we live kind of in the middle of nowhere).

    We arrived at the ICU (it was after “office hours”), so we had to wait 30 minutes for the x-ray tech to be available. Turned out a titanium rod insert was needed, which requires anesthesia, so they couldn’t do it the same day because of fasting requirements. Operation “scheduled” for the next day. He was given a temporary cast.

    Day arrived, and while there was a bit of wait since it was something they’d just have to insert into the schedule for the day whenever possible. Surgery went according to plan, and he was given a sandwich upon waking up, as he hadn’t eaten since the day before. He had a new cast on that he had to keep for a couple of weeks. The local clinic could remove it, but they wanted to do it at the hospital so they could do a follow up xray to see that it was healing properly.

    A few weeks later, and things looked good. Cast removed.

    A couple of months ago he had the titanium rod removed without much ado.

    My only expense was the fuel cost for driving to the hospital.

    The only negative feedback I have is that my son didn’t get to keep the titanium rod as a souvenir after they removed it. I guess the doctors have better things to do than washing gore off of scrap metal.