There are 19 posts published with this tag. ↑ Return to tags

How to edit Icewind Dale EE savegame

I have spent countless hours playing role-playing video games. Recently, I bought Icewind Dale: Enhanced Edition for Linux. It is still a great experience, but I have to admit that I have gone to the dark side and modified the save file. Just think of it as a programming exercise.

How to explain umask

I wrote a simple application to explain the current UMASK value. It was a while ago, but I want to share it with you as it is quite a useful utility.

How to perform action after SQL statement

Sometimes I want to monitor and log particular PostgreSQL statements or execute other kinds of external action. I am using the notify mechanism and slightly modified sample application found in the database documentation to achieve this.

How to determine the sunrise and sunset times

A couple of days ago, I mentioned calculating the sunrise and sunset times. This is an interesting problem, so after reading Astronomy Answers – Position of the Sun, I quickly implemented it using the C language. It is only an experiment, so results are approximate.

How to graph CCQ on Ubiquiti devices

As you probably already know, the CCQ value is not available via SNMP (AirOS 5.5.2), but of course it doesn’t mean it can’t be graphed using Cacti. To graph CCQ on Ubiquiti devices, you just need to use a simple script to read the desired value using the web interface.

Cannot build mysql gem?

If you saw the “Failed to build gem native extension” error while building native mysql gem then you need to install libmysql++-dev package.

← Return to tags