This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import shutil | |
| assets_dir = './assets' | |
| journal_dir = './journals' | |
| pages_dir = './pages' | |
| to_delete_dir = './to_delete' | |
| def get_all_assets() -> list[str]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Intercept Shortcuts | |
| // @namespace https://gist.github.com/luetage/b6c6fdee713c0b3569e9daa9ee7b73bb | |
| // @updateURL https://gist.github.com/luetage/b6c6fdee713c0b3569e9daa9ee7b73bb/raw | |
| // @supportURL https://forum.vivaldi.net/post/459981 | |
| // @description Stops websites from hijacking keyboard shortcuts. | |
| // @version 2022.9.0 | |
| // @author luetage | |
| // @match *://*/* | |
| // @run-at document-start |