Development notes

Thoughts, notes and ideas about development

Setup Github Actions for Hugo

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 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

Wasteland 2 Director's Cut: Can't save or enter at Ranger Citadel under Linux

The Linux version of Wasteland 2: Director's Cut has a weird bug which doesn’t allow either to save or enter (sometimes) into Ranger Citadel location. This is an engine-level issue in the used Unity version: Unity loads into memory multiple copies of the sames game files. To fix this issue we need to update permissions for max open file limits in Linux. Open /etc/security/limits.conf file as root user (or using sudo) and add the following 2 lines at the end of the file: Continue reading

Visual Studio Code: How to enable fonts ligatures in Ubuntu

Visual Code supports fonts ligatures out of the box. But also an appropriate font with ligatures support is required. Fira Code is one of such fonts. Fira Code can be used not only in Visual Studio Code but also in other editors and IDE (e.g. Intellij Idea). First of all we need to install Fira Code. For Ubuntu based distributions it’s better to install font from official repositories. (With other installations ligatures didn’t work for me). Continue reading

How to change font size in Skype for Linux

Skype for Linux doesn’t scale fonts well on monitor with high DPI out of the box. Below I provide 2 solutions how to increase font size. Increase Electron’s fonts Because Skype for Linux uses Electron under the hood, which is just a web browser, we can increase font by using Ctrl + Shift + =. Or via menu: Using such approach menu will still have a small font. Continue reading
Older posts