med

joined 2 years ago
[–] med@sh.itjust.works 8 points 2 days ago (1 children)

Ctrl +a and Ctrl +e for beginning and end of line are from Emacs.

GNU Readline is what provides them in the bash. There's a bunch of shortcuts worth learning in there!

Most distributions I've tried use Emacs as the default shell binding style, some of the bindings are even available in things like appliance cli's like Cisco IOS and clones.

Bash supports vi mode too, you just have to switch to it.

set -o vi

ZSH uses zle (ZSH Line Editor) instead of Readline, but I assume the Emacs style bindings have been copied over to zle for muscle memory portability. You can switch the keymap in zle,

bindkey -v

or set your own!

[–] med@sh.itjust.works 19 points 2 weeks ago (5 children)

Yes. But also, despite having done it literally thousands of times, I still can't tell you which way round to put the target and the link name for a softlink on the first go.

My first guess is always

ln -s $NAME $TARGET

No amount of repetition will fix this.

[–] med@sh.itjust.works 2 points 3 weeks ago

Sounds like you have reason to bump it up the list now - two birds with one stone.

I need to do this too. I know I have stuff deployed that has plaintext secrets in .env or even the compose. I'll never get time to audit everything. So the more I make the baseline deployment safe, the better.

[–] med@sh.itjust.works 2 points 3 weeks ago* (last edited 3 weeks ago)

It's common with rootless docker/podman. Something needs to start up the services, and you're not using a root enabled docker/podman socket, so systemd it is.

[–] med@sh.itjust.works 3 points 3 weeks ago

Lots of this is covered in longer form, though still light detail in this video

[–] med@sh.itjust.works 7 points 1 month ago (2 children)

Quite right, any country will do - that way the post is useful to more people than just me!

I'm not American, I just live somewhere where literally everything is international to me, so it doesn't matter if it comes from Timbuktu.

 

As the title asks. I have an up to date prescription, where's the best place to order from?

[–] med@sh.itjust.works 9 points 1 month ago

We're so proud of you

[–] med@sh.itjust.works 1 points 1 month ago

Also, your literal interpretation is much funnier - bothering god reminds me the Bruce Almighty scene with all the emails and post-its coming from the same person

[–] med@sh.itjust.works 1 points 1 month ago (2 children)

That's the correct way of reading the structure of the word, but as always with english, there's how it's written, and how it's meant.

Almost universally, this is meant as someone who is bothering people about god, like jehova's whiteness knocking on your door, or wandering mormons inviting you to their church.

[–] med@sh.itjust.works 3 points 1 month ago

Sounds like I won't be using Vanilla because that (obsidian + synching + tailscale) is definitely my primary need.

The last time I played with it, I just remember thinking, cool - but why?

[–] med@sh.itjust.works 1 points 1 month ago

This issue is described by Poe's law.

Also, nothing electronic implements the various suggestions on irony punctuation.

view more: next ›