Skip to content

Instantly share code, notes, and snippets.

Avatar

Abel Cheung abelcheung

View GitHub Profile
@abelcheung
abelcheung / pytest-datadir-fail.md
Last active Jan 7, 2021
Pytest failure on using datadir fixture under Windows
View pytest-datadir-fail.md

This is bug report for pytest-datadir issue #36.

C:\Users\foobar\repo> pytest -k test_datadir -s tests\
========================================= test session starts =========================================
platform win32 -- Python 3.8.2, pytest-6.2.1, py-1.10.0, pluggy-0.13.1
rootdir: C:\Users\foobar\repo
plugins: datadir-1.3.1
collected 7 items / 6 deselected / 1 selected
@abelcheung
abelcheung / firefox-viewsource-customize.md
Last active May 9, 2021
Customizing Firefox view-source style -- Solarized Dark theme with wallpaper
View firefox-viewsource-customize.md

Customizing Firefox view-source style

TL;DR

  1. Open (or create) chrome/userContent.css under your Firefox profile folder
  2. Append attached CSS content and save file
  3. Restart Firefox

firefox view-source style customization