About me

Available projects:

mkbootdisk-loop - mkbootdisk is a shell script which usually comes with RedHat and RedHat-like distributions of Linux. Mkbootdisk creates a stand-alone boot floppy for the running system which can be used for booting the system if something bad happens.
Original mkbootdisk which comes with RedHat distribution of Linux was unable to make the image file on the disk instead of creating boot floppy on-the-fly. I had one computer with broken floppy controller and I needed that feature in mkbootdisk. I have modified RedHat's mkbootdisk in order to support creating image on the disk when --loop parameter is used. I named it mkbootdisk-loop to prevent confusing with original mkbootdisk from RedHat. Based on experience I can say that --loop parameter is rarely needed but when you need it, you need it desperately.

IPrange2access - Sendmail is one of the oldest mail servers for Unix. By default, Sendmail reads access lists from /etc/mail/access file. That file have role of configuration file used for defining mail or IP addresses which should be denied. Beside mail and IP addresses which could be defined in that file, the whole ranges of IP addresses could be defined too. Wrestling with spam, sometimes requires entering a huge number of lines which defines some range of IP addresses. After I entered 7557th line manually (it seems that I am very patience man), I decided that it is the time for writing script which will make this hard job a lot easier. So, I wrote script which can take range of IP addresses and output lines in format acceptable for sendmail access file. The script is written in perl.

sub.vim - Vim is extended and improved version of one of the first full screen text editors which today comes with all unix like systems. Among huge number of options which makes vim very powerful text editor, vim also supports syntax highlighting which is implemented on the way which makes creating new, or modifying existing highlighting extensions very easy. I was playing with divx for some time and and sometimes I had to modify .sub (MicroDVD) files. Some specialized editors for .sub files imports their own extensions which could not be understood by divx players I used. To make errors like this or missing brackets easier to encounter, I wrote syntax file for vim helped me a lot and maybe will be of use to somebody else. To make coloring syntax of .sub files working, you just have to copy sub.vim to the right place and edit your ~/.vimrc file.

srt.vim - srt.vim is a project similar to sub.vim. So, if you need vim syntax highlighting scheme for Subrip (srt) format, you may want to try srt.vim.

mpsub.vim - mpsub.vim is a project similar to sub.vim. So, if you need vim syntax highlighting scheme for Mplayer's subtitle (mpsub) format, you may want to try mpsub.vim.

wmclock-lang.croatian - wmclock is an applet which displays the date and time in a dockable tile in the same style as the clock from the NEXTSTEP(tm) operating system. wmclock is specially designed for the Window Maker window manager, by Alfredo Kojima, and features multiple language support, twenty-four-hour and twelve-hour time display. Visit wmclock homepage for details. wmclock is derived from ASClock (now called ASClock classic), a similar clock for the AfterStep window manager.
What you can find here is croatian translation for wmclock which is currently not included into official wmdock distribution but I hope that Jim Knoble, author of the wmclock will include this translation into distribution of wmclock application.

phpPgAdmin.patch - phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect for PostgreSQL DBAs, newbies and hosting services. It has all the basic functionality you need to completely administer a PosgreSQL server and/or database, including the ability to administer views, sequences, stored procedures, and triggers. Features include the ability to create and drop databases; create, copy, drop, and alter tables/views/sequences/functions/triggers etc. For more details about phpPgAdmin visit it's home page.
Default PostgresSQL installation in majority of Linux distributions comes with configuration which is not acceptable for security reasons for data stored into database or even whole system itself. Default installation assumes existence of system user named postgres and database user with the same name which have superuser privilege on the postgreSQL database. Default installation also requires that postgres user does not have password set or if there is password set, it should not be asked for local connections of that user. This means that if there is exploit which is able to execute commands as postgres system user, attacker will be able to read any data stored into database such as credit card numbers. Also, in multiuser environment sometimes, it is not acceptable that one postgreSQL user can see other existing databases or users which by default possible.
It is possible to run postgreSQL server with unprivileged user which is able to connect to postgreSQL without password authorization. It is also possible to configure postgreSQL server that way that users cannot see other existing databases or users other than themselves but if postgreSQL is configured that way, functionality of one such a useful application like phpPgAdmin will be lost. This is why this patch exist. It can make phpPgAdmin compatible with somewhat complicated configuration of postgreSQL server where SELECT from pg_user table gives only relevant rows to unprivileged users and where access to pg_database and pg_group tables can be achieved only trough pg_db and pg_grp views respectively.

Alco - Alco is an awk script for colorizing apache common or combined logs. This script enables easy mention of lines which would otherwise escape to human eye. This script is really useful when used on the busy server with lot of virtual hosts.

cko is a patch for Linux kernel of 2.4 and 2.6 series which will make colored kernel messages in BSD style.
I am using this patch for a year now and I didn't noticed any impact on speed or stability.

rsaver is a simple X screensaver. It uses only Xlib. After specified amount of time it will start to draw radioactive signs. If timeout is not specified, rsaver will get this value from X server.
I wrote this program because I wanted to learn how screensaver X extension works. I couldn't find one single piece of software which makes use of screensaver extension so I decided to make one as example. When I started to write this program it was hard to find any documentation about screensaver extension. I used man pages from FreeBSD which now comes with most Linux distributions.

mod_sar is an apache2 module which works as output filter and it's purpose is to Search And Replace strings found in web content before it's sending to the client. Search performed can be case sensitive or case insensitive, depending on configuration.
Good example of common usage of this module is reverse proxy.