Skip to content

Instantly share code, notes, and snippets.

@DavidEGrayson
Created November 28, 2015 04:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidEGrayson/c41d1570c8b2005974ae to your computer and use it in GitHub Desktop.
Save DavidEGrayson/c41d1570c8b2005974ae to your computer and use it in GitHub Desktop.
Yaml is cool.
$ cat stuff.yaml
abc.dll:
- tolower
- wcslen
USER32.dll:
- MessageBoxW
- stuff
$ ruby -ryaml -e "p YAML.load(ARGF)" < stuff.yaml
{"abc.dll"=>["tolower", "wcslen"], "USER32.dll"=>["MessageBoxW", "stuff"]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment