Skip to content

Instantly share code, notes, and snippets.

View franalbani's full-sized avatar

Francisco Albani franalbani

View GitHub Profile
@franalbani
franalbani / loqseq_pdf_fix.py
Created July 10, 2022 02:48
Script for fixing PDF image references in exported logseq graph.
#!/usr/bin/env python3
from re import sub, Match
from pathlib import Path
from typer import Typer
from functools import partial
from itertools import chain
from typing import List
from sh import cp

Keybase proof

I hereby claim:

  • I am franalbani on github.
  • I am franalbani (https://keybase.io/franalbani) on keybase.
  • I have a public key ASAm9xXKCt2s1bh3gFF7j_DLBmNjiyJuV_lM5V1qoSA_Vwo

To claim this, I am signing this object:

Verifying my Blockstack ID is secured with the address 1A3TdNTEJu7ra5oHmNCiVibeDwjfqVFT22 https://explorer.blockstack.org/address/1A3TdNTEJu7ra5oHmNCiVibeDwjfqVFT22
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.