Development notes

Thoughts, notes and ideas about development

How to install Docker and Docker Compose on Raspberry Pi 4

2021-06-02 1 min read Development
This blog post describes how to install Docker and docker-compose on Raspberry Pi 4. In short, to install docker and docker-compose we need to make sure that our system is up to date, install required dependencies, and install docker with docker-compose. Also, we can add our user to the docker group to run docker without sudo. Make sure system is up to date sudo apt update && sudo apt upgrade -y Install required dependencies sudo apt install python3 python3-pip libffi-dev libssl-dev -y Install Docker curl -sSL https://get. Continue reading

Methods and Interfaces in Go

2020-04-30 4 min read Development Go Alexey Bogdanov

This post is a small cheatsheet for Methods and Interfaces in Go. Here I provide main features and describe what methods, interfaces, pointer receiver and value receiver are.

There are no detailed explanations or tricky examples about how to use them. For such content please see other resources.

At the end of the page, there is a small list of useful links to read

Continue reading

Setup Github Actions for Hugo

2020-04-19 8 min read Development Alexey Bogdanov

This blog-post describes how to set up Github Actions for building and deploying Hugo using Docker container.

The described approach is a starting point for further improvements but it will automate the deployment of new blog posts to a remote server where your blog is hosted.

This blog post doesn’t explain every line of the configuration but describes the used approach and refer to the official Github Action documentation.

Continue reading

Ubuntu: How to fix Virtual Box Vboxdrv Error

2020-04-09 1 min read Alexey Bogdanov

While running sudo /sbin/vboxconfig the following error may occur:

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.  If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
 them. Please see your Linux system's documentation for more information.

To fix it, run the following command:

Continue reading
Older posts Newer posts