Development notes

Thoughts, notes and ideas about development

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: Stopping VirtualBox services. Starting VirtualBox services. Building VirtualBox kernel modules. 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
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