Martin Tomes

Martin Tomes's avatar
Martin Tomes
npub108py...xcqm
#Bitcoin #Linux 🐧 #Devops 🐳 #Kubernetes ☸️ #AI πŸ€– #EdgeComputing πŸ“‘
On my way to #vimalism (#vim minimalism). Thanks to learning the standard #unix editor (#ed) I was able to reduce number of my plugins to 7 and get rid of #Neovim (which I used just for pretty markdown rendering which I no longer need). I am able to handle everything using the VIM magic 😎 #sysadmin #linux image
Switched from #ed the standard #UNIX editor to its extended version and hit a snag: "set ignorecase" in .exrc file made my substitutions in #ex too aggressive! Regex case-sensitivity matters! πŸ˜… Sometimes it's good that #ed does not have it's config file 😎 image
The standard UNIX editor is great not only for learning #Vim but also #sed. it was built upon #ed, which is also a scripting language! You can write ed commands into a file and run it as ed input. Magic! (you don't need to learn sed, actually learn #perl instead 😎 and thank me later) image
Do you use the standard #UNIX editor? All text editors from the Vim family are successors of #ed, and ed commands work there. They are considered "advanced." Many people show off with them on YouTube without even knowing this. I’m not showing off; I learn and use ed to properly understand and use #Vim. 😎 image
My life has become much easier since I started using the "bat" utility instead of "cat". Bat is a "Better cAT", offering significant improvements. I use it with other terminal file utilities to display file contents with syntax highlighting, especially alongside "#fd" and "#fzf". Are you aware of bat? Anyone using it here? #unix #linux #linuxadmin #sysadmin #bat #cat image
After using and paying for Proton Drive by @Proton Mail for a year, I suddenly found nearly all my files (>10k) duplicated with strange "(# Name Clash" in their names, doubling my storage usage. I opened a support ticket, but they told me to delete all the files manually! I replied that they have no moral right to make me delete tens of thousands of files due to their error and asked for a script to remove the duplicates. They refused. So, I made my own and am sharing it publicly. Maybe it will help someone. F*ck you, Protonβ€”you should hire people like me, not these lazy bastards you employ 😎 https://github.com/martin-tomes/bfu/blob/main/bin/rf image