This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open('GET', 'https://api.exchangerate-api.com/v4/latest/AUD', false); | |
| xhr.send(); | |
| var data = JSON.parse(xhr.responseText); | |
| var eurRate = data.rates.EUR; | |
| var amount = 1; | |
| var converted = (amount * eurRate).toFixed(2); | |
| amount + " AUD = " + converted + " EUR (Rate " + eurRate.toFixed(4) + ")"; | |
| } catch (error) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Author: PierreHenry.dev | |
| automation_hub.py - A local automation hub for capturing ideas, prioritising tasks, planning today, | |
| running weekly reviews, and exporting everything to Markdown. | |
| Usage examples: | |
| python automation_hub.py add "Build a Node feature flag article" --type idea --impact 5 --effort 2 | |
| python automation_hub.py add "Ship YouTube thumbnail workflow" --type task --impact 5 --effort 3 --due 2026-03-20 |
OlderNewer