Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Feb 5, 2024
1 parent d619838 commit 146ea36
Show file tree
Hide file tree
Showing 23 changed files with 5,683 additions and 4,255 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6c96b371
8f25e8ea
616 changes: 329 additions & 287 deletions all.html

Large diffs are not rendered by default.

150 changes: 42 additions & 108 deletions all.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,48 @@
<atom:link href="https://www.bryanwhiting.com/all.xml" rel="self" type="application/rss+xml"/>
<description></description>
<generator>quarto-1.4.515</generator>
<lastBuildDate>Sun, 04 Feb 2024 21:17:43 GMT</lastBuildDate>
<lastBuildDate>Sun, 04 Feb 2024 23:28:38 GMT</lastBuildDate>
<item>
<title>1 Nephi 22 - His Covenants will be the key of the Gathering of Israel</title>
<link>https://www.bryanwhiting.com/christianity/1-nephi-22-gathered-by-his-covenants.html</link>
<description><![CDATA[
<section id="scriptures" class="level1 page-columns page-full">
<h1>Scriptures</h1>
<p>There is so much doctrine packed in here. Nephi is talking about the Lord doing a “marvelous work”</p>
<blockquote class="blockquote">
<p>And it [the marvelous work] shall also be of worth unto the Gentiles; and not only unto the Gentiles but unto all the house of Israel, <strong>unto the making known of the covenants of the Father of heaven unto Abraham</strong>, saying: In thy seed shall all the kindreds of the earth be blessed. And I would, my brethren, that ye should know that all the kindreds of the earth cannot be blessed unless he shall make bare his arm in the eyes of the nations. Wherefore, the Lord God will proceed to make bare his arm in the eyes of all the nations, <strong>in bringing about his covenants and his gospel unto those who are of the house of Israel</strong>. Wherefore, he will bring them again out of captivity, and they shall be gathered together to the lands of their inheritance; and they shall be brought out of obscurity and out of darkness; and they <strong>shall know that the Lord is their Savior and their Redeemer, the Mighty One of Israel.</strong> <a href="../scriptures/1-nephi-22.9-12">1 Nephi 22.9–12</a></p>
</blockquote>
<p>The Lord will restore His covenants. It doesn’t explicitly say “baptism, the sacrament, the oath and covenant of the priesthood, the endowment, and the sealing ordinance”, but that’s what Nephi is referring to.</p>
<div class="quarto-figure quarto-figure-center page-columns page-full">
<figure class="figure page-columns page-full">
<p><img src="https://www.bryanwhiting.com/img/dalle-image-wheat-into-a-silo.jpeg" class="preview-image img-fluid figure-img"></p>
<figcaption class="margin-caption">The Lord will gather us into His silo. This is His work, not ours.</figcaption>
</figure>
</div>
<p>Why doesn’t the Book of Mormon mention the sealing ordinance? The Melchizedek priesthood (the name of it)? The endowment? I’m not sure. But it’s fascinating how Joseph Smith translated this book but also received revelations to help finalize the structure of the church. # Meaning</p>
<p>This teaches me that…</p>
<ul>
<li>The Lord cares about people who reject him. He will do His work among them. He won’t leave me even if I leave Him. That’s a powerful concept.</li>
<li>The covenants are the most important thing to focus on in the scriptures. Everything else is just context about how to best live them.</li>
<li>I am gathered when I keep my covenants. They are the thing that help me understand and connect with the Lord.</li>
</ul>
</section>
<p>_________________________ <br> <br> <i><a href="https://www.bryanwhiting.com/about">Bryan</a> lives somewhere at the intersection of faith, fatherhood, and futurism and writes about <a href="https://www.bryanwhiting.com/tech">tech</a>, <a href="https://www.bryanwhiting.com/books">books</a>, <a href="https://www.bryanwhiting.com/christianity">Christianity</a>, <a href="https://www.bryanwhiting.com/gratitude">gratitude</a>, and <a href="https://www.bryanwhiting.com/">whatever’s on his mind</a>. If you liked reading, perhaps you’ll also like subscribing: <br><br> </i><iframe src="https://embeds.beehiiv.com/106e21ff-1989-43d2-9bd7-d4a4c4404ab6?slim=true" data-test-id="beehiiv-embed" height="52" frameborder="0" scrolling="no" style="margin: 0; border-radius: 0px !important; background-color: transparent;"></iframe></p> ]]></description>
<category>christianity</category>
<category>come follow me</category>
<category>gathering of israel</category>
<category>Abrahamic Covenant</category>
<guid>https://www.bryanwhiting.com/christianity/1-nephi-22-gathered-by-his-covenants.html</guid>
<pubDate>Sun, 04 Feb 2024 23:28:38 GMT</pubDate>
</item>
<item>
<title>The Divinely Discontent Chatbot User</title>
<link>https://www.bryanwhiting.com/tech/the-divinely-discontent-chatbot-user.html</link>
Expand Down Expand Up @@ -711,112 +752,5 @@
<guid>https://www.bryanwhiting.com/book-review/the-old-man-and-the-sea.html</guid>
<pubDate>Thu, 01 Feb 2024 21:27:44 GMT</pubDate>
</item>
<item>
<title>Export your Libby Timeline to Obsidian</title>
<dc:creator>Bryan Whiting</dc:creator>
<link>https://www.bryanwhiting.com/posts/export-your-libby-timeline-to-obsidian.html</link>
<description><![CDATA[
<p>I love reading and I love writing. Both are integral parts of learning. The reading to receive new ideas, the writing to cement those ideas to something.</p>
<p>As I stood up my blog I wondered how to get past books on here. There’s a way!</p>
<p>I now use Audible and Spotify audiobooks, but most of my past reads come from Libby.</p>
<div class="quarto-figure quarto-figure-center page-columns page-full">
<figure class="figure page-columns page-full">
<p><img src="https://www.bryanwhiting.com/img/photo-libby-icon.jpeg" class="preview-image img-fluid figure-img"></p>
<figcaption class="margin-caption">Libby</figcaption>
</figure>
</div>
<p>Here’s how you do it using Python:</p>
<ol type="1">
<li>Open Libby app and figure out how to export your timeline. Somewhere in settings. It’ll produce a CSV.</li>
<li>Go through that CSV and creat a column “read” that identified the ones you actually began (sigh…so many books I placed holds on but never read….)</li>
<li>Run this python script and it’ll create an obsidian markdown file for each. Tweak it to match your preferences. I personally use <code>quarto</code> to blog so I have a naming convention for the files and metadata.</li>
<li>Or! Just ask ChatGPT to do this for you lol.</li>
</ol>
<pre><code>from datetime import datetime, timedelta
import pandas as pd
import os
import zipfile
import re
# Load the provided spreadsheet using pandas
file_path = "~/Downloads/libbytimeline-activities.csv"
df = pd.read_csv(file_path)
# Parse the timestamp into the format yyyy-mm-dd and rename the column to 'date'
df["timestamp_raw"] = df["timestamp"]
df["timestamp"] = pd.to_datetime(df["timestamp"], format="%m/%d/%y %H:%M")
# create a stringed date
df["date"] = df["timestamp"].dt.strftime("%Y-%m-%d")
df[["date", "timestamp_raw"]]
# Custom column: Filter rows where read == 1 (went through spreadsheet to filter out those I had borrowed but never read).
df = df[df["read"] == 1]
# De-duplicate by title, keeping the most recent record (sorted by date)
df = df.sort_values("timestamp", ascending=False).drop_duplicates("title")
# Create a new column 'created' with today's date in yyyy-mm-dd format
today = datetime.now().strftime("%Y-%m-%d")
df["created"] = today
# Create a new column 'date-finished' that's the timestamp's date + 21 days
df["date-finished"] = (df["timestamp"] + timedelta(days=21)).dt.strftime("%Y-%m-%d")
# Prepare for markdown file creation
output_directory = os.path.expanduser("~/Desktop/markdown_files")
os.makedirs(output_directory, exist_ok=True)
# Loop through each item in the dataframe and create a markdown file
for index, row in df.iterrows():
markdown_content = f"""
---
title: {row['title']}
description: _{row['title']}_ by {row['author']}. Published by {row['publisher']}, with ISBN {row['isbn']}. Read on {row['date']}
date: {row['date']}
categories: book-review
created: {row['created']}
draft: false
author: {row['author']}
book-year: 1000
book-time: 0
date-start: {row['date']}
date-finished: {row['date-finished']}
pct-complete: 0
---
![]({row['cover']}){{.preview-image}}
"""
filename = re.sub(r"[^\w]", "-", row["title"]).lower()
filename = re.sub(r"-+", "-", filename)
file_path = os.path.join(output_directory, f"{filename}.md")
with open(file_path, "w") as file:
file.write(markdown_content.strip())
print(f"Created {file_path}")
# Zip the markdown files
zip_file_path = os.path.expanduser("~/Desktop/markdown_files.zip")
with zipfile.ZipFile(zip_file_path, "w") as zipf:
for root, dirs, files in os.walk(output_directory):
for file in files:
zipf.write(os.path.join(root, file), file)</code></pre>
<p>_________________________ <br> <br> <i><a href="https://www.bryanwhiting.com/about">Bryan</a> lives somewhere at the intersection of faith, fatherhood, and futurism and writes about <a href="https://www.bryanwhiting.com/tech">tech</a>, <a href="https://www.bryanwhiting.com/books">books</a>, <a href="https://www.bryanwhiting.com/christianity">Christianity</a>, <a href="https://www.bryanwhiting.com/gratitude">gratitude</a>, and <a href="https://www.bryanwhiting.com/">whatever’s on his mind</a>. If you liked reading, perhaps you’ll also like subscribing: <br><br> </i><iframe src="https://embeds.beehiiv.com/106e21ff-1989-43d2-9bd7-d4a4c4404ab6?slim=true" data-test-id="beehiiv-embed" height="52" frameborder="0" scrolling="no" style="margin: 0; border-radius: 0px !important; background-color: transparent;"></iframe></p> ]]></description>
<category>posts</category>
<category>tutorial</category>
<category>python</category>
<category>libby</category>
<category>quarto</category>
<category>blogging</category>
<guid>https://www.bryanwhiting.com/posts/export-your-libby-timeline-to-obsidian.html</guid>
<pubDate>Thu, 01 Feb 2024 14:32:35 GMT</pubDate>
</item>
</channel>
</rss>
Loading

0 comments on commit 146ea36

Please sign in to comment.