| Home | Photos | Scripts | Programs / Code / Patches | GPG Keys | IRC Stats |
edit.sh is a yet another script I wrote. This one serves a more personal function. It allows me to write in a journal whenever I want and spill out my most personal information without having to worry that anyone will ever be able to read it. :) If you want to use it you'll need to create a gpg key and set the correct email address at the top of the script. You could stick in your own favorite editor command instead of aterm -e nano if you like. I just chose nano instead of my traditional vim choice because it's nice and simple to write in and I can remove the aterm bit and use it from an ssh shell. Basic use: "./edit.sh" will open the editor with a new filename of journal-<date>-<time>, you edit away, then it encrypts the result. "./edit.sh <filename>" will open an existing text file, let you edit, then encrypt when you're done. "./edit.sh <filename>.gpg" will decrypt an existing encrypted file (after getting you to enter the appropriate password), let you edit away, then encrypt when you're done. You could even modify it to open a high level editor like openoffice if you like and work in an .sxw file format.. it doesn't have to be text.
incremental.sh is a script I wrote for doing incremental backups. Basically it creates a tar of the entire source directory every Sunday, then creates a tar file of only files that have changed since the last full backup every other day. You could use it in combination with a cronjob that searches the destination folder using find for files older than 3 weeks (or however long you want) and deletes them, along with a cron that runs this incremental.sh script, and you know you have good backups without backing up the entire folder every night. One caveat though is that it's not currently very portable as I wrote it specifically for a FreeBSD 5.4 backup server.
watch_iptables.pl is a script I wrote to make the logs generated by iptables a little easier to watch as they roll by. Screenshot
limit_ips_per_user.pl is a script I wrote that looks through the apache log for a site and tabulates the number of unique ip addresses accessing the site with each username. It then rewrites the htaccess file with only the usernames that have not gone over the limit set within
dns.sh is a dns resolving script for eggdrops that I wrote.
sysinfo.pl is a cool script that runs from a unix command line and prints out some info about the system it's running on.
Load Balance is a pair of scripts we use to make our linux router load balance the two internet connections we have. It uses iproute2 and iptables to do the balancing. You should be able to modify these to do what you need without too much trouble.
Here are some old scripts I wrote years ago for mIRC that still seem to get downloaded on occasion. The last version of mIRC I ever attempted to run these on was 6.0.
tkAmp - mp3 player/sharing tool
tkAmp - unfinished c# version
Qpinger - quake server ping tool
Wallops - easy toggle between wallops and pub msg modes
misc - few small scripts