Skip to content

Instantly share code, notes, and snippets.

@slmg
slmg / pytest.ini
Created Nov 13, 2020
doctest with pytest config
View pytest.ini
[pytest]
addopts = --doctest-modules
doctest_optionflags= NORMALIZE_WHITESPACE
@slmg
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.
# https://github.com/segmentio/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.
# https://github.com/cytopia/docker-terraform-docs
# Exit on error.
@slmg
slmg / firefox-ui-tweaks.md
Last active Aug 21, 2020
Mozilla Firefox tweaks
View firefox-ui-tweaks.md

Firefox UI Tweaks

Features

  • 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

Installation