* Simulation can be used as a method of embedded software testing. This is an approach to testing simulations of the target hardware instead of the […]
In some situations, saving stdout and stderr of your terminal command output can be crucial, To automatically save stdout and stderr, there are several options you can go with `>` : Write stdout […]
The shell variable HISTCONTROL controls what goes into the command history of bash shell. If HISTCONTROL variable equals to “ignorespace”, that means commands starting with a […]
Two types of variables exists in a Linux shell: Following command defines a shell variable: To convert a shell variable to environment variable following command can […]
The [[maybe_unused]] attribute is created for indicating in code that certain logic might not be used. This is often linked to preprocessor conditions where this might […]
Short answer is crontab. crontab files are used to schedule the execution of programs. The file contains instructions for cron daemon in the following simplified manner: […]
Dependency Injections and complicated OOP patterns may result into conflicts of lifetime/ownership relationships in a spaghetti code. Enclosing the ownership of an object in a smart […]
The algorithms library of C++ can sometimes be a little inconvenient since most of them requires a begin and an end iterator to operate (1). Utilizing […]