6 scripts tagged as: [author · gordon raboud]
Convert Character to Hexidecimal | ||
char-to-hex.r | v:1.0 964 bytes 7 May 2005 | Convert an ASCII char to a two hex code. This is just one of
those things in Rebol where you waste time looking for a solution
to an otherwise extremely simple problem because the obvious
doesn't work (ie: to-hex M doesn't work because to-hex wants
an integer and to-integer wants a character not a string)! The
C2I function [...] author: Gordon Raboud with help from TomC and Sunanda |
Hide E-Mail Addresses by using Javascript | ||
hide-email-addresses.r | v:1.0 2.5 KB 3 Jun 2005 | This will take a web page and find all the mailto:aaa@bbb and
convert the addresses to variables for use in Javascript. This
effectively 'hides' the addressess from webbot e-mail address
harvesters.
Note: This script expects the opening tag (<a href="mailto:...">)
and the closing tag (</a>) to be on one or at [...] author: Gordon Raboud |
Convert 'Date' datatype to International Date - ISO 8601. | ||
iso-8601-date.r | v:1.0.0 1.0 KB 8 Nov 2005 | Simple one-liner function to covert date to ISO 8601 format. In
my application a time stamp is not needed nor included in this function.
For a function that includes a timestamp see: to-iso-8601-date.r author: Gordon Raboud |
National Geographic Image of the Day Downloader | ||
ngbg2.r | v:1.2.5 12.3 KB 11 Sep 2007 | Downloads all the Picture Of The Day images (current and past)
from the National Geographic website and saves it to a location of your choice.
Revisions:
Version 1.2.5 Checked to see if the large wallpaper exists and if not to use the smaller
wall paper image.
Version 1.2.4 Changed from Viewing the POTD to Browsing the POTD which then
allows the user to go back [...] author: Gordon Raboud |
Sort an array of records | ||
sort-array.r | v:1.0.0 1.8 KB 7 Nov 2005 | Sort an array where each record is separated by a 'newline' and
each field in each record is separated by a comma. author: Gordon Raboud |
sort-series-of-elements | ||
sort-series.r | v:1.0.0 3.2 KB 7 Nov 2005 | Sorting a series of items. Specify how many fields per record,
which field to sort on, and Ascending or Descending order. author: Gordon Raboud with some help from Volker, DideC, Sunanda and BrianH |