WWW-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: htdocs/donations/thermo

Module Name:    htdocs
Committed By:   dholland
Date:           Mon Dec 31 00:27:32 UTC 2012

Added Files:
        htdocs/donations/thermo: README mkbar.sh mkscale.sh mktherm.sh
        htdocs/donations/thermo/bitmaps: axis.txt blankaxis.txt number-0.txt
            number-1.txt number-2.txt number-3.txt number-4.txt number-5.txt
            number-6.txt number-7.txt number-8.txt number-9.txt number-K.txt
            number-dol.txt number-spacer.txt

Log Message:
This is a bit of a hack, but it generates a decent donation
thermometer, and the previous script (which was apparently last used
to update the donation bar in 2009...) is nowhere to be found.

Usage: if we have $43150 and the goal is $60000,

        ./mktherm.sh 43150 60000

This generates fundraising.png which you can copy into ../../images
and commit.

The scripts require netpbm and do assorted shell hackery, but should
be reasonably portable.

To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 htdocs/donations/thermo/README \
    htdocs/donations/thermo/mkbar.sh htdocs/donations/thermo/mkscale.sh \
cvs rdiff -u -r0 -r1.1 htdocs/donations/thermo/bitmaps/axis.txt \
    htdocs/donations/thermo/bitmaps/blankaxis.txt \
    htdocs/donations/thermo/bitmaps/number-0.txt \
    htdocs/donations/thermo/bitmaps/number-1.txt \
    htdocs/donations/thermo/bitmaps/number-2.txt \
    htdocs/donations/thermo/bitmaps/number-3.txt \
    htdocs/donations/thermo/bitmaps/number-4.txt \
    htdocs/donations/thermo/bitmaps/number-5.txt \
    htdocs/donations/thermo/bitmaps/number-6.txt \
    htdocs/donations/thermo/bitmaps/number-7.txt \
    htdocs/donations/thermo/bitmaps/number-8.txt \
    htdocs/donations/thermo/bitmaps/number-9.txt \
    htdocs/donations/thermo/bitmaps/number-K.txt \
    htdocs/donations/thermo/bitmaps/number-dol.txt \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index