Skip to content

Instantly share code, notes, and snippets.

View sjrogers's full-sized avatar

Sam Rogers sjrogers

View GitHub Profile
@sjrogers
sjrogers / tox.ini
Created October 16, 2018 04:55
tox.ini example for pipenv
[tox]
envlist = pypy35,py37
[testenv]
commands =
pipenv install
python -m pytest tests/
deps =
pipenv
pytest
@sjrogers
sjrogers / calibre_last_accessed.md
Last active April 25, 2024 01:08
How To Add "Last Accessed" Column In Calibre

How To Add "Last Accessed" Column In Calibre

Calibre does not keep track of the last time you opened a book, but your filesystem does. Or at least, it kinda does. Thankfully you can use Calibre template functions and custom columns to make use of this information.

Step 1: Create Template Function

  1. Go to Preferences -> Advanced -> Template Functions
  2. Select the Function field at the bottom left of the window