Nesbitt & Associates Banner

Nesbitt & Associates | Downloads

Downloads Downloads


Unix Daemons



flasher is a portable Unix daemon that monitors specified files (e.g., a mail file or system log file) for changes and indicates the number of writes by flashing a keyboard LED. When the files have been read, the flashing stops. It currently works on FreeBSD, Solaris, Linux and SCO Unix.

Download flasher-1.3.tar.gz, or browse the source code.


Interchange Payment Modules



Vend::Payment::Nova is an Interchange payment module to support Nova (myvirtualmerchant) payment processing.

Download Nova.pm v1.03 here.


Unix Shell Tools



base-convert is a shell script that converts its numeric argument from one base to another, depending on the name by which the script was invoked. For example:

      Convert binary 101010 to decimal:

          $ ./b2d 101011
          43

      Convert octal 755 to hexadecimal:

          $ ./o2h 755
          1ED

      The scripts can be pipelined:

          $ echo 101010 | ./b2o | ./o2h | ./h2d
          42

Download base-convert-1.0.tar.gz, or browse the source code.


loop prints to stdout a series of numbers from `start' to `end', with optional increment and zero-padded field width. Hex (-x) or octal (-o) output formats are available. Negative numbers are allowed, and a negative `increment' does the expected thing. For example:

          $ loop 1 3
          1
          2
          3

          $ loop 2 6 2
          2
          4
          6

          $ loop 2 10 2 2
          02
          04
          06
          08
          10

          $ # Create 10 test files, 'a01' through 'a10'
          $ for i in `loop 1 10 1 2`; do touch a$i; done

          $ loop -x -8 8 4 8
          FFFFFFF8
          FFFFFFFC
          00000000
          00000004
          00000008

          $ loop 4 0 -1
          4
          3
          2
          1
          0

Download loop-1.0.tar.gz, or browse the source code.



Serving the Lower Mainland:

Vancouver
Surrey
Port Moody
Richmond
Langley
Coquitlam
Burnaby
New Westminster
North Vancouver