Couple days ago I mentioned about calculating the sunrise and sunset times. It is an interesting problem so after reading Astronomy Answers – Position of the Sun I quickly implemented it using C language. It is only an experiment so results are approximate.
I was wondering how to calculate Julian Day Number as I will need it to determine the sunrise and sunset times. Algorithms are extensively described so I will just point you to the two most useful pages –
After a short while I wrote a shell script to convert between Gregorian calendar date and Julian Day Number.
Today as a small experiment I wrote very simple C program to display min and max values of the basic object types.
After writing previous blog entry I started to think about how to specify page section when opening manual page. It is simple but quite interesting issue so I quickly got curious and wrote this post to describe straight solution. Just to be clear – I need to mention that I am not writing about section numbers describing distinct subject areas but just page sections, such as NAME, SYNOPSIS, DESCRIPTION, AUTHORS and so on.
I hit an intriguing problem as I needed to relay selected mailboxes rather than the whole domain. I assume that you have already noticed that everything needs to happen on the same domain. It is rare and quite interesting task so I will quickly describe it here using ISPConfig 3 but beware as this is a very specific topic so I strongly suggest to investigate it further before applying any changes.
What to do when you want to analyze data contained in database without overloading the server? The answer is simple as you can use MySQL Master-Slave replication to offload this task. I will describe it briefly here.
Recently I was searching for clean and simple web-based administration tool for a couple of small virtual servers so I decided to use Ajenti. It is simple and easily extendable administration/monitoring utility using Python language. Installation is very straightforward as there are packages available for FreeBSD operating system and a couple of Linux distributions.