Folder full of pertinent coursework
# Example borrowed from: http://learnxinyminutes.com/docs/yaml/1#2# YAML is a data serialisation language designed to be directly writable and readable by humans.3# It’s a strict superset of JSON, with the addition of syntactically significant newlines and indentation (like Python).4# YAML does not allow literal tab characters.56# Comments in YAML look like this.78################9# SCALAR TYPES #10################1112# Our root object (which continues for the entire document) will be a map,13# which is equivalent to a dictionary, hash or object in other languages.14key: value15another_key: Another value goes here.16a_number_value: 10017scientific_notation: 1e+1218boolean: true19null_value: null20key with spaces: value21# Notice that strings don't need to be quoted. However, they can be.22however: "A string, enclosed in quotes."23"Keys can be quoted too.": "Useful if you want to put a ':' in your key."2425# Multiple-line strings can be written either as a 'literal block' (using |),26# or a 'folded block' (using '>').27literal_block: |28This entire block of text will be the value of the 'literal_block' key,29with line breaks being preserved.3031The literal continues until de-dented, and the leading indentation is32stripped.3334Any lines that are 'more-indented' keep the rest of their indentation -35these lines will be indented by 4 spaces.36folded_style: >37This entire block of text will be the value of 'folded_style', but this38time, all newlines will be replaced with a single space.3940Blank lines, like above, are converted to a newline character.4142'More-indented' lines keep their newlines, too -43this text will appear over two lines.4445####################46# COLLECTION TYPES #47####################4849# Nesting is achieved by indentation.50a_nested_map:51key: value52another_key: Another Value53another_nested_map:54hello: hello5556# Maps don't have to have string keys.570.25: a float key5859# Keys can also be multi-line objects, using ? to indicate the start of a key.60? |61This is a key62that has multiple lines63: and this is its value6465# YAML also allows collection types in keys, but many programming languages66# will complain.6768# Sequences (equivalent to lists or arrays) look like this:69a_sequence:70- Item 171- Item 272- 0.5 # sequences can contain disparate types.73- Item 474- key: value75another_key: another_value76-77- This is a sequence78- inside another sequence7980# Since YAML is a superset of JSON, you can also write JSON-style maps and81# sequences:82json_map: {"key": "value"}83json_seq: [3, 2, 1, "takeoff"]8485#######################86# EXTRA YAML FEATURES #87#######################8889# YAML also has a handy feature called 'anchors', which let you easily duplicate90# content across your document. Both of these keys will have the same value:91anchored_content: &anchor_name This string will appear as the value of two keys.92other_anchor: *anchor_name9394# YAML also has tags, which you can use to explicitly declare types.95explicit_string: !!str 0.596# Some parsers implement language specific tags, like this one for Python's97# complex number type.98python_complex_number: !!python/complex 1+2j99100####################101# EXTRA YAML TYPES #102####################103104# Strings and numbers aren't the only scalars that YAML can understand.105# ISO-formatted date and datetime literals are also parsed.106datetime: 2001-12-15T02:59:43.1Z107datetime_with_spaces: 2001-12-14 21:59:43.10 -5108date: 2002-12-14109110# The !!binary tag indicates that a string is actually a base64-encoded111# representation of a binary blob.112gif_file: !!binary |113R0lGODlhDAAMAIQAAP//9/X17unp5WZmZgAAAOfn515eXvPz7Y6OjuDg4J+fn5114OTk6enp56enmlpaWNjY6Ojo4SEhP/++f/++f/++f/++f/++f/++f/++f/++f/+115+f/++f/++f/++f/++f/++SH+Dk1hZGUgd2l0aCBHSU1QACwAAAAADAAMAAAFLC116AgjoEwnuNAFOhpEMTRiggcz4BNJHrv/zCFcLiwMWYNG84BwwEeECcgggoBADs=117118# YAML also has a set type, which looks like this:119set:120? item1121? item2122? item3123124# Like Python, sets are just maps with null values; the above is equivalent to:125set2:126item1: null127item2: null128item3: null129130131