Skip to content

Instantly share code, notes, and snippets.

View duke8585's full-sized avatar
🏠
Working from home forever

Max duke8585

🏠
Working from home forever
View GitHub Profile
import yaml
with open("test.yml", "r") as stream:
try:
y_structure = yaml.safe_load(stream)
# will be dict of dict / list etc.
print(type(y_structure))
print(yaml.dump(y_structure, default_flow_style=False))
except yaml.YAMLError as exc:
print(exc)
// TODO tree
// If true, any subfolders containing a .git file will be ignored when searching.
"todo-tree.filtering.ignoreGitSubmodules": true,
// Add VSCode's `files.exclude` and/or `search.exclude` list to the ignored paths.
// - none: Don't used any built in excludes
// - file excludes: Use the Files:Exclude setting
// - search excludes: Use the Search:Exclude setting
// - file and search excludes: Use the Files:Exclude and the Search:Exclude setting
"todo-tree.filtering.useBuiltInExcludes": "file and search excludes",
// Set to true to enable automatic updates when files in the workspace are created, changed or deleted.