Flask snippets