Data¶
Opal provides a data directory. It’s meant to be a local resource for facts that you might normally web search. In a couple of cases, there’s a Bash function that reads from a in this directory. But mostly, they’re just for you , the human, to read and reference.
canada.txt¶
A list of Canadian Provinces with their associated abbreviations.
http-methods.txt¶
A list of HTTP Methods, sometimes called verbs, and a description of their purpose, as defined in RFC 2616.
http-status-codes.txt¶
Provide a list of HTTP Status codes with their title and description. This file is used by the opal:http_status function to quickly locate a status description
iso-country-codes.txt¶
A tab-delimited file of ISO 3166-1 country codes. This file is used by the opal:country function to look up a country name by its 2-letter and 3-letter ISO country codes.
powers-of-two.txt¶
Provides a lookup table of the powers of 2, up to 2^31. Sometimes you need the exact value for a calculation.
rfcs.txt¶
A list of RFCs for some of the most popular technologies, ideas, and practices.
temperature.txt¶
Provides a lookup table for those to translate Celsius to Farenheit.
time.txt¶
Provide a set of conversion tables for minutes, hours, and days to seconds.
us.txt¶
Provide list of US States, with 2-letter abbreviations and numeric codes.
weight.txt¶
Provide a conversion table of kilograms to pounds, in 5ºC increments.
php/README.txt¶
Document where the sources of PHP-related data is sourced from.
php/php-version-history.txt¶
Provides a list of the release date with the associated versions of PHP. The details of the releases are in the changelogs on php.net. This just provides a reminder of when a PHP version was released.
php/wp-version-history.txt¶
Provides a list of the WordPress release dates with the associated version. The details of the releases are on wordpress.org. This just provides a reminder of when a PHP version was released.