Skip to content

Commit

Permalink
mn+tal+analayo
Browse files Browse the repository at this point in the history
  • Loading branch information
Khemarato Bhikkhu committed Jun 26, 2023
1 parent 3615b5a commit ea09adf
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 4 deletions.
27 changes: 27 additions & 0 deletions _content/articles/open-monitoring-and-mindfulness_analayo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: "Open Monitoring and Mindfulness"
authors:
- analayo
external_url: "https://www.buddhismuskunde.uni-hamburg.de/pdf/5-personen/analayo/openmonitoring.pdf"
source_url: "https://doi.org/10.1007/s12671-019-01181-z"
drive_links:
- "https://drive.google.com/file/d/1D2tdanCnsaDS-tqB-GKG1YsdeNvkdaUD/view?usp=drivesdk"
course: sati
tags:
- daily-life
year: 2019
month: may
journal: "Mindfulness"
volume: 10
number: 7
pages: "1437--1442"
publisher: "Springer"
openalexid: W2947070672
---

> When it comes to mindfulness cultivated on its own, that is,
when prominence is given to mindfulness itself during formal
meditation or daily life practice, then this can be expected to
result in a broad state of mind that enables an open monitoring
of what is taking place.

24 changes: 24 additions & 0 deletions _content/av/greetings-earth_tal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "Greetings, People Of Earth"
authors:
- "Ira Glass"
- "David Kestenbaum"
- "Terry Bisson"
- "Chris Benderev"
- "Diane Wu"
subcat: podcast
editor: "Sarah Abdurrahman"
external_url: "https://www.thisamericanlife.org/803/greetings-people-of-earth"
course: world
tags:
- communication
year: 2023
month: jun
publisher: "WBEZ"
address: "Chicago"
series: tal
number: 803
minutes: 62
---

> stories of humans encountering non-human intelligences
16 changes: 16 additions & 0 deletions _content/canon/mn100.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
title: "MN 100 Saṅgārava Sutta: With Saṅgārava"
translator: nyanamoli
slug: "mn100"
external_url: "https://suttacentral.net/mn100/en/nyanamoli-thera"
drive_links:
- "https://drive.google.com/file/d/1vAUF-2nPeC9jXQ59RxO6Oyf-5iwz7CsZ/view?usp=drivesdk"
course: epistemology
tags:
- buddha
- mn
year: 1977
pages: 12
---

The Buddha gives an account of his struggles for—and achievement of—awakening in answer to a question about how he knows and teaches what he does.
8 changes: 8 additions & 0 deletions _data/drive_folders.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@
"private": null,
"public": "https://drive.google.com/drive/folders/1234QK_JdiurFhgADDnpgWHOsicIIcine"
},
"education": {
"private": "https://drive.google.com/drive/folders/1Ic5_ItnhnM4apugaFfL2DjUOfAh6P0xs",
"public": "https://drive.google.com/drive/folders/1Icm-GB6MNG4Z8VGrkkjn1aOjARxXvFZD"
},
"epistemology": {
"private": "https://drive.google.com/drive/folders/1GTs6GMS4jI_OTJ-Osho-DZ-r3ACNRxhQ",
"public": "https://drive.google.com/drive/folders/1HQ31JiRVpz6ErB_3_7kFveHgxKc3f7jm"
Expand Down Expand Up @@ -139,6 +143,10 @@
"private": "https://drive.google.com/drive/folders/1_q1-tCU0xlm77ihFDbeEoRA9UIr1Zoj0",
"public": "https://drive.google.com/drive/folders/11dOhsC5wdbK_SZv8AEPPwi2sAC1jLS6u"
},
"sati": {
"private": "https://drive.google.com/drive/folders/194KL_w7eLiqpg2_eN0Y5-hJDrzB2l2SR",
"public": "https://drive.google.com/drive/folders/19UVSpr_ouC2rnoK8Hhcg-hN0Yv_EUUqx"
},
"speech": {
"private": "https://drive.google.com/drive/folders/115ywoNILqwwLktf3PStavMNKYsIhEfxG",
"public": "https://drive.google.com/drive/folders/1M92lt7BCYJ0YxwCMkyaHElXLddW4kt2U"
Expand Down
2 changes: 1 addition & 1 deletion scripts/android_import_sutta.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def process_pdf(pdf_file):
title = title.replace('"', '\\"')
mdfile.write_text(f"""---
title: "{title}"
translator: {trans['author_uid'].replace('thanissaro','geoff')}
translator: {trans['author_uid'].replace('thanissaro','geoff').replace('-thera','')}
slug: "{slugfield}"{extra_fields}
external_url: "{external_url}"
{drive_links}:
Expand Down
9 changes: 6 additions & 3 deletions scripts/archive_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def save_url_to_archiveorg(url):
return False

def archive_urls(urls, skip_urls_archived_in_last_days=365):
successes = 0
successes = []
def wait_secs(n):
print(f"Waiting {n} seconds...")
for i in trange(n):
Expand All @@ -99,17 +99,20 @@ def should_arch(url):
consecutive_failures += 1
wait_secs(60)
if save_url_to_archiveorg(url):
successes += 1
successes.append(url)
consecutive_failures = 0
else:
consecutive_failures += 1
else:
successes += 1
successes.append(url)
consecutive_failures = 0
if consecutive_failures > 5:
print("ERROR: This doesn't seem to be working...")
quit(1)
wait_secs(5)
print(f"Saved {len(successes)} URLs:")
for url in successes:
print(f" {url}")
return successes

if __name__ == "__main__":
Expand Down

0 comments on commit ea09adf

Please sign in to comment.