vault backup: 2025-11-23 10:08:42
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 1m17s
All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 1m17s
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
|
||||
```
|
||||
#!/Users/johandahlin/Library/Application Support/AnkiProgramFiles/.venv/bin/python
|
||||
from anki.collection import Collection
|
||||
c = Collection("/Users/johandahlin/Library/Application Support/Anki2/User 1/collection.anki2")
|
||||
for deck_name in c.decks.all_names():
|
||||
if not deck_name.startswith("Biokemi::Johan D"):
|
||||
continue
|
||||
deck_name = deck_name.replace("Johan D::", "")
|
||||
deck_name = deck_name.replace("::", "_")
|
||||
deck_id = c.decks.id_for_name(d)
|
||||
c.export_anki_package(
|
||||
out_path=f"/tmp/{deck_name}.apkg",
|
||||
options=ExportAnkiPackageOptions(with_media=True),
|
||||
limit=DeckIdLimit(deck_id),
|
||||
)
|
||||
```
|
||||
|
||||
TODO
|
||||
- Update script to run rsync to moln
|
||||
- Update Caddyfile to [serve static files](https://caddyserver.com/docs/caddyfile/directives/file_server), perhaps with index
|
||||
- Generate obsidian page with links to anki that can be downloaded
|
||||
- how do we insert dynamic content?
|
||||
- low prio: run it automatically (do we want to?)
|
||||
@@ -1,41 +0,0 @@
|
||||
|
||||
### Alfabet
|
||||
Arnold
|
||||
Bamse
|
||||
Chaplin
|
||||
Darth Vader
|
||||
Einstein
|
||||
Forrest Gump
|
||||
Greta
|
||||
Håkan
|
||||
Ingmar Bergman
|
||||
Jesus
|
||||
Kungen
|
||||
Lenin
|
||||
Mario
|
||||
Napoleon
|
||||
Ozzy
|
||||
Pippi
|
||||
Quentin
|
||||
Rick Ashley
|
||||
Stephen Hawkins
|
||||
Tarzan
|
||||
Ulf Kristersen
|
||||
Volvo
|
||||
Walter White
|
||||
X11
|
||||
Yoda
|
||||
Zlatan
|
||||
Åsna
|
||||
Älg
|
||||
Ödla
|
||||
1 sol
|
||||
2 glasögon
|
||||
3 tre vise men
|
||||
4 beatles
|
||||
5 pentagon
|
||||
6 tärning
|
||||
7 seven-up
|
||||
8 råtta
|
||||
9 kub
|
||||
0 Zorro
|
||||
Reference in New Issue
Block a user