Scott Williams 🐧 on Nostr: Putting special characters like @ at the beginning of a key in #YAML is a no-no. ...
Putting special characters like @ at the beginning of a key in #YAML is a no-no. Fortunately, there's a way around this with a bit of unicode magic on a double-quoted scalar. #Kubernetes #helm
These get converted to @jupyterlab/extensionmanager-extension and @jupyterlab/jupyterlab-telemetry in this example:
Published at
2023-09-01 21:29:56Event JSON
{
"id": "c7cfa86bcb1f0262d2fc92389f01c6bc4f1b82e5e9a98fd885e86bae8b5c1a11",
"pubkey": "beee28c6450eb5d21bf94279d1f3f41e524c87abf86393835b45e6a1e98390e7",
"created_at": 1693603796,
"kind": 1,
"tags": [
[
"t",
"yaml"
],
[
"t",
"kubernetes"
],
[
"t",
"helm"
],
[
"proxy",
"https://mastodon.online/users/vwbusguy/statuses/110992018381083840",
"activitypub"
]
],
"content": "Putting special characters like @ at the beginning of a key in #YAML is a no-no. Fortunately, there's a way around this with a bit of unicode magic on a double-quoted scalar. #Kubernetes #helm\n\nThese get converted to @jupyterlab/extensionmanager-extension and @jupyterlab/jupyterlab-telemetry in this example:\n\nhttps://files.mastodon.online/media_attachments/files/110/992/010/529/674/010/original/c01474ac066fb4c2.png",
"sig": "29745867694bf09fc767828a8917003be7035bb3522cdf3b8e7e52bc30e81a63247dd7b1bfb4e64cf3f382a2b44f80a9592f7c6af1f7a8fd8234bd77c1bdb877"
}