<< back


Bunch of miscellaneous things, I will try to describe them shortly :o)

ripper - it's a simple cd ripper script which I made couple years ago because I wanted to have some command line ripper. After the first release, script became as part of tinyapps made by mina86. Tinyapps is a set of 'tiny' programs which are usefull every day.

bascom story - it's a part of my hobby and AVR microcontrollers programming. You can find on my previous page some hardware devices which uses AVR uC as their brains. Here is a place with firmware for them (HEX files with source codes - all FW in one place, always up-to-date)

mkbackup - it's a script for making automatic, incremental (or not) backups based on tar command. It's kinda old but it should work. You can find information how it works in *.conf file header and in *.txt file.
In nowadays I prefer dedicated backup software.

slap.pl - it's a tiny irssi script written in PERL, I think no special comments needed, everyone knows this joke from IRC ;)

fun.pl - If you like to make people angry, here is a script for you. Of course it's a PERL tool which writes f u n w o r d s on the IRC channel.

csize.pl - the last of PERL script for irssi. Script checks the size of a remote file in the URL, nothing special (script uses system 'wget' with --spider option)

make_img_raid - this is mine script for making initrd image on my Slackware. Script is very old but i'm still using it - it's funny because generating of initrd isn't so hard, but like every IT guy - i'm kinda lazy sometimes, you know.

firelol - it's a set o two scripts, 'gen_fire' generates linux iptables rules, 'gen_hosts' generates '/etc/hosts' and 'dhcpd.conf' entries. All you have to do is write proper config files, this is very simple job, syntax of config files is very simple. Script supports filter by INPUT chain on external interface, filter on FORWARD chain, it is possible to make port REDIRECT. You can decide which hosts can access the internet etc. You must know that this script was developed for specific environment, it's not very universal. Little example in file, look at it before use. (preview iptables rules and hosts were generated from the default configuration, you can easily understand how it works)

mysql.class.php - it's a simple MySQL PHP wrapper which is very useful when you writing scripts based on this DB. All in one place, without many 'connects' etc., easy syntax for editing and inserting data, for making selects - all from one object. See the example for explanation.

ssqllda - it's a 'Simple SQL Local Delivery Agent' written in PERL, dedicated for postfix MTA server. I wrote it for myself because I wanted LDA with MySQL support. I have whole postfix on virtuals, now even with LDA.
If I want to make autoresponder or filter my e-mails by headers, I just 'clicking' in phpmyadmin.
Do not need to edit '.procmail' file or something and it's easy to control from PHP scripts. Couple things still to do, but for now it's enough for me. Examples in txt file.

svpnas - 'Simple VPN Auth Script', script written in PERL which can be used with OpenVPN server daemon for authorize clients. Connected with 'auth-user-pass-verify' option, script makes simple auth engine for OpenVPN with users data stored in simple file. See the examples in txt file.

xmmsctld - Remote control script for the xmms 1.2.xx. It's a simple TCP daemon written in PERL which I made couple years ago for control my xmms instance over the network. It is possible to control xmms via 'netcat' or something like that. Just basic control is used, like: play, pause, stop, next, prev, song title.
For now, after the years I'm still using XMMS (ver. 1.2.11) and I'm controlling it with my iPad via 'IPCodes' app. Don't need to move if I want to change the song. (YT movie)

pimsync - 'POP Into Maildir Sync' is a PERL script which I wrote for myself. Script fetches e-mails from remote POP3 servers and stores them in maildir directories. Using external IMAP daemon (like Dovecot) I'm able to read my e-mails on couple devices supporting IMAP (tablet, smartphone, PC etc.)
I'm using it because I want to have my all e-mails on the server in one, 'central' place.
Is easier for me, backups, availability, file system access etc. If you need more try fetchmail + procmail.
See the examples.

fetchslave - I have master DNS server and two slave DNS servers (BIND9). After adding new zone in the master DNS server I have to create slave zones on my slave DNS servers. So - cause I'm lazy, I made a script which generate slave zones (BIND config files) for me. I don't have to log on slave hosts. All I have to do is edit 'zones' file and thats all. Cron runs the script every 5 minutes and checks 'zones' file. See the example.

brad - bladerunner agent daemon ( ;) ) - is a PERL agent which allows you to run remote scripts (not RPC Caller). You can run the job/script remotely by querying agent via HTTPS POST requests (for example by using wget). XML is used for HTTP data output, so it should be easy to parse with any other language. There are couple things to add/tweak - but for now, it should work. See the example file for more details and description.

picmail - Script fetches e-mails from remote POP3 account and extracts all of the image attachments to the specified directory. I'm using it for making simple images streaming. I think this is faster way than transfer files via FTP or something else in this case (especially when you sending from mobile phone etc.).

pg.class.php - Another simple PHP class which I made hmm, don't even remember when. Anyway, I found (I think ;)) latest version. This simple class can help You with handle input script arguments from arrays like _GET or _POST. This little piece of code is not perfect but I think it can be useful in most cases. See the example.

websphere scripts - Collection of the wsadmin CLI configuration scripts written in python for the IBM WebSphere Application Server v7/8. Use these scripts as examples or make some fixes and use it at your own needs. Scripts are used under windows OS ( DAMN! ;-/ ) so for unix systems, you will have to make some changes in their headers.

(cc) - tomekk