I thought my colleague was an alien who decoded base64 strings on the fly, but he wasn't.
It turns out there's a neat little trick to know that you're looking at a base64 encoded JSON object.
I thought my colleague was an alien who decoded base64 strings on the fly, but he wasn't.
It turns out there's a neat little trick to know that you're looking at a base64 encoded JSON object.
echo -en "-----BEGIN CERTIFICATE-----" | base64
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0t
You can even remember it easily because it has "tLS" in the first few characters so the beginning should look like a TLS certificate which means starting with dashes.
What I sometimes wonder: Are there people that can decode QR codes "on the fly"? But the decoding algo is pretty sophisticated, so I *guess* no, but on the other hand, among 8 billion people …
A space for Bonfire maintainers and contributors to communicate