.

Graham's software

curious monkey evelutioncurious monkey

 

There are 10 types of people in the world - those who understand binary, and those who don't.

This page contains some of my software, all of which is free (as all software should be), complete with full source code and subject to the GNU general public license.

Pivot - snippets (add-in code) for the Pivot weblog system.

BCB skel - a skeleton Borland C++ Builder application with some useful default functionality.

MailMung - lets you put a mailing link on your web page without making it available to spammers.

Bloodhound - sniffs out bad characters (groan) in text files.

Yawn - automatically closes windows. Great for inter-sital pop up advertisements, such as those on GeoCities & Tripod.

Steptoe - a program to tidy your hard drive by deleting undused files.

Shortcuts - a simple program to scan the start menu and desktop, looking for links which have a shortcut (hotkey combination) and report same.

DIM - a very simple program to hide or restore desktop icons

J - strips superfluous data from JPEG image files.Use them to allow your web pages to load faster.

Which - DOS/Windows port of the Unix command. Given a command name, returns the full path to the command which will be executed.

To Do - the following is a list of programs which I intend to do, just as soon as I find time. Feel free to suggest new programs (though I don't promise anything), or tell me which you would prefer to see first:


BCB_skel

skeleton A skeleton Borland C++ Builder program. I use this as the basis of all new programs which I write and you might wish to do so too, since it includes handling for much common functionality which is required in almost every Windows application.

More information/a better description is available here.

downloadDownload Borand C++ Builder, source and help file here (245kB).

back to top


MailMung

mailbox

If you place a link on your web page allowing readers to send you e-mail, you are opening yourself up to spamming. Spammers' robots crawl the web, harvesting e-mail addresses. However, they only scan the plain text version of the page. This program will encode your e-mail address in such a way that a browser will display it correctly, but a robot will retireve junk which can not be used to address mail. For instance, in your browser, choose menu item View/Source and see how my e-mail address would appear to spammers: graham@keellings.com

More information/a better description is available here.

downloadDownload Windows executable here (69kB) (sorry, the source code was lost in the great hard drive crash of '01. Since the program is so simple, its source lived & died between backups. If anyone really wants it, I could quickly recreate the source. In fact, I probably will, one cold, dark Norwegian winter weekend, just so that I can make a Linux version too).

back to top


Bloodhound

bloodhoundSniffs out bad characters in text files. By bad characters, I mean control characters which might look like whitespace in the editor. Have you ever had the compiler report an error on a line and you just can't see what's wrong with the line ? Chances are, if the line truly looks error free, then if you retype it directly below, then delete the line, it will now compile. If so, you had a control character which looks to you like white space, but looks to the compiler like an error.

You can have a little more trouble under Unix, if you are using GNU CC. The compiler will tell you that there is an invalid character (which is more than many DOS based compilers will do), however the error is reported one line beyond the end of file.

Bloodhound will scan your text files and report any suspicious characters. It will also optionally replace them by spaces.

It's command line driven, written in C and compiles & runs happily under both DOS& Unix.

Here is some sample output

C:\Data\CODE\C\bh > bh test.txt

--------------------------------------------------------

bad char 0X8 at position 3

On line 1 (this line) there is an invalid character at position 3.

....*

Found a total of 1 bad characters in 2 lines.

downloadDownload C source, makefile and DOS executable here (28kB).

back to top


Yawn - yet Another Windows Nullifier

yawnif you are fed up of intra-sital pop up windows, such as those at GeoCities & Tripod, then this could be the program for you. Even if you are not, you may find the code interesting if you want to determine at run time all windows, their sizes & titles. You will also find out how to visit a web site from a program. The program allows the user to specify window titles and/or sizes and will then sit in the background, scanning at a user defined interval for windows matching these criteria. When such a window is found, it is automatically closed and a log entry is made. For Windows 95 & 98.

downloadDownload source, C++ builder project and Windows executable here (630kB).

back to top


Steptoe - removes junk. I couldn't find a decent free program to help tidy my hard drive, so I wrote this. There's a full page description here.

downloadDownload source, C++ builder project and Windows executable here (214kB).

back to top


Shortcuts - a simple program to scan the start menu and desktop, looking for links which have a shortcut (hotkey combination) and report same. For Windows 95 & 98.


downloadDownload source, C++ builder project and Windows executable here (117kB).

back to top


DIM -Desktop Icon Manipulation. A simple program to remove the shortcut icons from the desktop & restore them again later. For Windows 95 & 98.

downloadDownload source, C++ builder project and Windows executable here (104kB).

back to top


download

JPEG images can contain much unused infirmation. These comments might comtain the name and version of the program used to create the image, or details of the digital camera, including manufacturer, date & time, aperture, etc. Sometimes a JPEG image will contain a thumbnail image of itself. This can be very useful for applciations which know how to use it; your browser did not.

These data can amount to a significant percentage of the image's size. Use J to view them, then to remove them and your web pages will download more quickly.

This currently a command line program, with Unix makefile and DOS executable available. When I find time, I plan to add support for the JFIF 2 format which is becoming more popular with newer digital cameras. After that, I might add a GUI.

Download source code & makefile here (8kB).

back to top


Which - if you are familiar with either of the Unix commands 'whence' or 'which', this is a DOS implementation. If you issue any command, DOS first looks in the current directory, then looks through each directory in say My_cmd, the path for My_cmd.com, then My_cmd.exe and finally for My_cmd.bat This command does the same and informs you of the full fath name of the command which will be executed if you issue the unqualified command. If you add the -v or -verbose parameter, the program will show its progress, informing of every possible file for which it searches.

Download C source & .exe here.

Download Pascal (yes, Pascal!) source code & .exe here (6kB).

back to top

 

Last updated 18 May, 2005 9:47 PM


Valid HTML 4.0! Last modified: 13 April 2008    Page loaded in 0.001253 seconds.        This page has been visited 7 times since the great site reorganization of June 2005.