Math's hacks by mathatt sizone dott orgg
Collection of my hacks/scripts written over time. Please feel free to use, or
improve! Would love to hear you're using them, email me above.
|
| Expand-virtdomains.pl | script to expandvirtual email fwd files for postfix |
| add | add/subtract columns in text files |
| alarm | set off ^G alarm at time |
| axel-mirror | mirror a webpage with axel |
| cidrmath.pl | add/subtract subnets from each othergiving contiguous results |
| cron-restart-job.sh | ensure a process is constantly running via cron |
| dbx2mbox.pl | Convert Outlook dbx files to mbox format |
| deurlify.pl | remove urls from html |
| dudiff | gives size differences of the du of two dir trees with shared hardlinked files |
| urlify.pl | %encode urls from binary/text ascii |
| dewpoint | convert dewpoint/temp to %relative humidity |
| dos2unix | convert dos CR LF files to unixLF |
| favicon.sh | create a favIcon from an image |
| ffmpegrec | script to record tv via video4linux with ffmpeg |
| image-link | creates a chain of images linked to next image in dir |
| list-vserver-ips2 | show ips used in tree oflinux /etc/vserver dirs |
| mozbot.pl | hacked mozbot to eat SNIPS/NOCOL logs and alert channel |
| mp | play files with mplayer with options after each file |
| mp3dir | hack to help xmms play a web dir of mp3/ogg/etcfiles |
| mpg123stream | record a streaming radio program to files on disk |
| oldfiles.sh | find disk space taken up by dirs with newest file in dir older than date (deletion candidates) |
| pinglist | pinglist of ips or hostnames, find fastest ping |
| post-track.pl | track postfix msgs byID |
| raid-thrash.sh | thrash a raid array (by adding/removing slices) nicely for benchmarking |
| ruler | draws a 'ruler' on screen to aid in counting character positions, fits any size terminal |
| split-into-backref.pl | splita multi-line records file into others based on perl macro |
| streamGrabba.sh | grab an mp3 stream todisk |
| vmstatpage | very simple script to add machine ID, date, etc to vmstat 'page' based output |
| zap | kill procs matching pattern(like sunOS 4.x's zap) |