today's howtos
-
Quick DBUS Fix
Recently I again started to have some DBUS issues. Like GIMP opening a new instance everytime instead of just opening next file as a tab. After some investigation it seems that because DBUS got broken – example output from terminal for Caja file manager from Mate.
-
Let's build a website using XML!
It is 2023. XHTML is dead and buried. HTML is a "living standard" with billions of users. So what kind of idiot would want to build a website using XML?
Me. I am that idiot.
-
Escape from System D, episode VIII: the Road Behind is Longer
Ok, well. This has certainly been a long time coming. According to my records (in the form of blog posts mainly) I first announced Dinit to the wider world in June 2017. By that time I'd been working on it for around 2 years already - as a hobby, on-and-off. Development has continued, at what sometimes feels like a glacial pace, since then: I simply don't have as much time that I'd like to be able to devote to it (nor the funds to be able to put aside bread-winning concerns in order to make that time).
That initial announcement was met with some encouragement, and some derision. I had set lofty goals, and there were plenty who were happy to fire snide remarks, criticise my level of experience (even if they knew nothing about me), attack my choice of programming language, accuse me of hubris, etc. But the encouragement was enough to offset it! I'll be ever grateful who simply said "good luck!" and told me to ignore the trolls. Some of them also offered great advice.
However, I won't talk about the history further; I've covered it in other blog posts. What's more important is what has been happening more recently.
-
Styling Links and Buttons
I made a tutorial for styling links and buttons, something which many developers have struggled with (resulting in links used as buttons and buttons used as links). I have embedded it on this page, but if you are coming in with your RSS reader you can visit the tutorial directly and walk through it there.
-
Blog Update
As you may have known, my blog has been powered by Ghost for a few years. It’s definitely served me well. However, a while ago I started to like the idea of static sites. Seeing as my blog is essentially a list of static posts, it felt a bit weird that the pages were being served dynamically. So, I started on the journey of moving to Hugo.
-
ansible-core >= 2.15.3-1 update may require manual intervention
As of ansible-core 2.15.3, upstream moved documentation and examples to a separate dedicated repository (see the related changelogs). This means that, starting from version 2.15.3 the ansible-core package will stop shipping documentation and a default configuration example under /etc/ansible/ansible.cfg.
-
Get Script Directory Location in Bash
In a situation where your bash script needs to get the directory location where it is located?
-
2 Useful Tools to Count Lines of Source Code in Programming Languages
In the realm of software development, managing and understanding codebase metrics is crucial for maintaining code quality, optimizing performance, and ensuring efficient collaboration among development teams.
Tools that assist in analyzing and quantifying code statistics play a pivotal role in this process. Two prominent tools that have gained traction for their simplicity and effectiveness are “SLOC, CLOC, and Code” or simply “scc” and “CLOC” (Count Lines of Code).Table of ContentsToggleWhat is scc?What is Cloc?Install Sloc Cloc and Code (scc) in LinuxInstall Cloc on LinuxCount Lines of Code in FileOther Code CountersConclusion
-
How to Install Ansible on Ubuntu 22.04 Step-by-Step