some snippets & configs