/images/avatar.png

Georgios Anestopoulos

Systems Engineer - Devops Practitioner

ganesto.com

Hugo Binary Install - Binary (Cross-platform)

Download the appropriate version for your platform from Hugo Releases. Ideally, you should install it somewhere in your PATH for easy use. /usr/local/bin is the most probable location. In my case is an ubuntu installation: 1 2 3 4 5 6 cd $HOME/Downloads && mkdir hugo-binary && cd hugo-binary wget https://github.com/gohugoio/hugo/releases/download/v0.92.0/hugo_extended_0.92.0_Linux-64bit.tar.gz tar -xvf hugo_extended_0.92.0_Linux-64bit.tar.gz sudo cp hugo /usr/local/bin cd ../ && rm -rf hugo-binary/ hugo version you should be able to see the version from the last command, in my case hugo v0.

Standard-version gitlab integration (java,pom.xml)

Standard-version is a utility using semver and CHANGELOG.md generation powered by Conventional Commits. In this tutorial I will explain how I use standard-version to generate CHANGELOG.md, update pom.xml revision version and create a git tag and run it only when a MR is merged to master by a user and not a bot. Once MR is merged to master then standard-version will do the following: Retrieve the current version of your repository by looking at packageFiles, falling back to the last git tag.

Auto restart Weewx if SubState=exited or SubState=failed"

I have a personal weather station server running on Weewx, which posts weather data to https://kvw.gr. I have a cron job that stops Weewx for 20 minutes before midnight to allow the Weatherlink IP interface to upload daily data to weatherlink.com. However, in some cases Weatherlink IP interface was busy posting to weatherlink.com during Weewx’s start-up phase, causing Weewx to be unable to connect and retrieve LOOP data. This results in Weewx staying in this state until I manually restart the service.

Remove Docker Images, Containers, and Volumes

Docker takes a conservative approach to cleaning up unused objects (often referred to as “garbage collection”), such as images, containers, volumes, and networks: these objects are generally not removed unless you explicitly ask Docker to do so. This can cause Docker to use extra disk space. For each type of object, Docker provides a prune command. In addition, you can use docker system prune to clean up multiple types of objects at once