Skip to content

Instantly share code, notes, and snippets.

slmg / pytest.ini
Created Nov 13, 2020
doctest with pytest config
View pytest.ini
addopts = --doctest-modules
doctest_optionflags= NORMALIZE_WHITESPACE
slmg / pre-commit
Last active Oct 3, 2020
terraform-docs pre-commit hook
View pre-commit
#!/usr/bin/env bash
# Auto-generate documentation via terraform-docs.
# This hooks is based on a dockerized version which extends the original program
# by allowing to replace only part of a README file, instead of a full overwrite.
# Exit on error.
slmg /
Last active Aug 21, 2020
Mozilla Firefox tweaks

Firefox UI Tweaks


  • Bookmark toolbar Chrome behaviour: display only on new tab (kinda...)
  • Remove extra space on top left before tabs when Firefox isn't full screen
  • Do not show title bar (looks bulky in ubuntu)
  • Do not hide tab bar in full screen