This package contains some one-file programs I wrote for
simplify my tasks probably most of the work they do can be done
better with a script in Python, but I prefer work with
C++ as long as i can. Also, joinlines (which is shipped both in
C++ and Python form, is much more slow using the Python
version!).
The sources are tested compilable and working
right on Mac OS X Panther.
The first utility is Upload ETA, which allow you to get
the ETA of an upload, knowing the complete size of the file. I
use it to monitor uploads on my FTP when someone is passing me a
big file.
The second one is Join Lines, a micro-utility which loads
two files, usually with the same number of rows, and join them
into a unique text with rows created by concatenate the ones
into the files.
The third util is unicode2ascii. Actually this is a rough
hack to get a clean 8-bit ascii file out of a 16-bit unicode
file from Windows 2k and XP (like the .reg files). It removes
the two bytes which selects the encoding, and all the extended
bytes from characters.
wgetf is a looped printf which prints to a sh-script file the wget commands
to get a series of file named similarly.
firmfinder is an utility for who love to hack with
device's firmwares. It searches in a file for the gzip's magic
numbers and then output the bytes from those to the end to
stdout.
getheader is an utility which take two files and extract
the 'header' part (if present): output on stdout all the
identical bytes at the top of the files themselves. Useful to
find out the header part of an unknown binary filetype.
You can get the package with the source files, the Makefile to
build them and a copy of the GPL from the download page.
Downloads