Git doesn’t allow to work on remote branches directly so you can’t literally checkout a remote branch. If you want to checkout a remote branch, you need to create your own local “copy” of that branch and then check it out. This note shows how to do this.
While using the screen command, you may notice that you can’t scroll up inside a screen session neither using the scroll bar or mouse wheel nor using the PageUp▲ or arrow up (↑) keys. The scroll up seems to be not working because the screen command has its own scrollback buffer with the special key […]
The Linux screen command is extremely useful for the cases when you need to start a long-running process on a remote machine. Even if your connection drops and the SSH session is terminated, with the screen command you can be sure that the process will keep running in the background and the “lost” terminal session […]
Most Linux distributions use systemd as a system and service manager. The systemctl is the main command in systemd, used to control services. In this tutorial i will show how to list all, enabled and running systemd services using the systemctl command.
To build and run Docker containers on Raspberry Pi it is required to install Docker itself. To install the latest version of Docker on Raspberry Pi and to be able to upgrade it easily in future – it is recommended to install Docker from the official repository. In this guide i will show how to […]
Amazon S3 has a built-in versioning solution (can be enabled in the bucket’s properties tab), that helps to track all the changes that me make to the files hosted in an S3 bucket. In this note i will show how to list all the versions of an object (file) stored in an S3 bucket and […]
Once you run some command in the AWS CLI, for example aws s3 ls, you may get the error as follows: SSL validation failed for <endpoint_url> [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed To workaround the issue you can add the –no-verify-ssl option to the AWS CLI: $ aws s3 ls –no-verify-ssl But this is not secure […]
The AWS CLI is a tool for managing the AWS services from the command-line. The easiest way to install the AWS CLI on Ubuntu is to get it from the official repository but the version you will get will be much older than the latest one. In this note i will show how to install […]
Amazon Simple Storage Service (S3) stores data as objects within resources called buckets. Each Amazon S3 object consist of a key (file name), data and metadata that describes this object. Amazon S3 lets you store and retrieve data via API over HTTPS using the AWS command-line interface (CLI). In this note i will show how […]
A Samba file server enables file sharing across different operating systems over a network. It lets you access your files on a Raspberry Pi and share them with Windows, Linux and macOS clients. In this note i will show how to turn your Raspberry Pi into a file server by installing Samba and creating a […]