From 924e189273e8efe05129b2bc635a6556e19fed37 Mon Sep 17 00:00:00 2001 From: Khemarato Bhikkhu Date: Mon, 3 Jul 2023 09:12:53 +0700 Subject: [PATCH] mn+poem --- .zenodo.json | 3 +++ _content/av/i-dream-of-horses_espinoza.md | 26 +++++++++++++++++++ _content/canon/an10.60.md | 2 +- _content/canon/an5.205.md | 2 +- _content/canon/mn73.md | 18 +++++++++++++ _content/essays/what-work-is_levine-philip.md | 5 ++-- ...verses-mulamadhymakakarika_garfield-jay.md | 8 +++--- _data/drive_folders.json | 12 +++++++++ scripts/openaleximporter.py | 10 +++---- 9 files changed, 72 insertions(+), 14 deletions(-) create mode 100644 _content/av/i-dream-of-horses_espinoza.md create mode 100644 _content/canon/mn73.md diff --git a/.zenodo.json b/.zenodo.json index f151d9de43..35a094205f 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -22,6 +22,9 @@ },{ "relation": "requires", "identifier": "https://doi.org/10.5281/zenodo.4740012" + },{ + "relation": "requires", + "identifier": "https://doi.org/10.5281/zenodo.8093182" },{ "relation": "isSupplementTo", "identifier": "https://drive.google.com/drive/folders/1RJi6bEXa25zizGdsm5evCycYuY6a2D8r" diff --git a/_content/av/i-dream-of-horses_espinoza.md b/_content/av/i-dream-of-horses_espinoza.md new file mode 100644 index 0000000000..3e9794107c --- /dev/null +++ b/_content/av/i-dream-of-horses_espinoza.md @@ -0,0 +1,26 @@ +--- +title: "I Dream of Horses Eating Cops" +authors: + - "Joshua Jennifer Espinoza" +subcat: poetry +reader: "Ada Limón" +external_url: "https://www.slowdownshow.org/episode/2022/07/11/715-i-dream-of-horses-eating-cops" +status: featured +course: poetry +tags: + - feeling + - karma + - cosmology + - policing + - justice + - ambulit +year: 2022 +month: jul +series: slowdown +number: 715 +minutes: 5 +--- + +> i have so much hope for the future + +> i hope everyone gets everything they deserve diff --git a/_content/canon/an10.60.md b/_content/canon/an10.60.md index 7dbfe24e41..6d5c6e8c1c 100644 --- a/_content/canon/an10.60.md +++ b/_content/canon/an10.60.md @@ -14,6 +14,6 @@ month: nov pages: 16 --- -> having heard these ten percpetions, venerable Girimānanda’s afliction immediately abated +> having heard these ten perceptions, venerable Girimānanda’s afliction immediately abated A profound discourse on Vipassana meditation in an apotropaic frame. diff --git a/_content/canon/an5.205.md b/_content/canon/an5.205.md index 7c1358f2ed..d3e613d420 100644 --- a/_content/canon/an5.205.md +++ b/_content/canon/an5.205.md @@ -7,7 +7,7 @@ drive_links: - "https://drive.google.com/file/d/1M7d5NXKEdffwhUH4Vb6NgEIsH77Mgaaf/view?usp=drivesdk" course: problems tags: - - feelings + - feeling - doubt - an year: 2018 diff --git a/_content/canon/mn73.md b/_content/canon/mn73.md new file mode 100644 index 0000000000..b959beeb97 --- /dev/null +++ b/_content/canon/mn73.md @@ -0,0 +1,18 @@ +--- +title: "MN 73 Mahāvaccha Sutta: The Longer Discourse With Vacchagotta" +translator: sujato +slug: "mn073" +external_url: "https://suttacentral.net/mn73/en/sujato" +drive_links: + - "https://drive.google.com/file/d/1L90U94c1p8sFYhLbmjrbZcuC0eiTDU6n/view?usp=drivesdk" +course: characters +tags: + - form + - tranquility-and-insight + - iddhi + - mn +year: 2018 +pages: 6 +--- + +> But because, Master Gotama, monks, nuns, celibate laymen, laymen enjoying sensual pleasures, celibate laywomen, and laywomen enjoying sensual pleasures have all succeeded in this teaching, this spiritual path is complete in that respect. diff --git a/_content/essays/what-work-is_levine-philip.md b/_content/essays/what-work-is_levine-philip.md index fd3fa377d9..1bfa011971 100644 --- a/_content/essays/what-work-is_levine-philip.md +++ b/_content/essays/what-work-is_levine-philip.md @@ -10,10 +10,9 @@ subcat: poetry tags: - america - meditation - - engaged - gender - - class - - problems + - labor + - compassion pages: 2 --- diff --git a/_content/excerpts/selected-verses-mulamadhymakakarika_garfield-jay.md b/_content/excerpts/selected-verses-mulamadhymakakarika_garfield-jay.md index 6842e429d6..57c5d9e71d 100644 --- a/_content/excerpts/selected-verses-mulamadhymakakarika_garfield-jay.md +++ b/_content/excerpts/selected-verses-mulamadhymakakarika_garfield-jay.md @@ -1,6 +1,7 @@ --- -title: "[Selected Verses from] Mulamadhyamakakarika" +title: "[Selected Verses from the] Mulamadhyamakakarika" translator: garfield-jay +authors: ["Rev. Yin Shun"] external_url: "https://aaari.info/notes/03-06-06Tam2.pdf" drive_links: - "https://drive.google.com/file/d/187T2v8GMkuY7rT6Rl7a_oeXXSWKLn7u3/view?usp=drive_link" @@ -12,9 +13,8 @@ tags: - madhyamaka - mahayana - emptiness - - sects -editor: "Rev. Yin Shun" -year: 1995 + - sects +year: 1995 publisher: oxford address: "Oxford" booktitle: "The fundamental wisdom of the middle way: Nāgārjuna's Mūlamadhyamakakārikā" diff --git a/_data/drive_folders.json b/_data/drive_folders.json index 2e4902637c..ce87e2307e 100644 --- a/_data/drive_folders.json +++ b/_data/drive_folders.json @@ -39,6 +39,10 @@ "private": "https://drive.google.com/drive/folders/1fOtpegAsyDkPGD8fEELbwHtPG_ab0hOk", "public": "https://drive.google.com/drive/folders/149gY1BelJlHzKlLP9pZuT9RPNQcnyChp" }, + "characters": { + "private": "https://drive.google.com/drive/folders/1LxiUnQ8GafMqYfJeC68FTxQ8xeH4FbE7", + "public": "https://drive.google.com/drive/folders/11vO86SK9DGAbLdmZbQqlRqATwdIjDwni" + }, "clothes": { "private": "https://drive.google.com/drive/folders/1xiSsjPQ6RUwYL_T4PTa2tqMWBES2uoAC", "public": null @@ -67,6 +71,10 @@ "private": "https://drive.google.com/drive/folders/1GTs6GMS4jI_OTJ-Osho-DZ-r3ACNRxhQ", "public": "https://drive.google.com/drive/folders/1HQ31JiRVpz6ErB_3_7kFveHgxKc3f7jm" }, + "esl": { + "private": "https://drive.google.com/drive/folders/1AmbOXa3DqwfLOguExzURrxE2eoE6OEOu", + "public": "https://drive.google.com/drive/folders/1X9PeBe3TOYTyoUEzS3n4IALtf_iRq3BY" + }, "ethics": { "private": "https://drive.google.com/drive/folders/1C71RS4k0cj_ThiA2MXZgWP3-c8mvNGCT", "public": "https://drive.google.com/drive/folders/1-YQu-rB2CsfWNHrHhmt9NPEfHuqzGpQ_" @@ -91,6 +99,10 @@ "private": "https://drive.google.com/drive/folders/1GVXaFYW5Q4lZSo51lu6Z5gEXBy8PUyt5", "public": "https://drive.google.com/drive/folders/1U7bngJmaIPVlV41fvqEQUKoKDblvUN2F" }, + "gender": { + "private": "https://drive.google.com/drive/folders/1FRKg7P0kT8Tzd2rPVLZauEWKAsb9v6RG", + "public": "https://drive.google.com/drive/folders/1kOMSQMEbcqc_bgf2iQ55adc0e8lrkMne" + }, "groups": { "private": "https://drive.google.com/drive/folders/1L-WOQ848IeAlz-xC4g30rDNOsmTnbN13", "public": "https://drive.google.com/drive/folders/1L68BOMYKNAudsvszjQqGiLsRoCtmMNpq" diff --git a/scripts/openaleximporter.py b/scripts/openaleximporter.py index 6b127e2302..173879123a 100644 --- a/scripts/openaleximporter.py +++ b/scripts/openaleximporter.py @@ -203,12 +203,11 @@ def make_library_entry_for_work(work, draft=False) -> str: fd.write('\n\n') return file_path -def prompt_for_work() -> str: - query = "" +def prompt_for_work(query) -> str: print("Type part of the name of the work, hit Tab to search, arrows to scroll through the results, and hit Enter when you've selected the right one.\n") SEARCH_ROOM = 5 stdout_make_room(SEARCH_ROOM) - cout("Search> \033[s") + cout(f"Search> \033[s{query}") stdin = sys.stdin.fileno() old_settings = termios.tcgetattr(stdin) tty.setraw(stdin) @@ -261,11 +260,12 @@ def prompt_for_work() -> str: finally: cout(f"\033[u\033[{SEARCH_ROOM}E\n") termios.tcsetattr(stdin, termios.TCSADRAIN, old_settings) - return r['results'][i]['id'].split("/")[-1] + return (r['results'][i]['id'].split("/")[-1], query) def _main(): + query = "" while True: - workid = prompt_for_work() + workid, query = prompt_for_work(query) with yaspin(): work = fetch_work_data(workid) print_work(work)