
It's time to ask ourselves how much abstraction in our Go code really makes sense.

Install updates regularly. Don't install software from unofficial sources. If you see a recommendation like run curl something | sudo bash
, ignore it. And, in general, don't run anything as root unless you understand what you are doing and why this cannot be done without root privileges.
Devops engineer is a role.
How often do you rebuild the image?
Unit tests? No matter where you run them, and normally this is done by CI in a prebuilt container image, so you don't have to wait for "docker building". Acceptance tests must be run in an environment as close to production as possible, but that's definitely not a programmer's job.
Most of what you enumerated is not a terminal emulator job. There is tmux for multiplexing, search and persistent sessions, for instance. And if you want image rendering, what a hell you use TUI for this? GUI programs can also be controlled with keyboard.
If you mean HTTP server, what you need is a reverse proxy and name-based virtual hosts. I usually use nginx for such tasks, but you may choose another web server that has these features.
There's no any solution. It is impossible to convert from PDF to any editable format correctly. The exception is a "hybrid PDF" that has an embedded editable document. If you need to edit PDFs that you created yourself, store them in hybrid format.
DevOps, not programmer.
What do you want to accelerate? And for what you need more than 256 colors?
Are you serious? It's just a window where text is printed. Use what your DE provides. Now I'm mostly on LXQt, so I use QTerminal. With tiling WMs I prefer urxvt because I don't need builtin window splitting ans tabs. I can't imagine what other features may I need.
BTW if you don't need to capture the number, \d$
should match what you need. If regex syntax supports \d
, of course.
Sorry, I have no clue.
What do you use to apply your regex? Programming language, library, command line tool etc.
there’s a random number at the end of some of the lines, I’m trying to match that.
Is it decimal? One digit or multiple digits? Natural, rational?
What am I doing wrong?
Not specifying the regex engine you use, first of all. Second, also describe what you mean by numbers that you want to match.
Or, alternatively, [[:digit:]]
, and dont' forget to add a quntifier +
to match multiple digits. See documentaion for details.
undefined
awk '/^\/dev\/loop[[:digit:]]+/{print}'
No, we already have a package manager.
No, not 30 minutes. For the first time I spent couple of weeks just for reading documentation and experiments. It was about 8 years ago IIRC. But since that time when I need something more complex than install a package or copy a file, I feel myself like a 30-minutes user because it does not work as I expect.
No, I can't. I use it only occasionally, so I don't remember everything. But many times configurations didn't work as described in documentation and I had to find a different way to achieve a required result. Sometimes this behavior changed from release to release. This thing doesn't seem something that I can rely on. But we use it in our company many years, so switch to another tool would be painful.
You will need many iterations of trial and error. No way.
You can speed up testing your playbook by using Molecule or something similar. Don't touch your working VMs until you get a service (role) set up correctly in your test environment. If you need to set up multiple services in a single VM, you can automate their deployment sequentially, of course.
P. S. I don't like Ansible and won't recommend it because it is full of bugs and non-obvious behavior. However I didn't investigate alternatives and can't suggest a better one.
Full code audit is very time consuming. It's impossible to audit all software someone uses. However if I know nothing about project, I do a short look at the code to understand if it follows best practices or not and make some assumptions about the code quality. The problem is that I can't do this if I'm unfamiliar with the programming language the project is written in, so in most cases I try to avoid such projects.
ls /usr/share/zoneinfo/Asia | nl
It's time to ask ourselves how much abstraction in our Go code really makes sense.
Techniques and methods for obtaining access to data protected by linux-based encryption
Finding unreachable functions with deadcode / Alan Donovan
deadcode is a new command to help identify functions that cannot be called.
Markdown code blocks are broken
What a hell is going on? I expect to see everything inside backticks exactly as I typed, but something happens to ''>" and "<" characters. In the preview everything is fine, but after submitting the post it breaks:
<
>
<<
>>