Skip to content

Instantly share code, notes, and snippets.

@enykeev
Created September 22, 2015 15:51
Show Gist options
  • Save enykeev/b5c8f0e5a46109e7849e to your computer and use it in GitHub Desktop.
Save enykeev/b5c8f0e5a46109e7849e to your computer and use it in GitHub Desktop.
YAML examples
--- !clarkevans.com/^invoice
invoice: 34843
date : 2001-01-23
bill-to: &id001
given : Chris
family : Dumars
address:
lines: |
458 Walkman Dr.
Suite #292
city : Royal Oak
state : MI
postal : 48046
ship-to: *id001
product:
- sku : BL394D
quantity : 4
description : Basketball
price : 450.00
- sku : BL4438H
quantity : 1
description : Super Hoop
price : 2392.00
tax : 251.42
total: 4443.52
comments: >
Late afternoon is best.
Backup contact is Nancy
Billsmer @ 338-4338.
---
Time: 2001-11-23 15:01:42 -5
User: ed
Warning:
This is an error message
for the log file
---
Time: 2001-11-23 15:02:31 -5
User: ed
Warning:
A slightly different error
message.
---
Date: 2001-11-23 15:03:17 -5
User: ed
Fatal:
Unknown variable "bar"
Stack:
- file: TopClass.py
line: 23
code: |
x = MoreObject("345\n")
- file: MoreClass.py
line: 58
code: |-
foo = bar
"symfony 1.0":
end_of_maintainance: 2010-01-01
is_stable: true
release_manager: "Gregoire Hubert"
description: >
This stable version is the right choice for projects
that need to be maintained for a long period of time.
latest_beta: ~
latest_minor: 1.0.20
supported_orms: [Propel]
archives: { source: [zip, tgz], sandbox: [zip, tgz] }
"symfony 1.2":
end_of_maintainance: 2008-11-01
is_stable: true
release_manager: 'Fabian Lange'
description: >
This stable version is the right choice
if you start a new project today.
latest_beta: null
latest_minor: 1.2.5
supported_orms:
- Propel
- Doctrine
archives:
source:
- zip
- tgz
sandbox:
- zip
- tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment