Skip to content

Instantly share code, notes, and snippets.

View abitofhelp's full-sized avatar

Michael Gardner abitofhelp

View GitHub Profile
@abitofhelp
abitofhelp / iana_releases_2000-2025.json
Created November 10, 2025 01:16
IANA Time Zone Database: Useful JSON metadata for 2000-2025
{
"metadata":{
"description":"IANA Timezone Database Release History (2000-2025)",
"coverage":"2000-2025 (post-Y2K)",
"generated_at":"2025-11-10T01:08:09Z",
"total_releases":219,
"fields":{
"version":"Release version (e.g., '2024a')",
"released_at":"ISO 8601 UTC timestamp",
"zone_count":"Number of timezone zones in zone.tab/zone1970.tab",

Rust Error Handling Cheatsheet - Result handling functions

Introduction to Rust error handling

Rust error handling is nice but obligatory. Which makes it sometimes plenty of code.

Functions return values of type Result that is "enumeration". In Rust enumeration means complex value that has alternatives and that alternative is shown with a tag.

Result is defined as Ok or Err. The definition is generic, and both alternatives have