Skip to content

Instantly share code, notes, and snippets.

View tigerjack's full-sized avatar

Simone Perriello tigerjack

View GitHub Profile
@tigerjack
tigerjack / clean_zotero_storage.py
Created April 23, 2021 13:30
Remove/Move all the directories from Zotero storage directory containing PDF files not indexed by Zotero.
import sqlite3
import os
import shutil
from typing import Dict, Iterable
import argparse
_PROG_DESC = """Process directories from Zotero storage dir containing non-indexed files
"""
@tigerjack
tigerjack / Rofi config
Created October 8, 2018 13:49
Rofi config
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.