By default, the docker-compose (up|stop|restart|build) commands will start, stop, restart or build all of the services (containers) listed in a docker-compose.yml file. But there is also a way to run docker-compose commands against the certain containers only. This is useful when you need for example to re-build just one container described as a service in […]
By default, a Docker Compose starts the services in the foreground mode just like a docker run command. To run the Docker Compose in the background, a docker-compose up command should be started with the -d or –detach option. In this short note i am showing how to run the Docker Compose in the detached […]
While attempting to connect to some server over SSH, you may get the error as follows: sign_and_send_pubkey: signing failed for RSA “/home/user/.ssh/id_rsa” from agent: agent refused operation The “agent refused operation” error is usually caused by too open permissions on a private key file. In this short note i am showing how to fix this […]
If you’ve accidentally uploaded some code to the Arduino Pro Micro board as “Arduino Micro”, “Arduino Leonardo” or any other board, there is a big chance to brick your board by crashing its bootloader so it won’t be recognized by the PC at all anymore. To revive the “bricked” Arduino Pro Micro you can try […]
If you try to upload your code to the Arduino Pro Micro board as “Arduino Micro”, “Arduino Leonardo” or any other board because you can’t find any called “Arduino Pro Micro”, there is a big chance to brick your board by crashing its bootloader so it won’t be recognized by the PC at all anymore. […]
Even though an Arduino IDE can be easily installed on Ubuntu-like Linux system using the simple apt install arduino command, the version you will can get this way will be quite old – without the latest features and complicity in getting help on the Internet. In this note i will show the recommended way of […]
Visual Studio Code (VSCode) has an integrated source control management (SCM) system and supports Git out of the box. Integrated Git support is one of the greatest features of Visual Studio Code. In this note i will show how to clone a Git repository in Visual Studio Code.
While attempting to install Ansible from an official APT repository, you may see a missing public GPG key error. This can happen when you add a repository, and you forget to add its public key. In this short note i am showing how to fix the GPG error NO_PUBKEY 93C4A3FD7BB9C367.
The clear command in Linux is used to clear the terminal’s screen. You can also use the clear command in a Windows PowerShell where it is an alias of the Clear-Host command, that does pretty match the same – removes all text from the current display, including commands and output that might have accumulated. But […]
A Windows product key is a 25-character code that looks like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX and is used to activate Windows. This short note shows how to find the Windows product key from a command-line prompt (CMD) or from a Windows PowerShell and check its validity.