389
good luck little buddy, see you in 5 years
(i.postimg.cc)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Eeeehhhh, I was kinda jealous of one of my coworkers Doom Emacs setup. He had automated like 80% of his own job with it. Still haven't bothered to try to learn it myself. One of these days...
What did they automate? I'm trying to get some ideas for my Neov... uhhhh... Emacs with evil-mode setup.
He did this thing where he unified his shell history across thousands of hosts - it was super handy given our extensive use of Ansible playbooks and database managment commands. He could then use a couple hotkeys to query this history within a new open document. Super handy for writing out shell command steps or wrapping things in a bash script you're working on. Unfortunately I don't really have a link to HOW to do this, I just remember thinking "Oh my god, that would save me SO much time".
Nowadays, I just have this giant document with hundreds of our runbook commands and enable Github Copilot to make it SUPER easy to do the same thing without establishing an SSH session in the backend.
atuin might be useful it syncs your shell history