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:

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

How to Enable Nvidia CUDA for Davinci Resolve on Linux

2019-08-27 1 min read linux Video Editor Davinci Resolve
This post describes how to fix the error No OpenCL Hardware Acceleration Detected on Linux. First of all make sure that latest NVidia drivers, nvidia-modules, nvidia-kernels are installed for the latest driver version. For Ubuntu 19.04, nvidia 418 drivers and linux kernel 5.0.0-25 the terminal command will look like: sudo apt install nvidia-kernel-common-418 nvidia-dkms-418 linux-modules-nvidia-418-5.0.0-25-generic Install NVidia Cuda toolkit To install nvidia cuda toolkit use the following: sudo apt install nvidia-cuda-toolkit Do Logout after successfull toolkit installation. Continue reading

Tuxguitar No Sound

2019-06-21 1 min read
In case if there is no sound in TuxGuitar in linux, do the following 1 Install package tuxguitar-jsa sudo apt install tuxguitar-jsa 2 Update MIDI port into TuxGuitar settings Go to Tools -> Settings. A new window with TexGuitar configs will be opened. Find Sound section and change MIDI port to Gervill: Close Settings window and verify everything works fine.
Older posts Newer posts