Post details
Contribute to InoUno/yaml-ls-check development by creating an account on GitHub.
Contribute to InoUno/yaml-ls-check development by creating an account on GitHub.
Find the right syntax for your YAML multiline strings.
Came across this fantastic website today just focussed on the quirks around multiline strings in YAML π https://yaml-multiline.info/
Constructing a serialised YAML string in Ruby (1 mins read).
How to convert a YAML document to a string representation, preserving escaped newlines, with Ruby.
May the YAML be with you! /via @justinchronicleFusionAuth (@FusionAuth)Fri, 04 Feb 2022 18:10 GMT
I can't take YAML seriously anymore ever since I saw someone refer to it as 'A Series of Unfortunate Indents'.
AS IF THERE IS SOME IDEAL ORDER IN THE WORLD (@NoCatsNoMasters)Fri, 14 Jan 2022 18:24 GMT
I think that should be "3.8","3.9","3.10". Those are not decimal numbers, they are a composite string with alphanumeric fields separated by dots (fields can also be 10a, rc1,...) IMO YAML is doing the right thing in this case...Fernando PΓ©rez (@fperez_org)Sat, 09 Oct 2021 16:14 +0000
Just encountered my first Python 3.10 gotcha! In YAML configuration for GitHub actions, you might have your Python matrix like this: 3.7, 3.8, 3.9 Guess what? 3.10 resolves to 3.1 you need to use 3.7, 3.8, 3.9, "3.10" oh, YAMLChris Holdgraf (@choldgraf)Sat, 09 Oct 2021 02:39 +0000
in cursed news: today I wrote some Kubernetes YAML that is *also* valid AT&T syntax x86_64 assembly (both print hello world)
Nikhil (@jhanikhil)Thu, 01 Jul 2021 21:36 +0000
It made my day π€£π€£π€£π€£π€£
{ "justin": "yoo" } π #MSLearn (@justinchronicle)Thu, 04 Mar 2021 11:16 GMT
A safer way to parse YAML by removing some of the more dangerous parts of YAML parsing - an interesting approach that means you don't need everyone well-versed in the minutiae of the YAML spec!
Pretty Printing YAML with the Ruby Command-Line (1 mins read).
Using Ruby's YAML
library to pretty-print YAML files from the command-line.
This is a great read about some of the risks of using YAML, especially the way that most YAML parsers default to executing arbitrary, unsafe commands from a file you're parsing.
Converting YAML to JSON and vice versa (Part 1 - Ruby) (2 mins read).
Coerce YAML to JSON and vice versa, from the comfort of your Gem-studded command line.
You're currently viewing page 1 of 1, of 17 posts.