wordpress & prismJS code syntax highlighting in Twenty Twenty One theme (No plugin)

In this website I’m using wordpress twenty twenty one theme with some extra child theme modifications. Trying to improve the code block and adding some syntax highlighting, I was looking on many different plugins but I decided to use prismJS without plugin. What is prismJS ? Prism is a lightweight, extensible syntax highlighter, built with…

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. One the MR is…

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 was an ubuntu installation: The last command will print the version in my case was hugo v0.92.0-B3549403+extended linux/amd64 BuildDate=2022-01-12T08:23:18Z VendorInfo=gohugoio ref: gohugo.io/getting-started

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…