Today I want to talk about something that pretty much transformed the way I work.
Stenography is a shorthand writing method allowing users to transcribe text at speeds exceeding 200 words per minute, using abbreviated symbols for real-time speech transcription. It is mandated in all courtes of law as a method for recording the protocols simply because of the speed in which they’re processes and the reduced number of mistakes that can be made.
While I’m not a Stenographer, and I don’t have intentions of becoming one, I figured the same priciples can be applied to my daily workflow.
Apple fanboy here (sorry, but don’t worry Android does the same) - there’s a text replacement feature in MacOS / iPhone that’s configurable with shortcuts. If you have iCloud turned on, it’ll even sync across all your Apple devices. Android has a similar feature: a “Personal Dictionary” can be found under your keyboard settings.
Once set, you can configure it to pop a text replacement suggestion for your full email address when you type something like :email
, or :workmail
for, well, your work email.
Imagine not having to ever type again your:
Having my own shortcuts dictionary is cool but it can get WAY better: I discovered Espanso and the world of Text Expansion. This little CLI helper, figures out shortcuts, keywords and other input you type and replaces it for you as you type. It comes with a YAML configuration for you to manage your personal dictionary, and, it’s open source.
The cool thing about it is that it can expand just standard text like :date
will become the actual today’s date, but, it can also shoot snippets like the infamous Go if err := nil {}…
or Javascript's console.log()
etc. Just set a trigger
and match it with a replace
value in the config file, and let it work for you.
Command+Tab
(Alt+Tab
for you Windowsers..), don’t cut it. It’s slow, it adds friction, and sometimes I’d miss a selection and would either go full cycle or back. I don’t want that. In comes SKHD ; an open source hotkey launcher for MacOs. While there are other launchers for other platforms, SKHD’s concept is flipping amazing: with a set of simple configuration rules I can call / switch / summon applications with one tap. Regardless of whether they’re already open or not, SKHD will launch them immediately.
* The same developer created "yabai" for tilling management which I don't use because I couldn't figure out an acceptable setup for an ultrawide monitor. That said, Yabai is amazing and it integrates perfectly with skhd.
In the terminal the key for reducing friction is managing a set of memorable easy aliases. If you’re a “oh-my-zsh” or other similar shells user, you probably know the git status alias gst
or ..
as cd ..
etc.
I’ve built a set of these for everything I do. Whether this is kubectl
for Kubernetes where I have kgpo
to get pods (and roughly 30 other aliases to describe other objects), or Git, where I push, pull, amend a commit or even reset with a set of shortcut made for that. Everything, Is, an Alias.
If you don't have a list yet, here's something to get you started.
Since I’m now a proud user of a ZSA Moonlander (not sponsored 😢), like many other configureable boards, the ML lets you have a set of keystrokes mapped as combos. For example, when I want to transmit Ctrl+a+]
for Tmux to switch on history mode, I can now tap the adjacent keys ert
to send the combo without having to think about it. I do the same with splitting windows, switch sessions and everything else that requires multiple key combination and where I make enough mistakes to justify it.
Yet again a MacOS option, but plenty of alternatives out there for other platforms: HyperKey is a “cheap” version of the above, It’ll map your under-utilized CapsLock or any other key to the combo of alt,control,shift and the os command key, which can all then be mapped for various tasks. Launching programs, changing layouts and more.
RayCast Is the better (and free-er) version of Alfred (IMO) and offers key re-mappings, window control and a huge set of plugins to make your environment more usable, and friction-less. I litreraly hooked anything there, from OS window management, through ChatGPT sessions to an emoji keyboard. If you need it, raycast got it. Highly recommended.
Thanks for reading, I hope you enjoyed it. If you have comments, questions, anything you’d like to share, feel free to reply to this email directly and let me know!
📺: DevOps Toolbox on YouTube
🎤: DevOps Topeaks Podcast
✍️: Past newsletter issues
🗓️: Book a 1:1 session with me
Every once in a while I send hand picked things I've learned. Kind of like your filter to the tech internet. No spam, I promise!
You Need To Learn Docker Swarm! Ever felt like you're overcomplicating your container deployments? You might be. Today, we're diving into a Docker orchestrator that's likely already on your machine (run `docker service` for a second will ya?), but you're probably overlooking: Docker Swarm. The Underdog Orchestrator For years (for me, the past 11 years to be exact), the path has seemed to be either simple Docker Compose or the more, WAY MORE complex, Kubernetes. Compose is great for local...
LimaVM Is Probably The Best MacOS Virtual Machine I've Ever Used If you're tired of Docker Desktop bogging down your machine, or simply don't like fuff of mapping ports, mounting volumes when all you need is a small virtual environment, this one's for you. I recently discovered LimaVM, and it's a game-changer for local development. It lets you spin up Linux VMs with ease, offering a faster, lighter alternative to Docker and other VM managers for many tasks, but especially for development....
Coding Is Changing. Here's How I Stay AHEAD This issue is brought to you by: Ideas to apps in seconds with Lovable Lovable is your superhuman full stack engineer. Click here for double credits when signing up The AI revolution isn't replacing engineers (IMHO) - it's changing how they work and which skills matter most. I mean, look at the sponsor of this week, a "vibe coding" platform that creates your idea in no time. But, does it actually matter for developers / devops and other tech...