A Groovy port of Java code for generating website screenshots. Uses JTidy to convert HTML to XHTML and the Flying Saucer renderer to output PNG images, demonstrating how to programmatically capture thumbnails of websites for archiving or preview purposes.
A Ruby example demonstrating how to interact with Lyris ListManager's SOAP API using HTTP POST instead of built-in SOAP libraries. Shows how to manually construct the SOAP envelope XML, set proper headers including authentication, and parse the response for adding members to mailing lists.
A Groovy script demonstrating how to use the StopForumSpam API to check email addresses against a database of known spammers. The script reads emails from a text file, queries the API, and reports how many times each email has been reported, showcasing Groovy's concise syntax for API integration.
A Groovy script demonstrating how to pull and parse character data from the World of Warcraft Armory. Uses XMLSlurper to fetch guild information and extract level 80 characters grouped by class, showcasing Groovy's cleaner syntax compared to Ruby for XML processing.
A Ruby script demonstrating how to pull character data from the World of Warcraft Armory website. The code fetches XML from the armory, parses guild information, and extracts level 80 characters with their names, levels, and classes into a sorted list.