| created | tags | aliases | week | year | ||
|---|---|---|---|---|---|---|
<% tp.file.creation_date("YYYY-MM-DD HH:mm") %> |
|
|
<% tp.date.now("YYYY-[W]ww", 0, tp.file.title, "[W]ww") %> |
<% tp.date.now("YYYY", 0, tp.file.title, "[W]ww") %> |
<%*
| ARN Base Pattern :- | |
| arn:<aws_parition>:<aws_service>:[<aws_region>]:<account_id>:<root | resource_type>:/<resource_name>[/<sub_resource_names>...] | |
| i. <aws_partition> | |
| Regex - (aws|aws-us-gov|aws-cn) | |
| ii. <aws_service> - No fixed pattern | |
| iii. <aws_region> - No fixed pattern | |
| Most of the regions occur in combination of 2 letter followed by "-" followed by a combination of direction based word , followed by a "-" and then a digit. |
| function moviequote() { | |
| local response | |
| response=$(curl -s "https://quoteapi.pythonanywhere.com/random") | |
| local quote | |
| quote=$(echo "$response" | jq -r '.Quotes[].quote') | |
| echo "\"$quote\"" | |
| } |
| created | tags | aliases | week | year | ||
|---|---|---|---|---|---|---|
<% tp.file.creation_date("YYYY-MM-DD HH:mm") %> |
|
|
<% tp.date.now("YYYY-[W]ww", 0, tp.file.title, "[W]ww") %> |
<% tp.date.now("YYYY", 0, tp.file.title, "[W]ww") %> |
<%*