Put that old PPC Mac back to work.
My former old imac running ubuntu:
Anyway that is just a thumb nail of what you can do. As the descendants of Paladin might say: Have computer, will network……
How hosting companies rake in the dough.
The second thing they can do is have what is known as virtual hosts. That is you can run many websites with only one computer. So every time a hosting company signs up someone to use their equipment for having a web site, it is almost like free money as it does not cost them any additional money to host your site. (Unless their equipment is at full capacity). For example, we love to have virtual web hosting. You can set up websites for special purposes and be at their own special web address. For example, we are running all the following sites all on an old Intel Pentium II computer (on a private network).
Radar maps gone retro.
DAY=$(date +"%m%d%y%H%M%S") # picfn="pic$DAY.png" # echo $picfn wget http://radar.weather.gov/ridge/Thumbs/FWS.png -O fws$DAY.png
*/1 * * * * /home/eddie/bin/d.sh
We will set it to grab a picture once a minute. AT most once a hour is fine unless you know you have inclement weather coming. Set the collection at 1 per minute for our example. That will fill up a hard drive quickly so be careful.
$ chmod +x d.sh
$ crontab -e to add d.sh to your cronfile.
You should be collecting radar images once you have that set up. We are beginning to collect a few pictures. Now we need to convert the picture(s) to a text file.
for g in fws*.png do echo $g img2txt -W 80 -f utf8 img2txt -W 80 -H 25 utf8 $g > $g.txt done
Note: We used img2txt -W 80 -f utf8 img2txt -W 160 -H 60 utf8 $g > $g.txt
$ chmod +x convert.sh
You see the file names to be converted on the screen as they are processed. Then you should be able to to list the generated text.files.
$ ls fws*.txt
We could examine each txt file to see what the weather was at the moment, but that is time consuming. Better to have sort of a page flipping to see how the weather was over time. So far so good. Now we need to create a batch file to show the animation. This is also a good start to a text based slide show.
for g in fws*.txt do tput cup 0 0 cat $g done
$ chmod +x show.sh
Watch the show. If there is not much weather change or you have only collected a few frames, you not see the whiz boom you might want to. Definitely try it when a storm is coming your way (if it is safe to do so!!)