Vim - how to record a macro
To record a macro in Vim:
when in command mode
now is recording
q to stop recording (you must be in command mode, not insert mode)
to use macro (again you must be in command mode)
@ m (without the space)
(m is the macro identifier and can be any other letter)
to perform macro 3 times
[Tip: think ahead and make sure to, for instance, move to the next line so you can perform the macro twenty times without interfering]
@annika reminds me of a story from Matt Pharr about how in the early days of RenderMan, they forgot to implement a hash algorithm for their hash table, which created a bottleneck that wasn't discovered until Toy Story 2: https://pharr.org/matt/blog/2018/07/08/moana-island-pbrt-1.html
"BleedingTooth" – zero-click RCE in Linux Bluetooth:
– According to Intel, all Linux kernels with BlueZ support prior to 5.9 are affected.
– Intel recommends updating the Linux kernel to version 5.9 or newer.
– BlueZ is the canonical implementation of the Bluetooth protocol stack.
– CVE-2020-12351, CVE-2020-12352, CVE-2020-24490.
Mask wearers are “dramatically less likely” to get a severe case of Covid-19 - https://www.inverse.com/mind-body/masks-breathing-in-less-coronavirus-means-you-get-less-sick
Interesting talk on curl https://video.gcfam.net/videos/watch/c8d3ea0e-f089-47d2-a08f-faa6c1d2b020
<SomeLamer> what's the difference between chattr and chmod? <SomeGuru> SomeLamer: man chattr > 1; man chmod > 2; diff -u 1 2 | less
-- Seen on #linux on irc
Linux 5.8 Is Released And It The Largest Release Of All Time. There are big changes to many networking drivers, including wireless drivers. The AMD graphics driver has improvements and regressions. You may want to hold off on upgrading to #linux 5.8 until a few minor point releases are made to ensure that the potential problems this kernel release could potentially introduce are ironed out. That is specially true if you have a AMD GPU or use Mellanox networking cards.
I have put together another gift to my future self and maybe even future or present you. An easy way to turn off your monitors in the terminal and ultimately with a global shortcut in Plasma. #openSUSE #Linux #Terminal https://cubiclenate.com/2020/08/03/turn-off-monitor-using-cli/
Sysadmin treading new waters on C/C++/Java development. Linux Gamer.
Views are my own.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!