Skip to content

Commit

Permalink
mn+poem
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Jul 3, 2023
1 parent 3aae0dc commit 924e189
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
26 changes: 26 additions & 0 deletions _content/av/i-dream-of-horses_espinoza.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion _content/canon/an10.60.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion _content/canon/an5.205.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions _content/canon/mn73.md
Original file line number Diff line number Diff line change
@@ -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.
5 changes: 2 additions & 3 deletions _content/essays/what-work-is_levine-philip.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ subcat: poetry
tags:
- america
- meditation
- engaged
- gender
- class
- problems
- labor
- compassion
pages: 2
---

Expand Down
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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ā"
Expand Down
12 changes: 12 additions & 0 deletions _data/drive_folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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_"
Expand All @@ -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"
Expand Down
10 changes: 5 additions & 5 deletions scripts/openaleximporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 924e189

Please sign in to comment.